Updated docs for CLI debugging with drush

The Problem/Issue/Bug:
I had some trouble successfully connecting drush, xdebug, and PhpStorm.  The PHP_IDE_CONFIG setting wasn't exactly what I needed.
How this PR Solves The Problem:
The docs are updated to note that PHP_IDE_CONFIG should be exported as export PHP_IDE_CONFIG=serverName=<phpstorm_project_name>.  I added this in a couple other places where it seemed to make sense.  I also updated the drush.example command with a comment noting that you can execute with the full path to drush instead of using the launcher to potentially make this connection more reliable.
Manual Testing Instructions:
n/a
Automated Testing Overview:
Just docs and a comment in a command, no tests needed.
Related Issue Link(s):
None explicitly, but maybe #1648 is a little bit relevant.
Release/Deployment notes:
n/a

Thanks!

I went ahead added PHP_IDE_CONFIG always (with the default serverName).
I also rebased this against current, so if you have any more commits, make sure to reset against the fork before continuing.
I hope that both of you can take a look at this. If you want, you can take a look at it in upcoming alpha5, but you can also download the artifacts from this PR once the build is done. If you want to do that I'll get the link.

If you are OK with it @chellman we'll pull it into alpha5.

@rfay Yes, I think this looks good.  I kind of want that "e.g." at the end of the line in drush.example so it's totally clear that the path might be different, but that's my only thought.  Otherwise, go go go!


Missing autofix feature

As  microsoft / vscode-tslint is beaing deprecated in favor of this plugin it misses some of deprecated plugin behaviors that are main reasons I am still using the deprecated plugin.
Will the new plugin handle autofix on save or should we be still using the deprecated plugin for it?

From readme: https://github.com/microsoft/vscode-typescript-tslint-plugin#auto-fix-and-auto-fix-on-save

Why should I run some action when it can be run automatically on save?

"editor.codeActionsOnSave": {
    "source.fixAll.tslint": true
}


Invisible window when Atom starts on Elementary OS

Description
I've taken invisible window when Atom starts, this behavior occurs when the Atom has closed in maximized window mode.
Steps to Reproduce

Open Atom normally
Put in maximized window mode
Close the Atom
Re-open the Atom

Expected behavior:
Expected the Atom's window displayed.
Actual behavior:
Atom's window don't displays.
To get the window back, I click on top-left of desktop (bellow "Application menu") and drag to some direction to unmaximize the window.
Versions
Atom version
Atom    : 1.35.1
Electron: 2.0.18
Chrome  : 61.0.3163.100
Node    : 8.9.3

OS version
Distributor ID:	elementary
Description:	elementary OS 5.0 Juno
Release:	5.0
Codename:	juno
Linux 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Additional Information
My partial solucion
To prevent maximized window during Atom loading, I put this snippet of code in init.coffee  file:
if atom.applicationDelegate.isWindowMaximized()
    atom.applicationDelegate.unmaximizeWindow();

Sorry for my bad english.

Thanks for the report!  I'm unable to reproduce with 1.35.1 on Ubuntu 18.04 - it looks like the Prerequisites section has been removed, I'm guessing this reproduced in safe mode?
Also, I haven't used Elementary OS, can you confirm how you install Atom on Elementary?

Thanks for your response. I tested in safe mode and normal mode, and both taken the same behavior. Also I tested the others instructions describled in Debugging page.
Also tested in two computers with diferentes GPUs, my desktop with Geforce GTX 770 (with nvidia-driver-340) and my latoptop with Intel integreded graphcs (Atom Processor Z36xxx/Z37xxx Series Graphics & Display).
About the installation method, i used the .deb package and apt installation methods for Ubuntu describled in Installing Atom page.

Hmm, not sure if this is specific to Elementary in some way?
What window manager are you using?

I have the same issue

I found a solution! Press the windows key and arrow up together when you have opened Atom: win + arrow up

Hmm, not sure if this is specific to Elementary in some way?

Yes, I think it's a bug only in Elementary OS. Before I ran the Atom with Ubuntu 16.04 with Unity normally.

What window manager are you using?

I think Elementary OS uses Gala as the window manager.
But other applications that use Electron like vscode do not have this behavior in Elementary OS.

I found a solution! Press the windows key and arrow up together when you have opened Atom: win + arrow up

Thanks for alternative solution. You tryed my solution?

Thanks for alternative solution. You tryed my solution?
Yes, I did just like you did and it seems specific to Elementary.

same problem here, thanks for alternative solution @edwino-stein


patches needed from upstream

This looks like a nice tool.
Do you think the patches / PR's that you sent upstream will even get taken, as i really am worried that this project will just get old and stop compiling unless the upstream supports it.

I've no clue about it.
I suggest you to subscribe to the PR and ask the question to Flutter team.
https://github.com/flutter/flutter/pull/25487
I'm quite busy on others projects (not linked to Flutter).
I can't support the patch on new Flutter versions.

I guess that Flutter team wouldn't integrate it in short term.
I suggest you to develop some scripts to update pubspec.yaml when compiling different flavors and/or targets.


Unknown metric(s): ga:userType

No matter what I do I get the following error:
: com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
{
  "code": 400,
  "errors": [
    {
      "domain": "global",
      "message": "Unknown metric(s): ga:userType\nFor details see https://developers.google.com/analytics/devguides/reporting/core/dimsmets.",
      "reason": "badRequest"
    }
  ],
  "message": "Unknown metric(s): ga:userType\nFor details see https://developers.google.com/analytics/devguides/reporting/core/dimsmets."
}

Any clue as to why?

It might be a very outdated version of the Google analytics library. Haven't touched this project in a while.
If you want, you can submit a PR.


Export SQL for a migration

Vecs does not currently interop well with migrations.
Provide a function that exports a SQL snippet that can be used to setup a migration
Example
docs = vx.create_collection(...)

docs.export_migration()
# Returns: "create table vecs.docs ......"

Hey @olirice, Is this issue still open? I can spin up a PR for this.


Not running with modified chromedriver on Mac M1

I'm on a Mac with M1 (apple silicon) ARM-based processor.  There is a different chromedriver now for M1 (not the same as the amd64 driver).  This southwest-headers app runs fine until you modify the chromedriver as instructed.  I've tried doing it with the perl command given, and also manually with a hex editor.  If the driver is modified in the way described (changing the name of the cdc variable) then the program errors when an instance of the chromedriver is attempted to be created.
Here's the exact error with traceback:
Traceback (most recent call last):
File "/Users/jonathanbright/py/Virtualenvs/southwest-headers/southwest-headers.py", line 37, in
driver = webdriver.Chrome(os.getcwd() + "/chromedriver", options=chrome_options, seleniumwire_options=seleniumwire_options)
File "/Users/jonathanbright/py/Virtualenvs/southwest-headers/env/lib/python3.9/site-packages/seleniumwire/webdriver.py", line 195, in init
super().init(*args, **kwargs)
File "/Users/jonathanbright/py/Virtualenvs/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "/Users/jonathanbright/py/Virtualenvs/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/chromium/webdriver.py", line 90, in init
self.service.start()
File "/Users/jonathanbright/py/Virtualenvs/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 98, in start
self.assert_process_still_running()
File "/Users/jonathanbright/py/Virtualenvs/southwest-headers/env/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 110, in assert_process_still_running
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service /Users/jonathanbright/py/Virtualenvs/southwest-headers/chromedriver unexpectedly exited. Status code was: -9

hmm, interesting. since i don't have an M1 mac, this will be really hard to troubleshoot. it also sounds like a chromedriver issue. are you able to post this issue to the chromedriver repo? i'll try to take a look into this, but i think you'll get better luck (and hopefully a faster resolution) there.

I'm not sure the chromedriver repo would support this with the modification being done, but maybe?

good to know the mac64 version works.
in order to verify, you would need to use the header file to try and check-in using my other repo.
https://github.com/byalextran/southwest-checkin

Yes I know. I’m checking in for a flight tomorrow. I’ll let you know.
On Thu, May 5, 2022 at 9:30 PM Alex Tran @.***> wrote:

good to know the mac64 version works.
in order to verify, you would need to use the header file to try and
check-in using my other repo.
https://github.com/byalextran/southwest-checkin
—
Reply to this email directly, view it on GitHub
https://github.com/byalextran/southwest-headers/issues/4#issuecomment-1119206469,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXWKDTJ3V3N2MUFFUOHEIDVIR727ANCNFSM5UCSGUOQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


are colors backwards?

While the colors look pretty, it feels like they are reversed. @Apanatshka was this intentional? In particular, red feels "bad" to me, but in fact, red is good because it indicates a speedup. However, I can also see how red means "negative"...

I did mean red to be "bad", aka a regression, but I messed up the definition of a regression here 😳
I'll fix that right away.


Please change license to MIT

The original Open3D codebase is MIT, please change license for JS to match

This is not a port of Open3D if that's what you understood. We are a different project just happens to share the same name.

Ah I see, thanks for the reply 🍻


Replaced emojis

Hey i replaced chilli pepper emoji with standard stop sign emoji for error logging.

@Sunny-25 Thanks so much for your contribution!


Update eventing-kafka nightly (#2930)

Signed-off-by: Knative Automation<EMAIL_ADDRESS>

OCF Webhook is merging this PR


packagegroup-bistro-utils: remove tools preset at tools-testapps

Removed tools that are already part of tools-testapps which is included
in PELUX -dev images.
Also removed openssh-sftp-server as it is also part of the -dev images.
Signed-off-by: Oleksandr Kravchuk<EMAIL_ADDRESS>

So you don't look for too long:

https://github.com/Pelagicore/meta-pelux/blob/master/recipes-core/images/core-image-pelux-minimal-dev.bb#L10
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb?h=thud

Hum, in https://github.com/Pelagicore/meta-pelux/pull/329 you remove tools-testapps?

Hum, in Pelagicore/meta-pelux#329 you remove tools-testapps?

I've meant tools-debug :)

I do not know the history here, so a bit unsure. Does it perhaps make sense to keep openssh-sftp-server in packagegroup-bistro-utils and not add it manually in -dev images in meta-pelux?

Does it perhaps make sense to keep openssh-sftp-server in packagegroup-bistro-utils and not add it manually in -dev images in meta-pelux?

openssh-sftp-server is used by Qt Creator to deploy apps on the image, so they can be quickly tested by Qt/QML developers, so it's is needed by default in -dev image. Tools from the package group will only be needed sometimes by some developers.

Although.. it is probably better to keep it.
Yes, after your description above it sounds like it is best to have it in both places.


Fix go vet warning on play_with_ovs.go sample

This change fixes the warning 'composite literal uses unkeyed fields' detected by go vet
Signed-off-by: Vandewilly Silva<EMAIL_ADDRESS>

@vandewilly thanks for the contribution and sorry for the delayed response.


Remove process.on("uncaughtException") from test files

Fixed in e60304a368f6f911da720423b7b099b752654b5d except for the ignore bit - filed #1656 for that.


Error on EF Core 3.0 preview 5

It seems because of breaking change https://github.com/aspnet/EntityFrameworkCore/pull/15238, you get a System.MissingMethodException: Method not found: 'Boolean Microsoft.EntityFrameworkCore.Metadata.IProperty.get_IsShadowProperty()'.

Will look into this in September after EF Core 3.0 is fully released.

@borisdj since 3.0 preview 7 can be used in production according to Microsoft (see https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0-preview-7)

NET Core 3.0 Preview 7 is supported by Microsoft and can be used in production

Also, 3.0 is now available as RC1 throug daily builds (https://github.com/aspnet/AspNetCore/blob/master/docs/DailyBuilds.md)
Would you reconsider your decision since all the breaking changes in 3.0 are pretty much done with ?

I'm currently quite busy, but will see to do this as soon as I find some time to spare.

I just encountered this error with the latest asp.net core 3.0 RC1
@borisdj appreciate your efforts great library.

Version 3.0.0-rc published.
Further info will be in new issue: https://github.com/borisdj/EFCore.BulkExtensions/issues/231

it memo in a wrong way... very strange


Features files are not executing when using ExecutionHook

karate - 0.9.5
Running in Eclipse as a Junit4 test.
Steps:- when executing runners.java file[Line number 27] with Hook then it seems scenario from smoke.feature is not getting executing. I am getting response as
13:44:53.770 [pool-1-thread-1] INFO com.intuit.karate.Runner - <> feature 1 of 1: classpath:features/smoke.feature
feature: classpath:features/smoke.feature
report: target\surefire-reports\features.smoke.json
scenarios:  2 | passed:  2 | failed:  0 | time: 0.0000
Karate version: 0.9.5
elapsed:   1.35 | threads:    5 | thread time: 0.00
features:     1 | ignored:    0 | efficiency: 0.00
scenarios:    2 | passed:     2 | failed: 0
Now when I am executing without Hook[Line Number 24] then Smoke.feature file is getting executed.
Can you please check if it is a bug or am I missing something.
KarateExecutionHook.zip

@ajmera25 nope, you haven't followed the instructions, for example the pom.xml is not as per the quickstart, and you haven't provided any commands to run - try again: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue


feat: implement decodeCurrentInstruction method for CairoVM

Description
In order to be able to decode our current instruction defined by the VM run context program counter, we need to implement a decodeCurrentInstruction method for CairoVM.
References

Reference for the Rust implementation: https://github.com/lambdaclass/cairo-vm/blob/8a2ef24c1ca258f1d1d230cbbd1478cd1d4cf9db/vm/src/vm/vm_core.rs#L434-L442

Please assign this to me

Please assign this to me

Assigned


fix: remove the mandatory internal module import to avoid failure

Please read CONTRIBUTING.md for additional information on contributing to this repository!

What this PR does / why we need it
This is to fix stencil for eng repo, when the appImportPath is not the expected package path. See the error details in the bug. The formatter will add the necessary import for internal package later.

Jira ID
DT-4293

Notes for your reviewers

Have you tested this in a few different services that aren't the one that this bug reproduces in?

Have you tested this in a few different services that aren't the one that this bug reproduces in?

I tested in lapras and delibird locally. The example change after stencil:
+       "github.com/getoutreach/delibird/internal/delibird"
        "github.com/getoutreach/gobox/pkg/app"
        "github.com/getoutreach/gobox/pkg/async"
        "github.com/getoutreach/gobox/pkg/env"
@@ -19,8 +20,6 @@ import (
        "github.com/getoutreach/stencil-golang/pkg/serviceactivities/automemlimit"
        "github.com/getoutreach/stencil-golang/pkg/serviceactivities/gomaxprocs"
        "github.com/getoutreach/stencil-golang/pkg/serviceactivities/shutdown"
-
-       "github.com/getoutreach/delibird/internal/delibird"


Banking Apps

The Banking app „Sparkasse“
Dont work anymore.
Even with NoSub there‘s no change.

Not working for me too, and after reinstalling NoSub it just gives "Cannot load the preference bundle.."

Try using libertylite

This really is not an issue with Unc0ver itself.


Auth prompt by Composer after creating an empty bot template

Describe the bug
When creating an empty bot (no azure resource dependencies) Composer prompts for authentication.
Also note that when clicking Cancel, it prompts again? Cancelling the 2nd prompt enables you to continue.
Version
2.0.0-nightly.242275
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create Empty Bot
Observe Auth prompt after creation

Expected behavior
No auth prompt
Screenshots

I believe this is due to the auth being called when the ManagerService components mount as part of the getstarted component.
https://github.com/microsoft/BotFramework-Composer/blame/4fd58c86e6038ac1c33432814839dac4754cfb4b/Composer/packages/client/src/components/ManageService/ManageService.tsx#L162

Shiproom - this is a regression, P0.  approved.

fixed by #7623


Comfy-Blog routes are not identited

 gem 'comfortable_mexican_sofa', '~> 1.12', '>= 1.12.8'
 gem 'comfy_blog', '1.12.3'

routes;
comfy_route :blog_admin, :path => '/adminblog'
comfy_route :blog, :path => '/blog'

comfy_route :cms_admin, :path => '/cms'
comfy_route :cms, :path => '/pages', :sitemap => false

When navigated to http://<IP_ADDRESS>:3000/adminblog

but cms working fine.
Can some tell me how to make this blog work with cms?

This definitely work in 2.0. Just as a note, both blog and cms can share same /admin path


use vite-plugin-rewrite-all to allow dots in paths

Problem
When using dynamic route params that result in dots in the path, the dev-server returns a 404 upon refresh (F5) of the page
Solution
Using the provided plugin, this seems to no longer be a problem
Notes
https://github.com/vitejs/vite/issues/2415
also: needs to be tested!

Sorry, not sure why this broke it. I did the same change in the dist and that worked. I cant run npm install locally on the cli-project, as I cant install @lydell/elm...

Hey @manuscrypt – I appreciate the PR to improve Elm Land!
Unlike many popular open source projects, we prefer conversation over code changes to help identify the underlying problem. There's nothing wrong with your code contributon, but let's start a conversation about this in #report-a-bug or #suggest-a-feature before proceeding.
Here's our community Discord: https://join.elm.land
Would love to work through this issue with you there! 👋
Thanks!
Ryan

( Sorry, meant to leave a comment– not comment and close! 🤦 )

Closing this and replacing it with another PR


RSLint should exit with specific exit codes

For use in CI, it is helpful for rslint to define exit codes for each scenario. I propose the following, which is mostly inline with eslint except for -1:
-1: Linting was unsuccessful because of an internal error
0: Linting was successful and there are no errors (but there may be warnings)
1: Linting was successful and there is at least one error
2: Linting could not be done because of a config or CLI error (e.g. invalid glob pattern)

implemented in https://github.com/RDambrosio016/RSLint/commit/b668e951091aae2d50e00f56d4d4d74f77c65350


Ra/vi 75

@rmoshier said:

This is not ready to be merged, but I've made some progress and would like to check in.

When a user navigates to /id/profile, he or she sees the identity management components that used to be in account manage. (I did not remove those components from account manage, rather they have been duplicated here.) I created a profile controller to keep these components separate from the applications section of the app.

Per @cnunciato 's suggestion, I omitted the Gravatar component and the 'Community Profile' and 'Need Help' boxes that are currently on the profile page in account manage.

Next steps/questions:

Per @smith 's initial guidance, the forms are all currently static (including the profile, change password, and generate key forms). Is hooking up the forms within the scope of this ticket?
The show method in the profile controller is currently empty. Should anything else be included here?
Anything else I'm missing?

General feedback is very welcome, as usual. :smile: Thank you!

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.


Add open modes to bayeslite_open

By analogy with standard file open modes.  Useful modes include

read-only (get a database that exists, but don't save changes back)
force the database being opened actually exists (crash if absent)
force the database being opened is fresh (crash if exists)
overwrite the database being opened with a fresh one (truncate on open if exists)

Doing this correctly depends on passing things through to sqlite3, which the Python sqlite3 module doesn't support.  Once we switch to apsw, we can probably do most of these.

Do we have open issue for switching to apsw, where we can collect the costs
and benefits?
On Thu, Oct 8, 2015 at 12:01 PM, riastradh-probcomp <
<EMAIL_ADDRESS>wrote:

Doing this correctly depends on passing things through to sqlite3, which
the Python sqlite3 module doesn't support. Once we switch to apsw, we can
probably do most of these.
—
Reply to this email directly or view it on GitHub
https://github.com/probcomp/bayeslite/issues/238#issuecomment-146592836.

https://github.com/probcomp/bayeslite/issues/92

Blocked on #92.


Update SDK version to 1.6.0 in release branch

SDK is updated to 1.6.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 39.356%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob_controller.go
5
76.97%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
2725

Relevant Lines:
6924

💛  - Coveralls

@tenzen-y Can you take a look at the error? walk.go:74: found symbolic link in path: /home/runner/work/training-operator/training-operator/manifests/overlays/standalone/scheduler-plugins/manifests/install/charts/as-a-second-scheduler/crds resolves to /home/runner/work/training-operator/training-operator/manifests/overlays/standalone/scheduler-plugins/manifests/crds. Contents of linked file included and used

Sure.


(FACT-1497) Try calculating the uptime from the utmp file first

Previously, we would parse the output of the uptime command to
get the system uptime in our POSIX resolver. Unfortunately, there
is a bug in the uptime command that causes the seconds entry to
update itself once the minutes entry is updated. Thus, invoking the
uptime command a few seconds after the previous invocation would
still show the same uptime value, which is unexpected behavior.
Our AIX and Solaris platforms rely on the POSIX resolver to determine
their uptime information. Thus, the bug in the uptime command meant
that the system_uptime fact on these platforms was not being updated
correctly.
This commit tries to calculate the uptime programmatically before
calling the uptime command. It does this by attempting to get the system
boot time from the utmp file, then subtracting that value from the current
system time. If it fails to read the boot time from the utmp file, then
it delegates to getting the uptime information from the uptime command
itself.
The new method's been verified to work on our AIX and Solaris platforms.

jenkins please test this on aix61-POWERfa,aix71-POWERfa,solaris10-64a,solaris11-64a

jenkins please test this on aix61-POWERfa,aix71-POWERfa,solaris10-64a,solaris11-64a

Here are the updated tests showing the correct behavior (notice how the fact is updated to the correct value after about five seconds).
AIX 6.1:
aix61-2.delivery.puppetlabs.net:
    echo "BEFORE: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`" && sleep 5 && echo "AFTER: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`"
BEFORE: 1529
AFTER: 1535

AIX 7.1:
aix71-9.delivery.puppetlabs.net:
    echo "BEFORE: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`" && sleep 5 && echo "AFTER: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`"
BEFORE: 5981
AFTER: 5986

AIX 7.2:
aix72-4.delivery.puppetlabs.net:
    echo "BEFORE: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`" && sleep 5 && echo "AFTER: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`"
BEFORE: 2162
AFTER: 2167

SOLARIS 10:
p96hrctpaiuyn71.delivery.puppetlabs.net:
    echo "BEFORE: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`" && sleep 5 && echo "AFTER: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`"
BEFORE: 6766
AFTER: 6771

SOLARIS 11:
crrx5pdup6ig9b3.delivery.puppetlabs.net:
    echo "BEFORE: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`" && sleep 5 && echo "AFTER: `/opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds`"
BEFORE: 56247
AFTER: 56252

CLA signed by all contributors.

Updated the PR to change LOG_DEBUG => LOG_WARNING. Going to run a PR test on all platforms to see if we can completely remove our use of the uptime command. I'll address the other comments in the meantime.

@branan @caseywilliams Updated the PR. Changes are:

Added the utmpx_file class to encapsulate all of the cleanup/resetting required to use the utmpx file API calls.
Used the new utmpx_file class in the POSIX resolver.

I had to create a separate .cc file for the utmpx_file because C++ does not let you initialize static variables in the header file. Figured I might as well put the rest of the code in there too so that the .hpp file just shows the interface.
I tested out the changes locally and they still work. For example,
[0] [AIX] root@aix71-4:~ # /opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds --debug
2018-07-31 16:47:53.597525 INFO  puppetlabs.facter - executed with command line: --query system_uptime.seconds --debug.
2018-07-31 16:47:53.600793 INFO  leatherman.ruby:137 - ruby loaded from "/opt/puppetlabs/puppet/lib/libruby.so.2.4.4".
2018-07-31 16:47:53.688711 INFO  leatherman.ruby:186 - using ruby version 2.4.4
2018-07-31 16:47:53.689657 INFO  puppetlabs.facter - requested queries: system_uptime.seconds.
2018-07-31 16:47:53.690402 DEBUG puppetlabs.facter - fact "facterversion" has resolved to "3.11.4".
2018-07-31 16:47:53.691018 DEBUG puppetlabs.facter - fact "aio_agent_version" has resolved to "<IP_ADDRESS>".
2018-07-31 16:47:53.691931 DEBUG leatherman.file_util:65 - Error reading file: No such file or directory
2018-07-31 16:47:53.693928 DEBUG puppetlabs.facter - loading all custom facts.
2018-07-31 16:47:53.694531 DEBUG puppetlabs.facter - loading custom fact directories from config file
2018-07-31 16:47:53.695275 DEBUG puppetlabs.facter - searching "/opt/puppetlabs/facter/facts.d" for external facts.
2018-07-31 16:47:53.695972 DEBUG puppetlabs.facter - skipping external facts for "/etc/facter/facts.d": No such file or directory
2018-07-31 16:47:53.696639 DEBUG puppetlabs.facter - skipping external facts for "/etc/puppetlabs/facter/facts.d": No such file or directory
2018-07-31 16:47:53.697249 DEBUG puppetlabs.facter - no external facts were found.
2018-07-31 16:47:53.697903 DEBUG puppetlabs.facter - resolving uptime facts.
2018-07-31 16:47:53.698516 DEBUG puppetlabs.facter - Attempting to calculate the uptime from the utmpx file
2018-07-31 16:47:53.699161 DEBUG puppetlabs.facter - Reading the utmpx file ...
2018-07-31 16:47:53.699831 DEBUG puppetlabs.facter - fact "uptime_seconds" has resolved to 113232.
2018-07-31 16:47:53.700455 DEBUG puppetlabs.facter - fact "uptime_hours" has resolved to 31.
2018-07-31 16:47:53.701074 DEBUG puppetlabs.facter - fact "uptime_days" has resolved to 1.
2018-07-31 16:47:53.701700 DEBUG puppetlabs.facter - fact "uptime" has resolved to "1 day".
2018-07-31 16:47:53.702368 DEBUG puppetlabs.facter - fact "system_uptime" has resolved to {
  days => 1,
  hours => 31,
  seconds => 113232,
  uptime => "1 day"
}.
113232
[0] [AIX] root@aix71-4:~ # /opt/puppetlabs/puppet/bin/facter --query system_uptime.seconds
113234

^ you can see the right log messages are printed out + the system_uptime.seconds fact is correctly being updated.

jenkins please test this on aix61-POWERa

jenkins please test this on aix61-POWERa

jenkins please test this on aix61-POWERa


while adding provider for SAP net Viewer we are getting the below error

@ad-gitman
{"code":"ProviderInstanceValidationOperationFailed","message":"\n The provider settings validation operation has failed with code 'SoapAPIValidationFailed'.\n Possible Causes: The operation failed with error: 'Unable to reach the hostname: xx.xxx.xxx.xxx. Error occurred while validating SOAP client API calls for SAP system.'.\n Recommended Action: 'Please check the input hostname, instance number, and host file entries. Ensure that the SOAP web service methods are unprotected correctly.'.\n ","details":[]}

Hello @Abhay-Anand149 ,
Can you please confirm the host file entries you provided for all the central instances, application servers, and replication servers (if any) in the specified format?
Also kindly share your subscription id, so that we can take a look at the detailed logs.
Thanks,
Harsha

Hi @Abhay-Anand149, were you able to add the NetWeaver provider?

Hi @Abhay-Anand149,
please let me know if you require any further assistance from our side. We will be closing this ticket for now.
Best regards,
Harcekova Lucia


MapWriter has trouble saving and updating map (1.7.10)

This is a known issue dating back awhile. I think https://github.com/daveyliam/mapwriter/issues/3 is related. Known causes are:
When many blocks are changed at once, or too many regions are created too quickly
Known symptoms:
Flashing map (one state has the original, the other has the new state), changes are saved on exit
New chunks are added to the map very slowly, and may or may not save
post processing is not added accurately (lines between chunks, errors in transparency, etc)
These all still occur with https://github.com/Vectron/mapwriter/commit/57814daef73906cab72525bffebf4ac1ee060fff in 1.7.10. I'd offer advice, but after working on it for countless hours over the past several months, I've got no helpful advice other than a possible security error or a disk throttling issue (utorrent has an issue where if the disk gets throttled, it can no longer write to it).

i know of this problem, and just like you searched for it a long time, but cant find anything that is the cause of this.


[question] The filename-setting can not work as my wish.

Prerequisites

[x] Did you read FAQ section in readme.md?
[x] Did you test with the latest releases or commit ?
[ ] Did you search for existing issues in Issues?

Description
[Description of the bug or feature]
I edited config.ini as FANBOX %artist% (%member_id%)\%title%\%urlFilename% - %title%

Then I hope the script can put all images into a same folder because this images in the same post (they have the same title).
But the actual situation is that only the first image in the folder and the rest of images all in root dir

Versions
20210702
You can get this information from executing PixivUtil2.py --help.
Latest version available in https://github.com/Nandaka/PixivUtil2/releases

change the other fanbox file format too??


Fix markdown formatting of a note block

Fix a note block that is now rendered as a code block.
Category

[x] Content fix
[ ] New article

Related issues:
What's in this Pull Request?
Fixes a note block in create-a-map-view-for-the-geolocation-field-in-sharepoint.md that is now rendered as a code block but should be rendered as a quote.

Lots of markdown formatting issues in this doc should be addressed at the same time this is merged. Will add that to the backlog. Thanks!

Not related to markdown but the page should also mention that this feature is currently only available in the classic view.


test(helper): enable global leak check for test cases

Description:
This PR enables global leak check in mocha test runner, to ensure if any global patching in test case to be cleared. Seems this is somewhat inaccurate such as some teardown in test hook is not detected, those are marked as ignored.
Related issue (if exists):

It's small ergonomics changes so assume it'll be ok, but leaving it bit while to hear any other suggestion around before check this in.

:shipit: LGTM

Merged with 26ad3db.


microbit v1 beta blog post

[x] Edit and format the blog post for micro:bit v1 beta
[x] Add an entry for the post in the blog main page

Please verify the posting date (July 23, 2018)?
RE: #4545

Waiting on https://github.com/Microsoft/pxt-microbit/issues/956.


net: l2: wifi_mgmt: remove scan kconfig defaults

Remove the wifi_mgmt interface overriding default values with values from kconfig.
These defaults were only applied when a params struct was provided by the application. This is the case when the application is explicitly setting the options it wants, why is the mgmt API changing these. When params is NULL and thus modem defaults are requested, these defaults aren't applied. This is the opposite behaviour from what seems reasonable.
In addition, these options are:

Undocumented
Using non-trivial string parsing functions (strtok)
Adding complexity to the API implementation by forcing support for ROM versions of command line arguments.

Additional comments outside the commit message
This overriding was started in #59204 and continued in #60686.
Neither PR justified overriding the application request from what I can see.
None of the reviews questioned why it was being added at all as far as I can see.
From my perspective, I see no reason why the management layer ever needs to mess with the scan request. The application is asking for it, if it wants to provide some defaults, do that in the request, not in some kconfig option (which is only applied some of the time).
Apart from being incorrect in my opinion, supporting these defaults is also making cleaning up the massive RAM usage of the new struct problematic because the "defaults" being applied to struct wifi_params needs to be created from ROM strings.

Pinging @ajayparida and @sachinthegreen as the authors of the relevant PR's

Neither PR justified overriding the application request from what I can see.
None of the reviews questioned why it was being added at all as far as I can see.

From my perspective, I see no reason why the management layer ever needs to mess with the scan request. The application is asking for it, if it wants to provide some defaults, do that in the request, not in some kconfig option (which is only applied some of the time).
IIUC, it's to provide both runtime and compile time overrides, with compile time overrides being highest priority. E.g., a customer  knows that he has deployed only 2.4GHz Wi-Fi network, so, he can release an image that supports 2.4GHz scan only independent of if the application (written by end customers) asks for 2.4/5GHz bands scan.

IIUC, it's to provide both runtime and compile time overrides, with compile time overrides being highest priority. E.g., a customer knows that he has deployed only 2.4GHz Wi-Fi network, so, he can release an image that supports 2.4GHz scan only independent of if the application (written by end customers) asks for 2.4/5GHz bands scan.

Except this is not documented anywhere, and is not actually what it does.

net_mgmt(NET_REQUEST_WIFI_SCAN, iface, NULL, 0) does not apply any of these options.
Compile time overrides are the lowest priority, not the highest.

What image is being released here? Who are these two customers? I am still not seeing the point.

IIUC, it's to provide both runtime and compile time overrides, with compile time overrides being highest priority. E.g., a customer knows that he has deployed only 2.4GHz Wi-Fi network, so, he can release an image that supports 2.4GHz scan only independent of if the application (written by end customers) asks for 2.4/5GHz bands scan.

Except this is not documented anywhere, and is not actually what it does.

Yes, the behaviour of runtime vs compile time overrides isn't documented, we can improve that.

net_mgmt(NET_REQUEST_WIFI_SCAN, iface, NULL, 0) does not apply any of these options.

That is a special case mainly to maintain backwards compatibility.

Compile time overrides are the lowest priority, not the highest.

It depends on the parameters and whether if the override makes sense. E.g., CONFIG_WIFI_MGMT_FORCED_PASSIVE_SCAN overrides the setting from the API. CONFIG_WIFI_MGMT_SCAN_CHAN run time is highest and compile time is used as a fallback.

What image is being released here? Who are these two customers? I am still not seeing the point.

I was just trying to paint a picture, so, only gave you the overview, you need to imagine the gaps :).
Scenario: Zephyr customer- A who is an OEM is working with multiple end-users/customers B,C,D.... For a given environment/site for customer B, Wi-Fi deployment is limited to 2.4GHz only, so, no point in scanning 5GHz which is the default (scan all supported bands), this can be achieved in two ways.

Modify the application source (Developed by A) specific to B to request 2.4GHz only scan, but this poses maintenance issues. And if the number of applications are more then this change has to be done for all of them.
Keep the source unchanged, generate multiple Zephyr images with configuration overlays for each customer in this case B with 2.4GHz channel list.

We aren't enforcing a specific way, just giving options both runtime and compile time, except for the missing docs on how overrides work (Welcome any PRs related to this), I don't see any issue here and having these overrides is quite handy.

Scenario: Zephyr customer- A who is an OEM is working with multiple end-users/customers B,C,D.... For a given environment/site for customer B, Wi-Fi deployment is limited to 2.4GHz only, so, no point in scanning 5GHz which is the default (scan all supported bands), this can be achieved in two ways.

Modify the application source (Developed by A) specific to B to request 2.4GHz only scan, but this poses maintenance issues. And if the number of applications are more then this change has to be done for all of them.
Keep the source unchanged, generate multiple Zephyr images with configuration overlays for each customer in this case B with 2.4GHz channel list.

Why is this behaviour not an application level kconfig which sets the scan parameters to the desired values?
I understand that the situation can be solved the way you have done it here, it just seems an anti-pattern compared to all other Zephyr code I have seen. I have not seen API's inserting themselves between the call and the driver, and I certainly haven't seen them do so by adding custom string parsing rules and formats. I don't care if someone wants to insert shell utility functions into their application, that's their decision, I just don't think they make sense in the core management code.
I can maybe see the argument for CONFIG_WIFI_MGMT_FORCED_PASSIVE_SCAN in the context of EMC certifications, but this kind of falls over when it isn't even supported by most drivers. The rest of the options flat out aren't relevant for any in-tree driver.

To give you my perspective, I am trying to clean up a gross oversight from the PR's where this functionality was added (#62735, which you have approved) but am unable to do so because of this functionality (which I happen to disagree with anyway).
It is not possible to convert a "ssid1;ssid2" in ROM into char *, as would be required to keep this functionality.
So instead I am needing to argue for why this should be removed, when no-one provided arguments or agreement as to why it should be included in the first place.

Scenario: Zephyr customer- A who is an OEM is working with multiple end-users/customers B,C,D.... For a given environment/site for customer B, Wi-Fi deployment is limited to 2.4GHz only, so, no point in scanning 5GHz which is the default (scan all supported bands), this can be achieved in two ways.

Modify the application source (Developed by A) specific to B to request 2.4GHz only scan, but this poses maintenance issues. And if the number of applications are more then this change has to be done for all of them.
Keep the source unchanged, generate multiple Zephyr images with configuration overlays for each customer in this case B with 2.4GHz channel list.

Why is this behaviour not an application level kconfig which sets the scan parameters to the desired values?

Sure it can be done anywhere, the rationale for putting it in the stack is that this is a common Wi-Fi features, so, agnostic to applications/drivers. Applications can configure as per their needs, just that the compile time overrides seemed appropriate in the stack.

I understand that the situation can be solved the way you have done it here, it just seems an anti-pattern compared to all other Zephyr code I have seen. I have not seen API's inserting themselves between the call and the driver, and I certainly haven't seen them do so by adding custom string parsing rules and formats. I don't care if someone wants to insert shell utility functions into their application, that's their decision, I just don't think they make sense in the core management code.

I don't know the specific things you are referring here, but AFAICS, Zephyr (at least networking) has this pattern, this isn't the same as the one being discussed here, but it does show API's doing compile time checks rather than simple relay. And for this case of Wi-Fi scan, there is a significant impact of time with each flag hence the reason for the complex input through shell/Kconfig/API.
func api_always_available:
  #ifdef CONFIG_FEAT_A
        do():
   #else
       not supported
  #endif

I can maybe see the argument for CONFIG_WIFI_MGMT_FORCED_PASSIVE_SCAN in the context of EMC certifications, but this kind of falls over when it isn't even supported by most drivers. The rest of the options flat out aren't relevant for any in-tree driver.

True, the in-tree drivers are quite basic and don't expose any options than, scan/connect/disconnect. This entire feature is to extend the Wi-Fi stack for the upcoming in-tree drivers that aren't fully offloaded and utilise these (if and when that happens I don't know).
TL;DR, I still think these compile time overrides are useful, e just need to document them. And your PRs address the extra memory overhead associated with that. If that is still not acceptable, we could just put all of these under WIFI_ADVANCED_SCAN_COMPILE_FLAGS feature flag and possibly a separate _overrides function to make core readable. WDYT?

To give you my perspective, I am trying to clean up a gross oversight from the PR's where this functionality was added (#62735, which you have approved) but am unable to do so because of this functionality (which I happen to disagree with anyway).

It's not an oversight, its a deliberate decision to use those Kconfig overrides, you might disagree with the rationale but that is a different issue.

It is not possible to convert a "ssid1;ssid2" in ROM into char *, as would be required to keep this functionality.

Are you referring to the fact that it needs a strdup/strcpy of CONFIG_** strings?

So instead I am needing to argue for why this should be removed, when no-one provided arguments or agreement as to why it should be included in the first place.

I did provide the arguments (at least I thought I did), just that they are not aligned with your view. So, lets see what others think, there is no point in debating from same perspectives, it will lead no where.

It's not an oversight, its a deliberate decision to use those Kconfig overrides, you might disagree with the rationale but that is a different issue.

The gross oversight was not the addition of this functionality, which while I disagree with I am happy to defer to consensus. The oversight was the bloat of struct wifi_params from 1 byte to 1.4kB, parts of which cannot be resolved because of this functionality.

Are you referring to the fact that it needs a strdup/strcpy of CONFIG_** strings?

My preferred API for the SSIDs is char *ssids[N], because the SSIDs are being cached by the driver, so why bloat the struct by another 64 bytes. char * implies that each SSID is NULL terminated, which cannot be obtained directly from CONFIG_WIFI_MGMT_SCAN_SSID_FILT as that lives in ROM and ; is obviously not a \0.

I did provide the arguments (at least I thought I did), just that they are not aligned with your view.

I agree that you have provided them here, but they were not presented in the PR's where they were introduced (and you weren't the one who introduced them). My annoyance is that despite not being discussed, it is now on me to justify removing them, instead of on the authors for why they should be introduced in the first place.
I don't think that the concept overall is a bad idea, just that the implementation is clunky and doesn't match Zephyr standards. I would be 100% on board with some wifi_scan_with_overrides_function that does this, which I can then ignore.
But if @jukkar comes along and says this was all well considered in the original PR's and it stays, then that's his decision as the maintainer.

My annoyance is that despite not being discussed, it is now on me to justify removing them, instead of on the authors for why they should be introduced in the first place.

I don't quite agree, isn't that the whole point of open-source where few things slip in which aren't right and then the community fixes them with a healthy discussion? (I call this discussion rather asking for justification).
Anyways, as @jukkar says let's merge this PR and we can re-introduce these changes with documented use cases  and behaviours.


[OpenAI][Archboard-Feedback] Investigate/Brainstorm to create a custom Response to stash all "Usage" classes.

Teds's feedback:
"I wonder if it's worth creating a custom Response in Java and .NET to stash all these Usage classes. I believe that's how we typically think about exposing Cosmos RUs. They're slightly different shapes, but rationalizing them would probably make life easier for customers trying to explicitly manage spend."

No longer in consideration.


file not found error if script is executed at midnight or right after

If the schedule is set to e.g. every two minutes, then we will miss the log between 23:58 and 0:00 since a new log file will be created at midnight. This can also cause a "file not found" error if the script is executed right at midnight.
Possible solutions:

0:00 + x minutes -> also retrieve the log file contents of the previous day, OR
Change schedules, e.g.: schedule #1 to just run between 0:02 and 0:57. Schedule #2 to run at 0:59:50.

File not found error fixed with version 0.8.
Opened GitHub issue #3 for the other issue.


Add failing test for RESTEasy Reactive when using request bodies

Adds a test that fails due to the request body types (here: PatchRequestDto) getting generated with @QueryParam annotations on each field. This results in PATCH (or POST) requests that have each field as a query param as part of the URL ("/patch?name=Max&age=42") instead of as part of a JSON body.
This currently fails only if run against RESTEasy Reactive Client. The legacy RESTEasy Classic Client generates the expected body. In both cases the source code generated by the OpenAPI Generator remains the same.
To my knowledge the unwanted behavior of RESTEasy Reactive is however to spec and the @QueryParam annotation should not be added to types used as RequestBody. Of course this means that one should never share types used both for query request parameters and request bodies.
I'm opening this PR as a showcase for issue #357. Feel free to close/delete if obsolete or not needed.

Closing as this is just a reproducer.


Much worse performance on Safari after rendering a large list

Problem
I have an app which shows a tree structure, and there's a level in the tree that, when opened, shows ~2000 child items. Expanding the first of those 2000 child nodes is very snappy on Firefox and Chrome, but on Safari takes ~20-30 seconds. Interestingly, expanding the first of the child nodes is the slowest, expanding the last of the child nodes is instant, and the delay is proportional to how many DOM elements exists after the node being expanded. On Chrome and Firefox everything is instant.
Maybe there's some DOM or other operation being done on child nodes that's particularly slow on Safari?
Steps To Reproduce
Steps to reproduce the behavior:

Open the affected app which is deployed on GitHub Pages here: https://dcmfx.github.io/dcmfx-playground/
Drop this file onto the page to load it: https://drive.google.com/file/d/1u41V9BOI5FMkz690IpePDNEOFQ9OK5Oy/view?usp=share_link
Scroll down to "(5200,9230)" and expand it to display 2161 child items.
Click on "Item 1"
On Safari 17.6 on macOS this will take a very long time (20-30s) to expand. On Chrome and Firefox all items open instantly.

Expected behavior
The performance of expanding items in the tree should be comparable in Safari to Chrome and Firefox.
Environment:

Dioxus version:  0.6.0-alpha-3
Rust version: 1.81.0
OS info: macOS 14.6.1
App platform: web
Browsers: Safari 17.6, Firefox 130, Chrome 129

Questionnaire

I'm interested in fixing this myself but don't know where to start

Thanks!
I will look into whether the current CSS is somehow triggering a slow path on Safari, and then try to create an equivalent plain HTML/CSS demo that has no performance issues, indicating that something might be fixable in Dioxus.


fix: use new scopes when seeding database

Codecov Report

Merging #65 (33efe38) into develop (2f40750) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           develop     #65   +/-   ##
=======================================
  Coverage     9.25%   9.25%
=======================================
  Files          154     154
  Lines         2767    2767
=======================================
  Hits           256     256
  Misses        2511    2511

Flag
Coverage Δ

unittests
9.25% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Etimo.Id.Data/Seeder.cs
0.00% <0.00%> (ø)

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 2f40750...33efe38. Read the comment docs.

Codecov Report

Merging #65 (33efe38) into develop (2f40750) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           develop     #65   +/-   ##
=======================================
  Coverage     9.25%   9.25%
=======================================
  Files          154     154
  Lines         2767    2767
=======================================
  Hits           256     256
  Misses        2511    2511

Flag
Coverage Δ

unittests
9.25% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Etimo.Id.Data/Seeder.cs
0.00% <0.00%> (ø)

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 2f40750...33efe38. Read the comment docs.


Failed to connect

First time user here.  When I attempt to add the integration, it first goes to a box for me to add user name and password but I get the message "Failed to connect".  I know it's not a password issue I validated to the Vivint website and my local login.  Any ideas?

@matwatson123 are you still seeing this issue? If so, which panel do you have, what version of Home Assistant and this Vivint integration are you using?

It seems to be working now. Maybe it was related to the other outage stuff going on. Thanks for checking in bruv!


Remove all stack allocations

Fixes #233

Coverage remained the same at 100.0% when pulling 02449fb558bc066ed51b4f3270d331a2b573aae1 on isaacbrodsky:remove-stack-alloc into a8212cebeb381e2c670851a3bd92f6d113ed8c60 on uber:master.


Fixed numbering and config state update and also upgraded to newer (0.11) functions.

Thank you! I was looking to do this one of these days. I'll take a look over it later today and hopefully merge straight away.


"Down" Events does not trigger in some cases

Version
Phaser Version: 3.17.0
Operating system: Windows 10
Browser: Edge, Chrome.
Description
The "pointerdown" and "gameobjectdown" events do not trigger when the cursor has just enteret the object (about less than a quarter of a second)
Moving the cursor fast inside the object and clicking does also not trigger the events
Example Test Code
It can be reproduced in the example:
https://labs.phaser.io/view.html?src=src\input\mouse\click sprite.js&v=3.17.0
Changing to earlier version fixes the problem

Yes, duplicate of #4538 - please track in that issue.


Stable Release?

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem Description
Hi, I have quite a number of Electron apps that I maintain, some are forks, some are from scratch. Of particular importance is my fork of VSCode, Codium > https://github.com/Alex313031/codium currently the only up to date VSCode that works with Win7+. Most of my Electron apps are stuck on 22.3.27 because I don't want to give up Win7/8/8.1 compatibility and Ubuntu 16.04/Debian 8 compatibility.
This fork hasn't crashed in my testing, but there are two problems.

It isn't built to stable like Supermium is (when you transitioned to stable Chromium, this repo didn't follow suit), and so wouldn't be suitable for production use with all my apps (or other people's apps).
The layout of the repo is not conducive to building apps, i.e. you have to manually unpack everything and replace the electron binary, which also makes the icon the default electron one on windows.

Regarding No.2, that is definitely something I could help with, as I have compiler optimized versions of Electron 12, 13, and 22, and have set up repos to allow proper downloading and usage with things like gulp-electron, electron-builder, and electron-forge. Specifically, note how this is set up > https://github.com/Alex313031/electron-22/releases The tag names and names of the distribution packages must match the way they are laid out in the official repo, and for downloading it in an app, you must depend on something like this https://github.com/Alex313031/electron-releases-22 which is simply a clone of the upstream electron npm package, with a modified GET line which tells it to download from my repo instead of upstreams. If you do the work to make a stable supermium-electron release, I would be glad to help you with making the releases and a supermium-electron npm package, to facilitate people to actually use the fork in their workflows (or CI for example) to make production-ready, distributable Electron apps for Win NT 6.x
Proposed Solution
Make stable release, change names and takes in the releases to match upsteam's naming scheme, make an npm package to allow builders/packagers that consume electron to work with this fork.
Alternatives Considered
Download your release, and set up my own release repo and npm package with it, but this wouldn't resolve the need for a stable version, and wouldn't provide proper attribution to you since people might think I made the electron fork.
Additional Information
No response

Any chance we'll get regular electron releases at Supermium? In any form, as long as we understand that there will be regular fixes/updates.
I would like to transfer my project from electron 22 to a modern one with win7 support, but due to possible problems that will not be fixed, I still don’t take the risk.


semver vulnerable to Regular Expression Denial of Service- Dependabot

Context

Moderate Dependabot issue spotted in the following repos:

Dependabot issue still in the following repos:
https://app.zenhub.com/workspaces/tech-team-kanban-board-5f36c9f5ad78a3000f8d20af/issues/gh/us-epa-camd/easey-ui/5410

Dependabot issue remediated


Non-compatible with Lumen

Its imposible to use vendor:publish and in the package is self there is a bug with:
Call to undefined function Spatie\Geocoder\config_path()
Since only key and language - maybe this package can do with only .env ?..
It works after stripping boot() function and creating config manually
Good package with clean code - would be nice to use it in lumen without hack.

We don't use Lumen ourselves, so we aren't going to invest time make this package compatible.


Implement addMarkers and removeMarkers functions

Adds map markers to the map

seems pretty good to me.

Nice code. This is super clear.


How can I do that ? ? (AES)

This is the working Python Code
from pyaes import openssl_aes

sources = '''U2FsdGVkX1/rIYxYVhS1xS+T55ZbD7FErs4XNP6KE3YdHgm1pQuH8kyq4SDTFAfg3R0EFqpiXbCGUusnlgBvClgxmGQHv9hJ5io/O5VBJuKhwPEC4DrjXOwH7iJ/hz4YFHeFpnWnZyLSk44OU8ZdN18FIoLLzMD0UvJ+8hFXDYAxzBT4Hu197IUGgRbH7IWNVnttgN4ltvNGqHHJwQ/ZvuC4TG4PuFUN4XDXNiDaZuqv8g+FcNHKm0NZBatGRUSJGyKD9b9NDOkraMFZX6R/kuCth5hpvmLKULGdhVKgsAc05fRP2JmT7xO1jp5CnlFT3FYVd1AC6sJrsgp/I0Ie4bbotpl2lzhmHhJBpJLRR72WCSJ/7h3cvagFGyR76kbMy2CLMCKlxEJZyKpNsatjkQJPIBdjOwUY/nAeBOiArFf0TytndcVkC0RWINiezIYye8Scf8w7P/sCwD/kLgYEYLoF8d3guBmcngY/aARdNvLGv23UhcbrbAwIhbZXwbI3BouGAAQrtAX6RKDA8deiDhN0Z2oWNmgJPsiQaTF7VndwVvPuiSaa64/szkQHZpShyJ68x1e4wbdI8kzHiJtnA3fKKuMjw1QgGb+GLzkmyqE='''

key = 'e3d64688a262d3a5c455946c9b6a019d'

OpenSSL_AES = openssl_aes.AESCipher()
try:
    sources = json.loads(OpenSSL_AES.decrypt(sources, key))
    source = sources[0]
except:
    raise print('Decrypt key changed')

this is the dart code I started, but something seems wrong
var encryptedText =
        '''U2FsdGVkX1/rIYxYVhS1xS+T55ZbD7FErs4XNP6KE3YdHgm1pQuH8kyq4SDTFAfg3R0EFqpiXbCGUusnlgBvClgxmGQHv9hJ5io/O5VBJuKhwPEC4DrjXOwH7iJ/hz4YFHeFpnWnZyLSk44OU8ZdN18FIoLLzMD0UvJ+8hFXDYAxzBT4Hu197IUGgRbH7IWNVnttgN4ltvNGqHHJwQ/ZvuC4TG4PuFUN4XDXNiDaZuqv8g+FcNHKm0NZBatGRUSJGyKD9b9NDOkraMFZX6R/kuCth5hpvmLKULGdhVKgsAc05fRP2JmT7xO1jp5CnlFT3FYVd1AC6sJrsgp/I0Ie4bbotpl2lzhmHhJBpJLRR72WCSJ/7h3cvagFGyR76kbMy2CLMCKlxEJZyKpNsatjkQJPIBdjOwUY/nAeBOiArFf0TytndcVkC0RWINiezIYye8Scf8w7P/sCwD/kLgYEYLoF8d3guBmcngY/aARdNvLGv23UhcbrbAwIhbZXwbI3BouGAAQrtAX6RKDA8deiDhN0Z2oWNmgJPsiQaTF7VndwVvPuiSaa64/szkQHZpShyJ68x1e4wbdI8kzHiJtnA3fKKuMjw1QgGb+GLzkmyqE=''';
    var pass = 'e3d64688a262d3a5c455946c9b6a019d';

    var ff = base64.decode(encryptedText).toString();

    try {
      final secretKey = SecretKey(pass.codeUnits);

      final newSecretKeyBytes = await secretKey.extractBytes();

      final algorithm = AesCtr.with128bits(
        macAlgorithm: Hmac.sha256(),
      );
      final clearText = await algorithm.decrypt(
        SecretBox(base64.decode(encryptedText),
            nonce: newSecretKeyBytes, mac: Mac.empty),
        secretKey: secretKey,
      );
      var decryptText = String.fromCharCodes(clearText);

      print(decryptText);
    } catch (e) {
      print('aesDecrypt hata');
      print(e.toString());
    }

Are you positive the AESCipher from the pyaes package is using the same AES algorithm and amount of bits?

Are you positive the AESCipher from the pyaes package is using the same AES algorithm and amount of bits?

This
https://github.com/Gujal00/ResolveURL/blob/master/script.module.resolveurl/lib/resolveurl/lib/pyaes/openssl_aes.py

It says it defaults to 256 bit encryption but you are using 128bits in dart. Try with 256 bits in dart.

It says it defaults to 256 bit encryption but you are using 128bits in dart. Try with 256 bits in dart.

I don't understand how to extract the problem IV value? Md5 or something is used, when I compile in python, there are byte codes starting with \x, normal number values in darts

Oh yeah I didn't notice that before. Seems like the python package is using a function derive_key_and_iv to obtain the iv. You may need to call that function yourself with the same inputs to get the iv. It doesn't seem like the encrypt or decrypt functions return that value.

Oh yeah I didn't notice that before. Seems like the python package is using a function derive_key_and_iv to obtain the iv. You may need to call that function yourself with the same inputs to get the iv. It doesn't seem like the encrypt or decrypt functions return that value.

I tried this but it doesn't seem to be complete with Uint8List or I couldn't and I guess the Md5 process is not in this library

The following code prints the expected json. Just call decrypt(). @tjcampanella was right, you need to use 256 bits and no HMAC. The codes string with \x suggest hexadecimal values. You can print them in python with print(key.hex()), in dart with print(hex.encode(key));.
import 'package:convert/convert.dart';
import 'package:crypto/crypto.dart';

import 'package:better_cryptography/better_cryptography.dart' as bc;
import 'dart:convert';

Future<void> decrypt() async {
  var encryptedText =
      '''U2FsdGVkX1/rIYxYVhS1xS+T55ZbD7FErs4XNP6KE3YdHgm1pQuH8kyq4SDTFAfg3R0EFqpiXbCGUusnlgBvClgxmGQHv9hJ5io/O5VBJuKhwPEC4DrjXOwH7iJ/hz4YFHeFpnWnZyLSk44OU8ZdN18FIoLLzMD0UvJ+8hFXDYAxzBT4Hu197IUGgRbH7IWNVnttgN4ltvNGqHHJwQ/ZvuC4TG4PuFUN4XDXNiDaZuqv8g+FcNHKm0NZBatGRUSJGyKD9b9NDOkraMFZX6R/kuCth5hpvmLKULGdhVKgsAc05fRP2JmT7xO1jp5CnlFT3FYVd1AC6sJrsgp/I0Ie4bbotpl2lzhmHhJBpJLRR72WCSJ/7h3cvagFGyR76kbMy2CLMCKlxEJZyKpNsatjkQJPIBdjOwUY/nAeBOiArFf0TytndcVkC0RWINiezIYye8Scf8w7P/sCwD/kLgYEYLoF8d3guBmcngY/aARdNvLGv23UhcbrbAwIhbZXwbI3BouGAAQrtAX6RKDA8deiDhN0Z2oWNmgJPsiQaTF7VndwVvPuiSaa64/szkQHZpShyJ68x1e4wbdI8kzHiJtnA3fKKuMjw1QgGb+GLzkmyqE=''';
  var pass = 'e3d64688a262d3a5c455946c9b6a019d';
  final passList = utf8.encode(pass);

  var ff = base64.decode(encryptedText);

  const offset = "Salted__".length;
  final salt = ff.sublist(offset, 16);
  final data = ff.sublist(offset + salt.length);

  final keyAndIv = deriveKeyAndIv(passList, salt);
  print(hex.encode(keyAndIv.key));
  print(hex.encode(keyAndIv.iv));

  try {
    final secretKey = bc.SecretKey(keyAndIv.key);

    final algorithm = bc.AesCbc.with256bits(
      macAlgorithm: bc.MacAlgorithm.empty,
    );
    final clearText = await algorithm.decrypt(
      bc.SecretBox(data, nonce: keyAndIv.iv, mac: bc.Mac.empty),
      secretKey: secretKey,
    );
    var decryptText = String.fromCharCodes(clearText);

    print(decryptText);
  } catch (e) {
    print('aesDecrypt hata');
    print(e.toString());
  }
}

class KeyAndIv {
  final List<int> key;
  final List<int> iv;

  KeyAndIv(this.key, this.iv);
}

KeyAndIv deriveKeyAndIv(List<int> password, List<int> salt,
    [int keyLength = 32, int ivLength = 16]) {
  List<int> d = List.empty(growable: true);
  List<int> di = List.empty(growable: true);

  while (d.length < keyLength + ivLength) {
    di = md5.convert(di + password + salt).bytes;
    d += di;
  }
  return KeyAndIv(
    d.sublist(0, keyLength),
    d.sublist(keyLength, keyLength + ivLength),
  );
}

Hope this helps.

Since it is a block cipher, the encoding and decoding happens in blocks of 128 bits. The data to encrypt will not always be divisible by 128 bits, and therefore some padding needs to be added at the end of the data. It's meaningless data just to fill up to the needed length. When decrypting, you need to remove this padding, like you do with:
return String.fromCharCodes(paddedPlainText.sublist(0, paddedPlainText.length - paddedPlainText.last));

Since it is a block cipher, the encoding and decoding happens in blocks of 128 bits. The data to encrypt will not always be divisible by 128 bits, and therefore some padding needs to be added at the end of the data. It's meaningless data just to fill up to the needed length. When decrypting, you need to remove this padding, like you do with:
return String.fromCharCodes(paddedPlainText.sublist(0, paddedPlainText.length - paddedPlainText.last));

This dart library removes the padding automatically. You can see it in the dart implementation.

Thank you so much for your interest and help.👍


Edit Menu and Keyboard Shortcuts

Expected behavior:
Expected that these menu items would appear under the Edit menu on dropdown -

Undo
Cut
Copy
Paste

and that keyboard controls for undo, cut, copy and paste would work in the editor
Actual Behavior: No menu items on dropdown and keyboard controls were not working to undo, cut, copy or paste

👍 to this. Undo/Redo will get tricky, but I imagine.
And we have to be careful to not hijack the browser's keyboard shortcuts for word jumping, undoing, redoing, copying, etc. These menu items should be active when an entity is selected and no other form field is focussed. Additionally, it'd be nice to add all these same options as context-menu options when right-clicked.
I like how Sketch handles this:

Closed by https://github.com/aframevr/aframe-inspector/issues/298


Fixed inverse cv::linearPolar transform missing-patch-in-output bug.

Fixes https://github.com/Itseez/opencv/issues/5764.

I am getting an error like:  remoteFailed: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion. ]. I think it is not related to patch. Should I do anything to fix it?

I am getting an error ( buildbot ) like:
command timed out: 180 seconds without output running buildenv python ../opencv/modules/ts/misc/run.py --gtest_output=xml:results_perf_stitching.xml -t stitching --check --perf_impl=plain, attempting to kill process killed by signal 9 program finished with exit code -1 elapsedTime=196.235178
Please help me in fixing it. I think rebuilding will solve the problem.

Please restart the iOS build as it says not_queued for a long time. Thanks :)

Please let me know if this is correct.

@alalek Yeah I get your point. Any ideas on how to proceed? I have gone through the source code many times and tried whatever possible.

There is a problem with gap between 360 and 0 degrees. I added border (wrap mode) to resolve this.
Replaced by #6206


Issues with tags creation and Slf4j’s MDC using local-fields

Describe the bug
I am trying to create tags for my spans and also set my Slf4j’s MDC using local-fields declared on my properties file but it doesn't seem to work. I am already doing this with remote-fields and it's working flawlessly. I found a similar issue 28 and updated the dependency to 1.0.0-M6 but it doesn't seem to fix the tag creation and Slf4j’s MDC injection using local-fields.
Sample
sleuth:
    baggage:
      remote-fields: request-id
      local-fields: device-id
      correlation-fields: request-id,device-id
      tag-fields: request-id,device-id

 {"timestamp":"2022-06-16T02:22:26.679169301Z","level":"INFO","message":"event produced","service_name":"app","context":{"spanId":"0278ba8ef78d4105","traceId":"ed9e84e9743102dcbabed7d02d95ff4b","request-id":"456733"}}

Do you have a sample that replicates this problem?

Hello @marcingrzejszczak
I created an example here.
Application.yml
sleuth:
    baggage:
      remote-fields: request-id
      local-fields: device-id
      correlation-fields: request-id,device-id
      tag-fields: request-id,device-id

Code
@SpringBootApplication
public class DemoSleuthOtelApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoSleuthOtelApplication.class, args);
	}

	@RestController
	class DemoSleuthOtel {
		private static final Logger log = LoggerFactory.getLogger(DemoSleuthOtelApplication.class);

		@RequestMapping("/test")
		public String service4MethodInController() throws InterruptedException {
			// MDC.put("first", "Dorothy"); -> Works
			log.debug("test endpoint called");
			return "Ok";
		}
	}

}

Request
curl --location --request GET 'http://localhost:18888/test' \
    --header 'request-id: 123' \
    --header 'device-id: 321'

Logs

Jaeger

The reproducer is extremely complex. Can you please simplify it, update it to use the 1.1.1-SNAPSHOT version of Sleuth OTel and see if it helped? Also, I don't really understand what's working and what is not working.

Ping @HenriqueLBorges


Cannot find module 'casper' when trying to run within Rails app

Hi,
I was trying to use this within my pre-existing Rails app and seem to keep getting a 'Cannot find module "casper"' error message.
I added your Git repo to the root of my app and changed the casperPath to point the CasperJs directory for phantom.casperPath, but no luck.
Let me know if you can help with this or if you can point me to any useful tutorials on using PhantomCSS in a Rails app.
Thanks
Ted

Hi,
i'm trying to gather data from a website using css path with help of  "phantomJs as well as casperJs".
but i'm getting some error like " Error: Cannot find module 'casper'
phantomjs://bootstrap.js:289
phantomjs://bootstrap.js:254 in require
test.js:7"
//line 7 code:  var casper = require('casper').create();
i need  some assistance over my problem i'm facing. please do reply asap.

Is this resolved? I face the same issue as Deepak is facing.
ReferenceError: Can't find variable: casper
phantomjs://code/testsuite.js:24 in global code


Testcase "User Session (login)" not working

The asserts in the testcase for the 302-redirect are wrong because the ru-dev IDP does not return scope "gem-auth+openid&amp".

Hi @bneidhold. It will be updated with the next release.


IGNITE-10690: Fixed Ignite unsupported java.time.Instant type

Earlier if some type was supported by H2, but not by Ignite, we got
scary error on select (or put if index is used):  H2 used to say type is
supported, Ignite - that it's not. java.time.Instant is one of them.
Replaced H2's DataType.getTypeForClass with Ignite's one that returns
JAVA_OBJECT if any type is unsupported by Ignite.

Finally deceided to just fix for the Instant type.

This PR is associated with a resolved ticket. Closing the PR, please reopen it if you still need it.


after install newest verison trackpad out of control left click become right click  ,while bluetooth mouse fine ,don't open login start!!!

OS
macOS 12.2.1 (Build 21D62)
LinearMouse
v0.10.0
Describe the bug
after install newest verison trackpad out of control left click become right click  ,while bluetooth mouse fine ,don't open login start!!!
To reproduce
No response
Expected behavior
No response
Anything else?
No response

Could you share your configuration file?


Concerto 1.0

Changes

Migrate to Concerto 1.0
Migrate from moment to dayjs

Coverage increased (+0.002%) to 89.089% when pulling 984d39693d6a4d9a0214debd7ace5f410d699995 on concerto-1.0 into d776a0a22ef70341325a0db781c0458c11ec7723 on master.


Gradle 2.14 break

Hi, I have two different flavor in my app. 1. betatester and 2. hockey
Now, I want to upload hockey flavor build on my hockey account. So I have run the command as follow:
gradlew uploadHockeyReleaseToHockeyApp
But that is failed with error message INSTANCE
I am not getting where is the exact issue. Please check below Failed message and let me now where might be the issue for that.
`
:app:zipalignHockeyRelease
:app:assembleHockeyRelease
:app:uploadHockeyReleaseToHockeyApp
App file: D:\AndroidStudioWorkspace\CroziApp\app\build\outputs\apk\app-hockey-release.apk
Mapping file: D:\AndroidStudioWorkspace\CroziApp\app\build\outputs\mapping\hockey\release\mapping.txt
:app:uploadHockeyReleaseToHockeyApp FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:uploadHockeyReleaseToHockeyApp'.

INSTANCE

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 48.746 secs
`
Thanks.
Sincerely,
Shreyash

Could you please run with --debug to get more details

Hi,
I do have the same issue on my side.
Run with --stacktrace, the following exception has been logged:
Caused by: java.lang.NoClassDefFoundError: org/gradle/internal/logging/progress/ProgressLoggerFactory
	at de.felixschulze.gradle.HockeyAppUploadTask.uploadFilesToHockeyApp(HockeyAppUploadTask.groovy:156)
	at de.felixschulze.gradle.HockeyAppUploadTask$uploadFilesToHockeyApp.callCurrent(Unknown Source)
	at de.felixschulze.gradle.HockeyAppUploadTask.upload(HockeyAppUploadTask.groovy:150)
	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
	... 68 more
Caused by: java.lang.ClassNotFoundException: org.gradle.internal.logging.progress.ProgressLoggerFactory
	... 79 more

Regards,
David

Sounds like ProgressLoggerFactory is not usable from plugins anymore. See https://github.com/elastic/elasticsearch/issues/18935

I was using gradle 2.10. I am trying with 2.14.

With 2.14, I am getting a different issue:
Caused by: java.lang.NoSuchFieldError: INSTANCE
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:144)
        at org.apache.http.impl.client.HttpClientBuilder.build(HttpClientBuilder.java:955)
        at org.apache.http.impl.client.HttpClientBuilder$build$1.call(Unknown Source)
        at de.felixschulze.gradle.HockeyAppUploadTask.uploadFilesToHockeyApp(HockeyAppUploadTask.groovy:176)
        at de.felixschulze.gradle.HockeyAppUploadTask$uploadFilesToHockeyApp.callCurrent(Unknown Source)
        at de.felixschulze.gradle.HockeyAppUploadTask.upload(HockeyAppUploadTask.groovy:150)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)

Java is 1.8
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Hm ok i think the only way is to completly remove the ProgressLogger from the plugin, or?

I have almost the same issue.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.http.conn.ssl.SSLConnectionSocketFactory
I am using
java version "1.8.0_91"
gradle version "2.14.1"

Since moving from 2.10 to 2.14 I am seeing:
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app-android:uploadDevReleaseToHockeyApp'.

No service of type ProgressLoggerFactory available in ProjectScopeServices.

@x2on Any plans on fixing the ProgressLogger issue? Maybe removing the ProgressLogger for the time being?

Are there any plans to fix this? For more than a month the plugin has been unusable for me. It's just to know if I need to find an alternative solution. Thanks.

Im currently working on a fix.

@x2on
Is that issue resolved?

Yes it's fixed in the 3.6 release.
I tested it with gradle 2.14.1 and it worked fine.


feat(openapi): upgrade generator to 6.x

Is your feature request related to a problem? Please describe.
During the time of creation of this issue, the openapi-generator in use is 5.2.1. Upgrading to next major version 6.x brings in breaking changes to the existing generated codes.
Currently the openapi generated codes are present in the following packages
(can be listed using find ./ -iwholename "./**/src/main/json/openapi.json" )
./extensions/cactus-plugin-htlc-coordinator-besu/src/main/json/openapi.json
./extensions/cactus-plugin-object-store-ipfs/src/main/json/openapi.json
./examples/cactus-example-supply-chain-business-logic-plugin/src/main/json/openapi.json
./examples/cactus-example-carbon-accounting-business-logic-plugin/src/main/json/openapi.json
./packages/cactus-plugin-consortium-manual/src/main/json/openapi.json
./packages/cactus-plugin-keychain-google-sm/src/main/json/openapi.json
./packages/cactus-plugin-keychain-aws-sm/src/main/json/openapi.json
./packages/cactus-plugin-keychain-azure-kv/src/main/json/openapi.json
./packages/cactus-plugin-ledger-connector-corda/src/main/json/openapi.json
./packages/cactus-plugin-ledger-connector-iroha/src/main/json/openapi.json
./packages/cactus-plugin-keychain-memory/src/main/json/openapi.json
./packages/cactus-plugin-ledger-connector-xdai/src/main/json/openapi.json
./packages/cactus-plugin-keychain-vault/src/main/json/openapi.json
./packages/cactus-plugin-ledger-connector-quorum/src/main/json/openapi.json
./packages/cactus-core-api/src/main/json/openapi.json
./packages/cactus-plugin-htlc-eth-besu-erc20/src/main/json/openapi.json
./packages/cactus-plugin-ledger-connector-fabric/src/main/json/openapi.json
./packages/cactus-cmd-api-server/src/main/json/openapi.json
./packages/cactus-plugin-keychain-memory-wasm/src/main/json/openapi.json
./packages/cactus-plugin-ledger-connector-besu/src/main/json/openapi.json
./packages/cactus-plugin-odap-hermes/src/main/json/openapi.json
./packages/cactus-plugin-odap-hermes/dist/lib/src/main/json/openapi.json
./packages/cactus-plugin-htlc-eth-besu/src/main/json/openapi.json

As there are lot of dependent packages and the impact of conflicts is not estimated at the time of creation of this epic, it can be gradually complete with both the openapi-generator versions 5.2.1 and 6.x. But the closure of this epic shall only reflect the 6.x version under all the packages.
This is a high priority issue, as completion of this will not only improve the generated code (and might fix issues related with oneOf, anyOf.. etc etc with other languages like kotlin), but will also reduce the regular dependabot upgades related to the generated code libraries.
Completion of this epic shall be targeted prior to our 2.0.0 release so that we can make that breaking change in our own code with the publishing of our own v2.0.0
Describe the solution you'd like

Updating the specified package code to make it work with the newly generated code
Testing of the respective test cases
The CI pipelines should pass

@petermetz I am unable to add #2298 and #2299 issues to this epic (the zenhub missing permission).
The Add issues to this epic is not accessible by me here (the bottom most button in the referenced screenshot)

@jagpreetsinghsasan Sorry for the slow response! In the meantime ZenHub went paid-only (no more free tier that we can use that I could find) so now we are on GitHub projects to track the v2 release progress: https://github.com/orgs/hyperledger/projects/27 (let me know if you have any permission issues there)
On the topic of the work for this issue: This got fixed in the meantime by https://github.com/hyperledger/cacti/pull/2633


Fix some display issues in UG

Codecov Report
Base: 71.62% // Head: 71.62% // No change to project coverage :thumbsup:

Coverage data is based on head (ef352e7) compared to base (67e17aa).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #366   +/-   ##
=========================================
  Coverage     71.62%   71.62%
  Complexity     1391     1391
=========================================
  Files           196      196
  Lines          4473     4473
  Branches        556      556
=========================================
  Hits           3204     3204
  Misses         1075     1075
  Partials        194      194

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[5.5] Backport PHP 7.3 and 7.4 Support

5.5 has ended though.

This isn't going to work because of PHPUnit.

@GrahamCampbell @driesvints Any chance to get PHP 7.4 support for Laravel 5.5?

@majuansari 5.5 is EoL


Check for multiple related issues in deep-reblame

Fixes #4440
Test URLs

Visit https://github.com/pixiebrix/pixiebrix-extension/blame/69a0e85c03f57e094591865b5dcf0632c4c9e26f/browsers/chrome/webpack/webpack.dev.js#L101
alt-click reblame icon

Screenshot

Marked as draft since I want to check the commit title.

@fregante I cannot find where we discussed it but we did not add the commit title as anyone can type what every they want.

I’m not sure I understand your last comment. Which commit title? We’re already getting the issue links from the commit title, right?

I’m not sure I understand your last comment. Which commit title? We’re already getting the issue links from the commit title, right?
There is the commit title and then there is the pull request title.

You might be right. Let me double check what I did here later. I wrote this in under 3 min.

Please ignore my last comment


Add Geo API Client

Added in https://github.com/Zero-man/nyt-api-dotnet-client/commit/e89f2eebd744c13ab3e575a083dcaf9b638e322f


🚧Update runsettings file

I have done the items below . . .

[X] I have updated the title without removing the 🚧 emoji.

Description
Update the Velaptor.runsettings file by fixing one of the exclude items.
Currently it is excluding an old name of a library that does not exist anymore and it should be excluding the entire VelapatorTesting app code base.
Need to run this in Visual Studio to make sure that the runsettings is correctly ignoring the VelaptorTesting code base.
Refer to image below:

Acceptance Criteria
This issue is finished when:

[x] The value VelaptorTesting.dll added to exclusions
[x] The value VelaptorTesting.exe added to exclusions
[x] All unit tests pass

ToDo Items

[X] Priority label added to this issue.  Refer to the Priority Type Labels section below.
[X] Change type labels added to this issue.  Refer to the Change Type Labels section below.
[X] Issue linked to the correct project.
[X] Issue linked to the correct milestone.
[ ] Draft pull request created and linked to this issue.

Issue Dependencies
No response
Related Work
No response
Additional Information:
Change Type Labels

Change Type
Label

Bug Fixes
https://github.com/KinsonDigital/Velaptor/labels/🐛bug

Breaking Changes
https://github.com/KinsonDigital/Velaptor/labels/💣breaking changes

Enhancement
https://github.com/KinsonDigital/Velaptor/labels/enhancement

Workflow Changes
https://github.com/KinsonDigital/Velaptor/labels/workflow

Code Doc Changes
https://github.com/KinsonDigital/Velaptor/labels/📑documentation%2Fcode

Product Doc Changes
https://github.com/KinsonDigital/Velaptor/labels/📝documentation%2Fproduct

Priority Type Labels

Priority Type
Label

Low Priority
https://github.com/KinsonDigital/Velaptor/labels/low priority

Medium Priority
https://github.com/KinsonDigital/Velaptor/labels/medium priority

High Priority
https://github.com/KinsonDigital/Velaptor/labels/high priority

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

⚠NOTE: Could not test this out.  This change is for the purpose of ignoring code coverage results.  Code coverage is only available in Visual Studio Enterprise edition which costs money.  Due to not having this edition anymore, I could not test this.
I moved to JetBrains Rider and this is done differently in this IDE.


fixed code indentation

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #30 (d577d25) into main (6d8d6e2) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #30   +/-   ##
=========================================
  Coverage     87.23%   87.23%
  Complexity       99       99
=========================================
  Files            13       13
  Lines           282      282
  Branches         36       36
=========================================
  Hits            246      246
  Misses           23       23
  Partials         13       13


Blogs page changes for issue #398

Added favicons to the blog pages

Properly aligned the READ button on the Blogs Page

Fixed Text alignment on the blog pages

mention issue that you are targetting

issue #398

please resolve the conflicts by updating your codebase


WIP: derive http client from service

This is a work in progress to track the status of HTTP client derivation from service protocol (protocol = service annotated trait).  The actual implementation:

[x] creates a new http object within the  generated companion
[x] puts a HttpClient[F[_]: Sync] inside the http object
[x] creates a new method on HttpClient for each @http annotated method in the protocol, with all the needed.
[ ] Derive HTTP from [Protobuf|Avro|AvroWithSchema] (like we're doing for RPC).

Some assumptions/questions I've taken while implementing this:

all HTTP methods should be unary, meaning that they only take a parameter
how do we treat headers? If they're a static value, we can pass them as params to the @http annotation, to try to leave the method as similar to the RPC definition as possible. Otherwise, i haven't found a solution for that, since it'll make method incompatible with RPC...

Test
To see generated code, I've used this file
import freestyle.rpc._
import freestyle.rpc.protocol._
import freestyle.rpc.internal.encoders.pbd._

@service(Avro) trait GithubService[F[_]] {

  @http(POST, "https://github.com/frees-io/freestyle-rpc/issues")
  def postIssue(id: Int): F[String]

  @http(POST, "https://github.com/frees-io/freestyle-rpc/pr")
  def postPullRequest(id: Int): F[String]

}

And loaded directly in the REPL:
$ sbt client/console
scala> :load test.scala

Closing this PR as resolved in #552. Thanks @pepegar and @rafaparadela !


Automate 'Start a snapshot build' step in beam release guide

Automate Start a snapshot build
Sample generated PR: https://github.com/apache/beam/pull/6041
Note:
It's supposed to trigger the jenkins job but it sometimes works sometimes not. So it needs release manager to check whether build job is been triggered, if not, then add a comment manually.
r: @aaltay @pabloem

Re @aaltay
Addressed your comments in commit https://github.com/apache/beam/pull/6042/commits/21b075d11f1a298a0bcf0d6706cf43323ccc9458.
For remained manually operations, it's much easier and straightforward to do all actions in github website.


Open in new tab,not working, Cmd/Ctrl + Return

Hi, thanks for the amazing extension, as checked the prev issue #13 that confirmed the open in the tab functionality. But I've tried it on both mac (Cmd) and windows(Ctrl) + Return and it still opened the link in current window, wish this could be fixed xd.

That's odd. What browser are you using? Are you accessing bookmarks or another type of action? Both cmd + click and cmd + return should work to open in new tab.

Currently, I am using Chrome 97.0.4692.71 (Official Build) (x86_64) on macOS. Let me show you with keystrokes recording.
I've tested both tries.
https://user-images.githubusercontent.com/15688641/157700034-eaa283af-8267-4fca-b6cb-84882ece840a.mov

it doesn't work both on mac and win, so I guess it could relate to some extensions running in the chrome, will do some ablation experiment later on.

Yes can confirm, the new tab shortcut doesn't seem to work. I tried it on an incognito window as well.
OS: Mac OS Monterey
Chrome Version 106.0.5249.119 (Official Build) (arm64)


gulp appx:dev fails

Instead of opening an app, it opens a browser.
I'm running win10 10162

Hi @luisrudge, do you have Developer Mode enabled?
.

wow! I didn't know that existed. Is that documented anywhere? If it is, I'm sorry. Thanks for the help, man!
One question: Can I use windows 10 apis with this app?

Hmm.. it looks like it isn't documented in the wiki. I'll go add it in.
And yes! You can use most of the WinRT APIs. There are a few examples you can check out here.
Please feel free to reach out if you have any additional questions!

Awesome. Thanks!

luisrudge if you want to see some examples I've started posting some Gists:

Customize App Title Bar colors
Update LiveTile Image
Customize Toast messages and receive userInput
*More...

The important thing is to feature detect for the Windows namespace.  While in general you can just do something like this:
if ( typeof Windows !== 'undefined')

to be more robust you can have a pattern more like this:
if (typeof Windows !== 'undefined' &&
        typeof Windows.UI !== 'undefined' &&
        typeof Windows.UI.ViewManagement !== 'undefined') {
    // Your code here code
}

If there are any examples you'd like to see please let us know.

Is there any case where Windows exists but Windows.UI doesn't?

You are able to define your own surface area to expose, but this is not the common case.


Simple envoy configuration does not work with "netperf"

Title: Netperf fails to connect to netserver when proxied through envoy process
Description:
I have a scenario where I'm using three machines:

Machine with netperf process
Machine with Envoy proxy
Machine with netserver process

When running the client, the connection fails with the error: "Connection Refused".
Few observations:

Traffic arrived at the Envoy process but does not get to the netserver process
If I am bypassing the Envoy process and sending the request directly to the netserver, then the flow works

Repro steps:

Run envoy process with the attached configuration
Start a netserver in the proxied machine: netserver -p 5558 -DfdN4
Start a netperf client in the client machine: netperf -H <envoy_proxy_ip> -p 5557 -l 10 -v2
Receive error: netperf: send_omni: connect_data_socket failed: Connection refused

Config:
admin:
  address:
    socket_address:
      protocol: TCP
      address: <IP_ADDRESS>
      port_value: 9903

static_resources:
  listeners:
  - name: postgres_listener
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 5557
    filter_chains:
    - filters:
      - name: envoy.filters.network.tcp_proxy
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
          stat_prefix: postgres_tcp
          cluster: postgres_cluster

  clusters:
  - name: postgres_cluster
    type: STRICT_DNS
    load_assignment:
      cluster_name: postgres_cluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: netserver_machine
                port_value: 5558

Logs:
Logs abbreviated to the part of the client connection
[2022-07-11 15:51:40.732][72][trace][upstream] [source/common/upstream/cluster_discovery_manager.cc:35] cm cdm: starting processing cluster name postgres_cluster (status 2) from cluster lifecycle callback in
 worker_30
[2022-07-11 15:51:40.732][72][trace][upstream] [source/common/upstream/cluster_discovery_manager.cc:45] cm cdm: no callbacks for the cluster name postgres_cluster in worker_30
[2022-07-11 15:51:40.732][66][trace][upstream] [source/common/upstream/cluster_discovery_manager.cc:45] cm cdm: no callbacks for the cluster name postgres_cluster in worker_26
[2022-07-11 15:51:40.732][1][warning][main] [source/server/server.cc:761] there is no configured limit to the number of allowed active connections. Set a limit via the runtime key overload.global_downstream_
max_connections
[2022-07-11 15:51:44.738][39][debug][filter] [source/common/tcp_proxy/tcp_proxy.cc:197] [C0] new tcp proxy session
[2022-07-11 15:51:44.738][39][trace][connection] [source/common/network/connection_impl.cc:357] [C0] readDisable: disable=true disable_count=0 state=0 buffer_length=0
[2022-07-11 15:51:44.738][39][debug][filter] [source/common/tcp_proxy/tcp_proxy.cc:369] [C0] Creating connection to cluster postgres_cluster
[2022-07-11 15:51:44.738][39][debug][misc] [source/common/upstream/cluster_manager_impl.cc:1895] Allocating TCP conn pool
[2022-07-11 15:51:44.738][39][debug][pool] [source/common/conn_pool/conn_pool_base.cc:268] trying to create new connection
[2022-07-11 15:51:44.738][39][trace][pool] [source/common/conn_pool/conn_pool_base.cc:269] ConnPoolImplBase 0x571a3ebec220, ready_clients_.size(): 0, busy_clients_.size(): 0, connecting_clients_.size(): 0, c
onnecting_stream_capacity_: 0, num_active_streams_: 0, pending_streams_.size(): 1 per upstream preconnect ratio: 1
[2022-07-11 15:51:44.738][39][debug][pool] [source/common/conn_pool/conn_pool_base.cc:145] creating a new connection
[2022-07-11 15:51:44.738][39][debug][connection] [source/common/network/connection_impl.cc:912] [C1] connecting to <netserver_machine>:5558
[2022-07-11 15:51:44.739][39][debug][connection] [source/common/network/connection_impl.cc:931] [C1] connection in progress
[2022-07-11 15:51:44.739][39][trace][pool] [source/common/conn_pool/conn_pool_base.cc:131] not creating a new connection, shouldCreateNewConnection returned false.
[2022-07-11 15:51:44.739][39][debug][conn_handler] [source/server/active_tcp_listener.cc:142] [C0] new connection from <netperf_machine>:52270
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:563] [C0] socket event: 2
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:674] [C0] write ready
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:563] [C1] socket event: 2
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:674] [C1] write ready
[2022-07-11 15:51:44.739][39][debug][connection] [source/common/network/connection_impl.cc:683] [C1] connected
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:418] [C1] raising connection event 2
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:357] [C1] readDisable: disable=true disable_count=0 state=0 buffer_length=0
[2022-07-11 15:51:44.739][39][debug][pool] [source/common/conn_pool/conn_pool_base.cc:305] [C1] attaching to next stream
[2022-07-11 15:51:44.739][39][debug][pool] [source/common/conn_pool/conn_pool_base.cc:177] [C1] creating stream
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:357] [C1] readDisable: disable=false disable_count=1 state=0 buffer_length=0
[2022-07-11 15:51:44.739][39][trace][connection] [source/common/network/connection_impl.cc:357] [C0] readDisable: disable=false disable_count=1 state=0 buffer_length=0
[2022-07-11 15:51:44.739][39][debug][filter] [source/common/tcp_proxy/tcp_proxy.cc:665] [C0] TCP:onUpstreamEvent(), requestedServerName:
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:563] [C1] socket event: 2
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:674] [C1] write ready
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:563] [C0] socket event: 3
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:674] [C0] write ready
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:603] [C0] read ready. dispatch_buffered_data=0
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/raw_buffer_socket.cc:24] [C0] read returns: 517
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/raw_buffer_socket.cc:38] [C0] read error: Resource temporarily unavailable
[2022-07-11 15:51:44.740][39][trace][filter] [source/common/tcp_proxy/tcp_proxy.cc:552] [C0] downstream connection received 517 bytes, end_stream=false
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:478] [C1] writing 517 bytes, end_stream false
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:563] [C1] socket event: 2
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/connection_impl.cc:674] [C1] write ready
[2022-07-11 15:51:44.740][39][trace][connection] [source/common/network/raw_buffer_socket.cc:67] [C1] write returns: 517
[2022-07-11 15:51:45.723][1][debug][main] [source/server/server.cc:251] flushing stats

cc @alyssawilk hi, could you take a look for this when you have free time? Thanks.

Updating with few more observations:

If I update the envoy's upstream cluster IP to the proxy machine (and not the third machine in the list) then it works.
If I make direct netperf connection from the proxy machine to the server machine, without envoy, then netperf works - this is to rule out problems of firewall configurations

In other words - Envoy successfully creates the netperf connection only if the netserver is created on the same machine. If the upstream IP is of a different machine, then the flow doesn't work

After debugging, I can confirm that the problem is not with Envoy.
netperf is by design listening on a random port for the data connection on each test, so Envoy blocked the data connection traffic, as the destination port was not defined in the yaml


Add Canadian French Translation

Noticed that the France French translation is incomplete, but i`m not from France so i would probably get a few minor errors if i tried to edit it. I made a Canadian french translation instead.

dunno why all these commits are in there but this pr just adds the translation

the wonders of git