text
stringlengths
70
452k
dataset
stringclasses
2 values
What is the last physics paper or book written in Latin? What is the last physics paper or book written in Latin? I know Carl Neumann, for example, wrote papers in Latin in the 19th century. Are there any more recently than that? For some noted scientific books, Wikipedia has a list: https://en.wikipedia.org/wiki/New_...
common-pile/stackexchange_filtered
Website with sign up and sign in system I'm going to start a website where I need a Signup and Sign in system. And when the user is signed in the user will get access to stuff that only members can see an access. Would HTML be the best way to go then? HTML is not meant for this. HTML just displays content in a web bro...
common-pile/stackexchange_filtered
How to append html to a div with jquery using "(this)" I am developing a script to use in my PHP page in wordpress. My purpose is to create a title on any image shown in my photo gallery in lightbox, so I developed this: $(".responsive1").bind("click", function() { $(this).("<div class='imgTitle'><?php ech...
common-pile/stackexchange_filtered
OpenVPN client configuration for passing MFA static challenge response I have site-to-site tunnel configuration set up on a Linux router which has worked for several years with typical OpenVPN authentication (certs, U/P auth, etc.). In this setup, my Linux router is the client side of the site-to-site tunnel. Recentl...
common-pile/stackexchange_filtered
How to know what is exported from a module? So far I have seen different ways of using modules in node.js. Exporting object from a module: var http=require('http'); http.createServer(<callback function>).listen(<port>) Here the http module exports an object which can be used to call its methods Exporting constructor ...
common-pile/stackexchange_filtered
Sync depth and color I am generating a depth map from the point cloud points, and to fill in the missing data I want to look at the closest matching color frame. I am able to generate a depth image (I generate it when OnDepthAvailable is called), and I see that the TangoAR unity example gets the color frames when OnExp...
common-pile/stackexchange_filtered
Error in cor(y): allocMatrix: too many elements specified x <- read.table('file_name',header=TRUE, row.names=1) y <- t(x) y <- data.frame(y) row.names(y) <- names(x) names(y) <- row.names(x) library(corrplot) corr <- cor(y) par(ask = TRUE) corrplot(corr, order = "hclust") I'm trying use corrplot on my dataset. The or...
common-pile/stackexchange_filtered
How to return a formated error message and the right HTTP code using django-piston? I would like to be able to return a HTTP Reponse with a formated content with django-piston. I guess I have to create my own rc_factory. What I would like to do is : return rc.404({'status': 0,'message': 'This restaurant does not exists...
common-pile/stackexchange_filtered
React/Redux - dispatch store on window.resize I am working on a responsive website (React/Redux), which renders the page as soon as a specified Breakpoint is reached. Every time the Browser calls the resize-event, I am going to update the store. window.addEventListener('resize', () => { store.dispatch(screenResize(...
common-pile/stackexchange_filtered
EXT JS - How to add a prompt message in Grid Please explain these steps in full details How to write code for these lines . Add empty cell prompt "Manually input prices if not selected" Filter pick-list on estimatingMethod.pricing = true On selection if quote.contractType <> null and edtimatingMethod.contractType <>...
common-pile/stackexchange_filtered
Implicit styles binding content to a textblock I'm trying to learn a WPF/xaml by recreating metro style window and controls myselft without external library. What I'M strugling is binding a content(text) into a textblock inside an implicit style. What i want is several textblocks on my form header, telling me where in ...
common-pile/stackexchange_filtered
Add new element to XML via XSLT 1.0 but without xmlns I have this XML file and I've applied an XSLT. The result I want is to add a new element but one that doesn't contain a namespace. <?xml version="1.0" encoding="UTF-8"?> <ITIN3 /> <Export xmlns="http://www.ibm.com/maximo" xmlns:xsi="http://www.w3.org/2001/XMLSchema...
common-pile/stackexchange_filtered
Javascript event that runs before page changes Is there such a thing? I know that I can hook my function on the click event of all links, but there are other situations where a page is changed, like refresh or when a different script changes the window.location In the end, I did it by sending a string trough postMessa...
common-pile/stackexchange_filtered
Add a relief (GEOtiff, .tif) to a ggplot of the swiss country borders ((polygon) shapefile, .shp) I plotted the area of Switzerland (polygon shapefile) and added points (swiss weather stations) via coordinates. # Boundaries with data-points plotted library(rgdal) library(readxl) library(sp) library(ggplot2) library(...
common-pile/stackexchange_filtered
When will chrome support WebGL on Linux? Any official statements on the matter? a release schedule? It already does. http://support.google.com/chrome/bin/answer.py?hl=en&answer=1220892 It already does. As ohaal commented, it's already supported. Supported operating systems Windows Vista/ Windows 7/ Windows 8 (Wind...
common-pile/stackexchange_filtered
ASP.NET Core 6 - Policy based authentication scheme not working In my app, I'm authenticating and authorizing every request by Windows Authentication using the following code: builder.Services.AddAuthentication(NegotiateDefaults.AuthenticationScheme).AddNegotiate(); builder.Services.AddAuthorization(options => { va...
common-pile/stackexchange_filtered
use javac and java to excute class file with extern classes under other directory I try to use javac to compile my javafile javac Main.java -cp ./lib HelloWorld.java and I got this javac: file not found: HelloWorld.java here is my java sourcefile: Main.java under ./ import lib.*; public class Main { ...
common-pile/stackexchange_filtered
how to price options in reality I'm getting to know the Black Scholes model, which apparently is no longer suitable for pricing options on the market. I would like to write a Master's thesis on option pricing but I do not know what specific topic related to option pricing may be interesting, what model are you using no...
common-pile/stackexchange_filtered
ERROR at //chrome/browser/extensions/default_extensions/BUILD.gn:9:1: Invalid token I followed this post recommendation but it throws an error message: //chrome/browser/extensions/default_extensions/BUILD.gn:9:1: Invalid token. screen console http://prntscr.com/k16ou8 all BUILD.gn # Copyright 2015 The Chromium Autho...
common-pile/stackexchange_filtered
check for an Array in a dictionary and return the UIImage but it's returning twice the same image I have a dictionary example : 1) var dict = ["A":UIImage(named: "A.png"),"B":UIImage(named: "B.png"),"C":UIImage(named: "C.png")] And I have an array : 2) var array = ["A", "C", "K", "B"] I want to check in my di...
common-pile/stackexchange_filtered
Scripts not recognizing Ajax response data I am using jQuery to import a view returning a chunk of html to be placed in the body of my document. async('get_user_data',data, function(response){ /** Response success **/ $('.stage').html(response.html); }, function(response) { /** Response err...
common-pile/stackexchange_filtered
why is a bash variable containing \n not equal to its copy? After setting: var1="a\nb" var2="$var1" I expect $var1 and $var2 to be equal; however: [[ $var1 == $var2 ]] && echo yes || echo no returns no. Why is that? You have to quote to perform the string comparison: [[ "$var1" == "$var2" ]] So this works: $ var1="...
common-pile/stackexchange_filtered
Export image to Json with Python be patient, I'm new to both python and bots, I'm building a bot for Telegram and I'd like to save and retrieve an image from Json. As you can see from the code I load the image that someone messages in a buffer, I save it in a dictionary and later I send it. I would like to be able to e...
common-pile/stackexchange_filtered
premake5 How can I generate the projects relative to where the user call premake, and not relative to the premake5.lua file? I want the workspace and project files generated relative to where the user call premake5, as right now, everything is relative to the premake5.lua location. I tried to use the location command i...
common-pile/stackexchange_filtered
windows folder names encoding i have a folder in windows with Arabic name (utf8) i'm trying to get this name and display it in a browser using php $enc = mb_detect_encoding($folder); $utf8folder = iconv($enc, "UTF-8", $folder); echo $utf8folder; or echo $folder; getting ����... help! What happens if you just echo it...
common-pile/stackexchange_filtered
How do I setup a windows folder to get backed up when a thumb drive gets installed? I'm running into some issues whenever I start open office, so I'm thinking about removing the wear, and tear on my thumb drive by keeping the files local then backing up to a thumb drive. How would I setup a trigger on a thumb drive to ...
common-pile/stackexchange_filtered
Running Selenium Tests on different browsers using pytest I'v got UI tests (pytest) and a Selenium grid. And I want to run my suit on differnt browsers at the same time. For example: py.test test.py --browser "internet explorer;chrome" I expect two parallel sessions on different hosts in my Selenium grid. test.py: cla...
common-pile/stackexchange_filtered
Unable to use PATHS option in find_package to point to a locally installed project (not installed in the system) I am new to CMake. I do not know many details about it. I read this post about using the PATHS option to point find_package to use my locally installed project in the build directory. I have installed the p...
common-pile/stackexchange_filtered
Is there any mathematical proof of fractal self-similarity? When studying fractals, one of the properties named by Benoit Mandelbrot is the self-similarity (and it's variations) of the fractal objects. From Wikipedia: In mathematics, a self-similar object is exactly or approximately similar to a part of itself (i.e. t...
common-pile/stackexchange_filtered
How do you get $(n-1)! \over n!$ from $1 \over n$ This is from problem 2.30 in Introduction to Probability, 2nd Edition by Bertsekas and Tsitsiklis. How does the solution get $(n-1)! \over n!$ from $1 \over n$? Similarly, how does the solution get $1 - e^{-1}$ from the final sequence? $n-1)!$ is the product of the $...
common-pile/stackexchange_filtered
Postgres not available as adapter on Induction I'm using Postgres.app and the latest build of Induction ( Version 0.1.0 (28) ) and I cannot choose "Postgres" as an adapter. I only have the options for mongodb, redis, and sqlite. If I attempt to type it in manually (i.e. "postgres://locahost"), it automatically reverts ...
common-pile/stackexchange_filtered
Question on limits in $\; \mathbb R^n $ including norm Let $\;f:\mathbb R \rightarrow \mathbb R^n \;$ a Lipschitz continuous map such that $\; \lim_{x \to x_0} f(x)=0\;$. I want to see the behaviour of the following limit: $\; \lim_{x \to x_0} \frac{f(x)}{\vert f(x) \vert}\;$ where $\;\vert \;\; \vert \;$ is the Euclid...
common-pile/stackexchange_filtered
Define IsEnabled button property depending of the status validations I'm in my first Silverlight project 5 with C # and SQL, and since I have it configured validations in my metadata with RIA Services in a form, I capture a table, there are 3 fields in textbox, are binding with the corresponding table, so when I captu...
common-pile/stackexchange_filtered
How to get value from java class and map it to select statement in jsp? I am setting value for- planValue in my java class- DetailsForm. I need to get that property value in the jsp. How will i get it ? I am using same name as planValue as in java here in jsp. Thanks What do you mean exactly? Also, have you tried an...
common-pile/stackexchange_filtered
problem of using ssh_connect API in windows I have tested a simple code using libssh on OS X and it worked simply find. But when I port this code on Windows7 using vc10 it doesn't work correctly. The ssh_connect API blocks and not progress any more. The following code is part of the my test program. #include <libssh/l...
common-pile/stackexchange_filtered
How to switch user when `sudo bash` script with only one login user? My system is debian 10,has only one login user boy with sudo privilege. ##!/bin/bash ##root cannot log in set -e #expect root whoami user='boy' su $user #expect 'boy',but not whoami su - root #expect root,but not whoami When I sudo bash ./***.sh to r...
common-pile/stackexchange_filtered
VOIP (Skype, Lync) 'stutters' with my ISP. How can I prove it? When I am on VOIP calls (Skype or Lync) most of the time the calls suffer quality issues where the person on the other end cuts out. 4 perfect seconds, then 1 to 1/2 a second of what the other person is saying gets cut out, 4 perfect seconds... repeat. When...
common-pile/stackexchange_filtered
Visual Studio build error "unresolved external symbol WinMain" This error is really driving me nuts! How do I fix it? This is my output: 1>------ Build started: Project: GenericProjectName, Configuration: Debug x64 ------ 1>MSVCRTD.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in f...
common-pile/stackexchange_filtered
Do people have the right to comment or live blog professional sports in the United States? Do private persons have the freedom to live blog or comment on games on progress in professional sports? For example, can a web caster watch the game on TV and then give his running commentary and graphics showing the score on hi...
common-pile/stackexchange_filtered
Pandas simple groupby and apply complains "Columns must be same length as key" Essentially I have a table of timestamps and some data and want to group by the same timestamps and change the timestamps on a grouping basis. I got something working with Interpolate seconds to milliseconds in dataset? The solution seems to...
common-pile/stackexchange_filtered
Problem deleting head node in a doubly linked list in C I'm trying to implement a doubly linked list in C. While coding it up, I ran into an issue when trying to delete the first element of the list. Here is is a toy example that illustrates the problem: #include<stdio.h> #include <stdlib.h> typedef struct Node{ ...
common-pile/stackexchange_filtered
Do not take into account soft delete for blobs I have a Azure Storage Account and I have enabled soft delete for blobs. Is is possible to call instant deletion (ignore the soft deletion period) for some specific blobs? I am using Azure.Storage.Blob v12.7.0, but DeleteBlobIfExistsAsync or DeleteAsync have no extra param...
common-pile/stackexchange_filtered
what is the name for this method of finding volume between a given surface and a plane i want to know about the method used in the answer. how do they just do a triple interal over r dr dz d(theta). could you tell me the name of his method, or link me to a youtube video. question and example answer do you mean the $r...
common-pile/stackexchange_filtered
How to update the router state on history.replace in react router? My react router has state isActive(boolean) value. When I use the Link component to redirect to different route I can update the state as follows and its working fine:- <Link to={{ pathname: "my-home-page", search: '?query=abc', ...
common-pile/stackexchange_filtered
WPF Child Window (also WPF) Runs, But Unresponsive I checked all 8 matches here, and none of them have this symptom: I have a spinning world/mouse joystick XAML project running fine in a WPF window-as long as that window is the "Startup URI" in my project's Properties -> Application -> Statup URI. It responds to mouse ...
common-pile/stackexchange_filtered
How to use Bazel to build third party c++ library that includes openssl? So long story short, I am trying to use Bazel to build a project on OSX that depends on uWebSockets. I am running into a problem with how to add openssl as a dependency so that files in uWebSockets are able to include files from openssl like so: #...
common-pile/stackexchange_filtered
Provably intractable problems Let f(n) be a space-constructible superpolynomial function. Then BQP $\subseteq$ PSPACE $\subset$ SPACE(f(n)), so in particular, SPACE(f(n)) $\not\subseteq$ BQP. Let L be a problem such that every problem in SPACE(f(n)) is BQP-reducible to L. Then L $\notin$ BQP. Are there any problems ...
common-pile/stackexchange_filtered
String conversions are not working I am trying to find the subtotal of these items. When I run it, it says that qty variables and price variables strings aren't being converted. When I convert them I still get an error saying that there is something wrong with the format. I am entering in the qtys in a textbox, they ar...
common-pile/stackexchange_filtered
Customising plots in Labview I have an XY Graph in Labview. I have no problems with its basic functionality. I'd like to have a marker on the plot (independent on the cursor) which would stay in a certain position that I could read out and display in the GUI. Also I want the user to be able to move the marker to a new...
common-pile/stackexchange_filtered
Extract Part of Title Tag Does anyone know how to extract part of the title tag using Javascript? Like, extract all text in the title tag up to a dash character, and not text after the dash character. Example <title>Extract this text-But not text after the dash</title> Try this: document.title.split('-')[0] var ...
common-pile/stackexchange_filtered
Wrapping a Django query set in a raw query or vice versa? I'm thinking of using a raw query to quickly get around limitations with either my brain or the Django ORM, but I don't want to redevelop the infrastructure required to support the existing ORM code such as filters. Right now I'm stuck with two dead ends: Writi...
common-pile/stackexchange_filtered
How is CMB related to the temperature of the universe As I understand it, CMB (cosmic microwave background) is the radiation emitted when matter decoupled at the early stages of the big bang. The thing I don't understand is do all stars emit this kind of radiation or just the ones formed at the early stages of the big ...
common-pile/stackexchange_filtered
Considerate migration plan for Java5/Java6 applications to Java 7? I'm currently investigating if it makes sense to delay some minor planned refactoring work and combine it with the migration to Java 7, but I'm a little bit concerned that it might make it harder to trace the causes of some bugs if both code and platfor...
common-pile/stackexchange_filtered
Add Manager to bottom of BlackBerry Screen I am trying to create a layout as show in the image attached here: Here are my screen components, Screen title field Button at the center of screen HorizontalFieldManager containing 3 buttons docked to bottom of screen Add banner, placed as docked below. I have completed a...
common-pile/stackexchange_filtered
How to save messages in a local folder? I would like to explore my Outlook messages and if a message comes from email address xx@xxx, save the message in a local folder. I tried this: Sub FindIt() Dim myOlApp As New Outlook.Application Dim myNameSpace As Outlook.Namespace Dim myInbox As Outlook.MAPIFolder ...
common-pile/stackexchange_filtered
How JUnit starts I'm figuring out how JUnit works. I can't understand how it runs itself, I understand that the surefire plugin interacts with JUnit, but I don't understand how JUnit itself runs. I'm trying to understand the debug output, and came across the getRunner method, but I can't get down to it, I can't underst...
common-pile/stackexchange_filtered
OpsCenter seems to not read configuration file I have just installed OpsCenter 5.0, using "DataStax All-in-One Installer" on Linux. I have tried to add authentication by setting the following in /etc/opscenter/opscenterd.conf: [authentication] enabled = True After restarting the server service opscenterd restart the a...
common-pile/stackexchange_filtered
Issues sending selected rows values into a controller MVC I'm trying to send the selected rows into a controller when I click on the button with id="send". The issue is that when I tried to send other values( in this case a number and a string) with the selected rows values, the selected rows values is sending null to ...
common-pile/stackexchange_filtered
What are the best resources to learn web design for web applications? I've built it now how do I create a half decent design? I need some techniques, resources, examples, books etc. for an information intensive web application. P.S. - I just bought Web Design for Developers from Pragmatic Programmers and its not very...
common-pile/stackexchange_filtered
JS/html Game to Android app without using webview I want to implement a js/HTML game into the android app, without using webview. basically I want to use javascript code as back end code and use android XML file for the frontend, I don't want to use HTML code as my frontend, can it be possible to do this without using ...
common-pile/stackexchange_filtered
CSS float property on thimble I'm using google chrome for my browser and i'm using mozilla thimble to code bcause my instructor told us to do it there even though I prefer notepad. So... I'm trying to make these 2 divs float next to each other. this is the website - https://jasminebanares.makes.org/thimble/MTM0MDgwMTAy...
common-pile/stackexchange_filtered
Weak convergence of orthonormal vectors Hi guys I am tring to show if $(e_n)$ be a sequence of orthonormal vectors in a Hilbert space then $e_n \rightarrow 0$ weakly i.e $\lim_{n \rightarrow \infty } \langle e_n,y\rangle = \langle 0,y\rangle$ for all $y$. My work $\lim_{n \rightarrow \infty } |\langle e_n,y\rangle - \...
common-pile/stackexchange_filtered
Swift Package Manager - binaryTarget with .zip file fails to validate I tried different approaches to add a binaryTarget to a Swift package - 2 of them worked out fine (Target1 and Target2 in the example), but third approach (Target3) that should also work according to documentation does not validate: unsupported exten...
common-pile/stackexchange_filtered
In which language is the C# compiler written? I looked at the source code at http://referencesource.microsoft.com/, and it appears all the source code is in C#. I also looked at the source code for the new C# compiler platform (Roslyn), and it is also in C#. How is that possible? Is C# language compiler written in C#? ...
common-pile/stackexchange_filtered
Sharing an encrypted home directory between Ubuntu installs I am trying to "share" a home directory between two separate Ubuntu installations. On my HDD I have an Ubuntu 11.04 installation with a separate /home partition that uses encryption. My data currently lives there. I just got a new SSD and installed Ubuntu 12.0...
common-pile/stackexchange_filtered
Android - Get preference from activity to broadcast receiver I'm developing an Android app but I have a problem. When I try to get a saved preference from my Activity and use it in a BroadcastReceiver, it tells me that string I'm looking for doesn't exist. This is how I save the preference in the Activity: private void...
common-pile/stackexchange_filtered
Partial payment refund, common approach My plugin implements third-party service for packaging orders. We add extra fee to the order and when pack is returned we want to trigger partial refund. We have 2 questions about this: Is it allowed for plugin that works with shippment trigger order refunds? Is it possible to i...
common-pile/stackexchange_filtered
Best practice of handling input of components in Java Consider this 3 examples of handling input: /*EXAMPLE A*/ public class HandlingInputExampleA { private Label labelFromOtherClass; //injected by setter/constructor private String myText = "hello "; private int myInt = 1; private void init() { ...
common-pile/stackexchange_filtered
Hiding CMD While Running a Batch file Can we hide Command Prompt when running a Batch file? Don't post 2-in-1 questions. Make a second post about system(). For batch file, see http://superuser.com/questions/140047/how-to-run-a-batch-file-without-launching-a-command-window This method works for me, however I also foun...
common-pile/stackexchange_filtered
All gears perfect except the fastest gear that does not work at all, after replacing the 9 speed Shimano Deore XT cassette I have replaced the Shimano Deore 9 speed cassette into another. Both are 9 speed and the teeth count matches (it is 11). The low gears with the new cassette work great at expected, but the 9th (th...
common-pile/stackexchange_filtered
Which index does iterator pointing to There is an iterator to a vector. I want to know which index does iterator pointing to. So I made following but I am not sure. int temp = -1; std::vector <int> ::iterator f; for (f=eFace[e].begin(); f!=eFace[e].end(); ++f) { if (*f == face) { switch (f-eFace[e].begin()) ...
common-pile/stackexchange_filtered
Each countable Hausdorff space is Katetov KC A space $ ( X, \tau )$ is said to be Katetov- KC if there is a topoloy $\sigma \subset \tau$ such that $(X,\sigma) $ is minimal KC. Theorem: Each countable Hausdorff space is Katetov KC. proof: If $ ( X, \tau )$ is a countable Hausdorff, then it can be condensed onto a se...
common-pile/stackexchange_filtered
Error: Invalid sample cursor, or sample out of range reported for iOS custom audio track As long as I add the original audio track in the video, an error "Invalid sample cursor, or sample out of range" will be reported when exporting. var audioInputParams: [AVMutableAudioMixInputParameters] = [] for audioTrack in audio...
common-pile/stackexchange_filtered
Android internal storage not saving file I have a main activity, and when pressing on a listItem, It launches a new activity by an intent. This new activity's theme is Dialog (so it looks like the second activity is floating over the main activity). In this new activity I enter some data in EditTexts, then with that da...
common-pile/stackexchange_filtered
How do I get the blog teaser view display on a content type? I know. I write English language really bad, horrible. I apologize. I created a blog (with the core's blog module. Also I have a content type called my-content-type :). I need the blog teaser view is displayed in my my-content-type. I installed Display Suite....
common-pile/stackexchange_filtered
How to use torchvision.transforms for data augmentation of segmentation task in Pytorch? I am a little bit confused about the data augmentation performed in PyTorch. Because we are dealing with segmentation tasks, we need data and mask for the same data augmentation, but some of them are random, such as random rotatio...
common-pile/stackexchange_filtered
how to create a csv file dynamically with spider names in scrapy python I am working on scrapy and scraped a site and fetched all the information Actually I had 3 spiders with different data, I had created these 3 spiders in the same folder with the following structure scrapy.cfg myproject/ __init__.py items.p...
common-pile/stackexchange_filtered
Why renaming arguments in constructors? I am currently learning Java, and I often get stuck in my programming because of this problem. Maybe since my Java vocabulary isn't sufficient yet to find the right answer. If it is already posted or there is a good webpage where I can find an answer, please let me know! public c...
common-pile/stackexchange_filtered
Questions on changing from WinForms to WPF I have recently been looking for a way to bind data in WinForms using MVVM. I ended up creating a custom implementation of the MVVM pattern. However, due to the lack of two-way binding, I have decided to give WPF a try. I already have the Model, which encapsulates the non-ui f...
common-pile/stackexchange_filtered
Python class self value error, Expected type 'str' got Tuple[str] instead, azure ClientSecretCredential I've created a class and trying to assign one of its values to something that expects a string, however it is saying it is getting a Tuple[str] instead, and I don't see how? from azure.identity import ClientSecretCre...
common-pile/stackexchange_filtered
Sending Email through Outlook not working on IIS While running in debug my code runs fine and emails appropriately through Outlook however when I throw it on IIS (same machine and dev) the emails aren't going through. Any ideas why? Current code try { //creates outlook app O...
common-pile/stackexchange_filtered
How to select record in 1 to many relation I have a contact table and contactphone tables. Each record in contacts can have many records in contactphone but only 1 can be primary at most (primary is Boolean but can be also NULL) Contacts: cid name address 1 Jack A 2 Bill B 3 Mor C 4 Jeff D ContactsPho...
common-pile/stackexchange_filtered
"Sense of Smell" vs. "Smell" Why do we refer to most senses by just their names: "poor hearing" or "poor sight", but, rather oddly, say "poor sense of smell"? We don't say "poor taste", or "poor touch" either, to describe people with a sensory deficit. To say that we refer to senses "just by their names" doesn't reall...
common-pile/stackexchange_filtered
Domino limitation whith CXF web service? An xpages application I'm developing consumes a web service that stores files that are attached to an xpages in a repository. To do this I call an agent developed in Java, whose client to consume the web service was created from the framework APACHE CXF. Files up to 2.5 MB are s...
common-pile/stackexchange_filtered
Dynamic column generation in Postgresql I need help to generate dynamic columns but in following format: 1 Rows * (4 Fixed columns) - 4 columns repeated for one first id value Ex : If 8 ids in first column the 8 * 4 columns will be created I have made it successfully in SQL Sever 2008 but now I want to do it in Post...
common-pile/stackexchange_filtered
How do I sort a set by the dereferenced values? Suppose I have a set std::set<*int> and I want the elements to be sorted by the integer to which they point rather than the pointer type; is there some standard comp function I can use from the std library? If not, how would I declare such a set? I'm guessing I would hav...
common-pile/stackexchange_filtered
tvOS - Playing uLaw sounds I am trying to play a uLaw sound on tvOS (.au file). I know the sound file is not corrupt as putting it into Audacity makes it play without errors. I have tried a variety of ways, from AVAudioPlayer to lower level AudioSession, etc. but none have worked. Specifics on the audio file: G.711 μ-l...
common-pile/stackexchange_filtered
Nginx cache for frequent and different requests I have a service. This service has a GET handle(/api/v1/retrieve_blocks). This handle's requests and responces are small, no more than 1024 characters. regular situation: this handle is constantly under 500rps. Almost all requests are different by url's parameters. for e...
common-pile/stackexchange_filtered
how can sqlit3 be upgraded in windows 10 for delphi 10.3.1 my OS is windows10, delphi is 10.3.1, sqlite version is 3.23.1 which does not support "ON CONFLICT(id) DO UPDATE" during insert. I've downloaded sqlite3.dll version 3.30.1 and copied it to C:\Program Files (x86)\Embarcadero\Studio\20.0\bin folder overwriting ...
common-pile/stackexchange_filtered
Does a global threading Lock need to be declared as global within a method in order to aquire it? When acquiring a globally instantiated lock inside a method, do we need to declare the lock as global with the global keyword? If not, why not? Are we not modifying the lock by acquiring it? I am imaging a case along the l...
common-pile/stackexchange_filtered
Difficulty Wrapping My Head Around the Iterations of Bellman Ford The way the Bellman Ford algorithm has been explained to me is that it goes through n-1 (with n being the number of nodes) iterations, updating the distance between nodes on each iteration. All graphical examples show the nodes initialized to infinity, a...
common-pile/stackexchange_filtered
Why I am not able to invoke 'explicit a (string x)'? I am not able to Invoke 'explicit a (string x)' using the object a3, I got two compilation errors such as: [Error] invalid conversion from 'const char*' to 'int' [-fpermissive] [Error] initializing argument 1 of 'a::a(int)' [-fpermissive] My expected out put...
common-pile/stackexchange_filtered
Remove duplicates from a sorted ArrayList while keeping some elements from the duplicates Okay at first I thought this would be pretty straightforward. But I can't think of an efficient way to solve this. I figured a brute force way to solve this but that's not very elegant. I have an ArrayList. Contacts is a VO class ...
common-pile/stackexchange_filtered
R: filter duplicates/rows based on two conditions I'm working in R and I need to filter duplicates from a large dataset based on two conditions: In principle, retain the record with the first date of diagnosis UNLESS a later date included a negative diagnosis - in which case retain the record with the negative diagnosi...
common-pile/stackexchange_filtered
How can I fully use all my extensions from vscode local machine into vscode.dev (code server) I'm completely new to using vscode code-server. The extensions I'm trying to use is "vscode-pdf" which allows vscode to read encoded pdf files, since I wanted to have both the code and pdf window open simultaneously on my ipad...
common-pile/stackexchange_filtered
Trigger one pipeline job multiple times using different parameters from Another job We have a main job (A) which has multiple trigger/call builds on other projects step, and each has some different set of parameters values. All these steps were made to call the same pipeline job (B) with different parameters. Issue 1: ...
common-pile/stackexchange_filtered
Why can the name of a `MathOperator` have a number? This does not compile, which is what I'd expect: \documentclass{amsart} \newcommand{\G2}{G_2} %\DeclareMathOperator{\G2}{G_2} \begin{document} \(\G2\) \end{document} produces ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explan...
common-pile/stackexchange_filtered
Custom dependency property not working I have a panorama control whose data template is as follows:- <DataTemplate x:Key="DataTemplateCategory"> <Grid > <localControls:PanoramaItem BookmarkedTopics="{Binding Path=BookmarkedTopics,ElementName=root}" Topics="{Binding Topics}"/> ...
common-pile/stackexchange_filtered
MPMoviePlayerController problem when play a movie i put a movie when my application will lunch . just like gameloft games . so when application has lunched , movie plays fine but before the move plays .. my FirstViewController xib file show first then moview start to play ! why ? here is my code : - (void)applicatio...
common-pile/stackexchange_filtered
How to run received JavaScript from the client side(html, js)? I'm using a JS promised based library (axios) to get a response from backend which returns a complete JS file. Once I receive this file how do I actually use it in my current page? this the code: axios.get('/foobar') .then(jsFile => { //use j...
common-pile/stackexchange_filtered