text
stringlengths
15
59.8k
meta
dict
Q: Select value from text based Postgres field I would like to extract some information that store in one field. for example : {"Dtl":"{\"title\"campaignId\":\"12345\",\"offerId\":\"67789\"} I need the information of campaignid and also offerid the expected result should be : 12345 and 67789 is there any way to extract...
{ "language": "en", "url": "https://stackoverflow.com/questions/71393758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to change color of specific cell's label in collection view from array of labels in swift I'm pretty new to Swift and I have a question, I have a collection view, with a cell inside, and a label inside of this cell. I created an array and returned it, so I have multiple cells with labels. My question is, how to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43597886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How should I detect an observable is idle and inject data every minute? I have an observable returning data sporadically. If there is no data for one minute, I need to repeat the last data, every minute until it generates data again. How can I achieve this? Thank you. A: Here's a one liner to do what you want. I've...
{ "language": "en", "url": "https://stackoverflow.com/questions/8585368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use each method to put result in view Instead of creating a foreach loop I want to iterate over the results and I am using the each() method: $collection = Comment::all(); $comment = $collection->each(function ($comment){ dd($comment->comment); }); when I dd() I get: "Hatter; 'so I should think." B...
{ "language": "en", "url": "https://stackoverflow.com/questions/49701697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not overloading operator Good day, I'm doing some Codeforces exercises in my free time, and I had a problem to test if the user was a boy or a girl, well, my problem isn't that, i have just demonstrated the code. While compiling my code in my computer ( I'm using version 3.0.4 for i386 ) i get no error, but codefor...
{ "language": "en", "url": "https://stackoverflow.com/questions/63831783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Insert IoT message array as multiple rows in DynamoDB I'm starting a new project that involves some IoT devices sending every 5 minutes their status and other info to AWS IoT. The structure of the message is the following: { "SNC":"C_SN_15263217541", "STATUS":"enable", "PLANT":{ "PNAME":"nomeimp...
{ "language": "en", "url": "https://stackoverflow.com/questions/48296716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WSS 3.0: change parent type for a content type I have created a hierarchy of content types. The root of my hierarchy has the content type "Document" as a parent. There are about 20 other content types derived from my root. Now, I want to change the parent from "Document" to something else. Is it possible? Either in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/122642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Migrating from XML + dataset to SQL + Entity Framework Migrating XML + .xsd dataset version to SQL + Entity Framework. I'm a novice to SQL databases now I have to. Current scenario: my project has many XML files (40,000+) which can be loaded to one of .xsd dataset schema(~30). There are a lot of XML separation made ...
{ "language": "en", "url": "https://stackoverflow.com/questions/48107734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: jQuery failed: parsererror with error thrown: SyntaxError: Unexpected end of JSON input I have a contact form which is passed to a PHP script through ajax. Once the form is processed, The ajax will perform some actions depending on the response received from json_encode() function in the PHP script. The problem is I...
{ "language": "en", "url": "https://stackoverflow.com/questions/47239264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scraping source view image link with SwiftSoup I'm trying to grab faveIcon image from a website using SwiftSoup if rel == "icon", try element.attr("type") == "image/x-icon", element.hasAttr("href") { favIconUrl = try element.absUrl("href") } The issue is, in href, there is no any direct url, and it looks like...
{ "language": "en", "url": "https://stackoverflow.com/questions/73964675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing hadoop from remote machine I have hadoop set up (pseudo distributed) on a server VM and I'm trying to use the Java API to access the HDFS. The fs.default.name on my server is hdfs://0.0.0.0:9000 (as with localhost:9000 it wouldn't accept requests from remote sites). I can connect to the server on port 90...
{ "language": "en", "url": "https://stackoverflow.com/questions/35034872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: error when using cronTrigger with an expression that contains a year value I'm observing a strange behavior scheduling a job in Quartz using a CronTrigger that contains a year value. Here is how I am creating a trigger and scheduling a job with it: CronTrigger trigger = cronJobTriggerFactory.getObject(); trigger.se...
{ "language": "en", "url": "https://stackoverflow.com/questions/10524862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Ipad app with two UIWebViews I have an iPad app with two UIWebviews, one on top of the other. Is there a way to have all the links that are clicked in one, open in only the other view? A: Use this in the delegate for your first UIWebView: - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLReques...
{ "language": "en", "url": "https://stackoverflow.com/questions/3273534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optimize Kruskal Wallis Test Spotfire On spotfire i had created several Kruskal Wallis test. First i had created a pivot table and after i did a data relationship (Kruskal Wallis). Then i reflate my tests with a button (script python). That is my code : kruskal = Document.Calculations[0] settings = Document.Calculat...
{ "language": "en", "url": "https://stackoverflow.com/questions/40842080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What's the difference between printf and printf_s in C? I just want to know the difference and I've already tried search on google. printf() printf_s() A: I learned something new today. I've never used the _s functions and always assumed they were vendor-supplied extensions, but they are actually defined in the la...
{ "language": "en", "url": "https://stackoverflow.com/questions/55634311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: REACT : How to render component inside a div with specific classname? I'm not sure what is the best method to do this but - I have outputted list of divs. When I click on one of them, it gets given a class active. I need to show a component I made (to render) inside this particular class once the div has been clicke...
{ "language": "en", "url": "https://stackoverflow.com/questions/71340519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React navigation not showing the right screen I have created a navigation setup for my application that should start off with a welcome screen on the welcome screen you find two buttons, one for registering and the other for logging in. When the user registers or logs in he get sent to other screens. I have created ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62002774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Defining own CONTROL exception The subject says it all: can I define own control exception which would handled by the CONTROL block? Applying the X::Control role is useless: class CX::Whatever does X::Control { method message { "<whatever control exception>" } } do { CX::Whatever.new.throw; CONTRO...
{ "language": "en", "url": "https://stackoverflow.com/questions/54155892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "6" }
Q: How to handle c# WPF thread in MVVM view model I am having a bear of a time figuring out how to handle a Thread from a class outside my ViewModel. The Thread originates from a Track class. Here is the ResponseEventHandler code in Track: public delegate void ResponseEventHandler(AbstractResponse response); public eve...
{ "language": "en", "url": "https://stackoverflow.com/questions/6538633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Is there a simple way to remove one dependency from the local gradle cache? The local gradle cache stores copies of maven/gradle dependencies. How to clear gradle cache? covers how to clear the whole cache, but not individual packages. Is there a simple way to remove one package from the local gradle cache? This wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/36507115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: Cannot run python file I am trying to run a stand-alone python file partitions.py that is in my home folder. When I type the command "python3 partition.py" the script runs. However, when I type "python3 -m partition.py" it gives me an error "/usr/local/bin/python3: No module named partition.py" I do not know why th...
{ "language": "en", "url": "https://stackoverflow.com/questions/21269481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I saved an image in local database. whenever i try to open using glide. i get the following log enter image description here fail to get the list and getting null pointer exception. whenever i add the product into cart then it proceed into cart but image is not loaded and getting error of null pointer exception clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/74811731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to create geohash tree in neo4j Based on a problem here an expert have answered with this code: CALL spatial.addPointLayerGeohash('my_geohash_layer_name') CREATE (n:Node {latitude:60.1,longitude:15.2}) WITH n CALL spatial.addNode('my_geohash_layer_name',n) YIELD node RETURN node to create a geohash tree that...
{ "language": "en", "url": "https://stackoverflow.com/questions/50913970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why my text box's border color doesn't grow? I have a textbox as follow. <div class="form-group"> <label for="passwordr">Repeat Password</label> <input type="password" class="form-control" required="" name="passwordr" value=""> <span class="help-block">Type...
{ "language": "en", "url": "https://stackoverflow.com/questions/35810144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: list of numbers to a stack back to a list Imagine four railroad cars positioned on the input side of the track in the figure above, numbered 1, 2, 3, and 4, respectively. Suppose we perform the following sequence of operations (which is compatible with the direction of the arrows in the diagram and does not require ...
{ "language": "en", "url": "https://stackoverflow.com/questions/21420443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ImageProcessing in WPF (Fant BitmapScalingMode) My application presents an image that can be scaled to a certain size. I'm using the Image WPF control with the scaling method of FANT. However, there is no documentation how this scaling algorithm works. Can anyone reference me to the relevant link for this algorithm ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2018881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: My jQuery script makes always the first look like focused when not Thing is, no matter which <select> I'm clicking, it always looks like the first one gets focused when actually the second one isn't. The code works, but I want to implement the $(this) thing so the button I press is the one who must look focused, an...
{ "language": "en", "url": "https://stackoverflow.com/questions/16901841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to align two figures with different labels? These are two figures in my paper. Apparently, the two axes are not in alignment. How can I make sure that two figures generated independently align with each other? The problem is that the two figures have different labels and different ticklabels. That makes the posi...
{ "language": "en", "url": "https://stackoverflow.com/questions/55762269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NSIS "Bad text encoding" compilation error from _EndSwitch macro We've been using NSIS 2.50 for some time now and I'm trying to update to the newest 3.0x version. I'm using Unicode true. I've ran into an issue, which I'm failing to understand. We use a switch for mapping native language names to language IDs, more o...
{ "language": "en", "url": "https://stackoverflow.com/questions/73530905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recursively get every nth element from array Javascript I have an array of colors that I need to recursively get every nth element to generate a legend. The colors array might look something like this: [ 'red', 'dark_red', 'dark_dark_red', 'green', 'dark_green', 'dark_dark_green', 'blue', 'dark_blue', 'dark_dark_blu...
{ "language": "en", "url": "https://stackoverflow.com/questions/62886285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: rxjava StackOverflowError exception in long chain I build very long rxjava chain (with retrofit request) with a lot of operators: doOnNext, doOnError, switchIfEmpty, onErrorResumeNext, flatMap On some devices (Android 4.1 for example) it throws StackOverflowError exception when chain go by the longest route. Are the...
{ "language": "en", "url": "https://stackoverflow.com/questions/42363452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent Visual C Compiler from optimizing out "unused" global variable Possible Duplicate: Why does const imply internal linkage in C++, when it doesn’t in C? What is external linkage and internal linkage in C++ I have a two C files that I'm trying to compile to an executable. One file contains only a sin...
{ "language": "en", "url": "https://stackoverflow.com/questions/13887120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Oracle: Finding the stored procedure that modifies record on a table I've got a C# code that calls stored procedures and UPDATES a table. Can I monitor each operation made on this table by a SID. A: Yes, you can do this at the database level using Oracle auditing. See here for good writeup and examples of its use....
{ "language": "en", "url": "https://stackoverflow.com/questions/9136798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: creating new variables in sas I am trying to create 3 new variables and have used this code however keep getting an error in my log, I am not sure what this issue is: Data birthdata SET birthdata; native=.; if race=3 THEN native=1; if race=1 THEN native=0; aarace=.; if race=2 then aarac...
{ "language": "en", "url": "https://stackoverflow.com/questions/71820917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Export data to pdf in Laravel downloading only 2 pages irrespective of data I have huge amount of data in my DB. But when I try to export data to pdf in Laravel only 2 pages are downloading. $members = DB::table('members')->where('id_card_issued',0)->get(); $pdf = PDF::loadView('admin.myPDF', compact('members'))...
{ "language": "en", "url": "https://stackoverflow.com/questions/57790141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript unit testing framework that doesn't work in strict mode Is there a way to unit test code from not strict mode. Most of the testing frameworks, mocha, jest, etc are strict mode only. My code involves use of eval that needs non-strict mode scope that I cannot rewrite into strict mode compatible form. Any id...
{ "language": "en", "url": "https://stackoverflow.com/questions/71093181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Clear filter from Table I'm trying to run a macro that replaces data in a table in Excel, when the data might initially be filtered. The code should remove the filter first, then run the rest of the code. I tried the "Autofilter" command, but then the normal filter option on the table's range weren't visible, and I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/33197641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "27" }
Q: decrypt web.config file for specific project on a local machine I have a project that is running on the server. I want to modify it on a local machine, but connection strings in the web.config file are encrypted using regiis. To decrypt it I tried this article: http://ryaremchuk.blogspot.com/2012/11/encrypting-and-d...
{ "language": "en", "url": "https://stackoverflow.com/questions/40005823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get the detached object from the session in the Hibernate events PostLoadEvent and PostUpdateEvent I have an entity which has transient fields, after the merge / load i loose all the values of these transient fields in the returned managed object. What i want to do , is to copy the values of the transient fields fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/51872268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Window 200x200 with circle 200x200 doesn't fit I'm trying to do something very simple. I'm trying to create a window that has a circle in it that fits perfectly. I made the window 200x200 and the circle 200x200 and it looks like this This is the code I made: using System.Windows.Forms; using System.Drawing; class H...
{ "language": "en", "url": "https://stackoverflow.com/questions/52355466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Displaying an image in a jsp from a byte array using struts I can get an image as a byte[] and store it in my database using form.jsp and FormFile. Now I need to be able to retrieve that byte[] and display it back in the JSP as an image. Is there a way to create a resource and retrieve that image? A: public Action...
{ "language": "en", "url": "https://stackoverflow.com/questions/12055092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using SIFT and OpenCV for object recognition I have an image that is an image of one of a set of objects, and I'd like to use SIFT in Open CV to figure out which object it. I have this code: Mat pic = imread(...); vector<KeyPoint> picKP; Mac picDesc; Mat obj1 = imread(...); Mat obj2 = imread(...); Mat obj3 = imread...
{ "language": "en", "url": "https://stackoverflow.com/questions/30046935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Aws lambda java - Implement simple cache to read a file I have a lambda process in java and it reads a json file with a table everytime is triggered. I'd like to implement a kind of cache to have that file in memory and I wonder how to do something simple. I don't want to use elasticchache or redis. I read something...
{ "language": "en", "url": "https://stackoverflow.com/questions/57915701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get the list of all children in Firebase android? I have this model below in Firebase I am trying to get all the values from child node posts using below code databasePostsReference = FirebaseDatabase.getInstance().getReference().child("posts"); final List<UserPostPOJO> list = Collections.EMPTY_LIST; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/43859513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using an varray type in a select statement I am trying to use an varray-type in a select statement: CREATE OR REPLACE PROCEDURE ARRAYTEST IS type array_t is varray(2) of int; array_test array_t := array_t(10,11); BEGIN select * from STATISTIK where abschluss1 in array_test; END; But it is giving me an error: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/31699448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: html5 validate form with required="true" and custom check What I'm looking for: way to have innate html 5 form validation using the required="true", where if the user clicks the "Submit" button, the first thing that happens is the automatic html 5 validation where it checks to see if "username" is provided by the us...
{ "language": "en", "url": "https://stackoverflow.com/questions/8042844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Firebase Google Analytics Console weird behavior. Events are logged but don't show up on User Snapshot I'm using Firebase Analytics and I'm still exploring the Google Analytics Console. I think there's something wrong with my data, or the way I'm logging it. I have a Single Page App built with React + Firebase. Sinc...
{ "language": "en", "url": "https://stackoverflow.com/questions/59944747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Electron (Windows) How does manual distribution work? I am trying to follow the instructions on this page: https://electronjs.org/docs/tutorial/application-distribution#manual-distribution however it is very vague and unclear. I am trying to build an app that is simply an index.html with some static assets (JS, CSS,...
{ "language": "en", "url": "https://stackoverflow.com/questions/59721270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What access modifier to use Suppose I have a base class: public class A { public float someValue; <Access Modifier Here> float SomeValue { get { return someValue; } } } And I want to derive from it: public class B : A { public float SomeProperty { get { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/36318000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to set hard coded HTML in UWP WebView I have some hard coded html: string myHtml = "<html>some html</html>" How can I set it as my WebView source? Something like this: webView.HtmlSource = myHtml; A: In general, we use WebView.NavigateToString(htmlstring); to load and display html string. For source of WebVie...
{ "language": "en", "url": "https://stackoverflow.com/questions/59537299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: The type arguments for method cannot be inferred from the usage. (c#, lambda) Firstly, I am a complete beginner to advanced level programming. All I have done are tutorials to C++ found on the web. I'm facing this problem at work. I have seen similar queries but nothing has helped me understand. Please note: I am te...
{ "language": "en", "url": "https://stackoverflow.com/questions/21194025", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retain Cycle in Class Causing Potential Memory Leak So using the graph debugger tool and instruments I have noticed that there is a memory leak in my app. After many hours I have or the graph debugger has tracked it down to this function. override func didUpdate(to object: Any) { comment = object as? CommentGrab...
{ "language": "en", "url": "https://stackoverflow.com/questions/48621724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Still having Java install problems Please review my script, all I want to do is check to see if a particular Java Verison is installed (latest version) if it is not installed, then to go to the install command... Having problems with the For /F command though. PLease see what I have so far: @echo On setlocal ENABLE...
{ "language": "en", "url": "https://stackoverflow.com/questions/22991060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to trace where Xcode program crash I'm getting an error in debugger. In Thread my app crash on line: 0x37265f78: ldr r3, [r4, #8] with: Thread 1: EXC_BAD_ACCESS (code=1, address=0x50000008) How to find out where app actually crash? There is a something like "call stack"? A: http://www.raywenderlich.com/10...
{ "language": "en", "url": "https://stackoverflow.com/questions/10878035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: admob impressions is half then request please guide what is the issue also rewarded ads not showing with real id in test is it works Hello I am working with admob but i dont know in my account their is no ads limit but still number of impressions is less then request Please help me out what is issue why i am gettin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Avoid changing the background of Status Bar on iOS in Ionic I'm doing a mobile app using Ionic 6.1.4 and Capacitor 3.5.1. Android, looks good by default, black background and white icons on any screen. iOS, always has whatever the background color I have in the ion-content with black icons. Is always like this on a...
{ "language": "en", "url": "https://stackoverflow.com/questions/72223035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Qt creator - The process "/usr/bin/make" exited with code 2 default project I installed QT Creator 4.0 on OS X 10.11, when I try to build any project template I get the following: Error output screenshot. Any idea what causes this issue? Thank you!
{ "language": "en", "url": "https://stackoverflow.com/questions/37598743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting a working code from double-precision to quadruple-precision: How to read quadruple-precision numbers in FORTRAN from an input file I have a big, old, FORTRAN 77 code that has worked for many, many years with no problems. Double-precision is not enough anymore, so to convert to quadruple-precision I have: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/18137127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: POST and PUT methods are not working in Postman but working in Swagger So the documentation is required from me on Postman. The problem is my APIs requires authentication so I can't use Swagger to test them. When I remove authorization from my controller and use Swagger it works, but using Postman it returns the fol...
{ "language": "en", "url": "https://stackoverflow.com/questions/66474715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Getting the list of available languages How can I get the list of available languages (the short symbol to be passed when calling a method that represents the language) for CodeRay syntax highlighter? I tried require "coderay" CodeRay::Scanners.constants but that doesn't seem to give the information. (Even if I wer...
{ "language": "en", "url": "https://stackoverflow.com/questions/36860395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Drupal escaping url in dynamically created meta tags I am trying to add open graph meta tags dynamically to drupal 8 using the the page_attachments hook. The meta tags are generated correctly however image and the website urls are being encoded by drupal and the result is broken links. function module_page_attachmen...
{ "language": "en", "url": "https://stackoverflow.com/questions/62149447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show an Eclipse view like an intro I am having an eclipse view which I am trying to display as an intro page. I am now opening the view with maximize but still the toolbars are visible. So is there any way to make the view opening same as intro page in eclipse. I am not using intro as I want to make my own ...
{ "language": "en", "url": "https://stackoverflow.com/questions/4965610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: webformmailer.php not sending user text entries So I can't find anything about why my form isn't sending the text the users are entering. Its only submitting blank fields using webformmailer.php and can't find any help on godaddy site either. I know I'm using the same id for the name and email fields so if that is r...
{ "language": "en", "url": "https://stackoverflow.com/questions/17581164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EF 5 & MVC 4: unable to get tables with no reference in Controller using Databse first I am using MVC 4, EF 5 and Database first approach. I have added 2 new tables(UserDetails and UserAddress) with no reference in existing database. I am able to see all tables including these 2 new table in EDMX file and created mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/18886845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to implement PHP file_get_contents() function in JSP(java)? In PHP we can use file_get_contents() like this: <?php $data = file_get_contents('php://input'); echo file_put_contents("image.jpg", $data); ?> How can I implement this in Java (JSP)? A: Here's a function I created in Java a while back that retu...
{ "language": "en", "url": "https://stackoverflow.com/questions/5471406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "8" }
Q: Invalid Argument Running Google Go Binary in Linux I’ve written a very small application in Go, and configured an AWS Linux AMI to host. The application is a very simple web server. I’ve installed Go on the Linux VM by following the instructions in the official documentation to the letter. My application runs as exp...
{ "language": "en", "url": "https://stackoverflow.com/questions/31335579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Docker run on sub domains My goal is to deploy multiple webapps and access them through sub-domains, I'm currently running them on different ports, I have nginx on the server and the containers are running apache. docker run -p 8001:80 -d apache-test1 docker run -p 8002:80 -d apache-test2 and I'm able to access the...
{ "language": "en", "url": "https://stackoverflow.com/questions/33586062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to improve look and feel of JAVA swing GUI? I am working on a project that uses Java Swing. The default look and feel of the Java Swing GUI is very boring. Is there any way I can use a better look and feel? Something like on web pages... A: You can set the look and feel to reflect the platform: try { UIMan...
{ "language": "en", "url": "https://stackoverflow.com/questions/2592207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "27" }
Q: smoothing between pixels of imagesc\imshow in matlab like the matplotlib imshow When I use matplotlib's imshow() in python to represent a small matrix, it produces a some sort if smoothing between pixels. Is there any way to have this in Matlab when using imshow or imagesc? For example, using matplotlib this is the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/14722540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "17" }
Q: Why java ThreadPoolExecutor kill thread when RuntimeException occurs? Why the unhanded exception is rethrown in worker when calling execute method ? As result new Thread will be created on next execution to maximize threads count A: Why java ThreadPoolExecutor kill thread when RuntimeException occurs? I can only ...
{ "language": "en", "url": "https://stackoverflow.com/questions/19123533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Array Compatiblilty java These are my instructions: Two arrays are said to be compatible if they are of the same size and if the ith element in the first array is greater than or equal to the ith element in the second array for all elements. If the array size is zero or less then display the message "Invalid ...
{ "language": "en", "url": "https://stackoverflow.com/questions/61717916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Use LIKE for strings in sql server 2008 I want to make a function that search in a table and returns rows that contain a certain word that I Insert like below. But when I use LIKE it give me an error: Incorrect syntax near '@perberesi' CREATE FUNCTION perberesit7 (@perberesi varchar(100)) RETURNS @menu_rest TABLE (...
{ "language": "en", "url": "https://stackoverflow.com/questions/21414990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can Multiple WSO2 API manager integrate with single WSO2IS-KM 5.7.0? We have installed WSO2 IS-KM version 5.7.0 and we want to integrate Multiple WSO2 API Manager version 2.6.0 with WSO2 IS-KM. Requesting you to please suggest and share the link to configure multiple WSO2 API manager with WSO2 IS-KM version 5.7.0 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/58324562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Tensorflow did not save the required models I ask tensorflow to save models every 100 iterations in every epoch, the following is my code. But after 900 iterations, only trained models for the 500th, 600th, 700th, 800th, 900th iterations were saved. with tf.Session(config = tf.ConfigProto(log_device_placement = True...
{ "language": "en", "url": "https://stackoverflow.com/questions/50439794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Embedding Loops with 2 Variables Dim rng As Range, cell As Range, copyToCell As Range For j = 9 To 23 For i = 2 To 23 Set rng = ThisWorkbook.Sheets("Sheet A").Range(Cells(3, j), Cells(11, j)) Set copyToCell = ThisWorkbook.Sheets("Sheet B").Cells(3, i) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62582814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular directive - update parent scope when another directive as also isolated scope I have written an angular directive that needs to update the parent scope. angular.module('app').directive('googlePlace', function () { return { restrict: 'A', require: 'ngModel', link: function ($scope...
{ "language": "en", "url": "https://stackoverflow.com/questions/22750051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Use API v2 to work with Customer Group Prices We are using a tool to integrate our financial software with Magento. Does anyone know a way to write and read the Customer Group Prices with API v2? Each customer has a different agreed price for products in Dynamics GP and we need to match this price in Magento. Thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/28564137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Instance variable to stop a running thread Header : @interface CodeTest : NSObject { BOOL cancelThread; } -(void) testCode; -(void) stopRunning; -(void) startRunning; @property (assign) BOOL cancelThread; @end Implementation : -(void)stopRunning{ self.cancelThread = YES; } -(void)startRunning{ self.can...
{ "language": "en", "url": "https://stackoverflow.com/questions/4782938", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Obfuscating Android library projects I'm using AndEngine and two AndEngine extensions, for a total of 3 library projects. I really wish that I could obfuscate and optimize these library projects to improve application size, but I haven't seen anywhere how to do that with library projects. Does anyone know what the P...
{ "language": "en", "url": "https://stackoverflow.com/questions/7074314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySqlException: Unable to connect to any of the specified MySQL hosts. MySql.Data.MySqlClient.NativeDriver.Open() Here is the code that connects to MySql and attemps to query data, and these are the errors i'm getting: An unhandled exception occurred while processing the request. MySqlException: Timeout expired....
{ "language": "en", "url": "https://stackoverflow.com/questions/61860087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HighCharts: align rotated multiline label I'm trying to align axis labels in HighCharts Labels should not be trimed, so ellipsis is not allowed How it looks now: How I want it to be: Code: https://jsfiddle.net/9xw6dL3f/25/ { "chart": { "width": 500, "height": 300, "type": "column" }, "title": { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/72054718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why syntax error when import my own modules in Python I created my own python package with "python setup.py bdist_wheel" and "pip install /path/to/dist/my_own_package.wheel". After installing it, when importing it, there is error of "SyntaxError: invalid syntax". Could you help? thanks. >>> import my-modules File...
{ "language": "en", "url": "https://stackoverflow.com/questions/57840684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you pull certain substrings(ip addresses) out of strings(Wireshark Output)? I am reading the contents of a wireshark dump from a text file, line by line. One of the things I can pick out easily is the protocol used in that specific line of the wireshark output(as shown in the code below). The problem I'm ru...
{ "language": "en", "url": "https://stackoverflow.com/questions/36928007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Merge two Arraylist & retains all the value in Java I have 2 arrayList of PresentErrorList & PastErrorList both having 3 fields errorCode,presentErrorCount & pastErrorCount . presentErrorList [errorCode=1000,presentErrorCount=10,pastErrorCount =0] [errorCode=1100,presentErrorCount=2,pastErrorCount =0] pastErrorList...
{ "language": "en", "url": "https://stackoverflow.com/questions/45167208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 315 error when tryin to connect to ADS Database This error occurs when i try to connect to a remote ads data dictionary. When researching the error code 315 results only came up for error code 314. A: Fixed this issue by installing aceapi and setting the path of the vendor lib to the syswow path of ace32.dll in FD...
{ "language": "en", "url": "https://stackoverflow.com/questions/67726153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mergesort of multi-dimensional array in Java I have a function which should sort a 2D String array according to a feature index. Here is my 2D array of 4 elements (4 x 10). String[][] testArr = { {"192.168.1.101-67.212.184.66-2156-80-6","192.168.1.101","2156","67.212.184.66","80","6","13/06/2010 06:0...
{ "language": "en", "url": "https://stackoverflow.com/questions/49214896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java -Sorting Strings, some kind of Basicly I have two arrays of Strings. One of the String contains a number, the second string contains text and a number. How can I match these together, please? Example: private String[] StringArray1 = {"5648", "4216", "3254", "2541", "10"}; private String[] StringArray2 = {"Derp:...
{ "language": "en", "url": "https://stackoverflow.com/questions/21366227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to fast search a string in a Excel file I am writing a JAVA program to search a string in a Excel file and extract the row which contains this certain string. I found all the related methods are looking all the rows one by one, and use .contain() method to tell whether this row contain the string or not. But the...
{ "language": "en", "url": "https://stackoverflow.com/questions/37777785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linux C Programming - FTP server won't respond through sockets So I am trying to make my own FTP client, I was able to connect to a ftp server and get the "220" response code but when I try to send ANY command the recv function just gets blocked. This is my code: I have tried multiple free ftp servers and I was able...
{ "language": "en", "url": "https://stackoverflow.com/questions/47727995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Loading Glide image I am working on developing an app to play songs, I use Glide to get the image of the song and display it in the ListView, the first problem when I scrolling in my ListView the application becomes slow, and I have another problem which is when I scrolling Up the Glide load the images that have alr...
{ "language": "en", "url": "https://stackoverflow.com/questions/67709309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show tree structure hierarchy via JSON Schema I'm trying to achieve orgchart tree structure via JSON Schema. I'm trying to map Id with BossId and Id is unique and whoever has BossId of Id is the sub-employee of that BossId. I've tried a jQuery plugin and Google Org Chart. But both of those have different schema as t...
{ "language": "en", "url": "https://stackoverflow.com/questions/53890925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .SetFocus from module VBA I'm trying to set the focus in a form after update. When I do this within the forms class module I have no problem. However, I need to do this in a few forms so I'm trying to write it in the module. My problem is I can't get the .SetFocus to work unless I hardcode the form name within the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/24457624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is ASMX technology completely obsolete Some time ago, about 2 years ago, I was working on web portal that was developed in .NET 2.0. and had plenty of asmx pages. The other day, one of my coleagues that was more adept at ASP .NET said: "ASMX is old and ugly, we shoud rewrite it". So we did it, as far as I remember ...
{ "language": "en", "url": "https://stackoverflow.com/questions/13100580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to click on the second link in google search result list using selenium web driver I want to click on the second link in result in google search area using selenium-web-driver ( Need a method that suits for any google search result ) example page This is my code, How can I modify the if statement import speech_...
{ "language": "en", "url": "https://stackoverflow.com/questions/60389233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get a field in a object in db4o in java i have a query method. i use db40 in java public static void checkQuery(ObjectContainer db, final String nameFish) { ObjectSet result = db.query(new Predicate<WaterFish>() { @Override public boolean match(WaterFish fish) { // TODO Auto-generate...
{ "language": "en", "url": "https://stackoverflow.com/questions/24329625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Taking first observation of a series as unobserved parameter in non-linear regression I am trying to estimate the following equation in Stata using non-linear least squares command nl: π_t= π_t_e+ α (y-y*) where π_t_e= γ * π_t-1_e+(1-γ) π_(t-1) π_t, y and y* are already given in the dataset, π_t_e is created from π_...
{ "language": "en", "url": "https://stackoverflow.com/questions/66321301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: debug with PHP script on IE10 I have a js script that uses ajax to post data to a php script. The php script will open a text file and write the data that's passed from the js script. The same script works on chrome on a different machine but after I migrate it to the server where only IE is available, it does not w...
{ "language": "en", "url": "https://stackoverflow.com/questions/37898931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting the exact system time during program execution I'm doing an alarm clock and I want to print alarm raise if the system time is the same as the one being save but it turn out that while running the program the time became static that's why it didn't raise the alarm while the program is still executed. How can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/62622393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Define Global variables from File input C++ I have to define a global array in my C++ code the size of which has to be read from a file. I am using the below code #include<iostream> #include<string> #include<fstream> using namespace std; string inputfile = "input.txt"; ifstream infile(inputfile.c_str()); infile>>N;...
{ "language": "en", "url": "https://stackoverflow.com/questions/25528953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: The searchresults.aspx page is picking up an older version of the master page We have master page called custom.master. We changed the master page of the searchresults.aspx page to this master page: MasterPageFile="custom.master" We opened the searchresults.aspx page located in C:\Program Files\Common Files\microso...
{ "language": "en", "url": "https://stackoverflow.com/questions/13579232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }