text
stringlengths
15
59.8k
meta
dict
Q: Disable Chrome "plugin not responding" message It is quite annoying that this pop-up window appears every time I debug my GWT code using GWT dev-mode and Chrome's GWT Development plugin. Any ideas how to turn it off? A: chromium-browser --disable-hang-monitor
{ "language": "en", "url": "https://stackoverflow.com/questions/9161926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: using File().byLine() with fold() I am trying to use the fold operation on a range returned by byLine(). I want the lambda which is passed to fold to be a multi-line function. I have searched google and read the documentation, but cannot find a description as to what the signature of the function should be. I sur...
{ "language": "en", "url": "https://stackoverflow.com/questions/74668853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Typescript is slower than javascript when using sequelize? I am migrating a web app from javascript to typescript. And I have noticed that the query results are a bit slower sometimes as compared to javascript. It is not consistent though. I have two tables - User and Team. One user can have many teams. So it is has...
{ "language": "en", "url": "https://stackoverflow.com/questions/69263121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Standards or best practices for the content of RESTful requests and responses We may need to provide a RESTful web service interface to our application. THe RESTFul architecture provides some guiding principles for some parts of the interface but leaves others entirely open - in particular, it doesn't seem to say an...
{ "language": "en", "url": "https://stackoverflow.com/questions/8210640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Converting to a dropdown menu firstly apologies, as I have seen this question asked before, but I'm still none the wiser, so going to have to ask it myself. I am very new to html5 and css3, so far I have managed to get by, until now. I would like to convert one of the options in my navigation menu to a drop down men...
{ "language": "en", "url": "https://stackoverflow.com/questions/15496826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to insert an "apply" button in WordPress I am building a job website and I am trying to insert an 'apply' button in a custom post-type single page (called 'vacancy') within WordPress. I need this button to notify the admin of the new 'application' = meaning someone logged in clicked on the button. I have thought...
{ "language": "en", "url": "https://stackoverflow.com/questions/27017941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: awk: automatically call functions from file I need to perform the absolute value calculation a lot in awk. But absolute value is not built into awk, so many of my awk commands look like this: awk 'function abs(x){return ((x < 0.0) ? -x : x)} { ...calls to "abs" .... }' file Is there a way to store user-defined a...
{ "language": "en", "url": "https://stackoverflow.com/questions/26063076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to add listener to java dock icon on osx i have in my applications jframe Hide on close, but when i click the dock icon, i want it to setVisible(true); how do i add an action listener to the dock icon? i tried Image im = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("SLogo.png")); final TrayI...
{ "language": "en", "url": "https://stackoverflow.com/questions/16401190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Javascript click element by X Y not working Hey guys I am working on a script to help me out on soundcloud. On soundcloud, each track has a waveform that you can click on to skip to certain parts of the track. I want to simulate a mouse click on the waveform of a song but I need some help. I need to be able to click...
{ "language": "en", "url": "https://stackoverflow.com/questions/43556865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Search form in two Regions? New to Drupal, trying to wrap my mind around the Blocks concept. Am I right in concluding that I cannot have the SearchForm on the right side (sidebar second) for one ContentType, and on the left side (sidebar first) for another ContentType? I'm talking standard 7(.17) with no extra mod...
{ "language": "en", "url": "https://stackoverflow.com/questions/13701261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CDK pipelines with several application repositories I have successful setup a pipeline for my application with CDK Pipelines construct that was introduced this summer. The application is a microservice (UserService) compiled with CodeBuild and creates a ECS Fargate service. The source of the application is in a GitH...
{ "language": "en", "url": "https://stackoverflow.com/questions/65425189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Authorization issue with python request I am trying to authenticate users and I am getting invalid {'error': 'invalid_request'} bellow is my code I am following the guide on https://developer.sonos.com/build/direct-control/authorize/ import base64 import requests client_secret = "***************************...
{ "language": "en", "url": "https://stackoverflow.com/questions/69529233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: User-Agents are removed by Chinese mobile networks? Kindly confirm the information below. a. Chinese mobile networks are blocking the useragent strings. b. The user-agent send to the server are in different encoding for Chinese mobiles. Please let me know whether a or b is true and also pour in your experiences on...
{ "language": "en", "url": "https://stackoverflow.com/questions/1952598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to include a jar file into Scala code This is the Scala code that I have written object Main extends App { println("Hello World from Scala!") } This is my build file name := "hello-world" version := "1.0" scalaVersion := "2.11.5" mainClass := Some("Main") This is command that I am using to create the ja...
{ "language": "en", "url": "https://stackoverflow.com/questions/30596087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Making installer but used SDKs "Classes not registered" We are trying to make an installer for our application and are using Advanced Installer. When i add all the files from the release folder of our application and let it install. The application crashes and says that some classes are not registered. I know this i...
{ "language": "en", "url": "https://stackoverflow.com/questions/15249815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run docker with volume mapping from another docker container I have a Jenkins instance running in a Docker container which can also run docker commands of the host. The build process of my apps includes running bower and grunt. But to avoid having to install node on the Jenkins container, I wish to run a seperate no...
{ "language": "en", "url": "https://stackoverflow.com/questions/38036835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using apply function write multiple append statement Is it possible to write below code using apply function or any other, because iterrows seems not feasible here. For creating Dataframe: df = [[['55792', 'TRIM'], 'A', ['55792', 'TRIM']], [['ZQFC', 'DYWH'], 'A', ['MEIL', '1724']]] df = pd.DataFrame(df, columns=['se...
{ "language": "en", "url": "https://stackoverflow.com/questions/70632807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handcoding PHP for daily log style website with mySQL database I only began learning about web development 3 weeks ago and have grasped html, css and js quite quickly and have also had some success in using php to draw values from a mySQL database that I have setup however I have a few questions if that is OK? I am ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8735850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set status code on specific path in Nginx There's a particular route in our web app which we wish should always be served with a 404 status code. With Nginx, how do I return a specific route's content just as usual, but with a specific http status code, for example 404?
{ "language": "en", "url": "https://stackoverflow.com/questions/42419285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Apache cant change listening port I am trying to install nginx as reverse frontend proxy to apache. During this process I have to change the listening port for apache to e.g. 7070 instead of 80. I went to the /etc/httpd/conf/httpd.conf and changed: Listen 80 to Listen 7070 I also added a virtualhost NameVirtua...
{ "language": "en", "url": "https://stackoverflow.com/questions/39651602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: DiscordAPIError: Unknown Interaction after making the /help command So I have this help command but I am getting an error saying "Unknown Interaction". I have been searching on the internet for quite a while now, but could not find a solution for this. Here is the code: const { Client, MessageEmbed } = require("disc...
{ "language": "en", "url": "https://stackoverflow.com/questions/71326078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can entities inside the aggregate be accessible or visible externally to the aggregate? I'm new to DDD and my question might seem trivial to many of you. Consider the case of Student and Course. The student can enroll the course only if the student's age is above the minimum age required to enroll that course. From ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53866617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: how to remove all space on indent when inserting a newline under vim Xcode I am new to Xcode and use vim for my editor under Xcode. How to use shift + O to add newline in vim under Xcode without adding space as indent? so I will not have lots of space in blank line like following during git diff this is what I expe...
{ "language": "en", "url": "https://stackoverflow.com/questions/72836150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to find whether IPs in subnet used for HSRP in softlayer API We ordered a subnet on a private VLAN and when we try to use one of the IP. We realized that IP was used for HSRP on router/switches of Softlayer infrastructure. Is there any SL API to find out whether the IP is used for this purpose? We generally extr...
{ "language": "en", "url": "https://stackoverflow.com/questions/42844927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Drupal: PDOException: could not find driver in lock_may_be_available() I am running Drupal on my local machine using Windows and recently I opened a project solution within Visual Studio. Upon opening the solution, it asked me to install PHP7 extensions via the Microsoft Web Platform Installer. After these extensi...
{ "language": "en", "url": "https://stackoverflow.com/questions/47311923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set text from sqlite rows in Pyqt textbrowser I need a way to set some rows from sqlite.db to pyqt textbrowser,But the problem is that it just put the last row. cur = conn.cursor() conn.text_factory = str cur.execute(" SELECT text FROM Translation WHERE priority = ?", (m,)) for row in cur: print('{0}'.format(row...
{ "language": "en", "url": "https://stackoverflow.com/questions/51685812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting '0x3132333435' to '12345' in PHP I was trying to recover some password data on my SQL SERVER 2012 files, unfortunately I forgot what encryption was used in encoding the password to the tables. I know that 0x3132333435 translates as 12345, as this was my test account before. I tried to use hexdec() but no ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57049199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storing keystore password for certificate pinning in Android I've recently started to learn about security in Android apps and wanted to implement certificate-pinning. Found some useful information by googling around but I stumbled upon storing the keystore password which contains the server certificate. As I can't ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43891059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: g++/clang++ Invert compilation error order g++ and clang++ report compilation errors with the first erroneous line encountered at the top of their output. That is, the first line clang/g++ print on a compilation error are the one you usually care about. As I'm sure we have all experienced, you have to scroll up (oft...
{ "language": "en", "url": "https://stackoverflow.com/questions/51319139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to show the time slots horizontally instead of vertically in agendaDay view, fullcalendar? i am trying to list the time slots in agendaDay horizontally, is it even possible? Read all the options listed for agendaDay but could not do it. Here is js fiddle for test: $('#calendar').fullCalendar({ // put y...
{ "language": "en", "url": "https://stackoverflow.com/questions/48022445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pull the starting view for document using the Revit API How can I use the Revit API to get the Starting View for a Document? The equivalent way to access it using the user interface is seen below: A: I used the Revit Lookup tool and browsed through the database to find a class called StartingViewSettings w...
{ "language": "en", "url": "https://stackoverflow.com/questions/45696372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Autocomplete Source I have 2 autocomplete text boxes on my form. What I want to do is dynamically change the source on the 2nd autocomplete textbox if a value has been selected from the first. a snippet of my markup is below: $(function () { $("#SelectedAddress").autocomplete({ source: "/CreateFIS/GetPr...
{ "language": "en", "url": "https://stackoverflow.com/questions/10834688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Could someone help to explain why the klass could not be used in wrapper? About python __closure__ I couldn't understand why my klass couldn't be used in wrapper method #!/usr/env/bin python class MyClassmethod(object): def __init__(self, func): self.func = func def __get__(self, obj, klass=None): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62285803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML Traverse and Find Best Practices Hey I was thinking about making some crawlers so that I can get an URL and traverse through the html and just get certain things I might need/want. I was thinking about using Php + xPath but I'm not sure that might be the best way. What do you guys think? Are there any best prac...
{ "language": "en", "url": "https://stackoverflow.com/questions/766979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to make a cell editable where column is readonly in XtraGrid? My grid looks like this. Key Value 1 A 2 B 3 C I have Value column read-only in my grid. "Value" column's columnedit is associated with memoexedit repository. Now what I want to do is on some condition like when key=2, I want my v...
{ "language": "en", "url": "https://stackoverflow.com/questions/17244501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to find only dirty object without iterating items in an ObjectStore of EnhancedGrid Is there any way to get only dirty object without iterating items in an ObjectStore of EnhancedGrid? A: You can access it with grid.store._dirtyObjects
{ "language": "en", "url": "https://stackoverflow.com/questions/48584184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Order retaining in List when retrived from SQL Query I am getting a list (initial list) from the session which contains the customer Ids in the below order:- [208700013, 30216118005, 30616118005, 10121005444, 206700013] Now I am passing these customerIds to the customer table as a collection using "IN" query for wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/12461211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rails + React + real time validations I have a rails 5 + react application. In this application I would like to introduce validation. Let's say I have a product model that has a price that must be greater than 0 and less than 5 or equal to 20. I have 2 instances when I will validate the product model on creation: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/52116809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: j2me, generate random location of food for simple snake game here is my code for the snake game, the thing i need to do is generate location for the snake food, once the snake touch the snake food, it will regenerate the location of the food~pls, i really need your guys help!!! just kindly have a look packa...
{ "language": "en", "url": "https://stackoverflow.com/questions/25407516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Setting a Struts2 select tag to a variable from the request object I want to set the Struts2 select tag to a variable from the request object instead of the action class variable. My action class is: public class showSchdulesAction extends ActionSupport public String execute() throws Exception { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/22420421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel Environments in Route I want to have different domains for my application based on the environment; Like so; www.prod.co.uk and www.dev.co.uk Now in my route.php I have defined subdomains like so; Route::group(['domain' => 'www.prod.co.uk'] Route::group(['domain' => 'blog.prod.co.uk'] Route::group(['domain' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/34668674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to Align smaller text on top of larger text I have three text items in a container. The middle text has the larger font. I would like to align the top the first item to the top of the second item. .container { border: 1px solid black; } .container p { display: inline-block; } .large { font-si...
{ "language": "en", "url": "https://stackoverflow.com/questions/47299691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Non-breaking characters appears when copying from datagrid I have a curious problem. When I copy a cell (or a row) that have spaces in groups of 2 or more, when I paste this spaces are replaced with non-breaking character (Alt+160). What is more curious is that if I paste on Word then copy from Word and paste again ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8298007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I hide certain attribute from response with Bookshelf? I am building a simple REST API. When registering a new user, my API returns: { "status": "success", "data": { "email": "test13@test.com", "password": "$2b$10$DcFdth1FKskyy6A7uwCHDOE15oy4pgZBj.TwEBcQnSVrUK4mntZdy" "first_n...
{ "language": "en", "url": "https://stackoverflow.com/questions/71356565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Avoid multiple page redirects http://example.com > https://example.com -> https://www.example.com My site is slowing down due to multiple page redirects, as reported by GTMetrix and Google Pagespeed Insights if a user types domain.com: URL: TIME SPENT: http://example.com/ 285ms https://e...
{ "language": "en", "url": "https://stackoverflow.com/questions/65239265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Free JavaScript/jQuery library for building stacked area charts I'm looking for free JS/jQuery library that allows building charts. Right now I have necessity to build stacked area charts. Found the link (http://www.1stwebdesigner.com/css/top-jquery-chart-libraries-interactive-charts/) that describes probably few of...
{ "language": "en", "url": "https://stackoverflow.com/questions/15287115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to specify arguments after dots ... in R? This probably comes down to 'how to pass optional parameters to R functions'. Take c() for example. It's definition is: c(..., recursive = FALSE) However, if I use it like this c(1:5, TRUE) it gives [1] 1 2 3 4 5 1 which is perfectly understandable, but also a bit stran...
{ "language": "en", "url": "https://stackoverflow.com/questions/27138972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to print CorePlot Graph I'm trying to print an NSView which includes a couple coreplot piecharts among other items. However the piecharts do not appear. I now understand that layer backed views do not print, but I'm having difficultly locating any examples where people circumvented this and printed coreplot gra...
{ "language": "en", "url": "https://stackoverflow.com/questions/22813782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Private Variables in Offloaded Fortran Parallel Loop I am offloading code to a GPU using OpenMP 4.5. So far everything is working on the GPU, except when I try to make parallel sections with private variables that are allocated before I offload. I am using gcc 7.2.0 and cuda 9.2.88. I am running on CentOS 7 and am c...
{ "language": "en", "url": "https://stackoverflow.com/questions/57418216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter stream values using Map of Lists? I have a list of entities and I need to remove some of them using filter and Map with necessary keys and values. It looks like that. There is a List<Comment> commentsList and Map<Integer, List<Post>> postsById. Comment entity has method getByPostId. Map looks like <Pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/56909647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: jQuery $.post causes browser stack overflow I have the following jQuery code: var id_atual var temp_id var tempo_flash = 50 var $slide_atual = $('#slider .atual') var $slide_prox = $('#slider .ocultar') setInterval(function(){ id_atual = $slide_atual.attr('alt') $.post('get_banner.php', {atual: id_atual}, fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/10090098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Missing npm-cli.js when trying to use NodeJS as portable without installing, on Windows I try to use TiddlyWiki as a portable folder with NodeJS on Windows, without installing NodeJS, following this tutorial. But I am getting this error. What am I doing wrong? https://i.stack.imgur.com/LN0Qo.jpg
{ "language": "en", "url": "https://stackoverflow.com/questions/73919678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I set one element of the Gearmenu insensitive? I wanted to set one element of the gearmenu insensitive if the "load-failed" signal is emmited. struct GActionEntry { const gchar *name; void (* activate) (GSimpleAction *action, GVariant *parameter, gpointer ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56599573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I follow DRY principles with this challenge? I solved this exercise on jshero.com but I know the solution can be written more cleanly, I just don't know how. Here are the directions: Write a function addWithSurcharge that adds two amounts with surcharge. For each amount less than or equal to 10, the surcharg...
{ "language": "en", "url": "https://stackoverflow.com/questions/63349859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Java Swing timer does not do what I want it to I need to write a program that uses a swing countdown timer to do something (in this case, print out a String in the console). It gets the needed delay info from a spinner and executes the code when I hit the Start button. However, when I enter a value in the spinner, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/37905813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Class.getResource() returns null after a long time running I'm using Class.getResource() to load a file from the jar of a long-running Java app. It works fine. But after the app has been running for a long time, it starts returning null. How do I troubleshoot this? All I can see are exceptions caused by getResource(...
{ "language": "en", "url": "https://stackoverflow.com/questions/38231863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I find the publication history of Python PEPs? While most PEPs have a created date, some do not, see PEP 249 for example. I'm curious about the history of the PEPs. Is there some resource that tracks the proposal, acceptance, and publication dates of such PEPs? A: Look at the Git commits history from tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/45786368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetch Core Data as comma separated list I realise that I am missing something simple but as a Swift newbie I am going around in circles & would appreciate a pointer as to what I am doing wrong?! I have a Core Data Entity called "Numbers" with an attribute (Int16) called "userNumbers". I am fetching the results like...
{ "language": "en", "url": "https://stackoverflow.com/questions/55184177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error trying to import Nuget PackageProvider I have a computer behind a proxy and trying to get the Nuget package provider installed. I ran Install-PackageProvider -Name Nuget on a different PC on a different network and copied Nuget folder to $env:ProgramFiles\PackageManagement\ProviderAssemblies. If I run Get-Pac...
{ "language": "en", "url": "https://stackoverflow.com/questions/36612652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to input variable in dbcontext.SqlQuery query? When creating this function in my Web API project controller everything works just fine. public IQueryable<EquipmentApproval> GetUserEquipmentApprovalRejections(string username) { return db.EquipmentApprovals.SqlQuery("select * from EquipmentApproval where rejec...
{ "language": "en", "url": "https://stackoverflow.com/questions/60230368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: webpack not working when introducing routes on react I am using webpack 4 to automate some tasks for my web app. Page shows blank on production mode, when running command: npm run build it works with npm run start all good. The thing is webpack is not being able somehow to deal with this part: <BrowserRouter><AppRou...
{ "language": "en", "url": "https://stackoverflow.com/questions/50291662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get a signal from 74595 I used the code as shift_register_write_byte(0xFF); I want to use the shift_register_write_byte function to generate an LED output based on an 8bit data variable. But I did not receive a signal. How can I get a signal? Thank you! void shift_register_reset(void){ GPIOA->BSRR=GPIO_P...
{ "language": "en", "url": "https://stackoverflow.com/questions/59694674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java: Runtime reflection in compilation phase (?!) In Element#getAnnotation(Class<A> annotationType) javadoc it is stated that Note: This method is unlike others in this and related interfaces. It operates on runtime reflective information — representations of annotation types currently loaded into the VM — rather ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71678433", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: remote website actions and interaction exists any option, which allows me to visit any website as a "bot" and do there some actions as clicks on elements, write texts into inputs, submit an form... I've found some solution with php curl, but it only remotely connects to website and can send HTTP requests, but I can...
{ "language": "en", "url": "https://stackoverflow.com/questions/38199963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid XML format after removing node I have a form with load, save, add and navigation buttons, which manipulates an XML file. Here's the structure and content of the XML file: <?xml version="1.0" encoding="utf-8"?> <BookList> <Book> <Title>Song of myself</Title> <Author>Walt Whitman</Author> <isbn>2...
{ "language": "en", "url": "https://stackoverflow.com/questions/17389489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check if the current locale uses 24-hour clock in Android? I have a time picker dialog in my app. This works just fine, but I'd like to switch between the 12-hour and 24-hour picker dialogs based on the current locale. How do I find out which clock is used? The dialog itself is launched like this: boolean use...
{ "language": "en", "url": "https://stackoverflow.com/questions/31915699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "10" }
Q: CasperJS not following redirect to HTTPS I'm trying to use CasperJS to automate away a lot of tedious data entry. Specifically, to register a very large batch of camera equipment on the canon website. I have code to handle form filling and have no problems navigating around webpages using CasperJS but I can't get Ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/19939062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Process.Kill() and process events Here is the situation: I have to create a program that would input another processes output stream into textbox. That it self wouldn't cause too much problem. What does, however, is the fact that I have to run 5 instances of this console application and redirect output to 5 textboxe...
{ "language": "en", "url": "https://stackoverflow.com/questions/8984617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How can I work with SQL NULL values and JSON in a good way? Go types like Int64 and String cannot store null values, so I found I could use sql.NullInt64 and sql.NullString for this. But when I use these in a Struct, and generate JSON from the Struct with the json package, then the format is different to when I use ...
{ "language": "en", "url": "https://stackoverflow.com/questions/33072172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "55" }
Q: Toggle form inside v-for using vue.js How can i toggle form inside v-for loop,I have a form inside v-for which i want to display (toggle) on click. But when i click all the form inside the v-for gets toggled. Secondly is it better approach to keep the form inside the loop,when have large amount of data inside loop o...
{ "language": "en", "url": "https://stackoverflow.com/questions/50501886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display images from Assets with JSON - Windows Phone 8 I am making a WP8 application with a lot of local content in my Assets folder. So I am using a JSON file stored in the a JSON folder. I have been able to parse the JSON to C# very easily and now I am trying to display the data in a list. I had no problem with di...
{ "language": "en", "url": "https://stackoverflow.com/questions/26962833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flashing cells in excel despite conditional formatting I have some code below which makes cells within a predefined range, flash color from white to red. For my purposes, I need this code to work only on cells that have certain values in them - for example any cell that has a numerical value below 50. The code that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29580197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Including Label Values When Emailing HTML Form Submissions I've created a dynamic HTML form that uses jQuery and customizes the form fields and labels based on the users' input. In addition to passing the form field values to the $_POST[] array, is there also a simple way to pass the label values? I need to turn t...
{ "language": "en", "url": "https://stackoverflow.com/questions/6089337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to hide/protect password details in php? I'm making a website in which I'm trying to create a form that will send the user-input to a google spreadsheet in my google docs/drive... I found a Github project that lets people code the php... It includes 2 other php files which are needed for the script. The code is...
{ "language": "en", "url": "https://stackoverflow.com/questions/17020651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: best practice in PHP Date Formatting of the year's 4-digit value I saw in PHP's documentation that there are two ways to format the year value in 4 digits: Y - A full numeric representation of a year, 4 digits o - ISO-8601 year number. This has the same value as Y, except that if the ISO week number (W) belongs to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10983862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How do I read a User's Firestore Map to a Swift Dictionary? I have my user struct with has a dictionary of all their social medias. struct User: Identifiable { var id: String { uid } let uid, email, name, bio, profileImageUrl: String let numSocials, followers, following: Int var socials: [String: String] init(d...
{ "language": "en", "url": "https://stackoverflow.com/questions/72103380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In ScrollView EditText is getting Unnecessary focus I have a layout which i have used for a fragment: <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" an...
{ "language": "en", "url": "https://stackoverflow.com/questions/57923058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access elasticsearch.yml? How to access elasticsearch.yml? According to this doc https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html , I can access the Settings in elastic.yml .. . And once I access it, i want to check the value of "http.max_content_length" and change it if pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/50351964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Comparing columns in two different dataframes for matching values Pandas Here is what my two dataframes look like: DF1 NAME EMAIL ID Mark mark@gmail.com 8974 Sam sam@gmail.com 9823 June june@gmail.com 0972 David david@gmail.com 2143 DF2 ID ROLE-ID 2143 22 0972 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57700913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can I use Write-SqlTableData Is it possible to use this cmdlet: Write-SqlTableData in sql server 2012 and below? Its a new thing added to sql 2016. I have some powershell output that needs to be stored into MS SQL 2012 database. Let me know A: Initially I thought it only works in SQL 2016 but I realized that you ei...
{ "language": "en", "url": "https://stackoverflow.com/questions/43733348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iPhone "from messages" paste to text box not triggering capturable events I have a web application that requests an OTP through sms and the input for that OTP is 6 individual boxes. The iPhone provides a feature that allows simply clicking the "from messages" quick link after receiving the text message to populate ...
{ "language": "en", "url": "https://stackoverflow.com/questions/69580074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Replace text in xml node with some value lets suppose I have an xml like <Fractions> <Fraction>test 1/3 test aaa</Fraction> <Fraction>1/2 test</Fraction> </Fractions> I want to replace 1/3 with &amp;frac13, 1/2 with @amp;frac12 which is in the string using xsl but I am stuck. The fraction values are limited like 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/6894863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why doesn't this JSON load in python? For a couple of days i've been trying to learn how to use JSON in python, but even if i copy everything from tutorials it still won't load. import json data = ''' { "people":[ { "name": "veljko", "age":"20", "email": veljkov02@gail.com, "educated": "...
{ "language": "en", "url": "https://stackoverflow.com/questions/73167027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: VBA Use Vlookup to place a Value into cell I'm pretty new to VBA and this has me stumped. I hope there is an easy way to do this. I know the following doesn't work, but it's an easy way to show what I'd like to do: Application.WorksheetFunction.VLookup(date, .Range("A:A"), 2, False) = String Basically I want to loo...
{ "language": "en", "url": "https://stackoverflow.com/questions/39431335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: r list of objects POINT (coordinates) I have a dataframe a.fil with Name, Lon and Lat. name1 43.37390 132.9703 name2 43.35311 132.7493 I create objects POINT point1.sfg <- st_point(unname(unlist(a.fil[1, 2:3]))) point2.sfg <- st_point(unname(unlist(a.fil[2, 2:3]))) class(point1.sfg) [1] "XY" "...
{ "language": "en", "url": "https://stackoverflow.com/questions/62631066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Saving data on Godot android export I am programming an android game with Godot 3.2.2. Of course I want to save the game data, therefore I created a new scene called SaveGame.tscn with SaveGame.gd. I exported the project to my windows pc and everything worked fine, all datas were saved. After that I also exported it...
{ "language": "en", "url": "https://stackoverflow.com/questions/63646216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How many Number of exceptions in a single catch clause in Java? From Java 7 we can catch multiple exceptions in a single catch clause like below. try { // Your code here. } catch (IllegalArgumentException | SecurityException | IllegalAccessException | NoSuchFieldException e) { // Handle exception h...
{ "language": "en", "url": "https://stackoverflow.com/questions/68250450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: LINQ query the most recent records How to modify this query to be able to select the 5 most recent records sorted by title? IEnumerable<Story> recentStories = (from s in stories orderby s.Date descending select s).Take(5); A: IEnumerable<Story> recentStories = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/12593415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: RoR - pass param to Bootstrap modal. Background doesn't fade out I display list of profiles and need to display more details about every user via the modal: <%= link_to profile.full_name, { :action => :profile_modal, :profile_id_param => profile.id }, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/47079432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I speed up this For Each loop in VBA? I have an Worksheet_Change macro that hides/unhides rows depending on the choice a user makes in a cell with a data validation list. The code takes a minute to run. It's looping over c.2000 rows. I'd like it to take closer to a few seconds so it becomes a useful user too...
{ "language": "en", "url": "https://stackoverflow.com/questions/58304413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Webhook time out doesn't follow documentation According to the Conversations API documentation in the case where a pre-action webhook fails to get a response: (no response or timeout) then Conversations will publish the change unmodified after a series of retries; your messages will be delayed accordingly. Howev...
{ "language": "en", "url": "https://stackoverflow.com/questions/68764938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Possible to display elements outside modal view in ionic currently I have an HTML file that have some content that I present in modalview upon click of a button. I wish to check if it is possible to display element in the HTML outside of the modal view. I tried using css to style the element, but I am unable to mov...
{ "language": "en", "url": "https://stackoverflow.com/questions/47319407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android: How can I close application after a toast message disappear? Just as the title says. I'm trying to have display a Toast text when a button is clicked, and then close the application after the message disappears. Toast toast = Toast.makeText(getApplicationContext(), "Message here", Toast.LENGTH_SHORT); toast...
{ "language": "en", "url": "https://stackoverflow.com/questions/7679201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove embedded images in HTML email using On-send feature To remove embedded images in HTML email, use the removeAttachmentAsync() method (in Mailbox API). The removeAttachmentAsync() method completes successfully, but behaves differently as follows: * *Outlook on the web (OWA): * *The sent e-mail has no embe...
{ "language": "en", "url": "https://stackoverflow.com/questions/59298123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReactJS to present the data coming from a mongodbstitch into a table I am getting data frm mongodb using mongodbstitcg in a JSON format as: [{"_id":{"$oid":"5def1f22b15556e4e9bdb345"},"Time":{"$numberDouble":"1616180000000"},"Image_Path":"1575946831220.jpg","permission":"Read:Write"},{"_id":{"$oid":"5def1f22b15556e...
{ "language": "en", "url": "https://stackoverflow.com/questions/59260610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set dependency DLL paths in Visual Studio? I am working with Cyclone DDS, and they have two builds, c build (contains multiple files in the bin folder) and c++ build (contains DLL file in the bin) after Cyclones DDS installation, I have to set these bin paths in system environment variables. how can I avoid...
{ "language": "en", "url": "https://stackoverflow.com/questions/66596230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trouble viewing my website via external ip I'm trying to set up my first publicly view-able website but I've run into trouble. Here's the background info I've installed Apache Server on my Windows 7 machine using XAMPP binaries and I'm able to view the XAMPP sample webpage by visiting localhost in my browser. After ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29200714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Defining dynamic list with the variables from the given list x=["a","b","c","d","e"] for i in x: ai=[i] print(ai) print(ae) So for the above code, I am consufed, how can I call back these kind of lists. I mean for each i in the list x. I am defining "ai". Since last step is finishing with "e" what is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71639784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to reinstall Postresql without destroying existing databases? I have a Postgresql 10 installation on Ubuntu 18.04 that somehow broke and won't restart. Can I just reinstall it without destroying its databases, so that I can access the databases again? pg_dump doesn't work. A: Yes, you can do that. By...
{ "language": "en", "url": "https://stackoverflow.com/questions/55581913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.lang.NoSuchMethodError in jmeter for the methods inside the jar file I have a jar file where i have one java class.I add that to jmeter and call that jar in sampler.When the request is hit I face java.lang.NoSuchMethodError for one of the methods inside that java class.That method doesn't need any maven depende...
{ "language": "en", "url": "https://stackoverflow.com/questions/70150260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }