npm run install is executed instead of npm install from npm: install in recently used tasks

VSCode Version: 1.44.2
OS Version: Windows 7

Steps to Reproduce:

Execute the npm: install task from Terminal / Run Task… / Show All Tasks… and the npm install command is correctly executed.
Click the Terminal / Run Task… menu again. The npm: install task appears in recently used tasks.
Click the npm: install and what is executed is npm run install instead of the expected npm install, which would then raise an error.

Does this issue occur when all extensions are disabled?: Yes/No

What if there is an install script (that is equivalent to postinstall) in the package.json that you expect to execute via npm run install (rerun the script itself without installing dependencies again)?

It would do an npm install, not an npm run install.


 Like there

I just found this project and haven't tried it yet, but it looks very promising.
I would like to be able to insert images where the cursor is.
And not necessarily using markdown tags - that's not what this is about
I'll write this right away - if it works I'll use it regardless of whether these image insertions are planned or not


Plugin convertPathData messes up icon

Given the following SVG:
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.6, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
     viewBox="0 0 18.7 23.6" style="enable-background:new 0 0 18.7 23.6;" xml:space="preserve">
<style type="text/css">
	.st0{fill:none;stroke:#9160ad;stroke-width:0.5;stroke-miterlimit:10;}
</style>
    <g>
	<path class="st0" d="M18.5,5.7c0-0.8-0.7-1.5-1.5-1.5h0c-0.8,0-1.5,0.7-1.5,1.5v4.8c0,0,0-6.7,0-6.7c0-0.8-0.7-1.5-1.5-1.5h0
		c-0.8,0-1.5,0.7-1.5,1.5v6.7c0,0,0-8.7,0-8.7c0-0.8-0.7-1.5-1.5-1.5h0c-0.8,0-1.5,0.7-1.5,1.5v2c0-0.8-0.7-1.5-1.5-1.5h0
		C7,2.3,6.3,2.9,6.3,3.8v10.3l-3.8-1.6c0,0-1-0.5-1.8,0.4c-1,1.1,0,1.9,0,1.9l7.7,7.7c1,0.6,2.2,1,3.4,1c3.6,0,6.5-2.8,6.6-6.3l0,0
		V5.7z"/>
        <line class="st0" x1="9.4" y1="3.7" x2="9.4" y2="10.5"/>
</g>
</svg>

Which looks like this:

When it is processed with svgo 1.3.0 using default settings, it results in this SVG:
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 18.7 23.6" xml:space="preserve"><style>.st0{fill:none;stroke:#9160ad;stroke-width:.5;stroke-miterlimit:10}</style><path class="st0" d="M18.5 5.7c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5V3.8c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5V1.8c0-.8-.7-1.5-1.5-1.5S9.5 1 9.5 1.8v2c0-.8-.7-1.5-1.5-1.5-1 0-1.7.6-1.7 1.5v10.3l-3.8-1.6s-1-.5-1.8.4c-1 1.1 0 1.9 0 1.9l7.7 7.7c1 .6 2.2 1 3.4 1 3.6 0 6.5-2.8 6.6-6.3V5.7zM9.4 3.7v6.8"/></svg>

Which looks like this:

I found out that I can set convertPathData.collapseRepeated to false to avoid this issue. But I suppose this shouldn't be happening in the first place.

The problem with this svg is that there is a problem with your path.
v4.8 c0,0,0-6.7.0 -6.7

The c path describes a straight line, so svgo optimizes it into a v path and merges the two, so svg loses part of the content.
You should change the path to m0, 4.8v-6.7, which will solve the problem.
and input
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
     viewBox="0 0 18.7 23.6" style="enable-background:new 0 0 18.7 23.6;" xml:space="preserve">
<style type="text/css">
	.st0{fill:none;stroke:#9160ad;stroke-width:0.5;stroke-miterlimit:10;}
</style>
    <g>
	<path class="st0" d="M18.5,5.7c0-0.8-0.7-1.5-1.5-1.5h0c-0.8,0-1.5,0.7-1.5,1.5m0,4.8v-6.7c0-0.8-0.7-1.5-1.5-1.5h0
		c-0.8,0-1.5,0.7-1.5,1.5m0,6.7v-8.7c0-0.8-0.7-1.5-1.5-1.5h0c-0.8,0-1.5,0.7-1.5,1.5v2c0-0.8-0.7-1.5-1.5-1.5h0
		C7,2.3,6.3,2.9,6.3,3.8v10.3l-3.8-1.6c0,0-1-0.5-1.8,0.4c-1,1.1,0,1.9,0,1.9l7.7,7.7c1,0.6,2.2,1,3.4,1c3.6,0,6.5-2.8,6.6-6.3l0,0
		V5.7"/>
        <line class="st0" x1="9.4" y1="3.7" x2="9.4" y2="10.5"/>
</g>
</svg>

output
<svg id="Ebene_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18.7 23.6">
  <style>.st0 {fill: none;stroke: #9160ad;stroke-width: 0.5;stroke-miterlimit: 10;}</style>
  <path
    class="st0"
    d="M18.5 5.7c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5m0 4.8V3.8c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5m0 6.7V1.8c0-.8-.7-1.5-1.5-1.5S9.5 1 9.5 1.8v2c0-.8-.7-1.5-1.5-1.5-1 0-1.7.6-1.7 1.5v10.3l-3.8-1.6s-1-.5-1.8.4c-1 1.1 0 1.9 0 1.9l7.7 7.7c1 .6 2.2 1 3.4 1 3.6 0 6.5-2.8 6.6-6.3V5.7M9.4 3.7v6.8"
  />
</svg>

I hope to help you.

Thanks for the reply. Are you saying that the input is an invalid SVG file? Because I obviously didn't create this SVG manually, it was created by Adobe Illustrator and it happens to renders correctly everywhere I tested it. If it's indeed invalid, then it's a bug in Illustrator.

This SVG file can be rendered correctly, but there is a problem with the path selection.
The c path is used to describe the arc, and the v path is used to describe the line, but your svg uses the c path to describe a line.It's not a bug, but svgo converts it to v path
c0,0,0-6.7,0-6.7 -> v-6.7

Two v paths are connected, so svgo will combine the two
v4.8v-6.7 -> v-1.9

This is why the line is missing.
In my opinion, I can't say that the path is invalid. I just analyzed the problem and gave my suggestion.
You can see the introduction of SVG path here

SVGO doesn't apply this optimization in presence of strokes. Unfortunately, support for styles is poor, so SVGO doesn't know about stroke. inlineStyles plugin should help

Thank you for the replies!
I investigated some more and read the SVG path specs and I think I understand it better now. My SVG is indeed using a degenerated cubic bezier curve, where the two control points happen to coincide with the start and end point of the curve. That is unusual indeed but it's still a valid cubic bezier, at least in the mathematical sense.
But while investigating, I found a much smaller and simpler example that also gets messed up by SVGO. It does not use any style elements and the control points do not coincide with the start/end point of the curve. They are however on the curve itself, which produces yet again a straight line, but that is quite unquestionably a valid thing to do.
Here's the example:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10">
<path stroke="#000" fill="none" d="M1 1 v8 c0-2 0-4 0-6"/>
</svg>

And the output that SVGO produces (line breaks added by me):
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10">
<path stroke="#000" fill="none" d="M1 1v2"/>
</svg>

As soon as I get some time I can try to have a look at what causes this wrong simplification, which is likely to be some division by zero or something similar.


The color of indent line gets corrected to gray after souring.

OSX: Sierra 10.12.1
Vim: Neovim 0.1.6
Color Scheme: One / Codeschool
Hi my indent line color is always white with certain color schemes  every time I open Vim. The color will get corrected to gray when I run :source. But in other color schemes (i.e tomorrow-night), the indent lines are gray when open Vim. Any idea what's going on?

Found out I could overwrite the default color by using `let g:indentLine_color_gui = '#4c4c4b'
.


Add on QA as a prereq

The user access level needs to be BASIC, this is not explained on any other part of the documentation

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

ID: 4dc61b61-ed67-8313-99d4-d736e7f48234
Version Independent ID: 3e0fcf87-9744-cec8-24f8-9f68371959c6
Content: Integrate with service hooks
Content Source: docs/service-hooks/overview.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @ManuelGalindo , could you explain a bit about what you'd like to see changed here?


Order of chapters

Order of chapters is not correct because os.listdir is not sorted by filename!

Fixed with https://github.com/DataStewardshipWizard/km2events/commit/f6c0e84f68509f80a68187f1ab5a9b9e7c6bbe4f


upgrade pyyaml for security warning

Coverage remained the same at 100.0% when pulling 0af1d420c1bd2cd75ba906b195fdc07f5d42381d on test-pyyaml-upgrade into dc769f4d3caef44ad0979cc8740c4693f011a02b on master.


Add instructions for creating a custom Security Context Constraint

@rosemarymarano i addressed all of your comments, please review again.


isparta support?

Any way to use the isparta instrumenter with istanbul?
https://github.com/douglasduteil/isparta
gulp-istanbul can use isparta with
return gulp.src(src).pipe(istanbul({ instrumenter: require('isparta').Instrumenter }))

But this does not work with gulp-spawn-mocha, maybe add an option to use the isparta binary in place of the istanbul one?
return gulp.src(src).pipe(mocha({ istanbul: { instrumenter: isparta.Instrumenter }}))

or even?
return gulp.src(src).pipe(mocha({ isparta: {} }))

Long term I'd like to see Istanbul support custom instrumenters through the command line. I'll look into this and the option to replace the binary later today.

Looks like Isparta doesn't use the -- that Istanbul uses for separating the binary from the command to cover.
istanbul cover -- _mocha <files>

vs
isparta cover _mocha <files>

But even that second command doesn't appear to work properly. I'm open to ideas on how to do this cleanly.

isparta support would be nice really.


Oops: SSO prestart error (code: 0, message: )

Hello,
I've installed the API on my server. When I try to run the "full example", I get the following error:
Oops: SSO prestart error (code: 0, message: )
Can you provide some support please ?
Thanks

The problem comes from the checkCookieAuth that destroys the curl object if username is not set.
I've modified it this way:
private function checkCookieAuth() {
if (strlen(trim($this->getUsername())) == 0) {
$this->objConnector->cleanupSession();
$this->objConnector->refreshSession(); // added this line
return FALSE;
} else {
return TRUE;
}
}
It seems to work

Hi,
Good find. Would you like to fork, change and make a pull request?
Thanks,
Dave
On 31 Aug 2016 7:04 p.m., "PauloBronfox"<EMAIL_ADDRESS>wrote:

The problem comes from the checkCookieAuth that destroys the curl object
if username is not set.
I've modified it this way:
private function checkCookieAuth() {
if (strlen(trim($this->getUsername())) == 0) {
$this->objConnector->cleanupSession();
$this->objConnector->refreshSession(); // added this line
return FALSE;
} else {
return TRUE;
}
}
It seems to work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dawguk/php-garmin-connect/issues/7#issuecomment-243849397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZ4no6CcxGlCjjdFJXlN2b690o00kbQks5qlcIrgaJpZM4Jxzzl
.

Hi,
I don't know how to do that :(
Pierre


Version Packages (#3749)

TL;DR
Improved the in-app wallet sign-in speed by refactoring OAuth path handling to make it more generic and efficient.
What changed?

Standardized the OAuth path handling to make it more generic and reusable across multiple providers.
Updated getLoginPath to getSocialAuthLoginPath for OAuth providers like Google, Facebook, Apple, and Discord.
Improved login speed and reduced redundancy by streamlining the OAuth path logic.
Removed outdated and redundant code related to individual OAuth provider handling.

How to test?

Test the sign-in process using various OAuth providers such as Google, Facebook, Apple, and Discord.
Ensure the redirection and sign-in speed are improved.
Verify that the in-app wallet sign-in works seamlessly without any errors.

Why make this change?
The changes were necessary to optimize and standardize the OAuth sign-in process, improving the overall user experience. The previous implementation had redundant code for individual providers, which was refactored to be more efficient and easier to maintain.

PR-Codex overview
This PR improves in-app wallet sign-in speed by updating authentication strategies and paths.
Detailed summary

Updated OAuth authentication strategy to SocialAuthOption
Improved login path retrieval for social authentication providers
Refactored Discord-specific authentication to generic OAuth approach

The following files were skipped due to too many changes: packages/thirdweb/src/wallets/in-app/native/auth/native-auth.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#3779  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gregfromstl and the rest of your teammates on  Graphite


Clustered Ehcache Operations Caching Research Spike

Research spike on how we want the client side caching to work in Ehcache... focus here is on two main things.  When are cache invalidations sent from the server, and how is the caching logic/layering used in clustered related to the caching layers used in unclustered.  Ideally I would like this to use as much of the same code as possible.

Some of the discussion for this happened under #919, but I have come to realise it is wrong.
#919 should focus on wiring emergency valve in 3.0 if we need that, without API changes.
In the context here, I propose the following first step:

Introduction of the InvalidationValve - #1030

Will use this issue to extend the ClusteredStore to be an AuthoritativeTier. From what is known, the standard tiering model should apply for cluster just as well.

Actually #1043 exists for that, thus closing this.


Added SignalProducer+Restart extension

Adding the extension for SignalProducer class with a new restart method
Applying this operator to an input signal producer should result in an output signal producer that forwards all Next events from input and restarts the original one each time the input signal producer sends Completed event. Each restart should be delayed for delayInterval
Example project:
https://github.com/smilypeda/SignalProducerRestartExtension

@filblue

What about adding a test?

Make sense, will do

What if original signal terminates with error?

It wasn't specified, the obvious way is to forward error event as well. Will it be enough?

Error handling wasn't specified indeed, but it's unlikely that we would want resulting signal to freeze forever. Forwarding the error or completing the resulting signal would be ok.

@filblue I have added the new commit to this PR https://github.com/smilypeda/ReactiveCocoa/pull/1/commits/3220a68b6374c46fa3a62c9391d6f8d7f5d6fc71. It transforms the logic to send Completed event in case input signal sends Error
Also, I've updated test project with the test for this extension, please review the commit:
https://github.com/smilypeda/SignalProducerRestartExtension/commit/e3601cbd6565f0543401de34f01bec2e2aa8cfc2

@smilypeda Cool, much better than freezing. But that still doesn't fit perfectly with ReactiveCocoa conventions for operators. In most cases failures are forwarded as is, as soon as possible.

@filwag  thanks for the review!

Cool, much better than freezing. But that still doesn't fit perfectly with ReactiveCocoa conventions for operators. In most cases failures are forwarded as is, as soon as possible.

I see. I added completion on Error event because @filwag gave an alternative, see the comment https://github.com/smilypeda/ReactiveCocoa/pull/1#issuecomment-240143655
I think such a change is more interesting for testing. Do you want me to change it?

@filwag updated the tests in commit https://github.com/smilypeda/ReactiveCocoa/pull/1/commits/e318331e8bc5e2936a5f62e3e6a982e7b7025584
added the improvements which you pointed in comments for test project commit https://github.com/smilypeda/SignalProducerRestartExtension/commit/e3601cbd6565f0543401de34f01bec2e2aa8cfc2

@smilypeda that's fine, let's stick to the current version with completion.


Push newly created file into the workspace (#696)

Description

In FileItem.swift, the addFile function was changed to return the newly created file's path.
In NavigationSidebarToolbarBottom.swift, a bit of post-creation code was introduced, placed in the global DispatchQueue, which attempts to open the new file in a new tab in the workspace.

A related PR is being opened in CodeEditTextView, which works in tandem with this one, so the cursor becomes active in the new file after it is created and opened.
Particularly, I would like a review on the code added to NavigationSidebarToolbarBottom.swift, as I'm not 100% sure the DispatchQueue behavior is consistent in this case. Certainly without putting it on the queue, the behavior was completely non-deterministic, because the code would sometimes run before the completion of rebuildFiles in Live.swift (and thus the new FileItem was not yet available).
Related Issue

#696
PR #144 from CodeEditTextView.
#700 (might have been resolved in the process)

Checklist

[x] I read and understood the contributing guide as well as the code of conduct
[x] My changes generate no new warnings
[x] My code builds and runs on my machine
[x] I documented my code
[x] Review requested

Screenshots

@allcontributors add @RenanGreca for code

Shouldn't #696 and #700 be closed by this merge?

@jpinnix Thanks for pointing this out. Both of them are now closed.


My etc was stolen

Hey,
06 Dec 2018, 21:41
http://gastracker.io/tx/0x64f9c87e1197a84d2e5427f7cd11e5b837fc95c871dbe0566362b1eca52328f8
96.1 ether
http://gastracker.io/addr/0x06e99538ace8b86cdaa4b898ba34d9653e64fa86
location: Belarus
I never sent this transaction, i never go to phishing sites etc.... i really dont know what to do....
iAny one can help me?

Transactions on the network are not reversible.  The only way this could be done is if your private key was used to sign the transaction.


Added some examples and made some examples more concise

Codecov Report

Merging #40 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop       #40   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines          947       947
=========================================
  Hits           947       947

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 da33a96...9f1b083. Read the comment docs.


Testing with Rails

Hi! I'm working on an app that will let users add custom domains, and the app has to create an ingress whenever a custom domain is added, so I'm thinking of using this gem 🙂
How can I test that ingresses are created as expected without using an actual kubernetes environment? Is it possible? Thanks a lot in advance!

In a perfect world, your app should not be testing the functionality of it's dependencies and you should just be testing that your app callis the correct methods of them and trust that the libraries have their own test coverage in check.
K8s-client coverage is at 96.71% (14.77 hits/line), but more importantly, it's being used extensively in our own applications such as https://www.kontena.io/pharos/ and https://github.com/kontena/mortar
You can use webmock or such to stub k8s-client api requests, but it does not offer any "kubernetes simulator" for testing.

Hi @kke, thanks. I'm a bit paranoid about testing and would like at least one integration test that verifies that an ingress has actually been created as expected, without stubbing on my side. Perhaps I can use vcr to record API interactions during tests. Thanks!


1.18.2

Vanilla 1.18 is released and Fabulously Optimized will get its builds out as soon as feasible.
There may be some 2.x.x releases in the 3.0.0 development period and there will be at least one backport update to 2.x.x when 3.1.0 launches. It is also a possibility that 3.0.0 won't be released as stable at all and 3.1.0 will be released instead, as Mojang likes to do x.x.1 releases. yup
Progress can be seen here
Schedule/estimates:

MC 1.18: Nov 30
FO 3.0.0-alpha.1: Dec 2
MC 1.18.1: Dec 10
FO 3.1.0-alpha.1: Dec 11
Multiplayer patches for all versions: Dec 11, Dec 15
FO Starlight testing: Dec 20
FO Phosphor testing: Jan 2
FO Starlight/Phosphor verdict: Jan 16
MC 1.18.2: TBD
FO 3.2.0 (stable): ETA February (depends on mods)

Edit: log4j (the multiplayer bug) happened, schedules may change.
Use this issue for generic feedback about FO 3.1.0 development.

Sodium 0.4.0-alpha5 for Minecraft 1.18 has been released.

Minecraft 1.18.1 has been released, addressing a critical security vulnerability in log4j. Fabulously Optimized should update to 1.18.1 ASAP - if that's not yet possible, Fabric Loader 0.12.9 contains a patch for this as well.

i advise removing littletweaks for now, Mojang wholly implemented audio functionality in Minecraft. Only thing it could do now is remove the soft limit that Minecraft puts in the maximum sounds that can be played at the same time

@ImUrX Yup, that has already been removed since the first 3.0.0 alpha, I just didn't post the alpha mod list anywhere yet. That soft limit removal required additional configuration from the user (which cannot be done by FO) so those who are willing to can install by themselves.

As the version changed some settings with the fog (https://minecraft.fandom.com/wiki/Java_Edition_1.18.2) it probably needs updates for some performance mods.

Decided to release 1.18.1 version as stable for the following reasons:

1.18.2 is not out and needs time for mod updates when it is anyway
Sodium 0.5 is coming, maybe it will release with 1.18.2 (aka no 0.4 port for it beforehand)
Parity with 1.17.1 has been reached (incl. hydrogen archival), just extra mods to think of but that can be postponed
Sodium and Iris got some performance patches already


Game and Author classes

Hello 👋🏼
In this PR,

[x] Created Game class
[x] Created Author class
[x] Implemented the add_item method in the Author class

@Besufekad-HAZ and @byiringiroscar , thank you. I am grateful.


Autocomplete constructors

e.g. user writes 'new ClassNa...' and autocomplete provides constructor snippet suggestions.
Implement:

[x] JavaClassLoader._addClassMember(): Add constructor prototypes to dictionary (currently they are just skipped)
[x] AtomAutocompleteProvider.getSuggestions(): Return constructor snippets.

implemented


[Bug]: 2.12.0 build.sh missing

Describe the bug
I am seeing the following error log from the autocut:
C:\Users\Administrator\jenkins\workspace\distribution-build-opensearch-dashboards\scripts\default\opensearch-dashboards\build.sh: line 13: ../../../lib/shell/file_management.sh: No such file or directory
Found a similar line for tar builds as well. I am suspecting something went wrong with the build process and the default script build.sh is not present
To reproduce
Logs: https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch-dashboards/runs/7113/nodes/76/log/?start=0
Expected behavior
No response
Screenshots
If applicable, add screenshots to help explain your problem.
Host / Environment
No response
Additional context
No response
Relevant log output
No response

Similar issue for main/3.0.0:
2024-01-17 12:39:19 INFO     Executing "bash<EMAIL_ADDRESS>-v 3.0.0 -p linux -a x64 -s false -o builds" in /tmp/tmpqpkioqxq/securityDashboards

. ../../../lib/shell/file_management.sh
<EMAIL_ADDRESS>line 13: ../../../lib/shell/file_management.sh: No such file or directory

https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch-dashboards/runs/7115/nodes/70/log/?start=0

Thanks @derek-ho, this is coming from the PR https://github.com/opensearch-project/opensearch-build/pull/4343. @peterzhuamazon can you please take a look.
Thanks

Seems like the cleanup is still not fully in effect:

$ husky install
husky - Git hooks installed

ERROR [single_version_dependencies] Multiple version ranges for the same dependency
      were found declared across different package.json files. Please consolidate
      those to match across all package.json files. Different versions for the
      same dependency is not supported.

      If you have questions about this please reach out to the operations team.

      The conflicting dependencies are:

        plotly.js-dist
          ^1.57.1 => gantt-chart-dashboards
          ^2.2.0 => observability-dashboards
        react-plotly.js
          ^2.4.0 => gantt-chart-dashboards
          ^2.5.1 => observability-dashboards
error Command failed with exit code 1.

But obs already get removed and gantt still having issues:

Removing ../OpenSearch-Dashboards/plugins/observabilityDashboards
+ rm -rf -- ../OpenSearch-Dashboards/plugins/observabilityDashboards

Will need to take a deeper look on this.

Then right after gantt, dashboards-assistant also shows issues related to gantt and obs:

$ husky install
husky - Git hooks installed

 info [gantt-chart-dashboards] running yarn

[1/4] Resolving packages...
success Already up-to-date.

 info [observability-dashboards] running yarn

[1/4] Resolving packages...
success Already up-to-date.
$ husky install
husky - Git hooks installed

ERROR [single_version_dependencies] Multiple version ranges for the same dependency
      were found declared across different package.json files. Please consolidate
      those to match across all package.json files. Different versions for the
      same dependency is not supported.

      If you have questions about this please reach out to the operations team.

      The conflicting dependencies are:

        @types/react-test-renderer
          ^16.9.1 => assistant-dashboards
          ^18.0.0 => observability-dashboards
        husky
          ^8.0.0 => assistant-dashboards
          ^8.0.3 => observability-dashboards
        plotly.js-dist
          ^1.57.1 => gantt-chart-dashboards
          ^2.2.0 => observability-dashboards
        react-plotly.js
          ^2.4.0 => gantt-chart-dashboards
          ^2.5.1 => observability-dashboards
error Command failed with exit code 1.

Think I find the issue now:
2024-01-18 18:43:23 ERROR    Failed plugins are ['observabilityDashboards', 'customImportMapDashboards']


[Release] Initial app bundle release preparation

Create an internal testing track
Draft a release using ./gradlew bundleRelease
Upload signing key
Upload plaid.aab

Done!


Accelerating KGE models

We would like to accelerate the convergence of KGE models.
To this end, we are interested in incorporating findings of
Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Rates

We will

create a feature branch
implement SGD with Armijo line-search (already done in SLS), and
report the initial results

Experiments are currenlty being conducted. Promissing results :)
Yet, the implementation of ADAM-sls is not compatable with GPU. Need a fix


[FEATURE] send a reminder notification for in activity

Description
Send a browser notification If a user hasn't responded after 3 minutes, we send a reminder notification like “don't leave your partner hanging, drop a response”
use this time in milliseconds:
https://github.com/Dun-sin/Whisper/blob/10ddc38f6e203d1ef7502ee307758f7a50e9782b/client/src/components/Chat.jsx#L40
use this function to send the browser function:
https://github.com/Dun-sin/Whisper/blob/10ddc38f6e203d1ef7502ee307758f7a50e9782b/client/src/lib/browserNotification.js#L9-L22
Are you willing to work on this issue ?
None

I'm new to repository . This project looks amazing can i contribute to this issue ?

I'm new to repository . This project looks amazing can i contribute to this issue ?

Definitely, thanks for wanting to contribute, read the issue description properly and understand what it tells you to do also feel free to ask questions, make sure you follow the rules 👉🏽here👈🏽, else your PR will not be accepted and will be closed. Good Luck.

Hi @Dun-sin I tried writing a helper funciton then calling it in useEffect as a callback in setTimeout already defined , but as I can see there is some problem with previously defined helper function / createBrowserNotification . I tried logging like this ---->
export const checkPartnerResponse = (lastMessageTime, inactiveTimeThreshold) => {
const currentTime = new Date().getTime();
const isInactive = lastMessageTime && currentTime - lastMessageTime > inactiveTimeThreshold;
console.log(isInactive);
if (isInactive) {
createBrowserNotification("your partner isn't responding, want to leave?");
}
};
it's showing true but it's giving this log error when the callback is being executed :
Uncaught TypeError: str is undefined
prepare index.js:234
check index.js:260
memoized index.ts:102
filter index.js:275
createBrowserNotification browserNotification.js:23
checkPartnerResponse chatHelper.js:66
inactiveTimeOut Chat.jsx:312
setTimeout handler*Chat/< Chat.jsx:310
React 8
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
js scheduler.development.js:571
js scheduler.development.js:633
__require chunk-ROME4SDB.js:11
js index.js:6
__require chunk-ROME4SDB.js:11
React 2
__require chunk-ROME4SDB.js:11
js React
__require chunk-ROME4SDB.js:11
js React
__require chunk-ROME4SDB.js:11
 react-dom_client.js:38
index.js:234:8
PS : I read the readme and used chrome and mozilla to simulate two users as anonymous logins . Please correct me if I got anything wrong .

Hi @Dun-sin I tried writing a helper funciton then calling it in useEffect as one of the callbacks in setTimeout that's already defined , but as I can see there is some problem with previously defined helper function > createBrowserNotification . I tried logging like this ----> export const checkPartnerResponse = (lastMessageTime, inactiveTimeThreshold) => { const currentTime = new Date().getTime(); const isInactive = lastMessageTime && currentTime - lastMessageTime > inactiveTimeThreshold; console.log(isInactive); if (isInactive) { createBrowserNotification("your partner isn't responding, want to leave?"); } }; it's showing true but it's giving this log error when the callback is being executed : Uncaught TypeError: str is undefined prepare index.js:234 check index.js:260 memoized index.ts:102 filter index.js:275 createBrowserNotification browserNotification.js:23 checkPartnerResponse chatHelper.js:66 inactiveTimeOut Chat.jsx:312 setTimeout handler*Chat/< Chat.jsx:310 React 8 workLoop scheduler.development.js:266 flushWork scheduler.development.js:239 performWorkUntilDeadline scheduler.development.js:533 js scheduler.development.js:571 js scheduler.development.js:633 __require chunk-ROME4SDB.js:11 js index.js:6 __require chunk-ROME4SDB.js:11 React 2 __require chunk-ROME4SDB.js:11 js React __require chunk-ROME4SDB.js:11 js React __require chunk-ROME4SDB.js:11 react-dom_client.js:38 index.js:234:8
PS : I read the readme and used chrome and mozilla to simulate two users as anonymous logins . Please correct me if I got anything wrong .

this is hard to read, give me a better way to read this

I want to write a helper function like the one that's  already used in the useEffect's callback portion i.e., checkPartnerResponse . But when I wrote some console.logs and saw that while checkPartnerResponse is executed after the timeout it's giving some errors in the logs . It's giving error when it's hitting the createBrowserNotification part & that portion isn't executing to create a Notification . It's giving multiple logs but the main one was  this one I guess :
Uncaught TypeError: str is undefined
prepare index.js:234
check index.js:260
memoized index.ts:102
filter index.js:275
-------->  createBrowserNotification browserNotification.js:23 (*)
I tried handling errors in createBrowserNotification but it's not giving the notification popups

I want to write a helper function like the one that's already used in the useEffect's callback portion i.e., checkPartnerResponse . But when I wrote some console.logs and saw that while checkPartnerResponse is executed after the timeout it's giving some errors in the logs . It's giving error when it's hitting the createBrowserNotification part & that portion isn't executing to create a Notification . It's giving multiple logs but the main one was this one I guess :
Uncaught TypeError: str is undefined prepare index.js:234 check index.js:260 memoized index.ts:102 filter index.js:275 --------> createBrowserNotification browserNotification.js:23 (*)
I tried handling errors in createBrowserNotification but it's not giving the notification popups

i'm very horrible at reading so let's move this to the discord server, delete everything in your local machine, follow the readme and make your change and screen record everything

Sorry @Dun-sin  I'm really short of time for this for now . Please unassign me , btw the app looks really good though :)

I want to work on this issue

Hey @Dun-sin could you please assign me to this issue

Hey @Dun-sin could you please assign me to this issue

Sure, thanks for wanting to contribute. Make sure to read the issue description carefully and ask if you have questions. Follow the rules here, or your PR won't be accepted and will be closed. Good luck!

Sorry @Dun-sin I'm really short of time for this for now. please unassigned it . thanks


Add lookups

Initial commit.
TODO - make robust - add caching, timeouts, and retries.

I think these passthroughs are okay, but I wonder if it's not something that should be part of the proposal meta data -- i.e. should this logic live in the parser instead?

@cmc333333 if we're confident that the responses from these endpoints will exist at parse time and aren't going to change afterwards, then yeah, getting the data once in -parser sounds right. Full disclosure: I don't know what these endpoints send back.

I'd expect that the data shouldn't change over the course of a proposal (otherwise commenters at one point have different options than commenters at another, which seems... unlikely)

To address the non-volatility in the data returned from these lookups, I was planning to cache the response in Redis with a TTL of 24 hours.

I'd vote holding off on going too far down the road of hardening this -- I think we'll want to include it with the metadata of the proposed rule rather than fetch it within -site.


Implement proxy settings for Maven

It would be good to have the proxy settings for Maven too.
Since the proxy settings for Maven are stored in an XML file, it may help using http://xmlstar.sourceforge.net/

Hello,
Maybe is not the best solution but I'm using maven and I´ve configured it setting the MAVEN_OPTS variable in shellrc.sh:
if [ "$USE_HTTP_PROXY_FOR_HTTPS" = "true" ]; then
<existing_code>
echo "export MAVEN_OPTS="-Dhttp.proxyHost=${stmt}${http_host} -Dhttp.proxyPort=${http_port} -Dhttps.proxyHost=${stmt}${http_host} -Dhttps.proxyPort=${http_port} -Dhttp.nonProxyHosts=${no_proxy//,/|}"" >> "$SHELLRC"
else
<existing_code>
echo "export MAVEN_OPTS="-Dhttp.proxyHost=${stmt}${http_host} -Dhttp.proxyPort=${http_port} -Dhttps.proxyHost=${stmt}${https_host} -Dhttps.proxyPort=${https_port} -Dhttp.nonProxyHosts=${no_proxy//,/|}"" >> "$SHELLRC"
fi
Probably it should be enhanced to include also the SOCKS proxy but I am not able to test it.  The previous configuration works for me.
Should I create a pull request?

Not very sure about the conditions where Maven requires proxy to be configured.
I've been using maven and gradle for a while behind proxy, and they seem to work fine using environment variables (http_proxy from bashrc).
It would be helpful to know your OS details - the less to maintain, the better.
I am very new to Java world, but if we are exporting MAVEN_OPTS environment variable, how can the user add more parameters to $MAVEN_OPTS (something like export MAVEN_OPTS="$MAVEN_OPTS:-Dsomesetting=somevalue" without modifying existing scripts (if any)?
Will the user have to update his/her scripts to make sure they have both options (this and theirs, if configured)?

I think this is fixable as we can create .m2/settings.xml file where we can store the proxies and it should work.


"mass" type class creation

There are classes that allow the input of "mass" type objects into slots but the slots are named different (but similar) names. These slots could be organized under a general "mass" type class. The slots that follow can use "mass" as a range and include specificity as usage.

input mass slot
https://microbiomedata.github.io/nmdc-schema/input_mass/

biomass:
https://microbiomedata.github.io/nmdc-schema/biomass/

host dry mass
https://microbiomedata.github.io/nmdc-schema/host_dry_mass/

host total mass
https://microbiomedata.github.io/nmdc-schema/host_tot_mass/

host wet mass
https://microbiomedata.github.io/nmdc-schema/host_wet_mass/

Not technically applicable for inheritance based on definition, but related and could replace QuantityValue range:
microbial_biomass https://microbiomedata.github.io/nmdc-schema/microbial_biomass/

related: density https://microbiomedata.github.io/nmdc-schema/density/


Broken Kotlin DSL accessors for complex type

To work around the lack of default imports for plugin authors, we register our default imported class as project extensions using something similar to the following in Java:
import dev.nokee.language.c.CSourceSet;

val defaultImportExtensionType = TypeOf.typeOf(new TypeToken<Class<T>>() {}.where(new TypeParameter<T>() {}, CSourceSet.class).getType());
project.extensions.add(defaultImportExtensionType, type.getSimpleName(), CSourceSet.class);

Using the following settings.gradle.kts:
pluginManagement {
	repositories {
		gradlePluginPortal()
		maven { url = uri("https://repo.nokee.dev/snapshot") }
	}
	resolutionStrategy {
		eachPlugin {
			if (requested.id.id.startsWith("dev.nokee.")) {
				useModule("${requested.id.id}:${requested.id.id}.gradle.plugin:0.4.2188-202205191202.5b4e05f9")
			}
		}
	}
}

rootProject.name = "kotlin-accessor-fail"

Expected Behavior

The following should succeed:
plugins {
	id("dev.nokee.c-language")
	id("dev.nokee.jni-library")
}

library.sources.configureEach(CSourceSet) {} // fails

Current Behavior

Instead, the previous fails with the following error:
e: /Users/daniel/gradle/tmp/kotlin-accessor-fail/build.gradle.kts:6:31: Type mismatch: inferred type is Any but Spec<in LanguageSourceSet!>! was expected
org.gradle.internal.exceptions.LocationAwareException: Build file '/Users/daniel/gradle/tmp/kotlin-accessor-fail/build.gradle.kts' line: 6
Script compilation errors:

  Line 6: library.sources.configureEach(CSourceSet) {}
                                         ^ Type mismatch: inferred type is Any but Spec<in LanguageSourceSet!>! was expected

  Line 6: library.sources.configureEach(CSourceSet) {}
                                                     ^ Type mismatch: inferred type is () -> Unit but Closure<(raw) Any!>! was expected

From IntelliJ, I'm able to jump to the following generated accessor:
/**
 * Retrieves the `CSourceSet` extension.
 *
 * `CSourceSet` is not accessible in a type safe way because:
 * - `java.lang.Class` is not available
 */
val org.gradle.api.Project.`CSourceSet`: Any get() =
    (this as org.gradle.api.plugins.ExtensionAware).extensions.getByName("CSourceSet")

The Javadoc attached strangely shows that java.lang.Class is not available. However, if we use kotlinDslAccessorsReport, Gradle shows the following, correct, accessor:
    /**
     * Retrieves the [CSourceSet][java.lang.Class<dev.nokee.language.c.CSourceSet>] extension.
     */
    val org.gradle.api.Project.`CSourceSet`: java.lang.Class<dev.nokee.language.c.CSourceSet> get() =
        (this as org.gradle.api.plugins.ExtensionAware).extensions.getByName("CSourceSet") as java.lang.Class<dev.nokee.language.c.CSourceSet>

If we print the extension schema as follow:
project.extensions.extensionsSchema.forEach {
    println(it.name + " -- " + it.publicType) // expect: CSourceSet -- java.lang.Class<org.gradle.language.c.CSourceSet>
}

We get the expected name and type: CSourceSet -- java.lang.Class<org.gradle.language.c.CSourceSet>.
Finally, the following, more verbose snippet, works as expected:
library.sources.configureEach(dev.nokee.language.c.CSourceSet::class.java) {} // succeeds
library.sources.configureEach(CSourceSet as Class<dev.nokee.language.c.CSourceSet>) {} // succeeds

However, we cannot import dev.nokee.language.c.CSourceSet as the extension takes precedence over the import statement. It's also unclear what is the priority order for the default org.gradle.langugage.c.CSourceSet and a standard import statement.

Any progress on this bug?

Thank you for providing a valid reproducer.
The issue is in the backlog of the relevant team and is prioritized by them.

This is quite a corner case though. And the use case is itself a workaround for https://github.com/gradle/gradle/issues/7557 so I can say that other more pressing issues will have priority.

If you are interested in contributing to Gradle, this issue is actionable and ready for contribution but might be challenging for first time contributors.
See CONTRIBUTING.md for more information.

Where in the codebase would this issue be if someone wants to work on this? What actionable steps could someone take from the perspective of a core developer to help resolve this issue?

The member is considered as "non accessible" here
https://github.com/gradle/gradle/blob/f346807da8fcee3d9185e5c2f4212c0ab951dd82/subprojects/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt#L335
A test case should be added in TypeAccessibilityProviderTest.


ignore-label accepts only one label

I am ignoring PR's that are created from github_actions and draft.

But the action still does not ignore it.

That's how I use it.
ignore-label: 'dependencies, github_actions, draft'

Ignore label accept 1 label only.

Ignore label accept 1 label only.

Can we enhance it to accept more ?

Can you try v2.4.0 and let me know? Thanks

Can you try v2.5.0 and let me know? Thanks


Allow for node serialization via OutputStream

As discussed  here it should be possible to serialize a Document/Node via an OutputStream rather than its String representation.

Merged with the recent changes - https://github.com/jhy/jsoup/pull/470/


Export JobArgs and HubArgs types for runner

JobArgs and HubArgs are not object types, so a user of the library can't construct them for the connector runner unless they are exported by the package. Resolves #39.
package.json
{
  "name": "@itwin/connector-framework",
  "version": "0.1.0",
  "description": "iTwin Connector Framework",
  "main": "lib/connector-framework.js 👈",
  "typings": "lib/connector-framework"

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Whoa sorry I'm not sure why review was requested from all of the code owners.

@akshay-madhukar @admccarthy1 Can you two also please have a look at this PR?  Thanks!

Closing, please see #52.


Unable To Create New Angular Project

Hello everyone, I just purchased a new laptop and installed Node JS on it. I was creating my Angular 7 project but am unable to do so using the cli. Need assistance at the earliest. I will share screenshots of the issue below.

Kindly help me resolve this issue.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Remove use of ideal headroom when allocating, has not been used for a…

… long time (always 0)

Great! The motivation for this feature was noble, but hard to realize in the real world in a system with limited resources

@smorgrav any comments?

I'm heartbroken but as the saying goes; you have to kill your babies (or something). Code is not used and we'll not use it in near future - removing it is the tight thing to do


This PR enables pipeline hot-reloading

Description here in the documentation section: https://github.com/cg-tuwien/VulkanLaunchpad/blob/pipeline-hot-reloading/README.md#pipeline-hot-reloading

Ah, if compilation fails, the application crashes. That would be a nice-to-not-have. ^^

If shader compilation fails, the program crashes no longer durinig hot-reloading (only during user-triggered loading through vklCreateGraphicsPipeline (as before)).

otherwise, lgtm, but I would wait for a second reviewer :)


Is there any to connect Claude with my own knowledgebase?

Not directly, no; you can use tools like embeddings in a vector database for this. There are a variety of third-party libraries that help with use-cases like this.


Remove IF NOT EXISTS from create database command

The IF NOT EXISTS syntax for CREATE DATABASE is now the default and only behavior. This ticket is to remove the syntax from the parser.
The earliest this should be done is 0.12. The syntax will be ignored in 0.10 and 0.11.
Related to #5563.

For 'v0.13.0', this should log a warning message telling the user that IF NOT EXISTS queries are now default and will be removed in v1.0.0.
Also, we should make sure that any other queries used to support IF NOT EXISTS have this same warning.


Bug: validation: "strict"does not work

Dear Grav Team,
I'm pretty sure this bug was introduced a while ago (when re-factoring the Blueprint classes). But today I noticed that validation: "strict" cannot be "switched on", i.e., $blueprint->validate() never throws an error even if you provide data that do not exists in the blueprint definition. MWE:
form:
  validation: strict

  fields:
    test:
      type: text
      label: "Test"

Then with PHP:
$blueprint = new Blueprint("blueprints://...");
$blueprint->validate(['wrong' => 'field']);

Passed this along to matias, as Forms/Blueprints are his speciality :)

Note that blueprints need to be loaded and initialized now:
$blueprint = new Blueprint($filename);
$blueprint->load()->init();
$blueprint->validate(['wrong' => 'field']);
``

@Sommerregen Unfortunately we have to revert this change from Grav 1.6 because of too many plugins and forms break because of the fix. :(

@Sommerregen We decided to put this feature under a configuration option as way too many forms stop working because of devtools added a bad configuration option which people forgot to remove.


Hero feature

Add hero feature with health:

[x] Create Hero component
[x] Add health mechanic
[x] Add attack Hero mechanic
[x] Add Game over when hero dies mechanic

(Optional for now)

[ ] Add hero moral mechanic and component

Basics are done


Timing with the chrome extension doesn't start time in Web UI

If I time in one tab I have to open my web toggl timer and refresh the page. It used to poll and start timing.

The web app is so slow now and takes 4 seconds with a silly loading splash screen.

General comment: the friction to use the tool is really growing.

This is issue with the web client not Toggl Button extension. I know that the web team is currently working on improving the load time of the web app. Thank you for the feedback.


Powertoys run failing to launch

Microsoft PowerToys version
"0.37.2"
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Used powertoys run
✔ Expected Behavior
Powertoys run to launch
❌ Actual Behavior
'Something went wrong' window opens up
Other Software
None

can you share the zipfile from "Report bug" option in the system tray icon?

I have a similar problem. After launching Power Toys (Preview) v0.37.2 I can use PowerToys Run exactly once. Any subsequent attempts to use the shortcut (Win + Space) produces no result. Not even an error message
PowerToysReport_2021-06-12-21-04-55.zip

I have a similar problem. After launching Power Toys (Preview) v0.37.2 I can use PowerToys Run exactly once. Any subsequent attempts to use the shortcut (Win + Space) produces no result. Not even an error message
PowerToysReport_2021-06-12-21-04-55.zip

我也是打不开,这是bug

I have a similar problem. After launching Power Toys (Preview) v0.37.2 I can use PowerToys Run exactly once. Any subsequent attempts to use the shortcut (Win + Space) produces no result. Not even an error message
PowerToysReport_2021-06-12-21-04-55.zip

After a system reboot, PowerToys Run seems to be working fine. Hope that helps

Press hot key (alt-space). Upon fresh boot, error occurred every time I pressed the hot key. NOTE: after opening the PowerToys main dialogue and closing it, the error stopped (until reboot). I anticipate it's a conflict with my org's RIGOROUS IT policy.
"PowerToys Run ran into an issue"
2021-06-16.txt


Interface for authors (non-compadrions) to contribute data

If logged in - can we not direct them to the "add new publication form" and make this available to logged in users? @simonrolph


代码中query的顺序没有打乱，打乱后准确率显著下降。The order of the query in the code is not shuffled, and the accuracy dropped significantly after being shuffled.

作者您好，我和朋友在运行这份代码的时候发现这样一个问题：
query的输入顺序是和support的顺序固定一致的，此时训练后的模型在验证集上准确率能有85.684%，比较高。然而在把query的顺序打乱的情况下训练模型，只能在验证集上得到77.042%的准确率。公认的是，query的顺序应该被打乱。我们认为是您的图神经网络出现了过拟合，学习到了query的固定顺序。您能对此作出解释吗？感谢。（上述准确率均是在一块2080ti GPU上训练得到的结果，由于显存的原因，我将train_batch_size和test_batch_size改小到了32和16）
Hello author, friends and I found this problem when running this code:
The input order of query is consistent with the order of support. At this time, the accuracy of the trained model on the validation set can be 85.684%, which is relatively high. However, when the query order is shuffled, the model can only obtain 77.042% accuracy on the validation set. It is generally accepted that the order of queries should be recognized. We think that your BGNN has overfitted and learned a fixed order of queries. Can you explain this? Thanks. (The above accuracy rates are obtained by training on a 2080ti GPU. Due to limited GPU memory, I changed the train_batch_size and test_batch_size to 32 and 16)

作者您好，我和朋友在运行这份代码的时候发现这样一个问题：
query的输入顺序是和support的顺序固定一致的，此时训练后的模型在验证集上准确率能有85.684%，比较高。然而在把query的顺序打乱的情况下训练模型，只能在验证集上得到77.042%的准确率。公认的是，query的顺序应该被打乱。我们认为是您的图神经网络出现了过拟合，学习到了query的固定顺序。您能对此作出解释吗？感谢。（上述准确率均是在一块2080ti GPU上训练得到的结果，由于显存的原因，我将train_batch_size和test_batch_size改小到了32和16）
Hello author, friends and I found this problem when running this code:
The input order of query is consistent with the order of support. At this time, the accuracy of the trained model on the validation set can be 85.684%, which is relatively high. However, when the query order is shuffled, the model can only obtain 77.042% accuracy on the validation set. It is generally accepted that the order of queries should be recognized. We think that your BGNN has overfitted and learned a fixed order of queries. Can you explain this? Thanks. (The above accuracy rates are obtained by training on a 2080ti GPU. Due to limited GPU memory, I changed the train_batch_size and test_batch_size to 32 and 16)

Hi EternalWang,
I just checked the data loader and there is something wrong with the query order. I directly use the same script in https://github.com/khy0809/fewshot-egnn and did not shuffle it... I will fix the error and update the source code and the results in arxiv soon. Thanks for pointing out.
Cheers,
Yadan

Hi EternalWang,
I re-ran the experiments and I found the results do not have a substantial change. But it did take a longer time for convergence. You may need to set a larger batch size to reach the same performance.
Cheers,
Yadan

Hi Luoyadan,
I also think that batch size will affect accuracy, but its impact is acceptable, relative to whether the order of the query is shuffled. Could you please update the source code?
Cheers,
EternalWang

Hi EternalWang,
I re-ran the experiments and I found the results do not have a substantial change. But it did take a longer time for convergence. You may need to set a larger batch size to reach the same performance.
Cheers,
Yadan

Hi, @Luoyadan :
I also found the problem mentioned by E in the code. When I re-implemented the code, I found that the accuracy of your project was greatly reduced. I hope you can face up to this problem and update the code in time. Looking forward to your reply!

Hi EternalWang,
I re-ran the experiments and I found the results do not have a substantial change. But it did take a longer time for convergence. You may need to set a larger batch size to reach the same performance.
Cheers,
Yadan

Hi, @Luoyadan :
I also found the problem mentioned by @EternalWang  in the code. When I re-implemented the code, I found that the accuracy of your project was greatly reduced. I hope you can face up to this problem and update the code in time. Looking forward to your reply

Hi all,
I will update the source code by the next week, since I am currently
staying in hospital without my laptop. Thanks for your understanding.
Cheers,
Yadan
Tang Hao<EMAIL_ADDRESS>周日下午2:12写道：

Hi EternalWang,
I re-ran the experiments and I found the results do not have a substantial
change. But it did take a longer time for convergence. You may need to set
a larger batch size to reach the same performance.
Cheers,
Yadan
Hi, @Luoyadan https://github.com/Luoyadan :
I also found the problem mentioned by @EternalWang
https://github.com/EternalWang in the code. When I re-implemented the
code, I found that the accuracy of your project was greatly reduced. I hope
you can face up to this problem and update the code in time. Looking
forward to your reply
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Luoyadan/BGNN-AAAI/issues/1?email_source=notifications&email_token=AEB3WPGH22XQRZEG4FDGPKLREHZS7A5CNFSM4KWJXFJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVQ7YY#issuecomment-590024675,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEB3WPBOT42YBCCYWEY4OBLREHZS7ANCNFSM4KWJXFJA
.

--
Yadan Luo
School of Information Technology and Electrical Engineering
University of Queensland
Brisbane, Australia

Dear all,
The query shuffle is enabled in the updated version. The CML-BGNN-3 can achieve 87.05% on the 5-way 1-shot classification task of the tiered-imagenet dataset, which is 1% lower than the results we reported.
Cheers,
Yadan

Dear all,
The query shuffle is enabled in the updated version. The CML-BGNN-3 can achieve 87.05% on the 5-way 1-shot classification task of the tiered-imagenet dataset, which is 1% lower than the results we reported.
Cheers,
Yadan

Thank you for updating the code. However, this shuffle setting only shuffles the sequence inside the class, without shuffle the whole query sets. eg. For only one query scenario, the query in the first position always belongs to the first class.
Could we shuffle the query like below:
# before shuffle
# query label
[0, 1, 2, 3, 4]

# after shuffle
# query label
[4, 2, 1, 3 0] # specifically random for each task


improvments to pie chart

need a quantity on all slices > 0. Slices with no votes should have no label

also change title. currently it says Here is some fancy data:


⚠ Bofrost.be has degraded performance

In a5cd7e2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1116 ms

Resolved: Bofrost.be performance has improved in a441f23 after 21 minutes.


ArgumentMatch type rest no longer ignores phrases that match a flag

This occurred to me not too long ago, figured I did something wrong,
my client who apparanently ran npm i just yesterday had all the commands with ArgumentMatch rest stop working, this obviously confirms that I wasn't wrong and there's something with the arguments being parsed.

Hello, please provide your version (i.e. commit hash) and a minimal reproducible example.

sorry daddy

sorry daddy


What is the minimum hardware requirements to run fastcomposer?

it takes around 6gb gpu memory for batch size=1 inference. the gradio demo currently uses around 10 gb ram and you can reduce it to 6 by setting num_images_per_prompt=1 at https://github.com/mit-han-lab/fastcomposer/blob/e62a85108f722db7cd9cbb46e933f0c4e423f470/demo/run_gradio.py#L52


fix(taskframework):  use default entry point to replace init cmd

What type of PR is this?

type-bug
module-taskframework
What this PR does / why we need it:
1.task executor use start-odc.sh and when environment contain ODC_BOOT_MODE and value is TASK_EXECUTOR, pod will be started as task executor
2.fix log query NPE when job is RUNNING and log bucket name and object id is not uploaded at this period time
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

Write only task framework internal logs to executor.log

done


Bumped production RELEASE for 1.21-11

Bumped production RELEASE for 1.21-11
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/unhold


Removed unnecessary dependencies from the core lib go.mod

Removed unnecessary dependencies from the core lib go.mod

You can safely ignore codeship error. It is just saying that the config file does not exist.
I removed the codeship integration configuration, so the error should now show up again.

Thanks !


Including a custom schema

How would I go about validating a given JSON file against a custom schema? i.e. one provided in my own project and not in the schemastore.

For example, you configure the rule as follows:
    "json-schema-validator/no-invalid": [
        "error",
        {
            "schemas": [
                {
                    "fileMatch": [".your-rc.json", ".your-rc.yaml"],
                    "schema": "path/to/custom-schema.json"
                }
            ]
        }
    ]

https://ota-meshi.github.io/eslint-plugin-json-schema-validator/rules/no-invalid.html#options

Thank you, that appears to have worked, however:
Draft 2019-09 schemas are not yet fully supported.
Does this imply that no further validation will be run on matching files?

Resolved by adding json to the vscode eslint validator config, per the readme.


await not working as advertised

Hi there - feel like a bit of an idiot, been staring at this for nearly an hour.
            it('fails', async function () {
                expect(await UserInterface.newUser({
                    email<EMAIL_ADDRESS>                    password: 'anotherpassword',
                })).to.be.rejectedWith(MongoError);
            });

fails to capture the error:
    .newUser
         when the user already exists
           fails:
     MongoError: E11000 duplicate key error collection: huang_test.users index: email_1 dup key: {<EMAIL_ADDRESS>}
      at Function.MongoError.create (node_modules\mongodb-core\lib\error.js:31:11)
      at toError (node_modules\mongodb\lib\utils.js:139:22)
      at node_modules\mongodb\lib\collection.js:668:23
      at handleCallback (node_modules\mongodb\lib\utils.js:120:56)
      at node_modules\mongodb\lib\bulk\unordered.js:465:9
      at handleCallback (node_modules\mongodb\lib\utils.js:120:56)
      at resultHandler (node_modules\mongodb\lib\bulk\unordered.js:413:5)
      at node_modules\mongodb-core\lib\connection\pool.js:469:18
      at _combinedTickCallback (internal/process/next_tick.js:131:7)
      at process._tickCallback (internal/process/next_tick.js:180:9)

The docs are pretty straightforward here, so I assume it's something I'm doing wrong.

@budleigh I think you just need to pull await out of expect:
await expect(Promise.reject(new TypeError())).to.be.rejectedWith(TypeError);

@meeber Thanks! Just had the same issue. Pulling await out works for me.


Adding images to assets folder

Changing the file location where the images are used

Please assign me this issue

Please assign me this issue

I have mentioned multiple times that whenever you raise an issue, please avoid these comments. If the description is elaborate enough, the project maintainers would definitely assign you within 24-48 hours


[Feature Request] A switch command to add data continuously when switch is on

As suggested with @daemon1024.
Idea
/saveurl on

From here on whatever URLs are shared the links are kept in the database. Yeah will need to clean up
things regularly, but still would be convenient

Things that can be implemented

[ ] A switch command to switch on the bot to listen on a particular server/channel every time.
[ ] Delete command to delete previous messages containing links.

Thanks for the suggestion will start working on it


Add Dockerfile for local execution

Fix #17
Fix #21

@takaiyuk After merging this PR, please push the image to your dockerhub account with adding config.py to .dockerignore.

OK, I will push the image after fixing bugs that occur when punching a clock twice a day or pending status.


Class name must be a valid object or a string laravel 6

Symfony\Component\Debug\Exception\FatalThrowableError  : Class name must be a valid object or a string
at C:\xampp\htdocs\blog\vendor\nwidart\laravel-modules\src\LaravelModulesServiceProvider.php:59
55|         $this->app->singleton(Contracts\ActivatorInterface::class, function ($app) {
56|             $activator = $app['config']->get('modules.activator');
57|             $class = $app['config']->get('modules.activators.' . $activator)['class'];
58|

59|             return new $class($app);
60|         });
61|         $this->app->alias(Contracts\RepositoryInterface::class, 'modules');
62|     }
63| }

When are you getting this error?

When create new module
On Thu, Oct 3, 2019, 2:07 PM Nicolas Widart<EMAIL_ADDRESS>wrote:

When are you getting this error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nWidart/laravel-modules/issues/843?email_source=notifications&email_token=AEKGN3F4ORBZG7ZOBLB6WKTQMXOBJA5CNFSM4I44BSKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAH7LLA#issuecomment-537916844,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEKGN3A6ONTF2AXDWVJMA3DQMXOBJANCNFSM4I44BSKA
.

I can't reproduce this here. Which version of php are you using?

PHP Version 7.3.10

ı have this error .

Anyone have solving the problem?

A better error messages was added in 6.1


row grouping - limit

[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior:
Limit number set max grups on page.
Expected behavior:
Limit number should set max of all rows in the page.
Reproduction of the problem:
If group limit is two, first and second group will have 200 rows anothers 20 then offset page height betweet first page and another si too big.
Limit on rows split group to more pages.
What is the motivation / use case for changing the behavior?
User frendly.
Please tell us about your environment:
Table version: ^10.2.3
Angular version: 4.4.4
Browser:  [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript 2.5.3 | ES6/7 | ES5]

Up.
Do you have any idea how to implement this? Some workaround maybe?
Thank you

In the end we create our own row group because we want to use row group with virtual scroll witch ngx-datatable doesn't allow. We add two more collums to datatable (groupId, GroupName), which are hidden. We take forEach over data and when groupId change than we push new row to the array with prop: isRowGroup = true and groupName = groupName. In template when row has set isrowGroup then we change template..


Startup script fails and I can't use extension

Describe the bug
Everytime I launch VS Code a terminal is created to run a script, but the script fails and I can't use any of the extension features.
To Reproduce
Steps to reproduce the behavior:

Launch VS Code
Terminal opens and script fails

Expected behavior
Terminal opens, runs the script and enable all features of the extension
Screenshots

Desktop:

SQLTools Version: v0.25.1
VS Code Version: v1.72.2
OS: Windows
Driver:

[ ] PostgreSQL/Redshift
[x] MySQL/MariaDB
[ ] MSSQL/Azure
[x] SQLite
[ ] Other? Which...

Yea fixed by changing useNodeRuntime
"sqltools.useNodeRuntime": "C:\\Program Files\\nodejs\\node.exe"

it was set to true for some reason


fix(search): enable search relevancy by adding _ in the main_tokenizer

Currently, in the following example. A user should expect the search for 'core dataset' to appear at the top as an exact match. However due to the existing search configurations, the results for a matching id/name/urn are all scored the same which may result in irrelevant entities being pushed to the top. (this is evident in our instance as there are easily tens of entities with very similar/extended names).

Elasticsearch references the score using 'length of the field' / 'average length of the field' (this is a heavily simplified explanation, see more). Since the main_tokenizer does not tokenize underscores, the 'length of the field' always results to 3 in this case:  [my_platform, my_schema, core_dataset]. Thus resulting in all the results to get the same score.
This small MR aims to tokenize underscores so that the length of the field calculates as 6, which is lesser than the other results (the 'irrelevant' one should return 9), increasing the score and pushing the result to the top.
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Hey @david-leifker would appreciate your thoughts! If we're aligned, I'll proceed to update the tests.

Early on I did this exact same thing, I added this delimiter to be tokenized. It definitely broke other use cases and arguably for some users core dataset is not an exact match for core_dataset. Some users see those as non-exact and I was not able to reconcile both cases. While I have not thought through this scenario, my hope is that there might be some way to account for this case by customizing the search query or scoring at runtime over index time.

Thanks for the thorough explanation @david-leifker ! When you mention that it 'broke other use cases', do you have other examples?  I'll close this PR for now - I'm still inclined to introduce this in our fork as a patch while we figure out a better solution. Our users are now thinking that the search experience isn't up to par give the large number of entities that we have.


ActionView::Template::Error: undefined local variable or method `f' for #<#Class:0x007f18f5852040:0x007f18f5889630>

View details in Rollbar: https://rollbar.com/trystant/BOW/items/713/

NameError: undefined local variable or method `f' for #<#<Class:0x007f18f5852040>:0x007f18f5889630>
  File<EMAIL_ADDRESS>line 30, in method_missing
  File "/home/ubuntu/workspace/app/helpers/application_helper.rb", line 7, in alphabetized_state_dropdown_by_country
  File "/home/ubuntu/workspace/app/views/articles/_form.html.erb", line 66, in block in _app_views_articles__form_html_erb___2628114921738930429_69872587970920
  File<EMAIL_ADDRESS>line 38, in block in capture
  File<EMAIL_ADDRESS>line 202, in with_output_buffer
  File<EMAIL_ADDRESS>line 5, in with_output_buffer_with_haml_xss
  File<EMAIL_ADDRESS>line 38, in capture
  File<EMAIL_ADDRESS>line 52, in capture_with_haml
  File<EMAIL_ADDRESS>line 444, in form_for
  File<EMAIL_ADDRESS>line 139, in form_for_with_haml
  File<EMAIL_ADDRESS>line 28, in form_for_with_haml_xss
  File<EMAIL_ADDRESS>line 26, in block in simple_form_for
  File<EMAIL_ADDRESS>line 45, in with_simple_form_field_error_proc
  File<EMAIL_ADDRESS>line 25, in simple_form_for
  File "/home/ubuntu/workspace/app/views/articles/_form.html.erb", line 1, in _app_views_articles__form_html_erb___2628114921738930429_69872587970920
  File<EMAIL_ADDRESS>line 145, in block in render
  File<EMAIL_ADDRESS>line 164, in block in instrument
  File<EMAIL_ADDRESS>line 20, in instrument
  File<EMAIL_ADDRESS>line 164, in instrument
  File<EMAIL_ADDRESS>line 333, in instrument
  File<EMAIL_ADDRESS>line 143, in render
  File<EMAIL_ADDRESS>line 339, in render_partial
  File<EMAIL_ADDRESS>line 310, in block in render
  File<EMAIL_ADDRESS>line 39, in block in instrument
  File<EMAIL_ADDRESS>line 164, in block in instrument
  File<EMAIL_ADDRESS>line 20, in instrument
  File<EMAIL_ADDRESS>line 164, in instrument
  File<EMAIL_ADDRESS>line 39, in instrument
  File<EMAIL_ADDRESS>line 309, in render
  File<EMAIL_ADDRESS>line 51, in render_partial
  File<EMAIL_ADDRESS>line 35, in render
  File<EMAIL_ADDRESS>line 12, in render_with_haml
  File "/home/ubuntu/workspace/app/views/articles/new.html.erb", line 8, in _app_views_articles_new_html_erb__3577355013200338051_69872646942160
  File<EMAIL_ADDRESS>line 145, in block in render
  File<EMAIL_ADDRESS>line 164, in block in instrument
  File<EMAIL_ADDRESS>line 20, in instrument
  File<EMAIL_ADDRESS>line 164, in instrument
  File<EMAIL_ADDRESS>line 333, in instrument
  File<EMAIL_ADDRESS>line 143, in render
  File<EMAIL_ADDRESS>line 54, in block (2 levels) in render_template
  File<EMAIL_ADDRESS>line 39, in block in instrument
  File<EMAIL_ADDRESS>line 164, in block in instrument
  File<EMAIL_ADDRESS>line 20, in instrument
  File<EMAIL_ADDRESS>line 164, in instrument
  File<EMAIL_ADDRESS>line 39, in instrument
  File<EMAIL_ADDRESS>line 53, in block in render_template
  File<EMAIL_ADDRESS>line 61, in render_with_layout
  File<EMAIL_ADDRESS>line 52, in render_template
  File "/

This is a dev error and can be closed.


Add "Unspecified" Build Type and Use by Default (Kits Only)

For #3821
This makes it so that the default variant is "unspec" which basically lets CMake handle what build type to use. I used "unspec" because that is also what the kit selection uses for unspecified.

@sinemakinci1 this had a docs change if you want to review

@gcampbell-msft What do you think of the wording updates in the doc file update? I made a distinction between the word "option" and "variant" that may be confusing. Do you have ideas for alternative wording?


Arrow button is not displaying

I tried simple example provided in this docs. arrow icon is not showing.
So previous and next image i can't able to move.
tried options for carousel:
plugins={['arrows']}

The same here
Arrows are not showing at all, not matter if using the default arrows or custom ones

Same here, also all plugins can't be loaded

Have you tried following
<Carousel     arrows />

May i know how to give custom arrows?

Having the same issue. It looks like only the v1 way is working right now.

same here

Also having this issue and using arrows staggers all the images into a single view:

          <Carousel arrows>

          </Carousel>

Have you tried following
<Carousel arrows />

I was having the same problem and this solved! I also customized the arrows by overriding its class in CSS.

I belive thats because the package is defaulting to installing version 1.

@Vladis466 I've explicitly installed version 2 and still had similar issues

I belive thats because the package is defaulting to installing version 1.

Yep, you are right. I've installed using npm install<EMAIL_ADDRESS>and I can see the arrows now.
Thanks!

I belive thats because the package is defaulting to installing version 1.

This also solved my issue. Using yarn:
yarn add @brainhubeu/react-carousel@^

Using @^ shows a list of available versions for you to choose from. I chose 2.0.1 (latest).

I thought it might have been an issue with the CSS perhaps, but the arrows are not even being rendered to the DOM

Can confirm this with the latest version. No elements are rendered in the dom.

I belive thats because the package is defaulting to installing version 1.

I'm on latest version (2.0.1) using the approach mentioned in the docs:
<Carousel
  plugins={['arrows']}
>

</Carousel>

I thought it might have been an issue with the CSS perhaps, but the arrows are not even being rendered to the DOM.

How did Got on the latest version ? If you do npm install @brainhubeu/react-carousel I get v1.19.26

I belive thats because the package is defaulting to installing version 1.

I'm on latest version (2.0.1) using the approach mentioned in the docs:
<Carousel
  plugins={['arrows']}
>

</Carousel>

I thought it might have been an issue with the CSS perhaps, but the arrows are not even being rendered to the DOM.

How did Got on the latest version ? If you do npm install @brainhubeu/react-carousel I get v1.19.26

@withewolf-dev change your package.json to this:
"dependencies": {
    "@brainhubeu/react-carousel": "^2.0.0",

@withewolf-dev change your package.json to this:
"dependencies": {
    "@brainhubeu/react-carousel": "^2.0.0",

I've had the same problem, working on a react/typescript project.
I was using the following Dependencies:

react: "17.0.1"
react-dom: "17.0.1"
@brainhubeu/react-carousel: "2.0.2"

and devDevendencies:

typescript: "4.1.3"
@types/brainhubeu__react-carousel: "2.0.2"

Downgrading react and react-dom versions to 16.8.0 (which seem to be peer dependencies of the 2.0.2 version of the library) solved the issue for me.

I've had the same problem, working on a react/typescript project.
I was using the following Dependencies:

react: "17.0.1"
react-dom: "17.0.1"
@brainhubeu/react-carousel: "2.0.2"

and devDevendencies:

typescript: "4.1.3"
@types/brainhubeu__react-carousel: "2.0.2"

Downgrading react and react-dom versions to 16.8.0 (which seem to be peer dependencies of the 2.0.2 version of the library) solved the issue for me.

Any update on this? Also experiencing this issue.

Hello, you must add this line of code.
<Carousel             plugins={[               {                 resolve: arrowsPlugin,               }             ]}


Question about your api

Hi when I use your api how does it work exactly? Does it work like this:
I use this in my python application:

from procyclingstats import Rider
rider = Rider("rider/tadej-pogacar")
rider.birthdate()
"1998-9-21"

When does the webscraping happen? Is it scraping locally from my device or am I making calls to a db/server that you created using the scraping? When is the data updated?
Thanks for your answer

When you run the shown script, you make an HTML request to procyclingstats.com. The library then parses retrieved HTML and returns wanted data. So everything is happening locally on your device. Basically the main thing that the library does, is HTML parsing.


handle case that requester does not support measurement.

Fix: https://github.com/DMTF/libspdm/issues/558
Signed-off-by: Jiewen Yao<EMAIL_ADDRESS>

That returns SPDM_ERROR_CODE_UNSPECIFIED to the Requester instead of SPDM_ERROR_CODE_INVALID_REQUEST.

If MeasurementSpecificationSel is zero Responder also needs to return an error if Requester sends GET_MEASUREMENTS.

If MeasurementSpecificationSel is zero Responder also needs to return an error if Requester sends GET_MEASUREMENTS; also ALGORITHMS.MeasurementHashAlgo needs to be zero.

Yes, that is already done in libspdm_measurement_collection. That is why I removed ASSERT.

Update:

Add check If MeasurementSpecificationSel can be zero then this brings in more checks on the Responder side. If MeasurementSpecificationSel is zero then

CHALLENGE.Param2 must be zero.
KEY_EXCHANGE.Param1 must be zero.
PSK_EXCHANGE.Param1 must be zero.

If MeasurementSpecificationSel is zero Responder also needs to return an error if Requester sends GET_MEASUREMENTS

ALGORITHMS.MeasurementHashAlgo needs to be zero.


[]: why? TON_CONNECT_SDK_ERROR can't get xxxx

The address manifestUrl.json file cannot be found when the APP connects？

Hi @2995404392 ! Could you provide more details about the issue?


Firmware 7

I have a problem witch firmware 7
[11/12/2022, 19:31:34] [homebridge-enphase-envoy] Device: <IP_ADDRESS> Envoy-S, inventory error: AxiosError: Request failed with status code 401, reconnect in 15s.

homebridge.log-4.txt

Please generate new Token here https://enlighten.enphaseenergy.com/entrez-auth-token?serial_num={} and ad it to the plugin Config and let me know.

Same problem

Are you sure you have paste only the data after Token: without apostrophe

yes sure

Here https://github.com/grzegorz914/homebridge-enphase-envoy/issues/63#issuecomment-1345527583  by test was same problem but was fixed after generate new token.

Dont work for me :/

can you try 6.0.1-beta.0 and let me know

homebridge.log-8.txt
I retested to hand over my token via both:
https://enlighten.enphaseenergy.com/entrez-auth-token?serial_num=12224xxxxx
and
https://entrez.enphaseenergy.com
But still the same error

The on/off of the gateway did not change anything, on the internet I see a lot of people using session cookies.
When I try to curl
curl -f -k -H 'Authorization: Bearer TOKENTOKENTOEKN' -X GET https://<IP_ADDRESS>/api/v1/production/inverters
curl: (22) The requested URL returned error: 401 Unauthorized
But
curl -f -k -H 'Authorization: Bearer TOKENTOKENTOEKN' -X GET https://<IP_ADDRESS>/api/v1/production/
-- > {
"wattHoursToday": 0,
"wattHoursSevenDays": 21534,
"wattHoursLifetime": 21529,
"wattsNow": 8
}
But in the web Gui after login witch token.

can you try with CURL this: curl -f -k -H 'Authorization: Bearer TOKENTOKENTOEKN' -X GET https://inventory.json
and let me know the output

beta.2 enabled cookies, try again please

pi@homebridge:~ $ curl -f -k -H 'Authorization: Bearer TOKENTOKEN' -X GET https://<IP_ADDRESS>/inventory.json
curl: (22) The requested URL returned error: 401 Unauthorized.

After login witch token in the web Gui

For the beta 2 the same error

look here https://github.com/edasque/enphaseLocalToInfluxDB#authorization-flow

looks like some bug in envoy firmware, I pushed beta.3 to test, here skipped the inventory data, try it and post the log please

ups try beta.4

homebridge.log-10.txt

arę you try beta.4

yes at the bottom of the log it's beta 4

homebridge.log-11.txt
[13/12/2022, 09:32:27] [homebridge-enphase-envoy] Device: <IP_ADDRESS> Envoy-Ss, debug production: {
"wattHoursToday": 149,
"wattHoursSevenDays": 21534,
"wattHoursLifetime": 21675,
"wattsNow": 520
}
[13/12/2022, 09:32:27] [homebridge-enphase-envoy] Device: <IP_ADDRESS> Envoy-Ss, production ct error: AxiosError: Request failed with status code 401, reconnect in 15s.

Uploading homebridge.log-12.txt…

Uploading homebridge.log-13.txt…

ok, try beta.8 and get me the log, I have added some debug to the response

beta.9 ready

homebridge.log-15.txt

try beta.10

homebridge.log-16.txt

beta.11 ready

homebridge.log-17.txt

try beta.12

homebridge.log-18.txt

homebridge.log-19.txt
beta 20

beta.21

homebridge.log-20.txt
Beta 21

try 22

try 23

homebridge.log-22.txt
beta 23

24

homebridge.log-23.txt
beta 24

25

homebridge.log-24.txt

homebridge.log-25.txt
https://github.com/H4nsie/EnphaseEnvoy

it working 28

homebridge.log-26.txt
yes it seems to work, what was the problem?

try 29 too, need to pas cookies after check jet and set instance

homebridge.log-27.txt

nice, thanks for test

Sorry been AFK.
We all good now?

Homebridge 6.0.1 Beta 30.txt
As Requested

please again 31

homebridge 6.0.1 Beta 31.txt
"Envoy-S, power mode error: AxiosError: Request failed with status code 401, reconnect in 15s."

again 32

homebridge 6.0.1 Beta 32.txt
Nothing spotted

OK ready for release
Thanks

v6.0.1 released


PersistentVolumeClaim is not bound: "es-persistent-storage-elasticsearch-data-0"

Deployed this to UK West as we are potentially looking at using the elk stack. Deployment was successful however when logging into the dashboard I see the following error
PersistentVolumeClaim is not bound: "es-persistent-storage-elasticsearch-data-0"
when I look in the persistent volumes, nothing is listed and looking through the yaml and the config, I have identified the azure-disk location storage account but there all I can see in the portal is an empty blob.
Any help would be appreciated

@mikedbrook due to the fact that AKS is not GA yet, the solution is only guaranteed to successful deployment in three regions East US, South Central US and West Europe. The error of PVC that you encountered is likely caused by AKS.

@yaweiw I've just encountered the same error in West Europe.


fix: update axios nanoid mocha dependencies

forget about this MR
I'm updating only @types/mocha and axios as of now in another MR


Delivering application based on sketch

Hello,
I'm trying to make a standalone executable of an app made with sketch. I tried to look at qelt, since it has binaries here (itch.io), but I haven't been able to find a solution.
How can I define a main function? Just doing (make-instance 'app) doesn't work - main thread is closed immediately and the application is close just after starting up.

Hi again!
So I have been reading through source code and I have discovered *build* variable.
It seems that the following should work (make-this-thread-main as in kit.sdl2 README):
(let ((sketch::*build* t))
  (sdl2:make-this-thread-main
   (lambda ()
     (make-instance 'app))))

However, *build* is not exported, is it fine using it like this?

Hi @Gleefre! I found the script I think I used to build sketch:
(ql:quickload :bordeaux-threads)
(ql:quickload :trivial-dump-core)
(ql:quickload :qelt)

(defparameter *running* t)

(defmethod kit.sdl2:close-window :after ((instance sketch::sketch))
  (setf *running* nil))

(defun run ()
  (sb-ext:disable-debugger)
  (sketch::initialize-sketch)
  (bt:make-thread #'qelt:qelt)
  (loop while *running* do (sleep 1))
  #++
  (let ((thread (find "SDL2 Main Thread" (bt:all-threads)
		      :key 'bt:thread-name
		      :test 'equalp)))
    (bt:join-thread thread)))

(sb-ext:save-lisp-and-die "qelt.exe" :toplevel #'run :executable t)

.exe was there just for the Windows build I think - not sure if I was changing anything for Linux builds.
This is probably not the best way to do it (#++ is definitely an artifact of me trying out multiple things).
It's also not using ::*build* and I don't know why, as it probably is needed for

If you figure it out, feel free to create a PR. Ideally it would be something like sketch:make-executable. I could also invest some time into it relatively soon.

Hello! Thanks for your script, I'll give it a look.
I don't think that such a feature should be sketch:make-executable, since it will be working on sbcl only and will be forcing one method of making an executable (asdf:make can be another way of doing).
Instead, I think it should be something similar to sdl2kit define-start-function.

I have been thinking on the possibilities of the define-start-function.
I think it must be able to define both toplevel function (to pass to the save-lisp-or-die or be used in combination with asdf:make) and one that can be used from REPL.
Also it would be nice if it could be used to define additional initialization and quit parts (like sdl2-mixer).
I have come up with following usage example:
(define-start-function (start) key-piano (:resizable t)
  (:on-close (app)
    (close-notes (key-piano-notes app)))
  (:start
    (sdl2-mixer:init :wave)
    (sdl2-mixer:open-audio 22050 :s16sys 1 1024)
    (sdl2-mixer:allocate-channels 100))
  (:quit
    (sdl2-mixer:halt-channel -1)
    (sdl2-mixer:close-audio)
    (sdl2-mixer:quit)
    (print 'bye!)))

And a somewhat ugly implementation:
(defmacro define-start-function ((name &optional toplevel-name)
                                 sketch-name initargs
                                 &rest options)
  "If toplevel-name is not specified uses `<name>-toplevel'.
Possible options:
  :setup - defines `sketch:setup' `:before' method
      (:setup (<arg-name>)
        <body>)
  :on-close - defines `kit.sdl2:on-close' `:before' method;
      (:on-close (<arg-name>)
        <body>)
  :start - executed before creating an instance of sketch (on every function call)
      (:start <body>)
  :quit - executed after the instance is closed (only for toplevel function)
      (:quit <body>)"
  (let ((initargs-name (gensym "INITARGS"))
        (toplevel-name (or toplevel-name
                           (intern (concatenate 'string
                                                (symbol-name name)
                                                "-TOPLEVEL")
                                   (symbol-package name)))))
    (flet ((define-method (name allow-other-keys arg &rest body)
             `(defmethod ,name :before ((,@arg ,sketch-name)
                                        ,@(if allow-other-keys
                                              '(&key &allow-other-keys)))
                (declare (ignorable ,@arg))
                ,@body)))
      `(progn
         ,(alexandria:when-let (arg-and-body (cdr (assoc :setup options)))
            (apply #'define-method 'sketch:setup t arg-and-body))
         ,(alexandria:when-let (arg-and-body (cdr (assoc :on-close options)))
            (apply #'define-method 'kit.sdl2:close-window nil arg-and-body))
         (defun ,name (&rest ,initargs-name &key &allow-other-keys)
           (initialize-sketch)
           ,@(cdr (assoc :start options))
           (apply #'make-instance ',sketch-name (append ,initargs-name ',initargs)))
         (defun ,toplevel-name ()
           (sdl2:make-this-thread-main
            (lambda ()
              (let ((*build* t))
                (initialize-sketch)
                ,@(cdr (assoc :start options))
                (make-instance ',sketch-name ,@initargs))))
           ,@(cdr (assoc :quit options)))
         (values ,name ,toplevel-name)))))

What would you think?


[Standalone] Window size/position not set correctly

Continuing the discussion from f76f46cee873f4199cca691e8a232ffe48517998.
Changing the assignment order (moving x, y assignment above width, height) has no effect.
I think this might be slightly related to the way Ubuntu Unity can maximize windows to half the width of the screen.
Here's the best troubleshooting info I got:

Half-maximize the window (which is 939px wide). .zedstate contains "window":{"width":939,... (so far so good).

Quit zed, .zedstate remains unchanged.

Restart zed, window appears too narrow, and .zedstate now contains "window":{"width":720,...

Each subsequent restart stays fixed at 720px wide.

If I de-maximize zed, and then set some arbitrary width, it will remember that width after one restart, but the second restart after that will revert to 720px.
So: some unknown force is making Zed 720px wide, maximizing the window makes it happen every time, not-maximizing the window delays the issue by a single restart.
Quite bizarre. The only thing I can think of is that setBounds is getting called too soon in some kind of racy way? Can we delay it's call during startup?

This seems to have gotten worse in latest version of Zed. Zed no longer seems to have any ability to remember it's size or position across instances.
If I start with this .zedstate:
{"split":"1","window":{"width":960,"height":1058,"top":1102,"left":960,"isMaximized":false},"session.current":["zed::start"],"session.open":{}}

And then quit Zed and restart, the window appears in the default size/location, which corresponds to this .zedstate:
{"split":"1","window":{"width":1026,"height":793,"top":0,"left":1,"isMaximized":false},"session.current":["zed::start"],"session.open":{}}

This is standalone, ubuntu utopic, 64bit. I confirmed that after getting the window where I want it, .zedstate has the correct values (first listing above). So it seems at startup it's just not reading the .zedstate correctly.


[Azure Arc] Add Storage Class fields to Postgres deployment

Currently blocks experience for certain Postgres deployments

Data and logs class
Backup storage class

This has been done already


Create maximum function and maximum spec file

Pull Request Test Coverage Report for Build 85

24 of 24 (100.0%) changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 84:
0.0%

Covered Lines:
690

Relevant Lines:
690

💛  - Coveralls


Rover - Aion Robotics R1 UGV issues with executing position setpoints

Hi,
I was trying to send position waypoints to a differential steering vehicle with the PX4 frame set us :
Aion Robotics R1 UGV
I am working with a Pixhawk 2 cube and publishing waypoints through mavros to the topic: mavros/setpoint_position/local
My vehicle starts to move but it never steers even when the waypoints is to its right or left. It keeps going forward or backward with full throttle and I don't have a clear description to its random movement. I'm working in the lab with a Mocap system and my position settings are fine.
The parameters that  I changed in Qground control are only for the EKF to use vision instead of GPS and for setting up the companion computer.

Could you please upload a log to logs.px4.io and link it here? Thanks.

logs.px4.io

https://logs.px4.io/plot_app?log=04064ce8-7e43-4e3d-af40-d6c098599da2

FYI @ItsTimmy @Jaeyoung-Lim

@sarahToonsi The rover position controller requires you to have a GPS fix.

Original issue captures this already. This is not a real issue but rather a requirement.


Suggestion: Flag for getting all source code for all installed formuals in an dedicated dir

Provide a detailed description of the proposed feature
We are preparing a docker image for distribution containing a Brew tap (to own tap) and installation. To easily keep up with license compliance, we would like to be able to easily distribute the sources of all the forumulas brew installs, by a single commando maybe something like "with-source-code" or something, fetching all the downloaded formulas source code to a special source dir (with patches etc). As I understood, today this is not easily achieved automatically (if i'm wrong here, sorry), although the source code for the formulas might be in the cache dir by default (read that it still does not is 100% regarding patches etc in formulas).
What is the motivation for the feature?
To be able to distribute a brew installation in a docker container, and at the same time easily fullfil license compliance request regarding source code.
How will the feature be relevant to at least 90% of Homebrew users?
They will be able to easily full license compliance requests without manual work. They can easily use brew in container images and such, knowing that the layer which installs brew formulas is perfectly fine for license compliance requests.
What alternatives to the feature have been considered?
Looking around I understand this can partially be achvied by lookin in an eventual cache. and manually, but it would much better if there was an easy way to achive this out of the box.

How does including the source help with license compliance? Most licenses just require a copy of the license to be distributed with the software even when repackaged in binary form. This is something we do already.
See
https://github.com/Homebrew/brew/blob/9b42a104ee51fd2c45f91a72fc18bbad73b1aa5a/Library/Homebrew/build.rb#L175-L177
https://github.com/Homebrew/brew/blob/58e34293554a827e717a7383940c2e57c2d0b360/Library/Homebrew/extend/pathname.rb#L418-L433

Great, and that should cover most of the licenses except for copyleft styles like GPLx where distribution also means that the distributor also must provide source code on request. In other words. I.e if one distributes a docker image, where source code must be provided upon request. There has be a lot written about this . for example https://www.linuxfoundation.org/wp-content/uploads/Docker-Containers-for-Legal-Professionals-Whitepaper_042420.pdf and some solutions. Regarding solutions Fedora/Red Hat has solved it with serving a source image available to their base images .https://opensource.com/article/20/7/compliance-containers . For Debian and Alpine there is the OASDL image. https://www.osadl.org/OSADL-Docker-Base-Image.osadl-docker-base-image.0.html. Having an option like that would make it far easier for example use brew in an official docker image and be assured that upon compliance requests it would be supereasy to handle those requests.

I know these things are not that fun, but It is for my orga a real life use-case, and if we have it I guess other have it.

It doesn't do everything that you want, but you can use brew unpack:
Usage: brew unpack [options] formula [...]

Unpack the source files for formula into subdirectories of the current working
directory.

      --destdir                    Create subdirectories in the directory
                                   named by path instead.
      --patch                      Patches for formula will be applied to
                                   the unpacked source.
  -g, --git                        Initialise a Git repository in the unpacked
                                   source. This is useful for creating patches
                                   for the software.
  -f, --force                      Overwrite the destination directory if it
                                   already exists.
  -d, --debug                      Display any debugging information.
  -q, --quiet                      Make some output more quiet.
  -v, --verbose                    Make some output more verbose.
  -h, --help                       Show this message.

That I missed! Should be a good enough, with the --patch option, one then only has to step through the formulas I guess and pick them out.. Will try.  Thanks, I think it is good enough for the use case.


One More Addition

as the title says, i just had one addition to suggest

KINGDOM HEARTS Melody of Memory

thank you for all of your hard work!

I have added the game(s) you requested in the most recent release: https://github.com/hobby-grade/Nintendo-Switch-Discord-Status/releases/tag/1.0.2
Thank you for checking out the project, reach out if you have any more suggestions!


Confusing code example for DeepSpeed activation checkpointing

📚 Documentation
In the section here:
https://github.com/PyTorchLightning/pytorch-lightning/blob/master/docs/source/advanced/advanced_gpu.rst#deepspeed-activation-checkpointing
At line 557, a code comment says "Use the DeepSpeed checkpointing" while the code uses torch.utils.checkpoint.checkpoint, and below, it says the same thing, "Use the DeepSpeed checkpointing", but now it uses  deepspeed.checkpointing.checkpoint.
I am not sure what is the right correction here, since I don't have experience with those tools. Should we replace torch.utils.checkpoint.checkpoint with deepspeed.checkpointing.checkpoint at line 557 ?
Another issue is that the first part refers to self.layer_h which does not exist. I think it would make more sense to say self.block_1.
cc @borda @SeanNaren @awaelchli

Oh yes! Good catch. @SeanNaren  was cooking dinner for the Lightning team and a bit of sauce spilled onto the docs draft and this is how the typo came to be.
It should be deepspeed.checkpointing.checkpoint I think.
Btw, a nicer version of the docs can also be accessed here.
Are you interested to send a pull request with the fix?

Sean! Less cooky, more proofready!
lol

Thank you @lemairecarl for taking care of it!


Slider / Range ARIA label issues

There are a few a11y issues with Sliders:
https://modus-web-components.trimble.com/?path=/story/components-slider--default

I suggest we remove aria-valuemax, aria-valuemin and aria-valuenow from the wrapping div and add aria-label to the input range itself. That will solve all the issues.

what do you think about this @ryan-henness-trimble ? I don't know why this component was built this way and if there is a valid reason for having aria attributes on the wrapping div.

would the range input need the value arias, or just the label?

would the range input need the value arias, or just the label?

just the label I think.


Rule F401 cause infinite loop error

Ruff 0.0.285 (latest changes from main branch)
ruff  *.py --select F401 --no-cache --fix

file content:
import aws_cdk.aws_docdb._jsii

error:
error: Failed to converge after 100 iterations.

This indicates a bug in `ruff`. If you could open an issue at:

    https://github.com/astral-sh/ruff/issues/new?title=%5BInfinite%20loop%5D

...quoting the contents of `1167912.py`, the rule codes F401, along with the `pyproject.toml` settings and executed command, we'd be very appreciative!

1167912.py:1:8: F401 `aws_cdk.aws_docdb._jsii` imported but unused
Found 101 errors (100 fixed, 1 remaining).

1167912.py.zip

I'm unable to reproduce this. Is this from 0.0.285 as mentioned in the issue?

From latest 0.0.287 version(copy-paste from another issue)
Looks that it was fixed already or I messed with reproducible project - I will try to find another one, this should not be so hard to do


FILTERSTREAM - symbol and msgtype filtering

Added FILTERSTREAM option, allows filtering by symbol and/or
msgTypes fields.  Otherwise similar to CONTSTREAM, but outputs
JSON string without any other decoration, suitable for use
with http://websocketd.com/

Can you also add an example syntax in README.md in this section? (https://github.com/Nasdaq/CloudDataService#example-syntax-to-run-the-client-jar-based-on-this-sdk)


Update copyright in a few more files missed

A few files and modules were missed. POMs, as well as .js and other parts of web-application.

There were two identical license files, one called LICENSE, the other LICENSE.txt (which is still there). As the .txt matches all the other modules I kept that one, plus the one deleted had formatting issues (I saw that before, looks like a bug in GitHub default files)


StreetPass Find Mii "Unable to read beyond the end of the stream" Error.

effect.zip
When you try to open this file, the program gives an error saying it can't read past the stream.
(The .bcres is inside the .zip)

That's interesting.
Is this version known already? Or is it some obscure thing that nobody's noticed until now?

Looking at this again, the shapes are using a different structure due to being particle effects. Currently emitter data isn't even supported, so I don't think this will be supported.


How to listen on the change of the screen when the screen is rotated

If I only use the scrcpy-server, and then use the jmuxer to decode on frontend, how will the frontend listen when the screen is rotated. Only when it listens, can the next step, such as reset jmuxer to make sure the screen display is normal
I refer to this issue, but didn't find the answer.
Looking forward to your reply.  @rom1v

how will the frontend listen when the screen is rotated

On the client side, scrcpy does not detect rotation per-se, but only video frame size changes. So when a new frame has a different size from the previous one, it resizes the window accordingly.

but only video frame size changes

That is to say, my frontend needs to detect the size of each frame in real time, and reset jmuxer if it is different from the last time?

It is recommended to call the getCurrentRotation method to get the device's orientation when the device sends a rotation. The orientation information can be sent with the video in the keyframe header or in the control socket connection.