instruction
stringlengths
0
30k
I have 2 worksheets. The first one is for the working file and the second is for the master file sheet. The master file sheet has 3 columns which are as follows Fund Number, Name, Portfolio Number. In the working file sheet, specifically in column 2, it has the values in the Fund Number Column of the master file sheet....
|excel|vba|
I decided to use this method, but, as people in the comments said, iterations also works. Author of this answer is: @eccs0103 (Cant find him on the SO EN sadly) <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> const object = { ["_reactFiber$dsadadasda"]...
/** * Get the top dialog of the stack when there are nested dialogs * @returns */ function getTopDialog() { /* Get open dialogs on page, by definition they should be nested because you should only open a child dialog if a dialog is already open, no siblings or ...
Here is example code using .map with simplified data: import pandas as pd df = pd.DataFrame({'x1': [65, 66, 67], 'x2': [68, 69, 70], 'x3': [71, 72, 73], 'y': [10, 11, 12] }) x_list = ['x1', 'x2', 'x3...
This problem happens when 'Player' goes in and out of sightRadius of 'Enemy' multiple times. here is the bug code ``` bool FoundPlayer() { int numColliders = Physics.OverlapSphereNonAlloc(transform.position, sightRadius, colliders); Debug.Log(numColliders); for (int i = 0; i <...
"""hello. this code is runing, versions: Python==3.11.1 opencv-contrib-python==4.9.0.80 opencv-python==4.9.0.80 in this case we have this aruco of 7x7 "DICT_7X7_100" but you can change to "DICT_5X5_100", you must to change in 3 lines of this program""" import numpy as np ...
I installed Posgresql 16 server on a Debian 11 host that I access through SSH, and all works as expected when I use PSQL cli. Then I installed and configured PGAdmin4 Web, and I configured NGINX with reverse proxy so I can access to PGAdmin4 web interface from a browser. The firewall is correctly configured. The...
PGAdmin4 configured behind a reverse proxy but unable to connect to Postgresql server
|postgresql|reverse-proxy|pgadmin|
null
Best regard every one and hope to be your time good, I could solve the issue was have by my self, the issue was I didnt installed full needed files for it(I hope my solve assist any one want to begaine on this program). Hope you have a good time. Mohammad HAJJAR.
If you're writing something that does "the same thing, with just one thing changing at each step", that's a loop. You don't use separate `if` statements. Not even "when you're lazy": being lazy is an _excellent_ property to have when you're a programmer, because it means you want to do as little work as possible. Of c...
How do I print a JTable in the form: Image + header + table in a single page (Java Swing)
|java|swing|printing|jtable|
null
In a Python project that uses pyproject.toml (and setuptools), I want to have a custom version number provider. I want it to work like `setuptools_scm`, but use my own logic to determine the version (and preferably other fields such as description and author). I know it can be accomplished by using dynamic metadata, bu...
Custom dynamic version provider for Python projects
|python|setuptools|build-system|pyproject.toml|
{"Voters":[{"Id":5389997,"DisplayName":"Shadow"},{"Id":839601,"DisplayName":"gnat"},{"Id":2670892,"DisplayName":"greg-449"}]}
I just converted my existing project to a maven project. I have added dependencies like selenium-java, selenium-serve, selenium-chrome-driver, testing, and JUnit. It is a TestNG project that contains many packages and classes. It gives me an error as below: ``` Exception in thread "main" java.lang.AbstractMethod...
Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
|c#|sharepoint|ms-word|office365|office-js|
I have created a new project at Intellji Idea Ultimate with version 2024.1. This version supports the new Java 22 (openjdk-22) version. But when i reload my Gradle Project, than it shows this error: ```´ Unsupported Gradle JVM. Your build is currently configured to use Java 22 and Gradle 8.7. Possible solutions: ...
Gradle doesn't found installed JDK 22 at Intellji
|java|windows|gradle|intellij-idea|build|
null
I’m trying to send string of 13 ascii characters from js to php session using ajax, but up on receving string is not the same as i send it, using json.stringyfy and jsondecode does nothing. ``` console.log(plik_T[click]) jQuery.ajax({ type: "POST", url: './Setyb.php', dataTyp...
Here is a response I found from Google: [Google's Response][1] Pasting text here for convenience and incase it gets "disabled" LOL! *"If an account is closed because of inactivity then I am afraid there is no way to recover it. A number of warnings are sent to the account owner before the account is closed. The...
null
We have a NoSQL Database in Azure Cosmos DB. We also have a Synapse connector to use this database with PowerBi. This allows us to use a simple SQL script to fetch the data in PowerBi. Something like: SELECT logs.Field1, logs.Field2 from logs The data is mostly structured, but we recently added a new field...
I have the attached image below of tables I have created in MySQL Workbench. The tables shows a one-to-one connection between a donor and its contact. [![enter image description here][1]][1] My challenge is that anytime I create the relationship, it creates another column as seen circled red in the image. This do...
Creating Relationship Creates Additional Columns in MySQL Workbench
|mysql-workbench|relational-database|
I came across a workaround that was suggested in an unofficial capacity by someone at AppDynamics during their local lab explorations. While this solution isn't officially supported by AppDynamics, it has proven to be effective for adjusting the log levels for both the Proxy and the Watchdog components within my AppDyn...
[Per my top comment], building with `-Wall -O0 -g -fsanitize=address`, a few issues ... 1. With `-Wall`, arguments `col` and `row` are `char` and compiler complains about that (converted to `int`) 1. `row` and `col` are unitialized (in `main`) but the _values_ are never used by `computerMove` or `UserMove` (set to ...
c_cpp_properties.json. give the correct value for compilerPath and intelliSenseMode { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "~/android-ndk-r25c", "~/a...
So, I have a little tricky assignment to solve and I am entirely new to functional programming. There is a list of boolean variables (neither strings nor chars cuz the algorithm only takes boolean variables so they were converted) vars = [p;q;r] and there are 2 algorithms say A and B and one boolean equation eq1 ...
I have JSON Rows which can change key and type of values changing keys in examples are `015913d2e43d41ef98e6e5c8dc90cd09_2_1` and `e8c93befe4a34bcabbf604e352a41a2d_2_1` changing types of values are list (Row 1): ``` "answer": [ "<i>GET</i>\n", "<i>PUT</i>\n", "<i>POST...
I'm currently in the process of transitioning from using Terraform for managing my GitLab CI/CD pipelines to using OpenTofu. In this migration, I also need to integrate OIDC (OpenID Connect) authentication into my GitLab pipelines. Previously, my .gitlab-ci.yml file looked something like this with Terraform: `#You ...
This is really a general question, so I do not have a reprex. Using [CellEdit](https://github.com/ejbeaty/CellEdit/tree/master), does anyone know how to replace the options of an 'list' input with dynamic dropdown options. ``` "table.MakeCellsEditable({", " onUpdate: onUpdate,", " inputCss: 'my-input-clas...
Datatables row editable with CellEdit dynamic options in R Shiny
|javascript|r|shiny|datatables|dt|
null
I'm working with CodeIgniter, passing an object to a view within a `foreach` loop. I've noticed that 'view2' prints the number '2' during the first iteration of the loop, but I can't determine why it also continues to print '2' during the second iteration. Is this behavior due to the objects sharing memory addresses...
passing object to a view within a foreach loop in CodeIgniter
|php|for-loop|codeigniter|foreach|
Largest product in a grid Input 89 90 95 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00 81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65 52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91 22 31 16 7...
|r|fixed-width|
null
null
```Bot is ready /home/runner/BattleEx/.pythonlibs/lib/python3.10/site-packages/disnake/ext/commands/common_bot_base.py:464: RuntimeWarning: coroutine 'setup' was never awaited setup(self) RuntimeWarning: Enable tracemalloc to get the object allocation traceback Ignoring exception in on_ready Traceback (most rece...
Bot.load_Extension is returning this error for disnake and discord.py library both
|python|discord|bots|disnake|
null
"""hello. this code is runing, versions: Python==3.11.1 opencv-contrib-python==4.9.0.80 opencv-python==4.9.0.80 in this case we have this aruco of 7x7 "DICT_7X7_100" but you can change to "DICT_5X5_100", you must to change in 3 lines of this program""" to generate Aruco images: http...
I am trying to perform a side-channel attack on a GPU, and I am trying to find out if there is a way to profile a "victim" GPU kernel from a "spy" GPU kernel. It could be anything, like execution time, memory allocation, etc. So, I want a method to get statistics about another kernel in CUDA C++. Is this possible? I wa...
Is there a way to profile a CUDA kernel from another CUDA kernel
|c++|cuda|gpu|side-channel-attacks|
I am making `MultiVector` class for Entity Componen System. It is used for storing objects of different types for iterating over them efficiently. I use vectors of bytes as raw storage and `reinterpret_cast` it to whichever type I need. Basic functionality (`push_back` by const reference and `pop_back`) seems to work....
I ended up adding `methods` field to the vercel.json routes array and the deployment worked! I found this configuration on this [blog][1] and by the looks of it, it should work on other typescript based backend server that you want to deploy on vercel. { "version": 2, "builds": [ { ...
I encountered a error ``` PS C:\\Users\\91789\\Desktop\\Underwater-Image-Enhancement\\WPFNet\> python Underwater_test.py C:\\Users\\91789\\Desktop\\input C:\\Users\\91789\\Desktop\\New folder ./checkpoint/generator_600.pth C:\\Users\\91789\\AppData\\Local\\Programs\\Python\\Python312\\python.exe: can't open file '...
null
To filter IPv6 addresses (as you have asked), use the `filter_var` function with the `FILTER_FLAG_IPV4` flag for IPv4 addresses and `FILTER_FLAG_IPV6` for IPv6 respectively: if ( filter_var($client_ip, FILTER_VALIDATE_IP,FILTER_FLAG_IPV4) ) // use legacy filter method } elseif ( filter_var($clien...
`driver.find_element(By.XPATH,'//body/div/div/div/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/div[2]/div/div/input').send_keys(country)` This is the xpath for sending text in the dropdown of the facebook ad library report. It works well in window but when I run this selenium script in Linux machine (ec2-*...
I'm recently trying to learn the tanstack table v8 react table. it renders the columns and data in the table correctly however i'm getting an error that says "Hydration failed because the initial UI does not match what was rendered on the server" "Warning: Expected server HTML to contain a matching <tr> in <table...
Migrating .gitlab-ci.yml from Terraform to OpenTofu with OIDC Setup
|terraform|gitlab-ci|openid-connect|opentofu|
null
In my app, users can write in English as well as Arabic. So for English, I want to use "Poppins" as font style, and for Arabic, I want to use "sfArabic". I did not find any proper solution for that. **Below is my expected output -** [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/1j...
Multiple textstyles in Textfield in Flutter
|flutter|dart|user-interface|textfield|textstyle|
I looking-for solution to order/sort by relation (hasMany) fields, with max value of two columns. I prepare starter kit: https://www.db-fiddle.com/f/m371fzUJuQp9dX1yKm4yEm/3 ``` SELECT GREATEST( MAX(COALESCE(`to`, 0)), MAX(COALESCE(`from`, 0)) ), `parent_id` FROM salaries GROUP BY `parent_id...
|c++|c++23|
I tried many options to install bundle but nothing helped. Here is my dockerfile: ERROR: failed to solve: process "/bin/sh -c gem bundle install" did not complete successfully: exit code: 1 ``` `FROM gitlab.akb-it.ru:4567/academy/devops/ruby-image:3.2.2-ubuntu-22.04 as builder WORKDIR /usr/src/app RUN apt-ge...
bundle install in dockerfile
|dockerfile|bundle|
null
To access the custom field in your data through the context menu, you could use the `listen()` method with event type `contextMenu` and a custom item provider for the context menu as shown in the sample below. <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> anyc...
I use shader in phaserjs to change the color of characters and also for rain But the game renders correctly in Google Chrome, but I have a rendering problem in Capacitor, in such a way that the rain is displayed in the form of a ruler. [![enter image description here][1]][1] [1]: https://i.stack.im...
I have a data structure in Firestore that contains nested arrays, as shown in the following JSON example: ``` { "courses": [ { "name_courses": "ECONOMIC", "schedule": [ { "date": "22-01-2024", "time": "14.00 - 15.40 ", ...
How to Querying Nested Arrays in Firestore with Firebase Admin Python
|google-cloud-firestore|firebase-admin|
Likely some issue with initialization order that you are missing. Add an event into your agent type, make it trigger 0.1 sec after model start and execute your code (applying proper links back to `main` where needed). If that does not work, do some tracelns of the code. Does it recognize everything?
|anylogic|
Please find below event viewer log,can anyone help me why am getting this error(sometimes) Environment details: * Django framework * IIS application * Python 3.7 ``` Faulting application name: python.exe, version: 3.7.3150.1013, time stamp: 0x5c9954fa Faulting module name: _ctypes.pyd, version: 3.7.3150.1013...
to address your requirements, we can try with a systematic approach to ensure replicability, meet your filtering criteria, and maintain performance efficiency. The key here is to manage the random seed progression in such a way that it allows for reproducible results across different runs while also enabling the g...
How do I write a loop in F# such that the value of a in the previous step is now assigned to b and so on?
|loops|f#|f#-interactive|
null
Because it's actually a fun problem, I wrote an algorithm that doesn't rely on building then counting permutations, but rather on mathematically calculating them; the `count_permutations_beginning_with` function literally does what its name says, and the `build_x` function recursively builds the rank-th combination. ...
So, if data in ***Column A*** is true date then use- =FILTER(B2:B,A2:A>=EOMONTH(D2,-1)+1,A2:A<=EOMONTH(D2,0)) =FILTER(B2:B,A2:A>=EOMONTH(E2,-1)+1,A2:A<=EOMONTH(E2,0)) If you don't want to use cell reference then direct use `TODAY()` function inside formula so that it changes everyday. =FILTER(B2:B...
The game works fine, but its using rectangle shapes and I want to render the snake parts using Sprites. Here is the code (Yeah It's not that clean I just wanted to get this working): ``` #include <SFML/Graphics.hpp> // Graphics module #include <SFML/Audio.hpp> // Sound module #include <iostream> // ...
I'm new to Docker, I want to use it with my VSCode but I found 2 extensions which are Docker and Dev Containers. To me, they're pretty similar that I couldn't find much differences between them. Can anyone elaborate on their differences in terms of functionality and use cases? Thank y'all. Furthermore, I insta...
what is the difference between Dev containers and Docker extension in VScode ? Also Dev Enviroments on Docker Desktop
|docker|visual-studio-code|vscode-extensions|docker-desktop|
null
The game works fine, but its using rectangle shapes and I want to render the snake parts using Sprites. Here is the code (Yeah It's not that clean I just wanted to get this working): ``` #include <SFML/Graphics.hpp> // Graphics module #include <SFML/Audio.hpp> // Sound module #include <iostream> // ...
Hydration failed because the initial UI does not match what was rendered on the server: Next js Tanstack table
|reactjs|next.js|react-table|tanstack-table|