text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Creating a Docker volume at a specific location Can I tell Docker to create a volume at a specific location on the host machine?
The host machine has some storage restrictions and I'd like the volume to be stored in /data instead of /var/lib/docker/vfs/dir/.
This isn't even mentioned in the documentation so I suspec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31747061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way I can specify a different repository for the CocoaPods master repo? At my work, we have a private cocoapods repository that we use to host whitelisted libraries for developers, and I am trying to validate a library I wrote.
Whenever i do a pod spec lint MYPODNAME --verbose, CocoaPods tries to validate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34053927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to access php variable out side of a foreach loop i have a veriable named (num) which is used for increments changes names of ids by 1 num+1 but in my foreachloop i cant access it .
i tried declaring it before the loop still doesnot work
<?php $num = 0; ?>
<?php foreach($listings as $list):?>
<li>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56226277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vagrant broken with Ruby 'Segmentation Fault' Error All of a sudden Vagrant is broken on my machine.
I don't see what might have caused this. It came up with an older version of Virtualbox and Vagrant 1.9.8. I updated both to the current version in hope to get it fixed.
I run
*
*Windows 10 Pro 1709
*Virtualbox 5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47249602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In text classification, how to find the part of sentence that is important for the classification? I have trained a text classification model that works well. I wanted to get deeper and understand what words/phrases from a sentence were most impactful in the classification outcome. I want to understand what words ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70121559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Modal view controller not in the window hierarchy The App I'm trying to do has a tabbar controller.
When the App starts, I'm getting the user location in the AppDelegate and when I've got the accuracy I need the AppDelegate sends an NSNotification to my App's starting page (index 0 of the tab bar controller).
Upon r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12391425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Detecting a pattern in a list/array This is rather an algorithmic question.
I have a Java List (sorted) or array that consists of chars (X and Y) and I need to detect a certain pattern of the way the values are ordered.
The List size is fixed (for example 5). The patterns I'd like to detect are the following:
XYYYY
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33592693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What goes into writing a cache simulator program? Can any one explain or point me to a source that explain what goes into writing a cache simulator program.
It's a school project and I have no intention to use anyone else's code as it does me no good. I will be tested on understanding of the program and concept, but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14913140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Do I Draw Two Overlapping JPanels such that the Graphics Drawn On Both Of Them Display On The Screen? I have two JPanels. One panel has a 100x100 rectangle drawn at 0,0. And the other has a 100x100 rectangle drawn at 100, 100. My problem is that when both JPanels are drawn on the JFrame's content pane, one JPane... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16739225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery: I need to show consecutive fields in a form at each new click I have 5 upload fields but I need to hide them except the first. Then at each click to show them one by one.
I created the following script but it seems like item.show() is not displaying the hidden fields.10x
first = $('.webform-client-form').fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13930742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find Instance ID for Azure Servers In AWS we have instance IDs to identify machines. What's the equivalent in Azure and how do I find that?
I'd like to list the instance ID in powershell so I can put that into a script.
A: If I have not misunderstood, I suppose you want to get the InstanceId of the VM in the Azure ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52189383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the best approach to upload a file using Jersey client? I want to upload a file (a zip file to be specific) to a Jersey-backed REST server.
Basically there are two approaches (I mean using Jersey Client, otherwise one can use pure servlet API or various HTTP clients) to do this:
1)
WebResource webResource =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17702425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you have WPF references in an XNA project for xbox 360 I'm writing a XNA project in both Windows and Xbox 360 and the Windows side of it has a console I bring up written as a WPF application. What I was wondering is if I leave this in my library code with the references to WPF, will the dll still work on the 36... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1400437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any problem with using HTML5's "data-*" attributes for older browsers? I want to associate some custom data with some HTML nodes. I was going to use the new HTML5 style 'data-*' attributes. e.g.: <tr class="foo" data-typeid="7">…, and then I was going to select this HTML node and show/hide it etc. by readin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3957867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: How to visualize CGAL resutls with VTK library I am new in this forum.
I have a problem in my project in c++.
I used vtk and Itk and Qt, but the mesh was not perfect so I tried to include CGAL with cmake.
I can do everything using CGAL, but I can't visualize the object created with CGAL. I have tried to export the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24485540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: mysql delete and then insert. Does not insert into delete line for AI table! Why? I am not sure I am correct in this.
I have insert 5 rows with values with id as primary key and autoincrement.
Then I delete row number 2-4.
when I insert on a new line with none id, the new id becomes "6". Is this normal?
How is it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3326170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Zapier Javascript: Unexpected token ] - working in IDE, Repl.it, & Node v6.3.1 The Solution:
Thanks to @Kunal Mukherjee for the help.
const pattern = /\](,)\s{2,}?/gm
let res = inputData.rows.replace(pattern, (match, group1, offset, string) => "]")
.split(/\s{2,}/gm)
.map(x => JSON.parse(x));... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56081202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTML nested numbered list with starting index In my application I have a page which lists some data grouped by categories.
Each item on the list can have subitems.
So I'd it to look like this:
*
*List item
1.1 List item
1.2 List item
*List item
2.1 List item
2.2 List item
I can achieve this easily using this thr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17948337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get object dictionary representation in Python I have objects message of type azure.servicebus.common.message.Message. I can print it and get representation that looks like dictinorary.
print(message)
{b'Type': b'TEST', b'Subtype': b'subtype'}
print(type(message))
<class 'azure.servicebus.common.message.Mess... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58203348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ASP.net IdentiyServer 3 AuthorizationCodeReceived not firing when a user authenticates with Identity Server 3, AuthorizationCodeReceived never fires. RedirectToIdentityProvider does get fired but thats it. I am trying to call a function that will get the users email or windows ID, and then add a custom claim. Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54466505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is the Binding Format event called twice? I am playing around with data binding and noticed that the Binding Format is called twice upon loading the form in the code below. I thought it would only happen once when the test class TextBoxText property is fist bound to textbox1. Is this normal? If not, then what... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3239754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: delphi7 converted to delphi tokyo app taskbar icon does not like to move to second screen app my delphi7 apps always show in the primary screen monitor taskbar , Now in delphi 10.2 If I move the app to the second screen the taskbar icon move to that seconds screen .
So now my issue is with the old delphi7 apps which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54988814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: jQuery UI - make div not resizable I have a div that is made resizable using jQuery UI. How can I dynamically make it not resizable anymore?
I tried calling resizable({ disabled: true }) but the handle still showed.
A: Use this code: .resizable( "destroy" )
A: Try .resizable("option", "disabled", true);
http://... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4670801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Consuming an XML API in CakePHP I have a web application that involves calling a number of different XML/API webservices. The application has already been implemented in old school procedural code (by my predecessor) and I have managed to convince the IT director that it needs to be coded into a more robust framewo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9112328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Convert Apple Emoji (String) to UIImage I need all Apple Emojis. I can get all the emojis and put them into a String by copying them from the site getemoji but in my app i need the emojis in the right order as images.
Is there a nice way to convert the emojis I copy into a String to a UIImage?
Or a better solution t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38809425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "60"
} |
Q: How do you choose where to put information based on an index into a pandas DataFrame? In MATLAB, the loop I create looks like:
header_names = {'InvoiceNo','Customer',...}
for i = 1:length(x)
entry(index+i,:) = [InvoiceNo, Customer,...]
end
% Create a table from the data.
fin_table = cell2table(entry,'VariableNa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69982015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MultiThreading with searchbox I have a listbox with list of persons (first name ,last name , addresses...) and a searchbox (TextBox with TextChaned event
the thing is i'm running a search throw database and it take a long time and the UI freeze for seconds ...so,how can I make it responsive ?
A: Assuming that you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55787348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to enable and disable button accordingly if i select the dropdown options in Angular js If I click on the dropdown which is marked inside the blue border, I want the buttons below to be enabled/disabled according to the condition.
If I select first dropdown value. I want the 3rd and 4th button to disabled and 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43092584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it worth mitigating against the effects of garbage collection? I have an application where the memory profile looks something like this:
(source: kupio.com)
The slow upwards crawl of memory usage is caused by the allocation of lots and lots of small, simple, transient objects. In low-memory situations (This is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1232437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: HTML: Accept-Charset attribute and Accept attribute I'm using angularJS, and when i try to set there Accept-Charset attribute i get: Refused to set unsafe header "Accept-Charset", but when i set manually something like:
headers: {
'Content-Type': 'text/csv',
'Accept': 'application/json, text/plain; c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32313595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Menu flow is wrong in android mobile phones I have one word-press site ,the menu flow of the site is working fine in desktop and i-phone , but flow is wrong in all android phones .
the problem is :
i have a main menu "courses" and sub menu under courses is "school programs".
when ever i click "courses" then the page... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42523422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javacard form factors I'm totally new in the Smartcard world, and would really appreciate some clarifications regarding Javacard form factors and interfaces, as I've found it very hard to research the different options.
Ideally I would like to find a contactless Javacard 2 (or 3) chip + antenna that is not encased i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57874975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to nest transactions in EF Core 6? I am already using transactions inside my repository functions in some cases because I sometimes need to insert data into two tables at once and I want the whole operation to fail if one of the inserts fails.
Now I ran into a situation where I had to wrap calls to multiple repo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70958670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to convert byte[] to float[] and back in Java? I'm reading data from .wav files through InputStream, and read() returns bytes. A sound processing library I use, only accepts float[] to process. After it it done it gives me a float[] back. Now I need to write to the Android's AudioTrack in byte format again.
How... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19466217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ASP.NET MVC3 - Redirect to a different directory We have a bunch of published URLs that reference a directory called "events"
http://www.mysite.com/anniversary/events/
http://www.mysite.com/anniversary/events/[...]
They now want to rename "events" to "events1" so I need to redirect all URLs that look like this:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21165373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding argmax indices along a dimension and negate the corresponding values if the index is 1 Given a tensor in size DxCx2xHxW I try to find the argmax indices for the third dimension (between two values) and if the index is 0 I'll keep it or if it is 1 I'll negate the value and reduce the tensor to size DxCxHxW wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32995147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Github Action trigger on release not working on tag I've created a "publish" workflow in new repository that publish my project on new release with this trigger
on:
release:
types:
- created
In my local machine I created a tag and pushed it:
git tag v0.0.1 main
git push origin v0.0.1
Now I see that my r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66992201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is the map mask register used to do plane switching in VGA? I've got an understanding problem when it comes to the memory mapping of VGA. So I think I've got a wrong assumption somewhere.
From what I've understood, I think that a VGA adapter has 256 KB of memory but usually only exposes 64 KB to the host at any give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73759658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is Spring Cache clusterable? I've got an application that uses Spring Cache (Ehcache), but now we need to add a 2nd node (same application). Can the cache be shared between the nodes or each with their own instance but synched?
Or do I need to look at a different solution?
Thanks.
A: That depends on your cache impl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40982507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there an API that will return how many results there are based your query search? Is there an api that returns how many results/logs there are based off your query search? or like a built in feature with NEST that will tell you how many results there is like i.e. count? Because I have a NEST query search that wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68352128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Django or Nodejs or Ruby on Rails? I want to learn web development, I know little bit Python and Nodejs.
I dont have any knowledge on Ruby.
So, In the below 3, which one should I choose for Web Development?
*
*Django
*Nodejs
*Ruby on Rails
Thanks in advance.
A: Of course this question will be opinionated bec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20292688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Amcharts5 chart add tooltip to circle I`m trying to add a tooltip to my chart but it doesn't work. I've added it both to bullet and to series as well.
There is no enough info in docs about how to add tooltip in this case.
When I add tooltip to series in which graphic is based everything works perfectly
Can you help?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72041568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Firebase query hex codes contained within randomly generated keys I would like to query a particular child from the array of color hex codes.
Here's a snapshot of my database structure:
How do I query a particular hex code and obtain the entire array of its parent object?
A: You cannot query whether a specific ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39756884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL query for counting combinations and including entries that don't exist This is a simplified version of the table I am dealing with which is Orders
+-------------------+------------------+---------------+
| Order_Base_Number | Order_Lot_Number | Other Cols... |
+-------------------+------------------+------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14265496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java wait for Serial Input I linked a caliper to my computer with a RS232C-USB cable and I managed to get the data and print them in console. The caliper sends data everytime I press a pedal.
The problem is I can only acquire data once at the beginning, I'm searching for a function that would freeze the program, wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37207385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lxml not finding all tables on page? I'm trying to get some data and when I'm using lxml it's find 2 tables and not the 3rd which I want. I suspect this has to do with the xpath or the way that specific table is being generated.
I'm trying to get the price history from: http://web.tmxmoney.com/pricehistory.php?qm_s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38128318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: validate and match the zip code with bill/ship country in magento checkout I want to validate the zip code as per bill/ship country in magento checkout process.
entered bill/ship country should matches the entered zipcode.
If the entered zipcode and country did not match - customer should not be able to save the add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36760059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Produce empty list if condition not satisafied I am creating a if condition-based list. I want to create an empty list if the condition is not satisfied.
My code:
ip_list = []
op_list= [ip_list[0] if len(ip_list)>0 else '']
Present output:
op_list = ['']
Expected output:
op_list = []
A: This can be accomp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67542590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ng2-smart-table: is possible to pass data rows without keys? I want to pass to my data table some values as rows, like the following:
["ab", "b", "c"]. So, my json is just an array that doesn't have any keys, just a value. I know that we need to have a keys for each element that is the same of the column, but is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45954212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Saving file properties results in Value does not fall in range exception I have the following code that is supposed to retrieve a canvas, save an image, and then write File properties to it. Sadly, it crashes when trying to save the properties. They are in string form, and the Property requires a string too, so I do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47763281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Renaming coat colors in R goes wrong with str_detect I have a dataset with horses and want to group them based on coat colors. In my dataset more than 140 colors are used, I would like to go back to only a few coat colors and assign the rest to Other. But for some horses the coat color has not been registered, i.e. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66637532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PostgreSQL - "Include Error Detail" connection string parameter - how sensitive is the information returned? https://www.npgsql.org/doc/connection-string-parameters.html
Include Error Detail -
When enabled, PostgreSQL error and notice details are included on PostgresException.Detail and PostgresNotice.Detail. These... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74141729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reading from a pre-populated database file for android I followed this tutorial at this page. I followed it thoroughly but I still can't get the prepopulated database file to work. I keep getting an error saying .getReadableDatabase or .getWritableDatabase is called recursively. Also tried the solution of the answer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6910099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Localized dates inconsistency I am localizing my date strings, but having issues.
I expect UK locales to have dayOfTheMonth then Month while US ones to have Month then DayOfTheMonth.
It seems to be the case for getMediumDateFormat but not for getDateFormat.
If I use:
android.text.format.DateFormat.getMediumDateForma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33711706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Yeoman/Grunt clean:dist task property undefined I'm new to grunt and having trouble with the clean:dist task for grunt-contrib-clean. This is my code for the task.
clean: {
dist: {
files: [{
dot: true,
src: [
'.tmp',
'<%= yeoman.dist %>/*',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25771696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Phone Emulator error, Hyper-V components not running, Windows 8.1 hosted in Windows Azure Environment:
Windows 8.1 Enterprise 64-bit hosted in Windows Azure
Visual Studio Ultimate 2013 (Update 2)
I get the following error when trying to run a very simple phone app. I know MS says a VM-within-a-VM environmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23794062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Class with multiple interfaces i have 2 interfaces inter1 and inter2 and class that implements both of them:
public interface Interface1 {
method1();
}
public interface Interface2 {
method2();
}
public class Implementer implements Interface1, Interface2 {
method1() {
// something
}
met... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32639090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to set Image as pdf page background I'm having problems to use an image as background in table column. I need the image to be the background of each page in pdf.
The image is being displayed but it seems to be zoomed in. It sizes are width : 2487px, heigth : 3516px (width : 21.06cm, height : 29.77cm).
This is m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26178863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Magento manipulate weight on checkout I have simple products in Magento 1.9 that I can combine ship and would like to change the total shipping weight at checkout (and in shopping cart view for shipping estimate calculation etc) based on sku. For example, if one or two widgets with the correct sku are purchased, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42933786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: sound for notification I want to play an mp3 sound when my Notification is triggered. For this, I have put an mp3 file in my "res/raw" folder and used the following instruction:
notification.sound=Uri.parse("android.resource://"+getPackageName()+"/" + R.raw.mySound);.
But I am getting no sound when the Notification... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13421176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: XAML GridView to GridView Drag and Drop Mouse vs Touch Here's XAML code where you can drag and drop GridView elements between different GridViews, however, this approach only works with mouse input and just partially with touch input.
With touch input the elements "unlock" from the GridView only on vertical drag. On... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16483739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get the connected SSID in Xamarin.Forms? I need to get the SSID of the current network that I am connected to.
Here is the code I used to find the SSID in Xamarin.Android:
WifiManager wifiManager = (WifiManager)(Application.Context.GetSystemService(WifiService));
if (wifiManager != null)
{
var ssid = wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60486196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Formula to reference data from a PivotTable I am having some difficulty writing a specific Excel formula. I have a summary sheet that pulls data from various other sheets extracted from a database. One of these is a PivotTable whereby using the Item Number in the first column and the dates along the top row as a ref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18012089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How Would I replace a string if its input in a certain order? var xboxConverter = {
"1" : "Up",
"2" : "Down",
"3" : "Down Foward",
"4" : "Backward",
"5" : "Standing",
"6" : "Forward",
"7" : "Up Backward",
"8" : "Up",
"9" : "Up Foward",
"236S": "Quarter Circle Special",
",": " ",
"H" : "B",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70416467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to bring BigDecimal to fractional power? BigDecimal was the choice to store numbers that have up to 5 digits after decimal point. I need to raise the BigDecimal to fractional power (up to 2 digits after decimal point).
For example I have to bring 9.09671 to power of 1.51. Do I need some conversions from/to BigD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28242717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: multi-part identifier could not be bound on insert from another database on another server I am trying to insert information from one database on one server into a table on another with out inserting a duplicate and i get the title error. here is the code
INSERT INTO [Datamaxx].[dbo].[data_job_t] (JobCode, Descripti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19056006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: image auto rotate counterclockwise when width is less than height My all images auto rotate counterclockwise when width is less than height.
Example: this example
Help me please! Thanks!
| {
"language": "en",
"url": "https://stackoverflow.com/questions/51496388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript, find object in list of objects by id I have a list of objects in where I need to find one specifically by an ID. So very simply like so:
{
{
"id": "1"
},{
"id": "2"
}
}
I have a function where I want to find the object by it's id, that does not work like so
function findOb (id) {
return ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33269048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does Azure TableQuery handle continuation tokens internally? I'm trying to find a definitive answer to the question of continuation tokens and the Azure Storage Library 2.0, as there seems to be significant differences between pre-2.0 versions (StorageClient) and the current version (Storage).
Aside from the MSDN do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16017001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: pulling out list from wordpress post I want to pull out the list (ul) element from my wordpress post(s) so I can put it in a different location.
My current css pulls out the images and blockqute and puts just the text
html
<?php
$content = preg_replace('/<blockquote>(.*?)<\/blockquote>/', '', get_the_content());
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37585007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android java.lang.OutOfMemoryError: GC overhead limit exceeded I got an error as of title. I know there are many answers but it didn't works.
What I did already,
First.
add code on build.gradle(Module:app)
"multiDexEnabled true" at defaultConfig &
"compile 'com.android.support:multidex:1.0.1'" at dependencies
add ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43003151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ist possible to convert my own HTML to PDF, without breaking the pages, preserving the formatting and supporting the hyperlinks? I have already searched for many questions at Stackoverflow, but I really didn't consider the questions and the answers for my needs. DocRaptor is really not a good app because it breaks t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13814875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: is there a way to allow a phone "-" in phone format using numeric in vuelidate? I'm using vuelidate to validate a form in VUE build. I have a phone number input that needs to be formatted as 222-222-2222 which I have setup using a phone mask. My issue is now the input will not validate when the phone is filled in. M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65799680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to implement a Master Detail Form as part of a MultiPageEditor in Eclipse? I have created a sample multi page editor via the Eclipse wizard. Now, I want to extend this editor with a Master Detail Form, so basically, there should be two pages, one standard text editor and the beforesaid Master Detail Form.
Please... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34400617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Upload,read and display the image with Tkinter and Opencv-Python I want to upload this file using tkinter method and read it using cv2.imread and display .But i have a problem,this is the code i am using:
wid=Tk()
def myown():
file = tkFileDialog.askopenfile(parent=wid,mode='rb',title='Choose a file')
if file != Non... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36644511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not getting the right result in base64 string when I try to convert base64 encoded string EC Public Key generated on iOS to Java PublicKey As the title suggests I am trying to convert base64 encoded string (EC Public Key) generated on IOS device(Swift) to Java PublicKey which will be used to calculate a Shared Secre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75631098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can display text only when mouse over I have this sample:
link
CODE HTML:
SED PERSPICIATIS
Sed ut perspiciatis unde omnis iste natus error sit
voluptatem accusantium doloremque laudantium,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35255988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C++: Storing user inputs I just want the user to enter some numbers. If the number is -1 the program stops and then outputs those same numbers. Why is that so difficult? I don't understand why the logic is not working here.
For example when the user types:
1 2 3 -1
The program should then print out:
1
2
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17903852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Sending email in Asp.net / C# with attachments - Issues with Gmail In an ASP/C# application I'm sending an email with 3 file attached. The 3 files are the same type, same extension and more or less same size ( but none are empty ).
The email is sent correctly. If I open it using outlook, I have no problems. I can s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59302730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Out of memory errors in Java API that uses finalizers in order to free memory allocated by C calls We have a Java API that is a wrapper around a C API.
As such, we end up with several Java classes that are wrappers around C++ classes.
These classes implement the finalize method in order to free the memory that has b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64264807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hibernate Search Error Can someone help, i'm trying a simple example with hibernate search but getting the following error:
Exception in thread "main" org.hibernate.HibernateException: could not init listeners
at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:205)
at org.hibernate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4906202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Efficient way to calculate average MAPE and MSE in R I have a real data and predicted data and I want to calculate overall MAPE and MSE. The data are time series, with each column representing data for different weeks. I predict value for each of the 52 weeks for each of the items as shown below. What would be the b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43402183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy nodes with changed element values XSLT I have input xml
<?xml version="1.0" encoding="UTF-8"?>
<catalog>
<cd>
<title>Empire Burlesque</title>
<artist>Bob Dylan</artist>
<country>USA</country>
<company>Columbia</company>
<price>10.90</price>
<year>1981</year>
</cd>
<cd>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51476738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mongodb query about listing one field as an array with all collections in detailed Assume I have db structure as;
[
{name: "alex" , age: 21, school: "x university" },
{name: "felix" , age: 24, school: "y university" },
{name: "tom" , age: 43, school: "z university" }
]
I want to write a query to get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44495413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the difference between margin and padding in html? I have made a educational website and I am facing problem to set the paragraph block in the on the background page. So kindly help me.
I was trying to manage the text on the background image but it was coming on the top-left of the image.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/74687207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate cubes and functions inside AnyLogic? I have a AnyLogic simulation which is set up to use system dynamic to calculate the power of a cyclist.
For part of this I need to calculate the cube of a function and then "sin(tan^-1) of a function". Within a dynamic variable calculation I have tried this code:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67321860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: angular 2 *ngfor custom orderby causing chrome inspector to refresh constantly I have tried to make a custom orderBy pipe in angular 2 (ionic app) and for some reason, it's making the chrome inspector (maybe even the entire app) refresh constantly.
<ion-card class="event" *ngFor="let position of positions | OrderBy ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43671449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP/MYSQL Query as a Function for Multi-Use I am trying to clean a ton of select queries inside about 15 pages of a website and I thought using a function that then I can use to call all the different queries and tables, would reduce the clutter a bunch.
I am running into a problem and can't seem to figure out a wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45282796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R create multiple variables with one condition Is there a simpler way to write it,create multiple variables for one condition? like this
if am == 1 then do;
a="";
b="";
c=;
end;
else if am == 0 then do;
...
end;
The following is the R code I wrote
library(dplyr)
dt1 <- mtcars
dt2 <- dt1 %>% ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72166768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I get rid of this error: error: unreported exception FileNotFoundException; Here's my code. I have to write it without using the FileNotFoundException class. The code reads from a file which contains array info. I get the this error:
F:\FanClub.java:59: error: unreported exception FileNotFoundException; must... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18500920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read and write into a txt file using VB.NET with words in between I want to open a txt file and write into it numbers from 1 to 100 and put between every number enter.
A: One way you could try is to write the numbers into a StringBuilder and then use it's ToString() method to get the resulting text:
Imports System.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3122370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why would one want to predefine a template parameter type in C++? I was writing some code for a project, and I was using a library named APA102. In this library, there is a class titled APA102 defined as follows,
template<uint8_t dataPin, uint8_t clockPin>
class APA102 : public APA102Base {
...
I am confused why an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63006650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: throw MissingPluginException('No implementation found for method $method on channel $name'); i have a flutter app and i use google sign in with Firebase, but i run app and click in sign in button there is an error while debug
if (result == null) {
if (missingOk) {
return null;
}
throw MissingPluginExcepti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66931606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's the difference between minmax() and clamp() in CSS? Both CSS functions clamp the value between an upper and lower bound.
The only difference that I know is that minmax() can only be used in CSS grid.
A: From developer.mozilla.org:
clamp() enables selecting a middle value within a range of values between a d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67821560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does dup work on jagged arrays? I would expect it to duplicate only nested arrays slices instead of the whole deep copy of array, but suddenly I've got a doubt.
A: ratchet freak is right, it is a shallow copy. You can see the source to the dup function in dmd2/src/druntime/src/rt/lifetime.d. The function is ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19244350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to correctly use PLAY_VIDEO in Mirror API I've been playing around with the Google Glass Mirror API and want to be able to stream a video.
This is the Python code snippet I tried:
def _insert_item_video_stream(self):
"""Insert a timeline item with streaming video."""
logging.info('Inserting timeline item... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18833359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Light UIAlertView/UIActionView customization Would this type of customization be considered App Store safe ?
UIColor *veBlueColor = [UIColor colorWithRed:3.0/255.0 green:147.0/255.0 blue:215.0/255.0 alpha:1];
UIColor *veRedColor = [UIColor colorWithRed:242.0/255.0 green:93.0/255.0 blue:69.0/255.0 alpha:1];
for (UIV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21329590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to keep folder structure while share common code across projects in git? I have the following directory structure that I'd like to keep it while share some of the directories across different projects. I'd like to achieve something like this:
root
|_dir1 (git repo1)
|_dir2 (git repo1)
|_dir3 (git repo1)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70784537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ProgrammingError - sqlalchemy - on_conflict_do_update Following this question:
As Ilja Everilä mentioned in his answer, I created a table object:
from sqlalchemy import *
metadata = MetaData()
idTagTable = Table('id_tag', metadata,
Column('id', String(255), primary_key = True),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49915990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Receive formatted 'multipart/form-data' response in Angular 7.x I am developing an Angular application that shows some images to the user.
I would like to obtain those images from a single REST call to a web service: given the fact i am already uploading the images via a FormData object, i would like to receive tho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54713717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.