instruction
stringlengths
0
30k
I want to create progress bars to see my advancements during the year in different topics along the year in Obsidian. I've checked several options, like this tutorial, but don't seem clear to me: https://obsidianttrpgtutorials.com/Obsidian+TTRPG+Tutorials/Plugin+Tutorials/Dataview/DataviewJS+-+Progress+Bar+on+Tasks...
How to create progress bars in obsidian dataview
|obsidian|obsidian-dataview|
There is nothing inherently crooked about a DSO that `ldd` reports as statically linked. In that case `ldd` is just telling you that the DSO has no dynamic dependencies itself. Here comes one such: $ gcc --version gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0 This compiler emits `PIC` code by default. $ cat he...
import tensorflow_io as tfio I'm getting an error with this code for a deep learning project of audio classifier , can someone help me out? project from nicholes renotte yt channel , issues with tensor_io code in jupyter notebook .
Import error in tensorflow in jupyter notebook ( import tensorflow_io as tfio )
|deep-learning|project|ml|
Here's another couple of dynamic array options for `MS365`... **(1) To include a single column from each table:** =LET( array1, Table1[product], array2, Table2[contract], HSTACK( TOCOL(IF(SEQUENCE(, ROWS(array2)), array1)), TOCOL(IF(SEQUENCE(, ROWS(array1))...
The stockstats.StockDataFrame is a subclass of pd.DataFrame. This implies there is no need to do a merge in the end. After making sure the "datetime" column in the original df contains no duplicates, you could define the `st` dataframe as ``` st = stockstats.wrap(df, index_column="datetime") ``` So, passing...
Good morning everyone, I'm starting to approach mysql and obviously the first problems are starting, I'm trying to upload a csv file that I created and initially it gave me error code 1290 which I solved by modifying the .ini file, when I hoped everything would be resolved I noticed which now, despite copying the path ...
Error 29 on mysql workbench, how to fix it?
|mysql|mysqli|mysql-workbench|mysql-connector|
null
The other answer explains what needs to be done, but not how. To fix the error *"Error: Distribution certificate with fingerprint XYZ hasn't been imported successfully"* download the Apple Worldwide Developer Relations certificate from: https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer Then install ...
line = plt.plot(r, Vr) plt.xlabel('r') plt.ylabel('V(r)') plt.xlim((0.5,3.5)) plt.ylim((-1.5,2)) plt.axhline(y=0, color='black', linestyle='--') plt.show() This is my current code, my line for Vr has lots of data points and I'm trying to change the colour for Vr >= 0 to red and V...
How do I change the colour of a line between certain values on a matplot graph?
|python|matplotlib|
null
this is my first time posting so forgive me if I forget relevant information! I am working with Unity on a VR project and I wanted to use some sort of version control, so I am using GitLab. To not push/pull around about 25k files worth of 5GB. I got a .gitignore file recommended and also found it online myself: [...
gitignore for Unity VR project does not work
|unity-game-engine|gitlab|version-control|gitignore|
null
how to make webpack recompile on dev mode with cache on? trying to write a plugin based on HtmlWebpackPlugin to change the output of html. dev mode with cache on, if index.html is not changed, how to make webpack recompile ``` class MyPlugin { apply(compiler) { compiler.hooks.compilation.tap("MyPlug...
How to get class properties or fields using reflection in Kotlin/Native?
|kotlin|class|reflection|kotlin-native|
There is an open issue in jsdom that container queries cause errors:\ https://github.com/jsdom/jsdom/issues/3597 > ### Using @container query logs error > Looks like this is implemented by cssom and there is open issue there: NV/CSSOM#109 and not being tackled rrweb-ccsom used currently by jsdom. It's caused by...
I haven't used this, nor even know what it is, however I am good at reading documentation and believe what they tell me (for the most part) > Shutdown all connections, threads and execute `OnCommsShutdown` event. > Any packet handlers are left unchanged. **If any network activity has > taken place this should be c...
I think the best way is to malloc `a` in `main` function and pass it to the `fn` function. #include <stdio.h> #include <string.h> #include <stdlib.h> void fn(char *n) { /* * imagine this variable 'b' is * a part of a structure of * some library */ ...
The answer is, in regards to an entry-point (and your constraints) there is no appreciable difference apart from a few bytes here and there. However, let's visit the documentation: [Main() and command-line arguments (C# Programming Guide)][1] > The Main method is the entry point of a C# application. (Libraries an...
My js code records a voice clip, and then sends it to a local flask server to process it with a fetch POST request, however, the page refreshes both when the clip is sent, and again when it's processed completely, which I dont particularly care for, as it makes debugging among other things much harder. Here is the f...
In my forest plot using the forest function I want to express the total amount of controls (n.c) and events (n.c). Preferably this would be displayed in the last row below all the studies. How can I do this? My current code is: The code for my meta-analysis: ``` HI<-metabin(event.e = n.HI_PT, n.e = n_PT, event.c...
|r|r-forestplot|meta-analysis|
consider updating packages to latest along with flutter
I am very new to zig and doing a very simple coding exercise. The question is about scoring words in scrabble and presents a table. As a sort of challenge I wanted to replicate the scoring table as an array of arrays where the index of the outer array represent the points for a letter and the inner arrays contain the l...
|go|minio|
How to create the equivalent compose code for an HTML anchor tag? HTML code <a href="https://www.w3schools.com">Visit W3Schools.com!</a>
How to create an anchor in Jetpack Compose Web?
|kotlin-js|compose-multiplatform|jetbrains-compose|compose-web|jetpack-compose-web|
|vue.js|nuxt.js|metadata|vue-meta|
You could try one of the followings: [![enter image description here][1]][1] ---------- • Formula used in cell <kbd>B1</kbd> =BASE(A1:A4,10,MAX(LEN(A1:A4))) ---------- Or could use `TEXT()` + `REPT()` function combo: =LET(a,A1:A4,TEXT(a,REPT("0",MAX(LEN(a))))) ---------- <sup> Note th...
# Android LazyColumn OutOfMemoryError To display all font styles in the font folder(`res/font`) with `LazyColumn`: > font folder(`res/font`) has many `ttf` file. ```kotlin @Composable fun TextTtfLearn(){ val context: Context = LocalContext.current // It's not the context reason val fontList: Mutabl...
Android LazyColumn OutOfMemoryError
|android|lazycolumn|
null
Hello i’m new in using PyTorch bcs my assignment i had my model saved and load but the error wasn’t the same like when i run it first. The error was 7,5% but when i rerun the error has changed to 9%. Can someone help me? this is my code `model = get_model('gru', model_params) model.load_state_dict(torch.load("mo...
Can't load the saved model in PyTorch
|pytorch|model|forecasting|
null
i generated POJO class from Claim Cloud API and created restConfiguration to expose an API from Integration Gateway App by using those POJO classes. I constructed a payload to create a new contact from the Integration Gateway App. in my request i setting the correct contactSubtype as Person but getting the following ...
I have a Lenovo Thinkpad that came with Windows. Awhile ago, I installed Ubuntu to dual boot both OS. I now want to resize the Ubuntu partition as I am running out of storage. When I open Mini Tool Partition Wizard, I do not have the option to resize the partition. I am doing this from the booted Windows OS to resi...
Can't resize a partition using Mini Tool?
|linux|windows|partitioning|
We have couple of applications which are desktop(PC) , Mobile applications, so planned to create unique test automation framework in java we have created a framework to support both desktop and mobile platforms using below tech stack Selenium webdriver, appium, java client, testNG, allure , java 17 but i am fa...
I have a .wav file saved on SPIFFS. I would like to transfer that file to a server using my esp32. I have tried to Allocate buffer but it fail so I think it is this part that have the probelm to read the file. How can I solve this problem or there are any method to do this. Here is my sketch: ``` #include <Wi...
I have taken a `zip` generator function, and I'm trying to infer the result type. Given `zip(A, B)` with A `Iterable<string>` and B `Iterable<number>` I'd want to infer the return type `Generator<[string, number][]>` Here's what I got so far: ``` function* zip<T extends Iterable<any>[]>(...iterables: T): Generat...
null
My macOS app stopped working on macOS 14.4.1 (Kernel: Darwin v.23.4.0), or "Sonoma". I started looking into it, and it turns out that when I try to remove my launch agent: /bin/launchctl bootout gui/501 /Library/LaunchAgents/com.company.name.plist `launchctl` fails for `bootout` with error code 5, or `EIO` = ...
launchctl bootout on macOS Sonoma is failing with EIO = "Input/output error"
|macos|macos-sonoma|launchctl|
That's because `ref` is a preserved prop from react and you cannot specify it directly as props. But you can use `forwardRef` function to do so: ```jsx import {type PropsWithChildren, forwardRef} from "react"; const MyChild = forwardRef<HTMLDivElement, PropsWithChildren>((props, ref) => { return <div ref={r...
Why `unsat` === The reason you're getting `unsat` is your last constraint: ``` (not (exists ((s Int)) (implies (<= 0 s N) (<= 2 (+ (ite (distinct (B s 1 1) (B (+ s 1) 1 1)) 1 0) (ite (distinct (B s 1 2) (B (+ s 1) 1 2)) 1 0) (ite (distinct (B s 1 3) (B (+ s 1) 1 3)) 1 0) (ite (distinct (B s 2 1) (B (+ s ...
Page refreshes on POST request
|javascript|python|flask|
null
Using parsing expression grammars for syntax highlighting is definitely possible. [Scintillua](https://orbitalquark.github.io/scintillua/) for example provides PEG-based syntax highlighting for [Scintilla](https://scintilla.org/)-based text editors. [Textadept](https://orbitalquark.github.io/textadept/) is an example f...
I assume this question refers to a normal Business Central tenant without extensions, right? > Upon creating a warehouse shipment I see that the Qty. to ship is set to 0. This is correct. The *Qty. to ship* will be updated, once you create and register the required *Pick*. > When I try to create a pick it says...
I am currently stuck on a Python issue where I want to import scripts from another directory that is removed from the current one. The import structure is relative in certain scripts, and I do not want to change the import structure of many files. As an additional note, I want to run this file from the Command Prompt...
How to make Python script use a designated directory as source for imports (from within the script)?
I have a database with two tables. - In tableA, the columns are `id, name, surname, city, score` - In tableB, the columns are `id, name, surname, city, count` How do I create a merged view of the two tables so that the output is `name, surname, city, score, count`? Bear in mind that there can be more than one r...
|sql|mysql|
|asp.net|webforms|master-pages|meta-tags|
What works for me was: - Add dependency on main project in pom.xml (make sure it is as pom in dependency project) - Go to the project called on that dependency select maven menu on the right side of the screen and select Lifecycle -> options: clean and then install so It goes to m2 (maven) directory - Go back t...
when i deploy the program i get this error: ``` Traceback (most recent call last): File "main.py", line 27, in <module> wbe = webdriver.Chrome("directory/chromedriver",options=chromeOptions) TypeError: __init__() got multiple values for argument 'options' Traceback (most recent call last): File "main.py", line 2...
why selenium doesn't work when i deploy a GitHub file on railaway?
|github|selenium-webdriver|railway|
null
Answer to new question: ```python3 import numpy as np from scipy import sparse, io A = sparse.eye(5, format='csr') * np.pi np.set_printoptions(precision=16, linewidth=1000) with open('matrix.txt', 'a') as f: for row in A: f.write(str(row.toarray()[0])) f.write('\n') # [3.141592653589793 ...
I have 3 tables Table name = TBL_USER —Columns SSN [PK] Username[PK] Password Table name = TBL_ROLE —Columns Role_ID[PK] Role_Name Privilege Table name = TBL_USER_ROLE —Columns Username [PK] [FK to TBL_USER] Role_ID [PK] [FK to TBL_ROLE] Is there any option to make the mapping :: [TBL_USER]—User...
The simple solution would be using a fail-safe and secure single choice solution with the [Windows command](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands) __CHOICE__. @echo off setlocal EnableExtensions DisableDelayedExpansion for /F "tokens=*" %%G in...
In this type of data: df # A tibble: 9 × 6 id Utterance Story Climax Starttime_ms Endtime_ms <dbl> <chr> <chr> <chr> <dbl> <dbl> 1 4 "yeah" NA NA 20405 ...
I have a Contabo VPS (Ubuntu) where I want to run Nginx and Typebot.io, but I realized that only HTTPS requests are accepted via port 443. Remembering that UFW is disabled. I've tried everything, please let someone help me! I've already tried putting both typebot.io and Nginx to listen on another port. I have alrea...
My VPS does not accept HTTPS requests on a port other than 443
|nginx|https|vps|
null
I have different tests in different classes which I want to run in 2 different devices using Appium. So as you can see I have some tests for iPhone 1 and other tests for iPhone 2. There is also some groups like "Regression" or "Smoke" ``` <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng...
|python|system|working-directory|
null
If you can't find a Code Analysis approach, and depending on where you are using this, a novel approach might be to use some attributes and setting it `private` (which it should be already I guess): [EditorBrowsable(EditorBrowsableState.Never)] [EditorBrowsableAttribute Class][1] > Hide a property of a cla...
I made an e-commerce app . i used the list view builder for listing the products. Now i need to display the product details page when tapped on the the desired list . How can i access the product i tapped and show its details in an another page. Below is my code for UI ``` class MainPage extends StatelessWidget {...
how to Navigate from Listview Builder and access and show the selected Product in Flutter using provider?
|flutter|flutter-provider|flutter-ui|
null
You get many out of bounds The following model works better range J = 0..5; range R = 1..3; range T = 1..10; int P[J] = [0,1,2,3,4]; int d[J] = [1, 1, 3, 5, 2]; int EF[J] = [1, 2, 1, 1, 1]; int LF[J] = [2, 3, 4, 6, 2]; dvar int x[J][T]; subject to { ...
[`ts-mock-imports`][1] actually relies on JavaScript test library Sinon.JS: > ts-mock-imports is built on top of sinon. In Node.js and browser, all testing libraries provide _stubbing_ feature to mock imported modules. They essentially swap the objects (modules) properties/methods, thanks to the dynamic nature of...
I've developed a Python script that uses libraries like OpenCV, Ultralytics YOLO, using yolo's pose estimation model to detect the no. of steps taken by a human from a video feed( a device's camera). Although, It works good on my mac m1 , I'm looking to convert this Python code into an Android app so that I can run ...
Re-arrange rows by longest interval between starttime and endtime
|r|dplyr|
I want to implement deep links in my .net Maui app. I test on a physical android device. When the application is closed everything works fine, but if the app is still open in the background and I open a link I get the error "Window was allready created". I follow the standard guide from Microsoft (https://learn.microso...
Deeplinking in .net Maui "Window was allready created"
|c#|android|xaml|maui|deep-linking|