instruction
stringlengths
0
30k
I'm working on a small project where I take content from an Excel Spreadsheet and put it into a word document. I can get the two applications to communicate and put the text in the correct spot, but I cannot change the formatting and I've tried multiple ways. I think I don't understand the Range object, but I'm really ...
How to use VBA to bold just some text
|excel|vba|ms-word|
null
Move `TimeUnit.MINUTES.sleep(2);` inside the `try` block: public void sendMessage() throws InterruptedException { String topic = "wikimedia_recent"; BackgroundEventHandler backgroundEventHandler = new WikimediaChangesHandler(kafkaTemplate, topic); String url = "https://stream.wikimedia...
I made a zustandStore and i put the initial value at there. And at other component i set zustand to the other value. And go to other page and come again, if i console the zustand value, then the first value come firstly. So when I props or use the zustand, the outcome is different with my thought. the main code ...
{"Voters":[{"Id":147356,"DisplayName":"larsks"},{"Id":2320961,"DisplayName":"Nic3500"},{"Id":354577,"DisplayName":"Chris"}],"SiteSpecificCloseReasonIds":[18]}
Im trying to use: df_pca_filt = df_pca[df_pca['cdf'].astype(float) > 0.975] But it doesn't work. I ran the program once and everything was fine. But then I ran it again, everything was exactly the same and it stopped filtering I tried: df_pca_filt = df_pca[df_pca['cdf'] > 0.975] df_pca_f...
|java|spring-webflux|netty|
When I deploy angular project to gcloud, all the pages can be loaded normally, but when I refresh the page, I will get the error as the title, or if I access it directly by typing the url, it will be wrong, and I can only access it from the homepage to not make the later pages wrong, this problem has been bothering me ...
GoogleCloud Error: Not Found The requested URL was not found on this server
|angular|google-cloud-platform|http-status-code-404|
null
I made it work local HP = cube.Healthbar local Cooldown = false local function Healtbar() do if Cooldown then return() end HP.Value =- 5 Cooldown = true wait(0.5) Cooldown = false end cube.Touched:Connect(Healthbar)
I am new to Nextflow scripts. I am trying to build a mitochondrial DNA variant pipeline. I have used fastqc and trimmomatic tool for quality checking and trimming a low quality sequences. I have written a script below, program is executed but shows no output. #!/usr/bin/env nextflow params { f...
There are multiple ways to do that, the simplest one would be to apply it using CSS .woocommerce-shop .title-container-outer-wrap{ background-image: url('YOUR_IMAGE_URL'); } I have referred to the body class `.woocommerce-shop` so that it only applies to the shop page. Another way would be t...
|angular|angular12|
I have the following code in a java springboot app: ``` class myClass1 { void addToQueue() { logger.info("adding to queue"); myClass2.add(trade); } } ``` ``` class myClass2 { ConcurrentLinkedQueue<Trade> executionQueue = new ConcurrentLinkedQueue<>(); Trade tradeInExecuti...
Missing update in ConcurrentLinkedQueue in Java
|java|spring-boot|
null
In your case, Sphinx generates the [LaTeX](https://www.latex-project.org/) output then calls LaTeX compiler to generate the final PDF. This means that your style is largely controlled by options given in LaTeX. For specific problems, you can also search for `LaTeX` online, not necessarily Sphinx. For example, you can s...
null
If you intend to practice infrastructure as code with Cloudformation/CDK, try out AWS CodePipeline. It'll be easier to integrate with AWS related services.
null
I have inspected the code, and I found that it's because when the screen is smaller than 576px, the pageSizeChanger will become display none. @media only screen and (max-width: 576px) { .ant-pagination .ant-pagination-options { display: none; } } Hence, I just override the ...
Not sure that Polar is doing this natively. I could get close to your original chart by adding "fakes-null" values : <!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-js --> <script> const ctx = document.getElementById('myChart').getContext('2d'); ...
Nextflow script for performing quality control and trimming the sequence
|nextflow|fastq|
When I deploy angular project to gcloud, all the pages can be loaded normally, but when I refresh the page, I will get the error as the title, or if I access it directly by typing the url, it will be wrong, and I can only access it from the homepage to not make the later pages wrong, this problem has been bothering me ...
The following are the related lines of my query that I have a problem I cannot resolve: IF (servicesalesdetailsopen_v.complaintcode LIKE 'IVWIP', 'Y', 'N') as intflag LEFT JOIN servicesalesdetailsopen_v ON servicesalesopen_v.ronumber = servicesalesdetailsopen_v.ronumber and servicesalesopen_v.vehid = servicesa...
MySql Condition Clause resulting in every joined line from joined table based on column value
|mysql|if-statement|left-join|
null
I ran into a problem when I decided to make a server for microservices, but I ran into the problem that my microservice cannot register in Eureka, what could be wrong? ``` apiVersion: v1 kind: ConfigMap metadata: name: configmap data: foodcataloguedb_url: jdbc:postgresql://35.228.167.123:5432/foodcatalogue...
|android|wifi|android-13|
How to implement the patterns array in the urlManager of web.php?
Swiss-sched. help! please I am working on scheduling 8 showcases for the year. I have dataframes for each showcase that have rank and conference from where each player is from. Each showcase has a different number of players registered but it is always a different number of players. Ex. 48, 20 players. There can be ...
**One line to get it.** In the terminal type this command **`gradle signingReport`** > **very important** **press** <kbd>Ctrl</kbd> + <kbd>enter</kbd> ⚠ not <kbd>enter</kbd> only Work with Mac And Windows
I just started to work with LED matrix (16*16) and attiny85. The current purpose is to switch on a led on each row, where led number is the number of row (I know that led strip is like a snake, it does not matter for now). So, I written an `byte matrix[16][16]` and manually put a digit into target cells. It worke...
I'm using bootstrap to create a grid of cards, but all the cards are merging together when resizing the screen. This mainly happened when i tried to layout the icons to appear at the top left of the card and the bottom middle whilst adding a a href tag to the image. <div class="col-sm-6 col-md mt-3"> <div ...
Handling and ignore UNKNOWN_TOPIC_OR_PARTITION error in Kafka Streams
|java|apache-kafka|apache-kafka-streams|
null
edSubject.aggregate([ { $match: { stageid: stageid, boardid: boardid, scholarshipid: scholarshipid, }, }, { $lookup: { from: "edcontentmasterschemas", let: { stageid: "$stageid", subjectid: "$subjectid", ...
id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER }, UserId: { allowNull: false, type: Sequelize.INTEGER, references: { model: "Users", key: "id" } }, HeroId: {...
I found this post and tried to use the RAND() function to solve this issue as a trigger. I wanted the same idea: resulting BLANK when there is no match. So, my solution was replacing RAND() by IF(RAND()*0=0,"","") With that, I have the trigger and the result as BLANK. It worked!
Why don't you try to format the columns as per your requirement and overwrite it your file with formatted columns? df.to_excel(<path to file>, index = False)
It's been 2 years but hope this helps, at least, it worked for me. If you have the country boundaries GeoJSON (Multipolygon Feature). You may use @turf import { featureEach, difference, buffer } from '@turf/turf'; const getInverseFeature = (featureCollection, distance) => { // Create a bounding box for the...
can someone explain why i am getting this error C:\Users\server\node_modules\razorpay\dist\razorpay.js:33 throw new Error('`key_id` is mandatory'); ^ Error: `key_id` is mandatory at new Razorpay (C:\Users\server\node_modules\razorpay\dist\razorpay.js:33:13) at Object....
null
I have the same issue on .net 8 V4 isolated Azure function app that uses cosmos db triggers. Works locally every time, when deployed it fails to trigger. I can see storage exceptions in kudu logs: ```"processUptime": 141524, "functionAppContentEditingState": "Unknown" } 2024-03-05T12:08:06 PID[4860] Error ...
null
Hope, This will help, you can try once. Step 1: Created a Animate segment Controller view struct AnimatedSegmentedControl: View { let items: [String] @Binding var selectedItemIndex: Int var body: some View { GeometryReader { geometry in HStack(spacing: 0) { ...
Bootstrap card not collapsing with other cards and merging with cards
|css|flexbox|bootstrap-5|
NextJS is a superset of React WITH new features and strategy of bundling/optimization. so all features has in React is applicable. you might want to read as well their [features][0] Happy Coding! [0]: https://nextjs.org/docs
the input is: [input of sample data](https://i.stack.imgur.com/akaB9.png) need output as: [enter image description here](https://i.stack.imgur.com/tyeiB.png) is this possible in just XL format or a python script is required. if yes can you help with python script? thanks. my script: my logic is read each ...
|python|input|numeric|reformat|
if you can change also `name` column : select * from sample1 where substring(name, 1, 1) between 'a' AND 'z' **if you have many records, using rpad my degrade performance**
1. Yes, any node is fine as the driver immediately knows the entire topology of the cluster as soon as it connects to the "contact points" to make the initial handshake 2. Connecting to multiple-datacenters via the same client is always a bad idea. The setup should be to connect the local region/datacenter based app...
I have this Accordion , and for some reason my transition not working on Accordion Item component. Please help me , I'm during learning process of React. CODE WITH CSS BELOW PS. Console log shows that onclick both classes with transtion are added , but not performing CSS ``` .accordion { display: flex; // just...
df filter is not filtering
|python|pandas|
When you want to add R packages to a new OS running R, you need to be aware of any underlying OS packages that are required. In this case, reading `sf`'s [`DESCRIPTION`](https://cran.r-project.org/web/packages/sf/index.html), we see ``` SystemRequirements: GDAL (>= 2.0.1), GEOS (>= 3.4.0), PROJ (>= 4.8.0), sqlite3 ...
null
I'm trying to build adb for ARM, but I couldn't find the adb folder in the platform_system_core repository at https://github.com/aosp-mirror/platform_system_core/tree/master. I've also tried cloning the official repository at https://android.googlesource.com/platform/system/core, but the adb folder does not exist there...
How can I build ADB ARM myself?
|android|adb|
null
The tooltip column needs to come after the column you intend to modify the tooltip for. It modifies the tooltip of the previous column, so moving the tooltip column to the end like this: data.addColumn('string', 'sdfgadfg'); data.addColumn('number', '2023'); data.addColumn('number', '2024'); data....
No, I don't have any examples of "open source" websites to share. Usually open source projects are open source because they want to accept community contributions, and if they're serious about receiving such contributions they're of course going to have a setup guide somewhere to get contributors started.
null
I am attempting to use Spatie to create a backup from a controller. It works correctly when I make a copy of only the files. However, an error occurs when I try to create a database copy. Interestingly, the file and database copies are created correctly from the console. I suspect the issue might be related to not h...
I am trying to pull data using urllib and tableau_api_lib to create PDFs based off of filtered data of a view within Tableau. I have THAT part working, but I need help with looping through the list of IDs to then create a dictionary (that is needed to create the PDF), then off of those parameters, create output that ch...
How to loop through list of values to then create PDFs in Python
|python|for-loop|pdf-generation|tableau-api|urllib|
null
Why does my WiFi connection code not work on Android 13?
{"Voters":[{"Id":2943403,"DisplayName":"mickmackusa"},{"Id":794749,"DisplayName":"gre_gor"},{"Id":1255289,"DisplayName":"miken32"}],"SiteSpecificCloseReasonIds":[11]}
I want to use FFDShow to upscale a stereo stream from one of the audio inputs on my computer using the PLII implementation. I can't seem to find any examples on how to use FFDShow with .net anywhere. I found this post from a guy that created a couple of projects, I written him but he haven't been online since 201...
Try using instead `<c-w>` (which is <kbd>Ctrl</kbd> + <kbd>W</kbd>) to erase words or `<c-u>` (<kbd>Ctrl</kbd> + <kbd>U</kbd>) to delete lines. See also [another answer](https://stackoverflow.com/a/73444171/22330192) below.
null
Try using instead `<c-w>` (which is <kbd>Ctrl</kbd> + <kbd>W</kbd>) to erase words or `<c-u>` (<kbd>Ctrl</kbd> + <kbd>U</kbd>) to delete lines.
This problem is often called 'assigning agents to tasks'. There are several algorithms that can solve this. I use the Ford-Fulkerson Maximum Flow Algorithm ( theory.stanford.edu/~tim/w16/l/l1.pdf ) The trick is, as always, adapting the algorithm to your particular constraints so that the max flow algorithm operates ...
I need help converting a column of 179 observations from an excel file that holds 2 variables (days and values). After i try converting the dataframe with ts(as.vector(a1dataraw['x'], the vector returns with start=1 but also end=1 when it should be 179? Can someone please identify where im going wrong? libr...
The ts() function in R is returning the correct start and frequency but not end value which is 1 and not 179
|r|basic|
null
<s>Most likely the `int32_t * SIZE` in the `malloc` call. If you use a bit-shift like `SIZE << 2` instead, your code should be much faster and more efficient.</s> OK, in all seriousness, `a_ptr`, `b_ptr`, and `c_ptr` are all separate blocks of memory. In your loop you are accessing one, then the other, then the othe...
Why don't you try to format the columns as per your requirement and overwrite your file with formatted columns? df.to_excel(<path to file>, index = False)
I'm having problem with a project of mine, I want to rotate an planet on it's orbit around the sun to a certain degree that comes from an equation. I'm looking for a way to rotate a planet withount a need of doing 360 classes in CSS just to change them everytime. That degree is calculated from latitude and the angle of...
problem with edge server registration in Eureka
|java|spring|docker|kubernetes|spring-cloud|
null
How to create matrix in Stata
I am attempting to download data from the OECD. When I run this code: oecd.cpi.url <- list( core=list(dataset='MEI', indicator='CPGRLE01'), all.items=list(dataset='MEI', indicator='CPALTT01') ) gbp.cpi <- get_dataset(oecd.cpi.url$all.items$dataset, fi...
I ran into a problem when I decided to make a server for microservices, but I ran into the problem that my microservice cannot register in Eureka, what could be wrong? ``` apiVersion: v1 kind: ConfigMap metadata: name: configmap data: foodcataloguedb_url: jdbc:postgresql://35.228.167.123:5432/foodcatalogue...