text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
Basic url not working in WebView
I am learing WebView.
when I do something like
NSString *url = @"www.google.com";
[_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:url]]];
it fails.
But when I type www.google.com (or even google.com) in standard browser, it works fine.
I also noticed that af... | common-pile/stackexchange_filtered |
Query to PHP array to table
I am playing around MySQL and got stuck.
I have an item Table and a table with attributes and values.
SELECT i.name, ia.name, iav.value FROM `item_attrib_values` iav
JOIN item_atributs ia ON iav.ia_ID = ia.ID
JOIN items i ON iav.i_ID = i.ID
JOIN item_class ic ON ic.ID = i.ic_ID
WHERE ic.ID =... | common-pile/stackexchange_filtered |
Linq Groupby Not Grouping in c#
Below i have a snippet of code which outputs a list of Appointments based on clients, some clients can have more than one appointment but the latest one is the one that needs to be outputted for said client
the output is not grouping at all and for some reason i cannot figure why the hec... | common-pile/stackexchange_filtered |
Android - ExpandableListView and Context Actions
Context: My app has a list of entries. It uses an ExpandableListView to display the entry date and type as a group, and when you short-press it, it expands to show detailed data on that entry. It also uses a long-click to bring up a context-menu for each entry, from whic... | common-pile/stackexchange_filtered |
How to copy data (clone) from one partition to another in Windows XP?
I have installed a new hard drive in our PC running Windows XP and I wonder how to transfer the data from the old (small) data partition to the new (large) one.
My question concerns only a data partition containing files and folders (not the boot par... | common-pile/stackexchange_filtered |
Using CDATA in XML as Parameter
I have a soap request xml which takes a xml string as parameter. Using postman I am getting this error. Please help me to solve this issue. I tried many ways but failed.
Now, facing another issue after using CDATA suggested by @Yitzhak Khabinsky.
As you can see in the above picture I a... | common-pile/stackexchange_filtered |
Reference for Mori program
Are there some introductory and self-contained books or lecture notes for Mori-program? It would be much better to have enough examples.
Kollar has a very usable introduction. http://www.ams.org/journals/bull/1987-17-02/S0273-0979-1987-15548-0/
Two good introductions to the Mori program an... | common-pile/stackexchange_filtered |
Diffrent CSS-Styles for Facebook Iframe
Anyone who has a good idea, how to add additional styles to an facebook iframe?
Whats wrong with CSS you can add link to an external sheet on each tab
Check out this question about applying css to an iFrame. If the iframe content is on a different domain, like what happens in ... | common-pile/stackexchange_filtered |
Include NA values as empty values in a facet plot
In order to show the development of a time series and its respective growth rate, I opted for a facet plot, since plots with two y-axis aren't an option.
The issue now is that although the y-axis of the two plots are perfectly aligned, the tick marks on the x-axis are n... | common-pile/stackexchange_filtered |
Run function at a specific time in python - TypeError
I want to schedule a function to run at a specific point in time using the built in python library sched
I've been looking at the code from the answer to Run function at a specific time in python.
The problem's that when I run the code from the answer I get a TypeEr... | common-pile/stackexchange_filtered |
How to conclude $\frac{d}{dt}E(f)=-\int _M (\Delta f)\dot{f} d\mu$?
Can anyone explain to me how I can conclude $\frac{d}{dt}E(f)=-\int _M (\Delta f)\dot{f} d\mu$ by using integration by parts and $\langle f_1 ,f_2 \rangle_\mu:=\int_M f_1 f_2 d\mu$?
Where $M$ is a compact Manifold, $E(f)=\frac{1}{2}\int _M |\nabla f|^2... | common-pile/stackexchange_filtered |
Calculating the Image of $A.$ Where did I err?
$$A=\begin{pmatrix}
4 &-1& 1\\
8&-2&2\\
-6&1&-2\\
\end{pmatrix}$$
I have to show $p=\begin{pmatrix}
1 \\
2\\
-2 \\
\end{pmatrix} \in \mathrm{Im}A=\left\{Ax \mid x\in \mathbb{R^3} \right\}$
If I let $x=\begin{pmatrix}
0 \\
0 \\
1 \\
\end{pmatrix},$ then $Ax=\begin{pmatrix}
... | common-pile/stackexchange_filtered |
Missing A Detail About Boost (.lib files)
Where do I find the lib files for linking my program when using some Boost libraries?
Decided to try its threading functionality but I am getting
Error 6 fatal error LNK1104: cannot
open file
'libboost_thread-vc90-mt-gd-1_42.lib' InterviewPractice
after I include
Error... | common-pile/stackexchange_filtered |
\crefrange doesn't work for "assumption" environments using amsmath
I am using \cleveref package for which the \crefrange feature is not working for assumption environments. Can anybody tell me how I may fix this?
Here's the code:
\documentclass[12pt]{article}
\usepackage{amssymb,amsmath,latexsym,amsthm,amsfonts,matht... | common-pile/stackexchange_filtered |
docker nginx reverse proxy 503 Service Temporarily Unavailable
I want to use nginx as reverse proxy for my remote home automation access.
My infrastructure yaml looks like follows:
# /infrastructure/docker-compose.yaml
version: '3'
services:
proxy:
image: jwilder/nginx-proxy:alpine
container_name: proxy
... | common-pile/stackexchange_filtered |
How to add several values to json value field and have a flat array in json field?
In laravel 11 / php 8.2 app I need to add several values to json value field of UserOption model
and I do it with code :
array_push($this->selectedCurrencies, array_values($userOption->value));
$userOption->value = array_values($this->se... | common-pile/stackexchange_filtered |
How to add an imaginary element in anuglar 2 that takes a CSS class but doesnt get added in DOM
I want to group a bunch of divs inside a container. The container should be able to take a CSS Class but shouldnt get added in DOM.
PS : I tried using ng-container but couldn't add CSS Class to it.
I want something like thi... | common-pile/stackexchange_filtered |
angular browserify including routes file
I am experimenting with browserify and angular. I have a little issue when trying to include the routes in a separate file. So originally:
var login = angular.module('login.module', []);
login.controller('LoginCtrl', require('./login.controller'));
login.service('loginService',... | common-pile/stackexchange_filtered |
2023: a year in moderation
It’s that time of the year again! As we wave goodbye to last year and welcome the new one, we have a tradition of sharing moderation stats for the preceding calendar year.
As most of you here might be aware, sites on the Stack Exchange network are moderated somewhat differently to other site... | common-pile/stackexchange_filtered |
How do I get the player to collide with another object to use as a boundary?
I'm trying to make a simple game where you move a sphere from left/right and try to avoid falling cubes. If a cube touches the player (sphere), the player dies. I'm trying to set up boundaries using a cylinder with a collider, but every time I... | common-pile/stackexchange_filtered |
Java Streams sort values after reduce
I just try to understand streams in Java and I stuck at sorting phase.
My purpose is to get most expensive vege pizza with one stream. At this point I get pizza price but I can't sort it. Can anyone tell me how I should do it ?
I try with this :
pizzas.stream()
.flatMap(pizza ... | common-pile/stackexchange_filtered |
Automorphisms of $\mathbb{C}$ and meromorphic functions
Let $F$ be a meromorphic function on $\mathbb{C}$, and assume that the first-order theory of $(\mathbb{C},F)$ defines $\mathbb{Z}$, which means that there exists a formula $\varphi(z)$ (in the language of fields, so we cannot use complex conjugation, but parameter... | common-pile/stackexchange_filtered |
Create React App is Deployed but github pages shows 404 from manifest.json
Can anyone help me identify the problem to my manifest json file?
I deployed a simple starter create-react app to github pages and through the command line it shows that is is published but when I go to github pages page doesnt load. When I vie... | common-pile/stackexchange_filtered |
Laravel Debugbar few tabs are not showing e.g. Route, Auth, Session, Gate
I am using Laravel Debugbar https://github.com/barryvdh/laravel-debugbar with Laravel 7.x according to documentation it should be show this
but my debugbar missing few tabs Route, Auth, Session, Gate etc. please see below
Please Help i can get ... | common-pile/stackexchange_filtered |
App Store version gets the last expo build version, even I didn't released it
I've faced a weird behaviour in my expo app.
My steps:
I created a new version (1.0.8) using expo build:ios
The current version release in App Store is 1.0.6
I downloaded and install it in my iPhone
So, I got the 1.0.8 version, but this vers... | common-pile/stackexchange_filtered |
How to use list<pair<tstring,tstring>> as parameter in C++ function from C#
I have been given a C++ Library with a function that takes a parameter of list< pair< tstring, tstring>>.
I need to create a C# shim for other developers to be able to use this library.
I understand that marshaling generic types is not allowed,... | common-pile/stackexchange_filtered |
How does DotNetNuke Hash Its Passwords?
I am writing a login system that will log in against a DotNetNuke application's database. I have access to the database and can read the PasswordSalt in the aspnet_Membership table. Hence I will have as inputs:
user's password (submitted by form)
user's salt (I can look up)
a... | common-pile/stackexchange_filtered |
refraction of arrow through glass of water
so i have been trying to simulate arrow refraction through a glass full of water where the arrow's direction is reversed. i have applied refraction BSDF to both the glass and the fluid mesh with IOR 1.45(do i need to set different IOR for the water and glass??) and the arrow... | common-pile/stackexchange_filtered |
Hypothetical question about value created using stolen money
I was thinking about this scenario where a person steals some money and uses that to start a business and even becomes very successful and makes many times the initial money. I was wondering that if he gets caught, what would happen to the value he has create... | common-pile/stackexchange_filtered |
How can I continue Coroutine after calling it from a script that I deactivated after that call
I have a Coroutine in a class Enamy that is attached to a gameobject. Now I am using a Projectile to hit that enemy and disable both of them. The problem is that I don't want to deactivate the projectile in the same time as ... | common-pile/stackexchange_filtered |
MySQL with Dev C++ is giving dll errors
I'm trying to make a program to load MySQL database.
The code compiles fine, but when it comes time to execute is, I have .dll errors.
My Dev C++ project settings so far:
PARAMETERS
Linker:
"-lmysql"
DIRECTORIES
Library Directories:
C:\Program Files\MySQL\MySQL Server 8.0\lib
... | common-pile/stackexchange_filtered |
Image preview in telerik mvc editor
I have customize the telerik editor shown in below image-:
So how can i display selected image in a div (showing in black box in the right side). I also do some stuff to find the image source by using this jquery:
$(document).ready(function () {
$('li.k-state-selected').live("c... | common-pile/stackexchange_filtered |
AsyncTask onPostExecute Dialog doesnt work
I am getting really tired, I have this code in the onPostExecute connected to a AsyncTask that is downloading an image. The thing is the toast is showing that the size is below 20000 bytes but the materialdialog never shows up, its like the if statement is false even though th... | common-pile/stackexchange_filtered |
Error 404 (File not found) using C# WebClient.DownloadFile
I searched questions/answers that were somewhat relevant to my issue. The one most relevant to mine resulted in emptying a file after using the C# WebClient class for a file download. Since my issue with WebClient didn't involve emptying a file, I decided to ... | common-pile/stackexchange_filtered |
VPN to Home server throught VPN
I have a Home server behind a NAT provider, I want to connect to it via VPN from a Remote laptop (Windows) to use its region IP.
I have a VPS server with a Wireguard server configured, and a client configured on my Laptop and Home server.
How can I set up a tunnel from Wireguard client t... | common-pile/stackexchange_filtered |
Is it possible to execute a Java code string at runtime in Android?
I want to get a line of Java code from user and execute it in Android. For example:
String strExecutable = " int var; var = 4 + 3"
Object obj = aLibrary.eval(strExecutable);
It is not java script and I want to run a java code.
Is it possible? If yes h... | common-pile/stackexchange_filtered |
Looking for suggestions on how to improve my questions in order to dig myself out of a question ban
I just checked that I got questions banned. It says I have reached my question limit:
Now I am not complaining about why I got question banned. I am just curious that how did it happen when I make questions very detaile... | common-pile/stackexchange_filtered |
Send dynamic argument to an application through its shortcut
I am trying to create a shortcut link which will run/open Command Prompt (cmd) as Administrator having present working directory (PWD) set as the supplied folder path.
What I have done:
Created a batch file with following contents, and saved as "D:\Open Admi... | common-pile/stackexchange_filtered |
OrderBy().ThenBy().ThenBy() not giving expected result on a List of entities
Having trouble understanding why my simple ordering doesn't work as expected. Here's the offending line:
return messages.OrderBy(o => o.MessageType)
.ThenBy(p => p.IsUrgent)
.ThenByDescending(p => p.Timestamp)
... | common-pile/stackexchange_filtered |
Track Nodejs server progress on client
I have a server in nodejs running where I upload a large data file. I'm using angular-file-upload on the client to do this, which helps me track the upload progress through a set of callback functions.
But when the upload is complete, the server starts working with the data (conv... | common-pile/stackexchange_filtered |
make android AsynTask to wait for result
i want to implement a login activity. it checks user existance with a webservice.
EditText un=(EditText) findViewById(R.id.txtName);
EditText pass=(EditText) findViewById(R.id.txtPass);
WS ss=new WS();
String str=ss.execute("checkLogin",un.getText... | common-pile/stackexchange_filtered |
Where to store a password that you don't want in source control
While debugging I currently have
#if Debug
new NetworkCredential("myUsername","myPassword", "myDomain");
#endif
Would a good solution be to store the password in a file and I read the value (only in debug). And then to add that file to the .gitignore?... | common-pile/stackexchange_filtered |
Mylyn removed from Eclipse 2022-06 -- workarounds?
Mylyn is/was an important productivity feature, and among others, a reason that made me stick to Eclipse for some projects -- especially with large code base. In a nutshell, you get direct integration with Bugtracking/Workflow software, and for each issue there is a fi... | common-pile/stackexchange_filtered |
Split vertical columns in half
I want this
\documentclass{article}
\usepackage{blindtext}
\usepackage{multicol}
\begin{document}
\begin{multicols}{2}
1
\vfill\null
\columnbreak
2
\end{multicols}
\end{document}
what you mean with " split each column into two`? What is in column? Do you like to have drawn red li... | common-pile/stackexchange_filtered |
How to calculate these two contour integrals?
Let $\gamma_1(t) = t+i/\sqrt{2R}, 1/\sqrt{2R} \le t\le R$, and
$\gamma_2(t) = R - t - i/\sqrt{2R}, 0 \le t\le R-1/\sqrt{2R}.$
Suppose $f(z) = \log(z)/(z^2+6z+8)$, where $\log z$ is defined on $\mathbb C \setminus \{x: x\ge 0 \}$ by $\{\log(re^{i\theta}) = \log r + i\theta,... | common-pile/stackexchange_filtered |
Sorting of a numeric vector in the ggplot graph after group by variables and pipe using facet_wrap
I have a code like the following:
library(dplyr)
library(ggplot2)
#Calculate some means
mean_data <- group_by(df, Duration, Time.elapsed,P_R_coef, R_L_coef) %>%
summarise(mean_A = mean(Number.of.theories.to.be.discover... | common-pile/stackexchange_filtered |
I can't set cookie on localhost
I'm using NodeJS with the Express framework with the cookie-parser middleware on localhost:3333. My frontend is served by react dev server on localhost:3000. This is my first attempt at anything to do with cookies. Here are the options i set for my cookie: { expires: maxAge , httpOnly: ... | common-pile/stackexchange_filtered |
GLM to normal distribution?
I have a dataset with four variables: Body temperature (dependent variable), air temperature, substrate temperature, precipitation and relative humidity (independent variables). To test whether my independent variables affect body temperature, I thought about using a GLM, but I'm uncertain w... | common-pile/stackexchange_filtered |
Adding 2 array `type`s in Golang
I have a type called EmployeeList which is just an array of Employee structs.
If I have to add/combine EmployeeList objects, I thought I could add them as follows
package main
import (
"fmt"
)
type Employee struct {
Id int `json:"id"`
Name string `json:"name"`
}
typ... | common-pile/stackexchange_filtered |
Documenting parameters of Scala functions defined via val
When documenting parameters of methods with Scaladoc, we can write:
/** Is number even
* @param i number
* @return true if i is even, false otherwise
*/
def isEvenDef(i: Int) = i % 2 == 0
Which after generating the docs (e.g. via doc from sbt) yie... | common-pile/stackexchange_filtered |
Randomly partition Mongodb database
So i have a mongodb database and would like to partition it randomly.
By this i mean the database is of size $s$ and I would like to have it split so that I have $frac{s}{2}$ to train my classifier on and $frac{s}{2}$ to test it's accuracy on. ~~ Cross Fold validation. How can i do t... | common-pile/stackexchange_filtered |
Retrieve Mutiple records in hql even some tables have no record
I have one situation, Need to retreive records from multiple tables and there is possibility that some tables has no record as per the condition criteria
For example:-
select *
from A a, B b, C c, D d, E e
where a.CERT_REQUEST_ID = ''
and a.CERT_OBJ_R... | common-pile/stackexchange_filtered |
Why the chunk could be run but there is an error when I knit in r-markdown?
Why can the chunk be run interactively but there is an error when I try to knit the file? When I run each chunk, there is no error, but when I knit it, it is stopped by an error.
Welcome to SO! please have a look at how to make a minimal work... | common-pile/stackexchange_filtered |
Getting cors error in pwa studio
When I run the PWA studio project locally I get this error. And after an error in the browser console, it keeps sending requests to the server.
Access to fetch at 'https://xxxxx.com/Store/rest/V1/guest-carts' from origin
'https://xxxx:8834' has been blocked by CORS policy: Response
to... | common-pile/stackexchange_filtered |
this def function I've made does not output the value specified by print
I've made this simple program that uses a def function to output one of the components of a list. The component isn't being printed as specified in the code, which is really confusing me. Any help would be appreciated.
Members = ["fine", "Mine"]
d... | common-pile/stackexchange_filtered |
Necessary and sufficient conditions for $\sum_{k=1}^{k_n}X_{nk} \stackrel{P}\to \gamma$ and $\max P(|X_{nk}|\ge \epsilon) \to 0$
There is a series of independent random variables $\{X_{nk};k=1,2,\cdots,k_n,n=1,2,\cdots\}$.
I need proof $\sum_{k=1}^{k_n}X_{nk} \stackrel{P}\to \gamma$ and $\underset{n\to\infty}{\lim}\und... | common-pile/stackexchange_filtered |
A simple Java average calculator
I'm a new Java student(self studying at home), and I made this average calculator which works perfect, but I wanted to add a condition that prevents the user from typing in a number bigger then 100, because grades usually end at 100, I'm struggling a bit on what is the right way of doin... | common-pile/stackexchange_filtered |
Rspec verbose on fail within summary mode of large test suite
when we have a large test suite running, it will often fail in the early tests, but we still want to run the whole suite.
It would be great to see all the greens represented by their dot '.'
But, as well as F, for fail, it would be great to see the stacktrac... | common-pile/stackexchange_filtered |
Only list items as url parameters in django
Id like to have url variable that would only accept items from list, but i dont know how to implement it in urls.
list = ['foo', 'bar', 'test', 'test2', 'random']
and urls.py, that i dont know how to implement list items:
url(r'^(?P<list_item>)/$', views.letnik, name="list_i... | common-pile/stackexchange_filtered |
How can I set an app pool restart schedule in IIS7 via WMI / Powershell?
I am creating a function to manage App Pools in IIS7 to our desired specifications, and I am having trouble converting one line from our equivalent IIS6 script; to set the restart schedule.
In IIS6 the line was:
$newPool.PeriodicRestartSchedule = ... | common-pile/stackexchange_filtered |
Including header files into static library
Since every time when we link against a static library we also need to include the header files, I am wondering if it is possible to archive into the static library, when creating it, those heads?
Say I have two object files foo1.o and foo2.o generated by
gcc foo1.c -I foo1.h ... | common-pile/stackexchange_filtered |
extracting all instances of subclass from arraylist
I have ArrayList<Unit> units. I want to write a function that would return all objects of specified subclass, which is used as parameter. However I can't get it to work. Here is what I have:
public static ArrayList<? extends Unit> getTheseUnits(Class<? extends Unit> s... | common-pile/stackexchange_filtered |
After deploying meteor app to heroku missing fiber package
I deployed my Meteor app to heroku after adding a db etc. and when I try and access the app I get an error that says the server can't find a module called "Fibers". What does this mean? I never installed that module.
Set your node version to 0.10.3.
| common-pile/stackexchange_filtered |
Split a string on new lines and format every line different, depending on the line number
I want to split a string on new lines and format every line different, depending on the line number and on the beginning of that line.
I found an example wich could be nice for my task(stackoverflow):
@Html.Raw(Html.Encode(Model[i... | common-pile/stackexchange_filtered |
Angular Material Date Picker isn't using the specified Custom Date Format
I can't seem to get Material Datepicker to accept the format I'm giving it. I want to format the date as YYYY-MM-DD, but it insists on using M/D/YYYY.
Below is a stack-blitz where I'm reproducing the issue. Additionally, it's putting the previous... | common-pile/stackexchange_filtered |
How can i save drawing file correctly in Autocad?
I use .NET framework and C# language to customize Autocad software.
I have problem with save drawing file.
Autocad 2024
In Autocad developing i have problem with saving active drawing file.
I'm trying to use the following code to save file.
But, i give exception error l... | common-pile/stackexchange_filtered |
Issue with forced linebreaks in the wrapstuff package
The wrapstuff package is a nice alternative to the wrapfig and wrapfig2 packages since it offers the ability to wrap text around figures which are center-aligned. An issue with it seems to be that its environment (\begin{wrapstuff}[]) can't handle forced linebreaks,... | common-pile/stackexchange_filtered |
Add % sign to a column using worksheet formatting
I want to add "%" sign to the value in a column (I actually don't want to convert that to percentage, just want to add the sign).I tried the below code which converts values to percentage and then add (%) sign after the value. Is there any wayto just add the sign.
forma... | common-pile/stackexchange_filtered |
How do i adjust ImageView if it falls outside of view Switcher bounds?
i have view switcher(it contains 2 views of kettle - on and off)
the first image is kettle "off" , and it stays outside of actual viewSwitcher.
I tried fitXY, fixStart, fitCenter - did not help!
Below is the layout of viewSwitcher
I already tried... | common-pile/stackexchange_filtered |
Python pivot table for large file in chunks: memory error
Using a bunch of dataframe chunks that look like this, where Version and ASSAY together form a unique identifier:
Version ASSAY Resp_Rob_Sigmas
0 A123 F 0.56
1 B234 G 0.78
2 C345 R 0.9
3 D456 F ... | common-pile/stackexchange_filtered |
Is it possible to put Azure App Configuration behind Azure Front Door?
Update: more detail can be found in the GitHub issue that i opened here:
https://github.com/Azure/AppConfiguration/issues/567#issuecomment-953365024
Original question:
I have set up three resource groups, each with their own instance of App Configu... | common-pile/stackexchange_filtered |
Is there an IE7 padding workaround without specifying dimensions?
I have a <p> tag with 9px of padding all around. Looks fine in FF and IE8, but not IE7. It "shrinks" the <p> tag down. This becomes obvious to the viewer as the <p> tag has a semi-transparent PNG used for the background and you can see it doesn't touc... | common-pile/stackexchange_filtered |
SQL Server Batch Error Handling Problem
How do I get this batch of SQL to get to the RollBack Transaction part at the end? SQL just stops halts script execution on the bad line of code. I know I can use a try/catch construct but i'm more interested in how this was this handled before SQL added try/catch.
BEGIN TRAN
CR... | common-pile/stackexchange_filtered |
Confused about the definition of internal angle of a face $F \subseteq$ polytope $G$.
I'm reading the book <<High-Dimensional Data Analysis with Low-Dimensional Models:
Principles, Computation, and Applications>>. In page 120, the book defines the internal angle with:
The internal angle $\beta(F,G)$ of a face F of a
po... | common-pile/stackexchange_filtered |
Singularity v3.9.4 Installation - mconfig not inside a git repository and no VERSION file found
I'm trying to install Singularity after installing Go. I've confirmed that Go has been installed successfully:
$ go version
go version go1.17.6 linux/amd64
After that, I run the following commands:
$ export VERSION=3.9.4
$ ... | common-pile/stackexchange_filtered |
ClassCastException using JTable?
renbor = tabla_proveedor.getSelectedRow();
DefaultTableModel modelo = (DefaultTableModel) tabla_proveedor.getModel();
modelo.removeRow(renbor);
That line of code gives me an error, it gives me...
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JTable$1... | common-pile/stackexchange_filtered |
Downloading png to disk creates broken file
In my project, I want to download a png file from a url and save it to disk.
I have a url to an image, and I can load it in my web browser without any problem.
But when I use Access to download this file and save it, it saves "a" file, but it doesn't seem to have any image. ... | common-pile/stackexchange_filtered |
UK Standard Visitor Visa refusal due to mismatching bank statement. What are my options?
My daughter wanted to travel to UK on tourist visa as her student visa expired. She wanted to go there to meet her sister working there on tier 2 (general visa). She by mistake showed my bank statement instead of her own as she had... | common-pile/stackexchange_filtered |
Adding an exception to the modification of layered navigation page titles
We're using the following code in app/code/local/Mage/Page/Block/Html/Head.php to detect when a filter is active from layered navigation and then amend the page title and meta description based on this sourced from DesignEnd.
public $layerFilters... | common-pile/stackexchange_filtered |
How to make normal List as ImmutableList?
I have my below Builder pattern which is thread safe and also making sure parameterMap and dataType cannot be modified after being assigned to InputKeys class by using ImmutableMap and ImmutableList Guava class.
public final class InputKeys {
private final long userid;
... | common-pile/stackexchange_filtered |
Python: Setting tuples from csv file
So essentially what I have is a csv file which is loaded in via some function, lets call it
get_csv
So when I have this data, I want to create a new function to format the data sent from the server into tuples. Which I will call
csv_format
So assuming the csv comes with 9 columns,... | common-pile/stackexchange_filtered |
async/await and the IDisposable interface
I have a class which implements the IDisposable interface to dispose a private variable _MailMessage The same class has a async method that makes use of the private IDisposable variable, namely async public Task<bool> Send My question is: Will the normal IDisposable implementat... | common-pile/stackexchange_filtered |
Adding a value to a textbox generated on Symfony 2
Having this:
echo $view['form'] -> row($form["codelist"], array(
//widget
"widgetArgs" => array(
"attr" => array(
'class' => 'input-xlarge tooltipRight',
'id' => "gift_codelist"
),
"tooltip"=>"gift.toolti... | common-pile/stackexchange_filtered |
How to access (and modify) the elements of the same matrix using p threads?
I have a matrix Image MxN and I want to apply on it a matrix filter of 5x5 (like in this gif https://de.wikipedia.org/wiki/Datei:2D_Convolution_Animation.gif)
I am taking an element from position i,j in the matrix, add the filter on it and its ... | common-pile/stackexchange_filtered |
Length of a curve without function?
I need to find the length of this curve:
I don't have a function but I do have 3 sets of coordinates:
$(0, 51)$,
$(337, 674)$, and
$(1022, 1022)$
The $(337, 674)$ set refers to the tangent and it makes the curve be equidistant.
I know nothing beyond basic math, however I'm working... | common-pile/stackexchange_filtered |
PHP Post not submitting all information?
I have a form which posts to submit the information to insert into a database, this part works as expected with all data returned.
However I also have a 'test' function for the insert to ensure that the information provided is valid and works as intended before inserting into t... | common-pile/stackexchange_filtered |
Highcharts: Place serie with least value on the top
Is there a way to place the serie(s) with the most values in the bottom and the ones with the least values on the top, so it doesn't ruin the plot?
Highcharts.chart('container', {
chart: {
type: 'area'
},
xAxis: {
tickmarkPlacement: 'on',
typ... | common-pile/stackexchange_filtered |
How to check empty input in command parser
In my program, I have to parse commands of the user and then execute appropriate functions. However, I wanted to know how can I check the input of the user is empty. If it is empty, I give him a message to input commands correctly. The following part is my command parser which... | common-pile/stackexchange_filtered |
MongoDB workaround for blocking connection or change timeout for connecting. [C++]
Is there a way to change the C++ connection timeout? as per this bug report, it seems not. But it says there is a simple workaround, and I'm not sure what.
https://jira.mongodb.org/browse/SERVER-3983
I have autoreconnect on, and when the... | common-pile/stackexchange_filtered |
How to use Bazel with Node.js
My understanding is that Bazel expects projects to be under a monorepo with a WORKSPACE file at the top-level and BUILD files in every project:
Repo
├── ProjectA
│ └── BUILD
├── ProjectB
│ └── BUILD
└── WORKSPACE
However, going through the Bazel NodeJS rules documentation, it seems to... | common-pile/stackexchange_filtered |
Linux high iowait without block device activity
I'm having a hard time figure out the reason cause high iowait on my server.
top:
%Cpu(s): : 30.0 us, 5.4 sy, 0.0 ni, 53.9 id, 10.1 wa, 0.0 hi, 0.7 si, 0.0 st
iostat:
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_awa... | common-pile/stackexchange_filtered |
ssh: securing netconf only account
I have to secure a Linux server that is managed by netconf over ssh. The netconf process is started by configured ssh subsystem and it works correctly. My question is about prohibiting netconf-only accounts from executing any other function from ssh command line: e.g I would like 'ss... | common-pile/stackexchange_filtered |
How do I check the number of edits I have done on my own posts?
Is there any way to check the number of edits that I have done on my own posts. For example my total number of edits are 503.
How can I check that how many of them are on my own posts?
32 as of last dump
+1 for query and result.
that's out of date by a... | common-pile/stackexchange_filtered |
How do I animate Sprites in Unity JavaScript?
I'm learning unityscript for Unity 3D. I'm new to programming (one month old) and I'm building a 2D game that is going pretty good so far.
Cubical Chimera
My code (game not updated in the above example) allows the character to cycle through from shooting position (shown in ... | common-pile/stackexchange_filtered |
Git push to a remote with files already there
I would like to start using git on a website that already has a lot of content on it (like tens of GB of videos and photos).
I have all the source codes (PHP, HTML etc.) stored locally on my computer.
I like this solution for git deployment but I'm afraid that git is going ... | common-pile/stackexchange_filtered |
How would I go about sending the pdf output of pdfLaTeX to a discord channel right after compiling it?
Here is what I've tried so far, although it does not manage to send the pdf, it only compiles the TeX code that's been given to it. I'm quite new to python so please bear with me if the answer to my question seems fai... | common-pile/stackexchange_filtered |
PNG Encoder - Add own filter implementation
I am currently working on my own implementation of a PNG Filter. I am using a Neural Network to try to create a better prediction than the current existing PNG Filters:
0 - None
1 - Sub
2 - Up
3 - Average
4 - Paeth
5 - My Implementation (with Neural Network prediction)
For ... | common-pile/stackexchange_filtered |
C++ Namespace Specification Redundant or Useful?
From what I understand, function resolution occurs from inner scope to outer scope. Therefore, in the following example, MyNamespace::foo() will be executed in both cases.
foo() {}
namespace MyNamespace
{
void foo() {}
void bar() {foo()}
}
foo() {}
namespace My... | common-pile/stackexchange_filtered |
System.Windows.Forms.DateTimePicker has text too much streched
I am using Windows.Forms.DateTimePicker in my software. But the text appears to be too much stretched in the selected date shown in the textbox of the DateTimePicker control. See screenshot below:
Is there any way to condense / tighten the text? Or is ther... | common-pile/stackexchange_filtered |
How to fix the same row height, column width and align vertically-center each cell?
I have the following table:
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\renewcommand{\arraystretch}{2.2}
\begin{table}[H]
\centering
\caption{Tipos de funções de ativação}
\label{activacao}
\begin{tabular}{p{35mm}P{35mm}P{... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.