text
stringlengths
15
59.8k
meta
dict
Q: Start Web Service in Solution without Web Reference When I work with a web service in Visual Studio and I'm using a web reference, the WCF web service project is automatically started as soon as I start the client application. Interestingly, this does not change when I remove the web reference. Is there a setting in...
{ "language": "en", "url": "https://stackoverflow.com/questions/7041773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent drawings to a UIView context from dissappearing? I'd like to create a simple fingerpainting feature in my app. Problem is any drawings I do to my UIView subclass view instance are erased after each drawRect call... How do you go about preserving your context drawings in your UIViews? A: You have to a...
{ "language": "en", "url": "https://stackoverflow.com/questions/1291869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PostgresSQL AND Operator I have a query like the following. SELECT * FROM table WHERE A AND B Where A and B are conditions (B is slower than A). Does anybody know if A and B will be evaluated all the time or if B is only evaluated if A evaluates to 'true'? Many thanks Patrick A: The behaviour, which you desribe is...
{ "language": "en", "url": "https://stackoverflow.com/questions/73323579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: what can be used as an alternative to data.exists Below i am trying to get the value that matches the number input by the user. In the line where there is data.exists, I am getting an error message "The getter 'exists' isn't defined for the type 'DataSnapshot'. (Documentation) Try importing the library that define...
{ "language": "en", "url": "https://stackoverflow.com/questions/69556462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get row with className How can you get the first row in a table with a specific className? var rows = $('tr', tbl); A: var rows = $('tr.classname:first', tbl); or var rows = $('tr.classname', tbl).first(); Docs here: http://api.jquery.com/category/selectors/ A: var firstRow = $('tr.classname:first', tbl) A: Y...
{ "language": "en", "url": "https://stackoverflow.com/questions/6428375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Unable to secure Spring boot management actuator endpoints I am trying to secure the Spring Boot actuactor endpoints. I have working security on my /api REST interface, but trying to add security on the built-in endpoints does not seem to work. I have set up grouping of the endpoints in my application.properties: ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/23423550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: TypeORM migration with nx-Monorepo Issue I tried this a lot but now I think I need some help. I have a nx-monorepo with angular-frontend and nestjs backend. Now I added a Postgres-SQL database with TypeORM. Everything is working fine, connection to Database is running, api-calls coming in, etc. But I can't add the g...
{ "language": "en", "url": "https://stackoverflow.com/questions/66302398", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Can http://localhost:8080/tunnel-web/jsonws be opened on default installation? I have error 404 if open http://localhost:8080/tunnel-web/jsonws on default Liferay installtion. Aren't there any services registered by default? UPDATE My Liferay version is 6.0.6 (Bunyan / Build 6006 / February 17, 2011) A: As of Life...
{ "language": "en", "url": "https://stackoverflow.com/questions/8665573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I ignore TS1192 when using @types/cleave.js in my angular project? I am using cleave.js (^1.5.2) in an Angular 6 application along with the @types/cleave.js package (^1.4.0) and an odd thing is happening. If I run ng build to build the application it fails with the following errors: ERROR in src/app/app.compo...
{ "language": "en", "url": "https://stackoverflow.com/questions/57066151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I figure out which file / gem is monkey patching a method? There is a Gem in my dependency list that is Monkey Patching to_json on String. How can I figure where this monkey patching is happening? A: Use source_location. Returns the Ruby source filename and line number containing this method or nil if this...
{ "language": "en", "url": "https://stackoverflow.com/questions/13895725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change Connection String After Creating Setup File in C#.NET I am creating a C# windows form applications, the working can be summarized as users fills some form and data is saved in Access database. Now the problem I am facing is that I have to deliver this as a setup file to someone. What I am thinking is that the...
{ "language": "en", "url": "https://stackoverflow.com/questions/11028468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to center UILabel text top and bottom spaces I have a UILabel in a stackview in a content view that is in a tableview cell. Everything is working correctly and the cell is resizing but i cannot center the text in the UILabel. I always have strange spaces in the bottom of the text. Check out screen shot. Yellow: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64427880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sending "/" in Meteor http param This Meteor server code attempts to use the HTTP package to send a POST request with the params object containing date value as below orderDate: '03/06/2016' let params = {}; const d = new Date(); params.action = 'submit'; let day = d.getDate(); day = day < 9 ? '0' + day : day; let m...
{ "language": "en", "url": "https://stackoverflow.com/questions/37608357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elastic Search nested multimatch query So my problem is basically the same as described here, however it still remains unanswered on the group. My mapping: { "abstract": { "properties": { "summary": { "type": "string" } } }, "authors": { "ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/31829654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "25" }
Q: Is It Worthwhile To Have a Table That Only References Columns From Parent Table I currently have a database for trading cards and the main table is AllCards. This table has twenty columns and has over millions of rows, but my question regards towards the column boolean type isSold in AllCards. Whenever a user loads ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74494741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Linux SGX enclave with OpenSSL I saw on the Intel website here that there is an OpenSSL library available for SGX but only on Windows. Does anyone know if there is also such an extension for Linux SGX SDK? A: Linux SGX SSL Crypto Lib has now been open sourced and it's available here: https://github.com/01org/intel-...
{ "language": "en", "url": "https://stackoverflow.com/questions/41685134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: how to parallelize a function which is column bound? I have a function, which does some operations on each DataFrame column and extracts a shorter series from it (in the original code there is some time consuming calculations going on) Then it adds it to a dictionary before it goes on with the next columns. In the e...
{ "language": "en", "url": "https://stackoverflow.com/questions/63877964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Typescript force generic type to be an object I am trying to create a generic function with generic types that must be of a particular object type, not just any object. Specifically, I am trying to create a wrapper around the AWS Lambda handler function with well defined types for the request and response headers bo...
{ "language": "en", "url": "https://stackoverflow.com/questions/66956479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Single instance app with message passing via cmd line? I have a C# app that is launched via command line. Usually data is pass through the command line such as add (app -a string). I would like only ONE instance of the app to be opened and if more strings are added via command line i would like the single instance t...
{ "language": "en", "url": "https://stackoverflow.com/questions/1685005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CSS Help Please! CSS nested elements deactivating links I’m having a problem with my links becoming deactive within some nested elements. I followed some instruction on creating rounded corner boxes via a tutorial by Andy Budd. Anyway, it all works great except when I wrap link tags around a few pieces of copy. I’m ...
{ "language": "en", "url": "https://stackoverflow.com/questions/1773132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A clean way for an action to fire multiple asynchronous actions with createAsyncThunk We're delaying the rendering of our React-Redux web app until several asynchronous app initialization tasks in the Redux store have been completed. Here's the code that sets up the store and then fires off the initialization action...
{ "language": "en", "url": "https://stackoverflow.com/questions/63595307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to edit /etc/hosts file to open angularjs springboot project in specific website address I have an angularJS application with springboot and it runs on 8090 port number with "index.htm" file. Like below ; 192.168.1.25:8090/index.htm I just googled about the changing port and I did the change with 80 port number...
{ "language": "en", "url": "https://stackoverflow.com/questions/69588913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pfSense Traffic Shaping - distribute bandwidth evenly I am trying to distribute traffic evenly per IP on the network. I have seen an implementation of this using monowall with a simple check-box for distributing bandwidth evenly, but since monowall is discontinued I am resorting to pfSense or Opnsense. With pfSense ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48920524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can android animation change view's size is it possible that change the image size by animation? what I want to achieve is I have an imageView,and I want to use an animation to resize it.make it bigger ,like I set it 200dip in xml file,after the animation it become 500dip.is that possible?what methods should I use e...
{ "language": "en", "url": "https://stackoverflow.com/questions/14454710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: ImageMagick 7.0.7-34 installation gives "undefined reference to `PNGSetExifProfile'" I'm trying to install ImageMagick 7.0.7-34 on a ubuntu 16.04, I'm using wget to download the latest version (7.0.7-34) from here http://www.imagemagick.org/download/ImageMagick.tar.gz, then after extracting the tar, I'm running the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50449289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: selecting multiple dates in a calendar i need to add checkboxes to every cell in the calendar so that the user can select multiple dates and the dates get stored in the database for later retrieval. basically i am developing a calendar as a signup sheet for day shift and night shift. so i need 2 checkboxes per calen...
{ "language": "en", "url": "https://stackoverflow.com/questions/1976529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Multiple action contexts in Zend I am new to Zend and am working on a project that requires three contexts for a particular action. There is the standard context that will normally be used, an AJAX context for AJAX calls, and finally a print-friendly context. The goal is for each of these to have their own view, so ...
{ "language": "en", "url": "https://stackoverflow.com/questions/6220310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to select a single input value among multiple inputs? I have a number of inputs with an select button for each to allow the user to select a coupon code. This is what I have, which has the desired result: <!-- code 1 --> <input id="code1" type="text" value="codeval1" disabled /> <button id="btn1">Select</butto...
{ "language": "en", "url": "https://stackoverflow.com/questions/57705684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to keep max checkpoints with some criteria? I'm trying to keep only a number of checkpoints in TensorFlow during training because of the disk limit. CheckpointManager has a max_to_keep argument, but by default, it keeps the newest checkpoints. Is there a way to keep a limited number of checkpoints according to s...
{ "language": "en", "url": "https://stackoverflow.com/questions/72296749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recoding numeric variables classified as vectors I am having trouble recoding a four point variable that I want to use for an index. When I try using the recode command I get the error message that the command cannot be applied to the class the variable cases belong to. Is there a package to get around this or a way...
{ "language": "en", "url": "https://stackoverflow.com/questions/72296887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Variable return as nil I'm confused by this error. I'm writing a lua script for mocp to display info in conky. When I play music files in "/media/Stuff/old-music" everything works fine but I get an error when I play music files in "/home/tony/Music". None of the directories are hard coded in my script. The error...
{ "language": "en", "url": "https://stackoverflow.com/questions/9142318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Eclipse inserts a new line in android xml files I have an Android xml file which contains something like: <!-- foto with border --> <LinearLayout android:id="@+id/ll_border_black" android:padding="1dp" > When I remove the blank line between the comment and the LinearLayout and then I do cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/9890333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Finding a Core Data entity's property values I have a Core Data entity with four boolean non-optional properties, defaulted to NO. A class gets the entity object when the class is initialized, so this is not a result of an NSFetchResquest, and one of these four properties will be set to YES. The class needs to know ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5017906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to print 20 random numbers? I am looking to print 20 random numbers. Is it possible to do this with a for loop; and if it is, how can I do it? Here is my current code: int[] randomNum = new int[20]; Random RandomNumber = new Random(); for (int i = 0; i < 20; i++) { randomNum[i] = RandomNu...
{ "language": "en", "url": "https://stackoverflow.com/questions/29061947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to determine if login failed due to not accepted cookies in grails In my grails application using shiro, I'm using cookies to store the session data including authorization. When a user tries to log in without accepting cookies, the login works, but then (as expected) the session is lost again and the user is lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/4316849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Assigning Data from SQL Server 2000 Database to Strings I am new to C#. My Database table with two columns, A column and B column. Column A has unique static values and column b has random values, so I am running a query to get all these data but now want to store each row of data to strings that are already defined...
{ "language": "en", "url": "https://stackoverflow.com/questions/31244705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Web page timeout and refresh is not working I have a web page template on django. In this template i have two controls. I am waiting the page to be forwarded to another page after a certain time passed. One is meta : <meta http-equiv="refresh" content="900;{% url 'list-attendance' %}"/> and second one is script : <...
{ "language": "en", "url": "https://stackoverflow.com/questions/53812192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a DDP request monitoring tool for Chrome or Firefox? I am working on Meteor projects, which provide real-time updates by DDP (Distributed Data Protocol). I wish to monitor those requests within the browser. Is there any tool to allow monitoring DDP requests? A: As DDP is based on WebSockets, you can actual...
{ "language": "en", "url": "https://stackoverflow.com/questions/29427446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Click on tablecell show UIDatePicker I have a tableview controller and one of the cell is "date" and when i click i wanna show a datepicker and update the values. When i click on limit date i get Now here is the code: -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12391129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Exception creation stateless session bean I'm trying to create an JaveEE project using EJB upon glassfish. I have an Exception when trying to run it. There is a entity bean: User.java @Entity public class User implements Serializable { private static final long serialVersionUID = 1L; @Id @Generated...
{ "language": "en", "url": "https://stackoverflow.com/questions/22213108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Combo Core Data Fetch I have two types of entities: Subjects and Correspondents. They're both related to each other via a to-many relationship. I want to have a single fetchRequest that I can pass to a NSFetchedResultsController which will have it return: * *All of the subjects which have more than one correspond...
{ "language": "en", "url": "https://stackoverflow.com/questions/17519591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I got this error "Operand should contain 1 column(s)" where am i wrong? I searched over other questions on the site. Other solutions that i found does'nt solve my problem. Any idea? INSERT INTO evraklar(evrak_tipi_grubu, evrak_tipi, evrak_konu, evrak_subeye_gelis_tarihi, evrak_gonderen, evrak_alici, evrak_tarihi,...
{ "language": "tr", "url": "https://stackoverflow.com/questions/23673735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: what does this error >/dev/null 2>/dev/null) mean I have this error in logs file CRON[3304]: (root) CMD ( /usr/bin/php /home/app/foxorders/scripts/restart_apache.php >/dev/null 2>/dev/null) Whats mean please ? A: This is not a error. It's just information about cron job which execute command: /usr/bin/php /home/...
{ "language": "en", "url": "https://stackoverflow.com/questions/69402363", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Ruby/Webdriver: Ending a test gracefully and closing the browser if element not found This is what I'm currently using : which works... but I would like it to end the test immediately and close the browser if the element is not found. If the element is found I'd like for it to continue on with the rest of the test....
{ "language": "en", "url": "https://stackoverflow.com/questions/29497540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamic OnClick in IE, Safari, Firefox I have the following bit of code. I'm trying to dynamically add drop-down options to a second drop-down based on the selection in a first drop-down. Both are generated through an Ajax call to a script that pulls the data from a database. Here is the relevant code. function ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2240573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to sort using statement of C# code in vim? Recently I edit C# code in vim. And the build system has StyleCop enabled so that all using statement should be in alphabetical order. So, I tried to select below lines of code in visual mode, then type ":sort". using System.Security.Permissions; using System.Runtime.Se...
{ "language": "en", "url": "https://stackoverflow.com/questions/1872884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Conversion Failed error in sql I have a problem in my code and I figure it out: SELECT pono, convert(varchar,podate,103) as podate, Convert(varchar,validity,103) as validity, OriginalPOno, Sitename, Vendorname FROM dbo.tbl_POR_PO_MAIN WHERE originalpono not in (select originalpono from tbl_Despatch_PO...
{ "language": "en", "url": "https://stackoverflow.com/questions/11789598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Base64 Decoding of UTF 8 character and printing it I have UTF8 character which are encoded in Base64. I am decoding it and trying to print it.But its only priting its hex value but not the UTF-8 String. Things I tried 1: I have verified the Character is online decoder which tell me that the string I get is of right ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36245073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: what is the format of DMPfinder in minfi package in r I have processed data, containing 4 columns (chromosome, start, end, beta value ) for each sample. and 2 groups (patient and normal). I want to find differentially methylated positions between these 2 groups using DMPfinder in minfi Package. but I don't know how ...
{ "language": "en", "url": "https://stackoverflow.com/questions/72414649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pass List* to EnumWindows' lParam in C# I'm trying to write a function which iterates over top level windows and puts them into a list if they fulfil a set of criteria. At the moment I can get this to work by adding the windows into a static List<IntPtr> instances variable, but I would like to instead pass a pointer...
{ "language": "en", "url": "https://stackoverflow.com/questions/13973452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What driver are you expected to provide for Reflections.collect() to work from a Groovy script? I have the following snippet of scratch code import com.google.appengine.api.datastore.Entity import org.reflections.Reflections Reflections r = Reflections.collect() Set<Class<?>> entities = r.getTypesAnnotatedWith(Enti...
{ "language": "en", "url": "https://stackoverflow.com/questions/34888476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CSS Footer W/ Gradient - Not Sticky What my designer wants and what I'm trying to code is a footer that begins at the bottom of dynamic content (actually, they want the footer to start beneath the content area up about 20px - but that's something else). The thing is, they have a gradient that they want down there t...
{ "language": "en", "url": "https://stackoverflow.com/questions/4559047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Search a file recursively for string I am using some vbscript to search for string inside a directory. Now I need my script to search for multiple instance of string in each file and return line number or some other identifiable information. My current vbscript is :- Sub ProcessFolder(FolderPath) On Error Resume...
{ "language": "en", "url": "https://stackoverflow.com/questions/35596791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Config File without Environment Variable I don't have permission to create the Environment variable and I want to pass my Config file path and Name using variable. A: Can you use one of the other configuration methods (SQL Server or XML)? Since you have file access, using XML seems appropriate. See the section for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13750539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to perform data analysis using python I just want to do these 3 steps: * *identify the missing data *impute the missing values in the data using k-means or k-nearest-neighbor imputation. *return the imputed data and compare it with the complete data to measure the accuracy and reliability of your results ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62768418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Firebase setting user data on registration I want to create an new user in my firebase. This is the code I´m using: function createUser(email, password, username) { ref.createUser({ email: email, password: password }, function(error) { if (error === null) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26606091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I redirect in JSF 2.0 I want to redirect from a link in a JSF page, how can I do it? In HTML I can use <a> tag for this. But in JSF I use <h:outputLink> or <h:commandLink> as they can be conditionally rendered. I want redirect link to other page in same application or to an external URL. How can I do it with...
{ "language": "en", "url": "https://stackoverflow.com/questions/3947959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Is it possible to set product version at build time in a Basic MSI project? I have an InstallScript project that I'm looking at manually recreating as a Basic MSI project. For the InstallScript project, we obtain the product version at build time through the following mechanism: * *Ant does all the compiling, tes...
{ "language": "en", "url": "https://stackoverflow.com/questions/7585522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Unavailable to Export Data with Current Layout - Power BI Report Server it is not yet available to export table with current layout from powerbi report server, because I had seen that it was supposed to be there in the release of Jannuary 2023 however it seems to me that it is not available yet. Is there any possibi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check if opened window has been closed I have a main window, which is the application start up window. In that window, there is a Repeater control binded to a SQL Database, and a button to open a new window. The new window has a method that inserts data into the SQL Database that the first windows' Repeater control ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12106657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Angular 2 materials, autocomplete with remote data I'm using Angular 4 with Materials 2. I have successfully created some autocomplete fields using an array of data. Here my controller: sectorCtrl; allSectors filteredSectors: any; constructor() { this.sectorCtrl = new FormControl(); this.filteredSectors = this....
{ "language": "en", "url": "https://stackoverflow.com/questions/44308283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Where is a reference to regex header on MSDN? I can include this file directly now without tr1 in VS 2010 but can't find description of this file anywhere on MSDN. Where is a reference to regex header on MSDN? A: The regex description on MSDN: http://msdn.microsoft.com/en-us/library/bb982382.aspx Basically, you cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/3292683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Angular 2 animations pass an Input I need a way to configure my animations dynamically. For example, I want my consumer to be able to pass as Input of the numbers of the animate declaration or any CSS property. animations: [ trigger('heroState', [ state('inactive', style({ backgro...
{ "language": "en", "url": "https://stackoverflow.com/questions/41810838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Label detection mouse click c++ I'm trying to build a simple API in c++. It detects which button of my mouse I click on my window and it shows a MessageBox saying which button was clicked. I also managed to show in a messageBox when I release the button of my mouse. But I can't use both at the same time. It is possi...
{ "language": "en", "url": "https://stackoverflow.com/questions/52428250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: WebRTC Get stats metrics for refreshing keyframes I am currently using webrtc to receive an h264 stream over udp(rtp). I am encoding this stream and sending it, using gstreamer. The way I am encoding it right now, is with an infinite GOP size, to allow for lowest bitrate. However with an infinite GOP size, packet lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/66307974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to redirect IE to Edge like youtube, twitter, stackoverflow without permission When you navigate to youtube, twitter, StackOverflow in IE11. you can find your browser opened Microsoft Edge without permission. I wanna know how to do that, and apply my own web site. enter image description here that is the permiss...
{ "language": "en", "url": "https://stackoverflow.com/questions/63913850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reset variable using shell I use the shell script to reset variable. #!/bin/sh reset_var() { while [ "$#" -gt "0" ] do echo "\$1 is $1" unset $1 done } i=50 j= 40 reset_var i j but this it does not work! the purpose is to reset i and j variable to 0 is there any way to reset many variables ! A: In...
{ "language": "en", "url": "https://stackoverflow.com/questions/53592271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java : Array items null and int values I have an array with type Object. Then I assign it's values to null. But later I want to assign int values on null cells. Is that possible? In these lines: Queue[y]=new Int; Queue[y]=num; I am trying create an object Int type, in the null cell. But I get this error: er...
{ "language": "en", "url": "https://stackoverflow.com/questions/36486669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Passing ViewModel from View to Controller Ok, here is my problem. I am trying to pass a view model of mine, which has multiple list in it, to my view. Then in my view i need to edit the different list. Then on my post i need to save the edits. Although, when i pass my viewmodel back to my post, it is empty! Can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/4413679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Security - How to prevent XSS filename injection in Dropzone.js? I am doing some security tests with my dropzone.js extension, I find out that it's possible with a Linux system to rename a legit filename and execute it with special characters like : "><svg onload=alert(1)>.jpg or "><img src=x onerror=prompt(docum...
{ "language": "en", "url": "https://stackoverflow.com/questions/39858211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Python XML - incrementally writing XML without duplicating namespaces I am wondering if there is a way to have a concise namespace declaration of my XML when I am writing it in an incremental manner using lxml. Currently, I get duplicated namespaces with the way I generate my XML. See below, where the tags data and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50326271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Apach Flink CEP "At Least" Condition I am trying to create a CEP pattern that matches "at least" occurrence. Modifying the example code: middle.oneOrMore().where(new IterativeCondition<SubEvent>() { @Override public boolean filter(SubEvent value, Context<SubEvent> ctx) throws Exception { if (!value.g...
{ "language": "en", "url": "https://stackoverflow.com/questions/44813368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MetaWhere to Squeel migration In MetaWhere I combined conditions to sql variable using loops, if else statements. sql = {} email_starts_with = "vany%" sql["growth"] = 0..200 sql = sql & (:rating > 50) sql = sql & (:email =~ email_starts_with) ..... ..... User.where(sql).to_sql => "SELECT \"users\".* FROM \"users\" W...
{ "language": "en", "url": "https://stackoverflow.com/questions/7302417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How navigator read atomic javascript? I found something who disturbed me. How can a navigator can interpret this kind of code : [][(![]+[])[+[[+[]]]]+([][[]]+[])[+[[!+[]+!+[]+!+[]+!+[]+!+[]]]]+ as javascript ?? Here is a fiddle : http://jsfiddle.net/6Cr4H/ Does every languages have an atomic form like this ??
{ "language": "en", "url": "https://stackoverflow.com/questions/18844858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Bootstrap Dropdown Keeps Collapsing on Mobile Site: http://pegasusbus.com/ebrochure My menu works great, but when i click on the dropdown for "packages" in the nav, the dropdown closes before i can select an option. This only happen on mobile. Can anyone please tell me whats going on here please? A: Inside your fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/38132741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating ByteArray in Kotlin Is there a better/shorter way in creating byte array from constant hex than the version below? byteArrayOf(0xA1.toByte(), 0x2E.toByte(), 0x38.toByte(), 0xD4.toByte(), 0x89.toByte(), 0xC3.toByte()) I tried to put 0xA1 without .toByte() but I receive syntax error complaint saying integer ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51403881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "51" }
Q: how I can use back-reference in boost::regex I am tring to use back-reference in boost version 1.44 but this don't work for me. this is my code: boost::regex_constants::syntax_option_type flags = boost::regex::extended; std::string regx="(aaa)bb\1"; std::cout << "Expression: \"" << regx << "\"\n"; std::string s...
{ "language": "en", "url": "https://stackoverflow.com/questions/6455232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it a good idea to run Apache on Windows server 2012? I run AmazonWebService with: Windows Server 2012 + IIS + Python3 website and want to add django. I tried to find some tutorial how to do it, but unfortunately, found nothing. Is it a good idea to install Apache on Windows Server 2012 and then try to deploy djan...
{ "language": "en", "url": "https://stackoverflow.com/questions/32213605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to synchronize clock with Spotify servers? I'm trying to create cool visualization to music using the Spotify Web API(https://developer.spotify.com/documentation/web-api/reference/). What I'm trying, is to first fetch what the user is playing, what's their progress and then I fetch the track analysis as well. F...
{ "language": "en", "url": "https://stackoverflow.com/questions/59029450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: PHP echo of javascript for a new window script worked before and now doesn't - what've I missed? I have fiddled for ages with escaping special characters and not, and doing this and that. I've exhausted the best part of a couple of hours and I need a fresh pair of eyes! What am I doing wrong? Updated. echo <...
{ "language": "en", "url": "https://stackoverflow.com/questions/26716000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementing Insertion sort in Python I am trying to write the insertion sort algorithm ( without the help of the solution in the book) and so far came up with this algorithm, when I matched it with the solution, it looks different. This is the code I wrote: def insertSor(n): key = 0 while key < len(n): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68930017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Class wise classification in keras on tensorflow I am getting the following error, I am trying to get class-wise accuracy on training data. I have installed the latest TensorFlow and Keras, could anyone please help with the error? Thanks Error: **raise ValueError('Found two metrics with the same name: {}'.format( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/73627748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open password protected pdf using itext I am using iText library to read PDF files. It's working fine for all the pdf files, except for password protected ones. I used some way by using the overloading constructor of PdfReader class PdfReader reader = new PdfReader("locked pdf file","password".getBytes()); B...
{ "language": "en", "url": "https://stackoverflow.com/questions/10878721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Number of elements done from a to-do list I'm trying to put on the screen that items from a list that I have done. I came up with this function: function countDone() { let numberOfDone = 0 for (let i = 0; i < todoList.length; i++) { if (todoList[i].isDone === true) { numberOfDone = numberOfDone + 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/69548078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run a Google Apps Script using Javascript I have a command in cURL that allows me to run a Google Apps Script: curl -X POST \ -H 'Authorization: Bearer ### access token ###' \ -H "Content-Type: application/json" \ -d '{"function": "##function name##", "parameters": ["##MainDocID##", ["##Doc1ID##","##Doc2ID##","##Doc...
{ "language": "en", "url": "https://stackoverflow.com/questions/69144139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to expose a property in MBean description The following managed operation exists in the project: @ManagedOperation(description = "Some description") @ManagedOperationParameters({ @ManagedOperationParameter(name = "key", description = "Some description"), }) public void foo(String key) { // some l...
{ "language": "en", "url": "https://stackoverflow.com/questions/34785000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: google date parsing I'm having trouble parsing event dates pulled from a Google calendar feed. Here's the relevant code snippet that I'm working with: jQuery(function(){ jQuery.getJSON("https://www.google.com/calendar/feeds/(my feed URL...)", function(data){ function lpad(str, pad_string, length) {...
{ "language": "en", "url": "https://stackoverflow.com/questions/12841361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Extending compose UI - Missing Tokens I try to extend the compose UI to add attachments from an outside server, I try first to use the newUpdateDraftActionResponseBuilder() function but it's just to add content to the draft body. So now, I try to get the draft itself in the way to make a simple draft.update() but wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/53080728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Maven Android integration error I am beginner in Maven. Please consider this. I want to use Maven for my Android project. For that I have done steps as per: * *http://rgladwell.github.com/m2e-android/ and *http://code.google.com/a/eclipselabs.org/p/m2eclipse-android-integration/wiki/GettingStarted I have Eclips...
{ "language": "en", "url": "https://stackoverflow.com/questions/11262042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get the dimensions of the scroll bars? Possible Duplicate: Javascript : Get the browser's scrollbar sizes I have an HTML table that contains lots of rows and columns. Therefore, it has vertical and horizontal scroll bars. How can I get the dimensions in pixels of these scroll bars in Javascript/jQuerys ? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2722506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JQUERY: Setting Active state on animated menu tabs I have image sprites that use JQuery to set the BG position on mouseover and mouseout events. When I set the active state BG position using JQUERY it works fine until I move my cursor away from the active 'tab' which then fires the mouseout event animation. What I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2609482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Simple PHP program requires less time to execute i had applied for a job recently and the requirement was to complete a test and then interview 2 questions were given for test which was very simple and i did it successfully but still i was told that i have failed the test because the script took more than 18 seconds...
{ "language": "en", "url": "https://stackoverflow.com/questions/17849503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Reference children css in js I have a parent tag as #parallax-bg1 and I am able to reference them as whole in js. But how do I refer its children? As in #bg1-1 and #bg1-2 each? So that instead of changing the whole parent #parallax-bg1, I can set values to each of its childrens #bg1-1 and #bg1-2. main.css #parallax...
{ "language": "en", "url": "https://stackoverflow.com/questions/63227255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unknown key for a START_OBJECT in a multiple aggregations elasticsearch I'm trying to build a query allowing me to make multiple aggregations (on the same level, not sub aggregations) on a single query. Here's the request I'm sending : { "index": "index20", "type": "arret", "body": { "size": 0, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43605374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WEB.API returning string property as json We have a fun situation where we are storing json as a string in SQL Server. We don't not care what is in this object its pretty much a passthrough property. Passthrough meaning we just save it for clients and return it as is. We never read it in C#. I'm storing it as a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40022013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: New Core Data object doesn't show up in NSArrayController arrangedObjects When I insert a new object in a Core Data managed object context and shortly after that try to find this new object in the NSArrayController (which is connect with the managedObjectContext through binding), I can't find it. I do the creation a...
{ "language": "en", "url": "https://stackoverflow.com/questions/4538704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: When implementing an interpreter, is it a good or bad to piggyback off the host language's garbage collector? Let's say you are implementing an interpreter for a GCed language in a language that is GCed. It seems to me you'd get garbage collection for free as long as you are reasonably careful about your design. Is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2179501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Json data's string name have "-" I use node.js. I try to get JSON data from one company's JSON URL but JSON data's few strings have "-". for example: "duo-fpp":{ "fdss" : 5, "fdsfsd" : 7 } this is my code: var sevenres = JSON.parse(body); console.log(sevenres.data.attributes.ModeStats.duo-fpp.assists); Whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/51472276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Range of numbers in AngularJS not rendering with variable I can already render a list of numbers in angular using the following code in my controller $scope.range = function(n) { return new Array(n); }; and I use it like so <ul> <li class="ticked" ng-repeat="a in range(10) track by $index">{{$index + 1}}</li> </...
{ "language": "en", "url": "https://stackoverflow.com/questions/43837758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Share Image via android app using ACTION_SEND not working I have bee following this Android - Share on Facebook, Twitter, Mail, ecc But I am unable to share image using action_send intent in android.Please see my code and guide me where I am wrong. saveFileName = ""; Intent share = new Intent(Intent.ACT...
{ "language": "en", "url": "https://stackoverflow.com/questions/11081231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }