text
stringlengths
70
452k
dataset
stringclasses
2 values
Angular-mocks error instantiating $rootScope I have a very simple Mocha test (a copy of code that I have seen dozens of times) When I run it, angular mocks appears to successfully load the injected resources and all their dependencies and successfully makes it to line 9. When I step into the $rootScope.new() function...
common-pile/stackexchange_filtered
Submitted ios app binary successfully still on itunes connect status shows prepare for submission I have successfully submitted My ios app binary to itunes connect using xcode 6. After that when I checked app status on itunes instead of waiting it still shows prepare for submission. which is quite unusual. So I tho...
common-pile/stackexchange_filtered
Page includes script from unauthenticated sources When i open the question Entity framework, discriminator column, but no inheritance chrome tells me that the page includes script from unauthenticated sources. The Console of the Developer Tools contains the following entry: [blocked] The page at 'https://view.atdmt...
common-pile/stackexchange_filtered
C# and Storing Data in Memory I'm using Visual C#.NET, and am making an app that uses winforms. I essentially need to open multiple files as strings, and manipulate the data in various places without saving the information back to the file. How do I go about storing this data so that I may use it in various parts of ...
common-pile/stackexchange_filtered
How to avoid button merging in navigation bar in jqgrid I have a navigation bar in my jgrid and I've added so many buttons that they are superimposing to each other. This way it's difficult to see which button is which. I'd like to know how I can avoid this. Could I have two navigation bars? or a two-row bar? Maybe d...
common-pile/stackexchange_filtered
ACM International Collegiate Programming Contest Asia Regional D Henry Given a fraction a / b, where a and b are positive integers and a < b, choose the largest unit fraction 1 / x_1 such that 1 / x_1 <= a / b. Then subtract 1 / x_1 from a / b, and repeat the process for the remainder: choose the largest unit fraction...
common-pile/stackexchange_filtered
NS3 and WAF compatibility File "/home/~/ns-allinone-3.33/ns-3.33/.waf3-2.0.21-c6c9a875365426e5928462b9b74d40b5/waflib/TaskGen.py", line 123, in post v() File "/home/~/ns-allinone-3.33/ns-3.33/src/wscript", line 724, in apply_ns3moduleheader for source in sorted(ns3headers.headers): AttributeError: 'task_gen' object has...
common-pile/stackexchange_filtered
Remove First Character of (Original) String in JavaScript I see this article but it's specific to deleting a character if it's a certain number (0, in that case). I want to remove the first character from a string no matter what it is. splice() and shift() won't work because they're specific to arrays: let string ...
common-pile/stackexchange_filtered
Can't handle Push Notification when the app is running in Background, receives push but didn't click on the banner or alert I have implemented push notification in my application. I have tested the push message in my iPod. The result is as follows: Scenario Tested: 1. Application Running in Front End, iPod not locked -...
common-pile/stackexchange_filtered
Set backgroundColor of UITableViewCell in grouped UITableView Is it possible to set the backgroundColor of a UITableViewCell in a grouped UITableView and maintain the rounded corners of the cells? All of my attempts results in a loss of the rounded corners. mike I asked the same question a few weeks ago, and you can s...
common-pile/stackexchange_filtered
why couldn't 'self' recognize? I am developing iOS Application. I would like to use recursiveDescription at one Page which has UITableView on lldb. I move above page,then i stop Application by pause button. And I got the following error. (lldb) po [self.workview recursiveDescription] error: use of undeclared identifier...
common-pile/stackexchange_filtered
How can I make my Camera's RenderTexture output have a transparent background? I'm writing a 3D game using Unity 2017.1.0b1. I have a disabled Camera that takes a "snapshot" of the current scene and stores it in a RenderTexture when a button is clicked. I then display the RenderTexture in a RawImage within my scene. ...
common-pile/stackexchange_filtered
What is the next number? 24,54,90,120,168,210,240,288,360,440 Question : What is the next number in the following sequence? (not finite) $$\large24,54,90,120,168,210,240,288,360,440,\dots$$ My Solution I'm trying a closed form solution I tried computing the differences- they don't converge Tried finding the relati...
common-pile/stackexchange_filtered
pd.read_csv Weird letter 'u' appearing Hi I'm reading a file using headers1 = pd.read_csv(file1, nrows=1).columns This works well but the letter 'u' is appearing before every column header? It's definitely not in the original file. Any ideas where it came from or how I can get rid of it? I'm guessing this means it's ...
common-pile/stackexchange_filtered
Materializecss menu works fine only on one page I'm using materialize-sass gem in my Rails app and have some troubles with using it. It works fine only in root (home) page, and in some others but not on full site. The .button-collapse losts functionality and menu doesn't work. I just click on it, or tap (in mobile devi...
common-pile/stackexchange_filtered
A Java library to compress (e.g. LZW) a string Apache Commons Compress works only with archive files (please correct me if I am wrong). I need something like MyDB.put(LibIAmLookingFor.compress("My long string to store")); String getBack = LibIAmLookingFor.decompress(MyDB.get())); And LZW is just an example, could be ...
common-pile/stackexchange_filtered
How can I determine which browser tab a request is coming from? I set up a proxy (using Postman) that Chrome is now routing all requests through. I see a bunch of requests being made to a site I don't recognize, and it repeats every few seconds. I have about 50 Chrome tabs open, so I'm wondering, is there a quick way I...
common-pile/stackexchange_filtered
Regex - Get string after last /, if that string contains something (user input) Example strings: storage/emulated/0/DCIM/Pictures/dog.jpeg (should be included) storage/emulated/0/Vacation/Pictures/a-picture.jpg (shouldn't be included) storage/emulated/0/Vacation/Pictures/mydog.jpg (should be included) Example user inp...
common-pile/stackexchange_filtered
How can a user view a list of "on hold" or closed questions? How can a user view a list of "on hold" or closed questions? Does this action require some kind of privilege or special trick? Everyone can view On Hold questions, no minimum requirements needed. Are you asking how to view questions that happen to be on hol...
common-pile/stackexchange_filtered
msdropdown jquery plugin , how to change font color I have a problem with the MSDropDown plugin for jQuery. Please take a look at this website: www.baiads.com The problem is in the search block where you can see some red elements. How can I change the color from white to blue? These elements show the select option in...
common-pile/stackexchange_filtered
Vertical motion for a power burst bar 2nd question on my Bellagio fountain design: Suppose I have several power burst with bar end, and I want to allow the viewer to turn a knob or something and make them go up and down. How might I do that? I suppose I could use a winch with string somehow, but I'd like to do somethi...
common-pile/stackexchange_filtered
as_date function in lubridate package does not convert date to date format I have a dataframe with date in character format. I want to convert date into date format. When i try this: data$date<-as_date(data$date, tz = NULL, format = NULL) It converts dataframe into list and also date still remains in character format...
common-pile/stackexchange_filtered
Rendering components in pop up but props not showing i need to show my cart popping up with react bootstrap like this in Navbar.js <Offcanvas show={sideshow} onHide={handleClose} placement='end' style={{marginTop:'8vh'}}> <Offcanvas.Header closeButton> <Offcanvas.Title>Keranj...
common-pile/stackexchange_filtered
Adding movie to one client rented movies list through API, will mess up all other clients I'm building this movie rental app and client has list called rentedMovies. If use PUT its gives me 200 code and everything seems fine, but if I reload my clients, its all messed up. If I use JasonIgnore, it's okay but how could s...
common-pile/stackexchange_filtered
Does Markdown have a mechanism for attaching figure, listing, etc. numbers to blocks of content? For example, if I want to refer to a block of code as "Listing 1" in an article, is there a way to render "Listing 1" at the end of that block of code? E.g: public class Foo { } Listing 1...
common-pile/stackexchange_filtered
MLflow stores artifacts on GCP buckets but is not able to read them I've found an almost identical question here but don't have enough reputation to add comments so will ask again hoping that someone has found a solution in the mean time. I am using MLflow (1.13.1) to track model performance and GCP Storage to store mo...
common-pile/stackexchange_filtered
TSP problem: traveller does not visit all nodes - Google OR-tools Context: I am dealing with a kind of scheduling problem, in which I have a set of tasks and machines. All tasks must be assigned to machines (not necessary all of them). In addition to that, I must calculate the cost of transferring the product between t...
common-pile/stackexchange_filtered
Greasemonkey - Use one user scripts from other user scripts (as a js library) I need an universal js library to use it in other user-scripts. Is it possible to use one user script from other user scripts in Greasemonkey? What is the @require syntax for the such cases? Or, maybe, there is an other way to do that? If yo...
common-pile/stackexchange_filtered
How Meteor works, Client vs Server? I am really confused at to how Meteor works. I know there's a server side where you just install it using the terminal. But what about the client? Does the client need to install anything? For example, clients need to install Adobe Flash to run Flash. Are we talking about the same th...
common-pile/stackexchange_filtered
Rails Import CSV - No Route Matches I'm very new to Rails. I'm currently trying to import data from an csv file into my rails application. However, when I followed examples and guides online, I got the error: No route matches {:action=>"import_csv", :controller=>"lists"} I've already added it in my routes.rb though. Ca...
common-pile/stackexchange_filtered
Obsolete reference and out of memory error Why version4 method throws out of memory error but version3 method doesn't throw it, I think in both the cases there is problem is "obsolete reference"? private static void version4() { int count = 0; long start = System.nanoTime(); try { List<Calendar> lis...
common-pile/stackexchange_filtered
Is there a way to derive a flow type from an object type, making optional properties not optional? Given some type containing optional properties: type Obj = { a: string, b: ?string, c?: string, d?: ?string, e: ?string | void, } I'd like to derive a new type from this such that it has the same properties, bu...
common-pile/stackexchange_filtered
Error in official Twain header VS2012 C++ I am trying to program a C++ Wrapper for TWAIN with Visual Studio 2012, Windows 7. I have installed Twain SDK and have all DLL like Twain_32.dll in C:/Windows I have twain.h : https://svn.apache.org/repos/asf/incubator/ooo/trunk/main/twain/inc/twain.h And I have my main : #i...
common-pile/stackexchange_filtered
Replacing NaNs in DataFrame not working due to non-float NaN values I'm trying to write a DataFrame to an Excel file using xlsxwriter and am having some issues with NaN values not being filled properly. Regardless of whether I use df.fillna, df.replace or the na_rep option on the writer, a few columns retain any NaN v...
common-pile/stackexchange_filtered
Why does the PG manual state to modify the "pg_hba.conf" file before starting the server the first time? The following is from https://www.postgresql.org/docs/current/static/creating-cluster.html with original emphasis on before: or modify the generated pg_hba.conf file after running initdb, but before you start the s...
common-pile/stackexchange_filtered
SQL Server locking behaviour on repeated reads and one write I am curious: suppose that SQL Server (or any other database management system) receives a lot of read traffic on one table, such that at any point in time, at least one read lock is requested (and possibly granted). Now suppose that a write lock request come...
common-pile/stackexchange_filtered
Proof sequence by induction I have the following problem I am not sure about. Let n = 0, 1, 2, ... and show that the equation $a_0 = 1, a_{n+1} = 2a_{n} + 1$ has the solution $ a_n = 2^n - 1$ Base case: $ n = 0 \\ a_0 = 2^0 - 1 = 0$ Now what exactly do I proof? I tried doing something like this but $2^n - 1 = 2a_{n} + ...
common-pile/stackexchange_filtered
How to call .pyc function from C or C++? I have .pyc files I know functions inside it. I need to call those function from C/ C++ I tried using PyImport_Import but it returns NULL. pName = PyString_FromString("test"); pModule = PyImport_Import(pName ); if I call pModule = PyImport_ImportModule("py_ffile"); then it's wo...
common-pile/stackexchange_filtered
Database created in Access 2013 not opening in Access 2007 I created a database in Access 2013. it includes forms and macros. When I am trying to open the same database in 2007 version, it is not opening. Can someone help me with the reasons and possible solutions to this? Thanks, Manish "it is not opening" is not a u...
common-pile/stackexchange_filtered
Set retry with dropzone-react-component when upload fails In my project I'm using React-Dropzone-Component (https://github.com/felixrieseberg/React-Dropzone-Component) based on Dropzone.js. I'm using this component because I'm developing a SharePoint webpart and there is already an example based on this solution on Mic...
common-pile/stackexchange_filtered
Converting MP3 to Video - Use image of Metadata text as Video track? I have many MP3 files which are recordings of music concerts . each of them have Meta data for eg : (using ffprobe) Metadata: title : Vishweshwara genre : Flute album : Sindu Bhairavi artist : S...
common-pile/stackexchange_filtered
$\lim\limits_{n\to\infty}\big(x_n-\ln(n+1)\big)$ for $x_{n+1}=x_n+e^{-x_n}$ I was just going through some of the problems from an intro analysis course I took in the fall $2010$ and was hoping people could shed some light on some problems I feel that I never fully solved. Here's a problem in question: Let $x_{0}$ be a ...
common-pile/stackexchange_filtered
Fade in div on mouseover This is a followup to my earlier question, Fade in/out js mouseover event. I am looking to incorporate a div mouseover effect on a small menu on my page. My previous question solved the issue, but I had not incorporated the page layout into the function, which has now stopped it from working. M...
common-pile/stackexchange_filtered
Java socket hanging when inside of java servlet So I've been trying to figure out how to send messages between my arduino and my java servlet (tomcat) and have been bumping into some problems. I'm using this code in my java servlet: ServerSocket server; //socket server port on which it will listen int port = 9...
common-pile/stackexchange_filtered
Find supremum of a function Let $x,y\in \mathbb{R}^n$. Find $$\sup_x (<x,y> - e^{<x,1>})$$ or we can rewrite this as $$\sup_x (\sum_i^nx_iy_i - e^{\sum_i^nx_i})$$ We can find the derivative, it gives $y = e^{<x,1>}$, but it looks like it can not possible to get an explicit formula if we put this into the initial one. M...
common-pile/stackexchange_filtered
Saving webview games score I have a webview loading a local html,css, and javascript game through this line of code webView.loadUrl("file:///android_asset/index.html"); Now what I'm wanting to do is be able to save the players score when he exits out of the app. But I really have no clue how I would do this from a loc...
common-pile/stackexchange_filtered
Why is $\langle \operatorname{grad} f, X\rangle_g$ independent of the metric on a Riemannian manifold? Let $(M,g)$ be a Riemannian manifold and let $f \in C^{\infty}(M)$. Let $X$ be a smooth vector field on $M$. In smooth local coordinates $(x^i)$ on $M$, we can write $g = g_{ij} dx^i \otimes dx^j$ as well as $X = X^i ...
common-pile/stackexchange_filtered
How do you identify a list of filepaths containing non-ascii characters? I would like to print a list of file paths from a Windows directory which contain non-ascii characters. The files are located on deeply-nested subdirectories. I have two pieces of the problem figured out: A conditional that can evaluate a charac...
common-pile/stackexchange_filtered
redirecting images from other domain for SEO I have the images of my website stored on a different host (flickr) and stored in a database, Im happy with the way this works but someone told me it is bad for seo because if someone finds the image on google it'll direct to flickr and not to my website. Now to bypass this ...
common-pile/stackexchange_filtered
How do I attach a click event handler to null data points on HighMaps I have already tried changing the data (null to some out of range number) and toying with colorAxis min and mas and color stops and while that works if it where a single map, it does not work for what I am doing. I really need to be able to hang code...
common-pile/stackexchange_filtered
Matching legend to plot points in R Manhattan Plots I am creating a Manhattan plot in R, where my aim is to highlight SNPs based on the trait they relate to. Here is the tail of my main dataframe (gwas_plot): SNP CHR BP P 58008 rs77855001 1 249213034 8.665e-01 58009 rs74322942 1 2492...
common-pile/stackexchange_filtered
establishing a database connection My database is named 'login'. This is the php statement that is used in my login.php/register.php files (saved to htdocs)which is supposed to establish a database connection. $this->db_connection = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME); I want to make sure I connect successf...
common-pile/stackexchange_filtered
Repeated references with multibib I am trying to cite multiple references, sorted by reference type (journal vs. conference). Some of the journal references cite the corresponding conference paper where the results originally appeared. However, when I cite the conference paper in the journal reference, the conference p...
common-pile/stackexchange_filtered
SQL query for evaluating boolean logic from innerjoin on itself Trying to determine a PASS/FAIL result from dataset where the expected number of FLAG values in a column is predetermined, and another column of the same rows match specific text. If the number of values found in the Descript column equals the predetermine...
common-pile/stackexchange_filtered
construction heater wire requiarements i want to install a 4800 watt construction heater in my garage that is already wired with a 60 amp subpanel. It has lots of room for extra breakers in the sub panel so i plan to install a 30 amp breaker (the heater specs say it is 21 amps, so the 30 amp breaker appears correct).....
common-pile/stackexchange_filtered
2 SQL Queries from same table I am looking to grab the first row (ordered by date descending) from a table, and then grab the rest of the rows (ordered by last_name ascending). I'm assuming I need to use a UNION statement for this, but I'm having trouble getting it to work. Thanks in advance is date in and of itself g...
common-pile/stackexchange_filtered
Android formatting xml string loses its html tags I have a xml string below that contains html tags such as Bold and a hyperlink href. <string name"example"><b>%1$s</b> has been added to your clipboard and is valid until <b>%2$s</b><a href="http://www.google.com">Please see our +T\'s and C\'s+ </a> </string> when ...
common-pile/stackexchange_filtered
Describe the shape of projection of vertices (vector positions of a cube) onto a 2D plane from a source (position vector)? I am having trouble with this. I can manually calculate every single projection point onto the z=0 plane from deriving vector equations to get to the z plane for each vertices. From this I can then...
common-pile/stackexchange_filtered
CreateObject fails for Com visible dll I have a com visible dll that I am trying to call from classic ASP. I have successfully registered it using regasm and I'm still hitting the following error. 0x80131600 - Server object: 006~ASP 0177~Server.CreateObject Failed~80131600 the application works fine on many other mach...
common-pile/stackexchange_filtered
Convert RDD of LabeledPoint to DataFrame toDF() Error I have a dataframe df which contains 13 values separated with comma. I want to get in df2 a dataFrame wich contains labeledPoint. firt value is label, twelve others are features. I use a split and select method to divide string with 13 value into an array of 13 valu...
common-pile/stackexchange_filtered
filtering a data array so that it only return even index columns in d3 I am drawing lines on a multi-line line graph. I have a data array and I need the lines to represent the even numbered indexed columns. This is what I was thinking, but I am relatively new to java and I am confused as to how to do it. Any help appre...
common-pile/stackexchange_filtered
prevent php timeout exception for image uploads I have an ajax image uploader that sends images to a php script, so that they are validated / resized & saved into a directory. The ajax uploader allows multiple files to be uploaded at the same time. Since it allows multiple files there can be timeouts, so I thought of i...
common-pile/stackexchange_filtered
Peano Induction confusion In a beginning Analysis book, I found this basic representation of induction: Let $A$ be any set or collection of natural numbers $\mathbb{N}$ with the properties (1) $1 \in A$ and (2) $k + 1 \in A$ wherever $k \in A$, then $A = \mathbb{N}$. Yes, this is informal, but I can only understa...
common-pile/stackexchange_filtered
transferring a website to a subdomain, all attached files returning a 404 error While making some updates to a website, I moved my work to a local server. When I was ready to test the site online I moved the site to a subdomain of my client's host. I uploaded the site's files to the subdomain and all of the attached st...
common-pile/stackexchange_filtered
Bash metaprogramming I have a script that takes commands (for the script, not for bash) as arguments. It treats the two invocations below the same: $ ./my_script -f 'cmd1','cmd2','cmd3' #etc $ ./my_script -f 'cnd1' -f 'cmd2' -f'cmd3' #etc A frequent use case for the script would have it take commands of the same famil...
common-pile/stackexchange_filtered
SharePoint 2016 user account permission I'm doing March 2019 update on SharePoint 2016 servers this weekend. The Service account that we have (for eg spfarm) is sysadmin on the SQL Server. According to the MS doc, the account also needs to have 'db_owner' permission on all SP databases, but it does not have that. Do yo...
common-pile/stackexchange_filtered
Extension theorem in $\mathbb{C}^n$ Suppose $\Omega\subset \mathbb{C}^n$ is a nonempty open set and $V\subset \Omega$ is a complex analytic (closed) manifold. Let $f$ be a holomorphic function on $\Omega \backslash V$ and for every $p\in V$, there is a open neighborhood $U\subset \Omega$ of $p$ such that $f|_{U\backsl...
common-pile/stackexchange_filtered
Spark reading from a new location keeping the output directory same I have a spark job which reads (using structured streaming API) from a source s3://bucket/source-1 folder and writes to s3://bucket/destination-1 folder. The checkpoints are saved at s3://bucket/checkpoint-1. Now I want to read the data with the same s...
common-pile/stackexchange_filtered
How to use MVC structure for Identity package? I use Identity package in my project. I can scaffold code Razor for Identity however I want use MVC structure. Then I found a good source and add this to my my project. It works ok. The problem is the Identity still use the default code, not code I from my source. Such as:...
common-pile/stackexchange_filtered
Dynamically creating clickable li in a ul and selecting the li content Apologies if this subject has been hashed through several times, i have read multiple posts on this and also tried out various approaches in jsfiddle. Basically, i would like to access the content of the lis in the case below i add lis to the ul via...
common-pile/stackexchange_filtered
Out on a tear last night - meaning? I've bumped into a great pun from the Marx Brothers' Night at the Opera (transcript) I didn't get the reference/joke/idiom on "out on a tear last night". Fiorello: No, that's no good, too. (they rip the contracts again until there's practically nothing left.) Hey, how is it my cont...
common-pile/stackexchange_filtered
Pentaquark found in LHC Good Afternoon, So one of the 2 pentaquarks possibly found in the LHC was U,U,D,C,-C My question is that wouldn't the C/-C annihilate each other almost immediately, leaving the U,U,D? How long could such a particle last? The strong force gets weaker at short distances, so, unlike for the ele...
common-pile/stackexchange_filtered
In memory mongo database for unit tests in a private network I have a java/spring-boot/maven project that uses Mongo as database. I want to create some tests (unit tests and integration tests) for this project, that would run in a clean machine. To help with that, I started to look for in memory mongo database, that wo...
common-pile/stackexchange_filtered
Delphi XE2 TLabel glowsize causes graphic issue on top left corner of the screen Ever since porting an app from XE to XE2 I noticed a strange bug, just opening the form in the ide or running the app, a white square box is drawn on the top left corner of the screen (out of the form), which goes away upon hovering the mo...
common-pile/stackexchange_filtered
Trouble with PayPal recurring payments Drupal - latest version CiviCRM - 4.7.13 We have a client that uses PayPal standard with recurring payments that having an issue that I can't figure out. The recurring payments seem to have quit working since the first of the year. By quit I mean they are logged but after that n...
common-pile/stackexchange_filtered
T-SQL, OPENROWSET copying tables between databases on the same server I am developping some code that transfers data between SQL servers. In this phase, all my work is on the same server (local, where I am the owner), but I am already trying to implement the OPENROWSET functionnalities that will be used at production t...
common-pile/stackexchange_filtered
Debian can't see one of my hard drives Today I installed Linux Debian in dual boot with Windows 7. I have 3 hard drives, two for starage and one for the operating systems. The problem is with the two storage drives which are exactly same. In debian I can only see one of them. Before Debian I had Ubuntu and there wasn't...
common-pile/stackexchange_filtered
Add the number of pending notifications to the moderator inbox When there are unread inbox items, the number of unread items appears in a red rectangle over the square bra icon. When there are unread achievements dropdown items, the number of unread achivements appears in a green rectangle over the bar chart icon. When...
common-pile/stackexchange_filtered
Is $f(x)=\begin{cases}\frac{(-1)^n}{\sqrt{n}} \text{ ,if } x=\frac{1}{n} \\ 0 \quad \, \, \, \,\text{ ,if } x=0\end{cases}$ continuous? let Is $D:=\{1/n, n\in \mathbb{N}\}\cup \{0\}, f(x)=\begin{cases}\frac{(-1)^n}{\sqrt{n}} &\text{if } x=\frac{1}{n}, \\ 0 &\text{if } x=0.\end{cases}\quad$ Where is $f$ continuous? My a...
common-pile/stackexchange_filtered
How to create vcard with own datas in Java? I'm doing a phonebook and I'd like to save contacts to vcard. I found vcard format on the internet, but I do not know how to read datas from stdin. package homework; import java.io.*; public class SaveToVcard { public static void vcard() throws IOException { Fi...
common-pile/stackexchange_filtered
Airflow snowflake connection not appearing in UI I have set up airflow 2.5.1 on docker. pip freeze in scheduler, worker and webserver: apache-airflow==2.5.1 apache-airflow-providers-snowflake==4.0.4 snowflake==0.0.3 snowflake-connector-python==3.0.2 snowflake-sqlalchemy==1.4.7 sqlalchemy==1.4.46 python --version is 3....
common-pile/stackexchange_filtered
SharePoint/InfoPath 2010 – Filtering InfoPath form to show current user only First post on here from a relatively novice user of SharePoint 2010! I am currently implementing an annual leave recording system for staff. I’ve created two lists to hold the data – a list for the user’s details (name, manager, etc) and a lis...
common-pile/stackexchange_filtered
Travis failing with webpacker issue (Rspec) rails 5.2 I've just started using RSpec for testing in my rails 5.2 app. I am deploying my app to my remote Github repository which is then tested by Travis before getting deployed to Heroku. I had created some very simple tests which had been passing ok, but I have just add...
common-pile/stackexchange_filtered
Why was מֹשֶׁה‎ transliterated as [moʊzɨz]? How did the name "מֹשֶׁה‎" come to be transliterated with a [z] at the end? The OED entry notes that "Moses" derives from Biblical Hebrew "Mōšeh" and that the earliest attestations with a strident coda on the second syllable are Hellenistic Greek "Μωσῆς", "Μωυσῆς" but fails t...
common-pile/stackexchange_filtered
How to prove Bernoulli distribution belongs to the exponential family According to a book, a distribution belongs to the exponential family if it can be written in the form of I wrote the Bernoulli distribution as $\exp\Big(y \log\,[{\mu}/{(1-\mu)}] + \log\,(1-\mu)\Big)$. In this case $a(y)=y$, $b(\theta)= \log\,[{\mu...
common-pile/stackexchange_filtered
Unprefixed verbs of motion I understand that a different verb of motion is used for a bus, tram, train than for a car, lorry, van. e.g.автобус ходит, машина ездит Is this correct and, if so, why? Then, if I get on the bus автобус ходит а я еду. I'm confused. Think of the fixed schedule of a bus route (or any public tr...
common-pile/stackexchange_filtered
Efficient Computation of convolution-like expression Let $p\left(z_i \mid x_i\right)$ for $i=1, \ldots, m$ be some probabilities, where $x_i, z_i \in\{0,1\}$. I want to efficiently compute the following: \begin{align*} \nu\left(z_1, \ldots, z_m\right)=\sum_{x_1, \ldots, x_m} \prod_{i=1}^m p\left(z_i \mid x_i\right) \mu...
common-pile/stackexchange_filtered
require() function with an object param? I'm looking at a require() function that looks like this and I have no clue what it does. It seems like it gets an array of files and builds a string of some try-catch blocks with interpolated module names, but I'm a bit hazy on the specifics. require('./modules/**/index.js', {m...
common-pile/stackexchange_filtered
How to insert a variable string into a JSON query? I have a query that runs just fine like this. It returns the right object and everything. var all = new Keen.Query("extraction", { eventCollection: "android-sample-button-clicks", timeframe: 'previous_300_minutes' }); But what I want to do is to d...
common-pile/stackexchange_filtered
Cant put sound button into fragment So I have two apps created. One is making sound when I click the button and the second one has a navigation drawer activity. All I want to do is put this button with sound to the one of the fragments I have created but it doesnt work for me. Im total beginner who just watching tutori...
common-pile/stackexchange_filtered
Apple Pay on Web and Shipping cost calculation Trying to see if other have faced the similar issue. we are trying to integrate Apple Pay checkout on our store and it seems to be working fine except one major issues. Here are some additional pointer. We use external service to give us the shipping cost based on the add...
common-pile/stackexchange_filtered
Is there at least one country where travelers without residency rights require no proof of onward travel? We often get questions about whether or not country X requires proof of onward travel from visitors. But is there at least one country where: No requirement exists for showing onward travel to immigration Timatic'...
common-pile/stackexchange_filtered
Tensorflow and PyCharm autocomplete problem I have a problem with autocomplete in PyCharm and tensor flow, I have a sample code which runs perfectly, but the problem in my IDE which can't show autocomplete code option. import tensorflow as tf import tensorflow_datasets as tfds Mnist_dataSet, Mnist_Info = tfds.load(nam...
common-pile/stackexchange_filtered
Do we have an upper limit for number of keys in a JSON array in javascript? I am going to create a 1-D JSON array, I just want to be sure about it's scalability. Is there any upper limit on number of key:Value pairs that could be present in a JSON? new Array(1<<31-1) yields Array[1073741824], new Array(1<<31) throws U...
common-pile/stackexchange_filtered
I still have the blurry text issue when using higher DPI on laptop with an external display I just upgraded my windows 10 enterprise to version 1709 build 16299.19 on laptop and tested the 125% scaling with external monitor at 100% scaling. Disappointingly, the blurry text issue is still there...especially for Office a...
common-pile/stackexchange_filtered
I can't identify what is happening in this table with a PDF on it I have a table with this config: Now if you look at COLUMN_11, it is a varchar -1. But as far as I know, to insert a PDF file into a table, you need filestream, and the column should be VARBINARY(max) right? so, how is this working? why is there a PDF i...
common-pile/stackexchange_filtered
Magento Multi store configuration not Working I am using Magento to host three different stores, on LAMP stack. I have created 3 different websites and store views in Magento backend ( All having different DN ). There is a functionality to switch among stores, ie if user is on store 1 and clicks on store 2 he/she/it sh...
common-pile/stackexchange_filtered
Combining wiggle with position AE So I have a null controlled named "diamond_control", I'm trying to control position and wiggle using sliders, separately. This is the code that I have come up with, but it doesn't seem to work. The penultimate line seems to be overwritten by the last line: x = thisComp.layer("diamond_c...
common-pile/stackexchange_filtered
Swift Stack View horizontal UIlabels not filling properly So I am designing what should be a simple view. This is how I want it to be, with the title taking up only the horizontal space that it needs. However, when I set the number of lines for the Details view to 0 so that it can be multiple lines, or when I do the ...
common-pile/stackexchange_filtered
How to get screen changed event in Qt widget In my Qt application, I have couple of QtWidgets which are floating. I want to know when QtWidget is dragged to another screen So that I can resize content within according to new screen DPI. What about querying QDesktopWidget::screenNumber() periodically? did you ever fin...
common-pile/stackexchange_filtered