text
stringlengths
70
452k
dataset
stringclasses
2 values
An almost potential game $\def\argmax{\mathop{\rm argmax}}$ Recall that potential games are non-cooperative games that allow for a potential function that behaves in a sense "similarly" as the pay-off functions. Inspired by a certain class of optimization algorithms, I met a game that is "almost" potential. It is defin...
common-pile/stackexchange_filtered
How to return variable from external module While using the interactive brokers api python library, I try to return a dict object from specific functions in my program that supported by the ibapi module itself. from ibapi.client import EClient from ibapi.wrapper import EWrapper from ibapi.contract import Contract from ...
common-pile/stackexchange_filtered
ignore encoding error when parsing pdf with pdfminer from pdfminer.pdfparser import PDFParser from pdfminer.pdfdocument import PDFDocument from pdfminer.pdftypes import resolve1 fn='test.pdf' with open(fn, mode='rb') as fp: parser = PDFParser(fp) doc = PDFDocument(parser) fields = resolve1(doc.catalog['Acro...
common-pile/stackexchange_filtered
apache server stop working regularly we have huge product in php our database(Mysql) is now approx 1GB and we have approx 750 tables.almost 900 stored routines are there. we are facing the problem that our apache server stop working after interval of some time. Server configuration is intel xeon processor 16 GB ram (D...
common-pile/stackexchange_filtered
How to remove all those extra lines other than columns using sed and uniq, like the result given at the end? . THE EAST INDIA COMPANY PVT LTD THE EAST INDIA COMPANY PVT LTD Date : ...
common-pile/stackexchange_filtered
Does having a known suffix on the input to PBKDF2 make you more vulnerable? I have an implementation of PBKDF2, which I know Has two bytes of '=' at the end of the input Has an input length of 24 (which is a Base64 encoded character representation of 16 bytes of entropy) Uses one iteration Has a known 9-character salt...
common-pile/stackexchange_filtered
Commutative von Neumann algebras and localizable measure spaces This is not my subject so I apologize if my question is too obvious or understood from other pages. I read some pages such as Reference for the Gelfand-Neumark theorem for commutative von Neumann algebras and von neumann algebras and measurable spaces. If ...
common-pile/stackexchange_filtered
ECP5 Versa Board Example I'm struggling to get my design on the ECP5 Versa board running. Currently it's just for hardware verification so there's not much going on. So this is my top entity... LIBRARY ieee; USE ieee.std_logic_1164.ALL; USE work.config_package.ALL; ENTITY top_entity IS PORT( SYSCLK : IN ...
common-pile/stackexchange_filtered
In PostgreSQL, how can I get the body of a prepared statement? My postgresql slow query log is showing lines like: 2014-07-11 21:00:34 GMT LOG: duration: 539.036 ms execute S_1: COMMIT 2014-07-11 21:00:39 GMT LOG: duration: 608.964 ms execute S_1: COMMIT 2014-07-11 21:00:39 GMT LOG: duration: 604.911 ms execute S...
common-pile/stackexchange_filtered
Sending a request with a NodeMCU when a key is pressed I want to send a request to a server with the GET method with URL parameters when a key is pressed on the NodeMCU. But I can't get this to work; I get the below error in the serial monitor: ets Jan 8 2013,rst cause:4, boot mode:(3,7) wdt reset load 0x4010f000, l...
common-pile/stackexchange_filtered
cocos2d zorder is not working is there any tutorial on zorder for cocos2d? I have a sprite in a parent layer that always appears behind the sprite in the child layer. I thought just setting the z would work, but I can see that is not possible. Try this, Here the z value is the z-order. CCSprite *sprite = [CCSprite<...
common-pile/stackexchange_filtered
Prove that $\frac{f(x)}{x^n}=\frac{f^{(n)}(\theta x)}{n!},0<\theta <1$ if $f^{'}(0)=...=f^{(n-1)}(0)=0$ using Cauchy's mean value theorem I don't know how to apply theorem on the problem. By this theorem, if two functions $f$ and $g$ are defined on $[a,b]$ continuous on $[a,b]$, differentiable on $(a,b)$ and $g^{'}(x)\...
common-pile/stackexchange_filtered
Linkbutton's event in GridView not firing its event on 2nd Time Seems to be a weird problem but my Linkbutton which is in GridView is not firing its event on 2nd Time. In Detail: I have a GridView which has linkButton in it which is firing an event. This event is fired perfectly on first time but not working(not post...
common-pile/stackexchange_filtered
Input field data not deleted once add I have a form which is including with cakephp3 and JS. I have a question how can i store data into the input field? There is some condition for this task, if once user add input into the input field these data will not remove , if the page is load by someone or close the browser an...
common-pile/stackexchange_filtered
Using artifacts from Eclipse Luna P2 repository in Maven Has anybody an idea how to define a regular Maven dependency against an artifact that is hosted in an Eclipse P2 repository (e.g http://download.eclipse.org/releases/luna)? The only answer I found was this: Use dependencies from Eclipse p2 repository in a regular...
common-pile/stackexchange_filtered
Fastest Way to Find nearest indices between two sorted lists I have a sorted list of floats of length n and an n x n list of lists, where each nested list is are also sorted. I want to know the index of the element in list that is nearest to but less than each entry in matrix (essentially, the index in list after which...
common-pile/stackexchange_filtered
What is the meaning of "date for a date"? I was in a meeting in Ireland where we were choosing deadline for tasks. In the meeting note there was the following statement: Task should be done by January 2015 (i.e. "date for a date" ) What is the meaning of "date for a date" ? One can only guess, since you have X'd ou...
common-pile/stackexchange_filtered
jQuery - Masonry showing no error yet not working? I've been trying for over 7 hours to get the layout sorted, im wanting the end product to look something along these lines - ! instead i get this ! Heres the code thats being used HTML - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org...
common-pile/stackexchange_filtered
Looping Through Dates in SQL? (Databricks) I am currently learning SQL and ran into a problem. Through my searches I have found that looping in SQL is a big no-no, so I was wondering if anyone could point me into the correct direction? The dataframe looks like this: Group ATP Date JTH Date A 5/17/2022 6/17/2022...
common-pile/stackexchange_filtered
Building new Android App Bundle fails with aapt I'm trying to setup building the new Android App Bundles via Gradle. I'm building with this command: ./gradlew bundleLiveDebug (live is my flavor) The build always fails with: Execution failed for task ':app:bundleLiveDebugResources'. > Failed to execute aapt I read in ...
common-pile/stackexchange_filtered
iOS Show some error about PNG image I am using Xcode 4.3.3, I already tried to build my app before and it run. But now I arranged my files inside my project's folder, grouped them by 'button' , 'icon' , 'background'... I also copied some resources/images in other folder put them in order but now I'm in trouble. Im tryi...
common-pile/stackexchange_filtered
Why is the div bigger than the font-size? See http://jsfiddle.net/6taruf65/1/ The following html appears as 20 pixels tall in Firefox31 and Chrome36 on Windows7. I expected it to be 16 pixels tall. <style> * { margin: 0; padding: 0; border: 0; overflow: hidden; vertical-align: baseline; } </style> <div style="font-size...
common-pile/stackexchange_filtered
Normalizr: how to work with an array of arrays I'm trying to normalize a config for a keyboard. Here's a small portion of it: keyboard.json { "rows": [ [ { "label": "~" }, { "label": "1" }, { "label": "2" }, { "label": "3" }, { "label": "4" } ], [ { "label": "tab", size...
common-pile/stackexchange_filtered
Insufficient privilege when creating an index in Oracle 11g I am trying to create an index in Oracle, my ddl : create index OMD_DOCTEXT2_CTX on table_name(col_name) indextype is ctxsys.context local parameters ('datastore CTXSYS.FILE_DATASTORE filter ctxsys.null_filter lexer E2LEX wordlist E2WORDLIST stoplist E2STOP s...
common-pile/stackexchange_filtered
Only one data listed from xml Database.xml <?xml version="1.0" encoding="iso-8859-1"?> <staff> <data1>Hello.jpg</data1> <data1>World.jpg</data1> </staff> Class: for (int i = 0; i < nodeListCountry.getLength(); i++) { items.add(elementText.getChildNodes().item(0).getNodeValue()); } ** ...
common-pile/stackexchange_filtered
json boolean vs integer - which takes up less space? When sending a value in JSON otw, is it better to use a boolean or an integer to use up less space? e.g: { foo: false } Or: { foo: 0 } Would using a number use less space, considering its just a number, compared to 4 or 5 characters for a boolean value? (true/f...
common-pile/stackexchange_filtered
Replacing a DECLARE in an SQL command with a cell value I'm working with a SQL query in an excel workbook and trying to make it a little more user friendly by pulling the date value from a cell. Right now I have the query setup in the Connection Properties that looks like this: DECLARE @BEGIN AS DATETIME = DATEADD(seco...
common-pile/stackexchange_filtered
deployed cassandra datastax enterprise and got java.lang.AssertionError I am trying to deploy the cassandra datastax enterprise 4.5.1 on my cluster, and I always got java.lang.AssertionError, the log is as below: INFO [main] 2014-10-13 06:01:03,142 CLibrary.java (line 63) JNA not found. Native methods will be disabled...
common-pile/stackexchange_filtered
Uber jar not reading external properties files I am creating an uber jar i.e. jar with dependencies for my project. I have a bunch of properties files that the project uses. I want to be able to change these properties files before running my project so i want them to be outside of the jar. Here is the relevant section...
common-pile/stackexchange_filtered
How do I make List<T> include item as variables references (ref item)? Assume we have some codes public class A { } public class B : A { } static void Main(string[] args) { A a1 = new A(); A a2 = new A(); A a3 = new A(); Process(ref a1); Console.WriteLine(a1.GetType().Name == "B"); // show True : ...
common-pile/stackexchange_filtered
How to solve $\frac{3\vert x\vert }{\vert x\vert -2}<\frac{3}{2}$ I'm having difficulties on how to start off this question: $ \frac{3\vert x\vert }{\vert x\vert -2}<\frac{3}{2}$ I'm tempted to square both sides but I don't think it will help in simplifying the inequality. In short, I have no idea where to start and wa...
common-pile/stackexchange_filtered
LINQ to SQL query filter, with the name match ignoring multiple punctuation characters I have the following LINQ to SQL query which works fine but looks ugly: var filter = "filter"; query = query.Where(x => x.Name.Replace("'", "").Replace("\"", "").Replace("#", "").Replace("/", "").Replace("-", "").Contains(filter...
common-pile/stackexchange_filtered
How to use Crashlytics with iOS / OS X today view extensions? Since today extensions run as separated a process I am sure they will not log any crashes out of the box. I assume we need to initialize Crashlytics on the widget separately. E.g. in the viewDidLoad method of the TodayViewController. Is anybody already usin...
common-pile/stackexchange_filtered
WordPress plugin + Composer? I'm making WordPress plugin that is using a few third party libraries. Is it common practice to use Composer for WordPress plugin? If it's okay to use it, then I assume that I should provide all Composer files along with my plugin, because I don't want to make people manually run composer i...
common-pile/stackexchange_filtered
"why oh why" or "why, oh why"? Is this punctuated correctly? If happy little bluebirds fly beyond the rainbow, Why oh why can’t I?" Or should “oh why” be set off by commas? If happy little bluebirds fly beyond the rainbow, Why, oh why, can’t I? I'm curious...seeing as that is an established lyric from the song...
common-pile/stackexchange_filtered
How to combine two array in ios Array1 : { A , B , C } Array2 : { 1 , 2 , 3 } I need to combine of this array list like: Combine array : { A(1), B(2), C(3) } How can I implement this? It would be easier to see what you are trying to achieve if you showed your PHP code as an illustration. @dasblinkenlight i n...
common-pile/stackexchange_filtered
write the contents of application page to a file in WP7 I want to write the entire contents of my application page (eg Mainpage.xml) to a file (in Isolated Storage ) How do I do it in WP7 ? are there any methods available to parse the page contents and write it to file in windows phone 7 ? Why would you want to do th...
common-pile/stackexchange_filtered
java.lang.ClassCastException: com.tibco.tibjms.naming.TibjmsFederatedQueueConnectionFactory cannot be cast to javax.jms.QueueConnectionFactory I am encountering the below exception when trying to look up for the JNDI context, although a similar question was already answered on this site referring the missing tibjms.jar...
common-pile/stackexchange_filtered
Multiplication with Perl 6 Sequence Whatever (...) operator I have seen examples of the Perl 6 whatever (...) operator in sequences, and I have tried to find out how to do a sequence which involves multiplications. The operator does the following, if one starts with some numbers, one can specify a sequence of the numbe...
common-pile/stackexchange_filtered
How can mongomock can be use with motor? I have a server implemented with Tornado, and Motor, and I've come across this mock of pymongo: https://github.com/vmalloc/mongomock I really like the idea of doing the unit tests of my code with no real call to the DB, for the sake of running them very fast. I've tried patchin...
common-pile/stackexchange_filtered
subscribe() is not sending "finalized" object? In my component, i.e. componentDidMount() I am subscribing to a state of my rxjs store, which holds an object array workingHours: WorkingHours[], that might have items for this month (for example an amount of 8 working hours for the date 27.02-2023 as one item out of 28). ...
common-pile/stackexchange_filtered
In PostgreSQL, how can I unwrap a json string to text? Suppose I have a value of type json, say y. One may obtain such a value through, for example, obj->'key', or any function that returns values of type json. This value, when cast to text, includes quotation marks i.e. "y" instead of y. In cases where using json type...
common-pile/stackexchange_filtered
How to understand the CRC Algorithm from the CAN specification? I am trying to understand how the cyclic redundancy check (CRC) algorithm from the Controller Area Network (CAN) specification works. Here is the pseudocode. CRC_RG = 0; // initialize shift register REPEAT CRCNXT = NXTBIT EXOR CRC_R...
common-pile/stackexchange_filtered
What is the fastest way to read, sort and merge multiple files in Java? I am working on a project that deals with reading and processing huge .txt files containing various data for certain individuals. Multiple files are to be read and sorted by the individual ID (which is present in all files) and then merged, in term...
common-pile/stackexchange_filtered
How to add External data source into MySQL? I have two database. One is FileMaker database and another one is mysql. I want to use this database in mysql.I created odbc data base connection so that I can sync both database e.g when I maker changes in mysql database then FileMaker database should also be updated. Is thi...
common-pile/stackexchange_filtered
SuiteCRM API full authentication and login Is there a away to gain full access to SuiteCRM through background API login? For example, we use LDAP on a separate site and I want to pass authenticated users to suitecrm in the background then have suitecrm grant access to said user without them having to log in for a seco...
common-pile/stackexchange_filtered
Sum of data in a dimension by comparing data in two other dimensions in dc.js I got stuck at a point where I need to find sum of the data of one dimension by using the data indexed by other two dimensions. Example: "mode_device","method","discount","time","first_time","paid","p_id","p_sku" "Desktop","EBS",,"1344887090"...
common-pile/stackexchange_filtered
Re-rendering vaporizes std:accounts-ui's <Accounts.ui.LoginForm />? [Updated title to reflect current research on this bug.] How to Fix this Bug? I'm really not sure what is happening here. When I click on the "DraftJS" contentEditable - the <Accounts.ui.LoginForm /> instantly disappears. I haven't the foggiest idea...
common-pile/stackexchange_filtered
Find cut-off frequency of a low-pass filter for a given output signal Suppose we have an ideal low-pass filter $H(e^{j\theta})$ with a cut-off frequency $\theta_c$ in the range of $0\leq \theta_c \leq \pi$. I want to know the input signal $x[n]$, as well as the cut-off frequency $\theta_c$, which produces the followin...
common-pile/stackexchange_filtered
How can I partition records vertically across machines? I recently asked two questions: (1) how to store and connect partial records in two or more machines, with the record halves correctly associated, and (2) how to determine the increase in time/space complexity due to the use of remote databases/multiple machines. ...
common-pile/stackexchange_filtered
Limit $a_{n+1}=\frac{(a_n)^2}{6}(n+5)\int_{0}^{3/n}{e^{-2x^2}} \mathrm{d}x$ I need to find the limit when $n$ goes to $\infty$ of $$a_{n+1}=\frac{(a_n)^2}{6}(n+5)\int_{0}^{3/n}{e^{-2x^2}} \mathrm{d}x, \quad a_{1}=\frac{1}{4}$$ Thanks in advance! It looks to me that the integral tends to a finite value, while the $n + ...
common-pile/stackexchange_filtered
Fatal error: Call to undefined function: imagejpeg() on Heroku PHP. Fix? So, I am getting the following error whilst trying to upload images on my Heroku site (PHP). Fatal error: Call to undefined function: imagejpeg() It refers to the following line in my AmazonS3Handler.php file. //build the jpeg imagejpe...
common-pile/stackexchange_filtered
Migration from D7 to D8 is failing with a source plugin exception I've installed the migration-plus module and used it successfully for other migrations on this project. When I try to use it with Simplenews it fails with this error: [error] Migration failed with source plugin exception: tid is defined as a source ID b...
common-pile/stackexchange_filtered
what is the best choice here "I was about to email you why I have not received the parcel when..." I was wondering if present perfect for receive is a good choice since at the time of writing the parcel has not arrived or should I use past perfect to match tenses. I don't think so because the situation is still the ...
common-pile/stackexchange_filtered
My new little friend A few days ago a new little friend became part of our family. I asked him to introduce himself and he left this message for you: Who is my new friend?? Your new friend is.. A very good boy Explanation: The entire empty row on the top and the amount of rows made me believe it's a binary encod...
common-pile/stackexchange_filtered
Can't vote from ledger using a hardware wallet? I tried to vote from a ledger kusama account on polkadot js and I get Raw data signing is not supported for hardware wallets. Is this a limitation of the zondax ledger app or a polkadot-js limitation? Maybe this comment https://github.com/polkadot-js/extension/issues/102...
common-pile/stackexchange_filtered
Qt 5.5 WinRT x64 VS2013 applications fail WACK Direct3D tests I downloaded latest Qt 5.5 x64 WinRT VS2013 binaries, created basic QWidget application and converted my Qt project to VS project by executing "qmake -tp vc .pro "CONFIG+=windeployqt"". The VS2013 project could be compiled and launched easily but both Window...
common-pile/stackexchange_filtered
Laravel - Repetitive code in store and update functions I am working on a system and I can see myself using repetitive code that does not look right. I want to clean up my code but I don't really know many ways to do so. I have 2 methods (store and update). They both look like this store public function store(Request $...
common-pile/stackexchange_filtered
I want the loop running until numbers are: 123 I have 2 different codes that to me look the same, but they aren't. The first one works as I want, the second doesn't. I don't understand why. #include <iostream> #include <stdlib.h> #include <time.h> using namespace std; int main() { int num1, num2, num3, i=0; sr...
common-pile/stackexchange_filtered
CoreData - Value by ID Is there any simple way to retrieve property value by ID? I have used : [request setReturnsDistinctResults:YES]; [request setResultType:NSDictionaryResultType]; I have retrieved a dictionary of unique values like this: ( {Category = "0x6d83070 <x-coredata://04C30A5B-A2A2-4342-B5D4-DCE1AAA33...
common-pile/stackexchange_filtered
Using Cell Arrays in Interpolants in Matlab I have a griddedInterpolant F and some of the input variables are in a cell array form. As an example, this is how I created the interpolant F: [x,y,z] = ndgrid(-5:1:5); t = x+y+z; mycell = {x,y}; F = griddedInterpolant(mycell{:},z,t); In reality, the size of the cell array...
common-pile/stackexchange_filtered
Splitting up large requests due to payload size issues I've just found out that gtag limits hit payloads to 8k. If your request is larger it get rejected with a 413 error. In my case it's sending the GA4 view_item_list event with about 50 products. Is it possible to split up the data into multiple payloads, and still h...
common-pile/stackexchange_filtered
Color Overlapping Polygons in Shapely Python I am working with a set of overlapping circles in Shapely. I am trying to figure out how to color each circle fragment in my results list. Here's my code: import matplotlib.pyplot as plt from shapely.geometry import Point, LineString, Polygon, MultiPoint, MultiPolygon from s...
common-pile/stackexchange_filtered
UIBarButtonItem change the icon fill to white ios Hello I've been trying to figure out how to change the 'fill' which I believe is the tint color for a UIBarButtonItem but when I try to do it using either appearance or appearanceWhenContainedIn is not working keep giving me the icon as blue: I wish it could be white,...
common-pile/stackexchange_filtered
Java NLP: Extracting Indicies When Tokenizing Text When tokenizing a string of text, I need to extract the indexes of the tokenized words. For example, given: "Mary didn't kiss John" I would need something like: [(Mary, 0), (did, 5), (n't, 8), (kiss, 12), (John, 17)] Where 0, 5, 8, 12 and 17 correspond to the index (...
common-pile/stackexchange_filtered
The remote server returned an error: (500) Internal Server Error I am trying to call a webservice. I am getting 500 internal error. webservice is running .I uses the following code I am getting the error at this point: WebResponse response = request.GetResponse(); Code: string requestxml = @"C\request.xml"; X...
common-pile/stackexchange_filtered
Better ways to make a table (htmlservice?) I've created my first web app (it's now kinda a web page) with the google script api. http://bit.do/WhoKilledWho From this experience I thought "wow getting the data is easy". urlFetchApp.fetch() Collating the data was not so easy, but not too bad. Lots of loops etc. However ...
common-pile/stackexchange_filtered
Warning: closing unused connection n getCommentary=function(){ Commentary=readLines(file("C:\\Commentary\\com.txt")) return(Commentary) close(readLines) closeAllConnections() } I have no idea what is wrong with this function. When I run this in R, it keeps giving me the following warning: Warning mess...
common-pile/stackexchange_filtered
advise for debugging `tf.data.Dataset` operations in tensorflow 2.0 What is the equivalent of Panda's df.head() for tf datasets? Following the documentation here I've constructed the following toy examples: dset = tf.data.Dataset.from_tensor_slices((tf.constant([1.,2.,3.]), tf.constant([4.,4.,4.]), tf.constant([5.,6.,7...
common-pile/stackexchange_filtered
Open GNU Scientific Library Documentation within emacs? How do I open documentation of the GNU Scientific Library within emacs? Which platform are you on? Which format is the documentation in? Debian/Ubuntu provide a package called gsl-doc-info which packages the documentation in Info format, which is very well suited...
common-pile/stackexchange_filtered
JSLint Expected '===' and instead saw '==' Recently I was running some of my code through JSLint when I came up with this error. The thing I think is funny about this error though is that it automatically assumes that all == should be ===. Does that really make any sense? I could see a lot of instances that you would ...
common-pile/stackexchange_filtered
Part of my PHP code is is not working on the client's server I am using this code to post an address to a form in an iframe. Everything works perfectly locally and on my own web server, but when I try it on the client's server, it just displays this code as text in the form field in the iframe Any idea why it wouldn't...
common-pile/stackexchange_filtered
Did people use to marry much younger during the last millennium? I've frequently heard it stated that "people used to marry at much younger ages" historically. Recently, these kinds of statements have tended to show up in sociological discussions about young people choosing to get married later. Many such studies ten...
common-pile/stackexchange_filtered
Sed file from row number stored in array I've an array such echo ${arr[@]} 1 13 19 30 34 I would like to use this array to sed rows (1,13,19,30 and 34) from other file. I know that I can use a loop, but I would like to know if there is a more straightforward way to do this. So far I've not been able to do it. Thanks...
common-pile/stackexchange_filtered
Prove or Disprove that $\left|\frac{e^{2i\theta} -2e^{i\theta} - 1}{e^{2i\theta} + 2e^{i\theta} -1}\right| = 1$ Prove or disprove that $$\left|\frac{e^{2i\theta} -2e^{i\theta} - 1}{e^{2i\theta} + 2e^{i\theta} -1}\right| = 1$$ This is a step in an attempt to solve a much larger problem, thus I'm fairly sure it's true b...
common-pile/stackexchange_filtered
fill the second combo box based on the first combo box I have 2 comboboxes in an excel userform and i need the first combobox to affect what is listed in the second. The table which i am getting the data from on a sheet in excel looks like image attached: . The data goes on with business names and individuals. What I ...
common-pile/stackexchange_filtered
Converting markdown to HTML with JavaScript - restricting sppported syntax I am using marked.js currently to convert markdown to HTML, so the users of my Web-App can create a structured content. I am wondering if there is a way to restrict the supported syntax tu just an sub-set, like headers italic text bold text lis...
common-pile/stackexchange_filtered
Non power of two textures and memory consumption optimization I read somewhere that XNA framework upscales a texture to nearest power of two size and then sends that to VRAM, which, provided it's how it really works, might be not efficient when loading many small (in my case 150×150) textures, which essentially waste m...
common-pile/stackexchange_filtered
how to make flash swf fluid size as3 I am working on facebook game and I want my game have fluid width. What is best practice to achive it ? Shoul I only use special way of embeding or I need make changes in as3 code as well ? I tryed google for it but I was not sucesfull. Thank you very much for any help. http://www....
common-pile/stackexchange_filtered
Using Selenium to Scrape Infinite Scroll problem I'm not able to scrape the title of each handbag, price, and color. The website is: https://www.coach.com/shop/women-handbags I have already tried different scrapers, as well as placing the scraping information in different parts of the while loop. The code provided is a...
common-pile/stackexchange_filtered
vga to hdmi to mini-hdmi on a t430? I have a Lenovo Thinkpad T430 laptop with VGA output. I want to connect the VGA to a 16:9 external monitor that accepts mini-HDMI, and then use that monitor in portrait mode. The monitor is 4k, but I'd be happy to get 1440p or even 1080p. My plan is to use a VGA to HDMI adapter, and...
common-pile/stackexchange_filtered
Converting a datetime string to timestamp in Javascript Question in brief: What is the easiest way to convert date-month-year hour(24):minute to timestamp? due to more views add clear question on the top, so that no need to go through background & all if need quick help. Background : I have a simple html table and I...
common-pile/stackexchange_filtered
Add New Query Strings to Existing URL in C# and Redirect to it Can anybody help me with the c# code to add two query strings to an existing URL. URL typically looks like this below. When the URL is created in c# to redirect to it as well. Any help much appreciated. http://localhost/somesite/index.php?Filename=somefile....
common-pile/stackexchange_filtered
I Want to display a listview when i click a button in Monodroid. i tried this coding. its not running. Can anyone correct this I want to display a listview when I click a button in Monodroid. I tried the following code, however it doesn't run. Can anyone correct this? protected override void OnCreate (Bundle bundle) {...
common-pile/stackexchange_filtered
@Valid Not working @PostMapping spring boot I am learning spring boot, I am adding Validation for @PostMapping, but somehow it always create a object even with non-valid value. Hospital.java public class Hospital { private Integer id; @Size(min = 2) private String name; @Size(min = 2) private String...
common-pile/stackexchange_filtered
.gitignored some files only recently; trying to merge into a previous branch, ignored files show up as conflicts I had a branch devel from which I branched out A topic branch in the past. devel was always intended to be the parent of A (everything devel had/hadn't should reflect in A). After a long time, I've added so...
common-pile/stackexchange_filtered
when and how to use return & print while inter-calling the functions with if __name__ == '__main__': method I have a doubt, when and how to use return & print while inter-calling the functions with if __name__ == '__main__': method. For example i have quoted two example codes below the first one while i have used the ...
common-pile/stackexchange_filtered
Database table Creation MySQL I should create an online car rental system using MySQL and PHP, that allows customers to reserve a car by entering a search criteria such as Pickup date, Return data, car category etc. I have a car table that include the following columns: car_id, car_name, car_make, car_model. I have re...
common-pile/stackexchange_filtered
SQLCLR stored procedures with input parameter I am quite new to SQLCLR stored procedures. In my example I have two stored procedures, one without a parameter and one with a input parameter. Both target the same tables. The one without the parameter is working fine and returns all rows in the result. But the one with an...
common-pile/stackexchange_filtered
setting Cygwin's $HOME to Windows profile directory Are there any drawbacks to having Cygwin and Windows share the same $HOME directory, in this case the Windows profile directory? Merging them will work fine. Cygwin proper doesn't store anything in your HOME directory. On first running Cygwin with a fresh home direct...
common-pile/stackexchange_filtered
Set values to ranges in a different spreadsheet Can anybody offer suggestions about how to update or set values to a range in a different spreadsheet. I know the importRange function will bring values into the active sheet, but I want to "push" a single row of data from the active sheet to a row at the bottom of a she...
common-pile/stackexchange_filtered
Is there a fast and easy way to calculate high powers mentally, e.g. $ 67^{81} $? I have done research into vedic mathematics and I was wondering if it's possible that a faster method exists than the one I already know which involves Pascal's triangle. How fast and easy do you want your method to be? $67^{81}$ has $14...
common-pile/stackexchange_filtered
Translate all magento1.9.2 emails in French language We are running mangento1.9.2 website which contains two stores i-e English and French. Now all the emails sent to users are only in English language but if the users in French store then email should be sent in French language. Kindly guide me that how can I translat...
common-pile/stackexchange_filtered
Changing the domain name in WP multisite - multidomain portal I changed the domain to a site on my word press 3.7 multisite (subdirectory) multidomain installation. All wents fine but I cannot login anymore as superadmin to the domain changed site. Also if I pass from the supersite to the domain name changed site, the ...
common-pile/stackexchange_filtered
Intellij suddenly throwing ClassNotFoundException I'm at a complete loss here. I have a project on an external hard drive called LenseProject. Inside LenseProject, I have .idea, lib, Natives and SRC folders. I also have a number of text files for reading. When I left work last night, this all worked fine. Coming in thi...
common-pile/stackexchange_filtered
How to read in graphml file into networkx with weird characters? I am trying to read in a graphml file of my facebook network into NetworkX. However, because some of my friends have unusual characters, such as accents, their names are unable to be read into networkx. I ran the command: g = nx.read_graphml("/Users/julie...
common-pile/stackexchange_filtered
celery tasks: update state after try & except block I have celery 4.1.0, django 1.11.11, rabbitMQ and Redis for results. @shared_task(bind=True) def one_task(self): try: ... some db stuff here ... except BaseException as error: self.update_state(state=...
common-pile/stackexchange_filtered
Trying to Scanner from delimited txt file into a String Array I am trying to read a tab delimited txt file and put the data into two columns of a String array. package mailsender; import java.io.*; import java.util.Scanner; public class MailSenderList { static String address=null; static String name=null; ...
common-pile/stackexchange_filtered
How to implement elastic scrolling using jquery mobile? I am developing an ebook reader app. When i swipe the pages, elastic scrolling has to happen. Can somebody please let me know how to do this using jquery mobile?
common-pile/stackexchange_filtered
Django ORM fails to recognise concrete inheritance in nested ON statement Defining a custom Django user combined with django-taggit I have ran into an ORM issue, I also have this issue in the django admin filters. NOTE: I am using this snippet: https://djangosnippets.org/snippets/1034/ # User id | first_name -------...
common-pile/stackexchange_filtered