79145836

Date: 2024-10-31 17:59:55
Score: 1
Natty:
Report link

The problem was in the max_age query parameter of the authorization URL provided by our client (the one that a client redirects a user to in order to get an authorization code). The max_age had a value of 0 (e.g. max_age=0) which for some reason caused Entra to issue an authorization code that would provide a token that was seemingly issued 5 minutes in the past and immediately expired in the present. We fixed it by removing the query parameter altogether. This resulted into getting a token with the default 60-90 minutes lifetime. More about the query parameter can be read in the OIDC specification.

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

79145827

Date: 2024-10-31 17:56:54
Score: 3.5
Natty:
Report link

Could you help me in improving performance? It is in C#.

Without code? No. Show some code, and we might stand a chance.

However, XmlSerializer is going to be much better at this than you. Serialization looks simple from the outside, but there are lots of edge cases and pitfalls, and avoiding those while maintaining performance is hard.

But: a model of 200/300 elements should be basically instant; if it is taking 46 seconds, either there is something horribly wrong in your code that I can't speculate about (please show code if you want input here!), or: you're processing a few GiB of data.

Here's a runnable example that caters to your basic model while also supporting the unknown attributes/elements alluded to in the comments:

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;

var xml = """
    <root>
      <test>
        <testchild>
        </testchild>
        <testchild>
        </testchild>
      </test>
      <test>
        <testchild id="42" name="fred">
        </testchild>
        <testchild>
        </testchild>
      </test>
    </root>
    """;

var serializer = new XmlSerializer(typeof(MyRoot));
var obj = (MyRoot)serializer.Deserialize(XmlReader.Create(new StringReader(xml)))!;
Console.WriteLine(obj.Tests.Sum(x => x.Children.Count));
Console.WriteLine(obj.Tests[1].Children[0].GetAttribute("id"));

[XmlRoot("root")]
public class MyRoot
{
    [XmlElement("test")]
    public List<MyTest> Tests { get; } = new();
}
public class MyTest
{
    [XmlElement("testchild")]
    public List<MyChild> Children { get; } = new();
}

public class MyChild {
    public string? GetAttribute(string name)
        => attributes?.SingleOrDefault(x => x.Name == name)?.Value;
    public string? GetElement(string name)
        => elements?.SingleOrDefault(x => x.Name == name)?.Value;

    private List<XmlElement>? elements;
    private List<XmlAttribute>? attributes;

    [XmlAnyAttribute]
    public List<XmlAttribute> Attributes => attributes ??= new();
    [XmlAnyElement]
    public List<XmlElement> Elements => elements ??= new();
}
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2.5): please show code
  • RegEx Blacklisted phrase (3): Could you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Marc Gravell

79145817

Date: 2024-10-31 17:52:54
Score: 1.5
Natty:
Report link

The following paragraph also says (contradictory I think):

will be loaded, as its inherent width (480w) is closest to the slot size

That is in the Learn section, in the Docs section it says:

The user agent selects any of the available sources at its discretion.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#srcset

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

79145816

Date: 2024-10-31 17:51:53
Score: 3.5
Natty:
Report link

Xudong Peng is right. It was permissions blocking.

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

79145796

Date: 2024-10-31 17:44:52
Score: 0.5
Natty:
Report link

Figured it out; replace drawImage in the tutorial with:

val painter = painterResource(R...)
val size = Size(width = ..., height = ...)
with(painter) {
  drawIntoCanvas { canvas ->
    val paint = Paint()
    paint.blendMode = BlendMode.DstIn
    canvas.withSaveLayer(Rect(Offset.Zero, size), paint) { draw(size) }
  }
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: marq

79145788

Date: 2024-10-31 17:42:51
Score: 5.5
Natty:
Report link

I'm having the same problem ! It would be awesome to have this feature but I couldn't find any tool that has it. I tested rye, uv. I'm still checking for poetry but for it does not look promising.

I'm astonished how such a simple feature not developed in Python, especially when knowing the number of developers that uses it.

Fallback mechanisms on pip/poetry/rye/uv would make the process of multi-package development so clean.. But unfortunately nothing at my knowledge has been proposed for now :(

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1): :(
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: G-Man

79145783

Date: 2024-10-31 17:40:50
Score: 1
Natty:
Report link

Nextjs 15 dynamic rendering works with this pattern

export default async function PostPage(params: { 
 params: Promise<{ slug: string }>;) {
  const slug = await(params).slug;
  return <Block slug={slug}/>
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhanush Prabakaran

79145777

Date: 2024-10-31 17:37:50
Score: 1.5
Natty:
Report link
Sorry to disturb old answers but in the accepted answer there is some confusion.
( 1.5 + 2.5 + 3.5 ) / 3 = 2.5
Scool rounding: ( 2 + 3 + 4 ) / 3 = 3
'Bankers' rounding: (I'm confused how 1.5 and 2.5 becomes 2, 2)
                ( 1 + 2 + 3 ) / 3 = 2
And values are still correct. If we are to continue 
scool rounding 2.5 -> 3
bankers rounding 2.5 -> 2
So in the example there's no clear understanding why MidpointRounding.ToEven is used over AwayFromZero.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lindvorn

79145774

Date: 2024-10-31 17:35:49
Score: 2.5
Natty:
Report link

After further digging I can confirm it works, but there was a catch (at least for my case): i was using IP ranges for the non-proxy variables which was not working. I switched to hosts, e.g. *.svc.cluster.local and that fixed my issue.

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

79145773

Date: 2024-10-31 17:35:49
Score: 6.5
Natty: 7.5
Report link

What is the connectivity method you are using to get the data from GA4 ?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: Magesh

79145760

Date: 2024-10-31 17:31:48
Score: 3
Natty:
Report link

It seems like using Table is enough for Microsoft Word to open a document, but not enough if you want to use Apache POI to save a document containing the table as a PDF. You have to add the TableGrid Openxml object to the Table object.

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

79145750

Date: 2024-10-31 17:28:47
Score: 1
Natty:
Report link

Try export environment variable like this (in linux system):

export company_employeeNameList=Emp1,Emp2
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: M.S.

79145745

Date: 2024-10-31 17:27:47
Score: 2.5
Natty:
Report link

it seems you have not installed Android 35 SDK, or it's broken. Try:

  1. Open Android Studio.
  2. Go to Preferences > Appearance & Behavior > System Settings > Android SDK.
  3. Select the SDK Platforms tab.
  4. Select and install(click apply) Android 35 SDK version.

Open SDK Manager

enter image description here

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

79145744

Date: 2024-10-31 17:26:47
Score: 1
Natty:
Report link

I got it fixed and I will answer my own question, beacause this is absoluteley helpful for someone struggling with EF6 and the error message 'a call to SSPI failed' does really not give you any idea where top search for!
It ended up to be just a matter of configuration.
Several combinations of 'MySql for Visualstudio' and 'MySqlConnector' do not fit together and throw this exception when using the EF6 model creation wizard.
I tried this on a different PC, installed mysql server with all the drivers and could again reproduce this error for several combinations.
If you want to use EF6 with VS2017 for mySql server 8, please use the following setup:

MySql server 8
MySql for Visual Studio 1.2.9 (!)
MySql Connector/NET 9.0.0 (!)
NuGet package EntityFramework 6.44
NuGet package MySql.Data 9.0.0 (same version as MySql Connector/NET)
NuGet package MySql.Data.EntityFramework 9.0.0 ( " )


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

79145743

Date: 2024-10-31 17:26:47
Score: 1
Natty:
Report link

As @msanford said in the comments, remove the trailing commas from your values -- they are creating tuples.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @msanford
  • Single line (0.5):
  • High reputation (-2):
Posted by: Ethan Furman

79145734

Date: 2024-10-31 17:24:47
Score: 0.5
Natty:
Report link

If you're encountering the Docker rate limit, manually pulling images is a useful workaround. This approach involves waiting for a bit and then using the docker pull command to try pulling the image again.

docker pull <image-name>

Replace with the specific image you need, such as nginx or mysql:latest.

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

79145731

Date: 2024-10-31 17:23:46
Score: 1
Natty:
Report link

I will do my best to help you, because I see that you haven't received any help yet. Hope to be of help.

The first thing I would say is to check if you have to make changes to your code (link: way to connect to mongoDB in the current version) as you have updated the driver version (sometimes local tests are not good enough to fully test your code and maybe you have left out something important). Here you have a link in case something is deprecated. For example, I see the following in the exception you have passed com.mongodb.MongoClient which is now com.mongodb.client.MongoClient. So it looks your code is still compatible with 3.X version instead of the 5.X version.

Note: With the command mvn dependency:tree (link) you can see the dependency tree for your project and ensure if any library is bringing in any older version.

Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jos3lu

79145725

Date: 2024-10-31 17:22:44
Score: 9.5 đźš©
Natty: 6.5
Report link

I have the same error , do you resolv??

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Javier Urquieta

79145724

Date: 2024-10-31 17:22:44
Score: 2.5
Natty:
Report link
  1. Develop an assembly code to verify if a given 16-bit number is a multiple of 5. If it is, store 1 in a variable called “MULT5”; otherwise, store 0 in a variable named “NOTMULT5.”
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md.Rashedul Islam

79145713

Date: 2024-10-31 17:18:40
Score: 6 đźš©
Natty:
Report link

Solved thanks to @Santiago Squarzon.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @Santiago
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: HammerOfSweden

79145712

Date: 2024-10-31 17:17:40
Score: 2
Natty:
Report link

You can print it on your web page using JSON.stringify() and then copy it from the page. This way you don't need to setup anything.

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

79145700

Date: 2024-10-31 17:14:39
Score: 3
Natty:
Report link

mvn archetype:generate -DgroupId=com.example -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

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

79145699

Date: 2024-10-31 17:14:39
Score: 2
Natty:
Report link

If you are using Android SDK 34 change the "Android SDK Build Tools" from 35 to 34.

You can simply go to Android Studio Settings --> Language and Frameworks --> Android SDK --> SDK Tools tab and tick "Show package details" in the bottom.

Then untick 35 and tick 34.

Apply and OK.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mr. D

79145694

Date: 2024-10-31 17:13:38
Score: 2
Natty:
Report link

Basically is because there is no mysql installed on your computer. My teacher just told me to download workbench, but forgot completely to say, hey download MYSQL first.. After that, you won't have more crashes, it happened to me.

once is done try again, probably sure it will help you inmediately..

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

79145683

Date: 2024-10-31 17:11:38
Score: 1.5
Natty:
Report link

I found the solution.

git fsck && git gc --prune=now

which leads to many errors like this one: enter image description here

But it worked after reloading the IDE, here is the origin of this code: Why does git pull hang?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-2): I found the solution
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: GTFTT

79145681

Date: 2024-10-31 17:10:38
Score: 3
Natty:
Report link

Do right-click on an blank space of the .Edmx and choose Model Browser option

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

79145659

Date: 2024-10-31 17:05:36
Score: 3
Natty:
Report link

Ive passed the --network host parameter when I run docker run but im still not seeing the can network in my container even though it is visible on the host machine. Im running this on a raspi 5

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

79145655

Date: 2024-10-31 17:03:36
Score: 0.5
Natty:
Report link

I knww this is a very old post but just wanted to add this in case anyone was interested. Two simple solutions for SQL 2017 and above and pre SQL 2017

/* SQL 2017 and above */
declare @str varchar(50) = 'dff dfdff   !"ÂŁ$%^&*()_-+=@~#?/>.<   dfd dfd'

;WITH nums AS
(
  SELECT 1 AS Num
  UNION ALL
  SELECT num + 1 AS Num
  FROM nums
  WHERE Num + 1 <= LEN(@str)
)
  SELECT STRING_AGG(Val,'')
  FROM (
  SELECT *,SUBSTRING(@str,Num,1) AS val
  FROM nums) a
  WHERE val LIKE '%[A-Z]%'


/*Pre SQL 2017 */
  declare @str varchar(50) = 'dff dfdff   !"ÂŁ$%^&*()_-+=@~#?/>.<   dfd dfd'

;WITH nums AS
(
  SELECT 1 AS Num
  UNION ALL
  SELECT num + 1 AS Num
  FROM nums
  WHERE Num + 1 <= LEN(@str)
)
  SELECT STUFF((SELECT '' +  Val AS [text()]
  FROM (
  SELECT *,SUBSTRING(@str,Num,1) AS val
  FROM nums) a
  WHERE val LIKE '%[A-Z]%'
  FOR XML PATH ('')),1,0,'')
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: David Wiltcher

79145651

Date: 2024-10-31 17:02:36
Score: 1.5
Natty:
Report link

In my case changing from Direct Query to Import solved the issue.

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

79145649

Date: 2024-10-31 17:02:36
Score: 2
Natty:
Report link

I owe this answer to @AlwaysLearning. Thanks!

Basically, with the exact same code in the original post, I only had to change Encoding.UTF8 to Encoding.Unicode.

var bytes = Encoding.Unicode.GetBytes(uncompressedString);

Now I can access the data in SSMS and decompress with

  SELECT [Id]
  ,[Name]
  ,[Surname]
  ,Info
  ,CAST(DECOMPRESS(Info) AS NVARCHAR(MAX)) AS  AfterCastingDecompression
  FROM [MCrockett].[dbo].[Player]
  WHERE Id = 9
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @AlwaysLearning
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: McCrockett

79145641

Date: 2024-10-31 17:00:35
Score: 2
Natty:
Report link

Using Bertrand Martel's answer and FlyingFoX's comment, I used

gh api repos/ORG/REP/collaborators | \
    jq '[ .[] | select(.permissions.admin == true) | .login ]'

which removed the need for a personal access token. This requires that GitHub CLI is installed and that you are authenticated with it.

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

79145638

Date: 2024-10-31 16:59:35
Score: 0.5
Natty:
Report link
    BullModule.forRoot({
  redis: {
    sentinels: [
      {
        host: process.env.redis_senti,
        port: Number(process.env.redis_senti_port),
      },
    ],
    name: 'mymaster',
    password: redis_pass,
    sentinelPassword: redis_pass,
    maxRetriesPerRequest: 100,
  },
}),

Hi, I finally ended up with this configuration.

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

79145630

Date: 2024-10-31 16:56:34
Score: 2
Natty:
Report link

On ubuntu 24.10 this helped with a JBR with JCEF Runtime:

https://youtrack.jetbrains.com/issue/JBR-6587/IDEA-crashes-on-opening-a-new-project

Disable this setting from the double shift -> Action-> Registry

ide.browser.jcef.sandbox.enable
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Oktay

79145628

Date: 2024-10-31 16:56:34
Score: 4
Natty: 4
Report link

https://marketplace.visualstudio.com/items?itemName=mgiesen.image-comments&ssr=false#qna

With this extension solve this problem

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

79145621

Date: 2024-10-31 16:55:33
Score: 0.5
Natty:
Report link

How about this.. Specify query parameters and body..

    public HttpRequestData HttpRequestDataSetup(Dictionary<String, StringValues> query, string body)
    {
         var queryItems = query.Aggregate(new NameValueCollection(),
            (seed, current) => {
                seed.Add(current.Key, current.Value);
                return seed;
            });

        var context = new Mock<FunctionContext>();
        var request = new Mock<HttpRequestData>(context.Object);
        var memoryStream = new MemoryStream(Encoding.UTF8.GetBytes(body));
        request.Setup(x => x.Body).Returns(memoryStream);
        request.Setup(x => x.Query).Returns(queryItems);

        return request.Object;
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: user2969756

79145613

Date: 2024-10-31 16:53:33
Score: 1
Natty:
Report link
  1. CancellationToken in ExecuteAsync will be triggered once your service gets shut down by the host, like when the entire app gets shuts down (usually gracefully). See BackgroundService base class
  2. Proper cancellation would be either via IHostApplicationLifetime(stops the entire app) or add CancellationTokenSource into the IoC container, resolve it in the service's constructor, and create a linked token source to monitor the cancellation signal in ExecutAsync
Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): Can
Posted by: Kiryl

79145593

Date: 2024-10-31 16:46:31
Score: 1
Natty:
Report link

For solve my problem, I made the beginning of the wave from the previous frequency, and and because of this, the very claps that spoiled the sound disappeared. Solution in the code:

# we need to edit only append_sinewave function
audio = []
sample_rate = 44100.0
last_phase = 0  # a variable to save the phase between beeps

def append_sinewave(freq=440.0, duration_milliseconds=500):
    global audio, last_phase
    num_samples = int(duration_milliseconds * (sample_rate / 1000.0))
    
    # adding a signal while continuing the phase
    for x in range(num_samples):
        phase = last_phase + 2 * math.pi * freq * (x / sample_rate)
        sample = math.sin(phase)
        audio.append(sample)
    
    # save the phase so that the next frequency continues the wave
    last_phase += 2 * math.pi * freq * (num_samples / sample_rate)
    last_phase %= 2 * math.pi  # normalizing
    return

Thanks to OysterShucker for idea

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kotek

79145585

Date: 2024-10-31 16:44:30
Score: 2
Natty:
Report link

As @gaston (I don't know how to @mention people here) pointed out and as I half suspected there were versioning issues as with all the other instances we see of this issues on SO. what I did to resolve it was

  1. Spark 3.4 works with Java 8/11/17. I in my daze followed some odd documentation, but in the end for this item I - Added Java 17 from Settings -> Project Settings -> Project -> SDK -> azul-17. Then udpated my source/target for the maven plugin to 17's. Then from the Maven Project view Reloaded the project

So now the project will compile with all the latest available for Spark 3.4
However that brings me to my next blocker..... (barf)

2024-10-30 17:14:14,980 ERROR ApplicationMaster [Driver]: User class threw exception: java.lang.NoClassDefFoundError: scala/collection/ArrayOps$

I'll be investigating this now, and perhaps another SO post..

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @gaston
  • User mentioned (0): @mention
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tdawg90

79145574

Date: 2024-10-31 16:39:29
Score: 1.5
Natty:
Report link

Have you tried installing the compatible version of VS code and Tkinter?

If so then please check whether the version of Tkinter is updated and also try to run the command on cmd if, it is running on the system then your Tkinter is fine else uninstall vs-code and re-install it.

It will work fine.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Himanshu Rana

79145566

Date: 2024-10-31 16:37:29
Score: 2
Natty:
Report link

This could be because of older versions of langchain and it's related libraries using pydantic v1. To resolve this, you can uninstall all related packages with the help of pip list,I uninstalled almost all packages and installed again. https://python.langchain.com/v0.2/docs/how_to/pydantic_compatibility/

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

79145564

Date: 2024-10-31 16:36:28
Score: 1
Natty:
Report link

I wrote a quite detailed article on how React Native and Expo relate to each other, and if it is worth using React Native without Expo.

TLDR; it does not.

You are almost always better off using Expo, even the React Native team recommends that.

For the longer, comprehensive answer, read my blog post.

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

79145563

Date: 2024-10-31 16:35:28
Score: 1.5
Natty:
Report link
        <v-card-title class="d-flex justify-space-between">
            <v-icon left x-large color="primary">{{ icon }}</v-icon>
            {{ title }}
            <span><v-btn outlined class="blue--text mt-5 mr-8">
                Create
            </v-btn></span>
        </v-card-title>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28078686

79145557

Date: 2024-10-31 16:34:28
Score: 4
Natty:
Report link

I'm interested I attach my CV to the vacancy. `

https://www.linkedin.com/in/carlos-sandoval-776a09304 `

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

79145546

Date: 2024-10-31 16:32:27
Score: 1.5
Natty:
Report link

Too much text about Actors and isolation. For someone who don;t understand how task is worked, and someone who still think Task.detached is bad and have very narrow usecases.

So what I understand after some experiments and learning. All is simple. Apple did ( like every time ) old staff from past years in new cover. so:

  1. all async staff is sync. If you want to run it async use Task. ( but even u cant use it without task )
  2. Task = DispatchQueue.current.async - BUT on EVERY AWAIT system COULD change Thread.

What does it mean? If you have something like this:

class A {
func first() async {
    for i in 0...1000 {
      print("🤍 \(i)")
    }
}

} class ViewController: UIViewController {

let a = A()

override func viewDidLoad() {
    super.viewDidLoad()
    // Do any additional setup after loading the view.
    
    Task {
        await a.first()
    }
    second()
}

func second() {
    Thread.sleep(forTimeInterval: 5)
    for i in 0...1000 {
      print("♥️ \(i)")
    }
}

}

Second() will always print first, but First() could print on other Thread then main

If you need DispatchQueue.global.async you use Task.detached

  1. await its like sync on GCD this code :

    Task { await a.first() }

is something like

DispatchQueue.current.async {
        DispatchQueue.global().sync {
            a.first
        }
    }

What does it mean? - If you have @MainActor functions in your class for updating @Published properties, and you for example what update a Progress of some background work ( for example AsyncSequence ) you must use Task.detached ( what ever Apple say )

Apple problem is that they every time think that all apps in Store is 3 screen MVP whit one button and one endpoint

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @MainActor
  • User mentioned (0): @Published
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dragonboh

79145544

Date: 2024-10-31 16:32:27
Score: 1.5
Natty:
Report link

Your inputs are simply bad quality the first was a dummy so undetectable your second is so poor even a human is always going to be better than OCR.

As a Human I see the numbers easily. as 0000003531 but OCR simply is not that good at numbers without higher pixel contrast and density, the bar code is corrupted by scanning with anti-alias greyscale.

enter image description here

However with a good system the combination should function ?

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: K J

79145533

Date: 2024-10-31 16:29:26
Score: 3
Natty:
Report link

If you are using MedusaJS V2, please note that currently, only the Stripe payment plugin is supported, and no other options are available.

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

79145528

Date: 2024-10-31 16:28:26
Score: 3
Natty:
Report link

i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees i like trees

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

79145525

Date: 2024-10-31 16:28:26
Score: 2.5
Natty:
Report link

You can't do this with gprbuild (for now?). Try to use Alire. It's fantastic for dependency management and can run simple post-fetch, pre-build, post-build actions.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: Maxim Reznik

79145524

Date: 2024-10-31 16:28:26
Score: 2.5
Natty:
Report link

Set the stream Position property to zero.

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

79145522

Date: 2024-10-31 16:27:26
Score: 3
Natty:
Report link

You might find our Youtube lecture series on anomaly detection useful. It contains a module on time series, which explains the special challenges and approaches on time series data.

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

79145519

Date: 2024-10-31 16:27:26
Score: 1.5
Natty:
Report link

I was unaware I was asking for the jquery-editable-select CDN.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery-editable-select.min.js"></script>

Found it here:

jquery-editable-selelct CDN

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Queen Mochi

79145516

Date: 2024-10-31 16:26:25
Score: 4.5
Natty:
Report link

I am seeing the same with Edge.

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

79145503

Date: 2024-10-31 16:23:24
Score: 0.5
Natty:
Report link

I finally found a solution for this problem.

In CLion under Settings > Build, Execution, Deployment > Toolchains add to the Container settings the Option --user=0.

With this option the command will be run as the root user in the container. Because Docker Desktop runs as the normal user the root user in the Container will be mapped to the host user.

After adding this setting CLion found automatically the paths to the compiler in the Docker container and building works without any permission issues. Also the files in the build directory are owned by my host user.

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

79145502

Date: 2024-10-31 16:23:24
Score: 0.5
Natty:
Report link

This happens because you named the variable "$services". Laravel is looking to bind to $service (/services/{service}).

More information here: (https://laravel.com/docs/11.x/controllers#restful-naming-resource-route-parameters)

Your index and store routes work fine because they don't require a parameter.

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

79145493

Date: 2024-10-31 16:20:21
Score: 7.5 đźš©
Natty:
Report link

please if youfixed it and how?

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed it and how?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sory Millimono

79145482

Date: 2024-10-31 16:17:17
Score: 7.5 đźš©
Natty: 4.5
Report link

I have the same issue and i found this via Google: Found this : https://github.com/firebase/firebase-functions/issues/1622

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Alessandro Lamparelli

79145473

Date: 2024-10-31 16:14:17
Score: 3.5
Natty:
Report link

mov eax, num1 mov ebx, num2 mul ebx int 0x80

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

79145471

Date: 2024-10-31 16:13:16
Score: 1.5
Natty:
Report link

In our case, we had SSL errors in the eventlog of our (rarely used) development VM. We had to force adfs to update its certificates. This is only possible with a valid certificate. So we changed the system clock back.

This helped in our case:

Do the next steps in the VM:

Reasons:
  • RegEx Blacklisted phrase (2): Urgent
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Patrik B.

79145469

Date: 2024-10-31 16:13:16
Score: 3
Natty:
Report link

I encountered the same error and tried many solutions, but none worked. However, I finally found a solution from the Apple forum that worked for me.

Please Follow below steps,

  1. Go to your Build Settings and click the plus icon

enter image description here

  1. now add these INSTALL_ROOT with '/'

enter image description here

Enjoy !! Happy Coding ...

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kavindu Dissanayake

79145465

Date: 2024-10-31 16:12:16
Score: 2
Natty:
Report link

The most straight forward answer to this is to add contentContainerStyle props to the components.

<FlatList horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{ gap: 16 }}

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

79145464

Date: 2024-10-31 16:12:16
Score: 5.5
Natty:
Report link

thanks for your reply.

is it your-yolov5s.pt or your-best.pt file which one I have to convert to tflite?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: abc777

79145457

Date: 2024-10-31 16:10:15
Score: 1.5
Natty:
Report link

I faced the same issue and found out that I had added a transform: scale(0.9); style to one of the parent components. Once I removed that, the element size tooltip and the computed style sizes in the box model matched up. It might be worth checking if you have a similar transformation affecting your element.

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

79145451

Date: 2024-10-31 16:09:15
Score: 1.5
Natty:
Report link
$("img").on("click", function () {
    this.requestFullscreen();
});
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: schmark

79145430

Date: 2024-10-31 16:03:11
Score: 7.5 đźš©
Natty: 4.5
Report link

This is Shanon Daniel, one of your best friend. Now I am looking for you. Your bday is November 22th? Did you remember April 12th?

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Shanon Daniel

79145429

Date: 2024-10-31 16:03:11
Score: 2.5
Natty:
Report link

Click on the file pane icon with the blue dot. A file pane pop-up appears. On that pop-up, select a branch. In this case Master.

The docked file pane will return.

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

79145421

Date: 2024-10-31 16:01:11
Score: 2
Natty:
Report link

I was able to get the tooltip to show above the other elements of the table by adding the 'withinPortal' prop to the tooltip component and setting the zIndex to be higher than the elements surrounding it. In my case I had to set it to 100.

https://v6.mantine.dev/core/tooltip/?t=props

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

79145420

Date: 2024-10-31 16:01:11
Score: 8
Natty: 7
Report link

I am trying to send customers to classes hosted at a facility, but I would like for customers to select the link: https://bcatraining.x.state.mn.us/MinnesotaPortal/bca/bcatraining/Search and have the Keyword Search field on the website, via this link, auto populate with the words HERO Center. This will help customers narrow down their search to just this location. Any thoughts or suggestions on how to do this?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1.5): Any thoughts
  • Blacklisted phrase (1): this link
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dan

79145412

Date: 2024-10-31 15:59:10
Score: 4.5
Natty:
Report link

Have you tried on iOS physical device? Because I have same issue but it's only happened on Simulator.

Probably related with firebase flutter docs.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: husainazkas

79145406

Date: 2024-10-31 15:57:09
Score: 0.5
Natty:
Report link

The correct answer is that thiis is usually installed into /usr/share/php, which, in turn, by default is included in php's innclude_path.

By default it will "just work" as you have listed it above. If it does not:

use dpkg -L php-getid3 to find the location of the ihstallation

Then, you can either:

Reasons:
  • No code block (0.5):
Posted by: Dennis

79145402

Date: 2024-10-31 15:56:08
Score: 0.5
Natty:
Report link

After doing some more research, I found a solution that worked for me:

My client runs on localhost:8080, while the server is on localhost:8084. This setup makes my POST request a "cross-site" request. To allow Axios to handle this properly, I needed to enable credentials and support for the CSRF token. Here’s how I configured it:

export let axiosInstance = Axios.create({
  baseURL: apiURL,
});

// New lines to allow credentials and CSRF token handling
axiosInstance.defaults.withCredentials = true;
axiosInstance.defaults.withXSRFToken = true;

The line axiosInstance.defaults.withCredentials = true; instructs Axios to include cookies and credentials in each request. Additionally, the line axiosInstance.defaults.withXSRFToken = true; enables Axios to automatically add the X-XSRF-TOKEN header in requests.

On the server side, I also needed to allow credentials by adding

@CrossOrigin(origins = "http://localhost:8080", allowCredentials = "true")

above my controller. This configuration ensures that the browser can send cookies with requests, but only if they originate from http://localhost:8080, thereby enhancing security by restricting requests to that specific origin.

Reasons:
  • Blacklisted phrase (1): thX
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Romb38

79145400

Date: 2024-10-31 15:55:08
Score: 3.5
Natty:
Report link

I was struggling 2 or 3 days. The answer is really strange... First, you need to create columns with names you need. Only after that it will insert data from scv.

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

79145394

Date: 2024-10-31 15:55:08
Score: 0.5
Natty:
Report link

Use Figma’s prototyping features to link different frames and create a flow. Add interactivity (like button clicks and page transitions) to simulate the user journey. And Share the prototype link with testers or stakeholders, allowing them to interact with the wireframes as though they were using a real product.

Plugins like User Testing, Maze, or Lookback integrate with Figma to facilitate user testing directly. They can capture user behavior, clicks, and responses, providing insights into usability and potential areas of confusion.

Use Figma’s comments feature to gather feedback. Ask testers to leave comments directly on the wireframes, detailing any issues or confusing elements they encounter. This works well for asynchronous feedback. Remote Usability Testing:

Use tools like Maze or Useberry, which connect to Figma prototypes and allow you to set up specific tasks. These platforms collect analytics on click paths, task completion rates, and drop-off points, giving quantitative insights into the wireframe’s usability. Hope this will be helpful.

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

79145392

Date: 2024-10-31 15:54:08
Score: 2
Natty:
Report link

One caveat to keep in mind: Quay.io registry entries are marked "private" by default. So, for example, if you are attempting to pull an image from quay.io that says is "not found" and you know it's there, check the publicity setting.

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

79145389

Date: 2024-10-31 15:53:08
Score: 3.5
Natty:
Report link

Great. It would be good to post this question/answer to the Oracle Analytics Community Website to help other users.

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

79145387

Date: 2024-10-31 15:52:07
Score: 1
Natty:
Report link

I was able to load assets in integration tests when calling

IntegrationTestWidgetsFlutterBinding.ensureInitialized();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jeangali

79145386

Date: 2024-10-31 15:52:07
Score: 0.5
Natty:
Report link

RESOLVED

I was able to get the query to work. Based on @Frank van Puffelen's comment on my original question, I checked the initialization of the DocumentReference and it was final itemReference = _itemsCollection.doc(item.reference.id);. Instead of that, I just passed the existing item.reference into the query and it worked. Not sure why that made a difference, but it did.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • User mentioned (1): @Frank
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: byron

79145381

Date: 2024-10-31 15:51:07
Score: 2
Natty:
Report link

Sync is trash as it copies over files that you already have the existing version of, incredibly slow with a large project. What you want is to use the GUI, go to the "Submitted" tab, right click the desired changelist and click "Get Revision..." then add the root folder, make sure "only get revisions for files listed in changelist" is off, then click 'Get Revision'. Super quick, easy to run a binary search with.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jules Gabriel Pare

79145371

Date: 2024-10-31 15:48:06
Score: 3.5
Natty:
Report link

I am getting this error with java.lang.IllegalStateException: No current Mutiny.Session found - no reactive session was found in the Vert.x context and the context was not marked to open a new session lazily - a session is opened automatically for JAX-RS resource methods annotated with an HTTP method (@GET, @POST, etc.); inherited annotations are not taken into account - you may need to annotate the business method with @WithSession or @WithTransaction at io.quarkus.hibernate.reactive.panache.common.runtime.SessionOperations.getSession(SessionOperations.java:159) at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.getSession(AbstractJpaOperations.java:368) at io.quarkus.hibernate.reactive.panache.common.runtime.AbstractJpaOperations.persist(AbstractJpaOperations.java:37) at io.quarkus.hibernate.reactive.panache.PanacheEntityBase.persist(PanacheEntityBase.java:57) at org.acme.hibernate.orm.panache.FruitServiceTest.lambda$0(FruitServiceTest.java:57) at io.smallrye.mutiny.groups.UniOnItem.lambda$invoke$0(UniOnItem.java:58) at io.smallrye.context.impl.wrappers.SlowContextualConsumer.accept(SlowContextualConsumer.java:21) at io.smallrye.mutiny.operators.uni.UniOnItemConsume$UniOnItemComsumeProcessor.invokeEventHandler(UniOnItemConsume.java:77) at io.smallrye.mutiny.operators.uni.UniOnItemConsume$UniOnItemComsumeProcessor.onItem(UniOnItemConsume.java:42) at io.smallrye.mutiny.operators.uni.builders.UniCreateFromKnownItem$KnownItemSubscription.forward(UniCreateFromKnownItem.java:38) at io.smallrye.mutiny.operators.uni.builders.UniCreateFromKnownItem.subscribe(UniCreateFromKnownItem.java:23) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.operators.uni.UniOnItemConsume.subscribe(UniOnItemConsume.java:30) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.operators.uni.UniOnItemTransformToUni.subscribe(UniOnItemTransformToUni.java:25) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.operators.uni.UniOnItemConsume.subscribe(UniOnItemConsume.java:30) at io.smallrye.mutiny.operators.AbstractUni.subscribe(AbstractUni.java:36) at io.smallrye.mutiny.groups.UniSubscribe.withSubscriber(UniSubscribe.java:51) at io.smallrye.mutiny.groups.UniSubscribe.with(UniSubscribe.java:110) at io.smallrye.mutiny.groups.UniSubscribe.with(UniSubscribe.java:88) at io.quarkus.test.vertx.RunOnVertxContextTestMethodInvoker$RunTestMethodOnVertxEventLoopContextHandler.doRun(RunOnVertxContextTestMethodInvoker.java:191) at io.quarkus.test.vertx.RunOnVertxContextTestMethodInvoker$RunTestMethodOnVertxEventLoopContextHandler.handle(RunOnVertxContextTestMethodInvoker.java:178) at io.quarkus.test.vertx.RunOnVertxContextTestMethodInvoker$RunTestMethodOnVertxEventLoopContextHandler.handle(RunOnVertxContextTestMethodInvoker.java:149) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:270) at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:252) at io.vertx.core.impl.ContextInternal.lambda$runOnContext$0(ContextInternal.java:50) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833)

Reasons:
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (1): I am getting this error
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @POST
  • User mentioned (0): @WithSession
  • User mentioned (0): @WithTransaction
  • Low reputation (1):
Posted by: esteveavi

79145363

Date: 2024-10-31 15:46:05
Score: 3.5
Natty:
Report link

This post provided me a simple example of how to make it work : stackoverflow.com/q/34252413/11603485 Like @JarMan mentioned , it is not possible to declare the model in the QML file, it should be instantiated in the python file. Thanks for your help !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mayadev

79145358

Date: 2024-10-31 15:45:05
Score: 0.5
Natty:
Report link

This is a classic mistake regarding rounding and casting. Rounding a position in space or casting a fraction to an integer, results in the integer discarding any fractional information. What happens is that your delta is too small for the position to significantly update to a new integer position. So, when you round it, it will round to the nearest integer. In this case back to its original position. Try to avoid rounding when it comes to position. You could also increase the gravity to see when it begins to move.

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

79145355

Date: 2024-10-31 15:43:04
Score: 5
Natty:
Report link

Maybe you need virtual scroll here

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

79145338

Date: 2024-10-31 15:40:03
Score: 1
Natty:
Report link

The problem was caused by another system I had installed in my quicklisp/local-projects directory that came with its own version of alexandria. It turns out that quicklisp was loading this version of alexandria, which did not provide the proper namespaces. So, removing this system out of the local-projects directory enabled quicklisp to load the correct version.

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

79145334

Date: 2024-10-31 15:38:02
Score: 2.5
Natty:
Report link

For me the problem was that my VM at some moment began to run on port 2376 instead of the default 2375... Thus since that happened I run any docker commands with the parameter "-H 192.168.99.100:2376", and "docker-compose up" as well

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

79145332

Date: 2024-10-31 15:36:02
Score: 1.5
Natty:
Report link

Thanks to Rune FS's XML hack. (How to perform spell check and grammar check in Powerpoint using VBA?)

  1. Save the pptx file as a PowerPoint XML Presentation.

  2. Open the XML file with a text editor like 'notepad.'

  3. replace every ' err="1"' with ''(remove any instance of ' err="1"')

  4. Save the XML file.

  5. Open the xml file in PowerPoint and save it as a pptx file.

  6. Reopen the pptx file and all the red underlines are gone!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: konahn

79145325

Date: 2024-10-31 15:34:01
Score: 1
Natty:
Report link

This issue can help: https://github.com/bytecodealliance/wasmtime-go/issues/80

And yet another example: https://github.com/bytecodealliance/wasmtime-go/blob/a1a8116cf3965d0e228229f3b3a497ba6da6a9b7/func_test.go#L422

You should use wasmtime.Linker.DefineFunc() to link host-func by name. Something like this:

...
linker := wasmtime.NewLinker(engine)
err := linker.DefineWasi()
if err != nil {
    return err
}
store := wasmtime.NewStore(engine)
wasiConfig := wasmtime.NewWasiConfig()
...
store.SetWasi(wasiConfig)
err = linker.DefineFunc(store, "env", "HostFunc", func() {
    fmt.Println("HOSTCALL!!!")
})
if err != nil {
    return err
}
instance, err := linker.Instantiate(store, module)
if err != nil {
    return err
}
...

And in the guest:

package main

//export HostFunc
func HostFunc()

func main() {
    HostFunc()
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ants

79145312

Date: 2024-10-31 15:32:01
Score: 2.5
Natty:
Report link

I know at bit late to be here, but the flowbite-angular library is in alpha version (few components for the moment but it will grow over the time) I drop you the link here https://github.com/themesberg/flowbite-angular

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

79145308

Date: 2024-10-31 15:30:00
Score: 0.5
Natty:
Report link

If you want it to apply to the entire app, you can do this by setting it in ThemeData when initializing the app.

ThemeData get lightTheme {
  return ThemeData(
    scrollbarTheme: ScrollbarThemeData(
      thickness: WidgetStateProperty.all(0),
    ),
  );
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shafiq Jefri

79145306

Date: 2024-10-31 15:30:00
Score: 3
Natty:
Report link

In my case, I was using an incompatible SDK version with my current React native version. I only updated the SDK version, and that fixed the problem

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

79145300

Date: 2024-10-31 15:28:00
Score: 3
Natty:
Report link

Just posting to say same error:

This link says to go to: “View > Tool Windows > App Inspection” https://developer.android.com/studio/debug/network-profiler
But I don’t have the “App Inspection” option:

beautiful default settings with light theme

(I know light theme cry about it I got better things to do.)

Here’s that same screenshot but in high contrast so I can satisfy y’alls need for cool colors while defeating the purpose of not burning your eyes out:

wicked cool high contrast screenshot

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Funny Geeks

79145298

Date: 2024-10-31 15:25:59
Score: 1.5
Natty:
Report link

For me you need to upgrade your gradle it's better than downgrade JAVA. But for many people it's different. If you think u will upgrade flutter, upgrade gradle is a good solution (upgrade flutter it's good for more compatibility and performance on smartphone). But if you do, you will probably need to update part of your library.

If you don't want to upgrade Flutter, I think you can downgrade JAVA.

I hope my answer will help you or other people

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

79145292

Date: 2024-10-31 15:23:58
Score: 5
Natty: 7
Report link

Check out this tutorial as it has all necessary info to fetch time records from ActiveCollab https://www.createit.com/blog/fetching-time-records-from-activecollab-api/

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

79145282

Date: 2024-10-31 15:20:57
Score: 2
Natty:
Report link

How about this one?

if debug.getinfo(3) then
  print("in package")
else
  print("in main script")
end

Same idea, less keystrokes. Level 3 as argument is sufficient, because debug.getinfo is not called within another function.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Meindert Meindertsma

79145270

Date: 2024-10-31 15:17:56
Score: 2
Natty:
Report link

Excellent analysis of the impact of HTML comments on webpage load times! It’s absorbing to see how even small elements can influence performance. The insights shared here are helpful for both beginners and experienced developers aiming to optimize their sites. I appreciate the clear explanations and examples—this makes understanding the nuances of web development easier.

Thank you for fostering such an informative dialogue!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abc Tabhron

79145265

Date: 2024-10-31 15:16:56
Score: 0.5
Natty:
Report link

I found the issue.

This is how I finally made it work as I expected:

apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Values.configMapName }}
  labels:
    app: {{ .Release.Name }}
data:
{{- range $path, $bytes := .Files.Glob "config/*.yaml" }}
  {{ base $path }}: |
{{ tpl (toString $bytes | indent 2) $ | indent 4 }}
{{- end }}

The trick is in the range before the .Files.Glob, and the toString of the file value (as Glob returns a byte array).

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alessandro D'Armiento

79145264

Date: 2024-10-31 15:15:55
Score: 0.5
Natty:
Report link

First, one thing must be clarified before moving on with my answer. Do you want your app to "remember" that the user has completed in the past the onboarding procedure, even if the user uninstalls/installs the app?

if yes, hydration is not a solution here because as soon as the user uninstalls the app, the hydrated data are deleted as well.

Assuming that the above is not the problem, what I would do is make a wrapper widget for the login page. Let's call this OnBoardingWrapper, which will accept a Widget parameter child. In our case, the child is the LoginPage.

This wrapper will have a simple logic in the builder if the onBoarding is already been done in the past, then render the LoginPage Widget, else render the OnBoarding widget.

On this Wrapper widget, a hydrated cubit can be provided which only has a state value like isOnBoardingCompleted and a method that sets this value from false to true.

So if the onBoarding is rendered, on the completion the method is called setting the value to true and displaying the login page.

if the user re-visit the app after the completion of onboarding flow, the hydrated state with the isOnBoardingCompleted == true will be retrieved and the user will skip the onboarding.

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

79145249

Date: 2024-10-31 15:11:54
Score: 5.5
Natty:
Report link

thanks for your reply.

is it your-yolov5s.pt os your-best.pt file which one I have to convert to tflite?

I have

yolov5su.pt
yolov5xu.pt
yolov5x.pt

thx

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): thx
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: abc777

79145245

Date: 2024-10-31 15:09:54
Score: 2.5
Natty:
Report link

I faced the same issue. Restarted my network but that didn't help. I waited for about half an hour and the problem resolved own its own.

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

79145234

Date: 2024-10-31 15:07:53
Score: 1
Natty:
Report link

to_dataframe is expecting a PCollection[1], but you are passing a single element of your PCollection instead. Instead of calling df = to_dataframe(element) as part of PandasTransform, you can do something like:

messages = (p
                    | 'Read from PubSub' >> beam.io.ReadFromPubSub(subscription=input_subscription)
                    | 'Parse PubSub Message' >> beam.ParDo(ParsePubSubMessage())
                    | 'Attaching the schema' >> beam.Map(lambda x: BmsSchema(**x)).with_output_types(BmsSchema)
                    )
df_messages = to_dataframe(messages)

and then you can manipulate df_messages with dataframe operations. See https://beam.apache.org/documentation/dsls/dataframes/overview/ for more info.

[1] https://beam.apache.org/releases/pydoc/current/apache_beam.dataframe.convert.html#apache_beam.dataframe.convert.to_dataframe

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

79145231

Date: 2024-10-31 15:06:53
Score: 2.5
Natty:
Report link

You can get dc.js version 4.2.7 from npm

npm install dc

See https://www.npmjs.com/package/dc

Watch out for vulnerabilities (npm will list them).

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

79145224

Date: 2024-10-31 15:04:53
Score: 3.5
Natty:
Report link

I would recommend to ask the question also in the Oracle Analytics Community website for additional help.

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