text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
550 Requested action not taken: mailbox unavailable or not local
Have set up a small website for a client however contact form submissions are not getting through to their email address. They have website hosted on one server and email on another although website and emails share the same domain.
The bounce back has th... | common-pile/stackexchange_filtered |
Communication with current displayed Fragment using BroadCast Reciever Vs Listener
I have an Activity that displays different Fragments and these fragments changed when the user select an item from the spinner in the ActionBar , I have refresh button on the ActionBar . If i want to tell the current displayed fragment t... | common-pile/stackexchange_filtered |
What should our FAQ contain?
Now that the public beta has started, we really should start updating our FAQ with some of the decisions we've made during the private beta. Possible additions:
Basic resources (Rikai, EDICT, Eijirou...)
Frequently asked support questions (input help)
Questions that are allowed (questions... | common-pile/stackexchange_filtered |
Parsing Binary Data in C
I have a custom binary protocol and binary spec for a message. The binary protocol adds some headers to each message. The message is relatively large and contains near about 50 different fields. My requirement is to parse only 2 fields from the binary message in c or c++ with gcc compiler on li... | common-pile/stackexchange_filtered |
javascript returns 9 for 0011
I have a function where I passes the value dynamically
<a href="javascript:void(0);" onclick="searchError(0011)">0011</a>
In javascript am just passing this value and it returns me 9
JS
function searchError(s){
alert(s);
}
Need help to understand why ?
I fixed it by... | common-pile/stackexchange_filtered |
How to remove monkey test and time service?
I am using a Micromax Canvas A116. It's not a rooted phone. I've done a factory-reset, but still malware app existing. How to remove monkey test, time service in mobile phone? And everytime phone gets reboot and unwanted apps like get touch, paytm etc., get installed. How to ... | common-pile/stackexchange_filtered |
Testdriven.net not available in the right-click context menu
Testdriven.net not available in the right-click context menu??
TestDriven.Net not installed??
Check which edition of Visual Studio you have - you cannot install add-ins to Visual Studio Express editions.
Check you have actually installed TestDriven.Net.
C... | common-pile/stackexchange_filtered |
Send email to IDN email ID
How do I send email to non-Ascii email ID, for example I have<EMAIL_ADDRESS>as emailID and when I try to send email to this emailID using
<EMAIL_ADDRESS>MailMessage msg = new MailMessage();
msg.To.Add(sendTo);
msg.To.Add(sendTo) throws an error saying "The specified string is not in the fo... | common-pile/stackexchange_filtered |
pandas DataFrame value_counts on column that stores DataFrame
I am trying to use value_counts() on a pandas DataFrame column that stores another DataFrame.
Is there a possibility to get the value_counts() function working (or something similar), without having to transform my DataFrames to Strings or Hashes or somethin... | common-pile/stackexchange_filtered |
Set multiple datasets with similar names in sas
Suppose I have a varying number of datasets in my work environment, but all of which start with a similar name: name_abc, name_efg, name_1ky, etc. The datasets have the same variables and characteristics, and I want to set them all into one dataset.
data bigdataset;
s... | common-pile/stackexchange_filtered |
Data type LVARCHAR corruption after recovering data
I face the following problem :
I deleted a key in a table (wrongly) and then I recovered the whole table through this way:
LOAD FROM 'C:\db\rqrequesttrans.dat' delimiter '~' insert into rqrequesttrans
Nearly everything is okay, but I get data corrupted in an LVARCHA... | common-pile/stackexchange_filtered |
Congressional District is generally lowercased but because it is in front of a proper noun (Maryland) then 'congressional district' is capitalized?
Sentence :Lieutenant Governor Rutherford's State Administration has invested 62 million dollars in the West North Avenue community to demolish and revitalize 100 houses fro... | common-pile/stackexchange_filtered |
$p$ is irreducible in $\mathbb Z_n$ if and only if $p^2$ divides $n$.
I'm reading Gallian's Contemporary Abstract Algebra and I came across this question:
Let $p$ be a prime divisor of a positive integer $n$. Prove that $p$ is irreducible in $\mathbb Z_n$ if and only if $p^2$ divides $n$.
Here's my attempt at a proof... | common-pile/stackexchange_filtered |
changeVisibilityTimeout() call to SQS from Lambda fails without throwing exception
I have a lambda set up with event bridge to receive messages from an SQS with default vis timeout set to 5 minutes.
Inside the lambda, certain messages are supposed to be updated so that the vis timeout is increased to 10 minutes, and th... | common-pile/stackexchange_filtered |
Read specific property from a property file in a jar
I need to read the property "product.build.number" from the property file "version.properties" which lies at the root level of each of the jars. My naive approach is:
private static int getProductBuildNumber(File artefactFile) throws FileNotFoundException, IOExcept... | common-pile/stackexchange_filtered |
how to get return value from python in php? it doesn't work
please help me... I have no idea.
This is part of my php code.
$result;
$resultD;
$arg= $ord." ".$time2_int;
$result=shell_exec('python3 decemberlist.py '.$arg);
$resultD=json_decode($result,true);
echo $resultD['song'];
And This is part of my python code.
im... | common-pile/stackexchange_filtered |
How do Java arrays implement Cloneable?
From the documentation of Object#clone():
Note that all arrays are considered to implement the interface Cloneable. Otherwise, this method creates a new instance of the class of this object and initializes all its fields with exactly the contents of the corresponding fields of t... | common-pile/stackexchange_filtered |
Proteus Circuit LED does not work
I am trying to build a double dice circuit. I tried one example I found from the web. But, I have problems with leds, and I am not very familiar with proteus. Could you please tell me why my LEDs are not working?
Original source:
RM: Found elsewhere - similar and may be meant to be... | common-pile/stackexchange_filtered |
How to add Item to SqlDataSource databound list
I am lazy - and I am using a SQLDataSource to populate my dropdownLists.
The Databind event for the databound objects is called before the Page.PreRender so I am doing something like this in the PreRender eventHandler:
private void InitializeDropDown()
{
... | common-pile/stackexchange_filtered |
How to extend Powershell runspace with RestrictedLanguage to allow usage of additional types
I'm creating a Powershell host application where I create a runspace with the following code:
var iss = InitialSessionState.Create();
iss.LanguageMode = PSLanguageMode.RestrictedLanguage;
iss.ThrowOnRunspaceOpenError = true; //... | common-pile/stackexchange_filtered |
RandomAccessFile - Unwritten bytes
I use java.io.RandomAccessFile to open a file and write few entries in the same at random locations. When I read the file back, is it guaranteed that unwritten bytes in that file (that may be in between two locations which were written earlier) are returned as 0?
| common-pile/stackexchange_filtered |
what is the meaning of getting vain?
What is the meaning of getting vain in the following sentence?
The alcoholic needs to be free to choose without our getting vain if
the message is used, or angry or discouraged if it is ignored.
This sentence is from one of AA pamphlets called "A.A. in TREATMENT SETTINGS."
It d... | common-pile/stackexchange_filtered |
Failed sqljdbc4 connection when in executable JAR
I have a GUI application that connects to a SQL Server 2008 database using sqljdbc4.jar. If I run this from the command line it works great.
However, once I wrap it into an executable JAR, I get a "No suitable driver found for jdbc:sqlserver://myServer:1433;databaseNam... | common-pile/stackexchange_filtered |
find command, enumerate output and allow selection?
When I use find, it often finds multiple results like
find -name pom.xml
./projectA/pom.xml
./projectB/pom.xml
./projectC/pom.xml
I often want to select only a specific result, (e.g edit ./projectB/pom.xml). Is there a way to enumerate find output and select a file t... | common-pile/stackexchange_filtered |
Python CURL delete request function
I'm trying to recreate this CURL request in Python and get it to loop through a CSV.
curl -X "DELETE" --user 'api:<my-api-key>' \ https://api.mailgun.net/v3/messages.thewebsite/unsubscribes \
-F<EMAIL_ADDRESS>
I'm thinking I should create a function and return the result. I'm usi... | common-pile/stackexchange_filtered |
Qooxdoo TreeVirtual ContextMenu
How can I implement a ContextMenu on a column in TreeeVirtual in Qooxdoo?
I found an example for table:
table.setContextMenuHandler(2, this._contextMenuHandlerNull);
but it does not work in treevirtual case.
You should make sure that you include the Context menu mixin in the table class... | common-pile/stackexchange_filtered |
New-AzScheduledQueryRule returning BadRequest
I want to create a Log Alert using PowerShell based on a query. I follow the instructions under https://learn.microsoft.com/en-us/azure/azure-monitor/platform/alerts-log#managing-log-alerts-using-powershell and I've adapted my code as below:
$source = New-AzScheduledQueryRu... | common-pile/stackexchange_filtered |
How do I setup Alpine email client to connect my Gmail account using IMAP? (pine e-mail client)
After configuring alpine email client for ionos thought I'd try gmail, but can't seem to login. I'm using MFA on my gmail account.
It's simply a fact that alpine will no longer work with gmail?
GMail uses application speci... | common-pile/stackexchange_filtered |
Error ITMS-90203 in Xcode during Appstore Submission
I got the following error during the Appstore submission:
I double checked that all targets and linked pods and subprojects have
I even tried lipo -info <my_binary> and it said arm64 armv7 armv7s
So whats wrong with my submission?
You're using a framework that i... | common-pile/stackexchange_filtered |
getting /src/components/App.jsx: Unexpected token, expected "}" error with onClick event
I have the following code for a button that is in a small React form / project.
<button onClick={()=>resetName();resetSurname();resetEmail()}>Submit</button>
The reset function is based on a hook that I created which is the follow... | common-pile/stackexchange_filtered |
turn off url rewrites from sql / database
I have a mage install with url rewrites turned on, but the server does not do rewrites, so I need to turn rewrites off just to get into admin!
I deleted core_url_rewrite, but did not help.
It would not make sense that this was not possible but I have not found reference to su... | common-pile/stackexchange_filtered |
What is the C99 _Bool data type and how do you use it?
What is the C99 _Bool data type and how do you use it?
Include <stdbool.h> header
#include <stdbool.h>
int main(void){
bool b = false;
}
Macros true and false expand to 1 and 0 respectively.
Section 7.16 Boolean type and values < stdbool.h >
1 The heade... | common-pile/stackexchange_filtered |
Matlab: merging a new script with inbuilt code to compare the execution time
Please, I have this code for determinant that runs but does not display the output only the time it does display. Can gurus in the house help me out.
function determ=calll(A)
A=input('rand()');
[rows, columns] = size(A);
tic;
if rows==2:size(... | common-pile/stackexchange_filtered |
How to change Google Play country without adding payment method
I live in European Union in country where some apps like Cortana and Google assistant are not avaiable. Now I am in Italy, and I will stay for few weeks if that is relevant, so how can I change my country without adding payment method. I really do not wha... | common-pile/stackexchange_filtered |
Setting up a git web development environment
The structure I'm trying to setup is as follows:
/public_html repository ("live") what the users see, contains custom
uploaded files (e.g. user gallery images, etc, these are ignored with .gitignore)
/stable repository containing the late... | common-pile/stackexchange_filtered |
Can I use Deck Screws / Wood Screws for indoor framing?
I am a new DIYers
I built one-room frame using Wood screws 3.5"
Here is its description
https://www.rona.ca/en/product/reliable-fasteners-flat-head-wood-screws-10-x-3-1-2-in-zinc-plated-100-per-pack-square-drive-fkwz10312vp-1399386
I wanted to buy more screws but ... | common-pile/stackexchange_filtered |
Arch Linux GDB error: "pc 0x401000 in address map, but not in symtab." occured. How can I fix this?
I learn to write code in NASM, and wrote the following program:
bits 64
section .text
global _start
_start:
mov eax, 60
mov edi, 0
syscall
Also I use this Makefile to compile it:
S = /u... | common-pile/stackexchange_filtered |
using telnet to connect to a ssh based server
Is it possible to use tunneling to connect to a ssh server via telnet? I'm using an API that can only telnet to a host, but that host will only accept ssh connections. If it is possible, what do I need to do to set that up?
Use netcat and ssh
$ nc -l -p 12345 -c "ssh<EMAIL... | common-pile/stackexchange_filtered |
How can i get smooth scroll effect on all website?
I have a problem and I want to find an answer, but I can't. Can anyone help me with a smooth page scroll effect but I don't want the effect on clicking a link or diva or other things. I just always want this effect.
The effect is here:
https://webflow.com/made-in-webfl... | common-pile/stackexchange_filtered |
How to check if the text file is open and close the text file?
I am trying to save the text file in this path:"C:\Test\test.txt" and when the file is already opened I need to check whether the file is opened and I need to close it before writing it to the file.
Here is the code for saving the file:
Dim myfile As Str... | common-pile/stackexchange_filtered |
Get filename and/or folder contents in JS
Obviously, JavaScript itself cannot access the filesystem. Thank goodness.
But Flash, Java and other plugins can, and they can communicate with JS.
So, let's say I wanted to make a page where the user selects a directory on their own computer, and it reads the folder for song f... | common-pile/stackexchange_filtered |
How to read an embedded field in Go?
I design a new Request structure, but in some scenarios(http.Redirect), I need to get the origin http.Request.
My Request struct:
type Request struct {
*http.Request
}
func (r *Request) IsGet() bool {
return strings.EqualFold("GET", r.Method)
}
Main function:
req := ht... | common-pile/stackexchange_filtered |
Export files to google drive using Magento 2 Programmatically
I want to export/transfer files to Google drive using Magento 2.
Please help me out.
Which file? When you want to upload file on google drive? Is there any specific case ?
So basically you need to use PHP code only to export to the google drive. You need Ma... | common-pile/stackexchange_filtered |
Synchronized run() method
As we all know only one synchronized method can be run at the same time. So my questions is what if I declare the run() method as synchronized, and then run multi threads, is it possible for other thread to run the run() method?
Like this:
public Test extends Thread
{
public synchronized v... | common-pile/stackexchange_filtered |
How do I set the text value of a ComboBox to the output of a function in C#?
I cannot seem to get the combobox text value to display the output of a function. Its behaving extremely strangely.
All of these work:
item.Text = "test";
string testStr = "test";
item.Text = testStr;
string testStr = "test" + function();
it... | common-pile/stackexchange_filtered |
Proving complex analytic: Unsolvable Cauchy-Riemann Equations
I need to show that $f(z)$ is nowhere analytic, where $$ f(z) = e^{z\operatorname{Re}(z)}.$$
Letting $z = x + yi$,
$$ f(x,y)=e^{x^2}e^{xyi}=e^{x^2}(\cos(xy)+i\sin(xy))$$
and letting $$u(x,y)=e^{x^2}\cos(xy),\quad v(x,y)=e^{x^2}\sin(xy),$$
we have:
\begin{a... | common-pile/stackexchange_filtered |
How can I send an automated email from a Google sheet updated by Squarespace?
I have a form run from SquareSpace that inputs the customer data to a Google Sheet. I'm currently running the below script, but the trigger OnFormSubmit doesn't work. I have to go in and manually run the script.
function FormConfirmationEmail... | common-pile/stackexchange_filtered |
Conversion From String to Boolean Vb.net
I want to evaluate a String with Boolean Values and Binary Logical Operators (And/Or).
When i write Dim Expression = ((True And False) Or True) then the value of "Expression" Will be true.
However, when i write Dim Expression = "((True And False) Or True)" and try to convert the... | common-pile/stackexchange_filtered |
Authorization Issue with Certbot(Standalone)+Nginx+Chef
I use Nginx on my server and want to serve my application on HTTPS using Let's Encrypt certs. I do the following on a fresh server before the application code gets deployed:
Install Nginx
Write the following nginx configuration file to sites-available, for certbo... | common-pile/stackexchange_filtered |
Case of equality in spectral norm matrix triangle inequality
Let $(A,B)\in M_n(\mathbb{R})\times M_n(\mathbb{R})$ be two matrices. We denote by $\|\cdot\|_2$ the spectral norm.
Without any additional assumptions on $A$ and $B$, can we characterize the case of equality in the spectral norm matrix triangle inequality, i.... | common-pile/stackexchange_filtered |
Vue Router beforeEach not being called
I'm currently having trouble finding a bug in router code, it worked before and I don't know when or how I broke it. I already checked in older versions but it seems to not have changed. The problem is that even when I'm deleting all code out of the beforeEach Hook in my router an... | common-pile/stackexchange_filtered |
how to set the first row of a table as the default selectedRow on page Load using AngularJS?
I have a table formed using AngularJS:
<table class="table" style="font-size:0.9em">
<tr>
<th><a href="" ng-click="sortField = 'FirstName'; reverse = !reverse">FirstName</a></th>
<th><a href="" ng-click="sortField = 'LastName';... | common-pile/stackexchange_filtered |
Change tab title using css command
Having in source code this:
<head>
<title> My title here </title>
</head>
How is it possible to change the text of title using css command?
title{
content: "New title!" !important;
}
How important is it that you do it in CSS? You can do this easily in Javascript.
I would recommend... | common-pile/stackexchange_filtered |
Which operators to overload for Python set to function properly
I am writing a simple container class, the instances of which I would like to store in a set and hope that the duplicates are stripped. For example, I can write using tuple as a container:
in> set([(1,2),(1,2)])
out> {(1,2)}
But if instead I define
clas... | common-pile/stackexchange_filtered |
Non-Deterministic Algorithm for Vertex Cover
I had a problem in my class quiz to write a non determinstic algorithm for Vertex Cover. We discussed about the solution with our instructor and he told that the level indeterminancy should not be too high. It should be sensibly good.
I am confused about what question shoul... | common-pile/stackexchange_filtered |
Having a lot of trouble converting a simple iso
Im not new to computers. Ive worked at IBM for several years. I am trying to help a friend convert an ISO file to an IMG so he can install bootcamp on his (Mid) 2010 macbook pro. I have had Absolutely NO luck with any forms or Q&A. I have used The terminal and disk utilit... | common-pile/stackexchange_filtered |
Splitting an external array to give different titles
I've been trying to figure out how to split the array and add different titles for each of the separate titles on the page, for each of the different things that this displays. However the most I can manage to do is add a comma between the numbers and words.
I would ... | common-pile/stackexchange_filtered |
replacing NULL in sqlite with value from another table via pandas merge or SQL JOIN query
I currently have large SQLite database (~600M rows) representing mobile phone call records that look like:
ego_id alter_id date tower_id tower_loc
123<PHONE_NUMBER>1 98766 California
789<PHONE_NUMBER>5 0923... | common-pile/stackexchange_filtered |
netezza how to reorder table after data has been loaded
my table in netezza looks something like this:
b,2
b,1
a,2
a,1
a,3
c,1
c,2
I want to reorder it by the first coloumn so it looks like this:
a,2
a,1
a,3
b,2
b,1
c,1
c,2
How do i reorder the table without creating a new one?
What end result do you want to achiev... | common-pile/stackexchange_filtered |
My conversion method is all wrong and I don't know how to fix it
New programming student over here. Trying to convert a roman numeral input to it's integer value. I have been using this post over here as a guide. Here's the thing, I haven't learned about hashtables or enums so I can't use that in my code. Let me show y... | common-pile/stackexchange_filtered |
Jcreator Error when running a file
Command : "C:\Program Files\Java\jdk1.7.0_07\bin\java.exe" -classpath "C:\Users\Zachsta\Downloads;C:\Program Files\Java\jdk1.7.0_07\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_07\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_07\lib\tools.jar;C:\Program Files\Java\jdk1.7.0_07\jre\lib\e... | common-pile/stackexchange_filtered |
Zabbix 2.0 reads logs correctly, but trigger status is "UNKNOWN"
I'm trying to monitor a log file for the word "error", and if the word appears, fire a trigger for each new occurence of "error." I'm starting simply, with a file (/var/log/test.log) that is world-readable. It contains the following lines:
test
error
also... | common-pile/stackexchange_filtered |
What can I do when bind: adress already in use?
When I want to run my network with hyperledger fabric v. 2 and couchdb I get following error for all couchdb and ppeers:
WARNING: Host is already in use by another container
ERROR: for ca_peerOrg1 Cannot start service ca0: driver failed programming external connectivity... | common-pile/stackexchange_filtered |
can we control the zoom speed while we do pinch zoom in android google map?
Is there any way increase the zoom sensitivity in android google map?
I just found some difference between the app i have developed and the ola app. ola can zoom to street level faster from the world view. But i am not sure its happening with z... | common-pile/stackexchange_filtered |
How to add a key-value pair in dictionary for dumping data in JSON format in python?
I want to add a key-value pair to an already existing array having some key-value pairs, and then dump this information in JSON format.
I tried following code:
import json
student_data = [{'stu_name':'name','id no':7}]
if result is 1... | common-pile/stackexchange_filtered |
Using same Resource with different levels of detail with Laravel
How do I use the same Resource with different attributes in Laravel?
Let's say I have a User and a Post model. In the PostResource, I also take use of the UserResource:
public function toArray($request)
{
return [
'id' => $this->id,
'... | common-pile/stackexchange_filtered |
shinydashboard valueBox giving Error: Expected an object with class 'shiny.tag'. prior to input
I'm creating an app that will calculate risk of a heart event. I developed the risk formula (model) based on clinical risk factors.
The % risk output appears in a valueBox. However, prior to selecting inputs, Error: Expected... | common-pile/stackexchange_filtered |
inserting different strings in matlab gui's html texts
I'm not very good with html so I'd like some help with the html component in matlab.
So I have a matlab gui, and I inserted an html object to display static text with multiple colors. Here's what I have so far,
s = '<html><font color="#2E9AFE"><b>testing123</b></f... | common-pile/stackexchange_filtered |
Collision detection of two circular sectors in mixed polar and Cartesian coordinate
I am trying to solve the following collision detection problem. Suppose we have two circular sectors, each described in their own polar coordinate system with four values $r_1$, $r_2$, $d_1$ and $d_2$, where $r_1$ and $r_2$ ($r_2 \ge r_... | common-pile/stackexchange_filtered |
Is it good to set the max and min JVM heap size the same?
Currently in our testing environment the max and min JVM heap size are set to the same value, basically as much as the dedicated server machine will allow for our application. Is this the best configuration for performance or would giving the JVM a range be bet... | common-pile/stackexchange_filtered |
Stereo camera pair focal lengths
I came across the standard representation of stereo cameras where they are side to side and the epipolar lines are the same image scan line and the cameras have the same focal length.
Source: http://vision.deis.unibo.it/~smatt
Now, do all stereo camera pairs need to have the same foca... | common-pile/stackexchange_filtered |
Install OS X recovery mode. Can't log in
Dusting off an old iMac and it was hanging at 50% progress bar during start up. Since I don't need anything on it I'm trying to reformat.
I've booted into recovery mode and erased the drive. Then selected to install new OS. Chose the drive (it's also showing a locked recove... | common-pile/stackexchange_filtered |
Invalid procedure call or argument in Javascript on IE8
I have a little problem on IE8. Everything works fine on Chrome and FF.
I have a function like this:
var Dog = function(){};
and I'm able to do this, of course:
new Dog();
I open a popup window and I try to do this:
new window.opener.Dog();
and now, only in IE,... | common-pile/stackexchange_filtered |
How to reset migrations in Django 1.7
(I know there is a title the same as this, but the question is different).
I have managed to get my development machine migrations and production migrations out of sync.
I have a Django app which was using South. I had my own workflow that worked fine (it probably wasn't the corr... | common-pile/stackexchange_filtered |
how to set focus on a textbox or passwordbox
how to set focus on this when i log in to my application ,when log in window will open i want to type the password on this without using mouse
<PasswordBox x:Name="passwordbox" Grid.Row="1" Grid.Column="1" Margin="5,35,5,5" Width="280" Height="27" app:PasswordBoxAssist... | common-pile/stackexchange_filtered |
Automating scheduling and dispatch of compute jobs by different users
I'm going to set up a Linux server (probably CentOS) in a computer science department. The server will be used as a compute server, by people doing research on GPU computing, bioinformatics, or AI.
Hypothetically I could just give a shell to each us... | common-pile/stackexchange_filtered |
Autodetect modem in Linux?
Is there a way to autodetect modem devices in Linux and then symlink them to /dev/modem using a udev rule?
Currently, I wrote a program that probes each serial port, sending AT and waiting for OK. I have a udev script that runs this for every ttyS and ttyUSB device. However, I've now been inf... | common-pile/stackexchange_filtered |
Send bidimensional array in php in form without serialize
I'm having problems trying to send a multi-dimensional array in a form. I'm receiving an error in the second foreach:
foreach($basearray as $index1 => $value1) {
foreach ($value1 as $index2 => $finalvalue) {
echo '<input type="hidden" name="horario['... | common-pile/stackexchange_filtered |
Express BodyParser responds with Bad Request, Status 400?
I'm using Node + Express
I use the following function to fetch some json from the server:
$.ajax({
url: url,
contentType: "application/json",
dataType: "json",
type: "POST",
... | common-pile/stackexchange_filtered |
How to find the bottleneck at runtime?
I want my cross-platform game to adapt to machines with different processing power autonomously. The goal is to preserve 60 frames per second all the time.
But I cannot make this just depend on the framerate. For example, reducing the AI ticks per second doesn't help, if the appli... | common-pile/stackexchange_filtered |
Rails and Rake aborted! unknown binary format
when i use any rails or rake commands I get this error:
33: from bin/rails:4:in `<main>'
32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
31: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bo... | common-pile/stackexchange_filtered |
Intermediate blob storage before uploading to S3
I am designing a service that receives large amounts of binary data (proprietary images). I want to accumulate these multiple images into a single S3 object and finally upload to S3. It doesnt make sense to store the accumulation in memory as I want to be able to horizon... | common-pile/stackexchange_filtered |
Is there any way to output network values at prediction in Keras
I am using Keras for some deep learning stuff.
I have a question regarding the network state at the prediction step.
Is there any way to spot the neurons values when predicting some random input ?
(see the final neurons state for a given input).
By stat... | common-pile/stackexchange_filtered |
Intermittent results from AJAX PHP request
I have a select group populated by AJAX/PHP.
The issue i have although it works perfectly well, it does not return results 100% of the time of the page load.
Is there a specific reason why this might be happening?
the html
<div id='select_tags_div'>
</div>
the AJAX
$( docume... | common-pile/stackexchange_filtered |
How do I get the current Activiti ProcessInstance in SpringBean?
I am trying to get a workflow working using Activiti 5.5 using a Spring managed process engine and I'm having some trouble.
I have a ServiceTask in my workflow that resolves to a Spring Managed bean. It looks like this:
<serviceTask id="springTask1" name... | common-pile/stackexchange_filtered |
"Configured" vs "Properly Configured"
I have a situation where I need to describe two states. One is when something is configured properly and one where it is misconfigured.
Is it valid to contrast "configured" and "misconfigured", or should I use "configured properly" and "misconfigured" to differentiate more clearly?... | common-pile/stackexchange_filtered |
I Can't connect to my server on localhost
I running a RESTful api node server on my localhost and I can reach it on postman but I cant access to it on my react app and get this error when try to connect:
what is the problem?
6000 is considered an unsafe port by Chrome. Just make the port 3000 or something within safe... | common-pile/stackexchange_filtered |
Conversion between SQL Real and .NET double
I have a column in a T-SQL database that consists of real values, but when I convert it to double I get something different than what was stored.
For example, I pick one row which has 1.15 stored. When I convert it with:
Convert.ToDouble(reader["VAT"]);
I get:
1,149999976... | common-pile/stackexchange_filtered |
What do we know about the analytic continuations of Dirichlet series?
Let $s=\sigma+it$ be a complex number and define the function:
$$F(s)=\sum_{k=2}^{\infty}\frac{p_\pi(k)}{k^s}$$
Where $p_\pi(k)$ is the number of unordered factorizations of $k$, corresponding to OEIS A001055
This is a Dirichlet series that converges... | common-pile/stackexchange_filtered |
Fetch tagged photos from instagram. Only getting my posts. I am sharing my demo code which is written in html
<script<EMAIL_ADDRESS><script type="text/javascript">
var userFeed = new Instafeed({
get:'tagged', // userId: '623597756', //clientId: 'Client', target: 'instafeed-container', accessToken: 'accessToken', reso... | common-pile/stackexchange_filtered |
Using mixed tenses in a sentence
I came across this sentence :
When he started you thought where are they going to put him because he
doesn't look very good anywhere!
I feel are should change to were.
Also doesn't may change to didn't, but if it's expressing a general fact, should it be okay ?
This looks like an e... | common-pile/stackexchange_filtered |
Django Rendering HTML in a template give bytes
In my django application, I am manually rendering a page and giving it to a template to include :
def get_context_data(self, **kwargs):
page = render(self.request, test_absolute_path, context, content_type=None, status=None, using=None)
soup = BeautifulSoup(page.co... | common-pile/stackexchange_filtered |
Cypress - Getting error while executing 'cypress open'
I've a Testing framework with node, cypress, mocha, mochawesome and mochawesome-merge as below with this github repo:
and in my package.json I have two scripts as
`"scripts": {
"cy": "./node_modules/.bin/cypress open",
"cy_test": "node cypress.js"
},`
I... | common-pile/stackexchange_filtered |
Can't add a Generated Column
I have a Price column (DECIMAL 6,2) in my MySQL Products MyISAM table and I'm trying to add a Generated Column to multiply it per 2. I'm trying to use this:
ALTER TABLE Produtos ADD COLUMN Price_double DECIMAL(6,2) AS (Price*2);
But I'm getting this in HeidiSQL:
Error SQL (1064): You have... | common-pile/stackexchange_filtered |
Is there any command to overwrite existing `S3` and `ECR` such as `--force` on CDK
I am developing using AWS CDK and I often hit this error. I understand it is important. however when developing, I want to do some trial and error deploy/destroy.
This error is very troublesome.
Is there any command to overwrite existing... | common-pile/stackexchange_filtered |
How can I programmatically change the # of resources delivered by workers in a StarCraft 2 custom map?
Following up on another question about applying handicaps to StarCraft, I am considering a map modification to simply reduce the number of minerals/gas delivered by workers while harvesting. The default is 5, but I wo... | common-pile/stackexchange_filtered |
Hosting a MERN application with Vercel in 2021 (without Next.js)
I've been using Vercel to host several React web applications and it's been great! Recently, I upgraded an existing project with a backend (Express.js and MongoDB Atlas) and I'd like to host it there as well.
On my machine, the MongoDB server and all the ... | common-pile/stackexchange_filtered |
View multiple Mamp Pro websites on local network
Using Mamp Pro 2.1.1 I have 3 Wordpress websites running that I would like to view via mobile devices (iPhone, iPad, etc.) for testing AND allow for my team to edit simultaneously before publishing live over my office LAN.
By appending port 8888 to my IP (mylocalIP:8888)... | common-pile/stackexchange_filtered |
Doctrine: A new entity was found through the relationship with selected elements
In a symfony command script, i find entities like this :
$this->em->getRepository('AppBundle:House')->findBy(...);
Foreach element, i call a service method with my element as an argument.
In my Service, i have an error when i try to creat... | common-pile/stackexchange_filtered |
Should meeting minutes be captured during Scrums of Scrums?
We hold daily Scrum of Scrums meetings on our project. The participants (i.e. non-technical managers) each manage several smaller projects and provide updates on their projects (from their daily scrums the day before). During the Scrum of Scrums, what should b... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.