text
stringlengths
15
59.8k
meta
dict
Q: Bookmarklet to change zoom level works fine on base elements but not on elements that appear after a button is clicked I wish to change the zoom level of an element on a webpage using a bookmarklet which can be written using this URL: https://mcdlr.com/css-inject/ It's work ok on one element but not another. This wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75386435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No data to display GridView Asp Net DevExpress i try to make gridview in devexpress and its work but if i click next page, page get message No data to display. i try to make from asp net, but same problem no data display. How to fix that ? sorry im newbie for this. This is my code for aspx : <dx:BootstrapGridView ru...
{ "language": "en", "url": "https://stackoverflow.com/questions/68647382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to iterate through a hash of hashes which contains an array of hashes in Perl? I am getting an output to a query in the format below. I need to get all the values for itemthree. After trying a lot of different things I was able to extract only the first value. I couldn't figure out how to run it in a loop so as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36580377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Scons and dmd error: unrecognized file extension o I am trying to build a "hello world" D project with SConstruct and getting this output: D:\projects\test>scons scons: Reading SConscript files ... scons: done reading SConscript files. scons: warning: No version of Visual Studio compiler found - C/C++ compilers mos...
{ "language": "en", "url": "https://stackoverflow.com/questions/21085786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EXIM4 configuration not working for only 1 machine. Here is the deal. We have a printer and all our machines have debian in our office. I've configured the printer to send mails to the server (pc00) via its IP (which is static). I created a hubbed_hosts file that tells exim each machine, which IP it has. So my own p...
{ "language": "en", "url": "https://stackoverflow.com/questions/24872880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Integrating php in shell scripts for a cronjob? I would like to execute a cronjob for a routine task every X hours. The cronjob basically executes a shell script which in turn uses a WGET command to download files from a remote server. However, before I run this shell script I want the cronjob to execute a php scrip...
{ "language": "en", "url": "https://stackoverflow.com/questions/12294951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to check if field ID exists? I'm trying to write a code that will look if certain text field (and drop-down boxes) IDs exists. I'm working with a page where, depending on what options are selected, the available boxes will be changed. For example, starting with the blank page, "form" and "comments" may appear o...
{ "language": "en", "url": "https://stackoverflow.com/questions/24697000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do "page-break-inside:avoid' added element overlapping with other element after page break in PDF? I'm using 'page-break-inside:avoid' to break div to next page in PDF and its perfectly working but overlapping with other element when page break HTML image PDF image i am using 'wkhtmltopdf' to convert html to PDF...
{ "language": "en", "url": "https://stackoverflow.com/questions/55321978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Discover devices plugged in via ethernet cables? I have a controller which I hardwire an ethernet cable into. What I would like to do is find all devices connected via an ethernet cable or something similar and what those devices are. Eg: >>> ??? [{ host: "192.168.1.4", port: 23, device: 'Galil DMC-4143' }] I...
{ "language": "en", "url": "https://stackoverflow.com/questions/32097551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Loading Banner Ads in View Controller With SKScene Glitches Game? I'm currently developing a game where the objective is to survive as long as possible (i.e. Doodle Jump, Flappy Bird, Jetpack Joyride, etc) and there's no pause button. Anyways, I have a view controller that presents an SKScene. The moment I integrate...
{ "language": "en", "url": "https://stackoverflow.com/questions/23238238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javascript unbind dom events I'm working on a web framework and am trying to build XSS prevention into it. I have set it up so it will escape incoming data for storage in the database, but sometimes you want to save html that the user generates. I am trying to make a custom tag that will prevent any javascript from ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7196003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Trying to create a theme for blogspot using WYSIWYG web builder, it runs on https://www.w3schools.com/ but not on blogger HTML theme editor <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Page</title> </head> <body> <div id="wb_Text1" style="position:absolute;left:458px;top:19px;width:156px;heig...
{ "language": "en", "url": "https://stackoverflow.com/questions/63300323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Makefile Linking Issues - Not Found Here is our current Makefile; the test file we're attempting to run includes "phase1.h". TARGET = libphase1.a CFLAGS = -Wall -g TESTDIR = ./tests TESTS = forkInvalidParmsTest LIBS = -lphase1 -lusloss $(TARGET): phase1.c ar -r $@ phase1.c $(TESTS): $(TARGET) $(TESTDIR)/$@ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28424777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Sha1 Hash username and password not hashing correctly I have a little problem with hashing a username and password.I need to find a way to hash the data with java as the server did with mysql.Here is a mysql hashing : and I'm trying to get the same result in Java like this : String userName_input = t...
{ "language": "en", "url": "https://stackoverflow.com/questions/7571485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP .Net MVC/WebApi with Angular 4/5 Visual Studio Template I'm using Visual Studio 2017 Community Edition and looking for an Angular with Web Api 2.0 (or MVC with Web Api) Template but not able to find one. When I try to google I get only links to Asp .Net Core related topics, no mention of identical template for o...
{ "language": "en", "url": "https://stackoverflow.com/questions/48950658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to integrate google analytics for calculate visitor to my specific item i am developing an ecommerce site. i want to calculate how many time my item viewed, calculate new visitors, total visitors number of click to purchase. And detail of visitor. i have read documentation of google analytics and have search on ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60956551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can't scrape customized property links from zillow using requests I'm trying to parse different property links which are populated when I select two dropdowns from zillow. When I'm done choosing the options, I can see the results in json in dev tools. However, when I do the same using the script below, I get some we...
{ "language": "en", "url": "https://stackoverflow.com/questions/67130173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to italicise part of correlation coefficient annotation in ggplot2 I cannot figure out how the make the letter "R" in the annotate() function below italicised on my plot. I've tried adding in expression() before paste(), and using italic(), but that then pastes the section starting "round(cor..." as text, rathe...
{ "language": "en", "url": "https://stackoverflow.com/questions/52661393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UITapGestureRecognizer partially works on UIImageView inside UITableViewCell I have a table view. Some cells could have images, and I add those images to cells through UIImageView. Those images have react and open new view controller if a user taps it (not a cell). Images are of different size. I added UITapGestureR...
{ "language": "en", "url": "https://stackoverflow.com/questions/9801231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: SQL query to fetch all Auctions for whom a particular user has not submitted a Bid I am working on a project where I want to fetch from my postgres database all the auctions where a particular user has not submitted any bid for the auctions. I am trying to write the query for this. The schema is as follows - Auction...
{ "language": "en", "url": "https://stackoverflow.com/questions/72992390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extending SQLiteStatement, is there a tested wrapper class available? The class cannot subclass the final class SQLiteStatement cannot be extended. That together with the fact that java does not support extension methods brings me here. There does not seem to be any smooth way to do extensions for that class. I do...
{ "language": "en", "url": "https://stackoverflow.com/questions/21283883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Image upload with Knockout and webapi c# I am trying to upload an image using Knokout JS and web api. This my code <div class="row"> <div class="col-sm-4"> <h3>Send Feedback</h3> <form data-bind="submit: sendFeedback"> <div class="form-group"> <label>Feedback</label> <textarea...
{ "language": "en", "url": "https://stackoverflow.com/questions/34809513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: batch delete certain lines of paragraphs in .srt files I have .srt files that consist out of paragraphs with the same pattern. the amount of paragraphs in each document is different. I wanna keep the number of the paragraph, keep the time in the second line, and then basically only keep the "BAROMETER:" and the num...
{ "language": "en", "url": "https://stackoverflow.com/questions/37730902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find the number of players cannot win the game? We are given n players, each player has 3 values assigned A, B and C. A player i cannot win if there exists another player j with all 3 values A[j] > A[i], B[j] > B[i] and C[j] > C[i]. We are asked to find number of players cannot win. I tried this problem using brute ...
{ "language": "en", "url": "https://stackoverflow.com/questions/65057363", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: External page back to local app in PhoneGap I have read through numerous posts and articles regarding this, but still can't find a good solution. I am trying to: * *Start app on a local page *Go to an external page triggered using window.location.href after an AJAX event. *Return to the local app from external ...
{ "language": "en", "url": "https://stackoverflow.com/questions/35782286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: c# websocket console application on windows server 2012 r2 I have a c# websocket code that will do the handshake and after successful, take the input from the client and return it back to the client again. The code is working on localhost:8080 on my local machine. I have an azure VM running Windows Server 2012 R2. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/38156837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring Boot in Intellij won't load image I'm just starting to learn Spring reading "Spring In Action" and I cannot get my image to load on anything other than port 8080 (where tomcat launches). This would be fine normally, but I have to keep restarting the program to load any changes to my webpage. Intellij tries t...
{ "language": "en", "url": "https://stackoverflow.com/questions/70311772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to have different color for alternate row for MUI v4 Table? Below are my code. I tried setting the tableRowRoot in the style.js but the row background color for alternate row did not change. I hope to just set the root for table row so I do not need to add any class or logic to the rows etc. Hope you guys can sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/69751510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Program Working On C:\ But Not E:\ I wrote a simple program in VB 2017 that is meant to gather data about my computer's internet connection to be used in a later script, in an attempt to fix an ip issue. The program is meant to be run from my Desktop, which is on my E:\ Drive instead of C:\ On the main drive (C:), t...
{ "language": "en", "url": "https://stackoverflow.com/questions/50830536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Variable is not updating despite having good @Query I want to update one variable for user. Method: fun blockUser(username: String): Boolean { val user = userRepository.findUserByUsername(username) if (user == null) { throw UsernameNotFoundException("User not found by...
{ "language": "en", "url": "https://stackoverflow.com/questions/64484501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ImageMagick colors depth conversion I have several thousands of tga files (without palette) which contain RGBA4444 data (I know usualy tga files don't contain RGBA4444 data). I would like to convert them into RGBA8888 data. I use the following command line: convert -depth 4 woody4.tga -depth 8 woody8.tga In this ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/42629143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python/Pyramid - Wrapping Cornice response with extra data when raising HTTP Exception I'm using Pyramid and Cornice to write some RESTful Python app and I made a simple Cornice resource: @resource(collection_path='/users/', path='/users/{id}') class UsersResource(object): def __init__(self, request): s...
{ "language": "en", "url": "https://stackoverflow.com/questions/31142344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the difference between making android game with hand or some game engine? I want to know what is the difference between making game with game engine and code that you write yourself. in other words how the game engine help us to develop a game. and can introduce me some good game engines for android platfor...
{ "language": "en", "url": "https://stackoverflow.com/questions/30245700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Variable stage keeps coming back undefined Hi I am trying to get the result from function test() and use it to set variable stageIs however it keeps coming back undefined. Any help would be greatly appreciated I have been trying to figure it out for hours now. var stage; import { CONTRACT } from '../contract' import...
{ "language": "en", "url": "https://stackoverflow.com/questions/51886714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to differenciate indexPath of first cell with indexPath of empty space at the end of table? I use the following code to detect a click on a UITableView and take action depending on which cell is clicked, and which element in the cell was clicked, with a default action for any element that doesn't match. -(void)a...
{ "language": "en", "url": "https://stackoverflow.com/questions/37457321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java Regular Expression for Syslog Message not working I'm trying to develop a Java program that matches syslog messages. The pattern is like this: "%FACILITY-[SUBFACILITY-]SEVERITY-MNEMONIC: description" At first I did this regex and it worked for some messages: (%[a-zA-Z_-]+-[0-6]-[a-zA-Z_-]+[^\r\t\n]+) Now I n...
{ "language": "en", "url": "https://stackoverflow.com/questions/29769775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Preview Camera HTC-One cuts image I'm using a custom camera preview on my app, it works fine in almost all devices, for HTC-One I'm getting a bad cut, the original photo doesn't match what the preview shows on the top. It only happens on this device, this is the code of my preview camera and the picture about what's...
{ "language": "en", "url": "https://stackoverflow.com/questions/27690298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is the Chrome Driver Management module downloading the latest version or is it downloading the correct version of my Chrome version? I know this code allows you to download and use the most recent version of the chrome driver. driver = webdriver.Chrome(ChromeDriverManager().install(), chrome_options=options) If...
{ "language": "en", "url": "https://stackoverflow.com/questions/67527961", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: gtkmm display file contents I am quite new to gtkmm please be soft, I need to read a file contents and display it. I have referred to this tut https://developer.gnome.org/gtkmm-tutorial/stable/sec-buildapp-opening-files.html.en, but not sure how to tailor these example to my scenario, I am reading Gtk::TextView, Gtk...
{ "language": "en", "url": "https://stackoverflow.com/questions/62763585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JBoss-provided libraries in Maven-managed Java EE app It's actually pretty unlikely for me, but it seems that there is no direct answer over the net about importing JBoss-provided dependencies into Maven-managed Java EE application to be deployed within it. AFAIK there are 2 things somehow related to the problem, th...
{ "language": "en", "url": "https://stackoverflow.com/questions/9839689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: react native Table GridView how to build table gridview in react native like in picture or in code snippet <table border=1> <tr> <th>Firstname</th> <th>Lastname</th> <th>Age</th> </tr> <tr> <td>Jill</td> <td>Smith</td> <td>50</td> </tr> <tr> <td>Eve</td> <t...
{ "language": "en", "url": "https://stackoverflow.com/questions/42157198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to get data from the current row in INSTEAD OF trigger? For example, we have a table named 'Names': id | name -----+------ 1 | Mary 2 | Sue 3 | John and this trigger: CREATE TRIGGER TRG_insofdel ON Names INSTEAD OF DELETE AS BEGIN -- here I need to get some data from the current row END an...
{ "language": "en", "url": "https://stackoverflow.com/questions/52576340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: replace NA with data from another column in R I know how to make the NA's blanks with the following code: IMILEFT IMIRIGHT IMIAVG NA NA NA NA 71.15127 NA 72.18310 72.86607 72.52458 70.61460 68.00766 69.31113 69.39032 69.91261 69.65146 72.58609 72.75168 72....
{ "language": "en", "url": "https://stackoverflow.com/questions/30228989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible always to force a new thread with Task? I am trying to create a new thread each time Task.Factory.StartNew is called. The question is how to run the code bellow without throwing the exception: static void Main(string[] args) { int firstThreadId = 0; Task.Factory.StartNew(() => firstThreadId =...
{ "language": "en", "url": "https://stackoverflow.com/questions/13570579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "13" }
Q: How to order by time and time only in C#? I have this recorded in SQL Server: 1- startTime (datetime): 5/2/2009 08:30 (brazilian time format: d/m/y) 2- startTime (datetime): 4/2/2009 14:30 (brazilian time format: d/m/y) My application just records time... the date it's SQL that generates by itself be getting...
{ "language": "en", "url": "https://stackoverflow.com/questions/517661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Get Values From a Specific Column Into a Dropdown Want to ask if there's a quick way, an automated or using formulas for this scenario. So I have "config" sheet, and each columns is a list used for a specific dropdown. config!A:A = clientA config!B:B = clientB In a "summary" sheet, I need to add a dropdown in column...
{ "language": "en", "url": "https://stackoverflow.com/questions/74405910", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Entity Framework object graph deletion with Breeze I am encountering a recurring problem that just makes no sense, and hoping someone (in the Breeze team?) can shed some light. The following model illustrates the entities in question. As you can see, I'm adhering pretty strictly to Entity Framework conventions in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/21679073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rename iTunes files with AppleScript I've got this beautiful AppleScript inside iTunes which relocates selected files to my holy music folder. However I'd also like to rename the file to {Artist} - {Trackname}.extension (extension is mp3 99% of the time). While artist and trackname are known earlier in the script I'...
{ "language": "en", "url": "https://stackoverflow.com/questions/32148744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Router not working correctly I am new to react and have no idea why this wouldnt be working. My router code is here: import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/App'; import HomePage from './components/home/HomePage'; export default ( <...
{ "language": "en", "url": "https://stackoverflow.com/questions/44426693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift 3 xcode 8 failed to import Lock and RxSwift in to my project In my project, created by other, i have problems with some libraries that i'm "podding" them in my pod file, using cocoapod. this is my pod file # Uncomment this line to define a global platform for your project platform :ios, "9.3" target 'classme'...
{ "language": "en", "url": "https://stackoverflow.com/questions/45857444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I mongoimport with Meteor? I made a mongoexport of some local data that I now want to mongoimport into production. I'm trying the following command: mongoimport -h production-db-b2.meteor.io --port 27017 --username client --password password_that_expires_fast --collection collection_name --db prod_meteor_com...
{ "language": "en", "url": "https://stackoverflow.com/questions/19963166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to access a form inside a material step template in AngularDart? I am trying to combine a material-stepper with a form in AngularDart. The continue button from the material-stepper should be disabled as long as some required inputs are missing from the form. When the form is completed, the continue button should...
{ "language": "en", "url": "https://stackoverflow.com/questions/52272510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove 'My Approvals' tab from Approval screen (EP503010) in Acumatica? I am trying to remove My Approvals tab from Approval screen (EP503010). But challenge is its not like other pages. This screen built in with some automation steps and conditions. How to remove My Approval tab? A: I found the solution for...
{ "language": "en", "url": "https://stackoverflow.com/questions/66850269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve the constant to the negative gurobi variable power in python I am using Gurobi with Python to solve the following problem: max. (1-Var(3^{-VC})) * (mean(VC)) s. t. sum(C) <= 3 and C in {0,1} Whereas, C is a binary decision vector of length n. V is a coefficient (information) matrix of size mxn (m<=n)....
{ "language": "en", "url": "https://stackoverflow.com/questions/31382225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When creating a form in React .map() does not populate select > options correctly, but works for a normal div I am using React (and Redux) and have a form that I need to populate a dropdown with data via an API call. When I use .map() within a standard div the list of results outputs correct. This is the code: <div>...
{ "language": "en", "url": "https://stackoverflow.com/questions/62066985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Highstock scrollbar not covering the whole length in multiple series I'm having an issue with the scrollbar in multiple series line chart where x-axis is date. Looks like the max length of the scrollbar is determined by the length of the first (older) series. Although when pressing the 'All' button in range selector...
{ "language": "en", "url": "https://stackoverflow.com/questions/23607273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get wallet of user if its delete once in hypeledger I need one help as I have confusion in one condition let's user register and enroll to the network and it's secret which is generate at time of registration saved in mongodb but somehow it's wallet got deleted so we need to register the user again or we can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/57974362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Avoid showing logger entries in console I have one "basic" logging configuration that logs to stdout in my project. stream_handler = logging.StreamHandler() stream_handler.setLevel(logging.INFO) SERVER_FORMAT = "[%(asctime)s] %(levelname)s [%(name)s:%(filename)s:%(lineno)d] %(message)s" DATETIME_FORMAT = "%d/%b/%Y ...
{ "language": "en", "url": "https://stackoverflow.com/questions/70511274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: why does LedoitWolf return zeros for off-diagonal elements? from sklearn.covariance import EmpiricalCovariance, LedoitWolf a = np.array([[ 0.6278, -1.1273 ], [ 0.2323, 0.4533 ], [ 0.3234, 1.5356 ], [1.7473 , -0.3113 ], [-0.3525 , 0.2577 ]]) Empirical_cov ...
{ "language": "en", "url": "https://stackoverflow.com/questions/66782024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mapping entity to dto with interfaces I've my entity class I retrieve from database: public class User{ public string Username {get; set;} public List<IAddress> Addresses {get; set;} } public class Address: IAddress{ public string Line1 {get; set;} public string Line2 {get; set;} } public class Addr...
{ "language": "en", "url": "https://stackoverflow.com/questions/52717294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Encrypt and compress html-codes in iPhone app bundle, unpack on first start My client wants to encrypt/compress the html-code for their medical books in the iPhone bundle, to protect their IP. Whats is a good way to prepare this file for the app bundle, and what complementary libraries (C, Obj-C) should I use to do...
{ "language": "en", "url": "https://stackoverflow.com/questions/612728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Selecting all foreign key references on table I need to select all foreign key references on a table. I came up with a query that works, but takes 9 seconds to execute. It would be very nice if someone could help with optimizing it. Thank you very much! Here is the query: SELECT A.TABLE_NAME REFENCING_TABLE, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41625168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate non-repeating Random Numbers in Unity I am trying to create a simple Bingo game and want to make sure the numbers are not repeating on the bingo card. I have a random number generator, but for some reason the code I'm using doesn't work as the same numbers will constantly repeat. Could somebody pleas...
{ "language": "en", "url": "https://stackoverflow.com/questions/62013122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error- dalvik.system.PathClassLoader [data/app/com.my.appname-2.apk] I searched a lot for similar kind of error, but I am not getting a solution for it. I am getting this error as soon as I start the app 03-21 10:33:08.100: E/AndroidRuntime(13098): FATAL EXCEPTION: main 03-21 10:33:08.100: E/AndroidRuntime(13098): j...
{ "language": "en", "url": "https://stackoverflow.com/questions/15540378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: restart specific website in IIS6 via command line Does anyone know if I can restart a specific website within IIS 6 using the command line. I don't want to use a blanket IISReset /restart command if I can avoid it. I have a site that has an issue and is maxing out the server, I need to find a fix for it but in the m...
{ "language": "en", "url": "https://stackoverflow.com/questions/12832401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Panel does not appear I have a panel with a really simple config: Ext.define('MyApp.view.PanelPersonalData', { extend: 'Ext.Panel', alias: 'widget.panelpersonaldata', requires: [ 'Ext.Panel', 'Ext.Button', 'Ext.XTemplate' ], config: { items: [ { xtype: 'panel', style...
{ "language": "en", "url": "https://stackoverflow.com/questions/21454052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When do you need to use type annotations? While reading Data Types from the Rust Book I noticed that sometimes a variable is defined with a type annotation and sometimes not. When should I use type annotations? let tup: (i32, f64, u8) = (500, 6.4, 1); let tup = (500, 6.4, 1); let months = ["January", "February", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/61950263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: React Router Dom redirects incorrectly upon building Goal: Reach http://localhost:3000/test.html?test=5 Problem: When run in development mode and prior to building, I can reach http://localhost:3000/test.html?test=5 just fine. However, after running 'react-scripts build', when navigating to http://localhost:3000/...
{ "language": "en", "url": "https://stackoverflow.com/questions/58159754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to put procedure inside package I have a package: CREATE OR REPLACE PACKAGE pack1 AS PROCEDURE details; END pack1; / CREATE OR REPLACE PACKAGE BODY pack1 AS CREATE OR REPLACE PROCEDURE details IS BEGIN select * FROM table1; END details; END; / But I am getting error message Warning: Pack...
{ "language": "en", "url": "https://stackoverflow.com/questions/53402682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: insert not functioning mysql php i got one problem with this . everytime i go insert it the page just refresh and blank. i dont know where is the problem but i checked my sql the data i use is the same. so i dont know where the problem is. <form enctype="multipart/form-data" method="POST"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/28455701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Postfix - Html emails contain random characters I'm storing my postfix emails into mysql. I notice some weird characters showing up in some messages, while other emails don't have them. So, it's random. Here's what I see: --1001534069-1142425087-1366837456=:47630 Content-Type: text/plain; charset=utf-8 Content-Tran...
{ "language": "en", "url": "https://stackoverflow.com/questions/16202827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Show all capes/products when i filter them through price range // React imports import { useCallback, useEffect, useState } from 'react' import { GetServerSideProps } from 'next' import Link from 'next/link' import { ParsedUrlQuery } from 'querystring' import { capesApi } from 'api' import { CapeCategoryEnum, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71486169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: String returned by pyodbc different than a normal string? I used pyodbc to get some data from an mssql db. The returned text contains \n whenever a newline is necessary. I loaded all the text into the "row" variable. var=row.somecolumnfromdatabase var2=str('Some text\nand the newline.') print(RichText(var)) print(R...
{ "language": "en", "url": "https://stackoverflow.com/questions/33440504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to I to display the list value in dropdown which I am passing as list from my java class in my JSP.My code works perfectly if I am using table I am passing list from my java class in my JSP where I want to display the list value in dropdown. While debugging I checked that the list is containing desired value...
{ "language": "en", "url": "https://stackoverflow.com/questions/51055539", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how send tinymce content using jquery method post I had a form. like this <form id=form ><input type='text' name='input1' ><textarea name='text' ></textarea></form> when I do this var $dados = $("#form").serialize() I get all the values, to send via jquery post like this $.ajax({ url: "action.p...
{ "language": "en", "url": "https://stackoverflow.com/questions/32913463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: MySQL: Select between September and September I am showing the sales in my Database using this select SELECT YEAR( ordered_date ) AS Jahr, SUM( preis ) AS Preis, count(*) as Anzahl FROM wccrm_orders where typ = 'Brautkleid' GROUP BY YEAR(ordered_date) ORDER BY ordered_date ASC This is working fine, currently the ou...
{ "language": "en", "url": "https://stackoverflow.com/questions/43540678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Set a Default Path in express.js app.set('views', path.join(__dirname,'views')) What is the meaning of the line above? And what is the purpose of it? A: That line of code indicates the main path of your views, for example if you have this hierarchy: views/index.html views/home/index.html views/home/news/index.htm...
{ "language": "en", "url": "https://stackoverflow.com/questions/67450332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery stop custom function from working if width is a certain size How do I make the imagePopUp function stop executing if the screen goes smaller than 768px when resizing? Here is my code: // Image pop up function imagePopUp() { $('.pop-up-img').click(function () { var pizza_img = $(this).attr('src'); va...
{ "language": "en", "url": "https://stackoverflow.com/questions/52661669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Static landing page on Angular I'm learning Angular and I'm having trouble to set a static landing page. What I would like is to have a static html landing page that has 2 buttons that call /login and /signup and from there I would like to bootstrap angular app (calling app-root). I serve my app with nginx. 1- Where...
{ "language": "en", "url": "https://stackoverflow.com/questions/66678299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 2 pagination for 2 tabs on a page From HTML to Wordpress, I made a page with 2 tab as below. NEWS and EVENT tab Each NEWS and EVENT will show the posts for its own category, then I inserted pagination. I click on "Page 2" on NEWS tab, then click EVENT tab, it also takes EVENT to Page 2 (EVENT should be Page 1 by def...
{ "language": "en", "url": "https://stackoverflow.com/questions/74806093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BigQuery batch load execution time and frequency I'm considering switching from Streaming insert to Batch loading for my BigQuery insertion. However, I can't find some information I'd need. * *Time: Let's say I have a csv file with 1 million record. Roughly, how much time does a load take? Are we talking hours or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/73167645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a variable in a bash script that contains the data from a postgres database I'm looking to create a script than can find a specific date/time based on a field in a database Currently i do it manually... # psql gttvdb -U postgres gttvdb=# select patch_date from version_history where version ='1.1.1'; W...
{ "language": "en", "url": "https://stackoverflow.com/questions/11907204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Prevent record duplication in Rails I don't really have any examples, but I have forms that create new records in my ActiveRecord database that do not really have any unique attributes other than their given ID. It has come to my attention that Users are submitting their form, but realized they mistyped something, s...
{ "language": "en", "url": "https://stackoverflow.com/questions/36607243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Purpose of MySQL data type Often when creating a new web app and configuring MySQL, certain fields will need to change in format as the app develops. For instance, I may change the format of a date field or a field which once was just int now needs a letter or what not. So usually I just make every field Varchar 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/3579261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: MySQL UPDATE with INNER JOIN has warnings but will not show them I'm getting warnings when updating a table but the warnings are not showing. Through tedious and lengthy trial-and-error, the cause of the warnings has been tracked down to the INNER JOIN. I need a better way to debug a warning. Setup is OK. I know war...
{ "language": "en", "url": "https://stackoverflow.com/questions/26447367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fiware IoT Broker and IoT Configuration Manager XML Validation I figured out I had to have another GE, the IoT Configuration Manager working parallel to the IoT Broker in order to manage the entities from which we will get data. Now, it seems that the XMLValidator code is giving me some trouble. I registered an enti...
{ "language": "en", "url": "https://stackoverflow.com/questions/27188524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use a variable as the input for a form field in Google Colaboratory? The official example shows how to use Form Fields in Google Colaboratory: https://colab.research.google.com/notebooks/forms.ipynb. Let's say we have a list: fruit_list = ['apples', 'bananas', 'mangoes'] Now I would like to add the elements ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54664021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: how to submit the form in jquery to server side by escaping or bypassing the Validations that were set how to submit the form in jquery to server side by escaping or bypassing the Validations that were set A: You can just call the DOM (not jQuery) form.submit() method, like this: $("form")[0].submit(); Or if it's...
{ "language": "en", "url": "https://stackoverflow.com/questions/3337361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Singleton events I am refactoring some old code, where I have a lot of static events like this public static event Action Updated; public static void OnUpdated() { if (Updated != null) Updated(); } I found out what using lazy singletons is often better than using static classes: * *no memory is consu...
{ "language": "en", "url": "https://stackoverflow.com/questions/30842956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Does it need to DeleteObject after CBrush () Does DeleteObject need to be called after CBrush () Does it is need to call deleteObject() if CBrush bNewBrush(RGB(255, 255, 255)); Thank you in advance. A: No, you do not have to manually call it. The destructor of CBrush calls DeleteObject() for you...actually the dest...
{ "language": "en", "url": "https://stackoverflow.com/questions/22016003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Send a number of "Toast"s spaced by 2 seconds I need to display 4 "Toast"s spaced by 2 seconds between them. How do I do this in such a way that they wait for each other and that the program itself waits until the last of them has displayed? A: simply use handlers. handler has a method called sendMessageDelayed(Mes...
{ "language": "en", "url": "https://stackoverflow.com/questions/6242348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to populate struts 2 ui select tag by json returned list using jquery? //struts.xml <package name="ajax" namespace="/" extends="struts-default,json-default"> <action name="CheckUserAction" class="com.controller.ajax.AjaxAction"> <result type="json"> <param name="root">jsonData...
{ "language": "en", "url": "https://stackoverflow.com/questions/19287651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Delete session from visitor browser I have problem with session, I try unset($_SESSION) and session_unset() and session_destroy() session destroyed but still show in browser (cookie extension) I want remove it finality like session_start(['cookie_lifetime' => 10]) but I not want set a time, I want only remove it...
{ "language": "en", "url": "https://stackoverflow.com/questions/52068808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is an Action not implicit convertable to Action when T : U? Consider this code: class BaseEvent {} class DummyEvent : BaseEvent {} void FooBase(BaseEvent e) {} void FooDummy(DummyEvent e) {} void main(String[] args) { Action<BaseEvent> actionBase = FooBase; Action<DummyEvent> actionDummy = FooDummy; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/25449439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OSB Production Logs Mixing up - Work Manger We are using custom loggers through Java code in OSB. It was working fine till before Production environment. In production under heavy load, all application logs are getting mixed up. I need to Configure Work Manager (WM) for each application. For an OSB project, I have c...
{ "language": "en", "url": "https://stackoverflow.com/questions/54090959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make two openlayers map work synchronized I create two openlayer maps in my page, now I want them work synchronized. For example, one map's center or zoom is changed, then another have change its accordingly. And vice versa. Which event should I registed to the map? A: This is indeed possible, as I have just...
{ "language": "en", "url": "https://stackoverflow.com/questions/16827178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: jquery event not working on mozilla and work for other browser i have been try to make a responsive design but the click event seems locked on mozilla and work just fine on other browser i have the following codes jQuery(document).ready(function($){ $("#serach-button").click(function() { var display=$("#he...
{ "language": "en", "url": "https://stackoverflow.com/questions/27968694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CSS image not properly sized I have this paralax image on my website (the big nature one) This is how the page is normally seen But its not properly sized. When i open chrome dev tools it looks like the image below and that's how i want it to be. this is the image how it needs to be (the nature image) so what i want...
{ "language": "en", "url": "https://stackoverflow.com/questions/66078761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to calculate the Euclidean distance in python I have a dataset in .csv format. contains 2099846 rows and 38 columns I want to calculate the Euclidean distance of any pair of rows and set to another 2d array. import pandas as pd import numpy as np data = pd.read_csv('fraudDataset.csv', encoding= 'unicode_escape...
{ "language": "en", "url": "https://stackoverflow.com/questions/69778061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReSharper Unit Test Runner ignores deployment items configuration I'm using Resharper 6.1 for unit testing a new project and it seems to ignore the the Deployment section of my local.testsettings file. I tried to configure in "ReSharper -> Options -> Unit testing -> MSTest -> Use this test run configuration" to expl...
{ "language": "en", "url": "https://stackoverflow.com/questions/11622581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }