text
stringlengths
15
59.8k
meta
dict
Q: Best way to search in top n rows in sqlite I have a BIG transactions table. I want to to find a specific field(card number) in transactions inserted in last one minute, Therefore it is not reasonable to search the entire table. So i want to search just in top 20 rows. Here is the my code: public boolean isCardTaped...
{ "language": "en", "url": "https://stackoverflow.com/questions/31261815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: webpack eval-source-map makes chrome breakpoint not working I 'm trying to use eval-source-map instead of source-map because doc says it should be faster to build bundles. But if I use eval-source-map, breakpoints in chrome doesn't get hit. I've googled and it doesn't seem eval-source-map breaks breakpoint functiona...
{ "language": "en", "url": "https://stackoverflow.com/questions/39908032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Express not serving static images Attempting to use express to serve static assets (css, images, js) for the index.html view. In app.js app.use(express.static(path.join(__dirname, 'public'))); In index.html <link rel="stylesheet" type="text/css" href="/css/style.css"> <script type="text/javascript" src="/js/app.js...
{ "language": "en", "url": "https://stackoverflow.com/questions/56029411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSRS - Is there a better way to do this expression? I have a line chart and one of the series expressions look like this: =IIF((DateDiff("dd", Fields!EstimatedImpDt.Value, Fields!ActualImpDt.Value) = 0) ,100 ,(100 - (((DateDiff("dd", Fields!EstimatedImpDt.Value, Fields!ActualImpDt.Value)) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/39649704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create Table in subplot I have a python plot and then would like to have a set of statistics in a table in a subplot adjacent to it. I have used kind of an adhoc approach in which I create a subplot with white axis colors and then make a table in the subplot. You can see that the table has white lines running throug...
{ "language": "en", "url": "https://stackoverflow.com/questions/28681782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue on Adding Arrow Content After Button Can you please take a look at this demo and let me know why I am not able to add arrow content after the button @import url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'); .btn-warning:after{ content: ''; position: absolute; left: 100%;...
{ "language": "en", "url": "https://stackoverflow.com/questions/33744116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change the returned WP Rest API JSON response Format Is there a way to change the returned wp rest api json format? Instead of an array i'd like the response to be in an object format. Desired format: { "articles": [ { "id": 160, "title": "This is a new post ", "slug":...
{ "language": "en", "url": "https://stackoverflow.com/questions/56709515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: "Java not found" in using tabula-py everyone, I am using tabula-py in python to extract table from pdfs. I used following codes. import tabula table_temp = tabula.read_pdf('./example_pdf/sample1.pdf',pages=11) However, I got the error message as pasted below, in which I was told "no such file or directory: 'java'...
{ "language": "en", "url": "https://stackoverflow.com/questions/44490203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Transform y axis in bar plot using scale_y_log10() Using the data.frame below, I want to have a bar plot with y axis log transformed. I got this plot using this code ggplot(df, aes(x=id, y=ymean , fill=var, group=var)) + geom_bar(position="dodge", stat="identity", width = 0.7, size=.9)+ ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/46639120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can using line-height < 1 cause problems? I'm using a specific font (font-size: 16px). When I use line-height:1, the character's baseline is not positioned at the bottom. There is a 2px gap: If I reduce the line-height to 0.75 I get better results. I can align the text in a more precise way to other elements. I can...
{ "language": "en", "url": "https://stackoverflow.com/questions/38569915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Override Spring Boot Security Spring Boot Security, My Application is already running using Spring Security. Now I want to authenticate the users through OAuth. Is there any way to build a custom servlet to achieve this? A: You can add a new Filter to intercept and authenticate OAuth requests in which it should cal...
{ "language": "en", "url": "https://stackoverflow.com/questions/59320141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting up keith-wood CountDown on Static HTML Page I'm using HTML Static Page for my website index, and I want to setup Keith-wood countdown. It has some defaults and I cant find(?) them, here is the code in index.html : <div id="container-counter"> <div id="defaultCountdown"></div> </div> Where can I change the...
{ "language": "en", "url": "https://stackoverflow.com/questions/22618592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: File format not recognized with GNU gdb 6.4 on Solaris 10 Below details are from a session in a Sun machine running Solaris 10. $ file devli devli: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped $ file a a: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped $ gdb GNU...
{ "language": "en", "url": "https://stackoverflow.com/questions/1952882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sort columns in sql I have a table with number of columns. Most of the columns except primary key columns can have nulls. I need a query which will query this table and fetch the results in such a way that, the records which have nulls for all columns except the primary columns should be shown first. In the below ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/33925396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ld: cannot open output file conftest.exe: Permission denied Using MSYS2 (version x86_64-20160205) on Windows 7 64bits, I'm trying to compile corkscrew. Here is the output: $ ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environme...
{ "language": "en", "url": "https://stackoverflow.com/questions/37731125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove div from page with JavaScript I am trying to remove a div from my page once i receive an XMPHttpRequest response. I have also tried setting the display of the div to none using: document.getElementById('password').style.display = 'none'; but that didnt work either. HTML: <div class="login-container"> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/26664441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: By implementing the interface it inherit unwanted methods I have interface A which defined 3 methods that should implement and class B must is implementing all three methods. No problem. But in class C also i'm implementing the interface A so I have to write the implementation for all three methods. But my class C d...
{ "language": "en", "url": "https://stackoverflow.com/questions/16958708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular bazel ts_devserver add polyfills ts_devserver( name = "devserver", additional_root_paths = ["project/src/_"], entry_module = "project/src/main.dev", port = 4200, scripts = [ "@npm//:node_modules/tslib/tslib.js", "@npm//:node_modules/@angular/localize/bundles/localize-init....
{ "language": "en", "url": "https://stackoverflow.com/questions/61930303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run script while having browser focused I am currently working on a home project with a Raspberry Pi and the 7" display. Almost everything works, only the last bit I am a bit confused with. A chromium window in kiosk mode is open which refreshes on mouse movement. Also on mouse movement I want to change the backligh...
{ "language": "en", "url": "https://stackoverflow.com/questions/66659199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mongodb BI Connector & Tableau: Error while trying to run mongosqld I'm trying to connect Tableau to MongoDB using MongoDB BI Connector and this instruction (version 2.1 (current)): https://docs.mongodb.com/bi-connector/v2.1/installation/ but I get an error in step 5: mongosqld --schema=schema.drdl --mongo-uri=mongo...
{ "language": "en", "url": "https://stackoverflow.com/questions/44907923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What namespace does global variables belong to, if we don't declare a namespace name explicitly for it? Recently I am trying to be familiar with C++. And I am a little confused with the "Namespace" stuff. Here's a example code: #include <iostream> using namespace std; namespace foo { int value() { return 5; } } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/27664779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Tuple unpacking in R Python has the *(...) syntactic sugar. Can you do this in R? t = (2010, 10, 2, 11, 4, 0, 2, 41, 0) dt = datetime.datetime(*t[0:7]) From here: https://stackoverflow.com/a/2238361/1007926 This allows each element of the tuple to be assigned to an argument of, in this case, the datetime functio...
{ "language": "en", "url": "https://stackoverflow.com/questions/27199521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Most idiomatic way to write batchesOf size seq in F# I'm trying to learn F# by rewriting some C# algorithms I have into idiomatic F#. One of the first functions I'm trying to rewrite is a batchesOf where: [1..17] |> batchesOf 5 Which would split the sequence into batches with a max of five in each, i.e: [[1; 2; 3;...
{ "language": "en", "url": "https://stackoverflow.com/questions/7509863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: How can I add expansions to a bash argument I have this simple script to find a file on a folder, with "find" command in the shell works, but in the script doesn't. #!/bin/bash echo "" read -p "-Write file you need- " FILE read -p "-Write the folder to search- " FOLDER FILE="'*$FILE*'" find $FOLDER -name $FILE If...
{ "language": "en", "url": "https://stackoverflow.com/questions/72850656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Equivalent for 'event of VHDL on Verilog - Synthetizable I need an equivalent for 'event of VHDL using Verilog. This is an example to convert from VHDL to Verilog(Note: I need both posedge and negedge in the same porcess): process (CLK, I) begin if (I'event and I = 1) then //posedge x <= x + 1; elsif (I'event...
{ "language": "en", "url": "https://stackoverflow.com/questions/26598922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dictionary inside a list. Return the dictionary name I'm making my first project a tic tac toe game. I have the following: the_board = {'1 3': ' ' , '2 3': ' ' , '3 3': ' ' , '1 2': ' ' , '2 2': ' ' , '3 2': ' ' , '1 1': ' ' , '2 1': ' ' , '3 1': ' ' } wins = [[the_board['1 3'],the_b...
{ "language": "en", "url": "https://stackoverflow.com/questions/62745235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get metadata from Azure Data Lake store gen1 We would like to get the metadata out of the file system. Is there anything like fsImage which stores such a medata information? We used following command: curl -i -X GET -H 'Authorization: Bearer <REDACTED>' 'https://<yourstorename>.azuredatalakestore.net/webhdfs/v1/?op=...
{ "language": "en", "url": "https://stackoverflow.com/questions/54226146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .NET WCF RIA + Services; Can I have it all? What I'd like to have is "regular" WCF service calls responding on my root URL as well as the regular RIA stuff. Seems simple, but is turning out to be a bit of a pain. The RIA stuff works including ODATA JSON and SOAP, but the traditional web services doesn't want to run ...
{ "language": "en", "url": "https://stackoverflow.com/questions/8067999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: select data header join detail last doc_num header is promotion? I have two tables, named t_header and t_detail. this data header ID | doc_num | promotion 1 0001 0 2 0002 1 this data detail ID | doc_num | item | price 1 0001 2 100 2 0001 3 170 3 0001 4 102...
{ "language": "en", "url": "https://stackoverflow.com/questions/43087408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get Gps location(long,lat) and time in this Android application I need help form my android app. in this app,NOW, i take some data from a form end then i put it on a db. but i need to show and i need to put in to a db the current GPS Location and the Current Time Too.I already tried to use tutorial and see other pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/10114793", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using dlls written in C# in Java Project I'm working on a Java project and I'm not very familiar with using Java I usually use C# with aforge for my computer vision projects now I have to use Java and I want to use the aforge DLLs which are written in C# is there a way to do this ? Thank you A: It is possible, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/5618599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "11" }
Q: How to zoom in and zoom out terminal console in linux I am able to zoom in the Ubuntu Terminal by Pressing Ctrl - Shift and ++ . But I donot know how to zoom out the Ubuntu Terminal. Is there any short-cuts available for doing so? A: Try this following method: * *Zoom In : Ctrl+Shift++ *Zoom Out: Ctrl+- *Zoo...
{ "language": "en", "url": "https://stackoverflow.com/questions/54302941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "21" }
Q: Binding a callbacks to an expiring shared_ptr? I am familiar with std::shared_ptr and std::weak_ptr and know how they work. However, I would like the std::shared_ptr to emit a callback, like a boost signal. This would allow std::weak_ptr, who still refer to the deleted object, to be cleaned up right in time. Is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/30012967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to solve an authentication error on Belboon webservice in .NET? This is what i've tried in VB.NET, but i always get an authentication error ("Unauthorized (user= transaction=1)"): Dim s As com.belboon.api.BelboonHandler = New com.belboon.api.BelboonHandler s.Credentials = New System.Net.NetworkCredential(usernam...
{ "language": "en", "url": "https://stackoverflow.com/questions/53950788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSP convert string to object As the title said, I want to execute following code <% String res = "response.sendError ( HttpServletResponse.SC_UNAUTHORIZED,\"You don't have enough privileges\" );"; %> <%=res%> so when I execute this code I need to get http 401 Unauthorized error. Since it is in string format I get...
{ "language": "en", "url": "https://stackoverflow.com/questions/19227111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android UriMatcher doesn't match wildcards I have a ContentProvider and I need to match some URIs containing UUIDs as wildcards. UriMatcher from ContentProvider: public static final Uri CONTENT_URI_NOTIFICATIONS = Uri.parse("content://" + AUTHORITY + "/" + BASE_PATH_NOTIFICATIONS); public static final Uri CONTENT_UR...
{ "language": "en", "url": "https://stackoverflow.com/questions/30446481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't access file in Alias-directory via download-script i'm working on a download-script atm. The php-files are located in the xampp htdocs-directory, while the folder containing the files is located on an external HDD. I've already set up an Alias for the external drive: <Directory "h:/Filme"> Options Indexes Foll...
{ "language": "en", "url": "https://stackoverflow.com/questions/17903220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Export a string or an array to CSV I have a very simple array that I'd like to export to CSV: var uniqueCounties = ["555","123","345"]; I have tried using methods found online but I have been getting various errors, and all the methods online deal with nested arrays. My function at the moment is converting to a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/43123685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trying to multithread program. C++/CLI Hey i'm trying to multithread my program in c++/cli but i'm having problems with creating the threads the code im using is: private: Void startThread() { MoveProj.Velocity = Variables.Velocity; MoveProj.ProjectilePos = Projectile1.ProjectilePos; Thread^ MotionThread...
{ "language": "en", "url": "https://stackoverflow.com/questions/15949738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issue with cron job scheduling I am trying to schedule a job every 10 minute during PST hours. What I am trying is: 0,10 8-15 * * * /path-to-script But this thing is not working, any help is much appreciated.
{ "language": "en", "url": "https://stackoverflow.com/questions/32615084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Microsoft Azure - same login for windows app and web app I created two separate apps * *browser app (web app) For authentication I am using adal.js, and its working fine. *non browser app (console app) for authentication adal.net and its working fine. Problem: For both browser app and for non browser, I have t...
{ "language": "en", "url": "https://stackoverflow.com/questions/40420181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Overriding default SWIG name for static class functions I have several classes that I am using swig to wrap for an embedded Lua script. We have already defined what we want the function calls to look like. display.writeLine("Hello") The problem is that SWIG doesn't seem to have an option to define how it generates ...
{ "language": "en", "url": "https://stackoverflow.com/questions/18300339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Visual Studio 2012 I am Having some issues with Visual Studio 2012, When build my solution and run the debug it says MSVCP100D.dll is missing Screen dump: When i try to run my program using Release it compiles fine and runs but then it randomly runs into run time error: it then will not build any more underlini...
{ "language": "en", "url": "https://stackoverflow.com/questions/14944283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: copy multiple files and give prefix and keep originals how do i copy files in unix. i want to keep the originals and add a prefix to the originals. i have the following: file1.csv file2.csv file3.csv file4.csv ... fileX.csv what I will end up with after giving the command(with "H_" being the prefix in this example...
{ "language": "en", "url": "https://stackoverflow.com/questions/22213485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: I can't get magnific-popup animations to work I've been through the excellent documentation for this and it's great. http://dimsemenov.com/plugins/magnific-popup/documentation.html I have the basic pop up working fine. My problem is with the animations. I just can't get them to work. Apologies if I've missed someth...
{ "language": "en", "url": "https://stackoverflow.com/questions/17371848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "18" }
Q: How to fix an error with implementation socket.io in Chrome Extension? I want to use socket.io in its extension, but when I import the library, it throws the error "Uncaught ReferenceError: document is not defined". I realized that this socket.io does document and window checks, however, in the background.js I can't...
{ "language": "en", "url": "https://stackoverflow.com/questions/69492090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: comparing Gregorian calendar date values I am trying to set up part of a program that allows a person to view transactions of an account based on the date of the transaction. The user enters the month day and year to view transactions and that is compared to the date that is connected to a given transaction. I am ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/6247543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wildfly 10 : log which cipher is used for https Before removing/restricting ciphers enabled on https-listener, I would like to identify which cipher is used by clients. How could I make a log file of that ? Thank you
{ "language": "en", "url": "https://stackoverflow.com/questions/59984288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recaptcha Solving With Python In Selenium Chrome Session (2Captcha) I want to resolve ReCaptcha on websites via Python with the Selenium module. My question is: How can I send a 2Captcha request from within the Selenium Chrome Browser, that resolves the ReCaptcha and validates the successful outcome within the selen...
{ "language": "en", "url": "https://stackoverflow.com/questions/51281805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: html FileReader : convert blob to image file? client side code <head> <script> var reader = new FileReader(); var objVal; var image = new Image(); reader.onload = function(e) { document.getElementById('propertyImg').setAttribute('src', e.target.result); }; function readURL(input){ if(input.files && in...
{ "language": "en", "url": "https://stackoverflow.com/questions/13023231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular *ngIf Condition with OR in component html I am trying to get an *ngIf with an OR but the second option is ignored. Here is the code: <div *ngIf="router.url != '/one' || router.url != '/two'"> show something </div> How can I get this to work? A: Using router.url != '/one' || router.url != '/two' means: If...
{ "language": "en", "url": "https://stackoverflow.com/questions/54689201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: PostgresQL grouping columns with aggregate I currently have a table with the following columns: asset, asset_alt, price, price_alt, time Trying to view the combined values to ideally return something like this: asset, price, time Wherein the asset and asset_alt values would be combined into one column (asset) and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/70588689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel and Angular. Issue with query results from Laravel when I search using Postman and Chrome I'm using Angular 4 and Laravel 5.4. When I'm using Postman and querying the next route: http://ventas.dev./api/ubigeo, it return two records because I have the next code: $tot = Ubigeo::where('dist', 'like', '%'. $requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/45045195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IntelliJ gets stuck on "Copying resources" Had a problem trying to debug a Java application that I had using IntelliJ IDEA 13. When attempting debugging, it would get stuck in the make process, displaying "Copying resources" indefinitely. A: For some reason, it got stuck because I had manually created two named p...
{ "language": "en", "url": "https://stackoverflow.com/questions/25872895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: Availability of SSO in Outlook addin The Identity API requirement sets lists that the SSO is still in preview for Office addin. Any tentative dates when SSO will be available for Outlook-addin ? A: SSO is currently available in the Preview API Requirement Set for Outlook Add-ins. A: It is available in Outlook add-...
{ "language": "en", "url": "https://stackoverflow.com/questions/53294366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My Java program compiles without any errors, but will not fully run Here is the error that I am receiving. thread "main" java.util.InputMismatchException at java.util.Scanner.throwFor(Scanner.java:864) at java.util.Scanner.next(Scanner.java:1485) at java.util.Scanner.nextDouble(Scanner.java:2413) Here is the code t...
{ "language": "en", "url": "https://stackoverflow.com/questions/29452874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Looking for a safe, portable password-storage method I'm working on C++ project that is supposed to run on both Win32 and Linux, the software is to be deployed to small computers, usually working in remote locations - each machine likely to contain it's own users/service-men pool. Recently, our client has requested ...
{ "language": "en", "url": "https://stackoverflow.com/questions/2599990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Cypress installation on a 32-bit server For some reason, I have to install Cypress (version: 7.2.0) on a 32-bit machine. I notice that only 64-bit is supported on Linux: https://docs.cypress.io/guides/getting-started/installing-cypress#System-requirements But, a 32-bit release is available for Windows. So I guess it...
{ "language": "en", "url": "https://stackoverflow.com/questions/67745076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Running multiple functions at the same time? This must be a question asked a lot, and yet I couldn't quite find what I'm looking for. Imagine this: * *A program starts up "Hello, what's your name?" *You enter a number and it goes "Your name can't be a number!" You keep entering a number and keep getting that e...
{ "language": "en", "url": "https://stackoverflow.com/questions/16508018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Spring: Exception when trying to start server When I run the Application.java file I get this exception java.lang.SecurityException: class "javax.servlet.MultipartConfigElement"'s signer information does not match signer information of other classes in the same package I'm using eclipse with gradle Application.Java...
{ "language": "en", "url": "https://stackoverflow.com/questions/26624481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Open documents(pdf,doc,docx,txt) in browser page using php (without using google docs viewer) My question is that i want to open documents(pdf,doc,docx,txt) in browser page using php (without using google docs viewer) can any one help me? A: Some of these are doable. Some, not so much. Let's tackle the low-hangi...
{ "language": "en", "url": "https://stackoverflow.com/questions/5280649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to process an array of task asynchronously with swift combine I have a publisher which takes a network call and returns an array of IDs. I now need to call another network call for each ID to get all my data. And I want the final publisher to have the resulting object. First network result: "user": { "id": 0,...
{ "language": "en", "url": "https://stackoverflow.com/questions/58675046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Use binding file to set the package on a namespace? I'm working on two large 3rd party schemas, one includes the other and generates a large number of type name collisions. If I could set the package on a namespace this problem would go away. I hoped something like <jaxb:bindings namespace="http://www.openapplicatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/22671356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does Kafka broker server take into account updates to it's configuration file? Does Kafka broker server take into account updates to it's configuration file? Its cumbersome having to restart all the servers in the cluster simply to update a configuration. A: No, it's currently not possible to do dynamic configurati...
{ "language": "en", "url": "https://stackoverflow.com/questions/34649156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: In what circumstances is uri passed to Android's ContentObserver.onChange() callback? The onChange() method of Android's ContentObserver class says, "Includes the changed content Uri when available." In what circumstances is the URI available? In what circumstances is it not available? The uri parameter was added in...
{ "language": "en", "url": "https://stackoverflow.com/questions/18991761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Swift tableView with 3 Prototype Cells and auto-height I have a concept which I want to realize in Xcode. Its a default TableViewController with 3 Prototype cells. Cell 1 = name (Prototype Pages) Cell 2 = seperator (Prototype Seperator) Cell 3 = only ImageView (Prototype Seperator-with-only-image) Cell 1 and cell...
{ "language": "en", "url": "https://stackoverflow.com/questions/38075260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storing Multiple Changes in Entity Framework I'm trying to achieve a form of two phase commit using Entity Framework 1.0. What I would like to achieve at a high level is: * *get all the data from the database and store this in a cache. *modify individual entities *Commit all changes into the database The p...
{ "language": "en", "url": "https://stackoverflow.com/questions/916144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to unit test HttpClient GetAsync I have the following in my controller: public async Task<IActionResult> IndexAsync() { string baseUrl = "https://apilink.com"; using (HttpClient client = new HttpClient()) using (HttpResponseMessage response = await client.GetAsync(baseUrl)) using (HttpConten...
{ "language": "en", "url": "https://stackoverflow.com/questions/66828772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't Print the RDLC report when I deploy onto another computer? When i run this on VS it works fine but when i run it on another computer it cant find the RDLC path. private void button1_Click(object sender, EventArgs e) { LocalReport localReport = new LocalReport(); ReportParameterCollection ...
{ "language": "en", "url": "https://stackoverflow.com/questions/71382327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: upload_err_partial error when uploading files of size greater than 3GB I want to upload upto 10GB files using a normal php form. But even after increasing the below values, upload_max_filesize post_max_size php_value upload_max_filesize php_value post_max_size request_terminate_timeout FcgidMaxRequestLen am able to...
{ "language": "en", "url": "https://stackoverflow.com/questions/27921389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to calculate averages for a 3D matrix for the same day of data over multiple years in Matlab? I am interested in calculating GPH anomalies in Matlab. I have a 3D matrix of lat, lon, and data. Where the data (3rd dimension) is a daily GPH value spaced in one-day increments for 32 years (from Jan. 1st 1979 to Jan....
{ "language": "en", "url": "https://stackoverflow.com/questions/47076159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PHP+Ubuntu Send email using gmail form localhost I have searched several posts on this but no luck. Everyone is using postfix. But when I gone through the text on https://help.ubuntu.com/community/Postfix What is a Mail Transfer Agent In other words, it's a mail server not a mail client like Thunderbird, Evolu...
{ "language": "en", "url": "https://stackoverflow.com/questions/33969783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Filters with dynamic fields in elasticsearch I am switching a very old version of ElasticSearch to version 6.5. ... "text_mined_entities": { "nlp": { "abbreviations": [], "chunks": [], "recurring_chunks": [], "tagged_entities_grouped": {...
{ "language": "en", "url": "https://stackoverflow.com/questions/53462890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Make the animation faster when there are thousands of components I am trying to hide a JSplitPane with animation. By hide, I mean to setDividerLocation(0) so its left component is invisible (technically it is visible, but with zero width): public class SplitPaneTest { public static void main(String[] args) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/63158480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Django REST Framework: nested serializers and deserializing I'm again stuck with Django REST Framework and its serializers. Basically, what I want to be able to do is stick the following incoming data into a serializers.Serializer instance: data = { "thing_id": 715, "sub_things": [ { "id"...
{ "language": "en", "url": "https://stackoverflow.com/questions/42656608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading values from a text file to a linked list (no array of structs) to use for a stack; advice? I have a question. I am trying to read integer values from a file into a linked list, which will then be used for push and pop functions. I've done my push and pop functions, but I am trying to figure out if I have don...
{ "language": "en", "url": "https://stackoverflow.com/questions/58350646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why ARM Process IPI at the end of ISR I am studying IRQ handling on Linux. I have a question, why we need to handle IPI at the end of each ISR[for SMP]. Is there something special with IPI? why not we process in do_asm_IRQ with other interrupts. Any suggestion would be appreciated. 6 .macro arch_irq_handl...
{ "language": "en", "url": "https://stackoverflow.com/questions/13658676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to generate a random binary matrix where only one bit in each row has value 1? I want to use MATLAB to generate a random binary matrix A (n x m) which satisfies a condition: Each row contains one position with value 1. Other positions are value 0. The position having 1 value is random position. I tried this code...
{ "language": "en", "url": "https://stackoverflow.com/questions/39178569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Decode a string - Quote marks issue I am supposed to decode the string below in a script I have made (it is a task from a webpage). In order to ensure that the decoded word will be correct, I can not change the string in any way. Since the quote marks affects the string, parts like q90:;AI is not a string, which res...
{ "language": "en", "url": "https://stackoverflow.com/questions/29374262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Foregin key constraint error but shouldn't be occuring I have a list table with 5 entries in it, the first column in the identity column (PK), within a parent table is a column that is related to this list table by ID (FK). I am using C# in a web app to run an ExecuteScalar with a stored procedure to insert the item...
{ "language": "en", "url": "https://stackoverflow.com/questions/4036077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Color TdCalendarView rows I am using TdCalendarView code by Tinyfool in my project in which all calendar is designed using core graphics.I want to color rows of this calendar with two alternate colors.How can I do that? A: You need to change the stroke fill color here for either even value of i in for loop or odd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/6353951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Istio 1.4.3 to 1.5.6 upgrade using istioctl and Istio operator Can I make an existing Istio open source installable compatible with the (Istioctl + Operator) ? I currently have Istio 1.4.3 installed via istioctl .. and need to make existing deployment Istio operator aware as well before I upgrade to Istio 1.5.6+ . A...
{ "language": "en", "url": "https://stackoverflow.com/questions/64102230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Mac: Installing app from Internet has an exception I want to install Firefox in my MacBook, downloaded from Internet. After a series of clicking, I can use it with an exception. It is not in the LaunchPad. Looks like it is installed on an other disk. Here is image: How to fix it? A: Drag it to the Applications fol...
{ "language": "en", "url": "https://stackoverflow.com/questions/52240660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS dynamodb with Ruby SDK I have tables in dynamodb. I am new to 'AWS'.now my site is getting very slow. I couldn't find the solution. I suspect DynamoDB. So I need to know some details about DynamoDB. What is Read and write capacity, latency, CPU utilization? How to handle these all? to get DB gets fast? A: When ...
{ "language": "en", "url": "https://stackoverflow.com/questions/29314850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a more straightforward way to search for a string while ignoring spaces? I am working on a function that searches a searches a string for one of a list of given words. The string being searched is generated by OCR software, that occasionally adds extra spaces between letters (depending on the font) which I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/25491296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: deployment of persistence unit failed issue wHEN I AM DEPLOYING MY CRUDWEB web application it is throwing like below: SEVERE: Exception while deploying the app [CRUBWEB] : Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupEx...
{ "language": "en", "url": "https://stackoverflow.com/questions/34239777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails AASM does not rollback when validation returns false I have a model Booking that changes the status using AASM models/booking.rb before_validation :item_availability, if: -> { pending? || approved? } enum status: [:pending, :approved, :rejected, :on_loan, :returned] aasm column: :status, enum: true, whiny_tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/53367524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IClassFactory failed due to the following error: 800a0153 I'm trying to reference a com component and it is throwing the below error. Creating an instance of the COM component with CLSID {xxx} from the IClassFactory failed due to the following error: 800a0153. Specifically the error gets thrown when I try to instant...
{ "language": "en", "url": "https://stackoverflow.com/questions/5033774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Why MySQL InnoDB can handle concurrent updates and PostgreSQL can't? Let's imagine you have a table with this definition: CREATE TABLE public.positions ( id serial, latitude numeric(18,12), longitude numeric(18,12), updated_at timestamp without time zone ) And you have 50,000 rows in such table. now for...
{ "language": "en", "url": "https://stackoverflow.com/questions/39940825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Correct usage of $.ajaxComplete and $.ajaxError? I've been using the following snippet on my ajax form submits: $.ajax({ url: "", data: ilmoittautumisdata, type: "POST", success:function(){ }); error:function(){ }); }); However, I remember that I was told to stop using success and error within it, as they're depr...
{ "language": "en", "url": "https://stackoverflow.com/questions/12881072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Can c#/Razor work with DyGraph WITHOUT Javascript? In this question: Previous DyGraph question There is still the need to go to JavaScript to call DyGraph: <script type="text/javascript"> g = new Dygraph(document.getElementById("readingGraph"), @data,{ labels: ["Sample Number", "Reading"] }); </script> Is there any...
{ "language": "en", "url": "https://stackoverflow.com/questions/60547921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: localStorage.getItem retrieves 'null' I'm trying to get a counter for the number of times a button is pressed but when I try to retrieve it outside the function, it results in 'null' instead. HTML: <button class="signupbutton" onclick="counter()"> Yes I'm in!</button> <div id="counter"> <p>Number of people that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/51697301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can we create a custom wrapper for mock annotation of jmockit? Can we create a custom wrapper for mock annotation or MockUp class of jmockit ? If its possible can you explain how can we done it. A: You can create a "custom wrapper" for JMockit's @Tested annotation (ie, use it as a meta-annotation), but not for any ...
{ "language": "en", "url": "https://stackoverflow.com/questions/44259252", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sync Azure AD users to SQL Server on vm or Sql Database Users Table How can we synchronize Azure AD users with a user table in the database? A: To Sync Azure AD users to SQL make sure each property stored in the data source maps properly to an AD user's attribute. This article by Adam Bertram has code and whole pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/69388643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you serve a static website using Google Cloud CDN, Google Cloud Storage, and a custom domain? I'd like to set up a static website with files stored in a Google Storage bucket. I already own a custom domain and have, at a minimum, some barebone files to see if the site is setup successfully. Ideally, I'd like...
{ "language": "en", "url": "https://stackoverflow.com/questions/56160391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Controling the look and feel of JButtons on Mac For my assignment I need a 2 dimensional array of JButtons in a grid JPanel in a JFrame. The JButtons must change color when clicked. I cannot get them to hold any color. I implemented the solutions proposed in a previous thread and found that the work around only pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/8221976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Getting the icon for an audio device In the Sound Control Panel in Windows, and in the Volume Mixer, all audio devices have a specific icon set. Is it possible to get which icon is set for a device through the Windows API? Sound Control Panel Volume Mixer A: As suggested by Simon Mourier in the comments above, ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/59811716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to display graph from database values using php? I want to create graph using php. I have tested jpgraph example. But it display error like > The image “http://localhost/test/jpgraphtest.php” cannot be displayed > because it contains errors. <?php include('phpgraphlib.php'); $graph = new PHPGraphLib(500,350); $...
{ "language": "en", "url": "https://stackoverflow.com/questions/16392270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Prevent spring boot resolving properties to scientific notation I have a Spring Boot v2.1.0.RELEASE application with the following application.yml properties file: example: aws: account: 845216416540 sqs: endpoint: https://sqs.us-west-2.amazonaws.com/${example.aws.account} Then I use the property like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/56549903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: How to fixed header with in table? Hi all I want to fix (or) freezthead header on top and want to scroll tbody values only in table, as of now in table while scroll the page everything gets scrolled, but expecting to scroll only the tbody values ... My Demo HTML <tr ng-repeat="sryarnorder in sryarnorder.colorshades"...
{ "language": "en", "url": "https://stackoverflow.com/questions/44282116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }