Can the console window be disabled?

After CreateVulkanVideoDecodeParser is called, nvidia-vkvideo-parser.dll begins its duties and opens up a console window during decoding.
Can this be behaviour be disabled?
I'd like to just run my test app without any superfluous windows lying about.
Thanks.

After CreateVulkanVideoDecodeParser is called, nvidia-vkvideo-parser.dll begins its duties and opens up a console window during decoding.
Can this be behaviour be disabled?
I'd like to just run my test app without any superfluous windows lying about.
Thanks.

If you would like to disable the console output, please set the following two flags to false:
bool VulkanVideoParser::m_dumpParserData = false;
bool VulkanVideoParser::m_dumpDpbData = false;
from vk_video_decoder\libs\VkVideoParser\VulkanVideoParser.cpp:608
The application is invoked from the console with parameters, so I'm not sure how can one run the app without starting from the console. Perhaps if the app is recompiled as a pure WS app.
Please note that the NV parser does not open any consoles, the app does.

Hi Tony, I set the m_dumpDpbData to false (m_dumpParserData was already) and the console window still starts up. I'm running a windows app that calls this internally, without any "Shell" classes.
It's mostly empty even while it plays, but I searched in the code for the string "Console opened at" and no hits in show up in Visual Studio search, thus my suspicion that it's in the parser.dll that's pre-compiled.
I put a breakpoint and pinpointed the exact moment the extra console window starts, it's after initialization:

This is with both those flags set to false:

The popup console window shows up after ParseByteStream is called the second time:

ParseByteStream is a virtual method whose implementation is only inside the Dll, as far as I can tell.

Also, not that it matters, but the width and height in that console prompt are swapped. It decodes correctly. Great job on the lib by the way, it runs fantastic performance-wise, looking forward to HEVC encoding and it coming out of Beta.

My app uses windows subsystem, so not definitely a console app.
#pragma comment(linker, "/subsystem:windows")

he popup console window shows up after ParseByteStream is called the second time:

OK, let me check what is going on and will come back to you. I'm surprised because the parser does not use any Windows APIs - it uses all standard C++ code. Maybe this is because of the way the dll is built on Windows. Is there a way you can send me your Windows binary executable to test against locally?

test.zip
I can't share my main app, but here's a build of this sample, including a tiny video file whose path is hardcoded during unit (for some reason the command line arguments aren't passing in, weird). Both the flags were set to false. It's compiled in visual studio 2019 manually (after running the batch file initially, of course, per the instructions here).
It needs the other ffmpeg and parser dlls copied here obviously.  Thanks for any help you can give. Much appreciated.

test.zip
I can't share my main app, but here's a build of this sample, including a tiny video file whose path is hardcoded during unit (for some reason the command line arguments aren't passing in, weird). Both the flags were set to false. It's compiled in visual studio 2019 manually (after running the batch file initially, of course, per the instructions here).
It needs the other ffmpeg and parser dlls copied here obviously. Thanks for any help you can give. Much appreciated.

This zip file is reported to have a malware:
https://www.f-secure.com/v-descs/w32_malware.shtml

I just scanned it just in case, it says it's ok. I think that's a false positive. But anyway, it should be straightforward to reproduce + fix this using only the sample code and the parser.dll.
If the sample can be compiled and run on Windows without the side window opening up, then the problem is on my end, and I'll figure it out. But, there's no other call happening except for ParseByteStream on my end (it's running single threaded too). I have 100% repro.

I just scanned it just in case, it says it's ok. I think that's a false positive. But anyway, it should be straightforward to reproduce + fix this using only the sample code and the parser.dll.
If the sample can be compiled and run on Windows without the side window opening up, then the problem is on my end, and I'll figure it out. But, there's no other call happening except for ParseByteStream on my end (it's running single threaded too). I have 100% repro.

Do you have the MSFT project file with the stripped-down version of what you are trying to do? You can send it directly to my email<EMAIL_ADDRESS>The zip file does not have the issue, but when I try to execute the exe file the antivirus is blocking it, claiming for it to have malware.

Thanks Tony, I'll get on that monday.
One thing I'm curious about is why put the parser in a closed-source DLL/lib instead of directly as source code, I assume it's chock-full of secret/proprietary Nvidia-specific code?
That's fine, but I thought the whole point of Vulkan Video was that it was vendor neutral, so that kind of defeats the purpose of using this sample over, say, NVDec, doesn't it?

Thanks Tony, I'll get on that monday.
One thing I'm curious about is why put the parser in a closed-source DLL/lib instead of directly as source code, I assume it's chock-full of secret/proprietary Nvidia-specific code?
That's fine, but I thought the whole point of Vulkan Video was that it was vendor neutral, so that kind of defeats the purpose of using this sample over, say, NVDec, doesn't it?

The goal is to use open-source parsers, such as FFMPEG. The nvParser is a temporary stop-gap, for evaluation purposes only, until we get the FFMPEG parser fully supported. We (NVIDIA) do not want to deal with the MPEG's licensing mess, that's why. We may have an open-source parser for VP9/AV1 :).

That's great, Tony. FFMPEG doing everything works for me.
I can't send my project via email, it's private and the source code here should repro the issue with the console window popping up. Logically the CreateProcess that spawns the separate console window must exist in the parser DLL so I don't see the point in doing anything else on my end.
But since it's going to be moot soon anyway, you maybe needn't bother fixing this. Anything done with FFMPEG needs to be fully open source due to GPL anyway so if there's an issue after your next big release, I'll be able to fix it myself. Thanks for your time. Fix this or don't, it's not really important. I'll leave it open for now.

Is there still no way to disable the console popup window? It's starting to become a real nuisance for me, this popup.
Using the sample as-is in both Debug and Release (with appropriate debug/release versions of the parser dll), is a 100% repro, with or without Visual Studio attached, and from a console or windows app.
I just run it from the command-line and there are 2 windows open. That's one too many. It gets in the way of my work constantly, really irritating. Much obliged if you could find a way to keep the popup from showing, at least in the parser's Release DLL.

Is there still no way to disable the console popup window? It's starting to become a real nuisance for me, this popup.

Sorry about that! The parser is built with the same Cmake configuration as the rest of the projects. I'll have to do some more digging to see what is causing the parser to span a console. Unfortunately, I do build and launch the app from the command line and so, it is difficult for me to reproduce this.

Much appreciated.
Speaking of the demuxer, I added a call to av_seek_frame so the video will loop, hope this helps someone.
Just call it with timestamp = 0 when the video ends (EOS) if you want the video to loop:
bool Seek(int stream_index, int64_t timestamp, int flags)
{
	if (!fmtc)
    {
		return false;
	}

	int result = av_seek_frame(fmtc, stream_index, timestamp, flags);

	if (result < 0)
    {
		return false;
	}

    return true;
}

You also have to reset the m_videoStreamHasEnded flag back to false:
bool VulkanVideoProcessor::Seek(int stream_index, int64_t timestamp, int flags)
{
m_videoStreamHasEnded = false;
return m_pFFmpegDemuxer ? m_pFFmpegDemuxer->Seek(stream_index, timestamp, flags) : false;
}

Hi Bela Kampis,
Can you please check the parser from the ToT of this repo and see if it works for you (without creating a console)? You may need to add a logger function with CreateVulkanVideoDecodeParser() just in case there are any parser errors that you'd need to see.

Hi, I'm still getting the same behaviour, I checked all the flags again and the popup is happening in the sample as well as my game.
My guess is the dll, or one of its dependencies, is compiled with /SUBSYSTEM:CONSOLE instead of /SUBSYSTEM:WINDOWS, and whichever process calls the cout << "Console opened at" is responsible. I'm sure you can find this string in the parser code, no?
Stack Overflow suggests this:

Hi BattleAxeVR, I've pushed parser's DLLs versions with the "/SUBSYSTEM:WINDOWS" linker flag set - can you please try those? I wish I had a Windows-based application to try this on, locally.

Are you sure we don't need new libs too? Not just the DLLs? It doesn't fix it, sadly:

Whichever process calls cout << "Console opened at" .... must be a console spawned as a child process from inside the DLL somewhere, probably part of the logger class. I tried ripping out everything related to logging in my app, including the class itself, and it didn't fix it.

Sorry about that! My theory, at this point, is that we would have to define an explicit DLLMain(). Otherwise, the default one for the DLL, created by the Windows linker, is a console wrapper. I'll compile a version of the DLL with that and see if this works.

Hi @BattleAxeVR,
We now support static parser libraries with the decoder. Please refer to the nvidia-vkvideo-parser-static.lib libraries. For ex.
https://github.com/nvpro-samples/vk_video_samples/blob/main/vk_video_decoder/bin/libs/nv_vkvideo_parser/wddm2_amd64_debug/nvidia-vkvideo-parser-static.lib


Dim icon when the URL is being ignored

Curious why you even need an icon there? You can always activate Vimari from Spotlight/Alfred.

Safari added it there. Safari adds extensions there I think. I try to use the default settings and not modify the menu bar. In the past release or in Vimium, the icon dims itself when the web page is being ignored.


[core] Disable Gestures System fails to compile

Removing this line from config.h
#define SUPPORT_GESTURES_SYSTEM     1
causes errors in core.c
$ make all PLATFORM=PLATFORM_RPI
gcc -c core.c -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vcos/pthreads -DPLATFORM_RPI -DGRAPHICS_API_OPENGL_ES2
core.c: In function ‘EventThread’:
core.c:4516:5: error: unknown type name ‘GestureEvent’
     GestureEvent gestureEvent;
     ^~~~~~~~~~~~
core.c:4531:33: error: request for member ‘touchAction’ in something not a structure or union
                     gestureEvent.touchAction = TOUCH_MOVE;
                                 ^
core.c:4531:48: error: ‘TOUCH_MOVE’ undeclared (first use in this function)
                     gestureEvent.touchAction = TOUCH_MOVE;
                                                ^~~~~~~~~~
core.c:4531:48: note: each undeclared identifier is reported only once for each function it appears in
core.c:4539:33: error: request for member ‘touchAction’ in something not a structure or union
                     gestureEvent.touchAction = TOUCH_MOVE;
                                 ^
core.c:4556:33: error: request for member ‘touchAction’ in something not a structure or union
                     gestureEvent.touchAction = TOUCH_MOVE;
                                 ^
core.c:4563:33: error: request for member ‘touchAction’ in something not a structure or union
                     gestureEvent.touchAction = TOUCH_MOVE;
                                 ^
core.c:4602:54: error: request for member ‘touchAction’ in something not a structure or union
                     if (event.value > 0) gestureEvent.touchAction = TOUCH_DOWN;
                                                      ^
core.c:4602:69: error: ‘TOUCH_DOWN’ undeclared (first use in this function)
                     if (event.value > 0) gestureEvent.touchAction = TOUCH_DOWN;
                                                                     ^~~~~~~~~~
core.c:4603:38: error: request for member ‘touchAction’ in something not a structure or union
                     else gestureEvent.touchAction = TOUCH_UP;
                                      ^
core.c:4603:53: error: ‘TOUCH_UP’ undeclared (first use in this function)
                     else gestureEvent.touchAction = TOUCH_UP;
                                                     ^~~~~~~~
core.c:4622:29: error: request for member ‘pointCount’ in something not a structure or union
                 gestureEvent.pointCount = 0;
                             ^
core.c:4623:58: error: request for member ‘pointCount’ in something not a structure or union
                 if (touchPosition[0].x >= 0) gestureEvent.pointCount++;
                                                          ^
core.c:4624:58: error: request for member ‘pointCount’ in something not a structure or union
                 if (touchPosition[1].x >= 0) gestureEvent.pointCount++;
                                                          ^
core.c:4625:58: error: request for member ‘pointCount’ in something not a structure or union
                 if (touchPosition[2].x >= 0) gestureEvent.pointCount++;
                                                          ^
core.c:4626:58: error: request for member ‘pointCount’ in something not a structure or union
                 if (touchPosition[3].x >= 0) gestureEvent.pointCount++;
                                                          ^
core.c:4627:29: error: request for member ‘pointerId’ in something not a structure or union
                 gestureEvent.pointerId[0] = 0;
                             ^
core.c:4628:29: error: request for member ‘pointerId’ in something not a structure or union
                 gestureEvent.pointerId[1] = 1;
                             ^
core.c:4629:29: error: request for member ‘pointerId’ in something not a structure or union
                 gestureEvent.pointerId[2] = 2;
                             ^
core.c:4630:29: error: request for member ‘pointerId’ in something not a structure or union
                 gestureEvent.pointerId[3] = 3;
                             ^
core.c:4631:29: error: request for member ‘position’ in something not a structure or union
                 gestureEvent.position[0] = touchPosition[0];
                             ^
core.c:4632:29: error: request for member ‘position’ in something not a structure or union
                 gestureEvent.position[1] = touchPosition[1];
                             ^
core.c:4633:29: error: request for member ‘position’ in something not a structure or union
                 gestureEvent.position[2] = touchPosition[2];
                             ^
core.c:4634:29: error: request for member ‘position’ in something not a structure or union
                 gestureEvent.position[3] = touchPosition[3];
                             ^
Makefile:508: recipe for target 'core.o' failed
make: *** [core.o] Error 1

Actually, this issue only happens in some platforms, not DESKTOP platform... logic should be reviewed...

Sorry this was caused by my raw event input rewrite.
Should be fixed with pull #785

Verified! It works! :D


dart support

Will it support dart in the future?

yeah! hey! I'd like Dart support right inside my VSCode! QT already supports Dart; can we get it into the extension?

https://app.quicktype.io/

Right. It would be great if the extension supported Dart.

Dart is supported.

@dvdsgl Could you update the README accordingly?


Prepare for Release

Tracking items for release:

[x] Depend on the most recent release of the upstream Terraform provider and have mapped all data sources and resources which make sense.
[x] Have the various configuration options for the provider listed in the README file such that package consumers can easily find them.
[ ] Have documentation ready to publish (in the pulumi/docs repo)
[x] Have at least one example running in CI against the provider
[x] Tag a version and ensure it's published as latest

@tmeckel I just pushed some initial examples - for us, examples are like acceptance tests :) So if you want to add more then that's cool - just send a PR and the automation will run them before we merge them
I just tagged v1.0.0 of this provider - this is what we will use as our base release going forward!

@stack72 Fine, I'll copy over the examples from my repo in a PR.
About the version: shouldn't it not be aligned with the version of the Terraform provider? Currently the Terraform provider is at v0.0.1.

it is :) I updated it! check out provider/go.mod

@stack72 😁 No I meant the release (version) tag of the Pulumi provider

oh I see! no, we version our providers differently - we will respect major version bumps of course and will act accordingly

Docs PR is now open https://github.com/pulumi/docs/pull/3625


[Refactor] iOS 17

Codecov Report
Patch coverage: 41.50% and project coverage change: -42.02 :warning:

Comparison is base (d984287) 97.41% compared to head (a2c1b1f) 55.39%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #9       +/-   ##
===========================================
- Coverage   97.41%   55.39%   -42.02%
===========================================
  Files          13       28       +15
  Lines         309      825      +516
===========================================
+ Hits          301      457      +156
- Misses          8      368      +360

Impacted Files
Coverage Δ

...hantomKit/Swift/Extensions/CGSize+Extensions.swift
0.00% <0.00%> (ø)

...mKit/SwiftUI/Components/List/MultiColumnList.swift
0.00% <0.00%> (ø)

...ftUI/Components/PDFView/PDFViewRepresentable.swift
0.00% <0.00%> (ø)

...it/SwiftUI/Components/ScrollView/VScrollView.swift
0.00% <0.00%> (ø)

...vironment/PrefersTabNavigationEnvironmentKey.swift
0.00% <0.00%> (ø)

...tomKit/SwiftUI/Extensions/Binding+Extensions.swift
0.00% <0.00%> (ø)

...Extensions/UserInterfaceSizeClass+Extensions.swift
0.00% <0.00%> (ø)

...PhantomKit/SwiftUI/Extensions/View+Alignment.swift
0.00% <0.00%> (ø)

...hantomKit/SwiftUI/Extensions/View+Extensions.swift
0.00% <0.00%> (ø)

...hantomKit/SwiftUI/Modifiers/LinkViewModifier.swift
0.00% <0.00%> (ø)

... and 18 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Upgrade weaveworks/go-checkpoint to version with go.mod

Related to: #1503

What changed?
This upgrades the version of go-checkpoint. The new version has absolutely no code changes.
Yes, this clear-the-way PR is against main. It's supposed to be against main. Snyk's github integration only works against the default branch.

Why?
This is a bit of a stab in the dark to try to get the snyk github
integration working (part of #1503) - apparently we can't have
dependencies without go.mod files?

How did you test it?
There are checkpoint tests already, and this changes literally no code. I did try dumping the response from checkpoint to see that it's still returning "sensible" values.

It's part of what we're investigating so let's try it. We can revert if it something unexpected happens ⚡


Use .woodpecker.yml as default pipeline config file

As the current .drone.yml files are not supported by woodpecker, it seems to useful to switch to  supporting .woodpecker.yml as a default configuration source

Hi Jens,
This makes a lot of sense. Let me collect my thoughts and come back to you.
There are users having .drone.yml and using Woodpecker, so some backwards compatibility needs to be considered or a rollout plan.
Best regards,
Laszlo

I would suggest adding a second choice box
"Fallback to .woodpecker.yml"  (there is already a one for .drone.yml) and enable it by default

This should then also be changed everywhere in the docs

As multi-pipelines are somehow promoted in the docs already and are a very nifty feature IMO, I just had the idea that woodpecker could directly use them as default.
So the docs could be updated to mention multi-pipelines as the default way of creating pipeline files similar how github actions works. To support legacy installations .drone.yml should be kept as fallback as mentioned above maybe with a small hint in the docs that it is supported. So moving directly to .woodpecker/ or .ci/ could be an even more future-proof change.


stop_gradient(pred) when model prediction is used to attack

When the model's prediction is used instead of true labels, it makes more sense to do stop_gradient(pred).
This can be fixed by doing stop_gradient after these lines:
https://github.com/tensorflow/cleverhans/blob/master/cleverhans/attacks.py#L391
https://github.com/tensorflow/cleverhans/blob/master/cleverhans/attacks.py#L208
https://github.com/tensorflow/cleverhans/blob/master/cleverhans/attacks_tf.py#L54

We can definitely wrap argmax ops in stop_gradients to keep the TensorFlow graph smaller while still computing the same value. If the predictions are used in something other than an argmax, then stop_gradient actually changes the derivatives. Depending on the application, we may or may not want to consider the model fixed.

The three lines that Fartash pointed out would add a stop_gradient after an argmax, so it seems like an optimization worth making a PR for.

OK, thanks


Two smaller fixes

The large change in the second file results from homogenizing the line breaks. The relevant changes are line 27-30 in the new version should want to ignore the rest.


Spock...

all these code snippets should be executable tests... Spock would fit here nicely..

You'r right, I'll take some time later to learn a bit of Spock and start modifying. Thanks.


Add temporary owners for 1.13 release

This PR temporarily adds approvers to some language aliases to make the release process smoother.
/assign @tfogo
/sig docs

/lgtm
/approve


Pub 2186 iac daily cause list updates

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
https://tools.hmcts.net/jira/browse/PUB-2186
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Looks good.
The test files in the functionalTest folder also need updating, then happy to approve


Predict More Characters

Hello there!

Great work. I'd like to ask how to train the align model with more characters. The current implementation can only recognize 36 characters (0~9, a~z). I want to recognize 90 characters (0~9, a~z, A~Z, and some symbols).
I tried to modify some code and now I can train on 90 characters. However, I am facing a problem that I can not load the pre-trained language model and vision model, as they are trained on 36 characters. Is there any way to modify the code so that I can load the pre-trained weights?

How many epochs can you train? After I modify the epoch, it always ends after epoch9

@yiren556
I didn't modify any hyperparameters and the training ended at the 9th epoch.

This is the result of my debugging, I don't understand why it stops

Hi, sorry for late reply and thank you for your interest.
I think you may change charset_path in template.yaml from 'data/charset_62.text' to your own charset, and case_sensitive to True.
As you know, pre-trained language and vision models are trained on 36 characters. Therefore, you need to train these pre-trained models on 90 characters, or you may load these pre-trained models without the final classification layer, which is related to the size of character set.
I think this link is useful to ignore size mismatch problem. (https://github.com/Lightning-AI/lightning/issues/4690#issuecomment-731152036)
Apply this methods to loading pre-trained model, which are in below:
https://github.com/byeonghu-na/MATRN/blob/57b6b8e0bf1d707c2cde4ef3e5fe4c4fc579d445/modules/model.py#L17-L19
https://github.com/byeonghu-na/MATRN/blob/57b6b8e0bf1d707c2cde4ef3e5fe4c4fc579d445/modules/model_language.py#L39
https://github.com/byeonghu-na/MATRN/blob/57b6b8e0bf1d707c2cde4ef3e5fe4c4fc579d445/modules/model_vision.py#L39


Signalling -- Add 32 byte string to external transition

There should be two strings

current version
desired upgrade version

Plus CLI for setting the string (shasum a thing?)
Use the thing we already have for memos that knows how to do SHA or plaintext

@bkase @imeckler the strings represent protocol versions, using some symbolic name? Or a digest of something?
Are the two strings compile-time constants? Or just the current version, and the desired version defaults to the current version, but can be overridden in CLI?

@bkase Is there any reason we can't just have a single string which is desired upgrade version?

@psteckler I believe the idea was for them to be git SHA hashes.
I think for now maybe just make them be configured on CLI, with default being all \000 or something and we can figure out the specifics of this later.

@nholland94 has suggested the following:
Initial Hard Fork Signaling Work
Additional Node State
Every node now must track what fork id it is currently operating on. The initial value for this can be fed in first time on the CLI, and then it should probably be cached in the config directory for reuse on future runs (the persistent content in the config directory is essentially scoped to the fork id, so we may not want to allow users to switch to another fork id with the same persitent content). In the future, the node may update this value, but we do not need to implement that for the initial pass of this work.
Additional Block Fields
2 new fields will be added to the block: current_fork_id, and next_fork_id. A format will need to be chosen for the fork_id representation which will allow a reasonable number of values that can be selected. Something as simple as a 4-character string will likely suffice.
Additional Block Validation Logic
A node should only accept and rebroadcast blocks which have a matching current_fork_id to the nodes current fork id it is operating on. If a block is received with a different current_fork_id than what the node is operating on, the node should instantly ban the sender of that block (since we presume no messages coming from them will be relevant to us). This logic applies to not only block intake, but additionally to other areas of the application where the block is validated (such as bootstrap and catchup). As such, validating the fork id should be folded into the Block.With_validation abstraction as a new validation step which cannot be skipped.


improve dependency handling for cmi files

$ ls
a.ml       b.ml       b.mli

$ cat a.ml
type t = int
let x = 42

$ cat b.mli
val y : A.t

$ cat b.ml
let y = A.x

Now, run ocamldep:
$ ocamldep *
a.cmo :
a.cmx :
b.cmo : a.cmo b.cmi
b.cmx : a.cmx b.cmi
b.cmi : a.cmo

The dependency of b.cmi is listed as a.cmo, which is true if you're byte compiling. However, what if you only want to compile to native code, this introduces a wrong dependency, and surely ocamlopt would only expect a.cmx to previously be compiled.
So could use the -native option:
$ ocamldep -native *
a.cmo :
a.cmx :
b.cmo : a.cmx b.cmi
b.cmx : a.cmx b.cmi
b.cmi : a.cmx

Now we see that it does produce a.cmx correctly. (Strangely it still prints out lines for .cmos even though the documentation for -native says specifically "(no .cmo files)".)
The logically correct dependency for b.cmi is "a.cmo or a.cmx".

If I follow your last remark, it means there is no correct way to handle the problem: you don't want the -native option when you're byte-compiling only, right? Also, it seems to me that while the dependency is indeed wrong, it still permits a correct (only suboptimal) compilation.

it still permits a correct (only suboptimal) compilation

Right. I guess the .cmi gets regenerated when it is not strictly necessary to do so. I haven't tested the affect on total compilation time, which isn't much concern to me since during development I almost always do byte compilation only.

If I follow your last remark, it means there is no correct way to handle the problem

I can think of a couple of solutions (which are probably not worth implementing):

Provide a way to specify if byte and/or native compilation are being requested, e.g. by defining an environment variable. Inspect these variables and adjust the rules that get registered accordingly:

If either byte or native mode are requested, but not both, then add a rule to build the .cmi.
If both byte and native are requested, be sure to add this rule only once.

Maybe a dynamic rule would work. The action that is registered could itself check if the .cmi already exists and is out of date, build the .cmi only if necessary.


ie10 Error of withRouter

Examples bug report
Example name
ie10 Error of withRouter
Describe the bug
Error when using _app.js with the using-with-router example under ie10 (router is undefined), but ie11 is ok
To Reproduce
https://github.com/VanquisherMe/using-with-router-app

yarn
npm run dev

Expected behavior
ie10 withRouter get router
Screenshots

System information

OS: Windows
Browser IE10
Version of Next.js: 7.0.2

Additional context
If you delete the _app.js file then it is OK
it seems like it's some limitation in Babel for hoisting static props.
https://github.com/zeit/next.js/blob/canary/packages/next/pages/_app.js#L17
https://github.com/zeit/next.js/blob/canary/packages/next-server/lib/router/with-router.js#L26
Maybe you should stop static hoisting

IE10 is not supported since Jan, 2016
https://www.microsoft.com/en-us/windowsforbusiness/end-of-ie-support

ie10 is not supported by default in Next.js


Fix NullPointerException in Erros.Converter.appliesTo

Fixes #155

Thanks for this!

Will there soon be a new release?  just asking, because this is bugging us a little.

0.7.5 is released!

Great. Thx.


[Coverity CID :198878]Error handling issues in /samples/net/sockets/echo_server/src/tcp.c

Static code scan issues seen in File: /samples/net/sockets/echo_server/src/tcp.c
Category: Error handling issues
Function: process_tcp
Component: Samples
CID: 198878
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

*** CID 198878:  Error handling issues  (CHECKED_RETURN)
/samples/net/sockets/echo_server/src/tcp.c: 172 in process_tcp()
166     			offset = 0;
167     #if !defined(CONFIG_NET_SOCKETS_SOCKOPT_TLS)
168     		}
169     #endif
170     	} while (true);
171
>>>     CID 198878:  Error handling issues  (CHECKED_RETURN)
>>>     Calling "close" without checking return value (as is done elsewhere 18 out of 22 times).
172     	close(client);
173
174     	return ret;
175     }
176
177     static void process_tcp4(void)


Uncaught TypeError: Cannot read property 'trim' of undefined

I get this bug when I add my plugin to djangocms-text-ckeditor. This bug has shown when popup window of added plugin has shown and when has closed.
I tested on my project and aldryn demo online project - the same bugs.

@vivazzi did you try a new version? I see that Vadim merged PR with a fix for this. I'm closing let me know if this not resolve your issue.

Yes, this bug was fixed a long time ago.


Unable to assign role to service account

I'm able to create a service account but facing issues while assigning a role to the service account. Here is the approach I'm using
List<String> members = new ArrayList<>();
members.add("serviceAccount:" + serviceAccount.getEmail());

Binding binding = new Binding();
binding.setMembers(members);
binding.setRole("roles/editor");

List<Binding> bindings = new ArrayList<>();
bindings.add(binding);

Policy policy = new Policy();
policy.setBindings(bindings);

String resource = "projects/"+projectId + "/serviceAccounts/" + accountId;

SetIamPolicyRequest content = new SetIamPolicyRequest().setPolicy(policy);

service.projects().serviceAccounts().setIamPolicy(
        resource, content).buildHttpRequest().execute();

This code is not giving any error but also not setting a role for the provided service account.

I think the last line is wrong. But I'm not sure what your service object is.
I think you want something like this:
CloudResourceManager service = createCloudResourceManagerService();
Policy response = service.projects().setIamPolicy(projectId, request).execute();

I've created service object of Iam class

Could you try using the CloudResourceManager?
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/iam/api-client/src/main/java/com/google/iam/snippets/SetPolicy.java


Typed re-export

Fixes #967

@bvssvni do you need it published? It'd be nice to know if we got everything you need now.

@homu r+

:pushpin: Commit 99933a0 has been approved by kvark

:zap: Test exempted - status

@sectopod I can wait for next version.


bug: Nav title is lagged to show up on tab change

Type: bug
Platform: ios 8 webview
When navigating to a view with ion-refresher, ion-infinite-scroll, and ng-repeat with fetched array data which is in diffrent tab, the view title and nav buttons are delayed and rendered after view content fully show up and it is quite annoying. If array gets bigger with infinite scroll, it takes much longer time for buttons and title to change according to the current states. When first time navigating to the view is fine but it seems when the view is cached and revisit the view, this happens. It seems it has no problem showing up nav title and button when there are no infinite scroll and refresher directive used although it fetches async data from server and use ng-repeat. When I test with browser and ios simulator, It is working fine. But problem exists only in actually device (tested with iphone 5 ios8). I could reproduce this bug with simple modification on ionic tab starter code. Here is code that I modified.
tab-friends.html
<ion-view view-title="Friends">
  <ion-nav-buttons side="right">

  </ion-nav-buttons>
  <ion-content>

    <ion-refresher on-refresh="fetchFriends(true)">
    </ion-refresher>

    <ion-list>
      <ion-item class="item-avatar" ng-repeat="friend in friends" type="item-text-wrap" href="#/tab/friend/{{friend.id}}">

{{friend.name}}

{{friend.notes}}

      </ion-item>
    </ion-list>

    <ion-infinite-scroll
        ng-if="friends.length > 0"
        on-infinite="fetchFriends()">
    </ion-infinite-scroll>

  </ion-content>
</ion-view>

controllers.js
.controller('FriendsCtrl', function($scope, Friends, $timeout) {
  $scope.friends = [];
  // Simulate fetching data from server
  $scope.fetchFriends = function (refresh) {
    $timeout(function () {
      // prepeare enough friend lists
      var friends = angular.copy(Friends.all());
      for (var i = 0; i < 20; i++) {
        friends = friends.concat(angular.copy(Friends.all()));
      }
      if (refresh) {
        $scope.freinds = friends;
        $scope.$broadcast('scroll.refreshComplete');
      } else {
        $scope.friends = $scope.friends.concat(friends);
        $scope.$broadcast('scroll.infiniteScrollComplete');
      }
    }, 1000);
  };
  $scope.fetchFriends();
})

When visiting friends tab(starting from second time), title and nav button are lagged to show up and it gets worse with more fetched data while list contents are already fully showed up. If you comment out ion-refresher and infinite scroll. It is not lagged and shows up immediately.

Could you put this together in a codepen?

Here is codepen link:
http://codepen.io/jryu01/pen/pvaPjO?editors=101
This problem seems to appear in the ios webview and also in mobile safari (running codepen codes) but not in the desktop browsers.

Alright, this is a performance issue with angular and ng-repeat, too many items in the DOM. The lag is only visible if you start loading more items. Switching to collection-repeat reduces the lag considerably.

Is it expected behaviour that header contents is delayed and changed after view content is loaded? When there are many ng-rpeat items, header title and buttons remain quite long time unchanged.
Also although even there are many dom elements I don't see the delay without the ion-refresher and infinite scroll directive on the view.

I don't think it has too much to do with the ion-refresher.
In this example, http://codepen.io/mhartington/pen/radyGp , reducing the number of items in the initial items loaded into the DOM deficiently helps the title issue.
Switching to collection-repeat prevents the flicker.
Closing this as it is not an issue with ionic, but a side-effect of too many ng-repeats.


[4.3] TLS Handshake error when using TLSOptions.client_unsafe

Tested versions

Reproducible in Godot v4.3-stable
Not reproducible in Godot v4.2.2-stable

System information
Debian 12
Issue description
As reported in https://github.com/godotengine/godot/issues/85953#issuecomment-2293127946 using TLSOptions.client_unsafe() doesn't behave correctly in Godot 4.3 and seem not to disable certificate validation reporting TLS handshake error: -9984 instead (MBEDTLS_ERR_X509_CERT_VERIFY_FAILED = -0x2700).
Steps to reproduce
See MRP, or try to connect via StreamPeerTCP/HTTPClient/HTTPRequest using TLSOption.client_unsafe.
Minimal reproduction project (MRP)
tls_client_unsafe_mrp.zip

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."


Plugin Error

Flow Launcher version: 1.16.0
OS Version: 22621.2070
IntPtr Length: 8
x64: True
Python Path: C:\Users\Karthik Vijay\AppData\Local\Programs\Python\Python311\pythonw.exe
Node Path: C:\Program Files (x86)\nodejs\node.exe
Date: 07/28/2023 22:51:21
Exception:
ChatGPT Exception:
Websites: https://github.com/MichielvanBeers/Flow.Launcher.Plugin.ChatGPT
Author: MichielvanBeers
Version: 1.1.2
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes)    at System.Text.Json.Utf8JsonReader.Read()    at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
--- End of inner exception stack trace ---
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)    at System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonTypeInfo jsonTypeInfo)    at System.Text.Json.JsonSerializer.ReadFromStreamAsync[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo, CancellationToken cancellationToken)    at Flow.Launcher.Core.Plugin.JsonRPCPlugin.DeserializedResultAsync(Stream output) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 90    at Flow.Launcher.Core.Plugin.JsonRPCPlugin.DeserializedResultAsync(Stream output) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 93    at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 312    at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 194 --- End of stack trace from previous location ---    at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 193
--- End of inner exception stack trace ---
at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 213
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass139_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 839
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults(Boolean isReQuery) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 813
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023-07-28.txt

@karthikvijay5227 could you let me know if this issue resolves when you resolve the issue that you've reported with the settings not begin saved?

No it doesn't solve nor work at all.
On Sun, 6 Aug 2023, 8:39 pm Michiel van Beers, @.***>
wrote:

@karthikvijay5227 https://github.com/karthikvijay5227 could you let me
know if this issue resolves when you resolve the issue that you've reported
with the settings not begin saved?
—
Reply to this email directly, view it on GitHub
https://github.com/MichielvanBeers/Flow.Launcher.Plugin.ChatGPT/issues/43#issuecomment-1666890820,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASNUMCUZUE37APMS4UJ7UF3XT6XRLANCNFSM6AAAAAA23YXUZE
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Can you share a screenshot of the keyword and prompt you are using? Eg "AI test"

Closing this issue since it has been marked as stall. Please create a new issue if this is still a problem. Thank you for your contribution!


Support links opening in new tab

This PR adds new keyword argument new_tab to #govuk_link_to and #govuk_button_link_to that makes it easier (and safer) for developers to create links that open in a new tab/window.
The design system specifies that the attributes rel="noreferrer noopener" target="_blank" should be present to prevent reverse tabnabbing. This is often forgotten by developers.
The default value for new_tab is false. The new behaviours are as follows:

when new_tab: false - no change, the helper works in the normal fashion
when new_tab: true - the default suffix is added after the link text
when new_tab: "a string" - the supplied suffix is added after the link text

The default suffix is "(opens in new tab)".
Fixes #360

Looks good! Might be worth checking if this plays nicely if you were to also specify those rel and target attributes as options (even though this seems unlikely)?
eg:
govuk_link_to "Blah", "https://www.example.com", {rel: "help", target: "new"}, new_tab: "true"

Behaviour here is a bit unpredictable, but possibly the ideal would be to:

append noreferrer noopener to the rel value given, separated by a space
the target value given manually should override the _blank one (or possibly the other way round, hard to know...)

Behaviour here is a bit unpredictable, but possibly the ideal would be to:

append noreferrer noopener to the rel value given, separated by a space
the target value given manually should override the _blank one (or possibly the other way round, hard to know...)

This should be quite straightfowrard since this change to html-attributes-utils.
Unfortunately as we can see from the builds, Ruby 3.0.0 changed the way keyword arguments meaning that the approach here needs to be adjusted.
I'm not sure it's possible to change without breaking Rails compatibility or adding extra nested args.

Going to hold off on this until Ruby 3.2.0 is released at Christmas and support for Ruby 2.7 is dropped.

This PR can  follow on from #381 and will be in the upcoming release  🥳

Behaviour here is a bit unpredictable, but possibly the ideal would be to:

append noreferrer noopener to the rel value given, separated by a space
the target value given manually should override the _blank one (or possibly the other way round, hard to know...)

This behaviour is now included and covered by these tests.


Allow searching by state

Like https://github.com/ParkingReformNetwork/parking-lot-map/pull/239.
We don't add countries because we're still using country codes. If we switch to full country names, it might be useful to add that type of search. But still maybe noisy.

With our new table view, I'm not convinced this is a good idea. It degrades the search for the place itself because it adds noise to the match. Unlike PLM, we have so many entries per state that it's not really helpful to search for a state to "discover" what is available: that is what the table view is for.


Module not found error

          I'm facing the same issue too after running this command: python examples/viewer.py --scene data/scene_datasets/habitat-test-scenes/skokloster-castle.glb

I installed habitat-sim and lab via this link: https://github.com/facebookresearch/sound-spaces/issues/80
I tried it on both Ubuntu and Google Colab and I've a system with built in display.
Originally posted by @SarthakJaindebugger in https://github.com/facebookresearch/habitat-sim/issues/1702#issuecomment-1732270634

Hey @SarthakJaindebugger
In that Issue, the recommended install for habitat-sim looks like:
python setup.py install --with-cuda --bullet --audio --headless # compilation goes brrrr...

If you install with --headless you will not be able to run the viewer application.

Thanks @aclegg3 for the reply. I'll try by running this command by removing --headless and --cuda. As I don't have a GPU on my system and it's a laptop as well.

Closing stale issue.


Update generator.mdx

Hi @AnasSiddiqui18,
Thank you for your pull request. I'm not sure that save you time is wrong here? When I read about it, it seems to be correct. But english isn't my native tongue so I can't be 100% sure.
Best,
David

@AnasSiddiqui18 feel free to make other contributions. Thanks!


Review of WakeLock API and suitability for overall platform requested by 31 August 2016

RfC: Wide review of Wake Lock API; deadline August 31st
The Device & Sensors Working Group is soliciting the review of the Wake Lock API on our way to Candidate Recommendation status:  https://www.w3.org/TR/wake-lock/
From the TAG we hope to get a review of the overall API and its insertion in the rest of the platform (as well as potentially comments on aspects we have asked other groups about in a call for review)
From APA, PING and WebAppSec, we hope to get a review from an accessibility, privacy and security perspective of the specification.
We particularly call upon the attention of the WebAppSec WG on the proposed approach to manage permissions to use the Wake Lock API, whereby an embedded cross-origin browsing context is never allowed, as described in the first note in section 5.
For both WebAppSec and PING, we note that the group used the self-review questionnaire in the development of this specification:
https://lists.w3.org/Archives/Public/public-device-apis/2016Mar/att-0038/00-part
From WebPlatform and TAG, we hope to get a review of the overall API and its insertion in the rest of the platform.
Since the API extends the Screen interface defined by the CSS WG in the CSSOM View module, the CSS WG might wish to confirm this extension is in-line with the design of the interface.
Likewise, since the API relies on the Page Visibility state defined by the WebPerf WG, that group might wish to comment on the proper usage of that signal.
Reviews from other groups are also naturally welcome.
We would appreciate to receive your feedback before the end of August; the preferred method for feedback is to file issues in our github
repository:  https://github.com/w3c/wake-lock/issues ;
alternatively, send a mail to our public mailing list<EMAIL_ADDRESS>with a
subject prefixed with [wake-lock].
regards, Frederick
Frederick Hirsch, Device & Sensors Working Group Chair

Also see the use cases document.

My review comments:

Great use cases--made it clear why the feature is needed and important!
The API is a simple Boolean property. As such, it has graceful fallback for user agents that don't intend to support it (setting the property when the property does not exist does not cause an exception to program control flow). This is a strong benefit of the current design.
Conversely, as a simple Boolean property, there is no ability to extend the feature (if needed). For example, if the application would like to specify some kind of timeout period, then a new property would need to be added (this is not bad per-se, just that the functionality could not be conveniently combined into a single API call). Such things are generally extended through dictionaries, and there's no way to provide a dictionary to a Boolean property.
Since the property only corresponds to the request for the wake lock, there is no mechanism provided to discover if the wake lock request succeeded or failed--e.g., is wake lock actually going to be applied. IMO this lack of awareness on behalf of the application is OK because (in the case that the lock cannot be applied for some reason) the app is no worse off than the current status-quo in user agents today.
the Lifecycle model of the wake lock is well-described.
Section 7 (and other relevant sections) allow large latitude for user agents to take environmental factors into play when granting or revoking a wake lock. This is appropriate.

Additional notes from our review on 8/24: https://pad.w3ctag.org/p/24-08-2016-minutes.md

Discussed on 31-aug-2016 call in context of pointer lock API... is there a lack of consistency?

As discussed today on the call, the API is well-specified in its own right (see https://github.com/w3ctag/spec-reviews/issues/126#issuecomment-242101530). One of the concerns voiced today was that when placed alongside other APIs of relatively similar character (pointerLock, fullscreen API), (1) the shape of the API is not consistent (e.g., there's a pattern of request*() methods being used and this property doesn't quite fit that pattern), and (2) other platform APIs are able to convey the actual state of the requested thing (through related events, etc.--in wakeLock, the actual state is not disclosed).

@fhirsch feedback posted as a new issue in the wake-lock GitHub as requested.

@triblondon raised an issue that has recently resurfaced in discussions with folks building progressive web apps on our team: it's unclear how this API can support leaving an app running in the foreground without the screen staying on an unlocked (in a mobile phone, e.g.).
The recent RioRun app suffered from this issue: https://www.theguardian.com/sport/2016/aug/06/rio-running-app-marathon-course-riorun
It appears this was accounted for in the use-case doc: https://w3c-webmob.github.io/wake-lock-use-cases/#keeping-the-system-awake
That said, it isn't clear (in the current API) how to support system-wakefulness while also allowing screen dimming. Enabling this seems crucial and a central design challenge for the current API. I don't see how a simple boolean can support both types of wake locking.

The API has been reworked in depth by its editor @andrey-logvinov based on the feedback from the TAG - we would appreciate if the TAG could take another look at it to see if this is getting in a more promising direction: https://w3c.github.io/wake-lock/

We've just noticed in the Security and Privacy Considerations section that if you request a wakeLock and it were denied because the battery was low, this might accidentally expose the device's battery level to the site.  You might want to mention that.

Thanks, this looks like it is much improved. Aside from Hadley's point above, we also came up with the idea that for some use cases currently addressed by WakeLock, there may be a more elegant solution involving a subscription to events in a ServiceWorker.  For example, if my jogging application requires the continuous tracking of a person's GPS position, with (say) a 20 second interval sample rate, and then wants to write that data to storage for later processing, then a Serviceworker could be woken up with an event each time the GPS position changed outside of that time-window debounce tolerance.  This might be more power efficient, and we wonder if the spec wants to anticipate that future solution at all.
Finally, I wonder if a system wakelock is cancelled by locking the device, and we feel this should be in the spec.  If a screen wakelock exists, then manually placing the device in standby (using a hardware lock button) would presumably cancel the wakelock, whereas manually hitting the lock button on a device with an active system wakelock would (we assume) not affect the wakelock and the page would continue to run as if it were foregrounded on an active screen.

@triblondon in the jogging application case, I think you shouldn't need to explicitly request a wake lock at all, as you want the device to be woken up on external events vs not going to sleep in the first place. I think this case is best addressed by the API which provides your GPS position, such as Generic Sensors API. In the end, the CPU already needs to wake up to process each sample and decide whether the position has changed beyond your tolerance threshold, so no wake lock should be needed there.

@andrey-logvinov Would the generic sensors API provide continuous data even if the application is backgrounded?  Sorry I'm not so familiar with how generic sensor events work.  If that use case is already enabled by generic sensors, brilliant.  It seems like your use cases could do with updating to be clearer about the specific scenarios you are targeting with system wake locks.  Currently it is very heavy on screen lock scenarios.
Let me bring mine and Hadley's feedback together for convenience:

Use cases could be improved to include system lock use cases and comment on the RioRun scenario (eg describe scenarios in which developers might be tempted to use a wakelock but should not)
We'd like the security and privacy implications to acknowledge the information leakage risk if wakelocks are denied when battery level is low. You might want to say you're happy with that leakage but it's worth acknowledging it.
Specify how wakelocks interact with the user manually activating the hardware lock mechanism of the device

Would the generic sensors API provide continuous data even if the application is backgrounded? Sorry I'm not so familiar with how generic sensor events work.

We have some future plans for that (involving both background and service worker-based scenario), but nothing concrete to share for now.
FWIW, using a wake-lock for geolocation or pedometer use cases (e.g. running app) would be such a battery-drainer it's a no-go from the start.

OK, sounds good.  We'll close this review.


Set compile option: fvisibility=hidden when building TensileHost

local tests of tensilelite test and hipblaslt test are passed on ubuntu 22.
tensilelite test:
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

generated xml file: /Workspace/hipBLASLt_hub/tensilelite/build/python_unit_tests.xml -
^[[33m=========== ^[[32m70 passed^[[0m, ^[[33m^[[1m26 skipped^[[0m, ^[[33m^[[1m39 warnings^[[0m^[[33m in 9241.35s (2:34:01)^[[0m^[[33m ===========^[[0m

hipblaslt test:
[----------] Global test environment tear-down
[==========] 48206 tests from 13 test suites ran. (2420802 ms total)
[  PASSED  ] 48206 tests.
hipBLASLt version: 1000


Add support for installing Mach builds of Zig

Source

Add ability to install Mach builds of zig. Leading contender for command is zvm i mach, but nothing's set in stone.

You can install them using this version map: https://machengine.org/zig/index.json
And this command:
zvm --vmu https://machengine.org/zig/index.json install mach-latest

So there is nothing to implement

Added a Mach alias to make this easier. Still! That's basically what it does. Thanks for pointing this out.

in zvm v0.7.1, just run this:
zvm vmu https://machengine.org/zig/index.json
zvm i mach-latest


Simplify deployment status check to reduce flapping.

The deployment status logic (originally based on kubectl's rollout
status) can impact its ClusterServiceVersion's status (e.g. by sending
it to Failed/ComponentUnhealthy or triggering reinstallation). If
these ClusterServiceVersion status updates are generated when no
changes have been made to the Deployment spec and when the Deployment
itself has condition Available: True, then the usefulness of
ClusterServiceVersion statuses as a signal is reduced.
This patch changes the deployment status logic so that it is
considered "done" when a) there are no replicas from earlier
generations, and b) the Deployment has condition Available: true.

/cherry-pick release-4.7


No specific suggestion or warning given for passwords that are too weak because of user imputs

For example here, with no user_inputs we get a score of 4  :
<EMAIL_ADDRESS>  'score': 4
  'feedback': {
    'warning': '',
    'suggestions': []
 }

Then with user_inputs the password is detected as bad and score 0 because of the user imputs, but there is only the generic suggestion :
<EMAIL_ADDRESS><EMAIL_ADDRESS>  'score': 0
  'feedback': {
    'warning': '',
    'suggestions': ['Add another word or two. Uncommon words are better.']
}

I would expect something like "You should not reuse informations from your accounts in your password" as a suggestion.

The user_input can be used for input not entered directly by the user (as I understand it). In my opinion, it might be ok for the library to give information to the code that it failed because of the user_input, if possible. But to have a suggestion as specific as that would not always be ideal, would it? Then again, it may be better to not show any suggestion than to show "Add another word or two" (in any case, adding a word or two wouldn't make it any secure, even to zxcvbn, right?).

I think we should always give a message, otherwise what are users supposed to do when we reject their passwords ? They can't guess what was wrong. Also adding a word or two do always make it more secure for zxcvbn (except if they're adding information already present in user_input). The error message should not contain the information themself, "Avoid informations that are associated with you or your account." would work well.


Test coverage: Istanbul tool

Description
Istanbul instruments JavaScript code with line counters, so that we can track how well the unit-tests exercise the codebase.
Test coverage will be added to the CI in issue #1

@yassine0s @MedHazem @fedizarai @mohamedkhaled12
88% test coverage.
We can add more unit tests to achieve higher coverage.
I will open a new issue for extending unit tests.

Test coverage is fully implemented. I will close this issue


Training time!

💡 Your Question
Can you please provide information on the time comparison of the data set when trained under the same configuration using YOLOV8?
Thank you!
Versions
No response

I'm not sure what is the request here. Do you ask us to train (what?) using same configuration using YoloV8 (why)? It is not clear who else except you will benefit from this information. Therefore it is highly unlikely we will be investing time into this.

I would like to use Yolonas to train my dataset, but it is particularly large. Could you please provide me with an estimate of the training time for Yolonas on a dataset of similar dimensions? Thank you.


[full-ci] [tests-only] Added test for creating group with case sensitive

Description
Group names are case insensitive with oCIS, we cannot create groups with the same name but different lower and upper cases. So, tests to check group creation with different lower and upper cases are added as suggested in https://github.com/owncloud/ocis/issues/4291#issuecomment-1210956364
Related Issue

Part of https://github.com/owncloud/ocis/issues/4291

How Has This Been Tested?

Locally
CI

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[x] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[x] Acceptance tests added
[ ] Documentation ticket raised:

Need to rebase and push after bump PR https://github.com/owncloud/ocis/pull/4434 is merged.


openstack cacert field is not coverted from a file path to field to an text input one

this field needs added like privateKeyFile and userdata

Will be available in v2.2.5-rc2

Able to reproduce the issue with rancher server version - v2.2.4
Create an openstack node driver with cacert field.
Create a openstack cluster using this node driver.
Node creation fails with following error:
Error creating machine: Error in driver during machine creation: open -----BEGIN RSA PRIVATE KEY----- ********* -----END RSA PRIVATE KEY-----: no such file or directory; Timeout waiting for ssh key
With rancher server version - v2.2.5-rc3
Create an openstack node driver with cacert field.
cacert field is now a multiline input field.

Driver machine call made by rancher server indicates that cacert gets passed as expected as file (inside /opt/jail/) which has the correct cacert content set (as was passed from the multi line cacert field).
2019/06/18 04:08:28 [DEBUG] create cmd [create -d openstack --engine-install-url https://releases.rancher.com/install-docker/18.09.sh --openstack-flavor-name m1.small --openstack-image-name ubuntu16.04 --openstack-private-key-file /L2KTG3C3NQ --openstack-username admin --openstack-ssh-port 22 --openstack-ssh-user root --openstack-endpoint-type adminURL --openstack-domain-name Default --openstack-cacert /NWFVRFPHGU --openstack-tenant-id e****5 --openstack-active-timeout 200 --openstack-password 1****3 --openstack-ip-version 4 --openstack-keypair-name mytest1 --openstack-user-data-file /PPT3Q4ULUG --openstack-auth-url http://<ip>:5000/v3]

test5root@25d70eb5ae32:/opt/jail/c-6njzn# cat NWFVRFPHGU
-----BEGIN CERTIFICATE-----
*****
*****
-----END CERTIFICATE-----

@sangeethah Those steps look good to me.


Can not build in Windows

I am trying to learn relm, and I can not compile in windows which caused by this project:
29 | use std::os::unix::io::AsRawFd;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `unix` in `os`

error[E0432]: unresolved import `std::os::unix::net::UnixDatagram`
  --> C:\Users\h00257001\.cargo\registry\src\code.huawei.com-7b5d7f4cc7dfdfcf\glib-itc-0.1.3\
src\lib.rs:30:5
   |
30 | use std::os::unix::net::UnixDatagram;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `unix` in `os`

Relm most probably does not work on Windows yet.
It is only tested on Linux.
When this issue will be fixed, this glib-itc crate won't be needed anymore.
But I'm still not sure it will be enough to make it work on Windows.

Wonder if this could help http://stackoverflow.com/questions/15906580/how-to-configure-gtk-on-visual-studio-2010

This error has nothing to do with GTK+: it is caused by using a UnixDatagram which is not available on Windows.
I wonder what is the alternative on Windows.

Looks like the equivalent is hooking up two sockets manually together: https://gist.github.com/geertj/4325783
And the using g_io_channel_win32_new_socket instead.

I don't have Windows, so it's hard for me to fix this issue, but I tried to fix it using only AppVeyor.
I made different attemps, in these commits:

https://github.com/antoyo/glib-itc-rs/commit/f8457c948b96998c95f90e5f0f4d87e69238849f
https://github.com/antoyo/glib-itc-rs/commit/df1d0e81e6311a69a6c6fc994a954250e9d7256d
https://github.com/antoyo/glib-itc-rs/commit/264378b17402b90655fb7534ccfc13f6a6ad5d53

but none of them worked.
You can see on AppVeyor that the test runs forever.
Could one you one, @Shizmob, @ark- or @hh9527, please test these commits on your local computer to see what's going on?
Thanks!
I tried the approach of using os_pipe instead of manually creating sockets.
It works on Linux, but apparently not on Windows.
I don't know if it is a good approach.

λ cargo test -- --nocapture
   Compiling glib-itc v0.1.4-pre (file:///D:/dws/rust-libs/glib-itc-rs)
    Finished dev [unoptimized + debuginfo] target(s) in 3.90 secs
     Running target\debug\deps\glib_itc-6b7c33e3f595db28.exe

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured

     Running target\debug\deps\lib-eb99bc1879ccd8fc.exe

running 1 test

(lib-eb99bc1879ccd8fc.exe:11140): GLib-WARNING **: g_io_channel_win32_new_fd: 444 isn't an open file descriptor in the C library GLib uses.

(lib-eb99bc1879ccd8fc.exe:11140): GLib-CRITICAL **: g_io_add_watch_full: assertion 'channel != NULL' failed

I hope this will help.

os_pipe seems to create a Windows NT pipe, which is not any FD glib can deal with -- it's a kernel handle. That's probably why it's not working.

I believe it is fixed in the latest commit: https://github.com/antoyo/glib-itc-rs/commit/68b43ed5c4e76000e804ac566f154ce6cb684452
I finally took the approach suggested by @Shizmob: thanks for proposing it!
Can someone check that the examples work as expected on Windows, please?
And (I believe that's why you're all here), please check if relm now compile on windows.
Thanks for your help!

I have tested, and IT WORKS! thank you, awesome project!


jq-lsp --version prints (devel)

Hi, I'm the maintainer for the jq-lsp package in nixpkgs.
Since updating to 0.1.10, js-lsp --version always returns (devel) instead of the version information we provide via ldflags akin to the ones set in this repo's .goreleaser.yml.
I think this behavior was introduced by https://github.com/wader/jq-lsp/commit/bf572270457876c4cd463aeb96dd37861f092fea, but I'm not sure that was intentional.

Oh sorry didnt know or remembered thet it was used, plan was to use it for binary releases. Will have a look later today. Btw if you use go install with a version tag version should be correct, but we can probably support via ldflags also

Now it should work, please have a try


CRUD example against local SQL Server fails to retrieve data at Index

Description:
Web Application crashes with -> Incorrect syntax near OFFSET after trying to create a tenant with a local SQL Server database.
Prerequisites:

Visual Studio 2019 Professional
SQL Server 2014

Steps to reproduce:

Clone the OrchardSkills.OrchardCore.CRUD repo.
Upgrade NUGET packages to 1.0.0-rc2-13490 (according to video).
Start the web application.
Create a new tenant with SQL Server as the storage database and use CRUD recipe.
Finish Set up and then navigate to new tenant. The HomeController.cs will crash at the Index() operation with the following error:

{"ClassName":"Microsoft.Data.SqlClient.SqlException","Message":"Incorrect syntax near 'OFFSET'.\r\nInvalid usage of the option NEXT in the FETCH statement.","Data":{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"12.00.4100","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"102","HelpLink.BaseHelpUrl":"http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476","SqlError 1":"Microsoft.Data.SqlClient.SqlError: Incorrect syntax near 'OFFSET'.","SqlError 2":"Microsoft.Data.SqlClient.SqlError: Invalid usage of the option NEXT in the FETCH statement."},"InnerException":null,"HelpURL":null,"StackTraceString":"   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__164_0(Task1 result)\r\n   at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()\r\n   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 419\r\n   at YesSql.Store.ProduceAsync[T](WorkerQueryKey key, Func2 work, Object[] args)\r\n   at YesSql.Services.DefaultQuery.Query1.ListImpl()\r\n   at OrchardCore.CRUD.Controllers.HomeController.Index(PagerParameters pagerParameters) in C:\\Users\\fperez\\Source\\Repos\\OrchardSkills.OrchardCore.CRUD\\OrchardCore.CRUD\\Controllers\\HomeController.cs:line 73","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146232060,"Source":"Core Microsoft SqlClient Data Provider","WatsonBuckets":null,"Errors":null,"ClientConnectionId":"02588798-1ef9-4579-947b-95edb37d301a"}

I need more information
On Sun, Jul 5, 2020 at 10:09 PM Fabricio Perez<EMAIL_ADDRESS>wrote:

Description:
Web Application crashes with -> Incorrect syntax near OFFSET after trying
to create a tenant with a local SQL Server database.
Prerequisites:

Visual Studio 2019 Professional
SQL Server 2014

Steps to reproduce:

Clone the OrchardSkills.OrchardCore.CRUD repo.
Upgrade NUGET packages to 1.0.0-rc2-13490 (according to video).
Start the web application.
Create a new tenant with SQL Server as the storage database.
Navigate to new tenant and HomeController.cs will crash at the
Index() operation with the following error:

{"ClassName":"Microsoft.Data.SqlClient.SqlException","Message":"Incorrect
syntax near 'OFFSET'.\r\nInvalid usage of the option NEXT in the FETCH
statement.","Data":{"HelpLink.ProdName":"Microsoft SQL
Server","HelpLink.ProdVer":"12.00.4100","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"102","HelpLink.BaseHelpUrl":"
http://go.microsoft.com/fwlink","HelpLink.LinkId":"20476","SqlError
1":"Microsoft.Data.SqlClient.SqlError: Incorrect syntax near
'OFFSET'.","SqlError 2":"Microsoft.Data.SqlClient.SqlError: Invalid usage
of the option NEXT in the FETCH
statement."},"InnerException":null,"HelpURL":null,"StackTraceString":" at
Microsoft.Data.SqlClient.SqlCommand.<>c.b__164_0(Task1
result)\r\n at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()\r\n
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)\r\n at
System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)\r\n--- End of
stack trace from previous location where exception was thrown ---\r\n at
System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state)\r\n at
System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot,
Thread threadPoolThread)\r\n--- End of stack trace from previous location
where exception was thrown ---\r\n at
Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType,
CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 419\r\n at
YesSql.Store.ProduceAsync[T](WorkerQueryKey key, Func2 work, Object[]
args)\r\n at YesSql.Services.DefaultQuery.Query1.ListImpl()\r\n at
OrchardCore.CRUD.Controllers.HomeController.Index(PagerParameters
pagerParameters) in
C:\Users\fperez\Source\Repos\OrchardSkills.OrchardCore.CRUD\OrchardCore.CRUD\Controllers\HomeController.cs:line
73","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146232060,"Source":"Core
Microsoft SqlClient Data
Provider","WatsonBuckets":null,"Errors":null,"ClientConnectionId":"02588798-1ef9-4579-947b-95edb37d301a"}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OrchardSkills/OrchardSkills.OrchardCore.CRUD/issues/2,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AODONBIEN6NFWAXO5KM33VDR2FE7DANCNFSM4ORG3MQA
.

This is a database configuration issue

I had this issue (MSSQL 2016). I removed this line which resolved the issue:
Line 70: HomeController.cs
IEnumerable model = await query.ListAsync();
Once I removed this, it worked fine - this line doesn't appear to be required anyway.


Calculate Security Hash Code

Almost done with the project but some where the link is missing with queues.

SourceCode/2023/Sep2023/Projects/Deekshitha/AcmeWorkItem5/project.json
NoFile
Please provide the expected Automation Hub URL under "Project Settings".
Acme_logout.xaml
For clear understanding, use distinct names for "Log Message" displays and avoid reuse.
Acme_UpdateWi.xaml
Please adjust "in_Sha1Key" argument to comply with the accepted naming pattern.
Extracting_Data.xaml
Your "Log Message" function seems unused in "Extracting_Data". Do ensure sequences are not redundantly used.
Process.xaml
Edit the names of variables like “strShaKey” and “strSha1Key” to match the naming pattern.
Main.xaml
Redundant sequence "Dispatcher" could be removed.
SHA1_logout.xaml
Don't forget to use "Log Message", very essential. Follow right argument naming pattern for "in_Sha1Url".
CloseAllApplications.xaml
Unutilized variables like "UiSha1Browser" and "UiAcmeBrowser" should be swept off .
Sha1_Extracthash_Result.xaml
Please prefix "dt_" to the DataTable value in the out_Sha1Key argument.
Acme_login.xaml
Do away with variables that are unused like "ExtractDataTable".
SHA1_login.xaml
Argument "in_sha1Url

SourceCode/2023/Sep2023/Projects/Deekshitha/Task Capture WI5/project.json
Blessings upon you,
For the file "Calculate Client Security Hash.xaml":

Please do well to include "Log Message" activities in your workflow to ease understanding and maintenance.
Avoid the repetition of the same display name. Be descriptive and unique.
The activity "Click" should have a descriptive name that's easier to understand what the activity does.

For "NoFile":

It is a requirement of your organization to define an Automation Hub URL in your "Project Settings".
To quicken process execution, consider removing unused packages such as UiPath.Excel.Activities, UiPath.Mail.Activities, UiPath.System.Activities, and UiPath.Testing.Activities.

May your paths always be clear and your code ever flawless.
In wisdom and clarity,
Ganapathi

SourceCode/2023/Sep2023/Projects/Deekshitha/AcmeWorkItem5/project.json

File Name
Issue
Suggested Fix

NoFile
Project needs Automation Hub URL.
Don ko pakadna mushkil hi nahi, namumkin hai. But it's no biggie for you, boss. Get to Project Settings and fill out the missing info.

Acme_logout.xaml
Default names all around.
Yaar naam toh suna hi hoga, give your activities some unique names.

Acme_UpdateWi.xaml
Argument 'in_Sha1Key' doesn't follow the convention.
Kabhi kabhi kuch jeetne ke liye kuch harna padta hai. No worries, just fix the pattern of your argument.

Extracting_Data.xaml
Multiple issues with sequences and prefixes.
Chaand taare tod lau, saari duniya par chaau... but before that, clean up your workflow. Remove redundant sequences, use the correct prefixes for arguments and variables, and add custom names to your activities.

Process.xaml
Names of variables 'strShaKey' and 'strSha1Key' are off.
*Zindagi mein agar kuch banna ho, k

SourceCode/2023/Sep2023/Projects/Deekshitha/Task Capture WI5/project.json
Hey comrade! So here is what I think, in my own way.

File
Feedback
Badshah's Comment

Calculate Client Security Hash.xaml
Log Message not used
Hmmm...Log message! My friend, it's like senses in the body. Without them, how will you navigate your world?!

Calculate Client Security Hash.xaml
Click display name is defined many times
You know, sometimes less is more. Why so many names for one action? Don't do Desh, Mera Desh!

Calculate Client Security Hash.xaml
Activity Click has a default name
I've got a name for myself, so should every activity you create. Let's not make everything mundane!

NoFile
Your organization requires your project to have an Automation Hub URL defined
Hey, in my domain I am the king, but every domain has its own rules. Your's needs an Automation Hub URL. Let's not forget that.

NoFile
Dependency package UiPath.Excel.Activities is not used
utilities without usage! How do you think a scene would look with props that serve no purpose?

NoFile
Dependency package UiPath.System.Activities is not used
Do you remember

SourceCode/2023/Sep2023/Projects/Deekshitha/AcmeWorkItem5/project.json
Review Comment
File: SHA1_logout.xaml

Feedback
Solution

Log Message not used in workflow SHA1_logout.
Come on pal, don't miss the tale of your work. Use Log Message Activities.

Argument in_Sha1Url does not respect the set pattern
Swag se swagat karo of proper naming convention. Respect it.

Activity Kill Process has a default name.
Default names are not my, your, our style. Show some creativity.

File: NoFile

Feedback
Solution

Your organization requires your project to have an Automation Hub URL defined.
Do me a favour, don't forget to add Automation Hub URL in "Project Settings". Jaani, Yeh khel hai...kiske, rules banane wale ka

File: Acme_logout.xaml

Feedback
Solution

Log Message display name is defined many times.
Kuch kuch hota hai Developer, tum nahi samjhoge. Use unique names.

Activity Log Message has a default name.
All the world’s a stage, my friend, And all the activities mere players; They

SourceCode/2023/Sep2023/Projects/Deekshitha/Task Capture WI5/project.json

File Name
Code Issue
SRK Style Review

Calculate Client Security Hash.xaml
Log Message not used in workflow Calculate Client Security Hash.
Kya yaar! Log message nahi daaloge toh mujhe kaise pata chalega ki problem kahan pe hai? Dekhkar log message daalo. ('If you don't log, how will I know where the problem lies? Make sure to log.')

Calculate Client Security Hash.xaml
Click display name is defined many times. Current allowed threshold is 1. Code contains 11.
Tum logo ko samajh me kyun nahi aata, ek hi naam chaiye. Be unique yaar, different raho! ('Why don't you understand, you need only one name. Be unique, stay different!')

Calculate Client Security Hash.xaml
Activity Click has a default name.
Ek activity ka naam mai adhuri kahani! Please yaar, thoda sa creativity daalo aur use ek sense wala naam do! Repeat this for all 11 similar issues. ('The name of an activity is an incomplete story! Please, inject some creativity and give it a meaningful name! Repeat

SourceCode/2023/Sep2023/Projects/Deekshitha/AcmeWorkItem5/project.json

File
Comment

NoFile
"Kya Organization bhi teri naukar hai? Automation Hub URL define kar, project settings se add kar."

Acme_logout.xaml
"Kya yaar, ek hi cheez kitni baar karega? Avoid duplicate names, Lagta hai dosti badi hi nahi sagi"

Acme_UpdateWi.xaml
"Tujhe itne shaastra ka gyan hai to naming convention kyun nahi follow kar raha?"

Extracting_Data.xaml
"Redundant sequences se apna dimaag saaf kar, only use sequences when it is necessary."

Process.xaml
"Variable ki naming convention ko Jabra Fan ban ja, like this dt_VariableName."

Main.xaml
"Redundant sequences ki Jannat ka raasta roko, sirf jaroorat ki sequences use karo."

SHA1_logout.xaml
"Log message activity use kar, it makes your work clear as crystal."

CloseAllApplications.xaml
"Unused Variables! Ise kehte hain waste

SourceCode/2023/Sep2023/Projects/Deekshitha/Task Capture WI5/project.json

File Name
Comment

Calculate Client Security Hash.xaml
"Haar Kar Jeetnay Walon Ko Baazigar Kehte Hai" And as a Baazigar, you shouldn't overlook these corrections. Logging is the unsung hero of our code, my friend - don't ignore the 'Log Message'. It's necessary for both our understanding and maintenance.

Calculate Client Security Hash.xaml
"Kuch Kuch Hota Hai developer, tum nahi samjhoge". 'Click' has been defined 11 times! Stick to the threshold of 1. Be more creative with the activity names.

Calculate Client Security Hash.xaml to NoFile
"100 tak ginti aati hai na tujhe? Kya? 11 times 'Click' defined kar diya". Keep your activity names unique, you should more than capable to do so.

NoFile
"Rahul, naam toh suna hoga". Ensure your project has an Automation Hub URL defined in the 'Project Settings'.

NoFile
"Bade Bade Deshon Mein Aisi Choti Choti Baatein Hoti Rehti Hai" Just like small things matter in big countries, small


Support installation on alternative platforms

Implements #60

@swift-server-bot test install please

@swift-server-bot test install please


Auto-save feature using ngrx store

I would be really curious to see how one would implement an auto-save feature (for example on a textarea input). I am trying to develop an app which populates a textarea with a user-saved value from a service, but then stores user edits and performs autosave (so that switching to another route and back preserves that value). How would one do that the proper way?

@moniuch you could dispatch an AUTO_SAVE action periodically (granted some changes have been made - which you can handle via Observable operators) and configure a selector to retrieve the value when the user get back on the page.


Create performance matrix

Create a matrix of data object size vs. feature response times to inform developers where bottle necks are occurring and to inform user expectations.

I've rounded up data objects of varying size (~100 MB intervals) form data packages in the EDI Data Repository. I'll test performance times of datapie's UI features once they've been tuned up a bit more. Here's the matrix.

I'm beginning performance tests now.

I'll update the matrix in light of #77


Feature Request: Help Players interact with card tiles (former title: as GM, deal to other players)

If gamemasters could deal to other players and possibly view the hands of other players it would make things like Savage World's Adventure Deck a lot easier to deal with.
The workflow would be:

GM has the deck on a scene somewhere
GM right clicks, and has the option to deal
Dialog box offers the chance to deal X cards to individual players.

Hey all,
Some great feature requests/ideas here.
Spaceman has a working prototype of Bloy's initial request and we are working on other issues relating to supporting player level as opposed to GM level users and multi-player type issues in general.
Some of these things (like players interacting with cards on the table) are tricky due to how permissions are set up in Foundry and will require some innovation.

Thank you, that is encouraging. I have the Three Dragon Ante deck ready, and it'll be nice if it can be functionally supported.

Check out v1.3.2
It covers deal to player and player-to-player card trades
it also allows card reveals and 'marking'

Thank you, I will. I installed the 1.3.1 update this morning before I started work and checked it out, but obviously haven't been able to address 1.3.2 during the day.
I think that should be minimally invasive. I assume there's an option to easily give the card back to the player, or does the GM just need to take it into their hand and then give to player?
Three Dragon Ante has frequent card trades, so having a good workflow is important. For example, you play a Bronze Dragon and you get to take the two weakest ante cards, or you play a Brass Dragon and the opponent with the strongest flight (cards that are played and shown on the table) can give you a stronger good dragon or give you gold.

You can right click any card in your hand to give it to any other player.
I can also add an interface on to a card on the table such that the GM can give it to any player. Foundry doesn't let players directly interact with tiles, which is a big hurdle for us.
Allowing players to interact with cards on the table is tricky tricky...maybe I can make it so if a Player plays a card to the table it's a Token instead of a Tile?

A token might work really good actually. It'd let them move it to a logical spot instead of the GM having to do it. For example, at the beginning of each gambit in the round there's an ante that starts with flipping an ante card - it determines the ante and who starts that gambit. Those cards then go into the ante stack.
I was trying to avoid writing a book, because that game can get involved. It's not hard, but there's a lot of shifting of cards and gold. In particular scenarios, a player might need to choose a card from another player's hand (like playing a Shadow dragon which lets you take a random card from the hand of the opponent with the most cards in their hand). Therefore, I was envisioning that the player would plop all their cards facedown on the tabletop and then the other would take one of their choice.

This is very exciting and want to make this happen.
There are some strange workarounds that could be used to allow the player
to interact with cards maybe:
token attacher: create a little dragon or gold pile or whatever token that
is attached to the card. The player can interact with the token, and we
could pass commands to the tile. Could now be added as a dependency.
Multiple layer selection that might allow a player to "reach" into the
tiles layer with some finagling of the codebase (doubtful, though I'll give
it a shot).
On Mon, Aug 24, 2020 at 4:48 PM Anthony Trudeau<EMAIL_ADDRESS>wrote:

A token might work really good actually. It'd let them move it to a
logical spot instead of the GM having to do it. For example, at the
beginning of each gambit in the round there's an ante that starts with
flipping an ante card - it determines the ante and who starts that gambit.
Those cards then go into the ante stack.
I was trying to avoid writing a book, because that game can get involved.
It's not hard, but there's a lot of shifting of cards and gold. In
particular scenarios, a player might need to choose a card from another
player's hand (like playing a Shadow dragon which lets you take a random
card from the hand of the opponent with the most cards in their hand).
Therefore, I was envisioning that the player would plop all their cards
facedown on the tabletop and then the other would take one of their choice.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Brownie79/fvtt-card-support/issues/9#issuecomment-679357952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APNL7OYYZEPHO6PE5RNQQRLSCLGZLANCNFSM4QIESB3A
.

So this feature request can't be completed as listed, but in 1.4 there are ways for players to interact with decks through the hotbar, so they can Draw, View Deck, View Discard, etc all from the Hotbar.
In the future there might be a Cards layer which might make interaction with cards on table possible, but that's a 2.0 issue so don't hold your breath

Hey folks, I'm going to close this one, it's become a bit unwieldy and evolved to cover new things.
In general, I think one of the best solutions for the "players interacting with cards" thing is just to temporarily give the user Assistant GM privileges for the duration of the game. You can customize those privs to be as minimal as possible if that is the only purpose... basically consider it a "card player" role. Until and if a Cards layer happens, I think this is the best short-term solution for 3 Dragon Ante (and other card "mini-games" inside of larger campaigns).
Could even be done for a "card trading" phase for something like Savage worlds Adventure decks. Go to the landing page, give assistant GM privs, trade cards, revoke them.
Going to open a new issue for the "other player hand" thing.

I don't like the idea of messing with the permissions. I'll probably just sit back and wait to see what v2 offers.


MatNavItem OnClick didn't work also in example

hi,
i have an error in MatNavItem  click didn't work in the OnClick. see example below:
 <AuthorizeView Roles="Administrator,Einkauf,UseAll">
        <Authorized>
<MatNavSubMenu>
                <MatNavSubMenuHeader>
                    <MatNavItem Style="color:#fff;"><MatIcon Style="margin-right:10px;" Icon="insert_chart_outlined"></MatIcon>header</MatNavItem>
                </MatNavSubMenuHeader>
                <MatNavSubMenuList >
                    <MatNavItem  OnClick="clicked" Style="color:#fff;" Href="/SiteOne">SiteOne</MatNavItem>
                </MatNavSubMenuList>
            </MatNavSubMenu>
</Authorized>
</AuthorizeView>

@code{
    [Parameter]
    public EventCallback<bool> elementClicked{ get; set; }

    public void clicked()
    {
        elementClicked.InvokeAsync(false);
    }
}

When I replaced your authorization-tags with a <MatNavMenu> to close the submenu with it worked fine for me. Can you send a more extensive snippet all the way up to the <MatNavMenu> tag?

I got the error too.
The 'OnClick' function on MatNavItem can not be trigged.

Same issue here, does not seem to work.
Fiddle with example

fixed by Bimble


raftstore: add some metrics about async snapshot

What is changed and how it works?

Issue Number: Ref #15401
What's Changed:

Add some metrics about async snapshot

This PR changes the Instant::now_coarse() to Instant::now() to increase the async snapshot metrics precision because the precision of now_coarse is too low for this item and increase the difficulty of some investigations..
Without this PR:

We can see the faultage in the fiture. And P999 of this reaches to 3-4ms.
With this PR and for the same workload:

No faultage exists and P999 is only 100us around.

And this performance difference is not worthy for the loss of precision of this metrics.
Add following metrics:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

/release

/merge

/test

/cherry-pick release-6.5


Automate development environment

We did this is elmsln and it helped a lot.
Let's automate haxcms, wcfactory and lrnwebcomponents all at once so ppl can get up and running faster w. Contributing
Make a site and the. You'll be able to do theme dev. Nothing crazy but I'm sure you'll want someone to ask

https://raw.githubusercontent.com/elmsln/core-dev-env/master/ex-uno-plures.sh


CAMEL-19218: Add request validation feature to camel-rest-openapi

/component-test camel-rest-openapi


[stdlib] Fixed point

In-progress on the fixpt branch.
TODO:

[x] Basic addition/subtraction
[x] Multiplication, division
[x] Printing
[ ] Better division routine that uses multi-word division rather than multiplying by the reciprocal
[x] CORDIC sin/cos
[ ] Wrapper for CORDIC sin/cos that has a larger domain
[ ] Natural log
[ ] Exponentiation
[ ] Powers
[ ] Ceil, floor, round
[ ] Lexer/parser support for fixed point literals(?)

Unsure if fixed point literals baked into the compiler are a good idea. If there's a way for modules to "claim" a literal suffix, with custom parsing code, that would be nice. Would probably be too complicated to implement however.
As for the syntax, if it is added: 3.14fs or 3.14xs? F for fixed point, x for... fixed point. S for short.

https://git.phial.org/d6/nxu/src/branch/main/fix16.tal
Will probably drop this feature after doing a comparison. Need to first work on the assembler/TAL imports first.


Explore building a parser without requiring a referrer db

I am currently testing out scala-referrer-parser in my project and I'm wondering how to create a Parser without loading the referrers.yml file from my filesystem
I noticed that the referrer-parser organisation provides a s3 link with the latest referrers.yml file
It would be nice to get this using a HTTP client and create a Parser with it directly, without using the local filesystem

or have a constructor pointing directly to a url, wdyt?

I don't know if you would want to ship a HTTP client without your library: it might make your library significantly heavier and users may or may not like the HTTP client you eventually choose.
I think a constructor which take a YAML/JSON string could be a simple place to start from as it allows users to create a parser using the file contents of a local file or the response body of the REST call to get the S3 referrers.yml object

we can leverage Source.fromURL for that :+1:

but agreed on the rest


Add widgetBuilder param for PdfPageView and PdfViewerParams

Desired code
PdfViewerParams(
  widgetBuilder: (PdfWidget widget, Document document, /* other params */) {
    switch (widget) {
      case PdfTextWidget(:final text):
        // return a custom text widget or the default widget (just the widget passed in!)
      case PdfImageWidget(:final image):
        // return a custom image widget or the default widget (just the widget passed in!)
      case PdfPathWidget(:final path):
       // return a custom path widget or the default widget (just the widget passed in!)
      case PdfLinkWidget(:final link):
       // return a custom link widget or the default widget (just the widget passed in!)
    }
  }
)

also the PdfPageView

Because widgets are too heavy, I'm gradually changing the inuernal architecture to canvas based routines.

So is it possible to add the metadata based on different type of the pdf object in draw call callback?

What do you mean by path?

What do you mean by path?

I ever tried to use the rust binding of pdfium called pdfium_render so i just show you the code
use pdfium_render::prelude::*;

fn main() {
  let pdf_page_obj: PdfPageObject = // ...
  match pdf_page_obj {
    PdfPageObject::Text(text) => { /* deal with text*/},
    PdfPageObject::Path(path) => {  /*deal with path*/ },
    PdfPageObject::Image(image) => { /* deal with image */ },
    PdfPageObject::Shading(_) => {  /* deal with shading */ },
    PdfPageObject::XObjectForm(_) => { /* deal with xobject form */ },
    PdfPageObject::Unsupported(_) => { /* deal with unsupported */ },
  }
}

I think there might be a way to do so in dart or flutter like what I did in rust.


[FEATURE] Support HPA settings for worker nodes

Is your feature request related to a problem? Please describe.
I wonder whether we can enable HPA feature for worker nodes. From the official docs, I could not find details about it.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
/cc @who-need-to-know
/assign @who-can-help-you

@tcodehuber, please create JIRA ticket instead of issue.

I wonder whether we can enable HPA feature for worker nodes. From the official docs, I could not find details about it.

OK, refer to https://issues.apache.org/jira/browse/CELEBORN-1451


Added J2Store as an Ecommerce Platform

J2Store is a Joomla extension.
Website: https://www.j2store.org/
Examples:
http://www.guerrilladrone.com/
https://knotpredictable.com/
https://www.lavalcosmetics.co.uk/
https://www.mipotty.com/

Thanks!


Detecting builder does not work with all built-in directives

Hi,
builder type detection for custom directives works perfect (#85), but current way of detecting builder based on directive class names is not flexible.  In future, when lighthouse introduce some new directives, we will need to specify them in this package each time.
For example, lighthouse has @count directive which is used only to count items. It can be used inside type, but as a query too.
When I use schema like:
countCoupons(filter: CouponFilter @searchBy): Int @count

there is an error:
Impossible to determine builder type for `type Query { countCoupons(filter) }`.

  at vendor/lastdragon-ru/lara-asp-graphql/src/Builder/Directives/HandlerDirective.php:220
    216▕                 'document' => $documentAST,
    217▕             ]);
    218▕             $argSource   = $this->getFieldArgumentSource($manipulator, $parentType, $parentField, $argDefinition);
    219▕
  ➜ 220▕             throw new BuilderUnknown($argSource);
    221▕         }
    222▕
    223▕         // Converted?
    224▕         /** @var Manipulator $manipulator */

But we can't change internal lighthouse class so only way now to get it work is clone directive class to project.

Thanks. I've added @count, @aggregate, @withCount and @with, and I hope they were the last missed built-in directives.
The v3 (and below) used Eloquent as default builder type. Unfortunately, it make impossible to find fields where @searchBy/@sortBy is useless :( (without the direct call of ArgumentSet::enhanceBuilder() custom directives don't work at all). The v4 return null instead and we will see error until the custom directive implement BuilderInfoProvider. Perhaps it is not the best solution, but from my point of view better to see possible errors in the schema asap.
Also, keep in mind that some Lighthouse directives may use different builder specified by arguments, eg Query builder instead of Eloquent. So the code to detect actual builder type is required always.

so only way now to get it work is clone directive class to project.

Actually not, you can add custom directive and just use it with @count:
<?php declare(strict_types = 1);

namespace App\GraphQL\Directives;

use Illuminate\Database\Eloquent\Builder;
use LastDragon_ru\LaraASP\GraphQL\Builder\BuilderInfo;
use LastDragon_ru\LaraASP\GraphQL\Builder\Contracts\BuilderInfoProvider;
use Nuwave\Lighthouse\Support\Contracts\Directive;

class EloquentDirective implements Directive, BuilderInfoProvider {
    public static function definition(): string {
        return 'directive @eloquent';
    }

    public function getBuilderInfo(): BuilderInfo|string {
        return Builder::class;
    }
}

countCoupons(filter: CouponFilter @searchBy): Int @count @eloquent