79280261

Date: 2024-12-14 07:44:47
Score: 6 đŸš©
Natty: 5
Report link

May I ask if the user executing this program is a SYS or similar system user? Would it be possible for a regular DBA user to avoid this error?

Reasons:
  • Blacklisted phrase (1): May I ask
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 仰望星ç©ș

79280259

Date: 2024-12-14 07:43:46
Score: 3.5
Natty:
Report link

try auth()->guard()->attempt()

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mihir Manoj Lakhamje

79280258

Date: 2024-12-14 07:42:46
Score: 1
Natty:
Report link

This is a known open issue.

The most basic solution is to uncheck the Break when this exception type is user-unhadled in the Exception Settings:

Exception of type 'Microsoft.AspNetCore.Components.NavigationException' was thrown

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Farzad M.

79280251

Date: 2024-12-14 07:38:44
Score: 6 đŸš©
Natty:
Report link

Ios build failed issue with latest xcode version, same error like above people got.

Reasons:
  • RegEx Blacklisted phrase (1): same error
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: swamy digitalraiz

79280241

Date: 2024-12-14 07:30:42
Score: 0.5
Natty:
Report link

I would like to add a Powerquery approach. Translating 100k to the actual numeric value, algebraically, then, 100k is 100(k). So, now I can have logic applied intuitively which is to say 100k is two values, one hundred and k. In powerquery I split 100k using split columns:

= Table.SplitColumn(#"Changed Type", "Column1", Splitter.SplitTextByDelimiter("k", QuoteStyle.Csv), {"Column1.1", "Column1.2"}) = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Column1.1", Int64.Type}, {"Column1.2", type text}}) Note by using the split function, a transformation followed. The 100k which was read in as text becomes two columns, the 100 now reads as integer and the second column is the one after the k which is a text. Part one done. Now we need to take one hundred and times it by 1,000:

Use the following powerquery (step):

[add column, custom fx] = Table.AddColumn(#"Changed Type1", "Column1New", each [Column1.1]*1000)

Colunn1New now holds 100000.

Analysis: note that these power query steps reflect common programming logic such as that found in python:

for k in string:
k = (k) return string out: 100(k) [note we would save the function as 'afunc(string)' and call it afunc(100k)] .. we would use the transform 100(k) idea by using the split function on '(' that gives two values, a number 100 and the string 'k)'. And we would then only use the one hundred value, save it to a variable and times it by 1,000 in another function or class.

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

79280237

Date: 2024-12-14 07:26:41
Score: 1
Natty:
Report link

Sub LoadBoth(ByVal R1C0 As Integer) Dim newbox As TextBox, ThisIndex As Integer Panel1.Controls.Clear() itswidth = Val(Textwidth.Text) ItsHeigt = Val(TextHeigt.Text) gapLeft = Val(TextLeftGap.Text) GapTop = Val(TextTopGap.Text) GapCol = Val(TextGapX.Text) GapRow = Val(TextGapY.Text) NumCols = Val(TextCols.Text) NumRows = Val(TextRow.Text) ' BTRVER() As Button, BTNHOR() As Button BTNAll = New Button BTNAll.Location = New Point(13, 119) BTNAll.Size = New Drawing.Size(itswidth * 2, ItsHeigt * 2) AddHandler BTNAll.MouseMove, AddressOf AllSumHere AddHandler BTNAll.Click, AddressOf AllSumHere BTNAll.Text = "SUM" BTNAll.Visible = True BTNAll.BackColor = Color.Brown Me.Controls.Add(BTNAll) ReDim BTRVER(NumRows) Panelver.Controls.Clear() Dim newBTN As Button Dim VarRow As Integer = 0 For VarRows = 1 To NumRows newBTN = New Button newBTN.Size = New Drawing.Size(itswidth, ItsHeigt) newBTN.Location = New Point(gapLeft, GapTop + (ItsHeigt + GapRow) * (VarRows - 1)) newBTN.Name = "B" & VarRows newBTN.Text = VarRows ' newbox.Name AddHandler newBTN.MouseMove, AddressOf BTNRowCLICK '2 AddHandler newBTN.Click, AddressOf BTNRowCLICK '2 BTRVER(VarRows) = newBTN Panelver.Controls.Add(newBTN) Next Panelver.Height = (GapRow + ItsHeigt) * Val(TextRow.Text) + 10 '''''''''''''''''''''''''''''' Dim VarCol As Integer Dim newHor As Button ReDim BTNHOR(NumCols) Panelhori.Controls.Clear() For VarCol = 1 To NumCols newHor = New Button newHor.Size = New Drawing.Size(itswidth, ItsHeigt) newHor.Location = New Point(gapLeft + (itswidth + Val(TextGapX.Text)) * (VarCol - 1), GapTop) newHor.Name = "B" & VarCol newHor.Text = VarCol ' newbox.Name AddHandler newHor.MouseHover, AddressOf BTNColCLICK '2 AddHandler newHor.Click, AddressOf BTNColCLICK '1 BTNHOR(VarCol) = newHor Panelhori.Controls.Add(newHor) Next Panelhori.Width = (GapCol + itswidth) * Val(TextCols.Text) + 10 ''''''''''''''''''''''''''''''' ReDim runtext(NumRows * NumCols) For VarRows As Integer = 1 To NumRows For VarCol = 1 To NumCols newbox = New TextBox newbox.Size = New Drawing.Size(itswidth, ItsHeigt) If R1C0 = 1 Then ThisIndex = (VarCol - 1) * NumRows + VarRows ' For VarRows ElseIf R1C0 = 0 Then ThisIndex = (VarRows - 1) * NumCols + VarCol 'For VarCol End If newbox.Location = New Point(gapLeft + (itswidth + Val(TextGapX.Text)) * (VarCol - 1), GapTop + (ItsHeigt + GapRow) * (VarRows - 1)) newbox.Name = "T" & ThisIndex 'VarRows & "_" & VarCol newbox.Text = ThisIndex ' newbox.Name AddHandler newbox.TextChanged, AddressOf TextBox_TextChanged runtext(ThisIndex) = newbox runtext(ThisIndex).Multiline = True Panel1.Controls.Add(newbox) Next Next Panel1.Width = (GapCol + itswidth) * Val(TextCols.Text) + 10 Panel1.Height = (GapRow + ItsHeigt) * Val(TextRow.Text) + 10 Me.Height = Panel1.Height + Panel1.Top + 100 Me.Width = Panel1.Width + Panel1.Left + 100 'Me.AutoScroll = True Me.Location = New Point(10, 10) End Sub

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): ''''''''''''''''''''''''''''''
  • Filler text (0): '''''''''''''''''''''''''''''''
  • Low reputation (1):
Posted by: gs singh

79280235

Date: 2024-12-14 07:26:41
Score: 1.5
Natty:
Report link

You are using react v17 in your project and v18 in your ui library. and that's why you are getting this error.

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

79280232

Date: 2024-12-14 07:24:41
Score: 1.5
Natty:
Report link

According to me, this line sets the web application name. This is mostly useful to fetch application configurations in case you have a remote cloud config in place, meaning that you have a separate remote repository where you store all of your configurations in a remote git repository. It is a fairly known concept of springboot.

You can read more about it here: https://docs.spring.io/spring-cloud-config/docs/current/reference/html/

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

79280228

Date: 2024-12-14 07:21:40
Score: 3
Natty:
Report link

After going through the w3schools documentation and taking @AHaworth, @Yogi, and @alvinalvord's solutions, I have ended up with an answer myself. I would like to thank you all for your involvement.

The typewriter effect is a bit challenging when it comes to multiple elements with the conditions set by me:

By combining CSS properties like visibility, nth-child(n), animation-fill-mode I was able to achieve what I desired:

:root {
  --typing-effect: typing 2s steps(24, end);
  --blink-effect: blink 1s step-end; 
}

.typewriter {
  font-family: monospace;
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
}

.typewriter p {
  overflow: hidden;
  /* Ensures text doesn't overflow */
  white-space: nowrap;
  /* Prevents text from wrapping */
  border-right: 2px solid black;
  /* Simulates a typing cursor */
  visibility: hidden;
  width: fit-content;
}

/* Typing animation */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink { 50% { border-color: transparent; }}

/* Hide the cursor at the end. */
@keyframes hide { to { border-color: transparent; }}

/* Shows only after the previous animation is complete */
@keyframes show {
  from { visibility: hidden; }

  to { visibility: visible; }
}

/* Applying the animation */
p:nth-child(1) {
  visibility: visible;
  animation: var(--typing-effect), var(--blink-effect), hide 2s step-end;
  /* Adjust based on text length */
  animation-fill-mode: forwards;
}

p:nth-child(2) {
  animation: show 0s 2s, var(--typing-effect) 2s, var(--blink-effect), hide 4s step-end;
  /* Adjust based on text length */
  animation-fill-mode: forwards;
}

p:nth-child(3) {
  animation: show 0s 4.2s forwards, var(--typing-effect) 4.2s, var(--blink-effect) infinite;
}
<div class="typewriter">
  <div>
    <p>Hello, Welcome to stack overflow!</p>
    <p>Let's get started!</p>
    <p>Good Morning Peers!</p>
  </div>
</div>

  1. The visibility:hidden property ensures subsequent lines remain hidden until their animations start.

  2. The nth-child(n) selector synchronizes the animations for each line.

  3. The animation-fill-mode:forwards keeps the lines visible after typing.

Even though I have achieved what I wanted, there are still some issues with the spacing. If you run the snippet you can see that the cursor extends to the full-width of the element even though I have set width: fit-content to all <p> elements.

If anyone can solve this problem, it would be a great help.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): Good Morning
  • RegEx Blacklisted phrase (0.5): anyone can solve
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @AHaworth
  • User mentioned (0): @Yogi
  • User mentioned (0): @alvinalvord's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nayan Anand

79280227

Date: 2024-12-14 07:19:40
Score: 1
Natty:
Report link

OK, so the solution is extremely complicated and advanced. Only the wisest and most intelligent programmers are able to execute these highly precise instructions. If you are a newbie, look away now, I don't want your eyes to explode, with how complex this is. Are you ready? So, what you must do is:

  1. restart you phone

I know it sounds complicated, but its what must be done.

(p.s. this is me answering my own question, I am not a rude person)

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: oosh

79280219

Date: 2024-12-14 07:11:38
Score: 2.5
Natty:
Report link

I just saw this

Android linker errors

Could you try the suggestions and report back here if you get it to work?

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

79280214

Date: 2024-12-14 07:08:38
Score: 1
Natty:
Report link

Create new flutter app and observe new versions and structure of AGP and gradle from files gradle-wrapper.properties settings.gradle build.gradle app/build.gradle More over, we don't know how old your project, take a look at AndroidManifest file

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

79280211

Date: 2024-12-14 07:06:37
Score: 2
Natty:
Report link

Use TLS Requests:

pip install wrapper-tls-requests

Unlocking Cloudflare Bot Fight Mode

import tls_requests
r = tls_requests.get('https://www.coingecko.com/')
print(r)
<Response [200]>

Github repo: https://github.com/thewebscraping/tls-requests

Read the documentation: thewebscraping.github.io/tls-requests/

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

79280210

Date: 2024-12-14 07:05:37
Score: 2
Natty:
Report link

You can use Wisernotify to create social proof on wordpress.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kappu Parmar

79280206

Date: 2024-12-14 07:02:36
Score: 2
Natty:
Report link

There are two more things that you may check.

  1. Check if the iOS Simulator Images are downloaded. enter image description here

  2. Base SDK, in the Build Settings, should be set to iOS. enter image description here

You may refer this youtube video, for a step by step guide.

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

79280198

Date: 2024-12-14 06:57:35
Score: 3
Natty:
Report link

So basically, apple has their own weird version. Can't run on other platorms, only apple :/

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

79280192

Date: 2024-12-14 06:51:34
Score: 1.5
Natty:
Report link

Not possible as much as i know. There is a nice Package to customize swipe actions: "https://github.com/aheze/SwipeActions". Enjoy and Thanks to Package distributer.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AB1

79280191

Date: 2024-12-14 06:51:34
Score: 1.5
Natty:
Report link

You no longer need to use fetchSignInMethodsForEmail as Firebase automatically returns an error if the user has already signed up or signed in with the same email. Instead, you simply need to handle the error message when trying to sign up or sign in the user, as Firebase will notify you if the email is already in use.

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

79280189

Date: 2024-12-14 06:47:33
Score: 1
Natty:
Report link

Yes, it's possible to save an image as a PDF using PHP, but you'll need a library like FPDF, TCPDF, or DomPDF since GD doesn’t have built-in support for PDF export.

For a simple solution, FPDF is a great choice as it allows you to insert an image into a PDF and save it. TCPDF is more advanced and supports additional features like compression and text formatting.

If you're not keen on coding or need quick conversions, you can also use online tools like Letsconvert.io, which are user-friendly and reliable for tasks like this.

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

79280187

Date: 2024-12-14 06:46:33
Score: 1.5
Natty:
Report link

I don't know why, but I've solved it now. go compiled dynamic library “libtest1.so”, from compile time with -ltest1 command, to run in load_so_main() function through dlopen() to open libtest1.so, and then through dlsym() to find Test1() function, it worked properly.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: wgf098

79280179

Date: 2024-12-14 06:38:31
Score: 2
Natty:
Report link

For me works:

logging:
  config: file:logback.xml
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RobertC

79280174

Date: 2024-12-14 06:27:29
Score: 0.5
Natty:
Report link

Yes, this can be done by setting a time unit on the x encoding and sorting by the fiscal year month. Here's an example with stock data:

enter image description here

import altair as alt
import polars as pl
from vega_datasets import data

source = data.stocks()

df = pl.DataFrame(source).filter(
    pl.col("symbol") == "AAPL", 
).with_columns(
    fy=pl.col("date").dt.year() - pl.when(pl.col("date").dt.month() <= 3).then(1).otherwise(0),
    fy_month=pl.col("date").dt.month() - 3 + pl.when(pl.col("date").dt.month() <= 3).then(12).otherwise(0)
).filter(
    pl.col("fy").is_in([2004, 2005, 2006])
)

alt.Chart(df).mark_bar().encode(
    x=alt.X("date:O", timeUnit="month", sort=alt.EncodingSortField("fy_month")),
    xOffset=alt.XOffset("fy:N"),
    y="mean(price)",
    color=alt.Color("fy:N")
).properties(width=400)
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kgoodrick

79280171

Date: 2024-12-14 06:25:29
Score: 2
Natty:
Report link

You can try changing the awesome_notifications version in pubspec.yaml

try :

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

79280159

Date: 2024-12-14 06:16:27
Score: 1
Natty:
Report link

Open the destination with x mode, which fails if the file already exists.

def safe_copy(srcfile, destfile):
    with open(srcfile, "rb") as src, open(destfile, "wxb") as dest:
        dest.write(src.read())

Opening destfile will raise FileExistsError. See What does python3 open "x" mode do?

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Barmar

79280157

Date: 2024-12-14 06:15:27
Score: 1
Natty:
Report link

check your cors origin ip are corrects or wrong any spell mistake app.use(cors({

origin: [process.env.ORIGIN,process.env.LAN,process.env.WIFI],
methods: ['GET', 'POST', 'PUT', 'DELETE'],
credentials: true,

})); your frontend ip and cookie domain are same or not

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

79280147

Date: 2024-12-14 06:04:25
Score: 2.5
Natty:
Report link

I have tried several extensions, but none of them work for SOCKS5 authentication. Some third-party browsers, such as Easy Browser (EasyBR), have integrated SOCKS5 username and password authentication functionality and support HTTP, HTTPS authentication

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

79280139

Date: 2024-12-14 05:58:24
Score: 0.5
Natty:
Report link

Basically, just like css, tailwind css is classes/wrappers or sugar on top of css.
So whatever css code works for you, it will work inside a custom tailwind css class. For ex. inside the index.css file:

@tailwind utilities;

@layer utilities {
  header {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - 6vw)
    );
  }
}

or in a different case if you want to use and name your own class(please correct me, for the 'class' part if it isnt a class) just like @Taiseen said:

@tailwind utilities;

@layer utilities {
  .clip-your-needful-style {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 6vw));
  }
}

So, in Taiseen's case, if you want to use clip-your-needful-style in <header>, just like he said you use it like: <header className="clip-your-needful-style"> instead of just <header>.

Also the link with the code you showed, you can add the css code inside the @layer utilities{ put_them_here } code block (in .css file) and they will work.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Taiseen
  • Low reputation (0.5):
Posted by: John Xenakis

79280138

Date: 2024-12-14 05:57:24
Score: 2
Natty:
Report link
try reset all networking setting for iphone, this is work for me
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rohit Chahal

79280121

Date: 2024-12-14 05:37:20
Score: 1
Natty:
Report link

I learned a lot from the answers, and they are correct. Thanks to those contributing.

The code as shown in question above is not well defined, because void* is "not compatible" with square*, specifically because pointers to struct and non struct types may have different size and representations, as quoted here.

https://stackoverflow.com/a/1241314/1087626

However, as stated in above quote, and confirmed below, all struct types are guaranteed by the standard to have the same size and representation. So all I need to do, is to change void* to obj_* where obj_ is a dummy struct, and the code is supported by the standard.

This falls into the "alternative solutions" category. It's just one line extra for the dummy struct and 2 lines changed for void* => obj_* and in IMO, this is much preferable to my previous solution, which was also discussed in comments above, of having 10x10 wrapper functions to cast the pointers.

Full code shown below:


#include <stdio.h>

// types
typedef struct {
  int a;
  double d;
} circle;

typedef struct {
  int b;
  float f;
} square;

// ... 10 types,.. different sizeof()

// concrete API
int open_circle(circle* c) {
  printf("opening circle: %d: %f\n", c->a, c->d);
  return c->a;
}

int open_square(square* s) {
  printf("opening square: %d: %f\n", s->b, s->f);
  return s->b;
}

int send_circle(circle* c, const char* msg) {
  printf("sending circle: %d: %f: %s\n", c->a, c->d, msg);
  return -c->a;
}

int send_square(square* s, const char* msg) {
  printf("sending square: %d: %f: %s\n", s->b, s->f, msg);
  return -s->b;
}

// ten more operations for each type

typedef struct { int dummy_; } obj_;

// "genericised" function pointer types (note the void* params!!)
typedef int (*open_fpt)(obj_* o);
typedef int (*send_fpt)(obj_* o, const char*);

typedef void (*gfp)(void); // generic function pointer

int generic_processor(void* obj, gfp open, gfp send) {
  int sum = 0;
  sum += ((open_fpt)open)(obj);
  sum += ((send_fpt)send)(obj, "generically sent");
  return sum;
}

int main() {
  circle c = {2, 22.2};
  square s = {3, 33.3F};

  int net = 0;
  net += generic_processor(&c, (gfp)open_circle, (gfp)send_circle);
  net += generic_processor(&s, (gfp)open_square, (gfp)send_square);
  printf("net %d\n", net);
  return 0;
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Oliver Schönrock

79280117

Date: 2024-12-14 05:31:19
Score: 1
Natty:
Report link
#include<stdio.h>
#incldue<stdlib.h>
struct node{
 int data;
 struct node*next;
};
int main()
{
  struct node*start=NULL;
  start=(struct node*)malloc(sizeof(struct node));
  start->data=10;
  start->next=NULL;
  return 0;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khushi Devi

79280109

Date: 2024-12-14 05:25:18
Score: 0.5
Natty:
Report link

I used lambda because I think the argument of a function had the property of holding a value.

I do not understand the details of the detailed grammatical evaluation with difficulty, but I was able to successfully prepare a generator that generates a generator by doing the following.

root_gen = ((lambda t: ((t,y) for y in range(3)))(x) for x in range(5))

To evaluate, please use below:

tuple(map(tuple, root_gen)) 

The original idea is as follows:

# generate a sub generator
def sub_gen(x):
    return ((x,y) for y in range(3))

# test 
tuple(gen(1))
tuple(gen(2))

# make generator
root_gen = (gen(n) for n in range(5)) 

# evaluate
tuple(map(tuple(root_gen)))
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KLc3088

79280104

Date: 2024-12-14 05:21:17
Score: 0.5
Natty:
Report link

There is no official solution for now yet..but there is a work around.. you just have to add this to your pubspec.yaml

dependency_overrides:
  algolia_client_core: 1.27.1
  algolia_client_insights: 1.27.1
  algolia_client_search: 1.27.1
  algoliasearch: 1.27.1

Please see the original post on Github

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Saw Tha Wah

79280102

Date: 2024-12-14 05:19:17
Score: 2.5
Natty:
Report link

I think this is due to the directory name -myproject and your name in the setup.py file not aligning. When importing I believe the <import 'name'> should match the directory of which the package is named.

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

79280090

Date: 2024-12-14 05:11:14
Score: 9.5 đŸš©
Natty: 5.5
Report link

hey can anyone tell how to fix these error?

Reasons:
  • RegEx Blacklisted phrase (2.5): can anyone tell how
  • RegEx Blacklisted phrase (1.5): how to fix these error?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ABHISHEK RAJ

79280089

Date: 2024-12-14 05:08:13
Score: 2.5
Natty:
Report link

select cast(lat_n as decimal(9,4)) from station where lat_n < 137.2345 order by lat_n desc limit 1

This works for hackerrank.

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

79280079

Date: 2024-12-14 04:54:11
Score: 1.5
Natty:
Report link

const rs = {
  previousPageCursor: null
}
try {
  console.log(JSON.parse(rs))
} catch (error) {
  console.log(error.message)
}

10000000

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: êč€ì •현

79280076

Date: 2024-12-14 04:51:10
Score: 6
Natty: 7
Report link

can we remove currency icon from this amount?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can we
  • Low reputation (1):
Posted by: Rajendra Dhakal

79280068

Date: 2024-12-14 04:42:08
Score: 6.5 đŸš©
Natty:
Report link

Have you seen https://github.com/CATIA-Systems/FMPy?tab=readme-ov-file#advanced-usage ?

In particular, https://github.com/CATIA-Systems/FMPy/blob/main/fmpy/examples/custom_input.py

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Claudio

79280066

Date: 2024-12-14 04:40:07
Score: 1.5
Natty:
Report link

Modern website development file structure organizes the project into clear, manageable folders. Key directories include the root for essential files like index.html and README.md, /assets for images and fonts, /styles for CSS, and /js for JavaScript. Reusable components are placed in /components, while HTML templates go into /views. Backend code, if any, resides in a /server folder. For testing, files are kept in /tests, and production-ready files are output in a /build folder. This structure ensures scalability, maintainability, and efficient collaboration throughout the project. Read more...

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

79280062

Date: 2024-12-14 04:35:06
Score: 3.5
Natty:
Report link

Thanks to @zett42, this works:

<Custom Action='LaunchInstallQuiet' After='InstallFiles'><![CDATA[NONADMIN<>"1" AND NOT REMOVE="ALL"]]></Custom>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @zett42
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: byq

79280043

Date: 2024-12-14 04:12:03
Score: 3
Natty:
Report link

conigure httpconduit along with setting maxredirects set up httpclientproxy

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

79280037

Date: 2024-12-14 04:04:01
Score: 1
Natty:
Report link

The Python PATH you can setup when you are installing Python, if you checked it. Or you can use sublime text to code and cmd to run. Its better way than trying to setup envi on VS Code with Python

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zaria

79280020

Date: 2024-12-14 03:41:57
Score: 2.5
Natty:
Report link

in the chat playground, there should be a view code option/button (left top) that will generate corresponding code block that you can call. The restful openai call should contain AI search index parameters that references document knowledge base. Worth giving it a try.

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

79280013

Date: 2024-12-14 03:26:55
Score: 1.5
Natty:
Report link

Maybe you just need run CMD as Admin then command python -v again. It worked for me.

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

79280007

Date: 2024-12-14 03:24:55
Score: 2.5
Natty:
Report link

To resolve I modified the B2C_1A_TRUSTFRAMEWORKBASE policy selfAsserted to a later version. However, I also had to add ":contract" in addition to upgrading the version from 1.1.0 to 2.1.7.

Credit to bolt-io for his answer here: https://stackoverflow.com/a/79277857/312826

enter image description here

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: davewilliams459

79280004

Date: 2024-12-14 03:22:54
Score: 5.5
Natty:
Report link

Do you have the following in your build.gradle?

android {
    buildFeatures {
        androidResources = true
    }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: vlazzle

79279986

Date: 2024-12-14 03:05:51
Score: 1
Natty:
Report link

I'm using IPopupService instance to open and close the popups.

I can elaborate it if you need further implementation.

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

79279985

Date: 2024-12-14 03:04:50
Score: 1.5
Natty:
Report link

Try: =Left(D2,find(".",D2,1)-1)

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • High reputation (-2):
Posted by: Ed Nelson

79279980

Date: 2024-12-14 03:00:50
Score: 1.5
Natty:
Report link

I believe CodeSignal AI is correct in identifying an issue with your solution. Consider this test case: ["apple", "banana", "banana"]. Your code currently returns "", but the answer should be "apple".

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

79279975

Date: 2024-12-14 02:55:49
Score: 1
Natty:
Report link

For anyone looking for a newer option (currently .Net 6/8), and one that works on Linux or Windows, then consider KuzniaSolutions.LdapClient (Full disclosure, I am the author). It also completely supports security identifiers on all platforms, which is currently unique.

https://www.nuget.org/packages/KuzniaSolutions.LdapClient

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

79279972

Date: 2024-12-14 02:50:48
Score: 0.5
Natty:
Report link

If I understand what your looking for. You have the const currentPage within the loop, so it will never be anything but 1 for every page.

Add this above the loop.

let currentPage = 0;

Then have this within the loop, before the createHeader()

currentPage++;

Should work better.

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

79279967

Date: 2024-12-14 02:41:45
Score: 6.5 đŸš©
Natty:
Report link

How can you know it? I'm Vietnamese but I haven't heard it. I don't say it wasn't true but I just want know why no news about it in few days ago. Is it just happen today? If you have any news about it, please give me a link. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): please give me
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can you
  • Low reputation (1):
Posted by: Zaria

79279964

Date: 2024-12-14 02:40:43
Score: 6.5 đŸš©
Natty:
Report link

I have the same error I have to install Xvfb to use: xvfb :99 & export DISPLAY=':99'

In order to TIBCO executes normally

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28775640

79279959

Date: 2024-12-14 02:33:41
Score: 0.5
Natty:
Report link

In order to install realm, requires as follows, in build.gradle (:app)

apply plugin: 'realm-android'

in build.gradle (:Project level)

buildscript {
    ext.realm_version = '10.15.1'
    repositories {
        google()
        maven { url "https://github.com/realm/realm-java" } // Realm repository
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.3.1'
        classpath "io.realm:realm-gradle-plugin:$realm_version"
        classpath "io.realm:realm-gradle-plugin:$realm_version-transformer-api"
        classpath "io.realm:realm-gradle-plugin:10.15.1" // Use the latest version
    }
}

enter image description here

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

79279954

Date: 2024-12-14 02:28:41
Score: 0.5
Natty:
Report link

You can use the disableVerticalSwipes method to prevent unwanted vertical swipes and the enableVerticalSwipes method to enable them. These methods control the state of the isVerticalSwipesEnabled property in Telegram Mini Apps.

According to the Telegram Web App documentation:

If isVerticalSwipesEnabled is set to true, vertical swipes by the user will minimize the mini app. If set to false, the mini app will only be minimized when the user swipes the header.

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Low reputation (1):
Posted by: ŰąŰ±Ù…ÛŒÙ† ۱ŰČŰ§Ù‚ Ù†Ú˜Ű§ŰŻ

79279953

Date: 2024-12-14 02:28:41
Score: 1
Natty:
Report link

Finally, I found a solution to the issue of handling events from a C# COM object in VBA using the WithEvents keyword. Below is the code and explanation that helped me resolve the problem:

C# Code :

In the C# code, I implemented a COM object that raises an event (OnTaskCompleted) when a task is completed. The key part is the use of the [ComSourceInterfaces] attribute, which allows the COM object to expose the event to VBA.

TaskRunner.cs

using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using System.Collections.Concurrent;

namespace ComEventTest
{
    [Guid("cc6eeac0-fe23-4ce4-8edb-676a11c57c7c")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    public interface ITaskRunner
    {
        [DispId(1)]
        void RunTask(string input);
    }

    [Guid("619a141c-5574-4bfe-a663-2e5590e538e2")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    public interface ITaskRunnerEvents
    {
        [DispId(1)]
        void OnTaskCompleted(string result);
    }

    [ComVisible(true)]
    [Guid("9acdd19f-b688-48c0-88d9-b81b7697d6d4")]
    [ClassInterface(ClassInterfaceType.None)]
    [ComSourceInterfaces(typeof(ITaskRunnerEvents))]
    public class TaskRunner : ITaskRunner
    {
        [ComVisible(true)]
        public delegate void TaskCompletedEventHandler(string result);

        [DispId(1)]
        public event TaskCompletedEventHandler OnTaskCompleted;

        private ConcurrentQueue<string> taskQueue = new ConcurrentQueue<string>();
        private bool isProcessingQueue = false;

        public void RunTask(string input)
        {
            taskQueue.Enqueue(input);
            ProcessQueue();
        }

        private async void ProcessQueue()
        {
            if (isProcessingQueue)
                return;

            isProcessingQueue = true;

            while (taskQueue.TryDequeue(out string input))
            {
                try
                {
                    await Task.Delay(5000); // Simulate work
                    OnTaskCompleted?.Invoke($"Task completed with input: {input}");
                }
                catch (Exception ex)
                {
                    OnTaskCompleted?.Invoke($"Task failed: {ex.Message}");
                }
            }

            isProcessingQueue = false;
        }
    }
}

VBA Code :

In the VBA code, I used the WithEvents keyword to handle the OnTaskCompleted event. This allows VBA to listen for and process events raised by the C# COM object. I also created an event handler class (TaskRunnerEventHandler) to handle the event and process the results.

Class Module: TaskRunnerEventHandler

Option Compare Database
Option Explicit

Public WithEvents taskRunner As ComEventTest.taskRunner

Private Sub taskRunner_OnTaskCompleted(ByVal result As String)
    'MsgBox result
    Debug.Print result
End Sub

Public Sub InitializeTaskRunner()
    Set taskRunner = New ComEventTest.taskRunner
End Sub

Public Sub FireEvent(poraka As String)
    taskRunner.RunTask poraka
End Sub

Usage module

Option Compare Database
Option Explicit

Dim eventHandlers As Collection

Sub InitializeEventHandlers()
    Set eventHandlers = New Collection
End Sub

Sub TestTaskRunner(Optional retr As String)

    If eventHandlers Is Nothing Then
        InitializeEventHandlers
    End If

    Dim newEventHandler As TaskRunnerEventHandler
    Set newEventHandler = New TaskRunnerEventHandler

    newEventHandler.InitializeTaskRunner

    eventHandlers.Add newEventHandler

    Dim i As Integer
    For i = 1 To 10
        newEventHandler.FireEvent "Task " & retr & "-" & i
        Sleep 100 ' Simulate delay for async task running
        Debug.Print "Task " & retr & "-" & i & " is running asynchronously!"
    Next i
    
End Sub

Sub TestTaskRunner_MultCalls()
    ' Fire multiple calls to TestTaskRunner
    Dim i As Integer
    For i = 1 To 10
        Debug.Print "New CALL SUB fire " & i
        TestTaskRunner CStr(i)
        Sleep 500 ' Simulate delay between multiple calls
    Next i
End Sub

Explanation:

The C# COM object exposes an event (OnTaskCompleted) that is triggered after completing a task asynchronously.

In VBA, I used the WithEvents keyword to declare the COM object and catch the (OnTaskCompleted) event. This allows me to process the result of each task in the taskRunner_OnTaskCompleted method. I also simulated multiple task submissions in the VBA code using Sleep to delay the execution and give time for the events to be raised and handled.

This solution worked, and now I can handle asynchronous events from the C# COM object seamlessly in VBA.

Any ideas to improve the above solution are welcome!

Reasons:
  • Blacklisted phrase (1): Any ideas
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Adrijano Toys Shop

79279940

Date: 2024-12-14 02:08:37
Score: 4
Natty: 5
Report link

You just saved me a ton of time. Deactivating the security plugins was the key. Thanks!

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

79279937

Date: 2024-12-14 02:06:36
Score: 4
Natty: 5
Report link

I used the link given and so far so good, thank you

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

79279934

Date: 2024-12-14 02:03:35
Score: 1.5
Natty:
Report link

Older Butterknife versions still worked, refer to the Butterknife changelog docs

implementation 'com.jakewharton:butterknife:10.0.0'  
annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'

enter image description here

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

79279932

Date: 2024-12-14 02:00:35
Score: 2
Natty:
Report link

In my case I tried to an empty dictionaries under Tracing Domains and Nutrition Label Types and it works fine. My iOS build approved. Because the error simply states that "Keys and values in your app’s privacy manifests must be valid." and due to empty dictionaries that error occured.

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

79279930

Date: 2024-12-14 01:58:34
Score: 1.5
Natty:
Report link

Client Certificate Authentication with Spring Boot

https://medium.com/geekculture/authentication-using-certificates-7e2cfaacd18b

# Define a custom port instead of the default 8080
server.port=8443

# Tell Spring Security (if used) to require requests over HTTPS
security.require-ssl=true

# The format used for the keystore 
server.ssl.key-store-type=PKCS12
# The path to the keystore containing the certificate
server.ssl.key-store=classpath:keystore.p12
# The password used to generate the certificate
server.ssl.key-store-password= {your password here}
# The alias mapped to the certificate
server.ssl.key-alias=tomcat
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chizl

79279921

Date: 2024-12-14 01:37:31
Score: 2.5
Natty:
Report link

Ok but... can you animate rotation of parent without rotating child? Been trying to crack this for a while but am stuck... :(

.layout {
  display: grid;
  grid-template-columns: 1fr 4fr;
  height: 100vh;
  width: 80%;
  padding-top: 25px;
  gap: 1rem;
}
.nav {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.profile-pic {
  border-radius: 50%;
  width:100px;
  height:100px;
}

#cont{
  background: linear-gradient(to top left, #28b487, #7dd56f);
  width: 100%;
  border-radius: 50%;
  padding: 10px;
  margin: 0;
  line-height: 0;
  position: relative;
  animation: rotate 5.2s infinite linear;
 }
  
#box{
  background: #000000;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 0;
  margin: 0;
}


@keyframes rotate {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
<div class="layout">
  <div class="nav">
  <!--  a div dynamically positioned on page... -->
  
    <!--  content to animate -->
    <div id="cont">
      <!--  keep this still -->
      <div id="box">
        <img src="maple.jpg" class="profile-pic">
      </div>
    </div>
    
    
  </div>
</div>

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (1.5): am stuck
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Paul

79279920

Date: 2024-12-14 01:36:31
Score: 1
Natty:
Report link

As Jeffrey's answer said, window.performance.now() gives microsecond accuracy on most browsers. However, the actual value it returns is in milliseconds; it's just that its decimal portion enables microseconds to be calculated. I.e.: window.performance.now() * 1000.

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

79279919

Date: 2024-12-14 01:35:31
Score: 1.5
Natty:
Report link

Check the setup.exe here : C:\Program Files (x86)\Microsoft Visual Studio\Installer and make sure if the full installation has been completed

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

79279914

Date: 2024-12-14 01:29:29
Score: 3.5
Natty:
Report link

I am writing to report a fraudulent transaction involving my account Unfortunately an unauthorized transfer of funds has been made from my account to another person account via RTGS I kindly request your urgent assistance in resolving this matter and taking necessary steps to prevent further unauthorized transactions I am Valuable customer RTGS banking ke through 253000 I would like to inform pls investigate refund the money Pls look into take the action pls ensure me given postive response

Reasons:
  • RegEx Blacklisted phrase (2): urgent
  • No code block (0.5):
  • Low reputation (1):
Posted by: ABHISHEK SINGH

79279910

Date: 2024-12-14 01:27:29
Score: 3.5
Natty:
Report link

I love it! This part is Product Sans the font I cannot use it. It is shortened to 'Sans'. I think I can use it on CSS.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Reyansh Mishra

79279903

Date: 2024-12-14 01:18:28
Score: 1.5
Natty:
Report link

As of today December 2024 this older Butterknife version is still working:

implementation 'com.jakewharton:butterknife:8.7.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'

enter image description here

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

79279900

Date: 2024-12-14 01:14:27
Score: 1
Natty:
Report link

Same problem with me, when I use conda create R environment.

Below it work for me, change the path of site-library.

Try this instead.

sudo chmod 777 -R /usr/local/lib/R/site-library
Reasons:
  • Whitelisted phrase (-1): Try this
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: zemise_

79279892

Date: 2024-12-14 01:06:26
Score: 2
Natty:
Report link

My first guess would've been that your gibberish was Shift JIS mistakenly encoded as IBM437. Personally, I'd use this website here in the future (be sure to push the Swap button after encoding but before decoding). (I used to use string-functions.com for this sorta thing, but it's gone now.)

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

79279889

Date: 2024-12-14 00:59:24
Score: 1
Natty:
Report link

I got the following two errors when installing.

1.make failedNo such file or directory - make
2.make: gcc: No such file or directory

The following command solved my problem

sudo apt install -y make gcc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BabyFire

79279876

Date: 2024-12-14 00:50:22
Score: 4
Natty: 4
Report link

try a link opener maybe not too sure tbh

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

79279870

Date: 2024-12-14 00:42:21
Score: 0.5
Natty:
Report link

You may be experiencing a bug. As was previously stated, the Chrome badge is added to bookmark icons. So you know it is not a PWA.

This can happen even if the Play Store is unreachable, even if everything is copasetic on the server, the client, the manifest and the website. "Unreachable" includes there being no signed-in user. For mysterious reasons, Play Store access is needed currently to install a PWA.

You can weigh in on this. A bug report has been filed at https://issues.chromium.org/issues/372866273. I encourage all readers to make their way over and vote for it.

We really care because our users are often in places where the Play Store is almost unreachable. Our users give up before the http transaction with the Play Store times out. This, even though the web server is right next door.

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

79279869

Date: 2024-12-14 00:40:20
Score: 1.5
Natty:
Report link

As old as this thread is, I think it worth adding that this "behavior" differs between browsers. So advice ought always be given specifying which browser, and ideally also which version that the suggested solution works on. Generally speaking it has been my experience that Firefox and it's "derivatives" have been the browsers that curtailed this the hardest... Though can of course change over time... and I could be wrong

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

79279866

Date: 2024-12-14 00:37:20
Score: 1.5
Natty:
Report link

Okay, so I guess posting the question is all I needed to find the answer. The answer was a combination of

reduce($$ ++ $)

which helped reduce the array of key/value pairs down into a single JSON object

and putting the proper parens() around the functions to include both the fieldMappings and the reduce

and then being able to put the as Object after the reduce, but before the end of the function that spits out the array of objects

Makes sense when I really think about it, but I'm new to DataWeave script and so the notion of nested functions isn't something I am familiar with.

Anyway, for those interested here is what worked:

%dw 2.0
input csvData application/csv
input fieldMappings application/json
input objectProperties application/json
var apexClass = objectProperties.ObjectName

output application/apex
---

csvData map ((row) ->
    (
        (
        fieldMappings map (fieldMapping) ->
        (fieldMapping.target) : if(row[fieldMapping.source] != "") row[fieldMapping.source] else fieldMapping."defaultValue"
        )
        reduce ($$ ++ $)
    ) as Object
)
Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: caleb

79279862

Date: 2024-12-14 00:32:19
Score: 0.5
Natty:
Report link

unexpected token ',' means "that comma is nonsense". Lean 3 had commas at the end of lines, Lean 4 does not. Delete the comma, and then you'll get another error unexpected token ',' which means you should delete that comma too. Repeat a third time. You'll then get an unknown tactic error because you're using the Lean 3 cases syntax, not the Lean 4 cases syntax. Did an LLM which can't tell the difference between Lean 3 and Lean 4 write this code by any chance? You can change cases to cases'. You'll then get another error about a comma etc etc. Basically your code doesn't work because it's full of syntax errors.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kevin Buzzard

79279860

Date: 2024-12-14 00:30:17
Score: 5.5
Natty: 4.5
Report link

I tried deleting my credentials.json, and it worked once. Now, couple days later I'm facing the same issue again "Access token refresh failed: invalid_grant: Token has been expired or revoked."

Any new solution for this?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user28774891

79279851

Date: 2024-12-14 00:20:15
Score: 1
Natty:
Report link

I believe I have found the solution to this myself, by reading the words of the wise Mr Graham Dumpleton, author of mod_wsgi: "if you are going to leave these running permanently, ensure you use --server-root option to specify where to place generated files. Don't use the default under /tmp as some operating systems run cron jobs that remove old files under /tmp, which can screw up things."

I was running things under /tmp. I am now adding --server-root to my "python manage.py runmodwsgi" command, and will see whether this resolves the issue.

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

79279849

Date: 2024-12-14 00:19:14
Score: 2
Natty:
Report link

Your L1-regularized logistic regression (a.k.a. Lasso penalty) might pick different subsets of correlated features across runs because L1-regularization enforces sparsity in a somewhat arbitrary way when correlation is present. Zeroed-out coefficients aren’t necessarily “worthless”; they may just be overshadowed by a correlated feature that the model latched onto first.

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

79279848

Date: 2024-12-14 00:19:14
Score: 1
Natty:
Report link

This issue was resolved by upgrading to Aspose version 24.12.0.

@Hoodlum, I don't think this is what you're dealing with, but I chose to address the security vulnerability reference in Aspose v 24.12.0's reference to System.Security.Cryptography.Pkcs 8.0 with a direct reference:

<PackageReference Include="System.Security.Cryptography.Pkcs" Version="9.*" />

This override passed our test suite, including the use of password protection (which did not work under Aspose 21.12.0).

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • User mentioned (1): @Hoodlum
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Eric Patrick

79279843

Date: 2024-12-14 00:14:13
Score: 0.5
Natty:
Report link

found it in Dependencies - .NET 8.0 - Projects - OpenAI, right click - Delete (maybe it was Edit - Delete, I don't remember)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: me.at.coding

79279828

Date: 2024-12-14 00:00:10
Score: 2
Natty:
Report link

It sounds like the problem is you are not changing the apple id when you make purchase.

In production users will have their own user account and apple id.

The solution would be to make more test flight accounts so can simulate a different user with a different apple id

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

79279813

Date: 2024-12-13 23:46:08
Score: 0.5
Natty:
Report link

I've get an error AttributeError: 'str' object has no attribute 'pid'
small fix in order to run it: notify = connection.notifies.pop().payload -> notify = connection.notifies.pop()

Here is a full example that was taken from documentation and a bit changed, it is without timeout, thanks @snakecharmerb for link listen.py

import select

import psycopg2.extensions

CHANNEL = 'process'
# DSN = f'postgresql://{USER}:{password}@{HOST}/{DBNAME}'


def listen():
    curs = conn.cursor()
    curs.execute(f"LISTEN {CHANNEL};")

    print("Waiting for notifications on channel 'test'")
    while True:
        select.select([conn], [], [], 5)
        conn.poll()
        while conn.notifies:
            notify = conn.notifies.pop(0)
            print("Got NOTIFY:", notify.pid, notify.channel, notify.payload)


if __name__ == '__main__':
    conn = psycopg2.connect(host=HOST, dbname=DBNAME, user=USER, password=PASSWD)
    # conn = psycopg2.connect(DSN) # alternative connection
    conn.set_isolation_level(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT)
    listen()
  1. Run listener python listen.py
  2. Via pgAdmin Query Tool or Postgres Shell run select pg_notify('process', 'update'); or just NOTIFY process, 'This is the payload';

note: it should be the same DB, for listener and notifier

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

79279809

Date: 2024-12-13 23:41:07
Score: 3
Natty:
Report link

Combine both component into a parent component.

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

79279797

Date: 2024-12-13 23:33:05
Score: 2
Natty:
Report link

You have used sqlselect twice -- given the corrected code. Check if this works String sqlInsert = " Update Table1 Set ort = 'C' WHERE ID = '10' "; pepaw = conn.prepareStatement(sqlInsert);

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

79279796

Date: 2024-12-13 23:32:05
Score: 2
Natty:
Report link

It's more a npm installation related error. In the render.com settings of your project you should have a build command like that:

npm install && npm run build

enter image description here

for my project i have src/ relative path, don't pay attention.

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

79279783

Date: 2024-12-13 23:23:03
Score: 2
Natty:
Report link

Go to the directory where undetected_chromedriver is installed (usually in site-packages). Open the patcher.py file (located in site-packages/undetected_chromedriver/). Replace the LooseVersion import line from distutils.version with a direct import from packaging.version, which is a more modern and widely used alternative:

Change this

from distutils.version import LooseVersion

To this

from packaging.version import Version

sorry my bad english, use translator

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

79279781

Date: 2024-12-13 23:21:02
Score: 11.5
Natty: 7
Report link

I have the same issue. Did you solve it ?

I don't know how to send thruth data to override document pared with the custom parser.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mélanie GAULT

79279755

Date: 2024-12-13 22:55:59
Score: 1.5
Natty:
Report link

You are litteraly setting this value by doing constpaciente.setTipo_negocio("Tipo_Estabelecimento") as you did it you should retrieve value with getString() method from ResultSet

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

79279752

Date: 2024-12-13 22:54:58
Score: 1
Natty:
Report link

I don't think there is or will be anything in the standard (as of c++26) allowing you to do that at compile time. Few options remain:

The former is trivial and efficient; the second depends on what you may use, and the latter is many orders of magnitude more difficult...

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

79279751

Date: 2024-12-13 22:53:58
Score: 1.5
Natty:
Report link

Fast forward for years to the end of 2024, and we now have a NuGet package called Hardware.Info:

https://github.com/Jinjinov/Hardware.Info

I'm not involved in this project, simply sharing for future searchers.

I'm using it in .NET 8.

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

79279750

Date: 2024-12-13 22:51:57
Score: 4
Natty: 4.5
Report link

Can You use the 'If on edge bounce' block? Please try to clarify your question and maybe add a link to the project you are trying to make.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can You use the
  • Low reputation (1):
Posted by: Twineee

79279742

Date: 2024-12-13 22:47:56
Score: 0.5
Natty:
Report link

You just need to add loop: true into the Howl settings.

this.sounds[audioFile] = new Howl({
              src: [audioFile],
              volume: this.volume,
              preload: true,
              onend: () => {},
              loop: true,
            });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eloi

79279734

Date: 2024-12-13 22:43:55
Score: 4.5
Natty:
Report link

Try use back quotes around line breaks: This how it looks in visual studio

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

79279722

Date: 2024-12-13 22:32:52
Score: 2.5
Natty:
Report link

Although we need to see the JSON response in order to define the problem, but as @NickSlash comment's says, this might be because of invalidation of the JSON.

For example, the JSON below has an extra comma at the end (commas are used to seperate entites in an object. An extra comma at the end makes us to expect for another entity which doesn't exists.):

Reasons:
  • No code block (0.5):
  • User mentioned (1): @NickSlash
  • Low reputation (1):
Posted by: Ali Almasi

79279721

Date: 2024-12-13 22:31:52
Score: 0.5
Natty:
Report link

First of all I suggest you to read more attentively the documentation about CrudRepository method. The answers of your questions is clearly wrote on it. For example, for findAllById(... ids) method, doc says :

If some or all ids are not found, no entities are returned for these IDs.

So, if no ids are found, no entities will be returned and you will got an empty list. Otherwise, if some ids are found, matching entities will be returned and you will got list containing only matching entities. Your method should not have to always return a list whose size is equal to your names list size

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

79279713

Date: 2024-12-13 22:26:51
Score: 3.5
Natty:
Report link
linkvertise(1265898, {whitelist: [], blacklist: [""]});
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrés Romån Meza

79279709

Date: 2024-12-13 22:25:51
Score: 1
Natty:
Report link

So, thanks to the comments, I managed to find an answer. When setting attributes like -alpha, some window managers delay applying them until the window is fully realized and shown. By adding root.update_idletasks() before root.attributes("-alpha", 0.5) my script now behaves like the terminal.

The updated code is now:

import tkinter as tk

if __name__ == "__main__":
    root = tk.Tk()
    root.geometry("400x400")
    root.update_idletasks()
    root.attributes("-alpha", 0.5)
    root.mainloop()

Thanks for the help! I am leaving the answer here in case someone faces the same issue in the future.

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

79279707

Date: 2024-12-13 22:24:51
Score: 1.5
Natty:
Report link

I don't know if is this the best way, but for me solved changing version of the kotlin.android plugin to 2.0.0.

id "org.jetbrains.kotlin.android" version "2.0.0"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rodrigo Murta

79279705

Date: 2024-12-13 22:23:51
Score: 1.5
Natty:
Report link

In my case the fix was editing my C:\windows\system32\drivers\etc\hosts file, adding a entry for my SVN server.

SVN is doing some weird DNS stuff that does not work properly on windows in that it takes forever. This seems to bypass that.

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

79279703

Date: 2024-12-13 22:22:50
Score: 1.5
Natty:
Report link

In my case the fix was editing my C:\windows\system32\drivers\etc\hosts file, adding a entry for my SVN server.

SVN is doing some weird DNS stuff that does not work properly on windows in that it takes forever. This seems to bypass that.

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