Footer-5 added

Bro done,
Now you can merge my PR, Thank you!!

I have changed the name of folder
Please merge, and is this footer ok??

Thank you

Thank you for your contribution ❤ keep contributing to open source and if you likes this repo you can always leave a 🌟
Happy coding !!!! 😃


Why are you keeping opening mew things?

          Why are you keeping opening mew things?

Originally posted by @wu-sheng in https://github.com/apache/skywalking/issues/12139#issuecomment-2068330034
please tell me ,what issue

I don't have obligation to tell you anything. Note, I am not your service provider.
This is not how oss works.


Invalid coverage report for SPM with dependencies

While running tests on my own SPM coverage report is showing some invalid info.
Not sure why it includes additional dependencies like Alamofire and it is showing coverage for... Test Files :)
+------------------------------+---------+
|          xcov Coverage Report          |
+------------------------------+---------+
| Alamofire                    | 0.00%   |
| BetterCodable                | 0.00%   |
| CryptoSwift                  | 0.00%   |
| CwlCatchException            | 0.00%   |
| CwlCatchExceptionSupport     | 0.00%   |
| CwlMachBadInstructionHandler | 0.00%   |
| CwlPreconditionTesting       | 0.00%   |
| IOSSecuritySuite             | 0.00%   |
| XYZConfig                | 37.80%  |
| XYZConfigTests           | 100.00% |
| XYZExtensions            | 2.29%   |
| XYZExtensionsTests       | 99.87%  |
| XYZModels                | 0.00%   |
| XYZModelsTests           | 100.00% |
| XYZProtocols             | 35.29%  |
| XYZProtocolsTests        | 100.00% |
| XYZTools                 | 0.00%   |
| XYZToolsTests            | 100.00% |
| XYZTranslations          | 72.73%  |
| XYZTranslationsTests     | 100.00% |
| XYZViews                 | 0.00%   |
| XYZViewsTests            | 100.00% |
| JWTDecode                    | 0.00%   |
| KeychainAccess               | 0.00%   |
| Nimble                       | 6.56%   |
| Quick                        | 54.05%  |
| QuickObjCRuntime             | 100.00% |
| SwiftyBeaver                 | 0.00%   |
| Average Coverage             | 36.02%  |
+------------------------------+---------+

Any updates on this issue?

On Xcode you are probably using "gather coverage for - all targets".
I also use that since "some targets" doesn't work sometimes.
I also use "exclude_targets" to remove the unwanted targets.
You could do something like:
    xcov(       ignore_file_path: ".xcovignore",       exclude_targets: "Alamofire,BetterCodable",       minimum_coverage_percentage: 80.0,       output_directory: "./xcov_report",       scheme: "MainAppScheme"     )


Update Orvibo platform to the switch component, add 'mac' option

Description:
This adds an optional 'mac' configuration option to the platform which
is passed to the underlying Orvibo library. The 'mac' option is required
when the switch is connected to a different subnet to the Home Assistant
host
Related issue (if applicable): Fixes #1716
Example entry for configuration.yaml (if applicable):
switch:
  platform: orvibo
  host: IP_ADDRESS
  mac: MA:CA:DD:RE:SS:00

Checklist:
If code communicates with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Looks good! :dolphin:


Can not suppress too long line with infix functions

Expected Behavior
I cannot suppress too long line with infix functions which cannot be broken in multilines
Observed Behavior
Imagine following line:
@Suppress("MaxLineLength", "MaximumLineLength")
await withPollInterval ONE_HUNDRED_MILLISECONDS atMost THIRTY_SECONDS ignoreException ConnectException::class untilAsserted {
  //...
}

when it exceeds limit of line @Suppress won't help. The very same is visible on following printscreen:

Steps to Reproduce
Write too long infix functions line and try to suppress. In my case I've used awaitility Kotlin's DSL.
Your Environment

Version of detekt used: 1.15.0

There is following workaround (extracting local variable):

Would you be able to provide a reproducer? This will help us fix this issue faster

I'm on my phone now so I can't check it but isn't this rule from ktlint? We have real problems suppressing those. I think that we just support suppressing in all the file with @file:Suppress("MaxLineLength").

isn't this rule from ktlint? We have real problems suppressing those

Yes you're right this is from KtLint.

Sorry for delay. you're correct it happens because of ktlint it can be solved as you mentioned:

Here is sample project, I've added a class to play around org.awaitility.kotlin.KotlinTest
kutils.zip
is it expected behavior? Maybe it would be enough to document it somewhere or add additional description in report? btw thanks for awesome support!

Thanks for the reproducer @wyhasany
Yes, it's the intended behavior but I understand is suboptimal. In this case we have a rule that offers this more fine grain control over suppression (MaxLineLength instead of MaximumLineLength).
I've updated the docs to make this more clear #3503


why print 0 for first time with national number

i m retriving contact book i want to check national number with adding implicitely (country code example : 61,91 ) according to country region of number checking by method isValidNumberForRegion() BUT IT gives 0 for first time .,
i want to check for each region code and nation number with adding country dial code 61,91 if true i want to add ,it to database else not so each number will have right dial code added and identity of number remain same .
if im in india i want to add number of Australian user with  national number it should ad with 61 is it posible with this method im explaining?

Hi,
I'm not sure quite what you are asking, but this code has some problems.
a) The same number will be valid in many different regions. What do you want to do when something is valid in more than one country - which will you assume?
b) You don't want to drop the country code when formatting, or you will get bogus results. This will make the number not diallable in most cases - it won't know whether to have the "0" there when dialling or not for instance.
c) Your code snippet doesn't call isValidNumberForRegion anyway?
If you are in India, and you want to add an Australian number, you can either parse the number in national format with AU as the region, or parse it with "+61" at the front. If you want to have a number that is diallable from India, you can either call formatOutOfCountryCallingNumber, or you can format the number in INTERNATIONAL format.
I'll close this as it's not an issue with the library. Please consider joining the discussion group if you'd like to discuss this further.


Fix yield bug

closes #1

Fixes crash when thread uses yield
Fix crash when thread does not use yield 😅

That's an interesting approach, but running the test scene, the tasks that don't even use yield in them run but are never marked as finished. This means that their finished signals are never emitted and callbacks passed to then/then_deferred never run.
Also, the threads seem to freeze, since I only get 8 logs about tasks starting (my worker pool is configured with 8 threads), but nothing else after.

Hmm interesting, Ok I'll take another look at it!

Thanks for finding the bug!
It should work now collect_result was always yielding, even when it didn't need to.

Hmm, it doesn't seem to be working yet. Do you get the same behavior as I do when running the sample scene?
Interesting enough, running in the editor didn't show any errors/warnings, but running the game directly without the editor gave me these warnings:

Not related, but why are you force-pushing commits into your main branch? Adding new commits is better for reviewing only the latest changes, to see the history of incremental fixes one by one.

Checking about the freeze issue now.

Ooooh, sorry, I didn't pay attention enough to this part =X

I'm using this updated test scene:
dispatch-queue-test.zip
The functions now seem to complete properly and without crashing, but there is a weird bug with the GDScriptFunctionState, I think it's internal.

As we can see from here I am actually checking that it's a valid function state, but the call to resume immediately after prints an error.

Not related, but why are you force-pushing commits into your main branch?

I got too used to Godot style contribution 😅

Hmm, I think I know what's going on with this error.
On resume_if_valid, the GDScriptFunctionState is being resumed manually right away, without actually waiting for VisualServer to emit it's "frame_post_draw" signal. The tasks finish, the object dies and the GDScriptFunctionState probably gets cleaned up.
When the signal is emitted and Godot tries to resume the GDScriptFunctionState, it is now in a state where !function is true, so hence the error message.
I think we shouldn't resume coroutines manually, I don't see a use case of yielding without waiting for a signal on tasks running in background threads.
Instead, we should probably wait until the coroutine is completed to mark the Task as finished. I've tried changing Task.execute to just yield until completed:
	func execute() -> void:
		var result = object.callv(method, args)
		if result is GDScriptFunctionState:
			result = yield(result, "completed")
		emit_signal("finished", result)
		if group:
			group.mark_task_finished(self, result)

This works almost everytime, but is giving a double free or memory corruption crash occasionally 🤔
Maybe signals don't go too well in multithreaded environments, I don't know, needs more testing.

I got too used to Godot github style :sweat_smile:

Oh, got it! I've never contributed to Godot, so I don't know how it goes. For this case, I prefer separate commits to see each change on top of the other. We can always see the diff between several commits easily as well. But feel free to work as you prefer ^^

Hmm that makes sense yea, I was trying that but I think then the execute will mark itself as a function state, and it could be possible to move to the shutdown flow on line https://github.com/tavurth/godot-dispatch-queue/blob/main/addons/dispatch_queue/dispatch_queue.gd#L274
If I push that change perhaps we should also yield the execute in the two callers?

After some testing, putting a yield to wait for completion in the places I marked above causes crashes on my machine.
yield as you suggested causes no hangup without errors 👍 Its much simpler too!

If I push that change perhaps we should also yield the execute in the two callers?

The call to Task.execute there may return a GDScriptFunctionState, yes, but the running thread doesn't have to wait for it or anything. The Task itself is referenced in the GDScriptFunctionState, which is referenced by the connection to the signal it is waiting, so they won't be destroyed right away as far as I know. When the signal is emitted, the task resumes. It won't run on the dispatch queue threads, but rather in the same thread where the signal was emitted, which is fine.

yield as you suggested causes no hangup without errors

Well, that's the thing with multithreading: it is quite unpredictable. You didn't get errors, but it might still crash.
The tests I'm doing here is in the sample scene, which has these buttons for running lots of tasks at once. I added a yield(get_tree(), "idle_frame") to the _double task and occasionally it crashes with a double free or corruption or SEGFAULT errors.
I think that the signal is being emitted at the same time that the task yields awaiting for the coroutine to complete, but in another thread. The same GDScriptFunctionState object is being editted by both threads (one is disconnecting the signal slot from yield(get_tree(), "idle_frame"), since yield connects to signals with the CONNECT_ONESHOT flag, and the other is connecting a signal slot from yield(result, "completed")), which causes the memory corruption.
So, that's a tough one. I don't know if there's any way to work around this concurrency issue without going to Godot's code and adding some synchronization code, which might not be worth it.
One thing that can be done is letting this yield there and warn people that crashes might happen.
Another one is do nothing and let people handle the GDScriptFunctionState result after Tasks' finished signal is emitted.
To be honest, I don't think using yield for signals such as "wait for an idle frame" or "wait until frame is drawn" are suitable to background threads, just use the main thread for such synchronizations. Can you tell me your use case for yielding inside tasks running in the background?

Can you tell me your use case for yielding inside tasks running in the background?

I like to run code in the editor and also in game. In the game I will likely be using a yield for a small pause between loading cycles, without having to move everything to a process buffer.
In the editor I don't use yield, as I would rather my development be really fast, with a few small delays.
In this case we have a maybe yield state, which means I should use yield-idle-frame at the start of the function for consistency.
Having the ability to spawn a thread to do the same task is really useful, because I can choose to do that when tasks are not urgent.
An example would be saving an image to the hard drive.
In game I want that to run in a thread, but when the game is exiting I want that to be as snappy as possible.
Using process sync in this case means I have to duplicate a lot of logic, more bugs, less extensible.

In the game I will likely be using a yield for a small pause between loading cycles, without having to move everything to a process buffer.
In the editor I don't use yield, as I would rather my development be really fast, with a few small delays.

So, if I understand correctly, you'd like to yield on the game, but not when running code in the editor.
In your game, are you running the task in a dispatch queue/background thread as well? If so, why make small pauses? Since it's a background thread, there's no need to worry about blocking the main thread and freezing the game.
Another thing is that if these signals are emitted in the main thread, the coroutine will continue in the main thread, so there will be an overhead of using background threads, but the task won't really run in it after the yield.
As a sidenote, for a "yield until idle frame", you can use call_deferred to dispatch the task/method in the next idle frame instead of adding a yield in the start of the method.

In game I want that to run in a thread, but when the game is exiting I want that to be as snappy as possible.
Using process sync in this case means I have to duplicate a lot of logic, more bugs, less extensible.

I don't think I follow. What would this "process sync" be exactly?

I realise you might not want to start pushing yield into this repo and I agree with that, but stability wins in my book.

Supporting yield with a simple solution like that one is nice. My only concern is that occasional crash that happens when waiting for a signal that could be emitted at the same time that the yield is happening. In my tests I also see occasionally tasks never finishing, probably also related to race conditions in the signal slots.
Said that, I still have my doubts if we should yield until the coroutines complete or just let the user deal with the GDScriptFunctionState in the tasks' finished signal.
I know, the race condition is still there and the same problems can occur, but users have more flexibility to handle GDScriptFunctionStates in this case (maybe it yields without waiting for any signal?) and we avoid losing a Task completion, which could make a DispatchQueue never send its all_tasks_finished signal.

So, if I understand correctly, you'd like to yield on the game, but not when running code in the editor.

I'd like to support as many crash-free ideas as possible without restriction on users of this lib

I don't think I follow. What would this "process sync" be exactly?

Syncing updates on heavy main_thread dependant tasks to run in _process or _physics_process

In my tests I also see occasionally tasks never finishing, probably also related to race conditions in the signal slots.

Thankfully less than in the original example posted, which was actually a crash 3/5 times for me, in the new version I have not seen a crash yet even with fairly extensive testing.

Said that, I still have my doubts if we should yield until the coroutines complete or just let the user deal with the GDScriptFunctionState in the tasks' finished signal.

Unfortunately it does not seem to mitigate the original crash bug.

and we avoid losing a Task completion, which could make a DispatchQueue never send its all_tasks_finished signal.

Unfortunately I don't see a better solution to this issue as yield in GDscript can have rather strange effects (https://github.com/godotengine/godot/issues/24311#issuecomment-1059384341)

As far as I can see we've come quite a way to reducing crashes when using threaded yield. Passing the GDScriptFunctionState back to the user creates far more crashes as can be seen in the original example 😞
At this point I don't really know how to improve further on this, I haven't had the time to step through all of the code in the repository.
If you know of a better solution it would be great, but I will be using the code above in my projects from now forward until a better more crash free solution is found. (Probably when I move to Godot 4.x)

Well, in your test project, you could have handled the GDScriptFunctionState after dispatching the tasks, for example like:
    prints("RUNNING TASK 1")
    for child in self.get_children():
        var function_state = yield(Threads.dispatch(child, "task"), "finished")
        yield(function_state, "completed")

and the results are the same as having the yield inside the task runner. This is what I mean by "let the user deal with the GDScriptFunctionState in the tasks' finished signal".
Again, in this case that the yield is right in the start of the task method and signals are all sent in the same thread, you lose the benefits of using the dispatch queue, since the continuation of the tasks will not run on the DispatchQueue's threads.

Syncing updates on heavy main_thread dependant tasks to run in _process or _physics_process

Well, if you depend on the main thread, maybe you shouldn't be using threaded dispatch queues? At least make the main thread sync with the background task, not the other way around.
If you want, you can configure your DispatchQueue with 0 threads, so that the tasks actually run in the main thread as per call_deferred, one task per idle frame.

But I agree with you that we're better off with the yield inside the task runner than without it. It makes more sense to mark a task as finished after the coroutine completes rather than when it yields.

At this point I don't really know how to improve further on this

I guess we can't zero out the crashes, due to the nature of using non thread-safe features in a multithreaded environment. And that's fine, we just have to warn the users about the risks. I'll add a note in the README about how we yield if the method returns a GDScriptFunctionState and the caveats of doing so.
Thank you very much for pointing out this problem and for contributing to fixing it, I hadn't thought of using yield inside background tasks.
If you have any more ideas about it, or need any help with dispatch queues, just give me a shout! =D

Just to note in that I'm still not seeing any crashes with this.
Working really well for rendering in subviewports:
func _render()
	self.set_update_mode(Viewport.UPDATE_ALWAYS)
	yield(VisualServer, "frame_post_draw")
	self.set_update_mode(Viewport.UPDATE_DISABLED)

	var to_return = self.get_texture().get_data()
	to_return.lock()
        return to_return

Other file
func _ready():
        Threads.dispatch(some_node, "render")

Just to note in that I'm still not seeing any crashes with this.

That's awesome!
Maybe my tests were just too trivial and there was no space for scripts to run more before SceneTree issued an idle_frame signal.


To modify the request-body attribute future-port to port in the API /v1/update-client-of-subsequent-release

In the OAS , following are the attributes in the required section of the API /v1/update-client-of-subsequent-release ,
                - application-name
                - release-number
                - protocol
                - address
                - port

But , in the property section , the attribute “port” is missing. Instead , we have an attribute future-port.
Proposal :
The “future-port” in the property section shall be changed to “port”

Changed as proposed.


How can I add Formsplot control in the toolbox?

ScottPlot Version: ScottPlot.Winforms 4.1.58
Operating System: Windows 10 (64-bit)
Application Type: Windows Forms App (.NET Framework), C#
Question: Hi, I am unable to add the "ScottPlot.FormsPlot control" in the toolbox in Visual Studio Community 2022. I tried .NET Framework 4.8, 4.72 and 4.6.2 but no success. If I choose a WPF application the control is there.

It seems I could find a solution, I uninstalled the 4.1.58 Version, installed the 4.1.50 version afterwards, build and run the project and then went to toolbox -> Choose items ... -> .NET Framework Components -> Browse -> Projectfolder -> Packages -> ScottPlot.WinForms.4.1.50 -> lib -> net48 and opened the ScottPlot.WinForms.dll. That added the FormsPlot control to my toolbox under "General".  I tried that already before with the 4.1.58 version installed and did not have that "net48" folder. The other dll-versions also did not work.

Hi @dho22, sorry for my delay in getting back to you on this one, but I'm really happy you found a solution! I also appreciate you sharing what you found here so others with a similar issue can find this solution too 🚀


Enable support for timeline tracking from native code through the dart_api_dl.h API

Dart version: latest
Platform: Mobile and Desktop platforms

Hello, I'm building a Flutter app with extensive use of C/C++ code. I want to track performance profile data through the API provided by dart_tools_api.h, so I can visualize everything in Perfetto using Flutter's performance tools.
However, it seems like these APIs were not exported and are not available in dart_api_dl.h. As of now, I cannot find the symbol to insert my profile data. Are there any plans to address this?

Thank you for your responding!

@andycall could you be more specific of which APIs you are interested in having as part of dart_dl_api.h (which is intended for flutter apps using native code)? Is it the timeline related APIs (e.g. Dart_RecordTimelineEvent)?

I want to have a similar Dart API, like Timeline.startSync and Timeline.finishSync(), in C/C++ code.
I discovered that the Flutter engine uses [Dart_RecordTimelineEvent](
https://github.com/flutter/engine/blob/92aad0d0fcee1c1f95d3fd56430051e324cf1490/runtime/dart_vm_
initializer.cc#L152)  for tracing, which might be sufficient.


Create a NuGet package per task. [DO NOT MERGE]

Changes:

Build NuGet package and push.cmd per task
push.cmd at root that we can run as a courtesy
Build only what's changed using a flag (I think we will still want the option to build from the make-options.json, especially at the end of each sprint when we want to do a courtesy push). For now we will still build everything each time. We can update the CI script to build only changed when the time is right.

The plan is to get this code in and continue testing behind the environment variable. I want to clean up all the milestone code but it seems best to do that in a future PR once the per task NuGet package code has been running for a while, just in case.
Some things that were tested:

Ensure folder and file names are correct (see notes in new .js file for examples)
Running with and without the env var
Pushing to a local NuGet server and checking file structure
Updating a Task and pushing newer version to local NuGet server
Building multiple major versions of the same task

The changes here add environment variable checks so that we either build the aggregate or the package per task, never both.
We should discuss starting to see packaging with one package per major version of each task so I can continue/finish/test the downstream servicing changes.
Examples
Download of PerTaskPackages artifact (keeping underscore Vx here until all tasks have moved to adding major version to their folder name) MISSING root push.cmd

Inside AzureCLIV1__v1 folder

Extract .nupkg file and look inside

TODO:

Update CI scripts to pass build only changed, leave it as a comment for now. For now we will build everything.

Actual PR is here.


[Graph] Fix code samples in README

Code samples for the Graph client do not work as written. This PR updates the samples with the necessary changes for them to run.

[x] Uses tenantId vs subscriptionId in Node and browser code examples
[x] Removes extraneous curly brackets from Node example
[x] Adds domain to interactiveLogin call in Node example

Thanks for getting started on this @mikesprague
Hopefully, we should be able to close #4292 with this.

The source code for the current SDK (azure-sdk-for-js) references the tenantID in the constructor for the GraphRbacManagementClient:

https://github.com/Azure/azure-sdk-for-js/blob/56bd4aae9a1120abd1b8e5eab3692bd4bd3bb5da/sdk/graphrbac/graph/src/graphRbacManagementClient.ts#L36

Also, here are the examples from the "old" SDK (azure-sdk-for-node) that also point to tenantId vs subscriptionId:

https://azure.github.io/azure-sdk-for-node/azure-graph/latest/

FWIW, I spent more time then I'd like to admit trying to get the examples (as currently listed on the README) to work using the subscription id. While that wasn't the only issue, I have gone back and compared using subscription id to tenant id and subscription id fails/errors out every time.


do not set ServiceAddress by default

I think setting the ServiceAddress field by default (if no -ip parameter is specified) to the IP address used by the docker container (e.g., <IP_ADDRESS>) which happens right now in the master branch is a bad idea since many other tools assume that this address should be used to connect to this service; e.g., consul-template. If the ServiceAddress field is empty, the node address field is used instead which behaves as you would expect in the majority of cases I think. (Note, even the default consul service doesn't specify a ServiceAddress.
ServiceAddress should only be set if it should be different from the docker host IP the container is running in. IMHO, the docker image gliderlabs/registrator:latest still does it correctly, and gliderlabs/registrator:master is wrong now...
related: #169 & #168 & #167 :-)

The image gliderlabs/registrator:latest is the "release" branch? I use docker-compose and i need the Dockerfile

It actually resolves the hostname of the container, so you must pass -hostname $HOSTNAME in your docker run command to solve the problem (provided the host has a resolvable hostname and that it's set to the proper address)

I start the web container with hostname, however, registrator seems still not know the interal address of the web, i.e, the service-address field is still empty.

We're setting ServiceAddress by default for consistency across registries. Please refer to this placeholder issue on how we're going to address this: https://github.com/gliderlabs/registrator/issues/240


How to add optimizer in tensorflow CNN

I wanna know how to add an optimizer such as Adam, or Nadam optimizer to the simple speech recognition example in this repository? Because I don't know where to or how to add it in the code such as to "model.py" file or where and how?

@chathuravithakshana ,
Please refer this link and let us know if it was helpful.Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

@chathuravithakshana ,
Any update on the issue ?Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


View details on the main programs page just opens the /programs page again in a separate tab

View details on the main programs page just opens the /programs page again in a separate tab
Slack Message
Discovered by Danielle

When I test this, rather than opening the /programs page in a separate tab, it opens "https://github.com/civiform/civiform".


Hotfix/footer

added a footer with logos including Oxford and link to privacy statement

How do we get to see the output for the hotfix. Footer is blank on my machine!

Looks good Roy. I think it's 90% of the way there.

Do we want the Rubin logo?
I will tidy the format to make it more 'responsive' .. i.e. make it look ok on all screen sizes

I would say no Rubin logo yet. One day we will replace ZTF logo with Rubin.


Fix typo

successfull -> successful

Docs Build status updates of commit 4f651b2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamicsax2012-technet/inventorymanager-methods-microsoft-dynamics-commerce-runtime-client.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-budget-plans.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-database-logs.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-cross-company-payment-settlements.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-audit-policy-violations-and-cases.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-consumption.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-adjusting-transactions-in-projects.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-automatically-creating-service-orders.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-centralized-vendor-payments.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-competencies.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-attachments.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-default-entries-for-write-off-transactions.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-creating-multiple-contact-records-for-one-contact.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-creating-alert-rules.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-bonus-depreciation.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-budget-planning-configuration-and-setup.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-changing-the-project-group.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-bom-designer-functionality.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-default-values.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-150-percent-reducing-balance-depreciation.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-cash-flow-in-project-control.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-allocation-rules.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-basic-budgeting.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-calculation-variables.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-configuring-cost-accounting.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-flexible-budgets.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-accrued-revenue.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-creating-and-using-price-groups.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-cost-accounting-budget-models.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-configurable-items.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-courses.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-campaign-target-distribution.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-bom-calculation-of-a-suggested-sales-price.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-cost-templates.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-analyzing-variances-for-a-completed-production-order.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-customer-specific-default-values.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-calculating-multiline-discount-on-purchase-order-lines.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-fixed-asset-reserves.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-batch-attributes.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-enterprise-portal-sites-and-navigation.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-fixed-assets-integration.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-automatic-adjustment-transactions.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-gift-cards-in-ax-2012-r3.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-estimates.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-budgeting-on-transactions-and-total-amounts.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-currency-conversions.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-approved-vendors.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-delivery-dates.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-commerce-data-exchange-async-server-retail-essentials.md
:warning:Warning
View
Details

dynamicsax2012-technet/about-default-offset-accounts-for-expense-transactions.md
:warning:Warning
View
Details

This comment lists only the first 50 files in the pull request.

dynamicsax2012-technet/inventorymanager-methods-microsoft-dynamics-commerce-runtime-client.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-budget-plans.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-database-logs.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-cross-company-payment-settlements.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-audit-policy-violations-and-cases.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-consumption.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-adjusting-transactions-in-projects.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-automatically-creating-service-orders.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-centralized-vendor-payments.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 277, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Fabrikam payment is settled with Fabrikam East invoice''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 357, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Invoice is posted in Fabrikam East for Fabrikam East vendor 100''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 387, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Payment is generated and posted in Fabrikam for Fabrikam vendor 3004''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 417, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Fabrikam payment is settled with Fabrikam East invoice''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 542, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Payment is generated and posted in Fabrikam for vendor 3004''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 572, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Fabrikam payment is settled with Fabrikam East invoice''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 864, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Invoice is posted to Fabrikam West for vendor 3004''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 894, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Credit note is posted to Fabrikam East for vendor 100''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 924, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Payment is posted to Fabrikam for vendor 3004''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.
Line 954, Column 1: [Suggestion-duplicate-headings] Duplicate heading: 'H2 'Fabrikam payment is settled with Fabrikam West invoice and Fabrikam East credit note''. Each heading in an article must be unique. NOTE: This Suggestion will become a Warning in late October, 2020.

dynamicsax2012-technet/about-competencies.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-attachments.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-default-entries-for-write-off-transactions.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-creating-multiple-contact-records-for-one-contact.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-creating-alert-rules.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-bonus-depreciation.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-budget-planning-configuration-and-setup.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-changing-the-project-group.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-bom-designer-functionality.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-default-values.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-150-percent-reducing-balance-depreciation.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-cash-flow-in-project-control.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-allocation-rules.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-basic-budgeting.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-calculation-variables.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-configuring-cost-accounting.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-flexible-budgets.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-accrued-revenue.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-creating-and-using-price-groups.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-cost-accounting-budget-models.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-configurable-items.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-courses.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-campaign-target-distribution.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-bom-calculation-of-a-suggested-sales-price.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-cost-templates.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-analyzing-variances-for-a-completed-production-order.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-customer-specific-default-values.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-calculating-multiline-discount-on-purchase-order-lines.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-fixed-asset-reserves.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-batch-attributes.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-enterprise-portal-sites-and-navigation.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-fixed-assets-integration.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-automatic-adjustment-transactions.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-gift-cards-in-ax-2012-r3.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-estimates.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-budgeting-on-transactions-and-total-amounts.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-currency-conversions.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-approved-vendors.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-delivery-dates.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-commerce-data-exchange-async-server-retail-essentials.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

dynamicsax2012-technet/about-default-offset-accounts-for-expense-transactions.md

Line 2, Column 1: [Warning-ms-author-missing] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Very Distorted Audio When Playing Short Files

If I play a short mp3, that seems to be if it's less than 30 seconds, it turns out VERY distorted and sounds awful. I read in another issue that it might be if the audio was mono, so I converted all audio to stereo, but that's not it. I have verified that the mp3 sounds normal if played outside the bot.
Here's the code that pertains to playing:
            event.getTextChannel().sendMessage("Playing " + video.title + " ID is " + video.id);
			File audioFile  = null;
			try {

				System.out.println("playing!");
				audioFile = new File(video.id+".mp3");
				System.out.println(audioFile.getName());
				player = new FilePlayer(audioFile);
				TimerTask playerStop = new PlayerStop(player);
				event.getGuild().getAudioManager().setSendingHandler(player);
				player.play();
				t.schedule(playerStop, (long) video.duration*1000);
				System.out.println("Scheduled player to stop in " + (long) video.duration + " seconds!");
			} catch (IOException | UnsupportedAudioFileException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

If needed I'll give a comparison of the mp3 being played and the audio that actually is played.

Can you please upload an example file for me to test with?

Yeah, here's a link to an mp3 that does it, as github won't let me upload it.
http://harambe.moe/memes/qwrfcKoAti.mp3

The file provided sounds incredibly distorted or like a baby animal crying when I play it not using JDA (i played it through Chrome).
When playing it using JDA-Player it sounds identical to how it sounds in chrome.

Does it sound like this though?
http://harambe.moe/memes/RViCst14Dq.webm

Nope. Additionally: The problem isn't that it is a short clip. The issue is that it is Mono. If you convert it to Stereo it should work just fine.
As a note, this is only an issue with JDA's prebuilt Player system (e.g: Player, FilePlayer, and URLPlayer).
These 3 classes are being removed in JDA 3.x so I would highly advise not using them.
For an alternative solution for an Audio Player, I would highly recommend JDA-Player.

Okay, I'll try that. Thank you.

Closing this as an answer has been provided. If you have further issue, feel free to reopen.


Automatic stylesheet generator

I wrote an automatic CSS generator for your gallery. It can be used to generate a stylesheet once off, or it can create one on the fly for when your gallery has a variable number of images, like mine did.
All you need to do is supply the number of images in your gallery. Here's how I used it in my project.
<link rel="stylesheet" href="gallery.prefixed.css.php?n=<?php echo count($images); ?>">

This is the first time I've ever contributed to anything, so let me know if I've done something incorrectly.
Thanks for your awesome gallery!

This is an awesome idea! +1

Hey @Miltage, thanks for contributing this — its certainly an interesting take on what can be done with gallery-css!
I do think that this is probably something that is best left out of the main repository (so as to not confuse the project), so perhaps you'd considering making your own repo for it?
Thanks again! :-)

I reckon that's a good idea. It aligns with the "Single-responsibility" principle so I'm all in


KOGITO-5525 Add protobuf marshalling related resources to native image

Assembly:

https://github.com/kiegroup/kogito-examples/pull/803
https://github.com/kiegroup/kogito-runtimes/pull/1460

The (build) Runtimes check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

Jenkins rerun apps tests

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

I guess we are going to need https://github.com/kiegroup/kogito-apps/pull/951 ...

The (build) Apps check has failed. Please check the logs.

Jenkins rerun apps tests

jenkins rerun apps tests

@radtriste @tiagodolphine all good to proceed with this one?

The (build) Examples check has failed. Please check the logs.

Jenkins rerun examples tests

The (build) Examples check has failed. Please check the logs.

Jenkins rerun examples tests

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

Jenkins rerun examples tests

Jenkins rerun optaplanner tests


1.7.5 no longer respects --allow-root

When passing in --allow-root for 1.7.5, nothing happens now.
On 1.7.5:
# bower install --allow-root

On 1.7.2:
# bower install --allow-root
? May bower anonymously report usage statistics to improve the tool over time? No
bower jquery-ui-touch-punch#*       not-cached git://github.com/functino/jquery-ui-touch-punch.git#*
....

I'm on ubuntu 14.04

I can't reproduce: https://travis-ci.org/sheerun/bower-test


volume.beta.kubernetes.io/mount-options annotation missing from official list

This is a Bug Report

Problem:
The volume mount mechanism in Kubernetes used to rely on an unregistered annotation. That annotation (volume.beta.kubernetes.io/mount-options) is already document, but isn't yet registered.
Proposed Solution:
Add volume.beta.kubernetes.io/mount-options to https://kubernetes.io/docs/reference/labels-annotations-taints/
(list it as deprecated)
Page to Update:
https://kubernetes.io/docs/reference/labels-annotations-taints/

Additional Information:
/language en
/kind bug
/priority backlog

/sig-storage
I would like to give a try.

/sig storage
/assign

/triage accepted


Remove redundant manual change history code

DON'T MERGE YET
We stopped sending these to Panopticon here:
https://github.com/alphagov/specialist-publisher/pull/485
and deleted the existing ones from the database here:
https://github.com/alphagov/panopticon/pull/252

This is now ready to be merged.


Bump llvmlite dependency to 0.40.dev0 for Numba 0.57.0dev0

As title.

Note to reviewers, suggest xref against #7718.

this will need similar changes as for #8203 -- but for 0.40 instead of 0.39

Done, added 0.40.0dev0.

Thanks @esc. Specification changes addressed in 4ecdd8c. I added an itemized description of what is needed to the checklist in 650b256.


(maint) set character encoding environment variable in the osx plist

and clean up some formatting.

:+1:

CLA signed by all contributors.


Add search command to dnf-json and use it for package searches

This pull request includes:

[X] adequate testing for the new functionality or fixed issue

[X] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

[X] PR contains automated tests for new functionality and

On my VM (4G ram, 2 cores) and a hot metadata cache the searches drop from around 10s to 2-3s which makes a noticeable difference.
This does not speed up initial loading with a cold cache of course, and does not speed up listing all packages (I am looking into that next, to see if something can be done there).


added precision and recall

Hi,
I added precision and recall to the model logging output,
Cheers,
Youcef

Thanks @banyous!


Cannot Get py to Run

Hi,
When I try to run python3 app/rpc-server.py --host <IP_ADDRESS> --port 8080  --debug I get :
File "/home/ats/BacNet_RCP/app/rpc-server.py", line 49, in
from models import BaseResponse, WritePropertyRequest
File "/home/ats/BacNet_RCP/app/models.py", line 1, in
from pydantic import BaseModel, conint, Field, ValidationError, field_validator
How do I properly install this code?

Hi. Did the
$ python -m pip install bacpypes3 ifaddr fastapi uvicorn
Work okay? On linux too right?
Make sure you run the $ app/rpc server .py file in the root directory of
the project.
Maybe state what version of py and OS you are using top. Paste in a
screenshot too if it's not working.
On Fri, Apr 26, 2024, 3:51 PM justjoe96 @.***> wrote:

Hi,
When I try to run python3 app/rpc-server.py --host <IP_ADDRESS> --port 8080
--debug I get :
File "/home/ats/BacNet_RCP/app/rpc-server.py", line 49, in
from models import BaseResponse, WritePropertyRequest
File "/home/ats/BacNet_RCP/app/models.py", line 1, in
from pydantic import BaseModel, conint, Field, ValidationError,
field_validator
How do I properly install this code?
—
Reply to this email directly, view it on GitHub
https://github.com/bbartling/bacpypes3RcpServer/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHC4BHL455CGF637JJNPQGDY7K44RAVCNFSM6AAAAABG3M6YCKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DMNBYG43TMOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

So i am on a freshly imaged rasp pi on my test bench. Hopefully these screenshots help. It appears to be working for me but what I had to do is setup a virtual environment where in the screenshot below is the red arrow where then pip install the packages.

And then running the app like this:

I can then dial into it on the rasp pi's IP address where on my LAN its .102:
http://<IP_ADDRESS>:5000/docs
Let me know if I can help you at all. I dont think the bacpypes3 stack runs on Windows. I also have some fake BACnet apps you can run too if you have some extra linux devices lying around...

Yeah, I ended up going another direction. Thanks.
Joe
On Sun, May 19, 2024, 5:44 AM Ben Bartling @.***> wrote:

Closed #1 https://github.com/bbartling/bacpypes3RcpServer/issues/1 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/bbartling/bacpypes3RcpServer/issues/1#event-12858360856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASMP5N4CGNK7E4BXTTPJ4PLZDCND7AVCNFSM6AAAAABG3M6YCKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHA2TQMZWGA4DKNQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

sounds good feel free to ask questions else there is a discord channel that
is real neat too that I am part of as well.
https://discord.gg/nCq4jJCx
Lots of good people on there for BACnet questions... if you join there is
an "intro" section where people just state there background and work
experience, etc...
On Sun, May 19, 2024 at 9:40 AM justjoe96 @.***> wrote:

Yeah, I ended up going another direction. Thanks.
Joe
On Sun, May 19, 2024, 5:44 AM Ben Bartling @.***> wrote:

Closed #1 https://github.com/bbartling/bacpypes3RcpServer/issues/1 as
completed.
—
Reply to this email directly, view it on GitHub
<
https://github.com/bbartling/bacpypes3RcpServer/issues/1#event-12858360856>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ASMP5N4CGNK7E4BXTTPJ4PLZDCND7AVCNFSM6AAAAABG3M6YCKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSHA2TQMZWGA4DKNQ>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/bbartling/bacpypes3RcpServer/issues/1#issuecomment-2119260246,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHC4BHKNTFBZJRL42QZ4VJ3ZDC2UDAVCNFSM6AAAAABG3M6YCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGI3DAMRUGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


cursorless.toggleDecorations doesn't persist on restart

Although Cursorless: Show on start exists it seems like cursorless.toggleDecorations should perhaps override this setting. If the user wants to manually toggle them, it can likely be assumed this setting should persist until it is manually disabled, whereupon the show on start setting will then take priority.

I'm not sure I see the benefit of persisting this. Why not just rely on the setting?


Fix unnecessary mutable access to pixel buffer image

Hi! Fix for #11.
Getting mutable access to the image may be unnecessary, since the following if statement can evaluate to false (and we end up not modifying image).
https://github.com/Zheoni/bevy_pixel_buffer/blob/44a6d921ee09734e80ce6dfc552f07f973f8c7f9/src/pixel_buffer.rs#L328-L329
But getting mutable access to the image will send the AssetEvent::Modified event anyway, so the compute shader will invalidate the image for the current frame and prepare it only for drawing in the next frame, but in the next frame everything will repeat again.
https://github.com/Zheoni/bevy_pixel_buffer/blob/44a6d921ee09734e80ce6dfc552f07f973f8c7f9/src/compute_shader.rs#L267-L286

Thank you!


LASB-3216 Revert renaming of existing routes as it causes an AWS CodePipeline error

Revert renaming of existing routes as it causes an AWS CodePipeline Deployment failure:

Resource handler returned message: Route with key ANY /link/validate already exists for this API (Service: AmazonApiGatewayV2; Status Code: 409)

Link to story
Previous PR: https://github.com/ministryofjustice/laa-maat-court-data-api/pull/951
See below screenshots for details:

Checklist
Before you ask people to review this PR:

[x] Tests should be passing: ./gradlew test
[x] Github should not be reporting conflicts; you should have recently run git rebase main.
[x] Avoid mixing whitespace changes with code changes in the same commit. These make diffs harder to read and conflicts more likely.
[x] You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

I just hope the new changeset doesn't think you're still trying to create a new route of the same name 😂


Develop functionality to capture and store user live location data in the database, along with configuring the necessary API settings.

Objective: Develop functionality to capture and store user live location data in the database, along with configuring the necessary API settings.

[Database Implementation:
Create or update a database table to store user live location data.]

[API Configuration:
POST API: Implement an API endpoint to capture and save the user's live location data to the database.
GET API: Set up an endpoint to retrieve the stored live location data from the database. ]

[Deliverables:
Functional database schema for live location data.
Working POST and GET API endpoints.
Basic testing to validate data capture and retrieval. ]


Session removes after Auth::onceUsingId()

Laravel Version: 5.4.33

Description:
class ProfileController extends Controller
{
    public function impersonate(User $user)
    {
        \Session::put('impersonate', $user->id);

        return redirect()->home();
    }
}

//middleware
class Impersonate
{
    public function handle($request, Closure $next)
    {
        if (\Session::has('impersonate')) {
            \Auth::onceUsingId(\Session::get('impersonate'));
        }

        return $next($request);
    }
}

Now, if go to url profile/impersonate i will redirect to home with login by another user, epic good!
But if i press F5, i will redirect to login form...

You are combining a technique of checking the sessions with a login method that doesn't require a session. I don't see this as a bug. Would recommend asking in the forums or slack channel.

If i just use anywhere \Session::put('anykey', 'anyvalue');, after F5 i just logout and redirect to login page...
Probably, my session mechanism is broken 😕

I don't think there is strange behaviour here...
Do you use \Illuminate\Session\Middleware\AuthenticateSession ?
PS
I use https://github.com/404labfr/laravel-impersonate and it it fine

That's expected, onceUsingId logs you in in the current request only.

@themsaid Yes, but why destroying general auth session?

@themsaid In my case, session key impersonate destroying...

It doesn't even touch the session, something else must have flushed your session.

That's it! I do nothing for remove my session key impersonate...

@themsaid All ok after first page load http://joxi.ru/gmveypzUxBn40r
After middleware hits:
    public function handle($request, \Closure $next)
    {
        if (\Session::has('impersonate')) {
            \Auth::onceUsingId(\Session::get('impersonate'));
        }

        return $next($request);
    }

But after F5. again login form http://joxi.ru/Vm6b8Zlcx0bM8m

I know this is a super old issue but for anyone finding this through a Google search (like I did). This behaviour is most likely caused by having the \Illuminate\Session\Middleware\AuthenticateSession::class, line in the app/Http/Kernel.php uncommented. If this middleware is enabled it executes a check if the password_hash in the session matches the password hash of the current user, if not it will logout and destroy the session.


Add 279 Perfect Squares

@xliu45 Please review

Looks good. Method 1 is smart. DP is more general!


Behavior of %run command unclear when running "Debug" pipelines that call notebooks

Hi,
This documentation is unclear. When running notebooks in interactive spark sessions, everything works like outlined. However, when running unpublished versions of notebooks from pipelines that have %run commands in them, no matter the setting of "reference unpublished notebooks", always the published version of the underlying notebooks get executed.
Reproduce:

Create a branch in synapse
Make a notebook Nb1 that has a %run Nb2 command in it
Run Nb1 from a pipeline
Debug the pipeline
The unpublished Nb1 will be called, but the Nb2 will not be found

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: e188fe7f-8cc8-2f0a-2ff5-c0eca25bcdce
Version Independent ID: a8ec994c-1eaa-6c98-6916-bcf4ef401757
Content: How to use Synapse notebooks - Azure Synapse Analytics
Content Source: articles/synapse-analytics/spark/apache-spark-development-using-notebooks.md
Service: synapse-analytics
Sub-service: spark
GitHub Login: @ruixinxu
Microsoft Alias: ruxu

@WimSchmitz
Thanks for your feedback! We will investigate and update as appropriate.

@JeneZhang  who is the PM for notebook

Hi, @WimSchmitz unfortunately reference unpublished notebook is not supported in debug mode, thanks for your feedback!

This (undocumented?) behavior is super annoying and makes debugging notebooks using references a nightmare.
pipeline -> notebook A -> %run notebook B
A is the one on the current branch ("local") which calls B using the %run command. But for B it uses the one on branch "publish". This makes no sense to me at all.
Is there a workaround?

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close

This lack of functionality is very detrimental to development. Especially when the published version of the notebook is an older version. What is the suggested solution where if you need to test a solution without publishing a workbook it as publishing it will interfere with other development that is ongoing.

This (undocumented?) behavior is super annoying and makes debugging notebooks using references a nightmare.
pipeline -> notebook A -> %run notebook B
A is the one on the current branch ("local") which calls B using the %run command. But for B it uses the one on branch "publish". This makes no sense to me at all.
Is there a workaround?

Did you work out a solution?

@WimSchmitz what did you end up doing as a work around?

Hi @Jack-FG, from what I can remember, I just reverted to publishing everything and running the published pipelines instead.
This was viable since we had two synapse env's and a manual approval gate before PRD Deployment.


Incorrect cast with compilation error in generated test for Spring method

To Reproduce
Consider the project spring-boot-2-rest-service-validation from https://github.com/in28minutes/spring-boot-examples
Generate tests for method StudentResource.createStudent
Expected behavior
Generated test can be compiled.
Actual behavior
There is a compilation error in the following line
Student actual = ((Student) studentResource.createStudent(null));

As far as this method returns ResponceEntity<Object> our selection of type Student is a little bit strange
Additional context
Possibly the problem is in the previous lines of this test:
@Test
    @DisplayName("createStudent: ")
    public void testCreateStudent() {
        org.mockito.MockedStatic mockedStatic = null;
        org.mockito.MockedStatic mockedStatic1 = null;
        try {
            mockedStatic = mockStatic(ServletUriComponentsBuilder.class);
            ServletUriComponentsBuilder servletUriComponentsBuilderMock = mock(ServletUriComponentsBuilder.class);
            UriComponentsBuilder uriComponentsBuilderMock = mock(UriComponentsBuilder.class);
            UriComponents uriComponentsMock = mock(UriComponents.class);
            (when(uriComponentsMock.toUri())).thenReturn(((URI) null));
            (when(uriComponentsBuilderMock.buildAndExpand(any(Object[].class)))).thenReturn(uriComponentsMock);
            (when(servletUriComponentsBuilderMock.path(any(String.class)))).thenReturn(uriComponentsBuilderMock);
            (mockedStatic.when(ServletUriComponentsBuilder::fromCurrentRequest)).thenReturn(servletUriComponentsBuilderMock);
            mockedStatic1 = mockStatic(ResponseEntity.class);
            BodyBuilder bodyBuilderMock = mock(BodyBuilder.class);
            (when(bodyBuilderMock.build())).thenReturn(((ResponseEntity) null));
            (mockedStatic1.when(() -> ResponseEntity.created(any()))).thenReturn(bodyBuilderMock);
            (when(studentRepositoryMock.save(any()))).thenReturn(studentMock);

            Student actual = ((Student) studentResource.createStudent(null));

            assertNull(actual);
        } finally {
            mockedStatic.close();
            mockedStatic1.close();
        }
    }

Note that displayNamre is not very good, requires further investigation.

Similar behavior with a little bit easier debuggind is from project spring-boot-web-application, method SecurityConfig.filterChain

Similar behavior is for https://github.com/spring-guides/gs-async-method/complete project
AppRunner.run()
There are casts: ((CompletableFuture) appRunner)


Can't calculate certain fixed prices

Issue repeat everyday around this time interval : 2021-06-22 23:00:23.707 | 2021-06-23 00:04:17.124 (UTC in database which is 2021-06-23 01:00:23.707 | 2021-06-23 02:04:17.124 local)
Other calculations are ok ...
`

teslamateagile_1    | info: TeslaMateAgile.PriceHelper[0]
teslamateagile_1    |       Calculating cost for charges 06/22/2021 23:00:23 UTC - 06/23/2021 00:04:17 UTC
teslamateagile_1    | fail: TeslaMateAgile.PriceHelper[0]
teslamateagile_1    |       Failed to calculate charging cost / energy for charging process 1032
teslamateagile_1    |       System.Exception: Charge calculation failed, pricing calculated for 0 / 158, likely missing price data
teslamateagile_1    |          at TeslaMateAgile.PriceHelper.CalculateChargeCost(IEnumerable`1 charges) in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 106
teslamateagile_1    |          at TeslaMateAgile.PriceHelper.Update() in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 54
`

I have thoses prices defined :
`

FixedPrice__TimeZone=Europe/Madrid
FixedPrice__Prices__0=00:00-08:00=0.15
FixedPrice__Prices__1=08:00-10:00=0.2
FixedPrice__Prices__2=10:00-14:00=0.3
FixedPrice__Prices__3=14:00-18:00=0.2
FixedPrice__Prices__4=18:00-22:00=0.3
FixedPrice__Prices__5=22:00-24:00=0.2
`

Hey @think-free, does it work if you change the 24:00 to 00:00 on that last one?
See the guide on the readme on how to regenerate charge costs if you're not sure.
Thank you for providing the output logs, very helpful!

Hi, thanks for the quick response.
No, same error ... Current charge cost for theses rows (23:00 UTC, 01:00 local) is NULL, others are calculated successfully
(manually setted all the costs for the current month to NULL for testing previously)

Interesting ...
  - FixedPrice__TimeZone=UTC
  - FixedPrice__Prices__0=22:00-06:00=0.15
  - FixedPrice__Prices__1=06:00-08:00=0.2
  - FixedPrice__Prices__2=08:00-12:00=0.3
  - FixedPrice__Prices__3=12:00-16:00=0.2
  - FixedPrice__Prices__4=16:00-20:00=0.3
  - FixedPrice__Prices__5=20:00-22:00=0.2

-> Works fine
Problem with day change ? 23:00 UTC is the day before 01:00 local

Interesting indeed! Looks like it could be an issue around timezones (argh!!)
Would you mind exporting one of the failed charges as a CSV so I can replicate the issue locally?
I'll need the data from the charges table for a particular charging_process_id.
This data contains no sensitive information like location but I recommend checking it yourself before sending over to verify.
Feel free to email me directly if you do not want to share it publically, you can find my email address on my GitHub profile.

Sent by mail

Thank you but I need the data from the charges table not the charging_processes table (although that also does help!)

Here you are :)
Le mer. 23 juin 2021 à 12:30, Matt Jeanes @.***> a
écrit :

Thank you but I need the data from the charges table not the
charging_processes table (although that also does help!)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MattJeanes/TeslaMateAgile/issues/20#issuecomment-866722720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOZIT36VM34SDSUXJMEZSTTUGZU5ANCNFSM47FIOWOA
.

--
Christophe Meurice
Integrations Engineer
@.***
www.iomob.net

Installed yesterday.
And I have the same problem, but I'm Europe/London.
      Updating prices
info: TeslaMateAgile.PriceHelper[0]
      Calculating cost for charges 06/23/2021 23:30:08 UTC - 06/23/2021 23:39:27 UTC
fail: TeslaMateAgile.PriceHelper[0]
      Failed to calculate charging cost / energy for charging process 4
      System.Exception: Charge calculation failed, pricing calculated for 0 / 28, likely missing price data
         at TeslaMateAgile.PriceHelper.CalculateChargeCost(IEnumerable`1 charges) in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 106
         at TeslaMateAgile.PriceHelper.Update() in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 54
info: TeslaMateAgile.PriceService[0]
      Waiting 300 seconds until next update

  teslamateagile:
    image: mattjeanes/teslamateagile:latest
    restart: always
    environment:
      - DATABASE_USER=teslamate
      - DATABASE_PASS=secret
      - DATABASE_NAME=teslamate
      - DATABASE_HOST=database
      - TeslaMate__UpdateIntervalSeconds=300
      - TeslaMate__GeofenceId=2
      - TeslaMate__EnergyProvider=Octopus
      - Octopus__RegionCode=B # Octopus Energy only
      - TeslaMate__EnergyProvider=FixedPrice
      - FixedPrice__TimeZone=Europe/London
      - FixedPrice__Prices__0=04:30-00:30=13.8
      - FixedPrice__Prices__1=00:30-04:30=4.5

Not sure how to generate a CSV for the table, but this should be what you need.
charges-dump.txt

Many thanks for the data! I'll look into this and let you know.

Also having the same issue here, Europe/London as well.

As it turns out I'm actually experiencing this issue myself now as I've recently switched off Agile (those prices!) to Go. I will look into this as soon as I can, it's been a busy couple of weeks sorry!
The good news is that as soon as the fix is deployed TeslaMateAgile will be able to pick up and calculate the costs which are failing currently without any user intervention (apart from updating TeslaMateAgile of course!)

Same issue here -- just switched from Agile to Go.
`- TeslaMate__EnergyProvider=FixedPrice

FixedPrice__TimeZone=Europe/London # IANA (tz database) time zone code, used for below times
FixedPrice__Prices__0=00:30-20:30=15.9
FixedPrice__Prices__1=20:30-00:30=5`

@MattJeanes a couple of questions:

Can you confirm that FixedPrice__Prices__0 are in pence and not in Pounds (i.e. should be 5 and not 0.05)? It would be worth updating the readme to explain either way.
How can I tell that all my charges were being correctly priced by teslamateagile while I was on Agile? I realised my GeoFence had £0.05 set, and I'm now wondering whether that stopped teslamateagile from ever actually working? i.e. does the GeoFence price have to be blank for teslamateagile to work? If so, if I null out all my charges and re-configure teslamateagile for Agile, will it be able to go back to whenever I started on Agile (a year ago?) and re-populate all the charges? Does Octopus publish the entire rate history?

Sorry for all the questions!

@jrothlis it is indeed in pennies, I will clarify documentation to show this soon
I'm not sure if having a geofence cost set would work with TeslaMateAgile as it waits for TeslaMate to mark it as completed at which point it would likely have already set a cost which would cause TeslaMateAgile to ignore the charge.
Octopus' API does indeed work historically as far back as it began I believe so if you set the various charges cost to null and set TeslaMateAgile back to agile settings it should work fine to recalculate them 🙂

I stand corrected, it is actually in pounds (or your currencies normal unit aka euros / dollars etc), oops! I will definitely correct documentation to clarify this (£15/kWh anyone?!) I will leave it as it is in the code to avoid breaking changes, you can tell I didn't use FixedPrice myself!
I've managed to find some time tonight to investigate and it turns out there were 2 separate bugs, both timezone related (of course) which didn't rear their head until daylight savings time showed up. I've fixed them and added additional test coverage to cover these new scenarios, hopefully haven't broken anything in the process I've got a fair amount of tests on FixedPrice for this very reason!
I have published RC candidate v1.7.0-rc.3, can you all please update your setups to use this version and let me know if it solves your problem?
It has correctly calculated 3 charges on my own setup which were previously failing (though I need to re-calculate all of them as they're 100x more expensive than they should be 😳)
Sorry for all the disruption, hope this solves everything!

Thanks @MattJeanes I appreciate you spending the time!
Unfortunately it still seems to be not fixed on my end (my charge psql data is linked in my earlier comment). I updated the docker-compose.yml with image: mattjeanes/teslamateagile:v1.7.0-rc.2 and it pulled down a new image so I think that part worked ok, i.e. no error (I don't know how to check which version I am running). I updated my prices to 0.159 and 0.05 (and I also updated my logging settings as per your comments on the other issue, thanks!), and still get an error:
root@teslamate [ /var/lib/teslamate ]# docker-compose logs teslamateagile
Attaching to teslamate_teslamateagile_1
teslamateagile_1  | 2021-07-04 12:57:38.676 info: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Price service is starting
teslamateagile_1  | 2021-07-04 12:57:38.680 info: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Using energy provider FixedPrice
teslamateagile_1  | 2021-07-04 12:57:38.681 info: Microsoft.Hosting.Lifetime[0]
teslamateagile_1  |       Application started. Press Ctrl+C to shut down.
teslamateagile_1  | 2021-07-04 12:57:38.682 dbug: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Updating prices
teslamateagile_1  | 2021-07-04 12:57:38.682 info: Microsoft.Hosting.Lifetime[0]
teslamateagile_1  |       Hosting environment: Production
teslamateagile_1  | 2021-07-04 12:57:38.682 info: Microsoft.Hosting.Lifetime[0]
teslamateagile_1  |       Content root path: /app/
teslamateagile_1  | 2021-07-04 12:57:38.858 info: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Updating prices
teslamateagile_1  | 2021-07-04 12:57:40.124 info: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Calculating cost for charges 06/22/2021 19:38:30 UTC - 06/22/2021 23:34:58 UTC
teslamateagile_1  | 2021-07-04 12:57:40.257 dbug: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Calculated charge cost for 06/22/2021 19:30:00 UTC - 06/22/2021 23:30:00 UTC (unit cost: 0.05, fee per kWh: 0): 1.4428218574305555737425 for 28.85643714861111147485 energy
teslamateagile_1  | 2021-07-04 12:57:40.258 fail: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Failed to calculate charging cost / energy for charging process 238
teslamateagile_1  |       System.Exception: Charge calculation failed, pricing calculated for 619 / 630, likely missing price data
teslamateagile_1  |          at TeslaMateAgile.PriceHelper.CalculateChargeCost(IEnumerable`1 charges) in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 106
teslamateagile_1  |          at TeslaMateAgile.PriceHelper.Update() in /src/TeslaMateAgile/Helpers/PriceHelper.cs:line 54
teslamateagile_1  | 2021-07-04 12:57:40.300 dbug: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Price update complete
teslamateagile_1  | 2021-07-04 12:57:40.301 info: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Waiting 300 seconds until next update
root@teslamate [ /var/lib/teslamate ]#

I've updated to rc4, still getting the error.

@jrothlis I was going to say the fix is in RC.3 and above!
Can you please share your TeslaMateAgile logs and configuration please from RC.4? Many thanks

Here's the config. The log is as above.
  teslamateagile:
    # image: mattjeanes/teslamateagile:latest
    image: mattjeanes/teslamateagile:v1.7.0-rc.4
    restart: always
    environment:
      - DATABASE_USER=teslamate
      - DATABASE_PASS=supersecretpassword
      - DATABASE_NAME=teslamate
      - DATABASE_HOST=database
      - TeslaMate__UpdateIntervalSeconds=300
      - TeslaMate__GeofenceId=1
      - TeslaMate__Phases=1
      # - TeslaMate__EnergyProvider=Octopus
      # - Octopus__RegionCode=C # Octopus Energy only
      - TeslaMate__EnergyProvider=FixedPrice
      - FixedPrice__TimeZone=Europe/London # IANA (tz database) time zone code, used for below times
      - FixedPrice__Prices__0=00:30-20:30=0.159
      - FixedPrice__Prices__1=20:30-00:30=0.05
      - Logging__Console__FormatterName=simple
      - "Logging__Console__FormatterOptions__TimestampFormat=yyyy-MM-dd HH:mm:ss.fff "
      - Logging__LogLevel__Default=Debug

Thank you @jrothlis - as it turns out there was indeed another bug! I've now re-written the FixedPrice provider to be a lot more simpler and added your failure as a test case, can you please try  v1.7.0-rc.5?

I've nulled all my costs with v1.7.0-rc.5. That has worked, all the values are populated.
e.g.
info: TeslaMateAgile.PriceHelper[0]
Calculating cost for charges 07/03/2021 23:30:09 UTC - 07/04/2021 03:24:52 UTC
info: TeslaMateAgile.PriceHelper[0]
Calculated cost 1.28 and energy 28.44 kWh for charging process 8

Thank you @jrothlis - as it turns out there was indeed another bug! I've now re-written the FixedPrice provider to be a lot more simpler and added your failure as a test case, can you please try v1.7.0-rc.5?

Success! Thank you for sticking with us!
Attaching to teslamate_teslamateagile_1
teslamateagile_1  | 2021-07-05 13:48:41.577 info: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Price service is starting
teslamateagile_1  | 2021-07-05 13:48:41.581 info: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Using energy provider FixedPrice
teslamateagile_1  | 2021-07-05 13:48:41.582 info: Microsoft.Hosting.Lifetime[0]
teslamateagile_1  |       Application started. Press Ctrl+C to shut down.
teslamateagile_1  | 2021-07-05 13:48:41.583 dbug: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Updating prices
teslamateagile_1  | 2021-07-05 13:48:41.584 info: Microsoft.Hosting.Lifetime[0]
teslamateagile_1  |       Hosting environment: Production
teslamateagile_1  | 2021-07-05 13:48:41.584 info: Microsoft.Hosting.Lifetime[0]
teslamateagile_1  |       Content root path: /app/
teslamateagile_1  | 2021-07-05 13:48:43.033 info: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Calculating cost for charges 06/22/2021 19:38:30 UTC - 06/22/2021 23:34:58 UTC
teslamateagile_1  | 2021-07-05 13:48:43.163 dbug: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Calculated charge cost for 06/22/2021 19:30:00 UTC - 06/22/2021 23:30:00 UTC (unit cost: 0.05, fee per kWh: 0): 1.4428218574305555737425 for 28.85643714861111147485 energy
teslamateagile_1  | 2021-07-05 13:48:43.163 dbug: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Calculated charge cost for 06/22/2021 23:30:00 UTC - 06/23/2021 19:30:00 UTC (unit cost: 0.159, fee per kWh: 0): 0.08418562567833333670272 for 0.52946934388888891008 energy
teslamateagile_1  | 2021-07-05 13:48:43.163 info: TeslaMateAgile.PriceHelper[0]
teslamateagile_1  |       Calculated cost 1.53 and energy 29.39 kWh for charging process 238
teslamateagile_1  | 2021-07-05 13:48:43.264 dbug: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Price update complete
teslamateagile_1  | 2021-07-05 13:48:43.265 info: TeslaMateAgile.PriceService[0]
teslamateagile_1  |       Waiting 300 seconds until next update

Yay! I'll wait a bit more for feedback from others or if anything pops up before releasing v1.7.0 properly but this is good news!

v1.7.0 has now been released fully so this issue will now be closed. Please raise a new issue if you see any further issues with the FixedPrice provider. Thank you!


Add template support for text placeholders

Would be good to add support so placeholders can be added for 'hours' etc text.
Might do this for version 1.6.0 so the templating can be simplified.

Please tell me, when you update enhancement ? Thanks.

I've been busy with other projects. I'm still going over implementing this feature. For version 2.0 id like to only have 1 way of doing templating rather than 2.
There might be a way of doing it with the current version. I'll knock up a example for you and add it to the demos.

I've added a new demo: https://github.com/tomgrohl/jCountdown/blob/master/demo/advanced-template.html
You will see from the settings how you can set a template. It will add in the hours numbers and text for you.

Thank @tomgrohl. But I want like this:

How I do? :)

This can't be done with either template functionality. Thats why I was going to leave it until version 2.0.
It would be a breaking change to add in this functionality. I can only suggest to use another plugin or edit the template you need.

Ok. Thank again. I was used another plugin but I love your plugin. I'll waiting for v2.

Glad you like it.
I've started version 2.0 this morning and made a lot or progress. Tests are still passing so its looking good.
I'm using your examples as a base for improving the templating. I think thats how complex it could get.

Quick update. Making good progress. Refactored a bit of code including templating. Currently still testing and rewriting the demos for version 2.0.

:+1: Great progress :)

Version 2.0.0 is now up. With updated demos, fixes and the new templating.
If you look at this demo (https://github.com/tomgrohl/jCountdown/blob/master/demo/locale.html) you can see how to do the templating you want.

Bug when install with bower.
Please remove , on "changelog.txt", in bower.json file.

This has now been fixed.


Update source1_primary_faster_rcnn_inception_v2.txt

The video file for deepstream5.0 is present in samples/streams dir

/opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4 you're pointing to is the wrong sample file. I'll update the config file for deepstream 5.1 and add a sensible file location for the video file referenced in the blog. Thanks for bringing it to our attention.


[Metal Trace] tt_eager test hang without dprint

Describe the bug
I've implemented the device mode capture for trace, which can be easily integrated into tt eager tests.
The smallest test where I could reproduce the hang is on the following, it hangs in debug/release mode but with drprint enabled the hang disappears.
commit 930d42694bcf720702226d5d8373b2c64fd7ec88 (HEAD -> tzhou/fd2-trace-eager, origin/tzhou/fd2-trace-eager)
Author: Tony Zhou<EMAIL_ADDRESS>Date:   Tue Apr 23 15:47:24 2024 +0000

    #0: tt_eager pooling test with trace, turning off DPRINT makes one of the tests fail.

    WHOLE SUITE PASSES:
    - `TT_METAL_DPRINT_CORES=all pytest "tests/tt_eager/python_api_testing/unit_testing/misc/test_average_pool.py::test_run_average_pool"`

    FAIL:
    - `pytest tests/tt_eager/python_api_testing/unit_testing/misc/test_average_pool.py::test_run_average_pool[BFLOAT16-resnet50_unpadded]"`

Let's split the effort, I found another bug at tt_eager level related to trace buffer corruption. https://github.com/tenstorrent/tt-metal/issues/7794 I'll take that one

Debugged this (found a set of DPRINTS in prefetcher that can have hang persist) and I see we hang in Prefetcher fetch_q_get_cmds() where it finds no more work after executing the Trace via ExecBuf cmd (and a few following RelayInline cmds), and it is looking like a restriction is missed.

Is the exec_buf command in its own FetchQ entry?  That’s a requirement.  If not, that would explain things…

Confirmed with @tooniz that nothing was explicitly addded for this constraint:
Needs a host side fix and beefing up gtest to hit this same bug hopefully.

I had to disable eager trace suite due to this hang.
Please manually verify that the tests pass, and uncomment the following line in .github/workflows/fast-dispatch-build-and-unit-tests.yaml once the fix is in:
          # {name: eager trace tests, cmd: pytest $TT_METAL_HOME/tests/tt_eager/python_api_testing/trace_testing/ -vvv},

Hey @tooniz (if you see this) - Been debugging this further, and just found that the DISPATCH_WAIT(count=expected_workers) cmds that are normally between programs (trace disabled) are all missing (replaced with DISPATCH_WAIT(count=0) because EnqueueProgramCommand is created with this->expected_num_workers_completed (wasn't modified for trace feature) and in bypass mode (below logic) it is not incremented, instead this->trace_ctx->num_completion_worker_cores is incremented.
What's the reason for special handling of these worker-completions?
My ~2 line fix is below to use this->trace_ctx->num_completion_worker_cores when creating EnqueueProgramCommand when in bypass mode, so that DISPATCH_WAIT() is created with same number as when trace is disabled.  There were 2 programs in trace (1st uses 1 core, 2nd uses 64 cores) and this now allows the DISPATCH_WAIT(1) to be inserted before 2nd program (1 since prior program had 1 expected worker core).  Not yet sure if this is the right fix though (feels like it), but it works.
Open to thoughts.

void HWCommandQueue::enqueue_program() {

<snip>

    // KCM - Here is the fix, set env var to engage (illustrative purposes only)
    bool use_fix = tt::parse_env("USE_FIX", false);
    auto expected_workers = use_fix && this->manager.get_bypass_mode() ? this->trace_ctx->num_completion_worker_cores : this->expected_num_workers_completed;

    auto command = EnqueueProgramCommand(this->id, this->device, program, this->manager, expected_workers);
    this->enqueue_command(command, blocking);

    if (this->manager.get_bypass_mode()) {
        this->trace_ctx->num_completion_worker_cores += program.program_transfer_info.num_active_cores;
        this->trace_ctx->owned_buffer_pool.insert(this->trace_ctx->owned_buffer_pool.end(), program.kg_buffers.begin(), program.kg_buffers.end());
        this->trace_ctx->owned_buffer_pool.insert(this->trace_ctx->owned_buffer_pool.end(), program.owned_buffer_pool.begin(), program.owned_buffer_pool.end());
    } else {
        this->expected_num_workers_completed += program.program_transfer_info.num_active_cores;
    }

Update for this ticket/tracking - found a few other things along the way, will mention later.

Merged to fd-2/main at 18232d4f9 via PR https://github.com/tenstorrent/tt-metal/pull/7978 - marking closed.

Hey @kmabeeTT you fix looks correct to me, once the program is being captuted (in bypass mode), num_completion_worker_cores from trace_ctx should be used instead, otherwise like you saw back to back programs' completions will be ignored since they get incremented on the trace_ctx num_completion_worker_cores only.

same dispatch_wait(count) values of 1, 65 embedded in the cmds in the Trace are used in 2nd call to EnqueueTrace() like they were for 1st call. I think Trace intended to deal with this...somehow... (or maybe not)... need to think about it, or if there is some existing fix hiding somewhere...

Yes, trace does handle it. That the same values (1, 65) used in the trace assumes thatthe count starts from 0 at the start of the trace, that assumption relies on a count reset mechanism: in EnqueueTrace we first issue an wait to drain the device, but we set clear flag so num_completion_worker_cores is reset to 0 on device and we do the same on host.


Send the response to users claiming roles to the relevent channels, and make ephemeral False

Send responses to role claiming commands to the relevant channels:
ncl -  to the channel where the command was used
exp - to club 51
vet and wil - to club 376
Also make ephemeral False for all so that members can see when others claim new roles, and welcome them to the new channels where relevant.

Resolved by #121


Prompt method

Hi, nice work!
Does MedSAM support segmenting anything mode if no bounding boxes are fed?
Looking forwrad to your reply!

Hi @EddieEduardo ,
No. It only supports the bounding box prompt.


this one animated gif generates a flickery thumbnail

not entirely sure why, as nothing in the logs appears out of the ordinary, but this gif consistently generates a flickery thumbnail.
the gif in question:
https://synapse.mssj.me/_matrix/media/r0/download/mssj.me/14ea4f592d0b9744256e7a13da4ec3322ceb00c4
The thumbnail that MMR generates:
https://synapse.mssj.me/_matrix/media/r0/thumbnail/mssj.me/14ea4f592d0b9744256e7a13da4ec3322ceb00c4?width=800&height=600&method=scale
i have used the purge API to delete the original media file and thumbnail, and re-uploaded multiple times, and every time the thumbnail comes back flickery.
Docker container v1.2.8 behind Traefik v2.2
Digital Ocean Spaces as storage backend

further conversation in the matrix room has led to the following findings:

the original file has transparent frames interspersed throughout
the converted thumbnail has converted these transparent frames to black frames

Travis made the following observation:

well, we copy its palette here: https://github.com/turt2live/matrix-media-repo/blob/master/thumbnailing/i/gif.go#L70
if the palette isn't recognized, it defaults to RGB
though that's after being shoved through the png thumbnailer, so there's probably a mismatch there...
that should probably be frameThumb.Palette, actually


Change NSUrl return for file Uri's to be prepended with file scheme

PR Type
What kind of change does this PR introduce?

Bugfix
Fixes a path issue for iOS media player and local files

What is the current behavior?
Local media files were unable to be found due to relative path
What is the new behavior?
Absolute file path can now be found and played
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tested code with current supported SDKs
[x] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[ ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[x] Contains NO breaking changes
[x] Updated the Release Notes
[x] Associated with an issue (GitHub or internal)

https://nventive.visualstudio.com/Umbrella/_workitems/edit/151439

If you could add a sample it would be great!