System.UnauthorizedAccessException at GlowWindow.WndProc #2790 is occured on my computer

I've got an error log from my machine:
Occurrence time:2017-02-28 10:50:00,773    Method name:App_DispatcherUnhandledException
System.UnauthorizedAccessException: E_ACCESSDENIED
at Standard.HRESULT.ThrowIfFailed(String message)
at MahApps.Metro.Controls.GlowWindow.GetRelativeMousePosition()
at MahApps.Metro.Controls.GlowWindow.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
I do not know how to reproduce the problem, and I checked the GetCursorPos implement is same as punker76 mentioned at https://github.com/MahApps/MahApps.Metro/issues/2790
Environment:
MahApps.Metro v1.3.0
Windows 10
Visual Studio 2013
.NET Framework  4.5

@zredb Please can you try the latest release 1.4.3? Thx.

@punker76  Would tell me what changed for this bug in 1.4.3?

@zredb https://github.com/MahApps/MahApps.Metro/commit/41fd0a491610fc6daf6c80fe4d5a7d97322db640

@zredb Any news for this?


feat(influxdb): add influxdb in recorder

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wangxiaohui seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


DELETE Request send content-Type application/x-www-form-urlencoded when request does not have Content-Type header

Description:
We need to void setting content-type when DELETE request does not have Content-Type header.

Same issue has been reported in 2.1.0.


How to enable AdditionalRules

Hi all,
I want to enable the additionalrule SX1309 available in Beta001 but I don't know how to do it, and I cant find any information about this.
There are some documentation about how that?
Regards.

It's mentioned in Configuration.md, linked from the project's README, which is visible on https://github.com/DotNetAnalyzers/StyleCopAnalyzers. From the top of my head:
Enabling rules, disabling rules and configuring severity for rules are all done from the Solution Explorer for all Roslyn based analyzers. Locate your project and expand References -> Analyzers -> StyleCop.Analyzers. You will see a list of all available rules, so in your case you can scroll down to SX1309 and set it's severity to Warning or Error. The configuration will be saved in a ruleset file which Visual Studio will add for you if you don't already have one in your project.
If you have more than one project in the solution, they can share ruleset files if you want to. In that case, bring up the project's Properties view and select the "Code Analysis" page. In there, you can select which ruleset file to use in your project.

Thanks a lot! I forgot to mention, i'm working in a aspnet core project (.net full framework). In that case the analysers aren't listed in the project references. Is an error in the project template (or visual studio) itself?


Switch tosetDisplayMediaHandler API.

Since Electron 22 there's a new API to specifically handle requests send by getDisplayMedia, which sounds to be more appropiate that overwritting built-in functions with multiple scripts under-the-hood. This API also fixes the issue #186 for Windows (Chromium doesn't support other platforms so fixing this is out of the scope for this issue).
This is currently at work-in-progress, the API itself seems to be quite immature to be used and there's both no fallback code for older Electron versions nor Electron has adopted it to all currently supported versions.

I'll probably re-attempt moving to it, given there's no reason to make the app backwards compatible with the older version of Electron and this API has been adopted in all currently-maintained Electron major releases.


Add httpsoft/http-message (PSR-17 factories) support

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Related tickets
-

Documentation
https://github.com/php-http/documentation/pull/309

License
MIT

What's in this PR?
Add httpsoft/http-message (PSR-17 factories) support
Checklist

[x] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
[x] Documentation pull request created (if not simply a bugfix)

the roave BC check step is broken, we unfortunately need to ignore it for now.
can you please rebase on the 1.x branch?

is this implementation linked to yii or not really?

No. httpsoft is independent organization.

can you please rebase on the 1.x branch?

Done.

btw, i noticed that you use the psr-7 integration tests. if you want you could add httpsoft to the that repository to increase visibility of httpsoft.

Done: https://github.com/php-http/psr7-integration-tests/pull/73

released in https://github.com/php-http/discovery/releases/tag/1.19.0


can I start multi instances on one machine?

Hello,
I have trained my own data set, and it works fine.  now i meet a problem, can i start multi instances(start multi yolo.py script) to process multi videos or images at the same time?   if so, i can use the GPU fully?
i start 2 yolo.py but it crashed. maybe i need copy one scripts folder to another place first.

@qqwweee can you give any advice, thanks!

solved.
        import tensorflow as tf

        # control gpu usage
        if self.gpu_usage != 1:
            config = tf.ConfigProto()
            config.gpu_options.per_process_gpu_memory_fraction = self.gpu_usage
            session = tf.Session(config=config)
            K.set_session(session )


[Feature-6151][Dependent Node UI] dependent node loaded multiple times

Purpose of the pull request
close #6151
Brief change log
add cache for getProcessByProjectCode

Codecov Report

Merging #7704 (5f68c0f) into dev (71ccb42) will increase coverage by 0.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #7704      +/-   ##
============================================
+ Coverage     41.08%   41.16%   +0.07%
- Complexity     3674     3680       +6
============================================
  Files           642      642
  Lines         26659    26659
  Branches       2992     2992
============================================
+ Hits          10953    10973      +20
+ Misses        14659    14638      -21
- Partials       1047     1048       +1

Impacted Files
Coverage Δ

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...er/master/dispatch/host/assign/RandomSelector.java
83.33% <0.00%> (+5.55%)
:arrow_up:

...rver/master/processor/queue/TaskResponseEvent.java
100.00% <0.00%> (+6.45%)
:arrow_up:

...er/master/processor/queue/TaskResponseService.java
68.18% <0.00%> (+18.18%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71ccb42...5f68c0f. Read the comment docs.


add code challenge narrative type to LayoutComponent

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

🚀 Styleguide deploy preview ready!https://6477d14e43afce08f7a23648--gamut-preview.netlify.appDeploy Logs


Consider removing apilayer products from this list

Since apiLayer choose to basically stall the development of the original public-apis list wouldn't it be reasonable to remove their exposure on all other forks?

Good catch, I'm on it.

Just wanted to point out that currencylayer.com and exchangeratesapi.io are also owned by apilayer.

They also own:
https://vatlayer.com/
https://scrapestack.com/
https://serpstack.com/
https://ipapi.com/
https://positionstack.com/

https://currencylayer.com/
https://exchangeratesapi.io/


I would like to know if it can be combined with the torch for training?

I would like to know if it can be combined with the torch for training?

I have the same question. It seems that this project primarily focuses on translating the described computation graph into code, with all the examples provided illustrating the forward inference process. For the backward, one would need to describe the corresponding backward graph's computation process on their own. This is just my understanding, so it may not be correct.

Even if you use Triton (not torch.compile), you will need to write your own backward


Pressure Calculator

Enter calculator name -
Pressure Calculator
Describe calculator functionality -
With our pressure calculator, you can estimate the pressure exerted by a force on a specific surface area.
Under which category you wish to place it -

[ ] Computer Science
[x] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[ ] Let project owner decide
[ ] Suggest a new category - (Answer here)

Kindly assign this issue to me @SarthakKeshari

Hey @Rida-Nuha,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\physics\pressureCalc
Issue completion deadline - 12th Oct 2:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


Mysql foreign key length fix

This is based on #947, but it doesn't add a new method, it automatically hashes the key name if it would be too long on mysql.
I had to add a new method to Dialect to make the foreign key name different for mysql.

That looks much better, thank you for the PR.

Thanks!!

There's a panic if dest is shorter than 24 bytes, I'll fix it soon (as well as the string length calculation, because it should count utf8 characters, not bytes).

Happy #947 is done :100: Tx @nkovacs for supporting this


[mac] add start/stop the MAC according to the state of the netif

To ensure proper and expedient shutdown of Openthread when the Interface is brought down, this change provides a mechanism to gracefully stop the MAC layer operations.  Scans are stopped by preventing any new channel change.  New Transmissions are stopped. Existing transmissions are allowed to complete. Any pending operations are cleared.

I think when mac is stopped/disabled, if a frame is received (i.e. otPlatRadioReceiveDone() is called by platform) the received frame should be ignored/dropped and MAC should not invoke the Receiver::ReceiveFrameHandler() anymore.
I suggest adding a check at the the top of HandleReceivedFrame() to VerifyOrExit(mEnabled) which will ignore any received frame when MAC is disabled/stopped.

With current implementation, when MAC is stopped/disbaled, if SendFrameRequest(Sender sender) is called (by higher layer), the SendFrameRequest() will succeed but PerformOperation will take no action and the sender's callbacks are never called.
I think we need to return an error from SendFrameRequest() when MAC is disabled.
Alternative is to accept a new sender given in SendFrameRequest(sender) but then invoke the sender's callback with some error status indicating MAC is stopped. I prefer returning an error from SendFrameRequest()

@abtink, what if the SendFrameRequest() is already pending and the MAC is stopped?  I think invoking the callback is safer to handle this case.  This applies to other pending operations which generate callbacks upon completion.

Similar situation for ActiveScan() and EnergyScan(). When MAC is disabled, if these are called, they return no error but nothing happens and the callbacks are never invoked. . I think we should return an error when disabled.

@jwhui  that was my next question :)
How does the current code handle when MAC is stopped in middle of an operation (scan/transmit data)?
and what should be done?
Current model, if we are in middle of tx of frame, MAC will continue to do retx of the frame when MAC is stopped.
I think when MAC is stopped, the current operation should gracefully stop and if there are any callbacks, they should be invoked with an error indicating that MAC was stopped.
For a new opeation, we can either return a failure when the operation is scheduled from SendFrameRequest() or ActiveScan(), EnergyScan()`, etc.. or accept the new command/operation and return failure as part of its callback.

Per our discussion, I have made the following changes;

Modify code format in PerformOperation to match Abtin's suggestion.
Handle mEnabled in HandleReceivedFrame.
Check mEnabled in calls which would generate new operations.
Check mEnabled in HandleTransmitDone, specifically to avoid re-transmits.

Other race conditions that were discussed will be handled in a separate PR.


Envtest for ManilaApi, ManilaScheduler and ManilaShare controllers

/test manila-operator-build-deploy-tempest

/test manila-operator-build-deploy-tempest
again since last run didn't get the revert merged: https://github.com/openshift/release/pull/47407

/test manila-operator-build-deploy-tempest
again, now that we deleted old entries from quay

/test manila-operator-build-deploy-tempest
again, now that https://github.com/openstack-k8s-operators/openstack-operator/pull/617 merged

/test manila-operator-build-deploy-kuttl

/test functional

/test manila-operator-build-deploy-tempest


Update Homebrew formula to support Python 3.12

Homebrew packaging script update.
az cli now supports Python 3.12, so can this Homebrew bottle build script be updated so it no longer lists Py3.11 as a requirement?
Not sure if https://github.com/Azure/azure-cli/blob/dev/scripts/release/homebrew/docker/formula_template.txt#L20 also needs to be bumped?
Related:

https://github.com/Homebrew/homebrew-core/pull/180221
https://github.com/Azure/azure-cli/issues/27673
https://github.com/Homebrew/homebrew-core/pull/192912
2.65.0 release notes → Packaging → "Support Python 3.12"

Thank you for your contribution! We will review the pull request and get back to you soon.

We'll do this in this PR: https://github.com/Azure/azure-cli/pull/29887

The latest formula no longer requires Python 3.11. Thank you 🙏


Changes nyaml2nxdl path in pyproject

Fixes #169

[ ] Change code references in py files
[ ] Remove nyaml2nxdl from this repository and only use the one from nexus_definitions

Superseeded by #189


Upgraded phpunit to allow 5.7 and 6.0

We should also test against lowest versions. If you try this with composer update --prefer-lowest, tests will fail. A possible solution is dropping support for Symfony 2.3.
Error is: PHP Fatal error:  Class 'Symfony\Bundle\FrameworkBundle\Test\KernelTestCase' not found in /SymfonyBridge/tests/Functional/SmokeTest.php on line 14

@garak I created a new issue for the drop of symfony 2.3 and lower

https://github.com/SimpleBus/SymfonyBridge/issues/51

Handled in #63


Minor optimizations and cleanup

Sean firstly thanks for the patch.
Couple of questions.
I'm concerned about the changes from concurrentmaps.
Particularly the activeBridges.
The comment states:
// this map is shared (static) so that connections to asterisk that attach
// late can
// benefit from the known bridge information of older connections
final static Map<String, BridgeState> activeBridges = new ConcurrentHashMap<>();
The member is not private so I'm not certain how you can guarantee that it won't be access by another thread?

@bsutton Good catch. I glossed over the fact that it was a static member variable (although I'm a little skeptical of the use-case). I've switched it back to a CHM and updated a CAS in BridgesActive.createBridge.
I left the Map in BridgeState as a HashMap and am doing good ol' synchronized blocks because there are a few places where we are doing a check-then-act that you wouldn't get for free with a CHM and you'd have to externally synchronize anyway.


How override onChange method

Hi!
How can I override onChange method when calendar was initialized? For instance:
I set default calendar for all calendars on my site:
$('.ui.calendar').calendar({
    type: 'date',
    firstDayOfWeek: 1,
    //more properties...
  });

And then I would like override onChange method for every calendar input:
$('#birthDate').calendar.onChange = function(date, text) { //.... }

How can I do it?
Thanks!

I just found it!
$('#birthDate').calendar.settings.onChange = function(date, text) { //.... }

Hi, this doesn't work for me


Installation docs do not say if docker supports MacOS Monterey

Problem description
From the docs:

Docker supports Docker Desktop on the most recent versions of macOS. That is, the current release of macOS and the previous two releases. As new major versions of macOS are made generally available, Docker stops supporting the oldest version and supports the newest version of macOS (in addition to the previous two releases). Docker Desktop currently supports macOS Mojave, macOS Catalina, and macOS Big Sur.

Monterey has been the newest version for over a week now making this statement contradictory.
Problem location
https://docs.docker.com/desktop/mac/install/
Suggestions for a fix
Update installation docs with information on Monterey.

Thanks for reporting; this should be fixed by https://github.com/docker/docker.github.io/pull/13816


Add a new Overload for GetPicture

This Pull Requests adds an overload to specifiy the Quality on calling the Procedure GetPicture.

Processing internally.

Got the following:
[2022-12-09 15:04:12] Failed tests:
[2022-12-09 15:04:12] Name: Camera Test:GetPictureWithQualityErrorTest
Method: GetPictureWithQualityErrorTest
Time: 0.023
Message:
The following UI handlers were not executed: CameraPageHandler
StackTrace:
Test Runner - Mgt(CodeUnit 130454).RunTests line 21 - Test Runner by Microsoft
Test Runner - Isol. Codeunit(CodeUnit 130450).OnRun(Trigger) line 4 - Test Runner by Microsoft
Test Suite Mgt.(CodeUnit 130456).RunTests line 2 - Test Runner by Microsoft
Test Suite Mgt.(CodeUnit 130456).RunSelectedTests line 35 - Test Runner by Microsoft
Test Suite Mgt.(CodeUnit 130456).RunNextTest line 20 - Test Runner by Microsoft
Command Line Test Tool(Page 130455).RunNextTest - OnAction(Trigger) line 7 - Test Runner by Microsoft

Availability update: We will publish a fix for this issue in the next update for release 21.
Build ID to track: 50843.

Availability update: We will publish a fix for this issue in the next update for release 21.
Build ID to track: .

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 50864.


Ranger Lua Error

I'm not sure what caused it but I got a lot of console spam.
[ERROR] addons/wire/lua/entities/gmod_wire_ranger.lua:249: attempt to perform arithmetic on field 'Value' (a userdata value)
  1. ShowOutput - addons/wire/lua/entities/gmod_wire_ranger.lua:249
   2. unknown - addons/wire/lua/entities/gmod_wire_ranger.lua:200

gmod_wire_ranger.lua:249
Somehow one of the Wire output fields has been set to a userdata value. That field is created just like all the others.
If you have any idea how to reproduce this, let us know - but when things like this happen the cause is usually "another addon messed with the fields in our entities".

I guess we can close this since I can't reproduce it.


[PHP 8.2] Deprecated: dynamic property ...\CurlMultiHandler::$_mh

Guzzle version(s) affected: 7.4.5
PHP version: 8.2.0beta2 (cli)
cURL version: 7.81.0
Description
Using the AWS SDK with current Guzzle 7 produces a warning:
Deprecated: Creation of dynamic property GuzzleHttp\Handler\CurlMultiHandler::$_mh is deprecated in /[PROJECT_DIR]/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php on line 103

More info: PHP RFC
How to reproduce
See attached zip file; it contains a root directory with composer files and "run.php" script.  When run under PHP 8.2, it generates a few deprecation warnings about callable syntax in the AWS SDK, then the final message from Guzzle.
guzzle-php82-deprecation.zip
Additional context
This is an Ubuntu 22.04 server VM.  The precise libcurl packages installed are as follows:
$ apt list --installed 'libcurl*'
libcurl3-gnutls/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.3 amd64 [installed,automatic]
libcurl4-gnutls-dev/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.3 amd64 [installed]
libcurl4/jammy-updates,jammy-security,now 7.81.0-1ubuntu1.3 amd64 [installed,automatic]

Thanks for getting in touch. We're aware of this issue, and have fixed it already. We'll cut a release with the fix no later than before PHP 8.2.0 stable is released. Until then, you can use the dev stability version of Guzzle to get the fix.

https://github.com/guzzle/guzzle/pull/3056

Guzzle 7.5.0 is now released, with PHP 8.2 support.


fix(v-pre): skip compiling custom component tags in v-pre blocks (fix…

… #8286)

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Turns out to be an easy fix…
Never thought the root cause could be in codegen and wasted a lot of time diving into vdom 😂.
A side effect of this fix is that every descendent component in a v-pre block would also carry a { pre: true } property.

c'mon approve and merge this fix please :smile:


Typo on page

"Clone te repo" should read "Clone the repo"

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

ID: 654d0adc-30bf-082a-3839-0254ef8dff3a
Version Independent ID: ac3da002-80d6-7918-4e4f-0d3d096a022f
Content: Moving data in Azure API for FHIR to Azure Synapse Analytics
Content Source: articles/healthcare-apis/data-transformation/move-to-synapse.md
Service: healthcare-apis
Sub-service: fhir
GitHub Login: @ginalee-dotcom
Microsoft Alias: ginle

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

@ntorvik The PR for the fix has been created and it will be merged soon. Thanks again for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


Warning when has_access_to_all_builds is specified for external group

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[ ] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[ ] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary.
[ ] I've added or updated relevant unit tests.

Motivation and Context

Asked to add warning in PR review: https://github.com/fastlane/fastlane/pull/21478#discussion_r1306900915
Description

Add warning when explicitly specifying has_access_to_all_builds when creating an external beta group/
Testing Steps

Isn't there a way to display a warning from code calling the API? If there is none I guess this PR can be closed.

I don't have any other idea how to output a warning so I'll just close the PR.

@vincentisambart inside the api code you can raise and it propagates e.g.
https://github.com/fastlane/fastlane/blob/614eadf46fe0eb56c90587f97de2043d27187086/spaceship/lib/spaceship/connect_api/testflight/testflight.rb#L13
but I guess that's an error not a warning

Yes, I was trying to do some type of warning.
But well, in that case we could indeed make it a hard error. And warnings are easy to miss.


add support for click/double events on occurrences (fixes #18)

This PR adds support for click and double-click events on occurrences (fixes #18)

@jamesdixon Fix conflicts please.


Process and Spectrum of Analytical Tools

Add a page about the process and spectrum of analytical tools for diving into data and metrics.
Reference: https://www.linkedin.com/feed/update/urn:li:activity:7185592703903019008?commentUrn=urn%3Ali%3Acomment%3A(activity%3A7185592703903019008%2C7185631020577161216)&dashCommentUrn=urn%3Ali%3Afsd_comment%3A(7185631020577161216%2Curn%3Ali%3Aactivity%3A7185592703903019008)

@mkanat moving discussion here from LinkedIn. I vaguely remember this discussion too. I wonder if it came from me DPE Summit talk last year? I was just looking back at the slides and I have a couple that say something very similar.


editor v2 support (look-and-feel)

The following issue will track the state of supporting "Editor v2" with this extension (Confluence's newer look-and-feel viewer).
History
When Atlassian started to introduce support for the ADF format and a new editor, some investigation (see #347) and work had been done to support the new document format type. While a subset of capabilities were working, there was still a lot of work to do to make this ready for most users (improving attachment support for multi-publication pushes, replicating all tests to work for ADF, sanity checking visuals, etc.). Pondering on this, it seems that it may not be worth the effort to provide full support for ADF+Editorv2 in this extension.
The reason why ADF was being looked at was it was assumed it would be a replacement for storage format in Confluence. After reading the Confluence developer community/blogs, it appears that this is not the case. My own understanding is that the storage format is here to stay. With that information, there is no specific need for this extension to produce ADF-based documents. This extension has evolved to a point where the proper use case is to both generate and publish with this extension (while other tools/etc. could try to publish generated Confluence pages from this extension, there isn't a graceful way for these tools to know where to publish documents, place attachments, etc.). Therefore, support for ADF will no longer be pursued.
While ADF will be dropped, the new major-task goal is just to focus on "editor v2". An original assumption was that ADF was tied to Editorv2 -- this was incorrect. So any future effort can start to support the new editor (along with maintaining support with the existing editor). While the effort to just support Editorv2 will be much less than attempting to also support ADF, this is nowhere near ready. This issue (at time of writing) is providing a plan on the state of things. Recent updates will be mentioned before in this comment, as well as possibly other comments added to this issue.
Precursor
It is important to note that the newer editor (last time checking this feature on Confluence) has some limited capabilities over the older editor. For example, the new editor does not support nested tables some features that both Sphinx and the older editor does. The goal for this extension will be to support both editor types. By default, the older editor will still be used by projects. A configuration will be added to allow users to switch to the new editor. Any documentation features that are known to not work in the new editor are planned to just generate a warning during build, but continue as normal.
Tasks
The following represent notables to be performed for the introduction of EditorV2 support.
(core)

[x] Provide a means to allow a user to configure which editor to target in the conf.py file.
[x] By default, always use the v1 editor.
[ ] Tweaks tests to run to target both editor types.
[x] Add into the documentation a section outlining editor choices.

(issues)

[X] Navigation/"view source" links have format issues.
[x] Parsed literals are not working (Limitation: have to convert parse literals into plain code blocks; no way to style data in a pre tag anymore).
[x] Paragraph indentations are not formatted as expected (Limitation: cannot indent paragraphs with block content inside (e.g. bullet lists)).
[x] Inlined images/attachment-files do not appear to work (Limitation: CONFCLOUD-68501).
[X] SVG image viewbox/renderings do not look nice (Limitation: CONFCLOUD-1762).
[x] Math figure IDs are not aligned with images.
[x] local-tocs appear to inject newline for each toc reference.
[x] Glossary and terms are not formatted properly.
[x] Rubric header is not formatted.
[x] Citation/footnote reference (sup) entries cause undesired line-breaks in paragraphs.
[X] ~All code blocks appears to have code lined forced on; check if this can be disabled/limited.~ (Limitation: CONFCLOUD-1179)
[x] Tables are no longer borderless in some scenarios, causing visualization issues for:

[x] bibliographic fields table
[x] horizontal list (Graceful rendering only for only up to 3-columns)
[x] option lists
[x] citations
[x] footnotes

[x] Width hints on table columns not supported? (Limitation: CONFCLOUD-67748)
[X] Autodoc formatting appears to be completely broken. (New editor very slow on large docs)

(features)

[x] When using a new editor, provide a capability to allow users to control the page's width (see #602).
[x] Adjust the basic admonition block to use purple/note macro.
[X] Adjust TODO entries to use purple/note macro.
[x] The supported code formatting styles need to be adjusted based on the selected editor.

This please, so much.

Initial support of the "fabric" (v2) editor has been added into the main development branch of this repository (see also #717). For users wishing to test out this feature ahead of a release, the bleeding edge sources can be installed.

Note that this capability is only for Confluence Cloud users.
View the development validation set to compare the differences between the editors; and in some cases, limitations when using the new editor.
With the development sources, the new editor can be enabled using the confluence_editor option.
Users may also be interested in the confluence_full_width option.
Note that the next planned release for this extension is not for sometime (between end of November to January 2023); please do not plan for a release to be on PyPI until the noted time frame.

Users who test this out and see issues or have possible improvements to the new editor work are encourage to comment on this issue. For issues or alternative styling approaches, please provide examples to help proposed changes to be considered.

v2.0 is now available on PyPI -- marking as closed.
Note: please open a new issue for any bugs or enhancements related to the v2.0 editor support.


Refactor Test Fixtures for User Schemas

Issue Title: Refactor Test Fixtures for User Schemas
Description: The test cases for user schemas lack reusable fixtures, leading to redundant code. This issue involves:
Introducing reusable pytest fixtures for common test data such as user_base_data, user_create_data, etc.
Improving test readability and maintainability.

Fixes and Changes Applied:
Refactored Test Cases:
Introduced pytest fixtures for reusable test data:
user_base_data
user_create_data
user_update_data
user_response_data
Added helper functions like create_test_password() to standardize password generation.
Improved Test Coverage:
Parameterized tests for edge cases like invalid nicknames and URLs.
Centralized common data to simplify test maintenance.

Fixes and Changes Applied:
Refactored Test Cases:
Introduced pytest fixtures for reusable test data:
user_base_data
user_create_data
user_update_data
user_response_data
Added helper functions like create_test_password() to standardize password generation.
Improved Test Coverage:
Parameterized tests for edge cases like invalid nicknames and URLs.
Centralized common data to simplify test maintenance.


[Skype]Error when running New-CsOnlineApplicationEndpoint

When i run the  script:
New-CsOnlineApplicationEndpoint
-ApplicationId "guid"
-Name "sampleapp2"
-Uri<EMAIL_ADDRESS>-Tenant "guid"
Below is the error:
Cmdlet 调用错误
+ CategoryInfo          : NotSpecified: (:) [New-CsOnlineApplicationEndpoint], CmdletInvocationException
+ FullyQualifiedErrorId : 处理 cmdlet 请求时出错,Microsoft.Rtc.Management.Hosted.PlatformService.NewPlatformServiceAppEndpointConfigCmdlet
+ PSComputerName        : admin0f.online.lync.com
{
"error":{
"code":"","message":"An error has occurred.","innererror":{
"message":"Application: '019cfa47-bc9c-4bda-8ab4-4c9096a756fe'","type":"Microsoft.Skype.EnterpriseVoice.CbdService.DataAccess.EntityNotFoundException","stacktrace":"   at Microsoft.Skype.EnterpriseVoice.Common.Contracts.CheckNonNull[T,TException](T val, String msg
)\r\n   at Microsoft.Skype.EnterpriseVoice.CbdService.DataAccess.AppEndpointOperations.d__45.MoveNext() in D:\a\_work\202\s\BVD\CBD\DataAccess\Operations\AppEndpointOperations.cs:line 1692\r\n--- End of stack trace from previous locati
on where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Skype.EnterpriseVoice.CbdService.DataAcce
ss.AppEndpointOperations.d__8.MoveNext() in D:\a\_work\202\s\BVD\CBD\DataAccess\Operations\AppEndpointOperations.cs:line 111\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.E
xceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Skype.EnterpriseVoice.CbdService.Controller.BvdEntitiesAccessor3.<AddEntity>d__5.MoveNext() in D:\\a\\_work\\202\\s\\ BVD\\CBD\\CBDService.FrontEnd\\Controller\\BvdEntitiesAccessor.cs:line 0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.Task Awaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Skype.EnterpriseVoice.Common.OData.Controller.NavEntitiesController2.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System
.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Threading.Tasks.TaskHelpersExtensions.d__3`1.MoveNext()\r\n--- End of stack tra
ce from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.
ApiControllerActionInvoker.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter
.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionD
ispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()"
}
}
}
Can someone give suggestions?
Thank everyone so much.

I also got same error.

I also got same error.

Does the error message contains "D:\a_work\202\s\BVD\CBD\DataAccess\Operations\AppEndpointOperations.cs"

Hi @odd-mithril   thanks for your feedback,  I see that this wouldn't cause a change in documentation.  @yogkumgit can you kindly help here?

@odd-mithril  Thank you very much for posting this issue. Considering the nature of the issue, it is advised that please open a service ticket in your tenant and follow with them for the resolution. If you wish to know how to open the service ticket, please follow this link:            https://docs.microsoft.com/office365/admin/contact-support-for-business-products
We will be very happy if you can share the outcome or resolution with us. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Adds PR template

Adds PR template like we have in celo-org/developer-tooling: pull_request_template.md
Github docs I used to double-check the file name is still recommended: Creating a pull request template for your repository
Currently new PRs start with a blank canvas, with this PR our descriptions will follow a more consistent template.

Ref:

https://github.com/celo-org/developer-tooling/issues/29


Revert "win,fs: retry if uv_fs_rename fails"

This reverts commit e94c184c7c4a18f3de569c97caeb83f4ff98a4b2.
Concerns were raised about the suitability of this policy and I, for
one, agree with them.
Fixes: https://github.com/libuv/libuv/issues/2098
CI: https://ci.nodejs.org/job/libuv-test-commit/1128/

Landed in 3233ccf16, thanks everyone.


[zh-cn] sync some little change

content/zh-cn/docs/concepts/architecture/leases.md
content/zh-cn/docs/concepts/scheduling-eviction/_index.md
content/zh-cn/docs/concepts/security/_index.md
content/zh-cn/docs/concepts/security/multi-tenancy.md
content/zh-cn/docs/concepts/storage/storage-limits.md
content/zh-cn/docs/concepts/storage/volume-health-monitoring.md
content/zh-cn/docs/concepts/storage/volume-snapshot-classes.md
content/zh-cn/docs/concepts/storage/volume-snapshots.md
content/zh-cn/docs/concepts/storage/volume-pvc-datasource.md

Nice job combining trivial fixes into a moderate sized PR.
/lgtm
/approve


Use zarr.open() if napari is trying to open a filename ending in .zarr

🚀 Feature
If you try to open a filename ending in .zarr then napari should use the zarr.open() method instead of its default open method.
Motivation
Juan shared a .zarr dataset with me yesterday (the AO-LLSM dataset), but gave specific instructions that I could not just drag and drop it into napari and instead I should open it with zarr.open() and then show that result in the napari viewer.
Pitch
It seems to us that if a filename ends with .zarr then napari should be smart enough to work out that it should use zarr.open() to avoid this problem.
Alternatives
We could keep the current napari behaviour, which is not ideal.
We could change the napari open() behaviour in a way that doesn't directly use zarr.open() but fixes whatever weirdness is causing napari not to be able to view the data properly. Since zarr is already a dependency (I think?), it does seem simpler just to use it instead.
Additional context
This discussion with Juan was about the AO-LLSM dataset Gokul gave to Nick.

Juan shared a .zarr dataset with me yesterday (the AO-LLSM dataset), but gave specific instructions that I could not just drag and drop it into napari and instead I should open it with zarr.open() and then show that result in the napari viewer.

@jni can you provide some more detail on this. Here is our current zarr read function
https://github.com/napari/napari/blob/102a7e8f845893c874d2b86f9371d41130100b89/napari/utils/io.py#L265-L293
It uses image = da.from_zarr(path), should that line just be image = zarr.open(path)?
Can you explain why?

Oh no, sorry I missed this. I don't think zarr.open would solve this specific issue. Several things were happening with this data,
(1) it's multiscale but doesn't have the right ome-zarr metadata for multiscale
(2) for some reason I don't understand, when dragging and dropping, it would open the slices as layers instead of opening it as a stack
(3) (this is really very specific to this data) Two of the scales have the same shape but different chunking, see #2224
Only the second problem is actually something that we can fix in napari. I thought I'd made an issues that open-as-stack should be the default but I can't find it...

Only the second problem is actually something that we can fix in napari. I thought I'd made an issues that open-as-stack should be the default but I can't find it...

Ok, if you can't find it maybe you can open a new issue. I'll close this, since the problem here appears to be specific to quirks in this particular dataset.

Great, see #2603


pyttsx.init('epseak').say doesn't work the second time

engine.say just work for the first time, however all the next call to 'speak' it just say the first letter.
I also tried not using functions but nothing changed, am i doing something wrong?
import pyttsx
import os

engine = pyttsx.init('espeak')
engine.setProperty('rate', 150)

def speak(text):
     engine.say(text)
     engine.runAndWait()

speak("executing command...")
os.system("echo test")
speak("command executed")

I seem to be having the same issue here, have you made any progress on it?

For now I just run init every time i want to speak.
def speak():       e = pyttsx.init('espeak)
e.setProperty('rate', 150)
e.say(text)
e.runAndWait()'
works for now.

No man, i'm noto working on that project anymore, if u get the problem let me now, it would be usefull
Il 01 ago 2016 13:56, Anthony-Alridge<EMAIL_ADDRESS>ha scritto:I seem to be having the same issue here, have you made any progress on it?
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or mute the thread.


Only retain successful responses in cache #14

Added ability to remove entry from SimpleCache when fetch call fails

#14

Let me know if you'd like me to write Fetch.test.js tests as well. I started to, but then the tests in Fetch.test.js and SimpleCache.test.js started to look very similar, if not basically the same. I suppose I could write a Fetch test that ensures a 2nd call is made because the first one failed and isn't in the cache.

@davin-english I see you calling await fetchMock.flush(); in the SimpleCache tests but not actually mocking.  Is this needed for a reason I'm overlooking?

@techniq, yeah if I remove the await, the .then callback in SimpleCache doesn't return in time for the test to actually do its checks

Could you await the promise results from the cache.
From
const promiseAfter = cache.get(URL);

To
const results = await cache.get(URL);

You can also using expect(...).resolves.toBe(...)) - https://facebook.github.io/jest/docs/en/expect.html#resolves

@davin-english No worries and thanks for the PR and digging in.  I just released this as 6.0.1 if you want to pull it and let me know how it goes.

@techniq thanks a lot! I'll test this out tomorrow.

@techniq Nope, I lied. I just tested out a few minutes ago. Works like a charm!


documentation

It is a great tool!! Thank you very much! where I can find documentation?

Most of the documentation for this library is in the README file. Any other information you need to gleen from the source code itself.

Yo have a little wiki  too


releasing 1.0.0

Overview
This release will be numbered as 1.0.0, but actually is re-numbering of 0.5.2, hence no technical changes are included in 1.0.0.

Depends on release of MMIF spec 1.0.0 (https://github.com/clamsproject/mmif/pull/200) .


Testing , pull request.005

TEST :
This is the second pull Request, I ran it from release branch to "master" branch...
Had some issues because I did not do a fork and just clone the remote repo to locar repo..


ChatGPT Sentiment Analysis

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : ChatGPT Sentiment Analysis
:red_circle: Aim : The aim of this project is to analyze the sentiments of the tweets made on/against ChatGPT.
:red_circle: Dataset : https://www.kaggle.com/datasets/charunisa/chatgpt-sentiment-analysis
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Email ID :
Participant ID (if applicable):
Approach for this Project :
What is your participant role? (Mention the Open Source program)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Full name : Jigyasa Karakoti
GitHub Profile Link: https://github.com/JIGYASAKARAKOTI
Email ID<EMAIL_ADDRESS>Participant ID (if applicable):
Approach for this Project: I'll be using https://www.kaggle.com/datasets/charunisa/chatgpt-sentiment-analysis/data  this dataset and first do some EDA then will go for data cleaning and preprocessing after that feature engineering
Convert the tokenized text data into numerical vectors using TF-IDF, and Word Embeddings like Word2Vec or GloVe, will split the dataset into training and testing sets. Going to Implement 3 to 4 different sentiment analysis algorithms like Naive Bayes, Support Vector Machines (SVM), Random Forest, and Deep Learning models like LSTM or GRU. If the results are satisfactory then we will compare the results by using the R-squared metric. If applicable, we will perform hyperparameter tuning on the best-performing model to optimize its performance. Will update you if I find something new in it.
What is your participant role? social winter of code 2024.

Hi @JIGYASAKARAKOTI it's a nice approach. Try to majorly focus on DL model implementations. Issue assigned to you. You can start working on it, all the best!

Thank you so much, till when i can submit the solution? @abhisheks008

Thank you so much, till when i can submit the solution? @abhisheks008

You can take your time, no issues with that.

@abhisheks008 sir do i have to make a new project on jupyter or i have to make changes on  given code in readme.

I didn't get you.
@JIGYASAKARAKOTI

i have made the entire project into a new folder. @abhisheks008

You have created your project in the local system right? First fork this repository, upload your project in the forked repo, push the code by creating a pull request.

Sir dataset is greater than 25 mb, I'm not able to upload it.
On Wed, 10 Jan, 2024, 7:26 pm Abhishek Sharma, @.***>
wrote:

You have created your project in the local system right? First fork this
repository, upload your project in the forked repo, push the code by
creating a pull request.
—
Reply to this email directly, view it on GitHub
https://github.com/abhisheks008/DL-Simplified/issues/411#issuecomment-1884897589,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZDF7E7PDA6A6YD5IAQXXN3YN2M2TAVCNFSM6AAAAABBHHTFXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBUHA4TONJYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

sir , the project is in a folder in my system . how can i upload the entire folder, and if im doing it dataset is of 33MB which is greater than 25 MB So i 'm unable to upload it. @abhisheks008

If your dataset is more than the threshold, then upload the URL in a README file inside the Dataset folder. That'll do the same job.

Full name : Dipayan Majumder
GitHub Profile Link : https://github.com/dipayan22
Email ID<EMAIL_ADDRESS>Participant ID (if applicable):
Approach for this Project : Clearly outline project goals and specify the type of text data for analysis . Assemble a labeled dataset and preprocess the text (cleaning, tokenization) . Select a suitable model, either rule-based or machine learning-based (e.g., Naive Bayes, SVM) or DL model like RNN . Split the dataset, train the chosen model, and fine-tune for optimal performance.
Assess the model's accuracy, precision, recall, and F1-score on a testing dataset.
Integrate the trained model into the application or system.
What is your participant role? (Mention the Open Source program) SWOC 2014

Full name : Dipayan Majumder GitHub Profile Link : https://github.com/dipayan22 Email ID<EMAIL_ADDRESS>Participant ID (if applicable): Approach for this Project : Clearly outline project goals and specify the type of text data for analysis . Assemble a labeled dataset and preprocess the text (cleaning, tokenization) . Select a suitable model, either rule-based or machine learning-based (e.g., Naive Bayes, SVM) or DL model like RNN . Split the dataset, train the chosen model, and fine-tune for optimal performance. Assess the model's accuracy, precision, recall, and F1-score on a testing dataset. Integrate the trained model into the application or system.
What is your participant role? (Mention the Open Source program) SWOC 2014

This issue is already assigned to a participant.


Feature: parallel transaction execution

Create a crate called sputnikvm-parallel that takes multiple transactions as input, and execute them in parallel which result should be the same as executing them in sequence as specified.

Fixed in https://github.com/ethereumproject/sputnikvm/blob/master/stateful/examples/parallel.rs


Add words (readme and license)

get on my level

This is an amazing work for README. :+1: :haircut:  :hamster:


Metadata for render settings

Configurations could have metadata describing the different options, just like we already do for Entities.
Could be useful in DCC integration plugins, automatic documentation tools, ...

Absolutely!


SparkSQL saves Timestamp/DateType's as Longs

The DataFrameValueWriter contains the following:
case TimestampType => generator.writeNumber(value.asInstanceOf[Timestamp].getTime())
case DateType      => generator.writeNumber(value.asInstanceOf[Date].getTime())

While the TimestampType is documented as being persisted as a long, the DateType is documented as being serialized and persisted as a Date string.

Hello @jbaiera ,
I also notice this problem when I read the doc and this error appear 2 times, in Table9 and Table10 (https://www.elastic.co/guide/en/elasticsearch/hadoop/master/spark.html#spark-sql-type-conversion)
And my question is why we convert Timestamp/Date to long? Should we keep the same behaviors in both JdkValueWriter and  DataFrameValueWriter ?
Or maybe inside of converting Timestamp/Date to long or string,  it would be better to offer an option in configuration to let users make the choice?
Regards,
Fangrou

I ran into the same problem today. Regardless if it a date or timestamp, the spark connector writes to ES as a number. Is there any way around this to write fields as date?

Same here. Any workaround known?

Hi @radhikagfg
Any solution I am also facing the same issue
TimestampType (spark) is converted to long instead of Date format in elastic search
Any workarounds kindly suggest

Hi @raghavchalapathy
I work with ES 6+ version. If your date_detection is enabled (default), you can use default value for dynamic_date_formats, it's "yyyy/MM/dd HH:mm:ss Z||yyyy/MM/dd Z".
So I converted my timestamp column based on these patterns by using date_format function. It's like ".withColumn("timestamp", date_format(col("timestamp"), "yyyy/MM/dd HH:mm:ss"))" (https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html).
Also you can create index template with correct description for your field (https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html).
Hope it'll help

Hi @jamborta
Any solution for timestamp conversion from spark(dataframes) to easticsearch..
I face the same issue of timestamp stored in long instead of date format in elasticsearch

Thanks for the reply
When I use df2.withColumn("ES_DateTime", date_format(col("ES_DateTime"),
"YYYY/MM/DD HH:mm:ss"))
The schema within spark do not change it shows as StringDataType
However ,* if I use template the results are working as expected *
On Thu, Mar 7, 2019 at 7:10 PM sandeepgajjam<EMAIL_ADDRESS>wrote:

Hi @jamborta https://github.com/jamborta
Any solution for timestamp conversion from spark(dataframes) to
easticsearch..
I face the same issue of timestamp stored in long instead of date format
in elasticsearch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elastic/elasticsearch-hadoop/issues/1040#issuecomment-470427309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGBJTMw6DOFS5V4s7cuR-OoiALl_QiHQks5vUMmIgaJpZM4O_F-q
.

Here's a workaround described by using the ES ingest node:
https://github.com/elastic/elasticsearch-hadoop/issues/1173#issuecomment-441073648

I solved it with changing column type to String and converting date to yyyy-MM-dd'T'HH:mm:ss.SSS.Z format.
For example, if column is in epoch_seconds, conversion looks like this:
df.withColumn("A", date_format(col("A").cast(TimestampType), "yyyy-MM-dd'T'HH:mm:ss.SSSZ"))


making MotionKit.swift work for swift 2 beta - ios9/watchos2

making MotionKit.swift work for swift 2 beta - ios9/watchos2
Issue resolved: fix #9

Thanks. I'll merge it once I test it.

Probably a good time to merge, now?

Please push these merges to the head branch as soon as possible! Added all of them to my project and it builds 👍


upgraded elastic-apm-js-base [WIP]

@beniwohli I imagine this one can be closed now that @jahtalab made the #15 ?

You imagine correctly!


Update postman collection Dependent on PR #171

Description
This PR includes the following proposed change(s):
Update postman collection
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Postman
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[X] New and existing unit tests pass locally with my changes

I'll wait for the previous one to be merged ;-)


Make the openrpc.json schema adhere to the Ethereum execution API specs

Problem
The openrpc.json schema file provided in the repo is not aligned with the one generated using the official Ethereum execution API specs repo.
We noticed the differences while working on some updates about the v parameter.
See here for an example of a compiled openrpc.json schema file.
Solution

Adhere to the OpenRPC schema definition generated by the official Ethereum execution API specs repo for all those functions we already implemented in the JSON-RPC Relay
(Optional) Find a way to keep the spec in sync in case of updates

Alternatives
No response

@konstantinabl can you confirm this.
I thought we did a big effort to ensure there's alignment.


keyword_case upper

Fix #941

"CP" is a false positive, I'm on it...

"CP" is a false positive, I'm on it...

SE80/SE24 and sometimes Eclipse reorders the methods, its annoying, but this seems like a good change to have it in. There are no logical changes in this PR, so its easier to check the reordering.

SE80/SE24 and sometimes Eclipse reorders the methods, its annoying, but this seems like a good change to have it in. There are no logical changes in this PR, so its easier to check the reordering.


Use big view styles for 1 conversation

Use big view style for 1 conversation
Shows number of messages
Changed the icon to a better clear icon

Automated message from Dropbox CLA bot
@kunall17, it looks like you've already signed the Dropbox CLA. Thanks!

Good. Small, focused PRs are easy and quick to merge 🌮


panic: runtime error: invalid memory address or nil pointer dereference

I'm trying to do a very basic DSC configuration of a VM provisioned in Azure using the Azure Builder. The VM gets built fine, but falls over when running the DSC provisioner. I turned on detailed errors but it doesn't mean a lot to me.
Provisioners:
"provisioners": [         {             "type": "powershell",             "inline": [                 "winrm quickconfig -q"             ]         },         {             "type": "dsc",             "manifest_file": "basic.ps1",             "configuration_name": "HelloWorld",             "configuration_params": {                 "-filename": "testing"             }         }     ]
Error:
`2017/07/17 20:47:56 packer.exe:
2017/07/17 20:47:56 Uploading file to '/tmp/packer-dsc-pull/manifest/basic.ps1'
2017/07/17 20:47:58 packer.exe: #< CLIXML
2017/07/17 20:47:59 packer-provisioner-dsc.exe: panic: runtime error: invalid memory address or nil pointer dereference
2017/07/17 20:47:59 packer-provisioner-dsc.exe: [signal 0xc0000005 code=0x0 addr=0x0 pc=0x4621ba]
2017/07/17 20:47:59 packer-provisioner-dsc.exe:
2017/07/17 20:47:59 packer-provisioner-dsc.exe: goroutine 39 [running]:
2017/07/17 20:47:59 packer-provisioner-dsc.exe: github.com/mefellows/packer-dsc/provisioner/dsc.(*Provisioner).createDscScript(0xc08201d800, 0xae56f0, 0x14, 0xc0821a6b20, 0x13, 0x0, 0x0, 0xc0821028a0, 0xa, 0x0, ...)
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/gopath/src/github.com/mefellows/packer-dsc/provisioner/dsc/provisioner.go:323 +0x12a
2017/07/17 20:47:59 packer-provisioner-dsc.exe: github.com/mefellows/packer-dsc/provisioner/dsc.(*Provisioner).Provision(0xc08201d800, 0x14d6340, 0xc0820e8cc0, 0x14d6388, 0xc082097160, 0x0, 0x0)
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/gopath/src/github.com/mefellows/packer-dsc/provisioner/dsc/provisioner.go:281 +0x1fb0
2017/07/17 20:47:59 packer-provisioner-dsc.exe: github.com/mitchellh/packer/packer/rpc.(*ProvisionerServer).Provision(0xc0820e8720, 0x1, 0xc082168300, 0x0, 0x0)
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/gopath/src/github.com/mitchellh/packer/packer/rpc/provisioner.go:64 +0x2c0
2017/07/17 20:47:59 packer-provisioner-dsc.exe: reflect.Value.call(0x95d940, 0x9cf320, 0x13, 0xa85f98, 0x4, 0xc08202ded8, 0x3, 0x3, 0x0, 0x0, ...)
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/goroot/src/reflect/value.go:432 +0x1211
2017/07/17 20:47:59 packer-provisioner-dsc.exe: reflect.Value.Call(0x95d940, 0x9cf320, 0x13, 0xc08202ded8, 0x3, 0x3, 0x0, 0x0, 0x0)
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/goroot/src/reflect/value.go:300 +0xb8
2017/07/17 20:47:59 packer-provisioner-dsc.exe: net/rpc.(*service).call(0xc0820ea280, 0xc0820ea240, 0xc082096d90, 0xc08205a700, 0xc0821061a0, 0x8d8740, 0xc0821682f0, 0xca, 0x89bec0, 0xc082168300, ...)
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/goroot/src/net/rpc/server.go:383 +0x1c8
2017/07/17 20:47:59 packer-provisioner-dsc.exe: created by net/rpc.(*Server).ServeCodec
2017/07/17 20:47:59 packer-provisioner-dsc.exe: 	/goroot/src/net/rpc/server.go:477 +0x4b3`

Well, a nil pointer dereference is never a good thing! I can't claim that I know this works on Azure as I've never tested on it. I believe it should work as the provisioner is (at least in theory) cloud agnostic.
I'll take a peek at the code and see what we can find.

Thanks, as you say it should be pretty agnostic to being in Azure so it should work. I'm quite open the the fact it may be me doing something wrong, but I can't really make much of the error.

The code is just over a year old now (so it might be somewhat incompatible with current mainline packer), so what I'm going to do is update all of the dependencies, vendor the code and fix the NPD - this should at the very least return back the error to the UI so that we can investigate further.

Could you please check out the latest release (v.0.0.3)? At the very least, we should see what the cause of that NPD is (it is the step that uploads the DSC bootstrap script that is failing).

Ok, still erroring, but getting a much better error message this time, namely:
Error creating DSC runner: open \tmp\packer-dsc-runner135556803: The system cannot find the path specified.
The file it mentions is definitely missing, but it's not clear where it should come from.
Here's the log around the error:
2017/07/19 17:31:55 ui:     azure-arm: Uploading manifest...
2017/07/19 17:31:56 packer.exe: 2017/07/19 17:31:56 [INFO] starting remote command: powershell.exe -Command "New-Item -ItemType directory -Force -ErrorAction SilentlyContinue -Path /tmp/packer-dsc-pull/manifest"
2017/07/19 17:31:56 packer.exe: 2017/07/19 17:31:56 [INFO] command 'powershell.exe -Command "New-Item -ItemType directory -Force -ErrorAction SilentlyContinue -Path /tmp/packer-dsc-pull/manifest"' exited with code: 0
2017/07/19 17:31:56 packer.exe: 2017/07/19 17:31:56 [INFO] RPC endpoint: Communicator ended with: 0
2017/07/19 17:31:56 [INFO] 414 bytes written for 'stdout'
2017/07/19 17:31:56 [INFO] 0 bytes written for 'stderr'
2017/07/19 17:31:56 [INFO] RPC client: Communicator ended with: 0
2017/07/19 17:31:56 [INFO] RPC endpoint: Communicator ended with: 0
2017/07/19 17:31:56 ui:     azure-arm:
2 17:31:56 [INFO] 332 bytes written for 'uploadData'
2017/07/19 17:31:56 packer.exe: 2017/07/19 17:31:56 Uploading file to '/tmp/packer-dsc-pull/manifest/test.ps1'
2017/07/19 17:31:58 packer.exe: #< CLIXML
2017/07/19 17:31:59 [INFO] (telemetry) ending dsc
2017/07/19 17:31:59 [INFO] (telemetry) found error: Error creating DSC runner: open \tmp\packer-dsc-runner135556803: The system cannot find the path specified.
2017/07/19 17:31:59 ui: ==> azure-arm: Step "StepProvision" failed017/07/19 17:31:56 packer-provisioner-dsc.exe: 2017/07/19 17:31:56 [INFO] 414 bytes written for 'stdout'

Ok after some digging through the code I found the issue. The provider expects to find a /tmp folder in the root of the drive where your packer file is on (on your local machine, not the provisioned node) it is using this to create the dsc runner. If the folder doesn't exist then this error occurs. Interestingly the error you get in the log is on the next step when it can't find that file, not when it can't create it.
Might be worth using either the folder with the the packer file in, or even windows\temp to store this rather than expecting to find tmp, which most people won't have.

Nice pickup! I think using the environment variable instead of /tmp makes sense, will leave this open for enhancement.
Presumably as a workaround you can pop in a provisioner step to create the dir for now?

Oh yeah, I can workaround it for now, not a big deal.

Awesome, thanks again - will try to get this fixed over the weekend.

I was just wondering if the fix for this ever got put into the released code?

Yes, this got roled in from the PR I added in Jan


Add notes regarding closing sessions when working with streams

Our team thought the docs could be more explicit about how to handle sessions when consuming Mongo.Streams. Let me know if these updates are clear, I'm happy to make any changes or improvements if needed.

I have also updated the Readme.md file to emphasize the handling of the Mongo.Stream struct.


The ENV instruction should support a list of inputs

An user might want to set a number of environment variables in their container. Right now, the way to do this is by something like:
ENV FOO foo
ENV BAR bar
ENV BAZ baz

This involves committing each intermediate image, which extends build time. This can be avoided if ENV could take a list of inputs. Then the previous example will reduce to
ENV ["FOO foo","BAR bar","BAZ baz"]

which is one commit.

This is already supported via the ENV foo=bar bar=baz syntax, see Dockerfile reference.
Also, we're trying to avoid adding more JSON notation to the Dockerfile syntax.
Do you agree with closing this issue, because I think the = syntax will give what you're asking here?

@thaJeztah It does. Thanks for the pointer.

You're welcome; the = syntax was a recent addition, and easy to overlook. Thanks for thinking along to improve Docker; it's appreciated!


Explain why both are needed

It would be great, for someone newer to all the tools available, what the benefits of using both standard and prettier are.
From what I understand, its that standard is used to enforce code quality rules, like no unused vars, whereas prettier is just about formatting style. If that's correct, it would be useful to put that somewhere in the readme.

prettier-standard is analogue of just prettier with standard rules, but if you want to add something to the readme I'm open for PR

Ahh that explanation helps a lot and its kinda hard for me to think of what sentence would have clarified whats already there


using a bayesian estimate paired with kelly estimate

Your Kelly Criterion video inspired me to explore using a bayesian estimation of the head probability while using the Kelly strategy.
It uses the beta conjugate prior for the binomial model to do so. I've compared an uninformed and informed prior as well as strategies that no longer wait to collect data before betting since bayesian methods will be robust in that regard.
Not sure if you are accepting PRs, but was wondering if you explored this at all. I also thought the comparison plot of the different strategies at the bottom might be good addition.
Either way, thanks for the informative videos!

Hey, sorry I missed this! I wasn't expecting any PRs here.
And this is beautiful!

Very cool - it's so natural to think how Bayesians would approach this problem. Nice to see that answered. Thank you - excellent stuff here.
I'll be happy to merge, but could you break this out as a separate notebook and mention something at the top of the notebook that makes it clear it's your extension? Something like "This notebook is an extension from .. and I wanted to do XYZ". I know you made it work nicely with what I have, but in case I get questions way down the line, I want to remember what I did and what someone else did. That's also helpful for people relating the notebooks to my videos.
Thanks again!

Great. Thanks for that feedback and understood!
I will move into separate notebook and include that verbiage at the top 😄

All separated now. Just reverted the original notebook back to the main branch version.
Let me know if I missed any of your suggestions.

@wd60622 Thank you! Merged :)


Feature Request: Allow lapis.conf to be configured via Heroku's config vars

This can make the user's bots more secure if they are running off of a Heroku instance connected with GitHub (as I am doing like a complete idiot). It's briefly explained here, but a tl;dr is that you need to add vars with [in Terminal]...
$ heroku config:set REDDIT_USERNAME=<username>

...and to retrieve them with [in Python]...
login_info = [os.environ['REDDIT_USERNAME']

Idk if you want to save this for 2.0 or something, but I think that it would be a welcome addition to LapisMirror for getting everything set up easily and (more) securely.

Yeah that's actually a feature that's in the works in Lapis 2.0 (already have some of the code for that working). May have to scale back 2.0 a little bit to add these nice little features.

Yeah, I should be doing something like that by making a separate repo for Heroku to track. Maybe I'll fix that when I am free next.


can not find gltf files

Can you elaborate? There is no error description, so I won't be able to help.

solved， i did not download assets. Thank u.

solved， i did not download assets. Thank u.


ProjectImpl.findTableByName() consumes 13% of all CPU capacity

When running a large number of manager.stream(), the ProjectImpl.findTableByName() consumes 13% of all CPU capacity. There is room for optimization.

Fixed by immutables!


Play 3.x support for jwt-play

I'm trying to upgrade some of my Play Framework projects version 3.0.0. When I use the "official" Play Json version of this library (jwt-play-json) it works, but the "easier" version jwt-play currently depends on Play 2.9.0 and therefore translitively on an older version of scala-xml (1.3.1 or 1.2.0), while the new play version uses 2.2.0 and this results in a dependency conflict.
I'd suggest updating the Play version, but the new version changed the groupId from "com.typesafe.play" to "org.playframework" which might break older versions. Is there anything that can be done about that?

Should be done in v9.5.5 now

Thanks :+1:


Allow users to submit work experience entries

Context
Candidates need to be able to submit work experience.
Changes proposed in this pull request
CODE
Guidance to review
Review commit by commit is probably easier, plus I have quite a bit more lined up as follow-up.
Next PRs:

Add content for validations
Fix error highlight for start_date and end_date fields
Edit job entries
Delete job entries
Show working with children and dates
Add new job entry
Mark section as completed
Change links
Allow free text submission when no work history
Allow free text submission for gaps

Screenshots

Link to Trello card
192 - Adding work history

@chubberlisk agree, will break down the controller further down the line 👍


[Snyk] Fix for 1 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the rubygems dependencies of this project.
Snyk changed the following file(s):

base/rails/5.2.2/Gemfile

⚠ Warning
```
Failed to update the Gemfile.lock, please update manually before merging.
```

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Heap-based Buffer Overflow SNYK-RUBY-NOKOGIRI-7164639
  768

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – 4d1b6f71-88a1-499d-9237-f989ff66dd0b
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Path_Traversal
/base/oracle-java/utils/list-versions.py: [57](https://github.com/TheRedHatter/vulhub/blob/snyk-fix-6a48154c97b38c0d8b618d51d3fd075a//base/oracle-java/utils/list-versions.py# L57)
Attack Vector


Running the dummy app in an Ember addon project can't find app/styles/app.less

I'm trying to test an Ember addon project by running ember server inside an addon project. This runs the dummy app. However I am not getting my less files automatically being build with the ember-cli-less functionality (expecting  /app/styles/app.less):
Some files I have:
/addon-project
  /app
    /styles
      /less
      app.less
  /dist
  /assets
     dummy.js
     dummy.css
  /tests
    /dummy

However I am getting an error when I run ember server:
version: 0.1.15
Could not find watchman, falling back to NodeWatcher for file system events

Livereload server on port 35730
Serving on http://<IP_ADDRESS>:4201/
File not found: /app/styles/app.less
in any of the following include paths:
  /Users/me/github/ember-addons/header/tmp/tree_merger-tmp_dest_dir-qEC1hODR.tmp
Error: File not found: /app/styles/app.less

I have this issue as well in my add-on.

@QuantumInformation @aboma I'm pretty sure this is an issue with ember-cli itself.
See: https://github.com/ember-cli/ember-cli/issues/2363, https://github.com/ember-cli/ember-cli/issues/2354, https://github.com/ember-cli/ember-cli/pull/2381

This issue is solved now in EmberCLI >= 0.2.0. Install the addon and add it under the dependencies hash.
However, now I get the following error:
Cannot read property 'lessOptions' of undefined
TypeError: Cannot read property 'lessOptions' of undefined at Class.module.exports.lessOptions (C:\src\TUI\SPCIQ\Presentation\widget-framework\node_modules\ember-cli-less\index.js:42:49)
For addons, the options object appears to be null for some reason. Other addons such as the ember-cli-sass compiler read the options from the ENV variable first.

@aboma can you verify if you're using the latest version 1.3.1 and defining lessOptions in your Brocfile?

@gdub22 I am seeing this issue as well.  What is the recommended way to use ember-cli-less in an addon, along with using the dummy app?  The readme doc is quite sparse when it comes to the addon section.

Yes, I am using version 1.3.1 and defining lessOptions in the Brocfile. The problem appears to be that the app object exists but the app.options object does no, for some reason, when compiling in an addon. Perhaps there is an addon object as well?
I made a PR that fixes the issue by putting the lessOptions on the config object, but it does make more sense for it to be in the Brocfile.

@aboma @stavarotti I just investigated this and got it working.  I'll have a small patch and more detailed directions in the next couple hours.

@aboma @stavarotti I just released 1.3.2 with a fix for addon's dummy app.  I also made the directions clearer: https://github.com/gdub22/ember-cli-less#usage-in-addons

Thanks!

@gdub22 Awesome.  Works wonderfully now.


model editor crashes whenever I try to open it

https://cdn.discordapp.com/attachments/350109522024464384/1078236004365910077/crash.JPG

Please post your minecraft log


How to send refresh token next to access token after authorization?

Hey,
I am working on an implementation which requires that after the user approved a client, the client needs to receive the refresh_token as well next to the access_token. I already implemented the refresh_token on the token route, meaning that retrieving a new access_token with a given refresh_token works. However, tokne.js doesn't seem to provide an input for a refresh_token.
What I expected is that one calls done(null, accessToken, refreshToken) and both get sent. How can this be implemented?

@warhost checkout my answer to issue #222 and let me know if that is what you needed.


Add missing "publish" npm script

I'm sorry, I added the publish script to wireit's config in #27 but forgot to add it to scripts, leading to this error.

check is failing due to a change set not being added, but since we want to rerun the release workflow when this pull request is merged (which only happens if there are no change sets) I'm going to merge without adding a change set.


Ability (api or command) to paste into the terminal

I've been thinking about some possible new features in GitLens now that there is a repository visualization. Like more advanced commands, rebasing, etc. And while some of them could be just fine to run on their own, others might require more terminal interaction or something like that.
So I was thinking if there was a way to paste commands into the terminal (NOT run them), it could help some of those scenarios, and/or help people learn the command line commands of certain operations easier -- which could be valuable outside git or anything like that.

@eamodio I assume you've seen the terminal API? https://code.visualstudio.com/docs/extensionAPI/vscode-api#_a-nameterminalaspan-classcodeitem-id1032terminalspan
term.sendText('foo', false) will send the text to the terminal, as if it was typed and not follow it with a new line (ie. not run it).

@Tyriar awesome! I'll check it out -- thank you!


[SR-164][Sema] Fix assert arising from IOU is/as? a protocol type that IOU conforms to.

In coerceExistential() check to see if the wrapped type conforms to the
protocols first, instead of unconditionally unwrapping it, and unwrap
only if necessary.

The diffs here are unfortunately a little confusing because I had to move code around between coerceExistential() and its helper collectExistentialConformances() to potentially call it twice, but the effect of the change is tiny. See if the IUO fromType has conformances, and only if it fails unwrap it, and then recollect conformances for the unwrapped from type.

It feels like the constrant system already knew if its the IUO or the payload of the IUO that conformed, and that information ought to be available in the ExprRewriter somehow, instead of you having to re-derive it again... @DougGregor or @jopamer, any ideas?

@slavapestov I'm not as familiar with the code, obviously, but the knowledge is discovered in TypeChecker::isExplicitlyConvertibleTo(), which makes its own little constraint system and succeeds in constraining the known type to the existential. But at the moment all you get back from that is a true result, and then annotating the expo as cast kind Coercion.
So the ExprRewriter can't tell the difference between the IUO statically conforming, or the thing inside statically conforming, as in:
let iuoIntArray : [Int]! = [7]
print(iuoIntArray is SequenceType)

@DougGregor any thoughts here?

Can one of the admins verify this patch?


Folder name system to Config File or JSON

The folder name system sucks.
when we are literally passing so many configs each time why using the folder system. Also in the folder system we can't pass some characters which are necessary. Like in the concept.

Yeah I agree. This is my idea about the JSON config structure:
db_concepts_config = {
    "is_dreambooth": True,
    "output_models_dir": "/content/kohya-LoRA/Hitori-Gotou/output",
    "concepts": [
        {
            "enable": True, #Flexible config so that you can decide whenever to train a concept or not
            "use_reg": True,
            "train_data_dir": "/content/kohya-LoRA/Hitori-Gotou/train-images",
            "reg_data_dir": "/content/kohya-LoRA/Hitori-Gotou/train-reg-images",
            "metadata_dir": "/content/kohya-LoRA/Hitori-Gotou/metadata",
            "train_count": 5,
            "train_token": "Hitori-Gotou",
            "reg_count": 1,
            "reg_token": "1girl",
        }
    ]
}
finetune_concepts_config = {
    "is_dreambooth": False,
    "train_count": 5,
    "train_token": "Hitori-Gotou",
    "output_models_dir": "/content/kohya-LoRA/Hitori-Gotou/output",
    "concepts": [
        {
            "enable": False,
            "train_data_dir": "/content/kohya-LoRA/Hitori-Gotou/train-images",
            "metadata_dir": "/content/kohya-LoRA/Hitori-Gotou/metadata"
        }
    ]
}

+1
Related: #130
This feature will enable setting different configuration per dataset, even resolution.
However, I'm not sure whether we should preserve backward compatibility.

I'm going to implement this in near future.
The goal is to allow users to setup per-directory dataset config.


Clarify policy support for attendance report

Attendance report policy only cover the post-meeting reports, for the in-meeting reports, they are not covered by these settings, update the official docs to clarify it.

@JohanFreelancer9 , could you please help to merge this PR or share how I could apply permissions to contribute to the doc? Thanks!

@JohanFreelancer9 , could you please help to merge this PR or share how I could apply permissions to contribute to the doc? Thanks!

@bingqianshen, I only did a copy pass. Your changes will now be reviewed by the document owner or manager, and if approved, they will merge your changes into the live document. So at this time, nothing more is required from you. Many thanks!

@mkbond007
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


padding

setup padding structure so it not only gets applied but also removed when decryptiong. One idea of how to get this working is to allways add the lenght of the padding as the last byte witch then would fix the problem and make it esy to recognize and remove.

completed


Allow oauth proxy imagestream to be used by specifying the namespace/…

…name

Small comment, this looks good.
I tested in my local environment, with and without specify an image stream and it works correctly, I was able to create all-in-one and production strategies, no seeing errors on logs.

@rubenvp8510 Thanks for testing this!


Substratum support

Substratum provides all the items you use in your mod as well. Since you're using oredict all you have to do is edit your dependencies. I tested this and it worked flawlessly.

I actually removed BM dependency the day after I released the mod, it's now entirely oreDict dependent, if any oreDict entry for a given recipe is missing, it falls back to the vanilla recipe.


Fix typo

"an expected" => "and expected"

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Sync'd, thanks!


Readme: Fix model used in example

https://github.com/openai-php/laravel/pull/65 and https://github.com/openai-php/laravel/pull/56 collided a bit and incorrect model is displayed in Readme example (instruct is a completion endpoint model, not chat. OpenAI getting started docs use gpt-3.5-turbo)

Thanks @pb30


Emissions should use time weighted averages to distribute rewards

Currently emissions are done using a snapshot model that doesn't take into account the prior holdings of addresses.  We need to update this model to include time weighted average from the prior tree distribution event to appropriately assign rewards

https://hackmd.io/@utbskePYTLmslPtU8zjZQQ/BktRYh5ut
Requirements documentation

#450


Support for grid creation

Nice library. A thing that seems not been implemented yet is a simple way to generate grid with its

rows, which can have

columns, which typically have:
spans (col-md-X)
margins / offsets (col-md-offset-X)

Do you expect such functionality to be useful / implemented?

+1

I think this can be implemented pretty easily by just adding a new Row helper object where you can specify the various column classes. That would be much less of an undertaking then adding tow/column arguments to the existing helpers (some of which appear to have them already).
I'll push a grid-system branch pull request once I get that working. I'll use the same basic format of the PanelRow helper, unless anyone has a better duggestion?


[webapi] Update 39 manual cases to auto cases

Change 'execution_type' from 'manual' to 'auto'
Failure analysis: https://crosswalk-project.org/jira/browse/XWALK-1791

Impacted tests(approved): new 0, update 39, delete 0
Unit test platform: [Android]
Unit test result summary: pass 37, fail 1, block 1

@haoxli seems you haven't taught the team on commit message writing, right?

lihao have taugh us on commit message writing. I forget to write the modified package name when submitting the pr, sorry.


New feedback - ID 106

User input
Can we have the overview of the problems that appears on the right size expandable? It is hard to see everything when you are using the tool. Thanks :)
Sharepoint list ID
106

We should have a look at improving the detail-view. (today in a side-sheet)
We did talk about a re-design, but not sure if we created any GitHub Issue on it... 🤔

We should have a look at improving the detail-view. (today in a side-sheet) We did talk about a re-design, but not sure if we created any GitHub Issue on it... 🤔

#316


Adds support for agent level tag

Signed-off-by: Annanay<EMAIL_ADDRESS>
Which problem is this PR solving?

Resolves #833

Short description of the changes

This PR is a WIP POC to support agent based tags.
It uses a --jaeger.tag flag to enable tag addition (Ex: --jaeger.tag key=value), although this can be swapped out for env variables.

Thanks for the reviews. Addressed comments. Just the top level question remains.

Thanks for the review @yurishkuro!
I've added tests only for the grpc reporter for now, but do let me know if TChannel reporter tests are also required.

If we're not adding tchannel tests, we shouldn't change tchannel code either, otherwise coverage will go down (which I can't see now because the bloody crossdock test failed again).

Codecov is at 73%, let me remove all changes to tchannel reporter.

Crossdock again 😅

the main addition seems to be untested

Thanks! :)


Code alignment

Feature request:
It would a nice feature if the formatter would do (or retain) code alignment in CREATE TABLE statements example:
CREATE TABLE household (
	id                  bigint                NOT NULL primary key GENERATED BY DEFAULT AS IDENTITY
	, other_text        text                  NOT NULL
	, location          geometry(Point,4326)  NULL
	, description       text                  NULL
	, an_integer_field  integer               NOT NULL
	, a_freign_key      integer               NOT NULL REFERENCES other_table(id)
);

Gets turned into
CREATE TABLE household (
  id BIGINT NOT NULL PRIMARY key GENERATED BY DEFAULT AS IDENTITY,
  other_text text NOT NULL,
  location geometry(Point, 4326) NULL,
  description text NULL,
  an_integer_field INTEGER NOT NULL,
  a_freign_key INTEGER NOT NULL REFERENCES other_table(id)
);

I assume that this would be difficult to do, since no CLI formatter that I'm aware of does this ( oracle SQLDeveloper has a built-in one that does this).

Yeah, that's likely not going to happen.  It's also the first time I see somebody using an SQL formatting style like that.
I've seen such alignment used with some other programming languages, but more often I've seen various style guides advising against such style, as it hurts maintainability - whenever you change the longest field name, you'll need to re-indent all the lines in a block.
Another part here is consistency. You're asking for special treatment of CREATE TABLE, but what about all the other statements. Should they also be indented using some similar system? I don't know how that would work though. And if not, then it's an awkward special treatment of CREATE TABLE.
Plus, of course, it's not trivial to implement.
Don't take it personally, but I'm closing this feature request.


Is there a way to set the default timeout?

The default timeout is set to 0 by default (never time out).  Is there a way to set it at a global level to something other than 0? Ideally, it'd be similar to Typhoeus::Config.verbose = true , maybe something like Typhoeus::Config.timeout = 60 . Thanks!

Hey @mkaplan9, I believe if you are using faraday you can already configure it there. In any case, this would be a great addition. Would you be able to submit a PR? I would be more than happy to help and review it!

I took a stab at it, PR here. Not super confident in it so feel free to point me in the right direction if anything needs to be changed!

Hmm, it's been awhile but I was hoping to do this too. I'm using a gem that uses this and when their API hangs the whole world stops turning, so I'd love to be able to add a timeout without re-packaging the gem.

Aah looks like it was merged, as Typhoeus::Config.timeout  I'd suggest closing this ticket then :)


[FLINK-8917] [Job-Submission] FlinkMiniCluster default createHighAvailabilityServices is not same as ClusterClient

What is the purpose of the change
the FlinkMiniCluster used
HighAvailabilityServicesUtils.createAvailableOrEmbeddedServices to create highAvailabilityServices，so the FlinkMiniCluster's  highAvailabilityServices is EmbeddedHaServices when highAvailabilityMode is none; RemoteStreamEnvironment use b ClusterClient to submit a job, and ClusterClient used
ClusterClient client; 		try { 			client = new StandaloneClusterClient(configuration); 			client.setPrintStatusDuringExecution(getConfig().isSysoutLoggingEnabled()); 		} 		catch (Exception e) { 			throw new ProgramInvocationException("Cannot establish connection to JobManager: " + e.getMessage(), e); 		}
HighAvailabilityServicesUtils.createHighAvailabilityServices to create highAvailabilityServices，so the ClusterClient's highAvailabilityServices is StandaloneHaServices when the highAvailabilityMode is none;  The two highAvailabilityServicess are different, if you use the flink-1.4 in zeppelin，the zeppelin use FlinkMiniCluster to start jobmanager, use RemoteStreamEnvironment to submit stream job, so the job submission will be failed with the follow msg:
Discard message LeaderSessionMessage(00000000-0000-0000-0000-000000000000,SubmitJob(JobGraph(jobId: 33d8e7d74aa48f76a1622d4d8f78105e),EXECUTION_RESULT_AND_STATE_CHANGES)) because the expected leader session ID 87efb7ca-b761-4977-9696-d521bc178703 did not equal the received leader session ID 00000000-0000-0000-0000-000000000000.
so this pull request will to change the FlinkMiniCluster use HighAvailabilityServicesUtils.createHighAvailabilityServices to create StandaloneHaServices as same as the ClusterClient created
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
This change is already covered by existing tests, such as LocalFlinkMiniClusterITCase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency):no
The public API, i.e., is any changed class annotated with @Public(Evolving):  no
The serializers:  don't know
The runtime per-record code paths (performance sensitive):  don't know
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector:no

Documentation

Does this pull request introduce a new feature? no

The affected classes will be removed soon in FLINK-10540.


[#26902] Add switch for supporting cross compile arm64 for dataflow

Adds a switch to prepare for Arm64 support against Google Cloud Dataflow, via machine type specification.
This change adds an additional option for supporting arbitrary architectures for the automatic cross compile which is necessary for adding testing against the service. See https://github.com/apache/beam/issues/26902 and 27311.
Fixes debug message parameter ordering on the cross compile.
A subsequent change should have a more general flag for users who want to automatically cross compile to target other machines. This should be added to JobOpts. End users can continue to work around this by building their own worker binary and setting the --worker_binary flag when submitting a job, per https://beam.apache.org/documentation/sdks/go-cross-compilation/.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

cc: @celeste-zeng

R: @jrmccluskey


Vertex only works for Lit

Hello!
I've been working on shaders and I had issues due to Vrchat only rendering one of the lenses properly. And the solution for that was your amazing pipeline! I am so happy that you've made such an amazing pipeline! great work!
There's one issue with it that I encountered, it took time for me to find the reason for why it was broken. It broke the whole position of my shader.
The reason for it breaking was due to me changing my shader to unlit. it seems that Vertex (position, normal, tangent) only works for lit shaders with your pipeline.
Is there a way to fix so that Unlit shaders also works for this pipeline? That would be amazing if you could fix it! again AMAZING work! I am amazed and impressed with your work!

It works fine for me, can you provide an example?

I could, just want to point out that it only shows the issue in game !
It works fine in unity, but for some reason it doesn't work in game :)

SHADERS ARE ON THE EYES
LIT:

UNLIT:

what about the graph? i wanted to see the nodes


Add leveled damage button to Positive Attunement

Shouldn't this one just have a working damage button?

Shouldn't this one just have a working damage button?

Yeah, maybe it should use an overlay.


Added OpenGL compatibility to ThreeDScene.add_fixed_orientation_mobjects and  ThreeDScene.add_fixed_in_frame_mobjects

Overview: What does this pull request change?

Motivation and Explanation: Why and how do your changes improve the library?

I appended updaters on each mobject to face the camera in each frame. This also works in interactive mode.
UPDATE: I managed to implement this as a shader rather than an updater; the render takes much less time. Two new 'uniform' attributes was added to opengl_mobject, i.e, is_fixed_orientation and mob_center. The mob_center is used as a reference for its other points to face the camera.
Code used:
class FixOrientation(ThreeDScene):
    def construct(self):
        ax = ThreeDAxes((-3, 3), (-3, 3), (-3, 3), 6, 6, 6)
        ax_labels = ax.get_axis_labels()
        ax_labels.add(ax.get_z_axis_label("z").rotate(-PI / 2, RIGHT))
        vect = Vector([1, 2, 3], color=BLUE)
        vect2 = Vector([-2, 0, 1], color=YELLOW)
        coord_label = vect.coordinate_label(n_dim=3, color=BLUE)
        coord_label2 = vect2.coordinate_label(n_dim=3, color=YELLOW)
        self.add(ax, vect, vect2)
        self.add_fixed_orientation_mobjects(*ax_labels, coord_label, coord_label2)
        self.set_camera_orientation(PI / 3, PI / 4)
        self.begin_ambient_camera_rotation(0.5)
        self.wait(5)

Output of --write_to_movie:
https://user-images.githubusercontent.com/83535735/136005462-735e7e43-4488-43af-b397-2df00d9454f7.mp4
Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

There is some funny behavior with fixed_orientation_mobject and the way the stroke is rendered relative to the camera orientation, see these two screenshots:

This is something I also noticed. Unfortunately, I don't have any insight on how to solve this.

I don't think this should block merging this though. We can just open an issue and document the behavior to be fixed eventually.

That sounds good to me


fix dh0 is None breaking backward pass

Originally when running backward pass I get:
process_batch
    accelerator.backward(loss)
  File "/usr/local/lib/python3.10/dist-packages/accelerate/accelerator.py", line 1983, in backward
    self.scaler.scale(loss).backward(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/_tensor.py", line 581, in backward
    torch.autograd.backward(
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/__init__.py", line 347, in backward
    _engine_run_backward(
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/graph.py", line 825, in _engine_run_backward
    return Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 307, in apply
    return user_fn(self, *args)
  File "/usr/local/lib/python3.10/dist-packages/fla/utils.py", line 18, in wrapper
    return fn(ctx,
  File "/usr/local/lib/python3.10/dist-packages/torch/amp/autocast_mode.py", line 511, in decorate_bwd
    return bwd(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/fla/ops/rwkv6/fused_recurrent.py", line 601, in backward
    return dq.to(q), dk.to(k), dv.to(v), dw.to(w), du.to(u), None, dh0.to(initial_state), None, None, None, None
AttributeError: 'NoneType' object has no attribute 'to'

Steps to reproduce:
import torch
import torch.nn as nn
from fla.layers.rwkv6 import RWKV6Attention

layer = RWKV6Attention(hidden_size=320).cuda()
t = torch.randn((300,10,320)).cuda()
t.requires_grad = True

t2 = torch.randn((300,10,320)).cuda()
res = layer(t)[0]

criterion = nn.MSELoss()

loss = criterion(t2, res)
loss.backward()

Thank you!