text
string
meta
dict
Q: How to save a ShuffleDataset object? I created a dataset by using from_generator function from tf.data.dataset API. Then I shuffle my dataset and divide it into batches of size 10. So the pipeline looks like dataset = dataset.shuffle(buffer_size=1000).batch(batch_size=10) (For illustration) when I print the first ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IFCjs. How can I transform or delete an element within web-ifc-three? I have implemented a viewer using web-ifc-three package. My use-case: * *Translate and/or rotate some elements. Mostly furniture elements. *Remove some elements. *Export to GLTF The workflow I have in my mind: * *Create a subset with the el...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to make a dearpygui window borderless? When I run the pygui window, its inside of another window.. how do I make it borderless? Nothing because I don't know what to do.
{ "language": "en", "url": "https://stackoverflow.com/questions/75613844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to find a data from array and set this data in first index of array Here is my data "Post_Comment": [ { "comment": "nice", "user": { "username": "sahed" } }, { "comment": "best", "user": { "username": "motalib" } }, { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: PHP Executables VSCode (Devsense Extension) Doesn't Work When Using Docker I have Devsense PHP Extension in Vscode and my project is inside the docker container. I have service named "app" inside my docker compose but specifying php executables like this, doesn't work: "php.executables": { "my/sail-php8.2": "./d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: button element should have the same height as the input field In my example i have a wrapper div which has position: relative The input field has a width of 100% and the button was placed on the right end of the input field. For this i used position: absolute The button should have the same height as the input. Why ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to deploy NUXT3 on Plesk using Phusion Passenger I'm trying to deploy a Nuxt 3 website on Plesk, compiled with yarn build. I therefore have the PUBLIC and SERVER folders, which I have on Plesk hosting. I have the server.js file which is the following: `const app = require('./.output/server/index.mjs'); const htt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In what case might SciPy solve_ivp not converge? The solve_ivp function from the scipy.integrate library returns a status that indicates why the algorithm terminated. In particular, status is -1 if the integration step failed. What does "the integration step failed" mean? In practice, what would be an example of a p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Colab 'ascii' codec can't decode byte: ordinal not in range(128) with encoding="utf-8" I am struggling with an issue that I have only on Colab and not on my machine. I am reading some JSON files and it throws a UnicodeDecodeError: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 418: ordinal not ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create new array from existing array with specifc node values I have following array: [ { fileName: "test.pdf", fileUrl: "https://test-url1.com/test.pdf", isDeleted: true }, { fileName: "test.pdf", fileUrl: "https://test-url1.com/test.pdf", isDeleted: true } ] Now I need to create ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Whether `Bloc` and `Cubit` are completely equivalent? Let's consider this case: class Repository { final _controller = Behaviorsubject<List<Object>>(); Stream<List<Object>> get stream => _controller.stream; void fetchObjects() async { final response = await _dataService.getObjects(); final objects = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Initializing filter in IPOPT I am currently developing an algorithm where I am manually updating the barrier parameter when some conditions of mine are true, and than calling IPOPT optimize. Like this, set_optimizer_attributes(model, "mu_target" => my_μ, "mu_init" => my_μ, "du...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Removing inherent space between two text commands in swift Example Code var accuracy = 2 HStack{ Text("Acc +") Text(String(accuracy)) } Result: "Acc + 2" Desired result: "Acc +2" I want to know how to remove the space that is inherently the two texts or if there is another fix. A: If you just want to com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't see my tables in Google Cloud SQL (PGSQL) but connection is ok I am developing an application. Everything was going well locally, I now want to create a first Postgres SQL database and connect it to django. I established the connection in the Django settings and perform the migrations, it's OK. But I don't see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: material Ui with tailwind in next js for my next js project tailwind is the main styling library, I used materal UI for javascript snippets, mui pagination and radio group are working fine in my local machine but in server mui classes are being renamed, I came to know from stackoverflow that mui needs to configure f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Windows Chrome outer window resizing region With the default WPF window, the user can resize the window when their cursor is within X number of pixels inside OR outside the window. In the gif below, you can see that for the first window, the resize icon shows when their cursor enters the dropshadow area outside the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to restart another agent in the pipeline which I want to use later I have two jobs in my pipeline job1 executed with agent A1 and Job2 with with A2. Both A1 and A2 running as service on the same machine. I will be change environment variable in Job1 and it needs to restart agent2. Restarting agents sometime aske...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to transform R dataframe to duplicate rows and divide values from one column between two rows? I have a dataframe that looks like this: df1 <- data.frame(ID = c("A","B","F","G","B","B","A","G","G","F","A","A","A","B","F"), code = c(1,2,2,3,3,1,2,2,1,1,3,2,2,1,1), value = c(100,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MvvM Collection model I have Person model with some fields. ID FirstName LastName DOB 1 Samantha Smith Jul.9 1987, 2 John Jonson Aug.23 1978, 3 Mark Kramer Jan.5 1971, 4 Linda Miller Apr.9 1982 public class Person { public int ID { get; set; } public string FirstName { get; set;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to connect app running in docker container to local redis how to connect my .net app which in running in docker to my local redis. This question is different from "From inside of a Docker container, how do I connect to the localhost of the machine?" I created a .net core application that is using my local Redis ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I copy a code from CodePen to VS Code properly? I want to copy my codepen to visual studio code, but when I do copy-paste it into visual studio code it is either something wrong or not working or doesn't show the output. but in codepen it works just fine. I did some research on how to link HTML, CSS, and JS f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why can't I access start_utc? All I want to do is print it once the serializer is initialized See code Here PROBLEM: def start_utc() -> datetime: return timezone.make_aware( datetime.utcnow().replace(hour=0, minute=0, second=0, microsecond=0), timezone.utc ) def get_serializer_contex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: HTML display:grid not configuring columns Right, this has got to be the world must idiotic thing I have ever come across. Why - despite following the tutorial on here to the letter - can I not get the below into four columns? Absolutely ridiculous. footer { background-color: #000861; color: #fff; paddi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to check it element has attribute or not I have a HTML string, i want to add id attribute to all <form> tag which don't have id. But I am getting an issue when tag's child have id. <html> <body> <form class="class1"> <input id="hello" type="text"/> </form> <form class="bye"> bye <input type="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why is it that my kafka memory is getting full? Whenever I check Kafka memory using free -h it shows total-15 used 12 and free 700mb something. Due to which my logs are not coming on time. I have to free it ever now and then using sync; echo 3 > /proc/sys/vm/drop_caches. I tried sync; echo 3 > /proc/sys/vm/drop_cach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to constrain a mapped type to ONLY its keys but let them be optional I have a function that excepts a state object and then another object with reducer like functions. I want the function to only accept the second argument if the keys of the object belong to the state object. But I don't want it to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613891", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to render multiple mysql query results in the front end I'm building a dashboard that shows the results of multiple mysql queries from different tables within the same DB. I can query render the results from the first table but but not the second, the UI renders before the second queries are finished, can someon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to get the gradients of network parameters for a derivative-based loss? I have a network y(x) for which I have a given dataset dy(x). That is, I know the derivative of y for a certain x but I do not know y itself. A minimal example of this is: import torch # Define network to predict y(x) network = torch.nn.Seq...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to skip a whole test suit in gTest? I have a few test suites, and I want the user to be able to input the test suit packages he wants to run via command line (I'm using a custom script, so not via gtest command arguments). I want every suite to be able to be a part of any number of packages - and I would rather ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement a base method that performs validation based on the child generic type in Python I have a base Python (3.8) abstract base class, with two classes inheriting from it: BoundedModel = TypeVar("BoundedModel", bound=CustomBaseModel) class BaseDataStore(ABC, Generic[BoundedModel]): def __init__(self,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613902", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unity & glTFast - Can't load my GLTF file with LoadGltfBinary function I am using Unity with the package glTFast. I have an issue when trying to load a GLTF file. Here is the code : public async void SetModel(string path) { if (!File.Exists(path)) { Debug($"File does not exist: {path}"); } byte[] fileDa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nginx not accepting more than 500-600 requests I am doing a load testing with nginx as a proxy server, it is not accepting the expected no of requests I guess, so I want to know whether I have to change any configuration in nginx.conf I am using gatling tool for load testing. I am sending 1500 requests through gatli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613905", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Not able to modify data tile of page while routing in angular6 I am trying to edit the tile of page while navigation from other page using Angular6 but its not happening. I am explaining my code below. app.routing.module.ts: { path: 'cBR8-maintenance', component: CBR8MaintenanceComponent, d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React 18 | How to make the guard work properly? I'm trying to get the guard working, following the solution I found to this question: Error: [PrivateRoute] is not a component. All component children of must be a or <React.Fragment> But I get this error: A <Route> is only ever to be used as the child of <Routes> e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you connect vpn with javascript? I try to connect vpn for laptop with javascript in the bookmark. Is it possible to do that?
{ "language": "en", "url": "https://stackoverflow.com/questions/75613914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Does ProfileService.GetProfileDataAsync replace default scopes/claims in Identity Server 4 In a Identity Server 4 setup, I've added the scopes "email" and "profile" to a client. This causes the claims within these scopes to be added to the users token, which is sent from Identity Server to my application. This works...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VBA Filter extending the given range I'm trying to setup a filter on a specified range that applies every time someone makes a change to a project number or case. However, it is only from B11 - B38 I want the filter to apply. Whenever I try to run the code, it also applies the filter from B40 - BXXXX. Anyone who has...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does Samsung App Store allow apps on the store to support FCM? Does samsung app store allow apps posted in their store to support firebase cloud messaging (FCM) for push notifications? If yes, can share the information or weblinks that can help to support the answer? Thank you!
{ "language": "en", "url": "https://stackoverflow.com/questions/75613917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter a column in Google sheets with the criteria: if it contains numbers (the cells are strings)? Google Sheets have some filters 'greater than etc' but that applies if the column has been formatted as numbers. In my case, the column content are strings. Is there a regex or any other way of filtering a col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613921", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Dio: How to add multiple interceptors? I need to add multiple interceptors to my Dio object and I don't know how? I've already added a interceptor in order to add headers to requests. This is my current Dio Object : Provider(create: (BuildContext context) => Dio(BaseOptions(baseUrl: ApiEndPoints.baseURL)) ..intercep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613924", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't nvcc recognize a macro that works with gcc? I developed a little program that uses the ReLU function. That function was defined as a macro and works well when the program is compiled using gcc. The problem is that when the same program is compiled using nvcc it gives the error error: expected an expressi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Socket thread in golang isn't working. How can rewrite the true function? package main import ( "fmt" "net" "strconv" "sync" ) func sendMessage(id int, conn *net.UDPConn, wg *sync.WaitGroup) { defer wg.Done() message := []byte("Hello I am process " + strconv.Itoa(id)) msg := "Hello I am...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613932", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use jersey Multipart Object as HttpResponse for Google Cloud Functions I try to use Google Cloud Functions for produce a response in multipart/form-data and i want use jersey Multipart object I need help to convert the object to byte array to put it on the respose of the GCF response.getOutputStream().write(convertM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Blazor NavMenu displaying API data. Do i need a whole new NavMenu or "toggle" between NavLinks? Displaying Chapters and Lessons in NavMenu on Course Page in Blazor Server I am working on a Course application with chapters and lessons using Blazor Server. I am using a Web API project to display my courses, chapters, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: laravel Auth::attempt passed but redirect to login page because of 'auth' middleware, how to redirect to dashboard? my LoginController\login() is : public function login (AdminLoginRequest $request){ $credentials = $request->only('phone', 'password'); if (Auth::attempt($credentials)) { return redirec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I center a div relative to a sidebar I want to center a div relative to a sidebar like shown in the picture: I tried about a gazzilion online tutorials and none of them work. I can provide you with the files if you need.
{ "language": "en", "url": "https://stackoverflow.com/questions/75613941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Flutter - Integrate an API in UI using Getx I am trying to integrate API with UI in Flutter using GetX. But while retrieving the product from the JSON file I got the below errors. Error: The parameter 'id, title, description, price, discount, rating, stock, brand, category, thumbnail, images' can't have a value of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optimistic and Pessimistic locking at the same time I have a basic understanding of transactions, isolation, propagation and locking. I have a Spring Boot application that is backed by a SQL server database. There is a REST endpoint that calls a @Transactional service method to create a new Order and simulaneously u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it best practice to use .x-dev version in package or composer? I want to ask if this is best practice for production code. "package/somePackage": "3.7.x-dev" Wouldn't be better to use it without x-dev? Like this? "package/somePackage": "3.7.0" I think, that better is to use it without x-dev, but I don't have ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to display different names in autofill image in php? I am creating an auto fill certificate system, the user enter the full name and upload the certificate image. Than click submit to save the information into the database. When it is done, another page will show up to select from database which user want to pri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: 2D array using list comprehension the teacher give me a number sequence 17 23 39 43 55 61 70 83 (these numbers follow no rule, just raw input) to input: box = list(map(int, input().split())) # or box = [int(x) for x in input().split()] how can i create a list like this using both list comprehension and do the input...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple transactions same wallet nonce problem So, basically, I have a telegram bot, users can Mint nfts with it, the minting command is sent to my python code which uses the same wallet to mint nfts. There is hundreds of users using the bot, so multiple transactions at the same time are bound to happen. I made a t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I prevent this invalid syntax error using reg.exe? I'm trying to create a batch script to add multiple DWORD keys. When testing the first one in an elevated cmd.exe window, I get the following error: REG ADD HKCU\SOFTWARE\Microsoft\Exchange\Forms Registry /v AlwaysUseMSOAuthForAutoDiscover /t REG_DWORD /d 1 /...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: mysql with case slow - how can I make it faster? I have this query here which is slow (about 8 sec.) UPDATE valorizzazione_dettagli vd, valorizzazione_testata vt, users u SET vd.IdTariffaD = (SELECT td.IdTariffaDet FROM tariffe_dettaglio td force index (fkTariffe005_idx) ...
{ "language": "it", "url": "https://stackoverflow.com/questions/75613954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: how to setting ensureLogin Module nodejs I'm using the ensureLogin module in Nodejs But it can't do anything except press the login button (/login), I want to go to /auth but it's redirect to login.html When i click button for get /auth but does't work it's redirect to login.html /auth is path to Oauth2 (login with)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Configure SASL_PAINTEXT over multiple Kafka Brokers I am trying to setup a kafka statefulset on Kubernetes scaled up to 3 pods & want to have all kafka brokers to be able to connect with SASL_PLAINTEXT mechanism, however I'm getting the result that only one broker is able to connect & it blocks the rest of brokers. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to specify the "dayMaxEvents" option in the "multiMonthYear" view In the "multiMonthYear" view on a day with eight events, the "moreLinks" option appears, which prevents me from seeing all the events directly, without the need to use the popup. If I use only a month column or use the month view, the events ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Catching errors in nested promises I have quite complicated code on Node.js, which can be simplified to this one: const main = async () => { try { const promise1 = new Promise((resolve) => { try { const promise2 = new Promise((resolve) => { throw new Error(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Outlook Calendar my outlook calendar does not load. if go to the event viewer in control panel i get this message. Faulting application name: HxCalendarAppImm.exe, version: 16.0.14326.21344, time stamp: 0x63ed45a6 Faulting module name: KERNELBASE.dll, version: 10.0.19041.2546, time stamp: 0xe8e9ac9b Exception code: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reflect the callback parameters to the outer function I have created a simple module called tryCatchWrap, which takes a callback function, and wraps it in a try/catch block. type AsyncCb = (...args: any[]) => Promise<any> export default function tryCatchWrap(cb: Function): AsyncCb { return async (...args: any[]) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Directing to Default Mail App with Attachment Python I have been trying to direct the user to the default mail app on pc (or have the user select the mailing app they want) then open the app to send a mail with an attachment already included. I tried mailto and webbrowser explained here: Python: launch default mail ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613966", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RuntimeError: Expected object of device type cuda but got device type cpu for argument #1 'self' in call to _th_set_ Here is a part of my code : use_cuda = not args.no_cuda and torch.cuda.is_available() device = torch.device("cuda" if use_cuda else "cpu") class Net(nn.Module): def __init__(self): super...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: The term 'Get-AzStorageAccount' is not recognized as the name of a cmdlet I try to run some AZ powershell comands from DevOps pipeline on self-hosted agent which is connected to the machine 'myMachine'. So the error comes from the line where I use Get-AzStorageAccount. Below is the script. $context = (Get-AzStorageA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Venlo does not show up in the search on Geocoding API + Maps javascript API When we do a search for Venlo on our map on our website it gives a error This is an invalid address, please re-enter the search field. But it is valid, venlo is even placed as location in our XML feed. We face this problem on multiple sites....
{ "language": "en", "url": "https://stackoverflow.com/questions/75613974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How do I resolve global is not defined issue using Cognito and Vue3? I have a Vue3 app that I want to integrate Cognito into with a custom login page. I am attempting to use aws-amplify although am open to other recommendations. I am calling Amplify.configure in my main.ts just prior to calling createApp and have al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to handle onChange when new input component is added with a button click? I have a form where users can press a button to add more input fields below the one created. The purpose is adding different product sizes and the price of each depending on that specific product. When add button is pressed, 2 text inputs ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix this error (Flutter Xcode IOS) Command exited with non-zero exit-code: 65 Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/worksp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to connect a dbeaver database to intellij I was wondering if someone could explain how to add a new mapping class for a new table in the database as i'm finding the instructions from my teacher unclear and can't commit the changes I've made without doing so. <mapping class="csc1035.project2.CLASS" /> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can one queue syscalls to avoid overhead (in Linux)? I have read that syscalls are expensive because we must switch to kernel mode before making the syscall, then we must switch back to user mode. So, I was wondering, is there any way I could queue several syscalls and have the results added to some kind of buffer? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mongodb fail to sort the group This mongodb command is expected to sort the "timeStamp" after grouping but it does not. Any idea why and how to get the "timeStamp" to sort correctly? Thanks meteor:PRIMARY> db.abc.aggregate([{"$group":{_id:"$timeStamp", count:{$sum:1}}},{$sort:{"timeStamp":-1}}]) { "_id" : 16777338...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Kafka Custom Practitioner I have come across one scenario where I want to maintain single kafka topic(message-processing-topic) with 'N' Partitions. Say for example 200 partitions. I want to use the same topic for all the customers. Say I have 20 customers. I want to use 10 partitions for each customer. Each ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSX Tag Red highlight issue I used create-react-app to create a project. Usually, everything works fine, but today I don't know why the < > characters are showing up in red warnings. I use VSCode as my code editor and have some extensions like Eslint and Prettier installed. I tried disabling Eslint, but it didn't wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to reference something in @Value from an other @Value I have a number of @Value properties in my spring bean. Most of the time only the first one is set in the properties file. The others should derieve their values from the first one with sensible defaults if not overwritten. Unfortunately this only works with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to get an horizontal oriented listview to stretch horizontally? I'm trying to get a ListView to stretch horizontally to fill its parent (a Grid). I defined the ListView.ItemsPanel to be of type StackPanel, with Horizontal orientation. I searched around and found that the trick to get the ListViewItems to stretch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to efficently use mediaquery in flutter? I'm developing flutter project, I'm using android studio emulator that size of 5.46 inches display. I use mediaquery for responsive design, but it doesn't work. can someone help me, how to efficiently use mediaquery in flutter A: Here is a class built upon Layout Builder...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Setting up the testing environment in laravel I would like to know if it is possible to set up the testing environment in laravel with a database that is not existing in your pc, for example i have mysql datbase, and i want to set up the test to be in mysqllite is that possible if not, how can i set up the testing e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javascript click button by image name I got no experience in javascript and i'm trying to click this button. <span id="s_FightWin"> <img style="display: inline;cursor: pointer;" name="revive" border="0" src="ButRevive.jpg"><br> I tried clicking it by xpath, by name, by element id, nothing seems to work. Any ideas? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Unable to mock config value in jest I have 3 files config.js const envs = { val1: process.env.val1 || 'testval1', val2: process.env.val2 || 500, val3: process.env.val3 || 'testval3', val4: process.env.val4, val5: process.env.val5, } export { envs }; function.js import { envs } from './config.js' const {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Overcoming the 5000 Row Limitation in Power BI How to Display All Rows in Power BI: Overcoming the 5000 Row Limitation I loaded a parquet file from NiFi in Power BI that contains more than 40,000 rows, but it is only displaying 5000 rows. How can I overcome this limitation? After converting the data to a JSON file a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Redis OM .NET not indexing embedded model's property as sortable I am trying to implement simple sorting in my project where memory of the application is kept in Redis Stack. So far, most features work without too many complications. However, I have found one that might break some logic eventually: When a property i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75613999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android pubblication problem with android 12 I've been trying to upload my app to the store for a day now, but it always comes up with the error "You uploaded an APK or Android App Bundle that contains an activity, activity alias, service or broadcast receiver with intent filtering, but without the "android:exported...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mocking Dynamic QueryAsync Below is my code to mock my connection unit test: var connection = new Mock<IDatabaseConnectionFactory>(); var conn = new Mock<IDbConnection>(); connection.Setup(c => c.GetConnection()).Returns(conn.Object); _productRepository = new ProductReposit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Moving my PayPal app from sandbox to live I have tested my PayPal app in the sandbox and I am happy with it. I would like now to move my app to production. I am reading this: https://developer.paypal.com/reference/production/ But it's not clear what to do for me. Do I have to create another app or just move my teste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP error.log file showing so many NUL lines in Mac I am working on a mac machine running macOS 13 and using PHP 7.3. When the error_log is using, along with that so many NUL showing in the log file in red background. The file size getting enormously big and I am not getting why this is coming. Adding a screenshot b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a class from a comma separated strings in C# I have a comma separated string that I would like to convert into a class. My class definition is like so: public class Data { public string Event {get;set;} public string TagId {get;set;} public string Type {get;set;} public string Frequenc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there a function to give the name of repo/object/table/project by RID (Ressource Identifier) using an API that give me the list of projects by RID, i want to know if it's possible to know the name of each project. for example this rid 'ri.compass.main.folder.*****' related to 'Mehdi' folder name is there a metho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create an ongoing call holding API using PHP for Asterisk Manager Interface? In this case, the goal is to create an API using PHP that can be used to hold an ongoing call in the Asterisk Manager Interface. This means that the call will be put on hold, allowing the caller to wait until they can be connected to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to inject multiple named dependencies using InversifyJS? Let's imagine the following class hierarchy: interface Weapon { } interface BladedWeapon extends Weapon { } class Katana implements BladedWeapon { } class Stick implements Weapon { } Current bindings are following: container.bind<Weapon>('Weapon').to(S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I add a Julia project to the Jupyter Lab launcher? new to Julia. Problem: I know how to set Python and R env in Conda and add those to Jupyter Lab. It seems that Conda does not work smooth together with Julia like it does with Python. The environments are listed then in the Jupyter Lab launcher by adding IPy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jenkins Approval as Input and its usage in other stages I am trying to create a approval stage at very beginning of my pipeline, on the basis of that input, rest of the stages will either be executed or skipped. in my case, i am not able to use them on other stages. what could be the reason . I need to check value a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modify Max number of Query Execution at same time on monetdb Currently, I am using MonetDB Database Server Toolkit v11.43.21 (Jan2022-SP4) Issue: we are running more then 100 query concurrently by user in Monetdb and sys.queue in Monetdb is showing 50 tuples only at a same time. is there any setting by which i can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optimizing Kusto Query (KQL) I am running below query in ADX and connecting to PowerBI with this query. But, it seems very heavy query and if I exceed 8 days filter (like 10 days) query is breaking with memory issue. Can you check my query and advise how can I optimize my query? So that I can run more than 8 days - ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating Python bindings for CPP code and then importing it into a Python script I'm trying to make Python bindings for some C++ code that I created using an existing C++ library. I'm using PyBind11 and CMake to build the bindings and convert them into a shared library (.so) that I can import directly into my Python...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extract metrics for gin (golang) in opentelemetry standard? I am working on observability and want to extract metrics related to gin. How can I extract metrics for gin (golang) in opentelemetry standard? I went through opentelemetry-go-contrib, but it seems gin metrics is not supported, need help to implement...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pandas dataframe mutability with loc method I am trying to understand the inticacies of using loc on a dataframe. Suppose we have the following: df = pd.DataFrame({'a':[1,2,3], 'b':[4,5,6]}) df2 = df.loc[:,'a'] df2.loc[0] = 10 print(df) print(df2) a b 0 10 4 1 2 5 2 3 6 0 10 1 2 2 3 Name: a,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony messenger + RabbitMQ on a Kubernetes cluster : performance issue Let me first introduce the cluster : * *3 nodes ( 8 core + 30Gi each) *Volume working as ReadWriteMany with a nfs controler *Deployment kube PHPFPM : dispatch symfony messages *CRD Rabbitmq for handling the queue *CRD Postgres (1 replica,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The elementor Tabs problem to load carousel widget I have created 5 tabs. The content of each tab is a saved elementor template that each includes a product carousel. In the first tab (the default active tab), the carousel is working well, but for the other tabs the carousels do not work. What I can do to solve the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does a string search for hex digits \x42 not find asterisk characters? I have a data frame with a column containing both '#' and '*' characters: import pandas as pd data = {'id': [0, 1, 2, 3], 'foo': ["1#", "2*", "3#", "4*"] } df = pd.DataFrame(data) print(df) id foo 0 0 1# 1 1 2* 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614025", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do i connect gerrit web & ssh through HAproxy(LB)? I'm able to access our gerrit application from bare metal based Kubernetes cluster through an independent HAProxy(LB). Currently i have below HAproxy configurations in /etc/haproxy/haproxy.cfg file to access cluster gerrit service. frontend http-in bind *:80...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run Python code in the background of my web/html pages, directly on internet? is it possible to run Python code in the background of my web/html pages, directly on internet? Suppose I made a code with shuffle words (mix words), and I want to make an html page that have that python code in the background, to r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }