79247555

Date: 2024-12-03 12:19:28
Score: 1.5
Natty:
Report link

As mentioned in this documentation regarding message retention duration the default value for the message retention duration is 7 days , the minimum time period for the retention is 10 minutes and the maximum value is 31 days. Here we can get clarity and confirmation regarding the different time duration mentioned for the message retention in Pub/Sub for both the Acked messages or the Unacked messages.

Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dhiraj Singh

79247547

Date: 2024-12-03 12:17:27
Score: 3
Natty:
Report link

Go to indexes in mongodb collection next to find section and search for the index shown in the error and delete it. It will solve your problem.

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

79247546

Date: 2024-12-03 12:16:27
Score: 2.5
Natty:
Report link

Great question mate! To insert a new point, you can calculate the distance to each segment and insert the point between the two closest ones. Nice approach using Line with tension 0.5 – it’s an effective way to draw smooth curves.

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

79247544

Date: 2024-12-03 12:15:26
Score: 0.5
Natty:
Report link

Just use

=INDEX(GOOGLEFINANCE("CURRENCY:AUDUSD", "price", DATE(2021,7,1)), 2,2)

In this function, changed QUERY(...) formula by INDEX(datatable,row,column) and removed unnecessary GOOGLEFINANCE() parameters.

INDEX

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

79247540

Date: 2024-12-03 12:15:26
Score: 3.5
Natty:
Report link

Here you can find blog post with complete example of deploying lambda using terraform.

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

79247539

Date: 2024-12-03 12:15:26
Score: 3.5
Natty:
Report link

$ npm i --save @nestjs/passport passport you need

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

79247538

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

Change scope from 'test' to 'compile'

<scope>compile</scope>

Hope it works!

Reasons:
  • Whitelisted phrase (-1): Hope it works
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vamsi Krishna

79247536

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

The problem appears to be that you're not using leading-zero formatting. See the documentation for printf() or whichever formatting function you're using.

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

79247518

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

The default Ubuntu Server configuration does not install swapfile.

just install a swapfile

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

79247506

Date: 2024-12-03 12:02:23
Score: 0.5
Natty:
Report link

Redirect to web app to another page

Utilizing XFrameOptionsMode as discussed here worked for the situation on your code. I modified your given code.gs and got it to redirect to another page

Modified Code

// Function to handle web app requests
function doGet(e) {
  if (e.parameter.page) {
    var pageName = e.parameter.page.trim().toLowerCase();
    Logger.log(pageName);
    if (pageName !== "home") {
      //I modified this section to use setFrameOptionsMode
      var template = HtmlService.createTemplateFromFile(pageName);
      return template.evaluate().setSandboxMode(HtmlService.SandboxMode.IFRAME)
        .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL);
    } else {
      return homePage();
    }
  } else {
    return homePage();
  }
}

function homePage() {
  var template = HtmlService.createTemplateFromFile("home");
  return template.evaluate();
}

Sample Output

Sample Output

References: XFrameOptionsMode

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

79247504

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

It seems you're encountering an issue with the security token when integrating ONLYOFFICE's document editor with your React frontend and Django backend. The error message "The document security token is not correctly formed" typically indicates that the token being passed from your backend to the ONLYOFFICE editor isn't properly generated or formatted.

See solution complete on GitHub

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

79247503

Date: 2024-12-03 12:02:23
Score: 0.5
Natty:
Report link

Turns out I accidentally swapped the ikm and salt arguments in the NodeJS code, here is the corrected code:

import crypto from 'crypto';

const input = Buffer.from("helloworld");
const salt = Buffer.alloc(32, 0); // Explicit salt

const output = crypto.hkdfSync('sha256', input, salt, Buffer.alloc(0), 48); // Correct use of `input` as IKM

console.log(Buffer.from(output).toString("hex"));
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ZeroByter

79247496

Date: 2024-12-03 12:01:22
Score: 2.5
Natty:
Report link

const connectionOptions = { host: 'Your ip address', port: 5432, database: 'node', user: 'emirb', password: 'emir123', };

Just change host working fine

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

79247493

Date: 2024-12-03 12:00:22
Score: 1
Natty:
Report link

if your memory were big, you can use your function to generate a lookup array of length=256 in compile time. when you do the reaarange job in run time, just look it up in the array. this can boost your speed up into 1 clockcycle in best case.

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: Yale Wang

79247488

Date: 2024-12-03 11:58:22
Score: 1
Natty:
Report link
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gurunandan Rao

79247467

Date: 2024-12-03 11:54:21
Score: 1.5
Natty:
Report link
cat x.json | grep cred_def_id | cut -d\" -f 4
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Pero

79247466

Date: 2024-12-03 11:54:21
Score: 2
Natty:
Report link

If its working on postman, its probably with how your request is created, you are using SimpleClientHttpRequestFactory(), it could be something with authorization, try placing a breakpoint and finding the exact line of code where the stack trace is being thrown. It could also be something with a type mismatch ect... Try to match it with your postman

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tv.tony

79247458

Date: 2024-12-03 11:52:19
Score: 7 🚩
Natty: 6
Report link

But the issue still exists for SSR (statically rendered) pages. Anyone knows a solution?

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

79247455

Date: 2024-12-03 11:51:19
Score: 2
Natty:
Report link

Add the Visual Studio Extension - "Template Studio for Win UI C#". Create a new Win UI 3 Project using the Win UI3 Template - This will create a new project that contains sample code for sending Notifications to Windows.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niall O'Dwyer

79247443

Date: 2024-12-03 11:49:18
Score: 0.5
Natty:
Report link

When setting the userInteraction property, also add/remove .notEnabled accessibility trait for that view

func disable() {
    view.isUserInteractionEnabled = false
    view.accessibilityTraits.insert(.notEnabled)
}

func enable() {
    view.isUserInteractionEnabled = true
    view.accessibilityTraits.remove(.notEnabled)
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: ikroop

79247440

Date: 2024-12-03 11:48:18
Score: 2.5
Natty:
Report link

I would suggest reaching out to Stripe Support instead, so they can look at your individual case: https://support.stripe.com/?contact=true

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

79247427

Date: 2024-12-03 11:44:17
Score: 1
Natty:
Report link

You can create a new Account Link

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

79247424

Date: 2024-12-03 11:43:17
Score: 1
Natty:
Report link

Check marketPlaceJobFilter, it has pagination_eq, e.g.

{ "marketPlaceJobFilter":
  { "titleExpression_eq": "JAVA" },
  { "pagination_eq": { first: 100, after: "0" }}
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mnovozhylov

79247422

Date: 2024-12-03 11:43:17
Score: 1
Natty:
Report link

They say, func parameter for bot.callback_query_handler is a filter. So you can check, if your query fits this handler or should go to another. maybe, this will work:

def get_announcement(message): markup = types.InlineKeyboardMarkup(row_width=2) item1 = types.InlineKeyboardButton("📎 Attach photo", callback_data='announce_attach_photo') item2 = types.InlineKeyboardButton("➡️ Skip", callback_data='announce_skip') markup.add(item1, item2) bot.send_message(chat_id=message.chat.id, text="Do you want to attach a photo?", reply_markup=markup)

@bot.callback_query_handler(func=lambda call: call.data.startswith("announcement_")) def handle_announcement_callback(call): if call.data == "announce_attach_photo": ... elif data == "announce_skip": ...

def get_notification_preference(message, announcement, photo): markup = types.InlineKeyboardMarkup(row_width=2) item1 = types.InlineKeyboardButton("🔈 Sand with notification", callback_data="notification_on") item2 = types.InlineKeyboardButton("🔇 Send silently", callback_data="notification_off") markup.add(item1, item2) bot.send_message(chat_id=message.chat.id, text="How to send an announcement?", reply_markup=markup)

@bot.callback_query_handler(func=lambda call: call.data.startswith("notification_")) def handle_notification_callback(call): if call.data == "notification_on": ... elif call.data == "notification_off": ...

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Малика Бахтиарова

79247416

Date: 2024-12-03 11:42:16
Score: 0.5
Natty:
Report link

This worked for me:

Tools>Options>Language>Formatter>Delphi>Profiles and Status, click Restore Defaults.

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Neil Howie

79247411

Date: 2024-12-03 11:40:16
Score: 1
Natty:
Report link

try using an amazon linux compatible prebuilt wheel

you can using this container as it has same env as lambda

docker run -it --rm amazonlinux:2

in docker container install requirements make sure to use venv

yum install -y gcc gcc-c++ python3 python3-devel
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: exril

79247407

Date: 2024-12-03 11:39:16
Score: 3.5
Natty:
Report link

I Have debug the code and got the Answer that why this was happening because i have use the Animatedsize and i have removed and now it is running as i wanted

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

79247404

Date: 2024-12-03 11:37:15
Score: 0.5
Natty:
Report link

As it turns out, it seems the definition of a word as captured by \\w is unclear, and the following code extracts the proper sequence :

gsub(x="LCZBDT22.105",
     pattern="([A-Z]*\\d*)(\\.)(\\d+)", replacement = "\\3")

It's as if a word can not have an uppercase within it (and it kind of makes sense), so the string "LCZB" would not be captured at all and is repassed to the output of gsub, according to what the help page says :

Blockquote Elements of character vectors x which are not substituted will be returned unchanged

the "T" and the "." are matched as group 1 and 2 and are therefore not kept.

Maybe this can help some other R-base coders.

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

79247399

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

by using the common mobile-first approach you can simplify things:

here's the pen


/* defaults to full width */
.mobile {
  width: 100%;
}

/* changes when certain dimensions is passed - note how we changed this from "max-with" to "min-width" */
@media screen and (min-width: 576px) {
  .mobile {
    width: auto;
  }
}
Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Richard

79247383

Date: 2024-12-03 11:30:13
Score: 1.5
Natty:
Report link

This is what worked for me on my ubuntu-20 system. We can configure it in the phpmyadmin settings itself.

Please refer the screenshot and observe the send error reports field and set it to Never send error reports

enter image description here

Reasons:
  • 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: Pradeep Rajvanshi

79247380

Date: 2024-12-03 11:30:13
Score: 3.5
Natty:
Report link

As Jörg W Mittag pointed out in the comment, eclipse 3.3 is not supported anymore, so the up to date plugin to use is solargraph.

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

79247377

Date: 2024-12-03 11:28:12
Score: 0.5
Natty:
Report link

You can display the data you want by joining two tables and specifying the desired product IDs. The following expression provides this.

  SELECT c.* FROM Customers AS c LEFT JOIN Sales s ON s.CustId = c.Id WHERE s.ProdId IN (22,36);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mustafa

79247354

Date: 2024-12-03 11:21:10
Score: 0.5
Natty:
Report link

It is, in fact, best practice to cache things like SQL connections. That's regardless of language; here I'm doing the same in Go for example.

With regards to caching content to avoid hitting DBs/other services, I would say, yes, if the content is expensive to access and requested often enough i.e. the same execution environment ('function instance') will be asked for it multiple times, it's definitely worth it.

N.B. Since the typical way to do this is using global state, thread safety needs to be taken into account where appropriate

Reasons:
  • Blacklisted phrase (1): regards
  • No code block (0.5):
  • High reputation (-1):
Posted by: joakim

79247349

Date: 2024-12-03 11:20:10
Score: 2.5
Natty:
Report link

I am guessing this behavior is because you have the second bean annotated with @ConditionalProperty, which checks if the bean with the specific name is registered, if it is not its created, if it is it does nothing, that is why spring is not failing. You can also check if you are on intelij your active beans under dubug and actuator to see your live bean. Only one should be active.

Beans

Reasons:
  • No code block (0.5):
  • User mentioned (1): @ConditionalProperty
  • Low reputation (1):
Posted by: tv.tony

79247347

Date: 2024-12-03 11:19:09
Score: 0.5
Natty:
Report link

In the latest updates the way to do it is:

TreeChanges changes = repo.Diff.Compare<TreeChanges>(tree1, tree2);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: DomenPigeon

79247343

Date: 2024-12-03 11:18:09
Score: 1
Natty:
Report link

The root of the issue is the folder name

from the building logs: The maximum full path to an object file is 250

your project path is concatenated with /node_module/react-native..../Path_to_your_Project

This full path cant exceed 250 characters

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

79247336

Date: 2024-12-03 11:16:09
Score: 0.5
Natty:
Report link

I was able to finally fix it by just deleting all pubspec.lock files in my project and then running flutter pub get again.

There seems to have been an issue with one flutter beta version, that put the dependency there and I could not get rid of it without cleaning up the pubspec files.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: SimonEritsch

79247333

Date: 2024-12-03 11:16:09
Score: 3
Natty:
Report link

if area chart then use chart.updateSeries([{ name: "Sales", data: GraphData }]); instead of chart.updateSeries(GraphData);

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

79247325

Date: 2024-12-03 11:10:06
Score: 7 🚩
Natty: 4
Report link

Can i get detailed steps on how to integrate the apk. I am closely following the official build guide for pixel 8a but i am stuck. Without this apk i have successfully build and flashed the OS into my device

I have mentioned MyApp in handheld_product.mk and my android.mk is as follow

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := MDMApk
LOCAL_MODULE_CLASS := APPS
LOCAL_SRC_FILES := MDMApk.apk
LOCAL_CERTIFICATE := platform
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
include $(BUILD_PREBUILT)

I want to know that do i need to do something more like to sign this apk with grapeheneOS or anything else. Please tell me.

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (2.5): Please tell me
  • RegEx Blacklisted phrase (1.5): i am stuck
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can i
  • Low reputation (1):
Posted by: Niraj Kumar

79247311

Date: 2024-12-03 11:07:05
Score: 4
Natty: 4.5
Report link

check current attributes, it should be helpful https://api.rubyonrails.org/v8.0.0/classes/ActiveSupport/CurrentAttributes.html

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

79247305

Date: 2024-12-03 11:06:04
Score: 4
Natty: 4.5
Report link

Check current attributes' docs. it will help you https://api.rubyonrails.org/v8.0.0/classes/ActiveSupport/CurrentAttributes.html

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

79247286

Date: 2024-12-03 11:02:03
Score: 0.5
Natty:
Report link

Make changes like this:

[HttpGet]
public async Task<ActionResult<IEnumerable<CarMakes>>> GetCars()
{
    var x = from f in _context.CarMakes
            group f by f.Make into g
            select new { Make = g.Key };

    var result = await x.ToListAsync();

    return Ok(result);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali Mumtaz

79247279

Date: 2024-12-03 11:00:01
Score: 3.5
Natty:
Report link

MOVE FUNCTION DISPLAY-OF(FUNCTION NATIONAL-OF(WS-JTEXT 1140)) TO WS-CBLTEXT

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

79247277

Date: 2024-12-03 10:59:01
Score: 3
Natty:
Report link

I made this: https://github.com/artyom-razinov/llvm-project/tree/llvm-backend-riscw

Which is updated version of this: https://github.com/andresag01/llvm-project

Which is a repo for this article: https://sourcecodeartisan.com/2020/09/13/llvm-backend-0.html

Comment for last commit has some info on how to build and how to compile c to target architecture (some riscw architecture, I have no idea what it is): https://github.com/artyom-razinov/llvm-project/commit/cb8a38e1ed0e3101ba2a46b4dff683bc63abbc66

Off-topic: It's sad that github doesn't support markdown in commit messages...

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: artyom.razinov

79247273

Date: 2024-12-03 10:58:01
Score: 3.5
Natty:
Report link

I had this problem too when I re-hosted previously-working ClickOnce files on to another web host. The problem was Git messing with the text file line-endings just as @aduen commented above.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @aduen
  • Single line (0.5):
  • Low reputation (1):
Posted by: RustyF

79247268

Date: 2024-12-03 10:57:01
Score: 1
Natty:
Report link

The probably shortest way to convert milliseconds in HH:mm would be:

let timeInMilliseconds = 33000000 let timeInHHmm = ${Math.round(timeInMilliseconds/3600/1000)}h ${Math.round(((timeInMilliseconds/3600 / 1000)-(Math.round(timeInMilliseconds/3600/1000)))*60)}m;

console.log(timeInHHmm)

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

79247266

Date: 2024-12-03 10:57:01
Score: 2.5
Natty:
Report link

While @MayukhBhattacharya provided the sophisticated formula which perfectly works, the simple pivot table goodly gives the desired result:

enter image description here

I guess no explanation is required.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @MayukhBhattacharya
  • High reputation (-1):
Posted by: rotabor

79247251

Date: 2024-12-03 10:48:59
Score: 3
Natty:
Report link

C:\Program Files\ODLStudio-1.4.1-Win-64-bit\graphhopper>java -Xmx2G -jar graphhopper-0.4-SNAPSHOT-jar-with-dependencies.jar config=config.properties osmreader.osm=C:\ODLDEMO\morocco-latest.osm.pbf

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

79247232

Date: 2024-12-03 10:42:57
Score: 2
Natty:
Report link

i also came around this same warning "GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1" .

which is solved by using "cam = cv.VideoCapture(0, cv.CAP_V4L2)" for linux.

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

79247224

Date: 2024-12-03 10:38:56
Score: 3.5
Natty:
Report link

Try a myFrame.setVisible(true) after you've called your loadCandidates func

If no luck, try hoist your invokeLater to after you've initialised your JFrame and Panels.

Reasons:
  • Blacklisted phrase (1): no luck
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mitchell Spangler

79247222

Date: 2024-12-03 10:37:55
Score: 9.5
Natty: 7
Report link

I have ran into the same issue. I found out that this has something to do with dynamic images. Did you solve that problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve that problem
  • RegEx Blacklisted phrase (1.5): solve that problem?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tomáš Lukáč

79247219

Date: 2024-12-03 10:36:54
Score: 2
Natty:
Report link

As Deinum indicates in his answer, it is currently not possible, but Spring developers are already looking into how to fix it.

Please note that it will be removed from Spring Boot 3.6 release onwards.

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

79247217

Date: 2024-12-03 10:36:54
Score: 2.5
Natty:
Report link

I use the comma method and it works. For example: winget install geeksoftwareGmbH.PDF24Creator, Python.Python.3.10, Mozilla.Firefox

Please note if you give generic names like chrome it will show multiple version. You should to know the package name like Google.Chrome

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

79247214

Date: 2024-12-03 10:35:54
Score: 1.5
Natty:
Report link

Pint has the concept of 'contexts' to convert between dimensions based on some pre-established (physical) relationships. I added this to my code to solve my specific problem:

ureg.enable_contexts('Gaussian')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dlukacic

79247206

Date: 2024-12-03 10:33:53
Score: 0.5
Natty:
Report link
import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
import { globalRuleForm } from '../types/global-rule';

export function uniqueMainChildConditionValidator(): ValidatorFn {
    return (control: AbstractControl): ValidationErrors | null => {
        if (!Array.isArray(control.value)) {
            return null;
        }
        const mainObjects: globalRuleForm[] = control.value;
        for (let i = 0; i < mainObjects.length; i++) {
            const mainObj = mainObjects[i];
            // Ensure the current main object has child conditions to check
            if (mainObj.ChildCondition && mainObj.ChildCondition.length > 0) {
                const seenChildConditions = new Set<string>();

                // Check each child condition for duplication
                for (const [index, child] of mainObj.ChildCondition.entries()) {
                    const childConditionKey = `${child.Field}-${child.Condition}-${child.ConditionText}`;
                    // Check if the child condition matches the parent condition
                    const parentConditionKey = `${mainObj.Field}-${mainObj.Condition}-${mainObj.ConditionText}`;
                    if (childConditionKey === parentConditionKey) {
                        return { conditionMismatch: `${index} ${i} Child condition in main object ${i + 1} matches the parent condition.` };
                    }

                    // Check if the child condition has been seen before (duplicate check)
                    if (seenChildConditions.has(childConditionKey)) {
                        return { conditionMismatch: `${index} ${i} Child condition ${childConditionKey} is duplicated in main object ${i + 1}.` };
                    }

                    // Add the child condition to the set of seen conditions
                    seenChildConditions.add(childConditionKey);
                }
            }

            for (let j = 0; j < mainObjects.length; j++) {
                if (i !== j) {
                    const otherMainObj = mainObjects[j];                    
                    if (!otherMainObj.Logic &&
                        mainObj.Field === otherMainObj.Field &&
                        mainObj.Condition === otherMainObj.Condition &&
                        mainObj.ConditionText === otherMainObj.ConditionText
                    ) {
                        return { conditionMismatch: `Main object ${i + 1} has matching properties with main object ${j + 1}.` };
                    }
                }
            }
        }
        return null;
    };
}

can you make this validator more efficient the performance is slow

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): can you
  • Low reputation (1):
Posted by: user28604751

79247203

Date: 2024-12-03 10:32:53
Score: 1
Natty:
Report link

The hidden input stores the payment token securely within the form, making it available for submission without displaying it in the UI. wrap the field inside the form tag

<input type="hidden" name="token" id="Token" value="">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sindhuja Karinki

79247202

Date: 2024-12-03 10:32:53
Score: 3
Natty:
Report link

the way it fixed for me that .. it was expecting the branch in format that like feature/[somefeaturegroup] . After that it accept it.

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

79247201

Date: 2024-12-03 10:32:53
Score: 1
Natty:
Report link

The Simple form of answer is,

To dicard all uncommited changes alone, [this will remove staged files as well] and you dont want them to be in the local. -> git reset --hard

To discard all unstaged changes or files, [this wont remove the files from the local, but will enable you to checkout to another branch] -> git stash

[try dry-run before doing this] To discard all untracked files: -> git clean

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

79247196

Date: 2024-12-03 10:31:53
Score: 0.5
Natty:
Report link

Thank you Abra for your requests. It made me rethink the problem. And here is the solution.

public void mousePressed(MouseEvent e)
  {
     DataButton jButton = (DataButton) e.getComponent();
     String caption = jButton.getData();

     JTextComponent focusElement = findFocusElement();
     if (focusElement != null)
     {
        int position = focusElement.getCaretPosition();
        String text = focusElement.getText();
        String before = text.substring(0, position);
        String after = text.substring(position);
        focusElement.setText(before + caption + after);
        focusElement.requestFocus();
        focusElement.setCaretPosition(position + 1);
     }
  }
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dragoness

79247193

Date: 2024-12-03 10:30:52
Score: 1.5
Natty:
Report link

I tried to repeat the approach above, but it didn't work for me in this case, maybe I did smth wrong.

I still don't understand you reason of not using "Deploy to container" plugin in order to deploy war files since it offers easier way to deploy war files directly to Tomcat server, but the only reason I see so far, is that maybe you want to deploy a war file to Tomcat 10 or higher versions, because "Deploy to container" plugin supports only versions up to Tomcat 9 version

Anyways, what I did instead was that I used Publish over SSH plugin

Once you install this plugin on Jenkins, you should go to Settings -> System (System Configuration) -> then find configurations of Publish over SSH

In there you should input values according to your Tomcat configuration setups like in this image. Also, if your Tomcat uses password to authenticate via username, don't forget to tick Use password authentication, or use a different key option and enter password. So, if your Tomcat username is admin, password is pass and IP address is 10.2.39.40, it will do ssh [email protected] and pass password behind the scene. Also, don't forget to enter port (default 22) where your server is running.

Next, go to your job (in my case it was Maven project job), then add Send files or execute commands over SSH option in Post Steps. Then enter values like in this image. So, it means that once your war file is built, it will output it to target folder by default and this plugin will search for all war files in target folder and will send it to the server.

BONUS

If this job builds only one war file, then you might need to add the following shell command

mv target/{your war file}*.war target/{your war file}.war

This is needed for file to be renamed from file-1.0.0.war to file.war, removing unneccessary version, so file.war will be delivered to Tomcat server, but make sure to add this execute shell command before executing send over ssh step.

Tutorial right here can give you more details.

Sorry, I can't attach images :/ , because I don't have rights to do so. I hope that this solution can help someone out there.

Reasons:
  • Blacklisted phrase (1): it didn't work for me
  • Blacklisted phrase (1): this plugin
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muratbek Bauyrzhan

79247186

Date: 2024-12-03 10:28:52
Score: 2.5
Natty:
Report link

Just wanted to share something super handy—there’s a free GPA calculator on OfficeEssence.net that’s a total lifesaver. It’s quick, easy, and makes tracking your grades so much less stressful.

Check it out here 👉 OfficeEssence.net You’ll love how simple it is!

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hoang Anh

79247185

Date: 2024-12-03 10:28:52
Score: 3.5
Natty:
Report link

You have now the possibility to use a template for the menuItems: https://primeng.org/speeddial#api.speeddial.templates

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

79247164

Date: 2024-12-03 10:24:51
Score: 2.5
Natty:
Report link

this site helped me. https://github.com/ggerganov/llama.cpp/blob/master/docs/build.md

cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Choc_waffles

79247163

Date: 2024-12-03 10:24:51
Score: 1.5
Natty:
Report link
<script setup>
import { onBeforeUnmount, ref } from "vue";
let p5Instance = null;
const sketch = (p5) => {
  p5Instance = p5;

  p5.preload = () => {};

  p5.setup = () => {};

  p5.draw = () => {};

  p5.mousePressed = () => {};

  p5.mouseDragged = () => {};

  p5.mouseReleased = () => {};

  p5.mouseWheel = (event) => {};
  p5.keyPressed = (event) => {
    switch (event.keyCode) {
      default:
        break;
    }
  };
};

// p5 instance Cleanup on unmount component
onBeforeUnmount(() => {
  if (p5Instance) {
    p5Instance.remove();
  }
});
</script>

<template>
  <P5 style="overflow: hidden; height: 100dvh"/>
</template>

If anyone comes across this post with the same problem i had, this is the solution I found, save the p5 instance in a global variable and use the on unmount hook to remove the instance on navigation.

Sadly i dont remember where i found or who gave me this solution, otherwise i would give them some credit.

@emeik has a very similar solution

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @emeik
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ivo Heberle

79247162

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

type PickMulti<T, K extends (keyof T)[]> = {
  [Key in K[number]]: T[Key];
};

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

79247129

Date: 2024-12-03 10:14:48
Score: 1
Natty:
Report link

As user2138149 said in a comment above, you need to use docker-compose-v2. On Ubuntu 24.04 (docker 26.1.3) I installed using:

apt install docker-compose-v2

After that, the command went through:

docker compose up
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): user2138149
Posted by: fraber

79247104

Date: 2024-12-03 10:07:46
Score: 2
Natty:
Report link

This case is closed. In fact, there was due to an error in the definition of a function in the Module modADMIN_Main that cause this module t bye invalid and therefore the Sub in it couldn't be accessed. It was previously working till I added the new function

enter image description here

MSAccess didn't signaled the code error in a visible manner. Sorry for this guys ;-)

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

79247101

Date: 2024-12-03 10:06:46
Score: 8
Natty: 7
Report link

We have the same case, we would like pull requests opened by Snyk to automatically merge without any intervention, did you manage to achieve that?

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zied Dhouaifi

79247097

Date: 2024-12-03 10:06:45
Score: 4.5
Natty:
Report link

Finaly i got it! https://confluence.atlassian.com/bitbucketserverkb/how-to-enclose-file-to-pull-request-comment-via-rest-api-952073003.html If someone need, welcome

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

79247087

Date: 2024-12-03 10:04:44
Score: 4.5
Natty: 4
Report link

open the sls file, double left click

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

79247076

Date: 2024-12-03 10:02:43
Score: 4
Natty:
Report link

if that's true, then that's a beautiful number. That means there's 1 variable for every person on our planet (including a newborn). :) But this answer helped me a lot because I thought the limit was dozens of variables, hundreds at most. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): helped me a lot
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28604195

79247071

Date: 2024-12-03 10:00:42
Score: 3.5
Natty:
Report link

... or that one based on previous, it has a gui : https://github.com/robert35/mvncypherutilities

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

79247065

Date: 2024-12-03 09:58:42
Score: 2.5
Natty:
Report link

You have to test your installation with default theme in order to check first the paid themes.

Next is to disable every plugin and open one by one.

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

79247061

Date: 2024-12-03 09:56:40
Score: 7.5 🚩
Natty: 5
Report link

have you found a good working solution for your problem?

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a good working solution for your problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: muellerelias

79247050

Date: 2024-12-03 09:52:39
Score: 3
Natty:
Report link

Check your php.ini and see if url include is enabled and anything that have to do with include functions.

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

79247049

Date: 2024-12-03 09:52:39
Score: 3
Natty:
Report link

have you checked the purge job and the retention period? you can also make some SQL profiling on tracking tables within BizTalkDTADb and check what process is deleting the data

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

79247041

Date: 2024-12-03 09:51:39
Score: 3.5
Natty:
Report link

below article contains detailed step by step how to backup and restore docker volumes

https://info-spot.net/backup-restore-docker-volumes/

good luck

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

79247035

Date: 2024-12-03 09:49:38
Score: 2.5
Natty:
Report link

Have you checked whether your column is defined as a signed or unsigned number? An incorrect field type might be causing the issue.

In PeopleSoft, a NULL value is treated as 0 for numeric columns, and vice versa.

Therefore, in my opinion, the issue might not be related to 0.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: combokang

79247027

Date: 2024-12-03 09:47:37
Score: 5.5
Natty: 6.5
Report link

In my response it shows a package count of 10 but does not list all packages??? Any solution for that

Reasons:
  • Blacklisted phrase (1.5): Any solution
  • Blacklisted phrase (1): ???
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Haris Muhammad

79247014

Date: 2024-12-03 09:42:35
Score: 1.5
Natty:
Report link

no need to install mysql2 globally. Instead try this

import mysql2 from 'mysql2'; // Import mysql2 explicitly

sequelize = new Sequelize({ dialectModule: mysql2, });

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ReLoaded

79247010

Date: 2024-12-03 09:40:35
Score: 1
Natty:
Report link
"scripts": {
  "start": "react-scripts start",
  "build": "CI=false && react-scripts build",  // Add CI=False here
  "test": "react-scripts test",
  "eject": "react-scripts eject"
 },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tawhid Hasan

79246998

Date: 2024-12-03 09:37:34
Score: 1.5
Natty:
Report link

Not sure if exactly the same setup, but if you would hit pseudo classes issue within tests, it is solved nowadays: link. I am using emotion and react testing library + emotion/jest package. You just need to introduce matchers from emotion/jest and use toHaveStyleRule with hover target, exactly like in the docs.

Reasons:
  • Whitelisted phrase (-1): it is solved
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wroobi

79246996

Date: 2024-12-03 09:36:33
Score: 6 🚩
Natty: 5.5
Report link

how if i am using graddle build system ?

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): how if i am
  • Low reputation (1):
Posted by: dimasfarhansyah

79246983

Date: 2024-12-03 09:31:31
Score: 3
Natty:
Report link

**Xcode 15: Linker command failed with exit code 1 **

I had tried everything But nothing worked for me, at the end I have to update my Xcode-15 to Xcode-16 to resolve this error.

Reasons:
  • Blacklisted phrase (1): But nothing work
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Azeem Usmani

79246966

Date: 2024-12-03 09:26:30
Score: 2.5
Natty:
Report link

You can map the <esc><esc>, it can avoid this situation.

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

79246957

Date: 2024-12-03 09:24:30
Score: 2.5
Natty:
Report link

As @reder9 suggested I checked if java gets automatically updated on agent and it is.

Before job starts failing Java version on agent is 17.0.12. After the job failed the first time agent has 17.0.13 Java version.

I disabled autoupdated as described here: https://linuxconfig.org/disable-automatic-updates-on-ubuntu-22-04-jammy-jellyfish-linux

Disabling auto updates worked!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @reder9
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Eskislav

79246952

Date: 2024-12-03 09:23:29
Score: 1
Natty:
Report link

First of all you have two controllers that map to /auth/register that return different things. If you are using spring thymeleaf, your login method in java should return the name of the template you are using for the login page. If I were you, on success of login I would have the button in html reference the success endpoint, which would go to your java endpoint.

<div>
        <a th:href="@{/register/showStudentRegistrationForm}" class="btn btn-primary mt-3" role="button" aria-pressed="true">Register New Student</a>
</div>

For example something like this. If you have another question feel free to ask.

Reasons:
  • Blacklisted phrase (1): another question
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tv.tony

79246951

Date: 2024-12-03 09:22:29
Score: 3
Natty:
Report link

I realized I was using the preview link although the cli from vercel was telling me it was production with a tick. To find you your production link, log onto vercel on the web. You will see the production link under Projects.

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

79246930

Date: 2024-12-03 09:15:28
Score: 3.5
Natty:
Report link

this might be useful, it explains (in general) how to setup log4j or logback for logging to AWS cloudwatch https://info-spot.net/logs-aws-cloudwatch-log4j2-logback/

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

79246929

Date: 2024-12-03 09:15:28
Score: 2
Natty:
Report link

A bit late, but nothing worked for me except for the last answer in this thread.

After I checked .NET Framework project and item templates in Individual components I was able to create an asp.net 4.8 web project.

enter image description here

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Banana

79246923

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

There are two unrelated questions in this post, in the future you should try to do one post for each, to follow the StackOverflow guidelines.

NotifyingVector2 in Flame extends ChangeNotifier. What is the intended use case for this class?

It is so that you can listen to changes to the vector. Example:

component.position.addListener(
  () => // Do something;
);

Since Flame inherently calls update and render multiple times, it seems there might be little reason to rely on Flutter's redraw mechanism in the first place. Could someone clarify this point?

Flame doesn't rely on Flutter's redraw mechanism, Flame is using the game loop architecture and relies on an implementation of that to know when to redraw.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • RegEx Blacklisted phrase (2.5): Could someone clarify
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: spydon

79246921

Date: 2024-12-03 09:13:27
Score: 2.5
Natty:
Report link

It sounds like a focus issue when closing the modal window. You might want to check if the underlying application is interfering with the window focus. To rule out display issues, you could try using a white screen test to check for any graphical glitches or screen behavior that might be causing the flickering. It could help to narrow down if it's a software or display-related issue.

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

79246917

Date: 2024-12-03 09:13:27
Score: 1
Natty:
Report link
{
  "rules": {
    ".read": "auth.uid === 'SPECIFIC_USER_ID_HERE'"
    ".write": "auth.uid === 'SPECIFIC_USER_ID_HERE'"
  }
}

In the case where you require more than one user, you can utilise the or operator "||".

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

79246898

Date: 2024-12-03 09:06:26
Score: 1.5
Natty:
Report link

During the execution of the necessary to me PHP scripts that I knew required more memory for their execution, they were interrupted regardless of the fact that exactly 4G of memory was available. At first I thought that there was an option in Apache configuration that defines the maximum allowed memory for Apache. And I mistakenly thought that php memory_limit is limited to the remaining "possible allowed memory for Apache".

Later I remembered that this is the exact value I recently set in MySQL settings - myisam_max_sort_file_size = 4G. It was this option that reduced the available memory in the system, which caused the above error "Fatal error: Out of memory (allocated".

So the main solution would be the following - observe the exact amount of free memory on your server at the moment your php script gets an error "Fatal error: Out of memory (allocated". Think about what could be blocking free memory in the system.

Reasons:
  • Blacklisted phrase (1): what could be
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: tecdoc ukr net

79246880

Date: 2024-12-03 09:01:24
Score: 1
Natty:
Report link

I got same error too and i tried all of the things that what already wrote but it didn't work. The problem wasn't about ujs, turbo, importmap. Another post guiding me while i was solving the problem.

devise_scope :user do
  get '/users/sign_out' => 'devise/sessions#destroy'
end

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: öykü parlak

79246877

Date: 2024-12-03 09:00:23
Score: 8.5 🚩
Natty:
Report link

@Zenilogix i am working for mobile phone which supports SyncML for contact synchronisation using OBEX serial(USB) with outlook. But i want to get contacts from it without syncking it to outlook or else i need to get that contacts before it syncs to outlook. How can i do it please help. that phone has its own tool to sync contacts with outlook, so i captured packets of it using wireshak then i got

02 00 2d cb 00
   00 00 00 42 00 20 61 70 70 6c 69 63 61 74 69 6f
   6e 2f 76 6e 64 2e 73 79 6e 63 6d 6c 2b 77 62 78
   6d 6c 00 c3 00 00 00 cd 

pls see pcapimg1. when i am trying to send same packet using my code i am not getting 90 00 03 this expected response from phone.pls see pcapimg2 i am attaching pacap file for packets captured for tool given by phone itself. i got success in getting serial connection to device using

LPCWSTR szPort2 = L"\\\\?\\usb#vid_1f58&pid_1f20&mi_03#dummy_03#{86e0d1e0-8089-11d0-9ce4-08003e301f73}";
HANDLE hSerial = CreateFile(szPort2, GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);

//FILE_ATTRIBUTE_NORMAL,FILE_FLAG_OVERLAPPED also i sucessfully sent AT command for obex // Sending the AT+ISAT_OBEX=1 command

const char* command = "AT+ISAT_OBEX=1";
DWORD bytesWritten;
if (!WriteFile(hSerial, command, strlen(command), &bytesWritten, NULL)) {
    std::cerr << "Error writing to serial port\n";
    return;}

after this i sent packets by reffering this pdf OBEX Connect Example page 23 ( ) OBEX Connect Example

i also got success in OBEX Connect. but i dont know how to move further pcapimg1 for obex put with wbxml , pcapimg2 this is expected response from device, wich i am not getting this is first packet i sent

0x80, 0x00, 0x15, 0x10, 0x00, 0x04, 0x00, 0x46, 0x00, 0x0e, 0x53, 
0x59, 0x4e, 0x43, 0x4d, 0x4c, 0x2d, 0x53, 0x59, 0x4e, 0x43,0x00,0x00,0x00

i got sucess reponse for this as

a0 00 1a 10 00 10 00 cb 00 00 00 00 4a 00 0e 53 59 4e 43 4d 4c 2d 53 59 4e 43

but this sencond packet i am sending

0x02,0x00,0x2d,0xcb,0x00,0x00,0x00,0x00,0x42,0x00,0x20,0x61,
0x70,0x70,0x6c,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e,0x2f,
0x76,0x6e,0x64,0x2e,0x73,0x79,0x6e,0x63,0x6d,0x6c,0x2b,
0x77,0x62,0x78,0x6d,0x6c,0x00,0xc3,0x00,0x00,0x00,0xcd

, am not getting any respose from device

Reasons:
  • Blacklisted phrase (0.5): How can i
  • Blacklisted phrase (1): can i do
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (1): i am trying to
  • RegEx Blacklisted phrase (3): please help
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1): i do it please
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Zenilogix
  • Low reputation (1):
Posted by: Mahesh Gadhari

79246876

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

Check the below query for getting the desired result.

SELECT p.Name, p.Id, p.Food, c.Email, c.Phone FROM people p LEFT JOIN contacts c ON (p.Name = c.Name OR p.Id = c.Id) GROUP BY p.Food Order By p.Food;

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

79246870

Date: 2024-12-03 08:58:22
Score: 2
Natty:
Report link

Its true that NodeJs and Chrome browser both have V8 JS Engine, But setTime out is a API (Web API in terms of browser) and in the end NodeJS and Chrome both have different Javascript runtime Environment, conclusion both have same JS Engine but different JavaScript Runtime environment so they have implemented APIs there own way

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

79246867

Date: 2024-12-03 08:57:21
Score: 8 🚩
Natty: 6.5
Report link

I've also encountered the same problem using either the greenwood or the aalen method. Did you manage to solve it or at least get more information about it?

Best regards

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: João Carmezim Correia

79246861

Date: 2024-12-03 08:56:20
Score: 7.5 🚩
Natty: 5
Report link

An exception occurred: java.time.format.DateTimeParseException: Text '2024-05-04 11:23:26.646017' could not be parsed at index 10--->anyone help me out here why I am getting this error

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (2): help me out
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Siddhes Tripathy