text stringlengths 15 59.8k | meta dict |
|---|---|
Q: How to prevent lazy loading in partial views, custom Display/Editor Templates?
In my ASP.NET MVC 4 web application, I have utilized partial views and custom display/editor templates to modularize the code. One example is a User.cshtml DisplayTemplate which takes User (an Entity object) and prints out their name and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32671646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring cloud config and Vault Integration I'm trying to read secret values using spring vault. All the properties for client application is stored in github and spring config server is used to access the properties. When I add the vault configuration to client application bootstrap.yml as below, the values are read ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71920016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Does Dynamic Service Discovery Work When Using Docker Compose Or Kubernetes? Let's say I am creating a chat app with microservice architecture. I have 2 services:
*
*Gateway service: responsible for user authentication (API endpoint /api/v1/users), and routing requests to appropriate service.
*Messaging serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52252743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to do a unix find based on size of files, including in subdirectories? Trying to use osx find to find all the files in my directory tree. I googled and SO'd and looked at man but none helped.
So far I have: find -f -c1mb which is clearly wrong.
A: find . -size +20000
The above one should work.
A: I guess yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9577636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: button onclick document instead using in JavaScript file I have some issue which i need to write in js file instead of button on-click someone help me please. I written some code but its not working properly.
Thanks
document.getElementById("box1").onclick = function (box) {
box.style.display = 'block';
};
#... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52793369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can I use nested AsyncTasks to load images in Andorid? I am building a simple app that queries a web service to get URLs for images that I want to download. Right now, I do this by running an AsyncTask that does the query, processes the XML to find the image URLs, and populates an Object with all those details.
I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10529936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make splashscreenimage to work in ios phonegap apps? i'm developing phonegap app 2.9.0 in visual studio 2012 on windows 8. When i run my app in windows emulator everything works fine. I used adobe.phonegap.build to build my app for ios.
And build worked properly and installed that .ipa file in my iphone every... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25405402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Rails, how can you restrict users to specific locations or computers? I am trying to restrict users, allowing them to clock in/out only while they are using a company computer or onsite. Is there a way to do either of these. I would use IP or hostname, but we have a dynamic IP and the hostname is generated from t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31518105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Entity Framework 6: Associating a 'Child' Collection Let's say I have a table that looks like so:
Person
{
int Id,
string Name,
int? ParentId
}
In entity framework, I can add a new property Person Parent and I can tell entity framework how that should be mapped:
HasOptional(a => a.Parent).WithMany().HasFor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24252061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Microsoft Visual C# 2008 Express Edition debugger randomly exit? I am writing a multi-threaded Windows application in Microsoft Visual C# 2008 Express Edition. Recently, the debugger has been acting strangely.
While I am Stepping Over lines of code using the F10, sometimes it will interpret my Step Over (F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/310788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Null Pointer Exception While trying to Connect to FTP server FTPClient mFTPClient;
mFTPClient = new FTPClient();
// connecting to the host
mFTPClient.connect(host, port);
After this line of code, the following exception thrown.
Method threw 'java.lang.NullPointerException' exception. Cannot evaluate android.sys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45499217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accidentally import the MySQL user table into TiDB, or forget the password If I accidentally import the MySQL user table into TiDB, or forget the password and cannot log in, how to deal with it?
A: Restart the TiDB service, add the -skip-grant-table=true parameter in the configuration file. Log into the cluster wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49996494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exclude results from MySQL based on Content I am currently searching my database with the following query. What I really need to do is get 30 results that do not include the tag #DONE# that is contained in the information column. The structure of the database is below:
ID Info1 Info2 Info3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21507728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: actionscript 3.0 I have a picture sliding on my scene, with fade in and out pictures between frames 1 and 100. I would like to create 2 buttons that could go to previous picture and next picture and I just can figure out the code. Need help pls. I tryed like this on last frame, 2 ways:
gotoAndPlay(1);
btnA.addEven... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10833604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Node JS Needle Post Response Body Returned as Buffer I am currently trying to call a remote API from a node.js application that I am writing using needle. The API requires that I make all requests as post requests. when I try to print out the response.body in the console log the only thing that prints out is <Buffer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45602273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement some convenient methods (e.g., flat_map, flatten) on Option? It would be nice if Rust's Option provided some additional convenience methods like Option#flatten and Option#flat_map, where flatten would reduce an <Option<Option<T>> to Option<T>, and flat_map would work like map, but takes a method/clo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/28566531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How to read time from a file without converting My question is general, but I will explain it using a specific example.
Suppose I need to communicate time between two applications. A simple way is to have one application write the output of gettimeofday() (tv_sec and tv_usec) to a file and let the other app read it.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14971546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to submit multiple inputs with jquery Seems I can't google the right answer, because I don't know how to ask the question... So I will try to describe the situation.
I have HTML (smarty template):
{foreach $dns_records as $record}
<tr>
<td class="text-center align-middle">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70783116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parse (possibly empty) text and variable definitions inside brackets I'm trying to parse an input into text and variable items. The input may be empty, have only text items, only variable items, or a mix of them.
The following is some sample input:
<>
<a text>
<an escaped \< and an escaped \>>
<${aVar}>
<a text and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71184509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: asp.net Razor output xml dynamicxml How do you just dump/output xml to the page from a razor macro?
I've got a variable which just returns "umbraco.MacroEngines.DynamicXml" with @field
But could do with just outputting just to see what nodes it contains.
Thanks
A: The problem is due to the Razor Scripting settings ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13441861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Notify Raspberry when a new device is connected (USB,SPI,I2C...) What i´m trying to do is: having a daemon running in the background that notify when a new "wired" device is connected to the raspberry.
Can anyone help me?
Thanks all!
A: You can check udev. It's possible to write an udev rule to achieve the behavio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48784075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle-Apex Switch Item value I have column which is data type number(1,0), I decide to use switch item for this column.
I set custom settings. 1 for On and 0 for off.
When I try to edit column, and use off(0) I get error - Column_name must match the values 1 and 0.
When I use On value all works fine.
A: Goku, in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62071138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: dc linecharts in a composite chart with group reduction using reduce callback methods I want to make a composite chart with an unknown number of lincharts all based on the same dimension but each of them with call-back reduction functions to calculate count, sum and average but every one filtering data for a given f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52896857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby on Rails Fields For Issue I'm new to Ruby. Im working on a project and i got stuck at someplace. I have two html pages, company_profile and job. This job page is rendered inside company_profile page and there is an add job button which renders this. This is inside company_profile.html.erb
<% @job_count = 0 %>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22655407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Scheduling task I am developing a spring mvc project where a notification will send to user mobile.User will select a datetime at format 'yyyy-MM-dd HH:mm' from frontend and save it to the database.when system time reach that time a notification will be send to the user mobile .
I created scheduler like this
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43201358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vue 3 render dynamic comment How can I properly render a dynamic comment in Vue 3? I tried v-html which is not working in my case, for example, https://i.imgur.com/EtrVmGu.png
<template>
<!-- Method 1: not working properly, https://i.imgur.com/EtrVmGu.png -->
<template v-html="COMMENT" />
<!-- Method 2: does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65091348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: May I place | {
"language": "en",
"url": "https://stackoverflow.com/questions/50643010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Invalid date django form validation I am learning Django and building a CRUD but I'm getting an error in my form validation.
This is the form that ** I created**
class addSignForm(forms.ModelForm):
active = forms.CharField(max_length=10)
class Meta:
model = signs
fields = ("id", "active", "action", "date", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61514598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kendo UI how to get the id of elements during drop event? I have the following HTML and would like to get the DOM elements for the elements involved in the drag and drop event. Also, if you could tell me how i might be able to figure this out using debugger, that would be even better!
Here is the code:
<div class="d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24247132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Avoid Terraform module to create duplicate resources? I have the following project structure to build Lambda functions on AWS using Terraform :
.
├── aws.tf
├── dev.tfvars
├── global_variables.tf -> ../shared/global_variables.tf
├── main.tf
├── module
│ ├── data_source.tf
│ ├── main.tf
│ ├── output.tf
│ ├──... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56630717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Square root inside a square root python I was wondering how to write a code showing the square root inside a square root. This is what I have so far:
number=float(input("Please enter a number: "))
square = 2*number**(1/2)**(1/3)
print(square)
But that's not right as I'm getting a different number from the calculato... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19962950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running rospy dependent file in Github Actions I'm trying to implement CI with Github Actions to a repository. In the workflow, I would like to run a test script using pytest. However, the test script and the script it is testing had a rospy dependency, although the dependency is not vital to the test, where it is p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62811744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the correct way to resolve warnings at Redis startup when using Docker? When I run my Redis Docker image, I face these warnings:
# Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
( ... )
# WARNING: The TCP backlog setting of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40974024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Get vs Post Auto Mapping dates C# I am having some confusion figuring out why I am experiencing the following:
If I using jquery AJAX to "post" some Json data containing a date to an MVC controller the automapper maps the date in the format dd/mm/yyyy however if I use "get" instead the automapper seems to convert th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17750354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set Meta Tag With jQuery I'm having trouble with a mobile page that uses a site of ours in an iframe.
It works fine on desktop but on mobile the page doesn't resize correctly. Based on internal testing it seems that the page is missing this meta tag:
<meta name="viewport" content="width=device-width, initial-scale=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45226763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling multiple httpclient that contain two different base address I have read up on named clients and typed clients in order to achieve my ultimate goal. However, I still do not understand how I need to implement either or. I have a blazor server side project that in the startup.cs file I have it set up as
service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68089733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to create directory in External Storage public directory I am attempting to create a directory and file so that I can store files that I have downloaded from the Internet. However, I am unable to create the directory and file in the external public storage. If I write to the external private storage (specific... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32546708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Accumulate promise values "functionally" Say I have this:
function getAllPromises(key: string, val: any): Promise {
const subDeps = someHash[key];
const acc = {}; // accumulated value
return subDeps.reduce(function (p, k) {
return p.then(v => getAllPromises(k, v)).then(function (v) {
acc[k] = v;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43446823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Protect sidekiq admin with devise (documented way not working) I have an app that uses devise/omniauth for authentication, and runs a bunch of sidekiq workers.
I would like to protect /sidekiq and /sidekiq_monitor routes with devise as well, but so far I am running into a lot of trouble doing that.
The documented ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35995794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tomcat + Grails cluster doesnt work I have a Tomcat cluster over Debian Jessie, Tomcat 8.0.29 2 instances , PostgreSQL 9.5 ,Apache 2.4 , Mod_jk. When I try to run my project in this environment I get eerror. I tested with examples project and it works fine. My log iis this
01-Feb-2016 19:07:39.474 SEVERE [main] org.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35164534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Bootstrap 4: I'd like my columns to take the full width of my container I would like my columns to take the full width of my container, I have tried many things but haven't find a solution how to fix it.
Here's an example of what I want:
While it looks like this for now:
See the little red arrows? This is the spac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64424545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Are variables de-allocated when they go out of scope Given this code snippet
def doSomething() = {
val associations : HashMap[Int, Int] = function_that_create_a_hashmap
println("something")
}
When doSomething terminates is the variable associations de-allocated? Should I call some destructor on it (maybe .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15884872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook SDK Graphrequest returns null Using Facebook SDK 4.4 in Xamarin.Android project. I have the following method :
protected override void OnCreate(Bundle savedInstanceState)
{
LoginButton button = FindViewById<LoginButton>(Resource.Id.FbLoginBtn);
button.SetReadPermissions(new List<string>{ "public_profile",... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56045692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why there is no Server Name under integration services in SSMS? I cant connect to Integration Services in SSMS there is no Server Name under it when I browse , if I type manually the server name based on how other services have it says class not registered
A: If someone else has the same problem the reason was be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58779894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mystery gaps in CSS Grid In the snippet below, there are gaps above and beneath 'main' area which suppose to be an empty cells with the same height as the grid cells. Also there is an empty space at the very bottom.
I've tried setting grid-auto-flow to different values, but there is no effect except for the very bot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58131619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is setting my webserver to https, also securize my ajax call? Imagine I have a small webpage I browse in https with a signed certificate that load data with an ajax call like this:
$.ajax(
{
type:"POST",
url:"ressource/js/load_footer.php",
data:"page="+variable,
success:
alert("poney");
}
)
Can I assu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22986174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use mechanize to fill search form and get results back? i am trying to use mechanize with python to search for a keyword using a a search form.
this is the form code :
<form id="searchform" action="http://www.example.com/" method="get">
<input id="s" type="text" onfocus="if (this.value == 'Search') {this.valu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24948776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: T5Tokenizer and T5EncoderModel are used to encode sentences then nn.TransformerDecoder to decode to a 2-label tensor. It gives error Used T5Tokenizer to tokenize a sentence then T5EncoderModel to encode. Finally, used the pytorch nn.TransformerDecoder to decode it. The target vector is a torch.tensor [y1, y2] where ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71513200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the correct way to encapsulate factory methods from derived classes when implementing factory in base class? I am trying to create simple class with ability to register derived classes for creation from base class. However I cannot find a good way to encapsulate this functionality from descendants.
Class var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55381868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Clarity on Docker Container IP addresses for API requests I want to be able to connect to a third-party .NET API I am running as a docker image within a container. When I connect to the ip address and port on my browser it works though when I try and run a get request in python it does not. I am not sure what I am d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75005705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: Transaction has been reverted by the EVM Following a tutorial online to learn about minting NFTs - https://blog.logrocket.com/how-to-create-nfts-with-javascript/
I keep getting this error, and I've tried reviewing different posts but I still can't seem to bypass it.
(node:28474) UnhandledPromiseRejectionWarni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70230855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shell program to print the first and last parameter and their sum I want to make a shell program which prints out the first and the last parameter, then it prints out their sum. Here is my code, but it gives an error and doesn't work, can anybody help?
echo "How many parameters do you want?"
read param
echo "You en... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53244621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c# 6.0 and reflection, getting value of Property Initializers I've been trying to experiment with reflection and I have a question.
Lets say I have a class, and in this class I have a property initilized with the new feature of c# 6.0
Class MyClass()
{
public string SomeProperty{ get; set; } = "SomeValue";
}
Is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33383991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Why no output from Kendo-UI template? I am trying to use Kendo-UI templates to display values from a JavaScript array, but nothing is appearing in the HTML.
<script id="javascriptTemplate" type="text/x-kendo-template">
<table>
# for (var i = 0; i < tableData.length; i++) { #
<tr><td>#: table... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13349314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In SignalR Core how can i exclude a connection from being notified The scenario is as follow:
I have multiple WPF clients that have a SignalR connection with a server. One WPF client calls a REST API to generate an order. The server would like to notify all WPF clients that an order was placed except for the WPF cli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69901447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: inside cfscript component I'm making components for a site and I'm wondering if I can return a cfform inside a return variable from a component and force coldfusion to output it parsed.
Obviously using "writeOutput(")" doesn't work.
How could I achieve this?
Thanks for your time!
A: You can't return a cfform, beca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4805343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Separating DOM elements for click events I have a website which displays search results. The results are displayed with headline information of the full item. The html of each search result looks like this:
<article class="search_result" onclick="location.href='#';" style="cursor: pointer;">
// Search result data
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18774143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: is there a way to trigger 10 scripts at any given time in Linux shell scripting? I have a requirement where I need to trigger 10 shell scripts at a time. I may have 200+ shell scripts to be executed.
e.g. if I trigger 10 jobs and two jobs completed, I need to trigger another 2 jobs which will make number of jobs cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64608106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C#: HtmlDocument object has no constructor? What's up with that? It seems the only way to get an working HtmlDocument object is copying the Document property of an mshtml/webbrowser control. But spawning that is sloooooooooooow. I'd like to avoid writing my own HTML parser and HtmlAgilityPack is copyleft.
Are there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/691657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SQLite Stores characters as strings? I am using the System.Data.SQLite ADO.Net Provider to interact with an SQLite DB. I used the following syntax to create a new table:
CREATE TABLE [tb_Replace] ([Character] CHAR(1), [Substitute] CHAR(1))
I then tried to read the data using a simple select:
public static List<char... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14537740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Opening a new page in the program in vb.net (hreflink) how to do that when you clicked the button opened the generated youtube page?
My button code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim buttonele As HtmlElementCollection = WebBrowser1.Doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51351576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Exporting a scene as a GLTF I would like to understand what exporting a scene in a GLTF format entails.
I have a 3D model with high-definition texture maps, materials, yadee yadee yada, and I'm exporting a scene to a GLTF file.
During this process, is there actually any compute involved?
What I mean by that is, does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73109473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create sorted array from unsorted ArrayList I have an ArrayList filled with objects of the class result, each result has an attribute named value. I now want to create an Array which is filled with references to the same memory location as in the ArrayList but now in order where to object with the highest value is i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34567226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Warning: A non-numeric value encountered in PHP 7.3 I have a Wordpress site running on PHP 7.3 and since updating I am receiving the following error on the front end of the website:
Warning: A non-numeric value encountered in /homepages/36/d362586048/htdocs/genag/wp-includes/formatting.php on line 3378
The code on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58457969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Matrix exponentiation becomes too slow I'm currently trying to compute matrix exponentiation, and for that I use the well known algorithm of exponentiation by squaring.
def mat_mul(a, b):
n = len(a)
c = []
for i in range(n):
c.append([0]*n)
for j in range(n):
for k in range(n)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63806578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Laravel 5.8 - Unable to use mail to send emails through Mailgun I have spent three days trying to troubleshoot this and run out of ideas. I am trying to send an email using Mailgun, through Laravel 5.8, when directed to the log, it works fine, but when directed to Mailgun, there are no error messages, no email is s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/56824027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Powershell Cyrillic input encoding through node js I trying to make Cyrillic text-to-speech node js module.
I using node-powershell to run .NET TTS commands. And it works fine with Latin symbols but does not react on any Cyrillic symbols.
However if I input command directly to the Powershell console - it works fine ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43792612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Regarding BigDecimal i do the below java print command for this double variable
double test=58.15;
When i do a System.out.println(test); and System.out.println(new Double(test).toString()); It prints as 58.15.
When i do a System.out.println(new BigDecimal(test)) I get the below value
58.1499999999999985789145284797... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2406207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: The lower value from a tuple of words and values in haskell I'm trying to write a function that chooses the tuple with the lower value and the tuple is formed by a word and a value.
For example, for a list of tuples like this one: [("CHURCH",262),("PENCIL",311),("FLOUR",175),("FOREST",405),("CLASS",105)], the funct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24964837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTML5 appcache, Get a list of cached files in the client In my project, I'm trying to use HTML5 appcache to cache static resources like CSS and JS, and "user specific" files such as images and videos. When I say user specific images/videos, I'm trying to have separate files for each user and I need to control order ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9193528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Set a max value to a text box in javascript I have a text box in the form which should allow only numeric values that is less than the boundary value 2147483647 (max value of Int32)? Can anybody help me in doing this with JQuery?
I have tried using by adding a validate plugin in eclipse but it is not working.
Than... | {
"language": "en",
"url": "https://stackoverflow.com/questions/16575527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Phone 8 unit testing I want to use unit tests in my Windows Phone 8 C# application. I read this microsoft article about unit testing WP8 applications
I got Visual Studio 2012 Professional, updated to CTP Update 2 (http://www.microsoft.com/en-us/download/details.aspx?id=36539)
But I have not got Windows Phone... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15043777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create a file if the folder is empty I want create a file with some information if the folder is empty.
This is my script :
$fileList = glob('tpe*');
if (count(glob('$fileList/*')) == 0 ) {
$key = 'index.html';
$person = "<title> En cours </title> <p> Le site est en cours </p>";
file_put_contents($key, $... | {
"language": "en",
"url": "https://stackoverflow.com/questions/53005206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can i run an .exe file in pyqt? I want to put an .exe file in pyqt which is designed using a Qt designer. I have managed to show a video captured by openCV. However this time the video capturing file is converted to an executable file. I want to run the .exe file and show the output inside the pyqt UI. I have tried ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49502914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SMTP Data Error when using sendgrid in django I am encountering the following error when I try to send emails from my django app despite having setup sendgrid correctly
here is my configuration in settings.py
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69454049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Url representation in php I am used to representing embedded url information like this:
http://test.com/reports/statement.php?company=ABC&q=1
how would I do it like this instead?
http://test.com/reports/ABC/Q1
A: You need to use Apache mod_rewrite to achieve this.
If your server has it enabled, you could do somet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14426903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Object not found in laravel at localhost I'm new in laravel. I have build a small project but i have faced a problem. Home page working fine but when clicking any inner page browser get Object not found. all route are ok. please help
A: It's sovled by adding .htaccess
| {
"language": "en",
"url": "https://stackoverflow.com/questions/69695679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: dialog has not dismiss() in onitemclick listener AlertDialog.Builder dialog = new AlertDialog.Builder(this)
has not (or not showing) dismiss() method under setOnItemClickListener() ??
particularly this is my code.
AlertDialog.Builder dialog = new AlertDialog.Builder(getApplicationContext());
dialog.setTitle("TITLE")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4443000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Oauth give additional scope when app request login Our app uses google Oauth for app user to sign in. We only request 3 basic scopes: profile, email and openid. We didn't request contact scope. But when user sign it, it ask user to allow this app to see and download contacts. Any help?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/57674075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create Folders based on 6th number in file name, create a folder and move file into that folder First time poster and "very" limited experience. I have been tasked with taking PDF's (about 100,000+-) and sorting them. The file name is 123456700.PDF I would like to separate these files into folders no larger than ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43188879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Increase coloumn width of android tablelayout with gesture I want to Increase width of Android Table Layout with finger touch movement.
I tried it with TouchListener and Gesture. But did not getting the exact result.
Please share some idea.
A: You can get this using GestureDetector.SimpleOnGestureListener. From her... | {
"language": "en",
"url": "https://stackoverflow.com/questions/18619885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Removing using javascript How can i remove entire <tr> from a table using javascript without using getElementByID because i do not have any IDs of table tr or tds
A: Assume your table has id="mytable":
This is how you get all the trs:
1. var trs = document.getElementById("mytable").rows; or
2. var trs = document.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10429848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to update R version in jupytor notebook? I use the latest version of anaconda to create an environment for R to run
But as I open it with Jupyter notebook and useR.version to check the R version,
it shows that my R version is R version 3.6.1 (2019-07-05).
However, the latest R version should be 3.6.3 (2020-02-29... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61742446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PrimeNG how can I change InputNumber typing direction? I'm making a InputNumber Component for prices, but when I type in the numbers I want it to be right to left.
To make an example, let's say we have an input field showing "0.00", if I type key "1", it should show "0.01", if I type key "2", it should show "0.12", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74348011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can we use Feature Importance to Find the 'Worst' Features? I have some data at work that is confidential so I can't share it here, but the dataset below illustrates the point quite well. Basically, I want to run a feature importance exercise to find the top independent features (in this case, RM, LSTAT, and DIS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75380282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mySQL 3 tables are refered in each one im confuse about this ERD since it is refered in each table. First thing I did, was able to create the tables by altering EMPLOYEE table and ADD FOREIGN KEY to the DEPT_CODE at the end, as what I understand in the ERD, my question is how do I add or insert value even there's no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75530809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: better approach to copy portion of char array than strncpy I used std::strncpy in c++98 to copy portion of a char array to another char array. It seems that it requires to manually add the ending character '\0', in order to properly terminate the string.
As below, if not explicitly appending '\0' to num1, the char a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49587698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using the same SQLite3 connection over multiple Python modules I'm coding a Telegram Bot in Python3, using python-telegram-bot. Currently, all the code is placed in a single file (with >1k lines), and the structure is like:
import ...
a lot of bot's functions called by python-telegram-bot
database connec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63416291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: All unique combinations of lists within list The following list is given [[1, 2, 3], [4, 2, 5, 6], [7, 2, 5], [8, 9, 10]]. How can I get all combinations of lists that hold all the combinations of the sublists? The order of the lists in the list does not matter.
For example, here we have two of them: [[1, 3, 2], [4,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60135884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Customizing WordPress theme (Twenty Thirteen). How to remove one title from the header without removing them all I am working on a WordPress theme and I want to edit the page where the title headers are located. (To be more specific, I am working on the'twenty thirteen' theme). Now, I only want to remove the title i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/31753637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Frida crashing when not in console I am getting this error when trying to print all classes or for that matter any js I'm trying to load.
The script is taken from here, it has quite some useful hooks.
The js part is --
setTimeout(function() {
Java.enumerateLoadedClasses({
onMatch: function(className) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48902038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Analyzing Files in a Shell Script I need to write a shell script that takes one or more arguments (filenames). Filenames should be handled corretly regardless of whether or not they contain spaces.
For each file, the script should check if the file is readable, writeable, executable, is a plain file, and is a direc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19970596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Called CKAN package_update - lost all resources? I am running a CKAN installation. I wanted to update a package's name and some other metadata, but not touch its resources. Later I found out that this can be accomplished using package_patch - but before I did, I accidentally called package_update. Now all resources ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50673029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jenkins shell script does not receive the new value of a job parameter I'm observing strange unexpected behavior and want your advice,
whether it's a bug in Jenkins/Jenkins plugin,
or I'm missing the point and should use Jenkins differently.
My task:
I got a freestyle project with an optionally set string parameter.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35085788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Screenshot not created | Unity3d, Android I am trying to create a screenshot feature for my Android-Game in Unity.I got this from code from various sources that and it should work, however I can't find the picture in the file-browser or the gallery for that matter.
void capture(){
foreach (GameObject i in hideOn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34655507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Highcharts Image in Tooltip If we set useHTML: true for the tooltip and include an image, the image displays fine, but all the series data falls outside of the tooltip.
Are we doing something wrong?
tooltip: {
useHTML: true,
headerFormat: '<img src="/images/sample.jpg" width="150"/><br />►... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63440209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need to add Label on UIView programatically based on some conditions using swift I am working on a canvas view where I am trying to add image to a UIView and a text to a UIView, on satisfying some conditions.
The issue is, I am not able to add label to my UIView after satisfying the required condition. I tried this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68889167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are HTTP image URLs not working with Firebase iOS push notifications? I have added following option in JSON playload for iOS push notifications and it successfully shows notifications with image using Notification Service Extension.
"fcm_options": {
"image": "url-to-image"
}
However, when the image URL is HTT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61406492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selecting data from MongoDB where K of N criterias are met I have documents with four fields: A, B, C, D Now I need to find documents where at least three fields matches. For example:
Query: A=a, B=b, C=c, D=d
Returned documents:
*
*a,b,c,d (four of four met)
*a,b,c (three of four met)
*a,b,d (another t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39706250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to pass a string to a function I want to give a string parameter to a function
function test(p)
{
}
...innerHTML = '<div onclick="test(p)"><div>';
That does not work how to do it?
A: As was mentioned in the comments, if you have a single quotation marks/ double quotation marks issue you need to use the \' syn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39729660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.