text
stringlengths
15
59.8k
meta
dict
Q: Special characters in Response.RedirectPermanent I was redirecting to a URL which has some German special characters in it like: ü . Although in the Firefox this special character remains as it is: ü, but in IE & Chrome it is being changed to : %c3%bc . How can i prevent this to happen in IE & chrome? I was using R...
{ "language": "en", "url": "https://stackoverflow.com/questions/15963035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: On change event not working in two elements I have an HTML markup element <div class="icon-upload"> <div class="icon-edit"> <input type='file' id="icoUpload" onchange="getURL(this)" class="icoUpload" accept=".png, .jpg, .jpeg"/> <label for="icoUpload"></label> </div> <div class="icon-preview"> <div id=...
{ "language": "en", "url": "https://stackoverflow.com/questions/66328472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: where to place .htaccess for apache cgi-bin I have a python script under /usr/lib/cgi-bin/ folder. This script is accessible from URL: http://localhost/cgi-bin/test.py Now I want to set a Apache env variable using SetEnv in a .htaccess file. Where must the .htaccess file be placed, so I can access the env variable i...
{ "language": "en", "url": "https://stackoverflow.com/questions/28953713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: isset() and empty() - what to use Could you help me to improve my coding style?:) In some tasks I need to check - is variable empty or contains something. To solve this task, I usually do the following. Check - is this variable set or not? If it's set - I check - it's empty or not? <?php $var = '23'; if (is...
{ "language": "en", "url": "https://stackoverflow.com/questions/7191626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "111" }
Q: Can't modify the variables contained in another var I have a file command_file containig a large number of commands destined to configure a router. Those lines depend on variables ($rsdp and $x2 for this example) that I collecte in my code. Here's the two first lines as an example: /configure service sdp $rsdp mpls...
{ "language": "en", "url": "https://stackoverflow.com/questions/57905671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what does native="true" stand for in a Qt designer form I am doing a diff between 2 project versions and noticed that some of the ui files have extra attributes in the xml that I have not put there myself: where would native="true" come from? what would make it get added to the ui? A: Qt GUIs can be displayed in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/6257908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: Nasm - How does the program keep track of which register has stored negative or positive values Obviously there is the Sign-Flag. But when I have a code chunk like: ;starts with parry, zero set mov eax, 100 ; mov does not affect the flags neg eax ; sets carry, adjust and sign, unsets zero mov ebx, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/59447857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ASP.NET Loading Data into Table with Navigation Property I have a created Entity Framework.I am trying to add a new songs and New album to the table. For example when I try to add a new song I used the method below and it tells me "Object reference not set to an instance of an object" on the s.Artist.ArtistName. I h...
{ "language": "en", "url": "https://stackoverflow.com/questions/10156736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery clone image, but only when dragged from outside container I have 2 html elements, 1.<div class="drag">..example.jpg..</div> contains images that can be dragged/cloned/dropped. 2.<div class="drop-zone"></div> is the div they can be dropped into, retain dragging, but not be clone-able. Demo: http://jsfiddle.ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/9763409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using R to calculate trumpet curves from flow data I'm looking for a way to calculate Trumpet Curves from intravenous set flow data using R (and preferably ggplot2 although that's not vital). Here is some flow data from fluid warming pumps: http://pastebin.com/vJmGcJmn So far I have this: flow<-read.table(file="flo...
{ "language": "en", "url": "https://stackoverflow.com/questions/11422202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to determinate best implementation of Kubernetes cluster I had recently began to walk in to the Kubernetes world, there is a lot of information and most of time I get really confused; Then I'd like to ask how I can choose the better way to administrate an infrastructure will like this: The node and the Kubernet...
{ "language": "en", "url": "https://stackoverflow.com/questions/54021657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: :hover pseudo-class of CSS does not work in IE7 I have problem with the :hover pseudo-class of CSS. I am using it like tr.lightRow:hover { color:red } It works in Safari and Firefox but it does not work in IE7. Please help me. A: IE7 supports :hover, at least in standards mode. It may not in quirks mode. A:...
{ "language": "en", "url": "https://stackoverflow.com/questions/2077411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: starting cherrypy properly How do I properly start cherrypy? It worked for me with 3.0 but now I can serve the content but have to start my service everytime I touch the source even though the autoreloader is running. I already added the cherrypy.engine.block() statement, which works but cherrypy stops serving my ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/14092933", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'BlockManager' object has no attribute 'refs' I am trying to write a python program that show me the stock price chart for google. import matplotlib.pyplot as plt import matplotlib.dates as mdates from pandas_datareader import data as pdr import yfinance as yf yf.pdr_override() #set the start and en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75491469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apply CSS rule to all elements inside? I have some elements that goes like this <div class="t-widget t-window"> Your code goes here </div> For that element and all elements i want to apply this rule -webkit-box-sizing : content-box; -moz-box-sizing : content-box; box-sizing : content-box; How ...
{ "language": "en", "url": "https://stackoverflow.com/questions/24755032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Java reading .txt file to array I've been trying to workout this excersise all day, but not having any luck. Thanks in advance for any help. Here's the problem The approach you are to implement is to store each integer in an array of digits, with one digit per array element. We will be using arrays of length 50...
{ "language": "en", "url": "https://stackoverflow.com/questions/27052681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Macro for editing data I am looking for Macro VBA code for performing the following actions, which I am required to do manually almost everyday. I am writing down the steps which I have to do manually so that process is clear to the users replying to this query: * *Copy from a .txt file and paste in excel workboo...
{ "language": "en", "url": "https://stackoverflow.com/questions/37594319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: g++ unable to find standard lib functions I'm trying to compile g++ source code. The code is from a research group in Taiwan. Presumably the code compiles for them just fine. However, when I compile, g++ is unable to find standard lib methods such as atoi and abort. I get the following error when I try to compile...
{ "language": "en", "url": "https://stackoverflow.com/questions/23447369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update href in AngularJS before navigating to the URL In an AngularJS application I have the following code: <a target="_blank" ng-href="{{someProperty.href}}" ng-click="someMethod($event)">Hello!</a> Now, someMethod() and someProperty belong to the same service. Initially, someProperty.href has a default value. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44176607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is an update with a join standard sql compliant Is the following standard SQL compliant? If not, then why not? UPDATE a SET a.Y = 2 FROM TABLE_A a INNER JOIN TABLE_B b ON a.X = b.X WHERE b.Z = blahblah A: The ANSI compliant way to write the query is: UPDATE TABLE_A SET Y = 2 WHERE b...
{ "language": "en", "url": "https://stackoverflow.com/questions/32267841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Multiple include(s) in analysis_options.yaml? I'd like to combine two (or more) analysis_options.yaml files for my project but wasn't able to find a way how to do that. This works: include: package:pedantic/analysis_options.yaml ... This works too: include: package:flutter/analysis_options_user.yaml # note differe...
{ "language": "en", "url": "https://stackoverflow.com/questions/57360923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: I can't input/output a character string to make a business card book. numbers become # -*- coding: utf-8 -*- class NameCard: def __init__(self, name, age, IG, phone): self.name = name self.age = age self.IG = IG self.phone = phone def __str__(self): return "name: {},...
{ "language": "en", "url": "https://stackoverflow.com/questions/68528199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open graph fitness.runs returning no data I have a bunch of Nike+ run data which i'm assuming (based on the below article) is published to the open graph. It certainly looks that way in my timeline. https://developers.facebook.com/blog/post/2012/08/29/early-success-stories--fitness-and-open-graph/ Frustratingly whil...
{ "language": "en", "url": "https://stackoverflow.com/questions/15641389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What algorithm can compute the edit distance between two strings with arbitrary insert, delete, replace and swap costs? I want to compute the edit distance between two strings, using 4 operations: character insertion, deletion, replacement and swapping. Each operation is associated with a cost. For instance, if the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47143825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to merge master into branch in github for windows? I am new to github and try to merge master branch into my branch then commit my work ,how I can do that using github for windows . A: If your trying to do a merge for a local branch use http://www.wdtutorials.com/drupal-7/github-windows-tutorial-3-branching-loc...
{ "language": "en", "url": "https://stackoverflow.com/questions/31033844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TimesTen database connection issue in python I have 2 machines setup: * *RDP terminal with timesten client 11.2.1 and pyodbc==3.0.7 and works great. I use this connection string: cnxn = pyodbc.connect('DSN=myhostip;UID=myusername;PWD=mypass') *local machine with timesten client 11.2.2 and pyodbc==4.0.22 (I've al...
{ "language": "en", "url": "https://stackoverflow.com/questions/48343096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swagger-UI how much modification can be done I have some questions regarding swagger-ui. I have downloaded the swagger-ui from here and have played around with the index.html and tried modifying it. From what I understand the UI is dynamically generated based on the open api specification doc either in a yaml or jso...
{ "language": "en", "url": "https://stackoverflow.com/questions/67672475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create PDF using iTextSharp in asp.net Can anyone tell me how to use iTextSharp.text in asp.net for creating the PDF file, but heading, font size should be as per our needs? A: Document pdfDoc = new Document(PageSize.A4, 25f, 20f, 20f, 10f); using (MemoryStream memoryStream = new MemoryStream()) { PdfWr...
{ "language": "en", "url": "https://stackoverflow.com/questions/48304174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: UIWebview without Cache I want to load a webview without cache? //Create a URL object. NSURL *url = [NSURL URLWithString:urlAddress]; //URL Request Object NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; //Load the request in the UIWebView. [kdgWebView loadRequest:requestObj]; A: Objective-C: // Remov...
{ "language": "en", "url": "https://stackoverflow.com/questions/9744644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: Python3 Iterate over a file printing multiple lines Say I have a text file(test.txt) with the following lines line0 line1 line2 line3 line4 line5 line6 line7 line8 line9 It's easy to iterate over it fh=open("./test.txt") for x in fh: print(x) fh.close() What I'm trying to do is print lines 2 lines, like this,...
{ "language": "en", "url": "https://stackoverflow.com/questions/53563599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ajaxSetup not working, its not adding default variable field When I use $.ajaxsetup and trigger $.post, its not adding the default data to the post. or is it only meant for default data if not data supplied? <script> window.csrf = { csrf_token: '<?php echo $_SESSION['csrf_token']; ?>' }; $.ajaxSetup({ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/52437201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Semaphores for different parts of the same shared memory block in C I have a question on how to set up a shared memory segment for my program. In my program I want to have a main structure to contain 50 different accounts. Something that looks like this. struct list{ struct account[50]; }; Within each account ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29705697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to upload a background image using actionscript 3.0 code? Need your help. I am trying it first time. I have used following code. But i get this in my console: started loading file SecurityError: Error #2000: No active security context. and my image url is in same folder as my script file. var loader:Loader = new...
{ "language": "en", "url": "https://stackoverflow.com/questions/12104291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Progress bar value not bound to data-bind value attribute using Knockout.js I have a progress bar, and I added a condition that, if the value is below 100, the color should be red; and if it is 100, the color should change to green. But when I debug the code I see the progress value return 0 even if some value is as...
{ "language": "en", "url": "https://stackoverflow.com/questions/57961087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Size of a small window Do windows have any limit in size?. I tried to give for instance 100px and 50px in storyboard Size Inspector. When I publish it shows much larger. A: After many things, I could figure out the solution. In fact, there is no problem to make a window 100 x 50 px or even smaller. The problem is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/58365772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Function parameter is never for parameter to be used within JSON parse I'm going through my code and neatening it up to make it easier to understand. In my code, I parse the same JSON at different points to get different data from the JSON. I want to create a function which I call, and pass a parameter and it will r...
{ "language": "en", "url": "https://stackoverflow.com/questions/54924434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Dropdown menu item moves other elements to the right I've been trying to create this basic menu from scratch but I've got a little problem: whenever I hover the 'Categories' menu for example(which is a dropdown element), the elements to the right get automatically moved even farther. HTML: <div id = "navbar"> <u...
{ "language": "en", "url": "https://stackoverflow.com/questions/25742383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Update a scrollview image based on a UISwitch on a modal view Let me explain. I have an iPhone app, nearly, that displays an image in a scrollView controlled by the MainViewController. I open an OptionsView that shows a UISwitch that is linked to the settings bundle. The link to the settings is all good. When the us...
{ "language": "en", "url": "https://stackoverflow.com/questions/6832606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to register device When I run googlesamples-assistant-pushtotalk --device-model-id 'my-model-id' project-id 'my-project-id' I get the following error: NFO:root:Connecting to embeddedassistant.googleapis.com WARNING:root:Device config not found: [Errno 2] No such file or directory: '/Users/rick/Library/Applic...
{ "language": "en", "url": "https://stackoverflow.com/questions/48622331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dependsOnMethods which returns a value I have a trivial scenario in which a method is dependent on other method. And the other method returns a value - So the class looks as - public class Temp1 { @Test public Integer test1() { Reporter.log("<b>in test1</b>"); System.out.println("in t...
{ "language": "en", "url": "https://stackoverflow.com/questions/4688509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Count(*) and Count(field_name) return difference output in oracle There are two simple queries (because they are so simple, I am confused): The first one: select count(*) from (select e.id as employee_id from offic o left join employee e on o.employee_id = e.id) where employee_id...
{ "language": "en", "url": "https://stackoverflow.com/questions/51925681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: MVC "post back" DropDown List onchange when selected Here is what I have so far: @Html.DropDownList("id", (SelectList)ViewBag.Values, new { onchange = "UpdateProduct(this);" }) <script language="JavaScript"> $('#id').on('change', function () { var data = { prodID: 5, catID: 8 }; // < added test values ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23367157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: @Valid and @RequestBody in controller method I have a strange issue that I cant resolve or find the answer to. I've defined my own validator: @Component public class SingleInstanceValidator implements ConstraintValidator<SingleInstanceRule, Plan> { @Autowired(required = true) private UserService userService...
{ "language": "en", "url": "https://stackoverflow.com/questions/25724736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make the calendar inverted colors, or change other color characteristics? Background: At time of writing, Fomantic-UI is the live-development fork of Semantic-UI which will one day be rolled into Semantic-UI and is for the mean time the de facto supported genus of Semantic-UI. Fomantic has a capable calendar ...
{ "language": "en", "url": "https://stackoverflow.com/questions/59820486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java greater than, less than comparison I'm kind of confused because of my code and what to really search so please help me, I have integers they varry from 1 to the maximum amount of integers, what code should I use for example I want every integer less than 1000 to be equal to 1 and less than 2000 to be equal 2, a...
{ "language": "en", "url": "https://stackoverflow.com/questions/34567844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting a nodejs buffer into a javascript object with functions I know that converting a buffer to a json object is trivial with: JSON.parse(buffer) But what about converting a buffer that contains a javascript object with functions to a real javascript object ?? I have files that contact objects with functions ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48606358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: external multithreading sort I need to implement external multithreading sort. I dont't have experience in multithreading programming and now I'm not sure if my algorithm is good anoth also I don't know how to complete it. My idea is: * *Thread reads next block of data from input file *Sort it using standart alg...
{ "language": "en", "url": "https://stackoverflow.com/questions/38932827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Select all a-elements that enclose img-elements I am searching. I am searching. Preferably, I would like an CSS-Selector, if not possible, jquery selector would also be nice. A: As it currently is, there are no parent selectors in CSS - yet anyways. You can use the :has selector in jQuery. $('a:has(img)').css("back...
{ "language": "en", "url": "https://stackoverflow.com/questions/19775348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: Laravel - Schedule job for each premium users What I need to do When user purchase premium, I give him premium money. Every week, I need to give premium money again at subscription time. However, if the user is no longer a subscriber, they should no longer receive their premium money. Questions I think I need to use...
{ "language": "en", "url": "https://stackoverflow.com/questions/72895253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set a style for a cell in datagrid I am using a datagrid in flex and need to render each cell with a different style. What could be the best way to set a style to a perticular cell in datagrid/advanced datagrid (flex)? I think one possible option can be extend the datagrid and override the drawRowBackgroungd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2182586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert unicode F1 emojis for use in telegram I can't get all emojis to display correctly and as it seems While any unicode starting with 1F is not accepted by javascript. \1F21A This seems to work \u26a0 How to get the ones starting with 1F to work? slimbot.sendMessage('-xxxxx', ` \u1f4c8`) A: You're pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/62869980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom UIViewControllerContextTransitioning and black screen I have a UITableViewController, inside my UITableViewCell i have an imageView when the user taps on it, i present it modally using my own custom UIViewControllerContextTransitioning to make a zoom effect on it, it works like a charm the problem is that whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/32170995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mysql next key lock with ROLLBACK TO SAVEPOINT I faced multiple locking issues with ROLLBACK TO SAVEPOINT command and i think there's a next key lock happen here by mistake mysql version: 8.0.31 my transaction type: REPEATABLE READ Suppose i have this table with some dats: CREATE TABLE book ( id int NOT NULL, na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75348662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract parameters and result contents from website I have a website where I can input a list of strings and it'll display the results of each in the same format (basically a table). What I want to do is to be able to save the results as well as their corresponding parameters (the input string that I searched) and...
{ "language": "en", "url": "https://stackoverflow.com/questions/25540483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to use NSURLConnection (NSMutableRequest) timeout I want to timeout the connection or make the connection invalidate or display an alert saying "connection time out", if the response is not received (or connection delegate methods not called) after 5 secs or 10 secs (a certain time period). Does anybody has a so...
{ "language": "en", "url": "https://stackoverflow.com/questions/8147300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails Model seems valid but doesn't validate My model looks like this, nothing fancy: # Table name: invoices # # id :integer not null, primary key # total :float # discount :float # description :text # created_at :datetime not null # updated_at :...
{ "language": "en", "url": "https://stackoverflow.com/questions/11290822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Graphs of the mixed effects model residuals using the ggplot2 function I am trying to graph the residual effects of the mixed effects model using the ggplot2 function. However, after performing a search I found some functions available but what seems to me is that for the function nlme they are not working. The grap...
{ "language": "en", "url": "https://stackoverflow.com/questions/65891643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: iCarousel is been shown up in previous page when clicked the back button When i press the back button. the iCarousel is still shows up for 1 second.why is this happening and how to stop this.I have used storyboard to create a iCarosel view.. - (void)viewDidUnload { [super viewDidUnload]; self.carousel = nil;...
{ "language": "en", "url": "https://stackoverflow.com/questions/22279297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to remove a childnode when there is a parent node with ID in Powershell I have an xml file , I want to remove the existing child node from the xml where there are parent nodes with specific ID Using Powershell < Portal PortalID="IPE"> <DBConnection> </DBConnection> <Spicer> <Filetype ...
{ "language": "en", "url": "https://stackoverflow.com/questions/25132579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReactJS - Can't get function to load values from separate file after refactoring After attempting to factor out functions within my App class in React into separate files, I am dealing with a whirlwind of import/export issues and was wondering if I could get some advice: First, is factoring out functions from class...
{ "language": "en", "url": "https://stackoverflow.com/questions/51181620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP Parse.com get all columns for a pointer i'm using Parse.com with the library for PHP and i wanna get all columns for a pointer to Product in my class RepProdMae, my code is below, but i don't know how obtine all columns, thanks for your help. $pqry = new parseQuery('RepProdMae') ; $pqry->whereInclude("Pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/24790052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: AngularJS tabs, performance (Nodes & Heaps) I'm developing my first AngularJS App. The App has various features but introducing one in particular I started having performance problems (Nodes and Heap). The section involved is composed of one or more tabs (max six). Each tab contains within it a table, the detail of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/35623272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: My background on my HTML Email won't show in Outlooks I have a HTML Email which uses tables to position everything - The background shows in a brouser when attributed to the table background tag but doesn't work in outlook - Is there anything anyone can suggest to do? I have tried putting it in CSS, etc but to no av...
{ "language": "en", "url": "https://stackoverflow.com/questions/27927171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copy a file using .mshs script I am trying to copy a file, export.txt from one directory to another within a .mshs script. I currently have: shell copy 'E:\RPTG\Export.txt' 'E:\FCST\'; I'm getting an error that says "end of file breaks the statement." Is there a command to copy a file with .mshs? Thanks! A: Typica...
{ "language": "en", "url": "https://stackoverflow.com/questions/36090854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my OpenCV CUDA is running slower than CPU for simple thresholding? My CPU is Intel Core2 Duo T5550, GPU is GeForce 8400M G. CUDA version 5.5.22, OpenCV version 2.4.8. The test code is as follows: double t = (double)getTickCount(); gpu::threshold(src, dst, thres, binMax, THRESH_BINARY); t = ((double)getTickCoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/20985337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to cast char to string in C? Im new to C and i encounter a problem with using strcat(). I looked up strcat and noticed that it takes string as arguments but when i split items from a char array is a char and when i use it as a argument for strcat it prints out error. #include <stdio.h> #include <string.h> int ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/28373690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I print a binary tree “as a” tree? I made a program that inserts values, sorts them using binary search, and outputs the sorted values. However, I also would like to use the function PrintTree() to print the tree. I can't think of any way to implement a functioning code in that function. Here is my code up un...
{ "language": "en", "url": "https://stackoverflow.com/questions/64310533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why am i getting error 415 when trying to retrieve database information wiht angular? I am learning Angular right now, and i am trying to make a POST into a API in asp.net core. I went to the startup and made the cors since they were giving me problems. Now, my problem is an error 415, i don´t know why is saying the...
{ "language": "en", "url": "https://stackoverflow.com/questions/64892791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft Lightswitch establishing a parent child relationship for a document library custom screens I have gotten code from the Internet to create an Editable Data Screen that holds documents, i.e. Word docs, in a document library. I'm able to upload, download and open the files. However, I need the documents to...
{ "language": "en", "url": "https://stackoverflow.com/questions/18707387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Render is not updated? When I want to delete a user, I would like to display a confirmation pop-up. So when I press the delete button, I would like my pop-up to appear. What I do is that I have a pop up that I render according to a poster variable. If it is true then I display if it is false I do not display. Logica...
{ "language": "en", "url": "https://stackoverflow.com/questions/57531155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error Using fpurge(stdin); Here is the Part of the program that i am trying to compile using gcc compiler on ubuntu 14.04. #include<stdio.h> #include<string.h> main() { int i; char str[50], pat[3]; char sep; printf("Enter the sting to seperate\n "); scanf("%s", str); fpurge(stdin); print...
{ "language": "en", "url": "https://stackoverflow.com/questions/33066454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: What is the correct place of Prepare() method? Before defining parameters (with their types and sizes) or after? I have found two different descriptions of when Prepare() method for prepared SQL statements should be used. In SqlCommand's documentation (https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlcli...
{ "language": "en", "url": "https://stackoverflow.com/questions/54745529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cordova build ios does not create ipa file I am building cordova project for iOS, build log seems fine however I can't find any ipa file generated: $ npm run cordova platform add ios $ cat Build.json { "ios": { "debug": { "codeSignIdentity": "iPhone Developer", "developmentTeam": ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51564372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Is there an algorithm for encoding two text and the result will be the same even if change their position? May be the question is hard to understand, I mean this Given two sample text Text1 = "abc" and Text2 = "def" Which algorithm can do like encoding(Text1, Text2) == encoding(Text2, Text1) And I wish the resul...
{ "language": "en", "url": "https://stackoverflow.com/questions/19332678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: spark rewrite projection of parquet data without exchange/shuffle I had the task of writing about a TB of data (split in 200+ partitions by day) in compressed parquet files again with changed schema. Basically I used spark sql to adjust the schema to my new format. Some columns were casted, others recomputed or spli...
{ "language": "en", "url": "https://stackoverflow.com/questions/51285687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Conversion from pairwise matrix to Cytoscape edge table is too slow My code is similar to this. Given a matrix like this: a b c d a 1 NA 3 4 b NA 2 NA 4 c NA NA NA NA d NA NA NA 4 It converts it to this: a a 1 a c 3 a d 4 b b 2 b d 4 d d 4 The relevant code is as below: 2 pears <- read.delim(...
{ "language": "en", "url": "https://stackoverflow.com/questions/55057150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do you Bubble Sort Largest to Smallest Sorry am kind of lame at this. I've looked on here for a way to Bubble sort so that I can get an array to go from largest number to smallest. I've found some error in my current iteration of the sort, I can't seem to get the array to sort once it compares a smaller number t...
{ "language": "en", "url": "https://stackoverflow.com/questions/22853775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Are postgres UUID numbers homogeneously random? Looking at UUIDs generated as primary keys by Postgres defined by RFC 4122, ISO/IEC 9834-8:2005 (source http://www.postgresql.org/docs/9.1/static/datatype-uuid.html). Can we consider that these numbers are homogeneously random on all their length ? Given this UUID : a0...
{ "language": "en", "url": "https://stackoverflow.com/questions/37416499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: List All MS Hotfixes / KBs C# Is there a quick way to to list all hotfixes / KBs? I see this but not sure where to find the dll to use it. Is there another way to get this information? var updateSession = new UpdateSession(); var updateSearcher = updateSession.CreateUpdateSearcher(); var count = updateSearcher.GetTo...
{ "language": "en", "url": "https://stackoverflow.com/questions/36068101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PythonShell messages received only at the end of the python script execution in Electron I'm trying to create an Electron app that executes a Python script but I cannot retrieve messages from python before the end of the script. This is the code at the beginning of the file main.js: const { PythonShell } = require('...
{ "language": "en", "url": "https://stackoverflow.com/questions/60824569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I play radio streaming in iPhone 5 to X versions in my website? I'm working on a project for a client. It is a radio streaming, now it's working on multiple devices, for example: Chrome, Firefox, Edge, Opera, and for Android devices too. But the problem is that I can’t play from iPhone 5 to X versions. Right...
{ "language": "en", "url": "https://stackoverflow.com/questions/53889238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using Ninject DI for both api and "regular" controllers in MVC4 Possible Duplicate: MVC3 + Ninject - How to? In a small mvc 4 project, I'm trying to implement dependency injection using ninject. So far, I have it working with api controllers, but I'm not having any luck with regular controllers. I have A Ninject...
{ "language": "en", "url": "https://stackoverflow.com/questions/12212561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Table is not formed out of multidimensional array This is the jsfiddle I'm referring to: http://jsfiddle.net/utdAm/212/ I just need to show the same table in my web page. But it just shows the headings in html not the content which is processed in JavaScript. My complete code: <!DOCTYPE HTML> <html> <head> <scr...
{ "language": "en", "url": "https://stackoverflow.com/questions/31956841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert frequency vector to logical matrix I would like to convert a frequency vector (i.e. the colSums() of a matrix) to one of the possible versions of the original logical matrix in R. Something like: s <- c(1,2,3) # Some function of s # Example output: [,1] [,2] [,3] [1,] 0 0 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/58626344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Crontab Launches Python Script but SystemD Does Not? I can log into my AWS EC2 server via ssh and type: cd /opt/myWebApp sudo python3 /opt/myWebApp/manage.py myCronJob ...and it runs. I can also launch the same script via crontab: 0 */6 * * * sudo python3 /opt/myWebApp/manage.py myCronJob --settings=server.setting...
{ "language": "en", "url": "https://stackoverflow.com/questions/59587091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Calculating field to input into MySQL table based on form input and variable from second MySQL table PHP I am stuck on a query/calculation based on two different tables (joined by a third table). A form collects information to input into tbl2, tbl1 is linked to tbl2 via foreign key. I need to calculate and insert a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40289361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What's the best way of implementing a buffer of fixed size when using fread in C++? Suppose that you have a file of integers and you want to read them one by one. You have two options for buffering. * *Declare an array buffer of size N and use setvbuf to tell fread which buffer to use. Then when calling the funct...
{ "language": "en", "url": "https://stackoverflow.com/questions/26369110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AngularJS CORS error while making post request to the local nodeJS server I'm trying to send json data over post request but getting errors, I've tried many answers of stackoverflow but not getting answer I've also tried jsonp method but not getting any thing. XMLHttpRequest cannot load http://localhost:3000/lvl/2/...
{ "language": "en", "url": "https://stackoverflow.com/questions/42963814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Android values.xml inner element must either be a resource reference or empty This is my code for my values.xml file. I am running into difficulty getting my project to run because apparently there is an error with this file on line 2 column 4 according to this error: C:\Users\16094\.gradle\caches\transforms-2\file...
{ "language": "en", "url": "https://stackoverflow.com/questions/68432617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Any of java type or classes is recognized by Eclipse I installed ubuntu 12.04 then I install java and I set my environment variable as usually but eclipse can't recognize any java variable type or any class java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(...
{ "language": "en", "url": "https://stackoverflow.com/questions/19960807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Center the PopupView? (vaadin) See http://demo.vaadin.com/sampler/#ui/structure/popup-view I can create a popup as seen in the vaadin sampler but how can I center to the middle of the window? I thought I could do .center() like you can do with a vaadin window. Any ideas? A: The position of the popup of a PopupView ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27421350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to login in Magento Admin I just installed magento 2.0.3 on mac . The installation is done with success. My admin address is Magento Admin Address: http://127.0.0.1/magento3/admin/ On click of this link , I am getting The requested URL /magento3/admin/ was not found on this server. error. I have copied pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/43761421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Yum dependency I'm trying to install doesn't have a provider One of the dependencies of the rlwrap package I'm trying to install doesn't have a provider. Is there a command line option I can pass to the install to let it forget about the perl(File::Slurp) dependency? package: rlwrap-0.45.2-2.el8.x86_64 dependency:...
{ "language": "en", "url": "https://stackoverflow.com/questions/74891869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jquery plugin not allowing me to insert Bootstrap badge inside tag I've followed the html example of a jQuery sliding menu from the following website: http://github.danielcardoso.net/sliding-menu/ I'm able to add icons inside the <a> tags, however I would also like to insert a bootstrap Badge element inside as well...
{ "language": "en", "url": "https://stackoverflow.com/questions/39944654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Date.now() returns a value in microseconds and not in milliseconds Date.now(), as per the documentation is supposed to return a Unix timestamp or the Epoch Time, that is, the number of milliseconds that have lapsed since 1st January 1970. The current unix timestamp as per this website (or any other valid means of co...
{ "language": "en", "url": "https://stackoverflow.com/questions/55558695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to present json files and directories? I have the following json file , how could I represent the the list of files and the documents, and when i press on a document it will show the files inside ? { "d_type":"directory", "name":".", "size":1020, "subdirectory":[ { "d_type":"file...
{ "language": "en", "url": "https://stackoverflow.com/questions/29399543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Insert a directory at the start of a URL in Apache Config Apologies if this question has already been asked before. I couldn't find an example that handled my exact situation. I have an Apache Server and have access to the httpd.conf file. I have a domain (say www.example.com) and I want to insert a directory (say ...
{ "language": "en", "url": "https://stackoverflow.com/questions/24757724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: explanation of the syntax <%= %> I am using the <%= %> syntax for passing the html control textarea id in the JavaScript function. I have a problem that after saving the my aspx page when I run the page it runs successfully but after some it automatically disappears from the html code. sombody can explain the above ...
{ "language": "en", "url": "https://stackoverflow.com/questions/3492855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: extension method with type specific List I want to create an extention method to bind a List, but getting this error. menuItem.Children.Bind(); public static class Extensions { public static void Bind(this IList list) { //some stuff } } class MenuItemMap : Mapper<MenuItem> { public MenuIte...
{ "language": "en", "url": "https://stackoverflow.com/questions/30015822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SonarQube analysis via Maven fails with database access denied to MySQL I have instances of MySQL, SonarQube, and TeamCity all running on the same Linux host. All are very vanilla installations (out of the box / insecure / local / behind company firewall). These are my Maven settings ... where ${fullyQualifiedDomai...
{ "language": "en", "url": "https://stackoverflow.com/questions/28782900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }