text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Order dropdown by existing data SQL I have a list of records from a MySQL database. When a record is clicked it takes you to a page where you can update these records. I'm using a HTML form to display the data dynamically.
For example, if a game was released in 2007 I'd have a dropdown box with all the different yea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28344686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read txt file line by line into char array C I know this question has been asked a few times, but never in a way that helps me figure out my problem. Essentially, I am reading four text files, all single words separated by a new line, and wanting to store these in a char array. I first count the number of lines in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39459663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: radio button in datagrid taking different group name? I have a datagrid whose autogenerated column property is true. Each cell of the grid is bound with a radio button. But radio buttons in different rows are taking different groupname where as all of them are to be in same group. Can anyone resolve this? TIA.
int j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10834129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Oracle-update multiple row value where the the id column equals specific values I am new in oracle and I want to update multiple row value where the column id = 1 , 2.
I tried this :
update Tester
set employee_phone_number = ( 0789456123,0789456321)
where employee_id in (1,2);
but it gives me "missing right p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16632534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Good implementations of MVC in PHP I've done some development in RoR and I'm now trying to make something in PHP.
I think the MVC architecture is an ideal frame for my current project (users, application data, purchases, etc.)
Is there implementation of MVC on the web that is recommended or does PHP just not work in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6672511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Enable TLS in bitnami Redis Pod - Certificate issue I am trying to enable TLS in my redis cluster.
Followed this article to create self signed certificate.
https://blog.devolutions.net/2020/07/tutorial-how-to-generate-secure-self-signed-server-and-client-certificates-with-openssl/
After generation of certificates fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71645166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: looping and sentinel values I am trying to find average of inputted numbers by a user. The loop is supposed to repeat itself until the user inputs -9999 (sentinel value) this is what i have so far and it works in idle but the program doesnt end an give me the average when i type -9999. I am new to python and could u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20205847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP dropdown list selected value I have a page with "date" field as drop down list and submit button. When I click on submit the selected value is displayed in grid view in other page.
Now in the grid view I have a field like "edit", when I click on that it is navigated to first page with that date value. The proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5991908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I add an external JS file to my laravel controller file I'm new to Laravel and I wrote a piece of code to extract data from a database and display it in a tabular form using the Ajax.
Now I want to add 'onclick' function to the result. I've tried importing the external JS file but can't seem to get it right... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47998588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trim bar like the GarageBand and iMovie ones I'm creating a Mac app which needs a trim bar like the GarageBand and iMovie ones. I need a library to get the audio waves to draw them on a NSView. Anyone knows a good library for that?
I think he was referring to the track editor (cut/copy/paste/move).
A: There's a co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4438468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Thread safety of the plus operator for Strings, optimizations included This post says that a += b is the equivalent of
a = new StringBuilder()
.append(a)
.append(b)
.toString();
Let's say I have this code:
public class MultiThreadingClass extends SomeThirdPartyClassThatExtendsObject{
public void beg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25442323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Cannot get text of a span attribute using BeautifulSoup I am trying to get from the following
<span id="SkuNumber" itemprop="identifier" content="sku:473768" data-nodeid="176579" class="product-code col-lg-4 col-md-4">ΚΩΔ. 473768</span></div>
the value of data-nodeid
I did the following
price_nodes = soup.find('s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60114339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: using local notification data coming from web service I am new to IOS and wants to used Local Notification feature of iOS.
my problem is i do not know if i can go with local notification. in my case data will come from web service... it is like..no specific date. default time interval is 60 Sec. after 60 sec app ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18996729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create SVG components with scoped CSS I am creating React components that will render out various SVGs:
const Close = ({
fill, width, height, float,
}) => (
<svg width={ `${width}px` } height={ `${height}px` } viewBox="0 0 14.48 14.48" style={ { float: `${float}`, cursor: 'pointer' } }>
<title>x</title>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52388214",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: TFDMemTable lost/clearing data after filtering I have created a FDMemTable with following structure:
Cds_NaMenu := TFDMemTable.Create(nil);
Cds_NaMenu.FieldDefs.Add('ID', ftInteger);
Cds_NaMenu.FieldDefs.Add('MN_TELA_CODIGO', ftInteger);
Cds_NaMenu.FieldDefs.Add('MN_MENU_PESQUISA', ftString, 500);
Cds_NaMenu.FieldDe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45446427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select every paragraph element that is not the first child of its parent What is the correct CSS selector, if I want to select every <p> that is not the first element of its parent?
Like this snippet below, just reverse! (so 'second', 'third', 'fourth' are red, 'first' is normal)
p:first-of-type {
background: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50222828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Internet Explorer 8 adds line breaks after link_to With the following code, IE 8 adds line breaks after the link_to. Its in a <p> tag, so there should not be a line break. Even adding a CSS class to the link_to with display: inline does not help.
<p>After registering, at any time you can click on the "My Profile" li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17516568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error fetching data from api and display it I want to make a get request from my restApi and then display the data in a listView but for some reason it is not working.
The error I'm getting:
The getter 'length' was called on null.
Receiver: null
Tried calling: length
Api call (apiBaseHelper.dart)
Future<List<Post... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63217042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my shellscript execution of a gradle build behaving differently on jenkins than on cli? When I perform ./gradlew build on command line, gradle downloads and unzips the correct wrapper dist version and continues to download dependencies and build the project.
However when I perform the same within a shellscrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47796991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select 2 ajax search fires when pressing ctrl keys I have the following select 2 field:
$("select#edit-property-id").select2({
multiple: false,
width: 150,
delay: 250,
placeholder: "Type",
minimumInputLength: 1,
ajax: {// instead of writing the function to execute the request we use Select2's
// conve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28539665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Upload File to Wordpress with AJAX All,
I'm using a HTML5 uploader to upload some images. This is part of the file that sends the data to my PHP processing script:
var ajax = $.ajax({
url: ajaxurl,
//dataType: options.ajaxDataType || 'json',
type: options.ajaxType || 'POST',
cache... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27852908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating global variable via callback I have the following function
var urls = '';
handleFiles(f,function(url){
urls = urls + url + ',';
console.log("urls is " + urls);
});
I get the url after uploading and update my urls. But my Urls never gets updated, it shows the url of the last file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34524330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to install android app remotely by sending image? Is it possible to install any android app directly via sending any image or directly on clicking on web link?
when anyone click on link or download image application directly starts downloading and install without manual interaction of user without rooting of and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42611084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-10"
} |
Q: LINQ to Entities does not recognize the method NotSupportedException LINQ to EF:
db.ReadonlyQuery<Transaction>()
.Select(t => new ACurrentDayInfo
{
OrderId = t.TransactionIdentifier,
OrderTime = t.TransactionTime,
UserName = JsonConvert.DeserializeObject<User... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37587031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: creating List within a list in recurrsion from string python I am trying to create a list from a string
input string
st = "zzabcxzghfxx"
the list is enclosed in 'z' and 'x'
this is my attempt to create a recursive function
st = "zzabcxzghfxx"
def createlist(strin):
l1=[]
for i in st:
if(i=='x'):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57771027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image Rotates 90 degrees left when resized I have a resize script and it makes every image uploaded 300x300. It works fine when something from computer or mobile is uploaded. The problem is when user decides to take a picture from camera: After the resize script image rotates 90 degrees to the left and it is a probl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71547417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using capacity and time window constraints with pick up and delivery problem I am new to the OR-Tools libraries. I am trying to solve pick up and delivery problem with capacity and time window constraints. The code is working fine with 5 location nodes (2 pick up and 2 delivery locations and 1 depot location). But, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62662956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Running "pub install" for dart-html5-samples leads to weird errors I encountered some weird errors when running "pub install" for dart-html5-samples. The first one was:
Illegal argument(s): join(): part 0 was null, but part 1 was not.
The second one was:
Running pub install ...
Pub install failed, [1] Resolving dep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14166451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Yii2 - Unknown error in renderSelectOptions method when using active dropDownList I'm getting an error when the aforementioned method gets called during the use of activeForm's dropDownList. What's weird is that I have already made other dropDownLists in a similar manner and they're working normally.
The error is:
P... | {
"language": "es",
"url": "https://stackoverflow.com/questions/33797097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Embedding Instagram post using editor js in react-native I'm trying to embed an instagram post using editor js on react-native. I'm unable to find any approaches similar to,
https://www.npmjs.com/package/editorjs-youtube-embed
Any help would be appreciated.
A: This worked for me
Editor JS Links
Simply add as follow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69764987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to control axis number independently of tickSize? Essentially I want to draw something like this: http://i.stack.imgur.com/JEKOg.png (the gridlines, not the graph).
It seems if tickSize is set to one (below) then there are a bunch of lines drawn with their corresponding axis number below them.
xaxis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25333390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to bind linesements point to xml data in WPF I have some data
<Array>
<Element Value="30"/>
<Element Value="50"/>
<Element Value="10"/>
</Array>
Now I want to create a curve using this data. I think to use the LineSegments. But I can't understand how to bind the LineSegment Points to this data?
I me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24796347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: C# XML serializing with attributes for every element I want to create the following xml:
<StartLot>
<fileCreationDate level="7">201301132210</fileCreationDate>
<fmtVersion level="7">3.0</fmtVersion>
</StartLot>
Below is the Serialization code:
[Serializable]
class StartLot
{
public fileCreationDat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15441384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swift Firebase persistence I'm trying to enable Firebase Persistence but my code keeps crashing with:
terminating with uncaught exception of type NSException
I have tried the line of code under my viewDidLoad as well as under DataService but I still get the same crash. what do I need to do to resolve this problem ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44657447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gmail email contents transfer to google spreadsheet I ask for help. Help me to finish the script. It is necessary to transfer the contents of mail gmail, to Google table. There is a script, but it only transfers the date and subject of the letter, and the message itself does not. Help, that it is possible to correct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46835966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: FilteredPaste.js working with textarea I am working with jQuery plugin called FilteredPaste.js that removes all HTML elements when copy and pasted to a input. I want to apply it to textarea element but it does not seems to work. Nothing gets pasted. The example uses contenteditable but I need to use textarea instead... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23588482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating menu for NSSegmentedControl using XIB How do we create menu for a particular segment using xib for NSSegmentedControl ?
A: You just drag an NSMenu from the object library and release it over the segment you want it to be attached to.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/10136862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: While loggin in via fb to website, my function TestApi doesn't collect user data I am trying to create login via facebook on the website. Unfortunately, while user is logged in and the function TestAPI() is triggered, I can't get the data from the user.
function TestAPI(){
FB.api('/me?fields=id,name,email', fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54134979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ember: How to link to sections and actions (without nesting routes) Let's say that I have a blog where each post can have several sections and comments and I'd like to use a hard-links to navigate and operate on this. There are several samples using some pseudo-code, of course they doesn't work, just demonstring my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19888584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to toggle style CSS link "href" on click Jquery Trying to do a dark-mode toggle on click of element
*
*toggle div class = .dark__mode
*css link class = .css-link
*css link href variable = style__old
I am learning jquery and i think there is a major problem with reasoning and structure of code
The link... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61958958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I determine the window controlled by an instance of NSWindowController ? How can I determine the window controlled by an instance of NSWindowController ? According to Apple's docs, sending the controller the 'window' accessor message returns "The window owned by the receiver." But when I use it on an insta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48597571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show loading image on redirection I have two pages x.php and y.php, I am redirecting the page x.php to y.php. I am redirecting the page by form post method.
y.php is pulling some more data from mysql database and it is taking 3 to 4 seconds to load that page, I need to show progress bar (loading image) while page l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9859831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Screen Resolution CentOS 8 - VMware System: CentOS8
I am using VMware ESXi
I can easily change a resolution to 1400x1050, but after reboot/shutdown returns to default resolution (800x600).
I set the .vmx file settings:
svga.vramSize = "67108864"
svga.minWidth="1400"
svga.minHeight="1050"
svga.maxWidth="1400"
svga.ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60395746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sample code for unit testing api controllers Is there an sample code that shows unit testing a controller that inherits from the api controller?
I am trying to unit test a POST but it is failing. I believe I need to set up the HttpControllerContext for testing but don't know how
Thanks
A: this code should demonstra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10042290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(AppModule)[NavbarComponent -> NavbarComponent I am trying to make a login with google Auth on Firebase and when I login and try to load another component or a page I get the following. I have been trying to fix this bug for a whole day now and am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72940586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Insert Multiple Array in Array to Store in Cart CodeIgniter I have array from foreach loop like this :
Array (
[id] => 2
[qty] => 1
[price] => 130000
[name] => 0002/PNBP/411971/1/02/18
)
Array (
[id] => 3
[qty] => 1
[price] => 120000
[name] => 0003/PNBP/411971/1/02/18
)
Ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53729911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to compare two sentences by considering the space only in dynamic portion? I need to compare two sentences. First one is defined in a database like below.
var text1 = "Dear {#dynamic#} {#dynamic#} Welcome to MAX private ltd"
Then the text which comes from customer is given below.
"var text2 = "Dear joe harry We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66623843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Function decide where to store the pallets I would like to store the pallets into pallet rack "PRD6" if my typeID = 1, else I would like to store them into pallet rack "PRD7". My agent type is Pallet. I don't know how to build up the function. I'm currently learning java basics but I don't know either how to declare... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62632714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Opened mat-menu items should be close after other mat-menu items clicked (i.e should be act as an mat-tab) Opened mat-menu items should be closed when other mat-menu items clicked ...
And i tried Mat-trigger methods but no use in that
Here is the code
In that I used an reusable component to trigger data of mat-menu ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73633589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Label position and size i have a network of labeled nodes based on sizes. But I can't get the labels to be smaller and off the node and not overlapping.
import networkx as nx
import matplotlib.pyplot as plt
"Create a Blank Graph Page"
G = nx.Graph()
"Single Node"
#G.add_node(1)
#G.add_node(2)
"Single Edge"
#G.add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68469683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: print all SubClass in a SuperClass and all SuperClass in a SubClass I want in SuperClass print all subClasses and in a subClasses print all SuperClasses:
class SuperClass():
def Print(self):
print('my sub classes are : ')
#print all childs
class Sub1(SuperClass,...):
def Print(self):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32307842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reset form to empty values new to redux-form... I was looking at an example from redux-form docs where one can initialize form values from initialValues (forked example here: https://codesandbox.io/s/6v3n9lwnpr).
Is it possible to have functionality where one can use 'Undo Changes' to reset form to InitialValues, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51842204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Issue in starting the nginx web platform open-resty in wsl-ubuntu I'm currently running Ubuntu using wsl-2 in windows and when I tried out an Open Resty tutorial for dynamic redirection, it was running well.
I configured kind cluster and setup nginx ingress to tryout ingress services and it also worked fine. But aft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75218291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot compare http request response using Result I have a class that defines a send function to make an http request that returns a Result type.
Result is a system-defined type basically is a generic enum that contains 2 possible values: .success(...) and .failure(...)
public typealias ResultCallback<Value> = (Resu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57496016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fultter GridView scrolling I have try to set physics to enable scrolling function, but it will scroll the whole screen.
Only red box available to scroll
How can I set to another Widget is fix position, only enable scrolling in GridView?
Only want to scrollable in GridView, Please refer to the photo, That's is more c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64815398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling tap on Pushpin in a fixed Map I have a Map control showing a few Pushpins. I do not want the user to navigate in the map so I disable it. But I do want the user to be able to tap on a Pushpin (and in the event I navigate to a detail page).
However when the Map.IsEnabled is false, the Pushpins don't seem to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4864243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use table valued parameter with the IN keyword Edit:
I tried to replace:
@LocationIDs NVARCHAR(MAX) = null,
with
@LocationIDs LocationIdArray READONLY,
but now I get an error saying:
Must declare the scalar variable "@LocationIDs".
--END EDIT--
I have this stored procedure that I need to address:
CREAT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48292211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to call custom data from Django User models im using the built in User model of django and have added few custom fields one of them being the user type, i want to set up conditional statements according to the e_type
this is my code.
models.py
from django.db import models
from django.core.validators import MinVa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63760874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get current user in angular using firebase? Currently trying to build an app using ionic v2 & firebase v3.
Unfortunately I'm struggling to simply grab hold of the logged in user's details.
In my app.ts, I connect correctly to my firebaseapp and the logged in user is recognised and the user is shown the homepage:
imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38215511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Database error in model using Code Igniter Error:
(POST http://localhost/codeigniter/Purchase/transaction/update?id=7 500 (Internal Server Error)
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near ''supp_id2` = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48292489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it safe to read a weak pointer while it's being deallocated? Is it safe to read a nonatomic weak pointer from a different thread than the object is being deallocated from?
In general, I know properties should be made atomic whenever there may be simultaneous accesses, at least one of which is a write operation. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30673101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Display external website page in asp .net mvc 5 I am building a website for a class project using ASP NET MVC 5, wherein I need a section of the website to display a page from a different website. The goal is to somehow embed that page in my view, so UI interactions are still possible with the embedded page, as if t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23425510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: In LibreOffice Calc, how do I change through LibreOffice Basic the value of a cell with an event listener set to it without crashing the program? I am trying to create two tables which mirror changes made to any of them to one another automatically.
To that end, I added event listeners which are triggered when the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72064985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why the swift compiler cannot use my subscript? I have code that resembles this
I created custom subscript to do the unwrapping for me to make things easier.
enum MyEnum {
case one
case two
case three
}
struct MyStruct {
static var empty: Self {
return .init()
}
//Some Variables Here
}
cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68524808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to populate my Django Model 'updated_by' field with logged in User automatically using a formset? I am a beginner with Django and I have been enjoying it so far. I figured out how to use model formsets, but I cannot figure out how to make my form automatically use logged in User as the 'updated_by' field.
models... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62097440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deploying with composer on fabric I am looking for the right way on doing a wordpress deployment using
*
*Fabric
*Composer
What I have:
*
*A nginx, php-fpm and mysql plataform running on Ubuntu 12.04 LTS
*A common sudoer user, as example, I will name "deployer"
*A web user name www-data with a group named... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41985861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C Library checksum for binary file in windows and linux I'm using CRC library for checksum, for text file the result same in windows and linux, but for binary file the result different.
I'm using mingw for compiler my c program in windows, checksum result different. is there a way checksum result same between windo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28162496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to change onclick text's position? Hi guys so I'm new to all this html stuff.
Basically;
http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onclick
When i do this the text shows up under the button. I want it next to the button (right)
How can i do that?
A: Add display:inline-block to p tag
Try this. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31704903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Action Script 3 Errors 1061 and 1120 I'm new to this, not sure what I'm doing wrong, Thank you for help
Please see my code below:
protected function getXMLUrl(vid:String):String {
//return 'http://v.iask.com/v_play.php?vid='+ vid;
var rand:* = Math.random();
var f1:* = function (param1:Number) : ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25632894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to draw a point beside a line? I have an arrow that can point at any direction. I need to draw a point alongside, at a specific distance. The point needs to remain on the correct side of the arrow. How do I do this? I know the angle of the arrow.
Illustration:
--->
o
A: If you have a vector representing the arr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10696348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Simple Entity Framework 4 adding object We have an MVC application that creates entity models and stores them in a session. Later on, we want to commit these to the database. Just trying to do a
db.Attendees.AddObject(attendee);
throws the error
The EntityKey property can only be set when the current value of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4169039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to read excel from aem dam and make it available to download for user Please look into image for code reference . Query builder is giving me zero result .
I have uploaded excel file in dam/empexcelfile folder
| {
"language": "en",
"url": "https://stackoverflow.com/questions/51080314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache Camel Hazelcast queue polling This is a first time I am using Hazelcast distributed cache (queue) via apache camel. I created a route builder where I configured a hazelcast-queue endpoint as described in apache camel documentation. Camel route is started but it wasn't connecting to hazelcast (client configura... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71439321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to validate the user has been scroll to top when he click on "back to top" button in selenium I came across one of the scenario where I need to validate the user is scroll to top of the page when clicked on the "back to top" button on the bottom of the screen.
I tried with the following way but that didn't work.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52079127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CMake build with gcc/g++ fails on Windows I've installed CMake 3.14.4 (from cmake-3.14.4-win64-x64.msi) and GCC 5.1.0 (from tdm64-gcc-5.1.0-2.exe) on Windows 7 Enterprise and 10 Home (64-bit).
I'm trying to build a .LIL from cpp/hpp source files github sources. The CMakeLists.txt refers to includes directory from th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56373357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Display Updated Array After Adding To It? Just trying to figure this out, can't really get there...
Basically, I have something in state called "arrayCodes" that is nothing but an array of strings. I want to type in something to add in the textbox, push it to the end of the "arrayCodes", then want the updated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50106164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy data from one table and save it into another table in different database on different SQL Server I have two different databases in two different SQL Servers. The databases are identical in schema but contain different data in one of the tables.
I want to copy all the data from one table in one database to the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35742804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Iterate a File System and write results to CSV file I'm writing a program that iterates a file tree and now I need it to write the results to a csv file. It's required that the contents be sorted alphanumerically before being written to the csv file. So I have been saving the files to a List.
FileInfo fi = new FileI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9068408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django: Image from static folder doesn't load I need help=)
Image from static folder doesn't load.
Version: Django 1.11.3
This is my code:
first_project/first_project/settings.py:
import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
TEMPLATE_DIR=os.path.join(BASE_DIR,"templates")
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62664902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I recycle controllers in UICollectionView's cellForItemAtIndexPath? I am displaying a number of cells, whose content is reasonably memory intensive. I have a custom controller that sets up a view to display the content, and updates the UI periodically. However, often UICollectionView asks for a particular ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27835914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: REST - Canonical URI vs Relative URI (from a user point of view) I'm currently designing a service.
It is a multi-tier service, that stores data from several clients using a REST interface.
It's not clear to me how should I accept a resource id inside the URI.
Let's say the user 001 creates a resource, the first for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13093413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JSON to Python not working correcly I have the following json string
{
"meta": {
"limit": 20,
"next": null,
"offset": 0,
"previous": null,
"total_count": 3
},
"objects": [
{
"id": 1,
"name": "Exercicios_EO_JorgeLoureiro-cópia-não.es... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22922535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does LinkedHashSet extend HashSet and implement Set Opened a LinkedHashSet source code today and found some interesting thing:
public class LinkedHashSet<E>
extends HashSet<E>
implements Set<E>, Cloneable, java.io.Serializable {
The question is: why do they need both "extends HashSet" and "implements Se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2165204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: MongoDB: invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is [{"type":"Buffer","data":[]}] I am currently struggling to find a document with mongodb. I tried several things but can't understand the root issue or find any helpful information. I want to search for the following document:
{"_id":{... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64711304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Draw small circle images over triangle in ios I have a Triangle ,On which I am going to put hollow circles to create a Garland(we can call it rosary).
Each circle is an image which I need to put on triangle on specific place.
Guys, Let me know How would I make it possible?If you need more clarity on this, let me kno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32298425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Possibilities to move file one folder to another on remte FTP server using python Trying to move files one folder to another on remote server using python?
shutil.move(src,dest)
but did not work for me any other suggestion?
now trying with ftplib but could not find correct function.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/55026401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to prevent reloading the entire component on updating some firestore documents? I am trying to build a drag and drop to do list...After every drag and drop position of each element is updated in firebase...This is the function doing so
unfinishedTodos.forEach((each, index) => {
firebaseApp.firestore().collectio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65858735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can print function catch None return value and not print it? I am new and learning Python. What is the best way to avoid printing None in the code below? I commented out raising an error.
I know why None is being printed. I would have liked to have 2 return types for the function but apparently that is bad practice... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41026271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you support swiping to delete a row in a UICollectionView list with compositional layout? Previously with table views this was done in the UITableViewDataSource delegate callback tableView(_:commit:forRowAt:). Is there equivalent functionality in the APIs associated with the new collection views, or a recomme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64231288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I override api_date of themplates in DHTMLX but it is not used? In dhtmlx gantt, you can format input date (from string or any type) into javascript date. This date is used to draw chart. Base on the dhtmlx document, you can replace converter (api_date) by custom function:
I override the function as follow:
gantt.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49943823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular 6: You need to import the HttpClientModule in your AppModule Before minusing, please note that no other issues reported helped me. Looked through the whole stackoverflow regarding this issue.
This is in app.module.ts:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50649321",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Inner working of Integer('string') call? If I want to see if a string is a valid integer, I can do:
puts Integer('1') #=> 1
as any non-integer would raise an error:
puts Integer('a') #=> invalid value for Integer(): "a" (ArgumentError)
If I want to make sure my variable is both a Float and an Integer, I do not wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21235032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect JavaScript events on third party sites Is there any way (implemented or just in theory) that one could detect JavaScript events and actions assigned on a third party site?
If I am injecting JavaScript into a foreign site and want to avoid overwriting onsubmit, onclick, onfocus and other such events, is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12683207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Any class in C# that can tell me clock tick, seconds consumed by a function Is there a class in C# that can give me clock ticks, seconds consumed by a method? I guess I have two wrap that functionality around function to time the ticks and seconds taken up.
A: Use:
using System.Diagnostics;
...
var sw = Stopwatch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4398881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SQL window function is grouped, but still get "must be an aggregate expression or appear in GROUP BY clause" I have a SQL (presto) query, let's say it's this:
select
id
, product_name
, product_type
, sum(sales) as total_sales
, sum(sales) over (partition by type) as sales_by_type
from some_ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66606831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .on('click') event for a single JSON layer, how to? I'm stuck with a problem that I can't find anywhere else on the internet. Or atleast not what I mean.
In my part of code I have made a popup with an map.on('click') event, however I would like the event to be only possible with one layer and only when that layer is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67873737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to give fixed length into chosen.jquery.js plugin? Have a day I used chosen.jquery.js plugin for my dropdownlist but it get width size automatically please somebody know how to choose a fixed length to my all dropdowlists.
Thanks.!
A: I have experienced the same problem with you before. I solve this problem wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19697263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import error when deploying Flask application to Kubernetes (GCP) I'm new to Kubernetes, so assume i don't know anything about deploying applications in it.
I have a Flask application and i'm trying to deploy from Azure Pipelines to GCP Kubernetes Cluster. I've already set up all the environment but, when i launch a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66130336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding date/time intervals from multiple rows T-SQL I have an audit table that stores a master table's "status" values in multiple rows, each row has a date/time stamp. Let's call the master table "Project" and it moves through different status changes: Open, Pending, Closed. However sometimes the Project can move ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31350173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to filter through 2 List > colections to get matching BLOCKS, for the least Time Good day.
I'm new to c# programming.
My current project consist of 2 separate main folders, with multiple folders, with files..of which a number of lines differ in each file. For Folder-A, there's a total of about 4000 files, with a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46634740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.