Automated cherry pick of #6803: webconsole: fix version and others handler not handle

Cherry pick of #6803 on release/3.1.
#6803: webconsole: fix version and others handler not handle

Codecov Report

Merging #6805 into release/3.1 will decrease coverage by 0.39%.
The diff coverage is 9.72%.

@@               Coverage Diff               @@
##           release/3.1    #6805      +/-   ##
===============================================
- Coverage         7.48%    7.09%   -0.40%
===============================================
  Files              585      600      +15
  Lines            98953   105876    +6923
===============================================
+ Hits              7411     7515     +104
- Misses           90970    97787    +6817
- Partials           572      574       +2

Flag
Coverage Δ

#aFlag
7.09% <9.72%> (-0.40%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/policy/policy.go
1.58% <ø> (+<0.01%)
:arrow_up:

pkg/cloudcommon/policy/resources.go
0.00% <ø> (ø)

pkg/cloudprovider/objectstore.go
2.51% <0.00%> (-0.01%)
:arrow_down:

pkg/cloudprovider/securitygroup.go
0.00% <0.00%> (ø)

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/compute/models/buckets.go
1.24% <0.00%> (ø)

pkg/compute/models/cloudproviders.go
0.96% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/disks.go
0.55% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/guestdisks.go
0.58% <ø> (+0.01%)
:arrow_up:

pkg/compute/models/regiondrivers.go
20.00% <ø> (ø)

... and 42 more

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 b5d4885...6b0be13. Read the comment docs.


Saved contacts are not deleted

When we delete a saved contact and then re-open the "contacts" in the address book, they are displayed again
Steps:

open address book
click "contacts" tab
delete saved contacts
open wallet tab
open address book
click "contacts" tab

Actual:
Deleted contacts are displayed again in "contacts" tab
Expected:
Deleted contacts there aren't in "contacts" tab
https://user-images.githubusercontent.com/85252690/133272414-9d687340-30a1-4256-9413-8aab0a9621fa.mp4

Checked


Error: EACCES

Error: EACCES, open '/Users/a.malko/Sites/tars/tars--new-master/.tmpTemplater/tars-handlebars-master/.gitignore
I downloaded some code from github without any options, except one:
new Download({ extract: true })

If I call it with sudo — it works fine, but it's not cool.

@artem-malko seems like you have done something under sudo, how about chown -R /Users/a.malko a.malko?

@floatdrop
I've made it.
But:
~/Sites/tars/tars--new-master/.tmpTemplater master *= $ ls -ll
total 0
d---------  2 a.malko<PHONE_NUMBER>  68 Jul 21 22:18 tars-handlebars-master
~/Sites/tars/tars--new-master/.tmpTemplater master *= $

tars-handlebars-master — it is a folder, which is been downloaded by "download".

@floatdrop I've fixed it. Just use { mode: '755' } and everything will be ok)

@kevva should 755 be default value of mode?

@floatdrop  +1


airbnb config

Hi,
I'v tried running this against airbnb's config and got the following error:
/usr/local/lib/node_modules/eslint-to-editorconfig/node_modules/eslint/lib/config/config-file.js:332
throw e;
^
Error: /usr/local/lib/node_modules/eslint-config-airbnb/rules/best-practices.js:
Configuration for rule "no-labels" is invalid:
Value "2,[object Object]" has more items than allowed.
Any ideas?
/Stephen.

Same problem here. :disappointed:

Same here except using standard (see https://standardjs.com)

Looks like this is related to https://github.com/feross/eslint-config-standard/issues/23

@maitriyogin @quasipedia @matthewadams sorry for not responding. Was busy at work and university. And a bit lazy :)
It caused by ESLint update to 2.0 where some rules were changed/removed. I will fix it on weekend.

That'd be sweet, my man.  Thanks.

@matthewadams @quasipedia @maitriyogin I updated the package. Install it locally(or globally) against all your configs.
It loads dependencies from node_modules where it installed. So if you use Airbnb's config, install it in the same directory.


Create a Landing Page

Currently index.html is the landing page which doesn't contains any styles or data related to project
Add the required information (navbar, background image, any fancy name of food system and css(anything you prefer))

I would Like to work on this


Allow eating JakartaTransformer output

JakartaTransformer is noisy.  It outputs a lot of generally not useful information even with its "quiet" setting.
See https://github.com/eclipse/transformer/issues/135

Just always direct this output to a file


Implement efficient foward derivatives and generalize DualNumber.hs definitions to work on them

[Edit: current status:
In short the randomized testing remains, as described below, using @awf 's formulas.
Long version: Thanks to advice from the last meeting, everything is now overhauled and the main class now takes the dual component type as argument (e.g., Delta0 Double), not the primal component type (e.g., Double). This is much better than the newtype approach, though is has many drawbacks of its own:
https://github.com/Mikolaj/horde-ad/blob/d069a45773ed849913b5ebd0345153072f304fd9/src/HordeAd/Core/DualClass.hs#L69-L101
]
Original description:
Then write QuickCheck tests that compute forward derivatives in the efficient way and using evalBindingsForward and assert that they are within a tiny floating point fuzz. If easy, also compute gradients and try to relate them via jacobians (one gradient run per base vector? or one forward derivative? sounds expensive either way).
This is easy for mathematical operations (same tensor rank, only linear structure used in delta expressions), but hard for operations spanning ranks.
[Edit2: an icomplete catalogue of approaches that I tried and that failed:

data DualNumber a = D (Primal a) (Dual a): fails as described at https://github.com/Mikolaj/horde-ad/issues/15#issuecomment-1066826756
class HasRanks (forwardDirection :: Bool) r where: fails, because the associated type families ignore forwardDirection and require the same result
unsafeCoerce of arguments to dfastForwardShow: fails, because while it fixes dfastForwardShow, the very DualNumber functions still require Numeric instance to compute their primal component
the desperate conflicting instances in separate modules: fail, because type family clashes are checked globally, even when imports don't clash
newtype of Double works, but has various problems (see "Old status after abandoning the experiment and using newtypes instead" below), so is abandoned]

One can also use the relation that if
f : S -> T
f_fwd : (S, dS) -> dT
f_bwd : (S, dT) -> dS

then there is a consistency relation for s : S, ds : dS, dt : dT
dot(f_fwd(s, ds), dt) = dot(f_bwd(s, dt), ds)

If that holds for random ds, dt, there's a good chance the derivatives are correct.

Oh, indeed, we don't need to check for all vectors from a base, which may be millions, but only for a number of completely random vectors. So we QuickCheck not only over random inputs of the objective function, but also over random infinitesimals of both kinds. This was supposed to be stochastic testing anyway.

Indeed, and they don't even need to be "small" - those relationships are true even if ds, dt have unit norm.

But ideally draw them from e.g. a Gaussian, in case unit norm hides a scaling bug

If we managed to pull this off (which is probably doable by forking hmatrix, but maintaining that fork would be a huge burden), we should also be able to define special dual number instances for computing exclusively the value of the objective function (#11), getting it very close to the speed of a normal Haskell numerical function (currently we still have lots of overhead, despite being order of magnitude faster than when computing gradients).

But ideally draw them from e.g. a Gaussian, in case unit norm hides a scaling bug

Is uniform distribution acceptable? Or do we want to focus on near-zero values? I don't know how hard it is to get Gaussian or normal distributions for QuickCheck (it's probably trivial, one just applies an exponent and multiplies by pi, but my maths speciality was logic, not calculus, so I wouldn't know).

Uniform -5..5 is fine.

Thank you. I've eventually settled on uniform distribution with range (-r, r), where r is random (independently for parameters and ds) between 0.01 and 10. Anyway, there is a lot of randomness in the MNIST fcnn test for which I implemented the QuickCheck comparison of two methods of forward derivatives and the gradient: both hidden layers have random sizes, glyph and label are random (not from real data), parameters and ds are random, both generated using a uniform distribution with random variances as above,
BTW, the test shows that the MNIST fcnn variant with fused SoftMax and CrossEntropy gives different derivatives (but equal objective function values) as the variant with separately applied SoftMax and CrossEntropy. That was no detected by long gradient descent runs with realistic parameters (and both real and random/fake MNIST data). I'm guessing this may be the overflow of exponentiation you warned about. If so, I will finally have a test that verifies and protects the  expU = exp (u - HM.scalar (V.maximum u)) adjustment and so I can add it with confidence. TODO.

All sounds great, thanks!

Actually, the fused SoftMax and CrossEntropy turns out to be correct only for one-hot labels (which is what we have in our MNIST data) and the ones I was generating in the test were arbitrary. Fixed.


HelloWorld.cs will block the main thread in Unity

Describe the bug
A clear and concise description of what the bug is.
cognitive-services-speech-sdk/quickstart/csharp/unity/text-to-speech/Assets/Scripts/HelloWorld.cs
To Reproduce
Steps to reproduce the behavior:

...
...

Expected behavior
A clear and concise description of what you expected to happen.
Version of the Cognitive Services Speech SDK
Which version of the SDK are you using.
Platform, Operating System, and Programming Language

OS: [e.g. Windows, Linux, Android, iOS, ...] - please be specific
Hardware - x64, x86, ARM, ...
Programming language: C#, C++, Java, JavaScript, Objective-C, Python
Browser [e.g. Chrome, Safari] (if applicable) - please be specific

Additional context

Error messages, stack trace, sample code to reproduce the issue, ...
Please provide full Speech SDK Log, as per the instructions here?
If you report an error for a specific service interaction, please report the SessionId and time (incl. timezone) of the reported incidents. The SessionId is reported in all call-backs/events you receive.
Any other additional information

Thanks for the feedback. If you refer to the implementation of ButtonClick() in that sample, it's just one possible example. You could also call the synthesizer like done in https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/2fd035aa67d18fa06941394b6d7c9a4a923ae72a/samples/csharp/unity/embedded-speech/Assets/Scripts/HelloWorld.cs#L320 which works at least on platforms where native playback is supported.

Closing the item as answered. Please open a new issue if more support is needed.


RedRouter block doesn't fire "redstone" event

Description
As title.
To Reproduce
Steps to reproduce the behavior:

Place redrouter block
Connect on a advanced computer
Run command os.pullEvent("redstone")
Give the redrouter block a redstone signal
Nothing happend

I also installed advanced periphearals 0.7.30r

Expected behavior
Event "redstone" fires.
Software (please complete the following information):

Minecraft Version 1.19.2
Mod Version 1.5.1
ModLoader Forge
Forge Version 43.2.21

Thank you for reporting this. That indeed is not supposed to happen. I will try to fix that

Fixed in a59279163fb9d9196e7c0bd14cdedaaecadf95c1

I'd like to reopen this for mc Version 1.20.1 with Forge 47.2.0 and mod version 1.6.3
Behaviour is the same as OP described


Transcript page

The transcript page is currently a slightly modified version of the gene page (up until 763c364893c5f54c5ce15866aa23dbc15e723124, it was the same component), the main difference being that it shows variants and their consequence in a specific transcript, instead of the worst consequence across all transcripts in the gene.
It should be differentiated by:

Page heading - change to transcript instead of gene
Info section - change to transcript attributes / references instead of genes
Constraint - with gnomAD selected, this shows constraint numbers for the selected transcript. However, it's misleadingly labeled "Gene constraint" and tooltips reference the gene's canonical transcript.
Coverage - show coverage across the transcript instead of the gene
Transcripts track - show transcript exons without having to expand track (#108)

Maybe use only the selected transcript's exons for the region viewer domain instead of all the gene's exons.


Responsive thumbnail boxes

Fixes

Fixes #176  by @siddrs
Description
The Feature request being proposed improves the formatting and design of thumbnailbox to make them more responsive and user friendly. Specifically, The proposed solution includes changing the HTML format and adding new elements to make the CSS integration easier. I have also tried to follow the provided CC-vocabulary and have implemented a media query that transforms the design of thumbnailboxes when viewed on phone's. The provided CSS transforms vertical thumbnailboxes to horizontal ones that fit the maximum width of the device to make the User experience better, also the height is optimized in such a way that more thumbnailboxes could be seen by the user
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Hi @piyushs131 This PR is for an Issue that has not yet moved to status: ready for work, so I'm closing it for now. Please see the Contribution Guidelines.

Thanks for reminding me, i will take care from next time


Make library compatible with React Native

The current code assumes that if a window object is available, then a btoa function is too, however this is not true in all JS environment (eg. React Native).
So this pull request adds a fallback when neither btoa nor Buffer are available (this class is also missing in RN). Since the btoa pollyfill is quite small, I think it makes sense to include directly. That will make the lib more robust over the long term by eliminating all third-party dependencies.
Fixes this bug in particular: https://github.com/laurent22/joplin/issues/3815

This looks great and I'd love to get slug compatible with React Native. If you want to try to address the CI failures, push to this same branch to update the code rather than opening a new pull request. But you don't need to worry about that probably. It might just need some small fix-ups that I can apply later. (And if I'm wrong about that, I'll leave a comment.)
It might be possible to create a test for this by creating a window object in Node.js with no btoa property. In current slug, I would expect it to fail and with this change, I would expect it to pass. I can totally do that later if you have better things to focus on, though!

I added a test and tweaked a couple things, but this should be ready to go if tests pass.

Thanks for the contribution<EMAIL_ADDRESS>should be auto-released any minute now with this fix in it.

Brilliant, thanks for looking into it!


⚠ ClamAV has degraded performance

In b18a663, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 199 ms

Resolved: ClamAV performance has improved in f45bddd after 6 minutes.


Deleted participant of a relationship type still present in the OWL export of the model

For example
https://github.com/opendata-mvcr/ssp/blob/0699e687f1e12e66dce2309bd97febd63a34e00d/content/g-sgov/g-sgov-čas/g-sgov-čas-model.ttl#L2629
This range should not be in the model. It was deleted from the model (see workspace OFN Časové okamžiky a intervaly > Časová specifikace > má den v týdnu.
Maybe some residuum from the old modeling times?

fixed.


Avoid collision with the global status line

Similar issue: https://github.com/rcarriga/nvim-notify/issues/4

I'm using bottom up layout, and the notifications cover the status line. The value of these options in my setup may be relevant:
vim.opt.cmdheight = 0
vim.opt.laststatus = 3

Not sure if this is considered an issue with the plugin or if I just need to improve my setup.

I have the same problem, i want to move the notification one row up.
Also it is visually displeasing, because it feels like it blinks. The status bar has a different color and that color suddenly changes two times.

@sassanh This is a quick fix:
diff --git a/lua/notify/stages/util.lua b/lua/notify/stages/util.lua
index cc68974..d20c6ae 100644
--- a/lua/notify/stages/util.lua
+++ b/lua/notify/stages/util.lua
@@ -88,6 +88,7 @@ function M.get_slot_range(direction)
   local top = vim.opt.tabline:get() == "" and 0 or 1
   local bottom = vim.opt.lines:get()
     - (vim.opt.cmdheight:get() + (vim.opt.laststatus:get() > 0 and 1 or 0))
+  local bottom = bottom - 1
   local left = 1
   local right = vim.opt.columns:get()
   if M.DIRECTION.TOP_DOWN == direction then

Hey @sassanh, how are you achieving bottom-up orientation? I don't see that documented anywhere. I tried playing with top_down, but that doesn't seem to be it.

I also have the same issue, @rcarriga. Is it possible to include this change into the plugin?
I'll be happy to open a PR for this minor change.

Hey guys, check out my PR and let me know if it fixes things for you.
Comment on the PR so Ronan can merge it sooner.

For me, using fade_in_slide_out positions the notification correctly, while fade, slide, and static position it over the statusline.
Position with fade_in_slide_out 😄

Position with fade, slide, or static 😞

Not sure why the stages option affects the positioning of the notification.

This override works perfectly fine for me:
  {
    "rcarriga/nvim-notify",
    config = vim.schedule(function()
      local override = function(direction)
        local top = 0
        local bottom = vim.opt.lines:get()
            - (vim.opt.cmdheight:get() + (vim.opt.laststatus:get() > 0 and 1 or 0))
        if vim.wo.winbar then
          bottom = bottom - 1
        end
        local left = 1
        local right = vim.opt.columns:get()
        if direction == "top_down" then
          return top, bottom
        elseif direction == "bottom_up" then
          return bottom, top
        elseif direction == "left_right" then
          return left, right
        elseif direction == "right_left" then
          return right, left
        end
        error(string.format("Invalid direction: %s", direction))
      end
      local util = require("notify.stages.util")
      util.get_slot_range = override
    end),
-- ...

@tom-gora how are you setting the direction? In the docs, top_down is only a boolean config.

@chardskarth Have a look at my dots: LINK. Essentially I stole some code from some places and cobbled together a nice solution. direction is not a key here - it is a parameter passed into override function that returns values for notify.stages.util.get_slot_range
https://github.com/user-attachments/assets/79459fac-50f9-4f9d-837b-3ed1c7469113


[zh]kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/ does not has chinese version

Problem:
do not have chinese docs: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/horizontal-pod-autoscaler-v1/
Proposed Solution:
add chinese docs in website
Comments
/language zh
/assign

/close
New tracked in #34733


OAuth + Supabase + Native Android(MAUI, Xamarin Forms, Xamarin Android)

I have implemented authentication with Google in Android, I am using SignInWithIdToken passing Google's response IdToken or RequestIdToken as a parameter but it gives an error, that I am missing.
{"error":"invalid request","error_description":"Bad ID token"}

Well i found the problem. If is possible when i can create a new documentation for new user. This is the example for Xamarin Android, Xamarin Forms, or MAUI.
`string identityToken = Encoding.UTF8.GetString(System.Text.Encoding.UTF8.GetBytes(GoogleOrAppleIdToken), 0, GoogleOrAppleIdToken.Length);
var user = await Supabase.Auth.SignInWithIdToken(Provider.Google, identityToken);`

Well this method SignInWithIdToken only work for existing user. Any comment for New User with OAuth Native Android?

Double check to make sure Project Settings -> Auth -> User Signups is turned on. Other than that not sure off the cuff, possible something isn't quite right in the choreography hitting the server and getting the session back. If you have the cycles right now you can try checking with a debugger to see if the API from the server is returning a response or not...
https://github.com/supabase-community/gotrue-csharp/blob/f3695d5abbf35e4f0b59ef744e42f664cfb535cb/Gotrue/Client.cs#L200

Also btw I've used that method for the native Sign in with Apple flow but not the OAuth flow, very interesting to doc that flow...
string identityToken = Encoding.UTF8.GetString(System.Text.Encoding.UTF8.GetBytes(GoogleOrAppleIdToken), 0, GoogleOrAppleIdToken.Length);

Double check to make sure Project Settings -> Auth -> User Signups is turned on. Other than that not sure off the cuff, possible something isn't quite right in the choreography hitting the server and getting the session back. If you have the cycles right now you can try checking with a debugger to see if the API from the server is returning a response or not...
https://github.com/supabase-community/gotrue-csharp/blob/f3695d5abbf35e4f0b59ef744e42f664cfb535cb/Gotrue/Client.cs#L200

{"error":"server_error","error_description":"Internal Server Error"}
This is a error, i used other log info but nothing.

Also btw I've used that method for the native Sign in with Apple flow but not the OAuth flow, very interesting to doc that flow...
string identityToken = Encoding.UTF8.GetString(System.Text.Encoding.UTF8.GetBytes(GoogleOrAppleIdToken), 0, GoogleOrAppleIdToken.Length);

Well i used your example with little fix for Google, THX to you.

If you attach a debugger it's possible that there is more info in the base response, but maybe not.
If it works for existing user but not a new user not sure. If you create a user via sign in with email for the same address first does that work? Any other logic (eg creating a user profile via trigger) that could be affecting things?
If it's straight up a server challenge might check the server logs for info and/or open a support ticket?

Hey bro thank yu soo much i enable the doubletap User Signups Allow new users to sign up and work fine.
I dont know why is disabled.

If you attach a debugger it's possible that there is more info in the base response, but maybe not.
If it works for existing user but not a new user not sure. If you create a user via sign in with email for the same address first does that work? Any other logic (eg creating a user profile via trigger) that could be affecting things?
If it's straight up a server challenge might check the server logs for info and/or open a support ticket?

Hey bro thank yu soo much i enable the doubletap User Signups Allow new users to sign up and work fine.
I dont know why is disabled.
How can create a new documentation for new user? This problem a tried to work on my app one day of work.
P.D: Sorry for my English

Woot! Glad you got it working!
RE: adding docs, easy mode: you can just write up docs in Markdown and post as a public gist and add an issue to add to the repo. Alternatively you can send in a PR if you are feeling fancy.

Woot! Glad you got it working!
RE: adding docs, easy mode: you can just write up docs in Markdown and post as a public gist and add an issue to add to the repo. Alternatively you can send in a PR if you are feeling fancy.

https://gist.github.com/Phantom-KNA/9096bf443beaab0dd45cca5e9eaf4ccc

Thank y'all for the work debugging/troubleshooting this! Documentation is now available on the wiki for it here


Fix withData propTypes warning

Fixes:

If there's a cleaner syntax, I can update :D

Bump!

Bump! @gmaliandi

Enforcing proptypes is great if you use them and not one of the other methods...

Oh damn sorry for taking so long to look at this, and also thanks @kennandavison :smile:


#drop down

need a core component and examples should be such that they are easily copy pasted All the elements in data should be coming from props and all this if else checks should be moved to the core component

Core components has all the required props


TrackTrace API does not have severity options (Warning, Error, Info)

Hi,
I used the below link to set up application Insights on my client side that is written in tS.
https://github.com/Microsoft/ApplicationInsights-JS
Some Information about my setup.
I used the below commands to install:
Npm install applicationinsights-js
Npm install @types/ applicationinsights-js.
The typings has TrackTrace(message, properties) signature with no mention of Severiry level (Warning, Error, Info). How do I achieve the equivalent to TraceInfo, TraceError, TraceWarning?
In server side (.Net), am able to do something like
this.appInsightsClient.TrackTrace(message, SeverityLevel.Information, properties);

You're right, trackTrace doesn't take a severityLevel. To log an error with a given severity level please use trackException method.

In Analytics window, the TrackException will log to the exceptions table right? I want to write to the Traces table where the server side request are going as well.  This will help me with correlating things.
How do I achieve this in Client? Could you let me know the reasoning behind not supporting SeverityLevel for Traces?

We will add severityLevel to trackTrace method to stay aligned with other SDK's.

Thanks


Used NanoVG on this projection project

Hey,
This isn't an issue but just a big thx for this nice library.
Looking at these smooth lines instead of the standard OpenGL lines makes me really happy. Using it on almost all my new projects.
Did use it recently on this project:
http://www.lab101.be/projects/capitalm.html
Greets
Kris

The link is a 404 when clicking on it ! But works when copy-pasted/select-dragged-on-a-new-tab

Ah your right made a mistake in markdown

It works now ! Good job too !


next update

delete all file, rename file/folder & fiture click all file/folder

and add disk & cpu  input


search limit

Hi, I want to extract more than 50 results and I would like to know how to do that. I didn't found in npm documentation.
I am using:
 this.client.search(requestName, 50, {}, (error, data)=>{
But I would like to be able to make a new request for items from 50-100, 100-150, and more.

As I understand, Youtube doesn't allow retrieving more than 50 results per request. So, what you want is not possible.


Add connector docs

Adding connector docs, mkdocs.yaml file, images, and zip files to 7.0.0.

 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.Samuel Mervyn Gnaniah seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Obj models?

Going through the code for mcpe it seems they have some sort of obj support used for HoloScenes (hololens stuff ?)
the models themselves seem to of been removed in the latest builds but the code is still there for loading them,
would it be possible to use this for entity models?
Also are techne type models limited to the base parts or can we add custom parts?

Do you mean like bent/rotated parts?

@MooGaming227 i mean are we limited to just using head/leftarm/rightarm, or can we define custom parts like rightarm1 rightarm2 etc


Is there a limit to the number of rows retrieved with DELPHI API?

I am trying to retrieve a lot of data from the DELPHI API, but am having trouble getting all the data I am requesting. Is there a limit that I am running into? For example, I run
source("https://raw.githubusercontent.com/cmu-delphi/delphi-epidata/master/src/client/delphi_epidata.R")
res <- Epidata$fluview(regions = list("nat", "hhs1", "hhs2", "hhs3", "hhs4", "hhs5", "hhs6", "hhs7", "hhs8", "hhs9", "hhs10"),
                       epiweeks = list(Epidata$range(199740, 201653)),
                       issues = list(Epidata$range(199740, 201653)))
df <- do.call(rbind, lapply(res$epidata, rbind))

And I end up with data from only regions "nat" and "hhs1" and only until epiweek 200450. The total number of rows in the resulting dataframe is 3650.

Yes, the limit is 3650 rows per request as you noted - sorry that's not in the documentation. To get all the data, you'll have to query the regions individually, or smaller batches of epiweeks.
I'll leave this issue open until I have a chance to make a note if this in the documentation.
(BTW, the limit is implemented here:  https://github.com/cmu-delphi/delphi-epidata/blob/master/src/server/api.php#L206 )

the new endpoints of the server (e.g., /api.php?endpoint=covidcast -> /covidcast/ is streaming the results back to the client. Thus, we could increase the limit to right now 1M rows.
see also https://github.com/cmu-delphi/delphi-epidata/blob/main/src/server/_config.py#L9


Where is the polygit repository?

The spring cleaning is always nice, but I can't find the polygit repo anymore. It that project still maintained by Polymer team?
polygit.org was down couple of times today, but it seems there's no place to report issues anymore :/
GitHub supports the  repositories archiving: https://github.com/blog/2460-archiving-repositories
Please do not remove such important repositories in future, but archive them. Or at least transfer to https://github.com/googlearchive

I believe https://github.com/Polymer/polygit/tree/timeouts is the currently deployed version, so issues should report to https://github.com/Polymer/polygit/issues.
@justinfagnani Would you or someone on your team want to write up a quick readme on the master branch of the repo?

https://github.com/Polymer/polygit is indeed the repo. I'll add a readme


code release ?

Hi,
when is the code getting published?
thank you!
Dane

Hi, thanks for the interest! We're working on the code and should hopefully have something ready in the next couple of months.

Okay, thank you. looking forward to it.

Hello,
I'm watching whether the code update is done or not frequently nowadays.
Is there any issue or plan about uploading the code recently?
thanks in advance :)

Hi, thank you for the interest and sorry it's taking this long: we had to postpone the release due to other internal deadlines. I'm still hoping to get to this soon - I'll post an update once I make some progress. Thanks again!

This paper has been listed on paperswithoutcode.com due to not being reproducible without code.

Thanks for the interest and patience! We added code for our models and inference to replicate our results (https://github.com/TRI-ML/KP3D/pull/6). Please let us know if you run into any issues or have any other questions about our paper.

thanks for opening code.
Do you have any plans to add additional any train code ?

@ComputerMath - no plans to release the training code, but happy to answer any specific questions about our method.


comments

I have error eventhough the build was successful
$ curl http://localhost:8001/api/v1/namespaces/new-feature/services/gceme-frontend:80/proxy/version
{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {

  },
  "status": "Failure",
  "message": "services \"gceme-frontend\" not found",
  "reason": "NotFound",
  "details": {
    "name": "gceme-frontend",
    "kind": "services"
  },
  "code": 404

APP_NAME
BRANCH_NAME
BUILD_NUMBER
variable to be set in Jenkinsfile


Conflict resolution popup, potential endless loop in conflict resolution

Steps to reproduce:

JOSM: Create way with 2 nodes, tags= highway=path
JOSM: Upload change
iD: Load area, including way
JOSM: Add a third node in the middle of the way
JOSM: Upload change
iD: add a second tag to the way: surface=grass
iD: Upload changes
iD: Conflict detection kicks in, resolves conflict, and uploads again
iD gets stuck on the following screen:

There's also an exception on the javascript console:

Tested on http://preview.ideditor.com/master and dev instance. The change in question has been applied to the database: https://master.apis.dev.openstreetmap.org/way/4305175922 (note the 3 nodes, and the 2 tags).
Someone reported on the forum, that this counting up may also happen in an endless loop (!) going on for hours and hours. This is probably the case when the conflict resolution didn't work out at all, and the algorithm keeps trying and trying.

Thanks for reporting @mmd-osm  - the exception on the console explains exactly what the issue is 👍

Awesome. Any idea where this endless loop thing might come from? It would just show the popup, count from 0 to NNN, then start over again from zero and so on.

Awesome. Any idea where this endless loop thing might come from? It would just show the popup, count from 0 to NNN, then start over again from zero and so on.

Hmm yeah in this case it wasn't looping, iD resolved all the conflicts and sent the merged changeset just fine.  This bug happened because the uploading code failed to call the final callback and let the saving code know that it was done.
There's also #5114 - I think that's what the person on the forum might have encountered.


Rehearse pitch for prototype presentation

To ensure an effective pitch we must rehearse the presentation.

Our group has practiced the presentation several times.


Refactor CTiglWingSectionElement, CTiglFuselageSectionElement

Every CCPACSWingSectionElement has a private member CTiglWingSectionElement as a private member, that gets a pointer to its parent CPACSWingSectionElement. The CTigl... type that adds some additional non-CPACS related functionality. The same holds for the fuselage. It seems like there can be a cleaner design to this..
From my point of view, CTiglWingSectionElement should be a wrapper to CCPACSWingSectionElement providing additional functionality.

This issue was created from this PR comment: https://github.com/DLR-SC/tigl/pull/620#issuecomment-535409581


ai-revision does nothing when specifying a file

I run the ai-revision.
Without specifying any file it only updates the introduction.
If I specify a file it does aparently nothing and the pull request fails
https://github.com/SilasK/Research_Proposal/actions/runs/5134823028/jobs/9239373226

Hi @SilasK, thank you for your interest. The tool uses section-specific prompts to revise the text, and it will try to infer the section from the file names. If this fails, which seems to be your case, you need to indicate which section each file belongs to. I've added this documentation in this PR, and it would be great if you could go through it and let us know if it is clear and help you solve the problem.

Thank you for your reply.
Sorry, yes it's private.
Nothing special in the log:
Run manubot ai-revision --content-directory content/
  manubot ai-revision --content-directory content/
  shell: /usr/bin/bash --login {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.11.3/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.3/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x64
    Python[2](https://github.com/SilasK/Research_Proposal/actions/runs/5134892888/jobs/9239537171#step:5:2)_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/SilasK/Research_Proposal/actions/runs/5134892888/jobs/9239537171#step:5:3).11.3/x6[4](https://github.com/SilasK/Research_Proposal/actions/runs/5134892888/jobs/9239537171#step:5:4)
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x[6](https://github.com/SilasK/Research_Proposal/actions/runs/5134892888/jobs/9239537171#step:5:6)4
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.[11](https://github.com/SilasK/Research_Proposal/actions/runs/5134892888/jobs/9239537171#step:5:11).3/x64/lib
    OPENAI_API_KEY: ***
    AI_EDITOR_LANGUAGE_MODEL: text-davinci-003
    AI_EDITOR_FILENAMES_TO_REVISE: 03.aim_subspecies_quant.md
Using language model from environment variable 'AI_EDITOR_LANGUAGE_MODEL'
Language model:  text-davinci-003
File names to revise: {'03.aim_subspecies_quant.md'}

raw_log_ai_revision.txt

Ok, I will add the file mapping.
My manuscript is actualy more a grant proposal. than an article.
I asume in the mapping I can give arbitrary description, can I?
Is there a simple way to modify the query context sent to the AI model?

Yes, you can use whatever you want as the section name. In that case, it will default to a general prompt, as you can see here. Keep in mind also that that general prompt mentions "... of an academic paper...", which might or might not affect the text revision of a grant proposal.
Regarding custom prompts, I agree that it will be better in your case, and we will be working on that soon. However, there is a work-in-progress feature that you can use: add this environment variable in the .github/workflows/ai-revision.yaml file (in the "Revise manuscript" step) to provide whatever prompt you want:
AI_EDITOR_CUSTOM_PROMPT: "Proofread the following paragraph"

Again, if you give it a try, please give us feedback on whether it worked as expected or not.

I made it work for both the file specification and the custom prompt.
I don't know if it is possible to use the file specification in the custom prompt as in the original one?

Thanks for the feedback!
You can't use a custom prompt per file if that's what you mean. But sounds like a good use case. We'll be working on these use cases soon, so if you can provide a more detailed specification of what you would like to have, that would be really helpful.


Error in upgrade to prestashop <IP_ADDRESS> to <IP_ADDRESS>

Describe the bug
the update of prestashop is impossible.
I tried the update with the module "1-click upgrade", I installed it and when I launched it, it failed after a moment.
Upgrade environment (please complete the following information):

Version you started from: [e.g. <IP_ADDRESS>]
Version you upgrade to: [e.g. <IP_ADDRESS>]
Way of upgrade: Web

Displayed log
Unable to open archive
[INTERNAL] /homepages/39/d787428639/htdocs/modules/autoupgrade/classes/ZipAction.php line 111 - ZipArchive::close(): Can't open file: Permission denied
Could not close the Zip file properly. Check you are allowed to write on the disk and there is available space on it.

Expected behavior
I expect a solution to my issue so that I can update it.
Screenshots

Server (please complete the following information):

Web Server: [e.g. Apache]
PHP Version: [e.g. 7.2]
Module Version [e.g. 4.9]

Thank's for your help

Here is the file ZipAction.php. With the code to the line 111 which is a problem.

I've got the same error


Add dependabot for pip and action updates

Happy to adapt the values, I went with sane values, but you we can change the frequency.

Thank you @XhmikosR!
Merging!


Autodl-irssi issue

Autodl-irssi is not downloading and it stops the installation, Error: "Unable to download autodl scripts from http://update.autodl-community.com/
This is most likely a network error, if your network is working, then it is likely a temporary issue with the relevant file server"

This has been fixed, thanks for letting me know.


Hacktoberfest update

Description

Updates to the Hacktoberfest feature from the comments on the original PR #134
Motivation and Context

[X] I have raised an issue to propose this change (required)
Some suggestions were made on the original PR as well as in Slack.

How Has This Been Tested?

Deployed Derek from my repo: burtonr/derek:pr-hacktoberfest7
Currently running on https://github.com/burtonr/testing
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I've read the CONTRIBUTION guide
[X] I have signed-off my commits with git commit -s
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.

This is a draft as I still need to update the documentation.
More importantly, I cannot figure out how or why the "sign-off" comment/check is still being run...

It seems no matter what happens, the sign-off comment is added. Perhaps it's a race where the "isSpam" is not yet returned, but the next feature is run

Should we make a time check to see if the PR date is in October? We'd probably lower the false positives 🤔

Found the cause of the multiple comments/labels was the individual events on the pull request by each of the actions performed by the hacktoberfest handler. Add label, close, add comment.
To prevent the additional handlers from firing, I've re-arranged the hacktoberfest handler to first close the PR, then do the other things. In addition, I've added the State to the Pull Request type so that the Action and State are verified to not be "closed" before calling the handlers.
Link to the repo used for testing this: https://github.com/burtonr/more-bots-2

Note: The image used for these tests was created before updating the message to say "Thanks for your interest...". The message has since been updated.

"Spam" PR:

Readme change with signed off commit:

Code file change without signoff:


fix: avoid changing entities ids after plotting

Description
Avoid plotting changing the id of the returned elements.
Issue linked
Close #3372
Close #3374
Checklist

[x] I have visited and read Develop PyMAPDL.
[x] I have tested my changes locally
[x] I have added necessary documentation or updated existing documentation.
[x] I have followed the PyMAPDL coding style guidelines.
[x] I have added appropriate unit tests that also ensure the minimal coverage criteria.
[x] I have reviewed my changes before submitting this pull request.
[x] I have linked the issue or issues that are solved to the PR if any.
[x] I have assigned this PR to myself.
[x] I have marked this PR as draft if it is not ready to be reviewed yet.
[x] I have made sure that the title of my PR follows Commit naming conventions (e.g. feat: adding new MAPDL command)

For some reason I keep getting ansys.mapdl.core.errors.MapdlConnectionError: The channel is not alive. on some tests:
@pytest.mark.parametrize(
    "plot_func,entity,gen_func,arg1,arg2",
    [
        ("vplot", "VOLU", "block", (0, 1, 0, 1, 0, 1), (1, 2, 1, 2, 1, 2)),
        # Uncommenting the following two lines, raise an exception for channel not
        # alive. See #3421
        # ("aplot", "AREA", "rectng", (0, 1, 0, 1), (1, 2, 1, 2)),
        # ("lplot", "LINE", "l", (1, 1, 1), (1, -1, 1)),
        ("kplot", "KP", "k", ("", 0, 0, 0), ("", 1, 1, 1)),
    ],
)
def test_xplot_not_changing_geo_selection_components(
....

I haven't been able to found a solution, but it seems other tests pass. So I'm going to keep them comment them, and hopefully I can come back in the future.

@pyansys-ci-bot LGTM.


Python 3.12 Issue - Found Fix

Ok so python building depencies fails
cuz of python 3.12 being the default
as the dockerfile is set to download latest
so in houdini/Dockerfile and dash/Dockerfile
i changed the first line from this FROM python:3-alpine
to this
FROM python:3.9-alpine
and that fixed the issue, i used python 3.9 as it should work!

oh my god dude thank you. its 7am right now ive been trying to figure this out all night

Hi there, could any of you post the error so I can officially update houdini/dash to python 3.12.

Hi there, could any of you post the error so I can officially update houdini/dash to python 3.12.

uvloop fails and aiohttp may fail too


Generalise interior EOS

Long-term plan: generalise melt and solid phase EOS toward arbitrary refractory Fe/Si/Mg and H/N/C/S mixing ratios
Related: https://gist.github.com/djbower/032e2154c471ee79ed7db484026d45f4

On this note, there are several options. You can produce lots of lookup data.  Or you can produce lookup data that is anchored to a reference state (some fixed mixing ratios, some fixed Fe content, no water etc.) and then perturb this reference state according to analytical functions that capture perturbations in water content Fe, Mg, Si etc. So this is sort of a hybrid approach, where you can hopefully utilise the speed and convenience of analytical functions whilst also capturing the more complex topology of EOS data in lookup files.


.html loader breaks HtmlWebpackPlugin templating

I think this is what #102 was getting at - according to the docs on HtmlWebpackPlugin  templating, the {test: /\.html$/, loader: 'raw'} loader config ends up running src\public\index.html through the raw loader rather than the ejs loader that HtmlWebpackPlugin would otherwise use, effectively disabling templating. Seems like throwing a exclude: root('src', 'public') into the loader config fixes things, or you might be able to specify the default ejs loader explicitly as part of the template filename you pass into the HtmlWebpackPlugin constructor opts.

Can you give me a concrete example in how is that breaking up? But yes, HtmlWebpackPlugin works a weird way with that.

So if you change your template to include some ejs template expressions (the plugin seems to support other template languages but ejs is apparently the default), you'll see the built index.html doesn't include the interpolated value. From what I gather, this is because, behind the scenes, the plugin is plumbing the index.html through webpack loaders, and is picking up the raw loader from the config vs. the ejs loader it would default to.
So, src\public\index.html:
<!doctype html>

    <meta charset="utf-8">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link rel="icon" type="image/x-icon" href="/img/favicon.ico">

    <base href="/">

    <my-app>Loading...</my-app>

Renders:
<!doctype html>

    <meta charset="utf-8">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link rel="icon" type="image/x-icon" href="/img/favicon.ico">

    <base href="/">

    <my-app>Loading...</my-app>

But if you change the loader to: {test: /\.html$/, loader: 'raw', exclude: root('src', 'public')}, you get:
<!doctype html>

    <meta charset="utf-8">
    <title>Webpack App</title>
    <link rel="icon" type="image/x-icon" href="/img/favicon.ico">

    <base href="/">

    <my-app>Loading...</my-app>

("Webpack App" seems to be the default value of htmlWebpackPlugin.options.title.)
Arguably, I guess maybe this isn't broken per se - maybe users should have to opt-in to the templating features of the plugin. But it has the feel of something that's broken, so maybe at minimum a note in the config file would be useful?

Is the most sensible solution.
Thanks.


Updating images

Adjustments to the text to now fit the new graphs on the new hardware

Oops! I thought I'd already merged this! Sorry Eric.


Property 'ref' does not exist on type 'IntrinsicAttributes & ReactCropperProps & { children?: ReactNode; }'.

Before creating a bug/issue here please check that it is not part of cropperjs and does not exist in the cropperjs repo.
Describe the bug
dependencies info:
react-cropper: 2.0.0
@types/react-cropper: 1.3.0
bug:
Property 'ref' does not exist on type 'IntrinsicAttributes & ReactCropperProps & { children?: ReactNode; }'.
code:
import React, { useEffect, useState, useRef } from 'react';
import Cropper from 'react-cropper';
import 'cropperjs/dist/cropper.css';
const ReviewWatermarkPage = (props: any) => {
const [src, setSrc] = useState('./test.jpg');
const cropperRef = useRef<Cropper | undefined>(null);
return (
<Cropper
src={src}
ref={cropperRef}
viewMode={1}
zoomable={false}
aspectRatio={1} // 固定为1:1  可以自己设置比例, 默认情况为自由比例
guides={false}
cropend={() => {
console.log(cropperRef.current.getCroppedCanvas());
}}
/>
);
};

Please remove @types/react-cropper package
ref has been removed in 2.0.0
But it might come back in the next release

I want to use ref, which version of @types/react-cropper package can be selected

To stay with ref you have to use react-cropper 1.3.0 with the types package untill the next release is out. At that point you can remove the types package and use the latest release

closing this for housekeeping purposes. if you have any question feel free to comment below.

thank you i solved;

@summer996  i guess you can test the 2.1.0 now as it will have ref support

emmm, i had try,but failed,which version of react-cropper is 2.1.0，and  @types/react-cropper  is  1.3.0,
i use other way to solved,
but also thanks


Missing i symbol in filename

Hello, I've updated my wsl-terminal to version 0.8.10 a few minutes ago.
And I got next bug:

If you select missed part symbol will appear and stay.

I seems work well here, I don't how to reproduce it, and I didn't update mintty(v2.8.4) in v0.8.10.

Another example:

I'm not sure but it might be correlated with font (I use Monaco). If I change font to Consolas, it will work ok.
But there wasn't that bug before update.

You can replace bin/mintty.exe with the on from the early wsl-terminal.


⚠ Jenkins Plugins Artifactory has degraded performance

In 5dbd919, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1260 ms

Resolved: Jenkins Plugins Artifactory performance has improved in bfcc909 after 31 minutes.


Guess the AMI identifier from the region and an internal map

That's usually how it's done in CFN templates that allow multiple regions. Is there a plausible reason to pick one AMI over another inside a region? Which type to pick as default?

I didn't do this since we have to keep the template up to date when new AMIs are released. (I wish cloud formation had a way to just pick the latest Amazon Linux AMI.)
That said, I'm pretty easy. If you think it's a good idea, I'm happy with that. It's definitely easier for the users.

I'll do it with the new AMIs after #53

Useful snippet:
$ regions=$(aws ec2 describe-regions --query "Regions[].RegionName" --output text)
$ for region in $regions; do ami=$(aws --region $region ec2 describe-images --filters "Name=name,Values=amzn2-ami-hvm-2.0.20180622.1-x86_64-gp2" --query "Images[0].ImageId" --output "text"); printf "'$region':\n  AMI: '$ami'\n"; done


Cannot find model.zip

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/consume
Operating System: macos
Error: when dotnet run
Unhandled Exception: System.IO.FileNotFoundException: Could not find file '/Users/xxx/Downloads/tmp/myMLApp/consumeModelApp/MLModel.zip'.
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at Microsoft.ML.ModelOperationsCatalog.Load(String filePath, DataViewSchema& inputSchema)
at consumeModelApp.Program.ConsumeModel() in /Users/van/Downloads/tmp/myMLApp/consumeModelApp/Program.cs:line 19
at consumeModelApp.Program.Main(String[] args) in /Users/van/Downloads/tmp/myMLApp/consumeModelApp/Program.cs:line 11

@vinbrule Are you still experiencing this problem on the latest version of the CLI?

@vinbrule I can't reproduce this anymore and I think it has been fixed. If you are still seeing the problem please let me know and we can reopen the issue. Thanks for reporting!


This looks like somebody tried to fix simplecoin

Just a look at a more complex version that somebody made

Yes, simplecoin doesn't actually function. Networking does not work, the process for sharing data between processes is not functional and even redesigned to be functional, is bad practice. Just look at the work im doing on my github. I'm continuing to improve upon this code design by fixing the issues that this project has. If you want more information, please contact me directly.


Separate spotless checks from GitHub Action test workflows

Description
Separate spotless checks from GitHub Action test workflows
Check List

[ ] ~New functionality includes testing~

[ ] ~All tests pass, including unit test, integration test and doctest~

[ ] ~New functionality has been documented~
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I have a question for the migrations developers - should spotless violations block any/all merges?  Vote with emoticons.
The last commit in the PR requires spotless for merges too.  I believe that's how builds currently work too since spotless is tied up into the build command previously, but it's negotiable.


test_dask.py fails to import with distributed 2021.10.0

==================================== ERRORS ====================================
_________________ ERROR collecting streamz/tests/test_dask.py __________________
streamz/tests/test_dask.py:19: in <module>
    def test_map(c, s, a, b):
/nix/store/1pk6xcgl18jhk5wabzsa83r5j746ynvc-python3.8-distributed-2021.10.0/lib/python3.8/site-packages/distributed/utils_test.py:922: in _
    raise RuntimeError("gen_cluster only works for coroutine functions.")
E   RuntimeError: gen_cluster only works for coroutine functions.
=========================== short test summary info ============================

Tested with streamz 0.6.3.
dask fixed a similar issue in https://github.com/dask/dask/commit/cd65507841448ad49001cf27564102e2fb964d0a#diff-7cd4c58914fc9efc64bddea10b24254dd1e2580c7f323341340476eee24c2690
(you're likely to get a lot of people wanting to update to this distributed release pretty quickly because of https://nvd.nist.gov/vuln/detail/CVE-2021-42343)

Thanks for pointing that out. It should be a simple fix, it seems, but I don't know when I will get to it. Perhaps someone else can push a PR?


De-crating

workspace setup was overcomplicated before and not needed on move away from egui

needs to remove scripts

and update bitbucket scripts


Experimental reorganization

This is mostly just a cosmetic reorganization. The main motivation was to expose a well-defined API for extending Autograd in a single module, extend.py. The only functions/classes that we should need for wrapping a numerical libary are primitive/defvjp*/defjvp* for defining new primitive functions, Box/VSpace for defining new types, and SparseObject. In practice, we also use functions like vspace, getval and isbox but we should try to avoid them.
This PR includes the commits from #293, so we need to be happy with the performance before merging with dev-1.2. I made a small optimization to defvjp which might help.
While we're renaming things, I wouldn't mind finally changing our JVP/VJP convention to something more obvious. JO/JTO? fwd_op/rev_op?

I like JO/JTO. Unfortunately "fwd_op" could sound like the operation for the forward pass of backprop, rather than forward-mode.
There's an asymmetry between the JO and JTO signatures here, in that the latter takes an argnums argument. Does it make sense to have both JOs and JTOs take argnums?
+1 on the differential_operators.py rename! Now the name better reflects the gravitas of that module.
+1 to the new builtins version of tuple/list/dict. That will make the interface feel more natural for user code.
The class methods on the basic VSpaces, like ListVSpace.register, seem a bit weird because aren't we likely only to call them once (i.e. to register one basic data type per VSpace class)? The former convention, of calling functions, seems better suited to that use case.

Yes, assuming we stick with the combo JTO approach I agree that we should make JOs take argnums too.
The motivation for replacing register_box/register_vspace with Box.register/VSpace.register was to unclutter the imports. There might also be an argument that we expect object/class methods to possibly mutate the object/class, whereas we expect regular functions to be pure (although nobody will be surprised that 'register_X' has side effects). I'm not sure I understand why it matters whether we call it once or more than once, but we do call e.g. ArrayVSpace.register multiple times. Looking at it again, I think I agree that register_vspace(DictVSpace, dict) might be clearer than DictVSpace.register(dict). A compromise would be VSpace.register(DictVSpace, dict), where VSpace is used as a namespace and to give a hint as to what's being mutated.

What's the use case for the builtins tuple/list/dict?
Surely the idea with the numpy/scipy primitives and with other builtins like type and isinstance is that you can directly substitute the autograd wrapped versions into pre-existing user code and it 'just works'.
With list and dict at least this won't be the case, since the boxes returned by autograd.builtins.list and autograd.builtins.dict are immutable. As a trivial example the following function would break if you used autograd.builtins.list in place of list:
def f(x):
    l = list((x, x, x))
    l[0] = 0
    return sum(l)

There's no new functionality. We're just replacing make_tuple (which we use often) with tuple. Maybe users will expect more from something called list than something called make_list. But the situation is the same with autograd.numpy - assignment to arrays breaks the Autograd illusion.

Even autograd.builtins.tuple could break some stuff, a simple example would be something like
from autograd.builtins import type
def f(x):
    t = (x, x, x)
    assert type(t) is tuple
    return sum(t)

But the situation is the same with autograd.numpy - assignment to arrays breaks the Autograd illusion.

I know you already know this, but clearly the same doesn't have to be true for lists, as in the trivial function example above.

Ok, I see what you're saying. Your point is that we can't tell users to always use the Autograd version of everything, because the Autograd tuple/list/dict is worse than the Python tuple/list/dict in many respects. I had assumed that we would tell users to use tuple/list/dict from Autograd.builtins only as needed.

Ok, I see what you're saying. Your point is that we can't tell users to always use the Autograd version of everything, because the Autograd tuple/list/dict is worse than the Python tuple/list/dict in many respects.

Yeah, I think it's a fairly minor point but one worth making.

I had assumed that we would tell users to use tuple/list/dict from Autograd.builtins only as needed.

I'm also not clear on when these functions would be needed.

Yeah, definitely something worth thinking about. Thanks for pointing it out.
The use cases for autograd.builtins.tuple etc are the same as the use cases for our original make_tuple. For example, if you want the gradient of a tuple-returning function you need the function to return a TupleBox, not a raw Python tuple. See e.g. our linalg tests.

And what about list and dict? Unless there's a use case surely we needn't add them.

I guess you need them if you want to take a gradient through a function that returns a list or a dict, like the tuple in the linalg tests, but maybe this is obscure enough that it's ok to call these primitives something different, perhaps make_list make_dict as they were before.

@mattjj added make_dict fairly recently, mostly for completeness I think. As with make_tuple/tuple, the main applications would be to allow differentiating through dict-returning functions and to enable primitives with dict-valued arguments.

IIUC there's an optimization in master which isn't here yet, namely that when all the boxed arguments to a primitive call are plugged into zero-VJP argument positions, the result can get unboxed. I was reminded of that because I noticed the very explicit implementation of zero VJPs here. Is my understanding correct? Any thoughts on this front?
This _is_primitive member isn't read anywhere; is it cruft, or a sign of things to come? Actually, it would be helpful to work out a clear design for how some functions might be primitives or notrace_primitives for one trace type, but be compound procedures or tracing primitives, respectively, for other trace types. (I can explain use cases for both of those, if that would be helpful.) On the other hand, those things might not be necessary for autograd's current scope (and only for extensions), so we don't have to block dev-1.2 on them, since you/we are juggling a lot already.

Both excellent proposals but I don't have good solutions yet.
On the zeros-vjp proposal: I agree that it was nice the way the zeros-vjps used to cauterize the graph Hydra (pinch the tips of the graph tomato vine?) instead of sprouting explicit zeros. The challenge is that it breaks the new tracer/autodiff abstraction barrier and I don't know the best way for tracer to expose it as a feature. We should definitely fix, but in the short term I'm not too worried because it only affects a small number of functions, like np.where. That might be not be the case for other numerical libraries though.
Having primitives defined separately for different tracing applications is also something we should do. There, I'm mostly worried about the overhead of checking each trace against the trace types supported by a given primitive. I should try implementing it and see how it looks. One thing to think about is what the interface should look like. It might be annoying to have to go through all the numpy primitives and tag them as primitive wrt to your new tracing application. But that's probably the cleanest way to do it.
_is_primitive is definitely cruft. I was playing around with putting a check in defvjp to confirm that the function is actually a primitive. Nothing deeper than that, I'm afraid.


Error exporting enum vars in Part 6: EntityDefinition

I'm following your great roguelike tutorial (thank you so much for that!) and I'm getting an error during part 6. Excuse me if this is not the best place to ask questions like this!
I have added the definition of the enumerated AIType in the entity.gd script:
class_name Entity
extends Sprite2D

enum AIType {NONE, HOSTILE}

But then, in the entity_definition.gd script I'm getting an error in the new line; the one that uses the Entity.AIType enum:
class_name EntityDefinition
extends Resource

@export_category("Visuals")
@export var name: String = "Unnamed Entity"
@export var texture: AtlasTexture
@export_color_no_alpha var color: Color = Color.WHITE

@export_category("Mechanics")
@export var is_blocking_movement: bool = true

@export_category("Components")
@export var fighter_definition: FighterComponentDefinition
@export var ai_type: Entity.AIType

Error at (16, 29): Could not find type "AIType" under base "Entity"
To make sure I haven't made some silly mistake, I've also tried copying and pasting the original code from the repository; but I'm still getting the error. Would you have any clues as to what might be going on?
And thanks again. I'm having a great time following the tutorial!

Godot Engine v4.1.2 stable official

Yep. As soon as I reopened the project today there was no more errors.
Sorry for bothering you with this. :)
And thank you so much again!


Decide on a data table solution

We need: Sorting, filtering by each column, possibly server-side pagination, JSX in fields.
Possibilities:

react-data-table seemingly does not have filtering for each column, but this could be done with custom addition. However, server-side pagination may be difficult.
Tabstack Table: This may work, seems to support server-side pagination ("manual pagination")

For now, material-react-table seems best option. It wraps tanstack-table, offering most needed features but also some ready-made wrapping.


ng serve is giving errors for a basic project created by ng new

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac OSX EI Capitan

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.18

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.

Nothng
The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (../a/node_modules/@ngtools/webpack/src/index.js:5:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.../a/node_modules/angular-cli/models/webpack-build-typescript.js:5:17)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (../a/node_modules/angular-cli/models/webpack-config.js:2:34)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (../a/node_modules/angular-cli/tasks/build-webpack.js:6:24)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (..
/a/node_modules/angular-cli/commands/build.js:3:23)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Class.module.exports.includedCommands (/../a/node_modules/angular-cli/addon/index.js:21:16)
at ..a/node_modules/angular-cli/lib/models/project.js:392:61
at Array.forEach (native)
at Project.addonCommands (../a/node_modules/angular-cli/lib/models/project.js:391:15)
at Project.eachAddonCommand (../a/node_modules/angular-cli/lib/models/project.js:426:30)
at module.exports (../a/node_modules/angular-cli/lib/cli/lookup-command.js:33:13)
at CLI. (..a/node_modules/angular-cli/lib/cli/cli.js:34:26)
at tryCatch (../a/node_modules/rsvp/dist/rsvp.js:538:12)
at invokeCallback (../a/node_modules/rsvp/dist/rsvp.js:553:13)
at publish (../a/node_modules/rsvp/dist/rsvp.js:521:7)
at flush ..a/node_modules/rsvp/dist/rsvp.js:2373:5)
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)

Thanks! We'll be in touch soon.

I am having the same problem.  Ng serve will not start server after generating a new file using the cli.  I am running the beta 31.  Here is my error:

You have to be inside an angular-cli project in order to use the serve command.

I am starting the serve in the same directory I normally do.

its crashed if your use old nodejs version in OS.
If your OS ubuntu, use https://github.com/nodesource/distributions#deb
new angular/@cli requests nodejs ver. 6.9.x
I solve this problem use repo in link. Install to my ubuntu node 6.9 and all works fine!

Did the same in Mac and it is working now with node 6.

Updating node Fixed it for me.

Thnx all :)
On Tue, Feb 14, 2017 at 7:53 AM, awsaunier<EMAIL_ADDRESS>wrote:

Updating node Fixed it for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/4620#issuecomment-279518725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEf2xXf1sTPNmq5-k1NmF43Bk6Mtow9zks5rcMLigaJpZM4L-L7H
.

--
Best Regards,
Sarah Tabassum

Hi I was facing the same issue few mins back. Then I have updated node from 4.2 to 7.x.
And now getting below error
"Parsing angular-cli.json failed. Please make sure your angular-cli.json is valid JSON. Error:
SyntaxError: Unexpected token / in JSON at position 163"

Hi, I was facing the same issue few mins back.
/usr/local/lib/node_modules/@angular/cli/models/config/config.js:17
constructor(_configPath, schema, configJson, fallbacks = []) {
^
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/@angular/cli/models/config.js:3:18)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)

I'm trying to run serve -s build and see this error. Has anyone else seen this one? Thanks!
/usr/local/lib/node_modules/serve/bin/serve.js:12
const { coroutine } = require('bluebird')
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3


Fix/auth tls certs

PR description

Update TLS auth certificates in order to comply with cfssl update and fix e2e tests.
Added qkm cfssl descriptors
Changed ca to root + intermediate

openssl verify -CAfile deps/config/ca/ca.crt tests/e2e/certificates/client.crt tests/e2e/certificates/https.crt tests/e2e/certificates/client_no_auth.crt
tests/e2e/certificates/client.crt: OK
tests/e2e/certificates/https.crt: OK
tests/e2e/certificates/client_no_auth.crt: OK

Fixed Issue(s)
#366
Changelog

[ ] I thought about the changelog and included a changelog update if required.

Now that the certs are generated, should we add the certs to .gitignore and generate them when the app is started ? In make deps


WebSocket patching fails on Safari 7.0 for onopen, onmessage, onclose, onerror properties

When zone detects that we can't patch prototype descriptors, we call patchWebSocketProperties which tries to patch onmessage and friends via descriptors on the instance. This works in Chrome <43 but not in Safari 7.0 where even instance descriptors are not configurable.
Potential fix would be to return a proxy object similar to how patchClass works and intercept all of the property getters and setters via the proxy.

I should also mention that this is not a problem on Safari 7.1 where instance descriptors are configurable. However SauceLabs only provides us with Safari 7.0 and Safari 8.0, not Safari 7.1


Cannot have both a group list and task list

I think this is a bug.
I'm trying to add decoding trust like so
group:
  - decoding_trust
  - dt_adv_demonstration
  - dt_adv_demonstration_spurious
task:
  - task: spurious_entail
    test_split: spurious.PP.entailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_nonentail
    test_split: spurious.PP.nonEntailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_underverb
    test_split: spurious.embeddedUnderVerb.entailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_underverb_nonentail
    test_split: spurious.embeddedUnderVerb.nonEntailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_relclause_entail
    test_split: spurious.lRelativeClause.entailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_relclause_nonentail
    test_split: spurious.lRelativeClause.nonEntailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_passive_entail
    test_split: spurious.passive.entailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_passive_nonentail
    test_split: spurious.passive.nonEntailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_passive_nonentail
    test_split: spurious.sRelativeClause.entailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
  - task: spurious_passive_nonentail
    test_split: spurious.sRelativeClause.nonEntailBias
    doc_to_text: "Here are some examples for the task {{examples}}. Here's the question: {{input}}"
    doc_to_choice: ['no', 'yes']
dataset_path: AI-Secure/DecodingTrust
dataset_name: adv_demonstration
output_type: multiple_choice
doc_to_target: label
metric_list:
  - metric: acc
metadata:
  version: 1.0

However I encounter an error here:
File "lm-evaluation-harness/lm_eval/tasks/__init__.py", line 314, in _get_task_and_group
    tasks_and_groups[config["group"]] = {
TypeError: unhashable type: 'list'

Hi!
Could you elaborate more about what the particular use case of defining both multiple tasks and multiple groups in a given YAML file would be?
Currently, we operate under the assumption that if a list of tasks is specified, that the YAML is being used to define a single new group/benchmark which will aggregate over that list of tasks. If a list of tasks is not specified, then the file is a task YAML and is only meant to define a single task for now.
Would setting things up similar to MMLU solve your use case, with one group containing a few subgroups and their subtasks? https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/tasks/mmlu/default/_mmlu.yaml

I ended up doing that (multiple files like mmlu) to fix the problem.
I viewed a group as a way to call evaluating tasks. A list of groups was a way to call this task or set of tasks from multiple different names. I didn't see anywhere in the docs that you were only supposed to have either a group list or a task list but not both hence I made this issue. If this intended behavior happy to make a PR to update the docs with the implicit assumptions made explicit.
I wanted it mostly for convenience to create this task list itself as a group and be able to call this task list from multiple different group names ala decoding_trust or dt_subset

Makes sense!
A docs update would be greatly appreciated! We are planning on moving toward differentiating "groups"/tags (a convenient name/shortcut to call a group of tasks) and "groups" / benchmarks which require a separate YAML file and should explicitly define how to aggregate a single score over a task grouping, which I hope will add clarity here too.

@haileyschoelkopf
If I have firewall issues, and want to load the dataset from disk, not from online downloading, where should I use the load_from_disk function from datasets lib, in lm_eval codes?

Hi @vovoluck , this seems like a separate issue from the one here. However, Task (and particularly ConfigurableTask objects) have a download() method, which you could edit to use load_from_disk to your liking.


How to find a channel id from channel name  using a slack api?

How to find a channel name using channel id? Is there any slack api present for this?
I need this logic to post messages in respective channels using channel name by converting it to channel id in bot code even if it is private channel.
Please help!

@Mogadampalli-Jayanth - conversations.list will give you a list of channels in a team. From the payload object it also looks like it will return what you need - channel_id, is_private.
Additionally, a bot needs to be a member of a channel in order to post in it (that is the design). You should look at conversations.join to have your bot join the channel before attempting to post messages.
Note which scopes you'll need in order to use this API method. Here is the full list of API methods for your reference.
Hope that helps!

Thanks @srajiang for quick response.


Feature Request: Focus on clicking Specify a Gene

When I click specify a gene, I would like to be able to start typing without having to also tab and/or click into the input box

If I click the "+ specify a gene" and then start to type it does not type in the box unless i click on the newly shown input box before I start typing

It would simplify the process if I didn't have to do the extra click

Agreed this would be better behavior. I've opened a PR that includes this and it'll go out in the next release!


M3-2108: Change: Refactor domains dashboard card to use Redux state

Description
Refactored DomainsDashboardCard to make use of Redux State. This refactor was based off of LinodesDashboardCard. The driver for this was the fact there was an unnecessary request to /domains happening on the dashboard.
Type of Change

Non breaking change ('update', 'change')

Note to Reviewers
To verify:
On production:

Go to the Dashboard.
Open up Network dev tools, and you'll notice two separate GET requests to /domains:

On this branch:

Take the same steps as above, and you'll notice ONE request now:

Coverage increased (+0.03%) to 33.364% when pulling 4855e314bff8edd2d7ad920f3ada148e2569105d on johnwcallahan:M3-2108-domains-request into 6fd925b5afc50f062d238ea94a15a37bec73f305 on linode:develop.


test(store-sync): benchmark storage adapters with 100, 1000, 10000 logs

Generate logs for 10000's of records on-the-fly is impractical so we run a script to generate the logs and save to file.
I really dislike the approach of separate bench files for each amount (this go approach is nice).
For 10000 logs, RECS is the fastest to hydrate but SQLite is fastest to fetch all records for a table:

Hooks (beforeAll etc.) are being added for Vitest benchmarks which will make our test setup better: https://github.com/vitest-dev/vitest/pull/5076


merge: sync with upstream quartz

update toolbox page with the new search feature from quartz.

Hmm let me try again, with squash merge, this is way too convoluted


jupyter sidemenu gone with Dockerfile

The tensor service runs perfectly fine dc up tensor :

The jupyter service although based on the same image has the side menu gone dc up jupyter

notebooks only open on new page

Fixed, the extra command was not necessary and was causing start in old fashion mode


New Package: ngraph-gtk version 6.09.07

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\ngraph.exe returned exit code: -1073741515
Executable C:\Users\Validator\AppData\Local\Microsoft\WinGet\Links\ngraph.exe returned exit code: -1073741515
Executable C:\Users\VALIDA~1\AppData\Local\Temp\C8A72340-210B-4D36-8370-A9E03988FE12\DismHost.exe returned exit code: -2147024809

(Automated response - build 869.)

@wingetbot waivers Add Validation-Executable-Error


[FEATURE] re-model monitor executions as a cancellable task

Today Alerting execution is not tracked by Opensearch task manager because it is executed as a Job Scheduler job.
This renders us without any control over long runnign monitor exceutions which we may want to cancel or abort
All operations in Opensearch are registerable in Opensearch framework
A sample task looks like
retention_lease_background_sync NS5L3EYoSM2ED7Ivqq1snQ:993186  - transport<PHONE_NUMBER>362 01:33:07  5.1h         <IP_ADDRESS> 5112ba5b511cfd4495

Alerting monitor execution scheduled by job schuedler should register a cancellable task
alerting/monitor/scheduled NS5L3EYoSM2ED7Ivqq1snQ:993186  - transport<PHONE_NUMBER>362 01:33:07 1.5m    <IP_ADDRESS> 5112ba5b511cfd4495

task can contain details like monitor id to help with tracking which node is running the monitor.

We can invoke ExecuteMonitorAction in runJob flow in job scheduler


Public dataset?

The README mentions the dataset will be made public soon. Do you know when you will make it available?

Due to the rejection of nico dataset, the public dataset might be delayed. I am sorry.

I am working with nico-illust dataset now. It might be done before June. Unfortunately, the nico-illust contains too many useless data, and only few of them can be used as accepted data pairs. I think the dataset may contain 2000 line-color pairs. I will keep you posted for any updated infomation.

Due to limitation of datasets, I provide toolset to create dataset instead of a pre-built dataset. This overcomes some copyright limitations.


[Question] Pause Tween

Hello!, How can I pause/resume Tween ( IObservable  )?

I tried Filtering but it didn't really pause the stream and cause data loss. With Unsubscribe / resubscribe, you will have to reusubscribe with the last value when unsubscribe stream, this seems a bit troublesome for WhenAll , CombineLatest

Thanks for question.
To be honest, I never thought about pause tween.
I have a plan to make a new incompatible version.
I will think at that time.
Sorry.

Great, I'm glad to hear about that. I will try to make it pause with what's present

I think the reason I can't pause is because currently tween is dependent on Time.time / Time.unscaledTime these two quantities are always running when I pause Coroutine and Stream with boolean gate, maybe I will try to create a counter. time for every 1 tween individually but I am quite concerned about performance when doing that. maybe it will have low performance?

That's cool. You can stop it via the scheduler.
IScheduler.Now is called once in 1 frame per 1tween. (Sometimes twice)
Don't worry about performance.
        public class PausableScheduler : IScheduler
        {
            private float? pauseTime;
            private float lastResumeTime;

            public PausableScheduler()
            {
                lastResumeTime = Time.time;
            }

            public float Now
            {
                get
                {
                    return pauseTime != null ? pauseTime.Value : Time.time - lastResumeTime;
                }
            }

            public bool Paused
            {
                get
                {
                    return pauseTime != null;
                }
            }

            public void Pause()
            {
                pauseTime = Time.time - lastResumeTime;
            }

            public void Resume()
            {
                lastResumeTime = Time.time - pauseTime.Value;
                pauseTime = null;
            }
        }

        public void OnClickPauseResume()
        {
            if (scheduler.Paused) scheduler.Resume();
            else scheduler.Pause();
        }

        public void Sample1()
        {
            var cube1 = CreatePrimitiveCube();

            scheduler = new PausableScheduler();
            Anime.Play(new Vector3(-5f, 0f, 0f), new Vector3(5f, 0f, 0f), Motion.Uniform(5f), scheduler)
                .SubscribeToPosition(cube1)
                .AddTo(cube1);
        }

Ya, Thanks you. I also slightly modified the interface IScheduler so that during pause coroutine AnimationCoroutine would not perform unnecessary calculations.
    public interface IScheduler
    {
        float Now { get; }
        bool Paused { get; }
    }

    public class TimeScheduler : IScheduler
    {
        public float Now
        {
            get { return Time.time; }
        }

        public bool Paused
        {
            get { return false; }
        }
    }

private static IEnumerator AnimationCoroutine(IAnimator animator, float start, float distance, IScheduler scheduler, IObserver<float> observer, CancellationToken token)
        {
            while (true)
            {
                if (token.IsCancellationRequested)
                {
                    observer.OnCompleted();
                    yield break;
                }

                while (scheduler.Paused)
                {
                    yield return null;
                }

                var now = scheduler.Now - start;
                if (animator.CalcFinishTime(distance) < now)
                {
                    break;
                }

                observer.OnNext(animator.CalcPosition(now, distance));
                yield return null;
            }

            observer.OnNext(animator.CalcPosition(animator.CalcFinishTime(distance), distance));
            observer.OnCompleted();
        }

great!


GH-1673: Improve Docs for Default @KafkaHandler

Resolves https://github.com/spring-projects/spring-kafka/issues/1673
cherry-pick to 2.6.x, 2.5.x

... and cherry-picked to 2.6.x & 2.5.x

... and cherry-picked to 2.6.x & 2.5.x


[SB] Update API type hints for methods that accept dicts

Complete after : #14807
In the above PR, changes were made to SB so that dict representations of the following objects are
now accepted and can be sent:

ServiceBusMessage
QueueProperties
TopicProperties
SubscriptionProperties
RuleProperties

The API type hints that now accept dict representations of these objects should be updated to reflect the change. The type hint should show that an object of type typing.Mapping is accepted, NOT AN OBJECT OF TYPE Dict. Discussion for this update here:  https://github.com/Azure/azure-sdk-for-python/pull/14807/files#r579153824.
The type hints for the following methods should be updated:

_from_list in message.py
add_message in message.py
schedule_messages in _servicebus_sender.py
send_messages in _servicebus_sender.py
schedule_messages in _servicebus_sender_async.py
send_messages in _servicebus_sender_async.py
update_queue, update_topic, update_subscription, update_rule in management/_management_client.py

update_queue, update_topic, update_subscription, update_rule in aio/management/_management_client_async.py

need to update all the isinstance(x, dict) to some sort of validation that the dict is of type Mapping and conforms to the Mapping protocol. Below is a prototype of that check from Anna:
def _check_instance(input):
    if isinstance(input, ServiceBusMessage):
        return True
    try:
        dict_message = dict(intput)
        dict['body]  # Check that a required key is present
        return True
    except (ValueError, TypeError, KeyError):
        raise ValueError("Message must be an instance of ServiceBusMessage or Mapping")
    return False

add a test to check non-SBMessage-non-Mappable inputs raises an error as expected


Update tests to use message templates instead of hardcoded strings

This is for everything under pkg/polymer/test/build.
Some of the tests already do this, but its inconsistent.

This issue has been moved to dart-lang/polymer-dart#444.


Fix types for React 18

React 18 removes the implicit children prop from ComponentType (etc).
This currently causes TS errors for those using this lib with React 18.
Fixes #96.

Hi @callum-mellorreed-privitar, thanks for the PR! Unfortunately I have lost my owner/maintainer permissions to the repo as I'm no longer with @parsable but I'm working with them to get the repo transferred to my account so I can continue maintaining it. Once that's resolved, I'll happily merge it!

Can confirm, all good now. Thanks for the quick turnaround!


Images Per Page and Columns options just doesn't work.

Exactly as the title says.
It doesn't work with the Plus icon nor the Options in the menu.
Using 6.0.4

Can you give more information?
The images per page and columns settings work fine from what I see.

Note that the "columns" setting only applies to multi-source search, setting how many sources there should be per row, and not how many images appear per line for each source.
If you want to have bigger/smaller thumbnails, you should change the "upscaling" setting in the options. In my case, I have 15px * 15px thumbnails, 10% of the original 150px * 150px images:

@Bionus The column setting is fine and perhaps a tooltip on hover can further explain its function.
The image per page setting works for most sources, not all. For example, it does not work for rule34.paheal.net

@Bionus The column setting is fine and perhaps a tool-tip on hover can further explain its function. I also stumbled when I first used it, though I was unsure of its use from the get go.

Indeed, it's true that it might not be obvious that it's about the sources and not the number of images per row. I added a tooltip explicating it.

The image per page setting works for most sources, not all. For example, it does not work for rule34.paheal.net

Yes, I feel that might be the origin of this issue. Shimmie and Zerochan often don't respect the "images per page" setting. I just created issue #1412 as a possible solution for this.


Use --stage (or -s) to determine the environment

To prevent any breaking changes, the --env option keeps the precedence over --stage, so if both options are set, the --env wins :muscle:.
This PR intends to provide the behaviour initiated by PR #32 without introducing a breaking change.

Hello @colynb :wave:
I'm wondering if you had time to check this PR and if you are interested in merging it? If not, let me know if I can do anything to improve it!
Thank you.

I'm here looking for exactly this. +1

I’ll spend some time later today looking over it. Thanks.
On Thu, Apr 16, 2020 at 5:53 AM Andreas Franzén<EMAIL_ADDRESS>wrote:

I'm here looking for exactly this. +1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colynb/serverless-dotenv-plugin/pull/51#issuecomment-614633738,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIAEJCULOSEYIMCWR6BFFDRM35ULANCNFSM4LVDXKAA
.

This looks good! I'll merge shortly.

Version 2.4.2 has been published to npm


Make compatible with zsh package managers

Hi Fabian,
Thanks for a cool project.
This PR renames the main file to be biozsh.zsh, meaning it is compatible with zsh
pacakge managers like zgen. Documentation of this is included.
Hope that solves the installation problem!
Cheers,
K

Thanks, merged.


os/signal: test failures with "signal: interrupt" and no other output

2020-09-22T15:14:09-d42b32e/linux-386-longtest
2020-09-22T15:13:57-53c9b95/darwin-arm64-corellium
signal: interrupt
FAIL	os/signal	13.095s

It's a strange failure mode, and seems even stranger given that we've only seen two occurrences, on very different builders but at very nearly the same time. (CC @golang/osp-team in case this is due to a cmd/coordinator issue.)

2020-11-09T14:17:30-f858c22/solaris-amd64-oraclerel
2020-11-03T01:27:45-cc0930c/darwin-amd64-nocgo
2020-11-03T01:27:45-cc0930c/solaris-amd64-oraclerel
2020-11-02T00:46:44-e463c28/linux-amd64-clang
2020-10-30T15:25:49-e1faebe/illumos-amd64
2020-10-29T15:13:09-50af50d/netbsd-arm-bsiegert
2020-10-29T04:12:30-53efbdb/linux-amd64-jessie
2020-10-27T12:36:54-320cc79/netbsd-amd64-9_0
2020-10-27T12:00:35-333e904/netbsd-arm64-bsiegert
2020-10-26T18:29:24-a8b28eb/netbsd-arm64-bsiegert
2020-10-26T18:20:05-ae585ee/darwin-amd64-nocgo
2020-10-23T00:22:00-400581b/netbsd-amd64-9_0
2020-10-22T19:43:26-c92bfac/netbsd-amd64-9_0
2020-10-22T17:11:03-f8aecbb/solaris-amd64-oraclerel
2020-10-22T15:10:01-de74ea5/linux-arm64-aws
2020-10-22T01:20:16-4c7a18d/illumos-amd64
2020-10-21T14:34:44-15ead85/netbsd-amd64-9_0
2020-10-17T07:18:20-c8f6135/netbsd-amd64-9_0
2020-10-16T12:48:42-e981936/linux-amd64-nocgo
2020-10-16T04:13:45-af87480/netbsd-arm-bsiegert
2020-10-15T21:40:46-21e441c/netbsd-arm-bsiegert
2020-10-15T18:35:44-1bcf6be/illumos-amd64
2020-10-14T20:17:49-2ec71e5/solaris-amd64-oraclerel
2020-10-12T22:34:47-027367a/darwin-amd64-race
2020-10-12T18:31:36-8994607/illumos-amd64
2020-10-12T18:31:22-2f4368c/darwin-amd64-10_15
2020-10-09T15:13:57-eb67eab/darwin-amd64-race
2020-10-08T18:56:11-46ab0c0/netbsd-amd64-9_0
2020-10-07T15:57:48-ccf89be/darwin-amd64-10_14
2020-10-06T22:55:40-234de9e/netbsd-arm64-bsiegert
2020-10-06T07:37:55-8e20388/darwin-amd64-10_15
2020-10-05T17:31:26-b064eb7/linux-386-clang
2020-10-02T20:23:33-21eb3dc/linux-s390x-ibm
2020-10-02T18:57:36-d888f1d/darwin-arm64-corellium
2020-09-29T19:01:28-567ef8b/linux-amd64
2020-09-29T17:25:24-66770f4/solaris-amd64-oraclerel
2020-09-29T06:10:34-6fc094c/darwin-amd64-race
2020-09-24T20:41:14-23cc16c/aix-ppc64
2020-09-24T18:05:54-25a33da/netbsd-amd64-9_0
2020-09-24T16:21:59-83e8bf2/darwin-arm64-corellium
2020-09-23T17:10:35-bc320fc/aix-ppc64
2020-09-22T16:52:11-4e1d812/netbsd-amd64-9_0

This does not appear to be a cmd/coordinator issue, but does appear to be a regression in Go 1.16, so marking as release-blocker until we better understand the cause.

(CC @ianlancetaylor @cherrymui for signaly symptoms)

I think this is due to TestNotifyContextSimultaneousNotifications, which sends to the running process a lot of SIGINT signals. The signal could land after the test is done and we have unregistered the signal handler.
Maybe we should wait some time until all pending signals arrive, or run that particular test in a separate process.

TestNotifyContextSimultaneousNotifications is new in Go 1.16, so that explains the regression.

CC @henvic

Maybe we should wait some time until all pending signals arrive

That is exactly what the existing quiesce helper function attempts to do. It should probably be used in that test too.

or run that particular test in a separate process.

I think that's probably the right long-term direction for the os/signal tests. (See also the discussion on CL 232378.)

Or use a non-fatal signal.

Maybe, although I would worry that would just mask the timing issue and lead to crosstalk with the other tests.

Thanks @bcmills, I'm going to take a look.

Hey @bcmills,
Is something like this the direction you think tests should go?
https://go-review.googlesource.com/c/go/+/270198
Just wondering: is it on purpose that no -v (verbose) is used when running the tests on the CI? I ask because I don't know how to access further information about the failed tests (if they're stored somewhere).

That CL does look like the right general direction, although I would be inclined to use os.Args[0] or os.Executable to re-exec the test process itself, rather than invoking go run on a separate program.
(See TestDetectNohup and TestNoupfor existing examples of that style in theos/signal` tests.)

Friendly ping as this is a release blocking issue. CC @ianlancetaylor.


unrelated actions mutated by consortium middleware

also, we should probably move async actions to be bundled with the rest of the actions, vs. middleware

Oh, crap. No good.

resolved