text stringlengths 15 59.8k | meta dict |
|---|---|
Q: What is this new Axum programming language? I read this story on slashdot today where they announce a new parallel programming language by Microsoft.
What is this new programming language about? It says Parallel Programming. But is it going to be an alternative/replacement for MPI, PVM, OpenMP and similar parallel l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/850870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Unexpected end of MIME multipart stream in reading the second time in Web API at first step I tried to read the contents into MultipartMemoryStreamProvider with the following code
var multipartMemoryStreamProvider = await Request.Content.ReadAsMultipartAsync();
It solve my problem in getting the input File in memo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46766263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how do I accomodate multiple spellings in linux if/then script? I am new to coding and my Linux/Ubuntu assigment is requesting that I accomodate mulitple spellings for the argument in an if/then statement. I can't find anything about this online, at least nothing with these search terms. Can someone help? I am us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59046688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shiny app is disconnecting after 20 seconds on iPhone but not on onePlus I have made a shiny app that is deployed in shinyapps.io: https://hibashaban.shinyapps.io/muddakir/, I have noticed that the app disconnects from the server when I access it on my iphone (whether on chrome or safari) and leave the browser app f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61858104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IIS 7 Redirect using conditions I asked this question previously I think poorly - so here in a nutshell...
I have a chinese and australian site
First Redirect is good
http://mycompany.com/myproduct --> http://mycompany.com/products/myproduct
I also need this
http://mycompany.com/cn/myproduct --> http://mycompany.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7304689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Range piped to Enum.into throws warning I have a range that I am piping to Enum.into ([]) which throws a warning. What's wrong here?
iex(1)> 1..5 |> Enum.into ([])
warning: you are piping into a function call without parentheses...
After adding parentheses
iex(2)> (1..5) |> Enum.into ([])
warning: you are piping ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38699083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Images not loading when deploying streamlit app on GCP I created a streamlit app for data science. The user uploads an image and gets an output with an image displayed, but after deploying the app I'm getting zero rather than an image.
import streamlit as st
@st.cache(allow_output_mutation=True)
def load_image(out)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69253838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Determining a website's 'root' location I need some help with concepts and terminology regarding website 'root' urls and directories.
Is it possible to determine a website's root, or is that an arbitrary idea, and only the actual server's root can be established?
Let's say I'm writing a PHP plugin that that will be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7448944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Updating Status Dialog from Thread in MFC I have a function performing a large amount of work and I want to be able to provide a status dialog in MFC (although I think this question is pertinent to any GUI).
Normally I would just create a thread and then post messages to the main window for updates. However, in thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38079045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jqplot chart with 2 series not displayed correctly I have a jqplot graph that I'm using to display 2 series next to each other. The X-axis is based on a date element and the Y-axis on a percentage value that ranges between -10% en 10%, but that's not really relevant.
Both series have the same number of elements and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26015657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: None of the configured nodes are available: [] In elasticsearch, when I try to create a index and type I got this exception.
"None of the configured nodes are available: []"
The following are the code which I use to create "preparIndex".
public class Test {
static {
CLIENT = new TransportClient().addTran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27816443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: sql get multiple custom post meta values
What I need is a SQL query to go through all the meta_values and look for specific custom meta tags in my case <date1>, <date2> and <date3> and see if they have any value inside the tags and retrieve the post_id and create a array to then create links to those pages (see im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11299886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Insert grid template row (within grid) under condition In a facebook-esque fasion, I'm working in a post with comments. The comments have a int which indicates the id of the parent post. So Comment 1 and 2 both have assigned as parent Post 1.
What im working on is on displaying them as a grid within a grid. Here is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55961505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to select only 1 record with sql query I have a website like ebay with bids, I want to make a notifications mail for users who got outbidded
For example
*
*user 1 has a bid 11$
*user 2 has a bid 10$
I have a table for bids:
id auction bidder bid bidwhen quantity auto_bid
-- ------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18713256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: xcode with IBAction I’m trying to make an app in xcode. I have made a class called myApp.m and .h
In my .m I have these lines of code
- (void)loadApp
AlarmItem *item1 = [[[AlarmItem alloc] initWithTitle:@"TEST2"] autorelease];
NSMutableArray *items = [NSMutableArray arrayWithObjects:item1, nil];
RootViewController ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8095289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Attribute to find out a virtual instance private only or public and private How can we find out a VM has public and private IP or only private IP? Is there any particular attribute in the JSON response for a virtual guest request?
A: Sure take a look at documentation:
http://sldn.softlayer.com/reference/datatypes/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42210090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to dynamically normalize a value based on a match from another column in Tableau Hello I am a new user of stackoverflow, so apologies if I don't follow typical conventions.
sample
Control
Value
Normalized Value (Relative to Control)
a
e
5.5
5.5/5.7
b
e
8.3
8.3/5.7
c
f
6.6
6.6/7.7
d
f
9.9
9.9/7.7
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74806031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Determine which class called an IntentService I am working on a news app. I have 5 categories of news sections. Each tab or section, calls to a different URL and has a separate table in the local database, hence a different URI(using a ContentProvider), when retrieving local data.
I have one AsyncTask that services ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35832511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can you get the version number of your Room Database? I have some code that I would only like to run when I know for certain that the Room migrations I have have completed. Is there a way to find out which version number my Room instance is on? I have the latest code:
@Database(entities = [AnalyticsEvent::cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60999152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Twitter+OAuth Crash on iPhone OS 2.x I'm using Ben Gottlieb's Twitter+OAuth code.
Works great on my 3.1.2 iPhone, but crashes on my 2.2.1 iPhone. I'm getting a EXC_BAD_ACCESS error in the EstimateBas64EncodedDataSize call. Here's what I'm seeing in the debugger:
#0 0x2fe1e724 in __dyld_pthread_getspecific
#1 0x2fe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1796787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Displaying decoded video stream with MTKView results in undesirable blurry output I've managed to create an app that receives a live h264 encoded video stream and then decodes and displays the video with Video Toolbox and AVSampleBufferDisplayLayer. This works as expected but I want to be able to apply filters to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55538310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to specify user specific pre commands in VS Code? We have a slew of folks doing development through the same GitLab repo. We are using VS Code tasks to execute internal commands. The main command is the same for everyone: internal_command on Windows and internalCommand on Linux.
{
// See https://g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70828322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to redirect to another page after 2 clicks? I have a question about javascript. That is:
When I click first click anywhere in the website, this code will be executed
<a href="#" id="btn"></a>
When I click secondary click anywhere in the website, I will be redirect to another page.
How to do that ?
Thank you v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22627155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: VB .NET 2008 datagridview object reference not set to an instance of an object Receiving System.NullReferenceException with my code:
Private Sub dsplay()
ds.Clear()
dgv_tran.DataSource = ds
da = New OleDbDataAdapter("SELECT p.prod_id, p.prod_name, b.cost_ave " & _
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30440546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could the neo4j-bolt-python driver work on remote windows? I ran the Quick Example on https://github.com/neo4j/neo4j-python-driver with two environment.
1. local linux => works well
2. remote windows => seems like run well, however does not create graph.db.
What' wrong with me?
My Debug Log on remote windows :
201... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49214218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best way to display pdf embedded in browser (chrome, IE11/Edge, Safari) I am trying to display a pdf which is created by the GET call of a RESTful service. In the HTML I am using a object tag as below
<object data={{$ctrl.miEstimatePdfData}} type="application/pdf"
width="100%" height="100%" alt="pdf" class="vie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39399499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Xcode 7: UINavigationController's child view controller does not resize to fit parent's bounds I have a UIViewController subclass that I am pushing on to a navigation controller stack within a larger UISplitViewController. However, when I build with Xcode 7, I am finding the that the UIViewController subclass is not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32956355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Variable name depending on a value I would like to create as many vecs according to a variable in a for loop. Is there an easy way?
In the example below, I would like to get 2 different Vec, the first called vec_0 and the second vec_1. Any ideas on how to do it or how can I overcome this situation in another way?
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69601843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: fetch logs for an application in RStudio Connect? Is there a way to pulls the jobs from the logs in RStudio Connect? I know that we can go to the application, click on each job under the logs and look for info but is there a way I can pull all the logs as an API or anything? I am trying to pull the logs, tweak them ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72251443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery menu close after click on link I'm using http://www.hongkiat.com/blog/responsive-web-nav/ this tutorial exactly for my site menu, but the only problem is I am making a one page website. I want the mobile menu to close after I click on 'about' for example. so that it will scroll to the bottom.
I hope you can h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19059619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to match two tables and insert it into another table in laravel 5.4? I need to match two tables and insert it into the disbursment table, so this is my code...
public function store(Request $request)
{
//Approved Request
$approvedRequest= DB::table('request')
->where('users_MemId',Auth::user()->M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47167828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw a line according to screen weight in HTML How can I draw the line showing in the picture below?
my current page looks like this:
I want to add that line at the top with the same title
(just to mention I'm using bootstrap 5)
<div class="container-fluid fixed-bottom" style="margin-bottom: 16px;">
<div ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74144380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get index of regex match in pandas dataframe not working I have an excel worksheet that I am reading into pandas for parsing and later analysis. It has the following format. All values are strings. They will be converted to floats/ints later but having them as strings helps with parsing.
column1 | column2 | column... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59916417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Get values of XML nodes with foreach I am working on a programm with C# and a XML-File. I want to read the values of the xml-nodes but I get an issue with that. In the second part, where I am trying to get the content, it only does one loop and not three. The first values are correct. I don't know why it only makes ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48116139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The correct way to OAuth from a desktop client without a server I am working on an extension which must connect with Facebook to download some user data. I am somewhat new to the details of the OAuth dance, and have not been able to implement this with a desired level of security. In the current setup (which works) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21791631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Elasticsearch aggregation group by using elastic4s I want to query total sum of sales grouped by product name in Elasticsearch
How do I do that using elastic4s?
client.execute {
search ("sales"/ "sales_type")
.query {rangeQuery("date") gte "01-01-2018" lte "31-12-2018" }
.aggs { termsAgg("s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51908862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Match NSDictionary Key Value Pairs I have the following NSDictionary with the following data structure:
Food Count (values) - Food Name (key)
I sort that NSDictionary's food count like so:
NSArray *sortedFood = [[detailDictionary allValues] sortedArrayUsingComparator:^(id obj1, id obj2) {
if ([obj1 intValue... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28933834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to lock a part of a async method in python basically it should be a(name based lock) where name is passed as argument to the method In the below code the test() function waits for the request from UI as the request is received in JSON form it creates a task for every request by calling handle() fucntion
asyn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70506347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EmguCV detect keypoints from 3D Model Is there a way i can retrieve the observed keypoints from a 3D model instead from an image. This is since i need to track an uneven object (simple spaceship right now: http://i.msdn.microsoft.com/dynimg/IC129855.jpg) that can be visible from any side. Currently the system works ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13181929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Positioning 2 QDialog forms relative to one each other I have created 2 QDialogs forms, D1 and D2. How is it possible to make D1 and D2 have a constant distance from each other (If I move D1, D2 also moves and vise versa)?
A: I think it'll end up being a bit tedious but one thing you might try is to have both dialo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42019943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Contact form 7 dropdown not working All of a sudden my drop down lists in Contact Form 7 are not working and cannot for the life of me figure it out. there are two spots where this happens as you can see in the form.
I have already looked into the code but no idea
http://www.aimbookingagency.com/offer-form/
its not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42705899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Code delimiter in Visual Studio I've forgot the reserved word before the # (or is it after?) for delimiter code snippets as I'd like.
You know the ones with the + for expanding the code and - for closing the code snippet. The ones the comes automatically in a class a method etc'...
A: You are looking for #region
#r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28072547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Read list of large .asc type files in python .memory related issue I have a folder with 50 large .asc type files each with size ~2.5Gb. These contains data from CAN signals ,how to read these files using python.I tried using numpy genfromtxt for reading files but having issues related to memory .What is the efficien... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65503696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding suffix to labels on x-axis I need to plot some values referred to time, with specific labels.
You can think of my data like the sample below:
ID Time Clock
260 21 hours 20:30 # this should be referred to yesterday
127 21 hours 20:30
7 5 hours 12:30
10 6 hours 11:30
8 6 hours 11:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67047808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using md-progress-linear inside md-dialog I am trying to use md-progress-linear inside an md-dialog. The code for my progress bar is like below.
<div class="container">
<md-progress-linear md-mode="determinate" value="{{testCounter}}"></md-progress-linear>
<div class="bottom-block">
<span>Loading appli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33823511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scala Spray Templated Custom Routing Directive Okay so.... I have this:
def convertPost = extract {
_.request.entity.asString.parseJson.convertTo[CustomClass]
}
private def myRoute: Route =
(post & terminalPath("routeness")) {
convertPost { req =>
detach() {
ThingHandler.get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37580299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open my jupyter notebook on docker after starting a docker? I wanna start my container and run the jupyternotebook on it. The image is from jupyter/scipy.
First, I start my contianer. Then I try to command 'jupyter notebook' to open it but seems like the port is not 8888, it turns to 8889. I dont know how to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72016021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I was mocking an independent class method using the jest.spyOn but instead of mocked implementation, the actual method is called Class File
//Consumer class
class Consumer {
constructor(){
}
getConsumerData(){
//does something and does not return anything
}
}
Inside react component button click this method is being... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73697848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get WebView Content Size I am looking to find WebView content size to scale data to fit into small size of WebView Frame.
WebView is continuous loading data as getting images from IP Camera so -(void)webViewDidFinishLoad delegate method is not called, otherwise [webview sizeThatFits:CGSizeZero] would give rec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2919113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calculating a windowed weighted moving average where each observation has its own weight I'm trying to calculate a windowed weighted moving average, with a window value of n. I essentially have a set of products, a price for each id, and a reference. I then calculate the ratio of the price with respect to the refere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71470417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Azure Devops: Approval for several Service Endpoints as a whole I´m configuring a YAML deployment pipeline for a certain app which includes several service endpoints (of different types). Deployment of this app must have an approbal from the owner of all these resources. Problem comes from the fact that you can conf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63116785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fetch event .focusout from input field in table cell First, I have a Google visualisation dataTable.
After that I create a for loop to get table cell values and put then in input fields:
for (var y = 0, maxrows = data.getNumberOfRows(); y < maxrows; y++) {
for (var x = 1, maxcols = data.getNumberOfColumns(); x <... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22788237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Write a Python script named ten-sum-even.py which outputs the sum of only the even integers encountered My Attempt:
n = 10
total = 0
i = 0
while i < n:
if i % 2 == 0:
print(total)
else:
print(i)
total = total + int(input())
i = i + 1
Terminal is still counting every number
A: Mistake:
You are on ri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64513019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Rate limiting with lua We have implemented redis based rate limiting for our web service which has been taken from here. I am duplicating the relevant code here.
local limits = cjson.decode(ARGV[1])
local now = tonumber(ARGV[2])
local weight = tonumber(ARGV[3] or '1')
local longest_duration = limits[1][1] or 0
loca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56885604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I add remote repositories in Mercurial? I am working with Git repositories in the following way:
*
*I have the master repository and several remotes on the different production machines.
*I am pushing the production code to the remotes and restart the services for the changes to take effect.
I am abo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4956346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "105"
} |
Q: How to enable HTTP Pipelining with Spray-Can I read on the spray-can docs that it supports HTTP Pipelining. But there is no method or example specified anywhere on how to do it.
A: This is a config setting. See this or this doc for all available settings in Spay config.
This setting turns it on:
spray.can.host-conn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34192217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Access to OctoberCMS page in code? I have a Static Page in OctoberCMS named General that has a bunch of site-wide settings including phone number and address. Is it possible to access this page in code to read these settings from its ViewBag?
UPDATE: a plugin was created with the following, where properties like twi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48985795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Style html table when saving as csv file I have the below table
<table>
<tr><th>Name</th><th>Age</th><th>Country</th></tr>
<tr><td>Geronimo</td><td>26</td><td>France</td></tr>
<tr><td>Natalia</td><td>19</td><td>Spain</td></tr>
<tr><td>Silvia</td><td>32</td><td>Russia</td></tr>
</table>
<br/>
<table>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54292326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fatal Error: Call to a member function write() on a non-object occurs when memory usage is very high I've been working on a web-based application to export database information through PHP. The original version of the application originally generated a single OpenXML worksheet, but ran into the issue that beyond a c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19945098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to make an SSRS cell display either a sub-report or an expression? I have an SSRS report that has a cell which I need to show the value of a Dataset item unless a parameter is selected, in which case I need to display a sub-report in that cell.
I tried setting the sub-report's visibility but then it n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36923234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use VBA to clear content? I would like to have all cells empty after opening my spreadsheet on "ThisWorkbook".
Code:
Sheets("1 - Feuille de Suivi").Range("C19") = ""
and
Sheets("1 - Feuille de Suivi").Liste_cible.Clear
Sheets("1 - Feuille de Suivi").Liste_cible.Value = ""
But it takes a little time before d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/66408382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am failing to run Mule 3 on the command line This is what I get on a pristine Mule distribution:
$ ./mule
MULE_HOME is set to /home/wena/src/mule-standalone-3.1.2
Running in console (foreground) mode by default, use Ctrl-C to exit...
MULE_HOME is set to /home/wena/src/mule-standalone-3.1.2
Running Mule...
--> Wrap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6554910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Django: Put multiple widgets/fields into one field I'm making a form to let users edit their photo gallery. So when I show the form I need 2 fields/widget per photo.
For each photo there will be one
CheckBox(label='Delete photo', value=<Id of photo>)
and one RadioSelect(label='Set as cover image', value=<Id of phot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4712419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mapping 2 columns in pandas to third one I want to create pandas column 'Link' based on other 2 columns (URL and Title) in order to create column which will hold HTML link tag with title in form:
<a href="{}">{}</a>'.format(df['Ad_URL'],df['Title'])
I'm using:
def Ad_Link(df):
return ('<a href="{}">{}</a>'.forma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55234038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to integrate key vault with Bot composer I want to make an http request from bot composer but one thing to pass while making http request needs to be kept a secret. So I want to fetch that value from key vault. Can someone tell how to integrate bot composer with key vault.
A: I'll assume you are using Azure to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67147069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript multiple countdown timers on the same page using dates from django models this is my first ever post so please let me know if I need to clarify anything thanks.
I don't have any Javascript experience and I'm trying to write a countdown timer that runs through a django model's data and displays a countdown... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68640527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: parsing error while parsing document using ow3c.dom.Document object, (Unicode: 0x1a) was found in the element content of the document I am getting error : org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 14515; An invalid XML character (Unicode: 0x1a) was found in the element content of the document.
my x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23100965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Format TextBox While Typing? When the user types in the textbox i want it to format itself with decimals.
For example, if the user types 10000 I want it to show up like 10,000 while he types it.
A: Here you go. Handing backspace/delete made it especially challenging. That was fun! :-)
I have added this to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38726810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to debug application as root in Geany on Raspbian Jessie Having installed Geany on a Raspberry Pi and added the Debugger plugin, I need the debugger to run the application as root as I am accessing the GPIO libraries and pins on the Raspberry Pi.
I usually run the program using sudo ./programName
I cannot find a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34187445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MS Teams - TaskModule close the window I display a third party web page(client page) in the task module
*
*using Deeplink
https://teams.microsoft.com/l/task/botid?url=https:test.com/test.html&height=450&width=510&title=Custom+Form&completionBotId=botid
*new AdaptiveOpenUrlAction() { Title = "Enable MS Team ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62260918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DialogWhenLarge adjustResize not working The activity theme is Theme.AppCompat.Light.DialogWhenLarge. I can not get the activity to resize when keyboard is up. Configuring android:windowSoftInputMode="adjustResize" or getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
has no effect, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29266861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When drilling down, how to retrieve the parent? In a dimension I have
1st layer > 2nd layer
I display a chart with values from 1st layer and drilling down to 2nd layer when clicked on.
Once clicked, the graph displays value for the children, so 2nd layer only.
How do I retrieve and display the 1st layer that was cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51649622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to add an image to be returned by a map in REACT (JS) I'm building a chatbox, on a card I have a messageList that I made with useState:
I'm trying to add images to the initMessageList to be displayed on the card with preview using useRef but it does not show the image (I'm changing the 'messageList' func):
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71867639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Mysql SELECT query returns false when ran in PHP I'm trying:
$mysqli = new mysqli(DB_SERVER,DB_USERNAME,DB_PASSWORD,DB_DATABASE);
$usernames_results = $mysqli->query("SELECT username FROM users WHERE user_id = $member_id") or trigger_error($mysqli->error);
while($user_row = $username_results->fetch_object()) {
// do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32070735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tkinter quit button I just started learning python and I have a problem that I canno't get a button to close my program. The code:
from tkinter import *
import ScoreboardController as SC
class guiController(Frame):
def open_scoreboard(self):
scoreBoard = SC.ScoreboardController("scores.txt")
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52654504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: is_dir folder permission Unix I have a simple PHP script (who.php):
<?php
echo `whoami`;
echo is_dir('/home/pdfs/')?'Yes':'No';
/home/pdfs is user1:www and has 770 permissions.
PHP is wwwrun in the group www.
1) if I do sudo -u wwwrun php who.php I get
wwwrun
No
2) If I do sudo -u user1 php who.php I get
user1
Y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19221619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parsing Adafruit Ultimate GPS in Arduino Im new in Arduino programming and i have quite a problem which is save longitude and latitude values of my new Adafruit Ultimate GPS Breakout. im using the tutorial giving in the website then i tried to apply parsing code in the library
Open up the File→Examples→Adafruit_GPS→... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63988707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: User Initiated Kernel dump in Windows XP I remember watching a webcast from Mark Russinovich showing the sequence of keyboard keys for a user initiated kernel dump. Can somebody refresh my memory on the exact order of the keys.
Please note this is for XP.
A: http://psacake.com/web/jr.asp contains full instructions,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is it Compulsory for FlatList that json response should start with [] always? I was using flatlist to display data and in response I am getting some data.
But, the json response string is starting with the {}braces and not with the []brackets.
So, was Getting below error :
Invariant Violation: Tried to get frame for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51630781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't C compilers rearrange struct members to eliminate alignment padding?
Possible Duplicate:
Why doesn't GCC optimize structs?
Why doesn't C++ make the structure tighter?
Consider the following example on a 32 bit x86 machine:
Due to alignment constraints, the following struct
struct s1 {
char a;
in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9486364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "102"
} |
Q: Why toggling a setInterval() which changes a image source is only decreasing the interval time after each toggle? I tried to toggle the setInterval() function by clicking on an image.
On first click it will start to change the image with a time interval that we set. But after the second click the setInterval() funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44565316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to start TinyMCE 4 in full screen mode? Is there a way to start TinyMCE 4 in full screen mode? I just upgraded from TinyMCE 3.x, but the way it was done in 3.x does not seem to work in 4.x:
<head>
<script type="text/javascript" src="TinyMCE/tinymce.min.js"></script>
<script type="text/javascript">
tinyMCE.init... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22939405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Is there a way to create aws eventbridge rule to apply for only one resource? for example I have a iam eventbridge rule that is triggered for any changes to the roles as below:
{
"source": ["aws.iam"],
"detail-type": ["AWS API Call via CloudTrail"],
"detail": {
"eventSource": ["iam.amazonaws.com"],
"ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73393686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why kernel code/thread executing in interrupt context cannot sleep? I am reading following article by Robert Love
http://www.linuxjournal.com/article/6916
that says
"...Let's discuss the fact that work queues run in process context. This is in contrast to the other bottom-half mechanisms, which all run in interrupt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1053572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: nested if else statment not working via target cell Hi I have a private sub (worksheet by change) which will run one of 26 macro's based on a cells value. All these do is hide or unhide specific row's based on the value from a cell which has a formula in it.
Now when I manually change the value of the cell the work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54981592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to customize some indicators in backtrader When I am using my own method, I met some problems, my program responds: Invalid parameter value for nbdev (expected float, got int)
I am really confused
after several tries, I suppose that the problem is caused because of my indicators.
I hope to learn how to custo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71528168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java script function inside razor block I am calling a EditDetails javascript function on click only if user has Admin permissions else disabling the button.
I see the error
"Cannot implicitly convert type bool to string " at the javascript function name.
What may be the issue?
<img src='../../Images/Edit.png' al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28181825",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Azure API Management does not validate required properties in payload We are using Azure API Management in a project, and we want APIM to be our shield against invalid requests. Since we've already specified what a valid request looks like in our OpenAPI specification and uploaded that to APIM, it seems like a reaso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64782551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Lua support Decorators? I come from a Python background and really like the power of Python Decorators.
Does Lua support Decorators?
I've read the following link but it's unclear to me: http://lua-users.org/wiki/DecoratorsAndDocstrings
UPDATE
Would you also mind given an example how how to implement it in Lua ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3640536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Saving a reference to a int Here is a much simplified version of what I am trying to do
static void Main(string[] args)
{
int test = 0;
int test2 = 0;
Test A = new Test(ref test);
Test B = new Test(ref test);
Test C = new Test(ref test2);
A.write(); //Writes 1 should write 1
B.write(); //... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2940007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: GSON serialize and deserialize a list delegator I have a class that implements a List<T> and wraps an ArrayList<T> to which it delegates.
Something like that:
class ListWrapper<T> implements List<T> {
private String id;
private List<T> list = new ArrayList<T>();
private transient ListList... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25640439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uncaught TypeError: Cannot call method 'contains' of undefined NOTE Please see this question for a bit of background...
So my (very basic) form validation is working - sort of.
When checking the input value for the email address field, I want to make sure that the email address has a value (i.e. is not blank) and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14998257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASP.NET project works on IIS server but not on localhost I have an ASP.NET project that was working fine until today. I added a new webform (.aspx) to the project and it started giving a parse error. I spent hours fixing this issue but had no luck. I deleted all the files and cloned the repo to start from scratch b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69774381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending Email after insertion of data using codeigniter php Sending email after inserting the data into database using codeigniter PHP is not working.Data is inserting succesfully but the MAIL functionality is not working getting as www.hostname.com page isn’t working.Can any one help me this.Thanks in advance.Here ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40261243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Weird PHP session I've got a perfectly functioning site which uses sessions. The only exception, is one particular page. The page performs some DB SELECTS, verification stuff, etc. etc.
Then, later on, in the HTML part, ive got a tag. Between that, ive got
<?php
$classes = explode(",", $_SESSION['classes']);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17637997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why EXPAND_FACTOR is 2 in ImmutableCollections.java Below code comes from Java 11, java.util.ImmutableCollections.java, line 783.
static final int EXPAND_FACTOR = 2;
MapN(Object... input) {
if ((input.length & 1) != 0) { // implicit nullcheck of input
throw new InternalError("length is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59627308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unique link to an artifact deployed to JFrog Artifactory I'm a new Artifactory user. My company just setup Artifactory v6.5.2 and I'm looking to use is for managing software deployed for our production team. What I need is a download link that will get documented in our product management system that directly points... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54990562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best practice for packaging Lua script files to be called from C. Using CMake I'm learning to use Lua to embed in my C programs. I was wondering what they best way make sure that my C program can find the Lua files after it's built. I'm trying to make sure this works with an out of source CMake build.
He... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41387809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MockMvc Integration Test with List of Object as Request Param I am working on a REST service using Spring MVC which takes List of Object as request parameter.
@RequestMapping(value="/test", method=RequestMethod.PUT)
public String updateActiveStatus(ArrayList<Test> testList, BindingResult result) throws Exce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56488012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I apply the same styling to two elements together in jQuery by grouping them like in CSS? This is simply for keeping code neater. In CSS I can group elements like this:
.element1,
.element2,
.element3,
.element4,
.element5,
.element6 {
font-weight:bold;
}
is there anything similar in jQuery or would I have to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15937546",
"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.