text
stringlengths
15
59.8k
meta
dict
Q: Is it possible to use SQL Server Compact Edition in an Open Source project? I am aware of other solutions like System.Data.Sqlite or Firebird through Dblinq, but since nothing beats SQL Compact Edition (integration-wise) with Visual Studio, I would like to use it and to know if its license allows its usage in Open S...
{ "language": "en", "url": "https://stackoverflow.com/questions/1153395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What classes from Jain SIP (java) should I use to make an SIP client? I am asking to create an SIP client, but I am totally lost ... After some researches I found the Jain SIP API in java, and I think that I will use it. However I don't really know what classes I should use and what interfaces I should implement o...
{ "language": "en", "url": "https://stackoverflow.com/questions/16151352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: What folders should be git ignored in React Native project? I'm playing with Facebook/React Native, and when I run git init, I have no idea what should be ignored expect node_modules folder, Should I commit all iOS folder? Thanks A: We suggest this .gitignore: react-native/Examples/SampleApp/.gitignore. It ignores ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29294913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "63" }
Q: Pure CSS slider left margin accretion I am in the process of developing a site for a uni project, and I have built an automatically changing slider while only using css (it is a requirement of this project that I don't use anything else). The problem I'm experiencing is that when the slides change, the left margin b...
{ "language": "en", "url": "https://stackoverflow.com/questions/23257598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementing multi layer role on Django Working with django Group and Permission. Normally works fine. Now want to add sub admin who can give permission only particular model. How to implement? A: As per our discussion below are my Steps: * *Override Role with company OR you can keep this at Super Admin level. h...
{ "language": "en", "url": "https://stackoverflow.com/questions/53478559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WooCommerce: Add class to variation dropdown I want to add the class .form-control to the variation dropdown in the WooCommerce product pages. It seems that there is an option to do so. I found the function wc_dropdown_variation_attribute_options. The function has an class attribute: function wc_dropdown_variation_...
{ "language": "en", "url": "https://stackoverflow.com/questions/58594970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Implement realm with data binding in android I am trying to use Android's architecture component i.e.data binding with Realm database using MVVM pattern. After exploring about the data binding and MVVM , i came across few approaches to bind model with the UI. * *Declare Observable primitive fields in model and di...
{ "language": "en", "url": "https://stackoverflow.com/questions/50681534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP - FPDF Multicell function does not make a new line I'm trying to make a newline inside a multicell. What I've done is: $pdf->MultiCell(90,10,'test'.'\n'.'test',1,0,'C',1); According to the manual the multicell should parse the '\n' character and render a newline but it does not (it prints the two byte string '...
{ "language": "en", "url": "https://stackoverflow.com/questions/23967938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: image height based on mobile orientation I have a problem with a small mobile image gallery. When I change the orientation to portrait the images are too large to be displayed on the screen. Is it possible with some javascript to make images fit the screen when the orientation changes to portrait? In landscape mode,...
{ "language": "en", "url": "https://stackoverflow.com/questions/10430135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how can I save a form with ModelMultipleChoiceField? I have a model Calendar and in a form I want to be able to create multiple instances of it. Here are my models: class Event(models.Model): user = models.ForeignKey(User) class Group(models.Model): name = models.CharField(_('Name'), max_length=80) even...
{ "language": "en", "url": "https://stackoverflow.com/questions/1833275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Dependency injection: HttpClient or HttpClientFactory? Everywhere I can see three main approaches to create clients (basic, named, typed) in DI, but I have found nowhere if to inject IHttpClientFactory or HttpClient (both possible). Q1: What is the difference between injecting IHttpClientFactory or HttpClient pleas...
{ "language": "en", "url": "https://stackoverflow.com/questions/59280153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "66" }
Q: Is it safe to use inheritance for meta-data migration? Is it safe to create a template schema for metadata so that other schemas which contain data can inherit from it? Advantage: Migrations will be seamless for multi tenant scenarios. Disadvantages: ? Example: hello=# CREATE SCHEMA template; hello=# CREATE TABLE ...
{ "language": "en", "url": "https://stackoverflow.com/questions/59158743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting active link dynamically on static navigation I have "navigation.html" (static coded navigtaion ) file loaded on multiple pages, using jQuery .load() Now I need to dynamically set active <li> for each page user clicking on. I can not use body id for specific reasons. Any other ways to do this? A: If you ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/9982140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Test if socket is connected Following on from this question, I am trying to set a variable to see if a socket is connected. However the question's answer doesnt seem to work. If I console.log the socket variable I get this: As you can see in the image, it says connected: true but when I run this: console.log(socke...
{ "language": "en", "url": "https://stackoverflow.com/questions/37277199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I combine multiple webpages and get them as pdf? I have multiple pages that I am getting after filling a form with puppeteer. I am currently using "page.printToPDF" api of puppeteer to obtain the webpage as a pdf but the problem is that I have multiple pages and I would like to combine all of them and get a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48641218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: My sticky sidebar does not show until the user scrolls down Like the title says, I got the sticky sidebar to work. The only concern is that when the user first get to the page, the sidebar does not show at all until the user scrolls down, then it does go up and down. I was wondering if there's something wrong with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53052248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: git push is stuck when pushing to remote When I try to push to a remote repository, git push origin xyz it gets stuck. I try ssh -T [email protected] and I get a success: You've successfully authenticated, but GitHub does not provide shell access. When I use the verbose option, I get a message that it is pushing: g...
{ "language": "en", "url": "https://stackoverflow.com/questions/48745559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "12" }
Q: Call a controller method without loading a blank view I'm trying to call a controller method to delete a record in my database and I am using an actionlink to do this but whenever I hit the delete button, it will delete the record in the database, but it redirects me to a blank page. What I am trying to do is have i...
{ "language": "en", "url": "https://stackoverflow.com/questions/53216847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple VU in Jmeter-Only one user able to insert data Test Plan:- -User logs in. -Enter details in a form and save it(Which is stored in DB). -Logs out. When ran with 2 Virtual Users :- -Number Of Threads(users) = 2 -Ramp Up Period = 1 -Loop Count = 1 Only 1 user is able to successfully store the detail...
{ "language": "en", "url": "https://stackoverflow.com/questions/32879319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Migrate pinnacle cart customers data to magento1.x version I came back on stackoverflow after long time.I really need a help in migrating the pinnacle cart to magento1.x.I am migrating the customer data but I want customer can login in magento site with same credentials without reset the password. Is it possible tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/45785631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get distinct pattern match results (substrings) from PyMongo What is the most efficient way to query a MongoDB collection for unique/distinct substrings in a given field? Example documents: {"_id": "1234.abc.test1", "some_key": "some_value"} {"_id": "1234.abc.test2", "some_key": "some_value"} {"_id": "0420.def.test3...
{ "language": "en", "url": "https://stackoverflow.com/questions/70476261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ajax get image from folder debug function ajax_json(folder){ var thumbnailbox = $('#thumbnailbox'); $.ajax({ url:"json_data.php", dataType:"json", type:"POST", data: {folder: JSON.stringify(folder)}, contentType: "application/json; charset=utf-8", success...
{ "language": "en", "url": "https://stackoverflow.com/questions/32796396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get Index of a Set in Swift let setOfStrings: Set<String> = ["ONE", "TWO", "THREE"]; It doesn't behave like and array, so setOfStrings[0] does not work. Any ideas? A: You might want to access the first element of the set as follows: if let first = setOfStrings.first { print(first) } Assuming that you are alr...
{ "language": "en", "url": "https://stackoverflow.com/questions/43409009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to build server streaming via grpc and nest.js? Need to create some "channel" to which the client can subscribe and periodically receive messages. Within the current technology stack, I'm trying to organize something like this: proto file: syntax = "proto3"; package testtime; service TimeService { rpc ...
{ "language": "en", "url": "https://stackoverflow.com/questions/67057765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Azure function app, service bus and return service bus I have an azure function with a service bus input attribute and service bus output attribute set. This means that whatever I return from this function will be returned to the ‘return’ queue. However, i want to manually handle some messages as there is no point ...
{ "language": "en", "url": "https://stackoverflow.com/questions/55932497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: objective-C - other methods to convert a float to string I know that you can convert a float into a string using NSString *myString = [NSString stringWithFormat:@"%f", myFloat]; My question is what OTHER methods exist in Objective-C that can do that same? thanks. A: You can create your own category method. Someth...
{ "language": "en", "url": "https://stackoverflow.com/questions/4993231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "40" }
Q: How to change layers in pretrained model in Mxnet I have a pre-trained Mxnet model. I need to change last two layers and add new two layers for testing. Basically, I need to create a probability map of the image. How can i do that ? A: There is a tutorial on fine-tuning with MXNet. Did you check this out? http://m...
{ "language": "en", "url": "https://stackoverflow.com/questions/38537567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Determining the execution time of all statements in process of FPGA I'm beginner studying FPGA. I'm confusing a problem. I have code and the data type I use is fixed-point: process(clk) begin if(clk'EVENT and clk ='1') then r_amp := to_sfixed (amp,amp'HIGH,amp'LOW); r_Va := resize (r_amp * to_sfixed(...
{ "language": "en", "url": "https://stackoverflow.com/questions/52181098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make separate REST controllers for nested resources? Spring Boot I have a REST controller. It processes the resource "messages". And each message can contain comments inside itself. /api/v1/messages/1 /api/v1/messages/2 /api/v1/messages/1/comments/1 /api/v1/messages/1/comments/2 Here is a code: @RestContro...
{ "language": "en", "url": "https://stackoverflow.com/questions/50394327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: I need some help detecting if a browser has access to the internet Possible Duplicate: Check if Internet Connection Exists with Javascript? I have been working on a manual to be sent via CD to a customer. The owner of my company requires that the manual be split into many subsections as .doc and .docx files. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/6616009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: laravel artisan error while clearing config cache when I run php artisan cache:config the command throw the following error PHP Warning: require(): Filename cannot be empty in /home/****/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 71 PHP Fatal error: requi...
{ "language": "en", "url": "https://stackoverflow.com/questions/64852826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Select two columns from the sqlite which got unique column and ordered by Date, Time I have two tables which got same columns, examples TableA ID, Image, Date , Time 0 , 0 , 12/03, 12:33 0 , 1 , 12/03, 12:34 1 , 2 , 12/03, 12:34 1 , 3 , 12/03, 12:35 TableB ID, Image, Date , Time 0 , 4 , 12/03...
{ "language": "en", "url": "https://stackoverflow.com/questions/59249173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pip and multiple python version issues in ubuntu 16.04 I'm deploying a flask server with gulp, and after the gulp command is launched, everything goes fine until the following line: import flask as I get the error ImportError: No module named flask . Adding the lines before the import command import sys print(sys....
{ "language": "en", "url": "https://stackoverflow.com/questions/46791309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: take minimum between column value and constant global value I would like create new column for given dataframe where I calculate minimum between the column value and some global value (in this example 7). so my df has the columns session and note and my desired output column is minValue : session note minVal...
{ "language": "en", "url": "https://stackoverflow.com/questions/33689714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "33" }
Q: Is there a development environment 'checklist' I can run through before starting to code? I am following Michael Hartl's Rails Tutorial, and have gone through setting up my Development Environment. I want to quickly check I have everything in order i.e. RVM, Ruby, Rails, Git, etc. all installed in the right place an...
{ "language": "en", "url": "https://stackoverflow.com/questions/24512307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I use jQuery sortable for elements in a specific table column only? I am trying to use jQuery's draggable and sortable to sort elements listed inside of a specific column of a table. The reason is that I essentially want to fit people into timeslots. I have a table as such: <table width="300" border="0" cells...
{ "language": "en", "url": "https://stackoverflow.com/questions/11149873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send any structure as parameter to a method and return the structure? I'm new to Go and I'm seeing if there's a way to have a method that receives any structure as parameter. I have something like this in my code that is a function that does exactly the same for 5 structures and returns the same structure, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/51482629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP/MYSQL query ranking using secondary tables Working with a ranking algorithm, but I'm getting frustrated with the multiple database calls and data gyrations i'm having to go through to calculate the rank of a specific item, output it in to an array, and then sort by the rank value. Is it possible in MySQL to calc...
{ "language": "en", "url": "https://stackoverflow.com/questions/7531266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keras custom loss function causes TypeError * *Why when I am trying to create my own loss function using Keras backend def my_loss(y_true, y_pred): return K.mean(K.max(y_true, y_pred) / K.min(y_true, y_pred)) and pass to the Keras neural network, I get TypeError: Value passed to parameter 'reduction_indices'...
{ "language": "en", "url": "https://stackoverflow.com/questions/63542710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Iterate over a directory and filter results based on file extensions I have a function that cycles through a directory and, for each folder within that directory, returns the most recent file. The problem is that the folders contain files of different formats, such as .xlsx and .csv. The file extensions may change p...
{ "language": "en", "url": "https://stackoverflow.com/questions/60012205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Where should I cp oc binary to on MacOS? In this documentation it says unpack the archive and move the oc binary to a directory on your PATH I tried echo $PATH and it returns: bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin Clearly there are mul...
{ "language": "en", "url": "https://stackoverflow.com/questions/44351776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: in iOS7 how do you stop the First viewcontroller autorotating? I have an app that just needs one screen to autorotate, the first and last screens should be portrait. I can get the last screen to stop rotating using: - (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskPortrait; } But ...
{ "language": "en", "url": "https://stackoverflow.com/questions/24239641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get a clean extract from Wikipedia page I am currently exploring the Wikipedia API and am trying to understand it a bit more. So I am starting with a Wikidata ID and can find my Wikipedia Title there. I extract the title and am then able to query Wikipedia like e.g. so: https://en.wikipedia.org/w/api.php?action=quer...
{ "language": "en", "url": "https://stackoverflow.com/questions/69466276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nested Json using retrofit i want to read sub_category > id, name from json using retrofit But below code give failed response. java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 2 column 2 path $ My Json.... [ { "id": "1", "name": "Invamore", "sub_category": [ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/40591040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Toogle slide on a tag and css proprety I'm trying to toggle box shadow property for a tag within #bj-pagination. I would like to achieve effect where box shadow slides from page 1 link to page 2 link when link for page 2 is clicked. Is this complicated? <div id="bj-pagination"> <div class="pagination"> <span class="...
{ "language": "en", "url": "https://stackoverflow.com/questions/16275074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A strange result in a simple pthread code I wrote the following code: #include <pthread.h> #include <stdio.h> void* sayHello (void *x){ printf ("Hello, this is %d\n", (int)pthread_self()); return NULL; } int main (){ pthread_t thread; pthread_create (&thread, NULL, &sayHello, NULL); printf("HER...
{ "language": "en", "url": "https://stackoverflow.com/questions/30375392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Passing component as a function argument I have a function that take a component as argument, and return another, enhanced component: import React from 'react'; import { compose } from 'recompose'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { Layout, DarkBar } from 'Shared...
{ "language": "en", "url": "https://stackoverflow.com/questions/50870650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Why does my PartialView render outside the form tag? I have a view that displays an HTML table of "Room" objects. Each Room is a row (which is a PartialView) in the table. The view contains this code: <table> @foreach (var item in Model) { using (Html.BeginForm()) { @Html.Parti...
{ "language": "en", "url": "https://stackoverflow.com/questions/24842418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: python webserver socket programming error # Import socket module from socket import * #from socket import AF_INET, SOCK_STREAM, socket import sys # In order to terminate the program # Create a TCP server socket #(AF_INET is used for IPv4 protocols) #(SOCK_STREAM is used for TCP) ipadress=socket.gethostbyname(soc...
{ "language": "en", "url": "https://stackoverflow.com/questions/70243284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: problems with opening vegan I Installed the package "vegan" but cant seem to run it. When I use the command library(vegan) I get this message . Any ideas? I normally just use R cmdr so excuse me if this is a silly question. Also: Is there any plugin to cmdr for NMDS ordination that I can use instead? A: That wasn...
{ "language": "en", "url": "https://stackoverflow.com/questions/50238438", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using ManagementObjectSearcher to get an exact BitLocker WMI value Good Day All, I am having an issue with ManagementObjectSearcher. I am trying to query the exact value that i want but cannot find any reference to the precise syntax requirements and I continually receive an error when trying to finish out the code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/42984048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Where i can edit this price element woocommerce? I want to replace the word "De: " of all products, but I do not know where Link to website A: You can change the "From" text via the woocommerce_get_price_html_from_text filter. You would do so, like this: add_filter( 'woocommerce_get_price_html_from_text', 'so_430...
{ "language": "en", "url": "https://stackoverflow.com/questions/43054760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: User Registration setting missing in Joomla This is my first experience in Joomla V3.3.6 I have a requirement where there would be 2 user types. -> User Type 1 -> User Type 2 1) I am looking out for registration module in Joomla. Searched and looks there are lots of plugins. But also understood that Joomla by defa...
{ "language": "en", "url": "https://stackoverflow.com/questions/26702419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Chart.Js Doughnut not calculating JSON data properly When using static data, the Doughnut chart appear perfectly, example: $.ajax({ url: 'includes/stats.php?show', dataType: 'json', success: function (response) { console.log(response['CARS']); //I see 2 consol...
{ "language": "en", "url": "https://stackoverflow.com/questions/45333611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to add list view new items (Except old ones) to array I have two list views, list one contains hotel service items that are fixed to a specific room and the other on is optional services, when i click on optional service list view item it will be added into services items. at the end all services will be view...
{ "language": "en", "url": "https://stackoverflow.com/questions/56870393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Enforce NTP Time Sync on boot - raspberrypi 3 I have a setup a raspberrypi to sync time from a NTP server as it does not have a HW clock on it, however this update does not happen immediately and takes a while (~15 mins). Is there a way I can enforce the NTP Client to sync datetime with the NTP server before startin...
{ "language": "en", "url": "https://stackoverflow.com/questions/45122822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to get running total column sir i have query that show RUNNING TOTAL but not show me exect Dr_amount and Cr_amount as per transaction how to get Dr_amount and Cr_amount as per single transaction SELECT V_DATE,FLAG,V_NUM,V_NARATION, sum(DR_AMOUNT) AS DEBIT, sum(CR_AMOUNT) AS CRIDIT, sum(dr_amount)-sum(cr_amount...
{ "language": "en", "url": "https://stackoverflow.com/questions/42802550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Running Transient services in background (.NET Core) I am attempting to write a customer order tracker using Blazor Server. What I'd like to do is launch on the background an order management service for every new order created. The service would keep track of various live information associated with the order, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/67325621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Auto refresh/reload four iframes in Wordpress I'm pretty NEW so on the question: I have 4 iframes on one page in WordPress showing some stats. I want to make them auto refresh (not the whole page) on certain amount of time, like every 3 second. I've managed to do that for one only but whenever I try to add another o...
{ "language": "en", "url": "https://stackoverflow.com/questions/51154351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installing Maven and creating a maven project in eclipse I am new to using maven project and i am trying to create a maven project and i followed the instructions to create one in eclipse and i gave the groupId and artifact id to it and clicked Finish, for which it gave me an error stating "No marketplace entries ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53330113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.lang.ClassCastException: cannot cast class com.ibm.WsnOptimizedNaming._NamingContextStub to interface Created a remote EJB project and deployed in the IBM websphere server as Jar. Now, i created a EJB Client project in my local and trying to connected as Remote call. but it is throwing an exception: java.lang.C...
{ "language": "en", "url": "https://stackoverflow.com/questions/35484304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reliably determine the width of a character in C#? I'm writing a C# program and I'm using a fixed-width font to display everything. Under this font, every Unicode character either occupies 1 character width or 2 character width. In the program, there is a feature that needs to determine a particular character...
{ "language": "en", "url": "https://stackoverflow.com/questions/65410411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Mule http connector encoding I am posting xml string use mule http connector to my client. The xml has string "Grubišić". It works fine if I post data to client from anypoint studio. If run on production or testing server, my client received "GrubiÅ¡iÄ" instead of "Grubišić". I tried to specify content-type = "appli...
{ "language": "en", "url": "https://stackoverflow.com/questions/71133250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does the 'Supporting Files' folder increase launch time/CPU consumption? If I have a lot of images/etc in the Supporting Files folder does that increase CPU consumption and slow the launch time of the app? Does the app have to load all these files on launch. Thanks in Advance :) A: No. In general these are copied ...
{ "language": "en", "url": "https://stackoverflow.com/questions/23649478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to make chromium/chrome only reloads the modifled files? My site has a lot of img, js, css files. If one file is modified by developer its url will be changed too, otherwise the url will not be changed. I wish chromium/chrome only reloads the modified files according to the url, but actually it often reloads all...
{ "language": "en", "url": "https://stackoverflow.com/questions/57638661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Update sharepoint user profile property with SPSecurity.RunWithElevatedPrivileges I try to change user profile property with next code SPSecurity.RunWithElevatedPrivileges(delegate(){ SPSite currentSite = new SPSite(SPContext.Current.Web.Url); SPServiceContext serviceContext = SPServiceContext.GetContext(currentSit...
{ "language": "en", "url": "https://stackoverflow.com/questions/32047472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to iterate through a list of URLs and make a GET request I am trying to take a list of URLs from Google Sheets and then make an API request for each URL and return data in JSON format. I currently am able to retrieve the list from Google sheets as well as make a Request for a single URL that I manually enter. S...
{ "language": "en", "url": "https://stackoverflow.com/questions/54700823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Having trouble wrapping my head around how to handle dates I'm working on a scheduling system for music venues. The basic idea is that there's an "Create new schedule" page, on which there is a DatePicker calendar (using AngularUI Bootstrap). The user selects a Date, then adds performers into timeslots. The built ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44713525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to poll a resource using jersey service i have a jersey service which generates a response. what i want to do is to poll a resource (in my case, a singleton class instance) for a success value, and as soon as i get the success value, perform some action @Path("/generate") class Generation{ @POST @Produce...
{ "language": "en", "url": "https://stackoverflow.com/questions/19152221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Point out location in Google Map I am developing an application in PHP. I have latitude and longitute of few locations in Google Map. I want to point it those locations on google map. How can i point it? A: http://code.google.com/apis/maps/index.html take a look at the google api its very easy to work with
{ "language": "en", "url": "https://stackoverflow.com/questions/4332142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why solr RemoveDuplicatesTokenFilterFactory dont work? My schema.xml is splitting product name and then uses RemoveDuplicate to remove duplicated words after split. <fieldType name="type_name" class="solr.TextField"> <analyzer type="index"> <tokenizer class="solr.PatternTokenizerFactory" patt...
{ "language": "en", "url": "https://stackoverflow.com/questions/10329470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Deploying angular build utilising the azure event hub js sdk fails to run If I run the project locally with ng serve -o everything works as expected However, once I build it (either dev or prod build) and deploy it to either an Azure web app or a local web server on my machine I get the error of connectionContex...
{ "language": "en", "url": "https://stackoverflow.com/questions/60055497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load 1000+ items to a asp:GridView from SQL Server DB with high efficiency I have a function like below that I use to return a gridview (id: dgmenu) to the end users based on their role. Note that I am not allowed to apply pagination to the gridView, all items must be seen in one page. protected DataTable Men...
{ "language": "en", "url": "https://stackoverflow.com/questions/58140308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: mailmerge in word from c# opens multiple instances I'm trying to automate mailmerge using a .net program. There's a one page letter in word document addressed to a particular person with a mailmerge field by name 'Person'. Our database has got multiple persons and each person name has to go into a copy of the letter...
{ "language": "en", "url": "https://stackoverflow.com/questions/19501285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change html href attribute value with jQuery? I am trying to change html href attribute value ?post=55 to ?post=44 with button click using jQuery, but don't know how. HTML <button class="button">button</button> <a href="posts.php?post=55" class="post-link">Post</a> JAVASCRIPT $('.button').on('click', functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/72930714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to create a new page when horizontal pos. of i extends past right margin I am trying add a page when horizontal or the x position is greater than a counter in order to keep a right side margin. When I run the code I end up in an infinate loop of hundreds of pages all displaying the same first page graphics. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/10263250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Strange behaviour when calling VB6.0 COM-component in C# (in python all is ok) I have some problems when working with COM-component in C#. I have old (~2001-2003year developed) VB6 COM component, and unfortunately there is no source code for it. The component interacting with a service program (no source too). The m...
{ "language": "en", "url": "https://stackoverflow.com/questions/16882579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Get BoundingBox of ONLY visible area of map in osmdroid I am using osmdroid version 4 and I want to have BoundingBox of visible map. It seems that MapView.getBoundingBox method returns bounding box of all tiles that are visible or partially visible. Take a look at this picture: Black rectangles are tiles, red rect...
{ "language": "en", "url": "https://stackoverflow.com/questions/20757480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Opens the map with a certain position of the camera I'm new to java, I installed Google maps in my application, but when you open the card, open a very large scale of the map, a function I need to use for that would map opened at a certain city? And just a second question - please tell me what the name of the functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/26482006", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I eliminate duplicates using MAX function? I have these tables recommendation_object_id, exhibitor_name, event_edition_id, timestamp I want to hide/remove the duplicates in recommendation_object_id to make it a primary key. I successfully removed most of the dups, but a few recommendation id's have a differe...
{ "language": "en", "url": "https://stackoverflow.com/questions/65629024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get img alt text and data-src using Beautifulsoup? HTML snippet : <span class="photo_tooltip" id="__w2_YFXobXt_link"> <a href="/profile/Smit-Soni-2" id="__w2_GDetCwt_link"> <img class="profile_photo_img" src="https://assets.ec.quoracdn.net/-images.placeholder_img.png96cbdb37c749e493.png" height="50" width="50...
{ "language": "en", "url": "https://stackoverflow.com/questions/40284002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get custom headers from axios post response? i'm using nuxt/axios with laravel as my backend. in my responses from laravel i send a custom header named _msg but i cant access it. in my console.log(response) i get only this: but in my brower network i get the header: how can i access it? UPDATED added this t...
{ "language": "en", "url": "https://stackoverflow.com/questions/63152522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to accept an array parameter in a GET request in Flask using Connexion I am using connexion to create a REST API via Flask. At the moment I am passing a single identifier in. /read/maa_valid_product_id/{drug_product_id}: get: operationId: registrations.read_maa_valid_product_id tags: - M...
{ "language": "en", "url": "https://stackoverflow.com/questions/64472274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mounted Volumes for IBM Bluemix CF Apps IBM Containers on Bluemix has the support for mounting volumes and use across containers. Is there any way we can have a similar shared volumes kind w.r.t Bluemix CF Apps? A: Cloud Foundry applications on IBM Bluemix can use Bluemix's Object Storage service for shared storag...
{ "language": "en", "url": "https://stackoverflow.com/questions/40173476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I disable rails form_with update functionality I have the following form to add somebody to a waiting list. <%= form_with(model: waitinglist, url: '/join', local: true) do |form| %> <div class="field"> <%= form.text_field :email %> </div> <div class="actions"> <%= form.submit %> </div> <% en...
{ "language": "en", "url": "https://stackoverflow.com/questions/57815789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cretate multiple shared secrets in a (selfmade) public/privavte key infrastructure I just try to understand cryptography, please be concern. Its not meant to be secure or professional. I create 3 numbers for each party. a public key, a secret key and a modulus. The first party (A) creates his keys let pri = 133 let ...
{ "language": "en", "url": "https://stackoverflow.com/questions/53947979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WebDeploy with MSdeploy.exe fails to sync GAC Assembly because dll(s) locked by another process I'm having this problem using msdeploy to sync GAC assembly to many Application Servers. When I run this command msdeploy -verb:sync -source:gacAssembly="'MyAssembly'" -dest:gacAssembly,computername=DESTINATIONSERVER I o...
{ "language": "en", "url": "https://stackoverflow.com/questions/3785385", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reduce the time of curl call? For some reason my curl call is very slow. Here is the code I used. $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER,array('Expect:','Accept: application/xml')); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_IPRESOLVE, CU...
{ "language": "en", "url": "https://stackoverflow.com/questions/24119521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Realm from JSON in async in background I'd like to work to write Realm from JSON in async in background, but I can't understand why my code isn't work as must. override func viewDidLoad() { super.viewDidLoad() myFunc() } and myFunc(): func myFunc() { let realm = try! Realm() // get file...
{ "language": "en", "url": "https://stackoverflow.com/questions/40977288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How do I change the Created By for my crossrider plugin? When users install my browser it shows the plugin created by the name listed under my crossrider dev account. I'd like to change that to my company name but the site won't let me change the name. How can I change it to show my company name vs my first and la...
{ "language": "en", "url": "https://stackoverflow.com/questions/29777217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get device ID in angular js? I need to find the device ID on which my app is running. I am using angular js and ionic. Is there any way to obtain the device ID? A: Option 1: Use AngularJS run // Calling the rootScope to handle the ondevice ready angular.module('myApp').run(['$rootScope', function($rootScop...
{ "language": "en", "url": "https://stackoverflow.com/questions/37427907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: HttpWebResponses: How efficient is MemoryStream.CopyTo vs chunking? I'm running into a problem with downloading large JSON objects from an API. Usually, this documents are small in size, but occasionally they are quite large (100k+). This puts the large object heap into play and there are some performance concerns. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/33926576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: python-shell problem with sync inside javascript I'm using python-shell to run a Python code that return some messages inside a JavaScript environment, but the messages come out of sync. The first message returns at the right moment, but then all other messages comes out together at the end, not one by one. When I r...
{ "language": "en", "url": "https://stackoverflow.com/questions/73838952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create google play menu in xamarin I'm new to Xamarin. How can i design a pop up menu that looks like google play menu in Xamarin ? I.e see the image below : A: There are several ways to go about making a fly-out menu, which is what I believe you are after. The very basic approach, is to add something simil...
{ "language": "en", "url": "https://stackoverflow.com/questions/37659722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AWS Elastic BeanStalk Security Group I am trying to create Worker Environmenton EBS with Sample Application of Node js which should use existing Security group on VPC. I create this environment inside VPC (Virtual Private Cloud). When I create this environment, I keep following configuration for VPC. Security Grou...
{ "language": "en", "url": "https://stackoverflow.com/questions/33680906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get an entity from Doctrine Fixture reference? I have added data fixtures in my project that relies on referencing entity objects from each other. In data fixture one, I have added entity references such as: // GroupEntity_Fixtures.php file $this->addReference('GROUP_USER', $groupUser); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/17264758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: how to print more than one rows through PL/SQL procedure? How to write a procedure where user will give department number, and the procedure will show the list of those employees who are working in that department. My procedure: create or replace procedure p1( dno in number, name out varchar2 ) is begin selec...
{ "language": "en", "url": "https://stackoverflow.com/questions/31372377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I secure a SQL Server 2005 database? I have a database for a web application that is home to some personal information about my users. What should I do to make sure the data is secure? Encrypting the data makes sense, of course... but what about stopping somebody from getting on the machine to begin with? Wha...
{ "language": "en", "url": "https://stackoverflow.com/questions/210832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can;t install lxml package on windwos 11 "PS D:\Complete-Python-3-Bootcamp-master\12-Advanced Python Modules\puzzle_unzip> pip install lxml Collecting lxml Using cached lxml-4.9.1.tar.gz (3.4 MB) Preparing metadata (setup.py) ... done Installing collected packages: lxml DEPRECATION: lxml is being installed usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/74666576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Reliable Ways to Send Large Files to Clients we have a need to regularly provide large files to clients on a daily or weekly basis. Currently our process is this: * *Internal process creates the file and places it in a specific folder *Our client connects via SFTP and downloads the file This work well when th...
{ "language": "en", "url": "https://stackoverflow.com/questions/45844912", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }