text
stringlengths
15
59.8k
meta
dict
Q: Memory Problem when creating large Access reports We are having a problem. We have a complex Access 2003 application. When our main user is trying to create a particularly long report he getting a message “2004 - There isn't enough memory to perform this operation. Close unneeded programs and try the operation again...
{ "language": "en", "url": "https://stackoverflow.com/questions/4199360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: service / subscription manager engine Is there a good opensource service/subscription manager engine that contains things like service dependencies (i.e. if I choose service A, I also need Service B and Service C), subscription types, start and termination etc... I'm building a site that sells various services and s...
{ "language": "en", "url": "https://stackoverflow.com/questions/1439641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I grab the AR1 estimate and its SE from the gls function in R? I am attempting to get the lag one autocorrelation estimates from the gls function (package {nlme}) with its SE. This is being done on a non-stationary univariate time series. Here is the output: Generalized least squares fit by REML Model: y ~ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/39781945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Editing repeating table INfoPath Form in form library? I created repeating table and I added two fields in it.while publishing its not giving me option to edit those properties in my document library...when we generally publish we get the option to edit those properties in document library but its disable while crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/2580692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot link to libclang in OSX High Sierra I have installed llvm and clang through brew. When I compile a program with the header file "clang-c/Index.h", I get Undefined symbols for architecture x86_64: "_clang_createIndex", referenced from: _main in t-c9baef.o .... Here is the command I used for compiling my pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/48538296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: checkbox onchange not working What am I missing. None of these checkboxes, when checked or unchecked, produces any messages, even if I just past this into a clean html file. It also doesn't work even in an html file where everything else is working fine in terms of the javascript. Here is the form declaration: <for...
{ "language": "en", "url": "https://stackoverflow.com/questions/28333442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Material properties databases (BRDF) I am working on a new Ray Tracing project which has to provide highly realistic simulation. I have a problem with calculating reflection on target. I wanted to use the BRDF (bidirectional reflectance distribution function) model which gives information about diffuse and specular ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58918939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Bitrate by default for Audio Recording with MediaRecorder With java class MediaRecorder, you can record audio with encoder AMR NB (4.75 to 12.2 kbps sampled @ 8kHz) I developed an app for a mobile with Android 2.2 and the bit rate used was 12.2 kbps by default, but I installed the same apk in a mobile with Android 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/5821526", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to define records count to a table that updated only when the table is updated * *I want to defint a view (or something else) that will save a static variable of the table count. I want this variable to be update only when the table is updated, this way each time I call the view it will not calculate the count...
{ "language": "en", "url": "https://stackoverflow.com/questions/25010023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why isn't xsl:for-each select="" working with this xml file? I am trying to display an xml file with an xsl stylesheet. I just canNOT seem to get it to work. The feed I'm using is this: http://screamingdeals.tdn.travelscream.com/atom.xml Here is an abbreviated copy of the xml for it: <feed xmlns="http://www.w3.org/...
{ "language": "en", "url": "https://stackoverflow.com/questions/11870687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: typeof operator on Folder returns error In a google apps script function, I have a Folder parameter. So, this statement Logger.log(typeof folder); logs 'undefined' when the parameter is not supplied, which is right. But when a folder is supplied, I get this error: Invalid JavaScript value of type $Proxy686. (line ...
{ "language": "en", "url": "https://stackoverflow.com/questions/11609275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there any way to add a custom library to jre there are some codes that I use very often in my programs and its kind of annoying to add it to my program every time I'm wondering if there is any way to solve this problem like adding
{ "language": "en", "url": "https://stackoverflow.com/questions/72109917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'NoneType' object has no attribute 'da' I am calling another program(script2.py) from the script1.py. The script1.py contains a button when i press it, it will start to execute the script2.py. I want to use a variable of script1 in script2. I have tried 2 way to fetch it but giving the error or the e...
{ "language": "en", "url": "https://stackoverflow.com/questions/63788965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python urllib2 does not respect timeout The following two lines of code hangs forever: import urllib2 urllib2.urlopen('https://www.5giay.vn/', timeout=5) This is with python2.7, and I have no http_proxy or any other env variables set. Any other website works fine. I can also wget the site without any issue. What co...
{ "language": "en", "url": "https://stackoverflow.com/questions/27327787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: I'm trying to automatically reload a div after some seconds but it doesn't work in Chrome Here is the Main code. Please check it. what is making this conflict. <script type="text/javascript"> $(document).ready(function () { setInterval(function() { $.get("ajax_files/manage_friend_requests.php", function (r...
{ "language": "en", "url": "https://stackoverflow.com/questions/18185947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to submit dropzone js form and django form with one submit button I am using dropzone js to make a form where users can upload information along side images. Dropzone js requires that dropzone has a form with a class of dropzone for the drag and drop image uploads to work, this now leaves me with two forms. The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/54652835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Automate a user assignment to a specific app role within an application I'm automating an app setup and having registered an applicatioin with az ad app create --app-roles with the manifest: [{ "allowedMemberTypes": [ "User", "Application" ], "description": "Read items", "displayName": "R...
{ "language": "en", "url": "https://stackoverflow.com/questions/58868505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculating a Sum with case sensitive Picture of the table { "_id" : ObjectId("62f6e11df737d6c2b49b9b9f"), "_ID" : 345, "name" : "Ron", "age" : 25, "city" : "Holon", "Number_Days_booked" : 2 } { "_id" : ObjectId("62f6e11df737d6c2b49b9ba0"), "_ID" : 459...
{ "language": "en", "url": "https://stackoverflow.com/questions/73341866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can't make an onClick with Zepto Hello I have a simple HTML page like this: <html> <head> </head> <body> <h1>Test page</h1> <script type="text/javascript" src="script.js"></script> <script type="text/javascript"> app.init([ "param", "123456789" ]); app.execute(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/32567356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extract a meta tag from XML/HTML using Linq? I am trying to parse a bit of data from an HTML file, but my Linq statement is not working. Here is the XML/HTML. Below, how can I extract the string "41.8;12.23" from the geo.position meta tag? Thx!! Here is my Linq String longLat = (String) from el ...
{ "language": "en", "url": "https://stackoverflow.com/questions/1313529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Property Names of MultiDimensional array I am new to JS. Programmatically I need to find propery names of multidimensional array. Expected Output - ["name", "position", "salary", etc.] When I am using map I am getting values of "name" data.map(item => item.name). var data = [ { "name": "Tiger Ni...
{ "language": "en", "url": "https://stackoverflow.com/questions/71008093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error occurred while trying to connect to db in aws I deployed war file to aws which is spring project. and I installed oracle rds on aws. When I try to connect to oracle rds on aws from my local computer with root-context.xml. It worked. It can connect to oracle rds on aws from my local computer with my spring proj...
{ "language": "en", "url": "https://stackoverflow.com/questions/58045540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android: updating the screen during computer controlled UI changes I've checked the other questions asked here and didn't succeed in implementing the solutions. My application uses controls, not drawing on the canvas. Basically this sums up my issue: - public void onCreate(Bundle savedInstanceState) { super.on...
{ "language": "en", "url": "https://stackoverflow.com/questions/4351154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get a notify email with file attatchment , whenever we place new file in shared location? I will explain my requirement here. We have shared location in Network(like http://emea.com/ABC/Files), Every month some other team folks will place some excel sheet in that location. we manully check that location and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44963443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Play Framework 2.2 log output to console in tests How do I configure the logger in Play Framework 2.2 in order that I see log output in the console during play integration tests? The configuration for Play Framework 2.1 does not work anymore. BR Rene A: Update To understand more about how logback is configured you ...
{ "language": "en", "url": "https://stackoverflow.com/questions/18999294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "14" }
Q: How to write multiple ArrayList in a text file In below code , i'm trying to create a txt file and there i want to add some list of values. So here my approach is create a new file if file is not present and add the respective elements into it. Please see below , i'm unable to get my expected output, So can you he...
{ "language": "en", "url": "https://stackoverflow.com/questions/63048653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Is there a list of all possible fields for sorting in WooCommerce? I see that it is possible to add your custom field for sorting products in WooCommerce (e.g. this question) Copying from the example: add_filter( 'woocommerce_get_catalog_ordering_args', 'enable_catalog_ordering_by_modified_date' ); function enable_c...
{ "language": "en", "url": "https://stackoverflow.com/questions/72520190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to convert database table entry to an enum? In my web application I have many tables which have fixed data, when I use them in my project then I use enums for that purpose. I want to convert these tables to enums automatically. After little looking up I did this by using T4, TextTemplates: see my code here. But...
{ "language": "en", "url": "https://stackoverflow.com/questions/27731646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Making an image control invert its colors depending on theme I'm trying to work out how to have an Image control in my Windows Phone application invert its colors based on the global background setting (either "Dark" or "Light") chosen by the user in Settings->Themes->Background. A: There is no built-in way to inve...
{ "language": "en", "url": "https://stackoverflow.com/questions/4656880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Calling drawnow causes heap corruption I'm still new to Matlab and Simulink and I'm seeing a strange problem. I have a series of Simulink blocks (processA, processB, etc) which are Matlab functions connected serially. They all have the same format. function outConfig = run_processA_Fcn(inConfig) coder.extrinsic('hi...
{ "language": "en", "url": "https://stackoverflow.com/questions/48655761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python (+Django) : use @property in success_url KO . while using it with get_success_url is OK (class based view) I found a workaround for my issue but I need to know why the first above case doesn't work. I need to pass a parameter (reman_pk) to my view but when I try : class RepairCreateView(LoginRequiredMixin, Cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75384392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Auto layout delayed on label I have a calculator app (just like the apple in-built calculator app) and I used auto-layout. Everything is working fine in portrait mode but when I rotate the screen to landscape the UIButtons resize according to the screen size but the UILabel that show result resizes after a delay, i....
{ "language": "en", "url": "https://stackoverflow.com/questions/33008578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loading SQLite data using AsyncTask , What am I doing wrong? I'm new to android and java, and I'm trying to implement an Asynchronous Loader. But no data is being loaded. Am I missing something conceptually here? My Activity: public class TestActivity extends AppCompatActivity implements LoaderManager.LoaderCallback...
{ "language": "en", "url": "https://stackoverflow.com/questions/45233875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bookmarklet, js injection and popup issue I'm currently writing a bookmarklet that loads and executes a remote js file by appending a new <script> tag in the current window, like so : javascript:(function() { if(typeof __bml_main != "undefined") return __bml_main.init(); var s= document.createElement('script...
{ "language": "en", "url": "https://stackoverflow.com/questions/2994187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: In Python 2, what are the performance trade-offs for viewvalues()/viewitems() over itervalues()/iteritems()? Obviously, using values, items, and keys is bad practice in Python 2.X in virtually every instance, because you'll allocate an extra list you don't actually need. Thus, for some time, the recommended best pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/21783763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: can we use js variable name as class name in html I want to concatinate class name with variable count which keep getting updated after each button click, for which I am getting error as "citysName is null". can anyone suggest button.addEventListener('click', resp => { count = count +1; var card = document.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/70728977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Excel DNA with ILNumerics I have used ILNumerics via Excel DNA in Excel successfully for some time. Now I wrote a new function which uses the linsolve function from ILNumerics (which needs the mkl_custom.dll) and I cannot build this into an XLL. My custom function works in debug which is why I assume sth in the pac...
{ "language": "en", "url": "https://stackoverflow.com/questions/30863959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I write float value in python that can be read natively in Java? How can I write float value to file in python so that it can be later read in Java with ObjectInputStream#readFloat? I need high read performance, so I'd like to avoid parsing the float from String. A: Use the struct module (documentation), sp...
{ "language": "en", "url": "https://stackoverflow.com/questions/8630341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Earth Engine How to Create a CNN Model for a Multi-class Image Classification I am trying to build a satellite image classifier CNN using Google Earth Engine. I have been stuck on this problem for almost a week now and any help would be greatly appreciated. I have been following this tutorial: https://colab.r...
{ "language": "en", "url": "https://stackoverflow.com/questions/71368962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: springframework.integration.kafka ConsumerContext Iterator is in failed state When trying to consume a topic on my java application I get the following exception: org.springframework.integration.kafka.support.ConsumerConfiguration.executeTasks(ConsumerConfiguration.java:135) ... 32 more Caused by: java.l...
{ "language": "en", "url": "https://stackoverflow.com/questions/32139124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Node.js module: export async function In the given example it is demonstrated, how to export a variable, or a function from a custom module. How could one export an asynchronous function in a similar manner and then call it from app.js something like: // app.js var things = require("./someThings"); await things.ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/56592352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Move last item in flexbox to new line when items take up different width .main{ display:flex; border: 1px solid black; } .item, .item2, .item3, .item4{ padding: 10px; } .item { flex-grow: 1; flex-wrap: wrap; } .item2{ flex-grow: 7; background-color: pink; } .item3 { flex-gro...
{ "language": "en", "url": "https://stackoverflow.com/questions/51489582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: SQL Server "An invalid floating point operation occurred" This is not really a problem because I solved it. But, I wanted to share something that ate my brain today. So, run this query and check it out: The query: select 2 as ID1,0 as ID2 into #TEMP insert into #TEMP (ID1,ID2) values (2,1),(2,2),(2,0) select case...
{ "language": "en", "url": "https://stackoverflow.com/questions/8760581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python iterate over regex condition to replace column's values Suppose I have a non-standardized dataframe with keywords like this: data = pd.DataFrame({'tool_description':['bond assy fixture', 'pierce die', 'cad geometrical non-template', '707 bond assy fixture', 'john pierc...
{ "language": "en", "url": "https://stackoverflow.com/questions/67726431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP Code not executing on Ubuntu Server The following script is running on my localhost without any problems. It creates a json file that I request using AJAX to build a table in my front end. However, when I put it on my Ubuntu VM, which runs apache 2 and php 5.5 (json module is installed) it doesn't create the jso...
{ "language": "en", "url": "https://stackoverflow.com/questions/46663522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: when i select radio button then all radio button is selected. i want only one radio button should be selected I am trying to do this. I have three radio buttons, it is working fine when i use all radio button in a single div but it is not working when i divide all radio button in particular div. i click on it then i...
{ "language": "en", "url": "https://stackoverflow.com/questions/25928787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix an error with the seed file in Prisma and typescript? I'm building a backend using Prisma, Postgres 14.5, Node 18, and Typescript. Every time try to seed the DB I get the following: └ ➜ yarn prisma db seed Environment variables loaded from .env Running seed command `ts-node prisma/seed.ts` ... An erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/74935766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Build One Project from GIT Repo (Jenkins/GIT) I am trying to check out just one maven project from a GIT repo (Total of 49 modules) in Jenkins and do a build. The only reason is that they all need to be built a little bit differently in order to be deployed on to Tomcat. I probably might have been able to do it in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/60204481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't rename an ActiveRecord table a second time. "[table]_pkey" does not exist Some time ago, I ran the following rails migration to change the name of a table: class RenameMaterialDonationsToMaterialDonationRequests < ActiveRecord::Migration def change rename_table :material_donations, :material_donation_req...
{ "language": "en", "url": "https://stackoverflow.com/questions/34241900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Redirect back to same page (with variables) on form submit in Laravel 5 On my page events.index, I first display a list of events for the logged on user. On my index page I have a form with option/select to let the user select and display the events of another user. When he submits that form, I would like my index f...
{ "language": "en", "url": "https://stackoverflow.com/questions/36438071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: iOS certificate pinning with Swift and NSURLSession Howto add certificate pinning to a NSURLSession in Swift? The OWASP website contains only an example for Objective-C and NSURLConnection. A: Save the certificate (as .cer file) of your website in the main bundle. Then use this URLSessionDelegate method: func urlSe...
{ "language": "en", "url": "https://stackoverflow.com/questions/34223291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "16" }
Q: ViewPager with classes instead of layouts? Basically what I'm trying to do is I want to have a ViewPager. But it should swipe between classes instead of layouts so that every page of the ViewPager has its own class where it also has its own stuff. If you take instagram for instance. It has a BottomNavigationView wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/48667281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add duplicate key elements in JavaScript Object? I want to make the following newArray using by following testArray. newArray↓ let newArray = [ {section:"business",name:["Bob","John"]}, {section:"H&R",name:["Jen","Bobby"]}, ] testArray↓ let test = [ {section:"business",name:"Bob"}...
{ "language": "en", "url": "https://stackoverflow.com/questions/65878412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to resume multiple download using PersistableTransfer manager in amazon s3 in android I am downloading a list of objects using following function: TransferManager transferManager = new TransferManager(s3client); try { GetObjectRequest getRequest = new GetObjectRequest(bucketName, entity.getN...
{ "language": "en", "url": "https://stackoverflow.com/questions/27438136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: How to replace missing values column wise by median I have a dataframe as follows df = pd.DataFrame({'A': [1, 2, 3], 'B': [1.45, 2.33, np.nan], 'C': [4, 5, 6], 'D': [4.55, 7.36, np.nan]}) I want to replace the missing values i.e. np.nan in generic way. For this I have created a function as follows def trea...
{ "language": "en", "url": "https://stackoverflow.com/questions/54879621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Overlap in labels of point data in rasterVis I have a raster r, one polygon shapefile regions and a point shapefile cities. I need to plot all three into one map layout. In addition to this I need to label point file with names of cities (cities$city$Town.Name) and their temperature and precipitation value (assigned...
{ "language": "en", "url": "https://stackoverflow.com/questions/45791663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I create an in-memory class and then include it in Perl? So I am toying with some black magic in Perl (eventually we all do :-) and I am a little confused as to exactly how I am supposed to be doing all of this. Here is what I'm starting with: use strict; use warnings; use feature ':5.10'; my $classname = 'F...
{ "language": "en", "url": "https://stackoverflow.com/questions/1128117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: What is the name of this q/kdb+ feature? Does any flavor of LISP implement it? How? The q programming language has a feature (which this tutorial calls "function projection") where a function of two or more parameters can be called with fewer parameters than it requires, but the result is an intermediate object, and...
{ "language": "en", "url": "https://stackoverflow.com/questions/64423568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Graphics and Graphics 2D in java I am having a problem changing the color of the diamond I had created when I am using methods in java. I don't know how to inherit or to correct it by using methods. I just want it to become object oriented I don't know how to properly do it. Please help me. package Trial; import ja...
{ "language": "en", "url": "https://stackoverflow.com/questions/58609766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jquery remove everything after and including certain character I have a location - Pearl River, NY (10965) that I want displayed as Pearl River, NY (so it must delete (10965) -- including the space before ( -- I'm not looking to make a big deal of this and do anything server side. jQuery would work fine. I know this...
{ "language": "en", "url": "https://stackoverflow.com/questions/6873720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to style a dashboard with CSS in dash and python? I don’t know much about CSS and I need help aligning these 4 smaller graphs under this larger graph. This is the closest I’ve come to being aligned. I need the 4 smaller graphs to be aligned under the larger graph, but covering the whole page, how to do that? my...
{ "language": "en", "url": "https://stackoverflow.com/questions/74061322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to convert webp image to jpeg or png by using intervention image laravel I am developing an app in Laravel Framework (PHP). I want to upload image which have webp format and then convert it to jpeg or png image format. After converting the image i also want to upload it to s3 bucket. A: Firstly we can use Int...
{ "language": "en", "url": "https://stackoverflow.com/questions/54899430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Intellij SBT project: How to change the content roots? This is the current content root configuration in my project: However, I want the "scala" directory to be the actual test content root, and not the directory named "test". If I modify it, I get the warning that "Module is imported from Sbt. Any changes in its c...
{ "language": "en", "url": "https://stackoverflow.com/questions/46001058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Why did I lose data when I change the orientation of camera doing crop image? I'm doing an app that takes an image from camera and crop it after, but some how i'm losing the objects of my activity and when it comes back i get NullPointerExeception, on OnCreate method of it. But when i choose an image from gallery it...
{ "language": "en", "url": "https://stackoverflow.com/questions/27484553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: geofacet package in R adding labels to bar graphs in geofacets I recently discovered the geofacet package in R. Amazing. I have 5 years worth of data for each state. I have horizontal bars in each facet. I am trying to figure out how to add a simple label that shows the value of each bar in each graph such that i...
{ "language": "en", "url": "https://stackoverflow.com/questions/60435659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How much does minifying reduce file size? In a React app, is it possible to find out how much Webpack's minification reduces the project's size excluding all the dependencies and packages not written by the project's developer? My build/static/ directory is currently bigger than my src directory and I believe it is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/59599422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Memory issue when create a diagonal numpy array I have created a diagonal numpy array: a = numpy.float32(numpy.random.rand(10)) a = numpy.diagonal(a) However, I face MemoryError since my matrix is extremely large. Is there anyway to save the memory? A: The best way to handle this case is to create a sparse matrix ...
{ "language": "en", "url": "https://stackoverflow.com/questions/74200379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: When is the appropriate moment in rotation to change the Layout parameters of a UICollectionView Hopefully a simple question for a relatively new UIKit control I have a UICollectionView that has a viewLayout with a single row of cells that are the exact height of the UICollectionView bounds in Portrait mode Therefor...
{ "language": "en", "url": "https://stackoverflow.com/questions/12606570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Python PyAutoGUI (automatic mouse macro) I want to display the (x.y) coordinates of the mouse found using "pyautogui.position()" on the window. What command should I use in this case? A: If you want to print out the x,y mouse positions, you can use .position() like so: print(pyautogui.position()) It will output so...
{ "language": "en", "url": "https://stackoverflow.com/questions/68431430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React Router v4 - How to dynamically use layouts To start, I'm both new to React and React-Router. I know the basics of each. Here is my scenario... I want to have a separate login page with NO layouts at route (/login). When the user logs in, I want to route them to /home. This home page and every other page (besid...
{ "language": "en", "url": "https://stackoverflow.com/questions/51529481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Maps API-Key in gmaps4rails Why don't I have to supply my own gmaps-api-key in gmaps4rails? A: Actually, you don't need the API key because, Google Maps Javascript API V3 is used there. Only Google maps Javascript V2 requires an api-key, and it's deprecated now.
{ "language": "en", "url": "https://stackoverflow.com/questions/5042829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Java regex for word with dot I need to a regex to validate a string like "foo.com". A word which contains a dot. I have tried several but could not get it work. The patterns I have tried: * *(\\w+\\.) *(\\w+.) *(\\w.) *(\\W+\\.) Can some one please help me one this. Thanks, A: Use regex with character clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/39158902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: Restricting one view on Flask-Admin? I have a single file for a Flask application, views.py. Inside views.py, I have the setup for Flask-Admin and the corresponding sqlalchemy database here: db = SQLAlchemy(flaskapp) def build_db(): import random import datetime db.drop_all() db.create_all() # Create sample User...
{ "language": "en", "url": "https://stackoverflow.com/questions/24742144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: The method in the type is not applicable for the arguments (even though they are?!) I'm trying to call a method using parameters that definitely match my args, yet I get this error... The method getAdministratablePaging(Long, ContentFilter, int, int, Integer, Integer) in the type ContentService is not applicable fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/28349321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: what is the dpdk0's effect in ovs-dpdk? today i get other guy's confiuration about ovs-dpdk,the config file is below: dpdk-devbind –s dpdk-devbind --force --bind=ixgbe 0000:81:00.0 dpdk-devbind --force --bind=ixgbe 0000:81:00.1 dpdk-devbind --force --bind=igb_uio 0000:81:00.0 dpdk-devbind --force --bind=igb_uio 0000...
{ "language": "en", "url": "https://stackoverflow.com/questions/64909264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GreG nested templates We need to nest templates in the main template. The nested template should be able to display fields that the customer can fill. For example, there are two attachments to this message. The file 1.jpg: In this picture you can see how it displays a button with the plus sign. It has a red arrow. W...
{ "language": "en", "url": "https://stackoverflow.com/questions/10813762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP preg_match: exclude whitespaces I'm working on some code block that validates a config file containing PHP variable. I want to detect variables left empty using preg_match. If the file contains the following lines: $db_host = "blablah"; $db_host ='blablah'; $db_host=''; $db_host=" "; $db_host=""; I'd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/20526644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PHP 7.1 on hosted server not recognizing session.save_path I am pulling my hair out over this issue. It seems simple enough, but the following simple script is not working for me. I want to keep my session files in the directory as indicated. I have the 'musanizer_session_tmp' folder in the same root with this ph...
{ "language": "en", "url": "https://stackoverflow.com/questions/51000840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is "undefined" in Javascript an error or just a notice? Is the undefined message in the pop up or console log (e.g. when calling a variable that doesn't exist) an ERROR message or just a NOTICE message? In PHP there is a difference, so, looking for your explanation on this subject. A: Neither, it is a value (or a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/25815760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How do i remove or merge duplicated values in my JSON List? My Json looks like this, [ { "MatchNumber": 1, "RoundNumber": 1, "HomeTeam": "Crystal Palace", "AwayTeam": "Liverpool", "Group": null, "HomeTeamScore": 0, "AwayTeamScore": 2 }, { "M...
{ "language": "en", "url": "https://stackoverflow.com/questions/73458240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Do I have to do a dispatch again or why is my code not running? I am trying to make it so when I do an ajax request my preload shows up when a request finishes(success or not) it goes away. I am using Axios and they have interceptors for request and response. I am trying to do request right now. import axios from "a...
{ "language": "en", "url": "https://stackoverflow.com/questions/39047803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Write the content of an object into a file in C++ I'm using OpenCV, and I am computing the histogram of some images, which is contained inside a class named CvHist. I have a CvHist object, but I want to store it to use it later on in another file. How can I do that? Thank you A: Actually, in OpenCV there is a speci...
{ "language": "en", "url": "https://stackoverflow.com/questions/9561135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Opendiff and online file I'd like to make a diff between to file, one is local and the other is online using for example opendiff http://www.tex.ac.uk/ctan/web/lua2dox/Doxyfile Doxyfile But it throw the following error : 2014-02-12 15:23:43.579 opendiff[72650:1007] /Users/Dev/Joker/http:/www.tex.ac.uk/ctan/web/l...
{ "language": "en", "url": "https://stackoverflow.com/questions/21730948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hand-create images in javascript and draw with respect to the alpha channel? I'm currently trying to create a page with dynamically generated images, which are not shapes, drawn into a canvas to create an animation. The first thing I tried was the following: //create plenty of those: var imageArray = ctx.createImage...
{ "language": "en", "url": "https://stackoverflow.com/questions/4117992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: implement array.prototype.reduce() on string I have some confusion regarding how reduce operation takes place on a string .First a new Str instance is created and sends desired string as a parameter. Then using split method it splits into an array of string.A reduceIt method takes the array and execute a reduce ope...
{ "language": "en", "url": "https://stackoverflow.com/questions/25881774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add partition in presto? In hive I can do it by: ALTER TABLE xxx ADD PARTITION (datehour='yy') LOCATION 'zz'; How can I do it in presto? A: Currently, Presto Hive connector does not provide means for creating new partitions at arbitrary locations. If your partition location is under table location, yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/56319510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when retrieving office 2007 files from sql server 2005 blob I have a simple document storage database that allows people to upload various types of documents and then do a full-text search on them. It works just fine for all documents except office 2007 documents. My retrevial code uses content type "applicati...
{ "language": "en", "url": "https://stackoverflow.com/questions/2774868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using an external tool for C# builds in Visual Studio When using Visual Stdio 2008, you can make a C++ project build with an internal tool rather than having the IDE invoke MSVC directly. This improves the consistency of builds across platforms if a cross-platform build system is used. However, I cannot figure out h...
{ "language": "en", "url": "https://stackoverflow.com/questions/1764744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: RDLC image not show by set report parameter I am working with RDLC Report in 2010 I want to bind image from external source ReportParameter rpara = new ReportParameter("rpt1", "D:\\Projects\\Image\\logo.jpg"); ReportViewer1.LocalReport.EnableExternalImages = true; ReportViewer1.LocalReport.SetParameters(new ReportPa...
{ "language": "en", "url": "https://stackoverflow.com/questions/15293564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How get the biggest number? I am trying to get the biggest number from a field in my database using this code: var bb=(from c in Office_TBLs select c.CodeNumber).Max(); When i run the query I receive the result "999" which is wrong because the biggest number in the databse is 1601. Does the datatype being Nvarchar...
{ "language": "en", "url": "https://stackoverflow.com/questions/16351648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Registry is setting 1 char My code is setting 1 char of the registry name and value. bool setRegValue(std::wstring valueName, std::wstring valueToSet) { HKEY key=NULL; if (get_HKEY_LOCAL_MACHINE(&key) && (key!=NULL)) { if (RegSetValueEx((HKEY)key, (LPCSTR)valueName.c_str(), 0, REG_SZ, (const B...
{ "language": "en", "url": "https://stackoverflow.com/questions/59775997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to detect merged cells in vba (Word 2010) I would like to detect and skip merged cells in vba on word 2010. I'm making a macro which need to write in the first column but I've some merged cells and I don't want to write in. All examples I found was for Excel. I tried to detect the number of columns per rows but...
{ "language": "en", "url": "https://stackoverflow.com/questions/28559703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to save model in keras python? Model description: cnn1=Sequential() cnn1.add(Conv2D(128,(2,300), activation = 'relu',input_shape = (maxLenofSent,300,1))) cnn1.add(MaxPooling2D(1,3)) cnn1.add(Flatten()) cnn1.add(Dense(100, activation = 'relu')) cnn2=Sequential() cnn2.add(Conv2D(128,(2,300), activation = 'relu'...
{ "language": "en", "url": "https://stackoverflow.com/questions/47377832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: express static files on cPanel server with phussion passanger I am trying to deploy a node app with Cpanel using the setup node js app tool. The application has been deployed successfully but the static files of my application are broken I am getting a 404 error for my public folder. My hosting server uses Phusion P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75476729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP - Absolute & Relative URL Types I wrote a login code in PHP: <form NAME="form1" METHOD="POST" ACTION="operation/validateLogin.php"> Username <br/><input name="username" type=text autocomplete="off"><br/><br/> Password <br/><input name="password" type=text autocomplete="off"><br/><br/> <bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/43484592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to separate 2 values returned by a function into 2 different variables C++ The function that return the values is this float calcVelocity(float xacceleration, float yacceleration,sf::Clock clock, float originalDistance){ sf::Time time = clock.getElapsedTime(); //get current time and store in variable called...
{ "language": "en", "url": "https://stackoverflow.com/questions/35699149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: type 'int' is not a subtype of type 'String' i am trying to fetch the data from api, i am getting the value when i print it in console, but when i am tried to access it using shared perference on other screen, i am not getting the values, and it print this error type 'int' is not a subtype of type 'String' here is...
{ "language": "en", "url": "https://stackoverflow.com/questions/68617905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails 3 vs Rails 2 "wild controller" routing I'm trying to get my Rails 3 project to automatically resolve namespaced controllers, similar to the Rails 2 behaviour. For example (Rails 2): $ rails pathtest && cd pathtest $ script/generate controller First $ script/generate controller first/second $ script/generate co...
{ "language": "en", "url": "https://stackoverflow.com/questions/4901376", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to pass ui-sref url to ng-click function <td class="text-left"> <a class="curosr" ui-sref="private.Registered_details ({uid: x.userID,vid:x.vehicleID,page_value:'page1'})" ng- click="linkClick(x.name,0,Registered_details/uid/vid/page_value)">{{x.name}} </a> </td> In the above code segment, I have a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43365147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to make UITableView look like the one in Contacts? I'm trying to make UITableViewController look like following. (it has picture and several rows for someone's identify.) I wonder how to make like following programmatically. How to adjust UITableViewCell's origin.x and width? How to add a picture at left top? P...
{ "language": "en", "url": "https://stackoverflow.com/questions/13200420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }