text
stringlengths
15
59.8k
meta
dict
Q: Get Azure Webjob History - 403 Token invalid I am trying to retrieve the web job history of an Azure web job via REST using a .NET backend and the OAuth2 credentials flow (as described here https://learn.microsoft.com/en-us/rest/api/appservice/web-apps/get-triggered-web-job-history-slot) How do I need to authenticat...
{ "language": "en", "url": "https://stackoverflow.com/questions/71785136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Meteor loginWithFacebook permissions not being asked I am using Meteor.loginWithFacebook: Meteor.loginWithFacebook({ // https://developers.facebook.com/docs/reference/fql/permissions/ requestPermissions: ['read_friendlists','user_about_me','user_birthday', 'user_education_history', 'user_friends',...
{ "language": "en", "url": "https://stackoverflow.com/questions/27339190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save All excel Charts in one pdf then Email it I would greatly appreciate it if you could help me with this, I am creating a dynamic excel sheet and I managed so far to create excel charts using Excel vba. However, I am struggling with exporting all of the charts and one additional sheet to one pdf. I have a...
{ "language": "en", "url": "https://stackoverflow.com/questions/34848393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Folium map not displaying Running on canopy version 1.5.5.3123 With; Folium Version: 0.1.2, Build: 1 The following code; import folium import pandas as pd LDN_COORDINATES = (51.5074, 0.1278) from IPython.display import HTML import shapefile #create empty map zoomed in on London LDN_COORDINATES = (51.5074, 0.1278...
{ "language": "en", "url": "https://stackoverflow.com/questions/36969991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "20" }
Q: Python-How I pass list or vector in pd.read_sql query New to Python Data science. Here I have a sql server extract and I am extracting the data via 'pyodbc.connect' and reading the data by pd.read_sql(.....SQL query) from SQL server. Here my intention is want to use a list or vector (example below) in SQL query whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/49698446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: EF Core overwrite mechanic to send commands to database I want to use EF Core for my application but instead that EF Core should send a SQL command onto a datbase it should just simply send it to another application which will care about multi-tenancy and choosing the right database (tennant) for this command. So is...
{ "language": "en", "url": "https://stackoverflow.com/questions/73809984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When using Object.assign, why only the inner object properties of copied object are changed, when changing the original object? I'm doing a shallow copy and trying to understand why only the inner objects properties are changed, given the fact that a shallow copy copies the reference from, lets say car into copiedCa...
{ "language": "en", "url": "https://stackoverflow.com/questions/66570327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to programmatically install a jar file to startup on all operating systems - Java So i have come across a problem with installing my java application to startup on all Operating Systems. Firstly I know this is possible on Windows by adding a new key to registry (I think). I believe the command: 'reg add' works o...
{ "language": "en", "url": "https://stackoverflow.com/questions/25699787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iOS NSURLSession Get Request JSON always showing outdated data I have the following doubts about the JSON data returned from using both "GET" versus "POST" request. In the following URL JSON DATA, the data is not always updated based on the server changes (eg: database). For example, if I delete all the suggestion r...
{ "language": "en", "url": "https://stackoverflow.com/questions/24552481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Numeric comparison during merge in R Dataframe d1: x y 4 10 6 20 7 30 Dataframe d2: x z 3 100 6 200 9 300 How do I merge d1 and d2 by "x" where d1$x should be matched against exact match or the next higher number in d2$x. Output should look like: x y z 4 10 200 # (4 is matched against next higher value t...
{ "language": "en", "url": "https://stackoverflow.com/questions/24099498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Serialize Point, PointF Objects I am new to serialization concept and i am trying to serialize PointF class as i need to send it over socket connection (I am using ObjectOutputStream and ObjectInputStream). My problem is while sending no matter what values i have in my PointF object while sending , after receiving i...
{ "language": "en", "url": "https://stackoverflow.com/questions/21179794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Chrome DevTools "isSystemKey" Debugger Attribute While looking into chrome.debugger.sendCommand documentation, I came across an attribute, isSystemKey. I wonder whether this could be used to verify whether a key is typed by a human or program (similar to the isTrusted event attribute), but there doesn't appear to be...
{ "language": "en", "url": "https://stackoverflow.com/questions/72861886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is instabot.py safe to use? I am unfamiliar with the instaboy.py python package. I am wondering if there are any security issues with this package like possibly getting information leaked. I am wondering how does the API work if there are a lot of people using this package. Wouldn't you need your own personal Instag...
{ "language": "en", "url": "https://stackoverflow.com/questions/67041693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Refreshing SBT project in Intellij Idea switches Java to 7 I was having a Play 2.4.2 scala project built with J7 in IntelliJ Idea, then I switched the project to Play 2.5.0 with J8. I have modified J7->J8 everywhere I could think of, but for some reason, when I refresh project in SBT projects window in Intellij Idea...
{ "language": "en", "url": "https://stackoverflow.com/questions/36220873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Where is the Upgrade Path for C# 6.0? Is it safe yet? I maintain a large number of projects, all currently written in .Net 4.5 / c# 5. I'm interested in upgrading to C# 6.0, but cannot find any documentation on the safety of doing so. From what I've read, upgrading to VS 2015 / C# 6 / .Net 4.6 means building our co...
{ "language": "en", "url": "https://stackoverflow.com/questions/35729254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Android FTP connection problems Hi I have been trying for two days to get a simple ftp connection to transfer a small xml file. I have tried lots of different examples of code, but all seem to give the same errors. Main FTP class code: public class MyFTPClientFunctions { public FTPClient mFTPClient = null; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/30978033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: MongoDB options in connection string are being interpreted as the database name I am trying to set the maxPoolSize via connection string in MongoDB following this piece of documentation. Here is my connection string: mongodb://localhost:27017/databaseName?maxPoolSize=200 However, instead of having the database data...
{ "language": "en", "url": "https://stackoverflow.com/questions/40664652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS Code crashes when I close windows PowerShell I mostly open VS Code with "code." command from powershell. But today when I opened the VS Code and closed the Powershell VS Code also crashed: Error Message: (node:4628) Electron: Loading non-context-aware native module in renderer: '\?\C:\Users\MuhammadQasim\AppData...
{ "language": "en", "url": "https://stackoverflow.com/questions/64737825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I validate $_GET to allow only specific key Let's say my current URL is http://domain.com/category/cars/?page=2 How do I validate on this page to allow only $_GET['page']? If user type on URL something below, will go to error page. http://domain.com/category/cars/?page=2&bar=foo http://domain.com/category/ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/9322100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I check if a value is changed a certain amount within a second? I'm monitoring the Pitch and Roll Values in my application and i want to monitor to see if they change by 5 degrees within a second and then run a process. Currently my code looks like this: CMAttitude *attitude; CMDeviceMotion *motion = scoring...
{ "language": "en", "url": "https://stackoverflow.com/questions/17277162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading in a table with non-standard row names in R? I have a .txt file that looks like this: xyz ghj asd qwe a / b: 1 2 3 4 c / d: 5 6 7 8 e / f: 9 10 11 12 ... ... I'm trying to use read.table(header = T) but it seems to be misinterpreting the row name. Is there a way to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71834615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Difference between use of sleep thread and refresh page in php as server event source I have built a chat application using server sent events .But sse are not supported across all browsers.I was planning to use long polling ajax for polling source page for browser which do not support sse. What the server page does...
{ "language": "en", "url": "https://stackoverflow.com/questions/33263265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create list of dictionaries when values of original dictionary are lists I have a dictionary where the values for each key are a list. I would like to extract a key value pair for each key in the dictionary with its corresponding element value from the list, and then store individual dictionaries in a new list. So, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74719130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MVC View Lookup Caching. How long is it cached? and where is it cached? We are optimising a site and have read about the issue of the initial view lookup taking a long time. Subsequent lookups of the views are then much faster. Mini-profiler shows that a lot of the time is in the initial find view (I know I can use ...
{ "language": "en", "url": "https://stackoverflow.com/questions/11786808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Embedded Google Map in modal is showing blank until window resizes manually I have a google map that is embedded into a modal, but when clicking to open the modal, the map appears blank. After googling i thought i found a solution using jquery to resize the window again but it doesnt seem to work. The current code...
{ "language": "en", "url": "https://stackoverflow.com/questions/48431346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Join table, for which the table name has to be grabbed in the same query This question is not to discuss if the setup of the DB is as it should be, i'm not happy with how it is, but it is how it is and a refactor will not be done by the DBA at this moment. What i am looking for is a way to join a table, for which i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/24439223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debugging visual basic dll library from asp.net hosted in IIS I have the following problem. I have some project written in Visual Basic (not Visual Basic .NET but simple Visual Basic - sic!). I can compile it and generate a dll. Then inside my web application I add reference to this dll library. When I run my web ...
{ "language": "en", "url": "https://stackoverflow.com/questions/4218333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get a a process window handle by click in C# At the moment, I can get a list of running processes with a main window using System.Diagnostics.Process.GetProcesses() and executing a simple LINQ query. Then, I can import user32.dll and the SetWindowPos function and I manipulate other processes' window parameters. Ok, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/10318640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Concurrency about Hibernate first level cache Background: We have a distributed system running same web application on multiple machines. Application on each machine will w/r data to one database (the database is Oracle cluster). We have a load balancer in front of those web application servers (pls ignore the web s...
{ "language": "en", "url": "https://stackoverflow.com/questions/36809239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to send image in pushplugin in BigPictureStyle method? I am developing a cordova application, I would like to know how to send image in pushplugin like BigPictureStyle as done by flipkart myntra and all .. there is a pull request https://github.com/phonegap-build/PushPlugin/pull/498 for the same but how to imple...
{ "language": "en", "url": "https://stackoverflow.com/questions/31939809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .Net 3.5 Winforms Basic Dialog with Label Autosize for custom text contents I want a form containing: +----------------------------------------+ | Dialog Title X| +----------------------------------------+ +----------------------------------------+ |icon | | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/3583870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python-docx header / footer error from docx import Document d = Document('/tmp/doc_with_header.docx') d.sections[0].headers[0].add_paragraph(text='moar header') d.save('/tmp/moar_headers.docx') this is the code here is the error AttributeError: 'Section' object has no attribute 'header' A: Looks like, you've g...
{ "language": "en", "url": "https://stackoverflow.com/questions/43205825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using Math.Round(ReportItems!category.Value,MidpointRounding.AwayFromZero) returns incorrect value I am using =Math.Round(ReportItems!category.Value,MidpointRounding.AwayFromZero) in a tablix row, which results incorrect value. 5.48 is rounding to 5 Instead, I would like to see 5.48 as 6. A: What you are asking ...
{ "language": "en", "url": "https://stackoverflow.com/questions/21147702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subscription' is not assignable to type I'm having a problem getting a service to display results on page. The error is the subscribing method returns a subscription type and I'm stuck trying to get it to a products array. The products are in a json file. Setup: I'm trying to learn Angular 2 by going through a tut...
{ "language": "en", "url": "https://stackoverflow.com/questions/46391400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: how to use distinct keyword to filter object i have a project list where i can get all details about projects. In project class,i have object of customer in project , i just want to filter that list according to customer. how can i do this . public ICollection<Project> GetProjectBasicDetailsByProjectTypeCustomerID(...
{ "language": "en", "url": "https://stackoverflow.com/questions/13010511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LNK1104: cannot open file 'wxbase28d.lib' I am trying to compile existing project created using wxWidgets library. I successfully compiled wxWidgets 2.8.12 library. Now, I am trying to compile my project. But I get error: fatal error LNK1104: cannot open file 'wxbase28d.lib' Afterwards I added some variables in se...
{ "language": "en", "url": "https://stackoverflow.com/questions/32073431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Finding record which doesn't contain some value in array fields I am using sequelize + typescript over node (with postgresql db) and I have the following model: id: number, someField: string, arr1: number[], arr2: number[] and I'm trying to find all records in which arr1 and arr2 don't contain a certain value. As f...
{ "language": "en", "url": "https://stackoverflow.com/questions/69518087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when getting row().data() from indexed db I tried to get the row data using row(index).data() Where index is the row index. I get the data initially pushed to the table. But the update I do in "columnDefs" render() function is not reflected. The value I return in render() function is reflecting in table but it...
{ "language": "en", "url": "https://stackoverflow.com/questions/63581695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cryptic error messages with npm and node I'm following facebook's tutorial on getting started with React Native (https://facebook.github.io/react-native/docs/tutorial.html#hello-world), but I can't get the react-native-cli to install. Any help interpreting the error messages? Obviously it says to unlink something, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/30924461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the equivalent of dispatchTouchEvent for a fragment? I'm trying to get horizontal swipe's from a vertical scrollview before they are consumed by the scrollview in order to override them. It can be done in an activity starting with the dispatchTouchEvent. I'm trying to do the same thing in a ListFragment ...
{ "language": "en", "url": "https://stackoverflow.com/questions/22864956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What does this binary-search function exactly? I struggle to understand how this binary-search function works: bsearch :: Ord a => [a] -> a -> Bool bsearch [] _ = False bsearch xs x = if x < y then bsearch ys1 x else if x > y then bsearch ys2 x else True where ys1 = take l xs (y:ys2) = drop l xs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50555747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set factor values for multiple columns to missing without losing the label attribute I have surveydata with a number of likert-scale items that have been imported as factors where the actual question is attached to those factors as the "label" attribute. In addition, there is one random variable that has been assign...
{ "language": "en", "url": "https://stackoverflow.com/questions/72944370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mathematics errors in basic C++ program I am working with a basic C++ program to determine the area and perimeter of a rectangle. My program works fine for whole numbers but falls apart when I use any number with a decimal. I get the impression that I am leaving something out, but since I'm a complete beginner, I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/3034686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: "Failed to load module script" error when building and serving with a base property in vitejs I'm having an issue in serving a vite app. I'm building the app using the following command: vite build --base=/registration-form/ and serving the app with serve -s dist But I'm getting the following error in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/68190154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Duotone image in Canvas Alright. I'm new to this, I'm not coder, just trying something for fun. And I'm confused. I've found a tutorial about making a duotone image with canvas, and I'm so new to this that I can't figure out what I'm doing wrong. Maybe someone can help. Here is my code. It displays the original imag...
{ "language": "en", "url": "https://stackoverflow.com/questions/72423589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: list indices must be integers or slices, not str error appears while parsing xml I tried to write a parses for my device. But I can't undestood where I made mistake, because I got the error: print(value2['@id']) TypeError: list indices must be integers or slices, not str My code you may see below: import...
{ "language": "en", "url": "https://stackoverflow.com/questions/71704716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring installation with Eclipse I have downloaded and installed Spring STS for Eclipse... But when I've Created a Spring Project I can't to import org.springframework.context.ApplicationContext; So I tried to add library like spring.jar but I couldn't find this jar.(properties-->java build path-->libraries) What's...
{ "language": "en", "url": "https://stackoverflow.com/questions/9888514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Why are we checking if temp == null? This code is for implementation of linked list. node *single_llist::create_node(int value) { struct node *temp, *s; temp = new(struct node); if (temp == NULL) { cout<<"Memory not allocated "<<endl; return 0; } else { temp->inf...
{ "language": "en", "url": "https://stackoverflow.com/questions/57731829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to run PenAndPdf project in Android So Pen and Pdf is an open source PDFViewer/Annotater app for android and other platforms. It is written on top of MuPDF and as such is written in C. When I get the code from github and add it to android studio it gives me all kinds of problems. How to I run the project? Pen A...
{ "language": "en", "url": "https://stackoverflow.com/questions/59988213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to query and parse adjacent list hierarchy using cte? How can I query this parent-child hierarchy to produce a result set in which the levels are in their own columns? Sample data: SET NOCOUNT ON; USE Tempdb; IF OBJECT_ID('dbo.Employees', 'U') IS NOT NULL DROP TABLE dbo.Employees; CREATE TABLE dbo.Employees ( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13158857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Expression based Autowire in Spring Boot (with Kotlin) Situation I'm trying to come up with a methodology to conditionally load one bean (based on the existence of 2 property or environment variables) and if they are missing load up another bean. Vars So the two property (or env vars) are: * *ProtocolHOST *Pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/53043564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Creating queue for Flask backend that can handle multiple users I am creating a robot that has a Flask and React (running on raspberry pi zero) based interface for users to request it to perform tasks. When a user requests a task I want the backend to put it in a queue, and have the backend constantly looking at the...
{ "language": "en", "url": "https://stackoverflow.com/questions/63766979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter: How to determine cacheSize of Images before launch? The Flutter DevTools displayed the message: Consider resizing the asset ahead of time, supplying a cacheWidth parameter of 35, a cacheHeight parameter of 35, or using a ResizeImage. Because my image size depends on the screen size I am searching for a way ...
{ "language": "en", "url": "https://stackoverflow.com/questions/67761359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: RestApi post request to specific URL Im working on integration with some rest API and i need to make calls to their URLS to receive the data. Im just wondering if its possible to use a REST web-service which will be mapped to that certain URL instead of the local one and later on I will write the client side that w...
{ "language": "en", "url": "https://stackoverflow.com/questions/40996013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the use of a package body without package specification in Oracle? I have faced this question in one interview. Without specification, Package Body is invalid but they asked advantage. Can you explain what is the use of a package body without package specification in Oracle? A: As you've said, package body ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53953508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to keep a login session from a cross origin (CORS) Spring security without sending another authentication request I have a Spring boot app server protected by spring security. The user is authenticated with a username and password when they first log in. If I use Spring MVC (same origin) I didn't have to re-logi...
{ "language": "en", "url": "https://stackoverflow.com/questions/62368879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable layout autoresize in layout.js I've got an application made using primefaces which in turn uses the jquery ui layout plugin to change the size of four divs (north, south, west and center) when you resize the browser window. I'm not allowed to remove the script myself as it's part of the application so I nee...
{ "language": "en", "url": "https://stackoverflow.com/questions/28564634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Public domain to private intranet server, with https I have servers set up on a huge local intranet/network where they hosts local websites, however I want HTTPS on the websites hosted from the servers. I need HTTPS since the websites uses HTML 5 and uses phone cameras to take pictures and so forth. And I cant selfs...
{ "language": "en", "url": "https://stackoverflow.com/questions/47378343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel eloquent order by subquery I have a problem with ordering by columns in subquery (lastname, firstname). I already tried this code as suggested by other posts: ->with(['customer' => function ($query) { $query->orderBy("lastname", "asc") ->orderBy("firstname", "asc"); }]) H...
{ "language": "en", "url": "https://stackoverflow.com/questions/56522288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: golang variable naming convention across packages Recently I started studying go-ethereum and this was my first time using golang. C++ is my main language and I'm a bit puzzled due to variable names in go-ethereum project. core/state/managed_state.go:25:type account struct { core/state/state_object.go:98:type Accoun...
{ "language": "en", "url": "https://stackoverflow.com/questions/50939125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Libgdx: Dynamically increasing size of Pixmap I am new to Libgdx. I have a requirement where I have multiple balls in a game and I want to increase the ball diameter every time the user touches the ball. I used the method pixmap.drawCircle() to create the ball and every time a user touches the ball, I call a method ...
{ "language": "en", "url": "https://stackoverflow.com/questions/26880366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to build a values density heatmap in Bokeh for timed window occurencies calculated in Spark? According to https://stackoverflow.com/a/48692943/1759063 it is possible to aggregate the occurence on values per time unit like that: +---------+----------+------------------------+------------+------+ |device_id|read_d...
{ "language": "en", "url": "https://stackoverflow.com/questions/70890561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: efficient way to draw pixel art in pygame I'm making a very simple pixel art software in pygame. My logic was creating a grid class, which has a 2D list, containing 0's. When I click, the grid approximates the row and column selected, and mark the cell with a number, corresponding to the color. For simplicity, let's...
{ "language": "en", "url": "https://stackoverflow.com/questions/63316612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I have the Man-Class of a jar which exists in a different jar in classpath I have a scenario where I need to make a dummy executable jar with Main-Class from a different jar which is in classpath ( i.e., main class is not in the dummy jar). Is that possible to achieve this? This is because the jar which is havin...
{ "language": "en", "url": "https://stackoverflow.com/questions/22651402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Removing one Duplicate value from a String in Java 8 using lambdas I have to remove a duplicate value from a String. But first I have to filter the given value that needs to be deleted. And if it's a duplicate, return a new String with first duplicated value removed. And I want to do this using lambdas. Example. Inp...
{ "language": "en", "url": "https://stackoverflow.com/questions/71971708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Compiling nativetoascii maven plugin When i m compiling my project, i got those problem: Failed to execute goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii (default) on project ViewController: Execution default of goal org.codehaus.mojo:native2ascii-maven-plugin:1.0-alpha-1:native2ascii fail...
{ "language": "en", "url": "https://stackoverflow.com/questions/12497624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is it possible to restrict switch to use particular cases only in kotlin/JAVA? Is it possible to restrict switch for using particular case. Here is my scenario : class XYZ { public static final String DEFAULT = "DEFAULT"; public static final String BIG_TEXT = "BIG_TEXT"; public static final String BIG_P...
{ "language": "en", "url": "https://stackoverflow.com/questions/47173199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access global event object in Firefox The goal: run some functions on .ajaxStart() but only if fired by a certain event. The code: $('#loading_indicator').ajaxStart(function() { if(event != null){ if(event.type == 'hashchange' || event.type == 'DOMContentLoaded'){ $(this).show(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/9886787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Delete lines that found in another file i have 2 files: text1.txt and text2.txt how can i do this: if found a row in text1.txt that match to a row from text2.txt, delete it (or display the unique)? this is what i have so far: $a = file('text1.txt'); $b = file('text2.txt'); $contents = ''; foreach($b as $line2) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/19806386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error response TwitterKit I have one petition url request but the problem is the response data is nil , with other url request the petiton is success but with this not function! Any idea ¿? let client = TWTRAPIClient() let statusesShowEndpoint = "https://api.twitter.com/1.1/statuses/home_timeline.json" //le...
{ "language": "en", "url": "https://stackoverflow.com/questions/45979401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to generate chart from result I am currently learning SAS programming and am having difficulty figuring out how to generate a pie chart from the results. Any direction someone with more experience can give me is much appreciated. proc freq data=sashelp.cars; where lowcase(type)^="hybrid"; table type*origin / no...
{ "language": "en", "url": "https://stackoverflow.com/questions/31997282", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MS SSRS Report Builder - Semantic query compilation failed Semantic query compilation failed: e InvalidParameterValueCardinality The parameter "Region1" requires a single value. However, the value provided for the parameter is a set. (SemanticQuery ''). (rsSemanticQueryEngineError) ---------------------------- An e...
{ "language": "en", "url": "https://stackoverflow.com/questions/43798592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to only match before the first dot? I have the following regex. ^((?!example).)*$#Subdomain is reserved (example). I would like to validate <subdomain>.example.org. However, since the domain name contains example, a match is occurring. The validation should not match when the address is www.example.org The vali...
{ "language": "en", "url": "https://stackoverflow.com/questions/8250721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: convert scientific notation to real number on ggplot python I'm tryin to make a plot with pythons ggplot but the x and y aaxes are showing up in scientific notation this is my code: ggplot(dfMerge, aes(x='rent_price',y='sale_price', color='outlier',label='name')) +\ geom_text(hjust=0, vjust=0, size=20) +\ geom_point...
{ "language": "en", "url": "https://stackoverflow.com/questions/46007919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NatTable width inside a CTabItem I have a CTabFolder which has many CTabItems. Each CTabItem has a different NatTable as its control. When each NatTable is created, it has column headers but no rows. When I click on a "Populate Data" button, it will populate each table with data. If I view each tab before I click ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40635094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Button not clickable despite isClickable() being true I have a ListView populated with items, some of which have Buttons. Sometimes, the Buttons onClick() registers correctly, but other times, the onClick() simply does not work. I am checking if isClickable() is true, and it is in all situations. What are some possi...
{ "language": "en", "url": "https://stackoverflow.com/questions/56843927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Troubleshooting mod_rewrite in a .htacces with a LightSpeed I have a couple web pages located at these locations: Home Page / Index : www.codeliger.com/index.php?page=home Education : www.codeliger.com/index.php?page=home&filter=1 Skills: www.codeliger.com/index.php?page=home&filter=2 Projects: www.codeliger.com/ind...
{ "language": "en", "url": "https://stackoverflow.com/questions/20646932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Apache Wicket replace fragements of the RIA application (web-site :)) without page refresh we are currently in the process of analyzing different JS and web-frameworks. We would like to build a DHTML application where you can replace / load content into the website at runtime. For example: There is only a "main.html...
{ "language": "en", "url": "https://stackoverflow.com/questions/12122257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in lines.etm(x[[i]], tr.choice = tr.choice[j], col = col[j + (i - : Argument 'tr.choice' and possible transitions must match When trying to plot cif data in R : plot(cif.kweet) this error pops up: "Error in lines.etm(x[[i]], tr.choice = tr.choice[j], col = col[j + (i - : Argument 'tr.choice' and possib...
{ "language": "en", "url": "https://stackoverflow.com/questions/47252319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Cancel IO for pipe I 'm using the CreatePipe to redirect stdin/out from a process to my process. http://msdn.microsoft.com/en-us/library/windows/desktop/aa365152(v=vs.85).aspx This works ok so far. The problem is when I want to terminate the thread that waits for the client process to write something. I can use Canc...
{ "language": "en", "url": "https://stackoverflow.com/questions/27089489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Run GitHub Actions workflows Jobs on 2 runners parallelly at a time I'm using GitHub actions to copy the artifact to the runner/VM, here I added my VM as a self-hosted runner and ran the workflow directly on the runner. I'm downloading the artifact from artifactory and copying it to the deployment location, Now, I N...
{ "language": "en", "url": "https://stackoverflow.com/questions/73684407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read a PEM file with Flutter API encrypt import 'package:encrypt/encrypt.dart'; import 'package:encrypt/encrypt_io.dart'; import 'dart:io'; import 'package:pointycastle/asymmetric/api.dart'; import 'dart:async'; import 'package:flutter/services.dart' show rootBundle; class Encrypt { Future<String> loadPrivateKey(...
{ "language": "en", "url": "https://stackoverflow.com/questions/61720791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using Vagrant to manage AWS instances For some time I am managing EC2 (Windows Boxes), RDS and S3 on AWS. I do know manual steps that must be made in order to set up lets say a normal box (DB, Storage and Server. I heard about Vagrand, but everywhere I looked it mainly talks about Linux boxes on AWS. My main questio...
{ "language": "en", "url": "https://stackoverflow.com/questions/26677255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Entity Framework - Challenging setup includes multiple primary keys, and multiple associations to foreign table I'm trying to map a couple of legacy tables using Entity Framework. The classes look like this... public class Customer { [Key, Required] public string Code { get; set; } public string Domain ...
{ "language": "en", "url": "https://stackoverflow.com/questions/14401018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python Regex Capturing Multiple Matches in separate observations I am trying to create variables location; contract items; contract code; federal aid using regex on the following text: PAGE 1 BID OPENING DATE 07/25/18 FROM 0.2 MILES WEST OF ICE HOUSE 07/26/18 CONTRACT NUMBER 0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75153254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenLayers.js which files to use? As i red from the readme file, openlayers.js has multiple choices for including files and themes. What i would like is to use the lightest solution of openlayers.js files. I included the openlayers.light.js in my app, and it creates maps but do not show them, check this: do i forgo...
{ "language": "en", "url": "https://stackoverflow.com/questions/14773449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Need to sort complex objects, like dominoe Here is a situation. For example I have a structure like this (code is simplified): class Dominoe { ctor Dominoe(left, right) string LeftSide; string RightSide; } And I have data, somewhat like this: Dominoe("2", "3"), Dominoe("1", "2"), Dominoe("4", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36598168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to cache a small piece of information in Django I have a website that delivers a list of questions to users. This set of questions is the same for all users. I have these questions stored in a text file. The content of this file will not change while the server is running. I cannot use a static page to display t...
{ "language": "en", "url": "https://stackoverflow.com/questions/29391293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XAMPP 7.0.0 php session causing whole page not to load Before upgrading to XAMPP 7, everything used to work fine. Then after the update, everything except php sessions is working. Any page with session_start() does not load in the browser and nothing is logged into php.log file concerning the error. I've looked e...
{ "language": "en", "url": "https://stackoverflow.com/questions/34542243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automatically sync 2 writable git repositories I am working in a small office, where we are using git with a central repository at a windows share, where we can PUSH to and PULL from. To be able to work from home, travel etc, we want to have a possibility to reach a central repo from "the outside world". Our interne...
{ "language": "en", "url": "https://stackoverflow.com/questions/37540598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Cloud Shell - How to resolve CERTIFICATE_VERIFY_FAILED error? I have simple dataflow pipeline and trying to execute from cloud shell, Code: from __future__ import print_function import apache_beam as beam from apache_beam.options.pipeline_options import PipelineOptions with beam.Pipeline(options=PipelineOptio...
{ "language": "en", "url": "https://stackoverflow.com/questions/55430101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP duplicating query results? For some reason,when I run this query through PHP, it returns 8 rows, when in reality i only have 2 rows in my database, and when i run it through phpmyadmin it returns 2 obviously. $sql = "SELECT url FROM bookmarks,users WHERE bookmarks.user_id = {$session->user_id}"; $resultado = $...
{ "language": "en", "url": "https://stackoverflow.com/questions/14888823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Intemittent Cannot create ActiveX component Everything was working fine, and then our code starts throwing: Cannot create ActiveX component when we try to create a com object. We reboot the server a couple of times and it goes away Then after a while it comes back This is driving us nuts. Any help appreciated. A: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/5585358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Alternative to Cookie Session for different applications within same domain I have 2 different ASP.NET applications on the same domain, different app pools on IIS. Application 1 opens Application 2 using window.open(url). At this stage the cookie is shared among both applications. Application 2 runs the following c...
{ "language": "en", "url": "https://stackoverflow.com/questions/55311185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Crash with UITabBarController Sometimes I have strange crash when I switch from one tab to another: 0 libobjc.A.dylib 0x3857e636 objc_msgSend + 22 1 UIKit 0x3024ca89 -[UIResponder(Internal) _canBecomeFirstResponder] + 21 2 UIKit 0x...
{ "language": "en", "url": "https://stackoverflow.com/questions/25874754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Asking the user about the radius of the circle and will solve the area and the circumference I am making a class similar code to this but I don't know how I will make it into a input function. How would I ask the user to input a radius of a circle? class Circle: def __init__(self, r): self.radius = r ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71297957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Where to place a data array in zf2 I want to create the following static data array in my zf2 project so that routing and others methods can be done based on department codes, and then view helpers and form select elements in different modules look up the department titles for the user interface. $deptList = arr...
{ "language": "en", "url": "https://stackoverflow.com/questions/30039796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Facebook API Send Message : How to send link I send messages with facebook application, the messages are texts I want to send link in the message. This is my code : $message_to_reply = '<a href="http://test.com">hello</a>'; $ch = curl_init($url); $jsonData = '{ "recipient":{ "id":"' . $sender . '" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56040528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: qTranslate plugin switching language in the same page I have a serious problem with a qTranslate buttons. Right now the web structure is: http://www.site.com/news/?lang=en When I stay in the home page and I try to change the language, the botton opens the first post (maybe because I'm using permalink): <?php if(qtra...
{ "language": "en", "url": "https://stackoverflow.com/questions/16574953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can anyone explain ![]/[] == true statement in js? console.log(true == []); // -> false console.log(true == ![]); // -> false Why they are always false? A: true == [] is false simply because true is not equal to []. ![] evaluates to false, so true == ![] is false. Also, true == !![] is true.
{ "language": "en", "url": "https://stackoverflow.com/questions/57595738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }