text
stringlengths
15
59.8k
meta
dict
Q: How to export event in a DLL? I have the following two classes: public class DLLClass { public delegate void dllDelegate(Object sender, EventArgs e); public event dllDelegate dllEvent; ..... } class AppClass { DLLClass dll; public AppClass() { dll.dllEvent += new DLLClass.dllDeleg...
{ "language": "en", "url": "https://stackoverflow.com/questions/15500205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python socket chat issue I have client and server sample codes. I can send message from client to server and I cant receive message from server to client. what is the issue ? Server.py file #server import socket; import time; HOST = "localhost"; PORT = 5454; s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM); s.b...
{ "language": "en", "url": "https://stackoverflow.com/questions/34263453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Append an elements HTML into newly appended textarea I'm building a website designer and have gotten stuck at a little annoying problem. I made a small example of what I'm trying to accomplish here - http://codepen.io/mikethedj4/pen/KqyaH The code below grabs the html in my canvas, puts it in a textarea when query i...
{ "language": "en", "url": "https://stackoverflow.com/questions/24717055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using FXCop in your project Are there a lot of IT shops utilizing FxCop for writing production code? If so, what was/is your overall experience implementing it in terms of culture shift, pain points, and tangible benefits? I am in an environment that is somewhat chaotic and looking for tools to help us standardize ...
{ "language": "en", "url": "https://stackoverflow.com/questions/1018013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to cast an process instance into it's fitting object maybe my question sounds very strange, but I want to do the following: I have some instances of the Internet Explorer opened (iexplore.exe). When I start my program, it should refresh all the instances of iexplore.exe without opening another instance of it. In...
{ "language": "en", "url": "https://stackoverflow.com/questions/46849885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gunicorn "error: unrecognized arguments --log-file-" I started a Django project and it was working fine in local computer. I deployed it to Heroku and I getting this error: 2019-07-06T10:32:11.836364+00:00 app[web.1]: gunicorn: error: unrecognized argum ents: --log-file- 2019-07-06T10:32:19.185756+00:00 app[web.1...
{ "language": "en", "url": "https://stackoverflow.com/questions/56920284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error deploying Ruby On Rails over CentOS with Apache2 and Passenger I am new on Ruby on Rails and after i have finished my first project and trying to deploy it i found a bunch of error that I do not understand. 0 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require' 1 /usr/lib/r...
{ "language": "en", "url": "https://stackoverflow.com/questions/20387174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: setting the value of a checkbox programmatically in c# (wpf) I'm working on a small wpf project using c#. I have 2 windows. When I go from one window to the next, i need to have some items preselected on the 2nd window. I have a checkbox that I need to set the value based on information that I pull from the regis...
{ "language": "en", "url": "https://stackoverflow.com/questions/3789773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Checking Image size using jQuery validation not working I am uploading an image to the folder but before uploading, I am checking the image extension and size. I am using jQuery validation. I checked on SO before uploading the question and I found the code. But the issue is when I am uploading an image which is less...
{ "language": "en", "url": "https://stackoverflow.com/questions/54455000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Property 'double' does not exist on type 'MyComponent' in vuex-smart-module I have a vue application with typescript. I also use vuex-smart-module. In my component I get typescript error: Property 'double' does not exist on type 'MyComponent'. In the vuex module I defined a getter: class MyModuleGetters extends Get...
{ "language": "en", "url": "https://stackoverflow.com/questions/57757339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change filename after upload Laravel Stapler I'm using the Stapler Lib to make the image uploads. The image's filename is generated by image description field. After the upload, the user can change the image description and after that, I need to update the image filename. Is there a way to do this using the Stapler ...
{ "language": "en", "url": "https://stackoverflow.com/questions/38413206", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MAC VSCode remote ssh extension failed to connect to Linux server I am trying to use VSCode remote ssh extension to access a folder on my school machine. I think initially the connection was established since it prompted me to enter the password. But then the window is stuck, and here is the output: [16:27:58.275]...
{ "language": "en", "url": "https://stackoverflow.com/questions/66217477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: is it convenient to urlencode all next parameters? - django While writing code, it is pretty common to request a page with an appended "next" query string argument. For instance, in the following template code next points back to the page the user is on: <a href="{%url some_view%}?next={{request.get_full_path}} He...
{ "language": "en", "url": "https://stackoverflow.com/questions/1702035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: spring boot use file path both in eclipse and after build I'm developing spring boot program using json input. when I build spring boot from build.gradle file, I copy resources from src/main/resources to deploy/config. Now, I want to use my json file in Eclipse and after build, but file path is different. In eclipse...
{ "language": "en", "url": "https://stackoverflow.com/questions/50385591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: asmx WebMethod caching on POST request in asp.net I am using jQuery to get back some JSON data from the server. I am using a POST verb, but even after setting the WebMethod CacheDuration attribute, the JSON doesn't get cached. I checked the response headers with firebug and the Cache-Control is still set to no-cache...
{ "language": "en", "url": "https://stackoverflow.com/questions/1235652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to redirect an asp page to 2 other pages? I have a web page with checkbox list to choose multiple crystal reports to view. I want to open these reports in new tabs or windows. I tried this : This is the show report button: <asp:Button ID="Button2" runat="server" Text="Show Report" OnClick="ButtonShowReport_Click...
{ "language": "en", "url": "https://stackoverflow.com/questions/7322041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I store recorded data from the NEST simulator in a binary format? I am trying to write spikedetector data into .gdf files in binary format, but I cannot. I am setting the binary param of the spikedetector to True (I checked it using nest.GetStatus) but files are written in ASCII: neurons = nest.Create('iaf_p...
{ "language": "en", "url": "https://stackoverflow.com/questions/67054916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed pushing Python Flask App to Heroku New to Flask and deploying on Heroku, trying to push to Heroku and I get this error when installing dependencies: The pipenv version looks funny not sure if that is correct or how to correct it if that is the error Enumerating objects: 38, done. Counting objects: 100% (38/38...
{ "language": "en", "url": "https://stackoverflow.com/questions/63132290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make babel compile null coalescing operator? A dependency of mine uses the null coalescing operator. Babel can't handle it. Is there any way to make Babel work here? babel.config.js module.exports = { presets: ['@babel/preset-env', '@babel/preset-react'], plugins: [ '@babel/transform-runtime',...
{ "language": "en", "url": "https://stackoverflow.com/questions/70398728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: .attachClickHandler() does not work on page refresh/redirect I'm trying to implement a custom google login button in index.html which works perfectly on page load but does not when the page is reloaded or redirected from another page. On page load, console statements 1,2 and 3 are printed sequentially automatically ...
{ "language": "en", "url": "https://stackoverflow.com/questions/38178520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Remove Paste option from MenuItems in iOS 16 I have a custom menu options written in override func tableView(_ tableView: UITableView, canPerformAction action: Selector, forRowAt indexPath: IndexPath, withSender sender: Any?) -> Bool { } in iOS 16 I see now a Paste option in the context option. I tried to hide it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/73727326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript Mapping Nested Arrays I have an array of objects ("array"), each containing other arrays of objects. [ { name: "Object 1", question: [{value: "This", type: "text"}, {value: "is", type: "text"}, {value: "1", type: "number".] answer: [{value: "Answer", type: "text"}, {value: "is", type: "t...
{ "language": "en", "url": "https://stackoverflow.com/questions/60987262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: issue with adding a method in object I have this object: var Point = { step: function () { alert("hello"); } }; This works:Point.step();. How to make it work with the [ ] notation? Meaning Point["property_name"]. A: It is Point["step"]();. Here is the snippet: var Point = { step: function ()...
{ "language": "en", "url": "https://stackoverflow.com/questions/29386067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JQuery UI - .resizable not working I have looked around and although I have found similar questions to this one, none of them had any solutions that worked for me. Here is a link to another question similar. Draggable and resizable in JqueryUI for an image is not working? <html> <head> <script src="http://code.jquer...
{ "language": "en", "url": "https://stackoverflow.com/questions/16692919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: Flutter How to make two columns in Container? There is a Container, inside you need to make two columns. In one column there will be icons with texts, and in another there will be one icon in the center. More details on the photo enter image description here A: I made an example of what you are trying to achieve: c...
{ "language": "en", "url": "https://stackoverflow.com/questions/62910293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: kickme discord.js command, kicks before can dm Im having some issues getting the command to wait for the bot to dm the user before it kicks them, ive put in a wait 5 second function but it kicks well before 5 seconds is up Below is my code and error. its saying 'wait' isnt defined but ive looked here and used one of...
{ "language": "en", "url": "https://stackoverflow.com/questions/66480486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring MVC: Testing particular annotated method gets invoked In Spring MVC 3.0, how do I test that a particular method gets invoked? For example, I have this controller method: public class myController { @RequestMapping(value = "/create", method = RequestMethod.GET) public ModelAndView create(ModelMap map) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7690425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Updating to Marionette Driver C# Ok so as many of you fellow webdriver testers know the release of Firefox 47 has broken the Webdriver.FirefoxDriver. All the documentation I can find tells me that the new FirefoxDriver is Marionette. So I have downloaded the latest executable from https://github.com/mozilla/geckodri...
{ "language": "en", "url": "https://stackoverflow.com/questions/37890982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Two COUNT and a GROUP BY I'm stuck with this query and I would like to have a hand. So I have two tables : Course and Absence. The purpose of my query is to count, for a student, all his courses and absences for each months of the year. With just the courses, I have this query : SELECT DATE_FORMAT(c.date, "%M") AS m...
{ "language": "en", "url": "https://stackoverflow.com/questions/20129105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Google Sheet Formula: Preventing the serial number of duplicates below to go up I'm currently struggling to assign serial number to a series of dynamic data in google spreadsheet. for example, i have this table below Product Serial Number Apple 1 Orange 1 Lemon 1 Banana 1 Apple 2 Melon 1 Lemon 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74858761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Batch hostednetwork IF ELSE not working I would like to write a batch script, but i'm not very good at it. I want to start my hostednetwork if it isn't running. If it is already running, I want to stop it. Could somebody help me please? This is what I have: @echo off netsh wlan show hostednetwork if not (hostednetwo...
{ "language": "en", "url": "https://stackoverflow.com/questions/22640167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: remote_ip is returning an ip different from whatismyip.com in some cases I am trying to set up some IP whitelisting for a specific controller and I'm relying on the value returned by request.remote_ip def country_whitelist request_country = Custom::BackofficeLibrary.get_country_by_ip(request.remote_ip) head 404 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/42964904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: java.lang.NoClassDefFoundError when trying to run tasks-android-sample I have been trying to run the sample code available at http://samples.google-api-java-client.googlecode.com/hg/tasks-android-sample/instructions.html I have included all jar file needed to resolve the dependencies. My project doesn't contain any...
{ "language": "en", "url": "https://stackoverflow.com/questions/13063485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Screenshots not found in HTML Publisher report after Jenkins build In my index.html file the embedded screenshots are not displayed when using Jenkins with HTML Publisher plugin. The screenshots are shown only when running my tests locally. In the index.html file shown in the HTML Publisher plugin when I click on o...
{ "language": "en", "url": "https://stackoverflow.com/questions/54330073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: why does Scala function accepts case class type for a function argument? Consider the code block. class Evaluation { def evaluate= { println("Charlie...") } } case class Dept(name:String) extends Evaluation def depEval(name:String,f:(String) => Evaluation) ={ println(name) f(name).evaluate } depEval("ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/47982061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Sender address rejected I'm trying to use PHPMAILER, but I keep getting: SMTP -> FROM SERVER:220 smart6.bol.com.br ESMTP SMTP -> FROM SERVER: 250-smart6.bol.com.br 250-PIPELINING 250-SIZE 13312000 250-VRFY 250-ETRN 250-AUTH LOGIN PLAIN 250-AUTH=LOGIN PLAIN 250 8BITMIME SMTP -> FROM SERVER:250 Ok SMTP -> FROM SERVER:...
{ "language": "en", "url": "https://stackoverflow.com/questions/1022472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How this space generate in this flex layout I want to use flex layout to do a navigation.I have 4 li in a ul tag. I want them side by side.But when I use flex layout.There are some place not use. How can I delete the green part. this is my html code. <nav class="nav active" id="nav"> <ul> <li...
{ "language": "en", "url": "https://stackoverflow.com/questions/73837370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Consuming JSON-RPC web services in .NET A business partner has suggested building a web services library with JSON-RPC rather that SOAP. (note they are not building in .NET necessarily, but I am) I am a potential consumer of this data. I've used JSON for client-based Ajax calls in the past, but this web services lib...
{ "language": "en", "url": "https://stackoverflow.com/questions/1061788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: SQL syntax error manual check For the code below I get the error You have an error with your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Name','Score') VALUES('cain','0') at line 1 private void btnSubmitScore_Click(object sender, EventArgs e) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/15417590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Integrations skype and facebook messenger not responding with fulfillmenttext except for google assistant app, all of my integrations are responding with static default response instead of custom fulfillment that i hosted on my server. i already checked request and response json from dialogflow to my server, they ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/54107434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: javaOptions with sbt docker:publishLocal and docker run If I was running my application sans Docker, I would do something like this: ./myapp -Dconfig.file=conf/application.prod.conf -Dlogger.resource=logback.prod.xml In fact, I can do even better and put them into by build.sbt file: // Production Mode javaOptions i...
{ "language": "en", "url": "https://stackoverflow.com/questions/39401111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Importance of filenames when issuing CSR & key file for X.509 certificate I have one confusion while generating CSR and key file. My domain name is like www.abc.example I have to run command like that on terminal: openssl req -new -newkey rsa:2048 -nodes -keyout abc.key -out abc.csr or openssl req -new -newkey rs...
{ "language": "en", "url": "https://stackoverflow.com/questions/52074886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: vault helm chart: Enable prometheus metrics How does one enable prometheus metric collection in Hashicorp Vault when deployed via the helm chart? A: Figured it out. You need to add things like 'telemetry' (and other configuration stanzas) to the server.ha.config data structure in your values.yaml. This will push ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/60715117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kernel compilation fails due to PF_MAX > 44 I have a QEMU VM running an image of the Linux kernel 4.14.78. On the host machine (a server with 96 cores), I am trying to compile a new update for the kernel with some changes I have made. To make this process faster, I was using the host machine to compile for the targe...
{ "language": "en", "url": "https://stackoverflow.com/questions/65672033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Selecting multiple objects using the hitbox when drawing a box in konvajs I'm currently trying to select multiple objects (specifically lines) and adding them to a Group/Transformer by drawing a box. To do this, I followed this very helpful stackoverflow question. After implementing it, I wasn't really happy with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/62908440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: TypeScript types based on capitalization of a key Trying to add types to an existing JS library I'm using. The library unfortunately has a rule that the type of the value in an object is somewhat determined by the capitalization of the first letter of its associated key. I thought something like the below might work...
{ "language": "en", "url": "https://stackoverflow.com/questions/68165564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Html, auth. Getting cookies I'm not quite sure how it works but what I need to do is authenticate with JSON-RPC and then request a page. I have this code to find out if the username and password is right but I don't know how to use this information to request a page.. List<Cookie> cook; public void postData(...
{ "language": "en", "url": "https://stackoverflow.com/questions/10150268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript ArrayBuffer equivalent in Swift or iOS I want to know what is the Javascript ArrayBuffer equivalent in Swift or ios. Basically I have a Swift struct that I want to store as a blob (data stored based on memory layout) and pass this blob to Javascript ArrayBuffer where I can , based on defined set layout ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/54751766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django One-Click Install Image on Digital Ocean So i am trying to follow this tutorial about How To Use the Django One-Click Install Image to deploy my Django 1.7 project in a Digital Ocean Droplet but i am running into some problems. Basically if i do python manage.py runserver 0.0.0.0:9000 everything works fine, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/29560364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set include_directories from a CMakeLists.txt file? I seem to be having trouble setting the include path (-I) using the include_directories() command in CMake. My project directory is as follows: Root | - CMakeLists.txt | - libs | - | - CMakeLists.txt | - | - inc | - | - | - // lib specific includes | - | - s...
{ "language": "en", "url": "https://stackoverflow.com/questions/19460707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "15" }
Q: Can't import an eclipse project into android studio? I am trying to learn android in android studio.Now i imported an eclipse project in android studio and now while trying to run it it is not building.Some problems in gradle may be.. Error:Execution failed for task ':app:processDebugManifest'. Manifest merger fai...
{ "language": "en", "url": "https://stackoverflow.com/questions/25813712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Environment Variables for storing instance data I think that this is a dumb question about Env Variables in node js. My question is, is it ok to dynamically set env variables , for example when the user starts a session. Let's say that I want to store a user's email which will be stored in a env variable and will be...
{ "language": "en", "url": "https://stackoverflow.com/questions/50665416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set this css only works for specified class? Given the following markup: <div class="my_class"></div> and and the following css: .sidebar .nav { width: 95%; } .sidebar-nav{ left: -200px; } .sidebar-nav.active{ left: 0; } How can I make the above styles apply only for children on the my-class class? A: It ...
{ "language": "en", "url": "https://stackoverflow.com/questions/42154407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flurl and untrusted certificates Currently I worked on Flurl and I tried to contact an API in https (I am in my lab). So the certificate is not valid and Flurl can't continue to work :/ Here is my error message: Unhandled Exception: System.AggregateException: One or more errors occurred. (Call failed. The SSL connec...
{ "language": "en", "url": "https://stackoverflow.com/questions/53853081", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: Visual Studio Team Services creates commit on pull request I have three branches master, dev and feature1 (gitflow process). dev and master have branch policies applied (minimum of 2 reviews) so cannot be committed to directly or merged to. Standard setup right? I make some commits to the feature1 branch. I create a...
{ "language": "en", "url": "https://stackoverflow.com/questions/47938940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Calling notes URL from a web page with query string parameters in URL We have a web page with links to Notes client. We can open existing document easily or create a new one with syntax: notes://localhost/__A92574C800517FC7.nsf/company?OpenForm Is there a way how to, in notes client, ready query string parameters pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/72085767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: save disabled on sitecore page editor I'm been working with Sitecore for a while, but this is my first time on the page editor. So, I go to my sublayout and I place a sitecore tag instead a .net tag <sc:Text ID="txtContent" Field="Content" runat="server"/> Content is the normal content field on the sitecore page. W...
{ "language": "en", "url": "https://stackoverflow.com/questions/14899659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What does cmp %eax,0x80498d4(,%ebx,4) mean? I know there are some other questions similar to this, but I'm still having trouble understanding the () part of it. Could someone spell this syntax out for me? Thanks. A: cmp %eax,0x80498d4(,%ebx,4) cmp is the comparison assembly instruction. It performs a comparison be...
{ "language": "en", "url": "https://stackoverflow.com/questions/28801983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: __WFI() will not sleep even with all interrupts disabled and pending cleared - LPC18XX Series Background: I am trying to make my embedded application go to sleep when there is no CAN activity with the __WFI() and then wake up whenever a CAN interrupt is received. Before enterring sleep mode, I disable all interrupts...
{ "language": "en", "url": "https://stackoverflow.com/questions/53242217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Setting Mouse Cursor in WinformsHost I am working on a WPF application that has a WinformsHost element. I try to set the cursor for the winforms host element, but this does not have any effect. I tried to use the ForceCursor property of the window, but this seems to be ignored completely. In my sample window I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/18490782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Visual studio and xamarin using c# releasing on mobile? I am making an android application using visual studio and xamarin using the c# language but when i copy the apk file to the mobile and after installing it doesn't open and give me the message: " unfortunately your app has been stopped " what can i do please i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29680656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Execute a form after System.exit (0); I'm trying to close all open forms with System.exit (0); And then call the loggin but I close the execution of the program. Is there any way to close everything and then call the loggin? Pd: translated with google translator xD regards private void cerrarSesion() { JOptionP...
{ "language": "en", "url": "https://stackoverflow.com/questions/45657153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails 7 Adding an Other text field to a group of checkboxes for the same attribute to save as an array I am developing a Rails 7 application where I need to have an "Other" text field in addition to a group of checkboxes or radio buttons. Right now I have the following for an array for the interests attribute: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71490159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: search with 2 field in generic api view Do you know how can I search with 2 fields with 'and' conditions? I mean in the below code I need to search'search_fields' with symbol name and time_frame,(both conditions together not only one of them) class RegisterSymbolViewSet(mixins.ListModelMixin, viewsets.GenericViewSe...
{ "language": "en", "url": "https://stackoverflow.com/questions/71935480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting Long If/Then Formula into Excel Macro I have a macro that relies on a lot of variables. The way I have it set up (because I know formulas better than macros) is a string of =if(and((etc etc)) statements, and it works, but when I run it, it takes ~20 seconds. I know there's a faster way, but I'm stuck on c...
{ "language": "en", "url": "https://stackoverflow.com/questions/29212780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Has “SLComposeViewController” stopped pre-filling the initial text for Facebook share? I have social share in my app implemented using Apples Social framework. Now Facebook share does bring sharing view controller up on screen but initial text missing. Has something changed? Not only that cancelling call back is c...
{ "language": "en", "url": "https://stackoverflow.com/questions/29999182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How i can cut java stacktrace for selenium test? Same actions for java import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class Lol { public static void main(String[] args) { WebDriver drive...
{ "language": "en", "url": "https://stackoverflow.com/questions/58342649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Two questions, 1. On express router 2.request, response [environment] node.js, express, react, nginx [ 1st question ] if i have reloaded the website except of root url, i got an error "cannot get /... " [ 2nd question ] Website is stopped and no respond, when i request to server side over 6 times by ajax. If i re...
{ "language": "en", "url": "https://stackoverflow.com/questions/51452044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Should the system be an actor in Use case diagram of a social network app i was wondering if the system should be included as an actor in my use case diagram , my app is about a social network for developers, so the system is prompted to generate notifications to send to the user who gets a new friend request, and a...
{ "language": "en", "url": "https://stackoverflow.com/questions/63087392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add class on scroll ReactJS Firstly i know theres many questions like this but i tried their answers too.... So lets get to the point: I want to add a class when i scroll in React... I tried to research some answers but none of them worked... this is my app.js: import React from "react"; import "./styles.css"...
{ "language": "en", "url": "https://stackoverflow.com/questions/68699921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Failure sending mail. - System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed I have used below code bit to send email from my web service var emailMessage = new MailMessage(fromaAdress, toAdress) { Subject = subject, IsBodyHtml = true, Body = body }; var smtp = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44759358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Android: ExpandableListActivity icons overlapping text I'm trying to build a very simple ExpandableListActivity based on the API Demos Sample Code: Unfortunately, even though the demo just uses the default layout, the layout doesn't look right. It seems the text isn't indented enough, such that the expand/collapse ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8674470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: get 404 error by batch file upload via google-api-javascript-client library I'm trying to upload whole folder to google drive. I could successfully upload one file by one request. But I met rateLimitExceed error while upload whole files. So, I tried to use batch request. Creating folders with batch request are succ...
{ "language": "en", "url": "https://stackoverflow.com/questions/19489623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: value was changed by using " A: Your input field has not rendered and the script is looking for an element with it's id. A simple solution is to move your script to end of the html file. like this: <p><input type="text" placeholder="Results" name="idn" id="idn_id"></p> <script> var idn_text = "123" documen...
{ "language": "en", "url": "https://stackoverflow.com/questions/73267502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Open a Document in IE and be able to store it as a variable in vbs I am trying to write a vbs program where I navigate to a web page, click on a link that opens a file in excel, then run a macro in the excel file. I know how to navigate to a web page and click on a link. I need help figuring out how I store the exce...
{ "language": "en", "url": "https://stackoverflow.com/questions/30241939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How should I pass a String argument to clojure.core/apply I have the following piece of code: (condp apply "string argument" predicate1? "Result1" predicate2? "Result2" predicate3? "Result3" "Else") Currently, "string argument", when passed to apply gets interpreted as a seq, therefore...
{ "language": "en", "url": "https://stackoverflow.com/questions/21033770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: bypassing javascript to get page source 1)I am building an app for downloading all my pictures from my instagram profile. 2)I don't want to use instagram api so i searched and i find Selenium Webdriver and i add this package to my project 3)I am using c# to build android app (Xamarin) check below Code. string u...
{ "language": "en", "url": "https://stackoverflow.com/questions/41806527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: An Azure function works from Postman but not from web browser and javascript I have a C# Azure function that manipulates an image file and returns a . Following is the complete code. [FunctionName("ImageHandler")] public static async Task<IActionResult> GetHandledImage([HttpTrigger(AuthorizationLevel.Functio...
{ "language": "en", "url": "https://stackoverflow.com/questions/68446837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linkify hashtags based on match.group(1) I am trying to Linkify hashtags in a TextView. Thats is working as sample code I provided but I need to underline found hashtags based on match.group(1). Linkify seems to underline based on match.group(0). With TransformFilter I can only change hashtag click destination not t...
{ "language": "en", "url": "https://stackoverflow.com/questions/26572462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How make div not scrolling, fixed and keeps there width base on parent container I have page that contains three elements: a header, an article, and a aside. I want the scroll to only affect the article, and I’d like the header and aside to stay fixed. I can make header fixed by using position: fixed; and it works. ...
{ "language": "la", "url": "https://stackoverflow.com/questions/44050035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: read data from excel in perl I am trying to read data from excel, i have below code. #!/usr/bin/perl use strict; use warnings; use 5.010; use feature 'say'; use Spreadsheet::XLSX; use Spreadsheet::Read qw(ReadData); my $book = ReadData ('/tmp/simple.xlsx'); say 'A1: ' . $book->[1...
{ "language": "en", "url": "https://stackoverflow.com/questions/42107656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DialogFlow error when launching Google Assistant Console I'm using DialogFlow to build a Action for Google Assistant. I want to build this for pt-BR language, but when I am going to test the actions on Actions on Google console I'm getting the following error "Request contains an invalid argument. Locale pt-br selec...
{ "language": "en", "url": "https://stackoverflow.com/questions/54421046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to define in svelte.js a global variable over several pages using svelte-router-spa I'm trying to learn svelte and build a card-solution with routing through svelte-router-spa. On each view (index and productdetails) i import my variable basket. This should contain my card-array over the different pages. Unfortu...
{ "language": "en", "url": "https://stackoverflow.com/questions/66280344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Right Approach to Call Web Service(API) from Fragment in Android I have an activity which has a fragment and a dialog. And I am calling an API from the fragment in the onCreateView method. And when I am on the fragment and opens the dialog then fragment again hits the API. I want to prevent it.I want that my app do ...
{ "language": "en", "url": "https://stackoverflow.com/questions/46561332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add Background color for JOptionPane Completely? I am not getting a complete background color for JOptionPane. Below there is one of my output screen: http://i.stack.imgur.com/i4tvh.png And my code: JFrame frame1 = new JFrame("Showing Error Message"); UIManager UI=new UIManager(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/37021667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Extracting trees from image without picking up background vegetation? I do not have a background in image recognition/feature extraction, but I am in need of a way to extract trees from an image without the background vegetation. Seen above is a small example of the kind of imagery I'm working with. I have access t...
{ "language": "en", "url": "https://stackoverflow.com/questions/32258480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I create a #define mapping to the spacebar character in C? I'm looking for the equivalent of this, without the surrounding single quotes: #define SPACEBAR ' ' How do I do this? For any other character I would use either the character itself or its corresponding escape character. To my knowledge, however, the...
{ "language": "en", "url": "https://stackoverflow.com/questions/29374863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Sheets: Sheets as filtered views of data I'm creating a financial spreadsheet that has an All Transactions sheet, which contains entries from multiple people. I would like to also have have dedicated sheets for each person (John's Transactions, Jane's Transactions), where they can see and edit the categories ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62627508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can Excel file and website server interact? I have a working excel calculator and a website server. My goal is to present the result generated by the calculator on the website. And to feed input received by the website My question is that how should I implement this because excel and website server can not seem...
{ "language": "en", "url": "https://stackoverflow.com/questions/73769716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native CLI uses autolinking for native dependencies, but the following modules are linked manually I am getting Error while running my project using react-native run-ios error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: * *react-native-document-p...
{ "language": "en", "url": "https://stackoverflow.com/questions/57175614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: element implicitly has an 'any' type error in vue 3 app I am trying to use lucidev icons in my component but I am really new in typescript Here is lucidev: https://github.com/lucide-icons/lucide <template> <component :is="icon" /> </template> <script lang="ts"> import * as icons from 'lucide-vue-next'; import { d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75172096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show MQ client list by Java? Is it possible to show all clients of a MQ server (or MQ queue manager, or channel) by Java? Because there are too many connections sometimes and I need to monitor it. I checked the API of com.ibm.mq.MQQueueManager (https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_7.5.0/com.i...
{ "language": "en", "url": "https://stackoverflow.com/questions/42757786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No exception with SqlDataReader.ExecuteReader while SQL Server returns converstion error When I execute the following statement in SQL Server Management Studio exec sp_executesql N'select 1 where 1 = @p1',N'@p1 nvarchar(3)',@p1=N'a' go I get the below error Msg 245, Level 16, State 1, Line 1 Conversion failed when c...
{ "language": "en", "url": "https://stackoverflow.com/questions/19634521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to silently provide initial settings for Visual Studio I'm looking for a way to provide initial settings for Visual Studio 2017 through a script. Copying a *.vssettings file to the %USERPROFILE%\Documents\Visual Studio 2017\Settings path doesn't work since Visual Studio will rewrite the file on startup while cre...
{ "language": "en", "url": "https://stackoverflow.com/questions/45670925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to compare 2 List objects to get the missing value from the List How do I use the "NOT IN" to get the missing data, to be added to "foo" List. var accessories = new List<string>(); var foo = new List<string>(); accessories.Add("Engine"); accessories.Add("Tranny"); accessories.Add("Drivetrain"); accessories.Add...
{ "language": "en", "url": "https://stackoverflow.com/questions/33763942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Default seeds in Stata I gather from the Stata manual on the RNG seed that the value for the seed is 123456789 every time Stata is launched. My questions are * *Was it always this way or was the default seed different in older versions (I'm particularly concerned with version 8) *Is the default sortseed also 123...
{ "language": "en", "url": "https://stackoverflow.com/questions/21591731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Application in CloudFoundry is able to access Redis even when Redis service is un-binded from that app I have deployed an application in CloudFoundry with Redis service binded to it. In this app I have autowired StringRedisTemplate and have provided couple of endpoints for inserting, deleting and listing data from R...
{ "language": "en", "url": "https://stackoverflow.com/questions/34631486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there a way to set a score range (or a max score) for a query I have a very simple query : match: { field => { boost: 4, query: term, fuzziness: 'AUTO', } } Composed with several (about 10) others queries most of them using constant_score. The problem is that on specific terms, my query has a too...
{ "language": "en", "url": "https://stackoverflow.com/questions/44965601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Initialize integer value while declaration vb6 How should I initialize variable value during the declaration. I am using VB6, I tried public i as integer = 0 but i got error Expected: End of statement, and "=" is highlighted I want to set initial value to 0. Edit from comments: I want to create a login form witho...
{ "language": "en", "url": "https://stackoverflow.com/questions/35960661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Clojure thread-first macro (->) vs thread-last macro (->>) What are the practical differences? I still do not fully understand the difference between the two Clojure arrow macros thread-first -> and thread-last macro ->>. While reading through https://clojure.org/guides/threading_macros I understand that thread firs...
{ "language": "en", "url": "https://stackoverflow.com/questions/65629918", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }