The "state" parameter should be per-request for CSRF protection

I'm working to update the crates.io codebase from 0.3 to 1.0+.  After updating the relevant call sites, I'm running into a borrow error because the set_state function is part of the builder pattern for Config (and takes self by value).  Previously a per-request state value was provided as a parameter to authorize_url.
Here is the relevant code and the diff addressing the API change:
    let state: String = thread_rng().gen_ascii_chars().take(16).collect();
     req.session()
         .insert("github_oauth_state".to_string(), state.clone());

-    let url = req.app().github.authorize_url(state.clone());
+    let url = req.app().github.set_state(&state[..]).authorize_url();

Basically, req.app() returns a &Arc<App> where App is a struct initialized at boot and containing a field github of type oauth2::Config.  This code results in an error "cannot move out of borrowed content".
The old API allowed a per-request state value to be easily supplied to each authorize_url call.  As seen in the code above this random state is stored in the session.  It is recovered and checked by the callback endpoint later in the authorization flow.
With the new API the state parameters is captured as part of the builder pattern and it seems this encourages reuse of the same state across multiple requests to the authorization server.  Since the authorization URL (and embedded state parameter) are shared with the user's browser, it is easy for anyone to predict the state if it is reused.  From section 10.2 of the spec, where "binding value" refers to the state parameter:

The binding value used for CSRF protection MUST contain a non-guessable value (as described in
Section 10.10), and the user-agent's authenticated state (e.g., session cookie, HTML5 local storage) MUST be kept in a location accessible only to the client and the user-agent (i.e., protected by same-origin policy).

For now, I can work around this with the following, but it seems that the current API doesn't encourage sufficient CSRF protections.
-    let url = req.app().github.authorize_url(state.clone());
+    let mut url = req.app().github.authorize_url();
+    url.query_pairs_mut().append_pair("state", &state[..]);

fair point. bit late to go back to the old interface of authorize_url, though that would be my preferred solution. another option would be to clear the state attribute within authorize_url, but that would be a bit surprising. any other way to keep backwards compatibility of (at least) the authorize_url definition?

something like Config.authorize_url_with_state (with a state argument) + deprecating set_state could also work.

something like Config.authorize_url_with_state (with a state argument) + deprecating set_state could also work.

This is what I had in mind as well.  I hope to find time soon to put a PR together.
I also see that Config is now clone in the 1.3.0 release.  This will clean up the workaround some, as I can clone the config, mutate the state, call authorize_url, and then drop the clone.


⚠ Bofrost.de has degraded performance

In 9d1252a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1224 ms

Resolved: Bofrost.de performance has improved in 2c007be after 20 minutes.


Merging from BitShares repo

@godfreyobinchu If you want to launch a new chain I recommend that you fork off of toolkit branch as mentioned in the README.


device to add the the affected device list

BHT-6000 Room Thermostat Floor heat controller
Ordered March 2021 from a damaged/returned reseller. So likely a late last year model or beginning of 2021.
No viable logs or anything, the script just retried multiple times and failed out saying firmware is too new.

Thanks for your report, @stheno, sorry it didn't work out. Feel free to update the wiki.

the wiki

Where is that device list wiki??? Readme.md doesn't provide any link to that!


More environments for gbif.org

We currently use UAT as a translation environment. Meaning that every time there is a new push from Crowdin, then we build that to UAT. This is appreciated by the translators.
But it means that we cannot use UAT for testing new features and showing them to a group.
Could we create a gbif-translations.org or such instead?

What about making www.gbif-staging.org public and using that for testing translations?  Or vice-versa, I'm not sure how often we have portal16 bits translated before they go to production.

Superseded by https://github.com/gbif/infrastructure/issues/19


No rollback when aborting adding a madokami url

If a madokami URL is passed to 'get' and cum asks for the login information, but cum is prematurely terminated using a keyboard interrupt, a seemingly incomplete series is added. It cannot be unfollowed through the command line as it doesn't show up, and thus needs to be manually deleted from the database. Otherwise, the following exception is thrown if a user tries to update:
Traceback (most recent call last):
  File "./cum.py", line 232, in <module>
    cli()
  File "/usr/lib/python3.4/site-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.4/site-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.4/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.4/site-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.4/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "./cum.py", line 227, in update
    series = series_by_url(follow.url)
  File "/home/fratti/Projekte/cum/scrapers/__init__.py", line 19, in series_by_url
    return MadokamiSeries(url)
  File "/home/fratti/Projekte/cum/scrapers/madokami.py", line 19, in __init__
    self.chapters = self.get_chapters()
  File "/home/fratti/Projekte/cum/scrapers/madokami.py", line 45, in get_chapters
    chapter = name_parts.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

If a madokami URL is passed to 'get' and cum asks for the login information, but cum is prematurely terminated using a keyboard interrupt, a seemingly incomplete series is added.

Seems like a false diagnosis to me. I tried to reproduce this problem by adding a few series that I know to work with cum and using the keyboard interrupt at the login prompt. The result was that the series were added but no files were downloaded. Which makes sense considering that first the URL is scraped, then it's followed and lastly it looks up new chapters for it to download. The login prompt doesn't happen until it reaches the download part as the directory listing doesn't require login information.
What I'm guessing is that the initial scrape of the series failed and that it was still added to the DB as an incomplete entry. AttributeError: 'NoneType' object has no attribute 'group' suggests a regex error and when it comes to Madokami, it means that someone has given the files in the series retarded filenames.
What series did you try this with?

Tried to reproduce again with the same series, but can't reproduce it anymore. Maybe it's some odd corner-case, but I'll close this for now since the original description of the issue is inaccurate.


Cannot send custom tags to Loggly

Currently it appears that it is impossible to send Loggly's tags. This is also an issue with loggly-client.
Loggly expects tags to be in the URL, like this one from their docs: http://logs-01.loggly.com/bulk/CUSTOMER_TOKEN/tag/sample.
Ideally timer-loggly and loggly-client would support sending an array of tags to Loggly. On the loggly-client side, it would be something like changing: @POST("/inputs/{token}/tag/http/") to @POST("/inputs/{token}/tag/{tags}/"), and then sending through a serialized tags array.
Thanks for taking a look. Let me know if there is another way of sending tags that I'm missing.

Yep, I was planning on adding that. I just whipped something up in https://github.com/tony19/loggly-client/commit/4e48b5a75823036f8005be004a0c2b0948e9bdfa
I'll bring this into timber-loggly some time this week.

Great, looking forward to it.

Fixed in https://github.com/tony19/timber-loggly/commit/02ae590afd5fce24815e4b6c86fa8643bd2306ba


Better bot messages

The bot messages should be updated as they are sometimes difficult to understand.

I can pick this one up if it's still unassigned.
Could anyone help on getting this to run in Discord to test changes?
I have already created an app on the Discord Developer Portal and have a Bot Token for the .env file. Then what? Sorry, have never developed or worked on a Discord bot before this. Thanks!

Hey @rgroves I've assigned the issue to you. Did you manage to set up a bot? If not I could give you a quick explaination.

Thanks @Fubinator, I was able to get the bot set up. I was just missing the step where you have to use that URL to be able to enable it for a Discord server. I'm working on the issue now.


fix: update listing details button style

Issue

Closes #823

Description
Updates the styling on the details button in listings cards.
Desktop

Mobile

Type of change

[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 not work as expected)
[ ] Prototype/POC (not to merge)
[ ] This change is a refactor/addresses technical debt
[ ] This change requires a documentation update
[ ] This change requires a SQL Script

How Can This Be Tested/Reviewed?
Navigate to listings page.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have reviewed the changes in a desktop view
[x] I have reviewed the changes in a mobile view
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have assigned reviewers
[ ] I have updated the changelog to include a description of my changes
[ ] I have run yarn generate:client if I made backend changes
[ ] I have exported any new pieces in ui-components

Oh no, I forgot to grab this issue but I did this as part of my header change to update all buttons:
https://github.com/CityOfDetroit/bloom/issues/822
Sorry about that

Oh no, I forgot to grab this issue but I did this as part of my header change to update all buttons: #871
Sorry about that

No worries! I'll close.


⚠ Bofrost.es has degraded performance

In 2486ba3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 2581 ms

Resolved: Bofrost.es performance has improved in 5e9f92d after 18 minutes.


How to get the output of each layer?

In inference stage,I want to get the output of certain layer(for example the output of rpn). Could you tell me how to do?

Hi @qiuxiaoming
Let's say you like to get the proposal, you need to return them in the detector https://github.com/open-mmlab/mmdetection/blob/5ebba9a9221c3f6f8754d4efe293cdcd12be8dd4/mmdet/models/detectors/two_stage.py#L198

Thank you very much.I want to know if I want to compare the output of the proposal with the final output of the bbox in the inference stage, can it be achieved by registering a hook? I saw in related tutorials that hook seems to be only used in train and val stages.Or is there any other way?

@hhaAndroid @qiuxiaoming  was this resolved or was any workaround found?

In mmdet 2.x, it is hard to solve. We can try to set the proposal in the model predictions in MMDet 3.x


adding translations to spanish

Nice, thanks @Zalitoar !
I'll take care of it ASAP.

Deployed: https://welcome.osm.be/?l=es 🚀


[BUG] Unable to access settings page

Describe the bug
Hello, first of all thanks for an awesome project, it's really working well with my Hubitat dashboard!
At some point I've managed to hide the settings button and I've no idea how.  I've searched through the issues on here and seen that apparently I can get into the settings by pressing the "back" button, however that doesn't appear to work on my tablet.
Is there any other way to get the "settings" button on the screen?
To Reproduce
Steps to reproduce the behavior:
I wish I could tell you, I've absolutely no idea, sorry  - I suspect it was user-error.
Smartphone (please complete the following information):

Device: VANKYO Z4
OS: Android 9
Application version: 0.9.5 build 6 (taken from the tablet settings page, not from within the app)

There is an option in the settings with a a warning that allows you to remove the settings button as well as options to make it invisible or change the corner.
If you no longer have the settings button in any of the corners, you must have selected to remove it.
Once you remove the button, opening the settings must be called from MQTT, usually a button in your HA dashboard.
The only way to open the settings once the button is removed is to use MQTT command as outlined in the wiki or uninstall and install the application again.

@thanksmister ok, that's annoying, I didn't setup the MQTT stuff either! :(
An uninstall/re-install doesn't seem to have solved it, but let me try again - this is a "disposable" install, so it's easy to wipe and start again if needed.
As I say, almost certainly "operator error" here, appreciate your time.

@thanksmister FWIW, I've uninstalled and re-installed and it doesn't appear to have wiped the stored preferences on the tablet when it's done this.
The app has definitely gone and come back, but as soon as I launch it then the app returns and auto-loads the same dashboard that was configured previously.
Is there a particular folder I need to delete in order to wipe the config?

OK, clearing the cache and storage from within Android itself resolved this, the settings button is now back.
Closing this :)

You probably have backup application data on for the application.


Upgrading geo and geo_postgis: invalid or unknown type Geo.Point for field

I am upgrading Elixir/Phoenix/Ecto and as a result geo_postgis and geo, but now I'm getting errors with the schema fields that were using the Geo types (like Geo.Point).
** (ArgumentError) invalid or unknown type Geo.Point for field :geocoords

I see that the ecto types were originally in the geo library and they've been moved to geo_postgis, but from my understanding it should still work the same on the surface?

I think I have to use the Geo.PostGIS.Geometry type...


Extension vadimcn.vscode-lldb fails with error "/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.35' not found"

The problem happens on a non-NixOS linux machine with a rather old distro.
I am able to run the extension by applying patchelf to the extension binaries as:
pathToZlib = pkgs.lib.makeLibraryPath [ pkgs.zlib ];

my-vscode-lldb  =  vscode-market.vadimcn.vscode-lldb.overrideAttrs (oldAttrs: {
    postInstall = ''
    cd "$out/$installPrefix"
    patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./adapter/codelldb
    patchelf --add-rpath "${pathToZlib}" ./lldb/lib/liblldb.so
    '';
});

Cool! If you have time, please, make a PR for this issue.

Add this override to overrides.nix so that the file looks like this:
...
updateExtensions {
  # https://github.com/nix-community/nix-vscode-extensions/issues/31
  asf.apache-netbeans-java = _: { sourceRoot = "extension"; };
  # https://github.com/nix-community/nix-vscode-extensions/issues/52
  vadimcn.vscode-lldb = _: {
    postInstall = ''
      cd "$out/$installPrefix"
      patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./adapter/codelldb
      patchelf --add-rpath "${pkgs.lib.makeLibraryPath [ pkgs.zlib ]}" ./lldb/lib/liblldb.so
    '';
  };
}

The default package is a VSCodium with vadimcn.vscode-lldb. Run it (e.g., nix run .# .) and confirm in the PR that the extension works.


WIP: helm chart inflator function in go

examples and more tests (especially for values file and local charts) are coming
most of the implementation is taken from https://github.com/kubernetes-sigs/kustomize/blob/master/plugin/builtin/helmchartinflationgenerator/HelmChartInflationGenerator.go, and tweaked so that it can be run in a container environment.

@mengqiy Does it make sense to add more examples for kustomize? If so, where should they go?

Re. CI failure, please take a look at https://github.com/GoogleContainerTools/kpt-functions-catalog/blob/master/CONTRIBUTING.md#contribute-new-functions

I'd suggest add more e2e tests or examples to provide more coverage and exercise more supported options.
You can either do it in this PR or in a followup PR.

We should add deprecation message to the old TS function when we are done with golang one.

We should add deprecation message to the old TS function when we are done with golang one.

I can do this in my followup PR.

Please update the title.

Other stuff (more test (examples) coverage) can be done in followup PRs.


Ubuntu: class Serverfireteam\blog\BlogServiceProvider not found

After adding the servideprovider to the app.php config file i get the error: Class 'Serverfireteam\blog\BlogServiceProvider' not found in /var/www/html/laravel/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 150
When following the same steps on a windows or mac i get no errors.

@alenoosh  please test this problem , thank you

@Matth-- The bug is fixed. Thank you very much for reporting this bug.


Added cancel method to recognition .h .m

attempting to add cancel functionality to the plugin.

@haup0002 so does cancel ever work for you with these changes? Or even with the changes cancel still does not work?

Still does not work with the changes unfortunately.

@haup0002 crap, sorry I did not see your answer sooner. I believe it to be because the cancel is called on a separate instance of the speech rec engine.

@haup0002 I'm not going to merge this PR as it has been superseded by ba1b3e467445482eaca692a7836c108476b9451e. The JS methods are abort and cancel so those are what I added into the iOS code. In order for the cordova bridge to find the right method signature you'd need to include CDVInvokedUrlCommand to your method.
Also, as I suspected we needed to init the speech rec engine earlier and use the same instance in the abort/cancel methods.


"Fix crashes when CSWpnData" bad fix?

I don't see a reason to loop & backup every player when a much better fix was already posted in an antario thread (and has been around in general for ages)
https://www.unknowncheats.me/forum/counterstrike-global-offensive/231080-getting-wpndata-vtable-indexes.html
ive been using it for a fair while now and have had 0 crashes while using a whole slew of weapon related esps in preset

Crashed a bunch on me couldn't make it through a whole deathmatch without a crash. If you've got a signature it's a simple swap to that interface.

Changed to the one from forums, the less global pointers the better.
Will reopen if some issues will occur.


impl for CryptoSuite & CryptoSuiteFactory

impl for CryptoSuite & CryptoSuiteFactory

this should be done in java sdk refactor.


WIP: Update the docker version to the latest

Description

Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[ ] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

If we want to do down this path, #4090 has a more complete set of the files that need to be changed.

This is dupe of #4090


docs: fix the position of the include_surrounding_whitespace

include_surrounding_whitespace should be inside the select.

Almost forgot there's another tiny fix for main too, @clason Could you please do it again?


Gradle 7 deprecation warning

Invocation of Task.project at execution time has been deprecated. This will fail with an error in Gradle 8.0. Consult the upgrading guide for further information: https://docs.gradle.org/7.6/userguide/upgrading_version_7.html#task_project

This is shown when running the jdepsReport task on a Gradle 7.6 project.

Released in v0.20.0 -> https://github.com/kordamp/jdeps-gradle-plugin/releases/tag/v0.20.0


Stencil isn't working within BufferedContainers

How to reproduce: in the StencilTestScene make StencilDrawable a child of a BufferedContainer. Result will look like Stencil was not applied at all.
Tested with LegacyGL and D3D, so it probably just isn't handled by the BufferedContainer implementation.

It's not handled by default, but it should work if you give it a stencil format:
new BufferedContainer(new[] { RenderBufferFormat.D32S8 })

It kinda does. Main buffer works fine, but effect buffers become empty.

That's because effect buffers are being created with the same format as the main buffer.

Making formats null for them fixes the issue.

So what's the way forward? Adding a separate array to use for effect buffers or always leaving them as null?

Stencil should not be applied to the effect buffers. I don't think there's ever a valid use for that since you're drawing an entire quad.
If you'd want to, for example, blur and then apply the grid stencil from that test scene to create crisp gutters, then the way of doing that should be to invert the process - blur first in a sub-container, and then stencil in the parenting container.

I'm not applying stencil to the effect buffers. What I'm saying is that with your proposal Main and Effect buffers are being created with stencil format, which is probably incorrect (because applying stencil format only to the main buffer fixes my issues). Instead I'm proposing to split format specification for main and effect buffers to have more control.

Is there ever a use for applying stencil to the effect buffers? Even separately from the main buffer? Because it's drawing an entire quad.
So my proposal is that effect buffers shouldn't get any stencil (or depth) formats at all.

Looks like I wasn't clear enough: I'm not applying stencil to the buffered container. It's the drawable within the buffered container which contains stencil isn't being rendered.
Screenshot 1: using your proposal Main buffer works as expected, but effect buffers are empty. That's because they are now have this format too due to how BufferedDrawNodeSharedData is implemented (it's using provided format for Main end Effect buffers).
Screenshot 2: changing BufferedDrawNodeSharedData implementation so Effect buffers don't use provided format fixes the issue.
My proposals:

Changing BufferedDrawNodeSharedData so that provided RenderBufferFormat isn't applied to the Effect buffers.
Adding additional RenderBufferFormat[] parameter which will be used only by effect buffers

I don't know why you're restating what I'm saying. Please read over again because I'm not questioning you, I'm making a declaration and/or agreeing with your proposal (1).


ViewModel - setSizeLimit - json_model_limit

@choper725 i think the parameter json_model_limit of the http handler was a PR from you?
cleaning up the index.html at the moment, thinking of changing this parameter to the view. created a sample for this:
https://github.com/abap2UI5/abap2UI5-samples/blob/main/src/z2ui5_cl_demo_app_071.clas.abap
Use z2ui5_cl_http_handler2 to test it.
Maybe it could be the better position. Then it can only be used when it is really needed and can also be flexible changed with every view_display.
Is this functionality still in use? any strong opinions on that? otherwise i will maybe change it and of course also change it for popups & popover.

i'll just move on, reopen if something causes troubles on your side.
its now integrated with branch: update-handler
sample 71 to see how it works.

actually it is in use globally on a handler, as this functionality is not make sense once in view

updated the handler now, just adjust the position of the sizelimit import as described here, but the logic itself is unchanged:
https://github.com/abap2UI5/abap2UI5/issues/1429
Somehow i still think its better to import it on app level or on model level, as this would also happen in normal ui5 freestyle development. as it is now all size limits are always changed for every app and there is no chance to differentiate between models/apps. but lets keep it like this for now but maybe a topic for the future....


"Track is not playable: youtube:video/xxxxx" + pykka._exceptions.ActorDeadError errors with latest build

Hi there,
As the title suggest I'm having issues with the latest build of Mopidy + mopidy-youtube for some reason, and it was working a few hours ago which is really strange...
Does anyone have any ideas/pointers how to resolve?
I'm running Mopidy in docker (not that it makes any difference) versions:
Have tried with both api_enabled=true (Using my own Google Cloud Creds) and api_enabled=false with no luck ...
Versions:
Mopidy: 3.1.1
Mopidy-YouTube 3.2
gstreamer + plugins & plugins-bad: 1.0

Additional config:
threads_max = 40
search_results = 15
playlist_max_videos = 500

Latest crashlog:
0|mopidy  | [youtube] XuCa4VsuZNI: Downloading webpage
0|mopidy  | [youtube] XuCa4VsuZNI: Downloading player 1d7f16b4
0|mopidy  | ERROR    2021-04-07 07:38:16,022 [18429:Core-12] mopidy.core.playback
0|mopidy  |   YouTubeBackend backend caused an exception.
0|mopidy  | Traceback (most recent call last):
0|mopidy  |   File "/usr/lib/python3/dist-packages/mopidy/core/playback.py", line 350, in _change
0|mopidy  |     if not backend.playback.change_track(pending_tl_track.track).get():
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_threading.py", line 45, in get
0|mopidy  |     _compat.reraise(*self._data['exc_info'])
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_compat/__init__.py", line 29, in reraise
0|mopidy  |     raise value
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 193, in _actor_loop
0|mopidy  |     response = self._handle_receive(envelope.message)
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 299, in _handle_receive
0|mopidy  |     return callee(*message.args, **message.kwargs)
0|mopidy  |   File "/usr/lib/python3/dist-packages/mopidy/backend.py", line 271, in change_track
0|mopidy  |     download=self.should_download(uri),
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_threading.py", line 45, in get
0|mopidy  |     _compat.reraise(*self._data['exc_info'])
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_compat/__init__.py", line 29, in reraise
0|mopidy  |     raise value
0|mopidy  |   File "/usr/lib/python3/dist-packages/pykka/_ref.py", line 107, in ask
0|mopidy  |     raise ActorDeadError('{} not found'.format(self))
0|mopidy  | pykka._exceptions.ActorDeadError: Audio (urn:uuid:338c163c-7e28-4d68-af1c-7e26d6de8d33) not found
0|mopidy  | WARNING  2021-04-07 07:38:16,022 [18429:Core-12] mopidy.core.tracklist
0|mopidy  |   Track is not playable: youtube:video/Diplo Sonny Fodera - Turn Back Time (Official Music Video).XuCa4VsuZNI

Related Packages:
beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from Mopidy-YouTube==3.2) (4.9.3)
cachetools in /usr/local/lib/python3.7/dist-packages (from Mopidy-YouTube==3.2) (4.2.1)
Mopidy>=3.1 in /usr/lib/python3/dist-packages (from Mopidy-YouTube==3.2) (3.1.1)
Pykka>=2.0.1 in /usr/lib/python3/dist-packages (from Mopidy-YouTube==3.2) (2.0.3)
requests in /usr/local/lib/python3.7/dist-packages (from Mopidy-YouTube==3.2) (2.25.1)
setuptools in /usr/lib/python3/dist-packages (from Mopidy-YouTube==3.2) (40.8.0)
youtube_dl>=2020.12.22 in /usr/local/lib/python3.7/dist-packages (from Mopidy-YouTube==3.2) (2021.4.7)
soupsieve>1.2; python_version >= "3.0" in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->Mopidy-YouTube==3.2) (2.2.1)
urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->Mopidy-YouTube==3.2) (1.24.1)
certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->Mopidy-YouTube==3.2) (2018.8.24)
chardet<5,>=3.0.2 in /usr/lib/python3/dist-packages (from requests->Mopidy-YouTube==3.2) (3.0.4)
idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests->Mopidy-YouTube==3.2) (2.6)

Hello, first try to update youtube_dl to latest v2021.04.07
wget https://youtube-dl.org/downloads/latest/youtube-dl-2021.04.01.tar.gz
python3 -m pip install --upgrade ./youtube-dl-2021.04.01.tar.gz
systemctl restart mopidy

Already running 2021.04.07 - Sorry forgot to mention that one also...

@christian3107 I'm able to play this with the current version; can you confirm that it is still not working?

Turns out it's actually related to gstreamer configuration issues after hours of banging my head against the wall and diffing docker/git commit history ... So sorry to post a non-existant bug .... happy to say it's all working now!!!


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


{CI} Update fabricbot.json

Related command

Description

az container PR add reviewers and assignees.
Support auto-assign for iot PR and issue.
Add cxp label for az functionapp PR.
Add avanigupta as reviewer to App Config PR.
Support routing az network dns to cxp team.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

CI


Tests: Table.update(..) is not fully implemented

Ref: bootique/bootique-jdbc#36
New method  updateSet() has been introduced, the old one update() kept as a part of API.

Remove old Table.update(), add test for update with where condition.


[NT-892, NT-893] (2/3) Landing page carousel

📲 What
. This is the second part of a 3 parts work to create our new LandingPage.
. It adds the stats and how to cards to the Landing Page screen.
🤔 Why
We want to tell new users a little more about Kickstarter during their first session.
JIRA tickets:
Ticket 1
Ticket 2
🛠 How

Created LandingPageCardType with respective values
Created LandingPageStatsView and its view models
Added Strings
Added experiment to return card types based on the variants
Added tests

👀 See
Trello, screenshots, external resources?

Before 🐛
After 🦋

♿ Accessibility

[ ] Works with VoiceOver
[ ] Supports Dynamic Type

✅ Acceptance criteria

[ ] The layout matched the design from Figma.

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger


Source Control Sync Fails - VsoGit Source Control

Receiving the following error message when attempting a Sync Job even after updating the modules to latest version.
Short Error Message:
System.Management.Automation.CommandNotFoundException: The term 'Get-AutomationConnection' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
When looking at 'All Logs' it is not finding .NET Framework version 4.5.2 i
Full Error Message:
System.Management.Automation.CommandNotFoundException: The term 'Get-AutomationConnection' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
When looking at 'All Logs' I see the following messages:
Azure Automation Source Control Public Preview.
Supported runbooks to sync: PowerShell Workflow, PowerShell Scripts, DSC Configurations, Graphical, and Python 2.
Setting AzureRmEnvironment.
Cannot verify the Microsoft .NET Framework version 4.5.2 because it is not included in the list of permitted versions.
Loading module from path 'C:\Modules\User\AzureRM.Profile\AzureRM.Profile.psm1'.
Loading module from path 'C:\Modules\User\AzureRM.Profile\Microsoft.Azure.Commands.Profile.dll'.
Importing cmdlet 'Disconnect-AzureRmAccount'.
Importing cmdlet 'Disable-AzureRmDataCollection'.
Importing cmdlet 'Enable-AzureRmDataCollection'.
Importing cmdlet 'Remove-AzureRmEnvironment'.
Importing cmdlet 'Get-AzureRmEnvironment'.
Importing cmdlet 'Set-AzureRmEnvironment'.
Importing cmdlet 'Add-AzureRmEnvironment'.
Importing cmdlet 'Send-Feedback'.
Importing cmdlet 'Get-AzureRmSubscription'.
Importing cmdlet 'Connect-AzureRmAccount'.
Importing cmdlet 'Get-AzureRmContext'.
Importing cmdlet 'Set-AzureRmContext'.
Importing cmdlet 'Import-AzureRmContext'.
Importing cmdlet 'Save-AzureRmContext'.
Importing cmdlet 'Get-AzureRmTenant'.
Importing cmdlet 'Resolve-AzureRmError'.
Importing cmdlet 'Clear-AzureRmDefault'.
Importing cmdlet 'Get-AzureRmDefault'.
Importing cmdlet 'Set-AzureRmDefault'.
Importing cmdlet 'Disable-AzureRmContextAutosave'.
Importing cmdlet 'Get-AzureRmContextAutosaveSetting'.
Importing cmdlet 'Enable-AzureRmContextAutosave'.
Importing cmdlet 'Clear-AzureRmContext'.
Importing cmdlet 'Remove-AzureRmContext'.
Importing cmdlet 'Rename-AzureRmContext'.
Importing cmdlet 'Select-AzureRmContext'.
Importing alias 'Logout-AzAccount'.
Importing alias 'Logout-AzureRmAccount'.
Importing alias 'Remove-AzureRmAccount'.
Importing alias 'Login-AzAccount'.
Importing alias 'Login-AzureRmAccount'.
Importing alias 'Add-AzureRmAccount'.
Importing alias 'Select-AzureRmSubscription'.
Importing alias 'Save-AzureRmProfile'.
Importing alias 'Get-AzureRmDomain'.
Importing alias 'Resolve-Error'.
Getting AzureRunAsConnection.
System.Management.Automation.CommandNotFoundException: The term 'Get-AutomationConnection' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

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

ID: 83c90e64-b615-711f-a53d-fc76606e2ecd
Version Independent ID: 2d164036-6886-4440-50f7-369f99f41cea
Content: Source Control integration in Azure Automation
Content Source: articles/automation/source-control-integration.md
Service: automation
GitHub Login: @georgewallace
Microsoft Alias: gwallace

I believe it was the following modules that were in a failed state. Once I had "deleted" them and they reverted the Source Control Integration started to work.
Microsoft.PowerShell.Core
Orchestrator.AssetManagement.Cmdlets


set privacy declarations to use orm_mode

Closes #100
Code Changes

set orm_mode = True on the PrivacyDeclaration model

Steps to Confirm

[ ] list any manual steps taken to confirm the changes

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
[ ] Documentation Updated
[x] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md

Description Of Changes
Needed for https://github.com/ethyca/fides/issues/3036.
I may need some additional changes to fideslang as part of https://github.com/ethyca/fides/issues/3036, though I think this is all that's needed currently. ~@ThomasLaPiana or anyone else - do we have any quick way to develop fides against new fideslang code without actually pushing through a release?~ update - i was able to develop/test against these changes by locally updating the requirements.txt in fides to point to this specific git commit. things generally looked good, i don't foresee any additional changes needed on the fideslang side at the moment - but there's still a slight chance that could change going forward!

@adamsachs do you want me to merge this and cut a release? Looks good to me :)

@ThomasLaPiana yes please! thanks 👍

@ThomasLaPiana  i'll go ahead and merge now :) if the release is as simple as pushing a tag, i'm happy to do that. if it's a bit more involved, would you mind doing it? or i'm happy to follow a step list if there is one!


Distributed apps >> update to new format

https://github.com/cncf/glossary/blob/main/definitions/distributed_apps.md
Please convert entry to the property format. View the style guide for more details.

Hello,
Can I work on this??
I have gone through the comments of other issues. So I fairly got an idea of what I have to do.

Sounds good, thanks @reddymahendra52!

Actually, this is already done and in review. Please look at the board when picking a term.

Okay Sorry,
I was thinking of working on Loosely Coupled Architecture Can you assign me that??


Extended glob patter for findFiles

It seems that vscod.workspace.findFiles doesn't support extended patterns such as:
**/+(gulpfile.js|package.json) or '**/@(node_modules|jspm_packages|bower_components)/**'
http://www.linuxjournal.com/content/bash-extended-globbing
it is quite limiting.

Or another proposal is to add ability for mult-pattern so it would be possible to pass array of simple patterns.
BTW findFIles works quite slowly is it because it checks all the nested folders and tests all files against exclude pattern?

Unlikely given that we now depend on RipGrep glob handling, but I let @roblourens decide

I opened this issue to allow passing an array of patterns: https://github.com/Microsoft/vscode/issues/38545. I much prefer that over supporting extended glob syntax.


!add error message not clear enough

When trying to add a sentence using the !add command, you need to put the content in double quotes.
Nevertheless, if they were not specified, the current error message states that there is no <pseudo> specified, which is false.
The error message needs to be reworked.

Fixed by PR #2


C++ shared library is consumed from a Maven repository

@adammurdoch commented on Mon May 22 2017
Consume the result of #21 from a Maven repository, and build on #20 and #23:

Unzip the headers and make available for compilation.
Also make the API dependencies of the library available for compilation.
Make the link libraries available for linking.
Make the runtime files available at runtime.

I think this can be closed. There is test coverage for all of the features in the description.


An error occurs when creating a Function App from Command Palette

OS: Win10
Build Version: Azure Function v1.9.1-alpha.0 + Azure Resources v0.5.7-alpha.0
Repro Steps:
F1 -> Azure Functions: Create Function App in Azure... / Azure Functions: Create Function App in Azure... (Advanced).
Expect:
It navigates to next step without any error.
Actual:
An error occurs.

More Info:

This issue also reproduces when creating a basic Function App with "Azure: Create Resource..." command.

This issue does not reproduce when creating a Function App from context menu of Function App node.

There is another error when creating a basic Function App from "+" button or subscription context menu (Create Resource...).

Fixed by #478

3. There is another error when creating a basic Function App from "+" button or subscription context menu (Create Resource...).

Created new issue for this #493


Updated readme?

Could you please update the readme file with instructions on how to get set up?
For example it seems like the gem is renamed to medium-sdk-ruby and require 'medium-sdk-ruby' doesn't work.

Also experiencing an error when calling require 'medium-sdk-ruby'

Please post the exact error message you are receiving.

Do require 'medium'


Update scalatest to 3.0.8

Updates org.scalatest:scalatest from 3.0.1 to 3.0.8.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: semver-patch

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Covered by #692

Covered by #692

Covered by #692


[Event Modification] Codeunit 80 Sales.-Post - OnInsertShipmentHeaderOnAfterTransferfields

Hi, would it be possible to get an event OnInsertShipmentHeaderOnAfterTransferfields in codeunit 80, procedure InsertShipmentHeader, like this :

    [IntegrationEvent(false, false)]
    local procedure OnInsertShipmentHeaderOnAfterTransferfields(var SalesShipmentHeader: Record "Sales Shipment Header")
    begin
    end;

?
Thanks

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


Verify Wallet before deposit

Add an additional step (maybe optional) that requires the client to verify the address (for release or withdraw) to make sure they have control over that to be able to perform these operations. This would unlock the deposit function when it has been verified.

Estimated at $500 (50% confidence)


new release

Can you release https://github.com/thefrontside/ember-impagination/pull/105 to clean up console chatter?

This was probably cleaned up in one of the alpha releases (& probably #120)

While it would be nice to get a stable patch, we will try out the alpha release and see if we have any issues. Thanks.

There are some API changes. The biggest is that it has been "de-magicked". It will not attempt to set the read offset for you. You'll have to do that yourself. This makes it more strictly DDAU since side effects will never be triggered simply by reading the dataset state.
The downside is that you need to explicitly trigger side-effects inside of an action. Curious how your experience goes, and please let us know of any feedback!


Maybe another little bugs

https://github.com/tspooner/rl_markets/blob/master/src/environment/base.cpp#L150
These lines just clear the rolling windows, not other data in it. With volatility RollingMean, this causes volatility accumulates between episodes, and becomes bigger and bigger. @tspooner
Regards,

I think you're right. Looking back over the code, I suspect that (assuming stationary-ish marginal distributions over the observables) this doesn't cause many issues due to the particular implementation of the push(.) method. If anything, this should just degrade performance in some cases (i.e. with power 2 accumulates as you mention). If you want, please feel free to make the change to the clear() method and send a PR.
Regards,
Tom


Update Key Vault Keys samples to also show new algorithms for Managed HSM

Should be enough to update the existing samples for encrypt/decrypt, sign/verify, and wrap/unwrap. Just add new ones for AES.

Added some code snippets covering new algorithms in #17209. We don't currently do samples for every encryption algorithm, so we are not technically showcasing everything.


[Release Radar Request] Unpoly 3

Open Source Project name
Unpoly
What is your project?
Unpoly is an unobtrusive JavaScript framework for server-side web applications.
It enables fast and flexible frontends while keeping rendering logic on the server.
Version
3.0.0
Date
April 17, 2023
Description of breaking changes
The main concern of Unpoly 3 is to fix all the concurrency issues arising from real-world production use:

Forms where many fields depend on the value of other fields
Multiple users working on the same backend data (stale caches)
User clicking faster than the server can respond
User losing connection while requests are in flight
Lie-Fi (spotty Wi-Fi, EDGE, tunnel)

Unpoly 3 also ships numerous quality of life improvements based on community feedback.
There is also a slide deck explaining the most relevant changes in more detail.
GitHub Repo
https://github.com/unpoly/unpoly
Website
https://unpoly.com
Link to changelog
https://github.com/unpoly/unpoly/discussions/472
Social media
https://twitter.com/unpolyjs/status/1647953406001029123
Anything else to add?
Thank you for this opportunity to spread the word about our project.

Thanks for submitting your project. We had a lot of projects submitted for our latest Release Radar and we couldn't include them all. Please submit your project again for consideration when you have version 4.0.


2.61

Almost ready to go.
Updated documentation + Changelog.
ARP page needs support for the HD44780 .
Any chance you can do this @yatli ?

A little bit busy with the day job at the moment..

Music Producer by night. Diligent employee by day. No time for firmware dev.

done 26cfac06ed893aca597b619931e6385e21f0a874

https://github.com/jmamma/MIDICtrl20_MegaCommand/releases/tag/2.61

😂 thanks!


Update quickstart-create-data-factory-portal.md

Added note to point chrome users how to prevent authentication issues if third-party cookies and site data settings cause issues

@hecepeda : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good to me.
#sign-off

@ShannonLeavitt : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add ConnectionClosed subclass for normal closure.

Thanks @cjerdonek for the suggestion.
Fix #285.

I updated the PR, it should be ready to merge now.

(GitHub shows a spurious commit because I forgot to push master before pushing the branch for this PR.)


Failed to build Fugu14App! Exit status: 65 If the build failed due to a codesign error, open arm/iOS/Fugu14App/Fugu14App.xcodeproj in Xcode

m1 Mac

Also you can simply just define the sdk like this
subprocess.run(["xcodebuild", "-scheme", "Fugu14App", "-derivedDataPath", "build", "-sdk", "iphoneos"], check=True, cwd="arm/iOS/Fugu14App/")


Cold Start Forecasting

Description
This issue is closely related to https://github.com/awslabs/gluon-ts/issues/667#issue-570373860 and https://github.com/awslabs/gluon-ts/issues/684#issue-572827024. I am trying to mimic a cold-start problem using DeepAR. As such, the field target of test data set needs to be [], as the target has never been observed. I am using a toy data set, where the train_data would look like
{'target': array([10., 12., 16., 15., 16., 20., 21., 19., 20., 19., 14., 13., 12.,
         9.], dtype=float32),
 'feat_static_cat': array([1]),
 'start': Timestamp('2015-01-04 00:00:00', freq='W-SUN')}

and test_data would look like
{'target': array([], dtype=float32),
 'feat_static_cat': array([1]),
 'start': Timestamp('2018-12-30 00:00:00', freq='W-SUN')}

I also found an aws tutorial  that shows at the very bottom the following
product_category = 'shoe'

cat = int(le.transform([product_category])[0])

request_json = {
 "instances": [
  {"start": "2019-06-12 00:00:00", "target": [], "cat": cat} # No target values because this is a new product with no existing time series sales data
 ],
 "configuration": {
  "num_samples": 10,
  "output_types": ["quantiles"],
  "quantiles": ["0.9"]
 }
}

saying that, indeed, the target needs to be empty. The model is estimated in a standard fashion
estimator = DeepAREstimator(
    freq="W",
    prediction_length=12,
    distr_output=StudentTOutput(),
    trainer=Trainer(epochs=20, learning_rate=0.01),
    use_feat_static_cat=True,
    cardinality=[4]
)
predictor = estimator.train(training_data=train_data)

All is working decently well if I use
predictor.predict(test_data)

However, when I use
forecast_it, ts_it = make_evaluation_predictions(dataset = test_data,
                                                 predictor = predictor,
                                                 num_samples = 100)
forecasts = list(forecast_it)

I get the follwoing error message
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-44-9071bd2d1731> in <module>
      2                                                  predictor = predictor,  # predictor
      3                                                  num_samples = 100)
----> 4 forecasts = list(forecast_it)

~\.conda\envs\gluonts\lib\site-packages\gluonts\model\predictor.py in predict(self, dataset, num_samples)
    307             freq=self.freq,
    308             output_transform=self.output_transform,
--> 309             num_samples=num_samples,
    310         )
    311

~\.conda\envs\gluonts\lib\site-packages\gluonts\model\forecast_generator.py in __call__(self, inference_data_loader, prediction_net, input_names, freq, output_transform, num_samples, **kwargs)
    193         **kwargs
    194     ) -> Iterator[Forecast]:
--> 195         for batch in inference_data_loader:
    196             inputs = [batch[k] for k in input_names]
    197             outputs = prediction_net(*inputs).asnumpy()

~\.conda\envs\gluonts\lib\site-packages\gluonts\dataset\loader.py in __iter__(self)
    261     def __iter__(self) -> Iterator[DataBatch]:
    262         buffer = BatchBuffer(self.batch_size, self.ctx, self.dtype)
--> 263         for data_entry in self.transform(iter(self.dataset), is_train=False):
    264             buffer.add(data_entry)
    265             if len(buffer) >= self.batch_size:

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
    139     ) -> Iterator:
    140         num_idle_transforms = 0
--> 141         for data_entry in data_it:
    142             num_idle_transforms += 1
    143             try:

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     90         self, data_it: Iterator[DataEntry], is_train: bool
     91     ) -> Iterator:
---> 92         for data_entry in data_it:
     93             try:
     94                 yield self.map_transform(data_entry.copy(), is_train)

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\dataset.py in __iter__(self)
     42
     43     def __iter__(self) -> Iterator[DataEntry]:
---> 44         yield from self.transformations(self.base_dataset, is_train=True)
     45
     46     def __len__(self):

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     94                 yield self.map_transform(data_entry.copy(), is_train)
     95             except Exception as e:
---> 96                 raise e
     97
     98     @abc.abstractmethod

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in __call__(self, data_it, is_train)
     92         for data_entry in data_it:
     93             try:
---> 94                 yield self.map_transform(data_entry.copy(), is_train)
     95             except Exception as e:
     96                 raise e

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in map_transform(self, data, is_train)
    107
    108     def map_transform(self, data: DataEntry, is_train: bool) -> DataEntry:
--> 109         return self.transform(data)
    110
    111     @abc.abstractmethod

~\.conda\envs\gluonts\lib\site-packages\gluonts\transform\_base.py in transform(self, data)
    126
    127     def transform(self, data: DataEntry) -> DataEntry:
--> 128         return self.func(data.copy())
    129
    130

~\.conda\envs\gluonts\lib\site-packages\gluonts\evaluation\backtest.py in truncate_target(data)
     87         target = data["target"]
     88         assert (
---> 89             target.shape[-1] >= prediction_length
     90         )  # handles multivariate case (target_dim, history_length)
     91         data["target"] = target[..., :-prediction_length]

AssertionError:

The crucial part is this
     91         data["target"] = target[..., :-prediction_length]

as it tries to remove the prediction_length part from the data set, as test_set ~ train_set + prediction_length, as described here

dataset.test is an iterable collection of data entries used for inference. The test dataset is an extended version of the train dataset that contains a window in the end of each time series that was not seen during training. This window has length equal to the recommended prediction length.

Help
So I am asking of how to

properly prepare a train and test set so as to produce cold-start forecasts
properly use the prediction arguments

Ideally, we would have an official notebook that shows each step in detail, so as to avoid confusion on how to use DeepAR for forecasting cold starts, as it has already been raised numerous times.
Many thanks!
Environment

Operating system: Windows
Python version: 3.6.7
GluonTS version: 0.4.3.dev55+g90587ba

@StatMixedML the make_evaluation_predictions function is used essentially to create forecast/ground truth pairs that can be use to measure forecasting accuracy later on. This is why it needs to remove the trailing prediction_length observation from the series.
If there is no data in the series to compare against, this is not possible. To evaluate cold start forecasting accuracy you will need to provide series with prediction_length observations: these will be kept in the ground truth, but removed from the conditioning range (ie what the models gets as input).
To summarize: producing cold start forecasts just amounts to giving an empty target to the predictor, as you say; to evaluate cold start forecasts, you need to provide prediction_length observations in the target.

@lostella Thanks for clarifying!


Use CI for preview of PRs

Similar to DAutoTest, but simpler to implement: https://github.com/rejectedsoftware/ddox/blob/v0.16.0/travis-ci.sh#L23

With our current low load of PRs it's imho easier to just use the GH feature to clone the PR directly from upstream, e.g.

~/.gitconfig

[alias]
pr  = "!f() { git fetch -fu ${2:-upstream} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"

and then:

git pr 5150
dub

It takes usually less than a minute ;-)


RedissonLock.evalWriteAsync   did not resolve  WAIT command  result

There is no judgment whether Eval instruction propagates to slave library
没有判断EVAL指令是否传播到从库，也没有等待指令传播到从库。
branch master
RedissonLock.java  Line 349

which Redis do you use?

which Redis version do you use?

master branch

Sorry, I mean Redis version

redis-5.0.7

Sorry, I mean Redis version

redis-5.0.7.

WAIT command supported in this version

how to use the rlock  to  replace the  redlock,  Would you mind show me the config example。
I find this method   " Long ttl = tryAcquire(-1, leaseTime, unit, threadId);"  has not judge the result of wait command or  wait for the return of wait command.

this is my test case,   the master redis has no slaves  and the command  WAIT 1  1000  will block one second and return zero .
but it got lock in less than one second.
@Test
public  void test1() {
    Config config1 = new Config();
    config1.useMasterSlaveServers()
            .setPassword("xx")
            .setConnectTimeout(5000)
            .setTimeout(5000)
            .setRetryAttempts(3)
            .setRetryInterval(300)
            .setClientName("1")
            .setMasterAddress("redis://" + "xxx")
            .setSlaveAddresses(Sets.newHashSet("redis://" + "xxx"));
    RedissonClient redissonClient = Redisson.create(config1);

    RLock lock = redissonClient.getLock("lock1");
    log.info("start lock");
    lock.lock();
    log.info("got lock");
    lock.unlock();
    log.info("release lock");
    redissonClient.shutdown();
}

log:
2020.12.04 10:16:06.229 INFO  MasterPubSubConnectionPool : 1 connections initialized for /<IP_ADDRESS>:6379
2020.12.04 10:16:06.403 INFO  MasterConnectionPool : 24 connections initialized for /<IP_ADDRESS>:6379
2020.12.04 10:16:06.504 INFO  PubSubConnectionPool : 1 connections initialized for /<IP_ADDRESS>:6379
2020.12.04 10:16:06.664 INFO  SlaveConnectionPool : 24 connections initialized for /<IP_ADDRESS>:6379
2020.12.04 10:16:06.743 INFO  LockTest : start lock
2020.12.04 10:16:06.784 INFO  LockTest : got lock
2020.12.04 10:16:06.808 INFO  LockTest : release lock

but it got lock in less than one second.

Because master doesn't have slaves as you noticed.

but it got lock in less than one second.

Because master doesn't have slaves as you noticed.

the future result of the picture is only the EVAL command.
it should listen for the batch result like this.
protected <T> RFuture<T> evalWriteAsync(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) {
    CommandBatchService executorService = createCommandBatchService();
    RFuture<T> result = executorService.evalWriteAsync(key, codec, evalCommandType, script, keys, params);
    if (!(commandExecutor instanceof CommandBatchService)) {
        RPromise<T> promise = new RedissonPromise<>();
        RFuture<BatchResult<?>> resFuture = executorService.executeAsync();
        resFuture.onComplete((res, e) -> {
            if (e == null) {
                List<?> responses = res.getResponses();
                Object o = responses.get(0);
                promise.trySuccess((T) o);
            } else {
                promise.tryFailure(e);
            }
        });
        return promise;
    }
    return result;
}

but it got lock in less than one second.

Because master doesn't have slaves as you noticed.

i use wireshark to trace the tcp request,   i find  the EVAL and WAIT COMMAND send in one packet as pipeline.
but the result of eval and wait command received in two packets. since i didnot really set slave，so the client receive
result of wait command  in one second.  the result of executorService.evalWriteAsync is just EVAL result and didnot
wait the all command propagate to the slave

Fixed! Thanks for report


Publish-PerTenantExtensionApps failing using the Prerelise module

DevOps Release Pipeline failing when using -AllowPrerelease, removing it same script works correctly. I wanted just to inform you about a possible breaking change introduced receintly.
Scripts used to create container and cause the issue
Write-Host "Installing BcContainerHelper"
Install-Module BcContainerHelper -Force -AllowPrerelease

Write-Host "Publishing to tenant"
Publish-PerTenantExtensionApps -useNewLine `
 -ClientID "$(PublisherAppClientID)" `
 -ClientSecret "$(PublisherAppClientSecret)" `
 -tenantId "$(TenantId)" `
 -environment "$(Environment)" `
 -companyName "$(CompanyName)" `
 -appFiles @(Get-Item "Artifacts/output/Apps/*.app" | % { $_.FullName })

Error
 Publish-PerTenantExtensionApps Telemetry Correlation Id: 39e1e7f6-6667-4788-b871-b38fe62dfc94
ForEach-Object : Cannot convert value "1 1 1.0 0 0.2 1 0.0 0 0" to type "System.Version". Error: "Input string was not
in a correct format."
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.11\Saas\Publish-PerTenantExtensionApps.ps1:116
char:63
+ ...    Sort-AppFilesByDependencies -appFiles $appFiles | ForEach-Object {
+                                                          ~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [ForEach-Object], RuntimeException
+ FullyQualifiedErrorId : InvalidCastParseTargetInvocation,Microsoft.PowerShell.Commands.ForEachObjectCommand...

Right before it fails, it shows a list of installed extensions - could you copy/paste that here or email it to me?
Thanks

`
2023-01-18T11:24:26.8298133Z ##[section]Starting: PowerShell Script
2023-01-18T11:24:26.8511296Z ==============================================================================
2023-01-18T11:24:26.8511596Z Task         : PowerShell
2023-01-18T11:24:26.8511722Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-01-18T11:24:26.8511938Z Version      : 2.212.0
2023-01-18T11:24:26.8512059Z Author       : Microsoft Corporation
2023-01-18T11:24:26.8512204Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-18T11:24:26.8512417Z ==============================================================================
2023-01-18T11:24:28.7878767Z Generating script.
2023-01-18T11:24:28.8611972Z ========================== Starting Command Output ===========================
2023-01-18T11:24:28.8917471Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\5d2b2984-2437-4336-9f35-af255c1dba5b.ps1'"
2023-01-18T11:24:29.2836723Z Installing BcContainerHelper
2023-01-18T11:25:54.1348425Z Publishing to tenant
2023-01-18T11:25:54.3854056Z BcContainerHelper version 4.0.11-preview855
2023-01-18T11:25:54.5919045Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-18T11:25:57.5293489Z Attempting authentication to https://api.businesscentral.dynamics.com/.default using clientCredentials...
2023-01-18T11:25:57.7439304Z Authenticated as app db50f64d-5085-45e8-aabd-2e9511761c16
2023-01-18T11:25:58.0736546Z Company  has id f5600a1b-df3a-ed11-bbab-000d3a38ed97
2023-01-18T11:25:58.4499110Z Extensions before:
2023-01-18T11:25:58.4596360Z  - AMC Banking 365 Fundamentals, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4643352Z  - API Reports - Finance, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4660821Z  - Application, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4681909Z  - Base Application, Version 21.2.49946.52011, Installed=True
2023-01-18T11:25:58.4692940Z  - Business Central Cloud Migration - Previous Release, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4742547Z  - Business Central Cloud Migration API, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4743714Z  - Business Central Intelligent Cloud, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4744563Z  - Company Hub, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4751079Z  - Contoso Coffee Demo Dataset, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4764824Z  - Contoso Coffee Demo Dataset (GB), Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4780028Z  - Data Archive, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4794032Z  - Data Search, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4808322Z  - Dynamics GP History SmartLists, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4823205Z  - Dynamics GP Intelligent Cloud, Version 21.2.49946.51746, Installed=True
2023-01-18T11:25:58.4843912Z  - CUSTOM Base App, Version <IP_ADDRESS>, Installed=True
2023-01-18T11:25:58.4854240Z  - CUSTOM Base App, Version <IP_ADDRESS>, Installed=False
2023-01-18T11:25:58.4870513Z  - CUSTOM Base App, Version <IP_ADDRESS>, Installed=False
2023-01-18T11:25:58.4885134Z  - Email - Current User Connector, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4900824Z  - Email - Microsoft 365 Connector, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4941428Z  - Email - Outlook REST API, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4955790Z  - Email - SMTP API, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4971082Z  - Email - SMTP Connector, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.4986506Z  - Essential Business Headlines, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5001429Z  - GetAddress.io UK Postcodes, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5016408Z  - Image Analyzer, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5031403Z  - Import of QuickBooks Payroll Files, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5073763Z  - Intelligent Cloud Base, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5090139Z  - Late Payment Prediction, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5134239Z  - Making Tax Digital Localization for United Kingdom, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5148268Z  - Migration of QuickBooks Data, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5165335Z  - Payment Links to PayPal, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5183602Z  - Recommended Apps, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5199008Z  - Sales and Inventory Forecast, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5213666Z  - Send remittance advice by email, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5228572Z  - Send To Email Printer, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5238278Z  - Shopify Connector, Version 21.2.49946.50546, Installed=True
2023-01-18T11:25:58.5253228Z  - Simplified Bank Statement Import, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5267018Z  - System Application, Version 21.2.49946.52050, Installed=True
2023-01-18T11:25:58.5284747Z  - Troubleshoot FA Ledger Entries, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5298438Z  - Universal Print Integration, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5308542Z  - VAT Group Management, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5324766Z  - WorldPay Payments Standard, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:58.5331303Z
2023-01-18T11:25:59.6640231Z KPMG_CUSTOM Base App_<IP_ADDRESS>.app -
2023-01-18T11:25:59.6688246Z Extensions after:
2023-01-18T11:25:59.6720405Z  - AMC Banking 365 Fundamentals, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6744132Z  - API Reports - Finance, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6764403Z  - Application, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6783948Z  - Base Application, Version 21.2.49946.52011, Installed=True
2023-01-18T11:25:59.6863176Z  - Business Central Cloud Migration - Previous Release, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6880859Z  - Business Central Cloud Migration API, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6897798Z  - Business Central Intelligent Cloud, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6916861Z  - Company Hub, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6935495Z  - Contoso Coffee Demo Dataset, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6951915Z  - Contoso Coffee Demo Dataset (GB), Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6967357Z  - Data Archive, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6983383Z  - Data Search, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.6998888Z  - Dynamics GP History SmartLists, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7014103Z  - Dynamics GP Intelligent Cloud, Version 21.2.49946.51746, Installed=True
2023-01-18T11:25:59.7030741Z  - CUSTOM Base App, Version <IP_ADDRESS>, Installed=True
2023-01-18T11:25:59.7048133Z  - CUSTOM Base App, Version <IP_ADDRESS>, Installed=False
2023-01-18T11:25:59.7065375Z  - CUSTOM Base App, Version <IP_ADDRESS>, Installed=False
2023-01-18T11:25:59.7081277Z  - Email - Current User Connector, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7096689Z  - Email - Microsoft 365 Connector, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7112112Z  - Email - Outlook REST API, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7211978Z  - Email - SMTP API, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7213116Z  - Email - SMTP Connector, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7214943Z  - Essential Business Headlines, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7215669Z  - GetAddress.io UK Postcodes, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7216297Z  - Image Analyzer, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7216932Z  - Import of QuickBooks Payroll Files, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7218626Z  - Intelligent Cloud Base, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7234744Z  - Late Payment Prediction, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7250770Z  - Making Tax Digital Localization for United Kingdom, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7277531Z  - Migration of QuickBooks Data, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7294597Z  - Payment Links to PayPal, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7310498Z  - Recommended Apps, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7327151Z  - Sales and Inventory Forecast, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7342319Z  - Send remittance advice by email, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7365806Z  - Send To Email Printer, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7408766Z  - Shopify Connector, Version 21.2.49946.50546, Installed=True
2023-01-18T11:25:59.7454605Z  - Simplified Bank Statement Import, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7494237Z  - System Application, Version 21.2.49946.52050, Installed=True
2023-01-18T11:25:59.7512975Z  - Troubleshoot FA Ledger Entries, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7528571Z  - Universal Print Integration, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7544117Z  - VAT Group Management, Version 21.2.49946.50300, Installed=True
2023-01-18T11:25:59.7559442Z  - WorldPay Payments Standard, Version 21.2.49946.50300, Installed=True
2023-01-18T11:26:00.7233967Z Publish-PerTenantExtensionApps Telemetry Correlation Id: 39e1e7f6-6667-4788-b871-b38fe62dfc94
2023-01-18T11:26:00.7803087Z ForEach-Object : Cannot convert value "1 1 1.0 0 0.2 1 0.0 0 0" to type "System.Version". Error: "Input string was not
2023-01-18T11:26:00.7804019Z in a correct format."
2023-01-18T11:26:00.7805214Z At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.11\Saas\Publish-PerTenantExtensionApps.ps1:116
2023-01-18T11:26:00.7805900Z char:63
2023-01-18T11:26:00.7806403Z + ...    Sort-AppFilesByDependencies -appFiles $appFiles | ForEach-Object {
2023-01-18T11:26:00.7806899Z +                                                          ~~~~~~~~~~~~~~~~
2023-01-18T11:26:00.7807443Z     + CategoryInfo          : InvalidArgument: (:) [ForEach-Object], RuntimeException
2023-01-18T11:26:00.7808213Z     + FullyQualifiedErrorId : InvalidCastParseTargetInvocation,Microsoft.PowerShell.Commands.ForEachObjectCommand
2023-01-18T11:26:00.7808738Z
2023-01-18T11:26:00.9119367Z ##[error]PowerShell exited with code '1'.
2023-01-18T11:26:00.9526514Z ##[section]Finishing: PowerShell Script
`

This is fixed in prerelease now.

I confirm that with the prerelease now the release works again. Thank you for the quick resolution

Fixed in 4.0.14


[WIP] Improve performance of Executor.get_lvals by removing delayed loading/caching

This is another integration of an old VMware change. Original change description:
The Executor class has a get_lvars() method, which returns a dictionary
of helper TSList and TSObject instances, which call various methods on
Executor to get source and target lists. Comments mention that they
were added to delay creation of NodeList objects until needed, but the
effect is the opposite - the lists are re-created just to get a single
element or even attributes of the list objects. Another potential issue
is that the returned list can be mutated by adding sources/targets.
Profiling shows that this is a huge bottleneck for null or incremental
Fusion builds because of repeated get_subst_proxy() and list creation.
This change completely removes TSList and TSObject, and simplifies the
get_lvars() method to build the node lists from the current sources
and targets, just like other methods do.
With the change, a null build of Fusion's 'player' target is reduced
from 150 to 74 seconds, or 110 to 32 seconds for interactive builds.
The --profile pstats output shows substantially fewer calls:
Function           Old # Calls    New # Calls
get_lvars               10,250     10,250
_get_targets            44,732          0
get_subst_proxy    191,835,290    126,216
ESX builds (esx-all) don't show as much time improvement because there
is a lot of noise in other parts of the build. The calls have reduced:
Function           Old # Calls    New # Calls
get_lvars               61,959     61,959
_get_targets           144,272          0
get_subst_proxy     13,789,472    413,515
Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[ ] I have updated master/src/CHANGES.txt directory (and read the README.txt in that directory)
[ ] I have updated the appropriate documentation

I was really excited to ty this out because I very much want faster null/no-op builds for MongoDB as well. But when I tried it (non-interactive), I found it was actually slower for me by about 10%:
master no-op rebuild:
Total build time: 98.272712 seconds
Total SConscript file execution time: 12.849968 seconds
Total SCons execution time: 85.422744 seconds
Total command execution time: 0.000000 seconds
real    1m40.153s
user    1m38.306s
sys     0m1.895s
patch no-op rebuild:
Total build time: 108.602506 seconds
Total SConscript file execution time: 12.687175 seconds
Total SCons execution time: 95.915330 seconds
Total command execution time: 0.000000 seconds
real    1m50.393s
user    1m48.421s
sys     0m2.044s
I wonder what is different about our builds.

I was really excited to ty this out because I very much want faster null/no-op builds for MongoDB as well. But when I tried it (non-interactive), I found it was actually slower for me by about 10%:
master no-op rebuild:
Total build time: 98.272712 seconds
Total SConscript file execution time: 12.849968 seconds
Total SCons execution time: 85.422744 seconds
Total command execution time: 0.000000 seconds
real 1m40.153s
user 1m38.306s
sys 0m1.895s
patch no-op rebuild:
Total build time: 108.602506 seconds
Total SConscript file execution time: 12.687175 seconds
Total SCons execution time: 95.915330 seconds
Total command execution time: 0.000000 seconds
real 1m50.393s
user 1m48.421s
sys 0m2.044s
I wonder what is different about our builds.

They're internal SCons is based on 2.0.1 (or is it 2.1.0), that might explain such? (The patches don't help current, but helped old scons version?)

The code in this class is very similar between 2.0.1 so it is possible that our builds are just a bit different in profile. I will retry the change internally on top of 3.0 when that is ready in a few months.
In the meantime we can close this and I will open a new pull request with just the test. The test of get_lvars would still be useful to have without the rest of this change,


Add optional schema exclusion parameters to maintenance operation

We've found it very helpful to exclude a couple schemas from the redshift maintenance operation -- in particular, in some schemas (e.g., the dbt PR or looker PDT schemas) tables can be dropped in between the initial results returned by get_vacuumable_tables() and the actual vacuum / analyze calls, causing errors and an abrupt end.
Since there's no "VACUUM if exists" option, our solution here is to introduce two new parameters to exact- and regex-match against schemas to exclude from the get_vacuumable_tables() results. We thought this might be helpful to the broader audience -- if this seems useful, LMK if there's anything else needed to make progress here :)

@ryanaustincarlson -- thanks for the PR! I've experienced the same pain 😅
Happy to merge this, but I'd as someone using this in prod, I'd also be interested in your thoughts on two things:

We can implement a pattern that says "if your project has a get_vacuumable_tables macro, use that, otherwise, use the one in this package". That will give folks more ability to make the logic customizable for them.
We can add an "if this relation exists" check before running the vacuum on each relation, which should reduce some of these errors. Really, I'd love to have an interface for allowing the query to fail, which we've put into this issue: #1968

Thanks for the quick response! both solutions would be excellent -- for our particular use case, it's wasted time to be vacuuming the dbt PR schema tables and those in our looker scratch schema (and our other schemas are pretty stable), so we truly do want to exclude them and we'd definitely take advantage of overriding the macro.
That said, is get_vacuumable_tables an implementation detail that could change in the future? Would exposing it more publicly lock y'all in to some pattern you may want to change going forward? That's the only thing that could give me pause 🙂
in any event, we've got a workable solution for now, but will happily scrap it if this gets updated (either with this PR or another solution) to fit our special case!


Treat as VIP missing Pokemon in Pokedex

Short Description:
Treat as VIP missing Pokemon in Pokedex
Fixes/Resolves/Closes (please use correct syntax):

#4559

Check pokemon_id in pokedex. If not seen -> treat as VIP.

Oh? This is cleaver. Waiting for CI-build.

Can we add this to the config?


Update from vector-im/riot-web

TODO when #11 will be merged.

Not much I can say here until there's a merge commit resolving the conflicts (I can't see any so far?)


PostgreSQL driver does not allow to create a row with empty / default values

HI!
I need to create a record in table which only contains primary ID column . After record creation I am referencing it in another table... but this is not really important here.
Assume that I have a schema:
 \Schema::create('wcm_component_layout_row', function (Blueprint $table) {});

on MySQL driver, when I try to add a record to schema above, it works without any problems:
but on PostgreSQL driver I noticed:
 [Illuminate\Database\QueryException]
  SQLSTATE[42601]: Syntax error: 7 ERROR:  syntax error at or near ")"
  LINE 1: insert into "wcm_component_layout_row" () values () returnin...
                                                  ^ (SQL: insert into "wcm_component_layout_row" () values () returning "id")

and I forced to add some column... to avoid empty "values()" ...
is there any other workaround for it?

When I override compileInsert in PostgresGrammar.php ...
Postgres requires another syntax for such case "insert into [table name] default values;"

	/**
	 * Compile an insert statement into SQL.
	 *
	 * @param  \Illuminate\Database\Query\Builder  $query
	 * @param  array  $values
	 * @return string
	 */
	public function compileInsert(Builder $query, array $values)
	{
		// Essentially we will force every insert to be treated as a batch insert which
		// simply makes creating the SQL easier for us since we can utilize the same
		// basic routine regardless of an amount of records given to us to insert.
		$table = $this->wrapTable($query->from);

		if (empty($values)) {
			return "insert into $table default values";
		}

		if ( ! is_array(reset($values)))
		{
			$values = array($values);
		}

		$columns = $this->columnize(array_keys(reset($values)));

		// We need to build a list of parameter place-holders of values that are bound
		// to the query. Each insert should have the exact same amount of parameter
		// bindings so we will loop through the record and parameterize them all.
		$parameters = array();

		foreach($values as $record)
		{
			$parameters[] = '('.$this->parameterize($record).')';
		}

		$parameters = implode(', ', $parameters);

		return "insert into $table ($columns) values $parameters";
	}

it works properly

pull request created: https://github.com/laravel/framework/pull/10395


Solution postprocessing

Hi!
I was thinking it'd be useful to have a set of simple methods for solution postprocessing, e.g.
mean(solution)
var(solution)
quantile(solution, p)
Some of the other possibilities: mean above/below a threshold, probability (frequency) above/below a threshold.
These are simple, yet provide a nice and quick way of looking at a summary statistic of a solution. Some of these methods may be extended from Statistics module.
Would also be great to hear feedback from users on which methods would be useful. Thanks!

That is a great idea. We can start broadening our view of a SimulationSolution as defined in GeoStatsBase.jl to be an empirical distribution in which geostatistical realizations are the samples. In this general sense, we could start computing summary statistics like the mean, var, and quantile as suggested.
I think the code should live in GeoStatsDevTools.jl because it can be useful to other packages and solvers in the future. I agree we should extend the methods in Statistics :+1:
What is still unclear to me is the output format of these functions. What would be useful from a user's perspective? Let's say we take the mean of a solution, what is the format of the output? Should we return a dictionary mapping properties to mean maps? Something like the output of the digest function we already have. We could start by returning another SimulationSolution object with a single realization containing the mean, and then calling the already implemented digest on it as the return value.
If you can sketch an initial implementation of the mean function for example in a file called GeoStatsDevTools.jl/src/solutions/postprocessing.jl that would be very helpful. Feel free to add your name in the copyright header like in other files ;)

Actually, you could start adding the functions to the existing file GeoStatsDevTools.jl/src/solutions/simulation_solution.jl. This is a generic place in the source where we can add functionality for SimulationSolution objects.

This is being tracked in https://github.com/juliohm/GeoStatsDevTools.jl/pull/2

Fixed on master, thanks @riyadm.


Rename task.shard.max-threads to task.split.max-threads

I think task.max-concurrent-splits might be more descriptive. This sounds to me like it's the number of threads that each split gets
Sent from my HTC
----- Reply message -----
From: "David Phillips"<EMAIL_ADDRESS>To: "facebook/presto"<EMAIL_ADDRESS>Subject: [presto] Rename task.shard.max-threads to task.split.max-threads (#2577)
Date: Fri, Mar 20, 2015 7:03 PM

You can view, comment on, or merge this pull request online at:
https://github.com/facebook/presto/pull/2577
Commit Summary

Rename task.shard.max-threads to task.split.max-threads

File Changes

M presto-main/src/main/java/com/facebook/presto/execution/TaskExecutor.javahttps://github.com/facebook/presto/pull/2577/files#diff-0 (2)
M presto-main/src/main/java/com/facebook/presto/execution/TaskManagerConfig.javahttps://github.com/facebook/presto/pull/2577/files#diff-1 (16)
M presto-main/src/test/java/com/facebook/presto/execution/TestTaskManagerConfig.javahttps://github.com/facebook/presto/pull/2577/files#diff-2 (6)

Patch Links:

https://github.com/facebook/presto/pull/2577.patch
https://github.com/facebook/presto/pull/2577.diff

—
Reply to this email directly or view it on GitHubhttps://github.com/facebook/presto/pull/2577.

I'm don't think even that is accurate. The number of splits being processed by a worker at any given time can be larger than that number. If anything, it should be named "worker threads", "runner threads" or "driver threads".

task.max-split-threads? I think that is the most descriptive to the end user.

I'd go with task.max-worker-threads

That sounds fine to me

Looks good. Don't forget to update the release notes.


Fix ChooseTopicsActivity on small screens

In case of small screens the keyboard overlaps the list with topics. It is possible to reproduce it with vertical size equals 1280 pixels.

Fixed, closed the issue

Fixed, closed the issue


Report unique device ID to ROS in HTTP header

See realm/raas#817.
We need to send a unique device ID in the HTTP header or token to support reporting of devices in ROS. As unique as the platform allows. It's ok it's not uniques across app installs.
For iOS we can use UIDevice.current.identifierForVendor!.uuidString
For Android and JS I assume there is something equivalent?

I don't think we should try to use a os-specific uuid retrieval as that will be too involved to implement on the other platforms we support - Windows, Linux, etc. Instead, OS should generate a uuid and persist it somewhere.

Where is the client_uuid stored?

In the metadata Realm within the application's data directory.

@nirinchev Where would we persist that (independent of any specific realm)? Don't we just swap the problem of the platform specific ID with platform specific persistence?

Not needed anymore due to new pricing.


Wrong rule texts in GR-LotResult-ReceivedSubmissions

Some rule texts within the GR-LotResult-ReceivedSubmissions group are incorrect. The rule texts refer to BTs that do not (or no longer?) exist. In englisch at least the following text is wrong:
rule|text|BR-BT-13713-0102">If received tenders micro (BT-1481) is not empty, BT-1482 (BT-1482) is not empty and BT-1483 (BT-1483) is not empty, then BT-148 (BT-148) must be equal to the sum of BT-1481 (BT-1481), BT-1482 (BT-1482) and BT-1483 (BT-1483)
In the german translation at least the following texts refer to wrong BTs:
BR-BT-13713-0101">'Eingegangene Angebote oder Teilnahmeanträge' (BT-146) darf nicht niedriger sein als die Summe der eingegangenen unzulässigen Angebote (BT-741) und der eingegangenen nicht geprüften Angebote (BT-742)
BR-BT-13713-0102">Wenn erhaltene Angebote Mikro (BT-1481) nicht leer ist, ist BT-1482 (BT-1482) nicht leer und ist BT-1483 (BT-1483) nicht leer, dann muss BT-148 (BT-148) gleich der Summe aus BT-1481 (BT-1481), BT-1482 (BT-1482) und BT-1483 (BT-1483) sein
BR-BT-13713-0103">Angebote von KMU (BT-148) müssen niedriger oder gleich sein wie eingegangene Angebote (BT-146)
Erhaltene Angebote aus anderen EU-Ländern als dasjenige des Käuferwertes müssen niedriger oder gleich den eingegangenen Angeboten (BT-146) sein
BR-BT-13713-0103">Angebote von KMU (BT-148) müssen niedriger oder gleich sein wie eingegangene Angebote (BT-146)
The texts are also all attached to the field "BT-13713-LotResult". Wouldn't it be better to attach the rules directly to the GR-LotResult-ReceivedSubmissions group?

Thanks,
This issue is already known and was prepared for SDK 1.10 (https://github.com/OP-TED/eForms-SDK/discussions/532), updates were somehow lost.
We'll fix it asap, either in SDK 1.12 or with the next labels update. This will also get applied to previous versions.

Thanks :)

Hi @YvesJo the german translation in SDK 1.12 still refers to BTs that no longer exist: At least in BR-BT-13713-0101, BR-BT-13713-0103, BR-BT-13713-0104, BR-BT-13713-0105 and BR-BT-13713-0106.

Hi,
The rules were expressed using Business Terms IDs and not fields IDs. rule|text|BR-BT-13713-0102 in its previous state was not understandable and has been fixed, other rules could be expressed referencing Fields IDs instead when you think this really adds value in which case this would be done for SDK 1.13.

It would help to display the correct BTs. The correct BTs are also displayed in the English version.

Ok, I'll have a closer look at it.
I reopen that ticket and associate it to SDK 1.13 regarding the remaining rules


chore(deps): update RHDH theme

Description
Update RHDH theme to include:

https://github.com/redhat-developer/red-hat-developer-hub-theme/pull/8
https://github.com/redhat-developer/red-hat-developer-hub-theme/pull/10
https://github.com/redhat-developer/red-hat-developer-hub-theme/pull/11

Which issue(s) does this PR fix

8 fixes https://issues.redhat.com/browse/RHIDP-2289
10 fixes https://issues.redhat.com/browse/RHIDP-2290
11 fixes https://issues.redhat.com/browse/RHIDP-2300

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/assign
/cc @invincibleJai @ciiay @karthikjeeyar

/retest

/retest

/approve

I know it's already merged, but I finally got the local image work to test it out, here's the screen recording.
https://github.com/janus-idp/backstage-showcase/assets/26255262/59901e22-7433-4b6e-9e9e-c9a92ab87814


Update population diagrams in demography tutorial

The labels of all diagrams need to be updated, and some new ones need to be made for admixture + divergence.

It would be really nice if we could somehow use all the effort that @grahamgower has put in to the demesdraw visualiser to create diagrams, instead of drawing them by hand. Graham: I'm assuming that diagrams such as those in the demography tutorial would be easy to show as "tubes"?

That's absolutely doable. But maybe demesdraw is too quirky or lacks some desirable features? For example, it doesn't consider the migration rate value when drawing migrations -- all lines are equally thick. And the mgiration lines are drawn at random times, not at fixed time intervals.

The tut is thanks to @gtsambos , so I'll let her weigh in, but I thought it would be useful to point out the possibilities here. I guess she can take it up with you, @grahamgower , if there's additional functionality that would be helpful. I just really like the demesdraw stuff (and I think I should also note in my tskit viz tut PR that demesdraw exists).


[Bug]: When casting embedding to integer, the service shutdown.

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
48f6155
Other environment information
No response
Actual behavior
 [critical] Embedding type: Embedding can't be cast to Integer@src/function/cast/embedding_cast.cppm:51
Unrecoverable error issued, stop the serverShutdown infinity server ...
Shutdown storage ...

 [critical] Embedding type: Embedding can't be cast to TinyInt@src/function/cast/embedding_cast.cppm:51
Unrecoverable error issued, stop the serverShutdown infinity server ...
Shutdown storage ...

Expected behavior
No response
Steps to reproduce
Function test case code can be found in python/test/test_delete.py `test_various_expression_in_where_clause`
Test examples are in python/test/common_values.py
Please use `column_types=integer,int` `column_types_example=[1,2,3]`

Additional information
No response

Fixed


MINOR: Improve Docs Readability

Signed-off-by: Ryan Russell<EMAIL_ADDRESS>Closes #2695
Are there any user-facing changes?
No

Codecov Report

Merging #2696 (ec4b998) into master (1152c14) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2696      +/-   ##
==========================================
- Coverage   84.70%   84.67%   -0.04%
==========================================
  Files         270      270
  Lines       47059    46911     -148
==========================================
- Hits        39861    39721     -140
+ Misses       7198     7190       -8

Impacted Files
Coverage Δ

datafusion/core/src/execution/memory_manager.rs
70.25% <0.00%> (-0.63%)
:arrow_down:

datafusion/core/src/catalog/schema.rs
85.00% <0.00%> (-0.49%)
:arrow_down:

...e/src/physical_optimizer/hash_build_probe_order.rs
89.04% <0.00%> (-0.23%)
:arrow_down:

datafusion/core/tests/custom_sources.rs
83.72% <0.00%> (-0.19%)
:arrow_down:

datafusion/core/tests/sql/json.rs
46.87% <0.00%> (-0.19%)
:arrow_down:

datafusion/core/tests/sql/create_drop.rs
95.29% <0.00%> (-0.17%)
:arrow_down:

datafusion/core/tests/sql/information_schema.rs
98.28% <0.00%> (-0.16%)
:arrow_down:

...e/src/physical_plan/sorts/sort_preserving_merge.rs
92.57% <0.00%> (-0.15%)
:arrow_down:

datafusion/core/src/execution/context.rs
78.64% <0.00%> (-0.14%)
:arrow_down:

datafusion/core/src/physical_plan/cross_join.rs
89.94% <0.00%> (-0.12%)
:arrow_down:

... and 24 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 1152c14...ec4b998. Read the comment docs.


Cannot find "/dist/compiler-dom/global.js" in<EMAIL_ADDRESS>

Version
3.0.5
Reproduction link
https://unpkg.com/<EMAIL_ADDRESS>Steps to reproduce
open the url:https://unpkg.com/<EMAIL_ADDRESS>What is expected?
need an broswer version.
What is actually happening?
no unpkg

package.json has the filename wrong. PR sent.


Associate commits with a release on sentry

https://docs.sentry.io/workflow/releases/?platform=python#b-associate-commits-with-a-release

Duplicate of #1107


Incorrect graph for saved variable using custom autograd function

In the following example, the saved variable for each FixedGradientFunctionBackward Node should be different, but they are merged into a single dot.node
https://colab.research.google.com/drive/1MyOV58n6oex9X_Z5HSRf-Gb87dclYNKN?usp=sharing
from torch.autograd import Function
from torchviz import make_dot

class FixedGradientFunction(Function):
    @staticmethod
    def forward(ctx, x, grad_x):
        ctx.save_for_backward(grad_x)
        return x

    @staticmethod
    def backward(ctx, grad_x):
        saved_grad_x, = ctx.saved_tensors
        return saved_grad_x, None

fn = FixedGradientFunction

x = torch.randn(1, requires_grad=True)

dense_1 = torch.rand(1)
dense_2 = torch.rand(1)

z = (fn.apply(x, dense_1) + fn.apply(x, dense_2)).sum()
# z.backward()
make_dot(z)

I think this is fixed by https://github.com/pytorch/pytorch/pull/56017 if you use PyTorch nightly.
Could you double check?

The bug is still there as of
commit 935057fc7464d0df6741ffc24d5aed3131533073
Author: Lily Johnson<EMAIL_ADDRESS>Date:   Tue Jun 8 08:01:01 2021 -0700

Ho yes, my bad. These c++ tensors are temporary as well. I guess your SavedVariable improvements will avoid this problem.

Ho yes, my bad. These c++ tensors are temporary as well. I guess your SavedVariable improvements will avoid this problem.

Another quick fix could also be just to save a reference ourselves, just like what we already have with seen w/ non custom functions


Add GooglePay Clone

Description
I would like to add the clone of GooglePay.
Code of Conduct

[X] I follow Contributing Guidelines of this project.

Assign it to u @Rakesh9100