79474174

Date: 2025-02-27 23:42:23
Score: 1.5
Natty:
Report link

To answer your question, I need to divert a bit to frame the tooltip functionality in Deneb and how it relates to Vega. I have just read the documentation, and it is not particularly clear. I will probably need to fix that when I have some time available 😅

The tooltip handler option relates specifically to whether Deneb should use the Power BI-specific tooltip handler, which is explicitly written to provide an adapter for Power BI tooltips, which have their own API. Power BI tooltips only support two formats:

  1. Simple key/value pairs (standard tooltips)
  2. Report page tooltips (based on correct context)

If you disable the tooltip handler in Deneb but use tooltip functionality in your spec, Deneb will fall back to using the vega-tooltip handler. This can potentially include HTML rendering with some customization, but the vanilla handler is used. This handler will sanitize any HTML by default and require the integrating developer to write their own sanitization function to override it. As the current functionality stands, this also complies with the MS certification policy for custom visuals, which does not allow arbitrary HTML for security reasons.

It might be possible to implement something like how HTML Content (lite) handles a subset of HTML that MS regards as acceptable. This would not cover all cases but would be the best you could manage within a certified custom visual. You're welcome to create a feature request for this, and I can look at the complexity of how to do it. Just to manage your expectations, Deneb is developed and maintained for free in my free time, so I couldn't give a solid ETA around when such a feature could be implemented, but if folks want it, I can try to fit it into the roadmap.

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Daniel Marsh-Patrick

79474169

Date: 2025-02-27 23:38:22
Score: 4.5
Natty:
Report link

Closed as duplicate. Found solution from other user on stackoverflow.Tx

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user1982778

79474167

Date: 2025-02-27 23:38:22
Score: 3.5
Natty:
Report link

std::noshowpoint will work perfectly for you

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shantanu Telharkar

79474162

Date: 2025-02-27 23:33:21
Score: 1.5
Natty:
Report link

I have tried installing missing fonts but it does not work for me, but fortunately, changing the default font of Matplotlip helps. So I assume that installing the missing one is also possible:)

TRY:

import matplotlib.pyplot as plt 
plt.rcParams['font.family'] = 'DejaVu Sans'

to find out available fonts:

import matplotlib.font_manager

for font in matplotlib.font_manager.findSystemFonts(fontpaths=None, fontext='ttf'):
    print(font)
Reasons:
  • Blacklisted phrase (1): it does not work for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marcel

79474161

Date: 2025-02-27 23:31:20
Score: 6.5 🚩
Natty: 5.5
Report link

Anyone knows how to do this programmatically?

Reasons:
  • Blacklisted phrase (1): Anyone knows
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JASON HEIDENTHAL

79474153

Date: 2025-02-27 23:26:18
Score: 0.5
Natty:
Report link

Here is one solution using a custom function and the incredibly versatile gtsummary::add_stat() function:

library(gtsummary)

# Create custom function using gtsummary syntax to be used in add_stat(). 
# `variable` will represent all the columns in your dataframe passed to `tbl_summary()`.
# Hardcode the variable against which you want corr (in this case `mpg`)

fn_add_tau_and_p <- function(data, variable, ...) {
  t <- cor.test(data[[variable]], data[["mpg"]], method = "kendall")
  data.frame(`tau` = style_sigfig(t$estimate), `p` = style_pvalue(t$p.value))
  
}

# test individually
fn_add_tau_and_p(mtcars, "hp")
#>       tau      p
#> tau -0.74 <0.001

# Now use `add_stat()` to add your function to `tbl_summary()`

mtcars |>
  select(hp, disp, wt, mpg, gear) |>
  tbl_summary(
  ) |>
  add_stat(fns = all_continuous() ~ fn_add_tau_and_p)

Note: you can also use broom::tidy() within your custom function as an alternative, as per example 2 here.

add_stat_tau

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kittykatstat

79474141

Date: 2025-02-27 23:19:16
Score: 0.5
Natty:
Report link

Expo is a framework for React Native, they will both work with whatever auth solution you desire. Expo used to be very restrictive in what you could do with it (for example: it was very hard to integrate with native modules without ejecting).

But Expo has evolved greatly in the last few years, and now there are really few downsides to it.

In my opinion, go with Expo unless your requirements explicitly say otherwise.

Also, fyi, the main limitations of Expo nowadays are:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Douglas Silva

79474131

Date: 2025-02-27 23:11:11
Score: 0.5
Natty:
Report link

I had this issue with the file-type package https://www.npmjs.com/package/file-type

In my tsconfig, I have "module": "commonjs", in compilerOptions.

Based on the file-type readme, I needed to import this way using load-esm.

import { loadEsm } from 'load-esm'

const fileType = await loadEsm<typeof import('file-type')>('file-type')

This will require you to first install loadEsm.

yarn add load-esm
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ngood97

79474126

Date: 2025-02-27 23:10:10
Score: 1
Natty:
Report link

they can execute arbitrary code if the provided iterables containing objects with special methods

class EvilMethods:
    def __iter__(self):
        exec("import os; os.system('rm -rf /')") 
        return iter([])

max(EvilMethods()) // here we are executing arbitrary code
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sabya sachi

79474125

Date: 2025-02-27 23:10:10
Score: 1.5
Natty:
Report link

In my case, the copilot is required to allow the features on the https://github.com/settings/copilot page.

I just allowed the following points:

After that I uninstalled copilot, re-loaded the VS Code, installed again, again reloaded and everything works.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Алексей Малышев

79474115

Date: 2025-02-27 23:02:07
Score: 2.5
Natty:
Report link

I did this recently. Here's my DAX (as a Measure): RevenueLabel = VAR Rev = SUM('All Sales'[Revenue]) RETURN IF(Rev >= 1000000000, FORMAT(Rev / 1000000000, "0.0") & "bn", FORMAT(Rev / 1000000, "0") & "m" )

Added New Measure; Included an IF() as I was using both "bn" and "m"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Filler text (0.5): 000000000
  • Filler text (0): 000000000
  • Low reputation (1):
Posted by: Shannon Mieloch

79474111

Date: 2025-02-27 22:58:06
Score: 0.5
Natty:
Report link

I ran into this the other day, trying to make a min repro case. Read https://hexdocs.pm/ecto/getting-started.html carefully, You've likely missed a step.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Jason

79474109

Date: 2025-02-27 22:58:06
Score: 1.5
Natty:
Report link

I am a bit late but i think this is good approach (source: https://medium.com/@agentwhs/complete-guide-for-typescript-for-mongoose-for-node-js-8cc0a7e470c1)

mongoose Schema:

  gender: {
    type: Number,
    enum: [0, 1],
    default: 0,
    required: true
  },

TS enum:

enum Gender {
  Male = 1,
  Female = 0
}

Then use of virtual or method:

// Virtuals
UserSchema.virtual("fullName").get(function(this: UserBaseDocument) {
  return this.firstName + this.lastName
})

// Methods
UserSchema.methods.getGender = function(this: UserBaseDocument) {
  return this.gender > 0 ? "Male" : "Female"
}
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marek Javůrek

79474086

Date: 2025-02-27 22:40:02
Score: 1
Natty:
Report link

To fix the error, verify kubectl configuration to see if kubectl is correctly configured to access your cluster using:

kubectl cluster-info dump
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ralphyjade

79474083

Date: 2025-02-27 22:38:01
Score: 3
Natty:
Report link

The issue was caused by Gtranslate plugin. Unistalled and issue was resolved. With the plugin active and auto translation active the PageSpeed Best practice test was not passed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marco

79474082

Date: 2025-02-27 22:38:01
Score: 2
Natty:
Report link

marshalling is what we do on the walls of industrial sites where wiring terminates. There are rails with hundreds of terminals on them, wires from field instruments measuring process variables are terminated on the terminal blocks. From there the wiring is routed to one of dozens of control cabinets the signal is needed in.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jw oh well

79474080

Date: 2025-02-27 22:35:01
Score: 2.5
Natty:
Report link

The most voted answer by Nepomucen helped me but after each Mac restart I have to do it all over again. So, I modified Zsh configuration file

nano ~/.zshrc insert export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin/" save & restart terminal (probably there is an option to reload newly added path, was easier to just restart). Voila, docker command is recognized after each start up

Reasons:
  • Blacklisted phrase (1): I have to do
  • No code block (0.5):
  • Low reputation (1):
Posted by: kratnu

79474074

Date: 2025-02-27 22:31:59
Score: 10.5 🚩
Natty: 6
Report link

I'm running into the same issue trying to alter the request url. Did you ever find a fix?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a fix
  • RegEx Blacklisted phrase (1.5): fix?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: holydonuts

79474062

Date: 2025-02-27 22:24:58
Score: 0.5
Natty:
Report link

Had same issue, solution was to track something meaningful and unique in *ngFor, insead of index:

@for (article of articles(); track article.id; let index = $index)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Max Tuzenko

79474058

Date: 2025-02-27 22:20:57
Score: 0.5
Natty:
Report link

I have found a workaround for this by compensating the zoom in the map container by setting the zoom CSS property of the map to 100 / zoom, check live example here: https://codesandbox.io/p/devbox/quiet-fog-forked-yqdd6z

<Map
  defaultCenter={{ lat: 40.7128, lng: -74.006 }}
  defaultZoom={12}
  gestureHandling={"greedy"}
  reuseMaps
  disableDefaultUI
  mapTypeId={"hybrid"}
  nClick={handleMapClick}
  style={{ width: "100%", height: "600px", zoom: 100 / zoom }}
>
  {marker && (
    <Marker position={{ lat: marker.lat, lng: marker.lng }} />
  )}
</Map>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: El-habib Amazzal

79474054

Date: 2025-02-27 22:17:56
Score: 4.5
Natty: 5.5
Report link

If anyone reaches this question and still doesn't understand, read this article: https://medium.com/@adityamishra2217/understanding-supervisorscope-supervisorjob-coroutinescope-and-job-in-kotlin-a-deep-dive-into-bcd0b80f8c6f

For me it was quite enlightening.

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: smaudi

79474048

Date: 2025-02-27 22:16:56
Score: 1.5
Natty:
Report link

I believe what you are looking for is:

http-server.authentication.oauth2.principal-field 

Set this to "email" to map the principal to the user's email. You'll also need to add scopes: profile, email

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ken

79474045

Date: 2025-02-27 22:15:55
Score: 2
Natty:
Report link

Whatever was the issue, I'm using FakeItEasy 8.3.0 and it doesn't have the issue anymore. This works fine:

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Daniel Jonsson

79474044

Date: 2025-02-27 22:14:55
Score: 1.5
Natty:
Report link

var url = 'http://www.mymainsite.com/somepath/path2/path3/path4';

var pathname = new URL(url).pathname;

console.log(pathname);

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Silence Ceesay

79474040

Date: 2025-02-27 22:13:55
Score: 1.5
Natty:
Report link

So what happens if the instance version is 1.2 for example, can I still attach the VkPhysicalDeviceVulkan13Features struct to the pNext pointer?

No.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: solidpixel

79474027

Date: 2025-02-27 22:07:53
Score: 1
Natty:
Report link

For Sabre Password reset for agencies and Airline contact [email protected] [email protected]

For Create New Sabre EPR ID Contact [email protected] For Sabre Password reset for agencies and Airline contact [email protected] [email protected] For Create New Sabre EPR ID Contact [email protected]

It is advise to contact Sabre helpdesk at [email protected] For webservices Api IPCC Contact [email protected]

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RAHUL WARMA

79474023

Date: 2025-02-27 22:05:52
Score: 1
Natty:
Report link

Code for the latest version of the Mobile Ads SDK (iOS) as of February 2025 (v 12.0.0) :

print("Admob version:" + string(for: MobileAds.shared.versionNumber))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Young Lee

79474020

Date: 2025-02-27 22:04:52
Score: 1.5
Natty:
Report link

a small variant, you can put this in your vscode settings.json

{
  "workbench.editor.customLabels.patterns": {
    "**/index.{ts,tsx,js,jsx}": "${dirname} - index"
  },
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arnaud Kandala

79474019

Date: 2025-02-27 22:04:52
Score: 0.5
Natty:
Report link

That seems like a reasonable approach to me. There is a related example at https://docs.adaptavist.com/sr4jc/latest/features/behaviours/example-behaviour search on "required" The execution log of the Behaviour should give some idea of any impacts.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: mdoar

79474014

Date: 2025-02-27 22:01:51
Score: 1
Natty:
Report link

First of all, these two articles contain everything that was necessary to guide me to the answer:

Everything written here applies to the new UpCloud Object Storage, not the one labeled EOL.

Before connecting FileZilla to your UpCloud S3 instance, that instance of course must be created in the UpCloud Object Storage Management page and have a user attached to it. That's the easy part, UpCloud provides extensive docs to this end.

On creating an Object Storage instance, a subdomain is generated (e.g. a1234) on upcloudobjects.com.
On creating the user, an Access Key ID and a Secret Access Key are generated.

Below are the UpCloud Object Storage parameters used in the following example. Replace them with the actual parameters from your instance.

Note that a1234 in all examples must be replaced with the actual subdomain name of your instance.

Preparing Filezilla

1. Adding the UpCloud S3 Provider to FileZilla

FileZilla must know about our UpCloud provider. Open Edit > Settings, select Transfers > S3:Providers.

  1. Add a new provider and give it a name ('UpCloud a1234' or whatever name is apt);
  2. add the region (in this example: europe-1, description EUROPE-1, endpoint a1234.upcloudobjects.com, without https://);
  3. for 'Catch all' provide the value .a1234.upcloudobjects.com (note the dot at the front);
  4. for 'Format' provide the value %(bucket)s.a1234.upcloudobjects.com;
  5. save (click OK).

2. Setting FileZilla S3 Transfer options

Before adding any objects to the store, a few options must be set that apply to all objects in the store. Not sure about it, but it appeared that these options only take effect on objects that were added after the options were set.

Often objects must be accessible for everyone, like static resources, images etc. for a website. So we want the whole world to have read access to our objects.

In Filezilla:

(Or choose other values where appropriate for your application.)

Now when a new file is added to the store these settings will always be applied to it.

Storage classes and ACLs (predefined sets of often needed permissions) are common S3 knowledge, widely available on the web.

3. Add an entry for the Object Store in FileZilla Site Manager

  1. Click 'New Site', and give it a fancy name;
  2. For Protocol select S3 - Amazon Simple Storage Service;
  3. For Host enter a1234.upcloudobjects.com (NO dot up front, replace a1234 with your actual subdomain);
  4. Select Logon Type 'Normal';
  5. Enter Access Key ID and Secret Access key ID in their respective fields;
  6. Click 'OK' to save.

Now next time when you select this connection (maybe approve the connection for the first time) and click 'Connect' you will see your buckets listed under 'Remote Site' and you can start adding files.

Hope it helps. As of this writing I couldn't find any resources.

It is very well possible that these instructions are not entirely correct or complete, so any suggestions, corrections or additions to this answer are more than welcome.

Reasons:
  • Blacklisted phrase (1): guide me
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (2): any suggestions
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Richard Osseweyer

79474011

Date: 2025-02-27 21:59:51
Score: 3.5
Natty:
Report link

Did you try whether ISBLANK() is available in your Excel? enter image description here

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: ThxAlot

79474003

Date: 2025-02-27 21:57:51
Score: 1
Natty:
Report link

I've been wondering the same thing myself, the passwords logically are to encrypt/decrypt files depending on the operation you're performing. e.g. when doing genrsa, you're encrypting the output file, the private key.

In other examples, perhaps generating a certificate from a CSR you need to decrypt the input file (the private key) with a password. I can't think of any concrete examples of which commands would require decrypting the input file and encrypting the output file but I think the passin, passout arguments have been separated to facilitate this.

To conclude:

passin - password to decrypt the input file

passout - password to encrypt the output file

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: dktrfrd0

79474002

Date: 2025-02-27 21:57:51
Score: 0.5
Natty:
Report link

There are many variations on this, but this one works across all media queries and formatting.

input[type=date].form-control {
    flex-grow: 0;
    flex-basis: 100px;
    max-width:150px;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Informitics

79474001

Date: 2025-02-27 21:56:50
Score: 1.5
Natty:
Report link

Any help debugging would be greatly appreciated

Programming Verilog code into an FPGA is a methodology with several steps, but you are skipping some of them:

I see some potential problems in the Verilog code snippet that you posted into the question:

Nonblocking assignments should be used to model sequential logic. Using blocking assignments there will likely cause Verilog simulations to produce unexpected results.

You should make yourself familiar with synthesizable good practices. Your FPGA toolchain documentation might have some good guidelines.

You should simulate the Verilog code before synthesis, if you are not already doing so. You need to create a Verilog testbench if your toolchain does not create one for you. You need to drive the inputs with some basic patterns and look at waveforms of your outputs to make sure they behave as expected.

After you synthesize the code for the FPGA, you must review all the synthesis reports. Check for error and warning messages. Sometimes these are buried, so you might need to go looking for them.

for loops seem to not be synthesizable on the FPGA

That is one possibility. Another possibility is that you have a syntax error in your for loops. It is much simpler to debug syntax errors in simulation.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help debugging would be greatly appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: toolic

79474000

Date: 2025-02-27 21:56:50
Score: 2.5
Natty:
Report link

XWZ's answer helped me too. Thanks.

Thought it was worth adding the compatibility chart here: https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html

I was using Scala 2.13.0, but using JDK 17, so got the error. Once I switched to JDK 8, REPL worked fine

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Maaddhu Mikkili

79473999

Date: 2025-02-27 21:56:50
Score: 1
Natty:
Report link

The other answers did not work for me. But the following solved the issue.

conda install -c conda-forge libstdcxx-ng --update-deps

Make sure to run the command above in your desired environment.

You can verify that GLIBCXX_3.4.32 is now supported using the following

strings ~/anaconda3/envs/YOUR_ENV/lib/libstdc++.so.6 | grep GLIBCXX_3.4.3

If you see GLIBCXX_3.4.32 listed, your code will work. (My specific case was importing the python library sounddevice.)

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: User15239563

79473989

Date: 2025-02-27 21:50:49
Score: 2.5
Natty:
Report link

I did find a solution to the problem. (1) When creating an editor, set the fixedOverflowWidgets property to false in the options parameter and (2) in the div defined to hold the editor, set the overflow CSS style property to 'visible'.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mjswan

79473988

Date: 2025-02-27 21:49:48
Score: 0.5
Natty:
Report link

Here is a simple 1 line answer for jQuery.

$('#sourceID').on('dragstart',function(e) {e.originalEvent.dataTransfer.setData('text/plain',$(this).text())});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Cymro

79473985

Date: 2025-02-27 21:45:47
Score: 0.5
Natty:
Report link

Common Causes

  1. Node.js is not installed properly – Installation may be incomplete or corrupted.

  2. Environment variables are not set correctly – The system might not be locating Node.js.

  3. npm is outdated or missing – The npm installation could be corrupted.

  4. Multiple versions of Node.js causing conflicts – Older versions might be interfering.

  5. Command Prompt/Terminal needs a restart – The session may not be updated with the correct path.

Troubleshooting Steps

  1. Verify Node.js Installation

Run the following command to check if Node.js is installed:

node -v

If this returns an error, reinstall Node.js from nodejs.org.

  1. Check npm Version

Ensure npm is installed correctly by running:

npm -v

If npm is missing, reinstall Node.js or install npm separately using:

npm install -g npm

  1. Check and Update Environment Variables (Windows)

Open System Properties → Advanced → Environment Variables.

Locate Path under System variables.

Ensure it contains the correct Node.js path (e.g., C:\Program Files\nodejs).

If missing, add it manually and restart the terminal.

  1. Use nvm (Node Version Manager)

If you have multiple Node.js versions, use nvm to manage them:

nvm use stable

  1. Restart the Terminal or System

After making changes, restart your terminal or system for the settings to take effect.

If this not works you can check: https://www.codercrafter.in/blogs/nodejs/npm-not-recognizing-node-despite-path-being-correct

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Himanshu Raj

79473979

Date: 2025-02-27 21:38:46
Score: 2.5
Natty:
Report link

running docker system prune -a and then building a new image seemed to fix this issue.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: nobrac

79473972

Date: 2025-02-27 21:30:45
Score: 4.5
Natty: 4
Report link

There is a recent review of four choices for packaging Ruby binary distributions

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: maxirmx

79473959

Date: 2025-02-27 21:22:43
Score: 3
Natty:
Report link

I tried a lot of commands from chatgpt but nothing worked for me. So I turned off my windows defender for a while and intalled latest version on composer and it worked.

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Haseeb Hashmi

79473950

Date: 2025-02-27 21:18:42
Score: 1
Natty:
Report link

Here's a list of common cryptocurrency version bytes (address prefixes):

Bitcoin (BTC): 0x00 (Mainnet), 0x6F (Testnet) Bitcoin Cash (BCH): 0x00 (Mainnet), 0x6F (Testnet) Litecoin (LTC): 0x30 (Mainnet), 0x6F (Testnet) Ethereum (ETH): 0x00 (Mainnet), 0x00 (Testnet, but different for tokens) Ripple (XRP): 0x00 (Mainnet) Monero (XMR): 0x12 (Mainnet), 0x8B (Testnet) Dash (DASH): 0x4C (Mainnet), 0x8C (Testnet) Zcash (ZEC): 0x1C (Mainnet), 0x1D (Testnet) Dogecoin (DOGE): 0x1E (Mainnet), 0x71 (Testnet) Bitcoin SV (BSV): 0x00 (Mainnet), 0x6F (Testnet) Reference : Bitcoin Core GitHub Bitcoin's Bitcoin Improvement Proposals (BIPs)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Coinfomania

79473949

Date: 2025-02-27 21:17:42
Score: 1
Natty:
Report link

I'm earch in google next:

python win32serviceutil.HandleCommandLine() [SC] StartService FAILED 1053:The service did not respond to the start or control request in a timely fashion.

Helped links:

Solution

I Step

Launched the console as an administrator

Installed pywin32 globally and locally within the project (.venv).

pip install pywin32

Then check installed package in C:\Python\Python313\Lib\site-packages

II Step

From C:\Python\Python313\Scripts run

python C:\Python\Python313\Scripts\pywin32_postinstall.py -install

III Step

Go to own python project with service

C:\Users\Projects\services>python win_service2.py --startup=auto install

This command displayed

Installing service MyWinSrv2
moving host exe 'C:\Python\Python313\Lib\site-packages\win32\pythonservice.exe' -> 'C:\Python\Python313\pythonservice.exe'
copying helper dll 'C:\Python\Python313\Lib\site-packages\pywin32_system32\pywintypes313.dll' -> 'C:\Python\Python313\pywintypes313.dll'
Service installed

That's it!

Service commands

python win_service2.py --startup=auto install
python win_service2.py start
python win_service2.py stop
python win_service2.py remove
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andrey Kogut

79473940

Date: 2025-02-27 21:12:41
Score: 1.5
Natty:
Report link

I found a solution to my issue, and I want to share it in case someone else encounters the same problem in the future.

The key was to define a field with a search method in the model. Since store=False fields cannot be used directly in domain filters, I implemented a custom search function to map user_country_id to country_id.

Add this field to the model

user_country_id = fields.Many2one(
    'res.country', string="User Country",
    store=False, search="_search_user_country"
)

def _search_user_country(self, operator, value):
    """Defines how `user_country_id` is used in domain searches"""
    return [('country_id', operator, self.env.user.country_id.id)]

Then, modify the view’s domain condition like this:

<field name="domain">[('user_country_id', '=', 1)]</field>
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: japs

79473931

Date: 2025-02-27 21:06:39
Score: 1.5
Natty:
Report link

const arr = ['a', 'b', 'c', 'd', 'e']

const dynamic = 3
//remove from the last of the array dynamically
//I know I can pop an element from an array in javascript 
//removes from the last 
const pop = arr.pop(3) 
console.log(arr)
Cancel

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: Ant P

79473915

Date: 2025-02-27 20:57:37
Score: 3
Natty:
Report link

Azure Artifacts does not support displaying images embedded in the package, sorry.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jonathan Myers

79473897

Date: 2025-02-27 20:49:35
Score: 4
Natty: 5
Report link

my email is blocked can you fix it [email protected]

thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: maurice

79473886

Date: 2025-02-27 20:42:33
Score: 3.5
Natty:
Report link

Install bridge virtual box wmare. I stall windows Linux install Apache. Obtain public IP DNS. Open port router.make probably best selection. By alxdefm.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: User

79473881

Date: 2025-02-27 20:40:32
Score: 1
Natty:
Report link

Heyo, I had the same thing going on earlier today. After I did some more googling, I found that devklepacki gave a good solution in this forum post. It has been working for me, hope it works for you as well!!!

Reasons:
  • Whitelisted phrase (-1): hope it works
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: emifervi

79473879

Date: 2025-02-27 20:39:31
Score: 10.5 🚩
Natty: 4.5
Report link

Did you get around the error: Error: Encountered an error (InternalServerError) from host runtime. I am having same problem and wondering if you have any suggesiton for me?

Reasons:
  • RegEx Blacklisted phrase (3): Did you get
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having same problem
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Atin Kapoor

79473877

Date: 2025-02-27 20:39:31
Score: 0.5
Natty:
Report link

You can find the steps to edit the host settings in the host.json file using the Azure portal in the following product documentation:

Edit host and app settings for Standard logic apps

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Esther Fan - MSFT

79473867

Date: 2025-02-27 20:33:30
Score: 3
Natty:
Report link

The secret (could not find it documented anywhere) is to add CompilerOptions paths to tsconfig.node.json and tsconfig.app.json as well as tsconfig.json. Then the app compiles and runs succesfully

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeff

79473866

Date: 2025-02-27 20:32:29
Score: 1.5
Natty:
Report link

Problem I encounter when §I use primitive, I can not display more than 1 element... then I find a better way: https://drei.docs.pmnd.rs/loaders/gltf-use-gltf#gltf-component

function Model() {
    return <Gltf src="https://thinkuldeep.com/modelviewer/Astronaut.glb" />;
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Heero Yui

79473858

Date: 2025-02-27 20:26:28
Score: 1.5
Natty:
Report link

In my case the MainActivity.kt was completely missing. Therefore it helped to recreate the folder structure entirely:

flutter create .
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: wolwe

79473855

Date: 2025-02-27 20:25:28
Score: 0.5
Natty:
Report link

A work around could be to use the model name feature.

model = tf.keras.models.Sequential([tf.keras.layers.Dense(10,activation='relu',input_shape=(100,))],name='This model trained with 1000 dogs/cats images')

I think the limit on the name string is 1024 characters...

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dusty_keyboard

79473852

Date: 2025-02-27 20:24:28
Score: 0.5
Natty:
Report link

I have a table that shows this on my blog.

CIAM = Entra External ID.

I've copied the table here for easy reference:

enter image description here

The notes and further info. are in the post.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: rbrayb

79473842

Date: 2025-02-27 20:18:26
Score: 1
Natty:
Report link

Also this solution works fine

CREATE TABLE mytable (
    ID bigint NOT NULL AUTO_INCREMENT,
    Caller varchar(255) NOT NULL unique,
    Name varchar(255) NOT NULL unique,
    PRIMARY KEY (ID));

ALTER TABLE `mytable` ADD UNIQUE `unique_index`(`Name`, `Caller`);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: elbarna

79473835

Date: 2025-02-27 20:14:25
Score: 2.5
Natty:
Report link

How I can add sub tabs under Tab1 and Tab2. SO that when we click either on Tab1 or on Tab2, further sub tabs appear under them. And those sub tabs are also detachable and retachable.

I tried many things, with no success.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): How I can add
  • Low reputation (1):
Posted by: Arslan Adeel Ur Rehman

79473821

Date: 2025-02-27 20:10:24
Score: 0.5
Natty:
Report link

Anna, Sorry but its either a group resource (e.g. "electricians" at XXX% representing the number of electricians in the group), or it's individual resources (e.g. Joe, Linda, Jack, etc.).

The best you can do with a group resource is to set up a calendar representing time off that is common to all members (e.g. holidays). With individual resources you can of course identify individual time off periods in their resource calendar (e.g. vacation, sick, etc.).

So, if you want/need to track who's available when, you will need to use individual resources and assign them individually to tasks. Remember, you can still use Project's leveling feature to help alleviate overallocation.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: john-project

79473818

Date: 2025-02-27 20:08:24
Score: 5
Natty:
Report link

With transition attributes you can influence the solver to prioritize nearby visits. However the solver takes into account all parameters you use to influence the solution on top of route conditions including traffic. Sometimes the best solution will include some overlaps if those result in better final routes.

Can you please give it a go to transition attributes as defined in the article below and provide feedback on the result?

https://developers.google.com/maps/documentation/route-optimization/prioritize-nearby-visits

There's also a Google Maps Discord server with multiple channels in case you want to join! https://discord.gg/p68Pem7PzR

Best regards, Caio

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (2.5): Can you please give
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: caio1985

79473812

Date: 2025-02-27 20:06:23
Score: 1
Natty:
Report link

The only thing that worked for me is tskill.exe $YOUR_PROCESS_ID$.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: one_teach_wonder

79473805

Date: 2025-02-27 20:01:22
Score: 1.5
Natty:
Report link

requestType: 'USB_REQUEST_TYPE_VENDOR',
recipient: 'USB_RECIPIENT_DEVICE',
SetupParam setup = SetupParam( requestType: 'USB_REQUEST_TYPE_VENDOR', // Check guide for correct type recipient: 'USB_RECIPIENT_DEVICE', // Likely correct, but confirm request: 0x05, // Example: Update with the correct request from guide value: 0x0001, // Check if this needs a specific value index: 0x0000, // Check if this needs to target a specific endpoint );

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Saddam Sheikh

79473793

Date: 2025-02-27 19:57:21
Score: 1
Natty:
Report link

As no one answered this I racked my brains a little more and investigated the CatLog logs and discovered that the problem was a TaskManager for startLocationUpdatesAsync that was initialized inside a component, moving the initialization outside solved it for me.

Tip: Look at the logs, my log didn't have an indication of what it was, but the previous logs showed me what it could be, and the time periods that the error occurred (30 seconds specifically) indicated what it was. Sometimes the log itself can show for example how when the problem is with react-native-reanimated the logs will have a reference to com.swmansion.reanimated

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Carlos Curcino

79473792

Date: 2025-02-27 19:57:21
Score: 2.5
Natty:
Report link

With GNU bash and its Parameter Expansion:

str='Please help me do my homework !!!'
echo "${str:0: -4}"

Output:

Please help me do my homework
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Cyrus

79473784

Date: 2025-02-27 19:55:21
Score: 3
Natty:
Report link

Ahh. I think I found a solution from here.

I would drop the last n characters by

${var%????}

Reasons:
  • Blacklisted phrase (1): ???
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Redshoe

79473782

Date: 2025-02-27 19:54:20
Score: 2.5
Natty:
Report link

In general, I really had everything worked out with non-minified version of the library file, but as it turned out the images from which I wanted to get information were protected from the function of working with pixels through CORS. The only thing that I managed and that works at the moment is transferring the functionality into a background script and connecting the library file as a background script.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Araders

79473765

Date: 2025-02-27 19:44:18
Score: 3.5
Natty:
Report link

How can I crop a live video stream from camera because I’m using stabilization algorithm that is causing blurry screen edges when camera move. I’m using NVIDIA with a machine learning code for detect & track objects.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Falcon

79473764

Date: 2025-02-27 19:44:18
Score: 6.5 🚩
Natty: 4.5
Report link

@user3310573 Were you able to get this to work? We have a similar need for spring application to retrieve credentials from CyberArk the same way you did. Appreciate you sharing what you did to get it work

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @user3310573
  • Low reputation (1):
Posted by: Ramkumar Thirumangalam

79473762

Date: 2025-02-27 19:43:17
Score: 1
Natty:
Report link

I can't find table variable in your code. Is it global variable?

After removing the code, I was able to run your code successfully and toggling works as well.

    table.updateOptions({
      editable: !isLocked,
      selectable: !isLocked
    });

Please take care of this.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: bluestar

79473761

Date: 2025-02-27 19:43:17
Score: 4
Natty: 4
Report link

I WANT o be able to assign aninteger to poiner-defined vars. it allows me to do fancy efficient algotihms, C++ is and should be an extention of C !!!!!!!! not Python or java !!!!!!! Do not stagger creativity. Not everything is already inventeded !!!

Reasons:
  • RegEx Blacklisted phrase (1): I WANT
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): !!!!!!!!
  • Low reputation (1):
Posted by: user29651458

79473757

Date: 2025-02-27 19:41:16
Score: 0.5
Natty:
Report link

The reason the container didn't start is because in .NET 8, the container default port changed to 8080. I had to add PORT=8080 in Azure environment variables. After that, everything worked fine.

What's new in containers for .NET 8? The default port also changed from port 80 to 8080. To support this change, a new environment variable ASPNETCORE_HTTP_PORTS is available to make it easier to change ports. The variable accepts a list of ports, which is simpler than the format required by ASPNETCORE_URLS. If you change the port back to port 80 using one of these variables, you can't run as non-root.

Source: https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-8/containers

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nathan van Jole

79473756

Date: 2025-02-27 19:41:16
Score: 2
Natty:
Report link

LiveCode can create either a Universal Mac app or a Native Silicon app, or a Native Intel app, you have the option to choose when building the standalone app. It will also build Windows/Linux apps in 32bit or 64 bit.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Paul

79473753

Date: 2025-02-27 19:40:16
Score: 3.5
Natty:
Report link

At the moment, I am thinking of using PTY but I am not sure how to attached the slave PTY to a serial port. I'd appreciate if someone show me some example.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hoaicnguyen

79473751

Date: 2025-02-27 19:39:16
Score: 5.5
Natty: 5.5
Report link

Estou com um problema semelhante. Compartilhe a solução para o seu caso, por favor

Reasons:
  • Blacklisted phrase (2): solução
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jadirpuppin

79473750

Date: 2025-02-27 19:39:15
Score: 0.5
Natty:
Report link

Instead of breaking it into separate subfigures, create a single mosaic for the whole figure:

import matplotlib.pyplot as plt

def test():
    fig, axes = plt.subplot_mosaic(
        [
            ["A", "A", "A", "A", "A", "A"],
            ["A1", "1", "2", "3", "B1", "C1"],
            ["A2", "4", "5", "6", "B2", "C2"],
            ["A3", "7", "8", "9", "B3", "C3"],
            ["B", "B", "B", "B", "B", "B"],
            ["C", "C", "C", "C", "C", "C"],
        ],
        width_ratios=[1.0, 0.5, 0.5, 0.5, 1.0, 1.0],
        height_ratios=[1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
        figsize=(20, 20),
        layout="constrained",
    )

    for ax_name, ax in axes.items():
        ax.set_title(ax_name)

    fig.savefig('test.png')

test()

Figure

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: newstudent

79473733

Date: 2025-02-27 19:33:14
Score: 2.5
Natty:
Report link

The last index in your [2:4] slice is not inclusive. This means slicing your string like that will result in '06'.

If you want '068', you need to take the [2:5] slice.

Then, converting to a float using float('068') should give you 68.0.

I don't get why slicing your string using the [2:5] slice would return '068;'. I've tried it in my interpreter and it really only returns '068'.

Are you sure that you are using the right slices?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: TrickyTroll

79473732

Date: 2025-02-27 19:33:14
Score: 0.5
Natty:
Report link

Instead of specifying the Authorization header, you can try selecting the respective advanced parameter

Advanced parameters

and using the Basic authentication type there:

Basic autentication type

Make sure that the URI and the Method (GET?) are correct.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: 10p

79473730

Date: 2025-02-27 19:32:13
Score: 4.5
Natty:
Report link

Need to tallk to stackexchange team.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29828320

79473723

Date: 2025-02-27 19:29:13
Score: 3.5
Natty:
Report link

I finally fixed my issue. Problem was on shouldNotFilter method. I renamed my endpoints and forgot to update there also. :(

All configuration was correct indeed. Thanks for all answers and help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): :(
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rafael Barioni

79473718

Date: 2025-02-27 19:27:12
Score: 2
Natty:
Report link

Open map, get the page source and search for this regex:

latitude\\":[-]*\d+.\d+,\\"longitude\\":[-]*\d+.\d+

Extract numbers and you have your coordinates.

Map view

Same location in Google Maps

Source code in Sublime Text

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lubomyr Pryt

79473717

Date: 2025-02-27 19:27:12
Score: 0.5
Natty:
Report link

The example in https://eidivandiomid.medium.com/diagram-as-code-using-structurizr-c41f6dd0738f worked for me. I'm rendering using the docker Structurizr lite.

I must say, if you are using the C4 DSL extension in VS Code, it will mark errors in all the other dsl files, complaining of a missing "workspace" token. something similar to:

Unexpected tokens (expected: workspace) at line 1 of your path\otherfile.dsl: Product = softwareSystem "Product System" {

but the files are correctly rendered by the server.

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alex Ramirez

79473700

Date: 2025-02-27 19:19:10
Score: 9 🚩
Natty:
Report link

Did you find an answer to this? I have tried many things to get Puppeteer to run on Vercel but with no luck.

Reasons:
  • Blacklisted phrase (1): answer to this?
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (3): Did you find an answer to this
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find an answer to this
  • Low reputation (1):
Posted by: frederikw

79473694

Date: 2025-02-27 19:17:09
Score: 1.5
Natty:
Report link

this is great. really helped me. Could not get it otherwise.

The reason this works is all projects are given the default name VBAProject in all workbooks

Excel needs a different project name in your .xlam file to be able to distinguish where the functions are held.

You have to save with the new project name and re-install into the reference files as in the answer.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brian Ganly

79473689

Date: 2025-02-27 19:15:08
Score: 6 🚩
Natty: 5.5
Report link

Any recommendations for .net users?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29828120

79473688

Date: 2025-02-27 19:15:07
Score: 3
Natty:
Report link

I upgraded Visual Studio from v17.12.3 to v17.13.2. That fixed the problem. Please don't ask me what caused it.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: goofy4224

79473687

Date: 2025-02-27 19:14:07
Score: 1
Natty:
Report link

Maybe in a scenario where the existing codebase isn't already async-ified, as that can be a hassle because it often requires making many things async.

Otherwise, it's probably best to use asyncio over threads:

Why do we need asyncio? Processes are costly to spawn. So for I/O, Threads are chosen largely. We know that I/O depends on external stuff - slow disks or nasty network lags make I/O often unpredictable. Now, let’s assume that we are using threads for I/O bound operations. 3 threads are doing different I/O tasks. The interpreter would need to switch between the concurrent threads and give each of them some time in turns. Let’s call the threads - T1, T2 and T3. The three threads have started their I/O operation. T3 completes it first. T2 and T1 are still waiting for I/O. The Python interpreter switches to T1 but it’s still waiting. Fine, so it moves to T2, it’s still waiting and then it moves to T3 which is ready and executes the code. Do you see the problem here?

T3 was ready but the interpreter switched between T2 and T1 first - that incurred switching costs which we could have avoided if the interpreter first moved to T3, right?

http://masnun.rocks/2016/10/06/async-python-the-different-forms-of-concurrency/

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: bwdm

79473683

Date: 2025-02-27 19:11:06
Score: 1
Natty:
Report link

Use tskill.exe $YOUR_PROCESS_ID$. It worked when other commands didn't.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: one_teach_wonder

79473681

Date: 2025-02-27 19:10:05
Score: 8.5 🚩
Natty:
Report link

I'm experiencing this exact thing. Anyone find a fix?

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1.5): fix?
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Corey Smith

79473674

Date: 2025-02-27 19:05:04
Score: 1.5
Natty:
Report link

Copied from: https://stackoverflow.com/a/79473620/8216122 simply call: string sIP = await GetClientIP.ClientIP();

using System.Net.Sockets;
using System.Net;
    
public static class GetClientIP
{
    private static HttpContext _httpContext => new HttpContextAccessor().HttpContext;
    public static async Task<string> ClientIP()
    {
        string sClientIP = String.Empty;
        IPAddress? ip = _httpContext.Connection.RemoteIpAddress;
        if (ip != null) {
            if (ip.AddressFamily == AddressFamily.InterNetworkV6) {
                ip = Dns.GetHostEntry(ip).AddressList.FirstOrDefault(x => x.AddressFamily == AddressFamily.InterNetwork);
            }
            sClientIP = ip.ToString();
        }
        return sClientIP;
    }
}
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Richard Mneyan

79473670

Date: 2025-02-27 19:04:03
Score: 1.5
Natty:
Report link

It worked for me too after changing angular.json

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bharath B

79473660

Date: 2025-02-27 18:57:02
Score: 2.5
Natty:
Report link

I found a fix. All I had to do is apply the DynamicLinqType attribute to the enum definition.

Reasons:
  • Whitelisted phrase (-1): I found a fix
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mkedwards

79473638

Date: 2025-02-27 18:49:00
Score: 1.5
Natty:
Report link

We prefer using https://www.npmjs.com/package/use-state-handler, similar functionality to zustand, but for our team it has been easier to modularize, maintaining flexibility.

Here you can define your own setter (using provided setState) for comparison or what you need.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Felipe Rodriguez Herrera

79473602

Date: 2025-02-27 18:35:57
Score: 0.5
Natty:
Report link

I made a version of @Scepticalist code to run through a list of functions and show the progress of their total execution:

Add-Type -AssemblyName System.Windows.Forms

# These 3 functions will be called in sequence
function Function1 {
    param ($param1, $param2)
    Write-Host "Executing Function 1 with parameters: $param1 and $param2"
    Start-Sleep -Seconds 1
}

function Function2 {
    param ($msg)
    Write-Host "Executing Function 2 with argument: $msg"
    Start-Sleep -Seconds 1
}

function Function3 {
    param ($msg)
    Write-Host "Executing Function 3 with argument: $msg"
    Start-Sleep -Seconds 1
}

# Array with the names of the functions that will be called
$functions = @("Function1", "Function2", "Function3")
$totalFunctions = $functions.Count

$form = New-Object System.Windows.Forms.Form
$form.Text = "Processing"
$form.Size = New-Object System.Drawing.Size(400, 200)
$form.FormBorderStyle = 'Fixed3D'
$form.ControlBox = $false
$form.StartPosition = "CenterScreen"

$ProgressBar = New-Object System.Windows.Forms.ProgressBar
$ProgressBar.Minimum = 0
$ProgressBar.Maximum = $totalFunctions
$ProgressBar.Location = New-Object System.Drawing.Size(10, 80)
$ProgressBar.Size = New-Object System.Drawing.Size(300, 20)
$form.Controls.Add($ProgressBar)

$form.Show()

# Call each function and update the progress bar
for ($i = 0; $i -lt $totalFunctions; $i++) {
    & $functions[$i] "FirstParameter" "SecondParameter"
    $ProgressBar.Value = $i + 1
}

$form.Dispose()
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Scepticalist
  • Low reputation (1):
Posted by: fgiacomel

79473600

Date: 2025-02-27 18:34:57
Score: 3.5
Natty:
Report link

It's a duplicated of: Problem with VScode automatic uninstalled extension (Material theme)

There is the solution to your problem!

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Bruno Freire

79473579

Date: 2025-02-27 18:22:54
Score: 7 🚩
Natty:
Report link

Thank you for your help, it seems to work well !!!

Just one thing, when i use css it is working only for single_product_brand and not loop_product_brand. Can you help ? Maybe adding something in div area ?

CSS i used: .product_brand a { font-size: 13px; font-weight: bold }

thank you for your time, much appreciated !

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): appreciated
  • Whitelisted phrase (-0.5): Thank you for your help
  • RegEx Blacklisted phrase (3): Can you help
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bijouterie LUCKY ONE

79473565

Date: 2025-02-27 18:15:52
Score: 1
Natty:
Report link

So I FINALLY got the solution. I used the between operator, but instead of using "m" for the interval and Now() for the date, I used DateInterval.Month and Today(). Not sure why that mattered, but it is now working!

Here is the exact syntax:

[MonthVariable]
Between
    =DateAdd(DateInterval.Month,-3,Today()) =DateAdd(DateInterval.Month,-1,Today())
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: chemman14

79473563

Date: 2025-02-27 18:13:51
Score: 1
Natty:
Report link

As stated in the comments by @Ayush Mhetre the correct answer is to remove the return statement on the same line as the res.status().json() and put it AFTER the call to the response object

So, for ANY Express app it should be

router.get("/", (req: Request, res: Response) => {
    res.status(200).json({});
    return;
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Ayush
  • Low reputation (0.5):
Posted by: Kearney Taaffe

79473558

Date: 2025-02-27 18:10:51
Score: 2.5
Natty:
Report link

We prefer using https://www.npmjs.com/package/use-state-handler, similar functionality to zustand, but for our team it has been easier to modularize, maintaining flexibility.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Felipe Rodriguez Herrera

79473552

Date: 2025-02-27 18:06:49
Score: 8 🚩
Natty:
Report link

Having the same problem, have u found anything?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Xerox101