Squirrel-based Install Dialogue Burns CPU/Fans on Mac

Please see this bug filed with VS Code for context/details. They suggested I file this with you since they are using this framework.
Let me know if you have any questions!

Please note we found a workaround on the linked issue. Not sure if that's something that can be fixed here or not.

This is a very annoying and long-standing problem, and it would be great to get it fixed. The workaround that @ambroselittle refers to in the comment above is not a real solution, because it involves chown-ing the application to the current user, which is not something that you want to do from a security point of view.
The problem occurs whenever the dialog "An update is ready to install." is on the screen, asking for an admin password; as long as this dialog is open, there's a very high CPU usage. I've seen this happen consistently in all apps that use Squirrel, e.g. WhatsApp, Signal, VS Code, and others. It is a problem because many times these apps start the update process in the night, so when I come to the machine in the morning, it's been running with fans on full speed for hours already.
And it's particularly problematic when you use the VS Code Insiders version, because then there's an update every day (or night).
So I tried to investigate a little where this comes from. Running Instruments seems to indicate that it comes from https://github.com/Squirrel/Squirrel.Mac/blob/master/Squirrel/SQRLZipArchiver.m#L70, which seems to be called repeatedly while the dialog is open.
I don't understand enough about Cocoa and ReactiveCocoa to say what's the best fix for this; one wild guess is that you should set standardErrorPipe.fileHandleForReading.readabilityHandler back to nil when the ditto task completes. Another wild guess is that there's something wrong with the lifetime of the SQRLZipArchiver object; it seems to be still around after unarchiveAndPrepareData returns, but maybe shouldn't, and it looks like that would also fix the issue.

Just a friendly ping. Anybody?
Cc:ing @jspahrsummers who touched this code last.

Just a friendly ping. Anybody?
Cc:ing @jspahrsummers who touched this code last.

Very sorry, but I haven't worked on this codebase in ~6 years. I'm not knowledgeable about it anymore.

Very sorry, but I haven't worked on this codebase in ~6 years. I'm not knowledgeable about it anymore.

Since all Electron applications that make use of Electron's Auto Updater API (e.g. (Visual Studio Code, Atom, Slack, to name a few) are effected by this transitive dependency on Squirrel.Mac, and given https://github.com/Squirrel/Squirrel.Mac/issues/247#issuecomment-757210176 and https://github.com/Squirrel/Squirrel.Mac/issues/256, I've raised the issue with Electron https://github.com/electron/electron/issues/29119.
Electron is already carrying patches for Squirrel.Mac https://github.com/electron/electron/tree/master/patches/squirrel.mac
so its probably best to handler from their end.

After I finally invested the time to investigate why that is still occurring regularly even on newer Macs, I stumbled upon this issue. I'm a bit confused that it does not have more attention as it at least annoys me regularly and must be burning a lot of energy for nothing.


The automated release is failing 🚨

:rotating_light: The automated release from the master branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
 You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The push permission to the Git repository is required.
semantic-release cannot push the version tag to the branch master on remote Git repository.
Please refer to the authentication configuration documentation to configure the Git credentials on your CI environment.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

the latest release was successful. I assume this is a false alarm.
https://github.com/patternsonio/patternson-registry-client/releases/tag/v1.0.2


CB: Retrieve queryTimeout from connectionUri params

Current coverage is 63.83% (diff: 0.00%)

Merging #1734 into master will decrease coverage by 0.02%

@@             master      #1734   diff @@
==========================================
  Files           354        354
  Lines         16672      16679     +7
  Methods       16384      16391     +7
  Messages          0          0
  Branches        143        143
==========================================
  Hits          10647      10647
- Misses         6025       6032     +7
  Partials          0          0

Powered by Codecov. Last update b8de267...08aced2

LGTM - will merge when green

@drostron revision.md is in the wrong directory

Oh wow, that's a new one — foiled by the save dialog. @alissapajer should be good now.


Discuss: Fork Helix into Pinot Repo

I never thought I would be the one initiating this thread. But over the last year, the quality of Helix code has gone down drastically and it's preventing us to make a successful pinot release. Many changes are not well thought out and are being designed to meet the needs of specific use cases. Helix is an important component for Pinot and its important for us to have control over its behavior.
My proposal is to fork the helix module into Pinot. Please let me know if anyone has any concerns.

Kishore, we are working with Pinot team on the testing and I think we are close to get a stable release for Pinot.  We also have on-going discussions with Pinot to smooth upgrade process. I would like to hear more of your suggestions on how we can improve, but in my opinion, I do not think having a fork of Helix code in Pinot can solve the problem.

I don’t think this is just a process problem, though it definitely adds to the problem. We will keep the interface as it is and we might try to migrate later in future once Helix becomes stable.
As of now, setup is counter productive


Scene runtime polishment (Godot)

The joystick's area triggers the pointer's events (maybe it's a desired behavior, but is a little strange in its use)
Action's sounds continue earing even when the player leaves the scene (tested in Goerli Plaza, Zombie-shooter 77,-9)


[composer] Fix: Do not use deprecated methods

This PR

[x] stops using deprecated methods

Slightly related to #2353.
💁♂ For reference, see https://github.com/composer/composer/pull/8957.

Thanks @localheinz, could you rebase this (or merge in master) to trigger CI?

@feelepxyz @jurre
Looks like we still have issues with pushing images, see https://github.com/dependabot/dependabot-core/pull/2354/checks:

Looks like we still have issues with pushing images, see https://github.com/dependabot/dependabot-core/pull/2354/checks:

Yeah :( we're aware of it, it works on the fork but not on the pull_request, actions will try to push to dependabot with your token, and won't have access.
I have some thoughts on how to improve this (push to artifacts instead of GPR), but I won't have time for it this week. I can see the build passing on your fork for the push event though, so will merge it in later 👍

Thank you, @feelepxyz and @jurre!


go.mod has a weird required module

Aside from seemingly not being required by go-chef/chef, this line in the go.mod is making github.com/ctdk/schob (in the 1.0.0-dev branch) fall over if modules are enabled with this output:
<EMAIL_ADDRESS>parsing go.mod: unexpected module path "github.com/chef/go-chef"
It doesn't even look like go-chef/chef uses chef/go-chef, but at the very least this import ought to be fixed if it's not removed entirely.

Thankee thankee, good sir.


Creation of Extension with VS 2015 Application Customizer: Error: ENOENT: no such file or directory, scandir 'C:\Users\me\AppData\Roaming\npm\node_modules@microsoft\generator-sharepoint\lib\generators\applicationCustomizer\templates\react' I am facing same issue .

I am facing same issue .
node version : v10.15.3
npm version :  6.13.4
generator : 1.10.0
I am tried to create extension with VS 2015 and VS 2017, facing same issue .
Originally posted by @priyarane30 in https://github.com/SharePoint/sp-dev-docs/issues/3609#issuecomment-572398332

We do expect each issue to fill up the issue form, which would help to speed up providing support for you, but let's try. What you you mean with using VS 2015 and VS 2017?
Typically you'd be using obviously Visual Studio Code. We would also need to understand how exactly you have installed the SharePoint Framework yeoman generator as we cannot reproduce the issue with basic setup.
Thanks for the details advance.

Hi ,
I am trying to create SPFx extension using Visual studio 2015 with Project template.
while Creation of Application Customizer extension , getting error 'no such file or directory, scandir 'C:\Users\me\AppData\Roaming\npm\node_modules@microsoft\generator-sharepoint\lib\generators\applicationCustomizer\templates\react' . I upgraded generator , but facing same issue.
node version : v10.15.3
npm version : 6.13.4
generator : 1.10.0

We do not have a project template for Visual Studio 2015 with SharePoint Framework, so can you provide more details what exactly you are trying to achieve.
Notice that if you are planning to get started with SharePoint Framework development, we would recommend follow assets, which also include step-by-step guidance on your development environment.

Set up your SharePoint Framework development environment
Build your first SharePoint client-side web part (Hello World part 1)
SharePoint Framework training package with videos, hands on labs and other assets - http://aka.ms/spfx-training

Are these getting you started to the right direction?


few unwrap removes

map_or can be used instead of map()..unwrap_or()

It would be nice to use is_some_and, but that's not in our MSRV. I'll take this for now.


Code Quality: Refactor Database_Upgrader class

Task Description
Since the class is getting quite complex.

Introduce new Migrations namespace
Add new Migration interface
Split up upgrade routines into their own classes, implementing said interface

Inspiration: https://github.com/Yoast/wordpress-seo/tree/f997e15c296eea16f55ea242346365b446a8c993/src/config/migrations

I was just about to recommend making this into a series of classes. It is going to take a lot of refactor of the tests...
I don't see the logic in the Database_Upgrader class to change that much. This list
https://github.com/google/web-stories-wp/blob/f5a580f6fad09aac6181b0fb50a229c8723c03a2/includes/Database_Upgrader.php#L60-L74
Would just be a list of class names instead of method names.

This would also follow the pattern we created in Javascript.
https://github.com/google/web-stories-wp/tree/main/packages/migration/src/migrations

Would just be a list of class names instead of method names.

I'd also recommend turning it into a class constant array. This will avoid allocating an array in memory to initialize that $routines variable every time, even if it is not being used.

I'd also recommend turning it into a class constant array.

Good idea!
I think the format of the array could look like this.
 $routines = [
 	'1.0.0' => Migration\upgrade_1::class,
 	'2.0.0' => Migration\replace_conic_style_presets::class,
 	'2.0.1' => Migration\add_term::class,
]

We can then use the injector / service model, to spin up all the classes with dependencies.

This is not what I meant by "class constant array", but you can combine both approaches.
What I meant was to use a class constant for providing the array, instead of initializing a new array dynamically on each request:
final class Database_Upgrader {

	const ROUTINES = [
	 	'1.0.0' => Migration\upgrade_1::class,
	 	'2.0.0' => Migration\replace_conic_style_presets::class,
	 	'2.0.1' => Migration\add_term::class,
	];
}

This way, the array is parsed as source code and encoded into PHP byte code at compile time and automatically provided via the Opcache on each request.
Otherwise, if you do $routines = [ ... ], you're creating a new array, allocating memory and populating the allocated memory with the individual values on each request dynamically at runtime, which is a huge performance hit for what is effectively static data.


Great Submission but reduce the code footprint of main.js

Hey @Onyelaudochukwuka This is a great submission but please reduce the code footprint of main.js
Consider adding a class attribute to all the number components and using a single event listener for them all since they all have similar functionality.
Consider also adding a class attribute to all the operator components and performing the operation logic inside one code block depending on the operation clicked by the user

Ok, I'll use a querySelectorAll and loop, that should be fine right?
For the buttons

Thanks for the review

Ohh just seeing this now. Go ahead. I will check you PR once you are done


Add CloudFormation template

I wrote a script to do CORTX deployments using CloudFormation for Seagate/cortx#1381. It's basically follows the QSG (with a few tweaks for automated installation). I also wrote a short doc explaining how to use it. This should be a very easy way for new users to get up and running with CORTX+Kubernetes in AWS.

View rendered README.md
View rendered doc/cloudformation.md

Yes, I think most user will prefer the simpler way so I would suggest to trim this page as much as possible. @gregnsk , please let us know if you disagree. But otherwise @trshaffer please proceed accordingly. Thanks! Remzi always told me, "You cannot oversimplify something." Which might be ambiguous. But what I think he meant was, "Simpler is always better."


WS listener cosignatory and block channel issue and other small issues fixes

Fixed #245 #268 due do E3 schema changes
Fixed #267 missing extra modify multisig account filter implementation.
Fixed #270 MosaicGlobalRestriction js doc typo

Pull Request Test Coverage Report for Build 684

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 69.216%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/infrastructure/Listener.ts
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/infrastructure/Listener.ts
2
28.65%

Totals

Change from base Build 683:
-0.03%

Covered Lines:
6302

Relevant Lines:
8402

💛  - Coveralls

return true in accountAddedToMultiSig doesn't seem to be propagated out of the .map ... or is it? Use variable for that value.

return true in accountAddedToMultiSig doesn't seem to be propagated out of the .map ... or is it? Use variable for that value. Or other array function, like find ;)

I think you are right. changed to forEach should do the trick

I think you are right. changed to forEach should do the trick

I think it won't ;) ... you better try it somewhere: https://js.do/code/foreachsandbox


Remove GitHub issue link from FAQ entry where_can_i_get_tested

Description
This PR removes the link to the GitHub issue https://github.com/corona-warn-app/cwa-documentation/issues/569 from the FAQ entry where_can_i_get_tested.
What was changed

https://www.coronawarn.app/de/faq/results/#where_can_i_get_tested
https://www.coronawarn.app/en/faq/results/#where_can_i_get_tested

This PR needs normal review & approve process!

Internal Tracking ID: EXPOSUREAPP-14848

Thanks for the PR @Ein-Tim, the changes are looking good to me.
Just curious, what do you mean by "This PR needs normal review & approve process!"?

@larswmh
I just added the last sentence to clarify that the change was not approved by RKI or so already, so that you (the Open-Source-Team) handle it just like any other community PR!

Thanks for merging & reviewing @larswmh & @brianebeling. I closed https://github.com/corona-warn-app/cwa-documentation/issues/569 and added a disclaimer to the OP.


Can't set default currency

Get the error:
HTTPError: Response code 404 (Not Found)
at stream.catch.then.e (/usr/local/lib/node_modules/alfred-currency-conversion/node_modules/got/index.js:123:13)

I Have the exact same issue!

Same issue here

Fixed :)


Add support for multiple versions

About this change
This change brings support for multiple versions:

Each root section (directories at the root of Hugo's resources directory) becomes a version. Versions are identified by the versionId parameter declared in the front matter of the section's _index.md file.
The "current" version is the one that will be displayed by default. This is configured by setting the versions.current parameter in Hugo's config.yml.

This change includes the following features:

When browsing the home page, the menu defaults to the content of the current version (as configured in config.yml). When browsing a page, the menu will show the sections matching the version you're reading.
When browsing a page for a version that is different from the current one:

A notice or warning message is displayed at the top of the page (depending if the version is newer or older than the current version).
A canonical link is added if the same page exists in the current version (note: this doesn't work with redirections, so the .md file must be placed at the exact same place in the current version directory)

Visitors can switch from one version to another using a selector at the top of the menu.

The selector opens up on hover on desktop and on tap on touch devices.
The selector is hidden if there's only one version available
A "Dev" or "Current" label may be added to the version name (or any other text) using the versionMeta parameter in the section's front matter.

Screenshots
Browsing PrestaShop 1.7 (current version):

Version selector:

Browsing PrestaShop 8:

Merging this to fix broken devdocs


[HIGH] ManageProject_TeamsTab_DeleteTeam

Delete Team (Delete)

[ ] Add functionality in ARA
[ ] Add NRT

Moved to another project


Offline Support for Refreshing Sessions

Won't error out or freeze if refreshing a session fails, will just return null.
Flutter can watch Connectivity for a change, and then call refreshSession.

Thanks for the PR. As much as I love the lion emojies, let's get rid of them 🦁

Yeah left for observability. Would remove in final.

Closing this PR as the original issue has been closed.


Made some changes

made some changes on the projects. Kindly check them out

Hi Dut, please can you make the pull request to the development branch

Description
copilot:summary


Update Jedi

For #

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[ ] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #9333 into master will decrease coverage by 0.3%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9333      +/-   ##
==========================================
- Coverage   60.32%   60.01%   -0.31%
==========================================
  Files         544      544
  Lines       28594    28594
  Branches     4330     4325       -5
==========================================
- Hits        17248    17162      -86
- Misses      10415    10493      +78
- Partials      931      939       +8

Impacted Files
Coverage Δ

src/client/testing/serviceRegistry.ts
49.09% <0%> (-47.28%)
:arrow_down:

src/client/testing/codeLenses/main.ts
40% <0%> (-30%)
:arrow_down:

src/client/datascience/jupyter/jupyterUtils.ts
64.7% <0%> (-29.42%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
50% <0%> (-25%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
60% <0%> (-20%)
:arrow_down:

...cience/jupyter/jupyterDebuggerNotInstalledError.ts
50% <0%> (-16.67%)
:arrow_down:

src/client/common/utils/icons.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/client/api.ts
78.57% <0%> (-14.29%)
:arrow_down:

src/client/datascience/cellFactory.ts
58.75% <0%> (-12.5%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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

Please add a news entry file

Note latest jedi module installable through pip is 0.15.2, i.e python -m pip install -U jedi==0.16.0 fails.
https://pypi.org/project/jedi/
You can let us know when it's been released there and we'll reopen this.


Added Snake game

Description 📜
I make this game with help of Javascript, it has different sound effects.
Fixes #589

Type of change 📝
Please delete options that are not relevant. And in order to tick the check box just put x inside them for example [x] like this

[x] Add a new project

Domain of Contribution 📊
Please delete options that are not relevant. And in order to tick the check box just put x inside them for example [x] like this

[x] Project using HTML, CSS & JS

Checklist ✅
Please delete options that are not relevant. And in order to tick the check box just put x inside them for example [x] like this

[x] I have performed a self-review of my own code or work.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸

Live Demo
Play here

This PR is invalid as this project is already in this repo. You can create some unique projects and create the issues.


Add another example project in React for mobx-state-tree implementation

The example project will be used for a learning purpose. We'd like to see how far can we implement mobx-state-tree to a react project.
Requirement

Please put the example project in a new folder in the examples folder,
Use these fetch-data-from-api and redux-devtools-implementation  example projects as the structure reference, and finally
Create a pull request and then type in the description about what does the mobx-state-tree do in the project.

Closed because the event ends.


Paper trading is broken

it seems like the gateway connects live trading fine, but paper trading is broken, the 2FA push notification is never delivered

it seems like the gateway connects live trading fine, but paper trading is broken, the 2FA push notification is never delivered

I think paper trade account should be fine. My automatic test is also using paper trade account and result is fine.
https://github.com/manhinhang/ib-gateway-docker/actions/runs/8674090878/job/23786072425

I see... probably something is broken for my accounts, the error message is exactly the same as in #71 so I think I'm not alone

I see... probably something is broken for my accounts, the error message is exactly the same as in #71 so I think I'm not alone.
For context, I'm using the same account for live/paper trading, and I just can't receive the 2FA notification for paper account.

My paper trade account is not required 2FA, I think your issue related account settings.


Add refresh endpoint

Overview

Add refresh token endpoint
Changes Made

Add endpoint /refresh/ to refresh session given the correct refresh token
Test Coverage

refresh token test that checks if session token, refresh token, and expiration date is 1. changed and 2. returned

I only see one test case, 'refresh token' which isn't descriptive enough. There should be 3 test cases refresh expired access token, refresh unexpired access token and refresh expired refresh token since those are 3 distinct cases.
resell as a pod decided against expiring refresh tokens for now – will add that later


Illegal package names generated when YAML filename contains dashes

When you use dashes in your YAML file name, like "my-api.yaml", then it won't compile, since the package name will be
package my-api.yaml

and it cannot contain dashes.

Fixed in https://github.com/zalando/play-swagger/commit/e587458f21b93797b4c98a2564fd280e44491cf8

Fixed in 0.1.5


Not working on Android 9 Beta (June 5, 2018 build)

After updating to the June 5 build of Android 9 Beta, IrssiNotifier appears to have stopped working. I wasn't getting any notifications so I decided to check my token, clear the data & cache and reinitialize the app.
Now I'm stuck on "Registering to GCM..." which never completes. Running the app also pops up a warning that it's been built for an old version of Android and may not work properly.

Hmm... That's weird. I don't have Android 9 easily available for me yet, so it's not easy to test.
Checking out the Android 9 developer documentation I can't see any easy explanations why it wouldn't work any more.
Have you tried restarting your device? 😄

Yes, I have :)
Anything I could provide then?

Updated to July 5, 2018 build. The issue still persists.

Still not working on Android 9 - Build PPR1.180610.009

My new PH-1 is Android 9 and IrssiNotifier+ is stuck on "Registering to GCM...". Working great on my Nexus6p with Android 8.1.0 for now. Let me know if there is anything I can test.

I only get a warning that Irssinotifier is build for older version of android, but the application actually works without issues with my Pixel. I have not made any changes or re-registered since updating to android 9.

I get the same warning about the older version of Android on my PH-1 with both IrssiNotifier and IrssiNotifier+. Each waits on  "Registering to GCM..." indefinitely.
I wiped and installed from the factory image. @hefax did you upgrade from a previous version of Android?

Yes, I did an upgrade from previous version of android. So the service was registered already for my accounts/scripts.

For the record, I'm on Pixel 2 XL. I'm running v9 stable now but, as noted by others, it's still broken in exactly the same way.

Hopefully I'll get Android 9 on my phone (OnePlus 3t) soon-ish so I can properly take a look at this. If not I'll have to try to fix it on emulator.
Logs could contain some clues, if someone with issues could post a logcat with all output from IrssiNotifier (each log message should contain irssinotifier in the tag).

From starting the app, I think...
08-26 22:36:55.474  1162  4873 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.IrssiNotifierActivity bnds=[854,2397][1123,2778]} from uid 10015
08-26 22:36:55.514  1162  1209 I ActivityManager: Start proc 24171:fi.iki.murgo.irssinotifier.plus/u0a214 for activity fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.IrssiNotifierActivity
08-26 22:36:55.521 12598 12598 I Finsky  : [2] com.google.android.finsky.externalreferrer.u.c(15): Package first launch for fi.iki.murgo.irssinotifier.plus
08-26 22:36:55.537 12598 12598 I Finsky  : [2] com.google.android.finsky.externalreferrer.f.a(85): Backfilling empty external referrer for fi.iki.murgo.irssinotifier.plus
08-26 22:36:55.598 24171 24171 I fi.iki.murgo.irssinotifier.IrssiNotifierActivity: Startup
08-26 22:36:55.601 24171 24171 D fi.iki.murgo.irssinotifier.IrssiNotifierActivity: Asking for initial settings
08-26 22:36:55.602  1162  2932 I ActivityManager: START u0 {cmp=fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.InitialSettingsActivity} from uid 10214
08-26 22:36:55.918   610  1853 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen fi.iki.murgo.irssinotifier.plus#0
08-26 22:36:55.918   610  1853 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen fi.iki.murgo.irssinotifier.plus#0
08-26 22:36:56.055   610   648 W SurfaceFlinger: Attempting to set client state on removed layer: Surface(name=AppWindowToken{690ba5f token=Token{f4d62fe ActivityRecord{d6cdeb9 u0 fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.IrssiNotifierActivity t8618}}})/@0x1a92f0d - animation-leash#0
08-26 22:36:56.055   610   648 W SurfaceFlinger: Attempting to destroy on removed layer: Surface(name=AppWindowToken{690ba5f token=Token{f4d62fe ActivityRecord{d6cdeb9 u0 fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.IrssiNotifierActivity t8618}}})/@0x1a92f0d - animation-leash#0
08-26 22:37:09.526 24171 24171 D fi.iki.murgo.irssinotifier.InitialSettingsActivity: Changing state: 0
08-26 22:37:09.541 24171 24199 I fi.iki.murgo.irssinotifier.GCMRegistrationTask: Registering to GCM
08-26 22:37:09.543 24171 24199 D GCMRegistrar: resetting backoff for fi.iki.murgo.irssinotifier.plus
08-26 22:37:09.551   610   610 D SurfaceFlinger: duplicate layer name: changing fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.InitialSettingsActivity to fi.iki.murgo.irssinotifier.plus/fi.iki.murgo.irssinotifier.InitialSettingsActivity#1
08-26 22:37:09.552 24171 24199 V GCMRegistrar: Registering app fi.iki.murgo.irssinotifier.plus of senders<PHONE_NUMBER>47

Nothing happens after this. The screen is stuck on "Registering to GCM...".

Chiming in with a "me too". Same apparent error, "Registering to GCM", nothing seems to help.
Pixel 1, Android 9 (patch level: September 5, 2018)

#metoo let's hope for a update soon!
Oneplus 6, pie

Some quick debugging on my OnePlus 6 running Pie has revealed that GCMIntentService.registerToGcm(...) returns very quickly without firing the callback, and thus the while(!done) loop in GCMRegistrationTask causes it to spinlock.
I modified GCMIntentService.registerToGcm(...) to be the following:
    public static void registerToGcm(Context context) throws Exception {
        Log.d(TAG,"GCM - Checking device");
        GCMRegistrar.checkDevice(context);
        Log.d(TAG,"GCM - Checking manifest");
        GCMRegistrar.checkManifest(context);
        Log.d(TAG,"GCM - registering");
        GCMRegistrar.register(context, SENDER_ID);
        Log.d(TAG,"GCM - Registered");

        boolean registered = GCMRegistrar.isRegistered(context);

        if(!registered) {
            throw new Exception("Not registered!");
        }
    }

... and I ended up getting my debugging exception raised pretty quickly after all four log messages are logged. It seems that the GCM registration is failing but not throwing an exception for some reason.
I'm hesitant to spend more time on this given GCM's imminent deprecation, and I am wondering if it's not working on Pie because of GCM's imminent deprecation. I'm also unsure if it's failing for me in debug mode because I'm not the app developer, or if it's an actual reproduction of the problem. The lack of error message here is mildly infuriating.
The full log of my debug session is below - beware I have had to make quite a few changes to this to get it to build and run on my machine, also listed below. I'm also aware that there's probably going to be a lot of crossover to #182 with this too.
Debug log
$ adb shell am start -n "fi.iki.murgo.irssinotifier/fi.iki.murgo.irssinotifier.IrssiNotifierActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: fi.iki.murgo.irssinotifier | fi.iki.murgo.irssinotifier.test
Waiting for application to come online: fi.iki.murgo.irssinotifier | fi.iki.murgo.irssinotifier.test
Connecting to fi.iki.murgo.irssinotifier
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/System.out: Debugger has connected
    waiting for debugger to settle...
Connected to the target VM, address: 'localhost:8612', transport: 'socket'
I/chatty: uid=10223(fi.iki.murgo.irssinotifier) identical 5 lines
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1307)
I/o.irssinotifie: The ClassLoaderContext is a special shared library.
W/o.irssinotifie: JIT profile information will not be recorded: profile file does not exits.
I/chatty: uid=10223(fi.iki.murgo.irssinotifier) identical 10 lines
W/o.irssinotifie: JIT profile information will not be recorded: profile file does not exits.
I/Perf: Connecting to perf service.
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
W/o.irssinotifier: type=1400 audit(0.0:399811): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
I/InstantRun: starting instant run server: is main process
I/fi.iki.murgo.irssinotifier.IrssiNotifierActivity: Startup
D/fi.iki.murgo.irssinotifier.IrssiNotifierActivity: Asking for initial settings
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@7872e66
D/OpenGLRenderer: Skia GL Pipeline
W/o.irssinotifier: type=1400 audit(0.0:399813): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@fb5a697[InitialSettingsActivity]
I/Adreno: QUALCOMM build                   : 0bf40b0, I486bafd568
    Build Date                       : 08/22/18
    OpenGL ES Shader Compiler Version: EV<IP_ADDRESS>
    Local Branch                     :
    Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.7.3.R<IP_ADDRESS>.423.039
    Remote Branch                    : NONE
    Reconstruct Branch               : NOTHING
    Build Config                     : S P 6.0.3 AArch64
W/RenderThread: type=1400 audit(0.0:399815): avc: denied { search } for name="proc" dev="debugfs" ino=15046 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:qti_debugfs:s0 tclass=dir permissive=0
I/Adreno: PFP: 0x016ee170, ME: 0x00000000
I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 1
    android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 2
D/fi.iki.murgo.irssinotifier.InitialSettingsActivity: Changing state: 0
W/o.irssinotifie: Verification of java.lang.Boolean fi.iki.murgo.irssinotifier.GCMRegistrationTask.doInBackground(java.lang.Void[]) took 208.218ms
W/o.irssinotifier: type=1400 audit(0.0:399816): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
W/o.irssinotifier: type=1400 audit(0.0:399818): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
W/o.irssinotifier: type=1400 audit(0.0:399820): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
W/o.irssinotifier: type=1400 audit(0.0:399822): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
I/fi.iki.murgo.irssinotifier.GCMRegistrationTask: Registering to GCM
D/fi.iki.murgo.irssinotifier.GCMIntentService: GCM - Checking device
D/fi.iki.murgo.irssinotifier.GCMIntentService: GCM - Checking manifest
D/fi.iki.murgo.irssinotifier.GCMIntentService: GCM - registering
D/GCMRegistrar: resetting backoff for fi.iki.murgo.irssinotifier
V/GCMRegistrar: Registering app fi.iki.murgo.irssinotifier of senders<PHONE_NUMBER>47
D/fi.iki.murgo.irssinotifier.GCMIntentService: GCM - Registered
E/fi.iki.murgo.irssinotifier.GCMRegistrationTask: Error trying to register to GCM
    java.lang.Exception: Not registered!
        at fi.iki.murgo.irssinotifier.GCMIntentService.registerToGcm(GCMIntentService.java:43)
        at fi.iki.murgo.irssinotifier.GCMRegistrationTask.doInBackground(GCMRegistrationTask.java:32)
        at fi.iki.murgo.irssinotifier.GCMRegistrationTask.doInBackground(GCMRegistrationTask.java:7)
        at android.os.AsyncTask$2.call(AsyncTask.java:333)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)
D/DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@fb5a697[InitialSettingsActivity]
W/o.irssinotifier: type=1400 audit(0.0:399826): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
    type=1400 audit(0.0:399827): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
W/o.irssinotifier: type=1400 audit(0.0:399828): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
E/libc: Access denied finding property "vendor.perf.iop_v3.enable.debug"
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
W/o.irssinotifier: type=1400 audit(0.0:399830): avc: denied { read } for name="u:object_r:vendor_iop_prop:s0" dev="tmpfs" ino=22369 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_iop_prop:s0 tclass=file permissive=0
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"
E/libc: Access denied finding property "vendor.perf.iop_v3.enable"
    Access denied finding property "vendor.perf.iop_v3.enable.debug"

Additional changes made

gradle tools upgraded from 2.0.0-beta7 to 3.2.1
Added google maven repository
compileSdkVersion bumped to 25
targetSdkVersion bumped to 25
minSdkVersion bumped to 14
Added version as a flavorDimension, added dimension to both free and pro product flavours
Added useLibrary 'org.apache.http.legacy' to gradle config.
Removed com.actionbarsherlock:actionbarsherlock as a dependency, replaced with com.android.support:appcompat-v7, made associated changes to IrssiNotifierActivity and replaced theme inheritance.

UserHelper
Added this to the start of getAccounts(...):
        if (ContextCompat.checkSelfPermission(context, android.Manifest.permission.GET_ACCOUNTS) != PackageManager.PERMISSION_GRANTED) {
            ActivityCompat.requestPermissions((Activity)context, new String[]{android.Manifest.permission.GET_ACCOUNTS}, 0);
        }

Thanks @stwalkerster!
Could you do a PR from your changes? I started trying to replicate this issue with debugger couple of days ago but didn't have enough time as many of the tools in the chain were deprecated and didn't work.
Damn projects melting on their own, I haven't done any Android developing for quite some time so my environment isn't nearly up to date :P
If you could send a PR with the newer build stuff I'd appreciate it so I could focus on the real issue (which might very well be the GCM phase out).

Yeah, it is broken on Emulator running Pie too. Seems like maybe updating to newer Google Cloud Messaging libs might resolve this, but I'm going to do the Firebase migration since the GCM is deprecated anyways.
It shouldn't be a big job. FCM is thankfully really close to GCM and it's backwards compatible so no need to update all devices. The cloud messaging Android APIs are so much cleaner now than what they were in 2012 when I first created this project. So it's mostly deleting old bloat and just some lines of new stuff.
When it's done, I hope some of you with actual Android 9 devices will test APK I'll provide so I can know the app works on actual devices.

Hoo boy... I got it all fixed and running and just noticed that Google Play doesn't allow apps targeting lower than API level 26 starting this November, so I need to target newest API level. This of course happens to have breaking changes to the way the app authenticates to the server.
Patience is a virtue they say.

This should finally be fixed!
There was quite a few things I had to fix to make it work on Android 9 but now as a result we have Notification Channels on Android 8+ & Firebase messaging & bunch of bugfixes.
Tested the fixes only on emulator so I can't know for sure if it works on real Android 9 phones, someone please confirm it works after you update. Update is live on Google Play for both IrssiNotifier and IrssiNotifier+.

Just updated and it seems to be working again for me! Thanks a lot :)

FWIW, also confirming. Cheers.


Configuration for xff_num_trusted_hops

Please describe your use case / problem.
Load balancers and other trusted proxies can add multiple x-forwarded-for entries to headers before Ambassador receives the request. In this case, the remote address will be deduced incorrectly. Envoy has an underlying configuration for this called xff_num_trusted_hops.
Describe the solution you'd like
Being able to configure xff_num_trusted_hops along with use_remote_address in the Ambassador configuration.
Describe alternatives you've considered
I was unable to customize the envoy.j2 template, I kept seeing Invalid envoy config. I don't have time to pursue a solution to that right now, so instead I'm using the auth service to build a custom header that has the correct IP address.

For the Invalid envoy config error, see https://github.com/datawire/ambassador/issues/771.


Unable to parse request payload when creating services on Microsoft.DocumentDB/databaseAccounts

Bicep version
Bicep CLI version 0.27.1 (4b41cb6d4b)
Describe the bug
When trying to create a services child resource on Microsoft.DocumentDB/databaseAccounts@2024-02-15-preview it gives me the error that the payload cannot be parsed.
https://learn.microsoft.com/en-us/azure/templates/microsoft.documentdb/2024-02-15-preview/databaseaccounts/services?pivots=deployment-language-bicep#resource-format
To Reproduce
param cosmosAccountName string
param enableDedicatedGateway bool

resource cosmosAccount 'Microsoft.DocumentDB/databaseAccounts@2024-02-15-preview' = {
  name: cosmosAccountName
  location: location
  kind: 'GlobalDocumentDB'
  tags: {
    defaultExperience: 'Core (SQL)'
    'hidden-cosmos-mmspecial': ''
  }
  properties: {
    publicNetworkAccess: 'Enabled'
    enableAutomaticFailover: false
    enableMultipleWriteLocations: false
    isVirtualNetworkFilterEnabled: false
    virtualNetworkRules: []
    disableKeyBasedMetadataWriteAccess: false
    enableFreeTier: false
    enableAnalyticalStorage: false
    analyticalStorageConfiguration: {
      schemaType: 'WellDefined'
    }
    databaseAccountOfferType: 'Standard'
    enableMaterializedViews: false
    defaultIdentity: 'FirstPartyIdentity'
    networkAclBypass: 'None'
    disableLocalAuth: false
    enablePartitionMerge: false
    enablePerRegionPerPartitionAutoscale: false
    enableBurstCapacity: false
    enablePriorityBasedExecution: false
    minimalTlsVersion: 'Tls12'
    consistencyPolicy: {
      defaultConsistencyLevel: 'Session'
      maxIntervalInSeconds: 5
      maxStalenessPrefix: 100
    }
    locations: [
      {
        locationName: 'West Europe'
        failoverPriority: 0
        isZoneRedundant: false
      }
    ]
    cors: []
    capabilities: [
      {
        name: 'EnableServerless'
      }
    ]
    ipRules: []
    backupPolicy: {
      type: 'Periodic'
      periodicModeProperties: {
        backupIntervalInMinutes: 240
        backupRetentionIntervalInHours: 8
        backupStorageRedundancy: 'Geo'
      }
    }
    networkAclBypassResourceIds: []
    diagnosticLogSettings: {
      enableFullTextQuery: 'None'
    }
    capacity: {
      totalThroughputLimit: 4000
    }
  }

  resource dedicatedGateway 'services' = if (enableDedicatedGateway) {
    name: 'gateway'
    properties: {
      instanceCount: 1
      instanceSize: 'Cosmos.D4s'
    }
  }
}

Additional context
This is being deployed to an existing cosmos db that does not yet have a dedicated gateway.
Error from Azure Portal deployments on the resource group:
{
  "code": "DeploymentFailed",
  "target": "/subscriptions/xxxx/resourceGroups/dev-rg/providers/Microsoft.Resources/deployments/cosmosDb",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
  "details": [
    {
      "code": "BadRequest",
      "target": "/subscriptions/xxxx/resourceGroups/dev-rg/providers/Microsoft.DocumentDB/databaseAccounts/dev-cosmos/services/gateway",
      "message": "Unable to parse request payload. \r\nActivityId: 74d83e42-8fde-4de4-86df-a01a967e3b63, Microsoft.Azure.Documents.Common/2.14.0"
    }
  ]
}

After looking through issues I found https://github.com/Azure/bicep-types-az/issues/2043
Correct configuration is as following:
resource dedicatedGateway 'services' = if (enableDedicatedGateway) {
    name: 'SqlDedicatedGateway'
    properties: {
      instanceCount: 1
      instanceSize: 'Cosmos.D4s'
      serviceType: 'SqlDedicatedGateway'
    }
  }

For Cosmos DB Dedicated Gateway the name has to be SqlDedicatedGateway and a property named serviceType needs to be set to SqlDedicatedGateway. This is not documented anywhere and bicep doesn't recognize the serviceType.
I'm keeping this issue open because bicep should recognize a problem here and warn me about it.

Tagging @markjbrown - any documentation we can update or swagger enums we can add to reduce friction here?


File Manager: First load broken navigation actions

After very first File Manager load the navigation path dropdown and crumbs don't work correctly, resetting to the root path.

Do you mean under 'others'? I was noticing this issue. My work around (other than searching for file manager) currently was to automatically route users to file manager or to their only available module, since it's likely they'll only have file manager anyway. Interested to see if you find a fix for this though.

I have no idea what are you talking about?
The issue I described happens on the first time a tab is instantiated. It's healed by clicking reload button.
Do you have some other issue?

No, this was my issue. It was happening a few times and when I went to replicate it was fine.


ICE Agent can not be restarted when gathering

In recent versions of the Unnamed SFU, the client will restart ICE whenever the connection's ICE state goes into failed.  I'm occasionally getting the following error:
ICE Agent can not be restarted when gathering

It happens somewhere in the code that handles incoming offers; I'd need to add more detailed logging in order to know which exact function triggers the error.  How do I avoid this problem?

@jech This is really just a deficiency of Pion/ice! I don’t think it is terribly hard to fix either.
I think it will just take a careful design concurrency wise.
Before that improvement lands you can just not allow a restart until the nil candidate has been emitted.

I've implemented a workaround (different than the one you suggest), so this is no longer urgent.


Console warning: the child component modifies the properties of the parent component

Version
3.2.20
Reproduction link
sfc.vuejs.org/
Steps to reproduce
In review link, enter the value y in the input box on the right, and the result is correct. But the console reports a warning.Such as : [Vue warn]: Component emitted event "update:value" but it is neither declared in the emits option nor as an "onUpdate:value" prop.

What is expected?
I follow the document and don't want  get a warning in console.
doc such as:
https://v3.vuejs.org/guide/migration/v-model.html#_3-x-syntax

`
What is actually happening?
get a warning in console

should be
const emits = defineEmits(['update:value']);


Made adding text via "add new text" or (T+) to use same default font

Summary
Made adding text via "add new text" or (T+) to use same default font
Relevant Technical Choices

Default font is the same settings as body text, however doesn't use the same PRESETS constant. (This is so that it isn't tied to presets when we implement the ability to edit presets in the future).
Created a new textPresets.js to deal with Presets and Default Font Style.
in textPane.js removed "getPresetById" since it wasn't being used anymore

Fixes #1204

Pinging @barklund @miina for Workspace pod approval. :)

Note: the description currently says that it fixes #1204, however, it looks like it addresses it partially. Could we perhaps update the description to mention that for clarity?


rename buildFieldView() to buildView()

Q
A

Bug Fix?
no

New Feature?
no

BC Breaks?
yes

Deprecations?
no

Fixed Tickets

License
MIT

Using Field is unnecessary here as the FieldType can only
be used for a field. It makes the API a little cleaner.

A new inspection was created.

The inspection completed: No new issues


Enabling terraform-aws hit issues

Describe the bug

An issue from Slack:
I have installed the kubevela-1.2.3 version(fresh installation, not upgrade), and I see the following issues I mentioned earlier.  Can you please take a look?

terraform-aws addon failing with the following error: (have updated vela cli version, Version: v1.2.3 GitRevision: git-fbef61d GolangVersion: go1.17.6)

vela addon enable terraform-aws AWS_ACCESS_KEY_ID=test11 AWS_SECRET_ACCESS_KEY=test11 AWS_DEFAULT_REGION=us-west-2
Error: render addon application fail: json: cannot unmarshal string into Go value of type map[string]interface {}

I tried a couple of times, one or two times it was successful, but most times it failed.
To Reproduce

Expected behavior

Screenshots

KubeVela Version

Cluster information

Additional context

I did not hit the issue in Kubernetes v1.20.11. My KubeVela version is the same as yours.
➜  ~ vela addon enable terraform-aws AWS_ACCESS_KEY_ID=test11 AWS_SECRET_ACCESS_KEY=test11 AWS_DEFAULT_REGION=us-west-2
I0216 15:04:34.031354   86257 apply.go:107] "creating object" name="addon-terraform-aws" resource="core.oam.dev/v1beta1, Kind=Application"
I0216 15:04:35.405290   86257 apply.go:107] "creating object" name="addon-secret-terraform-aws" resource="/v1, Kind=Secret"
Addon: terraform-aws enabled Successfully.

What's the version youre vela cli ?

What's the version of your vela cli ?

No cli. https://cloud-native.slack.com/archives/C01BLQ3HTJA/p1644994323212209?thread_ts=1643823128.606429&cid=C01BLQ3HTJA


Restore Colab support for example notebooks

This PR restore the support for Google Colab for the example notebooks previously removed in #152.

📚 Documentation preview 📚: https://jaxsim--154.org.readthedocs.build//154/

I had a small issue on the visualization that has been solved in https://github.com/ami-iit/jaxsim/pull/154/commits/bea65bc1a7ac331ae52a2219fe02e58fe3406a30. Apparently in Colab, libGL requires a DISPLAY environment variable to be set. For this reason I used xvfb to create a dummy one.
Ready for review

Apparently in Colab, libGL requires a DISPLAY environment variable to be set. For this reason I used xvfb to create a dummy one.

That is strange, as long as you use egl that should not be necessary. Not blocking the PR, but what was the error?

Apparently in Colab, libGL requires a DISPLAY environment variable to be set. For this reason I used xvfb to create a dummy one.

That is strange, as long as you use egl that should not be necessary. Not blocking the PR, but what was the error?

Thanks, I wonder why this is not happening in official mujoco colabs. Anyhow, no problem.

Thanks, I wonder why this is not happening in official mujoco colabs. Anyhow, no problem.

I have no idea to be honest, I have also seen that in Mujoco it works

Thanks, I wonder why this is not happening in official mujoco colabs. Anyhow, no problem.

I have no idea to be honest, I have also seen that in Mujoco it works

Probably the difference is due to the fact that glfw is also installed or somehow is selected as backend?


Help Me integrate YouTube Music App Android with Power Amp Pro EQ

It's not my SRTONG SUIT...Ya Knows Guys?

Strike two - @HammaFist70 - you know that this is the wrong place to post this issue.
Your first strike ( #2120 ) I closed.
On your third strike, I will ban you from this repo and report you to GitHub as a spammer.
Do some Google searches to find the appropriate place to ask your questions and stop spamming random repos.


Problem with wholly table which contains a datepicker table

I have a table which is highlighted by wholly, and that's great. However, inside some of the table cells, I am using the bootstrap datepicker, which generates its own table. If I click the datepicker, and then mouse-over the datepicker's tooltip, then every one of these cells generates this unhelpful console.log:

Uncaught TypeError: Cannot read property '1' of undefined at HTMLTableCellElement.

I don't actually need wholly to work within the embedded datepicker (indeed, it's best that it doesn't), but it would be nice to get rid of the error messages. Maybe we need a way to tell wholly that a table within a table should not be treated as inheriting the highlightable class?

Here is the solution to this.
      table.on('mouseenter', 'td, th', function () {
            var target = $(this),
                rowspan = parseInt(target.attr('rowspan'), 10) || 1,
                colspan = parseInt(target.attr('colspan'), 10) || 1,
                offsetInMatrix = target.data('wholly.offsetInMatrix');

	//Avoid issues with programmatically generated tables in tempusdominus datepicker.
	if (typeof(offsetInMatrix) === "undefined"){
	    //console.log ("Undefined offsetInMatrix, ignoring.");
	    return;
	}

Here is the solution to this.
      table.on('mouseenter', 'td, th', function () {
            var target = $(this),
                rowspan = parseInt(target.attr('rowspan'), 10) || 1,
                colspan = parseInt(target.attr('colspan'), 10) || 1,
                offsetInMatrix = target.data('wholly.offsetInMatrix');

	//Avoid issues with programmatically generated tables in tempusdominus datepicker.
	if (typeof(offsetInMatrix) === "undefined"){
	    //console.log ("Undefined offsetInMatrix, ignoring.");
	    return;
	}


gparted: 0.32.0 -> 0.33.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gparted/versions.
meta.description for gparted is: '"Graphical disk partitioning tool"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0/bin/gparted had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0/bin/.gparted-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0/bin/.gpartedbin-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0/bin/gpartedbin had a zero exit code or showed the expected version
0 of 4 passed binary check by having a zero exit code.
0 of 4 passed binary check by having the new version present in output.
found 0.33.0 with grep in /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0
directory tree listing: https://gist.github.com/76ff8b12d718a78dd9e5c0c97f95a946
du listing: https://gist.github.com/2de71b626f87d271adc3b0699d017bd3

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
gparted

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gparted https://github.com/r-ryantm/nixpkgs/archive/c5fbcb76c69a1acf37d239b99d57172ea942ff3b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0
ls -la /nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0/bin

gparted fails with:
======================
libparted : 3.2
======================
/nix/store/h6yr54ggrimb6zbbkwgbql27bvfa44md-gparted-0.33.0/bin/.gparted-wrapped: line 202: 17108 Segmentation fault      $BASE_CMD
--runtime cannot be used with unmask

I see the same messages but gparted does not segfault. It works as expected.

https://gparted.org/news.php?item=221

https://sourceforge.net/projects/gparted/files/gparted/gparted-0.33.0/gparted-0.33.0-README.md/view

works for me, no segfault

@fpletz I have observed this problem with other GUI/Xwindows applications on master (I run NixOS 18.09 with GNOME3). I will try with a Virtualbox and nixos-unstable to see if it works, but I think it is OK to merge it.


[Impeller] Glyphs from Apple Color Emoji on iOS look less saturated.

Repro:
Run the program at https://github.com/indjec/ui-label
The emoji in the UIKit label seem to have more saturated colors than the emoji from Flutter. Perhaps a wide gamut issue? @gaaclarke might know?

wide gamut is off right now so its not that.

I mean they might need wide gamut to render with the right colors

Is this compared to UIKit or Skia?

I did a side by side comparison with Skia and they looked the same to me. Assuming this is outdated.


ocaml-extlib: update to 1.7.9

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

ocaml-extlib: update to 1.7.9
Change Log

../SPECS-EXTENDED/ocaml-extlib/ocaml-extlib.signatures.json
../SPECS-EXTENDED/ocaml-extlib/ocaml-extlib.spec
../cgmanifest.json
ocaml-extlib-1.7.9-1.azl3.src.rpm.log
Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

Pipeline build id: xxxx

This package has been built successfully without dependency errors


Inventory file doesn't exist after reference architecture is deployed on AWS

After the reference architecture is deployed on EC2 using ose-on-aws.py no inventory file is created, I believe this is important as one might want to modify the cluster using the playbooks from openshift-ansible, according to the advanced installation docs.
Even the AWS reference architecture instructions README have a teardown section that needs an inventory file: https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/aws-ansible#teardown
Is there an easy way someone can generate the inventory file after the install or should the installer be modified to create this file?

The inventory defined in the tear-down is the dynamic inventory. I can create a static output that can be executed at anytime.


fix amm-template.sh: AMM_VERSION gets ignored in AMM_EXEC_PATH

The AMM_VERSION gets ignored in AMM_EXEC_PATH
Changing Amm version wouldn't work if you already had a different Amm version installed for the same Scala version.

(Pushed a merge commit to trigger CI.)

Thanks for this!


Use the CNI interface IP as src ip for g/w hostnetworking traffic

For hostnetworking traffic from g/w node , use the CNI interface ip
as the source IP instead of vxlan-tunnel interface ip.
Fixes: #1430
Fixes: #1486
Signed-off-by: Aswin Surayanarayanan<EMAIL_ADDRESS>

@mangelajo can you pls take a look at this PR?


function get_queue_is_full is not working properly

If "queue_size_in_bits" isn't divisible by "v_count" the below IF statement from ti_data_queue_pkg.vhd doesn't trigger.
The IF statement should rather be bigger than or equal, instead of only equal.
"if v_count(queue_idx) >= v_queue_size_in_bits(queue_idx) then"
//--- Code snippet from ti_data_queue_pkg.vhd ---//
-- get_queue_is_full
impure function get_queue_is_full(
queue_idx : natural
) return boolean is
begin
check_value(v_queue_initialized(queue_idx), TB_WARNING, "get_queue_is_full called, but queue " & to_string(queue_idx) & " not initialized.", v_scope.all, ID_NEVER);
if v_count(queue_idx) = v_queue_size_in_bits(queue_idx) then
return true;
else
return false;
end if;
end function;

Hi,
Thank you for reporting this issue.
We will fix this in the next release.
Best regards,
Arild

Fix was released in v2018.07.02


feat: Add grip icons

Adds:

Horizontal grip icon
Vertical grip icon

Thanks for your contribution @ericfennis 🙏 Love these icons 😍

@jletey Thanks!! No problem.
I'm happy that we have a community to build on those icons! I will share more that I tried to contribute to feather.


Convert all Azcorra 2023 fiber photometry sessions

Needs to be reviewed after #24

Stub example 20200205-0001.nwb
PR should be reviewed after #24


Support Take and TakeLast filter.

Add Take and TakeLast filter.
func (o Observable) Take(n int) Observable
func (o Observable) TakeLast(n int) Observable

http://reactivex.io/documentation/operators/take.html
http://reactivex.io/documentation/operators/takelast.html

@jochasinga
Is it better to discuss before each PR or, open issue and send PR can be parallel?

@pocket7878 it can be parallel. Just that if we decide not to implement the feature it will save you the effort by not submitting the PR first. However, if you already planned to implement on your own fork then there's no reason why you shouldn't pay it backward :1st_place_medal:
@pocket7878 great work anyway. I'll check the links out.


Feature: Add basic array related (using Two Pointers approach) problems in Java

Total count of problems (5 - 10)
Add question on top of program
Kindly explain approach with comments

can u please assign this issue to me?


Fixed to use the 4th place, where TT updates the revision with the date.

Matches the .tt file, and avoids <IP_ADDRESS> everywhere.

Yep, looks like I somehow missed verifying the output of the _revision variable when converting all this.

Released (finally) in v0.9.42.


我想在jetson上部署，使用tensorrt加速，作者有这方面的计划吗？

@WhXl Hi, the deployment is useful but we temporally do not have related plans.

Use SDK Manager to install the system and CUDA,tensorrt, CUDNN, etc. Then use the appropriate programs to accelerate the model and generate .engine files (e.g. .pt ->.onnx->.engine).
---原始邮件---
发件人: "Bin @.>
发送时间: 2021年12月22日(周三) 晚上6:21
收件人: @.>;
抄送<EMAIL_ADDRESS>主题: Re: [researchmm/Stark] 我想在jetson上部署，使用tensorrt加速，作者有这方面的计划吗？ (Issue #60)
@WhXl Hi, the deployment is useful but we temporally do not have related plans.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

@MasterBin-IIAU
hi,professor:
i also try to convert onnx model to TensorRT,use trtexec, but i got an error like this:
ERROR: builtin_op_importers.cpp:980 In function importGather:
[8] Assertion failed: data.getType() != nvinfer1::DataType::kBOOL
oh,can you tell me how to fix this problem?
please help!


Video on installation of oracle database operator and common tasks

Dear Sir
It would be good for the user community if a video on operator installation and a video of common tasks with the operator is created

The following video shows how to perform the lifecycle of the currently supported database deployments. The installation is a single command (after the pre-requisites), but we will record a video about it.


delete use of the chlorine crate

Hello!
It appears that you're currently still using the chlorine crate. While I do love the dedication, since those definitions were added to core::ffi in 1.64, and since your readme has an msrv listed of 1.70, I've gone ahead and deleted your use of chlorine and moved you over to just using core::ffi. I hope everything has been set right, it passed a local cargo test.

thank you lokathor!!


Added reset values for pwr_ctrl_out in housekeeping

Added reset values for pwr_ctrl_out in housekeeping (fixes caravel github issue #106).

@RTimothyEdwards There's a conflict in the manifest, I am not sure what does the manifest do, but can you please resolve the conflict?

I don't know what the manifest does, either.

The manifest file always regenerates itself automatically after every push, so it is a constant source of conflicts which don't matter anyhow, since the manifest will be regenerated again either way.


next/dynamic load antd error react #130

when use next/dynamic loding a component include antd , something wrong with react 130# error .
if i remove dynamic load it work well .
Context

Tech
Version

next
3.2.2

node
7.10.1

OS
windows

browser
chrome

etc

app.js:39 Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=object&args[]= Check the render method of `t`. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Please provide an example of your code.

Hi,
Need change import antd in .babelrc
[         "transform-runtime",         [           "import", {             "libraryName": "antd",             "style": true           }         ]       ]

@vipnetvnn  not work because my project also have antd-mobile lib and antd lib

may be is the antd bug i change the pagnation ui cm  to render on client it works

I also have the same issue with antd.
The interesting part of it is that it does work on dev but not on prod ...

I am experiencing this #130 error also, although works in dev:
Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at r (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:64864)
at te (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:74495)
at createFiberFromElement (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:141590)
at c (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:76122)
at v (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:77619)
at b (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:78405)
at http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:80831
at u (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:83392)
at a (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:83288)
at beginWork (http://localhost:3000/_next/2f87a5c61d5514001a913d24d63f2535/app.js:15:85653)
I started getting the problem when trying to load a Module with XMLHttpRequest via a web worker, the way I am doing it feels pretty wrong!
`const work = new Worker('/static/worker.js');
work.addEventListener('message', (e) => {

const script = document.createElement('script');
let base64 = 'data:application/javascript;base64,';

try {
  base64 += btoa(unescape(encodeURIComponent(e.data)));
} catch(err) {
  let symbols = e.data.split(' ');
  for(let i = 0, l = symbols.length; i < l; i++) {
    let symbol = symbols[i];
    try {
      btoa(symbol);
    } catch(err) {
      let code = symbol.charAt(0).toString(16);
      while(code.length < 4) {
        code = '0' + code;
      }
      symbols[i] = '\\u' + code;
    }
  }
  base64 += btoa(symbols.join(''));
} finally {
  script.src = base64;
  document.body.appendChild(script);
}

setTimeout(() => {
  CanvasAnim = window.module.exports.default;

  this.setState({
    canvas: true
  });
}, 1);

}, false);

work.postMessage('getCanvasAnim');`

If I omit the CanvasAnim = window.module.exports.default, it will work again.
I was trying to expose the module as a library via webpack config, but was not getting any success.

That all occurs in component did mount of my index page, in case anybody is interested.


6pm d show current quarter

This PR fixes issue #32.
As a user who is viewing the courses table, I can only see information for the current quarter so that I do not get confused by previous or future classes.
Acceptance Criteria

Courses table should only show info for the current quarter.
Info should include: Course ID, Course name, Current quarter, first name, last name, and email

Previously, the courses table shows courses for all quarters. This PR changes this so that a user viewing the courses table can only see information for the current quarter so that they do not get confused by previous or future classes.

Looks like you're just short of 100% test coverage right now. Would you mind addressing this and re-requesting the staff tomorrow?

Please improve the description.
Fixes issue 32

is not enough.  First, please use #32 so that it links to the issue.  Second please copy the user story into the issue so that the reader knows at a high level what the PR is addressing without having to go hunting for the issue.
Finally, fix the test coverage.

Closing without merging---other teams' code have made this PR obsolete.  (The feature is already in the code base in an improved form, i.e. with setting the current quarter in the app rather than having it hard coded.)


Move WP-CLIENT-BRAND header to get_shared_appliances

Fixes https://github.com/home-assistant/core/issues/115130

Thanks again @NodeJSmith ! I just released v0.18.8.
If you can split your other changes in small PRs, that would be great!


Prediction Method

Dear author, how does your prediction section work? Do you predict the next value using the previous actual value, or do you use the already predicted values?

My other repository CEEMDAN-VMD-GRU might be easier to understand.  Most functions in this module use the previous actual value for one-step-ahead forecasting, unrelated to the test set length.
However, some methods have a step of fitting which will use the interprocess predicted value.  Or, some functions like rolling_predict() can reinput the predicted value to forecast several timesteps.


problems on samsung galaxy s7

On galaxy s7 i see only parts of "terms of use" and "privacy policy"

@ubiubi18 I've tested it on browserstack.com with galaxy s7 and couldn't reproduce.
Which browsera re you using?
can you verify it happens again?
can you also go directly to https://community.gooddollar.org/pp and see if that happens there also?

Community.gooddollar.org/pp works fine for me.
within the dapp the problem is still persistent if i use "samsung internet" (internal webbrowser). When i use firefox for android, the problem vanishes.


feat: turn data/projects into a markdown file

thoughts on turning this into markdown? might be easier to add to, but also not necessary
https://github.com/uclaacm/opensource/blob/938f3a7b4b2bba28ba093a8462950038ff6c5042/data/projects.ts#L6-L17

Instead of manually adding in a JSON object of projects, why don't we use the Github Developer APIs to programatically generate the list of projects to display? This would also enforce good convention by making our open-source projects properly detail their projects by adding in topics, links to their project, and more.

@mattxwang
what you could do is tag projects as acm/opensource and then have all open source projects have a file like opensource.yml and essentially u can just filter for repos with the tag and only render projects that have the right configurations…
even sexier would be to create an npm package to lint a config file to make sure all the configurations are up to date

Above all, people do not write documentation, and they do not write their documentation consistently. this is less of a technical problem and more of a large-scale bureaucracy problem. If you have suggestions, let me know what you think.

While it's true that not everyone writes documentation, I think that filling in repository fields that are made available through GitHub APIs: like descriptions of projects, links to deployments or websites detailing the project if they are made, descriptions, and more are good practice and imo enforcing that these fields are properly filled out can only be a good thing.

Not all of our projects live under the uclaacm org; AI has their own org, some stuff is under me, etc.

I personally think that ACM's projects should all be contained within the @uclaacm organization. However, we can combine octokit along with JSON/YAML/Markdown files for extra projects, or can also use octokit within acm AI's org as well to get their projects.
For extra metadata, I like Bryan's idea of adding in a .yml files specific for our projects, but we should try to fit in as much as we can into normal github repository information, like using the image from each repository's social media image preview and more.

Right, I think my point is more that it will be very hard to get people within ACM to add descriptions, tags, etc. to the existing (and old) repositories. I don't think this should be a barrier for you getting started - just something to keep in mind! If you go ahead with this approach, you could also make posts in the Slack, announcements at all-hands, etc. to make sure these things happen!
As for containing things within organizations - it's hard to move things since then it breaks permalinks, and for AI in particular they rely on the subdomain for their org for their website (i.e. uclaacmai.github.io). We could engineer a move over for them soon, though it would probably have to happen over the summer when no critical work is happening.
Overall, feel free to steer this in the direction that you're interested in; very down for you to take ownership for the project and see it get better!


regression in v2: the method as_display exists for reference &PathBuf, but its trait bounds were not satisfied the following trait bounds were not satisfied: std::path::PathBuf: core::fmt::Display which is required by &std::path::PathBuf: thiserror::__private::AsDisplay<'_>

/// The error type returned when `BTF` operations fail.
#[derive(thiserror::Error, Debug)]
pub enum BtfError {
    #[cfg(feature = "std")]
    /// Error parsing file
    #[error("error parsing {path}")]
    FileError {
        /// file path
        path: std::path::PathBuf,
        /// source of the error
        #[source]
        error: std::io::Error,
    },
}

error[E0599]: the method `as_display` exists for reference `&PathBuf`, but its trait bounds were not satisfied
    --> aya-obj/src/btf/btf.rs:36:13
     |
36   |     #[error("error parsing {path}")]
     |             ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: /Users/tamird/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/src/rust/library/std/src/path.rs:1158:1
     |
1158 | pub struct PathBuf {
     | ------------------ doesn't satisfy `std::path::PathBuf: core::fmt::Display`
     |
     = note: the following trait bounds were not satisfied:
             `std::path::PathBuf: core::fmt::Display`
             which is required by `&std::path::PathBuf: thiserror::__private::AsDisplay<'_>`

This code is here:
https://github.com/aya-rs/aya/blob/e3bfeb9dd65bd75bb50d111160ebe5e092f514f4/aya-obj/src/btf/btf.rs#L36
The failure can be seen here: https://github.com/aya-rs/aya/pull/1079

Ah this seems to be caused by impl AsDisplay for PathBuf sitting behind #[cfg(feature = "std")]: https://github.com/dtolnay/thiserror/blob/ad2f20b9f72d2ad998727c7ed1c1d4fc8b7c805a/src/display.rs#L25 (or more generally by the new std feature).


Pools with the same name in different namespaces vend IPs independently

Use the claim's namespace to filter in use IPs.
Fixes: #66
Co-authored-by: Edwin Xie<EMAIL_ADDRESS>

Oooh, we realized we didn't address Global IP Pool functionality. Don't merge! We'll update this PR tomorrow. Apologies.

Ok, coverage was added for global pools overlapping with namespaced pools, with the same name. This PR should be good to go.


Add Contra Costa County, CA

TO<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>SUBJECT: [INSERT UNIQUE SUBJECT LINE!]
MESSAGE: [DON’T FORGET TO PUT IN YOUR OWN INFORMATION!]
To the Contra Costa County Administrator and Board of Supervisors,
My name is [INSERT NAME], and I am a resident of [CITY] in Contra Costa County. Since the day after George Floyd’s death, there have been protests in cities across the United States demanding an end to racism and anti-Blackness. We must reevaluate, in a deep and meaningful way, the role of policing in our communities, as it disproportionately and unjustly impacts people of color. We can reimagine public safety, not as reactive violence in the face of emergencies, but as mediation and the de-escalation of conflict, along with increased access to social services.
While the 2020-2021 Recommended Budget for Contra Costa County has already been put together - including an increase of $7,210,904 in funding for the Sheriff-Coroner Department - it has not yet been approved. The Recommended Budget includes $255,146,498 allocated to the Sheriff-Coroner Department, 14% of the General Fund. I demand that you defund the Contra Costa County Sheriff, by significantly reducing their budget, and to re-invest those funds into community-led strategies for health and safety.
If you reduce the budget of the Sheriff-Coroner Department, resources will be made available that can be invested in community services and non-law enforcement emergency response teams. Many emergencies can be handled by healthcare workers, mental health professionals, and other trained professionals. Defunding the Sheriff’s Department is a process that must include the close collaboration of community leaders and organizations, to ensure that funds stay in the county and meet the needs of Black residents in particular. These redirected funds should also go towards affordable housing and services for the un-housed, education and youth programs, restorative justice, and community health.
Amid the dual public health crises of police violence and COVID-19, Contra Costa County cannot wait for a budget that supports community well-being. I urge you to make these changes in the 2020-2021 budget: to reduce funding for law enforcement, and invest in community services and healing instead.
Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

I made some slight changes to time sensitive information so that the template will last longer, as well as some readability edits:

TO<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>MESSAGE:
To the Contra Costa County Administrator and Board of Supervisors,
My name is [INSERT NAME], and I am a resident of [CITY] in Contra Costa County. Since the day after George Floyd’s death, there have been protests in cities across the United States demanding an end to racism and anti-Blackness. We must reevaluate, in a deep and meaningful way, the role of policing in our communities, as it disproportionately and unjustly impacts people of color. We can reimagine public safety, not as reactive violence in the face of emergencies, but as mediation and the de-escalation of conflict, along with increased access to social services.
The 2020-2021 Recommended Budget for Contra Costa County includes an increase of $7,210,904 in funding for the Sheriff-Coroner Department. The Sheriff-Coroner Department's budget is $255,146,498, or 14% of the General Fund. I demand that you defund the Contra Costa County Sheriff by significantly reducing their budget, and re-investing those funds into community-led strategies for health and safety.
If you reduce the budget of the Sheriff-Coroner Department, resources will be made available that can be invested in community services and non-law enforcement emergency response teams. Many emergencies can be handled by healthcare workers, mental health professionals, and other trained professionals. Defunding the Sheriff’s Department is a process that must include the close collaboration of community leaders and organizations, to ensure that funds stay in the county and meet the needs of Black residents in particular. These redirected funds should also go towards affordable housing and services for the un-housed, education and youth programs, restorative justice, and community health.
Amid the dual public health crises of police violence and COVID-19, Contra Costa County cannot wait for a budget that supports community well-being. I urge you to make these changes in the 2020-2021 budget: to reduce funding for law enforcement, and invest in community services and healing instead.
Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

on it


Changes to the Recognition of Regions

As per Board of Directors request via email. The WST is not making any political statements about China or Chinese diplomacy. We are acting on a binding instruction of our supervising Board authority.
Please direct all relevant discussions and opinions towards the public or internal mail threads. Discussion comments under this PR that go beyond the technical implementation will be disregarded.

As of writing this comment, the "Upcoming" tab on the homepage at https://live.worldcubeassociation.org/ does not show the intended flag from this PR next to "New Taipei Open 2023"

@gregorbg it shows up as expected for me. Can you try closing the WCA Live tabs and opening again or trying in incognito? It's likely a caching issue.

That was a caching issue indeed :facepalm:
But I am still surprised to see that it was a caching issue across reboots on my machine, is this something that you are controlling from the application side? Or is this my browser running haywire?

This happened a couple times and one theory I have is that on some devices the old service worker hasn't been deactivated yet (and it would do more aggressive caching). We used to have a service worker but it only caused troubles so I disabled it like 10 months ago. The confusing part is that it should definitely be deactivated if the user visited WCA Live several times since that change. Currently I don't have a better idea, we don't do any unusual caching and all assets have hash in their name.

Hm, in that case I guess we're as fine as we can reasonably be. Thanks!


Update edge-installer to support Fedora 36

This PR updates edge-installer to support Fedora 36.

@mcattamoredhat Could you please rebase on main, I added iot-installer test for fedora 36 in github workflow by commit https://github.com/virt-s1/rhel-edge/commit/279ef788d200684ec96da43faa52a1ebe54d31d8. After that, we can trigger some test for this PR. Thanks!

/test-f36-ng

/test-rhel-9-1-ng

/test-rhel-8-6-ng

/test-rhel-8-7-ng

/test-cs8-ng

/test-cs9-ng

/test-f36-ng

/test-rhel-9-1-ng

/test-rhel-8-7-ng

/test-cs8-ng

/test-cs9-ng


Weird error thrown

I have this code in a test:
person.isInState("Mood").should.be.true

The test is passing. But when I change the returned value by person.isInState("Mood") to false I get the following errors:
✖ 2 of 2 tests failed:

  0) Yobiengine should enter states serially: TypeError: Cannot set property 'failed' of undefined

  at Runner.fail (/usr/local/lib/node_modules/mocha/lib/runner.js:90:15)
      at next (/usr/local/lib/node_modules/mocha/lib/runner.js:294:12)
      at /usr/local/lib/node_modules/mocha/lib/runner.js:319:25
      at Array.1 (/usr/local/lib/node_modules/mocha/lib/runner.js:272:7)
      at EventEmitter._tickCallback (node.js:192:40)

  1) Yobiengine should enter states serially: TypeError: Cannot set property 'failed' of undefined

  at Runner.fail (/usr/local/lib/node_modules/mocha/lib/runner.js:90:15)
      at next (/usr/local/lib/node_modules/mocha/lib/runner.js:294:12)
      at /usr/local/lib/node_modules/mocha/lib/runner.js:319:25
      at Array.1 (/usr/local/lib/node_modules/mocha/lib/runner.js:272:7)
      at EventEmitter._tickCallback (node.js:192:40)

  ✖ 2 of 2 tests failed:

  0) Yobiengine should enter states serially: TypeError: Cannot set property 'failed' of undefined

  at Runner.fail (/usr/local/lib/node_modules/mocha/lib/runner.js:90:15)
      at next (/usr/local/lib/node_modules/mocha/lib/runner.js:294:12)
      at /usr/local/lib/node_modules/mocha/lib/runner.js:319:25
      at Array.1 (/usr/local/lib/node_modules/mocha/lib/runner.js:272:7)
      at EventEmitter._tickCallback (node.js:192:40)

  1) Yobiengine should enter states serially: TypeError: Cannot set property 'failed' of undefined

  at Runner.fail (/usr/local/lib/node_modules/mocha/lib/runner.js:90:15)
      at next (/usr/local/lib/node_modules/mocha/lib/runner.js:294:12)
      at /usr/local/lib/node_modules/mocha/lib/runner.js:319:25
      at Array.1 (/usr/local/lib/node_modules/mocha/lib/runner.js:272:7)
      at EventEmitter._tickCallback (node.js:192:40)

It doesn't make much sense. It comes from the runner.

i think i've seen this a few times now too, i'll check it out tomorrow

hmm i cant seem to reproduce this now

Try this:
it "should enter states serially", (done) ->
    methodDoesntExit()
    done()

It throws the erros I mentioned above.

ah ok got it, it's when async

ahahaha that tricky little bugger.. i got it

I ran into same issues several times. It is definitely async issue, and the solution I found is that you need to call assertions within the callback, either after done.
Here is my gist, https://gist.github.com/1392471

I just wasn't returning on the exception so it executed twice

Is the error 1 and 2 supposed to be there?
✖ 3 of 3 tests failed:

0) Yobiengine should enter states serially: TypeError: Object #<Object> has no method 'inSt
atess'
    at Person.isInState (/Volumes/Private/johnnyluu/Documents/Development/johnnywengluu/yobiengine/lib/yobiengine-api.coffee:38:41)
    at Test.fn (/Volumes/Private/johnnyluu/Documents/Development/johnnywengluu/yobiengine/test/yobiengine-api.coffee:91:14)
    at Test.run (/usr/local/lib/node_modules/mocha/lib/test.js:72:10)
    at Runner.runTest (/usr/local/lib/node_modules/mocha/lib/runner.js:254:19)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:318:12
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:183:14)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:192:7
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:126:27)
    at Array.0 (/usr/local/lib/node_modules/mocha/lib/runner.js:160:5)
    at EventEmitter._tickCallback (node.js:192:40)

1) Yobiengine should enter states serially: TypeError: Cannot set property 'failed' of undefined

at Runner.fail (/usr/local/lib/node_modules/mocha/lib/runner.js:90:15)
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:294:12)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:319:25
    at Runner.runTest (/usr/local/lib/node_modules/mocha/lib/runner.js:262:7)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:318:12
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:183:14)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:192:7
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:126:27)
    at Array.0 (/usr/local/lib/node_modules/mocha/lib/runner.js:160:5)
    at EventEmitter._tickCallback (node.js:192:40)

2) Yobiengine should enter states serially: TypeError: Cannot set property 'failed' of undefined

at Runner.fail (/usr/local/lib/node_modules/mocha/lib/runner.js:90:15)
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:294:12)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:319:25
    at Runner.runTest (/usr/local/lib/node_modules/mocha/lib/runner.js:262:7)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:318:12
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:183:14)
    at /usr/local/lib/node_modules/mocha/lib/runner.js:192:7
    at next (/usr/local/lib/node_modules/mocha/lib/runner.js:126:27)
    at Array.0 (/usr/local/lib/node_modules/mocha/lib/runner.js:160:5)
    at EventEmitter._tickCallback (node.js:192:40)

hmm i think that might be due to the timer

yup, reproduced it

Should this also be fixed?

of course


fix: decouple reading the serialport from handling the data

fixes: #5024
It seems that serialport v10 on Windows behaves differently than on Linux and older serialport versions on Windows - possibly lagging the event loop or something similar. After the upgrade, the state machine was sometimes still in the old state and hasn't progressed yet. This caused some message tests to use the old state and fail / consider the message unsolicited/unexpected.
After delaying the data handling using setImmediate, I can no longer reproduce the issue - so I hope this is actually fixed now.

@zwave-js-bot automerge


net: resolv.conf is parsed twice

Resolv.conf is parsed twice upon initialization, once by conf which determines whether to use go or c, and again by the go lookup logic.

Will submit change tonight that should fix this.

I'm not sure that fixing this matters. If it's an easy fix, perhaps, but not if it complicates the code too much.


Recursively search folders for potential mods

Story
This feature ( https://github.com/nhok0169/Fix-Raiden-Boss/pull/28 ) proved that there is no difference in fixing a merged.ini and a .ini file for an individual mod. So the original structure for merged mod (folders of individual mods being the direct children of the folder for the merged mod) does not hold.
Change
To find which potential mods to fix next, after fixing foobar.ini file in folder foo:

Recursively search all children folders from foo
Recursively search all children folders from each resource in foobar.ini that the function Inifile.fix references

Since all .ini files are now the same, need to handle case of multiple nested commands:
eg.
[TextureOverrideRaidenShogunBlend]
run = CommandListRaidenShogunBlend
...

[CommandListRaidenShogunBlend]
if $swapvar == 1
   run = SubCommandBlend1
else
   run = SubCommandBlend2
endif
...

[SubCommandBlend1]
...

[SubCommandBlend2]
...

Haven't seen any mods using the above syntax yet, but should still be valid in the modified .ini language GIMI uses.

(man, I really should make a proper compiler at this point :pensive: ... Good thing this language highly relies on newline characters)

just do a normal base for the code export from merge script.
if they make a custom raiden merge mod they need do the fix for them mod.
or you can contact @SilentNightSound and make a new merge script support raiden fix automatic without this raiden fix 😉

hehe... i'm just using issues as a backlog for now, so going to work on the change when I' am less busy

So the above is not really an issue ( cause nobody found out about it yet! )
Just a cool feature that I want to do :yum:

In progress...

Completed: https://github.com/nhok0169/Fix-Raiden-Boss/pull/31


Fixes #544 by ignoring assignment of fields in Lambda in constructor

This PR fixes #544 by checking if the assignment of a field in a constructor is done in a lambda.

@mgrosperrin Thanks for PR!


Proposal: Limit react versions to >=15

Issue:
I don't think our code base supports React ~0.14 anymore. It's been a while since 15 was released and lots has changed in React land. I think it's probably better for us maintenance wise to drop 14 as well.
Either that, or we should have some tests in place to make sure our code base doesn't regress on 14.
This might break support for alpha builds like 16.0.0-alpha.2. We could also document it somewhere in a README about deprecating support instead of in a peer dependency warning that everyone ignores.
Suggestions?
What I did
Seems like we don't support React 0.14 anymore out of the box. Issue came up in support slack and our CRA example app won't take 0.14 either.
How to test
Run CRA example app.

This might break support for alpha builds like 16.0.0-alpha.2

I believe there is a way not to break that

Anyone with a strong opinion on this? who wants to review / approve? @storybooks/team

should we implement this across the board in every package.json?

With what @Hypnosphi mentions, if we do merge this... we need to explicitly update every time a beta/alpha/rc is released.

we need to explicitly update every time a beta/alpha/rc is released.

Only after we make sure we support it

Wouldn't the peerDep just be a warning anyway? I think it will still use any version that's available but complain to you in the console.

I think one warning on the main react package is probably enough instead of adding it for all the addons. I don't think RN works on<EMAIL_ADDRESS>so for the time being, * should be fine.

LGTM


[Sample Request] SmartPaging (RateLimit, RateLimitRemaining, RateLimitReset)

Hey!
Something really cool about some APIs is that they completely shut you down with a 429 (too many requests) error when you're sending WAY too many requests within a time period. Some APIs provide values like the following in the header:

I just want a MSFTs suggestion on how to accommodate the sample on:
https://github.com/Microsoft/DataConnectors/tree/master/samples/TripPin/5-Paging
in order to never hit that 429.
Perhaps adding those values as the metadata of every table on the GetPage function and using them on the listOfPages step of the Table.GenerateByPage function? perhaps using the Function.InvokeAfter combined with some conditional logic in order to evaluate how many seconds to wait before running the GetPage function to get the next page?
Or would you guys not recommend setting this up at all?

The things that I was thinking in 2017!
Closing.


nfc.enabled() not firing when NFC is enabled

First of all, thanks for your great work.
My problem is that nfc.enabled() is not working correctly for me.
I'm getting NO_NFC in devices without NFC, and NFC_DISABLED when this feature is manually disabled in the device. This is working as intended.
But neither of the callbacks (success/failure) are being called at all when NFC is enabled on the device.
I can read NFC tags without problem, I just don't get the NFC_OK message I should be getting.
I'm using:
Cordova 4.2.0
NFC 0.6.1 (retrieved with this command: cordova plugin add com.chariotsolutions.nfc.plugin")
Sony Xperia M

I'll take a look at this soon

Install the plugin from github until 0.6.2 is released
cordova plugin add https://github.com/chariotsolutions/phonegap-nfc

It is working now.
Thanks a lot!


Add optional support for Boehm garbage collector.

This is disabled by default.
Adds support for  make USEGC=true

I'm not really excited about that. Technically, all you've got to do is to replace malloc with MALLOC and #define it as an alias for GC_malloc or malloc depending on USEGC flag. That's not hard, but maybe now is not a right time.

I'll just keep the patches in my own branch. It's not totally needed, I agree. I just wanted to see how simple it is.

FYI, I added this thinking about adding arm and raspberry pi support. We can revisit later.

Ah, sorry, I read this as an issue indeed. But still maybe it's not a right time to do something practical yet.


mysql proxy: special handle of decoder at command phase

MySQL command response contains more than one packet, do special handle when server response over and client send the request.
2 parse errors occur in mysql.rst is due to SQL parser can not parse:

CREATE TABLE test ( text VARCHAR(255) );
SHOW DATABASE();

Commit Message: special handle of decoder at command phase
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

ping @cpakulski for review


page/apps

PR

Types of changes

[x] New feature

Description

Checklist

[x] added chart
[x] other fixes

test