text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Display BigInt DataType of length 10 in Excel Sheet using PHP I want to make a excel file by fetching data from database. Every thing works fine but the phone number field return unknown value in excel sheet but it displays correct value in browser.
<?php
include('connection.php');
header( "Content-Type: applic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28074222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Don't show Title FlyoutItem Shell in Drawer - xamarin forms I want to have a Tab Bar and a Drawer in the form
In this form I use Shell
I do not intend to display any Tabbar items in Drawer
now
I created the Tabbar at the bottom of the page once with the following code:
<TabBar Title="Tab bar FlyoutItem" FlyoutDispl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64229556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Azure portal bash file structure for ssh file I ran a bash command from my azure subscription on portal.azure to create a ssh key and it asked me to give the name of the new file but at a location that I am not able to find on my machine. It gave a default path as /home/username/.ssh/id_rsa
I cant seem to find a hom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59941017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is JApplet showing a blank gray screen? So I've been trying to figure out why my JApplet is starting and giving no errors but nothing is showing up. I have an init() method that calls setup_layout(), but I think I may have done something wrong the layouts. Anyone help?
import java.awt.BorderLayout;
import java.a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27048996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Views not laying out properly for iPhone 4 I have laid out my ViewControllers in Storyboard using Auto Layout, and everything looks perfect on an iPhone 5. Now I'm testing for iPhone 4 and things are not in their correct position. For example, I placed a UIView at the bottom of its parent UIView. It's width is the s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23769002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Print inner text of a HtmlContent in a razor view (MVC4) Using MVC, look at this example where we have the following HTML code:
<p>Duma</p><img url='..' /><p>Duma</p>
I would like that print only the content of the tags, as: Duma Duma, removing the image, tags and showing only the text (as innerText)
I tried using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16345787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding end-date of last sickness incident in R I have a file which records when someone was sick, and when they recovered. Some records have several incidents of sickness, and I am trying to add a new column to each row which is "date last sickness ended" (or "date record began" if NA). There are 10,000s of records... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68790050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error: [$injector:unpr] Unknown provider: GetOrdersProvider <- GetOrders <- OrderController I want to do get post actions on different URLs. When I tried to write different factories I guess it could recogine the other factory.
Service.js
var app = angular.module("ServiceApp", ["ngResource"]);
app.factory('GetP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43390014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java Generics: Can you instantiate an object of type parameter inside class constructor? In the code segment below, I want to create the array object inside the GenericStack class constructor.
I understand why this is a problem. As per my understanding, "T" can be any class as far as the compiler is concerned. This ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64614930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java regex extract information out of brackets i cant figure out how i manage to solve the problem of getting information out of square brackets as well as the normal ones. I want the content of them both.
i tried:
Pattern p = Pattern.compile("\\[[^\\]]*\\]");
Pattern p1 = Pattern.compile("\\[|\\([^\\)]*|[^\\]]*\\]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20124866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC Database to list with id reference I'm writing an MVC application and want to query my database with a search parameter and put all of the results into a list. Right now my code to try this looks like:
Character character = db.Characters.ToList().Find(User.Identity.GetUserId());
Which is throwing up a error. Is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23544004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: knitted markdown displayed correctly on browser/viewer but not shown properly inside shiny I have learnt to write markdown in RStudio and able to preview using browser/viewer by compiling the code. But when the same MD is shown inside a shiny app, although most of them shown correctly (including plots), some feature... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48910548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove VIM as my Mac editor vs sublime How to remove VIM (completely) and change my mac command line editor to sublime?
I've spent the last three hours reading the same links on "how to remove VIM" only to get "how to remove MacVIM and reinstall it fresh" Or "How to remove Vim so I can reinstall it on Ubuntu"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67977280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: How do you decrement time for minutes seconds hundredths? Suppose you wanted to set a timer to whatever time you want will be displayed in the form 00:00:00 minutes, seconds, and hundredths. How would you go about doing so? Please any help is greatly appreciated.
Here is the link in JSFiddle:
https://jsfiddle.net/m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34234540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OCaml's let polymorphism implementation I'm confused about let polymorphism in OCaml.
Consider the following code:
A:
let f = (fun v -> v) in
((f 3), (f true))
B:
let f = (fun v -> v) in
((fun g ->
let f = g in
f) f)
C:
let f = (fun v -> v) in
((fun g ->
let f = g in
((f 3), (f true))) f)
For A ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21011349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Flutter Provider/Consumer UI not Updating with Data Change I am new to Flutter and working on developing my first application. I an having trouble updating my UI based on data changes. I followed this tutorial: https://www.filledstacks.com/post/flutter-architecture-my-provider-implementation-guide/ (and added extra ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63081191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you reuse mapping functions on Nested entities in Entity Framework? I have seen multiple questions that are similar to this one but I think my case is slightly different. I'm using EF6 to query the database and I'm using data projection for better queries.
Given that performance is very important on this proj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47210244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Powershell - CreateFromDirectory with excluding some types of file I am using a compress method
[io.compression.zipfile]::CreateFromDirectory($source, $destination)
but i need to exclude some specific file types - like .mp3, .mkv, .avi and such. Unfortunately i wasn't able to find a way how to do that :-(. Does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31386264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Karate check if a phrase available in the response I've a response
{ errors: [
{
code: 123,
reason: "this is the reason1 is dynamically generated"
} ,
{
code: 234,
reason: "this is the reason2 for another random reason"
}
...
...
}
Now when I validate t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73391284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When add a column to a data.table, what's then best way to add if else conditions? For example, I would like to do something like:
dt[isFlag, newCol:= A]
dt[!isFlag, newCol:=B]
Or should I do this?
dt[, newCol:= B]
dt[isFlag, newCol:=A]
Or this?
dt[, newCol:= if (isFlag) then A else B] # this only works if is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18413324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to combine two sql queries result I have designed the following two queries and i can join them with the left outer join to get the required results, but is there any way to just write one query to get the same results? How can i simplify it.
First Query brings total number of prople who have worked on the proje... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21385733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I check.js not working in firefox icheck.js working in chrome and IE but not working in firefox
<script type="text/javascript">
$(document).ready(function () {
$('.check').iCheck({
checkboxClass: 'icheckbox_square-green',
radioClass: 'iradio_square-green',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30087373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Managing List of objects using PrimeFaces 5 I have trouble "managing" List of objects using Primefaces 5.0.8.
I want to create "form" with functionality:
*
*add new objects to list
*remove objects from list
*edit any object from the list
All functionality should be in one page without any dialogs. For li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25918700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pass a Folder and a Variable to Next Macro with Excel VBA I'm using Excel VBA.
In the first macro, I have
Sub SearchReport()
'code here
Report FileSystem.getFolder(HostFolder)
End Sub
Report is the second macro name and I am able to pass the "folder" into this macro
Sub Report (Folder)
'code here
End Sub
How if I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45538565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How will a browser differentiate between XHTML 1.0 and XHTML 5? By my understanding, neither XHTML (1.0, 1.1) nor XHTML 5 required a DTD. If this is true, how will a browser differentiate between the two?
I can only assume that when the browser vendors support (X)HTML 5, all XHTML will be interpreted under XHTML 5 r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1149337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Use column field inside Django filter method I have a field in the database which comes as a string (x). I need to convert it in a format to be used inside filter() method. How is this possible?
Also when field is none i want to use something to return True. Like filter(1=1) to get rid of the error
def DeviceDetailV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60169630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write PIL image filter for plain pgm format? How can I write a filter for python imaging library for pgm plain ascii format (P2). Problem here is that basic PIL filter assumes constant number of bytes per pixel.
My goal is to open feep.pgm with Image.open(). See http://netpbm.sourceforge.net/doc/pgm.html or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4270700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: how do you make a request from client to server locally using fetch without getting an opaque response? I'm running a react app on localhost:3000, and a go server on localhost:8000.
When I make a request from the client using fetch - the response is opaque so I'm not able to access the data.
How do I make a valid c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51297077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simple threading question, locking non local changes Ok first I must preface this question with a disclaimer, I'm really new to threading so this may be a 'newbie' question but I searched google and couldn't find an answer. As I understand it a critical section is code that can be accessed by two or more threads, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4814808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with Q.all where it won't wait for all promises to complete I have put up a small example of my use case, see below (jsfiddle: https://jsfiddle.net/BWNba/165/):
Basically Q.all would only work correctly when the biggest job is processed first. Is there anything I am doing here to get this to work correctly ?
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35681999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: new API key for Filecoin Lotus node I'm trying to generate a new API-KEY for a Lotus node (existing one may have been compromised), but when I run lotus auth create-token --perm read it simply returns the existing key. The docs seem to suggest there is also an authnew command, but lotus authnew create-token --perm r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70699929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Parameter access with in a groovy script in jenkins throws exception I have a string parameter called VERSION which is set to example - 0000
Below is what i am trying in groovy pipeline in jenkins
import hudson.model.*
/*// get parameters
def parameters = build?.actions.find{ it instanceof ParametersAction
}?.param... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48551401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Authentication against VDS LDAP I want to authenticate user against VDS(virtual directory server) using Java.
*
*How VDS is different from LDAP? Or VDS is also working on LDAP
protocol?
Please help with any sample Java code for authentication against VDS
A sample code to authenticate against LDAP is as below
St... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33388306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: binary masks in CAPL CAPL allows bitwise operations. Since writing parsers is becoming a tedious operation these days, I'm wandering if there is a way to write binary numbers for masks, e.g.
variables
{
byte a = 0x03;
}
on key 'a'
{
a &= 0b11; // <- invalid, how can we write this?
a &= 0x03;
a &= 3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61639260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS CGImage leak
I used Instruments Leak, and found something.In my project, I do some stitching job.Then resave with photo's exif. But I don't know where leaks?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/48698016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set up Karate browser capabilities acceptInsecureCerts:true for geckodriver I tried this way to set up the capabilities of my geckodriver for my karate tests.
I am using karate.version 0.9.6
Here is the geckodriver driver: 64bit windows: https://github.com/mozilla/geckodriver/releases/tag/v0.29.1
firefox Ve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68360780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I need to make a reference to a JLabel based off a string So I have numbered JLabels declared like so (In the class)
OP_1
OP_2
OP_3
etc..
And I have a number and a string.
What I want is that when, for example, the number is 2. I want to change the label text to the content of the string. This is part of a method th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34243604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React multiple criteria filtering I created like a shop, it's not for production, just for practice. I want to filter by criteria(size, model), it works when I add model, click filter, then add size, click filter to filter sizes..
Problem is, for example, when I remove all sizes and click filter on size filtering it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52382455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: To pass only incremented value to listview on nextpage I am able to send data on listview in nextpage.But problem is that items with quantity 0 is also passed.I want to show items whose quantity is incremented and not all items present in listview.Here is my code-
MainActivity.java
public class MainActivity extends ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43370771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xpath Newb Needs Help Printing Parent/Path Tags in Output I'm parsing XML files and paring the results down to a specific set of tags, but the output isn't valid XML.
Here's the command I'm running to extract a small subset of tags under the path "joblist/job:"
xpath -q -e '/joblist/job/*[self::uuid or self::group ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75563052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error with multiple dlookup criteria This code produces a runtime error 3464 for dlookup with matchstr_t. I can't understand why as matchstr_v seems to work fine. Any offers? At the moment all I'm trying to do is use the dlookup to flag duplicate start times for appointments.
Dim i, j, clientid, therid As Integer
D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16668401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can I use ggplot2 to visualize this data? data frame
first_name last_name party vote
Ralph Abraham R Yea
Alma Adams D Nay
Robert Aderholt R Nay
I want to display this data in a plot using ggplot2. How would you suggest ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42127467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Get body content from custom react component (Sorry if it's a noob question, I just started using React for a week, and didn't find the answer to this question in internet).
I have React component with two properties which is rendering one of this property into text body of <p>
function Item({ value, text }) {
ret... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68767797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Impossible to find the function setBackground on a object I'm trying to do something like: If the column E has the word ok, column D gets formated as red. Seens preety easy, but something is wrong as I'm not entenring the if. Do u guys know what is wrong? I have read some other topics, but seens preety much the same... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35446020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does one log all exceptions from an ASP.net MVC app How does one log all exceptions from an ASP.net MVC app? Should one use logging to a text file? If so, should this text file be saved to the computer disk or to a table in the database?
A: I use log4net its simple to implement
https://www.nuget.org/packages/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32232856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I prioritize a radio selection across multiple questions using javascript? I'm trying to teach myself how to make a game where based on my selection I get a link to another page (but not send a form - I'm trying to make this show up on the same page). In this scenario I have three questions and what I'd like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48875269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Searchview widget : move search icon to right I have this searchView and i want to move the search icon to the right(if possible)
my xml code:
<android.widget.SearchView
android:id="@+id/searchBox"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginLeft="20dp"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32914469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Running multiple XMLHttpRequests in a loop from an array only returns last request Let me start by saying I'm fairly new to JS (more familiar with looping languages like C), so I have not been able to understand various examples well enough to implement into my code.
Essentially what I am trying to do is request You... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73088361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: For Loop through text file only outputs last line I think I am about to have an a brain aneurysm. I am trying to print the lines of a text file to a new file, but it only outputs the last line. I have done this a dozen times, now I am not sure what I am doing wrong.
for /F "tokens=*" %%A in (results.txt) do (
ech... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48717338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: coldfusion requesttimeout I have a ColdFusion template that executes a long running query. I have increased the request timeout from 3600 to 6600 but my template continues to timeout. I would like to increase the request timeout again from 6600 to 9600 but before doing so I would like to know if there are any disa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12405642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Many laravel apps in one server. How to organize? I'll be setting up a server that will host several laravel applications. There will be a few ones at the beginning, but with time we can end up having dozens of them. Most of which (if not all) will be laravel projects.
I'm not sure how to organize all this. I have s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70095882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Subsetting a data set and plotting means I have a data set including Year, Site, and Species Count. I am trying to write a code that reflects in some years, the counts were done twice. For those years I have to find the mean count at each site for each species (there are two different species), and plot those means.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57967975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why this function is not working without adding double quotes around the arguments? function symbols(shape) {
alert ("This is a " + shape)
}
symbols (circle)
symbols (star)
A: You might be knowing data types in JS.
If you pass circle or star as argument without quotes then the argument will be interpreted a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42117548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: App crash while setting Box APi key I register by app on box.com and get API key and start using it in my xcode project,but app get crash while setting BoxAPI at line:
[Box setBoxAPIKey:@"insert_key_here"];.
The error:
-[NSURL initFileURLWithPath:]: nil string parameter
No idea how to solve this issue.
A: This i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15241046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ros: how to track changes in agents movement I'm a noob in this matter so this question might be a bit dumb but I'm trying to launch a multi agent world file where each agent need to know wHo is closest to it.
What I have by now: multi agent system where each agent has a laser sensor and they all move randomly and c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29628302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make an auto-complete textbox in a winforms desktop application I have a list of words. The list contains about 100-200 text strings (it's names of metro stations actually).
I want to make an auto-complete textbox. For an example, user press 'N' letter, then an (ending of) appropriate option appear (only one ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4629909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Developer Studio BPEL project doesn't recognize analytics extension Using wso2bps-3.5.1, wso2das-3.0.1 and Developer Studio 3.8.0
I'm following a guideline for Monitoring a BPEL Process with WSO2 DAS. I recieve this from inside Developer Studio and my .bpel file:
Error: Extension "http://wso2.org/bps/monitoring/publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37226685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I build easily a static binary to be used inside fakeroot and how? fakeroot seems to build some libfakeroot.a (but inside a .lib directory).
But I am not sure, that the static linker can indeed replace/rename symbols as the dynamic linker can.
A: Fakeroot uses the dynamic linker in order to do its magic (spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8243518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I restrict jQuery UI connected lists drag and drop to single direction I am using jQuery UI Connectedlist
Here drag and drop is working fine with both side from left to right and right to left.
How can I disable right to left ? It has to work only one way, from left to right.
I need also sorting to still w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35477750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to manage contiguous memory chunks in modern C++? I've been doing some low level C++ programming these days and it involes a lot of memory management issue. For example, I may need to maintain a chunk of contiguous memory:
char* ptr = static_cast<char*>(malloc(sizeof(char)*512*1024));
....
do_something(ptr); // ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52902713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Python open() function without variable initialization. Is close() method needed? I trying to understand file operations in Python 2.7. Script bellow is writing contents of input_file into output_file.
from sys import argv
script, input_file, output_file = argv
open(output_file, 'w').write(open(input_file).read())
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34064573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: String Format with undefined number of characters c# So I'm working on formatting a string and I need to line it up in a table, but this string has an undetermined number of characters. Is there anyway to have the string be in the same spot for each column? so far I have:
ostring += "Notes\t\t"
+ " : "
+ e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14023103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Python Module Not Found Error: First function found, but second is not I have a simple dir structure:
project/
__init__.py
main.py
dir1/
__init__.py
foo.py
dir2/
dir3/
Inside of main.py:
from dir1.foo import function1, function2
function1 is imported, but function2 is not, and the following error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36271938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you get Endeca to search on a particular target field rather than across all indexed fields? We have an Endeca index configured across multiple fields of email content - subject and body. But we only want searches to be performed on the subject lines. Endeca is returning matches within the bodies too. How do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15500710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Build failure while trying to update to "org.jooq:jooq-codegen-maven:3.15.1" [ERROR] Failed to execute goal org.jooq:jooq-codegen-maven:3.15.1:generate (default) on project event-dao-jooq: Execution default of goal org.jooq:jooq-codegen-maven:3.15.1:generate failed: Unable to load the mojo 'generate' in the plugin '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68447084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS and HTML doesn't shows properly in iOS and MacOS Safari even Chrome I have the following issue:
I have this under construction state website, https://endertainment.com, it was build with PHP and MySQL from scratch, like any other I did. The issue is when you access the website from Mobile Safari or Safari the we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61767607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get a UTF8 encoded string from a Base64 encoded string in Javascript? AEEAQgBDAGEAYgBj is Base64 for ABCabc however when I run this code:
let a = Buffer.from('AEEAQgBDAGEAYgBj', 'base64').toString('utf-8');
console.log(Buffer.from(a, 'utf8'));
the printed result in the console is <Buffer 00 41 00 42 00 43 00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68358552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check if PDFTOHTML is installed on server I'm trying to check before running a php script if pdftohtml is installed on server.
Is there a way to check if pdftohtml is installed on server (linux or mac) from within the code.
I'm looking for something similar to function_exists()
A:
Perhaps, the following will solve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65197813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does every operation need to be a single Command?
What I want to know:
Does every single operation provided on the list in the background paragraph need to be a single command? What do the single commands do?
Background:
I need to write a program which gets started from the cmd and performs operations on a string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54183000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to click automatically on "Content" button This is element HTML:
<button class="search-vertical-filter__filter-item-button button-tertiary-medium-muted" data-ember-action="" data-ember-action-5975="5975"> Content </button>
Code:
driver.find_element_by_link_text('Content').click()
Even i also tried:
d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48851955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get body of request in ASP.NET Web Api I faced problem like this.
I have method in controller, that receive data in body of POST request.
Here is method.
// POST: api/StartWorkingDays
[ResponseType(typeof(StartWorkingDay))]
public IHttpActionResult PostStartWorkingDay(StartWorkingDay startWorkingDay)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45161946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Cloud Endpoint do not receive a request coming from ORANGE money API I have an endpoint that receives get or post requests from postman or a browser. but when the ORANGE service sends me the request in post I receive nothing.
anxious to believe that the problem comes from the ORANGE service, I went to this si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72976124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQLException Error Says Existing Column Doesn't Exist When running a searchQuery, I get a SQLException error saying that one of my columns cannot be found. This is very confusing, as I reference that column earlier in the code, and the program can find the column just fine at that point. do I have something wrong in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30020380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to return value from addEventListener and use it out When I want to access to variable det out of addEventListener I get undefined.
ElementInfo = function(element) {
var myVar;
this.tagName = element.tagName;
document.addEventListener('Mylistener', function(e) {
myVar = e.detail.workspaceName;
});
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39021300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get all pom.xml present under maven repo Is there any way to get all the pom.xmls which are under http://repo.maven.apache.org/maven2
Thanks,
Vijay
A: As a best practice, you should not scan and parse poms neither in remote nor local repository. On maven central they already scanned and parsed for you.
Just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59047125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set credentials on an Android Webview using secured HTTPS connection I would like to create an Android Webview that connects to a website via a secured HTTPS connection with the use of credentials.
First difficulty was to accept the certificate (private), it was solved with this very useful post.
Second difficulty i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4540972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Draw on desktop (windows/ubuntu) using python I am doing a project in which I need to show lines on window. Also I want to move cursor along the line. I am looking forward to work in python.
How can I do this using python or other languages. Please help me
A: i only just found this out and here you go.
import win3... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32203205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: 'Group by' is not grouping by in the order that I need it to I want to 'group by' beers so that they are grouped together, with the respect aggregate rating and tasters (people who review the beers) listed in separate columns.
Here is my code:
create or replace view tasters_avg_ratings1
as
select a.taster as taster,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74533579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When is the screenshot taken for the app drawer? I have an app with a login page. In the login page, I have a switch to allow the user to show the password they are entering in plain text to ensure they are entering it correctly. However, when I pause the app and the app goes into the background, a screenshot is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25169787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Retaining a value obtained from file within the return value of a method Assuming I will need to access the values contained within a given file a small number of times, from different methods, can I include some sort of boolean value within a method to determine whether or not it is appropriate to call the file?
Le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44474978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook JavaScript SDK help 1002 I am using the jQuery library for authenticating the user, using this script:
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
// Initialize the library with the API key
FB.init({ apiKey: 'SECRET_KEY' });
// Fetch the st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9547380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: whitelist allowed hosts, block everything else using the chrome.declarativeWebRequest, it is possible to execute actions if some conditions apply. The only available Condition is an Instance of declarativeWebRequest.RequestMatcher which is useful to test if the url has some features. I am searching for a way to test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52148330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to list out all the api in an Django application? I have an Django application which is around 4 years old.
I want list out all the api in order to remove all inactive api's from the codebase.
Is there any way to figure out all the API?
The application is based on Djnago. We are using javascript for the frontend... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54860970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: YAML issue when knitting to pdf I have a paper written in rnotebook, which I want to knit to pdf.
this is the beginning of it, including the YAML:
---
title: "Are shifts between points of view challenging for readers? An examination of readers' eye movements in response to Woolf's *To the Lighthouse* and *Mrs Dallow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56968265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using string.prototype.replace with a regexp and a function The following returns 'entiy'. I want it to return 'entity'. How can I achieve this?
'entities '.replace(/\w(ies)(?:[\W|$|_])+/g, 'y');
A: You could change the \w to \B to verify that there is not a word boundary.
console.log('entities '.replace(/\Bies\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40534885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to serve static images in nodejs server using absolute path in Angular 10 img tag? I have been searching here and not finding a solution, so I am asking. How can I serve my static images located in the nodejs server:
public/img
Nodejs (before app.listen()):
app.use("/api", routesIndex);
app.use(express.static(_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63633871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filter Data in Shiny by Clicking on Plot Data Point I Want to filter data by click on data points of plot in Shiny, like we have in powerbi.
i have developed a dashboard in powerbi i want to have a same effect in shiny,
like if i click the data point of plot in shiny dashboard the other plots should drill down in re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53060163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why Radio button selects multiple options when label values are different Having a reusable Radio button component, when the options are using the same value for name it works fine:
const drinks = [
{
label: "Coffee",
name: "a"
},
{
label: "Tea",
name: "a"
},
{
lab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74996452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to correctly use two DatePickerSingle in a Dash Application Hope you all doing well.
I have two DatePickerSingle that I want to integer in a dash application to use them as a filter further. The problem is that my Dash app only returns values of the first DatePickerSingle, but not the second one ..
from dateti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69944527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VB 2008 Express edition vs VB 6 Can any tell me what are the advantages of VB.NET(2008 Express Edition) over VB 6?
Thank you
A: Good comparison you can find in Wiki:
VB.NET
In short: the greatest feature in VB.NET is Managed Code. It also contains a little difference between Long and Integer in VB6 and VB.NET. Ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12769676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VNC feed from a remote server I want to measure the performance of the VNC feed from a remote server. The use case is, there will be a user login to the remote server and doing some operations. There will be many other users viewing these operations through the VNC viewer (ssh connection). Based on the different ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70595866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set a Sharepoint lookup field when inserting a new record in PowerApps I am using the Collect function to insert a new record into a Sharepoint list using PowerApps. There is a Gallery with a list of values from another Sharepoint List. I want to use the Selected value from the Gallery to set one of the field... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58572685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gseapy: how to get gene list used for each pathway I am running an enrichment analysis with gseapy enrichr on a list of genes.
I am using the following code:
enr_res = gseapy.enrichr(gene_list = glist[:5000],
organism = 'Mouse',
gene_sets = ['GO_Biological_Pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72802665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Disable a command box in Databricks notebook I have a Databricks Notebook. My notebook has several command. some of them is just for my test and I do not want ran them on production.
Is there any way to just disable a command. I do not want to delete them permanently.
A: Late ... but ... my solution is to set %md ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63731174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Canceling pending sends errors I am running Selenium WebDriver scripts on Chrome Browser, version 23.
The tests run successfully without any error but there is a message:
[0103/143909:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
[0103/143909:ERROR:ipc_sync_channel.cc(378)] Canceling pending sends
And bec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14148521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Deleting table data from tablespace in Oracle I tried to delete the data from tablespace using the command
DROP USER xyz CASCADE;
I found that user was dropped but size of my tablespace did not decreased.
Is my data fom the tablespace have been deleted? If yes, how can I confirm that? And why was the space not dea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3459533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Influxdb python write_api not write specific fields I am trying to write several points into influxdb by using the python client.
Most of them are working but some specific fields of points are not saving.
Here's my code.
def getPoints(p_zones):
# Writing max values to p_zones and then add to write_api
points = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72438149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: regex excluding time from text I would like to extract time from the text below using regex.
Text: "Media: a few minutes ago, 3:25 pm uts"
Regex pattern to select only time (ex: 3:25) from the above text?
A: Use regex /\b[0-9]+:[0-9]+\b/. Explanation:
*
*\b - word boundary
*[0-9]+ - 1+ digits
*: - literal colon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66362996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Zend_Log with multiple writers in application.ini i have a logger in my config like this:
resources.log.stream.writerName = "Stream"
resources.log.stream.writerParams.stream = APPLICATION_PATH "/../logs/err.log"
resources.log.stream.writerParams.mode = "a"
resources.log.stream.filterName = "Priority"
resources.log.s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7335482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there any Number recognition SDK or frameworks or libraries for iPhone I need number recognition for my project, as i will write the number using touches. i want that to be recognized.
Can anyone Please Help me, provide me any ideas or frameworks or libraries related to this.
A: this might get you started http:/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6235758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.