FEAT: Added a notebook execution pipeline destined for pdf

added a pdf target in makefile for images to be in markdown format.
make pdf parallel=$(cores) will run it in parallel
make pdf -  will run it sequentially

this will need to wait until sphinxcontrib-jupyter=0.5.0 is released to support pdf compilation

Thanks @AakashGfude and @arnavs

This is for @AnjuJoon to work with ipynb_pdf_constructor for manually building pdf files.
@arnavs this shouldn't be merged as @AnjuJoon can work from this branch.
We will setup a new branch for upcoming pdf support in sphinxcontrib-jupyter=0.5.0

this can be closed as no longer relevant given PR #701


Source Action doesn't cancel stale request

have a busy extension host or tsserver
selection 'Source Action...'
while the request is pending keep changing the selection or start typing
🐛 the new menu shows eventually, expectation is that the request should have been canceled because I went off doing something else

Yes not specific to source actions. Regular code action triggers do the same as far as I can tell. To repo:

Open vscode source
Quickly select a number in some js (for a refactoring) and hit ctrl+.
Move the cursor around
Once TS finishes loading, we show the code actions for the refactoring at where ever the cursor is currently


[WebChat] Customize Bot User Interface

Hi,
I am just trying to customize the UI of my web chat bot. could you please give me any suggestions/ help regarding UI customization and If there is another approach to customize the UI.
Currently we are using an 'iframe' of a web chat bot. how do we customize its UI.
Thanks and Regards,
Ravi

@RaviTeza31 To customize the WebChat module, head on over to https://github.com/Microsoft/BotFramework-WebChat and fork the repository, then you can add your own CSS customizations and deploy your own custom themed chat interface.  You will find the styling options here: https://github.com/Microsoft/BotFramework-WebChat/tree/master/src/scss

Thank you @nwhitmont. will try this for sure :)

Hi @nwhitmont .
I have tried to customize the UI for my web chat bot by using the links you have provided. but I am unable to reflect the changes in it. could you please help me regarding this. How to make work this CSS in my iframe?
Thanks and Regards.
Ravi


Planned Maintenance Status Page

Planned Maintenance to the Status Page.
This aims to add some cool new features.
Nope... We're not going to tell you what they are yet...
Snap... Looks like you'll have to come back soon to see what they are!
Thank You. - MPM

Maintenance has started.
Oi, No peaking now...

MPM

Maintenance Update:
Do not use the 'Report an Incident' Form...
Wait, there's a form?
There's no form here...
Tell him he's dreamin!
Thank You. - MPM

Works will resume shortly to correct some issues.
Hang on... Issues? It aint an issue, it's a feature!
Thank You. - MPM

We're now correcting some issues.
This shouldn't take toooooooooo long.
Cheers! - MPM


Some minimal improvements

I guess 01acb98ad7285585d5a194ff75519433df7a851d is a controversial, so feel free to reject if you disagree with this change. :smile:

That's fine, thx for the update.
Adding generics like the following change is great:
- Randomizer getRandomizer(final Class<?> type);
+ <T> Randomizer<T> getRandomizer(final Class<T> type);

but I'm not sure I understand the value of wildcards here:
- private final Map<Class, Randomizer> randomizers = new HashMap<Class, Randomizer>();
+ private final Map<Class<?>, Randomizer<?>> randomizers = new HashMap<>();

To be honest, I've never had to deal with nasty details between List, List<?> and raw List (as detailed here) ..
List <?> makes it explicit that you do not know the type of the objects in this list. (Pre-Java-5 you had to write List even if you always expected List<String>.)

So it's not a lot, but adding the <?> is not a lot of work. :smile:

You suppress the compiler warnings.

Even without the wildcard I don't have compiler warning (using Java 7):
private Map<Class, Randomizer> randomizers = new HashMap<>();
So I think for a parametrized type like Randomizer<T>,  writing Randomizer<?> randomizer or Randomizer randomizer are equivalent when we don't know the type upfront, but I completely agree with you, it is more explicit with the wildcard than without it..  and as you said, it's not very expensive to add it :+1:

Depending on the IDE/tools you use you may not see the warnings, but they are there. If I execute mvn compile, I get:
...
[INFO] /random-beans/random-beans/src/main/java/io/github/benas/randombeans/PopulatorImpl.java: PopulatorImpl.java uses unchecked or unsafe operations.
[INFO] /random-beans/random-beans/src/main/java/io/github/benas/randombeans/PopulatorImpl.java: Recompile with -Xlint:unchecked f
or details.
...

If I add this:
<compilerArgs>
  <arg>-Xlint:all</arg>
</compilerArgs>

to the maven compiler plugin configuration I get:
...
[WARNING] /random-beans/random-beans/src/main/java/io/github/benas/randombeans/PopulatorImpl.java:[165,32] found raw type: java.lang.Class
  missing type arguments for generic class java.lang.Class<T>
...

Eclipse shows these kind of warnings by default, so I like to get rid of them. :smile:

I revert my last comment :smile: Sorry for that. -Xlint:all should be the default !
That said, there are many warnings and the code is a bit messy. Now that all features for v2 are implemented and tests are green, time for refactoring and cleaning the code.. Make it work than make it better :wink:

That's also my favorite approach. :smile:


Move framework/carthage support to master branch

It doesn't make any sense to require people trying to use carthage to use a different dedicated branch, this should all be achievable on the master branch and in releases.

Hi @timonus,
Thanks for taking the time to write in :+1:
The main reason why Carthage (framework) support is not on master can be seen in my comment in PR #151. You can also see the discussion from PR #152 for more details.
Since we can't support Carthage without the use of frameworks on master, I am labeling this issue as wontfix and closing it.
Please feel free to reopen it if you have a solution which does not involve forcing framework usage on master.
Best,


Support Regions

Hi.
I've been evaluating spark-plug for our usage of aws emr and noticed that you don't support specifying the region.  This would be a really useful.

Hi @alistair; agreed that would be useful. I can't technically submit new releases to Maven central (the other maintainer, Larry, has been doing the uploads), but if you come up with a PR, I'll merge it in.
In theory it should be pretty easy to find where we need to pass --region/etc. to the AWS commands. Thanks!


Feature/update lts and squid

This does two things:

Updates the image to 20.04
Updates squid from 3 to 4

The change in image is a requirement for the latest squid version.
TODO:

[ ] Manually verify deployment and that squid version is correct and traffic can still flow through fine.

Seems there is some issue after upgrading:
Apr 08 21:59:44 L5-1-edge aziot-identityd[11098]: 2021-04-08T21:59:44Z [INFO] - <-- PUT /identities/modules/$edgeAgent?api-version=2020-09-01&type=aziot {"content-type": "application/json", "host": "2f72756e2f617a696f742f6964656e74697479642e736f636b:0", "content-length": "40"}
Apr 08 21:59:44 L5-1-edge aziot-identityd[11098]: 2021-04-08T21:59:44Z [INFO] - !!! Hub client error
Apr 08 21:59:44 L5-1-edge aziot-identityd[11098]: 2021-04-08T21:59:44Z [INFO] - !!! caused by: error trying to connect: tcp connect error: Connection refused (os error 111)
Apr 08 21:59:44 L5-1-edge aziot-identityd[11098]: 2021-04-08T21:59:44Z [INFO] - !!! caused by: tcp connect error: Connection refused (os error 111)
Apr 08 21:59:44 L5-1-edge aziot-identityd[11098]: 2021-04-08T21:59:44Z [INFO] - !!! caused by: Connection refused (os error 111)
Apr 08 21:59:44 L5-1-edge aziot-identityd[11098]: 2021-04-08T21:59:44Z [INFO] - --> 404 {"content-type": "application/json"}
Apr 08 21:59:44 L5-1-edge aziot-edged[11095]: 2021-04-08T21:59:44Z [WARN] - Error in watchdog when checking for edge runtime status:
Apr 08 21:59:44 L5-1-edge aziot-edged[11095]: 2021-04-08T21:59:44Z [WARN] - A module runtime error occurred.
Apr 08 21:59:44 L5-1-edge aziot-edged[11095]: 2021-04-08T21:59:44Z [WARN] -         caused by: HTTP response error: [404 Not Found] {"message":"Hub client error\ncaused by: error trying to connect: tcp connect error: Connection refused (os error 111)\ncaused by: tcp connect error: Connection refused (os error 111)\ncaused by: Connection refused (os error 111)"}

With access logs looking like this on the OTPROXY:
1617918887.957      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617918945.203      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617918947.957      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919005.203      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919007.957      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919065.203      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919067.958      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919185.205      3 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919187.958      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919245.205      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919247.958      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919305.205      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -
1617919307.958      1 <IP_ADDRESS> NONE/503 0 CONNECT <IP_ADDRESS>:443 - HIER_NONE/- -


0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Operating system and version:
Ubuntu 18.04
How did you install nvm?
install script in readme, curl
What steps did you perform?
Install & Update Script
What happened?
0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

Please fill out the issue template, it’s there for a reason.
If you can’t connect to github, then you can’t download nvm from github to install it. Please provide the curl output requested by the issue template.


registry-submit [--sibling|-s NAME] without URL

as an alternative to "manually" looping through --sibling NAME

Make URL optional arg, If no URL is provided, go through all siblings (or just the one provided in --sibling) and submit those URLs as associated with that dataset


OCPP websocket server across multiple servers

Hello !
Has anyone attemted integrating redis /websockets and this great package ?
I'm interested if it's possible to use this across multiple vps / workers .

@OrangeTux Can we share the websockets object created using ChargePoint across multiple workers to send messages to CP?

Generally, I would advice against sharing websockets. Because that is sharing mutable state which state which can leads to race conditions (and therefore isn't allowed by strict languages like Rust). Instead, I would suggest to use queues and messages passing.

@ChaitanyaYeole02 @OrangeTux
I ended up using exactly that:
Message queues.
It takes a bit of work but can be done.
Now this is in no way necessary unless you got A LOT of chargers.

@ChaitanyaYeole02 @OrangeTux I ended up using exactly that: Message queues. It takes a bit of work but can be done. Now this is in no way necessary unless you got A LOT of chargers.

Hello.have you got any resource of how to start using message queue with this package.or just a summary of how to use.??

Instead of queue, have you tried using Coordinator service, something like Manager Service Approach?

If you need any help in implementing that, then let me know.

yeah. Any source code or just the understanding of how it's done. any help will be a big help to me.


ENYO-5513: A11y: Not read out infoComponent when selecting more button on VideoPlayer

Checklist

[x] I have read and understand the contribution guide

[x] A CHANGELOG entry is included

[x] At least one test case is included for this feature or bug fix

[x] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added

Fixed not read out infoComponent when select more button on VideoPlayer.
This issue also includes the following issues:

Fixed an issue where InfoComponent was not read when Blue key was pressed while MediaControls panel was floating
Fixed an issue where infoComponent was not read when moreButton was pressed with 5way key
Fixed an issue that gives focus when the role, aria-* property are not applying yet in the real DOM
Fixed conflicts when title and info roles are region role

Resolution

Issues that did not read infoComponent

The behavior was different when handling more button and blue key in the scenario of reading infoComponent. If we press the more button, the toggleMoreComponents function changes the state of the MoreComponents and gives focus, but the Blue key gives focus before changing the state. I unified this behavior so that the state changes first and gives focus.

Title and info role conflicts with region role

Since title and info give focus to the same children(buttons in MediaControls), they will not be read if they contain the same region role. It is OK to remove the button focus once. However, I applied the alert role because the alert role is applied to the first focus in the VideoPlayer scenario, so there is no change in the region role and the reading order.

Issues that role and aria-* property did not apply to real DOM

Added an isRenderedAriaProps variable to VideoPlayer.js and added prop to MediaControls.js
The render cyle of VideoPlayer and MediaControls are handled at the same time, but the role and aria- * properties have not yet been applied to real DOM at the first render time. This caused an issue because the this.state.announce was changed so that the objects of controlsAriaProps were immediately applied at the time of rendering.
I have modified MediacControls to pass this.isRenderedAriaProps is true after setState which changes this.state.announce is rendered.

Additional Considerations
Links
ENYO-5513
Comments

LGTM

closing in favor of #1874


Image/File Browser

I am using the latest version of the the file manager. On one of my recent application i needed to have a feature where the users can check the images and files uploaded in the application.
This could be the filebrowser opened as a new window while uploading. I want to add a button named File Manager on my application. When i will click on the button it will show the existing file manager or something similar. All the files and images will be listed there and i want to upload new image/files as well.

I think you are referring stand alone button. Please see screenshots here: https://unisharp.github.io/laravel-filemanager/.

thanks for the response.
No, i am not referring the standalone buttons. The feature i am searching for is something like a file browser in Wordpress. I need the ability to use the File browser from the stand alone button or the CKEditor. Along with that i may want to use only the file browser, upload file and later some time select form the ckeditor or button.
When i am editing a post i am using the standalone button and it works perfectly. But sometimes i need to check all the uploaded images and files of the application. If there any way to check that? or do i have to edit any post again to open the file browser window?

Do I understand correctly you just want to browse the files without uploading anything necessarily?

This can be achieved by:

Calling our api, which is ItemsController, and process with the json response.
Customizing index.blade.php and script.js, and remove any code related to file selection.

you can use stand alone, or CKEditor but a quick fix is modifying the ConfigHandler.php to say [return "";] or better still set auth levels for super admin to return "" and other users to user()->username,


Facing unknown issue when using with centos 7

When starting the selenoid using ./cm selenoid start --vnc, I am getting

Using Docker

Your Docker API version is 1.40

Selenoid is already downloaded
Selenoid is already configured
Starting Selenoid...
Successfully started Selenoid

Similarly I face no issues when starting the selenoid UI: ./cm selenoid-ui start --port 9080

Using Docker

Your Docker API version is 1.40

Selenoid UI is already downloaded
Starting Selenoid UI...
Successfully started Selenoid UI

But when I go to the browser and reach the 9080 port, I am seeing this error:

System configuration:

centos version: 7
docker version: 19.03.2
selenoid version: 1.9.3
browser image versions: chrome(78.0), firefox(70.0), opera(64.0)
Here's my browsers.json file:

{
    "chrome": {
        "default": "78.0",
        "versions": {
           "78.0": {
                "image": "selenoid/vnc_chrome:78.0",
                "port": "4444",
                "path": "/",
                "tmpfs": {
                    "/tmp": "size=128m"
                }
            }
        }
    },
    "firefox": {
        "default": "70.0",
        "versions": {
            "70.0": {
                "image": "selenoid/vnc_firefox:70.0",
                "port": "4444",
                "path": "/wd/hub",
                "tmpfs": {
                    "/tmp": "size=128m"
                }
            }
        }
    },
    "opera": {
        "default": "64.0",
        "versions": {
            "64.0": {
                "image": "selenoid/vnc_opera:64.0",
                "port": "4444",
                "path": "/",
                "tmpfs": {
                    "/tmp": "size=128m"
                }
            }
        }
    }
}

Note: The .aerokube/selenoid/logs folder is empty
Also the browser images did not get downloaded while running ./cm selenoid start --vnc. I downloaded the images in my ubuntu and transferred it to centos. Likewise the browsers.json did not get created automatically. I wrote it by myself.

@prasanth-G24 everything should be automatically downloaded and installed with --force flag.

@prasanth-G24 everything should be automatically downloaded and installed with --force flag.

Thank you so much. I did not know this because in my ubuntu all the images got downloaded automatically without the --force flag.

@prasanth-G24 everything should be automatically downloaded and installed with --force flag.

I have a small problem @vania-pooh. Instead of downloading two versions of a browser, can I make it download only one version?

@prasanth-G24 sure, just add --last-versions 1 to download only 1 latest version of specify which exact versions do you need with --browsers chrome:76.0. https://aerokube.com/cm/latest/#_downloading_only_some_browser_versions


Specify target for each node

Hi,
how do I specifiy that my targets should be node targets meaning that each node should have its own target? Is it the case if data.y has shape [num_nodes, num_target_features]?
Thanks,
Christoph

Yes :)


Issue with k8s.io/docs/tasks/access-application-cluster/web-ui-dashboard/

This is a Bug Report

Problem:
'creating a sample user' link in https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#accessing-the-dashboard-ui points to a wrong URL
Proposed Solution:
Update the link to point to the right wiki or example location.
Page to Update:
https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#accessing-the-dashboard-ui

Hi @savitharaghunathan - the 1.16 version of the documentation no longer contains a creating a sample user link in that section.
1.15 page
1.16 page
If you need help creating a sample user, you could ask in the #sig-ui channel in the Kubernetes slack instance.
/sig ui

@aimeeu, In that case, I think the link should be removed instead of pointing to a different page. What are your thoughts on that?

@aimeeu, Thanks for the clarification.
/close


Website- Contains content for all integrated features

Website: Contains content for all integrated features:
Description:

Added new md files to the website containing descriptions on what and how to use all the integrated features of the EiffelVis App.
Content files were all placed inside the feature-2 folder.
To each feature additionally we added gifs with demonstration on how the features are used.
All GIFs were put into the images folder inside static

Video:
Website Demo:
https://user-images.githubusercontent.com/72571860/210748117-f0f04695-d4bb-4028-b0a5-04b7425889cf.mov
Testing:

Testing was done locally by running hugo server.

Whats up with the black bars on the integrated videos?

Think that happened when I uploaded the video the original does not contain that

I think its also missing something about the ability to query specific events

How do mean, can you elaborate?

How do mean, can you elaborate?

I mean there is nothing explaining how you can query for events

I see, will try to add that into the filter options feature, or maybe talking about that in its own part. Let me know which one you think is better

filter options feature

that seems to be missing?

Also I had posted the gifs to imgur and tried using a url in place of the image path in the md files but the gif no longer shows up. Might be doing it wrong or maybe asset.image can't read urls im not sure what the problem is.


Add FP8 docker images + support release cycles w/ non -release tag

What does this PR do?
This PR adds FP8 benchmarking docker images. They are tagged as huggingface/accelerate-gpu-fp8-transformerengine + -release/-nightly.
Also noticed that the deepspeed images weren't ever being built, so changes that/fixes it.
Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@BenjaminBossan

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

oop, good catch ty


Sliding with 2 elements only

I found an issue while scrolling with "next" button when there are only 2 items in the carousel.
The thing is, that when I have only two items, the first time I click the "next" button to slide to the following item, this one won't move the width it should. But then, if I return to the first one, and try again to go the second item, this will works properly.
Mention that, with 3 or more items, the issue I just described it doesn't happens, only when there are two items.
Tried version 0.3.3 and 0.3.4.

Hi,
sorry for the late response. Could you setup a reproducible test case?


Add historic data to DB

It would be a good feature to be able to add historic candles to the DB to get better advice and the ability to backtest data older than the first candle generated on with the app.

BitBot actually stores previous candles in the DB and uses them for backtesting. You need to keep the bot running to fetch more data over time. Unfortunately there's no way to retrieve detailed (tick lvl) historical data. I have been running the bot for almost two years and therefor can backtest on an extended period.

Could you please provide us with your data? Otherwise me and other mortals have to wait many months for backtests to be of any use.

Is it necessary to have tick level data for the indicators to work? Is it possible to make it work on e.g. 5min candlesticks?

I don't think I can do that in a reliable way @tabenius. And I'm not sure it's actually allowed to distribute tick data of an exchange.
In principle it should also work on higher level candles as long as you don't want to go below 5 minutes.
It would go far beyond scope to download and provide historical data for every currencypair on every exchange. Especially when they throttle their API...
For now I think it's everyone's responsibility to gather data for themselves, before actually trading with the bot.

I agree. Although, it would be very helpful for users that don't know kraken-api, mongodb, inner workings of BitBot to have some code snippets to guide them.

@tabenius That's also in scope for the new version of BitBot. I want to allow users to easily subscribe to events on the bot and write their own indicators (Ticks as soon as they come in, New candles of a specific size...).


Error matching not working?

Hi, I'm not sure how to get the error matching working my .atom-build.json file looks like:
{
  "cmd": "{PROJECT_PATH}/build.bat",
  "args": [],
  "sh": false,
  "cwd": "{PROJECT_PATH}/code",
  "env": {},
  "errorMatch": (?<file>[a-z]+\.[ch])
}

example error outputs look like:

C:\Users\Kane\Desktop\Game\code\game.c(24): error C2039: 'AspectRatoWidth': is not a member of 'state'
C:\Users\Kane\Desktop\Game\code\game.h(28): note: see declaration of 'state'
C:\Users\Kane\Desktop\Game\code\game.c(25): error C2146: syntax error: missing ';' before identifier 'State'
C:\Users\Kane\Desktop\Game\code\game.c(27): error C2146: syntax error: missing ';' before identifier 'State'

I have tested it on https://regexr.com/ and it correctly gets 4 matches for the file names but in atom it doesn't say any errors and I can't cycle through with the keybinds, it doesn't seem to do anything. I may be missing something obvious as I'm not sure how this works.

Not really sure what I was doing wrong but I made an .atom-build.yml instead and it works. would still like to know what was wrong with the .json version

Possibly an escaping issue? I just used the example from the docs (?<file>[\\/0-9a-zA-Z\\._]+):(?<line>\\d+):(?<col>\\d+):\\s+(?<message>.+) in a yml file and it didnt work. Turns out it doesn't require the double escape and this is the working one: (?<file>[\/0-9a-zA-Z\._]+):(?<line>\d+):(?<col>\d+):\s+(?<message>.+) in yml at least.
Maybe you needed the double escape in json? Just a guess and havent tested.


Rest parameter with modifier is allowed

Even though the TS spec's grammar doesn't seem to permit it, the following is now allowed:
class C {
    constructor(...public rest) {
    }
}

Seems to have been introduced by 80edb2de4a058ccd8594d8faad5f8e1f4cbe8962.

Did we really not have a compiler baseline for this?

We really did not


[Bug]: Azure Provider Containerservice does not work after update >= 1.2.0

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
containerservice.azure.upbound.io/v1beta1
Resource MRs required to reproduce the bug
apiVersion: pkg.crossplane.io/v1alpha1
kind: ControllerConfig
metadata:
  name: debug-config
spec:
  args:
    - --debug
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-storage
spec:
  package: xpkg.upbound.io/upbound/provider-azure-storage:v1.3.0
  controllerConfigRef:
    name: debug-config
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-network
spec:
  package: xpkg.upbound.io/upbound/provider-azure-network:v1.3.0
  controllerConfigRef:
    name: debug-config
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-keyvault
spec:
  package: xpkg.upbound.io/upbound/provider-azure-keyvault:v1.3.0
  controllerConfigRef:
    name: debug-config

---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-managedidentity
spec:
  package: xpkg.upbound.io/upbound/provider-azure-managedidentity:v1.3.0
  controllerConfigRef:
    name: debug-config

---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-compute
spec:
  package: xpkg.upbound.io/upbound/provider-azure-compute:v1.3.0
  controllerConfigRef:
    name: debug-config

---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-containerservice
spec:
  package: xpkg.upbound.io/upbound/provider-azure-containerservice:v1.3.0
  controllerConfigRef:
    name: debug-config

---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-azure-authorization
spec:
  package: xpkg.upbound.io/upbound/provider-azure-authorization:v1.3.0
  controllerConfigRef:
    name: debug-config

---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: upbound-provider-family-azure
spec:
  package: xpkg.upbound.io/upbound/provider-family-azure:v1.3.0
  controllerConfigRef:
    name: debug-config
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: upbound-provider-provider-argocd
spec:
  package: xpkg.upbound.io/crossplane-contrib/provider-argocd:v0.7.0
  controllerConfigRef:
    name: debug-config
---
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-kubernetes
spec:
  package: xpkg.upbound.io/crossplane-contrib/provider-kubernetes:v0.14.0
  controllerConfigRef:
    name: debug-config

Steps to Reproduce
I have updated the provider configs from version 1.1.0 to 1.3.0.
What happened?
After the update, i am not able to get informations about the running clusters created by the containerservice api.
user@local:~$ kubectl get kubernetesclusters.containerservice.azure.upbound.io
Error from server: conversion webhook for containerservice.azure.upbound.io/v1beta1, Kind=KubernetesCluster failed: Post "https://provider-azure-containerservice.crossplane.svc:9443/convert?timeout=30s": EOF

Pods and crossplane are running
user@local:~$ kubectl -n crossplane get pods
NAME                                                             READY   STATUS    RESTARTS       AGE
crossplane-785f969dc5-62xmf                                      2/2     Running   0              5d20h
crossplane-785f969dc5-j4bn7                                      2/2     Running   0              5d23h
crossplane-785f969dc5-w6kdz                                      2/2     Running   0              5d23h
crossplane-rbac-manager-84b7bf46db-r6lx8                         2/2     Running   10 (15h ago)   5d23h
provider-azure-authorization-ca718ab078b2-5fc767b8bc-x92mp       2/2     Running   0              6m53s
provider-azure-compute-5f7e12c15a84-776488c659-92lgk             2/2     Running   0              6m45s
provider-azure-containerservice-7521bcd1e3c1-589f7b58f9-rlq62    2/2     Running   0              6m59s
provider-azure-keyvault-5e7163c6af8f-7c4dc77644-z2dvp            2/2     Running   0              7m1s
provider-azure-managedidentity-ef0465e36bb5-646d6767f6-vsqtd     2/2     Running   0              6m47s
provider-azure-network-8ade55f8f04c-657dd6cb67-fprg5             2/2     Running   0              6m43s
provider-azure-storage-a1be2f8ec957-6fff94df49-5d77l             2/2     Running   0              6m51s
provider-kubernetes-f8518c887488-76f4dcb5f4-87c58                2/2     Running   0              5d23h
provider-terraform-ff16e1bc51b9-7d54565d4c-pq529                 2/2     Running   0              5d17h
upbound-provider-family-azure-b3f8f01fe9bd-85f7469fcd-hs8bv      2/2     Running   0              7m2s
upbound-provider-provider-argocd-899b2f59c6aa-7f9585459f-bvfcc   2/2     Running   0              5d21h

Relevant Error Output Snippet
The logs give no indication of misbehaviour.

user@local:~$ kubectl -n crossplane logs provider-azure-containerservice-7521bcd1e3c1-589f7b58f9-rlq62 package-runtime
2024-06-18T11:20:10Z	DEBUG	provider-azure	Starting	{"sync-interval": "1h0m0s", "poll-interval": "10m0s", "poll-jitter": "30s", "max-reconcile-rate": 100}

Crossplane Version
crossplane/crossplane:v1.16.0
Provider Version
1.3.0
Kubernetes Version
v1.27.9
Kubernetes Distribution
AKS
Additional Info
No response

Hi @Crazyigor1987,
Thank you for the issue report, I'm asking to understand fully. Are you saying that the KubernetesCluster resource that you manage in provider-azure-containerservice v1.1.0 does not work after you upgrade the provider version to 1.3.0?

Are you experiencing this problem only for the KubernetesCluster resource?

Hi @turkenf ,
I've updated the providers to v1.4.0. Experience the problem also on this version. These CRDs are not accessable:
diskencryptionsets.compute.azure.upbound.io:
Error from server: conversion webhook for compute.azure.upbound.io/v1beta1, Kind=DiskEncryptionSet failed: Post "https://provider-azure-compute.crossplane.svc:9443/convert?timeout=30s": EOF

dnszones.network.azure.upbound.io:
Error from server: conversion webhook for network.azure.upbound.io/v1beta1, Kind=DNSZone failed: Post "https://provider-azure-network.crossplane.svc:9443/convert?timeout=30s": EOF

keys.keyvault.azure.upbound.io:
Error from server: conversion webhook for keyvault.azure.upbound.io/v1beta1, Kind=Key failed: Post "https://provider-azure-keyvault.crossplane.svc:9443/convert?timeout=30s": EOF

kubernetesclusternodepools.containerservice.azure.upbound.io:
Error from server: conversion webhook for containerservice.azure.upbound.io/v1beta1, Kind=KubernetesClusterNodePool failed: Post "https://provider-azure-containerservice.crossplane.svc:9443/convert?timeout=30s": EOF

kubernetesclusters.containerservice.azure.upbound.io:
Error from server: conversion webhook for containerservice.azure.upbound.io/v1beta1, Kind=KubernetesCluster failed: Post "https://provider-azure-containerservice.crossplane.svc:9443/convert?timeout=30s": EOF

subnets.network.azure.upbound.io:
Error from server: conversion webhook for network.azure.upbound.io/v1beta1, Kind=Subnet failed: Post "https://provider-azure-network.crossplane.svc:9443/convert?timeout=30s": EOF

vaults.keyvault.azure.upbound.io:
Error from server: conversion webhook for keyvault.azure.upbound.io/v1beta1, Kind=Vault failed: Post "https://provider-azure-keyvault.crossplane.svc:9443/convert?timeout=30s": EOF

virtualnetworks.network.azure.upbound.io:
Error from server: conversion webhook for network.azure.upbound.io/v1beta1, Kind=VirtualNetwork failed: Post "https://provider-azure-network.crossplane.svc:9443/convert?timeout=30s": EOF

I got it working after a cleaned reinstall of crossplane and the providers to v.1.5.0. Today i face the same issue after updating it to v1.7.0.
Errors with "kubectl get managed":
Error from server: conversion webhook for compute.azure.upbound.io/v1beta1, Kind=DiskEncryptionSet failed: Post "https://provider-azure-compute.crossplane.svc:9443/convert?timeout=30s": EOF
Error from server: conversion webhook for containerservice.azure.upbound.io/v1beta1, Kind=KubernetesClusterNodePool failed: Post "https://provider-azure-containerservice.crossplane.svc:9443/convert?timeout=30s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Error from server: conversion webhook for containerservice.azure.upbound.io/v1beta1, Kind=KubernetesCluster failed: Post "https://provider-azure-containerservice.crossplane.svc:9443/convert?timeout=30s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Looks like it is related to https://github.com/crossplane-contrib/provider-upjet-azure/issues/784


get_metrics for fitting energies

Added a new method to get_metrics() which does not require force descriptors.

Codecov Report

Merging #48 (96dd621) into main (10e645a) will increase coverage by 28.85%.
The diff coverage is 31.96%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.


Direct "stream" from youtube

Is there a way to directly stream currently downloading youtube video/audio (dash) to external player like mpv? Like livestremaer, but with support for 60fps?

mpv can play dash formats: mpv 'https://www.youtube.com/watch?v=T3ny9zIckP0' --ytdl-format 'bestvideo+bestaudio', but due to a problem in ffmpeg (I think) the duration is not correctly reported. Is that what you are looking for?

It seems to be working, thanks.


[Feature]: Suggestions for the empty space in the custom games (Game mode & Rated)

Describe the Feature
You can't tell if a game lobby is Nomads or FAF or FAF Beta or whatever until you click on it.
You can't tell if a game is rated or unrated through the lobby option or if the applied mods or modes have an affect one way or the other.

Please add this information.
Expected Behavior
No response
Screenshots

Additional context
No response

This is actually two suggestions:

(1) Add the game type as a column in the overview
(2) Add whether the game is rated or not

I think (1) is simple to do, but (2) can be quite complicated. It for sure is not possible to determine that in-game, for example.


label Deposit/Submit for Approval button as appropriate

Why was this change made?
Fixes #544 - the "Deposit" button for a work should be "Submit for approval" for works in collections with an approval process.
Before

After
(only for works in collections with review process)

How was this change tested?
unit tests, Amy reviewed it in qa environment.
Which documentation and/or configurations were updated?

@jcoyne - your second suggestion did the job - this is ready for merging!


Error when navigating to wallets and farms without first wallet created

Description: When navigating to the wallets and farms section without having created a wallet, an error message is shown saying, "something went wrong." The message could be improved for clarity.
Expected Behavior: If no wallet has been created, the user should see a message prompting them to "Create your first wallet" instead of an error.
Steps to Reproduce:
Go to the wallets and farms section without creating a wallet.
Observe the error message "something went wrong."
Proposed Solution: Replace the error message with a more user-friendly prompt to "Create your first wallet."
the failed to load the message in the both footers and in the middle of the wallet page

issue is no longer reproducable

@khaledyoussef24
where is the test case link ?


[Dubbo-2678] Add ability to turn off SPI auto injection, special support for Object type.

What is the purpose of the change
Fix problem reported in https://github.com/apache/incubator-skywalking/issues/1769
Brief changelog

Add Inject annotation
Printing log instead of throwing Exception in SpringExtensionFactory

Verifying this change
ExtensionLoaderTest.testInjectExtension
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[x] If this contribution is large, please follow the Software Donation Guide.

What is the purpose of the change
Fix problem reported in apache/skywalking#1769
Brief changelog

Add Inject annotation
Printing log instead of throwing Exception in SpringExtensionFactory

Verifying this change
ExtensionLoaderTest.testInjectExtension
Follow this checklist to help us incorporate your contribution quickly and easily:

[x]  Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x]  Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x]  Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x]  Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x]  Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[x]  If this contribution is large, please follow the Software Donation Guide.

I saw that the getExtension method call is inside a try...catch, so even if it throws an exception it shouldn't affect the overall SPI assembly right? But in actual testing I found it does affect the construction of the reference bean. When getting the reference bean, it gets null, which makes me confused.


Update GUI to show relevant SSHNPParams properties

Is your feature request related to a problem? Please describe.

Currently the Home Screen shows more SSHNPParams properties that is needed
Currently the Connection Screen shows more SSHNPParams properties that the user does not need to edit.
the SSHNPPartialParams doesn't have default SSHNP properties set.

Describe the solution you'd like

Show only SSHNPParams properties relevant for the Home Screen
Only show SSHNPParams properties that the user need to edit and rename field name to a more UI friendly name
Set the appropriate SSHNPPartialParams  properties to default SSHNP properties set.

Describe alternatives you've considered
No response
Additional context
No response

Closed by #424


Make persisting useful

persist does not work in-place.

This has a decent perf impact!

nice! we might consider just using compute perhaps? You're using the threaded scheduler so all of the data are in memory anyway. Does dask's parallelism help at all given that datashader uses numba under the hood?

Yeah this is the next thing i have to figure out, currently it preloads all of the data and im using dask just for that. but there is probably a much better way to do all of this.


[ClangImporter] fix argument ordering in call to AccessorDecl::create

I made a mistake. Luckily nobody was importing async/throws accessors from ObjC.

@swift-ci please smoke test and merge

@swift-ci please smoke test linux platform

Do you mind adding a test case?

There currently isn't a way to test this, because there's no way to import an ObjC decl that calls createFuncOrAccessor with a request to create an AccessorDecl that is throws or async. But, once https://github.com/apple/swift/pull/36670 lands, it will be possible to do so (and actually, this fix is basically cherry-picked from that PR).


Create Location Model

Summary
We need a way to keep track of users' location. I think this should be stored in its own MongoDB collection via Radiks associated with the user.
Implementation could be - every time the user signs in, his/her location is updated (or created if it is the user's first time logging in).
Motivation
Down the line, we will likely add functionality to deter users from certain locations or notify them if they are in a high-risk area. Additionally, this information can be collected and analyzed.
Describe alternatives you've considered
An alternative could be to just store the user's zip code, address, etc as a one-time database update on initial sign in, but this may not provide the level of granularity we want.

I can work on this if you haven't started it yet?

Sounds good - I'll assign you now 👍
There's an example in the master App.js as well as in a currently-open PR I wrote for more context if needed.

Additionally, this information can be collected and analyzed.

Privacy law imposes quite a few restrictions on this. This issue should be focusing on the model to serve the user. How this data is shared with the general public should be discussed in a new issue.

@friedger  You are right about that. I think we will have to research up on the model being HIPPA compliant. I'll create another issue regarding this.

closing and the discussion will continue in #136


Support trunk and dev snapshots

Trunk and dev releases should be supported.
Suggested api:
- uses: fwal/setup-swift@v1
  with:
    swift-version: "trunk"

and
- uses: fwal/setup-swift@v1
  with:
    swift-version: "5.3-dev"

Would love to see this! :+1:


Package request: Advanced Copy (advcpmv)

Project description
'cp' and 'mv' utilities with progress bar patches
The nnn terminal file manager utilize it (flag -r) to show cp, mv progress.
Advanced Copy is a mod for the GNU cp and GNU mv tools which adds a progress bar and provides some info on what's going on. It was written by Florian Zwicke and released under the GPL.
This repository exists because the Advanced Copy website appears to be dead. You can still find it via the Internet Archive.
More info: https://aur.archlinux.org/packages/advcpmv
Metadata

homepage URL: https://github.com/jarun/advcpmv
source URL: https://github.com/jarun/advcpmv
license: GPL
platforms: unix, linux

Priorities
Add a :+1: reaction to issues you find important.

Yes

On a hand, it can simply be treated as a overrideAttrs, or even better, a NUR-like overlay.
On the other hand, coreutils is a core (pun not intended) package for Nixpkgs, a dependency for things from fetchers to stdenvs.
Modifying it has the potential to be a mass-rebuiding mess.
Indeed, patches for coreutils should be "vendored".
Let's try.

Sorry I am so new to Nix and NixOS (2 weeks usage), I don't even know it would mess things up.
I don't know much about overrideAttrs, isn't it just permanently modify cp and mv in place?
I have learned something about writing a derivation this week, and here is the .nix file I am using and work just fine for me:
with import <nixpkgs> {}; # bring all of Nixpkgs into scope

stdenv.mkDerivation rec {
	name = "advcpmv-${version}";
	version = "0.9";
	ADVCPMV_VERSION = "${version}";
	CORE_UTILS_VERSION = "9.4" ;
	src = builtins.fetchTarball {
		url = "http://ftp.gnu.org/gnu/coreutils/coreutils-${CORE_UTILS_VERSION}.tar.xz";
		sha256 = sha256:013xx0qvc20d286gfyiibqgjdlpsidyxvaq4dd4lmzvihmwd15fb;
	};
	patches = [
		(fetchpatch {
		 url = "https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-${ADVCPMV_VERSION}-${CORE_UTILS_VERSION}.patch";
		 hash = "sha256-4fdqpkENPfra4nFQU4+xNrlfq6Dw/2JIZXUOMmdMtcM=";
		 })
	];
	buildPhase = ''
		./configure
		make
		'';
	installPhase = ''
		mkdir -p $out/bin
		cp ./src/cp $out/bin/advcp
		cp ./src/mv $out/bin/advmv
		ln -s $out/bin/advcp $out/bin/acp
		ln -s $out/bin/advcp $out/bin/cpg
		ln -s $out/bin/advmv $out/bin/amv
		ln -s $out/bin/advmv $out/bin/mvg
		'';
}

Nix is source-based - it builds the binaries (and artifacts in general) from the sources.
Think like picking Archlinux but from the PKGBUILDS.
Despite being source-based, Nix can rely on local and remote binary caches to speedup the building.
Certainly, when a package source is updated, its old entry in the cache is invalidated and the new version is put in its place.
For an application like, say, Zsnes emulator, it affects only Zsnes.
On the other, for a library like, say, SDL, its update invalidates SDL and everything that uses SDL - zsnes, bochs, frets-on-fire, dosbox, mednafen... the list is huge.
And it applies to everything, from the core utilities like coreutils to desktops like XFCE.
XKCD 2347 provides a better visual analogy.

I have tried this and it worked:
advcpmv = (coreutils.override { singleBinary = false; }).overrideAttrs (old:
  let
    advcpmv-data = {
      pname = "advcpmv";
      patch-version = "0.9";
      coreutils-version = "9.3";
      version = "${advcpmv-data.patch-version}-${advcpmv-data.coreutils-version}";
      src = pkgs.fetchFromGitHub {
        owner = "jarun";
        repo = "advcpmv";
        rev = "a1f8b505e691737db2f7f2b96275802c45f65c59";
        hash = "sha256-IHfMu6PyGRPc87J/hbxMUdosmLq13K0oWa5fPLWKOvo=";
      };
      patch-file = advcpmv-data.src + "/advcpmv-${advcpmv-data.version}.patch";
    };
  in assert (advcpmv-data.coreutils-version == old.version); {
    inherit (advcpmv-data) pname version;

    patches = (old.patches or [ ]) ++ [
      advcpmv-data.patch-file
    ];

    configureFlags = (old.configureFlags or [ ]) ++  [
      "--program-prefix=adv"
    ];

    postInstall = (old.postInstall or [ ]) + ''
      pushd $out/bin
      ln -s advcp cpg
      ln -s advmv mvg
      popd
    '';
    meta = old.meta // {
      description = "Coreutils patched to add progress bars";
    };
  }
);

I think that this issue should stay open because it is not necessary to edit coreutils to package this. One can just make another package that only includes advcpmv commands like arch does: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=advcpmv

I just tried to rebuild my config, got:
         at /nix/store/b58jld7i8gjic1nrg1p01zj0k3n18139-nixos-23.11/nixos/lib/modules.nix:807:9:

          806|     in warnDeprecation opt //
          807|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          808|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: 'advcpmv' has been removed, as it is not being actively maintained and break recent coreutils.

What's the suggested resolution here?

https://github.com/NixOS/nixpkgs/pull/300043
From this it seems like, the only way out is to not use this package anymore? It's an dependency to some nnn file browser feature. I'll look for alternatives for it.

Two weeks ago a new patch was included, targeting Coreutils 9.5.
If you are interested in keeping advcpmv - and receiving some random scolding because it will break the world in a future update of Coreutils -, feel free to pick it.


[ENHANCEMENT] : More Details Can Be Displayed In Followers Card

Describe The Enhancement
UI needs an improvement along with the more details of your followers
Steps To Reproduce
Steps to reproduce the behavior :

Login
Go to Homepage
Observe Your Followers card.

Expected Behavior
A better UI Card with more details of followers.
Screenshots/Videos

Additional Context
Na

I think the Followers card is decent enough


Support XLA

It seems do not support XLA (jit compile), such as the following demo:
physical_devices = tf.config.experimental.list_physical_devices(device_type='GPU')
tf.config.experimental.set_memory_growth(physical_devices[0], True)
mnist = tf.keras.datasets.mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0
model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(input_shape=(28, 28)),
  tf.keras.layers.Dense(128, activation='relu'),
  tf.keras.layers.Dropout(0.2),
  tf.keras.layers.Dense(10, activation='softmax')
])
model.compile(optimizer='adam',
              loss='sparse_categorical_crossentropy',
              metrics=['accuracy'],
              jit_compile=True)
model.fit(x_train, y_train, epochs=5)
model.evaluate(x_test,  y_test, verbose=2)

And the bug is shown as:
W tensorflow/core/framework/op_kernel.cc:1780] OP_REQUIRES failed at xla_ops.cc:296 : UNIMPLEMENTED: Could not find compiler for platform DML: NOT_FOUND: could not find registered compiler for platform DML -- was support for that platform linked in?

Thanks in advance.
Best wishes.

DML doesn't support XLA because it is fundamentally different from how the compiler for other backends like CUDA and AMD works. To make the code work, remove the jit_compile=True line above.

Thanks. 😊


[BUG] Short long notes hitting themselves without user interaction

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
MX Linux 21.1
CPU
Intel Core i5 8400
GPU
NVIDIA GeForce 1030
Storage
120GB + 480GB SSD
Game Version
4.15.0
Game Mode
pump
Theme
Infinitesimal (latest as of writing)
Describe the problem
Long notes that are shorter than the CheckpointHit timing window/release threshold limit will be automatically hit at the end without any user interaction: https://streamable.com/cy7e26
Describe what should happen
The long notes should miss entirely when not hit.
Relevant Log output
Test song from video linked above:
Credits (Long Note Test).zip
log.txt
info.txt

Fixed in 4.18, thanks for reporting!


Update PULL_REQUEST_TEMPLATE.md

header

Description

Types of changes

[ ] Bug fix or improving code quality
[ ] New language
[ ] New feature

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

hk


WebGLPointsLayer setSource does not work

Describe the bug
I update a layer of 10 000 points by creating a new VectorSource because I have historically found it's cheaper than clearing and re-populating the existing source.  This does not work with my experimental use of WebGLPointsLayer.
This does not work.
layer.setSource(newSource);

This does work.
layer.getSource().clear();
layer.getSource().addFeatures(newFeatures);

To Reproduce
I am happy to put a reproducible example together shortly, but I was hoping to get some initial feedback to decide if I even bother. I know that WebGLPointsLayer is quite experimental, so if the short answer is, "yeah don't expect that to work yet." then I won't bother and we can close this ticket.
But if the answer is, "that should work" I would be happy to put an example together.
Pretty excited to keep experimenting with WebGLPointsLayer because as my company's use case expands to hundreds of real-time robots per site and thousands upon thousands of geometries, the frame rate obtained through the canvas layers has fallen  dramatically.

Hi,
Unfortunately setSource is not yet supported with this type of layer. As you pointed out this feature is still experimental and this would fall into the things yet to be implemented.
I'm tagging this as PR accepted if anyone wants to try their hand on it.

Thanks for the response. I'm going to profile the cost clear + addFeatures and maybe I'll have a case to use work hours to implement setSource.


Parent close policy should apply to child workflow only

What changed?

Add childWorkflowOnly flag to history terminate workflow execution request
Use childworkflowOnly flag when applying parent close policy
In parent close policy workflow use history client and signal remote frontend if child domain is not active
IDL change: https://github.com/uber/cadence-idl/pull/97

Why?

Currently, it's possible that parent close policy is applied to a non-childworkflow. As an example, if workflow closes when a child workflow is still in init state and there's another workflow with the same workflowID, we will apply the close policy to the current open non-childworkflow

In terms of fix, two approaches

Do not apply parent close policy if child is in Init state. This can work in most cases, however, we don't know the child is actually started or not just by looking at the mutable state of the parent. (e.g. start child timeout -> workflow close -> tx task retry). So we may fail to apply the policy to some started children.
The fix implemented in this PR. Use the childWorkflowOnly flag when terminating or cancelling childworkflows to make sure the workflow is a child of the workflow that is closing. The fix includes three parts:

Currently, there's no childWorkflowOnly option when terminating workflow, so add related fields and logic for that
Use the field when processing transfer and cross-cluster task for applying parent close policy.
Since childWorkflowOnly field is only defined in history request (not frontend) and parent close policy workflow needs to handle the case where the child domain is not active in the current cluster, we can no longer relying on the auto-forwarding logic provided by the frontend (since childWorkflowOnly field is not defined). Instead, once we found a child is not active, we need to signal the workflow (system domain) in the remote cluster to process it.
Using this approach, we can avoid the issue in approach 1.

However, neither approach can prevent the case where childworkflow is started after the parent close policy is applied. For example:

Processing transfer task, found workflow is running, send the start child request
Start child request timeout
Workflow close (due to timeout, etc.)
Process parent close policy (child still in Init state), no-op since child is not started yet
Start child request got applied.

How did you test it?

WIP

Potential risks

Release notes

Documentation Changes

Just read through it. So far overall looks good to me

Pull Request Test Coverage Report for Build 2761e9e5-6e3e-4db4-9f62-673b3abbc308

54 of 199 (27.14%)  changed or added relevant lines in 9 files are covered.
36 unchanged lines in 10 files lost coverage.
Overall coverage increased (+0.004%) to 56.966%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/history/task/cross_cluster_target_task_executor.go
6
7
85.71%

service/history/task/transfer_active_task_executor.go
18
19
94.74%

service/history/historyEngine.go
8
10
80.0%

common/types/history.go
4
10
40.0%

service/worker/parentclosepolicy/processor.go
0
7
0.0%

service/worker/service.go
10
17
58.82%

common/types/mapper/thrift/history.go
0
8
0.0%

service/worker/parentclosepolicy/workflow.go
0
113
0.0%

Files with Coverage Reduction
New Missed Lines
%

client/history/client.go
2
39.33%

client/history/metricClient.go
2
46.37%

common/task/fifoTaskScheduler.go
2
85.57%

common/types/mapper/thrift/history.go
2
5.25%

service/history/handler.go
2
48.56%

service/matching/matcher.go
2
91.46%

service/worker/parentclosepolicy/workflow.go
3
2.48%

service/frontend/workflowHandler.go
4
59.28%

service/history/shard/context.go
8
65.54%

service/history/historyEngine.go
9
71.3%

Totals

Change from base Build 5495278b-1513-426f-b255-8edc2819ff1e:
0.004%

Covered Lines:
82688

Relevant Lines:
145154

💛  - Coveralls


How to include a URL as a parameter in a GET request

I am trying to pass a URL as a parameter in a simple RPC service using GET.
The route match is: /api/register/access/code/:access_code/:route
And the call would be:
/api/register/access/code/c102dea422fa4bb6958d77a29d9873d2/http%3A%2F%2Fexample.com%2Fapi%2Fdirectory
Now it would seem that ApiGility interprets the slash parts of the URL: %2F as a 'slash" and thus the routing breaks.
How do I get around this?
Many thanks,

Apigility interprets nothing. It's routes, that handle the request URLs. You can handle this with a RegEx Route.

Solved this by url encoding and base64 encoding...


Module 8 Unit 3 myNSG doesn't appear when creating VM

Module: 8
Unit 3 Lab
Task: 9 Test the Load Balancer
Step: Create the Test VM section, Step 4:
Description of issue
We should NOT be setting the MyNSG to the Test VM since we have a Bastion Server setup for the VNET. When creating the VM we should set the NIC network security group to None.
If you do still want the MyNSG applied I had the following issue:
On the Networking tab, the MyNSG does not show, I just set the NIC network security group to Basic. Turn on Public inbound ports and Select Inbound Port to be 3389. That is all the MyNSG does anyways.    The MyNSG does get deployed via the ARM templates and the MyNSG and the Test Virtual Machine are both set to West US. I am not sure why the ARM Template deployment has this issue of not showing when creating the Virtual Machine. This is similar to Module 2 Unit 3 issues with the CoreServicesVnet is not showing during the VM creation and also in Module 4 Unit 4 with the MyNSG resource hiding from the VM Creation there.  Very strange.
Good Luck,
Jeff Smalley

MOC-Labs-Review did not experience this Issue.


Cruise Fault: Restart the car to engage on startup

Describe the bug
I have been getting a Cruise Fault: Restart the car to engage on startup, but is usually clears on its own after a few seconds.
Today, it won't clear on it own and it will not reset after a restart and OpenPilot is unavailable.
Provide a route where the issue occurs
df51b2195de66a9b|2023-02-15--10-14-55--0
df51b2195de66a9b|2023-02-15--10-22-07--0
openpilot version
Master @ d4c5b8d
Additional info
No response

I am still getting a "Cruise Fault: Restart the car to engage" on my device on startup that resolves on its own after a few seconds.


Upgrade dependency

react-element-to-jsx-string has fixed a few bugs that this add-on could really benefit from

Thanks, awesome thank you for the PR
i merge and publish it :)


left menu: change page directly when changing tab

Description
Change the behavior of the left menu: when changing "tab", the right content changes immediately to the selected content type (the last content on that type).
@Iloveall could you update the tests to match this new behavior?

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/change-page-on-left-menu-tab-change/playwright-report/index.html


ENH: Add Linux aarch64 and ppc64le builds

Enable builds for platforms: linux_aarch64, linux_ppc64le.
Bump build number.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[N/A] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

The line
set(CMAKE_CXX_FLAGS "-Wall -Wextra -march=nocona -mtune=haswell -fvisibility-inlines-hidden -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -fext-numeric-literals")

includes -march=nocona, which isn't necessarily supported yet (https://stackoverflow.com/questions/75729638/getting-error-unrecognized-option-march-nocona-while-installing-aerospike-3-10) so will need to patch this to remove -march=nocona on non-x86 builds.

@conda-forge-admin, please rerender

Given https://github.com/conda-forge/ctng-compilers-feedstock/issues/160 it doesn't seem possible to build on any aarch64 platforms for the time being.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.
This message was generated by GitHub actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/11846264685.


Global middleware usage fails

Hello,
I am intresting on this project, and I was downloaded your example project (https://github.com/pleerock/routing-controllers-express-demo)
I would like to use Helmet ( https://helmetjs.github.io/ ) with global middleware declaration, but it not works, only works in middleware per-controller, or middleware per-action!
Please check my code:
Working code with middleware per-controller:
let helmet = require("helmet"); @UseBefore(helmet()) export class PostController {....}
but in main app.ts I would like to use:
let helmet = require("helmet"); expressApp.use(helmet());
And after I called some URL, then I got this Error:

Error: Can't set headers after they are sent.
at ServerResponse.setHeader (_http_outgoing.js:367:11)
at dnsPrefetchControl (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\dns-prefetch-control\index.js:9:11)
at call (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\connect\index.js:239:7)
at next (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\connect\index.js:183:5)
at Function.handle (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\connect\index.js:186:3)
at app (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\connect\index.js:51:37)
at Layer.handle [as handle_request] (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\express\lib\router\index.js:312:13)
at E:\workspace\adv\node\routing-controllers-express-demo\node_modules\express\lib\router\index.js:280:7
at Function.process_params (E:\workspace\adv\node\routing-controllers-express-demo\node_modules\express\lib\router\index.js:330:12)

Used versions is the lates one in every dependency!
Can you help me what is the problem?

Maybe you should use useExpressApp() and configure the middleware like in a normal express before?

@szabobar as @19majkel94 said you should configure your express instance and send that to useExpressApp and it should solve your problem. Reopen this issue and provide more details if you have problems.

Maybe too late to answer the question :), You can just create a routing-controller compatible, like:
`
import helmet from 'helmet';
import { ExpressMiddlewareInterface, Middleware } from 'routing-controllers';
@Middleware({ type: 'before' })
export class HelmetMiddleware implements ExpressMiddlewareInterface {
public use(request: any, response: any, next?: (err?: any) => any): any {
return helmet()(request, response, next);
}
}
`


ignore live video youtube

hi,
I would know if it's possible to ignore live video from youtube ?

https://github.com/rg3/youtube-dl/issues/12946


Sage10: build issue

[x] I've read the guidelines for Contributing to Roots Projects
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and followed them (if applicable)
[x] This is not a personal support request that should be posted on the Roots Discourse community

Description
hi,
i've already deleted everything, updated it, but it throws this issue.
what could be the problem?
thanks!
package.json
{
	"private": true,
	"browserslist": [
		"extends @wordpress/browserslist-config"
	],
	"engines": {
		"node": ">=12.14.0"
	},
	"scripts": {
		"build": "mix",
		"build:production": "mix --production",
		"start": "mix watch",
		"hot": "mix watch --hot",
		"clear": "wp acorn optimize:clear",
		"test": "npm run lint",
		"lint": "npm run lint:js && npm run lint:css",
		"lint:js": "eslint resources/scripts",
		"lint:css": "stylelint \"resources/**/*.{css,scss,vue}\"",
		"translate": "npm run translate:pot && npm run translate:js",
		"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --ignore-domain --include=\"app,resources\"",
		"translate:js": "wp i18n make-json ./resources/lang --pretty-print"
	},
	"devDependencies": {
		"@tailwindcss/typography": "^0.4.1",
		"@tinypixelco/laravel-mix-wp-blocks": "^1.1.0",
		"@wordpress/babel-preset-default": "^6.1.0",
		"@wordpress/browserslist-config": "^4.0.0",
		"@wordpress/dependency-extraction-webpack-plugin": "^3.1.3",
		"babel-eslint": "^10.1.0",
		"browser-sync": "^2.26.14",
		"browser-sync-webpack-plugin": "^2.3.0",
		"eslint": "^7.27.0",
		"eslint-plugin-import": "^2.23.3",
		"laravel-mix": "^6.0.19",
		"postcss": "^8.3.0",
		"sass": "^1.34.0",
		"sass-loader": "11.1.1",
		"stylelint": "^13.13.1",
		"stylelint-config-standard": "^22.0.0",
		"tailwindcss": "^2.1.2"
	},
	"peerDependencies": {
		"jquery": "^3.6.0"
	}
}

Steps to reproduce
yarn build:production
yarn run v1.22.10
$ mix --production

● Mix █████████████████████████ building (43%)
 import loader ./node_modules/sass-loader/dist/cjs.js

/xxx/wp-content/themes/sage/node_modules/postcss-loader/dist/index.js:102
    if (!hasExplicitDependencyOnPostCSS && processor.version.startsWith("7.")) {
                                                     ^

TypeError: Cannot read property 'version' of undefined
    at Object.loader (/xxx/wp-content/themes/sage/node_modules/postcss-loader/dist/index.js:102:54)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
node -v
v16.3.0

npm -v
7.18.1

Additional information
Any additional information, configuration or data that might be necessary to reproduce the issue.

i also tried node 14 version.
npm, yarn cleaning.
it was also a restart.
npm run build:production

> @ build:production /xxx/public/wp-content/themes/xy
> mix --production

● Mix █████████████████████████ building (10%) 0/5 entries 5/6 dependencies 0/5 modules 5 active
 css-loader › postcss-loader › sass-loader › resources/styles/editor.scss

(node:9175) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'version' of undefined
    at Object.loader (/xxx/public/wp-content/themes/xy/node_modules/postcss-loader/dist/index.js:102:54)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:9175) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9175) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'version' of undefined
    at Object.loader (/xxx/public/wp-content/themes/xy/node_modules/postcss-loader/dist/index.js:102:54)
(node:9175) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)


Fix 404 Errors

Hides links to chapters that have not been translated yet.
Fixes malformed linked, or with a wrong path
Fix some internal links

@eksperimental you're my hero 😁


[FEATURE] Revisit env_logger configuration to capture default logs

Is your feature request related to a problem? Please describe.
When launching the wasmcloud binary, the env_logger configuration here attempts to read the RUST_LOG environment variable and set the logging capture to that value. For example, if the user has exported RUST_LOG=info, our env_logger will output and show all info, warn, and error logs. If that value is not set, then by default the env_logger will capture wasmcloud=info,wasmcloud_host=info, which just captures info/warn/error logs for the wasmcloud binary and the wasmcloud_host crate. This configuration does not capture logs from capability providers or the logs that are output from actors using the wasmcloud:logging capability.
Describe the solution you'd like
Ideally, if the user does not specify a RUST_LOG environment variable, the wasmcloud binary will capture and display logs that come from capability providers and actors.
Describe alternatives you've considered
At the very least, this behavior should be documented in our troubleshooting guide as logging behavior. There is no documentation on this behavior currently, so users of the wasmcloud:logging capability may not know their logs are being lost due to this subtlety.
Additional context
I've done some testing here, and the correct value for env_logger is not RUST_LOG=info, it's simply info. You can see in our code that we attempt to get the value for the environment variable https://docs.rs/env_logger/0.8.3/env_logger/constant.DEFAULT_FILTER_ENV.html.

Closing this issue as it is no longer applicable for wasmcloud OTP / wasmcloud 0.50+


fixing errors for C++11

fixing two different types of errors:

needed casts to proper type
proper initialization of nif_functions

the travis build error is a linking problem with -lsnappy

Thanks for the fixes and tip for linking.  The travis build error has been bugging me but I have not had the time to investigate.

@lemo I pushed a subset of your changes to the dev branch.

Can you review the last 2 commits of the dev branch and then try the dev branch out?
Can you show the diff that fixes the travis build error?  I don't see this issue on my local Mac OS X environment.

NOTE: The dev branch also contains @facebook/rocksdb as a backend to lets.

@lemo I pushed a subset of your changes to the dev branch with other changes.  Can you review the dev branch?
The -lsnappy issue is resolved.  However, the travis build fails due to needing a newer version of gcc.
NOTE: The dev branch also contains @facebook/rocksdb as a backend to lets.
I will close this pull request.  Thank you for your feedback.


Sample Script do not work

Sample Script do not work...
No errors, but no VM is found by the script using the actual query.

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

ID: 986b0ed6-1c5d-4553-2da3-6441150d62a9
Version Independent ID: d93462b5-e0b2-b345-a738-d77496d8c66d
Content: Create pre and post events using a webhook with Automation runbooks.
Content Source: articles/update-manager/tutorial-webhooks-using-runbooks.md
Service: azure-update-manager
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

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

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Update 2.0.1

https://github.com/sabnzbd/sabnzbd/releases/tag/2.0.1

Thanks for the Update to Sab 2.01 It has been merged.


HtmlUnit can't parse delivery script v6.7.0

With the new delivery v6.7.0 the JS code can't be parsed by HtmlUnit. It states that there is a missing semilcolon in the script:
com.gargoylesoftware.htmlunit.ScriptException: missing ; before statement<EMAIL_ADDRESS>Unfortunatly it's hard to say where the problem is located in the script because the code is obfuscated and located in line 2.
Maybe it has something to do or is is solved with https://github.com/openlayers/openlayers/pull/12734

To check if if is solved by #12734 the build can be downloaded from https://deploy-preview-12734--ol-site.netlify.app/legacy/ol.js

To check if if is solved by #12734 the build can be downloaded from https://deploy-preview-12734--ol-site.netlify.app/legacy/ol.js

Thanks @mike-000 ! Looks better at the first glance but now there is another failure:
TypeError: Super expression must either be null or a function (http://deploy-preview-12734--ol-site.netlify.app/legacy/ol.js#2)


Reintroduction of delete=clear + save.

Motivation
We recently eliminated the delete and write_delete because they were essentially not used and actually
we could do instead a clear + save.
It turns out that having that delete=clear + save was not so easy and required changing some code in the flush of the views.
That PR is not critical, but I think it keeps us honest to have it working as expected and so I think it is important long term.
Proposal
The corrections were done for the following views:

QueueView
KeyValueStoreView
RegisterView.
The idea is that if we do a clear and then the flush then nothing should be left.

Corresponding changes were done in the tests that in fact revert previous changes.
Test Plan
That CI test should do the trick and was not so easy to get correct.
Release Plan
The fact that the flush + save does not leave anything is I think significant and it should be inserted into the documentation.
Links

reviewer checklist

@MathieuDutSik You also need to modify the documentation in view.rs:
/// Clears the view. That can be seen as resetting to default. In the case of a RegisterView
/// this means setting the value to T::default(). For LogView, QueueView, this leaves
/// the range data to be left in the database.
fn clear(&mut self);


Update and improve color deconvolution example

This PR updates the color deconvolution example (in docs/examples/color-deconvolution.ipynb) to use the new functions that have been introduced and to add some prose explanation.

Codecov Report

Merging #350 into master will increase coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #350      +/-   ##
==========================================
+ Coverage   49.47%   49.63%   +0.16%
==========================================
  Files          99       99
  Lines        2755     2754       -1
  Branches       90       90
==========================================
+ Hits         1363     1367       +4
+ Misses       1392     1387       -5

Impacted Files
Coverage Δ

web_client/routes.js
34.66% <0%> (+0.45%)
:arrow_up:

web_client/views/body/ImageView.js
68.85% <0%> (+3.27%)
:arrow_up:

Continue to review full report at Codecov.

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


add functions to export page or svg to pdf and png formats

@zserge If I just want to call Page.captureScreensho, not loading the url and executing the script, how to do it?


Godot build error with c#

Godot version
v3.3.3.stable.mono.official [b973f997f]
System information
Windows 10
Issue description
I try to run a 2D game project with C# and it is showing this error
Failed to build project solution
How do I fix it please help me
Steps to reproduce
in MS build it show this
C:\Users\user\Desktop\godot projcet\first game\first game.csproj(0,0): The SDK resolver type "DotNetMSBuildSdkResolver" failed to load. The type initializer for 'Microsoft.DotNet.MSBuildSdkResolver.VSSettings' threw an exception.
I have installed .NET 4.7.2 developer pack and in csproj file I wrote this
<TargetFramework>net4.7.2</TargetFramework>
Minimal reproduction project
Firstgame.zip

Duplicate of https://github.com/godotengine/godot/issues/41734.


Better unit norm errors

Current coverage is 87.04% (diff: 100%)

No coverage report found for master at 880d5ed.

Powered by Codecov. Last update 880d5ed...29016ff


add examples of using cas fn with coll and using loop with coll

Good evening. I would like to push my changes. Am I pushing these to the correct area?

lgtm!


Linking BlockChain

1. Going to add Hive blockchain into the project to authenticate the login through hive keychain and also verify each transaction of uploading the documents.
2. Add Database for user data management.

1. Going to add Hive blockchain into the project to authenticate the login through hive keychain and also verify each transaction of uploading the documents.
2. Add Database for user data management.

will get to you soon by EOD or tomorrow. @vastavikadi

1. Going to add Hive blockchain into the project to authenticate the login through hive keychain and also verify each transaction of uploading the documents.
2. Add Database for user data management.

will get to you soon by EOD or tomorrow. @vastavikadi

alright


Update Posts “protonvpn-killswitch-woes-in-ubuntu”

Automatically generated by Netlify CMS

👷 Deploy Preview for ltcblog processing.

Name
Link

🔨 Latest commit
ca79a0fab32e25e4d59fd52a27d0dc401ce9d5ed

🔍 Latest deploy log
https://app.netlify.com/sites/ltcblog/deploys/64ebb2dde82cd800082cc566


Use bootstrap playbook before building edpm images

In cifmw-base-edpm-build-images job, we run repo-setup before running edpm_build_images role.
In downstream, we run periodic version of build images using cifmw-base-edpm-build-images job.
we need to install and configure ca_cert. install_ca role already takes care of that. repo_setup and install_ca roles are called as a part of 01-bootstrap.yml playbook using packages tag.
This patch calls 01-bootstrap.yml playbook using packages tag and drop repo_setup role call.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

Depends-On: https://github.com/openstack-k8s-operators/ci-framework/pull/353

recheck

recheck

recheck

/approve


[DOC] Conversion: distributed K-Means

Description
Converted to RST topics about distributed processing in K-Means.

I see a lot of not rendered tags in the rich view mode. It's wrong rst tags or github rst render issue. If it's latter, do you have rendered content for that?

I see a lot of not rendered tags in the rich view mode. It's wrong rst tags or github rst render issue. If it's latter, do you have rendered content for that?

You can download the artifact for this PR and view the output: https://dev.azure.com/daal/DAAL/_build/results?buildId=3485&view=artifacts&type=publishedArtifacts

I see a lot of not rendered tags in the rich view mode. It's wrong rst tags or github rst render issue. If it's latter, do you have rendered content for that?

You can download the artifact for this PR and view the output: https://dev.azure.com/daal/DAAL/_build/results?buildId=3485&view=artifacts&type=publishedArtifacts

How to map changes from this PR with the archive content?

I see a lot of not rendered tags in the rich view mode. It's wrong rst tags or github rst render issue. If it's latter, do you have rendered content for that?

You can download the artifact for this PR and view the output: https://dev.azure.com/daal/DAAL/_build/results?buildId=3485&view=artifacts&type=publishedArtifacts

How to map changes from this PR with the archive content?

By looking at the K-Means chapter (dev_guide/algorithms/kmeans folder). There is no mechanism to do this automatically.


Ignored directories are traversed and cause Error: I/O error: Permission denied (os error 13)

Hello,
I'm having a problem when there's  a directory in my working path that I don't have permission to access (it's a Docker mount if anyone cares).
Here's how to replicate (no need for Docker).
# Setup
mkdir good bad
chmod 0 bad

# This works if we explicitly only watch good (sanity check too)
cargo watch -C "$(pwd)" -w good -- bash -c 'echo bump'

cargo watch -C "$(pwd)" --ignore "*/bad/**/*" -- bash -c 'echo bump'
#> Error: I/O error: Permission denied (os error 13)
cargo watch -C "$(pwd)" --ignore "*/**/*" -- bash -c 'echo bump'
#> Error: I/O error: Permission denied (os error 13)
cargo watch -C "$(pwd)" --ignore "*" -- bash -c 'echo bump'
#> Error: I/O error: Permission denied (os error 13)
cargo watch -C "$(pwd)" --ignore "**" -- bash -c 'echo bump'
#> Error: I/O error: Permission denied (os error 13)
cargo watch -C "$(pwd)" --ignore "*bad*" -- bash -c 'echo bump'
#> Error: I/O error: Permission denied (os error 13)

Is there any way to workaround this other than using an "allow-only" by specifying -w?
Thank you

Yeah that's a known issue for now, will go away when we upgrade to Watchexec lib v2. You can use the watchexec CLI tool which has that fixed; it's not as nice for Cargo projects but can be adapted for use.

I couldn't find an open issue describing the same, but since it's already known I'll close this issue. Thanks for the workaround.


Support Apollo @export directive

Is your feature request related to a problem? Please describe.
Apollo has a feature where you can use local state variables for queries automatically
https://www.apollographql.com/docs/react/data/local-state/#using-client-fields-as-variables
Example
const query = gql`
  query currentAuthorPostCount($authorId: Int!) {
    currentAuthorId @client @export(as: "authorId")
    postCount(authorId: $authorId)
  }
`;

When running generate function it complains that the variable doesn't exist (because apollo will resolve the export first then inject it into the query)
Describe the solution you'd like
I'd like support for the export directive

@bretthadley just to make sure, did you managed to make it work?


pretrained CRATE weight?

where can i get the pretrained CRATE weight?

Thanks for your interests in our work!
Yes! We are working on this, will release the CRATE checkpoints within the next few weeks! Will update here once the checkpoints are released.

We released the checkpoint of CRATE-Small.

Could you please provide me with the checkpoint for CRATE-Tiny so that I can run it on my computer? Thank you very much.

Could you please provide me with the checkpoint for CRATE-Tiny so that I can run it on my computer? Thank you very much.

Me too,i hope there is a tiny-crate too

自然图像从哪里获取？求助


remove un-needed packages

Codecov Report

Merging #41 (1a2781f) into main (99e9316) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   86.82%   86.68%   -0.14%
==========================================
  Files          34       34
  Lines        3643     3636       -7
==========================================
- Hits         3163     3152      -11
- Misses        480      484       +4

Impacted Files
Coverage Δ

megfile/lib/fnmatch.py
98.71% <0.00%> (-1.29%)
:arrow_down:

megfile/lib/s3_prefetch_reader.py
86.77% <0.00%> (-0.44%)
:arrow_down:

megfile/s3.py
92.32% <0.00%> (-0.43%)
:arrow_down:

megfile/lib/glob.py
93.82% <0.00%> (-0.08%)
:arrow_down:

megfile/smart.py
87.95% <0.00%> (-0.07%)
:arrow_down:

megfile/lib/combine_reader.py
94.89% <0.00%> (-0.06%)
:arrow_down:

megfile/fs.py
90.95% <0.00%> (+0.45%)
:arrow_up:

Continue to review full report at Codecov.

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


Improve scope control

The links option allows us to set a different set of links for our tabbedcontent, but it does not search for links inside the main selector. This means that if we have multiple tabbedcontent with the same layout for the links, the plugin will get a bit crazy.
Instead of doing...
if (!(options.links instanceof $)) {
    options.links = $(options.links);
}

I should do something like...
if (!(options.links instanceof $)) {
    options.links = tabcontent.find(options.links);
}

This cannot be done, as it's limiting the user to have the tabs inside the .tabcontent which is something that I don't want..


JS generated path does not work. I dont know why, neither does r/webdev

Describe the bug
So I want to make an ellipse go along its assigned path (check the code it'll make more sense). The paths are generated using innerHTML+=, but I decided to include just the end result for the the sake of simplicity.
To Reproduce
use is the code: https://codepen.io/technikfe/pen/NWWmajR
Expected behavior
every ellipse moves along its assigned path
Desktop (please complete the following information):

OS: Windows 10
Browser chrome 78, firefox 69, Edge 44 (doesn't seem to be a browser problem)
Version 3.1.0

Additional context
anime.get(el, "translateX"), anime.get(el, "translateY"), and anime.get(el, "rotate") all return 0, there are console logs, in the code
Thank you in advance

You're loading in AnimeJS 2.2.0 you need 3.1.0

Hi @technikfe - Before I deep dive into this, did you fix the issue?


luci-mod-status: auto-refresh system log and kernel log

Implements #5568. See attached video. I have by design not implemented any "follow tail" logic for the log as I was unsure how it should interact with the "Scroll to tail" and "Scroll to head" buttons that are already there (should it follow the tail even if the user hasn't clicked "Scroll to tail" yet?), but any suggestion how and if we should handle that is welcome.
I was a bit unsure if PKG_RELEASE should be incremented for modules; luci-mod-status hasn't received any since 938e54df17d6a48fc8d84fe5893ff67ffe4a3e6e even though the diff since that commit is quite big.
https://github.com/openwrt/luci/assets/7290072/815a0dea-fa35-4146-bba0-b0cfa2fdb87b

[X] This PR is not from my main or master branch :poop:, but a separate branch :white_check_mark:
[X] Each commit has a valid :black_nib: Signed-off-by<EMAIL_ADDRESS>row (via git commit --signoff)
[X] Each commit and PR title has a valid :memo: <package name>: title first line subject for packages
[ ] Incremented :up: any PKG_VERSION in the Makefile
[X] Tested on: (x86/64, 23.05.3, Firefox) :white_check_mark:
[ ] ( Preferred ) Mention: @ the original code author for feedback
[X] ( Preferred ) Screenshot or mp4 of changes:
[X] ( Optional ) Closes: e.g. openwrt/luci#5568
[ ] ( Optional ) Depends on: e.g. openwrt/packages#pr-number in sister repo
[X] Description: (describe the changes proposed in this PR)

While I like this concept, something like this should be configurable, since everyone is used to today's behaviour: you load the page and you can stare at those logs for hours and nothing changes. Both behaviours are valuable: seeing live action, and freezing a log to understand something better.
I feel a log config tab coming on. Where one can have tail logs which chases output, perhaps among other configurables.
Doable?

@systemcrash In my opinion, a configuration option is not necessary. We'll see if it bothers users. There is already a "Refresh" button in the view. If someone does not like this new feature, it can be disabled by pressing this button.
I think this could be merged.

@feckert there is no refresh button here...? So I would prefer not to introduce a behaviour change without an option to control it.

@feckert there is no refresh button here...? So I would prefer not to introduce a behaviour change without an option to control it.

I think @feckert means the blue "Refreshing" text in the upper rightcorner  of LuCI, if you click that you disable the system-wide polling (technically everything that hasn't overriden the default timeout of the poll library), which includes the system log, that's why I didn't take into consideration of adding that as an option.

@feckert there is no refresh button here...? So I would prefer not to introduce a behaviour change without an option to control it.

I think @feckert means the blue "Refreshing" text in the upper rightcorner of LuCI, if you click that you disable the system-wide polling (technically everything that hasn't overriden the default timeout of the poll library if I remember correctly), which includes the system log in this diff, that's why I didn't at first think of taking that into consideration.

@dannil  yes this is exactly what i mean. Thanks for the clarification.
@systemcrash I think that fulfills the requirement.
The behavior can be set as before when the logs were not refreshed.
I think this could be merged?

I think @feckert means the blue "Refreshing" text in the upper rightcorner of LuCI, if you click that you disable the system-wide polling (technically everything that hasn't overriden the default timeout of the poll library if I remember correctly), which includes the system log in this diff, that's why I didn't at first think of taking that into consideration.

This simply does not exist on the log pages today, at least not for me, OpenWrt 23.05.3 r23809-234f1a2efa. In fact, none of the status pages except for real+time graphs show this bad boy:

So if at least that can be added for those pages, then this is good to go.

It will be added with this PR. How the flow works is that the start method of the poll class dispatches the poll-start event. The setupDOM function listens to this event dynamically, and if it discovers there's such an event dispatched, it dynamically adds the "Refreshing" button/indicator (whatever you wanna call it), enabling users to stop the polling themselves.
This is why some pages (such as Status -> Overview and System -> System) gets a refreshing indicator dynamically and others don't, even though those pages themselves doesn't have code to add the indicator. I verified this by swapping between this branch and openwrt-23.05, deploying luci-mod-status in between; the indicator disappeared in openwrt-23.05 but showed up on this branch (due to the usage of the poll class).

Ah good! I learned something new :)

@dannil Thanks merged!

Thanks @dannil


Test npm support and limit correctly in engines

Tested with npm 2.15.11 (the latest release in Node 4, making it the latest officially supported npm release). Seems to work fine, even though the CLI doesn't even support a node version that old. I'm going to close this as a non-issue. If there are any users with an npm old enough to have problems they'll also have a node that'll definitely have huge problems, and they'll get deprecation warnings from that anyway.


Need to re-enable USB Debugging

Hello,
I had issues using this with my OnePlus - I had to enable the "Disable Permissions Monitoring" option, however it doesn't take effect until you disable and re-enable USB Debugging and reconnect.
Please update the error message to specifically note to disable and re-enable USB Debugging after the options have been selected.

Ok, done. Added that note which will be shown in the next release :) Thanks!


refactor param synchronize

remove ray nccl patch, as bfloat16 is support in ray 2.32.0
remove coalesce_param arguments, always coalesce parameters in parameter sync
move name mapping and parameter transformation to synchronizer megatron_megatron and megatron_vllm

File "/usr/local/lib/python3.10/dist-packages/ray/_private/worker.py", line 2656, in get
    values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)
  File "/usr/local/lib/python3.10/dist-packages/ray/_private/worker.py", line 873, in get_objects
    raise value
ray.exceptions.ActorDiedError: The actor died because of an error raised in its creation task, ray::Worker.__init__() (pid=246196, ip=<IP_ADDRESS>, actor_id=9b3532e2831a081abdd9243101000000, repr=<test_send_recv.Worker object at 0x7ee714446470>)
  File "/root/actions-runner/_work/ChatLearn/ChatLearn/tests/test_send_recv.py", line 12, in __init__
    from chatlearn.launcher.initialize import patch_ray
ImportError: cannot import name 'patch_ray' from 'chatlearn.launcher.initialize' (/root/actions-runner/_work/ChatLearn/ChatLearn/chatlearn/launcher/initialize.py)

看起来还有一些UT要看一下有没有清干净


Add "light" suspend support

Describe the solution you'd like
Add "light" suspend mode where the screen is still visible, but with a note that it's suspended, and where the pin is not required. After a timeout, wake the screen and go into full suspend mode.

#278 could add some complexity to how this interacts


add supported message types to handlers

This PR adds a supportedMessageTypes to the Handler interface that every handler must implement. Inspired by the .NET implementation.
Now the handler defines which message types it supports instead of declaring this in the agent. I think it fits better in the handler as the handler is coupled to which message types it support.
This also makes the agent class a bit smaller, and will help in the future with pluggable protocol handlers.

Yeah we should think about it. I think it would be best to see why this would happen and implement according to this reason.
I can image two scenarios:

Two of the same message types sometimes handled by one handler, sometimes by another. That would need custom logic before passing the message to the handler.
Override handler for already registered message type. In the handler (as in the example below) we could change the supportedMessageTypes to handledMessageTypes and if another handler is registered that supports a message that is already supported by another handler we could (during runtime) remove the message from the first instance.

Let's see how it works out. We should at least reverse the array for now so adding a new handler that supports a message type that is already supported gets picked over the first registered one. Now (see example) the default will be used over the custom. We could add some custom logic to allow the framework user to define if a certain message should always be handled by a certain handler.
const handler = [
    DefaultBasicMessageHandler(),
    CustomBasicMessageHandler()
]

The main reason I made this change is to allow more type safe handlers as types could be automatically inferred from the supportedMessageTypes. I made a little demo of what I mean that I will show you this friday.