text
stringlengths
70
452k
dataset
stringclasses
2 values
How to Type Multilingual Characters in Windows Mobile Device by Device Keypad I have a smart device with windows Mobile 6.5 operating system, and i want to write an application for this device by .Net CF 3.5 and C# Language. The keybpad of this device is something look like this picture: As you see in the top picture,...
common-pile/stackexchange_filtered
AngularJS Allow-Origin to WebApi2 I want to host my API on a separate domain. I have configured my auth-interceptor for token in angular with a bearer: config.headers.Authorization = 'Bearer ' + sessionStorage.getItem('token'); In my My WebApi2 I have configured the WebApiConfig with cors. var cors = new EnableCorsAt...
common-pile/stackexchange_filtered
Is it possible to identify the format of a string? Is it possible to recognize if a string is formatted as a BSON ObjectID? For strings we could do: "hello".is_a?(String) # => true That would not work since the ObjectID is a String anyway. But is it possible to analyze the string to determine if it's formatted as a BS...
common-pile/stackexchange_filtered
How to get the YEAR for week of year for a date? I know that Calendar.WEEK_OF_YEAR could been used to obtain the "week of year" for a given date, but how do I get the corresponding YEAR?. I know that the definition of Week of Year is dependent on Locale. And I am mostly interested in a DIN 1355-1 / ISO 8601 / German s...
common-pile/stackexchange_filtered
AlarmManager and Force Stop Can anyone suggest a solution to this problem? If you use the AlarmManager all added alarms are cleared if: The device is rebooted The app is updated Force Stop of the app Solutions for readding the alarms are easy for the first 2, but the 3. are a huge problem: BOOT_COMPLETED Broadcast P...
common-pile/stackexchange_filtered
How to stream from VLC (linux) to iPod with web service (complete process)? I want to stream my webcam in linux with VLC to the iPod. From what I've seen on the web, the easiest way is to use a web server and then access to it from the iPod like this: NSString *url = @"http://www.example.com/path/to/movie.mp4"; MPMovie...
common-pile/stackexchange_filtered
How to stop Steam from cluttering /var/log/syslog? I just installed Steam on a freshly installed 17.10 with vanilla gnome desktop on Xorg. now I have the following happening, when starting Steam (which works fine btw) I get the following entry in /var/log/syslog: Oct 23 23:07:29 NEXUS-ONE org.gnome.Shell.desktop[1628]:...
common-pile/stackexchange_filtered
How to reference a file from a pre-request script or a test script in Postman? Problem Description: I have a file containing json schema. I want to use the schema to validate multiple collections in Postman. I want to be able to reference this file from a pre-request script or test-script. What I've tried so far: Glob...
common-pile/stackexchange_filtered
Can we customize how parameters and return types are imported from Objective-C into Swift? I have an Objective-C class that is a proxy to an NSDictionary. @interface DictionaryProxy : NSProxy -(id)objectForKey:(id)key; -(void)setObject:(id)obj forKey:(id<NSCopying>)key; @end I have not genericized the class because I ...
common-pile/stackexchange_filtered
In ASP.NET MVC, where the file is created by default, if I just specify the file name, and no path? In ASP.NET MVC, where the file is getting created by default, if I just specify the file name, and no path? I'm creating the file as : System.IO.File.WriteAllText("MYSTERIOUS_log.txt", DateTime.Now.Precise() + msgString,...
common-pile/stackexchange_filtered
Enable loudspeaker programmatically during a voip call I want to enable loudspeaker programmatically during a voip call in ios app. Is it possible and how? Swift 4 Check this https://stackoverflow.com/questions/27246539/enable-and-disable-speaker-in-xcode-ios-8-1-while-calling/50214838#50214838 Swift 4 https://stacko...
common-pile/stackexchange_filtered
Problem with Commutative Diagram I have the following code: \begindc{\commdiag}[500] \obj(0,0){$k(s)$} \obj(0,2){$K$} \obj(-1,1){$k(x)$} \obj(1,1){$k(y)$} \mor(0,0)(-1,1){}[+1,6] \mor(0,0)(1,1){}[-1,6] \mor(-1,1)(0,2){}[+1,6] \mor(1,1)(0,2){}[+1,6] \enddc I want to put \spec inside every object. I already defined \s...
common-pile/stackexchange_filtered
Reference enumerating groups of order a product of five distinct primes. I found this paper enumerating the groups of order $pqrs$ up to isomorphism. I'm struggling to find one for $pqrst$. Has anyone done it? Could someone provide me with a reference if so? See this question from yesterday, and the solution here for ...
common-pile/stackexchange_filtered
prevent image overlap with css grid I am almost done with a landing page of a fictional travel agency. I decided to add images and my idea is to have one image to the left and text to the right, The second image to the right and text to the left, and the third image to take up the full width of available space and text...
common-pile/stackexchange_filtered
How to save ssh-keyscan result with the port to .ssh/known_hosts When I run ssh-keyscan -p NNN -t rsa GITHOST it produces sting like GITHOST ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCZwBe6yneM2q2KEuQ3UV194hUcEcQ7b0xoYdKXKU6RrsxP2wup3uwC4q2SbPlW6XkjVtOIXY4c5aBaieMjNhIBFxGa2yUnTwZPFZiGMh/fwoZ2IsLsIE7XCj2q4eO1jmxvgWf7VAE7DV...
common-pile/stackexchange_filtered
Backbone: Merge models but keep data bindings Right now i have a lot of UI elements that are bound to a backbone model. This model contains customer information, and the model is changed every time a new customer is searched for then brought into focus. The previous customer model is overwritten by this new one. Most i...
common-pile/stackexchange_filtered
Add C# X509Certificate2 to X509Store with AllowPlaintextExport flag? When I import a certificate into a store using CertUtil, e.g., certutil -f -v -user -privatekey -importPFX my mycert.p12, and then read it in in C#, I see that its export policy is AllowExport | AllowPlaintextExport. However, when importing the same c...
common-pile/stackexchange_filtered
Nginx config is not affected on MacOS High Sierra I have some issue need to clear. I have install and config nginx but not successfully. Here is my file /usr/local/etc/nginx/nginx.conf worker_processes 1; error_log /usr/local/etc/nginx/logs/error.log debug; events { worker_connections 1024; } http { includ...
common-pile/stackexchange_filtered
'NoneType' object has no attribute '_meta' while changing models I am attempting to restructure my database models to include more data than django.contrib.auth.models.User. However, making the changes to models.py and views.py, then running python manage.py makemigrations doesn't properly update my migrations. Apparen...
common-pile/stackexchange_filtered
How can I transition NM cable (coming out of drywall to peninsula cabinet) into conduit with THHN wiring for the peninsula outlet? I have a roll of NM at the end of one of the (currently inactive) 2 kitchen circuits, which the electrician left for peninsula wiring. NM is coming out of drywall, under the counter, going ...
common-pile/stackexchange_filtered
Debug video stream in Firefox dev tools Is it possible to debug a video stream using the Firefox dev tools? Specifially I would like to monitor the transfer rate and find out why a video sometimes stutters. Not sure if it is caused by the server internet connection, client internet connection or client CPU/GPU decoding...
common-pile/stackexchange_filtered
Parse JSON to dictionary, issue with true and false I have a JSON that return me one of key: "fork": false or "fork": true when I look into the dictionary there is a fork = 0; or fork = 1; but when I try to invoke this code BOOL forkExist; if (dictionary[@"fork"]) { if ((BOOL)dictionary[@"fork"]) ...
common-pile/stackexchange_filtered
Codeigniter Controller cannot use function within helper I have the controller <?php class Onetimescan extends CI_Controller{ public function index() { #LOAD -->>>> LIB ########### $this->load->library('session'); ## LOAD LIBS: SESSION $this->load->helper('simpledom'); ...
common-pile/stackexchange_filtered
Conformal maps between simply connected domains with piecewise real algebraic boundary Between polygons in $\mathbb C\cup\{\infty\}$ (including the "single side polygons", hemispheres, disks) the Schwartz-Christoffel mappings give arguably explicit conformal maps. For polygons with few angles those are well known speci...
common-pile/stackexchange_filtered
android requestWindowFeature(Window.FEATURE_PROGRESS) ERROR I am trying to put a progress status on my windows view but it is causing me error each time I run my app package example.asynctaskdemo; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.vie...
common-pile/stackexchange_filtered
Getting Name Error for a function I've defined earlier in the script I'm building a Rectangle Class to see if two rectangles are touching at the corners. It's the last exercise by the openbookproject for python chapter 16. http://openbookproject.net/thinkcs/python/english3e/classes_and_objects_II.html The problem I'm ...
common-pile/stackexchange_filtered
Symfony crawler can't access twig form here is my code. I have a twig form I want to access it using symfony WebTestCase crawler like this, but it doesn't work. I want to use the Download button for testing purposes. Does someone have a solution ? <div class="modal-body"> {{ form(trackImageForm) }} </div> <div clas...
common-pile/stackexchange_filtered
create scrollable section in antd 4 I need to create a list with inner scroll and a search input at the top in antd4 and react. how can I create that like the image bellow? scrollable section sketch example: I couldn't find this component in antd components. Actually, I don't want to use the bellow code in css: maxHei...
common-pile/stackexchange_filtered
php go-pear.phar on Debian Testing does nothing I have a fairly fresh Debian Testing install, and I am trying to install PEAR / PECL but when I run the command nothing happens. I don't want to install the PEAR package in the Debian repositories because in my experience it is too old. I have installed php5-dev. Here is ...
common-pile/stackexchange_filtered
What's the orrect configuration of a T connector for track lighting? I just put up a bit of track for a system and used a mix of manufacturers (Lithonia, Satco and Hampton Bay) — all of the track is the H style. Adding a small piece of track, I put one head on and (using a Maestro dimmer) it worked. When I added a T co...
common-pile/stackexchange_filtered
Coolant leaking into engine I had my truck in for service - 2006 Sierra Denali - due to an oil leak. They replaced the "engine oil cooler lines to pan gasket". Within a couple of days had a major issue - coolant had gotten into my engine. This seems too coincidental - could the problem have been caused by the part repl...
common-pile/stackexchange_filtered
Combine values of two rows into single row using SQL ID QuestionNo AnswerPercent 1 15 10 1 16 10 1 17 20 1 18 25 2 15 30 2 16 0 2 17 15 2 18 25 Output ID QuestionNo AnswerPercent 1 15 10 1 16 ...
common-pile/stackexchange_filtered
Enterprise Caching Application Block | IsolatedStorage and Scavenging I am using Caching Application Block for caching. I have a few large objects that are cached. The issue is that items are removed from cache because of Scavenging. Now since fetching objects again from database is expensive, I am thinking of using Is...
common-pile/stackexchange_filtered
AvaloniaUI: Setup was already called on one of AppBuilder instances Whenever I try to restart Avalonia application form base application, I get an exception: "Setup was already called on one of AppBuilder instances." on SetupWithLifetime() call. Application Startup code is: public static void Start() { ...
common-pile/stackexchange_filtered
How "repeatable" does empirical evidence need to be? To start, I am a proponent of empiricism but feel like I stumbled into a flaw. How come we only accept what we can repeat? ..and how often do I need to be able to repeat to the same conclusion for me to accept it? For instance, if I experienced a ghost once, why don...
common-pile/stackexchange_filtered
Retrieve multilingual data (Chinese, Japanese...) from SQL Server 2008 R2 and display in Java webapp I have Chinese data in my db and I need to display it in my Java web app. However I am getting ??? as output. Database Used: SQL Server 2008 R2 (nvarchar datatype is used in order to support Unicode data and db is creat...
common-pile/stackexchange_filtered
OnClick doesn't fire in custom Button class but in parent class I created my Own Button <merge xmlns:android="http://schemas.android.com/apk/res/android"> <ImageView ...></ImageView> <ImageView ...></ImageView> <TextView ...></TextView> </merge> her is the class for my Button publ...
common-pile/stackexchange_filtered
Is there a naming scheme is appropriate for referring to a file within an archive? I'm working on an application which is supposed to be able to refer not only to files directly, but also files located within an archive (such as ZIP or TAR). As an example, suppose I have the archive foo.zip, inside of which I have a di...
common-pile/stackexchange_filtered
How do I analyze the monthly variance of discrete series? My company gathers all sorts of series for page views, unique visitors and many other user data (collected by our web servers). As I see it, these sets of series are discrete since they are all collected by computer systems and software and there is no 'intermed...
common-pile/stackexchange_filtered
Automating Fortify Audit Workbench Does Fortify Audit Workbench have any command-line options that would allow me to put it in a cron job and run it daily? The scan takes over two hours, I would like it to run overnight and see the results in the morning. Jason Audit Workbench is the GUI front end for the underlying S...
common-pile/stackexchange_filtered
Get records of last hour, last 2 hours.....last n hours I need to get the records of the last 24 hours but not group by hour like this: SELECT HOUR(CompDate) AS hour, COUNT(1) AS action FROM mytable WHERE ((CompDate >= DATE_SUB(NOW(), INTERVAL 24 HOUR)) GROUP BY `hour`; The above query will tell me that: hour 22 --> ...
common-pile/stackexchange_filtered
Passing Parameter into single Quoted TSQL Script I want to Print this script into below format Result i want should be EXEC dbo.MyProc ' -n mssql -a "myname=myusers" -a "name2=name2" -a "SHOST=<IP_ADDRESS>" -a "computername=@sName" -k' My Query is USE [master] GO Declare @SName varchar(100), @sql var...
common-pile/stackexchange_filtered
Sublinear functional and norm. Let $X$ be a normed linear space. Let $C$ be a convex absorbing subset of $X.$ Define the function $p_C : X \longrightarrow \Bbb R_{+}$ by $p_C (x) = \inf \left \{t \gt 0\ |\ x \in tC \right \}.$ Then I have proved that $p_C$ is a sublinear functional. Can $p_C$ be a norm on $X\ $? It is ...
common-pile/stackexchange_filtered
On the higher moments of a continuous martingale that starts at zero In discrete-time, it is possible to construct a martingale which is in $L^p$ but not $L^q$ for $p<q$. To see this, simply let $(\Omega, \mathcal{F}, \mathcal{F}_n, \mathbb{P})$ be a probability space for which $(\epsilon_n)$ is an iid sequence of cent...
common-pile/stackexchange_filtered
Detect corrupted Microsoft Access database in code-behind On my legacy application based on Microsoft Access and C#, it happens that due to lack of power, some mdb databases can be result as corrupted. In my application, before startup, I compact the databases but I would like to "detect" if is possible, if a mdb datab...
common-pile/stackexchange_filtered
Construct object (Rectangle) without arguments when __init__ of class requires parameters I am working on an assignment that requires a Rectangle class that computes the area and perimeters given. We are given the main() function already and have to build around it. It seems to run up until it gets to b = Rectangle() w...
common-pile/stackexchange_filtered
How to convert a json object into a dataframe when arrays are of different lengths? I am trying to convert a json format into a dataframe but getting an error saying "All arrays must be of the same length". Below is the code. Any advice are highly appreciated. I have the following codes import pandas as pd import reque...
common-pile/stackexchange_filtered
how to send data from a php page to ajax page i have this code, now i want to send this $_SESSION['roll_id'] variable to another page menu.php where ajax function is written. how i send this variable to another ajax page for set data. this is login.php page. if($row["Login_Id"]==$username and $row["Login_Pass"]==$passw...
common-pile/stackexchange_filtered
clamxav homebrew mac os x On Mac OS X 10.6.8 I just installed Homebrew. It broke ClamXav. So I uninstalled it, and installed Homebrew's clamav. At the end of the installation process I received this: / Warning: /usr/local/sbin is not in your PATH You can amend this by altering your ~/.bashrc file I don't know what I'm...
common-pile/stackexchange_filtered
Difference between Mozilla's new repository and ppa Mozilla introduced new package repositories for (nightly) deb packages. Apart from that a ppa already exists for a long time. In the blog post's comments they already write that it should be introduced for stable releases as well. Does anyone has an idea what the diff...
common-pile/stackexchange_filtered
How do I save output into a text file in python? So what I want to do is save the output of this program into a text file. import itertools res = itertools.product('qwertyuiopasdfghjklzxcvbnm', repeat=3) for i in res: print ''.join(i) Im running python 2.7 You can use open and then write method of the resulting fil...
common-pile/stackexchange_filtered
Populating new column in dataframe from existing two with different lengths How would I go about adding a new column to an existing dataframe by comparing it to another that is shorter in length and has a different index. For example, if I have: df1 = country code year 0 Armenia a 2016 1 Brazil ...
common-pile/stackexchange_filtered
Android app to back up SMS and call log in json format I need a app which can backup SMS, call log (dialed call, missed call, received call) in JSON format. So that this data can be used later with a programming language. If you are OK with CSV, SMS Share can do that for SMS (but comes with some trackers like Crashly...
common-pile/stackexchange_filtered
Random Number Issue Java So I have been searching everywhere for a way to do this and I can't find a method that would satisfy what my professor wants. He wants us to create a random number with a random seed, that is then tested to see if it is a any number in a set of numbers, then change until it is any number that...
common-pile/stackexchange_filtered
Multiple persons flip biased coins multiple times I've been trying to solve this seemingly easy problem for some time, but I'm not that well-versed in probability, so I thought I would ask. Let there be $N$ persons each with identical biased coins that land heads with probability $p$ (and tails $1-p$). In each trial al...
common-pile/stackexchange_filtered
Material Design Lite and jQuery, smooth scroll not working I am unable to use .animate method of jQuery with Google's Material Design Lite(MDL). I have used MDL to make navigation bar, but smooth scrolling was not working. Simple jQuery code is this: $(function(){ $('a.smooth').click(function(){ ...
common-pile/stackexchange_filtered
wxmaxima does not completely solve a derivative I don't know why wxmaxima doesn't give me the complete result, leaving an expressed derivative and not solving it I don't understand what I could be doing wrong. If anyone can help me, thank you in advance. Note: Wxmaxima version 19.01.2x ; Maxima version 5.42.2 Here is ...
common-pile/stackexchange_filtered
What is the difference between Zombie.js and Jasmine? May I know what is the difference between Zombie.js and Jasmine? are they both frameworks? Jasmine is a unit test framework for BDD (behavior driven development). It requires an execution environment like NodeJs or a browser like Firefox, Chrome, IE, PhantomJS etc....
common-pile/stackexchange_filtered
Are there any valid uses for the System.Collections.Specialized classes any more? Are there any valid uses for the classes in the System.Collections.Specialized namespace any more or are they all superseded by the classes in the System.Collections.Generic, System.Collections.Concurrent and System.Collections.ObjectMode...
common-pile/stackexchange_filtered
File select dialog - javascript security issue: easiest(!) way to automatize file selection in Chrome. Very creative solutions may do as well I'm dealing with a very annoying website where you want to upload lots of files there, but you can only do it one file at a time (one per tab). I'm developing a Google Chrome ext...
common-pile/stackexchange_filtered
How to use labels in batch I have a batch file and I want to show the user the process in the file. I've created small tables with Operation and Status headers. Each table is for a particular command/line. After the line has run, I print the corresponding table, which clears the screen and prints the new table with the...
common-pile/stackexchange_filtered
AsyncTask return null value I have problem in getting dropbox shareLink. I have tried changed the code based on some answer here, but the output still the same. I do not know which part of this codes are wrong Here is my code: public class loadMetadata extends AsyncTask<String, Void, String> { private DropboxAPI<?...
common-pile/stackexchange_filtered
How to install get-pip.py to python Im trying to install pip but i cant ı dont know what to do with get-pip.py even after ı read it ı tried copying it to cmd and it closed ı tried the same thing on python but it said Traceback (most recent call last): File "<stdin>", line 2, in <module> NameError: name 'main' is not de...
common-pile/stackexchange_filtered
What a Gitlab administrator should do to enable Gitlab Pages? I've GitLab EE and I'm trying to figure out how Pages are working; I've followed everything on the official website, but I'm still getting this when trying to view repository's page settings. GitLab Pages are disabled. Ask your system's administrator to ena...
common-pile/stackexchange_filtered
Textarea did not focus but submit instead I have a textarea which catch the keyphrase of characters' count. I also have a javascript codes in mine which return false if the textarea have no character typed in the field at all or at least 20 chars. This is my scripts: Javascript function CheckLength() { ...
common-pile/stackexchange_filtered
How can i enable/disable kernel kaslr, smep and smap I am wondering how i can enable or disable this 3 features from linux kernel: kaslr smep smap I have read i have to add something in kernel's command line to enable this features. I have looked into /proc/cmdline. I do not see anything about smep. But, when i ask /...
common-pile/stackexchange_filtered
Are there any shortcuts to modelling lighterweight versions of my NHibernate mapped model classes? I have a model class with many properties that is mapped to the database using NHibernate. If I want to create a lighter weight version of the same class that is only used to retrieve and update one of the properties are ...
common-pile/stackexchange_filtered
What's responsible for the earth to rotate and for the objects on it to rotate with it? Three questions arose to me: The first is what is responsible for the earth spinning? Is this just newton's first law in action - having been formed out of the material in the cluster of clouds after the big bang the world just rema...
common-pile/stackexchange_filtered
check which features scikitlearn imputer discards The docs for scikit-learn's Imputation transformer says When axis=0, columns which only contained missing values at fit are discarded upon transform. Since imputer returns a numpy array, how do I check which features were discarded during imputation, or corresponding...
common-pile/stackexchange_filtered
Binary data to integers? I need to make a script of conversion of UTF-8 file into decimal. In this process, I will be introducing a file into the code and run it against the conversion mechanism. I have file which is purely UTF-8 (correct me if I am wrong) which I will attach below. My main intention is to produce a sh...
common-pile/stackexchange_filtered
Spring webflux / Project reactor - how to write data from flux to text file I am trying to write to a text file the information returned in a flux by the web client. PrintWriter writer = new PrintWriter("ex1.txt", "UTF-8"); webClient.get().uri("/users/listall") .retrieve() .bodyToFlux(Students.class).map( stud ->{ ...
common-pile/stackexchange_filtered
Bluetooth Inputstream unwanted splitting i'm having troubles with bluetooth, my connection is established and i can send data to my module, but receiving always splits my bytearray, the messages from the module are separated in the first byte and the rest of the message, so instead of single message i'm getting two. I ...
common-pile/stackexchange_filtered
Can I use an INA219 to measure the load while using a solar panel? I am using a a solar panel connected to this solar power manager. On the output (5 V) I will connect a circuit with an Arduino, sensors, and an INA219 on a breakout board to measure the total load current, voltage, and power, always on the load. Will I ...
common-pile/stackexchange_filtered
cannot get / in a simple node file I am trying to do a simple node / angular example of a book got. However i get an error when loading the page: cannot GET / Anyone knows what i am doing wrong? Thanks var express = require('express'); var bodyParser = require('body-parser'); var app = express(); app.use('/', express....
common-pile/stackexchange_filtered
viewResolver with more folders inside of WEB-INF/jsp is not working in spring <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView" /> <!-- avoid '???' --> <property name="prefix" value="/W...
common-pile/stackexchange_filtered
PowerShell: string to datetime, but in European format I can create a DateTime Object from a string like this: [datetime]"10.12.2018" Problem is, it will always take American DateTime PS Z:\Powershell-Scripts\Functions> [datetime]"10.12.2018" Freitag, 12. Oktober 2018 00:00:00 Can I somehow tell PowerShell that I'm i...
common-pile/stackexchange_filtered
The underlying connection was closed unexpectedly I'm getting The underlying connection was closed: The connection was closed unexpectedly error while executing the following code (windows 8, .net 4.5): link = @"http://login.rutracker.org/forum/index.php"; _request = new HttpRequestMessage(HttpMethod.Post, link); _requ...
common-pile/stackexchange_filtered
PySerial client unable to write data I'm trying to write a python program which can communicate over a serial interface using PySerial module as follows: import serial if __name__ == '__main__': port = "/dev/tnt0" ser = serial.Serial(port, 38400) print ser.name print ser.isOpen() x = ser.write('hell...
common-pile/stackexchange_filtered
Am I misreading "On Cayley's Enumeration of Alkanes (or 4-Valent Trees)"? E. M. Rains and N. J. A. Sloane, On Cayley's Enumeration of Alkanes (or 4-Valent Trees), Journal of Integer Sequences, Vol. 2 (1999) is only available in HTML, which makes it harder to read than a nice LaTeXified PDF but easy to quote the section...
common-pile/stackexchange_filtered
iPhone X - UICollectionViewController AutoLayout Currently I am implementing a UICollectionViewController in my application (using MVC) since it provides fairly simple and useful methods to use a UICollectionView, the problem is that apparently it does not adapt well to the margins of the iPhone X (safeAreaLayoutGuide)...
common-pile/stackexchange_filtered
A nonrecoverable I/O error occurred on file after DB Shrink After shrinking an SQL Server database & files, I encountered an error message saying "A nonrecoverable I/O error occurred on file" while performing database backup. Why am I getting this error? After I did the following steps below, I was able to produce a d...
common-pile/stackexchange_filtered
Can we set javascript to load asynchronously with javascript? Suppose I have this HTML Content: <html> <head> <script src="myscript1.js"></script> <script src="myscript2.js"></script> <script src="myscript3.js"></script> <script src="myscript4.js"></script> <script src="jquery.js"></script> </head> <body> <!--- CONTENT...
common-pile/stackexchange_filtered
Low WLAN throughput despite claimed fast connection I have so following setup and suffering from low throughput and high latency and I have no clue why thats the case: Server (<IP_ADDRESS>) <--> AP (<IP_ADDRESS>) <--> Laptop (<IP_ADDRESS>) The server is running debian. Here the data form laptop: iwconfig eth0 no ...
common-pile/stackexchange_filtered
Where Exists SQL Though I'm really not sure how to do this, I gave SQL a condition and am trying to add another condition if X doesn't exist, select, say, B. simply if x exist select A and if not exist then select B Hope this makes senses SELECT * FROM [x] WHERE EXISTS ( SELECT * from [x] WHERE FileName = 'xxxx') AND ...
common-pile/stackexchange_filtered
Very slow query This query works, but it takes upwards of 20 seconds to run on a Quad Core dedicated server... How can I optimize this? $slides=get_posts( array('post_type' => 'any', 'numberposts' => 5, 'orderby' => 'date', 'order' => 'desc', "tax_query" => array( "relation" => "OR", ...
common-pile/stackexchange_filtered
Getting id of ui:inputCheckbox to set for attribute on label <ui:inputCheckbox/> always generates the label to the left of the checkbox in the markup, like so: <ui:inputCheckbox aura:id="reimbursed" label="Reimbursed?" class="slds-checkbox" labelClass="slds-form-element__label" value="{!v.newExpense.Reimbursed__c}" /> ...
common-pile/stackexchange_filtered
AMCL in the bottom right corner...forever I have setup the amcl as described by the tutorial. I setup all the costmap.yaml files. When I start everything up (I am using a segway rmp). I will get my static map and then get the laser in the bottom right hand corner. So I use the set position in rviz. And nothing happ...
common-pile/stackexchange_filtered
What is the purpose of :before :after pseudo selector without content? I am reading an article about border-box. http://www.paulirish.com/2012/box-sizing-border-box-ftw/ The author recommends the below CSS code: /* apply a natural box layout model to all elements, but allowing components to change */ html { box-sizi...
common-pile/stackexchange_filtered
Creating a dynamic reducer that will change any property of an object Is this possible? Say I have a state Object that's a dictionary such as pageDict: { someId: {prop1: value1, prop2: value2, etc} someId2: {prop1: value1, prop2: value2, etc} someId3: {prop1: value1, prop2: value2, etc} etc } Instead of makin...
common-pile/stackexchange_filtered
Arbitrary intersection of compact sets in Hausdorff space Let $(X, \tau)$ be a Hausdorff space, and $\{A_i\}_{i \in I}$ compact subspaces of $X$. Then $\cap_{i \in I}A_i$ is also compact. My proof is as follows: As $(X, \tau)$ is Hausdorff, every compact subspace is also closed, in particular all of the $A_i$. As the a...
common-pile/stackexchange_filtered
Using get_feature() function on layer while editing in QGIS In QGIS, I am trying to update a feature based on entries made on a nested form (relation). Considering: Layer1 has Field1 that should capture the value of Field 2, and field in Layer2 Layer2 is nested in the form of Layer1 via a Relation. The problem I have...
common-pile/stackexchange_filtered
What is wrong with the SQL Syntax in this PHP code? I am learning PHP so I was practicing SQL and CRUD in PHP however I seem to have an issue but I don't see what is wrong. There are two files: databases.php <?php // 1. Create a database connection $dbhost = "localhost"; $dbuser = "root"; $dbpass = "root"; $dbname = "w...
common-pile/stackexchange_filtered
UriComponentsBuilder construct a URI from existing URI without hardcoding URI variables I'm receiving a redirect URI as a String which is something like this - http://example.com/#/login. It can also be some arbitrary URI String like this - http://example.com/#/login?param1=hi or this - http://example.com and I have to...
common-pile/stackexchange_filtered
Getting error when trying to store csv file contents into a C# Dictionary using CsvHelper I would like to use C# and the CsvHelper library to read a csv file and store its contents into a Dictionary. Consider the Test.csv file with the following content: One,1 Two,2 Three,3 Four,4 Five,5 What I need is to put this csv...
common-pile/stackexchange_filtered
Trying to convert an animation from css3 to jquery, reaching walls everywhere Hi there I am trying to convert the following css3 animation to jquery but not having much luck: .portfoliobox .rollover { height: 220px; width: 100%; background: url(../img/rolloverbg.png); margin-top: 220px; -webkit-...
common-pile/stackexchange_filtered
read and write properties / @Input()@Output at same time I have a component with a counter propert export class MyComponent { @Input()@Output() counter: string; } I can set the property via: <mycomponent [(counter)]="parentcounter" ></mycomponent> But changes made in MyComponent are not visible in the parentcompon...
common-pile/stackexchange_filtered
Buffer function for python 3+ I'm trying to open a vtk window using vtk_show, but my Ipython console crashes every time i do this, apparently this is because Ipython can't display an external window, which is exactly what vtk_show does. I searched on google for a solution, but it's written for python2 (i'm using python...
common-pile/stackexchange_filtered
What happens if I exceed the load my PSU is designed to deliver? I want to use an old PSU I have for studying electrical engineering; to power my circuits. What will happen if I place a 0.6Ω load on the 12V output of a PSU rated for 10A? I'm sure the PSU will heat up, but will it deliver its max current or will it blow...
common-pile/stackexchange_filtered
Black screen after login, how to disable runonce.exe? Yesterday I was installing Free Disk Usage Analyzer on my girlfriend's laptop. At the same time, some steam game of her was also running. During the process, the laptop suddendly stopped working, probably due to heat problems. After waiting some time that it cools d...
common-pile/stackexchange_filtered
Filter records by categories SOQL I am trying to build a query, that will return books with all information including genres of that book. I have 3 objects: Book__c in which I have all information about books, Genre__c in which I have all genres, BookGenreAssociation__c in which I link book to genre. My apex query righ...
common-pile/stackexchange_filtered