instruction
stringlengths
0
30k
โŒ€
|lua|watchmaker|
null
|python|plotly|plotly-dash|shap|beeswarm|
null
I have parent folder `alpha part 3` which contain child folder `43. DP (Part1)`, `44. DP (Part2)`, `45. DP (Part3)`. I want to merge (concat) all video file present in `43. DP (Part1)` and put it into `43. DP (Part1)` and give name merged (concat) file to folder name. And as it is do for all. ``` alpha part 3...
I want to re-calculate the facebox positions based on zoom level in [Swiperjs][1] Here is what i'm facing : [![enter image description here][2]][2] Here is what i have tried : [Codepen][3] <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> function ...
{"Voters":[{"Id":11279879,"DisplayName":"Dr. Gut"},{"Id":459565,"DisplayName":"Eugene"},{"Id":4342498,"DisplayName":"NathanOliver","BindingReason":{"GoldTagBadge":"c++"}}]}
I'm having trouble drawing the external rectangle of an ellipse. [ๆœช่€ƒ่™‘ๅผงๅบฆ](https://i.stack.imgur.com/jVmar.png) one ellipse is successfulily use rectangle covered, but the other is false. I not know what lead to this situation. I use txt to annotate the file, which has the center of the circle, the major semi-axis...
Here is my code. The goal is to insert a record into a table and to use two concatenated numeric values (separated with an underscore) as the primary key. Ultimately, this will be made up of an item_number and the datetime_checked (separated with an underscore), but I have simplified it for this sample code below. ...
peewee: SQLite - peewee Create() is forcing integer in PrimaryKeyField if leading character is numeric (even if there is a non-numeric in the middle)
|flutter|
This project runs from a spreadsheet. It consists of two functions (see code below): The first function, getFilenames, clears a sheet named "Rename," sets up column headers, and populates columns A and B with the file IDs and file names from a given folder. The user then inputs the new file names into column C and runs...
I have two tables that look like this; ``` TABLE Person id name 1 Jason 2 Dave ... TABLE Points id points 1 8 2 9 3 5 ... ``` And I try to join the "name" column from the first table to the second one based on their ids. The expected outcome should look something like this; ``` TABLE id name p...
Cuda out of Memory but I have no free space
|python|pytorch|cuda|
null
I am trying to host a nextjs website on iis here is my set up . 1. Website with web.config hosted under default site [![enter image description here][1]][1] 2. Contents of web.config which causes nextjs site . On access of http://localhost/AppWithNode1/SimpleErrorView it should redirect to the nextjs site. ...
Is there any way to tell Notepad please remove the following [DOCUMENT](https://i.stack.imgur.com/Ukr0X.jpg) Remove all the empty characters after the last , sign. I know I can tell please replace , with empty but the problem is I have many , that hast to stay in the file. I just need notepad to remove EVERYTH...
EDIT 2024-03-30: There seems to be a very serious compromise in the XZ library by the maintainer. Do NOT use the dependency without first verifying that the vulnerabilities have been adressed: [CVE-2024-3094][1] As noted on the "[Known Limitations"][2] page at Apache Commons: "the format requires the otherwi...
I have a custom view and I want to make the ability for a user to zoom in and out with pinching (like an image), but it doesn't work. I added the functions from here https://developer.android.com/develop/ui/views/touch-and-input/gestures/scale#basic-scaling-example. But when I pinch it doesn't scale I tried to ad...
I would Like to know how I would insert blank rows in an Excel Spreadsheet using Interop Excel, and also merging cells. A7 would be the row I would be starting from to insert the rows. The number of rows inserted would vary. I would intend on inserting the rows downward. after inserting the rows I would have to merge a...
How to join a column in SQL based on the same id
|sql|
It sounds like the debug functionality of the Cloud Editor should help you: https://youtu.be/4Mo6pdLqlBE?feature=shared&t=165 Alternatively have you read the official documentation on how to debug a Cloud Run service and Debugging With Skaffold: https://cloud.google.com/code/docs/shell/debug-service https://s...
For a fixed column of type `pl.List(...)`, you could simply use an `pl.when().then()` construct as follows. ```python import polars as pl df = pl.DataFrame({ "a": [[1, 2], [3], [], [4, 5], [], [6]] }) ``` ``` shape: (6, 1) โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ a โ”‚ โ”‚ --- โ”‚ โ”‚ list[i64] โ”‚ โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก โ”‚ [...
I need to create a Tic Tac Toe application using Java. When the player taps the screen, the game must insert the images of X and O. Both pngs are stored in the drawable folder. But the application doesn't seem to work. When I press the screen, nothing happens, and I couldn't find any error in the Logcat panel except: U...
{"OriginalQuestionIds":[39728016],"Voters":[{"Id":861716,"DisplayName":"Gert Arnold","BindingReason":{"GoldTagBadge":"c#"}}]}
In addition to removing `packages` from your configuration, to fix this issue you have to add `log4j-core` as an annotation processor. If you're using Gradle: ```groovy dependencies { annotationProcessor("org.apache.logging.log4j:log4j-core:2.20.0") } ``` As [@aled][1] points out, instructions for Maven...
|c++|cryptography|post-quantum-cryptography|ntt|
This project runs from a spreadsheet. It consists of two functions (see code below): The first function, getFilenames, clears a sheet named "Rename," sets up column headers, and populates columns A and B with the file IDs and file names from a given folder. The user then inputs the new file names into column C and runs...
|python|sqlite|orm|peewee|
null
This works in js shipping_address_collection:{ allowed_countries:["US"] },
Try this `from ..clustering.clustering_experiment import run_clustering`. The two dots before clustering is to get out runners folder as your import statement is in embedder_cmd.py.<br/> If that doesn't work and you get the "no known parent package" error, try without dots, like this `from clustering.clustering_experi...
I've replaced the default button function thus I'm adding a new one. Trying to create a custom 50px circle "Add to cart" button (fa-solid fa-cart-shopping icon, #F5F5F5 background, 5px padding) using Elementor, WooCommerce, Hello theme. Bottom left corner of product image with 10px margins. Any advice? ![what I'm t...
Custom "Add to cart" button
|css|wordpress|user-interface|button|woocommerce|
null
In WooCommerce, I've replaced the default button, thus I'm adding a new one. I'm Trying to create a custom 50px circle "Add to cart" button (fa-solid fa-cart-shopping icon, #F5F5F5 background, 5px padding) using Elementor, WooCommerce, Hello theme. Bottom left corner of product image with 10px margins. What I'm try...
The recommended approach is to use the **CSS text-align property**. You can apply this property to various HTML elements like <div>, <p>, or the entire body element to center its content. Here is an example: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="vi...
Custom styled "Add to cart" button in WooCommerce single product page
I'm having trouble drawing the external rectangle of an ellipse. [ๆœช่€ƒ่™‘ๅผงๅบฆ](https://i.stack.imgur.com/jVmar.png) one ellipse is successfulily use rectangle covered, but the other is false. I not know what lead to this situation. I use txt to annotate the file, which has the center of the circle, the major semi-axis...
Inserting Blank Rows & Merging Cells in Excel Using Interop Excel C#
|c#|excel|interop|
I am working on creating a cache access function in C and have ran into a strange issue with an unexpected recursive call. I may just be misunderstanding recursion in this case but I'm very confused as to why this is happening. This is my current function, mem_access provides read/write to my simulated memory. This is ...
Unexpected Recursive Call
|c|recursion|caching|
|sql|mysql|
Resolved by installing ***pyarrow***. - I am using snowflake_connector_python==3.7.1, pandas==2.2.1, openpyxl==3.1.0. I was facing the same issue, then It got resolved with pyarrow==15.0.2.
[The error that I'm struggling, with some examples][1] I have written a code for finding prime numbers using sieve of Eratosthenes algorithm, but the problem is my code works as it tends to be, but it shows an unspecified or undefined error for some numbers. It shows like "entering initial value (n) infinite times" ...
Is there any way to tell Notepad please remove the following [DOCUMENT](https://i.stack.imgur.com/Ukr0X.jpg) Remove all the empty characters after the last , sign. I know I can tell please replace , with empty but the problem is I have many , that hast to stay in the file. I just need notepad to remove EVERYTH...
If you're using AWS CDK, you can put it in a separate stack, and pass your network config and security group as parameters. I prepared the solution in [this gist][1] and went a little bit more in detail in [this post][2]. Most importantly: - Keep a relatively up-to-date AMI - Do not allow access from anywhere (0...
AWS bucket image urls triggers Gmail spam filters consistently
|gmail|spam|email-spam|
null
|azure|terraform-provider-azure|azure-diagnostics|azure-signalr|
null
null
I am working a lot with network protocols and very frequently that means visualizing data i received over the network. The format is always defined by a struct, and the byte array received over the network is converted into saied struct. For the past two days i tried to implement a control that automatically generates ...
Given your example data and assuming your columns are A B C & D the following example will return the user name for the ID and stop.<br> You can apply the same to your actual Sheet. ``` import openpyxl def search(id): ### if min row/col is 1 there is no need to specify ### Search Column C (3) only...
Why can't clang vectorise this loop over a std::span, writing results to a std::array?
You are rendering all the sub-routes into separate `Routes` so they all get rendered/matched independently. Merge all the routes so that they are all rendered under a single `Routes` and can be rendered/matched as a combined group. Example: ```tsx const Routing: FC = () => { /// TSX: return ( <Browser...
I packaged my django project with pyinstaller, my project tree is like below: [![enter image description here](https://i.stack.imgur.com/Lr7WG.png)](https://i.stack.imgur.com/Lr7WG.png) I did all bellow steps: 1. Copy all static file into static/ with `python manage.py collectstatic` 2. Add all static file ...
Django miss static files after packaging with pyinstaller
|django|static|webserver|pyinstaller|specifications|
null
I managed to get mine to work. Image icon = LoadImage("Icon_path_directory.png"); SetWindow(icon); UnloadImage(icon); // Needed if continuously loaded. I double checked that my png image is in RGBA pixel format by right clicking and making sure it has an Alpha (A8) channel in properties. I couldn't ...
My app, on Android 12, is an installer. It install APK and some data from external SD card or OTG USB Device. On android 12, for accessing OTG USB dongle, my app ask the user to grant MANAGE_EXTERNAL_STORAGE So my manifest includes : <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORA...
It sounds like the debug functionality of the Cloud Editor should help you: https://youtu.be/4Mo6pdLqlBE?feature=shared&t=165 Alternatively have you read the official documentation on how to debug a Cloud Run service and Debugging With Skaffold: https://cloud.google.com/code/docs/shell/debug-service h...
So here is my javascript part of Sliding puzzle project. It doesn't seem to be checking if tiles are adjacent to empty tile before swapping. I changed code several times and now can't see the problem. I'd appreciate any help. <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js...
How to map SQLx pivot table relationship to rust Vec using sqlx
I'm working with a high dimensional data set including 80 features, for which I try to select the most important ones. In order to do so, I apply the random forest method from R package 'ranger' to the data and the provided function 'variable.importance'. It returns the features attached with a score of signed values a...
Feature Selection with Random Forest and R Package 'Ranger' / interpretation of function 'variable.importance'
|random-forest|feature-selection|
null
null
null
null
null
In my view, why is the variable `$userId` undefined inside the button? I tried to make a print layout of absent history, but I need help finding this error. <a href="{{ route('attendance.print', ['user' => $userId]) }}" class="btn btn-primary btn-sm"> <x-tabler-download class="icon-4 mr-1"/> <s...
Troubleshooting undefined $userId variable in Laravel view
This site canโ€™t be reachedlocalhost refused to connect. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED โ— sonarqube.service - SonarQube service Loaded: loaded (/etc/systemd/system/sonarqube.service; disabled; vendor preset: enabled) Active: active (running) since Wed 2...
Sonar qube i installed is not working and it show "...... Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED"
|testing|sonarqube|d|
null
This code give me error: > can't assign to property "callback" on "captcha-container": not an object const auth = getAuth(); const appVerifier = new RecaptchaVerifier(auth, 'captcha-container', { 'callback': (response) => { console.log(response) }, }); here is h...
|javascript|firebase|firebase-authentication|
null
I'm trying to compile my project with maven and acceleo. I want to generate .emtl file with acceleo maven but to generate this file I have to link it with an ecore which is in an other plugin and I don't find the solution to link the mtl file with this external ecore model. Can someone help me please?
I have a set of data that comes in group of 3, "high", "Low", and "end". I want to treat them as a unit. However, when I display my chart, there is no spacing [uploaded example here:](https://i.stack.imgur.com/ow8Jo.jpg) In the above image, you can see that I want to have some spacing between "6A" (3 bars) and "6B" ...
null
I have a set of data that comes in group of 3, "high", "Low", and "end". I want to treat them as a unit. However, when I display my chart, there is no spacing [![Example Image][1]][1] In the above image, you can see that I want to have some spacing between "6A" (3 bars) and "6B" (also 3 bars). I tried the following ...
I'm getting an error from Facebook API. ` string(135) "{"error":{"message":"(#100) The parameter data is required","type":"OAuthException","code":100,"fbtrace_id":"AGpuvWfJHaG5Dyx4ffRZ_e-"}}" ` Here is their documentation: https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api I have ...
I want to use GLFW in my Kotlin/Native project so I created a `.def` file at `src/nativeInterop/cinterop/glfw3.def`: ``` headers = \ glfw3.h \ glfw3native.h headerFilter = /usr/include/GLFW/* compilerOpts.linux = \ -I/usr/include \ -I/usr/include/GLFW linkerOpts.linux = \ -L/usr/lib \ ...
{"Voters":[{"Id":20292589,"DisplayName":"Yaroslavm"},{"Id":466862,"DisplayName":"Mark Rotteveel"},{"Id":16217248,"DisplayName":"CPlus"}],"SiteSpecificCloseReasonIds":[13]}
{"Voters":[{"Id":3821467,"DisplayName":"Howard E"},{"Id":1940850,"DisplayName":"karel"},{"Id":16217248,"DisplayName":"CPlus"}],"SiteSpecificCloseReasonIds":[]}
im having the same issue a lot of people are having that the server exits as soon as i try to run it. i tried following the advice from this stackoverflow but no luck: https://stackoverflow.com/questions/22380119/why-does-my-spring-boot-app-always-shutdown-immediately-after-starting its literally a new server ...
my spring boot app shuts down as soon as i open it
|java|spring-boot|mariadb|
Please can you help me with this exercise: Half Sum Element: Write a program that inputs n integers and checks whether there is a number among them, which is equal to the sum of all the rest. If there is such an element, print "Yes" + its value, otherwise print - "No" + the difference between the largest element ...