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.
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.
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.
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.
Here you can find blog post with complete example of deploying lambda using terraform.
$ npm i --save @nestjs/passport passport you need
Change scope from 'test' to 'compile'
<scope>compile</scope>
Hope it works!
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.
The default Ubuntu Server configuration does not install swapfile.
just install a swapfile
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
References: XFrameOptionsMode
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.
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"));
const connectionOptions = { host: 'Your ip address', port: 5432, database: 'node', user: 'emirb', password: 'emir123', };
Just change host working fine
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.
cat x.json | grep cred_def_id | cut -d\" -f 4
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
But the issue still exists for SSR (statically rendered) pages. Anyone knows a solution?
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.
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)
}
I would suggest reaching out to Stripe Support instead, so they can look at your individual case: https://support.stripe.com/?contact=true
You can create a new Account Link
type=account_onboarding to let users complete the outstanding requirements, ortype=account_update to modify the already provided fields.Check marketPlaceJobFilter, it has pagination_eq, e.g.
{ "marketPlaceJobFilter":
{ "titleExpression_eq": "JAVA" },
{ "pagination_eq": { first: 100, after: "0" }}
}
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": ...
This worked for me:
Tools>Options>Language>Formatter>Delphi>Profiles and Status, click Restore Defaults.
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
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
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.
by using the common mobile-first approach you can simplify things:
/* 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;
}
}
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
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.
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);
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
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.
In the latest updates the way to do it is:
TreeChanges changes = repo.Diff.Compare<TreeChanges>(tree1, tree2);
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
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.
if area chart then use chart.updateSeries([{ name: "Sales", data: GraphData }]); instead of chart.updateSeries(GraphData);
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.
check current attributes, it should be helpful https://api.rubyonrails.org/v8.0.0/classes/ActiveSupport/CurrentAttributes.html
Check current attributes' docs. it will help you https://api.rubyonrails.org/v8.0.0/classes/ActiveSupport/CurrentAttributes.html
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);
}
MOVE FUNCTION DISPLAY-OF(FUNCTION NATIONAL-OF(WS-JTEXT 1140)) TO WS-CBLTEXT
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...
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.
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)
While @MayukhBhattacharya provided the sophisticated formula which perfectly works, the simple pivot table goodly gives the desired result:
I guess no explanation is required.
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
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.
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.
I have ran into the same issue. I found out that this has something to do with dynamic images. Did you solve that problem?
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.
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
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')
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
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="">
the way it fixed for me that .. it was expecting the branch in format that like feature/[somefeaturegroup] . After that it accept it.
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
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);
}
}
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.
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!
You have now the possibility to use a template for the menuItems: https://primeng.org/speeddial#api.speeddial.templates
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
<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
type PickMulti<T, K extends (keyof T)[]> = {
[Key in K[number]]: T[Key];
};
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
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
MSAccess didn't signaled the code error in a visible manner. Sorry for this guys ;-)
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?
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
open the sls file, double left click
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.
... or that one based on previous, it has a gui : https://github.com/robert35/mvncypherutilities
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.
have you found a good working solution for your problem?
Check your php.ini and see if url include is enabled and anything that have to do with include functions.
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
below article contains detailed step by step how to backup and restore docker volumes
https://info-spot.net/backup-restore-docker-volumes/
good luck
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.
In my response it shows a package count of 10 but does not list all packages??? Any solution for that
no need to install mysql2 globally. Instead try this
import mysql2 from 'mysql2'; // Import mysql2 explicitly
sequelize = new Sequelize({ dialectModule: mysql2, });
"scripts": {
"start": "react-scripts start",
"build": "CI=false && react-scripts build", // Add CI=False here
"test": "react-scripts test",
"eject": "react-scripts eject"
},
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.
how if i am using graddle build system ?
**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.
You can map the <esc><esc>, it can avoid this situation.
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!
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.
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.
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/
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.
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.
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.
{
"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 "||".
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.
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
@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
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;
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
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
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