lazyRegister: Uncaught TypeError: Cannot read property '_catchFirstRender' of undefined

When settings lazyRegister to true, the site doesnt load and there seems to be an exception in the api:
polymer-micro.html:164 Uncaught TypeError: Cannot read property '_catchFirstRender' of undefined(anonymous function) @ polymer-micro.html:164checkDone @ webcomponents-lite.js:1196watchImportsLoad @ webcomponents-lite.js:1219(anonymous function) @ webcomponents-lite.js:1167whenDocumentReady @ webcomponents-lite.js:1185checkReady @ webcomponents-lite.js:1180
unfortunately until now i was unable to track down what exactly is causing the exception.

@fleckdalm
I tried lazy loading polymer alone with some custom components and it did work, maybe you have neon animation loaded?
As of this release there is a known issue with the neon animation elements not working when lazy registration is enabled.

to fix that, follow the following text in the release note:
If you have specific element that relies on the default (immediate) registration behavior, call ensureRegisterFinished on its prototype:

var EagerElement = Polymer({ is: "eager-element"});
EagerElement.prototype.ensureRegisterFinished();

We'll need more information to act on this report. Can you please provide a link to a reduced test case or a live example the shows the problem? Thanks.

Sorry guys, I'm working on a project for my company (which is still in early development) so I'm unable to provide any real source code. Additionally I tried to track down the bug for an hour without any success and unfortunately I really can't invest any more time in this at the moment.
I can definitely say that its not the fault of the neon elements as I tried removing all of them from the project without any success. Also it seems to be no timing problem as I tried wrapping the call to ensureRegisterFinished() in a setTimeout without success. I also tried removing some of my other dependencies but I have just too much to try all.
Here is my bower.json, maybe this is of any help for you:
{   "name": "",   "private": true,   "dependencies": {     "iron-elements": "PolymerElements/iron-elements#^1.0.0",     "neon-elements": "PolymerElements/neon-elements#^1.0.0",     "page": "visionmedia/page.js#~1.6.4",     "paper-elements": "PolymerElements/paper-elements#^1.0.1",     "platinum-elements": "PolymerElements/platinum-elements#^1.1.0",     "polymer": "Polymer/polymer#^1.2.0",     "iron-swipeable-pages": "^1.0.4",     "google-map": "GoogleWebComponents/google-map#^1.1.10",     "vaadin-combo-box": "^1.0.0-alpha5",     "jv-datepicker": "^2.1.9",     "paper-date-picker": "polymer-paper-date-picker#^1.1.2",     "paper-stepper": "polymer-paper-stepper#^1.1.0",     "paper-time-picker": "^1.1.1",     "gold-elements": "PolymerElements/gold-elements#^1.0.1",     "gold-iban-input": "^1.0.0",     "lazy-pages": "^0.8.5",     "app-layout": "PolymerLabs/app-layout#^0.0.14",     "vaadin-date-picker": "^1.0.0-alpha4"   },   "devDependencies": {     "web-component-tester": "^4.0.0"   },   "ignore": [],   "resolutions": {     "polymer": "^1.2.4",     "iron-list": "^1.0.0",     "web-animations-js": "2.1.4",     "app-layout": "^0.0.14"   } }
And my index.html with most of the code stripped out:
`

<!-- build:js bower_components/webcomponentsjs/webcomponents-lite.min.js -->
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<script>
    window.Polymer = {lazyRegister: true};
</script>
<!-- endbuild -->

`
Hope this is at least somehow useful - if you have any questions I will be eager to answer them! Thanks for your help!

I have no idea why but it seems no to be related to lazy loading but to the polymer settings in general.
I tried setting the dom setting by copying the code snippet from here (https://www.polymer-project.org/1.0/docs/devguide/settings.html) and inserting it at the right point (see my structure above) and the same error happens.

I'm having the same issue myself in trying lazyRegister for my company's project. Even more, I also can't set any of the the settings without getting the same issue.
I tried reproducing the issue in PSK, which my project started from, but had no luck. The repo with my changes is here. I lazily instantiate individual routes but that doesn't seem to be the cause.

Hi guys - had the same issues an the "fix" is to import you elements asynchronously:
BAD:
  ...
  <link rel="manifest" href="/manifest.json">
  <script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>

  <link rel="import" href="/src/chris-ultron/chris-ultron.html">
  ...

GOOD:
  ...
  <link rel="manifest" href="/manifest.json">
  <script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>

  <link rel="import" href="/src/chris-ultron/chris-ultron.html" async>
  ...

That fixed the issue for me. It seems odd that it should work but thanks for finding a solution.

I ran into this issue after applying crisper on my index.html file.
gulp.src('app/index.html')
.pipe($.crisper({ scriptInHead:false })))
...

The problem is that crisper in that configuration moves the lazyRegister code block in index.html to the bottom. Moving the reference back to before the first element import fixes things.
So, I guess loading the elements asynchronously just reorders things properly again (depending on browser)?

Today, I debugged a very similar error within our app. We switched to PRPL-Pattern (lazy loading) a few days ago and some functionality was not working anymore, giving us
"Uncaught TypeError: Cannot read property '_createEventHandler' of undefined at TemplateInstance._listenImpl [as listen] (polymer.html:4474) at TemplateInstance._marshalAnnotatedListeners (polymer.html:494) at TemplateInstance._constructorImpl (polymer.html:4459) at new TemplateInstance (polymer.html:4274) at HTMLElement.stamp (polymer.html:4498) at HTMLElement._createPool (iron-list.html:925) .... "
I've tried the suggested workarounds above, but none of them helped.
Finally I found the error in a missing import statement (iron-list) in one of our custom components.
Hope it helps other users to find the cause of similar problems.

FYI, I came across this issue after someone had repurposed the top-level

Thanks for the issue. It has been a great while since this issue was opened. Sadly, this issue misses a live reproduction with Polymer 2 for us to be able to debug and potentially fix. Polymer 2 fixes a large amount of issues, probably including this one as well.
Please see CONTRIBUTING.md for guidelines on filing issues.  You can start from this jsBin template as a starting point and link it in the issue template under "Live Demo".
Feel free to file a new issue following these instructions if you can still reproduce this issue with Polymer 2.  Thank you!


Dependency package lru-cache has a new version available

We have identified a dependency on version 10.4.3 of lru-cache. A new version (11.0.0) is available for upgrade.
Following are the steps to upgrade package dependency.

Understand the breaking changes between the version being used and the version you want to upgrade to.

Identify all packages that take a dependency on this package.

Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

Run rush update to ensure the new version is pulled in.

Make relevant changes to absorb the breaking changes.

Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

v11 drops support for < NodeJS v20 so we'd have to wait until dropping our for v18


[$500] App is calling OpenApp instead of ReconnectApp when reloading the page

Context https://expensify.slack.com/archives/C03SDMF9YJ2/p1701887907195709 (private)
OpenApp should only be called when we are first initializing the app (after login basically) and ReconnectApp in any other case, but right now, we always call OpenApp on every reload, which is wrong.
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b01257e6ae73d2aa
Upwork Job ID:<PHONE_NUMBER>419290624
Last Price Increase: 2023-12-06
Automatic offers:

fedirjh | Reviewer | 28015537
paultsimura | Contributor | 28015538

Proposal
Please re-state the problem that we are trying to solve in this issue.
OpenApp is called on every page refresh.
What is the root cause of that problem?
https://github.com/Expensify/App/blob/d180ba9d9d53898397363a1cba5add7918e31e4c/src/libs/Navigation/AppNavigator/AuthScreens.tsx#L149-L150
What changes do you think we should make in order to solve the problem?
We should add a condition inside SessionUtils.isLoggingInAsNewUser to early return false if eventually no email was found by matching the URL:
    if (!!sessionEmail && !linkedEmail) {
        return false;
    }

https://github.com/Expensify/App/blob/5d45f0f6c86e97d4ae58ac167b6c162a610b817c/src/libs/SessionUtils.ts#L4-L26

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
OpenApp is called on every page refresh.
What is the root cause of that problem?
Disclaimer: There will be a lot of text, but please try to keep up with my thoughts as I tried a simpler solution, but it looks like a workaround, and while investigating, I found a deeper issue with the session handling. The RCA is long, the solution will be simple.
This particular issue comes from https://github.com/Expensify/App/issues/29013, where the author had an intention to fix the case when there was an attempt to log in to different accounts during one session:

Try login as a suspended user
Go back
Log in with a real user

For some reason, it was decided to use the SessionUtils.isLoggingInAsNewUser, which isn't supposed to be here, as its purpose is to handle the transition URLs, which contain email in the URL params.
We already were checking the SessionUtils.didUserLogInDuringSession, which should do the job for that issue, but the didUserLogInDuringSession was (and is) working incorrectly.
Now to the actual investigation of the didUserLogInDuringSession logic:
This function is intended to indicate whether a user was logged in during the session – meaning there was no page reload after the login, or the user did not open the app being already logged in.
It relies on the Onyx SESSION updates, and this is the root cause of the incorrect behavior:
https://github.com/Expensify/App/blob/5d45f0f6c86e97d4ae58ac167b6c162a610b817c/src/libs/SessionUtils.ts#L30-L45
However, when logging in as a suspended user, and clicking "back", we explicitly call redirectToSignIn, which resets Onyx data and the loggedInDuringSession value:
https://github.com/Expensify/App/blob/d521dd6783c382297e06a429701ae1936f808041/src/pages/signin/EmailDeliveryFailurePage.js#L78
https://github.com/Expensify/App/blob/5d45f0f6c86e97d4ae58ac167b6c162a610b817c/src/libs/actions/SignInRedirect.ts#L76-L84
And now we are redirected back to the SignIn page, relying on the Onyx SESSION update to set the loggedInDuringSession again to true, which will never happen because the Onyx SESSION does not change: it already was in the default state when signing in as a suspended user, so calling clearStorageAndRedirect did not make any change to the SESSION key, therefore the Onyx.connect in SessionUtils was not triggered and the didUserLogInDuringSession remains undefined after reset, which makes the SessionUtils.didUserLogInDuringSession() an unreliable source of truth. This all can be verified by adding corresponding logs inside the Onyx.connect in SessionUtils to track setting and resetting the value of loggedInDuringSession.
What changes do you think we should make in order to solve the problem?
First, we should change the logic of the reset function to set the value to true instead of undefined. This is a safe change since resetDidUserLogInDuringSession is called only on redirectToSignIn, therefore we expect that when a user lands on the SignIn page, the sign-in process will be initiated, and we'll make use of loggedInDuringSession = true after the successful sign in.
function resetDidUserLogInDuringSession() {
    loggedInDuringSession = true;
}

https://github.com/Expensify/App/blob/5d45f0f6c86e97d4ae58ac167b6c162a610b817c/src/libs/SessionUtils.ts#L47-L49
Second, remove the change introduced in https://github.com/Expensify/App/issues/32590, since now this logic will be handled by the fixed SessionUtils.didUserLogInDuringSession():
const shouldGetAllData = !!isUsingMemoryOnlyKeys || SessionUtils.didUserLogInDuringSession();

https://github.com/Expensify/App/blob/d180ba9d9d53898397363a1cba5add7918e31e4c/src/libs/Navigation/AppNavigator/AuthScreens.tsx#L150
What alternative solutions did you explore? (Optional)

I think the proposal sounds good to me too.
Feel free to create the PR @paultsimura

Thank you. The PR is ready for review: https://github.com/Expensify/App/pull/32775

PR was deployed to production on Dec 14, the automation didn't work 🤔
cc: @sonialiap

Thanks for the ping, Pavlo! I'll update the issue title manually

@paultsimura $500 - paid ✔
@fedirjh $500 - paid ✔


Missing top level domains that got added past last publish date.

Can you release a new version of the package, or add the generation of the serialized-tries/icann.js to a postinstall script?
We need for example the new .israel top level domain that got added see: https://en.isoc.org.il/il-cctld/idn-domains-faq
Which is already registered in this list: https://publicsuffix.org/list/public_suffix_list.dat

Hi @lukasholzer 👋 we used to do this on postinstall but there are lot of people who don't like scripts that request something from a remote origins on postinstall. For this reason I added npx parse-domain-update so that everyone can update the list when they need it (see https://github.com/peerigon/parse-domain#updates). Does that help? :)

Closing this for now


Show more clearly the user found in a search

When the search function is used on a user that has high degree (i.e. a moderator, for example), it might be daunting to visually localize her in her large highlighted ego network. (Try searching for hexayurt" on Edgeryders). A possible solution would be to show the balloon with the search user's name and data.
While we are at it, we could also add this to the double-click-on-a-node action.

Done in last PR. On search popover is shown and the graph is centered and zoomed.


add sample-webkit

A minimal sample App for illustrating WebkitProxy usage.

Looks good to me.  Could you rebase it on the 2.0.0-beta1 tag?  I had forgotten to push those to master.  They are now there.  That should fix the Travis build.

Nevermind, I'll just rebase it here in github.


Caching object array data will not work in production

Describe the bug
in production error:
index-cd0e0ab3.js:109

       TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property '_' -> object with constructor 'Object'
    |     property 'vnode' -> object with constructor 'Object'
    |     ...
    |     property 'ref' -> object with constructor 'kq'
    --- property '_rawValue' closes the circle
    at Object.stringify [as serialize] (<anonymous>)
    at Fk (index-cd0e0ab3.js:109:38887)
    at a.$subscribe.detached (index-cd0e0ab3.js:109:39669)
    at index-cd0e0ab3.js:5:741
    at Array.forEach (<anonymous>)
    at Mf (index-cd0e0ab3.js:5:729)
    at Proxy.C (index-cd0e0ab3.js:5:1894)
    at Proxy.addVisitedView (index-cd0e0ab3.js:58:12144)
    at Proxy.<anonymous> (index-cd0e0ab3.js:5:2239)
    at d (index-cd0e0ab3.js:108:202154)

Development environment is fine
eg：
addVisitedView(){
      let toArrys = cloneDeep(this.visitedViews);
      if (toArrys.some((v) => v.path === view.path)) return;
      if (toArrys.length >= tagsViewNum) {
        toArrys.pop();
        toArrys.push(
          Object.assign({}, view, {
            title: view.meta.title || "no-name",
          })
        );
      } else {
        toArrys.push(
          Object.assign({}, view, {
            title: view.meta.title || "no-name",
          })
        );
      }
      this.$patch((state: any) => {
        state.visitedViews = toArrys;
      });
}

Reproduction
3.1.0
System Info
System:
    OS: Windows 10 10.0.17763
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 8.50 GB / 15.60 GB
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    chrome Explorer: 111.0.5563.65

Used Package Manager
pnpm

Hi, i will need more info on the probleme and a proper reproduction repository to help you with this issue :)

@prazdevs hi,Discover the cause of the problem:
1.state management The router instance (route from the component) is stored in the state, which has a circular reference
2.With a circular reference in the state, the plugin needs to execute JSON. stringify to convert the state data to a string and store it in the browser's local storage.

@prazdevs Hello, maybe what I described is not correct. In the production environment, I enabled debug of the plugin, and the above error message appeared, the plugin cannot cache the route instance.

I cannot really help without a proper reproduction but suppose things.
The problem lies in the fact that when serializing back what is stored (ucins JSON.parse), a circular reference is found (object referring to itself). This is what you may want to investigate, what causes this.

@prazdevs Thank you very much for your reply. I find the problem is that the data stored in the matched attribute of the vue-router route instance has a circular reference, and it can be saved normally after removing the matched attribute.

Did you manage to solve the problem now ? :)

@prazdevs Fix the problem.Removing match  attributes in route works just fine

Cool ! closing this for now. 🎉


Bug with tooltip for stacked horizontal bar chart

Expected behavior
Proper tooltip shown on bar is hovered.
Current behavior
Seems like areas for tooltips are shifted when bar chart is stacked.
Probably its because of data.datasets[].stack property. The bars are stacked, but tooltip areas act like there is no stack property.
Reproducible sample
https://jsfiddle.net/ovagrc80/
Optional extra steps/info to reproduce
Just try to slide cursor over bars, and see which tooltip is shown
Possible solution
No response
Context
I have a statistics, what I need to show as a horizontal bar chart. Basically all I need is in sample, but that bug with tooltip confuse me.
Expected chart:
A:5; B:9; C: 10
AAAAABBBBC

chart.js version
v4.4.1
Browser name and version
No response
Link to your project
No response

I had the same problem, a possible workaround is set the option:
    interaction: {
        intersect: true,
        mode: "dataset",
    },

On the example you provide:
  options: {
    indexAxis: "y",
    interaction: {
        intersect: true,
        mode: "dataset",
    },
    maintainAspectRatio: false,
    scales: {
      x: {
        stacked: false,
      }
    }
  }


Fix TUS tests

Description:
During the TUS tests on Windows, there are issues with test file generation and upload. The application crashes intermittently while using CURL, sometimes before and sometimes after the requests are made. Additionally, the cancel and retry operations cause a crash due to a socket exception.
Interestingly, when uploading a regular file (not the test-generated file), everything works fine, suggesting that the problem may be tied to how the test file is handled or generated.
Steps to Reproduce:

Generate a test file during the TUS test on a Windows environment.
Attempt to upload the test file using CURL.
Observe that CURL crashes either before or after the request is sent.
Perform a cancel and retry operation.
Observe the crash caused by a socket exception during these operations.

Expected Behavior:

The test file should be generated and uploaded without crashes.
Cancel and retry operations should not result in socket exceptions or crashes.
Tests works in the same way in whole platforms

Actual Behavior:

CURL crashes intermittently during the upload of the test-generated file.
Cancel and retry operations cause a socket exception and crash.
MacOS's tests sometimes crashes with strange behaviors on stop operations; for example it upload 10/140 chunks and it complete the upload , making the test fail

Additional Information:

Uploading a regular file (not generated during the test) works correctly.
The issue needs further investigation to identify the root cause and implement a fix.
This issue will not block the Windows release, but the final decision will be made after testing the library in real test applications and conducting performance tests.

Priority:
Medium – Not blocking Windows release but requires attention before final performance and application testing.

Hi, I would like to take look at this issue.

Hi, I would like to take look at this issue.

Sure, every contribution is welcome

This is the docker-compose for the test enviroemnt with docker, i will push on the main branch when I finish my issue.
version: "3.0"

services:
  mockoon:
    image: mockoon/cli
    container_name: mockoon
    volumes:
      - ./mockoon-data.json:/data/mockoon-data.json
    environment:
      - MOCKOON_DATA=/data/mockoon-data.json
    command: --data /data/mockoon-data.json
    ports:
      - "3000:3000"

  tusd:
    image: tusproject/tusd
    container_name: tusd
    ports:
      - "8080:8080"
    command: |
      -host=<IP_ADDRESS> \
      -port=8080 \
      -upload-dir=/data
    volumes:
      - ./data:/data`

can you also fix the fact that sometimes upload is too fast and the tests can't get the correct status of the upload. I tried to put a parrallel check, but it is not always working

Hi , thanks for the additional details! I’ll look into the issues with the intermittent crashes and the fast uploads causing status checks to fail. I’ll test in the provided Docker environment and try to replicate the issue on a Mac runner to understand the differences. I’ll keep you updated on my progress!

You could check if there aren't initialization or other strange things, because tests always pass on linux, but on mac os now they crash, the upload behavior is very strange because after 10 chunks it complete the upload. I will investigate this also, I will update if I find the issue and the solution

I have fixed the pause, sometimes it seems there are some issue yet, if you find something wrong fix it, i have added an abort all in the pause call


Add Waze data scraper

https://www.waze.com/covid19

Waze data was added to the repository. Currently, my script preprocesses raw data automatically, while the raw data will be manually uploaded to the repository by me. Merging with Google and Apple reports will be done later.

Automatic downloading of Waze data is a difficult problem because the data can only be obtained from Google Data Studio dashboard. Simple Html-parser does not work here, but this task can be solved with the Selenium library. On GIF below you can see how I can automatically retrieve data using this library. I have to log into my Google account first for the "Download СSV" button to be available on the dashboard.

Currently, I use this script for regular update Waze data from my computer.
I tried to upload this script to Github to automatically update the data using Github Actions, but predictably it didn't work out. That's why.

This step is also possible to pass automatically, but I don't want that simple data scraper looks like some bank robbing software.
But I didn't give up and found the second way of data scraping. It's possible to retrieve all data from table view on the dashboard. To do this, it is necessary to automate the pressing of the navigation arrow.

Google login is not required for this solution, so I easily set up this script on Github. I'll keep an eye on how stable this solution is for a while, and if it's okay, I'll use this way of an update for Waze data in this repository.

Waze data updating is now automated.

Merging with other data is postponed.


[Bug]: WAU stuck in update loop

The problem
Since version 1.17.9-4 WAU stucks in an update loop.
It will (successfully) update to the latest version but keeps updating.
The correct version is set in the registry:

What version of WAU has the issue?
1.17.9-4
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 22H2
What version of winget are you using?
v1.6.2771
Log information
########################################################
#     CHECK FOR APP UPDATES (System context with ServiceUI) - 31.10.2023
########################################################
06:58:56 - WAU Policies management Enabled.
06:58:56 - Running Post Update actions:
06:58:56 - -> Checking if WinGet is installed/up to date
06:58:56 - -> WinGet is up to date: v1.6.2771
06:58:56 - -> Checking Mods Directory:
06:58:56 - -> The mods directory was already secured!
06:58:56 - -> C:\ProgramData\Winget-AutoUpdate\Version.txt removed.
06:59:00 - Post Update actions finished
06:59:00 - Notification Level: Full. Notification Language: Deutsch
06:59:00 - Checking internet connection...
06:59:00 - Connected !
06:59:01 - Winget Version: v1.6.2771
06:59:01 - WAU current version: 1.17.9-4
06:59:01 - WAU AutoUpdate is Enabled.
06:59:01 - WAU AutoUpdate Pre-release versions is Enabled
06:59:02 - WAU Available version: 1.18.1-1
06:59:06 - Downloading the GitHub Repository version 1.18.1-1
06:59:08 - Unzipping the WAU Update package
06:59:09 - Updating WAU...
06:59:09 - Done. Cleaning temp files...
06:59:09 - WAU Update completed.
06:59:14 - Re-run WAU

########################################################
#     CHECK FOR APP UPDATES (System context with ServiceUI) - 31.10.2023
########################################################
06:59:14 - WAU Policies management Enabled.
06:59:14 - Running Post Update actions:
06:59:15 - -> Checking if WinGet is installed/up to date
06:59:15 - -> WinGet is up to date: v1.6.2771
06:59:15 - -> Checking Mods Directory:
06:59:15 - -> The mods directory was already secured!
06:59:15 - -> C:\ProgramData\Winget-AutoUpdate\Version.txt removed.
06:59:18 - Post Update actions finished
06:59:18 - Notification Level: Full. Notification Language: Deutsch
06:59:18 - Checking internet connection...
06:59:18 - Connected !
06:59:20 - Winget Version: v1.6.2771
06:59:20 - WAU current version: 1.17.9-4
06:59:20 - WAU AutoUpdate is Enabled.
06:59:20 - WAU AutoUpdate Pre-release versions is Enabled
06:59:20 - WAU Available version: 1.18.1-1
06:59:25 - Downloading the GitHub Repository version 1.18.1-1
06:59:25 - Unzipping the WAU Update package
06:59:26 - Updating WAU...
06:59:26 - Done. Cleaning temp files...
06:59:26 - WAU Update completed.
06:59:31 - Re-run WAU

########################################################
#     CHECK FOR APP UPDATES (System context with ServiceUI) - 31.10.2023
########################################################
06:59:32 - WAU Policies management Enabled.
06:59:32 - Running Post Update actions:
06:59:32 - -> Checking if WinGet is installed/up to date
06:59:32 - -> WinGet is up to date: v1.6.2771
06:59:32 - -> Checking Mods Directory:
06:59:32 - -> The mods directory was already secured!
06:59:32 - -> C:\ProgramData\Winget-AutoUpdate\Version.txt removed.
06:59:36 - Post Update actions finished
06:59:36 - Notification Level: Full. Notification Language: Deutsch
06:59:36 - Checking internet connection...
06:59:36 - Connected !
06:59:37 - Winget Version: v1.6.2771
06:59:37 - WAU current version: 1.17.9-4
06:59:37 - WAU AutoUpdate is Enabled.
06:59:37 - WAU AutoUpdate Pre-release versions is Enabled
06:59:37 - WAU Available version: 1.18.1-1
06:59:42 - Downloading the GitHub Repository version 1.18.1-1
06:59:42 - Unzipping the WAU Update package
06:59:43 - Updating WAU...
06:59:43 - Done. Cleaning temp files...
06:59:43 - WAU Update completed.
06:59:48 - Re-run WAU

Additional information
No response

Hi. Please refer to this #453

Hi, that worked perfect. Thank you!

No worries. Thank you to test our pre releases as well. We need testers to have stable releases 😅


Revamped

@theocodes, I noticed you recently took over the repo; congrats! To get the ball rolling, I've "revamped" the project to follow the latest Brunch plugin writing guides. This includes:

minor file restructuring (bringing everything to root dir)
using the official Brunch eslint config
new test suite using mocha

Also included:

dependency version bumps

The original code has barely changed. If you think any revisions are needed, let me know; I'm keen to contribute to the project in the future 😃

minor file restructuring (bringing everything to root dir)
The reason the code was kept out of root is to separate it from the masses of configuration files developers have grown accustom to. This allows for a recognizable place for them to find the code rather than being mangled with everything else.
new test suite using mocha
I am not sure there is much of a reason behind this other than preference as Brunch uses Ava (which is objectively better).
other points
There was no need to remove editorconfig, it's a universal standard that most text editors use to create the same development environment regardless of editor.

All fair points. I'm just going off other popular Brunch plugins (here and here as well as the official boilerplate.
File structure isn't the biggest deal, but it's better if we stick to the norm.
I agree, Ava is cool - I suppose it's up to @theocodes, but most all the Brunch plugins I've seen use Mocha - guess its not that big of a deal either, I'll at least add tests to the Ava suite.
Didn't mean to remove editor config - I'll put that back in 😄

@theocodes if you're happy to merge it, would be great if you could wait until the 1st of October - I want that Hacktoberfest tshirt 😂 (don't judge)

@theocodes see what you think


Tests: More use of base.d class functions for test code

Make more use of generateBlocks, getSpendables and postAndEnsureTxInPool to reduce the lines of code in the tests and make it more maintainable and reliable.
First 3 commits are from PR https://github.com/bosagora/agora/pull/2561

Closing this as most commits were extracted into PR https://github.com/bosagora/agora/pull/2573


Fan control

When will the fan option be available?
I'm running Home Assistant as Hassio install.
Is it possible to do a custom install to test in meanwhile?

Could you try the following?
Place the following code in "custom_components/spider.py":
https://gist.github.com/peternijssen/32079cddec03c90149509a51169a7e3d
Place the following code in "custom_components/climate/spider.py":
https://gist.github.com/peternijssen/6adbc57375b2c2fb5bd1470809b149d5
You can enable additional debugging in HA:
logger:
  default: error
  logs:
    custom_components.spider: debug
    custom_components.climate.spider: debug

You should now be able to control the fan speed. Let me know if it worked or not, so I can make it formal part of HA.
Thanks!

Installed the packages as adviced. Next error messages showed up during restart of HA

2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'
2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'
2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'
2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'
2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'
2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'
2019-02-04 20:16:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
attr = self.state_attributes or {}
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 265, in state_attributes
data[ATTR_FAN_MODE] = self.current_fan_mode
File "/config/custom_components/climate/spider.py", line 143, in current_fan_mode
return self.thermostat.current_fan_speed
AttributeError: 'SpiderThermostat' object has no attribute 'current_fan_speed'

Sure you also did the first file? (/custom_components/spider.py)
I know both files are called spider.py, they are different and in a different folder.

Yes, I’ll try again (and double check) this evening when I get home.

Odd, after the test yesterdat I renamed the files to *.pybak and restarted HA.
Today I checked if the files where in the right location and then renamed them back to *.py. Checked the configuration and restarted HA.
Now the component loads without the error message. Tested the status reporting using the spider control. Worked fine. Will test setting the speeds with HA tomorrow.

Strange. Anyways, great it's working now. Looking forward hearing from you if it all works.
I am not sure if the list of options matches your fan. No clue if they are the same for all fans. You could check mijn.ithodaalderop.nl I guess for your actual options.

@wjketting any news? Then I integrate it in HA by default.

Had some time this morning after long week with long hours work.
Testing went well, all modes respond as expected. Ready to release...!

Peter,
Noticed a little odd thing today.
I have 7 thermostatic valves in my house. 4 of them are controlled by wall mounted thermostat displays (1 in living room and 1 in bathroom with fan control, 2 in bedrooms without fan control).
All 7 climate controls in HA show the fan status/input selection.
In HA the fan can be controlled with living room climate control, but not with bathroom climate control and obviously also not with the other 5 climate controls (since they are not connected to the fan).
Is this the way it was intended of something that needs a bit to work on?
Not a big issue since HA can read and set the fan using the livingroom climate attributes.
https://github.com/home-assistant/home-assistant/pull/20897 thanks for the added support!

There is a small "bug" in the code you used:
https://gist.github.com/peternijssen/6adbc57375b2c2fb5bd1470809b149d5#file-spider-py-L70
It doesn't check if the thermostat provides fan support.
In the final implementation in HA, it is resolved:
https://github.com/home-assistant/home-assistant/pull/20897/files#diff-bfa9506a2c24c55278c31c5945a4cd52R71
So your 2 bedrooms should no longer see the fan support when HA is released.
I would expect indeed that your living room and bath room are displaying the same state. However, I am depending on the ithodaalderop website. What you could do is go to https://mijn.ithodaalderop.nl and change the fan mode over there for either the living room or bath room and see if both are changed. If they somehow display the same state, I will mimic that behaviour if this library does not.
I suspect the fan support is coming in 0.88, which is expected around 20 feb. For now you can use the custom_component as you did now and then remove them when you update to 0.88.

Thanks for the extra info.
I made the changes to the file I have copied in custom components/climate and after restarting HA all but the livingroom climate has the fan mode state and settings.
The bathroom climate lost his fan_mode as well.
When checking the daalderop website I noticed the bathroom thermostat does not show the fan either. It is however installed, connected, working and reflecting actual fan mode on both bathroom as well as living room displays. Must be a limitation on Itho's side.
p.s. Boost 10, 20 etc are actual fan modes. Setting it increases fan speed to high for 10, 20 or 30 minutes. After the time expires it returns to previous mode. Boost modes are displayed on the themostat displays as well.
Cheers.

Alright. Thanks!
And yeah, it is limited on their website. I hope that one day, they open up their protocol or someone is able to tap in to it. Then we are no longer depending on the web interface, because if ever the web interface changes, this whole system might break.
Anyways, enjoy your fan and if everything arises, just report it in HA and I'll take it from there.
Thanks for your help!


Add persist for BGB, Kega-Fusion, Snes9x packages

close #75
This adds persist to BGB, Kega-Fusion and Snes9x packages.

BGB already have its config file (bgb.ini) in the archive, therefore we don't need to create a new file in the pre_install section.

I have tested the packages to make sure that Kega-Fusion and Snes9x works properly (will not crash) with an empty config file.

Thanks!


Question about visualization

Can you give me some guidance about how to make a visualization?

Sorry for the delayed response. In our case, we used the Potree API for visualization.


List Bucket and List File

Hi all,
sorry but There isn't documentation about that.
is possible to have a bucket list and file list?
thanks

ok i find the metod for to have bucket list and file list:
// list all BUCKET
storage.getBuckets(function(err, buckets, nextQuery) {
for(var i = 0; i<buckets.length; i++ ){
// The `metadata` property is populated for you with the metadata at the
// time of fetching.
	console.log(buckets[i].metadata.id);
}

});
// list all file
bucket.getFiles(function(err, files, nextQuery) {
// The `metadata` property is populated for you with the metadata at the
// time of fetching.

for(var i = 0; i<files.length; i++ ){
// The `metadata` property is populated for you with the metadata at the
// time of fetching.
	console.log(files[i].metadata.name);
}

// However, in cases where you are concerned the metadata could have
// changed, use the `getMetadata` method.

//files[0].getMetadata(function(err, metadata) {});
});
but now i have another question...
is possible to create a folder in the bucket?
thanks a lot

if you create file in path not exist google will create the folders for you

As far as I know, that's the only way to create a folder outside of the Developer's Console UI. I think the solution of uploading a file and having a folder created in the process is fine, but feel free to correct me if you have a use case where that's not fine.

yes, is true...
                        function(err,httpResponse,body){

                            var responseJson = JSON.parse(body);

                            if(responseJson.success){

                                callToFunctionInModule("Start Upload in GoogleStorage", cb);

                                var image = bucket.file('ddsImage.dds');

                            	fs.createReadStream(__dirname + '../../temp/ddsConversion/' + folderName + '/ddsImage.dds')
									.pipe(image.createWriteStream())
								  	.on('error', function(err) {
								  		console.log(err);
								  	})
								  	.on('complete', function() {

		                                }

								    	console.log('The file upload is complete.');
								});
                            }
                        });

The folder temp doesn't exist. The first time google create the folder id doesn't exist.
but if i need to remove the folder? I sow the method for remove file and buket but not for remove a folder,
Thanks a lot


[Fabric]: Attach CLI to already running peer

Is your feature request related to a problem? Please describe.
For a already running fabric network it would be good to have an option to attach CLI container that represents an existing peer, in case the CLI was not enabled while provisioning the network and peer.
Describe the solution you'd like
A Playbook that takes previous network.yaml as a input and for each peer having peer.cli as enabled it creates a CLI pod if not already present.
The playbook creates the required deployment files and waits for the newly added peer-cli pod to start running before the job is completed
Describe alternatives you've considered
manually running the create/cli_pod task and manually verifying the status of peer-cli pod
Additional context
Add any other context or screenshots about the feature request here.

Hi @bafsunsu, any updates on this issue ?

Please assign it to me.


Order Moves / Evolutions by Level in Pokemon Resource

Make sure the linked resources are ordered by level (where applicable). For example: Pokémon resources should have their Move resources ordered by level.

Heres an example of how moves are being ordered currently in v2. The way the new data works I don't know if moves can really be ordered by level. Maybe things could be re-ordered and collected by version_group rather than move? I ordered things this way mainly because listing moves "once" gives the user a lot less to iterate over.
[{
		"move": {
			"name": "synthesis",
			"url": "http://localhost:8000/api/v2/move/235/"
		},
		"version_group_details": [{
			"level_learned_at": 0,
			"version_group": {
				"name": "platinum",
				"url": "http://localhost:8000/api/v2/version-group/9/"
			},
			"move_learn_method": {
				"name": "tutor",
				"url": "http://localhost:8000/api/v2/move-learn-method/3/"
			}
		}, {
			"level_learned_at": 33,
			"version_group": {
				"name": "black-white",
				"url": "http://localhost:8000/api/v2/version-group/11/"
			},
			"move_learn_method": {
				"name": "level-up",
				"url": "http://localhost:8000/api/v2/move-learn-method/1/"
			}
		}, {
			"level_learned_at": 39,
			"version_group": {
				"name": "firered-leafgreen",
				"url": "http://localhost:8000/api/v2/version-group/7/"
			},
			"move_learn_method": {
				"name": "level-up",
				"url": "http://localhost:8000/api/v2/move-learn-method/1/"
			}
		}]
	}


Allow plugin's user to change font_color

It's hardcoded currently: https://github.com/StaffEngineer/bevy_cosmic_edit/blob/3123ef0032a9f4c8518e8ad920d369d4edfcd767/src/lib.rs#L1029

oops my bad, this should pull from attrs somehow. was using font_per_widget to check color was working so didn't catch this, giving it a shot now


[BUG] Multiple scale titles are melded with vertical separator lines

Expected Behavior
When adding multiple scales, their titles shouldn't be melded with the vertical lines from previous scales

Current Behavior
...but they are.

Possible Solution
Add a 2 points padding while creating the label text
// Chart.js/src/core/core.scale.js
- scaleLabelX = isLeft ? me.left + (scaleLabelFont.size / 2) : me.right - (scaleLabelFont.size / 2);
+ scaleLabelX = isLeft ? me.left + (scaleLabelFont.size / 2) + 2 : me.right - (scaleLabelFont.size / 2) - 2;

It's enough to separate the text and the vertical line of the scale, and it doesn't interfere with values texts.

Steps to Reproduce (for bugs)

Add multiple y scales

Environment

Chart.js version: 2.5

I am willing to implement changes but I am not sure what you mean by new image work. Can you clarify?

@GabrielMancik I meant this PR: https://github.com/chartjs/Chart.js/pull/3988

@etimberg so if i understand it correctly new unit test should be created alongside with this functionality?

@GabrielMancik we try to add unit tests for all new features and regressions. Chrome and FF don't render texts exactly the same so it may be complicated to stabilize image based tests. If there is a way to directly check label positioning, I would recommend the classical method. Anyway, if you want to give it a try, check this description.
The file should live in test/fixtures/ (e.g core.scale/scale-label-padding.json or scale.linear/scale-label-padding.json if specific to the linear scale type) and you should make sure to verify test relevancy (i.e. if you test with padding: 4, try with 2 and 6: test should fail).

@simonbrunel I have downloaded latest version and run tests (without change) using gulp test command. But some of the tests have failed (testResult.txt). Can you please have a look at log and help me run them successfully?
I see this differences comparing my log with successful tests in pull request:

I have Windows 8.1
My Firefox version is 51.0.0 not 52.0.0. But some tests fail also for Chrome browser and there is no difference in version.

Some tests seems to fail when custom dpi (other then 100%) is set. When I changed it to 100% all tests run successfully.

Proposed solution would fix the problem only when label is set. Same problem exists even when scales do not have labels.

Closing as duplicate of #3562


[SPARK-6554] [SQL] Don't push down predicates which reference partition column(s)

There are two cases for the new Parquet data source:

Partition columns exist in the Parquet data files
We don't need to push-down these predicates since partition pruning already handles them.

Partition columns don't exist in the Parquet data files
We can't push-down these predicates since they are considered as invalid columns by Parquet.

Test build #29228 has started for   PR 5210 at commit 4f7ec03.

This patch merges cleanly.

Test build #29228 has finished for   PR 5210 at commit 4f7ec03.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/29228/
Test PASSed.

Thanks!  I've merged this to master and 1.3.


Better support for surface layer timeseries

🚀 Feature
As discussed in this image.sc post it would be nice to provide better support for people with timeseries values of static surfaces. It would be quite easy to support an API where people could pass data in the form
vertices N x 3 (constant: doesn’t change with time)
faces M x 3 (constant: doesn’t change with time)
values L x N (each time has N values for the vertices )

and we could take care of the rest. Note that vertices could still be N x D, and values could now be D' dimensional and we'd just convert all the D'-1 dimensions into additional slider like dimensions. Should be quite clean and conform to users expectations much more strongly.
I can work on this when I get the chance, shouldn't be too bad

@sofroniewn it's unclear right now whether this is exactly the right data model. I'd like us to look at datasets conforming to this format, e.g. fMRI datasets, and see how the data usually comes, and then try to tailor our API to that.

Working through an example from nilearn with surface timeseries data I encountered the following:
# NKI resting state data from nilearn
from nilearn import datasets
from nilearn import surface

nki_dataset = datasets.fetch_surf_nki_enhanced(n_subjects=1)

# Fsaverage5 surface template
fsaverage = datasets.fetch_surf_fsaverage()

# Load surface data and resting state time series from nilearn
pial_left = surface.load_surf_data(fsaverage['pial_left']) # 2-tuple
# pial_left[0].shape (10242, 3) (vertices)
# pial_left[1].shape (20480, 3) (faces)
sulc_left = surface.load_surf_data(fsaverage['sulc_left']) # shape (10242,)
timeseries = surface.load_surf_data(nki_dataset['func_left'][0]) # shape (10242, 895)

Then viewing in napari
import napari
viewer = napari.Viewer(ndisplay=3)
viewer.add_surface((pial_left[0], pial_left[1], sulc_left))
viewer.add_surface((pial_left[0], pial_left[1], timeseries[:, 0]), colormap='green') # just one timeslice

Right now creating and viewing the "timeseries compatible representation" can be done with
import numpy as np
vertices = pial_left[0]
faces = pial_left[1]
values = timeseries.T

n = len(vertices)
k = len(values)
vertices_t = np.concatenate(
    [np.concatenate((np.full((n, 1), i), vertices), axis=1) for i in range(k)],
    axis=0,
)
faces_t = np.concatenate(
    [faces + n*i for i in range(k)],
    axis=0,
)
values_t = np.concatenate([values[i] for i in range(k)])
viewer.add_surface((vertices_t, faces_t, values_t), colormap='red')

But the data is so large that viewing performance is now terrible, the refresh is too slow to be useable (though it does look cool - see below).
I think my
vertices N x D
faces M x 3
values L1 x L2 x LK x N

representation, which will result in an D+K dimensional layer isn't too far off. We can decide though if we want
data = (vertices, faces)
values = values

or
data = (vertices, faces, values)

to be the main API. We should also do something sensible if values is not provided. Right now, it's a bit awkward as you always have to give them in the 3-tuple. I maybe prefer the data and values separate API, it might also make this new functionality easier to understand, or make it easier to provide values for faces one day and not just vertices.
Here is the brain surface with the slider:

In general nilearn plotting is a good place to look in this context, and I am sure we could reach out to them for questions/ advice

@sofroniewn brilliant, this is a great example from which to get started, and indeed it seems like the API you originally suggested is well-matched to the nilearn example data. We do need to think about cases when the surface itself might be evolving though, and how to disambiguate such things.
We'll indeed have to think about the API, and whether to split out the values. Also, I feel like the values parameter should be renamed to vertex_values, though I don't know whether I'm rehashing old arguments here. But it would make it easier for newcomers to get their head around data, if they are unfamiliar with it.

I'm open to data a 2-tuple of (vertices, faces), and vertex_values an array. I think this makes it clear that the data and vertex_values are separate, and if you have a 3D evolving surface you should have 4D data and 1D vertex_values, but if you have a 3D static surface you can just do 3D data and 2D vertex_values.
We can wait on that one until after we see the implementation as I think it should be pretty easy to change

I did not realize this is a duplicate of #540


setTranslation w/ merge flag is misleading. It does an extend rather than a proper merge.

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[X] feature request

Current behavior
setTranslation with merge set, really does and extend (Object.assign) under the covers. A True merge would be more useful for those building applications where we need to override translations values from a base translation file.
Expected/desired behavior
setTranslation with merge set should perform a proper merge (like lodash merge)
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:btpW3l0jr5beJVjohy1Q).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Ability to override nested translations
Please tell us about your environment:

ng2-translate version: x.x.x

Angular version: 2.0.0-rc.X

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Sounds like a legit request, adding it to the to do list :-)

in v4, setTranslation('zh-cn', {'hasKey': 'hasVal'}, true); an exception occurred.
zh-cn translations is override

+1

+1, any updates?

+1


Fonts saved by Godot cannot be loaded

Godot version
4.0.dev (58712e9)
System information
Windows 10, Vulkan
Issue description
Fonts Resources saved by Godot cannot be opened by Godot.

Steps to reproduce

Create a Label node.
Select New Font in the Theme Overrides.
Add a font to the Font Data section.
Save Font Resource.
Try to load Font Resource just saved.

Minimal reproduction project
No response

It seems that you saved the FontData part of the font resource, not the Font resource itself.

Here is where I saved. Is this not correct?

I can't reproduce this on master 1cbf3947d. If I save a Font resource (not FontData) then create a new Label and load the font resource there into the font override property (not FontData, again), it works as expected.

Interesting. I was able to reproduce this bug multiple times this morning. I'm trying to replicate it again, and it's working fine now. I'm going to close this until I can figure out how to reproduce this consistently.


Segfault running tests on Linux

On Linux, when I try to run the tests on master, I get a segfault:
signal (11): Segmentation fault
PyObject_IsInstance at /usr/lib/x86_64-linux-gnu/libpython2.7.so (unknown line)
pyisinstance at /home/simon/.julia/PyCall/src/PyCall.jl:100
jlcall_pyisinstance_21189 at  (unknown line)
jl_apply_generic at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
pyptr_query at /home/simon/.julia/PyCall/src/conversions.jl:147
pytype_query at /home/simon/.julia/PyCall/src/conversions.jl:783
convert at /home/simon/.julia/PyCall/src/conversions.jl:832
roundtripeq at /home/simon/.julia/PyCall/test/runtests.jl:6
jlcall_roundtripeq_21432 at  (unknown line)
jl_apply_generic at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
anonymous at test.jl:92
do_test at test.jl:50
jl_apply_generic at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x7f5083fe4ed3)
unknown function (ip: 0x7f5083fe426e)
unknown function (ip: 0x7f5083ff9a0b)
unknown function (ip: 0x7f5083ffa72c)
jl_load at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
include at ./boot.jl:260
jl_apply_generic at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
include_from_node1 at ./loading.jl:271
jl_apply_generic at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
process_options at ./client.jl:316
_start at ./client.jl:411
unknown function (ip: 0x7f50810f0d89)
jl_apply_generic at /usr/local/julia/usr/bin/../lib/libjulia.so (unknown line)
unknown function (ip: 0x401ae7)
unknown function (ip: 0x4016af)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4016f9)
unknown function (ip: (nil))
fish: Job 1, “julia test/runtests.jl” terminated by signal SIGSEGV (Address boundary error)

Adding the line Libdl.dlopen(libpython, Libdl.RTLD_LAZY|Libdl.RTLD_DEEPBIND|Libdl.RTLD_GLOBAL) to the start of __init__ appears to fix this. I'm not really sure what's going on, but it appears the segfault is somehow related to the libpython symbols not being available to other libraries.
I can't reproduce this on OS X, but dlopen is global there by default.
My versioninfo() is:
julia> versioninfo()
Julia Version 0.5.0-dev+3
Commit 7cd05db* (2015-09-09 19:05 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

In case it's useful, without RTLD_GLOBAL, importing ctypes here throws:
ImportError('/usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so: undefined symbol: PyFloat_Type',)

so the catch clause gets taken. With the dlopen line above importing ctypes works, but if I force the code in the catch clause to be run, the tests still segfault.

I'm wondering if this crash is related in any way.  This was on OS X.

Have you tried the PyCall master?

I can reproduce.  Will incorporate the dlopen workaround shortly.

Thank you for this. I have been running into this issue as of this afternoon.


Use latest namshi/jose lib

I am having issues with auth0 tokens, and I need the https://github.com/namshi/jose/pull/41 patch

Hi, just merged #110
As support for PHP 5.3 was removed, a new major tag is on the way.
In the meantime the branch alias 2.0.x-dev should work.


data-dom-id collision with (fragment) caching

We encountered a problem where data-dom-id of components on the same page are not unique.
This is particularly obvious when components are stored in cache fragments and can be ordered differently depending on parameters. For exemple, think about search results where each result is a cache fragment containing a component rendered using react_component (the fragment will contain the data-dom-id auto-incremented based on the rank this result had in the page when rendered the first time).
For the record, if some people have the same problem, the workaround we found is to explicitely define data-dom-id using the id parameter of the react_component method as documented here.
The point of this PR is that the default data-dom-id should actually not be auto-incremented based on the rank of the component in the page, but rather by an UUID or (even better, but not sure if possible) by a MD5/SHA hash of its content.
PS: I saw a few existing issues related to fragment caching, but it was more about cache invalidation, not that kind of collision.

@michaelbaudino Thanks for reporting this. We should get a fix out ASAP. If you have any other feedback, please let me know. A PR would definitely be appreciated.

@michaelbaudino We probably don't actually need the auto-generated DOM ID for anything other than integration tests (what do we need this for?):
Let's have a config setting:
dom_id_generator: Values:

false: (default) which means none
UUID (don't really know about MD5)
Allow the value to be a proc, so you can have a custom function, and we provide an example of this that gives the old behavior, which could be used just for tests, so that there's a super simple upgrade path for those apps depending on this.

@jbhatab @thewoolleyman @alexfedoseev @robwise Any comments?
Feedback is welcome.
We'll need a major version bump for this.
In the very short term, we need a doc PR to address this. We should have a doc file for Fragment Caching tips. (any volunteers?: call it /docs/additional-reading/fragment-caching.md)
@michaelbaudino Please share your tips on how you set up your cache key with react_on_rails. I'd like to consider eventually making a helper for this.

You mean, kinda like #438 ? :smile:

Yes, for anybody reading this. See #438. Big thanks to @michaelbaudino for fixing this!

I want to get this one merged. The only thing holding me back is getting consensus on doing a major version bump. I think it's prudent to do a major version bump so somebody doing updates will look at the CHANGELOG.md.
@michaelbaudino Agree?

Sure, great ! Thanks a lot :sparkles:


Date picker initialization issue

Initializing Date picker with true selectMonths isn't working as expected. Select months or years drop down is not showing up in the rendering.
Is there any issues with it? or am I missing anything? See the Codepen.

Duplicate of https://github.com/Dogfalo/materialize/issues/5020

@shmshd12 , it is the class input-field which caused to hide the month and year. You have to remove input field or update the latest commit, using NPM and Grunt to compile the latest materialize.js.

@gusbemacbe removing the input-field class doesn't work for me

@solkaz , it depends on the class' position. If your class without input-field has the same position outside a group, then it caused conflict.


Running xenial->bionic series upgrades does not install required charmhelpers

Units goes into error state with:
File "./hooks/leader-settings-changed", line 9, in
basic.init_config_states()
File "lib/charms/layer/basic.py", line 174, in init_config_states
from charmhelpers.core import hookenv
ModuleNotFoundError: No module named 'charmhelpers'
Have to manually run "sudo pip install charmhelpers; sudo pip install charms.reactive" to fix it.

Late to the party, but xenial support was recently dropped from this charm so I can't repro this failure.  I did confirm bionic->focal and focal->jammy upgrades work as expected with the current charm.


README.md: fix up leftovers of stargz for fscache

Signed-off-by: Gao Xiang<EMAIL_ADDRESS>

@hsiangkao , a new test job has been submitted. Please wait in patience.

@hsiangkao , your pull request has been updated, but a test job is already running. A new test job wil be submitted after the current job is finished.

@hsiangkao , your test job is running now. Please wait in patience.

@hsiangkao , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:white_check_mark:SUCCESS

build-docker-image:white_check_mark:SUCCESS

compile-nydus:white_check_mark:SUCCESS

compile-ctr-remote:white_check_mark:SUCCESS

compile-nydus-snapshotter:white_check_mark:SUCCESS

start-nydus-snapshotter-config-containerd:white_check_mark:SUCCESS

run-container-with-nydus-image:white_check_mark:SUCCESS

Sorry, the current test job result is not valid, because your pull request has been updated, and a new test job will be submitted.

/retest

@yqleng1987 , the test job has been submitted. Please wait in patience.

@yqleng1987 , The CI test is completed, please check result:

Test CaseTest Result

merge-target-branch:white_check_mark:SUCCESS

build-docker-image:white_check_mark:SUCCESS

compile-nydus:white_check_mark:SUCCESS

compile-ctr-remote:white_check_mark:SUCCESS

compile-nydus-snapshotter:white_check_mark:SUCCESS

start-nydus-snapshotter-config-containerd:white_check_mark:SUCCESS

run-container-with-nydus-image:white_check_mark:SUCCESS

Congratulations, your test job passed!


Hm, this might be an actual failure? But all tests passed locally...

Something odd is definitely going on on Windows targets
./miri run tests/run-pass/hello.rs --target i686-pc-windows-msvc

takes forever locally, too.
@bors r- retry

I think it's probably caused by https://github.com/rust-lang/rust/pull/95469

:umbrella: The latest upstream changes (presumably #2056) made this pull request unmergeable. Please resolve the merge conflicts.

This is now blocked on https://github.com/rust-lang/rust/pull/95775

Let's see if this works now.
@bors r+

:pushpin: Commit b4c4d6568007a62d0e275c57f7dfe0f465269d15 has been approved by RalfJung

@bors retry r+

:pushpin: Commit fad53f5d947c9183a57431e06b86245f43c3aec1 has been approved by RalfJung

:hourglass: Testing commit fad53f5d947c9183a57431e06b86245f43c3aec1 with merge ad8dba1bd3d8feb1fb02236a5badcb1a863df3f0...

Aaaahhh something broke on macOS. Will this ever end?^^

:broken_heart: Test failed - checks-actions

Ah no it's the x86_64-pc-windows-msvc target. Probably just a wrong type size in my new code somewhere...

Turns out LONG is i32 and not isize as I expected...
@bors r+

:pushpin: Commit 48d62589789292fe34d74014756d390aa5d31a3a has been approved by RalfJung

:hourglass: Testing commit 48d62589789292fe34d74014756d390aa5d31a3a with merge 4f6b5f047ef712fa745474848d7c6690e33841ed...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit 3da7c552dfc0c50adbfa330c1ed47aafff5d040b has been approved by RalfJung

:hourglass: Testing commit 3da7c552dfc0c50adbfa330c1ed47aafff5d040b with merge 5cb40db6af31a666c0ea3a68d04b10e8577feb85...

:broken_heart: Test failed - checks-actions

@bors r+

:pushpin: Commit 3a59a15af718339675273b397b822ef1e3f4290b has been approved by RalfJung

:hourglass: Testing commit 3a59a15af718339675273b397b822ef1e3f4290b with merge be72564a643758afcc1de152ead2359d489149c0...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing be72564a643758afcc1de152ead2359d489149c0 to master...


Support Custerapi-k3s for GCP

while trying to use the bootstrap and controlplane provider with GCP. seems like it is not supported and GCP falls back to kubeadm provider

request to add support for the gcp infrastructure
add documentation in samples for better clarity if already supported

will be happy to test a RC if any is present

I have not seen samples with GCP. Also, the current sample is kind of outdated. I have tested the latest in Azure and this would work Azure ClusterClass template. Maybe you could try modify based on mine.
We indeed needs to update the samples :(


assume population pct is merged on backend for covid

Only done for COVID right now as it was causing the biggest issue, will do the rest in later prs
Still calculates pop pct on frontend for national -- address this in later prs

#1202

Spot checks; everything looks good so far. Discovered two unrelated issues in the process lol.

Thanks Ben! Lets do it live!


macOS: use 'brew' to upgrade

We are transitioning our entire install and upgrade story to Homebrew on macOS. Update our scalar upgrade verb to match.
Each commit does some cleanup until the last one which does the heavy lifting.
The scalar upgrade command will now run two commands:

brew update to get the latest Homebrew formulas and casks.
brew upgrade --cask scalar[-azrepos] to actually upgrade. The difference between scalar and scalar-azrepos is detected from the Git version.

@mjcheetham: I pushed a new version recently that I think answers your "this isn't installed by homebrew" question. Please take a look when you can.


Collapsed active pin tabs have different shape than normal tabs

Pinned tab:

Normal tab:

I actually find that the pinned tab shape looks better, so while making both kind of tabs the same shape, make add an setting to make both look like this different shape?

yeah the pinned tab shape is actually a bug, but I can probably add this as an option


Report.add_figure() should not close the passed figures

I think if MNE-report creates a figure, it should auto-close, but if user created the figure (as in add_figure), it should not close, by default.
Originally posted by @jasmainak in https://github.com/mne-tools/mne-python/issues/10164#issuecomment-1004045549

+1

Message ID: @.***>

@hoechenberger I can do this early next week unless you want to do it

If you've got the time, please go ahead! I believe the fix should be simple – in add_figure(), pass auto_close=False to the function that converts figures to images


no json returned

Hi, i get the error:
File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 1103, in json
    raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://api.prod.eed.ista.com/consumptions?consumptionUnitUuid=XXXX')

(i replaced my UID with XXXX)
Is this an bug, or did they changed their API? The URL did not return json...
Thank you :)

works after upgrading HA to 2022.10.5.
A restart of HA via web interface was necessary after starting the docker container...

@ulbricht-inr the error is a bug, but this is server-side. I'm currently working on adding the cost when available. After that I'll start catching the errors.


ISSUE: Adding another integration to control a different block of slots causes

Describe the bug
I added a second integration to control a different set of slots and this causes a 500 error
Environment (please complete the following information):

OS: HassOS
Type of system that HA is running on: KVM
Home Assistant version: 2024.2.5
Hassio/Docker/Core? HassIO
Component version: 0.2.5
Lock integration name: ZWave-JS UI
Lock make and model: Kwikset 910

Logs
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 91, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 227, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 72, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 223, in post
    return await super().post(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 71, in post
    result = await self._flow_mgr.async_init(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 345, in async_init
    result = await self._async_handle_step(flow, flow.init_step, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 501, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/lock_code_manager/config_flow.py", line 314, in async_step_init
    CONF_LOCKS, default=_get_default(CONF_LOCKS)
                        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/lock_code_manager/config_flow.py", line 307, in _get_default
    return user_input.get(key, self.config_entry.data[key])
                               ~~~~~~~~~~~~~~~~~~~~~~^^^^^
KeyError: 'locks'

Additional context
I have a use case where I would want to be able to define a LCM that manages 2 locks for a defined set of slots. One lock is shared with multiple blocks and one lock that only shares a single block with the main lock.
For example:
Lock1:
Slots 1 - 5 are not shared with all other locks
Slots 6 - 10 are not shared with any other locks
Slots 11 - 15 are shared with Lock2
Slots 16 - 20 are shared with Lock3
Lock2:
Slots 1 - 5 are shared with Lock1
Slots 6 - 10 are not shared with any other locks
Slots 11 - 15 are shared with Lock1
Lock3:
Slots 1 - 5 are shared with Lock1
Slots 6 - 15 are not shared with any other locks
Slots 16 - 20 are shared with Lock1
The testing that I was specifically doing at this time was to just define a new LCM that was managing a block of slots that are not defined in my first configured LCM
Reproduction steps

Configure a single LCM with slots 1 - 5 defined against a lock and verify that everything is working
Configure a second LCM with slots >5 defined against the same lock as the previous step
Observe that new integration shows No devices or entities in the configuration page and that if you press the Configure button you will error logs similar to the above.

Lock1:
Slots 1 - 5 are not shared with all other locks

Should this actually be slots 1 - 5 are shared with Lock2 and Lock3?

Yes, a bit of a typo on my part.
Ideally I would like to say this block of slots is shared with all locks known.
This other block of slots is only shared between X number of locks
My specific use case is that I let out several bedrooms in my house via Airbnb. The front door, all bedrooms, and my office all have zwave locks on them.
The first few slots of of each of the locks is presently reserved for manual configuration and I configure my and my wife's door codes into some of those slots.
A block of up to 5 slots is dedicated on the front door and each of the bedrooms that is then controlled via my Rental Control integration (installed twice, once for the front door and once for the bedroom door).
Occasionally I have non-paying guests (that is friends and family) staying with me so I manually configure codes on slots as needed for them.
I would love to be able to have the front door and bedroom door locks all automatically sync without having to have multiple instances of my Rental Control configured. Particularly since it regularly has to access vendor information for calendars. Airbnb doesn't seem to have any major API limits, but a few other vendors that some of my users use do have limits and having to install multiple times can be a bit of a juggling issue for them.
If we could define all the locks at one go and then selectively state which slots should stay in sync between which locks that would be ideal. Even better would be if a slot is a synchronized slot then only the lead lock would have editable entities in the UI.


[barbican-kms-plugin] Refactor barbican-kms-plugin to improve code climate

What this PR does / why we need it:
Refactor barbican-kms-plugin to make golangci-lint happy.
Which issue this PR fixes(if applicable):
Relates to #1883
Special notes for reviewers:

Release note:

NONE

/lgtm

/approve


add support for TorqueCurrentFOC control mode for swerve motors

support the TorqueCurrentFOC control mode available in Phoenix 6 Pro
add code to assist in characterizing the swerve drive motor and swerve steer motor to obtain their kS and kA values

Remaining tasks:

characterize Nova and update the kS, kV, and kA constants (instructions are in 3061-lib's README)
tune PID for steer and drive motors (instructions are in 3061-lib's README)
add RobotConfig methods to query serveControlMode (options should be Voltage and TorqueCurrent FOC; default should be Voltage); the returned value determines how kS, kV, and kA are interpreted

close issue #76 when complete


fixed number confusion

fixed number confusion

:+1:

@jnweiger Yes, because oC-SA-2016-016 is an old advisory, which already existed before.


Can't Install on Laravel 11

I just did a fresh Laravel 11 install and then installed this package and all worked fine. I wonder if you have another package installed that could be conflicting with it? I'd suggest trying to narrow down the culprit by removing packages and slowly adding them in one by one if possible?

Im using Laravel Jetstream (Livewire) and this is my composer.json:
{     "name": "laravel/laravel",     "type": "project",     "description": "The skeleton application for the Laravel framework.",     "keywords": [         "laravel",         "framework"     ],     "license": "MIT",     "require": {         "php": "^8.2",         "filament/forms": "^3.2",         "inertiajs/inertia-laravel": "^1.0",         "laravel/framework": "^11.0",         "laravel/jetstream": "^5.0",         "laravel/sanctum": "^4.0",         "laravel/tinker": "^2.9",         "livewire/livewire": "^3.0",         "tightenco/ziggy": "^2.0"     },     "require-dev": {         "fakerphp/faker": "^1.23",         "laravel/pint": "^1.13",         "laravel/sail": "^1.26",         "mockery/mockery": "^1.6",         "nunomaduro/collision": "^8.0",         "phpunit/phpunit": "^11.0",         "spatie/laravel-ignition": "^2.4"     },     "autoload": {         "psr-4": {             "App\\": "app/",             "Database\\Factories\\": "database/factories/",             "Database\\Seeders\\": "database/seeders/"         },         "files": [             "app/helpers.php"         ]     },     "autoload-dev": {         "psr-4": {             "Tests\\": "tests/"         },         "files": [             "app/helpers.php"         ]     },     "scripts": {         "post-autoload-dump": [             "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",             "@php artisan package:discover --ansi",             "@php artisan filament:upgrade"         ],         "post-update-cmd": [             "@php artisan vendor:publish --tag=laravel-assets --ansi --force"         ],         "post-root-package-install": [             "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""         ],         "post-create-project-cmd": [             "@php artisan key:generate --ansi",             "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",             "@php artisan migrate --graceful --ansi"         ]     },     "extra": {         "laravel": {             "dont-discover": []         }     },     "config": {         "optimize-autoloader": true,         "preferred-install": "dist",         "sort-packages": true,         "allow-plugins": {             "pestphp/pest-plugin": true,             "php-http/discovery": true         }     },     "minimum-stability": "stable",     "prefer-stable": true }
Actually removing package by package is not suitable as all packages are used on my application.

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The skeleton application for the Laravel framework.",
    "keywords": [
        "laravel",
        "framework"
    ],
    "license": "MIT",
    "require": {
        "php": "^8.2",
        "filament/forms": "^3.2",
        "inertiajs/inertia-laravel": "^1.0",
        "laravel/framework": "^11.0",
        "laravel/jetstream": "^5.0",
        "laravel/sanctum": "^4.0",
        "laravel/tinker": "^2.9",
        "livewire/livewire": "^3.0",
        "tightenco/ziggy": "^2.0"
    },
    "require-dev": {
        "fakerphp/faker": "^1.23",
        "laravel/pint": "^1.13",
        "laravel/sail": "^1.26",
        "mockery/mockery": "^1.6",
        "nunomaduro/collision": "^8.0",
        "phpunit/phpunit": "^11.0",
        "spatie/laravel-ignition": "^2.4"
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/",
            "Database\\Factories\\": "database/factories/",
            "Database\\Seeders\\": "database/seeders/"
        },
        "files": [
            "app/helpers.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        },
        "files": [
            "app/helpers.php"
        ]
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi",
            "@php artisan filament:upgrade"
        ],
        "post-update-cmd": [
            "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi",
            "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
            "@php artisan migrate --graceful --ansi"
        ]
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true,
        "allow-plugins": {
            "pestphp/pest-plugin": true,
            "php-http/discovery": true
        }
    },
    "minimum-stability": "stable",
    "prefer-stable": true
}

Seems like the issue is Laravel Jetstream, I'll look into it.

Working on a 2.0 version of the package that will fix this.

Hey @Reddishye, apologies for the delay. The new 2.0.0 version of the package should now work with Laravel 11.
Thanks for your patience.

Sorry for not responding, thank you for the fast fix ❤

You're welcome, @Reddishye! Have a great weekend!

I don't know what jetstream.auth_session is, but you could do something like:
Route::prefix('admin')->middleware(array_merge([
    'auth:sanctum',
    'verified',
], config('jetstream.middleware')))->group(function () {

Yeah, I alredy saw, the solution was adding to middlewares auth:sanctum!
Thanks!!


add login/logout/select-subs goals(select-subs is not implemented).

Codecov Report

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

@@           Coverage Diff           @@
##           develop    #701   +/-   ##
=======================================
  Coverage     33.5%   33.5%
=======================================
  Files           83      83
  Lines         3188    3188
  Branches       479     479
=======================================
  Hits          1068    1068
  Misses        2040    2040
  Partials        80      80

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 39f49f2...ecc470a. Read the comment docs.


Improve Readme: Link Sonatype

Expected Behavior
We should link the Sonatype artifact:
https://search.maven.org/artifact/com.google.cloud/google-cloudevent-types/0.1.0/jar
Actual Behavior
We don't have much documentation (and it is out of date).

We link this in the README badge.


Dev monitor microsoft.insights 2021 02 01 preview custom properties

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@weidongxu-microsoft
Per your suggestion I've resubmitted my changes directly to the public repo. The following issues exist:
Error: Invalid reference token: ResourceGroupNameParameter
I've removed the delete directive from the readme as you suggested, but still got this autorest exception.
OperationsAPIImplementation
Please note that this error is incorrect, as the operations endpoint is actually implemented for the Microsoft.Insights resource provider at: \specification\monitor\resource-manager\Microsoft.Insights\stable\2019-07-01\operations_API.json
Are the other 2 other autorest exceptions ignorable?
I've run the autorest validation locally before submitting this PR and the only error it found was regarding the supposedly missing operations API.
The exception for the Breaking Change was approved by Jeffrey for the original private PR.
Is there anything I must do next? Please let me know how to proceed. Thanks!

For OperationsAPIImplementation you will have to suppress it then.
For ``, I am not sure. Maybe changes in this PR would be a hint? https://github.com/Azure/azure-rest-api-specs/pull/14901/files
I.e. add them to tags?

@avjerafi
Please suppress OperationsAPIImplementation.
I will merge it afterwards (ignoring ResourceGroupNameParameter for now as this is likely not caused by your PR).

Breaking changes approved in private PR https://github.com/Azure/azure-rest-api-specs-pr/pull/3987

@avjerafi
Please suppress OperationsAPIImplementation.
I will merge it afterwards (ignoring ResourceGroupNameParameter for now as this is likely not caused by your PR).

Done.
Kindly approve.
Thanks!


docs(key): 📖 addendum to rename Tonality → Key

Continues #380

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1072

Relevant Lines:
1072

💛  - Coveralls


Show just Javadoc with Truffle API - no internals

We should use Javadoc from http://github.com/graalvm/truffle page as it points to Truffle API and doesn't include distracting details about Truffle internals.

Thanks for pointing that out.


Improve README.md

Hi there,
I have tried this gem, and I have noticed that some required configurations are not included in README example configuration.
So I added about resource_owner_from_access_token to example configuration.
Could you merge this?
:bow:

Thanks for the correction to the README!

:tada:


[CSL-1193] Get rid of explorer code in cardano-sl lib and with-explorer flag

There are 6 conflicts already, btw.

@gromakovsky I've fixed all issues and force pushed, can you approve if everything is ok?

The Travis CI build failed

:loh:


[MetaSchedule] Fix mma default rule and disable tuning abort

This PR fixes #15426 by:

Fix a bug in default mma rules;
Return empty result rather than abort the whole tuning process.

Nice work!

Hi, @cblmemo , I noticed this excellent work in TVM v0.14.0, but it's weird that mma intrin_groups seems not available as the target block should have been rewritten by prev wmma schedule_rule. Is this expected behavior?


im geting following error while running the code

Traceback (most recent call last):
File "DataSetPrep.py", line 7, in
import scripts.binvox_rw
ImportError: bad magic number in 'scripts': b'\x03\xf3\r\n'
Traceback (most recent call last):
File "/home/student/Desktop/3D-IWGAN-master/scripts/render_pipeline/render_model_views.py", line 30, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Read blend: /home/student/Desktop/3D-IWGAN-master/scripts/render_pipeline/blank.blend

you need to install numpy in the version of python that blender is using

Traceback (most recent call last):
File "DataSetPrep.py", line 298, in
overlay()
File "DataSetPrep.py", line 258, in overlay
matlab_cmd = "addpath('%s'); overlay_background('%s','%s','%s', '%s', %f, 1);" % (os.path.join(g_render4cnn_root_folder, 'render_pipeline'), img_dir,  overlay_dir, background_list, backgrounds, 1.0)
NameError: name 'g_render4cnn_root_folder' is not defined

Traceback (most recent call last):
File "DataSetPrep.py", line 298, in
overlay()
File "DataSetPrep.py", line 258, in overlay
matlab_cmd = "addpath('%s'); overlay_background('%s','%s','%s', '%s', %f, 1);" % (os.path.join(g_render4cnn_root_folder, 'render_pipeline'), img_dir, overlay_dir, background_list, backgrounds, 1.0)
NameError: name 'g_render4cnn_root_folder' is not defined

resolved by adding path

NameError: name 'g_render4cnn_root_folder' is not defined
overlaying is not executing......

NameError: name 'g_render4cnn_root_folder' is not defined
overlaying is not executing......

please anyone help out with this

Traceback (most recent call last):
File "DataSetPrep.py", line 298, in
overlay()
File "DataSetPrep.py", line 258, in overlay
matlab_cmd = "addpath('%s'); overlay_background('%s','%s','%s', '%s', %f, 1);" % (os.path.join(g_render4cnn_root_folder, 'render_pipeline'), img_dir, overlay_dir, background_list, backgrounds, 1.0)
NameError: name 'g_render4cnn_root_folder' is not defined

resolved


Problems in bindings using Labels with ContainerDataBinding

I have discovered a bug in bindings in a very specific case.
I use Crux and Jewel.
The bug appears when it's used Labels and ContainerDataBinding.
The text variable of Label has to be bound with a variable from an object declared in the model. And this object is updated by going through an array declared also in the model.
As we update the object, many listeners are created which slow down the update. If we use a ViewDataBinding, the problem disappears. And this does not happen in other components such as TextInputs.
I have created a small example so that it can be reproduced. Yo have to click in Next button and update slows down as you click the button. If you pause debugging, you can check all listeners in listenermap.js:

View:
<?xml version="1.0" encoding="utf-8"?>
<j:ApplicationResponsiveView xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:j="library://ns.apache.org/royale/jewel"
        xmlns:js="library://ns.apache.org/royale/basic"
    >
 <fx:Script>
        <![CDATA[
        import com.events.PersonalEvent;
        import com.models.PersonalModel;

        [Bindable]
        [Inject(source="personalModel", required="true")]
        public var personalModel:PersonalModel;

        [PostConstruct]
        public function initialize():void{
            var evt:PersonalEvent = new PersonalEvent(PersonalEvent.LOAD_DATA,null,this);
            dispatchEvent(evt);
        }

        private function navigateToNext():void
        {
            var evt:PersonalEvent = new PersonalEvent(PersonalEvent.NEXT_ITEM,null,this);
            dispatchEvent(evt);
        }

    ]]>
    </fx:Script>

    <j:beads>
        <js:ContainerDataBinding/>
    </j:beads>

     <j:VGroup width="400" gap="10">
            <j:HGroup>
                <j:Button localId="btlanzar2" text="Next" click="navigateToNext()"/>
                <j:Label localId="txtproc" text="{personalModel.item.codigo}" width="100"/>
            </j:HGroup>
        </j:VGroup>

</j:ApplicationResponsiveView>

Model:
package com.models {

    import com.Model;
    import org.apache.royale.collections.ArrayList;
    import com.dto.vo.TestItem;

    [Bindable]
    public class PersonalModel extends Model {

        private static var _instance:PersonalModel;

        public static function get instance():PersonalModel {
            return _instance || (_instance = new PersonalModel());
        }

        public function PersonalModel() {
            super();
            if (_instance) {
                trace('PersonalModel error');
                throw new Error("singleton");
            }
            _instance = this;
        }
public var data:ArrayList = new ArrayList();

        public var item:TestItem = null;

        public var itemIndex:int = -1;
}
}

Controller:
package com.controllers {

    import com.beads.controllers.Controller;
    import com.models.PersonalModel;
    import com.events.PersonalEvent;

    import org.apache.royale.core.IStrand;
    import org.apache.royale.collections.ArrayList;
    import com.dto.vo.TestItem;

    public class PersonalController extends Controller {

        public function get model():PersonalModel {
            return _model as PersonalModel;
        }

        [Inject]
        public function setModel(value:PersonalModel):void {
            _model = value;
        }

        /**
         * Constructor.
         */
        public function PersonalController() {
            super();
        }

        /**
         *  @copy org.apache.royale.core.IBead#strand
         *
         *  @langversion 3.0
         *  @playerversion Flash 10.2
         *  @playerversion AIR 2.6
         *  @productversion Royale 0.9.4
         */
        override public function set strand(value:IStrand):void {
            super.strand = value;
        }
[EventHandler(event = "PersonalEvent.LOAD_DATA", scope = "global")]
        public function loadData():void {
            var item:String;
            var dp:Array = [];
			var items:Array = [
				"Item1",
				"Item2",
				"Item3",
				"Item4",
				"Item5",
				"Item6",
				"Item7",
				"Item8",
				"Item9",
				"Item10",
				"Item11",
				"Item12",
				"Item13",
				"Item14",
			];
			for (var i:int = 0; i < 2000; i++)
			{
                var aux:TestItem = new TestItem();
				aux.codigo = getRandomArrayItem(items),
				dp.push(aux);
			}

            model.data = new ArrayList(dp);
        }

        public function getRandomArrayItem(array:Array):String {
			var idx:int=Math.floor(Math.random() * array.length);
			return array[idx];
		}

        [EventHandler(event = "PersonalEvent.NEXT_ITEM", scope = "global")]
        public function nextItem():void {
            model.itemIndex++;
            var aux:TestItem = model.data.getItemAt(model.itemIndex) as TestItem;
            model.item = aux;
        }
}
}

TestItem Class:
package com.dto.vo {

	[Bindable]
    public class TestItem {
        public function TestItem() {
		}

		public var codigo:String = "";

    }

}

Thanks!!

Hi Raul,
I recreated this example and I think this is right at the moment. You have a View (ApplicationResponsiveView) that must use ViewDataBinding (not ContainerDataBinding).
Maybe using ContainerDataBinding should throw some kind of error instead to make the app hang.
Let me know if I could be wrong in something but with the info provided I can't see a real problem.
Thanks

I uploaded here the project I recreated with the problem, so we can go over it if I missed something: https://royale.codeoscopic.com/bindingproblem.zip

Hi Carlos,
The problem is the same if you have a container, for example a Group. If you use a container, you should use a ContainerDataBinding, but you would have the same problem. Then you have to use ViewDataBinding to make it work.