79299069

Date: 2024-12-21 08:14:15
Score: 4.5
Natty:
Report link

If anyone is still looking for a solution, I created this template based on Harshal Patil's answer

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

79299057

Date: 2024-12-21 08:01:12
Score: 4
Natty:
Report link

I can't comment, so this is my only way to respond...

Have you tried using other resources? For example using Google Collab/AWS. Both are free depending on how much you are using. I could help you set it up if you would like

Just an idea?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Explants

79299050

Date: 2024-12-21 07:55:09
Score: 4
Natty:
Report link

356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 33333333333333333333333333333
  • Low entropy (1):
  • Low reputation (1):
Posted by: user28879738

79298979

Date: 2024-12-21 06:30:52
Score: 4.5
Natty: 4
Report link

When I was young I also failed to get head.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Johhny

79298973

Date: 2024-12-21 06:22:50
Score: 4
Natty: 5
Report link

Thanks a lot. In my case, nltk version 3.8.1 worked after following your advice.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jason SJ Yim

79298940

Date: 2024-12-21 05:47:40
Score: 7.5 🚩
Natty:
Report link

Iam also looking for similar thing for different json file.

So, I am trying to exclude the IP ranges present in the JSON link. To do that, I need to project all the data in the JSON. I tried writing the below code, but it threw an error: "There was a problem running the query. Try again later." Could anyone help me build the query?

let jsonData = externaldata(
syncToken: string,
createDate: string,
["prefixes"]: dynamic
)
[
h@"https://ip-ranges.amazonaws.com/ip-ranges.json"
]
with (format="multijson");
jsonData
| limit 10
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Could anyone help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jeevan Kumar Seerapu

79298831

Date: 2024-12-21 03:47:16
Score: 6
Natty: 7
Report link

but i am not able to find the power query view in SSAS. to edit the M query .where will i get the option?

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sameer Unawane

79298806

Date: 2024-12-21 03:28:11
Score: 7 🚩
Natty: 6
Report link

@vincent I am confused what the code is using. I meant how the list is working. Is it taking the significance style from LM to POLR? So, is it the significance from same model?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @vincent
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Chowdhury

79298795

Date: 2024-12-21 03:21:09
Score: 5.5
Natty:
Report link

Do you have think to create trigger on AWS ?

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

79298770

Date: 2024-12-21 02:19:58
Score: 11 🚩
Natty:
Report link

We're having a very similar issue. Were you able to resolve? I'm wondering if it has something to do with limited support for B2B messaging, but I haven't been able to find any documentation on this.

Thanks, Emmy

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): resolve?
  • RegEx Blacklisted phrase (3): Were you able
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having a very similar issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emmy

79298712

Date: 2024-12-21 01:15:45
Score: 5
Natty:
Report link

please see my code below. it seems working for me. might try adding your endpoint details and see. code is from https://learn.microsoft.com/en-us/azure/ai-services/openai/assistants-quickstart?tabs=command-line%2Cjavascript-key%2Ctypescript-keyless&pivots=programming-language-javascript

the package version I am using is: "openai": "^4.62.1"

const { AzureOpenAI } = require("openai");

const azureOpenAIEndpoint = "https://xxxxx.openai.azure.com/";
const azureOpenAIKey =
  "xxxxx";
const azureOpenAIVersion = "2024-08-01-preview";
const azureOpenAIDeployment = "xxxx-2"; // gpt-4o
// Replace this value with the deployment name for your model.

const main = async () => {
  // Check env variables
  if (
    !azureOpenAIKey ||
    !azureOpenAIEndpoint ||
    !azureOpenAIDeployment ||
    !azureOpenAIVersion
  ) {
    throw new Error(
      "Please set AZURE_OPENAI_KEY and AZURE_OPENAI_ENDPOINT and AZURE_OPENAI_DEPLOYMENT_NAME in your environment variables."
    );
  }

  // Get Azure SDK client
  const getClient = () => {
    const assistantsClient = new AzureOpenAI({
      endpoint: azureOpenAIEndpoint,
      apiVersion: azureOpenAIVersion,
      apiKey: azureOpenAIKey,
    });
    return assistantsClient;
  };

  const assistantsClient = getClient();

  const options = {
    model: azureOpenAIDeployment, // Deployment name seen in Azure AI Foundry portal
    name: "Math Tutor",
    instructions:
      "You are a personal math tutor. Write and run JavaScript code to answer math questions.",
    tools: [{ type: "code_interpreter" }],
  };
  const role = "user";
  const message =
    "I need to solve the equation `3x + 11 = 14`. Can you help me?";

  // Create an assistant
  const assistantResponse = await assistantsClient.beta.assistants.create(
    options
  );
  console.log(`Assistant created: ${JSON.stringify(assistantResponse)}`);

  // Create a thread
  const assistantThread = await assistantsClient.beta.threads.create({});
  console.log(`Thread created: ${JSON.stringify(assistantThread)}`);

  // Add a user question to the thread
  const threadResponse = await assistantsClient.beta.threads.messages.create(
    assistantThread.id,
    {
      role,
      content: message,
    }
  );
  console.log(`Message created:  ${JSON.stringify(threadResponse)}`);

  // Run the thread and poll it until it is in a terminal state
  const runResponse = await assistantsClient.beta.threads.runs.createAndPoll(
    assistantThread.id,
    {
      assistant_id: assistantResponse.id,
    },
    { pollIntervalMs: 500 }
  );
  console.log(`Run created:  ${JSON.stringify(runResponse)}`);

  // Get the messages
  const runMessages = await assistantsClient.beta.threads.messages.list(
    assistantThread.id
  );
  for await (const runMessageDatum of runMessages) {
    for (const item of runMessageDatum.content) {
      // types are: "image_file" or "text"
      if (item.type === "text") {
        console.log(`Message content: ${JSON.stringify(item.text?.value)}`);
      }
    }
  }
};

main().catch(console.error);

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Can you help me
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qkfang

79298706

Date: 2024-12-21 01:09:43
Score: 5
Natty:
Report link

I was able to fix this issue by following the instructions in this video. You can check it out here: https://www.youtube.com/watch?v=AjMV8S59v-Y

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): check it out
  • Blacklisted phrase (1): this video
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vũ Dũng

79298683

Date: 2024-12-21 00:41:36
Score: 11.5 🚩
Natty: 6.5
Report link

Did you solve this? Having the exact same problem.

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the exact same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve this
  • Low reputation (1):
Posted by: Julian Serra

79298674

Date: 2024-12-21 00:29:33
Score: 4
Natty: 4
Report link

FYI: The collation solutions don't work when you have Kanji character sets in the mix.

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

79298599

Date: 2024-12-20 23:26:19
Score: 4
Natty:
Report link

set -- ${INSTANCEID[*]}

echo $@

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

79298585

Date: 2024-12-20 23:18:17
Score: 4.5
Natty:
Report link

I have read this documentation : https://jfrog.com/help/r/how-to-grant-an-anonymous-user-access-to-specific-repositories/artifactory-how-to-grant-an-anonymous-user-access-to-specific-repositories

And with the screenshot you can see that you can give permission to anonymous users only at the repositories you have selected before.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298581

Date: 2024-12-20 23:16:16
Score: 5
Natty:
Report link

I'm sorry for taking so long to reply. But I only found a solution recently. I'll leave it here in case other users have the same problem. I developed a SwifPM to handle StoreKit 2 in cases where there is no internet (offline) or airplane mode. The repository is: Offline StoreKit 2

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabio Borelli

79298573

Date: 2024-12-20 23:14:14
Score: 7 🚩
Natty: 5.5
Report link

How would you procedurally start searching from the end of the list if it kept extending over time, rather than a hard coded A17?

Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Eric Hickman

79298511

Date: 2024-12-20 22:22:03
Score: 4
Natty:
Report link

In this documentation, you can read that by default, IAM users and roles don’t have permission to create or modify Amazon EKS resources : https://docs.aws.amazon.com/eks/latest/userguide/security-iam-id-based-policy-examples.html#:~:text=By%20default%2C%20IAM%20users%20and%20roles%20don%E2%80%99t%20have,AWS%20Management%20Console%2C%20AWS%20CLI%2C%20or%20AWS%20API.

So, you have to create one or many specific permission for the user or group that want to list resource "nodes" in API group "" at the cluster scope.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298442

Date: 2024-12-20 21:39:52
Score: 6 🚩
Natty:
Report link

@Abdul : I ran into same issue but the solution you mentioned didn't work for me. Is there anything else that you did, but forgot to capture in your solution here? As per my understanding, the overlay network creates a routing mesh, so doesn't matter which IP you use to access the service on the swarm/cluster, the service will still be hit. I am using a cluster of VMs managed by multipass and orchestrated by Docker Swarm. I have same two containers as your - drupal:9 and postgres:14. When I took the IP (10.199.127.84) and tried to access Drupal using it, i got 'site cant be reached' error. Any idea what I'm missing here?

enter image description here

P.S. Sorry to put it as a response, but I don't have enough 'reputations' to comment on your response/marked-answer.

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Abdul
  • Low reputation (1):
Posted by: Devdatta

79298390

Date: 2024-12-20 21:07:44
Score: 4.5
Natty:
Report link

Solved.

For others having the same problem, use this insted:

e.Use(middleware.Static())

and add the relative path to the static content folder.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vlad Popescu

79298363

Date: 2024-12-20 20:51:39
Score: 5.5
Natty:
Report link

You can create a custom lifecycle rule !

You can help you with this documentation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html

For example : AWSTemplateFormatVersion: 2010-09-09 Resources: S3Bucket: Type: 'AWS::S3::Bucket' Properties: AccessControl: Private LifecycleConfiguration: Rules: - Id: GlacierRule Prefix: glacier Status: Enabled ExpirationInDays: 450 Transitions: - TransitionInDays: 1 StorageClass: GLACIER Outputs: BucketName: Value: !Ref S3Bucket Description: Name of the sample Amazon S3 bucket with a lifecycle configuration.

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (3): You can help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298346

Date: 2024-12-20 20:37:36
Score: 4.5
Natty:
Report link

I don’t have time to write the code, but could you try getting the indexes of the different types, appending to a list and then adding and dividing by the number of items in the list?

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

79298319

Date: 2024-12-20 20:21:32
Score: 4.5
Natty:
Report link

I've figured the problem. Instead of:

export const middleware = async (req: NextRequest) => {
const origin = req.nextUrl.origin;

if (!publicEnv.CORS_WHITELIST?.includes(origin)) {
 return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
}
...

I've done:

export const middleware = async (req: NextRequest) => {
const host = req.headers.get("host");
    const protocol = process.env.NODE_ENV === "production" ? "https" : "http";
    const origin = `${protocol}://${host}`;

    if (!origin || !publicEnv.CORS_WHITELIST?.includes(origin)) {
        return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
    }
...

Also who down voted the post at first publish without a reason? lol.

Reasons:
  • RegEx Blacklisted phrase (2): down vote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Viserion Wick

79298306

Date: 2024-12-20 20:13:29
Score: 5
Natty:
Report link

When I run the code below, the images are displayed vertically (The first time I ran the code below, I did not see any output on Jupyter NB). I was expecting to see them horizontally. If anyone knows how I can display them horizontally, please feel free to comment. Thanks!

for i in range(10):
    plt.figure(figsize=(20,3))
    plt.imshow(predictions[i].astype("float32"), cmap="gray_r")
    plt.show()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (1): I can display them horizontally, please
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Steven Dascoli

79298245

Date: 2024-12-20 19:50:22
Score: 4
Natty:
Report link

Finally, I found a way to get it work. Thanks to all the advices from @Jmb and some trial and error.

Now after spawning the curl request for the current item, I run an inner loop on matching bg_cmd.try_wait(). If it finish the run successful, the result get assigned to the shared var holding the output. But if the process is still running and another list item is selected, an AtomicBool is set which restarts the main loop of the bg process thread and, thus, the result of the former run is dismissed.

Here is the code. There might be ways to make this more efficient and I would be happy to hear about them. But at least it works now and I nevertheless already learned a lot about multi-threading and bg processes in Rust.

use std::{
    io::{BufRead, BufReader},
    process::{Command, Stdio},
    sync::{
        atomic::{AtomicBool, Ordering},
        Arc, Condvar, Mutex,
    },
    thread,
    time::Duration,
};

use color_eyre::Result;
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
use ratatui::{
    layout::{Constraint, Layout},
    style::{Modifier, Style},
    widgets::{Block, List, ListState, Paragraph},
    DefaultTerminal, Frame,
};

#[derive(Debug, Clone)]
pub struct Mailbox {
    finished: Arc<AtomicBool>,
    data: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output: Arc<Mutex<String>>,
    kill_proc: Arc<AtomicBool>,
}

impl Mailbox {
    fn new() -> Self {
        Self {
            finished: Arc::new(AtomicBool::new(false)),
            data: Arc::new(Mutex::new(None)),
            cond: Arc::new(Condvar::new()),
            output: Arc::new(Mutex::new(String::new())),
            kill_proc: Arc::new(AtomicBool::new(false)),
        }
    }
}

pub fn run_bg_cmd(
    fetch_item: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output_val: Arc<Mutex<String>>,
    finished: Arc<AtomicBool>,
    kill_bool: Arc<AtomicBool>,
) {
    // Start the main loop which is running in the background as long as
    // the TUI itself runs
    'main: loop {
        let mut request = fetch_item.lock().unwrap();
        // Wait as long as their is no request sent. If one is send, the
        // Condvar lets the loop run further
        while request.is_none() {
            request = cond.wait(request).unwrap();
        }
        let cur_request = request.take().unwrap();

        // Drop MutexGuard to free up the main thread
        drop(request);

        // Spawn `curl` (or any other bg command) using the sent request as arg.
        // To not flood the TUI I pipe stderr to /dev/null
        let mut bg_cmd = Command::new("curl")
            .arg("-LH")
            .arg("Accept: application/x-bibtex")
            .arg(&cur_request)
            .stdout(Stdio::piped())
            .stderr(Stdio::null())
            .spawn()
            .expect("Not running");

        // Start inner loop to wait for process to end or dismiss the result if
        // next item in the TUI is selected
        'waiting: loop {
            match bg_cmd.try_wait() {
                // If bg process ends with exit code 0, break the inner loop
                // to assign the result to the shared variable.
                // If bg process ends with exit code not 0, restart main loop and
                // drop the result from stdout.
                Ok(Some(status)) => {
                    if status.success() {
                        break 'waiting;
                    } else {
                        continue 'main;
                    }
                }
                // If process is still running and the kill bool was set to true
                // since another item was selected, immiditatley restart the main loop
                // waiting for a new request and, therefore, drop the result
                Ok(None) => {
                    if kill_bool.load(Ordering::Relaxed) {
                        continue 'main;
                    }
                }
                // If an error occurs, restart the main loop and drop all output
                Err(e) => {
                    println!("Error {e} occured while trying to fetch infors");
                    continue 'main;
                }
            }
        }

        // If waiting loop was broken due to successful bg process, take the output
        // parse it into a string (or whatever) and assign it to the shared var
        // holding the result
        let out = bg_cmd.stdout.take().unwrap();
        let out_reader = BufReader::new(out);

        let mut out_str = String::new();

        for l in out_reader.lines() {
            if let Ok(l) = l {
                out_str.push_str(&l);
            }
        }

        finished.store(true, Ordering::Relaxed);

        let mut output_str = output_val.lock().unwrap();
        *output_str = out_str;
    }
}

#[derive(Debug)]
pub struct App {
    mb: Mailbox,
    running: bool,
    fetch_info: bool,
    info_text: String,
    list: Vec<String>,
    state: ListState,
}

impl App {
    pub fn new(mb: Mailbox) -> Self {
        Self {
            mb,
            running: false,
            fetch_info: false,
            info_text: String::new(),
            list: vec![
                "http://dx.doi.org/10.1163/9789004524774".into(),
                "http://dx.doi.org/10.1016/j.algal.2015.04.001".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0021".into(),
                "https://doi.org/10.1007/978-94-007-4587-2_7".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0022".into(),
            ],
            state: ListState::default().with_selected(Some(0)),
        }
    }

    pub fn run(mut self, mut terminal: DefaultTerminal) -> Result<()> {
        self.running = true;
        while self.running {
            terminal.draw(|frame| self.draw(frame))?;
            self.handle_crossterm_events()?;
        }
        Ok(())
    }

    fn draw(&mut self, frame: &mut Frame) {
        let [left, right] =
            Layout::vertical([Constraint::Fill(1), Constraint::Fill(1)]).areas(frame.area());

        let list = List::new(self.list.clone())
            .block(Block::bordered().title_top("List"))
            .highlight_style(Style::new().add_modifier(Modifier::REVERSED));

        let info = Paragraph::new(self.info_text.as_str())
            .block(Block::bordered().title_top("Bibtex-Style"));

        frame.render_stateful_widget(list, left, &mut self.state);
        frame.render_widget(info, right);
    }

    fn handle_crossterm_events(&mut self) -> Result<()> {
        if event::poll(Duration::from_millis(500))? {
            match event::read()? {
                Event::Key(key) if key.kind == KeyEventKind::Press => self.on_key_event(key),
                Event::Mouse(_) => {}
                Event::Resize(_, _) => {}
                _ => {}
            }
        } else {
            if self.fetch_info {
                self.update_info();
            }
            if self.mb.finished.load(Ordering::Relaxed) == true {
                self.info_text = self.mb.output.lock().unwrap().to_string();
                self.mb.finished.store(false, Ordering::Relaxed);
            }
        }
        Ok(())
    }

    fn update_info(&mut self) {
        // Select current item as request
        let sel_doi = self.list[self.state.selected().unwrap_or(0)].clone();
        let mut guard = self.mb.data.lock().unwrap();
        // Send request to bg loop thread
        *guard = Some(sel_doi);
        // Notify the Condvar to break the hold of bg loop
        self.mb.cond.notify_one();
        drop(guard);
        // Set bool to false, so no further process is started
        self.fetch_info = false;
        // Set kill bool to false to allow bg process to complete
        self.mb.kill_proc.store(false, Ordering::Relaxed);
    }

    fn on_key_event(&mut self, key: KeyEvent) {
        match (key.modifiers, key.code) {
            (_, KeyCode::Esc | KeyCode::Char('q'))
            | (KeyModifiers::CONTROL, KeyCode::Char('c') | KeyCode::Char('C')) => self.quit(),
            (_, KeyCode::Down | KeyCode::Char('j')) => {
                if self.state.selected().unwrap() <= 3 {
                    // Set kill bool to true to kill unfinished process from prev item
                    self.mb.kill_proc.store(true, Ordering::Relaxed);
                    // Set text of info box to "Loading" until bg loop sends result
                    self.info_text = "... Loading".to_string();
                    self.state.scroll_down_by(1);
                    // Set fetch bool to true to start fetching of info after set delay
                    self.fetch_info = true;
                }
            }
            (_, KeyCode::Up | KeyCode::Char('k')) => {
                // Set kill bool to true to kill unfinished process from prev item
                self.mb.kill_proc.store(true, Ordering::Relaxed);
                // Set text of info box to "Loading" until bg loop sends result
                self.info_text = "... Loading".to_string();
                self.state.scroll_up_by(1);
                // Set fetch bool to true to start fetching of info after set delay
                self.fetch_info = true;
            }
            _ => {}
        }
    }

    fn quit(&mut self) {
        self.running = false;
    }
}

fn main() -> color_eyre::Result<()> {
    color_eyre::install()?;

    let mb = Mailbox::new();

    let curl_data = Arc::clone(&mb.data);
    let curl_cond = Arc::clone(&mb.cond);
    let curl_output = Arc::clone(&mb.output);
    let curl_bool = Arc::clone(&mb.finished);
    let curl_kill_proc = Arc::clone(&mb.kill_proc);

    thread::spawn(move || {
        run_bg_cmd(curl_data, curl_cond, curl_output, curl_bool, curl_kill_proc);
    });

    let terminal = ratatui::init();
    let result = App::new(mb).run(terminal);
    ratatui::restore();
    result
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks to all the advices
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jmb
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lukeflo

79298228

Date: 2024-12-20 19:31:18
Score: 4.5
Natty: 5
Report link

Ok, dead == Array?, Collider[] dead is need;

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28874941

79298223

Date: 2024-12-20 19:28:16
Score: 5.5
Natty:
Report link

!pip install tensorflow-gpu Collecting tensorflow-gpu Downloading tensorflow-gpu-2.12.0.tar.gz (2.6 kB) error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. How to solve this issue?

Reasons:
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: muhammad ghous

79298101

Date: 2024-12-20 18:29:00
Score: 4
Natty:
Report link

Solved: I just had to remove the 1.18.36 tag for javax.persistence dependancy

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

79298078

Date: 2024-12-20 18:13:56
Score: 4.5
Natty:
Report link

Came across the same error and your answer helped me to solve the issue @kaveh

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @kaveh
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mpetha Sthebiso Motaung

79298039

Date: 2024-12-20 18:00:51
Score: 11.5
Natty: 8.5
Report link

@windy Can you help me to find dataSyncId?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @windy
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nguyễn Đức Tuấn Minh

79297992

Date: 2024-12-20 17:35:43
Score: 8.5 🚩
Natty: 5.5
Report link

I'm having this same issue now, did you ever find the solution to this problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever find the solution to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mel

79297970

Date: 2024-12-20 17:29:40
Score: 4
Natty: 4.5
Report link

Still doesn't seem to have a solution. See open issue: https://github.com/mapbox/mapbox-gl-js/issues/9937

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

79297968

Date: 2024-12-20 17:28:37
Score: 10.5 🚩
Natty:
Report link

Sei que é um post de 14 anos atrás, mas ainda é um dúvida frequente, então aqui está a minha contribuição.

Crie um arquivo "fonts.js" (o nome do arquivo não é importante) em algum local do seu projeto e o inclua na tag da sua página principal. Este é o arquivo onde você irá carregar suas fontes.

image example 01

Entre no arquivo e coloque o seguinte código:

const fonts = [
  new FontFace('myFont', 'url(path/of/your/font.ttf)')
]
    
fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

No objeto const fonts = [ ] você pode colocar todas as suas fontes usando o new FontFace(), onde, no primeiro parâmetro você irá colocar o nome da família da fonte e no segundo parâmetro o caminho até a fonte.

A linha de baixo

fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

é responsável por carregar as fontes que estão dentro do objeto "fonts" no document, meio que a parte nativa da página.

Caso queira adicionar mais fontes, basta criar uma nova FontFace dentro do objeto "fonts", dessa forma:

const fonts = [
  new FontFace('myFont', 'url(path/of/your/font.ttf)'),
  new FontFace('myFont2', 'url(path/of/your/font2.ttf)'),
  new FontFace('myFont3', 'url(path/of/your/font3.ttf)')
]
    
fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

Pronto! Suas fontes estão carregadas. Para usar em seus textos usando canvas js, basta chamar o nome da família da fonte.

ctx.font = "16px myFont";
ctx.fillStyle = "black";
ctx.fillText("Hello World!", 20, 30);

Espero ter ajudado.

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): então
  • Blacklisted phrase (1): não
  • Blacklisted phrase (2): código
  • Blacklisted phrase (1): todas
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pablo Aviz

79297900

Date: 2024-12-20 16:59:29
Score: 13.5
Natty: 7.5
Report link

I have the same problem, did you solve the problem?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Furkan Tombaş

79297896

Date: 2024-12-20 16:57:28
Score: 4.5
Natty: 4.5
Report link

when I debug the handler I have the username and password value but when I go to the webserver not the variable has nodata.

String usernameFromHeader = (String) ctx.getMessageContext().get("USERNAME");

Anyone have some idea?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): when I
  • Low reputation (1):
Posted by: Scosteira

79297861

Date: 2024-12-20 16:39:23
Score: 5
Natty:
Report link

i have same problem when upgrade to v19. I realized that the problem was because I was making my API calls like this. http.get("api/apiadress") I'm using a middleware (http-proxy-middleware) in the server.ts file and prerender was working without any problems in v18.

When I updated to v19 I now noticed that API calls start with address "ng-localhost". The problem was solved when starts with http://localhost or http://127.0.0.1 to API calls.

Reasons:
  • Blacklisted phrase (1): i have same problem
  • No code block (0.5):
  • Me too answer (2.5): i have same problem
  • Low reputation (1):
Posted by: ekonovich

79297789

Date: 2024-12-20 16:13:17
Score: 4
Natty:
Report link
//@version=2
study(title = "Directional Flow Analyzer Indicator Heikin Ashi", shorttitle="Directional Flow Candles", overlay=true)

len=input(10)
o=ema(open,len)
c=ema(close,len)
h=ema(high,len)
l=ema(low,len)

haclose = (o+h+l+c)/4
haopen = na(haopen[1]) ? (o + c)/2 : (haopen[1] + haclose[1]) / 2
hahigh = max (h, max(haopen,haclose))
halow = min (l, min(haopen,haclose))

len2=input(10)
o2=ema(haopen, len2)
c2=ema(haclose, len2)
h2=ema(hahigh, len2)
l2=ema(halow, len2)

col=o2>c2 ? red : lime
plotcandle(o2, h2, l2, c2, title="heikin smoothed", color=col)

Please help me to update this pine script from version 2 to the latest version 5 or 6

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mani Kandan

79297585

Date: 2024-12-20 14:50:56
Score: 5
Natty: 5
Report link

just un choose "for install builds only"

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

79297583

Date: 2024-12-20 14:50:55
Score: 4
Natty:
Report link

Just use keyboardShouldPersistTaps="handled" to ScrollView and it will work. reference: https://facebook.github.io/react-native/docs/scrollview.html#keyboardshouldpersisttaps

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

79297554

Date: 2024-12-20 14:42:52
Score: 7
Natty: 7.5
Report link

How do you reagin stripe's 2 dollar per active account per month fee?

Reasons:
  • Blacklisted phrase (1): How do you
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How do you
  • Low reputation (1):
Posted by: H4444

79297549

Date: 2024-12-20 14:41:51
Score: 5.5
Natty:
Report link

just remove %matplotlib notebook because in Jupyter notebook this line give error. when i run some code i get same error "Javascript Error: IPython is not defined in JupyterLab" but when i just see one things in my code i write %matplotlib notebook that is use in colab notebook not in jupyter notebook

Reasons:
  • RegEx Blacklisted phrase (1): i get same error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i get same error
  • Low reputation (1):
Posted by: Harsh Bopaliya

79297402

Date: 2024-12-20 13:46:35
Score: 6.5 🚩
Natty: 5
Report link

i have the same problem with sim 7600 some time it sending message and sometime it stuck with this error

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Itzik Ovadia

79297285

Date: 2024-12-20 12:54:22
Score: 5
Natty:
Report link

I have a similar issue, I am getting different search results for the same query when using 2 different Google Maps API keys. The key setting I am adding in the next comment

screenshot_1 screenshot_2

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar issue
  • Low reputation (1):
Posted by: Dirk Kuyt

79297270

Date: 2024-12-20 12:49:20
Score: 5.5
Natty:
Report link

We would like to inform you that the website may contain multiple files; therefore, it will be necessary to specify the file name.

Please let us know if you have more queries.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let us know
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Namrata Bose

79297243

Date: 2024-12-20 12:39:16
Score: 8 🚩
Natty: 6
Report link

this is not an answer, sorry. Such a good idea. Is there anyway you can share a sample of the full code? Really wondering how you made it work and which cell on the sheet were you able to record the "Yes" response. Thank you.I am working on Slack and trying to have just the "Yes" response recorded on a specific CELL on my sheet.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (3): were you able
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Applearner

79297182

Date: 2024-12-20 12:13:10
Score: 5
Natty:
Report link

python. Here's the documentation https://docs.qgis.org/3.34/en/docs/user_manual/expressions/expression.html#id10

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

79297158

Date: 2024-12-20 12:04:06
Score: 4
Natty:
Report link

Have a look at this wiki article: https://github.com/NetTopologySuite/NetTopologySuite/wiki/Upgrading-to-2.0-from-1.x#interfaces

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

79297095

Date: 2024-12-20 11:40:59
Score: 6 🚩
Natty: 4.5
Report link

I have the same problem with .Net 4.8 on Vultr VPS Windows Server 2016, 2019 My local Windows 10, 11 environment works The deploy code is exactly the same.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Mr2D

79297077

Date: 2024-12-20 11:32:57
Score: 4
Natty: 4
Report link

I also used some thing in that line and to solve it try instead and it helped

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

79297065

Date: 2024-12-20 11:28:55
Score: 5.5
Natty: 6
Report link

I ran into a problem while using this method.

I used cascading list of values, but the value from the parent select list is not picked up in the SQL query of the child control. Could you please help.

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Could you please help
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Venkat

79297048

Date: 2024-12-20 11:22:53
Score: 11.5
Natty: 7.5
Report link

I have the same problem. Is there anyone who has solved the problem?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): solved the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Smhzhl

79296999

Date: 2024-12-20 11:07:47
Score: 5.5
Natty:
Report link

Thanks Kshtiz Ji for the answer and Arun for the Question. You saved my whole week. I have been trying this to fix.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): You saved my
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lokesh bastola

79296951

Date: 2024-12-20 10:51:43
Score: 7 🚩
Natty: 5.5
Report link

у меня такая же проблема, но это не помогает

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Владимир Макаревич

79296928

Date: 2024-12-20 10:42:40
Score: 6.5 🚩
Natty: 6.5
Report link

Where you able to solve this at some point?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where you
  • Low reputation (0.5):
Posted by: Joris Brauns

79296883

Date: 2024-12-20 10:27:35
Score: 5.5
Natty:
Report link

Thank you very much. Obviously the components in $(BDS)\bin are renamed to bcboffice2k290.bpl and bcbofficexp290.bpl. Having installed 2k290 (I use Office 365) the components (TWordApplication ...) are visible in the IDE's components tab, but unfortunately they are grayed out. Any idea what is going wrong?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: behoysilves

79296829

Date: 2024-12-20 10:02:29
Score: 4.5
Natty:
Report link

The answer to this problem is provided by Jess Archer in this Github issue https://github.com/laravel/prompts/issues/39

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: andrepolo

79296827

Date: 2024-12-20 10:02:28
Score: 4.5
Natty:
Report link

It looks correct, although you can simplify it removing the intersect

UniqueCount([user_id]) OVER (LastPeriods(30,[Date]))

If this is not what you wanted, can you show a sample of the data, current and expected result?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you show
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Gaia Paolini

79296823

Date: 2024-12-20 10:01:27
Score: 6.5 🚩
Natty: 6.5
Report link

I also use the same ExplorerCommandVerb.dll, and I have made some changes myself, but I really want to know how to implement multi-level menus, for example, there is a first-level menu Menu One, which has two second-level menus Menu t1 and Menu t2. I have encountered this problem now, how can I solve it?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (1.5): how can I solve it?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ShengYu

79296772

Date: 2024-12-20 09:41:20
Score: 6.5 🚩
Natty: 4.5
Report link

you can do it by rizzing up baby gronk the sigma alpha beta's gyatt with fanum taxing rizz with the help of ohio skibidi gman?

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: skibidi

79296672

Date: 2024-12-20 08:58:09
Score: 4.5
Natty:
Report link

Okay, it seems I've found the answer only minutes after posting the question (and after hours of having no clue before ;)):

The problem is QwtPlotCurve::minYValue/maxYValue or the boundingRect respectively. Those are seemingly only updated on calls to "setRawSamples", but not when the underlying data changes or replot is called.

If anyone has a better solution for me (other than changing the underlying data to directly feed it into the QwtPlotCurve), please let me know!

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: FSat

79296665

Date: 2024-12-20 08:55:08
Score: 11 🚩
Natty: 5.5
Report link

Hey I’m having the same issue. Did you find anything?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28867231

79296619

Date: 2024-12-20 08:38:02
Score: 4.5
Natty:
Report link

Answer on this issue on Reddit.

https://www.reddit.com/r/reactjs/comments/1hieo6s/comment/m2yd75q/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

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

79296605

Date: 2024-12-20 08:33:00
Score: 4.5
Natty:
Report link

on stackblitz, the same error occurs.

https://stackblitz.com/edit/vitejs-vite-il4956yz?file=index.html&terminal=dev

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Meet Bagda

79296576

Date: 2024-12-20 08:22:57
Score: 5
Natty:
Report link

I am having the same error with laravel project. Looks like "vite": "^6.0.4" is causing the issue. Downgrading works at this moment

npm uninstall vite

npm install vite@^5
Reasons:
  • RegEx Blacklisted phrase (1): I am having the same error
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having the same error
  • Low reputation (1):
Posted by: Onur Karagül

79296570

Date: 2024-12-20 08:21:56
Score: 4
Natty:
Report link

Downgrade with npm i -D [email protected]

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

79296569

Date: 2024-12-20 08:20:54
Score: 8 🚩
Natty:
Report link

so am I. How can I resolve It?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • RegEx Blacklisted phrase (1.5): How can I resolve It?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user9440256

79296527

Date: 2024-12-20 08:04:50
Score: 12.5 🚩
Natty:
Report link

I have the same problem. Anyone has any solution for this?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: itarcontact

79296526

Date: 2024-12-20 08:03:49
Score: 4
Natty: 5
Report link

I have made a solution for Windows here: https://github.com/Apivan/ffmpeg_stopper_win32

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

79296441

Date: 2024-12-20 07:26:39
Score: 4
Natty: 4.5
Report link

i'm able to fetch the EK public key from tpm. i wamted to create a RK key using that EK key in UEFI.. I know there is a tpm attribute TPM2_Create to create a key.. but how to use that any idea or reference code?

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

79296439

Date: 2024-12-20 07:25:38
Score: 5
Natty:
Report link

Raza, cuando creo un proyecto nuevo colocandole inicialmente que tenga typeScript, el EsLint y el Prettier, todo correcto, me crea el proyecto y todo, pero cuando quiero hacer "nmp run dev" me sale lo siguiente:


[email protected] dev vite

X [ERROR] Expected identifier but found "import"

(define name):1:0:
  1 │ import.meta.dirname
    ╵ ~~~~~~

X [ERROR] Expected identifier but found "import"

(define name):1:0:
  1 │ import.meta.filename
    ╵ ~~~~~~

X [ERROR] Expected identifier but found "import"

(define name):1:0:
  1 │ import.meta.url
    ╵ ~~~~~~

failed to load config from C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\vite.config.ts error when starting dev server: Error: Build failed with 3 errors: (define name):1:0: ERROR: Expected identifier but found "import" (define name):1:0: ERROR: Expected identifier but found "import" (define name):1:0: ERROR: Expected identifier but found "import" at failureErrorWithLog (C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:1476:15) at C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:945:25 at runOnEndCallbacks (C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:1316:45) at buildResponseToResult (C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:943:7) at C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:970:16 at responseCallbacks. (C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:622:9) at handleIncomingPacket (C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:677:12) at Socket.readFromStdout (C:\Users\ST\OneDrive\Documentos\Curso_vue2\indesicion-app\node_modules\esbuild\lib\main.js:600:7) at Socket.emit (node:events:518:28) at addChunk (node:internal/streams/readable:559:12)


y por mas que quiero eliminar el proyecto, crear otro, actualizar npm haciendo update, limpiando las dependencias entre mil cosas mas, no puedo ejecutar ese proyecto con el npm run dev alguna solucion? :')

Reasons:
  • Blacklisted phrase (2.5): solucion
  • Blacklisted phrase (2): crear
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28866154

79296424

Date: 2024-12-20 07:15:35
Score: 5
Natty:
Report link

I was able to fix the issue thanks to the instructions from this video. You can refer to the guidance in this video: https://www.youtube.com/watch?v=AjMV8S59v-Y Wishing you success!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vũ Dũng

79296409

Date: 2024-12-20 07:07:32
Score: 6.5 🚩
Natty: 5.5
Report link

I am also facing the issue of receiving Bluetooth data through OpenBCI. Have you resolved it?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved it?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 맹진학

79296383

Date: 2024-12-20 06:52:28
Score: 5
Natty: 6.5
Report link

Refer to this blog: https://athen.tech/azure-cli-to-download-docker-images/ to learn how to download docker images using Azure CLI

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akshaya

79296313

Date: 2024-12-20 05:59:17
Score: 4
Natty:
Report link

You need to use @gmail.com Play account

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

79296281

Date: 2024-12-20 05:39:12
Score: 4
Natty:
Report link

Can you clarify in your question if you are attempting to read parquet or csv? In the code snippet you provided you are specifying the format as parquet .option("cloudFiles.format", "parquet"). If you are trying to read csv files using autoloader, the following in your code looks like it might be the cause:

  1. For CSV files, you need to set cloudFiles.inferColumnTypes to true. its default by false as specified in the documentation link below.
  2. Double check checkpoint_path contains the inferred schema information and the checkpoint information.

referencing this documentation

(spark
.option("cloudFiles.format", "csv")
.option("cloudFiles.schemaLocation", checkpoint_path)
.option("cloudFiles.schemaEvolutionMode", "addNewColumns")
.option("cloudFiles.inferColumnTypes", "true")
.load(latest_file_location)
.toDF(*new_columns)
.select("*", spark_col("_metadata.file_path").alias("source_file"), current_timestamp().alias("processing_time"),current_date().alias("processing_date"))
.writeStream
.option("checkpointLocation", checkpoint_path)
.trigger(once=True)
.option("mergeSchema", "true")
.toTable(table_name))
Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (2.5): Can you clarify
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: johnh1989

79296186

Date: 2024-12-20 04:31:56
Score: 6.5 🚩
Natty: 4
Report link

Okay so the new version has additions I will be using if it is okay ( will include a link back to the codepen source code) but I do not see the.menu-global:hover to make the menu - burger show on the right as I want it to. What am I missing. Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bud F

79296162

Date: 2024-12-20 04:19:52
Score: 6.5 🚩
Natty:
Report link

Ya I am a beginner and switched to hardhat and been upleveling myself.Thanks for the concern and any tips to capture the essence of web3 are welcomed

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): any tips
  • RegEx Blacklisted phrase (2): I am a beginner
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wasim Choudhury

79296130

Date: 2024-12-20 04:01:48
Score: 5.5
Natty: 5
Report link

You can read about this in details in this article: https://medium.com/@riturajpokhriyal/advanced-logging-in-net-core-a-comprehensive-guide-for-senior-developers-d1314ec6cab4?sk=c9f92fbb47f93fa8b8bf21c36771ec8c

This is a very comprehensive article.

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

79296090

Date: 2024-12-20 03:14:38
Score: 4.5
Natty: 6
Report link

perfect, thank you a lot. It really helped me. I use chatgpt for it, but it didn't help me. Thanks again

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Neda Golipour

79296028

Date: 2024-12-20 02:21:27
Score: 4
Natty: 4
Report link

I’m pretty sure the data is in the computer. You just need to open it up.

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

79296025

Date: 2024-12-20 02:20:26
Score: 4
Natty: 4
Report link

You should ask Sarah, she can solve your problem straight away

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

79295990

Date: 2024-12-20 01:36:18
Score: 4.5
Natty:
Report link

I thank you all very much for your comments and corrections. Thanks to your corrections and comments, my program now runs well. I wish you good health.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ka nguyen van

79295961

Date: 2024-12-20 01:02:11
Score: 4
Natty:
Report link

reactions.type(HEART).summary(totalCount)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Queen Rose A. Belonio

79295920

Date: 2024-12-20 00:24:04
Score: 6
Natty: 7
Report link

Hey I got a solution in this article: .NET MAUI Google Drive OAuth on Windows and Android

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Angelo Diamante

79295851

Date: 2024-12-19 23:53:56
Score: 4
Natty: 6
Report link

THANK YOU!!!!!! I have been struggling with this for months. You are a hero! Sort by ID worked and fixed what was wrong with my project file!!!!!!

Reasons:
  • Blacklisted phrase (0.5): THANK YOU
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wendy

79295768

Date: 2024-12-19 22:49:41
Score: 4
Natty:
Report link

json_decode(str_replace("'",'"',$sqldatacell),true)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bilal Bağcı

79295758

Date: 2024-12-19 22:45:39
Score: 6
Natty: 7
Report link

why has something so easy been made so difficult?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): why has some
  • Low reputation (1):
Posted by: Rick

79295740

Date: 2024-12-19 22:35:36
Score: 6.5 🚩
Natty:
Report link

I am now relieved that I am not only person getting it. I try to build code set and since 2 days I have struggled with this error. Any findings how to resolve it?

Reasons:
  • RegEx Blacklisted phrase (1.5): how to resolve it?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Royal Gurbanov

79295730

Date: 2024-12-19 22:27:34
Score: 4
Natty:
Report link

You should check in your code the dimensions of the target that you give to fit() and the dimensions of your model output (why 49). How is defined your train_dataset? Why not use one dense layer for the final layer of your model?

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

79295681

Date: 2024-12-19 21:59:26
Score: 7 🚩
Natty:
Report link

Everything looks alright here, but you might be missing an argument when you render this template. Make sure that everything is being imported over there correctly. & By any chance can you share the rendered template code where the template gets rendered?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CubingNerd

79295642

Date: 2024-12-19 21:31:20
Score: 4.5
Natty:
Report link

Thanks a lot

I will try that .

Which version of PS do you use ?

I use powershell 7.4

Regards

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Regards
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Eric Franckx

79295641

Date: 2024-12-19 21:30:19
Score: 5
Natty: 4
Report link

Вы выдали мошенникам сертификат ssl ,вашем именем входят доверие и обманывают людей в крипта рынке есть доказательства ихний действий , так как меня лично обманули на деньги , крипта рынок bittang.cc под ващей защитой обманывают людей , отберите у них свой сертификат не давайте мошенником сертификаты

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Cfdghugt Vfghvfg

79295613

Date: 2024-12-19 21:16:15
Score: 11 🚩
Natty: 4
Report link

I have the same issue. Is there any update on this issue?

Reasons:
  • Blacklisted phrase (1): update on this
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (1): Is there any
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jeremy salat

79295563

Date: 2024-12-19 20:56:08
Score: 11.5 🚩
Natty:
Report link

I have a question: how did you manage to create a legend in the Sankey diagram? And when you click on one of the legends, the step and all the steps built from it fall? Can you send a link to an example in echarts or codeandbox?

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (2.5): Can you send
  • RegEx Blacklisted phrase (3): did you manage to
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Михаил Мазер

79295449

Date: 2024-12-19 19:55:52
Score: 4
Natty: 5
Report link

I was stuck here like for 2 days. Thank you for this. It works just great.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28860501

79295416

Date: 2024-12-19 19:36:46
Score: 7 🚩
Natty: 4.5
Report link

Have you managed the solution for the memory leak? I faced the same issue

Reasons:
  • Blacklisted phrase (3): Have you managed
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sergey

79295400

Date: 2024-12-19 19:28:43
Score: 11 🚩
Natty: 4.5
Report link

Did you ever find out how to fix this issue? Having the same problem and no idea what else to try.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find out
  • RegEx Blacklisted phrase (1.5): how to fix this issue?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Alex Silva

79295356

Date: 2024-12-19 19:11:38
Score: 4
Natty: 6
Report link

Check this article, it might help anyone looking for a solution:

https://medium.com/@hm.dieppa/tint-your-svg-b0a120eb89b9

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: dieppa

79295321

Date: 2024-12-19 18:59:33
Score: 4
Natty:
Report link

The format of the DateSigned tabs comes from the eSignature settings in your account. If you want to display the date without the time, you would set the current time format to "None." You can see this blog post for more details.

enter image description here

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Paige Rossi