text
stringlengths
181
35.5k
meta
dict
Q: Input text showing on next row On http://www.bigbasket.com, the Input for "Qty" is coming on the next row in case of IE9. Its fine on IE7/8, FF and Chrome. But for some reason it is breaking on IE9. A: The issue might be the fact that you are not using the label correctly. The Label should contain the text "qty"...
{ "pile_set_name": "StackExchange" }
Q: Running an API Request Every 15 Seconds I use an API that has been recently rate limited and requests have to be run every 15 seconds as that is the wait time otherwise a status code of 429 rate limit exceeded is returned. I often have more than one email address that needs to be run against this API and the email...
{ "pile_set_name": "StackExchange" }
Q: Umbraco 7 hide navigation nodes user has no access to I've seen some examples in previous versions of Umbraco (namely 5) where this seemed to be relatively straightforward. See this stackoverflow question for example. The theory is that I can use a property HasAccess or IsProtected on a node, or the method WhereHa...
{ "pile_set_name": "StackExchange" }
Q: Email Masking FreeFrom pro I am using Freeform pro with a EE site that sells classified goods. I have a form where the customer can email another customer/member. But id like to mask the email with sender and receiver something like gumtree or craigslist. Can someone suggest a method for this if its possible. Tha...
{ "pile_set_name": "StackExchange" }
Q: How do I read in a text file from the command line I created a scanner to read in a text file from the first element in the command line, but it results in a FileNotFoundException. How do I format it to where it accepts this file? Here is my code: Scanner scanner = new Scanner(new File(args[0])); For example, i...
{ "pile_set_name": "StackExchange" }
Q: Demystifying CSRF? I've read through a lot of long explanations of CSRF and IIUC the core thing that enables the attack is cookie based identification of server sessions. So in other words if the browser (And note I'm specifically narrowing the scope to web browsers here) does not use a cookie based session key ...
{ "pile_set_name": "StackExchange" }
Q: how to get the parent element id in JQuery or Javascript i have un ordered list of html elements from the list on clicking any of the list i want to get the parent ul tag id. <ul id="123"> <li> <li>test1</li> <a href="#" onclick="validate()"/> </l...
{ "pile_set_name": "StackExchange" }
Q: Button Click event not firing for dynamically created button I have created dynamic controls on DropdownList's SelectedIndexChanged event. Button is one of those controls. I have also assigned event to that button but debugger is not coming on that click event. Following is my code. protected void Page_Load(object...
{ "pile_set_name": "StackExchange" }
Q: find the particular solution of the semi linear equation given the data u(1,y)= ln(y^(-1/2)) semi linear equation the general solution to that equation (general solution) Given the data that u(1,y)=ln(y^(-1/2)) what would the right method be to go from the general solution to the particular solution given the data...
{ "pile_set_name": "StackExchange" }
Q: Prestashop - Layered Navigation is Empty I'm working on a prestashop site and facing some problem with the layered navigation. It appears for the top level categories but when I click on any of the sub categories, it goes to blank. There is nothing to filter on. It should atleast display a Price filter. And yes I ...
{ "pile_set_name": "StackExchange" }
Q: How to send WM_ENTERSIZEMOVE? I have the following code called on WM_MOVE procedure TForm15.WMMove(var Message: TMessage); begin if( (((TWMMove(Message).XPos + Self.Width >= Form14.Left) and (TWMMove(Message).XPos <= Form14.Left)) or ((TWMMove(Message).XPos <= Form14.Left + Form14.Width) and (TWMMove(Message).XP...
{ "pile_set_name": "StackExchange" }
Q: Progression bar sync javascript to server time? I have an object which contains some data about progression of a bar but it keeps stopping at 99% and won't continue, i believe its because client time is not going to be the same as server time accurately enough to do it. So i don't know how to solve it. These 2 tim...
{ "pile_set_name": "StackExchange" }
Q: Rails 4 .where nested model search Hi, I have a Model of Users and a Model of Products. My Model Products belongs_to my Model User and a User has_many Products. My question is how can i search 1 or multiple products matching a user attribute? exemple: Product.where(price: 10) for user.where(id: 2) What is the solu...
{ "pile_set_name": "StackExchange" }
Q: Python not finding file in the same directory I am writing a simple script that attaches file to a mail, but it is not finding the file. This is my one block: # KML attachment filename='20140210204804.kml' fp = open(filename, "rb") att = email.mime.application.MIMEApplication(fp.read(),_subtype="km...
{ "pile_set_name": "StackExchange" }
Q: Replacing text globally with line break in React Native/Javascript I want to replace an xml tag <Add with \n<Add so that it open a new line for every <Add. However I tried .replace(/\<Add/g, '\n') It shows a blank screen. I also tried replace it once .replace('\<Add', '\n') It works with the first <Add replaced by...
{ "pile_set_name": "StackExchange" }
Q: How to get konsole work on gns3 i am interested in making my devices display in tabs when working on GN3. i made some research and found out that konsole can do that. i installed it. i have gone to preferences => edit => set KDE konsole amazingly when i open the console of a device it i need it to display the r...
{ "pile_set_name": "StackExchange" }
Q: strace: order of and <... resumed> I'm writing a script that analyzes file access traced with strace. The trace contains some calls which have been interrupted by another process. strace shows them with <unfinished ...> and <... close resumed> (in case of an interrupted close call) markers. [pid 26817] 12:48:22.9...
{ "pile_set_name": "StackExchange" }
Q: вопрос о списке в Android Studio Хочу осуществить переход на новую Activity после нажатия на первый элемент списка, но выдает ошибку в последней строке с getApplicationContex, с чем это может быть связано? final String[] Spisok = new String[]{ "Что", "Как", "Для кого"}; private ArrayAdapter<String> mAdapter; ...
{ "pile_set_name": "StackExchange" }
Q: jQuery next DIV with Specific Class that resides in another DIV To make the question short, here is the HTML code that I have: <div class="step1 main-step"> <div class="step1a tooltip" step-name="step1a" title="Step 1a" style="width: 25.000%;"></div> <div class="step1b tooltip" step-name="step1b" title="St...
{ "pile_set_name": "StackExchange" }
Q: How can I make a Triple boot Currently I am using a dual boot with Windows7 and Ubuntu 12.04LTS. I would like to try Windows8. Not because I like it, but more and more people are using it. I have created a partition where I would like to install it. I have only one physical drive. What should I do to create a trip...
{ "pile_set_name": "StackExchange" }
Q: Ошибка вызова presentviewcontroller Господа прошу помощи, сам не могу разобраться...пока Есть FVC и SVC. В FVC есть кнопка связанная с SVC по modal, при нажатии SVC открывается все норм. Но в процессе работы FVC есть необходимость показать SVC без нажатия на кнопку и вернуться обратно. Я делаю так: в .h файле: imp...
{ "pile_set_name": "StackExchange" }
Q: How to remove an added value by uncheck box? Hi I have check box to add a value on click. However, It also adds even if I unchecked the box. How can I remove the added value when I uncheck the box? Thank you! $('.addCheckBox').click( function( event ){ var btn = $(event.currentTarget); ...
{ "pile_set_name": "StackExchange" }
Q: Rails/Passenger/Apache: Simple one-off URL redirect to catch stale DNS after server move One of my rails apps (using passenger and apache) is changing server hosts. I've got the app running on both servers (the new one in testing) and the DNS TTL to 5 minutes. I've been told (and experienced something like this my...
{ "pile_set_name": "StackExchange" }
Q: Improving the performance of a webscraper I have here a modified version of a web scraping code I wrote some weeks back. With some help from this forum, this modified version is faster (at 4secs per iteration) than the earlier version. However, I need to run many iterations (over 1million) which is so much time. I...
{ "pile_set_name": "StackExchange" }
Q: C++ add new code during runtime I am using C++ (in xcode and code::blocks), I don't know much. I want to make something compilable during runtime. for eg: char prog []={"cout<<"helloworld " ;} It should compile the contents of prog. I read a bit about quines , but it didn't help me . A: It's sort of possible...
{ "pile_set_name": "StackExchange" }
Q: Error when data contract member refer each other i have a simple data contract which is have a data member that refer to each other, here are the data member: [DataContract(Namespace = "", Name = "ScaleTransactionHeaderMessage")] public class ScaleTransactionHeaderMessage { [DataMember] public int ScaleTr...
{ "pile_set_name": "StackExchange" }
Q: sync option in /etc/fstab From the man pages of mount command sync All I/O to the filesystem should be done synchronously. In the case of media with a limited number of write cycles (e.g. some flash drives), sync may cause life-cycle shortening. Does this mean that when providing this option in /etc/f...
{ "pile_set_name": "StackExchange" }
Q: Consume API with basic authentication using Javascript without exposing key pair I have a private API, where I'm using basic authentication as my security layer. Right now the API is consumed by my iOS app, so no one is able to see the key pair. I'm creating the same app for the web now, using React and Javascript...
{ "pile_set_name": "StackExchange" }
Q: use data attribute in animate function I want to use the data attribute value in the jquery animate function in order to set speed of the animation depending on the data attribute value. html <li class="layer" data-depth="2"><img src="imgs/logo/zaincorp logo.png"></li> <li class="layer" data-depth="4"><img src="im...
{ "pile_set_name": "StackExchange" }
Q: Temporary managed objects are not properly merged from child context to main context I have a multi-threaded application where I need to merge a private context to the main context which in turn is connected to the persistent storage controller. I also have the need to create temporary objects that are NOT managed...
{ "pile_set_name": "StackExchange" }
Q: can't convert Array into String - add tag I have the following controller code: class NodesController < ApplicationController def index @nodes = Node.com_name_scope("27").find(:all, :conditions => ['COMPONENT_NAME LIKE ?', "#{params[:search]}%"]) respond_to do |format| format.js {render :js => @...
{ "pile_set_name": "StackExchange" }
Q: Implement SOAP 1.2 service in asp.net core I'm trying to implement OCPP 1.5 under ASP.Net Core 2.2. The standard makes use of SOAP 1.2. The issue comes from poor interpretation of the MessageHeader attribute. Properties with MessageHeader should be in header, but they are not. Source code: https://github.com/deli...
{ "pile_set_name": "StackExchange" }
Q: Examining Binary File for Information using Bit Masks I have been given the following programming task (edited to obscure mission-specifics): The raw (binary) file (needed for Phase II implementation) can be interrogated to detect if pods are present. Format is dependent on the source of the file – FormatX vs. F...
{ "pile_set_name": "StackExchange" }
Q: how generate chart from Views Aggretation Plus I created a table from webform submission data (group and compress) using Views Aggregator Plus I would like to generate a pie chart from this table (industry as the label and turnover as the values). Any hints to generate the pie chart would be appreciated. A: No...
{ "pile_set_name": "StackExchange" }
Q: Opto-isolation amplifier giving no output First of all, thanks to the community for having such helpful answers here - don't post very often but here's one I could really do some help with. I want to measure a voltage range of 0-100V DC in an isolated manner and using an Arduino Uno. I've got a HCPL 7520 (datashee...
{ "pile_set_name": "StackExchange" }
Q: How do I set the background color/pattern in a Nautilus window? In Previous versions of Ubuntu, I used to go under the edit menu to set the background color of a Nautilus window. I have no idea how to do this in Ubuntu. A: My problem with this new ubuntu 11.10 was the fact that i was not able to change the backg...
{ "pile_set_name": "StackExchange" }
Q: How to get Last Access Time of any file in Android Without Using BasicFileAttribute Class I want a class which would be a part of an Android application that can directly provide me the last open status or last access status of any file like images, videos. The BasicFileAttribute.class seems not to work for me. Th...
{ "pile_set_name": "StackExchange" }
Q: wmi accelerator and authentication It seems I can not find clearly written somewhere that when using WMI accelerator in a PowerShell script, you can not pass on authentication. A little background ... I am writing PowerShell scripts for SCCM 2012 and found, for instance, the following quite using : PS R:\> ([wmi](...
{ "pile_set_name": "StackExchange" }
Q: Visual C++ values differ while printing and debugging? I am checking a piece of code. Everything is correct but concept I am not able to understand. double a = 0.001; double b = 0.001; double c = a * b; printf ("%lf", c); While debugging in visual c++ when i am pointing mouse over c after 3rd line it is displayi...
{ "pile_set_name": "StackExchange" }
Q: Ought you study Complex Analysis and/or Variables in university? I deliberately haven't stipulated the kind of Quant job, as I'm asking in general. This r/quant comment answers "what is complex analysis used for in quant finance?": Some pricing models, and some analysis of distributions. E.g. Option valuation usi...
{ "pile_set_name": "StackExchange" }
Q: jQuery .find() in server response I am trying to get the text inside a specific div in a server response. I used Firebug to see what the response was, and I can see my element in the returned code, but for some reason I can get jQuery to capture it. Here is what I am using: var response = $('<div />').html(serve...
{ "pile_set_name": "StackExchange" }
Q: Memory leak for javascript setInterval Is there any difference between these 2 statements setInterval(animateImage, 1000); or setInterval('animateImage()', 1000); Will the second statement be interpreted by the browser js engine is any different way that could cause memory leak or performance issues. Same is t...
{ "pile_set_name": "StackExchange" }
Q: WCF XML Serialization & Overloading In my WCF service I only want 1 endpoint (1 URI), however, I want this URI to be able to handle multiple types of requests. 5 different request types can be sent to this service from another company. Each request has a unique XML schemas. I created classes for each XML request t...
{ "pile_set_name": "StackExchange" }
Q: "every prime number $p$ $(p>3)$ can be expressed sum of consecutive numbers " is it true? I'm finding some necessary and sufficient conditions for a integer $n$ to be a prime number. But I'm not sure if "every prime number $p \, ,(p>3)$ can be expressed sum of consecutive number" is true. If it is right, I hope y...
{ "pile_set_name": "StackExchange" }
Q: Example of logical order and total order in distributed system Total order: Lamport timestamps can be used to create a total ordering of events in a distributed system by using some arbitrary mechanism to break ties (e.g. the ID of the process). Logical order: When two entities communicate by message pas...
{ "pile_set_name": "StackExchange" }
Q: textfile to an array...any ideas? I am needing to turn a textfile into an array...I am not sure how to go about this because the other features ive seen for php take an entire file and put it into an array but not quite how I want it to be so I am looking for advice here.. The following is written in a textfile: "...
{ "pile_set_name": "StackExchange" }
Q: ADT-PLUGIN ISSUE I installed the adt-plugin for eclipse. I'm using Ubuntu 10.4 and have been stuck on this issue for 2 days now. Select Window > Preferences... to open the Preferences panel (Mac OS X: Eclipse > Preferences). Select Android from the left panel. For the SDK Location in the main panel, click Browse...
{ "pile_set_name": "StackExchange" }
Q: Python - Using pytest to skip test unless specified Background I have am using pytest to test a web scraper that pushes the data to a database. The class only pulls the html and pushes the html to a database to be parsed later. Most of my tests use dummy data to represent the html. Question I want to do a test...
{ "pile_set_name": "StackExchange" }
Q: Sonar Maven plugin finds more bugs than Sonar Jenkins or Sonar CLI Scanner on multi-module Maven project Given the same code and the same SonarQube server with the same rules I get vastly different number of bugs and vulnerabilities found when scanning with mvn sonar:sonar vs the sonar-scanner CLI and a sonar-proj...
{ "pile_set_name": "StackExchange" }
Q: Setting Isolation level in ruby v 2.1.3 I have been struggling with putting a record level lock on my table, to avoid any dirty reads and race condition while updating the record. I am using ruby 2.1.3 and rails version 3.2.13. I tried using the command: Account.connection.execute("SET TRANSACTION ISOLATION LEVEL ...
{ "pile_set_name": "StackExchange" }
Q: Why do these values change like the objects were passed by reference if I set the properties? Program: class Program { class class1 { public string Name { get; set; } public int Value { get; set; } } class class2 { public string Name { get; set; } public int Value {...
{ "pile_set_name": "StackExchange" }
Q: Getting Array value in a dictionary swift I am trying to get key and value in a Dictionary while I am able to the key and map it to a dictionary, I am unable to get the value which is an array. var dict = [String: [String]] I was able to get the key as an array which is what I want like: var keyArray = self.dict.m...
{ "pile_set_name": "StackExchange" }
Q: Как открыть порт в Ubuntu? Я новичок в ubuntu, поэтому никак не могу понять, почему порт не открывается и как это всё-таки сделать. Подскажите, пожалуйста!Я пробовал открыть порт в iptables, но, как я понял, iptables служат для управления файерволлом ufw, а при вводе команды sudo ufw status получаю ответ:sudo: ufw...
{ "pile_set_name": "StackExchange" }
Q: Conditionally closing a tag in HAML I'm iterating through a set of items and displaying them in lists nested in divs. The goal is to have a div for each day and within each div show the items for that day. How do I do this in HAML? I don't think I can (or should) conditionally close and create a new tag like I cou...
{ "pile_set_name": "StackExchange" }
Q: Why does the Ebay application automatically startup at boot? I can't find a good reason that this application must always be running on my phone. However, it starts at boot and I'm constantly getting error traces in Logcat about the Ebay application. Why does this application start at boot? A: Well it starts bec...
{ "pile_set_name": "StackExchange" }
Q: Using XPath Contains against HTML in Java I'm scraping values from HTML pages using XPath inside of a java program to get to a specific tag and occasionally using regular expressions to clean up the data I receive. After some research, I landed on HTML Cleaner ( http://htmlcleaner.sourceforge.net/ ) as the most ...
{ "pile_set_name": "StackExchange" }
Q: When are the carry flags set? What is meant by "Applying the NEG instruction to a nonzero operand always sets the Carry flag." Why does substracting 2 from 1 set the carry flag? 00000001 (1) + 11111110 (-2) [in 2-complement form] --------------------- CF:1 11111111 (-1) [ why is the ca...
{ "pile_set_name": "StackExchange" }
Q: Correct sorting after text to columns in EXCEL I have some data in which one column represents the Days of Operations, as below: ------- Days ------- 15 7 1234567 etc. I want to "break" the column (via text to columns option in the Data tab of Excel) and create the following columns: -------------------- D1|D2|D3...
{ "pile_set_name": "StackExchange" }
Q: Odoo: how to show fields of a many2one fields which is inside a one2many field I don't know how to put it but here's what i want, i want to show the fields of a custom.product model in the tree view of a one2many field my code is as follows class CustomSale(models.Model): _name = 'custom.sale' _description...
{ "pile_set_name": "StackExchange" }
Q: Greasemonkey: Text processing - What's the best way to find certain words in a website and have a function work on it? I want greasemonkey to scan through a website and change certain words to something else. Is there a way to do it with regex or some other string processing function in javascript? Thanks for you...
{ "pile_set_name": "StackExchange" }
Q: What is Floer homology of a knot? I've heard that there are different theories providing knot invariants in form of homologies. My understanding is that if you embed knot in a special way into a space, there is a special homology theory called Floer homology. Question: what's the definition and properties of a F...
{ "pile_set_name": "StackExchange" }
Q: System.Windows.Browser in Windows Phone I'm trying to open a webpage in a Silverlight App for Windows Phone 7. Is there a way to open Internet Explorer? A: You'll need to use the WebBrowser Task to open a WebPage in Internet Explorer. Add the following using statement: using Microsoft.Phone.Tasks; Then you can...
{ "pile_set_name": "StackExchange" }
Q: Set of pairs of numbers in Javascript ES6 has a new Set data structure for storing sets of unique objects. However it is based on object references as opposed to value comparisons. As far as I can tell this makes it impossible to have a set of pairs of numbers without stringifying. For example, typing in Chrome's ...
{ "pile_set_name": "StackExchange" }
Q: translating from base 10 to base X: an easy method I've studied binary-- a number represented by $1$'s and $0$'s. (like $1010_2=10_{10}$) i know you can represent numbers in other bases(base 3, base 16, base 36) I was wondering--is there an easy way to convert between bases? as an example, convert 12045732 to base...
{ "pile_set_name": "StackExchange" }
Q: unit test in ruby not printing results to console I'm trying to set up a testing environment in ruby using rake. It seems like the code I have gets reached by rake but it doesn't return any test results. I'm hoping I'm missing something simple and you could lend me a hand. rakefile require 'rake' require 'rake/t...
{ "pile_set_name": "StackExchange" }
Q: Is it possible to redirect user to a code block within a java file using vis? I am using the vis library to visualize data and I want to redirect the user to a certain code block within java after pressing a button. I am using the following code from the library to process a button click: s = "test"; b = box(text(...
{ "pile_set_name": "StackExchange" }
Q: Excel и массив Python df = pd.read_excel(r'E:\PYTHON\exelbot\Образец_бот.xlsx', dtype={'Долг': 'str','Телефон1': 'str'}) # print(df) a123 = df.loc[df['Телефон1'] == str(a)] # str(a) в данном случае это номер телефона 505808904 print(a123.values) #этот принт выдает [[1 3 '505808904...
{ "pile_set_name": "StackExchange" }
Q: JTextPane with HTML, Why do certain inline style attributes get selectively removed? I am currently working with a JTextPane with html in it. I set its content type to html and everything worked just fine... or so I thought. The function of the JTextPane is to output paragraphs(with tags), each in a different co...
{ "pile_set_name": "StackExchange" }
Q: Teradata - Invalid Date supplied for FIELD I'm trying to query a table that has a varchar(100) "VALUE" column. This column can hold anything from a letter, a number or, in this case, a date. The date will always be entered in the table as 'YYYY-mm-dd'. However, when I run the following query: select * from myTable...
{ "pile_set_name": "StackExchange" }
Q: (Java) can't find method I am new to java and have a compile error: /tmp/jc_16831/Gondvv.java:71: cannot find symbol symbol : method File(java.lang.String) location: class Gondvv File llf = File( "c:/Users/" + userName + "/AppData/Roaming/.minecraft/lastlogin" ); O am including the File class, so I don't get ...
{ "pile_set_name": "StackExchange" }
Q: after_sign_in_path_for I use devise in my application. I want to pop-up a welcome message while the user login. so in my application_controller.erb I defined: class ApplicationController < ActionController::Base protect_from_forgery before_filter :authenticate_user! def after_sign_in_path_for(user) aler...
{ "pile_set_name": "StackExchange" }
Q: python I get a nameerror ? I already have a variable named that # -*- coding:utf-8 -*- # ötszaz.py # , 2017 érték = {"1":500, "2":450, "3":400} # --- 1.feladat --- with open("penztar.txt","r") as ff: adatok = ff.read() # --- 2. feladat --- print("2.feladat\nA fizetések száma: {}".fo...
{ "pile_set_name": "StackExchange" }
Q: Is there any way to refresh the page only for specific times in jquery I am using jquery to reload a page with the below code <script type="text/javascript"> $(document).ready(function(){ setInterval(function() { window.location.reload(); }, 10000); }) </script> But i had...
{ "pile_set_name": "StackExchange" }
Q: Why inline javascript doesn't work? This piece of code doesn't work on my firefox 12 browser. javascript:alert("hi"); But it works on IE8. What's the problem? A: see http://support.mozilla.org/en-US/questions/876916#answer-248299 You can no longer run JavaScript code via the location bar in Firefox 6 and lat...
{ "pile_set_name": "StackExchange" }
Q: How do I autorun ng serve on pc startup I'm developing an app in angular 2 and I always use ng serve to start my app running in localhost. the app that I wanted is not going to go live. So my question is how can I automated ng serve at startup? so that everytime I restart the pc i no need to go to my project folde...
{ "pile_set_name": "StackExchange" }
Q: Когда пишутся слитно слова нерусский, немосковский, немосквич и др.? Насколько ЧЕТКИМИ являются правила выбора слитной или раздельной формы написания НЕ в подобных словах (немосковский, нерусский, нездешний, неженский, немужской, неспециалист, нелитератор)? A: Для меня - вполне чёткие: Слитное написание этих ...
{ "pile_set_name": "StackExchange" }
Q: Need help with HttpWebRequest on a Compact Framework Project not so long ago I´ve created a small iphone app for my Daily use. Now I want to port this app to a Windows Mobile Device while using C# and the Compact Framework. But I really have no clue how to use the HttpWebRequest and the msdn doesn´t help me either...
{ "pile_set_name": "StackExchange" }
Q: Maximum winner matches N players take part in tennis championship. In every match loser is out. Two players can play a game if in that moment the difference of played games of that two players is not more than 1. They are interested, how many matches will be in the championship (maximal possible number) and what's...
{ "pile_set_name": "StackExchange" }
Q: Is it possible to set custom status message (in utf-8) in http status header? I want to change http status header with my own status message. For example, change HTTP/1.1 200 OK to HTTP/1.1 200 custom status message in utf-8. To do it, I send some headers with php: Content-Type: text/html; charset=UTF-8 HTTP/1.1 2...
{ "pile_set_name": "StackExchange" }
Q: Relationship between two tables and their primary keys I am little confused if I should go in this way I have tables like | account | | Acc_registration_Info | | AccID_PK | | AccRegInfo_PK | | | | | | | | | Should I...
{ "pile_set_name": "StackExchange" }
Q: simple javascript, functions in objects var rooms = { bedroom: { info: "A dusty bed lies sideways in the midle of the room"; north: function ( ) { //this function returns an error } } }; I cant work out why this returns an unexpected identifier -- edit thanks another question in javascript t...
{ "pile_set_name": "StackExchange" }
Q: Programmatically added Views not behaving I've created many custom views and I am trying to add them to my fragment. They get added but I can't seem to get them to go where I want. There should be 2 columns and 3 rows but it ends up as 1 column with all of the custom views stacked on top of one another. Here is my...
{ "pile_set_name": "StackExchange" }
Q: Warning message of deprecated link option of Docker I try to link a wordpress container to a mysql container with following command and get the output of warning about deprecated option of -link. $ sudo docker -v Docker version 0.9.0, build 2b3fdf2 $ sudo docker ps CONTAINER ID IMAGE COMM...
{ "pile_set_name": "StackExchange" }
Q: Web api large file download with HttpClient I have a problem with large file download from the web api to the win forms app. On the win form app I'm using HttpClient for grabbing data. I have following code on server side: [HttpPost] [Route] public async Task<HttpResponseMessage> GetBackup(BackupRequestModel reque...
{ "pile_set_name": "StackExchange" }
Q: How to write a Cypher query with a condition on one of relationship properties in Neo4j database? My question: I am new to Neo4j and trying to create a query listing nodes and relationships into a graph with keyword as "id=0001" as below: (a) - [id:'0001', ref_id:null] -> (b) - [id:'0002', ref_id:'0001'] -> (c) - ...
{ "pile_set_name": "StackExchange" }
Q: T-SQL get columns of specific type I am trying to get names of columns with a specific type (so I can dynamically query the result). Code below seems to be getting me close (with i.e. type=56 standing for int) but it just seems to be incorrect. Not to mention that I've failed to find a good mapping from types to i...
{ "pile_set_name": "StackExchange" }
Q: Calculate the recurring dates between a range of dates in javascript How the recurrence actually works is not a question. I want to implement a way to calculate the days between two dates with a specified recurrence interval. That could be weekly, monthly, bi-monthly(which I don't exactly know about) yearly etc. T...
{ "pile_set_name": "StackExchange" }
Q: Passing Jquery value to WordPress function I have a pop up that I would like to display the author information for that particular post. I am using WordPress Popup Maker and have created a function that I turned into a shortcode so I could use in Popup Maker. What I want to do is push the ID of a link onclick to ...
{ "pile_set_name": "StackExchange" }
Q: glBindBuffer : Buffer name does not refer to an buffer object generated by OpenGL After switching from SFML to GLFW for window management, trying to bind my vbo leads to OpenGL error GL_INVALID_OPERATION (1282) with detail "Buffer name does not refer to an buffer object generated by OpenGL". I manually checked my ...
{ "pile_set_name": "StackExchange" }
Q: Is this Possible to retrieve a report names specific to object reference. Ex:Like for account object how many reports/dashboards are associated Requirement:-I want to fetch a report and Dashboard names which using Account ,contact,Opportunity,Lead And some custom object reference(Fields)). Is this Possible to retr...
{ "pile_set_name": "StackExchange" }
Q: Is it possible to connect to Node.js's net moudle from browser? i want to make TCP server with Node.js and then connect it from browser without http , express and socket.io moudles. something like what i do in java or c# but this time from browser. A: The browser does not contain the capability for Javascript i...
{ "pile_set_name": "StackExchange" }
Q: Left/Right Mouse Click Function VB.NET I'm trying to make my own auto-clicker (settable to left or right, depending on the radio button selection) and I can't seem to make the mouse click. In order to be able to set the delay wished for the auto-clicker, I've put it within the Timer1 (one for left click, one for r...
{ "pile_set_name": "StackExchange" }
Q: What happens when your score reaches 2048? In the new game Flappy 2048 what happens when your score reaches this magic number, and through what colors does your tile change during its journey? A: Everything is essentially the same as the original 2048. Once you have a 2048 tile, the game will give you the option...
{ "pile_set_name": "StackExchange" }
Q: Excel - SUMIFS + INDEX + MATCH with Multiple Criteria In the example below, I'm trying to sum any numbers that fit the criteria: Beverage + RTD Coffee for the month of January from the source. This is the formula that I'm currently trying to use for the above scenario: =SUMIFS(INDEX('Grocery Input'!$D8:$BY66,MATCH...
{ "pile_set_name": "StackExchange" }
Q: Nested list to Flat list with depth using jquery I'm trying to translate a nested list like <ul> <li>Coffee</li> <li>Tea <ul> <li>Black tea</li> <li>Green tea</li> </ul> </li> <li>Milk</li> </ul> to <div> <div class="list-depth-1">Coffee</div> <div class="list-depth-1">Tea</div> ...
{ "pile_set_name": "StackExchange" }
Q: Python, trying to parse html to attain email address I am using beautifulsoup to attain an email address, however I am having problems. I do not know where to start to parse through this, to attain the email address. > #input: url > #output: address > > def urlSC(url): > soup = BeautifulSoup(urllib2....
{ "pile_set_name": "StackExchange" }
Q: Compiler versus Interpreter So, let me see if I get this clearly or not. When we say the differences between a compiler and an interpreter is that an interpreter translates high-level instructions into an intermediate form, which it then executes. [I think the compiler also translate high-level instructions into ...
{ "pile_set_name": "StackExchange" }
Q: switch from SSH key-based authentication to normal account login The current login method of the server is SSH key-based authentication, I wish to switch it to normal linux login by key in username and password. i understand this is unnecessary, but i have to switch it over. How to do it? A: Look inside of /etc/...
{ "pile_set_name": "StackExchange" }
Q: Adding multiple values on list Is it possible to add multiple items into list or adding a list of values into a list. here is my current pseudo code to do it: List<string> myList = new List<string>(); myList.add("a","b","c","d","e","f","g"); myList.add("h","i","j","k","l","m","n"); myList.add("a1","a...
{ "pile_set_name": "StackExchange" }
Q: Deploy / build application for OSX I have created my first XE2 FM HD application. I have my OSX machine connected and running debug builds on OSX works fine, but I don't have a way to create a release version and copy it to another computer. I tried just copying over the Package made by the debug but that's missin...
{ "pile_set_name": "StackExchange" }