text
string
meta
dict
Q: Nested JSON objects in Array | Powershell I wanted to have a JSON like this in PS. { "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": "This is Random Text" } } ] } For which I write-up following code in m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: chart.js scatter chart with customs x & y date and locations I am trying to make a chat to show the age of the job and the location of the job chart like this I am not sure if this is posable with scatter chats. everything I've seen and that used customs labels uses them just as a counter. I just want to know if it'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Cypress: Is it possible to navigate to a web page and leave it opened for the next tests? I am planning to update the Cypress version of an existing project from 6.9.1 to 12.6.0. Currently we are navigating to a web page and logging in with ntlm-auth in a before() hook. After that the web page remains opened and can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Why can't I store my orders in Firestore after checkout session When I click checkout button, it redirects to stripe where the user pays the amount from the cart. The payment is successful but the success URL is not working and so the user is redirected to 404 page which I put in my code in case there's an error in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to bypass "resolved" url on "npm clean-install" when having multiple private registries? How can we bypass "resolved" url when running npm clean-install using (node 16, npm >=7)? Problem: We have an internal private registry so package-lock.json will refer to the internal url. When we then try running builds in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lucee structure key access issue I am trying to convert one app from CF to lucee and facing issues into accessing structure. I have below code which is working fine in CF. m = {}; m.arrHtml = []; m.col = []; m.dataIdx = []; m.align = []; m.doHeader = true; arrayAppend(m.col,'abc'); arr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Search string column - approx 1M records, user enters search terms on form I have a SQL Server table containing about 1 million rows - and I want to allow users to search on an Address column of type nvarchar(300). Users can enter multiple words as their search term. An address field may look like 15 Allendale, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure virtual machine in Logical App is not working (InvalidAuthenticationTokenTenant) I'm trying to make a Logic app to automatically enable my virtual machine in Azure. But I get a strange error on startup, searching the internet didn't help me find a solution. Azure virtual machine in Logical App is not working (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Finding all transitive dependencies in gradle project(s) When running ./gradlew app:dependencies --configuration runtimeClasspath it lists all the dependencies and their transitive dependencies, but on the second transitive dependency it puts a (*) after the dependency instead of listing it's dependencies. e.g : run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Axios - Unauthorized Bearer Token Greetings! So today I'm trying to call an API endpoint using axios. The first endpoinp is being called correctly, but the second one is not working as expected! What I want to do is, when a user creates an account, he/she will be sent a verification email. So right now, the account ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Qwebengine security pop not showing I build one normal browser with pyqt5 and qwebengine. Everything working fine but the security pop is not showing... For example, if we go to this site: http://jexmon.co.in/login/register It is asking for a username and password pop-up in Chrome. But in my application, it is redir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I Send and receive files with Agora SDK in android Java? I have an App that is doing chat messages (conversation, chatting) correctly using Agora but now I want to integrate the file attachment as well. If anyone has a code then please share it with me. Thanks in advance for any assistance. A: * *Create /...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have face this error in my spring boot app Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. I have trying but I can't fix this
{ "language": "en", "url": "https://stackoverflow.com/questions/75556213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to modify a rasterlayers band in Google Earth Engine? I want to scale the bands of a satellite image with respect to the known scaling factors. In Google Earth Engine I can execute the following line: image.select(nir).multiply(0.0000275).add(-0.2); In the documentation of these functions it is not clear to me ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Can you avoid closure memory leaks by using functions instead? So I'm using RxSwift and has a function that looks like this: private func setAndVerifyTestmode(isOn: Bool) { parameterService.setTestMode(value: isOn) .flatMap { _ in self.parameterService.requestTestMode() } .subscribe( { [weak self] _ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: the code i have submitted have error and not running as expected import random print("lets create the hangman game, wow!!") list_of_words=['apple','guava','laptop','mobile'] random_word=random.choice(list_of_words)`your text` print(random_word) no_of_alphabets=len(random_word) print(no_of_alphabets) blanks="" for _...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why is np.dot so much faster than np.sum? Why is np.dot so much faster than np.sum? Following this answer we know that np.sum is slow and has faster alternatives. For example: In [20]: A = np.random.rand(1000) In [21]: B = np.random.rand(1000) In [22]: %timeit np.sum(A) 3.21 µs ± 270 ns per loop (mean ± std. dev....
{ "language": "en", "url": "https://stackoverflow.com/questions/75556221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "42" }
Q: How do I enable Proxy Configuration File for VPN on Mac Terminal? I'm using a Mac, I have the corporate VPN turned on (Cisco AnyConnect Secure Mobility Client) Is there a way for me to declare the Proxy Configuration File URL in Terminal, so I can connect terminal to the internet while the VPN is turned on? In the P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add template parameter to this code for Whatsapp Cloud Api? I use this code to send static message template but i kan not figer out how to change it to send template parameter in it. $number = "myphone"; $template = array( 'name'=>'new_booking', 'language'=>array('code'=>'sv') ); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make anyevent "sequential"? I would like to try mix of AnyEvent and Coro. Is there a way to make the three lines between BEGIN and END more elegant/condensed? use AnyEvent::HTTP; use Coro; async { _ # BEGIN my $READY = AnyEvent->condvar; my $guard = http_request( GET => $url, $READY ); my ($data, $...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Logic issue - double refresh of content Working through the 100 Days of SwiftUI I have completed somehow the Milestone: Projects 4-6 (for ref. :https://www.hackingwithswift.com/100/swiftui/35), which seems to work ok apart from a logic bug that I have obviously inadvertently created, which caused a double refresh of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I make a draggable button? I want to have draggable button so basically you can drag and place a button any position you want on the browser. How can I do using html and javascript. This is what I have tried so far. <button id="soldier" onClick="openInventory()"> const soldier = $("soldier").document
{ "language": "en", "url": "https://stackoverflow.com/questions/75556232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Pass Variable in Annotation attribute How to pass the annotation attribute. I wanted to add my variable String(ans) in the Cron annotation but i am getting exception can you please suggest me how can i do it. I wanted to get the corn pattern from the database and store it to the ans variable which is creating...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter - After SDK update, emulator not work (version 3.3.10 to 3.7.5) I updated my flutter SDK with "flutter upgrade" command. After update, unfortunately my emulator does not work. I'm getting error messages like this: "build\host\outputs\apk\app-debug.apk" does not exist. Error launching application on sdk gphon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I increase the output of "content" displayed in PowerShell when running SOLR Queries? I am new to SOLR, and practicing running search queries in the Admin UI, and in PowerShell (with Curl). When I run queries in the Admin UI, I can see all the documents that are returned from the query. But when I run the que...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Protected route component and returning Navigate in tests causes infinite loop Hey all I have a protected route component test that is causing an infinite loop, but only seems to happen in the test, not when running the app: it("redirects to auth when user is not logged in", () => { const currentUser = null; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Detailed logging of OR-Tools VRP solver behaviour To better understand how the OR-Tools VRP solver arrives at a solution, I want to log each step in the search algorithm. The log must use terminology from the problem domain, not implementation specific terminology. For example, the log should print "nodes" instead o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Studio Electric eel | Debugger always stuck on "waiting for the process to finish gracefully" Like the title says I am on Android Studio Electric eel 2022.1.1 Patch 1 and whenever I start the debugger it works for 1 or 2 breakpoints, after that the app goes to ANR, and watchers get stuck on evaluating. When ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Backing field in Entity Framework Core 6 is null I am using Entity Framework Core 6 for my application. I have a string property TaskParameter with a backing field. When I query it, it returns null. private string _parametersJson; [BackingField(nameof(_parametersJson))] public TaskParameter GetParametersJson { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to work with std_vector produced by rust bindgen I have an external C++ library that I want to use from rust. For this I use bindgen to map the function calls. The C++ function I want to use fills a (C++) string vector and has the signature: short REQ_MList(std::vector<std::string> *list) Bindgen generates the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Google App Engine dev_appserver.py + Cloud Datastore Emulator: crash on startup without log warnings or errors (exit status 245) I'm trying to run the Google App Engine local development server (dev_appserver.py) together with the Cloud Datastore Emulator. Environment: * *Ubuntu 22.04.1 LTS on WSL (Windows 11 Pro ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change a fraction of values to NA with dplyr I have a large dataframe and would like to replace a random 10% of value1 with NA, and a different random 20% of value2 with NA I'm doing this and it works but isn't pretty. Is there a better way? df%>% mutate(rand = runif(1:length(df$id)), value1 = replace(val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why process cannot be killed by signal 15 but 9 in linux Recently, an exception has occurred on the project, which is the following scenario: When the process runs for a long time, one of the threads is stuck, and the reason is not clear yet. But one discovery is: when I use kill 15 + pid, the process cannot be kill...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556246", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Http request with flutter in release mode are to slow Requests via http to the server with my mobile application in release mode are so long but in debug mode, they pass quite quickly. With postman, the returns are very fast which means in my opinion that the problem does not come from the server but rather from Flu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Local WordPress not detecting symlinks in /wp-content/plugins/ * *My wp installation is at /srv/www/wordpress, Ubuntu 22.04.1 LTS. *I'm developing a plugin and the working folder is at /home/username/Documents/working-dir/ *I'm trying to create a symlink in /srv/www/wordpress/wp-content/plugins/working-dir point...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556254", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Dynamic template outlet Angular I am trying to make a dynamic ngTempateOutlet. I tried as follows: <ng-container *ngFor="let action of actions"> <ng-container *ngTemplateOutlet="action"; context="{item}"></ng-container> </ng-container> <ng-template #DELETE let-item="item">delete</ng-template> <ng-template #MODIF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mac zsh kills all my process eg: npm run watch I update my Mac OS to Ventura and my Zsh kill all my process eg: npm run watch I try uninstall node with brew and reinstall still not working
{ "language": "en", "url": "https://stackoverflow.com/questions/75556257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: License key for Gmail Add-on I’m developing a Gmail Addon which would need a license key to work so that unauthorized user can’t access it. For an organization it would be a headache to ask their employees to enter the license key in the add-on. Is there a way by which the organization admin can set the license key ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to print the Total and Amount from Ansible output I want to print the Total and Amount from Ansible output. ok: [localhost] => { "billingdetails": { "changed": true, "cmd": "python3.9 /opt/billingaws.py", "delta": "0:00:01.299824", "end": "2023-02-24 20:13:44.210359", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C++20 binary semaphore goes over max I don't understand the difference between counting semaphore and binary semaphore in C++20 (or there's a bug). I can understand the idea, but they both work the same, no difference. I can release the binary semaphore multiple times, then acquire multiple times and it doesn't bloc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the CSS from Chrome when flag enable-force-dark is set? In chrome you can enable the "darkmode" with chrome://flags/#enable-force-dark I cannot see any changes in CSS: is there a mean to retrieve the CSS so I can get a drakmonde.css for my site ready ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75556263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run boost bootstrap.sh after FetchContent_MakeAvailable(boost) I'm writing a CMakeLists.txt, and it needs boost library. So I plan to download boost and run bootstrap_sh and b2. But the problem is that it fails every first time I run cmake. After that, it succeeds every time. I don't know why. Below is the CMakeList...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "unexpectedly disconnected from boot status daemon" Luks After installing several upgrades, I rebooted my machine. Ubuntu 22.04 running. My disk in encrypted with Luks but instead of getting to the default splash screen where I type my password, I got to terminal, showing an error saying unexpectedly disconnected fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556266", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: java.net.BindException Client-side after thousands of quick-fire Socket connections to Server My Platform is Windows 10 Enterprise with JDK 17. Anyone know why the following Client crashes with a java.net.BindException after many thousand connections? (it seems to be timing-related because, with a 10ms sleep between...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556267", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display pagination in own shortcode (Woocommerce) I have code for display products with stock quantity = 1 item. Everything is fine, but I want to add pagination for this. Here is my code: add_shortcode( 'limit_stock_products', 'limit_of_stock_products_shortcode' ); function limit_of_stock_products_shortcode() {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to build Expression tree in C# to check if string property is just null (no empty checking) I found how to check if a property IsNullOrEmpty using: var methodCall = Expression.Call(typeof(string), "IsNullOrEmpty", null, property); But I need to check only if the property is null. Not check empty condition. Can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Equivalent for converting numpy array to bytes I have the following code for converting an image (from path, img_path: str) to bytes (b64 encoded): with open(img_path, "rb") as img_file: out_file = base64.b64encode(img_file.read()) This is required to send it to a Microsoft Azure Python SDK service. I want to wri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556271", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: slf4j marker when used with fluent apis is ignored by log4j2 configuration, but works fine with non-fluent apis slf4j marker when used with LoggingEventBuilder apis (fluent) is ignored by log4j2 configuration, but when same marker is used with slf4j Logger non-fluent apis [e.g., trace(Marker marker, String msg)], it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: ANTV npm install fails Installing ANTV fails without --legacy-peer-deps option. NPM install fails with: npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @ant-design/charts@1.4.2 npm ERR! Found: @ant-design/icons@5.0.1 npm ERR! node_modules/@ant-design/icons npm ERR! @an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to address ".text+XXX: 'naked' return found in RETHUNK build" in assembly part of a Linux driver? I am porting an x86_64-specific Linux kernel driver to work with recent (6.0+) kernel versions in a recent distro (Fedora 39). The module has some of its parts written in assembler (it has to interact with Intel VT-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I find the maximum of 2 numbers without if statement? (with my solution) anyone can help me to optimize and get better way to do it just for fun and learning first_number = int(input()) second_number = int(input()) temp1 = [ i for i in range( first_number) ] temp2 = [ i for i in range (second_number) ] try:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556276", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Strange result of DateTime.TryParseExact, Correct datatime don't recognize I have created this function Public Function ParseDateTime(Str1 As String, PossibleFormats() As String) As Tuple(Of Boolean, DateTime) Dim Ret1 As New DateTime DateTime.TryParseExact(Str1, PossibleFormats, System.Globalizatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replace if string starts with number from 1-5 followed by dot - PHP I am trying to replace the beginning of a string if it starts with a number between (1-5) and a dot. Each number is on a new line For example, I have this list 1. test 2. test 3. test 4. test 5. test 6. test and I am using this to remove the numbe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to center the mouse when clicking on the element I have drag & drop elements and when I click on that element I want the mouse cursor to be in the center of that element. I can click anywhere on it (top, left corner, right corner, bottom). So how do I position the mouse in the center of the element when I click ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting accurate counts for filter panel with elasticsearch Many searches provide a standard filter panel on the left, that allows filtering by OR within a category and AND between categories. The logic the counts that are shown for every filter entry follows the following standard. To calculate the shown count for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Instant or LocalDateTime for creation field in Hibernate? In a Spring Booot app, I need to keep creation date of the content. For this purpose, normally ı would use LocalDateTime, but I think it is better to use Instant as this field is like a timestamp. On the other hand, I have just seen @CreationTimestamp and I a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PDF.js Enable Scrolling I have managed to use pdfjs to load my pdf document. However, it is not scrollable and I have to use next and previous buttons to navigate. How can I make it scrollable? My JS function renderPDF(canvas) { let currentPageNum = 1; // Handle hidi const outputScale = window.devicePixelRat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TYPO3 - LUX Newsletter I am trying to install the lux newletter extension on TYPO3 11 and have 2 questions: I have entered the pid of the unscribscribed page on site configuration and also the full domain name is used in the configuration. I still get the error No unsubscribe page identifier found in site configurat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: saving questdb database on an external disk I don't have enough space on my computer so I am trying to create a questdb on an external hard drive. Is there a way I can do this? I am looking at the documentation and going through ~/.questdb/conf directory but can't seem to find a good way to do this. A: One option i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show columns from different tables without using JOIN? SELECT date,v2ProductName,sum(productRevenue) as Revenue ,v2ProductCategory,promoName,concat(trafficSource.source,'/', trafficSource.medium) as source_medium FROM `bigquery-public-data.google_analytics_sample.ga_sessions_20170*` LEFT JOIN UNNEST(hits) as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My app always navigates to home screen even though the logged in status is false in react native I am trying to set up a authentication such that when user is logged in, then they should be re-directed to home screen else should stay on the login screen in react native, however, as if now, it only re-directs to home...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ProseMirror: How to add an attribute to pasted content? I want to add an attribute which will be rendered as an HTML attribute to content that was pasted. I have been trying to implement this using something like the following function: transformPasted: (slice) => { let fragment = slice.content fragment.forE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to debug the following Python code؟؟؟؟ Hello to all programmers In the code below, in the hack class, two variables, name and number, cause problems and give the following error. How can I solve it?? Thanks TypeError: hack.__init__() takes 2 positional arguments but 3 were given import os os.system('cls') clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I have no clue why the data is visible in url? Whenever I login the email and password is shown in url . Don't know why After login url is shown as "http://localhost:3000/login?email=m%40gmail.com&password=567". I do not want the credentials to be visible in the url. I have written login function in different js fil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reindex documents, text and integer fields in elasticsearch 7 GET paganotti_civile_nuovo/_search { "query": { "match": { "numerosentenza": 1105 } } } Run this query in elasticsearch 7 it return these fields: "codicesezione" : "S1", "senderid" : "DVSDRD44E18E438B", "numerosentenza" : "1105", "_vers...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pandas split cell into half I have a df that looks like this: df: col_a col_b 121 abc\ndef what I am trying to achieve is: result_df: col_a col_b 121 abc --- def in a single row, with both values present in a single cell separated by a line. Is this possible?
{ "language": "en", "url": "https://stackoverflow.com/questions/75556311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Azure AI/ML with selenium I've been playing with Azure AI, I've done the pong game and cartpole etc. I was curious how this same technology could be leveraged for quality assurance. I've been successful with building environments and executing training with ray-on-aml cluster. What I don't understand is h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add background color in Android? I keep getting 'Unresolved reference:Green' when adding color with 'modifier = Modifier.background(color = Color.Green)'. I have tried to resolve this by Importing 'androidx.compose.ui.graphics.Companion.Green' but the error still persists. Is there another way of adding col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AWS CDK cloudfront distribution not working for not root path hosting frontend with s3 I am working with CDK version 2.61.1 in python. I have built a s3 and CloudFront distribution to host a react frontend: front_end_bucket = s3.Bucket( self, "bucket_name", bucket_name="bucket_name", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert a Hashtable to a Thread in c#? i'm refactoring some old code, and i stumbled upon something weird, and i don't know exactly how it works and neither why it works(average junior dev experience), Basically there is a code in VBNET that i want to convert to c#, and this code does the following, it Conver...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: The function disable inputs is not working for wrong answers idk why its happening I tried all the things I want to disable all inputs other than the user clicked once the user clicks on any of the radio button. Its working fine when I'm clicking a right answer. But not working with wrong answers. And please tell me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to mock module which got through webpack I am trying to mock module using Jasmine in Angular but we are unable to mock it. Below is code we are using use the module in MainComponent.ts const authAppService = () => import("authApp/auth").then((m) => m.authService); const storeAppService = () => import("storeApp/s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can change object by Id in nested array with childrens, and update state in React How can i toggle isExpanded property on onClick by Id. I'm using React for this project. Here is my json data structure. const handleExpandOutlineItem = (id: string) => {} here is my json data structure. { id: '1', ti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rust segmentation fault in chrono When playing with Linux PAM and developing a sample library in Rust using some date-related logic, I encountered a segmentation fault when testing the authenticate() function with pamtester. Cargo.toml: ... [dependencies] chrono = { version = "0.4.*", features = ["serde"] } ... A:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set an initial script to be loaded at the start of LXC interactive session? I'd like to have my favourite aliases and PS1 when starting an interactive LXD session by lxc exec my-container -- su -l I've placed.bashrc file in the $HOME directory (which is /home/root), but it didn't work. As /bin/sh in my conta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to grant rights to a common user in specific pdb in a container I have made 4 pdbs in a container. I have one common user, and i want to give that user rights for a specific pdb. Any help!
{ "language": "en", "url": "https://stackoverflow.com/questions/75556330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: While i am execuiting the script. So at nlp.add_pipe I am facing some sort of errors Hi al Here I am trying to execuite my python script. But while execuiting I am facing an NLP error. SO below I have pasted code snippert ans as well as complete error. So please let me know where I am going wrong code snippet nlp_se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Video Classification CNN - F1 score get stuck while training the model I'm trying to replicate theLarge-scale Video Classification with Convolutional Neural Networks. I've already downloaded the frames divided homogenuisly in bag of shots. The train and test DataFrames that maintain all the infromations have the fol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Websockets.connect across multiple threads So i'm trying to split up my connection into two threads: A - One for sending a json to the backend. B - One for recieving messages from the backend. The idea is to be able to run the first one in a for loop to create multiple jsons, however I cant have the "while true" sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to push element in array inside a key/value object in Javascript? I have a structured payload like the example below: var payload = [ { "firstService-2xx": 0.1, "firstService-4xx": 0, "firstService-5xx": 1.2, "secondService-2xx": 5.4, "secondService-4xx": 1, "secondService-5xx": 0.2 }, { "firstServ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Flutter : how to remove bg color from bottonNavBar? Here i want to remove my bottomNavigationBar bgColor , when i am using "extendBody: true" then i my container item is not scrolling this is my code. import 'package:flutter/material.dart'; import '../CheckOutPage/Components/pizza_ordered_card.dart'; import '../Ut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modifications to access rules for a plug-in dependency are getting overwritten. How to store this information? I have included xstream as a Maven Dependency in my RCP target definition. I need to access a class in com.thoughtworks.xstream.core.util but eclipse flags an error: Access restriction: The type 'FastField'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Automate Web Game On Canvas With Python And Selenium I am trying to automate a little game on the Web, I already done this on other little games, but this one is different because makes use of HTML5 canvas. So if before I had buttons to click and object to read attributes from, now I only have this 960 x 600 pxl ima...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EF Core 6 - QueryBody must end with a Select clause or Group clause I have this rather verbose LINQ query the returns an intellisense error: Query Body Must End With A Select Clause or Group Clause It looks like it does so I don't know what I'm doing wrong. It appears I am doing a select at the end, but apparently...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: downloading attachments using Gmail API I'm trying to download all the attachments received via gmail from a specific sender . I wrote a code but it does not work and I'm not sure whats the problem. The first part of the OAuth 2.0 credentials and the access token for the Gmail API worked fine. below is my code plus ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556347", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: import uitextfield into dictionary in swift I Have @IBOutlet weak var NameTextField: UITextField! and I want to store this data into dictionary. I tried var dicDara: [String : UITextField] = ["Name" : NameTextField.text] but I am unable to do they throw errors. can anyone help me please? A: If you wnat to store ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: docker python can't find address postgres I run a container with postgresql and after that I run a container with python (Django). I am trying to connect to the database and in some cases I get an error. This error happen after deleting compose project and trying to create that in 50% cases.If restart the backend co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to render a python panel component from react with pyodide? I am trying to use an example from the panel documentation of how to display a panel component from python using pyodide, but from a react component, instead of from pure html. I have set up a minimal NextJS react app which can be cloned, and ran locall...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting error while adding plugin{ id 'kotlin-android-extensions'} in app gradles I tried to run this but its getting error and I'm expecting what to do here ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75556358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a "Medusa" custom model, services and API import { BeforeInsert, Column, Entity, PrimaryColumn } from "typeorm"; import { BaseEntity} from "@medusajs/medusa"; import { generateEntityId } from "@medusajs/medusa/dist/utils" @Entity() export class Post extends BaseEntity { @Column({type: 'varchar'}) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does my angular/ionic pwa only start on second try? The pwa is already installed via chrome. I click on the icon and this white screen with the icon shows up. If I let it like that, it goes like 5 minutes. But if I go back to the homescreen (the pwa is still open in the background) and then klick on the pwa's ic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: excluding classes in spring boot DataMongoTest I have two spring data repository classes one each in com.foo.cloud.landing.page.posts and com.foo.cloud.landing.page.personprofile package. The test PostRepositoryTest for former is written in com.foo.cloud.landing.page.posts package in src/test/main. The test however ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add entity if not existing based on some properties Is it possible to safely add an object if a specific combination of properties is not met and update an existing one if an object is already in the database? My current code is the following, but this is not safe for multiuser access (could result in double creatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: private variable not updated in JsonRequest RequestQueue I have a problem with a class in my Android app. I read a JSON, on debug I see the results of the request, mPlatList is filled in with retrieved data, but when the loop is finished, my object.mPlatList is empty. EDIT : Going forward, it seems in getAllPlatsStr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex function to extract selected rows I have a text file like this Some text and random stuff that I don't need 2 8 2 9 T 4 9 1 10 2 10 F 7 11 T More random stuff How should I construct a regex function to extract both the rows with just numbers and the rows with numbers and T or F? So far my idea for the cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556372", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: uuu wait for Wait for Known USB Device Appear I have just compiled my Yocto image for my board based on IMX.8.M plus. I need to flash my board using uuu (Universal Update Utility) for nxp imx chips. Each time i launch the following command : uuu -b emmc_all imx-boot-tagged core-image-minimal-devboard.wic I have thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556373", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I kill a running exe when a particular file is deleted using c# console program I have a requirement such that if a file in particular path is deleted, then my program should kill an running exe program and sleep for 5 minutes so that my software will automatically start the same exe again. When the file is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to show individual and combined categories in the same boxplot I want to have a plot that shows an additional boxplot below the boxplots of 9 categories to 2 timepoints. What I've already done: Create a pandas df. data = {'Category': ['waschen','anziehen','lesen', 'putzen', 'zahnpflege', 'essen', 'hobby', 'schl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Dynamically deciding between memory mapping or reading a file Memory mapping a file saves a data copy and is thus faster for large files. Reading a file saves manipulation of MMU and is thus faster for small files. When reading a large number of files, choosing the best method per file may make a difference. Do I ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556377", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Process.env not accessible while writing playwright-ct component testing? I am using playwright for component testing, I have a following dir. structure in my next.js project. ./playwright - component ./ MyComponent.spec.tsx ./ MyComponent.tsx ./ index.html - fixtures - index.ts Unfortunately proc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75556378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }