Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12111 articles
Browse latest View live

Any utility to test expand C/C++ #define macros?

It seems I often spend way too much time trying to get a #define macro to do exactly what i want. I'll post my current dilemma below and any help is appreciated. But really the bigger question is...

View Article


How to make System.out.println() shorter

Please advice on where can I find the lib in order to use the shorter expression of System.out.println() and where should I place that lib.

View Article


DELETE request to Modeshape rest server

I'm using Modeshape rest server. Modeshape's version is 2.8.2.When I send GET request to some node like http://localhost:8080/modeshape-server/repo/workspace1/items/file it returns information about...

View Article

System.ServiceModel.CommunicationException: The underlying connection was closed

I am retrieving data from a wcf web service and when data is more than 0.2 million records i get an exception which is as under:System.ServiceModel.CommunicationException: The underlying connection was...

View Article

The type java.lang.Enum cannot be resolved - Getting error after importing...

I am getting the following error after importing Java project (Non Maven) in Eclipse:The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class filesI have couple of...

View Article


How to return data from promise [duplicate]

I need to get the response.data out of the promise so it can be returned by the enclosing function. I know, I probably can't do it the way I've coded it because of normal JavaScript scope. Is there any...

View Article

Image may be NSFW.
Clik here to view.

API is showing [object, Object] instead of just the fact text

I am creating a random cat fact app that generates a cat fact when you click on the image. I am trying to grab the random cat fact from the API https://catfact.ninja/fact but when I do it shows up in...

View Article

Image may be NSFW.
Clik here to view.

How to select specific DIV in web API response (html)

I have an API that can pass a search query to a web site that I use to lookup products. I use the catalog number to obtain the device identifier. The response that is returned is HTML, and I need to...

View Article


Can StateFlow have multiple collectors? Unable to understand the difference...

Created below MutableStateFlow for understanding how collecting works using StateFlow. Is the below code valid? How we can right correctly?val _mutableStateFlow = MutableStateFlow(0)val stateFlow:...

View Article


Excel crash when looping over large range to update cells using a function call

I have a loop to update cells using a visual studio dll. This works, but excel crashes when I loop over larger (200 cell) ranges. The dll function is evaluated after looking up two parameters for each...

View Article

Though the 'java' plugin has been installed, the Android plugins are...

Please I have struggling with this error and yet I am not getting any solutionFAILURE: Build completed with 2 failures.1: Task failed with an exception.Where:Build file...

View Article

Issue related to memory script [closed]

I am trying to fetch Memory Details by executing below shells script however it is failing due to some error. Pfb error. Kindly check and help to fix the script.Getting below error after running the...

View Article

Is there a way to include JUnit 5 Tags in the resulting html reports

I have a medium-sized test suite which contains various tests with various tags. For example:TestClassOne (Tags: unit, api)TestClassTwo (Tags: integration, api)etc.I looked into the produced HTML...

View Article


Failed building wheel for ltfatpy

I tried to install ltfatpy but this problem occurred:error: subprocess-exited-with-error× python setup.py bdist_wheel did not run successfully.│ exit code: 255╰─> See above for output. note: This...

View Article

Image may be NSFW.
Clik here to view.

Business Card codelab layout

I am on this part of the android dev...

View Article


how to I get SQL syntax error selecting from Mysql? [duplicate]

Basically i want to select rows base of specific row values specific row id how to get $query_post1 this try not get errorYou have an error in your SQL syntax; check the manual that corresponds to your...

View Article

Expression templates cppcon 2019

I am looking at Bowie Owens' cppcon 2019 talk -- the can be found slides here. I came accross this talk as I was interested in introducing expression templates for a in-house numerical matrix-vector...

View Article


LINQ fails to translate an SqlFunctions method

I have a problem with my C# app. I am trying to fetch an item from the SQL Server database, in the database I can use the following query:SELECT *FROM [table]WHERE [field] IS NOT NULL AND [field] != ''...

View Article

vuetify 3: text (left-) and button (right) justification within a vuetify

Using Vue3/Vuetify3 I am attempting to display a list of words, alongside each word a button. The text (word) should be justified left in the row, and the button should be justified right.The simple...

View Article

How to work with dates in dictionaries, if I want to compare and remove them?

I would like to write a small program that has a database of coupons and their expiration dates. I chose to store them in a dictionary format, where the key is the name of an item and the value is the...

View Article
Browsing all 12111 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>