text
stringlengths
15
59.8k
meta
dict
Q: Code calling reverse function does not compile on either g++ or clang++ on Ubuntu 18, but mysteriously works on mac osx On Mac OSX, clang version 7.0.2 the code compiles. On Ubuntu clang version 7.0.0 it does not. Is there really a difference in some default library, this seems weird? MWE: #include <string> using na...
{ "language": "en", "url": "https://stackoverflow.com/questions/54937205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calling a Fortran program within another Fortran program in Fortran 77 Say I have two programs: solve.f and plot.f . The solve program solves an equation and prints the data to a file. The plot routine reads that data and plots it. Is there a way that I can call the plot.f file in the solve.f file? I've tried compi...
{ "language": "en", "url": "https://stackoverflow.com/questions/22793745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ActiveRecord::RecordNotFound Couldn't find Comment without an ID On my Comment view page (show.html) I have a button that, when clicked, will create a row in a different table called Repost (it has a reposts_controller and a repost model). However, when I click on the icon on the Comment show page, I get the followi...
{ "language": "en", "url": "https://stackoverflow.com/questions/16803434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error Using Recycle View on android I'm creating a app with 3 screens, first one I insert contacts info like name, address, e-mail, cellphone... Second screen I put social network links, and thir one I show all contacts info in a RecyclerView but when I click on the button to go to third screen I'm getting stuck on ...
{ "language": "en", "url": "https://stackoverflow.com/questions/49972627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Canvas app navigation from redirect URL I'm working on an app for work and have come to a slight roadblock. How do I navigate to a specific page in my app via redirect_uri? For example, after a user authorizes the app from the home page, I'd like to send them to a different page where they can begin to take action, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/7032411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is there a Max width of a website of 960px instead of just making it a percentage of width? Bulma and I think Bootstrap have max widths on their media queries. Why wouldn't you just make width a percentage of the screen size and leave it at that? A: Per MDN's documentation on media queries, there are only a few...
{ "language": "en", "url": "https://stackoverflow.com/questions/52670477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add conditional tooltip in bootstrap 3,it should be visible only when ellipses(large text) is there How to add conditional tool tip in bootstrap 3,it should be visible only when ellipses(large text) is there. A: you can add the title tag with JavaScript within your condition (if, else, or whatever) document....
{ "language": "en", "url": "https://stackoverflow.com/questions/41040719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: ListView items not changing text colour I've used a colouring adapter to change the text colour of my list view items but after debugging the app crashes and I get an error that I don't know how to fix. I know that the problem lies with line 77 but the reason is not clear to me. Any ideas on how to rectify this? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29803123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Excel Sheet into a Deedle data frame in F# I am trying to get data in excel into a Deedle data frame. I have used Excel provider to get the data but I am not sure how to get it into a record so that it can be taken into Deedle. My code that I have is shown below. open Deedle open FSharp.Interop.Excel typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/64558607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to style Google Maps with their API I'm trying to change the style of a Google Map, but I'm not sure how. Google has given me these object attributes: [ { "stylers": [ { "hue": "#ff0022" }, { "saturation": -16 }, { "lightness": -5 } ] } ] But I am unsure how to make that work with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/22252632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How Session.run() chooses which sub-graph to run I was trying to understand how Session.run() works in Tensorflow flow. I know that Session.run() runs the sub-graph specified by the "fetch" argument we give it. Since depending on which part of the sub-graph is executed first we might get different results, I was try...
{ "language": "en", "url": "https://stackoverflow.com/questions/48465510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Setting printer's "KeepPrintedDocuments" property in .NET Here's what we're trying to do: We want an unobtrusive way of taking everything a client prints on their computer (all of our clients are running POS systems and use Windows XP exclusively) and sending it to us, and we've decided the best way to do that is to...
{ "language": "en", "url": "https://stackoverflow.com/questions/12110010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: JSF 1.2 : Can I create reusable component inside JSF view Is possible to something like this in jsf? <ui:composition> <x:reusableCode id="editScreen">InnerHtml ... </x:reusableCode> code... <x:use component="editScreen"/> </ui:composition I know I can create my own component and register it in jsf tagLib, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/10750384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: C# array access from first element only I'm sorry if this has been asked before, but I don't even know what to search for to find an answer. I'm fairly experienced in .net/c# etc., however, I have come across something I don't understand how works. I'm working on a third party library where I do not have access to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/70944981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mapping values in dropdown 2 dependent on value selected in dropdwon 1 via php mysql I am fresher in php & mysql. I have a from where there are 2 dropdwon's. The value in dropdwon are coming via mysql. But now i am not able to get the value in 2nd dropdown dependent on value selected in 1st dropdown. Here is the co...
{ "language": "en", "url": "https://stackoverflow.com/questions/34835569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the best way to store a Delphi set in a dataset? The title pretty much says it all. I'm using a TClientDataset to store an array of objects, and one of the objects has a member defined as a set of an enumerated type. As I understand it, Delphi sets are bitfields whose size can vary from 1 to 32 bytes dependi...
{ "language": "en", "url": "https://stackoverflow.com/questions/347592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Why parallelizing this code yields almost no performance improvement on six core machine? I am learning parallel programming in Haskell using Simon Marlow's book. In the chapter about parallelizing Sudoku solvers, I decided to write my own solver using backtracking algorithm. The problem is that there is almost no p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75220688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How to use jq syntax within a bash script? The following command works fine if launched in a console: /bin/lshw -quiet -json -C network|/bin/jq '.[1] | .logicalname' Please, note the 1 in square brackets. On my computer this command delivers: root@t15:/home/hmb# /bin/lshw -quiet -json -C network|/bin/jq '.[1] | .log...
{ "language": "en", "url": "https://stackoverflow.com/questions/71394745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Getting and Setting Values for Dynamically Created HTML inputs using Javascript I created "input" elements dynamically in Javascript and am appending and "insertAfter" to a "div" already created. These "inputs" show up but I am unable to get or change their values incrementally which I would need to be using later o...
{ "language": "en", "url": "https://stackoverflow.com/questions/36121572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: CountIf not automatically calculating My countif function if not calculating automatically - am I missing something? Option Explicit Function my3CountIfs(Rng1 As Range, Criteria1 As String, Rng2 As Range, Criteria2 As String, Rng3 As Range, Criteria3 As String) As Long Dim ws As Worksheet For Each ws In ThisW...
{ "language": "en", "url": "https://stackoverflow.com/questions/41765395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Grouping bar chart by filtered rows (R) I want to display time series data on a grouped bar chart. I filtered the two variables from one column (x, y). Unfortunately I can't figure out how to display them grouped. Using the code below will stack the bars: library(ggplot2) library(dplyr) target <- c("x", "y") filter...
{ "language": "en", "url": "https://stackoverflow.com/questions/73108038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MissingTableException in unit test with hiverunner I have a simple hiverunner tests from - https://github.com/klarna/HiveRunner/blob/master/src/test/java/com/klarna/hiverunner/ExecuteScriptIntegrationTest.java and I want to add it to my multimodule maven project. After adding tests, resources, plugins and dependenci...
{ "language": "en", "url": "https://stackoverflow.com/questions/61202463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to rename a file with a "unknown" name in C++? A VM creates a file and a .vbs gets it's directory and name. Simply by checking for .m4a files in a directory. (there is only one at a time) and I'd like to rename the file, It says there is no such file or directory though. ifstream infile; infile.open("A:\\S...
{ "language": "en", "url": "https://stackoverflow.com/questions/54729016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: @ApiImplicitParams ... @Example(value) is ignored I am trying to provide custom JSON example to the body of my request. I am writing @ApiImplicitParams({ @ApiImplicitParam( paramType = "body", //dataType = "com. ... .MyClass", dataType = "java...
{ "language": "en", "url": "https://stackoverflow.com/questions/72035446", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: EJB3/JPA entity with an aggregated attribute I wanted to know if there is a way to get in a One2Many relationship a field of the One side that is an aggregate of the Many side. Let's take the following example: @Entity public class A { @Id private Long id; @OneToMany (mappedBy="parentA") private Collection<B> al...
{ "language": "en", "url": "https://stackoverflow.com/questions/3709010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: react-pose flip animation e.g thumbnail goes full screen want to create a portfolio/projects page where user click on thumbnail it goes full screen and other page comes in i guess i can achieve this using pose-flip https://codesandbox.io/s/fourth-react-pose-example-qj92p problem is how i can do it with multiple elem...
{ "language": "en", "url": "https://stackoverflow.com/questions/59580354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Docker postgres doesn't start at build I want do use a docker container to simulate my production environment, so I installed the db and the server in the same container, and not each in his own. This is my dockerfile: FROM debian RUN apt update RUN apt install postgresql-9.6 tomcat8 tomcat8-admin -y RUN service pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/52493726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Plotting a chart from nested JSON list I am trying to plot the price data I took from the CoinGecko API. To get the data itself, I used this command: mbrp = coingecko.get_coin_market_chart_range_by_id("bitcoin","usd","1577836800","1609459200")["prices"] The output of that command looks like this: [[1577836800000, 71...
{ "language": "en", "url": "https://stackoverflow.com/questions/65714229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When will managed container services (AKS) be available on Azure Government? This article from January 2018 states that AKS will be coming to Azure Government soon. Do we know of a target delivery date? An older post references a target of Q3, but the newer post was more vague. A: The latest and most accurate upda...
{ "language": "en", "url": "https://stackoverflow.com/questions/50361047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to save image names for multiple arrays? I am trying to save image names in cellImageName in CitySelectViewController (shown as a comment above the line with the error). ViewController.swift var selectedImages = [String : UIImage ]() let cityImages: [String : UIImage] = [ "City00" : UIImage(named: "city_00")! ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41115241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access the .csv file directory through array I have created save button which I guess going to create a .csv file to store x,y and name of the object on screen since I can't check it because I can't access the file its created @IBAction func saveButton(_ sender: Any) { let objectsName = stringObjectNa...
{ "language": "en", "url": "https://stackoverflow.com/questions/46061564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ProcessFrameUsingD3D11() vs ProcessFrameUsingXVP() in DX11VideoRenderer? I'm attempting to render video using using the Microsoft sample DX11VideoRenderer found at: https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/DX11VideoRenderer From my extensive research it seems that using DirectX 11 wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/50136565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is it possible to get a listing of attributes and ranges for an NSMutableAttributedString? I've created a method that takes a NSAttributedString and I'm looking to dynamically create a subview and label to put the string into. Because attributes like font and size need to be determined to correctly determine the siz...
{ "language": "en", "url": "https://stackoverflow.com/questions/19844336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "68" }
Q: how to remove active record object from array I have set of active record object in array. I just want to delete on object from array not in database a = Model.limit(2) b = Model.first a.delete(b) returning nil value Its not deleting is there anyway? A: This is what you need: objects_in_db = Model.all objects_in...
{ "language": "en", "url": "https://stackoverflow.com/questions/16883709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "24" }
Q: Sort by date but group similar fields I am new to Stack Overflow and to ASP, but this site has bailed me out many times! I am very unfamiliar with ASP and VBS but more familiar with PHP, so if there is a PHP solution to my problem, that will be okay too. A little background - My access DB has two tables (that are r...
{ "language": "en", "url": "https://stackoverflow.com/questions/12482614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: mouse.get_pressed() inconsistent/returning (0, 0, 0) edit (solved): using event.button seems to have done the trick. When it returns 0, 0, 0 it returns the correct mouse button (1 = left, 3 = right) I've tried looking up solutions to this but in every answer it seems the person didn't know about or forgot to include...
{ "language": "en", "url": "https://stackoverflow.com/questions/63970977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Leaflet sidebar not opening on load I'm using the leaflet-sidebarv2 plugin to create a sidebar for a cartodb/leaflet map. I'm running into problems that I a.) can't get the options to work – close button, autoPan, etc) and b.) can't use setContent to dynamically set data. The sidebar functions as expected. The prob...
{ "language": "en", "url": "https://stackoverflow.com/questions/29519394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: caused by java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module in spring starter project in IntelIj In my spring starter project, I am trying to do API calls using the JPA. My pom.xml look like this: 4.0.0 <groupId>com.example</groupId> <artifactId>demo</artifactId> <version>0.0.1-SNAPSHOT</version...
{ "language": "en", "url": "https://stackoverflow.com/questions/47511572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How can i add a field to my Django model to dynamically filter a dropdown on another field? I have a created Django-CMS Plugin with a ManytoManyField to another model. When creating the Plugin on the Front-End, i want the user to be able to filter the ManytoManyField list (which might be too long). By the way this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55615478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linking to OpenGL from a DLL: glew functions are null when running I'm building a DLL that links to OpenGL. But I get a problem when calling some functions such as glGenBuffers, because apparently __glewGenBuffers (and other glew buffer functions) are null. Everything compiles properly, and the same code works in th...
{ "language": "en", "url": "https://stackoverflow.com/questions/14131083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Populating RecyclerView with two sets of data from Firebase I have Firebase set up as so... { "items" : { "-LDJak_gdBhZQ0NSB-7B" : { //item "name" : "Test123", ... }, ... }, "likes" : { "YoTjkR2ORlcr5hGedzQs5xOK2VE3" : { //user "-LDJiY0YSraa_RhxVWXL" : true //whether or not t...
{ "language": "en", "url": "https://stackoverflow.com/questions/50574906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tomcat 8 Unicode filename war file deploy issue On Linux(openSUSE) machine I'm trying to deploy on Tomcat 8 application(war file) that contains a files with names with Unicode characters. Inside of the war file the name looks like: бжк-природний-1496336830201.xml but after deploy the file looks like: ???-??????????...
{ "language": "en", "url": "https://stackoverflow.com/questions/44343502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UWP Kinect V2 keep frame rate constant (30fps) I am processing frames received from Kinect v2 (Color and IR) in UWP. The program runs on remote machine (XBOX One S). The main goal is to get frames and write them to the disk with 30 fps for Color and IR to later process them further. I am using the following code to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/66046498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: LESS css compile error I am not super proficient with LESS (I use SCSS/SASS) but am working on someone else's code that appears to have been compiled successfully in the past. The ONLY thing that's spitting out an error is this: background: url(@theme-images-dir + 'bx_loader.gif') center center no-repeat #fff; spec...
{ "language": "en", "url": "https://stackoverflow.com/questions/32148246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ModuleNotFoundError: No module named 'utils': How do I change the parent directory looked at by Import I think I know what the issue is here but I don't know how to approach fixing it. This is the current structure I have in my project directory: └── src ├── utils └── utils.py ├── comparator └...
{ "language": "en", "url": "https://stackoverflow.com/questions/65159240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hashtable "default" getter? A particular class has a Hashtable containing 1..N elements. I'm wondering if there are generic getter/setter methods for the Hashtable used in a class. I'm looking to make the hashtable values behave more like regular object properties: public class foo { private HashTable _stuff; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/963131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to ensure the same static pybind11:dict defined in one module is accessed by other modules using that library I'm trying to build some python modules using pybind11 and Bazel. The key thing is that I need a central dictionary to store information on all modules of a certain type (Foo, Bar in code below). However...
{ "language": "en", "url": "https://stackoverflow.com/questions/71079308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get different behaviour based on the value that comes from the GUI component? I have text box on a GUI app where user might set two values "productsupport" or "productLocal" in my service class I am checking if the type is productSupport do something otherwise do something else Is there a better way of checki...
{ "language": "en", "url": "https://stackoverflow.com/questions/60084838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to pass multiple bundles from an activity/class through multiple successive classes so the data ends up at a final class? how to pass multiple bundles from an activity/class through multiple successive classes to all end up at a final activity (final activity = email client from android app)? I was able to pass ...
{ "language": "en", "url": "https://stackoverflow.com/questions/35148510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Referencing a checkbox value from HTML to C# I have a checkbox on my .cshtml page that when it is checked I want it to NOT send and e-mail to the user. Below is the various pages of code that I have to transfer the boolean value from the .cshtml page to the .cs mailer code but somewhere the value is not transferring...
{ "language": "en", "url": "https://stackoverflow.com/questions/31593039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C# Limit Calls Per Second I am calling a service that only allows 10 calls per second. I am using Stopwatch and Thread.Sleep to limit my calls. Are these the correct tools for this job, or should I be using Timers or some other tool. public void SomeFunction() { Stopwatch stopwatch = new Stopwatch(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/31347104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "TypeError: 'list' object is not callable" for keywords= inside a list I am going to put a very easy example of what I'm trying to do before posting my code example 1: This is what I want to accomplish(but with the keywords inside a list) print("hi", end="****") output: hi **** example 2: This is as far as I can ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/69318668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Semaphore and Critical Section issue on multiple threads I am having an issue with my multithreaded code and hope someone can help me out. I wish to print on the console all files and folder starting from a folder given as an argument. I use this function for the enumeration: void enumerate(char* path) { HANDLE ...
{ "language": "en", "url": "https://stackoverflow.com/questions/49581223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Github.com issues with TFS source control, is it possible? Is it possible to use Github for the issues, TFS for source control, and reference the github issue ids on the TFS checkins? We use TFS and there's no plan to switch to Git in the near future. The product owner is out of our network and we can't allow them V...
{ "language": "en", "url": "https://stackoverflow.com/questions/43120529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run time for insertion sort with different size, how do I calculate? If I have n random int, it takes x time to run it Now, I have 6n random int, how long does it take? I use insertion sort. Last question, if i choose different sort (same size n), how do I calculate it? A: There's no way to know exactly, but there ...
{ "language": "en", "url": "https://stackoverflow.com/questions/50165548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Jenkins Consolidate Email Notifications with all upstream job status in a single mail Is there any way to get build number, build status and build url information of all upstream jobs of a build pipeline at last job. I have many jobs connected to each other. A triggers B, B triggers C. I do not want to send succe...
{ "language": "en", "url": "https://stackoverflow.com/questions/44730089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Recursively read a directories with a folder I've been trying to request a recursively read a directory with fs module. I had problems along the way, its only giving me a file name. Here's how I need it to be: * *File name. *And also a directory of that file. This results may be as an object or bulked into an a...
{ "language": "en", "url": "https://stackoverflow.com/questions/46390733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Pod not compiling for simulator Out of a sudden my project stopped compiling for simulator - everything works on real device but when I try to install to simulator it fails to compile two pods which were there a long time ago and used to work. Another pod is M13ProgressSuite which also can't fine NSNumberFormatter ...
{ "language": "en", "url": "https://stackoverflow.com/questions/41336666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Сustomize R plotly plots colors in subplots I have a dataframe, which you can get with this code: x = data.frame(metrics=c("type1", "type1", "type1","type1", "type1", "type1", "orders", "orders", "orders","orders", "orders", "orders", "mean","mean","mean","mean","mean","mean"), hr=c(6,7,8,6,7,8,6,7,8,6,7,8,6,7,8,6,7...
{ "language": "en", "url": "https://stackoverflow.com/questions/63555242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Populate Combo box with INI file in VB.NET I'm a new leaner with Vb.NET and trying to populate a combo box with a particular section from the INI file. For example, my INI file contains: [Month] Jan Feb Mar [Date] 1 2 3 I've a form with two combo boxes. I want to populate one of them with the values under M...
{ "language": "en", "url": "https://stackoverflow.com/questions/30028304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to remove table name prefix from aspnetboilerplate Core 2 I am trying to use aspnetboilerplate Core 2 in MVC (not Angular version). After running Add-Migration and Update-Database, all of the created tables have Abp prefix. Such as: AbpUsers, AbpRoles, AbpFeatures, ... How can I remove Abp from table names? I se...
{ "language": "en", "url": "https://stackoverflow.com/questions/47157706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove a specific file name using htaccess I have not enough experience in writing rules in .htaccess. My site url is like http://exampletest.com/detail.php?i=my-url I want to rewrite that url to http://exampletest.com/my-url What I have tried so far: RewriteEngine on RewriteBase / RewriteCond %{THE_REQUEST} /de...
{ "language": "en", "url": "https://stackoverflow.com/questions/49229880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: db2 for zos - prohibit changes in columns I would like to ask if there is a way to prohibit programs to change data in certain columns, at db2 level. The problem is that I have some programs that change data in a group of tables but now I must not change data in some columns and I would like to know if there is a wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/61619342", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Maxscript - align selection of meshs pivots perpendicular to mesh I have a 3D Globe and each of the countries are seperate meshes. I am in the process of writing a script in 3D Max that automates centring the pivots. for all in selection do(all.pivot = all.center) This part is fine. However I am bringing this into...
{ "language": "en", "url": "https://stackoverflow.com/questions/43542343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL Update and Select in one statement I am attempting to do an UPDATE and a SELECT in the same sql statement. For some reason, the below code is failing. $sql = "UPDATE mytable SET last_activity=CURRENT_TIMESTAMP, info1=:info1, info2=:info2 WHERE id = {$id};"; $sql .= "SELECT id, info1, info2 FROM myTable WHER...
{ "language": "en", "url": "https://stackoverflow.com/questions/38553892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Form-Select saving more than 1 value I want to save two values to the DB (user id and user name) with only one form selection field. Is that even possible? This is what I got so far: <%= f.collection_select(:user_id, User.where(brand: current_user.brand), :id, :name, {prompt:true}, {class: 'form-control'}) %> That o...
{ "language": "en", "url": "https://stackoverflow.com/questions/36308234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Group array of object nesting some of the keys with specific names I have this array of objects, that I need to modify to make it easier the rendering. const items = [ { tab: 'Results', section: '2017', title: 'Full year Results', description: 'Something here', }, { tab: 'Results', s...
{ "language": "en", "url": "https://stackoverflow.com/questions/48425797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Using JOIN (?) to intentionally return more results than rows Sorry for the length of detail required to ask the question. There are four tables (related to research, not really having anything to do with a sporting facility). They're as follows: 1) Let's say the first table is a list of tennis courts, and let's sa...
{ "language": "en", "url": "https://stackoverflow.com/questions/42657301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bootstrap navbar stopping ng-view I'm trying to build a angular application with node.js and jade. Here's the relevant code block body div(ng-controller='AppCtrl') .navbar.navbar-default.navbar-fixed-top(role='navigation') .container .navbar-header button.navbar-toggle(type='button', data-to...
{ "language": "en", "url": "https://stackoverflow.com/questions/29883678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unity 2D: Gravitational Pull I'm working on a small game: I want all GameObjects to be pulled into the middle of the screen where they should collide with another GameObject. I tried this attempt: using UnityEngine; using System.Collections; public class Planet : MonoBehaviour { public Transform bird; privat...
{ "language": "en", "url": "https://stackoverflow.com/questions/63723724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I get 'NoneType' object is not callable when try to scale dataframe I have dataframe training_x like this: >>> print(training_x) Pregnancies Glucose BloodPressure 762 9 89 62 127 1 118 58 564 0 91 80 375 12 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74623700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modal to interrupt form submission I have a form that I'm using to execute an account cancellation. I'm trying to display a pure CSS modal form to interrupt the form post so that the user can confirm the submission. So far, to achieve this, I have triggered the modal on form submission. Using the code below however ...
{ "language": "en", "url": "https://stackoverflow.com/questions/37848271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions after updating to Firebase on Play Store I updated my app to use Firebase, it was working perfectly on my device. However its crashing on many of my users devices java.lang.NoClassDefFoundError: com.google.firebase.FirebaseOptions at com.google.fire...
{ "language": "en", "url": "https://stackoverflow.com/questions/39597144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: InvalidClientTokenId error aws when trying to get caller identity hi I am unable to run this command aws sts get-caller-identity. when I do sudo nano ~/.aws/credentials I can only locate this [default] aws_access_key_id = my_id aws_secret_access_key = my_secret_id and after doing successful steps of command aws c...
{ "language": "en", "url": "https://stackoverflow.com/questions/70276512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: How to show column from another table in list_display without foreign key relation? I have these database relationships: Now in my admin.py in the list_display I want to display the orders table plus the quantity row from order_items. To do so, I would use this sql query: SELECT order_id, quantity FROM ord...
{ "language": "en", "url": "https://stackoverflow.com/questions/55891917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cert Revoked when calling API to my server with self signed cert I'm using Axios in ReactJS to call my API that is hosted on the cloud with a self-signed certificate. The error for the request returns net::ERR_CERT_REVOKED. I've added the self-signed code to my login keychain on MacOS running reactjs. But the cert ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58474007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Angular animations not working on Firefox due to CSP (with web-animations-js in polyfills.ts) I have issue applying Angular animations on Firefox (and Safari). Yes I know that there are a lot of answers out there saying you can simply adding web-animations-js in polyfills.ts and it should do the trick. Unfortunately...
{ "language": "en", "url": "https://stackoverflow.com/questions/61571057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mvc radiobuttonfor in editortemplate keyboard navigation does not set model Context: Model generating some RadioButtonFor groupings as input to answer questions. What is happening: Case 1. When mouse click on a radio option the display looks correct. When the [HttpPost] ActionResult(model) for the page is triggered ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48551001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Syntax error: missing : after property (jQuery validate) I am building a set of jQuery validate rules to be used for a form prototype. I am getting a JS error with my code. Chromes complains with the error [14:30:27.722] SyntaxError: missing : after property id at the location specified in the code comments. here i...
{ "language": "en", "url": "https://stackoverflow.com/questions/22542183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing @Retryable and @Recover methods in Spring Boot + Mockito For one class e.g. called Class A, I call an external api (with exceptions and I have mocked the class). In Class B, I have a method that calls Class A's method with the potential exceptions that could occur. Class B has the @Retryable and @Recover met...
{ "language": "en", "url": "https://stackoverflow.com/questions/66804651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError 'module' object has no attribute 'decodebytes' I'm doing some processing on an image using OpenCV. Now I need to convert the base64 string to bytes. In Python-3.6 I could use base64.decodebytes but I can't find the alternate module in Python-2.7 . Is there any other alternative present in Python-2.7 ?...
{ "language": "en", "url": "https://stackoverflow.com/questions/56149779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Live local coding in IntelliJ Can I make IntelliJ re-compile and run when I change the code? All I could find was this infinitest plugin that specifically runs all tests. Maybe something similar to http://www.romaniancoder.com/spring-boot-live-reload-with-intellij/
{ "language": "en", "url": "https://stackoverflow.com/questions/47664069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: default constructor for POCO entity in EF6 Code first approach I'm new in EF. I'm making an app with EF6 Code First approach, I've made all my POCO entities to derive from a base class which define an Id. What I don't know is how to declare the constructor for an entity that handles many to many relatioship. For ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/37905651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Remove 'spaces' between html tags in text from Excel In MsExcel/LibreOfficeCalc I have text like this: <h3><strong>Ways to stretch your budget</strong> <p>passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? </p> <p>passages, and mor...
{ "language": "en", "url": "https://stackoverflow.com/questions/52791146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a way to see if a statement is True during a give time? I have been playing around with the raspberry pi for a bit now and was trying to do a small project. I want my program to recognize when a button is pressed during a given time, i.e 1 seconds, then light up an LED. My attempt was to see if the button w...
{ "language": "en", "url": "https://stackoverflow.com/questions/68628908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Zend Framework 3 AJAX responding data I try to do async contact form validation in ZF3 by using ajax. Thats my ContactController public function contactAction() { $form = $this->form; $request = $this->getRequest(); $response = $this->getResponse(); $vm = new ViewModel(['form' => $this->form]); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40505196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: String variable is not returning properly in C I have been trying to make a function, is_isogram, return a value that is an alphabetized string. When I pass the value through the function from main, the variable to be returned is set to the correct value. However, when I return the variable from the function, it do...
{ "language": "en", "url": "https://stackoverflow.com/questions/51584871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Update JTable programmatically I have this code to edit contents of already existing JTable: DefaultTableModel items = new DefaultTableModel(); items.addColumn("qwe1"); items.addColumn("qwe2"); items.addColumn("qwe3"); items.addRow(new Object[]{1,2,3}); jTable1.setModel(items); But nothing is displayed in the jTa...
{ "language": "en", "url": "https://stackoverflow.com/questions/20301904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Runtime error 462 when saving word file from excel I have an excel sheet that is to create numerous word files while looping through the code. After pasting data från excel, the word files are to be named and saved to the hard drive. The first iteration goes perfect, but on the second I get a Runtime error 462 just ...
{ "language": "en", "url": "https://stackoverflow.com/questions/72111400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reload content blockers while they are active? I have an app with several content blockers extension. Their configuration is fine and they act as they are supposed to. However I need to call reloadContentBlocker(withIdentifier:completionHandler:) from SFContentBlockerManager when I've updated the filter lists...
{ "language": "en", "url": "https://stackoverflow.com/questions/61411329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: BeautifulSoup: how to get all article links from this link? I want to get all article link from "https://www.cnnindonesia.com/search?query=covid" Here is my code: links = [] base_url = requests.get(f"https://www.cnnindonesia.com/search?query=covid") soup = bs(base_url.text, 'html.parser') cont = soup.find_all('div',...
{ "language": "en", "url": "https://stackoverflow.com/questions/69458471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I install only install_requires but not the lib with setup.py I want to make a docker image for my OpenERP. I have modified OpenERP source code and I want to use the image to run it. So the image should be "libs ready" but have no OpenERP pre-installed on it. The OpenERP project has a setup.py. I'd like to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27266626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: strcpy segfault copying file content to array This is my code char url[MAX_WORD + 1]; char *urls[MAX_WORD + 1]; //char word[MAX_WORD + 1]; while(fscanf(fp, "%100s", url) == 1) { strcpy(urls[index], url); index++; } This is the error I'm getting on valgrind: ==43177== Process terminating with default actio...
{ "language": "en", "url": "https://stackoverflow.com/questions/71335369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to login in Wordpress Admin on Local I am currently doing work for a live wordpress site and created a local installation using local by flywheel. When I use the admin credentials on the live site it logs in fine. However when I try to login on the local installation using the same credentials it says invalid...
{ "language": "en", "url": "https://stackoverflow.com/questions/58142709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How use BufferList with SocketAsyncEventArgs and not get SocketError InvalidArgument? I can use SetBuffer with SocketAsyncEventArgs just fine. If I try to use BufferList (after doing SetBuffer(null, 0, 0)) I always and immediately get SocketError InvalidArgument (10022) when I do SendAsync on the socket. There are N...
{ "language": "en", "url": "https://stackoverflow.com/questions/11820677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: Using Dictionaries for DataGridView in c# WPF I have a Dictionary that I want to display in DataGridView in a WPF App. I have another list with the column headers that I want. The list of doubles is 200 items long, and the headers 201 items long. Im wondering if there is an way of displaying them all in a table ? Di...
{ "language": "en", "url": "https://stackoverflow.com/questions/31996307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reset postgres password I am on Windows 10 using WAMP, I added PostgreSQL and PhpPgAdmin, everything was working fine. Today I can not log in to PostgreSQL through PhpPgAdmin or a php_pdo web app. I tried editing pg_hba.conf in 2 locations c:\PostgreSQL\pg96\init\ and c:\PostgreSQL\data\pg96\ and changed the...
{ "language": "en", "url": "https://stackoverflow.com/questions/46223116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Same API returns different results I need some advice. I need to get data from API to display it on my application. The API is working both through Postman or through the browser, but when I upload the same code to the server, my API response returns NULL. Here is the response I am getting with POSTMAN: And here is...
{ "language": "en", "url": "https://stackoverflow.com/questions/58838727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to populate an html page using data from a SQL table I want to populate an html page using data from a SQL table... data will be categorized based the year Table will look something like this: Year Month article ----------------------- 2010 Jan   Sql101 2010 Feb   Html101 2010 Mar   Smsht101 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/66517936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Div "jumping" over page I made chat, and I am using ajax to refresh messages function loadlink(){ $('#porukice').load('messages.php',function () { $(this).unwrap(); }); } loadlink(); // This will run on page load setInterval(function(){ loadlink() // this will run after every 5 seconds }, 2000)...
{ "language": "en", "url": "https://stackoverflow.com/questions/42402689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }