Recent Questions - Stack Overflow |
- Execution strategy 'SqlServerRetryingExecutionStrategy' does not support user-initiated transactions
- How can we make use of apple m1 neural engine as a programmer
- Guna.UI app not opening, even the dll's merged
- JavaFX, using button to display information within a .txt file in a text field
- Duplicate rows in Python Pygame Tetris clone
- Communicating between threads
- for loop does not work when using crontab in Apple M1
- Unable to compile the project listed in https://github.com/technologiestiftung/giessdenkiez-de
- GroupBy by a condition and create different anonymous model per group EF6
- How to make a body background image reponsive with bootstrap 4
- What is the underlying technology in RPA that enables features/capabilities like the recorder, executing functions, etc
- PC Detects Pendrive but hidden and unableto use
- C# how do I tell when all threads or tasks have completed
- How can I infer types for recursive functions?
- Inconsistent SSL Certificates // Linux Server
- How to use firebase in normal java? [duplicate]
- Can't download previous version of JDK from Oracle [closed]
- Logical AND operation with integers in C#
- $exception Unable to evaluate the expression. Operation not supported. Unknown error: 0x80040914
- How long is validity of app signing key when I 'Let Google create and manage my app signing key'?
- What purpose is libSDL2main.a for?
- Why is this a* algorithm is slower than Djikstra's?
- NestJS - Avoid returning user's password
- odr-use of `static const int` data member succeeds WITHOUT definition in call taking `const int &`
- How to format SQL subquery to produce new and old data
- Cypress: Getting the text from an input field returns object values instead of text value
- Asynchronous mail receiving with Spring Boot and Spring integration
- How to append values to the PATH environment variable in NodeJS?
- Android - Get current position from recyclerview with listener when position changed
- How do I run a terminal inside of Vim?
Execution strategy 'SqlServerRetryingExecutionStrategy' does not support user-initiated transactions Posted: 25 Apr 2021 07:39 AM PDT I have a .net 5 (core) web MVC application, working with Entity Framework EF5 (also core). We implement web components, like Grid or Spredsheet (we work with Telerik). When I do some changes in the component, and then try to save the changes, the component calls my
Here is my StartupSetup class: That error does not happen systematically. For sure when I try to save to DB multiple elements. But also when only one element. Does not happen when I edit or same an element one by one, in a classic form, only when it happens in multiple objects scenario (grid or spreadsheet) |
How can we make use of apple m1 neural engine as a programmer Posted: 25 Apr 2021 07:39 AM PDT I did lots of research on this subject but didn't find anything valuable for a python programmer. How can I use M1 neural engine efficiency for my models using python, C++, javascript whatever it is but swift? Is there a beginner-friendly roadmap to doing this without using external libraries? |
Guna.UI app not opening, even the dll's merged Posted: 25 Apr 2021 07:39 AM PDT I'm creating a cleaning application, you know, system maintenance in general. Anyway, my project is finished. I wanted to compress dlls. I used ILMerge and costura.fody for this. The result was successful, but the program did not open even though I squeezed/merged the DLLs into exe. I tried on other dll's (like a metro framework etc.) there was no error. I realized that the trouble was with the Guna.UI dll. How can I fix this error? (Sorry for my bad english :() |
JavaFX, using button to display information within a .txt file in a text field Posted: 25 Apr 2021 07:39 AM PDT I need to accomplish this: A "Read File" button that when pressed will open and read the file ("FileName.txt") and initialize the different expense or payment objects. You will need to read separately from "expenses.txt" and "payments.txt". I haven't been able to figure out a code that allows me to open a .txt file and display it in a text field. Everything I've tried just show the last word in the text file or just shows up as an error. If you were to fun the code I have now it would show the GUI, but none of the buttons really work at the moment. I read the "Read File" button to open a .txt file that is already made if possible. |
Duplicate rows in Python Pygame Tetris clone Posted: 25 Apr 2021 07:39 AM PDT I've been looking at this problem for awhile now and have draw a blank so would appreciate some help. I'm making a simple Tetris clone using Python and Pygame. The problem is that the process of detecting completed rows sometimes adds a cloned row to the new GRID so anything effecting the original also effects the cloned row too. here is the code for removing completed rows: Thank you for your time :) |
Posted: 25 Apr 2021 07:39 AM PDT I'm trying to build a multithreaded app but, how would I implement this? Thread 1 (Input Thread): Reads a message from the user The problem is, send/recv is blocking. Can I just communicate between threads to make thread1 ask thread2 to send a message? |
for loop does not work when using crontab in Apple M1 Posted: 25 Apr 2021 07:38 AM PDT Just a simple shell script: When it runs in terminal, the output is like: Everything is ok, but when I test it via crontab, the output is:
the |
Unable to compile the project listed in https://github.com/technologiestiftung/giessdenkiez-de Posted: 25 Apr 2021 07:38 AM PDT I am trying to compile the project listed under GitHub on my local machine. I have a basic knowledge in Python and struggling to start the compilation. Can someone please help me to write the command to start the project. I am trying the run npm start but it is complaining me to setup BUILD_TARGET and NODE_ENV which I set like It is giving me the error Can you please tell me what I am missing? I have windows machine with npm version 6.14.12 and Pyhon version 3.9.3 |
GroupBy by a condition and create different anonymous model per group EF6 Posted: 25 Apr 2021 07:38 AM PDT I am using EF6 + sql server. I want to make a query to one of my tables and to map the result by a condition into 2 groups. In each group the results should be fetched as a different kind of model. The idea here is that there are lots of fields I need in 1 case but not in the other one, and I, of course, prefer to get all the data in 1 trip to the db. So I am trying to do something like: When I am trying to do it I receive "Cannot convert lambda expression to type 'IEqualityComparer because it is not a delegate type' compiler error. Is it possible to make this kind of query? |
How to make a body background image reponsive with bootstrap 4 Posted: 25 Apr 2021 07:38 AM PDT I have an image on body tag that needs to be made responsive with bootstrap 4 How can this be done? I am setting the body tag with background image property |
Posted: 25 Apr 2021 07:38 AM PDT Let me start by apologizing if this is not the appropriate place for my question. I am working on a project where I am trying to highlight the capabilities of RPA. Rather than just on the surface use cases and how RPA can revolutionize automation I am trying to understand the underlying technology that RPA is built from. (I have zero coding or computer science experience) I have identified the following key features that enable RPA to be a true innovation and not just screen scraping.
What I am hoping to understand is how ".Net" or "VB" enables this scrapping functionality and why RPA companies decide to develop their tools in ".Net" vs another langauge. Im also trying to understand how the recorder works. It seems like it needs to be object orient to record a workflow however I don't understand what technology allows the recorder function to exist. I am also trying to understand what technology allows for unattended robots. What tech creates the ability to tigger the workflow. Lastely in regards to the market place it seems like UiPath is using "NuGet". Why would this be the right approach? I understand this is a bit of an odd request. I am just trying to learn as much as possible. I am also open to a call if anyone is open to it. Thank you in advance. Ryan |
PC Detects Pendrive but hidden and unableto use Posted: 25 Apr 2021 07:37 AM PDT Just bought a pendrive and used it as a bootable windows 10 drive and then it went hidden and when i try to format it says pls. insert median into disk even tried ChipBanks UMPTools but the process wont start.Pls helpChipBank UmpTool Unable to start |
C# how do I tell when all threads or tasks have completed Posted: 25 Apr 2021 07:37 AM PDT This app processes image files that meet certain criteria, namely that the resolution is larger than 1600X1600. There can be upwards of 8000 files in a source directory tree but not all of them meet the resolution criteria. The tree can be 4 or 5 levels deep, at least. I've "tasked" the actual conversion process. However, I can't tell when the last task has finished. I really don't want to create a task array because it would contains thousands of files that don't meet the resolution criteria. And it seems a waste to open the image file, check the resolution, add or not to the task array, and then reopen it again when it's time to process the file. Here's the code. |
How can I infer types for recursive functions? Posted: 25 Apr 2021 07:37 AM PDT I try to implement language with type inference based on Hindley-Milner algorithm. But I don`t know how to infer types for recursive functions: Here I must generate and solve constraints for Here in How can I infer this types? |
Inconsistent SSL Certificates // Linux Server Posted: 25 Apr 2021 07:37 AM PDT I'm running a linux Ubuntu 20.x server for my site www.mbaglue.com certbot certificate shows the following: However, chrome and digicert.com/help
I'm not sure what's going on. Can someone shed some light |
How to use firebase in normal java? [duplicate] Posted: 25 Apr 2021 07:39 AM PDT I'm creating a mod for minecraft which needs a database. But I can't find a way to use firebase with normal java, not android. how can I do it? |
Can't download previous version of JDK from Oracle [closed] Posted: 25 Apr 2021 07:37 AM PDT I am gonna learn java 8. BUT I can't download it. Because Oracle web is saying I have to log in before it. But I have no account. So I have to create one. But they are saying I have to tell my jobs ... I am 14. I have no jobs or what!!! What to DO now!!!! |
Logical AND operation with integers in C# Posted: 25 Apr 2021 07:37 AM PDT When I do the following logical AND operation with numbers in C# I'm getting the following results: but when I do 8 & -8 =8 Can someone please explain how we are getting the result as 8? |
$exception Unable to evaluate the expression. Operation not supported. Unknown error: 0x80040914 Posted: 25 Apr 2021 07:37 AM PDT Here's my code and the error is with cmd. Please help. whats wrong with the code? |
How long is validity of app signing key when I 'Let Google create and manage my app signing key'? Posted: 25 Apr 2021 07:38 AM PDT When we create an app signing key for Android app, we set Validity (years) which should be valid for at least 25 years. For example, I can set it for 100 years. But past few years, we were introduced Play App Signing. If I create just the upload key (and not create the app signing key by myself), Google creates and manages the app signing key. Then, I wonder how long validity of app signing key created by Google is? I want it at least for 100 years. Isn't it for 25 years? What will Google do when app signing key expires? |
What purpose is libSDL2main.a for? Posted: 25 Apr 2021 07:38 AM PDT Some sources say to have |
Why is this a* algorithm is slower than Djikstra's? Posted: 25 Apr 2021 07:39 AM PDT I need to show how a* is quicker than Djikstra's using the graph below. I wrote the a* search function and then called it using a set of heuristics and then with all heuristics set to 0 (which is equivalent to Djikstra's). While the actual search with a* is more efficient, five steps to Djikstras seven, the recorded time it takes it to run is always higher, even averaged across numerous runs. The a* run with actual heuristic values is doing less so shouldnt it be faster? (Maybe my code is wonky?) Edit: Used the timeit function as suggested in the comments which returned the expected results, updated the code to reflect that |
NestJS - Avoid returning user's password Posted: 25 Apr 2021 07:38 AM PDT I have a little problem with my project using GraphQL and Mongoose (code-first approach). I have a findCurrentUser query in my user's resolver that returns the information about the currently authenticated user, but I don't want to return the user's password, how I can avoid this? User's Resolver: User's Service: User's Entity: In the documentation, the NestJS team mentions "Serialization, " but I already tried and didn't work. I get the following error on my GraphQL Playground:
|
odr-use of `static const int` data member succeeds WITHOUT definition in call taking `const int &` Posted: 25 Apr 2021 07:39 AM PDT This is a frustratingly difficult question to ask. I'm asking you to guess what code or conditions in my build system might allow the following to build and run correctly, when the obvious expectation is that it should result in a linker undefined reference error. (Dev is g++ 9.xx, -std=c++17. CI builds are g++ 4.6.x.) Code similar to the above builds without error, against expectations, in our development environment. It had also built in the past without issue in our Jenkins CI environment, most recently 3 years ago. The reason to ask is that it now no longer builds in CI, but continues to build fine in dev. That it now fails to build in CI brings it to our attention. My expectation is What mechanisms could allow this white magic? Compiler flags? versions? Other helper function signatures? Thanks. |
How to format SQL subquery to produce new and old data Posted: 25 Apr 2021 07:38 AM PDT I have a database where I am trying to figure out this problem. I want to write a SQL query to list all patients whose information has changed during their future visits. A future visit is defined as dbo.patientvisit.encounter_id < dbo.visitvitalstat.encounter_id The outputs I want in the table are the columns patient number, old and new race values, old and new gender values, and both encounter ids from the both tables. The new race and gender values are from future visits. This is the code I have so far but I can't figure out how to get the new gender and new race values. This is the result I should get back: So I was able to write a query but I feel like it is still off, I'm not sure how to get patient number into all of this. |
Cypress: Getting the text from an input field returns object values instead of text value Posted: 25 Apr 2021 07:37 AM PDT I'm having problems doing the simplest of the simple things: Verify a value in an field. The markup: Cypress: or returns and returns I'm guessing the problem is the object in the field, since the data it returns consists of a long list of object values from the object "behind" the frontend. But the value I'm checking for - "123" - IS the visible text in the field. How do I get it when the above doesn't work? |
Asynchronous mail receiving with Spring Boot and Spring integration Posted: 25 Apr 2021 07:37 AM PDT I'm trying to receive emails from gmail server and then process them somehow. So every time when new email arrives to the mail server, my application should download it and process it, it means call other services asynchronously which will be registered as listeners. I'm quite new in spring integration and I don't fully understand how does it work or if it is correct. 1) So far, I have this code -- I'm able to read all emails but I'm not sure if they are processed asynchronously or not or if it is a correct way? ListeningExample class MailRecieverService class Main class 2) Is there also a possibility in spring boot to move/delete emails, create folders, and do other actions with an email account or do I have to use |
How to append values to the PATH environment variable in NodeJS? Posted: 25 Apr 2021 07:38 AM PDT Following the answer suggested in the question - Is it possible to permanently set environment variables? I was able to set new environment variables permanently with the command - But now my goal is to append new values to the PATH environment variable. Is it possible? |
Android - Get current position from recyclerview with listener when position changed Posted: 25 Apr 2021 07:39 AM PDT I'm working with recyclerview with snaphelper. this is my recyclerview: when user scroll to another cell i need to do something with the new cell position. this is what i do to get the position: the problem is the firstVisible var not always give me the right position for example when i scroll from position 0 to 9 this can be the output: 0,1,2,3,4,4,5,9 there is another way to get the right current position? what are the best practices for that? |
How do I run a terminal inside of Vim? Posted: 25 Apr 2021 07:39 AM PDT I am used to Emacs, but I am trying out Vim to see which one I like better. One thing that I like about Emacs is the ability to run a terminal inside Emacs. Is this possible inside of Vim? I know that you can execute commands from Vim, but I would like to be able to run a terminal inside of a tab. |
You are subscribed to email updates from Recent Questions - Stack Overflow. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment