79370007

Date: 2025-01-20 00:27:00
Score: 7 đźš©
Natty: 4.5
Report link

I am also facing the same issue on my website https://rbtpracticetest.com/ . It's running on an OpenLiteSpeed server and PHP 8.3. How can I fix the error Warning The optional module, intl, is not installed, or has been disabled.

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manav

79369996

Date: 2025-01-20 00:16:58
Score: 4
Natty:
Report link

To search in file list use Ctrl+Alt+F

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

79369990

Date: 2025-01-20 00:09:57
Score: 3
Natty:
Report link

From the developer options > Revoking the USB Authorizations will fix this issue.

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

79369987

Date: 2025-01-20 00:04:56
Score: 3.5
Natty:
Report link

Never mind, I have discovered that using sigsetjmp/siglongjmp rather than setjmp/longjmp makes this work.

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

79369985

Date: 2025-01-20 00:00:55
Score: 3
Natty:
Report link

I try to do it but could not get solution how to start in same port. example port 3000 and 3000/api !

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

79369982

Date: 2025-01-19 23:59:53
Score: 6 đźš©
Natty:
Report link

As said in another post, yes, in reality at today it seems we can have that at least two different ways, despite it seems they work to user and not to groups, in the kind of:

either tg://resolve?domain=username&text=hello+there

or https://t.me/username?text=hello+again

that will open on the telegram desktop the chat to the given user with the text message compiled, but it still needs the manual entry of the send message bar by pressing enter button. Is there any way to escape the need for this, by passing some other specific token to the browser address or some settings on the browser or telegram desktop app?

Or alternatively there is a way to send message and confirm sending in telegram web by adding not only th euser/group but also the message text in the browser address bar?

Reasons:
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): resolve?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Laurenion

79369977

Date: 2025-01-19 23:55:52
Score: 0.5
Natty:
Report link

I can't say I have experience implementing multiprocessing in Electron, but perhaps the solution I use in my Node.js projects might suit your needs — it supports dynamic imports.

Let me provide a simple example in TypeScript, which can easily be converted to JavaScript if needed.

npm i multiprocessor
// File: src/index.ts
import { Pool } from 'multiprocessor';

const poolSize = 4;

const pool = new Pool(poolSize);
const input = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

const result = await pool.map(input, calcSinTask);
pool.close();

console.log(result);
// [ 0.8414, 0.9092, 0.1411, ... ]

async function calcSinTask(x: number): Promise<number> {
  const dirName = __dirname.replace('/node_modules/multiprocessor/lib', '/src');
  const { calcSin } = await import(`${dirName}/path/to/your/module`);
  return calcSin(x);
}
// File: src/path/to/your/module.ts
export function calcSin(x: number): number {
  let result = 0;
  let sign = 1;
  let power = x;
  let factorial = 1;

  for (let n = 0; n < 1000000; n++) {
    if (n > 0) {
      factorial *= (2 * n) * (2 * n + 1);
      power *= x * x;
      sign *= -1;
    }

    const delta = calcDelta(sign, power, factorial);

    if (isNaN(result + delta)) {
      return result
    }

    result += delta;
  }

  return result;
}

function calcDelta(sign: number, power: number, factorial: number): number {
  return sign * (power / factorial);
}

You can clone and run this solution from my example repository.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Smoren

79369974

Date: 2025-01-19 23:50:51
Score: 4.5
Natty: 5
Report link

see GraphQL it can imply a query/select function

https://www.apollographql.com/blog/graphql-vs-rest

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: hidden swe

79369969

Date: 2025-01-19 23:45:49
Score: 0.5
Natty:
Report link

During the initalisation step the solver tries to find a set of inital values such that all of the equations are valid, using the initial values that you have set as an inital guess. I imagine that your models initialisation step is taking a long time becuase your have not set inital values or the initial values you have set are not accurate.

If you are using OM Edit, setting the LOG_INIT_V simulation flag will show you the inital values that it calculated, setting those values as the inital values for the subsequent simulations (assuming its somewhat similar to the original one) might reduce the initialisation step duration.

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

79369968

Date: 2025-01-19 23:44:49
Score: 1.5
Natty:
Report link

Check your security settings / local network and make sure that whatever dev app you are using has access enabled.

Note: this is independent of the macOS firewall settings, and will still block traffic even if firewall is off.

I temporarily deactivated the global firewall and (in my case VScode) still wouldn’t connect to a machine on my local network, until I manually enabled local network access. Pinging Google etc was just peachy though, so it made for some baffling early investigations.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shaun Kenyon

79369966

Date: 2025-01-19 23:42:49
Score: 2.5
Natty:
Report link

yes, is posible. Other way is adManager of Google, the correct way, is multiplatform

In AdManager you can monetize and manage ad units in Websites, Games, Videos and App's

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Diego Sanchez

79369952

Date: 2025-01-19 23:33:47
Score: 0.5
Natty:
Report link

Currently there is a way to do it with raw JavaScript by using fetch:

fetch("https://example.com/api/data", {
  method: "GET",
  credentials: "omit", // here you decide to send cookie or not. Other options: same-origin, include
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JavaFox

79369951

Date: 2025-01-19 23:33:47
Score: 1.5
Natty:
Report link

The issue for me was very similar to the one mentioned by @Aidan Nesbitt - thanks by the way! I was fetching data from MongoDB - the data had a field that was populated and not via the default _id field but via a custom id field so I don't know if that had any effect or not. When I was passing the data returned from MongoDB from a server component to a client component, it was giving this Maximum Call Stack Exceeded error. When I was filtering out the populated field from the passed values, the component was rendering without an issue.

My fix was basically to JSON.stringify() on the values in the server component and to JSON.parse() on the passed string in the client component.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Aidan
  • Low reputation (1):
Posted by: Amer Mohammed

79369950

Date: 2025-01-19 23:32:47
Score: 3.5
Natty:
Report link

I am quite new to this myself and came across the exact same issue recently. With still not being 100% sure as I didn't get to try it myself I came across Blocking Functions.

It is under Authentication -> Settings -> Blocking Functions, which seems to give more power to the admin with regards to user authentication

You can find more information in through this link

Reasons:
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1): this link
  • No code block (0.5):
  • Low reputation (1):
Posted by: ozan efe topcu

79369943

Date: 2025-01-19 23:27:46
Score: 2
Natty:
Report link

Also, I had the same issue but I had slim jquery loaded on accident. It was fixed loaded the full version.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: infugia

79369938

Date: 2025-01-19 23:22:44
Score: 4.5
Natty: 5
Report link

If you’re using Apple Silicon and the UTM provider from https://github.com/naveenrajm7, check this out: https://github.com/naveenrajm7/vagrant_utm/issues/11.

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

79369932

Date: 2025-01-19 23:12:42
Score: 0.5
Natty:
Report link

As already mentioned in a comment the solution described should work fine. Are your sure you have set Batch Size = 1 in the lambda event source?

Your description perfectly matches with the default Batch Size = 10, where your lambda ignore the other 9 events.

BTW I strongly suggest you also to support multiple events in a single lambda, this will result in a low execution time overall and lower costs.

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

79369931

Date: 2025-01-19 23:09:42
Score: 1.5
Natty:
Report link

Updating the Live Share extension seems to have fix my tooltips.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: dawidg

79369919

Date: 2025-01-19 22:57:39
Score: 1.5
Natty:
Report link

I had the same problem. As the last row of the Load event, I inserted the following statement which prevents the form from closing: DialogResult = DialogResult.None

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ivo T

79369893

Date: 2025-01-19 22:37:34
Score: 6.5 đźš©
Natty:
Report link

In reality at today it seems we can have a mix in at least two different ways, in the kind of:

either tg://resolve?domain=username&text=hello+there

or https://t.me/username?text=hello+again

that will open on the telegram desktop the chat to the given user with the text message compiled, but it still needs the manual entry of the send message bar by pressing enter button. Is there any way to escape the need for this, by passing some other specific token to the browser address or some settings on the browser or telegram desktop app?

Reasons:
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): resolve?
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Laurenion

79369878

Date: 2025-01-19 22:27:32
Score: 3
Natty:
Report link

After some research and experimentation, I found a solution and created a GitHub repository with detailed instructions and examples to help others set up and use GitHub Copilot for generating conventional commit messages with icons. You can view and clone the repository here.

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

79369872

Date: 2025-01-19 22:25:31
Score: 1
Natty:
Report link

$ python3 ## Run the Python interpreter Python 3.X.X (XXX, XXX XX XXXX, XX:XX:XX) [XXX] on XXX Type "help", "copyright", "credits" or "license" for more information.

a = 6 ## set a variable in this interpreter session a ## entering an expression prints its value 6 a + 2 8 a = 'hi' ## 'a' can hold a string just as well a 'hi' len(a) ## call the len() function on a string 2 a + len(a) ## try something that doesn't work Traceback (most recent call last): File "", line 1, in TypeError: can only concatenate str (not "int") to str a + str(len(a)) ## probably what you really wanted 'hi2' foo ## try something else that doesn't work Traceback (most recent call last): File "", line 1, in NameError: name 'foo' is not defined ^D ## type CTRL-d to exit (CTRL-z in Windows/DOS terminal)

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

79369864

Date: 2025-01-19 22:21:30
Score: 0.5
Natty:
Report link

A lot of ways to achieve this. One of:

=XLOOKUP("China",A6:A9,FILTER(B6:G9,(B1:G1="PG")*(B2:G2=2)),"Not found",0)

enter image description here

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

79369863

Date: 2025-01-19 22:20:30
Score: 1
Natty:
Report link

Annotate the file as follows:

class DataItem {
    private String name;

    @JacksonXmlProperty(isAttribute = true)
    private Map params;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rich MacDonald

79369847

Date: 2025-01-19 22:12:28
Score: 1.5
Natty:
Report link

The solution "unfreezeInput" did not work for all cases in my context. I had a function to remove html entities that created a textarea dynamically, put the html encoded data into, and destroyed it after extracting the decoded value. This had an impact on chrome autocomplete that freezed all the fields it had filled, I took time to figure out it came from this particular function. I replaced the textarea created in this function by a div, and extracted the decoded value with .textContent property in the div.

Then it seems this bug disappeared forever.

So it seems Chrome has a bug, when new form fields are added dynamically while Chrome autocompletes.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fabien Auréjac

79369844

Date: 2025-01-19 22:11:28
Score: 2
Natty:
Report link

Yes, it looks like there data coming from the topic, into connector, is not serialized (i.e., it has no magic byte). Use a free GUI tool like KafkIO to pull from the topic yourself and see how it works, to get a sense what the connector is seeing, it might give you a clue. You can choose to use a Schema Registry or not, etc.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: c burke

79369824

Date: 2025-01-19 21:55:25
Score: 1
Natty:
Report link

In my case since it was a supported package, all I had to do was updating wrangler.toml from

compatibility_date="2023-05-18"

to

compatibility_date="2024-09-23"

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: André Mantas

79369818

Date: 2025-01-19 21:50:25
Score: 1.5
Natty:
Report link

For anyone else going down this rabbit hole, completely removing Anaconda (miniconda3 in my case) from the environment fixed my exit hang problems.

I'm assuming I messed up when using conda.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Grenoble

79369811

Date: 2025-01-19 21:47:24
Score: 1
Natty:
Report link

Add ignore_errors to your options:

    $options = array(
        'http' => array(
            'header'  => "Content-type: application/x-www-form-urlencoded\r\n",
            'method'  => 'POST',
            'content' => http_build_query($data),
            'ignore_errors' => true,
        ),
    );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gargaj

79369790

Date: 2025-01-19 21:31:19
Score: 5.5
Natty:
Report link

I am having the same issue. I noticed that those pixels aren't missing but are overlapping due to being rounded

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: devaughnHall

79369771

Date: 2025-01-19 21:20:16
Score: 2.5
Natty:
Report link

Had the same problem, none of the above did anything. Solved this by making a .svg that was going out of bounds fit inside the screen width.

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

79369770

Date: 2025-01-19 21:19:15
Score: 4.5
Natty:
Report link

Check the javadoc, both @MockBeans and @MockBean are moved to @MockitoBean.

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

79369767

Date: 2025-01-19 21:18:14
Score: 4.5
Natty:
Report link

enter image description here

This is the answer on compiler.

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

79369762

Date: 2025-01-19 21:16:13
Score: 0.5
Natty:
Report link

I know it has been a while, but my solution has been more of the following. I am also assuming that you are doing this for RAG purpose, NOT for the sake of getting the right parsing. Instead of getting the exact parsing of the PDF, I get a rough parsing where I get all the texts from the table, and I just replace the table with some metadata like {table id: 'werwrwe', summary: "contains the values of collection date, barcode etc", page: 12}. Then during the retrieval, if the similarity search chooses this chunk, then using the table id, I can retrieve the page of the document as a picture. Basically I see table_id and the page, then I can go to the original document then get the raw table as the picture. This has been much better RAG process for me rather than trying to get the parsing absolutely correct.

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

79369757

Date: 2025-01-19 21:12:12
Score: 11.5
Natty: 7.5
Report link

Have you found any solution to the problem?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Have you found any solution to the problem
  • RegEx Blacklisted phrase (2): any solution to the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Guilherme Klisman

79369748

Date: 2025-01-19 21:02:10
Score: 0.5
Natty:
Report link

Nowadays you can just use the normal AuthenticationHeaderValue:

_httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(token);

There is even a example in the docs

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

79369747

Date: 2025-01-19 21:02:10
Score: 0.5
Natty:
Report link

The epoch_ms function takes an integral number of milliseconds and returns a TIMESTAMP, but I think your data has 100ns accuracy?

select epoch_ms(133782998237203223 // 100_000);
-- 2012-05-24 03:26:22.372

The to_timestamp function takes a DOUBLE in seconds and returns a TIMESTAMP WITH TIME ZONE:

select to_timestamp(133782998237203223 / 10_000_000);
-- 2012-05-23 20:26:22.372032-07

(displayed in America/Los_Angeles)

Both values will be instants and not naĂŻve (local) timestamps.

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

79369744

Date: 2025-01-19 21:00:09
Score: 3
Natty:
Report link

If what you want is to show the graph data on ThingsBoard, it seems very simple to me:

Just insert the Device and make sure the telemetry is arriving correctly. After that, insert a graph in a Dashboard and point it to that specific Device.

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Allan Caldas

79369740

Date: 2025-01-19 20:57:09
Score: 2
Natty:
Report link

In addition to the answer from user3362908. If your instance is down you may use following:

$ORACLE_HOME/bin/sqlplus -V
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): user3362908
  • Low reputation (0.5):
Posted by: Prokhozhii

79369739

Date: 2025-01-19 20:56:09
Score: 1
Natty:
Report link

either you use default with a python function, or you use server_default with a SQL function it seems to me (https://docs.sqlalchemy.org/en/20/core/metadata.html#sqlalchemy.schema.Column.params.server_default)

So:

created_at = Column(DateTime(timezone=True), server_default=text('NOW()')), nullable=False)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Lucas Grugru

79369735

Date: 2025-01-19 20:52:08
Score: 2.5
Natty:
Report link

This is a new regression from x265 master that assumes all Unix is using ELF binary which causes this build error on macOS.

I reported this already: https://bitbucket.org/multicoreware/x265_git/issues/980/source-common-x86-cpu-aasm-assumes-all

You can revert commit f5e4a648727ea86828df236eb44742fe3e3bf366 to workaround this for now if you want to build master.

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

79369731

Date: 2025-01-19 20:47:07
Score: 1
Natty:
Report link

I'm running Kali Linux on UTM o my Mac M2. Simply running sudo apt install spice-vdagent and restart of the machine fixed my issue. Souce: https://docs.getutm.app/guest-support/linux/ (different architectures described there)

Also you have to enable Cliboard Sharing there: UTM_settings_screenshot

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

79369727

Date: 2025-01-19 20:44:06
Score: 2
Natty:
Report link

I was able to solve my problem by adding RestClient.Builder as a parameter of the bean created in the class RestClientConfig.

So for valid handling Trace ID by RestClient in Spring Boot 3 application the class RestClientConfig should be configured in following way:

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestClient;
import org.springframework.web.client.support.RestClientAdapter;
import org.springframework.web.service.invoker.HttpServiceProxyFactory;

import com.example.clients.BeClient;

@Configuration
public class RestClientConfig {

    @Value("${api.url}")
    private String apiUrl;

    @Bean
    public BeClient beClient(RestClient.Builder restClientBuilder) {

        RestClient restClient = restClientBuilder
                .baseUrl(apiUrl)
                .build();
        var restClientAdapter = RestClientAdapter.create(restClient);
        var httpServiceProxyFactory = HttpServiceProxyFactory.builderFor(restClientAdapter).build();
        return httpServiceProxyFactory.createClient(BeClient.class);

    }

}

Working source code you can find here: https://github.com/wisniewskikr/chrisblog-it-cloud/tree/main/spring-cloud/observability/springcloud-springboot3-observability-grafana-stack-restclient

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

79369726

Date: 2025-01-19 20:44:06
Score: 1
Natty:
Report link

I found the issue—it wasn't the code itself. The project was using node-sass, which is no longer supported. To fix it, I uninstalled node-sass and installed sass instead. Here's how I did it:

  1. Uninstall node-sass:

    npm uninstall node-sass

  2. install sass:

    npm install sass

This resolved the issue for me. Make sure to update any configurations that reference node-sass if needed.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Omar Yehia

79369718

Date: 2025-01-19 20:39:05
Score: 1.5
Natty:
Report link

Another Workround:

I had a very similar problem, trying to set DataValidation to Chip from script so as to allow multiple selections from a dropdown list populated from script, which as people say is not (yet?) allowed. However you can set the DataValidation to 'chip' by hand in the sheet you are using and then set the list to 'Drop-down(from a range)' and then in your script update the data in the range pointed to rather tan the actual cell. In my case I just had another sheet with the actual data in it locked to users. Drop-down(from a range) only shows values from cells with data in so you can set the range to be the maximum that you will need.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Chris Clare

79369712

Date: 2025-01-19 20:37:05
Score: 0.5
Natty:
Report link

I encountered the same issue starting today—everything was fine yesterday. Then I realized that this problem was resolved in this commit: https://github.com/PMassicotte/gtrendsR/commit/849fbf780768e69faa3b1dbd373dd55b38acdcbd. To fix it, install the development version instead of the CRAN version, and the issue should be resolved.

devtools::install_github("PMassicotte/gtrendsR")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: alisson_Soares

79369677

Date: 2025-01-19 20:12:00
Score: 1
Natty:
Report link

You are trying to find element with id circle_in_svg but you have only circle id and svg-object. So you need to change id for your object element to circle_in_svg or change id to find to svg-object

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: BrokenDetector

79369674

Date: 2025-01-19 20:09:59
Score: 4.5
Natty: 7
Report link

Can anyone verify this approach is still valid? If someone has something to add, please do so, respectfully! Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can anyone
  • Low reputation (1):
Posted by: Kevin Foley

79369673

Date: 2025-01-19 20:08:58
Score: 2.5
Natty:
Report link

look this sample: https://support.google.com/adsense/answer/10762946?hl=en&ref_topic=9183242&sjid=8011425263000445431-NA#:~:text=Hiding%20unfilled%20ad-,units,-using%20CSS

CSS:

ins.adsbygoogle[data-ad-status="unfilled"] {
display: none !important;

}

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

79369669

Date: 2025-01-19 20:06:58
Score: 3.5
Natty:
Report link

If you have a Swagger/OpenAPI doc then you could find useful the tool like swagger-coverage-cli

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

79369659

Date: 2025-01-19 19:54:55
Score: 3.5
Natty:
Report link

Turns out all the div needed was a "position: absolute !important;" style.

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

79369657

Date: 2025-01-19 19:54:55
Score: 2.5
Natty:
Report link

Fill the values by '####' or unknown, then convert it Sometimes we can't convert before fill or drop the missing data if its a lot

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rama Al saket

79369650

Date: 2025-01-19 19:47:54
Score: 1
Natty:
Report link

To highlight focused tab one can clone konsole repo and add some code there.

src/widgets/TerminalHeaderBar.h, class TerminalHeaderBar definition:

private:
    QPalette m_palette = QPalette();

src/widgets/TerminalHeaderBar.cpp, TerminalHeaderBar::paintEvent() implementation:

void TerminalHeaderBar::paintEvent(QPaintEvent *paintEvent)
{
    if (m_terminalIsFocused) {
        m_palette.setColor(QPalette::WindowText, QColor(200, 200, 50));
        m_palette.setColor(QPalette::Window, QColor(50, 50, 0));
    } else {
        m_palette.setColor(QPalette::WindowText, QColor(200, 200, 200));
        m_palette.setColor(QPalette::Window, QColor(46, 48, 43));
    }

    setPalette(m_palette);

enter image description here

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

79369646

Date: 2025-01-19 19:46:54
Score: 1
Natty:
Report link

Update the Kotlin version in your build.gradle (project level) to 1.9.0:

plugins {
    id "org.jetbrains.kotlin.android" version "1.9.0" apply false
}

Sync your project and run ./gradlew clean build.

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

79369645

Date: 2025-01-19 19:46:54
Score: 1.5
Natty:
Report link

two-liner:

cumsum = ts.cumsum().ffill()
(pd.Series(np.where(ts.isna(), -cumsum, np.nan)).ffill().fillna(0) + cumsum).fillna(0)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vito Anania

79369640

Date: 2025-01-19 19:45:54
Score: 1.5
Natty:
Report link

Alpine linux container or bare installation, simple way as root:

apk add python3

apk add py3-setuptools

apk add py3-pip

You can try to use --update or --no-cache too.

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

79369639

Date: 2025-01-19 19:45:53
Score: 4.5
Natty:
Report link

I'm new to their API too, but searching around it seems like you actually want the POST version batch-get endpoint, from either the BIM360 API or the ACC API, not the Data Management API.

Xiaodong Liang posted an article about it here: https://aps.autodesk.com/blog/custom-attributes-apis-bim-360-document-are-now-public-beta.

He also has a related question/answer here: Not able to get custom attribute data from Autodesk BIM360 for data management API

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zulphide

79369636

Date: 2025-01-19 19:42:52
Score: 5
Natty:
Report link

After continuing to work on this Issue, I think one "problem" that I have had to date is to think of our modules too much as a compartment within our app_server.R that can be "paused" as a group and not as an elegant namespace solution that it should be.

Any ideas how I can use the currently displayed tabname ("assumptionsa","assumptionsb") to influence whether the input$sidebar_selected_ety_id will invalidate the session_tbl() within each module? How does shiny namespace reactives?

Reasons:
  • Blacklisted phrase (1): Any ideas
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Christian Bodenstein

79369633

Date: 2025-01-19 19:41:51
Score: 2
Natty:
Report link

It seems to me that if you don't need any actual formatting then the concatenation operator would probably be fairly simple to do.

splash:evaljs('document.querySelectorAll("a[title*=further]")['..myVar..']')

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tinstaafl2736

79369615

Date: 2025-01-19 19:31:49
Score: 1
Natty:
Report link

Async fixtures in pytest need to be marked with @pytest_asyncio.fixture so that they get awaited before passing to the test. The error message tells you that you're getting a coroutine passed into your test method rather than the results of the coroutine being executed.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrew Certain

79369613

Date: 2025-01-19 19:30:49
Score: 1
Natty:
Report link

on Kali Linux (also Debian based), the message; 'error: cannot communicate with server: Post "http://localhost/v2/snaps/snapd": dial unix /run/snapd.socket: connect: no such file or directory' Is solved with something like this;

└─$ sudo systemctl unmask snapd.service [sudo] password for cicada:

┌──(cicada㉿blackkali)-[~] └─$ sudo systemctl enable snapd.service Created symlink '/etc/systemd/system/multi-user.target.wants/snapd.service' → '/usr/lib/systemd/system/snapd.service'.

┌──(cicada㉿blackkali)-[~] └─$ sudo systemctl start snapd.service

┌──(cicada㉿blackkali)-[~] └─$ sudo snap install snap-store

Then you may see; 2025-01-20T02:18:17+07:00 INFO Waiting for automatic snapd restart... snap-store (2/stable) 0+git.7a3a49a6 from Canonicalâś“ installed WARNING: There is 1 new warning. See 'snap warnings'.

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

79369610

Date: 2025-01-19 19:29:48
Score: 4
Natty: 4
Report link

the publisher id start with: "ca-" you code no have it.

the correct is: ca-pub-xxxxxxxxxxxxxxxx

see: https://support.google.com/adsense/answer/9274516?hl=en&sjid=8011425263000445431-NA

and: https://support.google.com/adsense/answer/10762946?hl=en&ref_topic=9183242&sjid=8011425263000445431-NA#:~:text=Hiding%20unfilled%20ad-,units,-using%20CSS

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Filler text (0.5): xxxxxxxxxxxxxxxx
  • Low reputation (1):
Posted by: Diego Sanchez

79369600

Date: 2025-01-19 19:19:46
Score: 0.5
Natty:
Report link

First you should add !important to your slider styles and then instead of top: 0; you should write top: -59px !important; (59px is the size of the navbar).

Here is the corrected functional code:

Codepen

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #8b5656;
}

.navbar {
    --margin: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    position: sticky;
    top: 0;
    width: calc(100vw - 2 * var(--margin));
    z-index: 1000;
    border-radius: 80px;
    margin-left: var(--margin);
    margin-right: var(--margin);
    padding: 12px 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.carouselslide{
    width: 100%; 
    height: 700px;
    overflow: hidden;
    position: relative;
    top: -59px !important;
}

.carouselslide img {
    filter: blur(8px);
    filter:brightness(0.3);
}
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">
    <link rel="stylesheet" href="/Projeto Final/styles.css">
<!-- Nav bar-->

<nav class="navbar navbar-expand-lg">
          <a class="navbar-brand" href="#">
            <img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fclipground.com%2Fimages%2Fstackoverflow-logo-9.png&f=1&nofb=1&ipt=0765153ba1b0a57a6befd023995864bfb1337b7daee2a4d8360747a2051096cc&ipo=images" alt="Logo" width="30" height="30" class="d-inline-block align-text-top img-fluid">
            FlokkiFur </a>
          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-list-nested"></i>
          </button>
  <div class="navbar-collapse collapse justify-content-between align-items-center w-100" id="navbarSupportedContent">
      <ul class="navbar-nav mx-auto text-md-center text-left">
          <li class="nav-item">
              <a class="nav-link" href="#top">HOME</a> 
          </li>
          <li class="nav-item">
              <a class="nav-link" href="#cartoes">PORTFOLIO</a>
          </li>
          <li class="nav-item">
              <a class="nav-link" href="#">ABOUT ME</a> 
          </li>
          <li class="nav-item">
              <a class="nav-link" href="#">CONTACT</a> 
          </li>
      </ul>
      <ul class="nav navbar-nav flex-row justify-content-md-center justify-content-start flex-nowrap">
          <li class="nav-item"><a class="nav-link" href="..." target="_blank"><i class="bi bi-twitter"></i></a> </li>
          <li class="nav-item"><a class="nav-link" href="..." target="_blank"><i class="bi bi-instagram"></i></a> </li>
          <li class="nav-item"><a class="nav-link" href="..." target="_blank"><i class="bi bi-tiktok"></i></a> </li>
      </ul>
</nav>

<!-- Bg carossel-->

    <div id="fotosCarousel" class="carouselslide carousel-fade" data-bs-ride="carousel" data-bs-pause="false">
      <div class="carousel-inner">
        <div class="carousel-item active">
            <img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fpreview.redd.it%2Fzfohxnf8t3pa1.jpg%3Fwidth%3D1024%26format%3Dpjpg%26auto%3Dwebp%26v%3Denabled%26s%3D0f660e0a56476991ee3b97f2885d8c010fec5b97&f=1&nofb=1&ipt=abc443565a4307bf540effd4e35273c0e8a9c3242503f6956ce59029b3e53501&ipo=images" class="d-block w-100" alt="...">
        </div>
        <div class="carousel-item">
            <img src="https://softauthor.com/wp-content/uploads/2021/08/CSS-Background-Image-Full-Screent-With-background-Image-1536x1355.png" class="d-block w-100" alt="...">
        </div>
        <div class="carousel-item">
            <img src="https://wonderfulengineering.com/wp-content/uploads/2014/10/image-wallpaper-15.jpg" class="d-block w-100" alt="...">
        </div>
      </div>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eliseo

79369599

Date: 2025-01-19 19:19:46
Score: 2.5
Natty:
Report link

I had similar issue and it was due to version of Spring

https://docs.spring.io/spring-ai/reference/getting-started.html -> Spring AI supports Spring Boot 3.2.x and 3.3.x

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>3.3.5</version>
    <relativePath/>
</parent>
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29269932

79369597

Date: 2025-01-19 19:17:45
Score: 3.5
Natty:
Report link

There are lists of supported css by gmail (I don't have a link but you can probably visit: https://globalverifyed.com

https://globalverifyed.com/buy-new-usa-gmail-accounts

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

79369596

Date: 2025-01-19 19:17:45
Score: 2.5
Natty:
Report link

Find a file called Firebase.Editor (on my project is in Assets/Editor/Firebase.Editor.dll), click on it, and on the inspector uncheck "Validate References".

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

79369592

Date: 2025-01-19 19:14:44
Score: 1
Natty:
Report link

xterm has block select as of version 397 if compiled with --enable-block-select. The default binding is:

Meta <Btn1Down>:select-start(block)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: adsr

79369591

Date: 2025-01-19 19:14:44
Score: 3.5
Natty:
Report link

i use windows but old value = GOOS=linux then i change to GOOS=windows it work

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

79369579

Date: 2025-01-19 19:08:43
Score: 3.5
Natty:
Report link

Are you looking for the POST projects/:project_id/storage endpoint, which creates a storage location in the OSS where files can be uploaded to?

I'm guessing they may have retired the BIM360 documentation, this is the one I've been testing with: https://aps.autodesk.com/en/docs/data/v2/reference/http/projects-project_id-storage-POST/.

I recall running into either the same or a similar error when I tried to use the root folder ID. Do you know if your folder ID is the root folder or a sub folder?

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

79369577

Date: 2025-01-19 19:07:42
Score: 3
Natty:
Report link

Got the same error , but i was on a server , simply had to generate the client "npx prisma generate"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abhiram Reddy Nanabolu

79369575

Date: 2025-01-19 19:05:42
Score: 4
Natty: 4
Report link

Supwi primary school is the school that I did my grade one to grade seven

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

79369572

Date: 2025-01-19 19:04:41
Score: 2
Natty:
Report link

Would you like to check out a similar project where everything works correctly for all browsers? Hierarchical HTML Entitling.

You will find the documentation page and an HTML sample.

You are welcome to ask further questions.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79369570

Date: 2025-01-19 19:03:41
Score: 2.5
Natty:
Report link

You can try Doqlens https://doqlens.com/retreview.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: pvats

79369560

Date: 2025-01-19 18:55:39
Score: 0.5
Natty:
Report link

I don't know of a way to return true or false. But usually you just want to use the string, and assert that it's a string literal (at least this is what I needed in some code). I developed a macro that returns the string value if it is a string literal, but breaks the compilation if it is not:

#define string_literal(s)  ("" s "")

This is quite safe against accidental misuses. One can still break it (thanks to @chqrlie https://stackoverflow.com/users/4593267/chqrlie for showing the way to break it): string_literal(""[0] + p + *""), but that code looks suspicious anyway, so I wouldn't call it unsafe.

You can make it more robust, at the expense of some readability:

#define NELEMS(a)  (sizeof(a) / sizeof((a)[0]))
#define string_literal(s)  ("" s "" + 0 * NELEMS(s))

This will warn about non-arrays in some recent compilers. GCC would warn with -Wsizeof-pointer-div. In C2y, there will be a new keyword that will make it a constraint violation, which will make it more robust. See https://thephd.dev/the-big-array-size-survey-for-c.


Actually, I only used this for calling strdupa(3) safely. Thus, I skipped the string_literal() macro entirely, and wrote a wrapper macro around strdupa(3) that made sure that it was always called with a string literal as argument:

#define STRDUPA(s)  strdupa("" s "")

I considered implementing it in the following way for more robustness, but for simplicity and readability reasons, I have stayed with the implementation above. Anyway, here it is:

#define STRDUPA(s)  strndupa("" s "", NITEMS(s))
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @chqrliefor
  • High reputation (-1):
Posted by: alx - recommends codidact

79369559

Date: 2025-01-19 18:52:39
Score: 1
Natty:
Report link

Replace Your Code in Model `save()` Function

if($this->upload->do_upload('img')){
  // Get data about the file
  $uploadData = $this->upload->data();
  $file_name = $uploadData['file_name'];
  $data['response'] = 'successfully uploaded '.$file_name;
}else{
  $data['response'] = 'failed';
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sawan Shakya

79369542

Date: 2025-01-19 18:45:37
Score: 3.5
Natty:
Report link

I was able to find the error myself. When importing, I added the parent folder “MyApp”. Now I have used the “myapp” folder within it. This solved the problem.

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

79369540

Date: 2025-01-19 18:45:37
Score: 1.5
Natty:
Report link

In Objective-C, where

  1. 'self...is a UIView object
  2. 'txtNotes' is a UITextView object...what works for me is:

[self.view.superview bringSubviewToFront: txtNotes];

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RichApple

79369534

Date: 2025-01-19 18:41:36
Score: 3.5
Natty:
Report link

I have updated the (really great) example provided by daniel-cruz to get it working with current reactflow version. See it here: https://codesandbox.io/p/sandbox/pensive-cohen-lv4hfx

There are also some other changes:

P.S. I am very new to react/web app development (just for 2 days now), it means some parts probably can be made much better.

Example for editable edge in reactflow

Reasons:
  • Blacklisted phrase (1): days now
  • RegEx Blacklisted phrase (1.5): I am very new
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wladi

79369517

Date: 2025-01-19 18:31:33
Score: 5.5
Natty:
Report link

Have you added env files to the production?

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

79369504

Date: 2025-01-19 18:22:32
Score: 2
Natty:
Report link

I had the same issue. Solved by connecting my network to a shieldvpn. It installed successfully.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sheryar Ahmed

79369499

Date: 2025-01-19 18:14:30
Score: 2.5
Natty:
Report link

Thank you for this answer. I had the same problem in the django installment. "python -m pip install django" this command is worked at my machine

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sonali Liyanahetti

79369493

Date: 2025-01-19 18:09:30
Score: 2
Natty:
Report link

The following code uses the MusicBrainz API to find all artist relations of Queen - Made in Heaven. It uses musicbrainz-api, a module I wrote, to ease communication with the MusicBrainz API.

async function findReleaseGroup(mbApi, artist, title) {
  const query = `artist:"${artist}" AND release:"${title}"`;
  console.log('Resolving release group: ' + query);
  const result = await mbApi.search('release-group', {query});
  return result.count > 0 ? result["release-groups"][0] : undefined;
}

async function findAllRelatedArtist(mbApi, mbidRelease) {
  // Lookup metadata Queen: "Made In Heaven" release group
  const mbidMadeInHeaven = '780e6a16-9384-307d-ae65-02e1d6313753';
  const relInfoGrp = await mbApi.lookup('release-group', mbidMadeInHeaven, ['releases', '']);
  let release = relInfoGrp.releases[0]; // Pick the first (some) release from the release-group
  console.log(`Using Release MBID=${release.id}`);
  release = await mbApi.lookup('release', release.id, ['artists', 'recordings']);
  
  const seenRelations = new Set(); // Set to track unique relations

  for(const media of release.media) {
    for(const track of media.tracks) {
      const recording = await mbApi.lookup('recording', track.recording.id, ['artists', 'artist-rels']);
      for(const relation of recording.relations) {
        const relationKey = `${relation.type}-${relation.artist.name}`; // Create a unique key
        if (!seenRelations.has(relationKey)) {
          seenRelations.add(relationKey); // Add the key to the set
          console.log(`relation ${relation.type}: ${relation.artist.name}`); // Print unique relation
        }
      }
    }
  }
}

async function run() {
  console.log('Loading musicbrainz-api...');
  const {MusicBrainzApi} = await import('https://cdn.jsdelivr.net/npm/[email protected]/+esm');
  const mbApi = new MusicBrainzApi({
    appName: 'stackoverflow.com/questions/74498924',
    appVersion: '0.1.0',
    appContactInfo: 'Borewit',
  });
  const releaseGroup = await findReleaseGroup(mbApi, "Queen", "Made in Heaven");
  console.log(`Using Release Group MBID=${releaseGroup.id}`);
  await findAllRelatedArtist(mbApi, releaseGroup.id);
}

run().then(() => {
  console.log('The End.');
}, err => {
  console.error(err);
});

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Borewit

79369491

Date: 2025-01-19 18:07:29
Score: 1
Natty:
Report link

it is disabling the time slots but not according to what I want ,I wanted it to disable the time slots according to IST time zone but it was disabling according to UTC time , that was the problem I was facing but I got the answer to this , so I installed vercel in my vs code and deployed it to vercel through cli and I found the logs on the vercel project which i deployed through cli and the website was deployed on vercel only so I found that my server was in washington DC and when I was doing new Date() it was giving the local time zone of washington and not UTC time , as vercel and many other cloud platforms by default work in UTC only this thing I knew but it was not working and I had to explicitely mention .toIsoString() to get date in utc , also I did correction on the disabling dates logic ,earlier what I was doing was that I was creating a new Date by giving time and date to create a new Date so this was in utc and I thought it was in local time which was wrong on my side , I wanted some specific time of the selected date like 9:00 am, 10:00 am etc of ist and I was comparing it with current ist date ,if curr date time is greater than the time slots date and time like 9:00 or 10:00 etc then it would disable it but the mistake which I was making was that I was giving date and time to new Date () and thought it was local date and time but it was utc date and time and I was comparing utc time with curr Date because of which It was providing disabling according to utc time ,so what I did was first got the local date and specific time (9:00,10:00 etc) through datefns library I converted it into utc time using and then again converted that utc time to local time and then compared currDate with the formed date and if the currDate is greater than input date time then it will get disabled so now the logic is working correctly .

let {date}=req.params;
     console.log(date);
   
     const services = await Service.find({});
      const orders = await Order.find({date:date});
     
      let bookedTime = [];
      if(orders.length){
       bookedTime =orders.map((ord) => {
         return ord.time;
       });
      }
      
     const allTime = ["09:00","10:00","11:00","12:00","14:00","15:00","16:00","17:00","19:00","20:00"];
     let inputDateTime = [];

     const utcDate = new Date().toISOString();  // Current UTC time
     console.log("new Date() .to isostring : ",utcDate);
     const timeZone = 'Asia/Kolkata'
// Convert to IST (UTC + 5:30)
const istDate = dateFnsTz.toZonedTime(utcDate,timeZone);
console.log("backend ist date : ",istDate);
let currDate = istDate.getTime();

      for(let j=0;j<allTime.length;j++) {
        console.log(allTime[j]);
        let inputDateTimeString = `${date} ${allTime[j]}:00`;
    
// console.log(dateFnsTz);
// Convert to UTC
const utcDateTime = dateFnsTz.fromZonedTime(inputDateTimeString, timeZone);
       
        console.log("inputDate utc : ",utcDateTime);
        inputDateIST=dateFnsTz.toZonedTime(utcDateTime,timeZone);
        console.log( "input Date ist : ",inputDateIST);
    
        inputDateTime[j] = inputDateIST.getTime();
      }
      console.log('currDate in backend:',currDate);
console.log('inputDateTime in backend:', inputDateTime);

     res.render("orders/newTwo.ejs",{services,bookedTime,date,allTime,inputDateTime,currDate});
 

Note: the major reason behind this confusion , which I think was that when we run new date() in local environment and do console.log(date)then it prints date in utc and not localtime but internally it stores local time ,it is because of Node js which is running the javascript in our system it by default prints utc date even if the date stored is in localtime and on server side the new Date () by default gives utc date for many cloud platforms like vercel, it does it knowingly to standardise the server side configuration so that it is not dependent on server location, basically to standardise the process it uses utc by default on server side .

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Harsh

79369487

Date: 2025-01-19 18:05:28
Score: 0.5
Natty:
Report link

okay im stupid i did a rookie mistake and called load_data before _metier_map is init so it was just

class FleetManager:
    def __init__(self, json_path='component/default.json'):
        
        self.current_fleet_index = 0
        self.__metier_map = {
            "Pilote": Pilote,
            "Technicien": Technicien,
            "Armurier": Armurier,
            "Marchand": Marchand,
            "Entretien": Entretien
        }
        self.party = self.load_data(json_path)

instead of :

class FleetManager:
    def __init__(self, json_path='component/default.json'):
        self.party = self.load_data(json_path)
        self.current_fleet_index = 0
        self.__metier_map = {
            "Pilote": Pilote,
            "Technicien": Technicien,
            "Armurier": Armurier,
            "Marchand": Marchand,
            "Entretien": Entretien
        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user29268996

79369481

Date: 2025-01-19 18:02:27
Score: 1
Natty:
Report link

To set up your domain, you’ll need to use an A Record for the root domain because GoDaddy doesn’t allow CNAMEs for the root (@). In your GoDaddy DNS settings, add an A Record with the name @ and point it to Railway's IP address, which you can find in their settings or documentation. This connects your root domain (myapp.com) directly to Railway.

For www.myapp.com, you’ll use a CNAME since subdomains can have CNAMEs. Add a CNAME record with www as the name and myapp.com as the value. This makes www.myapp.com point to the same place as the root domain.

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

79369474

Date: 2025-01-19 17:59:26
Score: 2
Natty:
Report link

Or another viable solution is using PartiQL

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Waleed93

79369469

Date: 2025-01-19 17:56:26
Score: 1.5
Natty:
Report link

enter image description here

  1. Go to -> "Edit Configurations" from the menu options
  2. Click on "+" Add sign to add new configuration
  3. Add "dotnet-watch" configuration (this will effectively run dotnet watch run --project <path-to-your-project>)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sharukh Rahman

79369464

Date: 2025-01-19 17:54:24
Score: 9.5 đźš©
Natty:
Report link

Thanks to advices from all, I was able to create following code:

package taskbar_test;

import com.sun.glass.ui.Window;
import javafx.application.Application;
import javafx.stage.Stage;
import taskbar_test.gen.CLSID;
import taskbar_test.gen.ITaskbarList3;
import taskbar_test.gen.ITaskbarList3Vtbl;
import taskbar_test.gen.ShObjIdl_core_h;

import java.lang.foreign.Arena;
import java.lang.foreign.MemorySegment;
import java.lang.foreign.ValueLayout;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class FxWinTaskbar extends Application {

    public static final String GUID_FORMAT = "{%s}";

    // CLSID of ITaskbarList3
    public static final String CLSID_CONST = "56FDF344-FD6D-11d0-958A-006097C9A090";
    // IID of ITaskbarList3
    public static final String IID_CONST = "EA1AFB91-9E28-4B86-90E9-9E9F8A5EEFAF";

    @Override
    public void start(Stage stage) throws Exception {
        var button = new javafx.scene.control.Button("Click Me");
        button.setOnAction(e -> handleClick());

        var root = new javafx.scene.layout.StackPane(button);
        var scene = new javafx.scene.Scene(root, 300, 200);

        stage.setTitle("JavaFX Stage with Button");
        stage.setScene(scene);
        stage.show();
    }

    void handleClick() {
        long rawHandle = Window.getWindows().getFirst().getRawHandle();
        Executors.newSingleThreadExecutor().submit(() -> {
            try (var arena = Arena.ofConfined()) {
                // https://learn.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-clsidfromstring#remarks
                // The CLSID format is {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.
                var clsidString = arena.allocateFrom(GUID_FORMAT.formatted(CLSID_CONST), StandardCharsets.UTF_16LE);
                var iidString = arena.allocateFrom(GUID_FORMAT.formatted(IID_CONST), StandardCharsets.UTF_16LE);
                var clsid = arena.allocate(CLSID.layout());
                var iid = arena.allocate(CLSID.layout());
                var taskbarPtr = arena.allocate(ShObjIdl_core_h.C_POINTER);
                MemorySegment windowHandle = arena.allocate(ValueLayout.ADDRESS, rawHandle);

                int hr = ShObjIdl_core_h.CoInitializeEx(MemorySegment.NULL, ShObjIdl_core_h.COINIT_MULTITHREADED());
                if (hr != ShObjIdl_core_h.S_OK()) {
                    throw new RuntimeException("CoInitialize failed with error code: " + hr);
                }

                hr = ShObjIdl_core_h.CLSIDFromString(clsidString, clsid);
                if (hr != ShObjIdl_core_h.S_OK()) {
                    throw new RuntimeException("CLSIDFromString failed with error code: " + hr);
                }

                hr = ShObjIdl_core_h.IIDFromString(iidString, iid);
                if (hr != ShObjIdl_core_h.S_OK()) {
                    throw new RuntimeException("IIDFromString failed with error code: " + hr);
                }

                hr = ShObjIdl_core_h.CoCreateInstance(clsid, MemorySegment.NULL, ShObjIdl_core_h.CLSCTX_ALL(), iid, taskbarPtr);
                if (hr != ShObjIdl_core_h.S_OK()) {
                    if (hr == ShObjIdl_core_h.REGDB_E_CLASSNOTREG()) {
                        System.out.println("COM class is not registered!");
                    }
                    throw new RuntimeException("CoCreateInstance failed with error code: " + hr);
                }
                var taskbarAddress = taskbarPtr.get(ValueLayout.ADDRESS, 0);
                var taskbarInstance = ITaskbarList3.reinterpret(taskbarAddress, arena, memorySegment -> {
                    System.out.println("Some cleanup...");
                });

                ITaskbarList3Vtbl.HrInit.Function functionHrInit = _x0 -> {
                    System.out.println("HrInit called");
                    return ShObjIdl_core_h.S_OK();
                };
                MemorySegment functionHrInitPtr = ITaskbarList3Vtbl.HrInit.allocate(functionHrInit, arena);

                var taskbarVtbl = ITaskbarList3.lpVtbl(taskbarInstance);
                hr = ITaskbarList3Vtbl.HrInit.invoke(functionHrInitPtr, taskbarVtbl);
                if (hr != ShObjIdl_core_h.S_OK()) {
                    throw new RuntimeException("HrInit failed with error code: " + hr);
                }

                ITaskbarList3Vtbl.SetProgressState.Function functionSetProgressState = (_x0, _x1, _x3) -> {
                    System.out.println("SetProgressState called");
                    return ShObjIdl_core_h.S_OK();
                };
                MemorySegment functionSetProgressStatePtr = ITaskbarList3Vtbl.SetProgressState.allocate(functionSetProgressState, arena);
                ITaskbarList3Vtbl.SetProgressState.invoke(functionSetProgressStatePtr, taskbarVtbl, windowHandle, ShObjIdl_core_h.TBPF_NORMAL());

                ITaskbarList3Vtbl.SetProgressValue.Function functionSetProgressValue = (_x0, _x1, _x2, _x3) -> {
                    System.out.println("SetProgressValue called");
                    return ShObjIdl_core_h.S_OK();
                };
                MemorySegment functionSetProgressValuePtr = ITaskbarList3Vtbl.SetProgressValue.allocate(functionSetProgressValue, arena);
                ITaskbarList3Vtbl.SetProgressValue.invoke(functionSetProgressValuePtr, taskbarVtbl, windowHandle, 50, 100);

                ITaskbarList3Vtbl.Release.Function functionRelease = _x0 -> {
                    System.out.println("Release called");
                    return ShObjIdl_core_h.S_OK();
                };
                MemorySegment functionReleasePtr = ITaskbarList3Vtbl.Release.allocate(functionRelease, arena);

                hr = ITaskbarList3Vtbl.Release.invoke(functionReleasePtr, taskbarVtbl);
                if (hr != ShObjIdl_core_h.S_OK()) {
                    throw new RuntimeException("Release failed with error code: " + hr);
                }

            } catch (Throwable ex) {
                ex.printStackTrace();

            } finally {
                ShObjIdl_core_h.CoUninitialize();
            }
        });
    }

    public static void main(String[] args) {
        launch(args);
    }
}

This code runs without any errors, but unfortunately it does not set any progress on a taskbar window. Does anyone have any advices on how to fix it?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks to advices
  • RegEx Blacklisted phrase (1.5): how to fix it?
  • RegEx Blacklisted phrase (3): Does anyone have any advices
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Petr Ĺ techmĂĽller

79369463

Date: 2025-01-19 17:54:24
Score: 2
Natty:
Report link

It does support remote uploading. I was trying to do this, but with koltin for Android app, I was having problems because of the resolution of the video. It has to have an Aspect Ratio

9 x 16

So make sure that the video that you are trying to upload meets these requirements.

https://developers.facebook.com/docs/video-api/guides/reels-publishing/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christian

79369462

Date: 2025-01-19 17:53:24
Score: 3
Natty:
Report link

To clean a VHD file inflected by computer virus, one might convert the VHD to VDI using clonehd.

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

79369458

Date: 2025-01-19 17:50:23
Score: 1.5
Natty:
Report link

In my case, Xcode recovered the files so there were two file references.

In project navigator (CMD+1), search the file name appearing in the build error.

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Hasaan Ali

79369455

Date: 2025-01-19 17:49:22
Score: 0.5
Natty:
Report link

Android use the adaptive-icon.png file for the app icon.

The path to this file is defined in app.json in android.adaptiveIcon.foregroundImage

Once you updated the file, you must do npx expo prebuild to apply the change made in app.json.

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

79369450

Date: 2025-01-19 17:45:22
Score: 1
Natty:
Report link

Using this stylesheet for QLineEdit achieves the purpose:

QLineEdit::disabled{
    background-color:#eeeeee;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Malik

79369429

Date: 2025-01-19 17:36:20
Score: 2
Natty:
Report link

Importing necessary library to handle video files

import mimetypes

Checking the file type to ensure it can be opened as a video

file_path = '/mnt/data/stock-footage-shiny-particles-sparks-rotating-magic-circle-fire-portal-spinning-fireworks-waving-sparklers-in.webm' file_type, _ = mimetypes.guess_type(file_path)

file_type

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

79369423

Date: 2025-01-19 17:34:19
Score: 0.5
Natty:
Report link

This solution worked for me:

cd "$(pwd)"
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alejandro CM

79369419

Date: 2025-01-19 17:31:18
Score: 5
Natty: 5.5
Report link

any code example you may share with us on the above conclusion? I have almost the same problem and trying to figure out how it may work. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): share with us
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Spaha

79369412

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

Now PHP-8.2.9 opendir() and readdir() work OK.

I opened localhost Win10 Pro IIS my sites. But all my changes for access to "DataDir" did not give results. It was insufficient "Authenticated Users" in Permission Dialog under Security tab for "DataDir" on the site.

I renamed "DataDir_P" (in Win10) and created "DataDir" as new with default Win10 settings. The Data Files copyed from "DataDir_P".

Then I made restart all sites (by IIS Win10) on the localhost. I can read now list of files in "DataDir" with PHP.

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

79369406

Date: 2025-01-19 17:23:16
Score: 1
Natty:
Report link

you can wrap your stopPropagation in a function. then add/remove.

function stopProp(event){
    event.stopPropagation(); // or stopImmediatePropagation();
}
yourTarget.addEventListener("click", stopProp);
yourTarget.removeEventListener("click", stopProp);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Youssef

79369401

Date: 2025-01-19 17:21:15
Score: 0.5
Natty:
Report link

So here is my work-around. Before I download to a csv file, I add a column, and following the save, I make the column invisible. If I save again the same data it does not add another column, probably because the column is the same name.

Solution is not ideal but unless someone can come up with something cleaner, it works! Code for download change is below;

document.getElementById("download-csv").addEventListener("click", function(){
    tableCues.addColumn({title:"id", field:"id"},true);
    tableCues.download("csv", "data.csv");
    tableCues.hideColumn("id");
    });
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David Banning

79369398

Date: 2025-01-19 17:19:15
Score: 2
Natty:
Report link

Looks like .rsample() is doing the trick here, which is keeping the computational graph alive...

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