[BUG] Pull the template may require git pull the entire risc0 and its submodules

Bug Report
So, when the developers' network conditions are mediocre (such as, in a hotel), using cargo-risczero to start a project from the template may fail due to network errors.
https://github.com/risc0/risc0/blob/main/risc0/cargo-risczero/src/commands/new.rs
This may appear unexpected because the template is a very small folder.
The problem rests on the fact that cargo-generate, which cargo-risczero relies on, when being told to use a "subdirectory" of a GitHub repo,

it pulls the entire repo, here risc0/risc0, as well as its submodules
it gets the subdirectory

As shown here: https://github.com/cargo-generate/cargo-generate/blob/main/src/lib.rs#L214C3-L214C3
This is not ideal for two reasons.

the risc0 repo is getting big, as the recursion programs' ZIP is not small
Bonsai smart contract part has a few dependencies that lead to submodule usage

Solution
Move the template into a separate repo, with the side effect that we need to be careful about version management. This is less of a concern because by default, "use_git_branch" is optional and not used.

I'd like to keep the template in the same repository, for testing/CI reasons. But we can fix the generator to avoid using any git references by default.

here's an approach: https://github.com/cargo-generate/cargo-generate/pull/1112

But we can fix the generator to avoid using any git references by default.

Ok, so I tried the --no-git option for cargo risczero new. Following around in the cargo generate code, it looks like git is basically hard-coded. Even if you say that you're not going to use git, it'll fall back to using git so I think the fastest way is to ask upstream to allow skipping submodules. It took down the template generation from 15-30 seconds to about 9 seconds

This seems to be due to "--no-git" is to not initialize git "/// Disable init'ing a git repo in the dest project" rather than not to pull the template from the git.

For the record, this still isn't most elegant, as it would try to get all the rest of risc0 repo. This luckily does not include the LFS file (since, cargo-generate does not support it), but still wondering if there is a more clever way.
One way is to access risc0/risc0 through git without cloning. I.e., it goes to the template folder and starts downloading files in it one by one. Not sure if this can be done very elegantly.

I'd like to explore ditching cargo-generate and just using string templating to generate the project files. I don't know that we need the ability to pull down a template from a different version. We could say that if you want a different version of the project generator, then just install a different version of cargo-risczero.

We finished this just before 1.0 landed


 I have the poll set the fastest on 30 seconds however when the motion sensor picks up motion it can take around 20 seconds to show motion in home or the HomeBridge ui which is a problem because I want some stair lights to activate as soon as motion seen.
Relevant log output
No response
Config for homebridge-switchbot
No response
Screenshots
No response
Device & Model
Motion sensor
Node.js Version
16.14.2
NPM Version
8.5.0
Homebridge Version
1.4.0
Homebridge SwitchBot Plugin Version
1.12.9.beta 9
Homebridge Config UI X Plugin Version
4.42.0
Operating System
Ubuntu

#514


Feature/new actions

Why
Fix #99
Changes

Remove SyncAction
Update AsyncAction as described in #99
Internal changes to remove outdated code

Tasks

[x] Add relevant tests, if needed
[x] Add documentation, if needed
[x] Update README, if needed
[x] Ensure that all the examples (as well as the demo) work properly

I'm not sure whether it makes sense to provide custom implementation for the various updateXXX methods in order to just implement the ones that are needed for every specific action


[BrokenLinksH2] fixing broken link

@Erikre
I've commented out the broken link (in the first line of 4th graph): Visual Studio Express 2013 for Web. I noticed the other 3 links below that go to the Visual Studio 2022 version. Should the broken link point there? and should the link text on all 4 be changed to 2022? The working links say 2013 but point to 2022
I also found this link going to the 2013 version.  https://www.microsoft.com/en-us/download/details.aspx?id=40767
Is that the intended target for all?
Let me know if you'd like me to make these changes or if you'd like to handle this.
Thanks

Move this to a PR with 50 fixes.
Don't comment out, just remove the link.


[BUG] Job freezes after "No email proof, all clear" even on fresh install

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
Job gives no errors but pauses indefinitely after the "No email proof, all clear" log
Copy and paste your error
2024-06-28 10:06:03,366 [INFO] [LOGIN] Entering email...
2024-06-28 10:06:07,524 [INFO] [LOGIN] Writing password...
2024-06-28 10:06:16,098 [INFO] [LOGIN] No email proof, all clear
Screenshots
2024-06-28 10:06:03,366 [INFO] [LOGIN] Entering email...
2024-06-28 10:06:07,524 [INFO] [LOGIN] Writing password...
2024-06-28 10:06:16,098 [INFO] [LOGIN] No email proof, all clear
Value of dashboard variable
https://gist.github.com/aside6/6867489b5e65df3dd7ff10d9fc3f5d99

I get this also. I thought it was MFA related..
I found using -v and allowing it to open chrome. copy the link and use in another tab, i can then manually sign in and do mfa. usually fixes it but sometimes a faff.

I've done some work with logging-in in #120. Might be worth a shot, but believe the code that's presenting this issue is new and not synced to my fork.

No luck unfortunately.  Getting this error:
2024-06-28 15:42:43,276 [INFO] [LOGIN] Entering email...
2024-06-28 15:42:56,492 [DEBUG] in exit exc_type=<class 'selenium.common.exceptions.TimeoutException'> exc_value=Message:
Stacktrace:
GetHandleVerifier [0x0042C1C3+27395]
(No symbol) [0x003C3DC4]
(No symbol) [0x002C1B7F]
(No symbol) [0x00302C65]
(No symbol) [0x00302D3B]
(No symbol) [0x0033EC82]
(No symbol) [0x003239E4]
(No symbol) [0x0033CB24]
(No symbol) [0x00323736]
(No symbol) [0x002F7541]
(No symbol) [0x002F80BD]
GetHandleVerifier [0x006E3A93+2876371]
GetHandleVerifier [0x00737F5D+3221661]
GetHandleVerifier [0x004AD634+556916]
GetHandleVerifier [0x004B474C+585868]
(No symbol) [0x003CCE04]
(No symbol) [0x003C9818]
(No symbol) [0x003C99B7]
(No symbol) [0x003BBF0E]
BaseThreadInitThunk [0x74E87BA9+25]
RtlInitializeExceptionChain [0x76F8C10B+107]
RtlClearBits [0x76F8C08F+191]
traceback=<traceback object at 0x0000015D9B14ABC0>
2024-06-28 15:42:56,569 [ERROR]
Traceback (most recent call last):
File "C:\code\rewards2\main.py", line 39, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\rewards2\main.py", line 213, in executeBot
startingPoints = accountPointsCounter = Login(desktopBrowser, args).login()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\rewards2\src\login.py", line 30, in login
self.executeLogin()
File "C:\code\rewards2\src\login.py", line 49, in executeLogin
self.utils.waitUntilVisible(By.ID, "pushNotificationsTitle", 10)
File "C:\code\rewards2\src\utils.py", line 64, in waitUntilVisible
return WebDriverWait(self.webdriver, timeToWait).until(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bdero\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\support\wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
GetHandleVerifier [0x0042C1C3+27395]
(No symbol) [0x003C3DC4]
(No symbol) [0x002C1B7F]
(No symbol) [0x00302C65]
(No symbol) [0x00302D3B]
(No symbol) [0x0033EC82]
(No symbol) [0x003239E4]
(No symbol) [0x0033CB24]
(No symbol) [0x00323736]
(No symbol) [0x002F7541]
(No symbol) [0x002F80BD]
GetHandleVerifier [0x006E3A93+2876371]
GetHandleVerifier [0x00737F5D+3221661]
GetHandleVerifier [0x004AD634+556916]
GetHandleVerifier [0x004B474C+585868]
(No symbol) [0x003CCE04]
(No symbol) [0x003C9818]
(No symbol) [0x003C99B7]
(No symbol) [0x003BBF0E]
BaseThreadInitThunk [0x74E87BA9+25]
RtlInitializeExceptionChain [0x76F8C10B+107]
RtlClearBits [0x76F8C08F+191]

In case you need the full debug log if you want to investigate further, here are the initial lines:
2024-06-28 16:04:08,739 [INFO]<EMAIL_ADDRESS>2024-06-28 16:04:08,739 [DEBUG] in init
DevTools listening on ws://<IP_ADDRESS>:64217/devtools/browser/55313201-9420-446a-aad8-ed494cf1c4ae
2024-06-28 16:04:19,692 [INFO] Screen size: 2136x1185
2024-06-28 16:04:19,692 [INFO] Device size: 2081x1034
2024-06-28 16:04:19,724 [DEBUG] out init
2024-06-28 16:04:19,724 [DEBUG] in enter
2024-06-28 16:04:34,169 [INFO] [LOGIN] Logging-in...

Nice catch, guessing you don't have two-factor enabled?
Anyways that immediate issue should be fixed if you want to pull and try again

Got a bit further, here's the next error.  By the way, I appreciate you so much for the time you've spent already!  I'm a senior level developer myself, but in the .Net/Angular stack.  Haven't done this kind of scraping work in a very long time, I applaud you and everyone else for your hard work in this tedious space, it's not easy!!
2024-06-28 18:13:53,876 [INFO]<EMAIL_ADDRESS>2024-06-28 18:13:53,877 [DEBUG] in init
DevTools listening on ws://<IP_ADDRESS>:61980/devtools/browser/b49dc207-9181-4aca-80b8-ce8eaef1cbf1
2024-06-28 18:14:05,677 [INFO] Screen size: 1107x950
2024-06-28 18:14:05,678 [INFO] Device size: 1052x799
2024-06-28 18:14:05,712 [DEBUG] out init
2024-06-28 18:14:05,713 [DEBUG] in enter
2024-06-28 18:14:20,385 [INFO] [LOGIN] Logging-in...
2024-06-28 18:14:20,474 [INFO] [LOGIN] Entering email...
2024-06-28 18:14:33,735 [DEBUG] isTwoFactorEnabled = False
2024-06-28 18:14:33,774 [INFO] [LOGIN] Entering password...
2024-06-28 18:14:49,798 [DEBUG] in exit exc_type=<class 'selenium.common.exceptions.TimeoutException'> exc_value=Message:
Stacktrace:
GetHandleVerifier [0x0041C1C3+27395]
(No symbol) [0x003B3DC4]
(No symbol) [0x002B1B7F]
(No symbol) [0x002F2C65]
(No symbol) [0x002F2D3B]
(No symbol) [0x0032EC82]
(No symbol) [0x003139E4]
(No symbol) [0x0032CB24]
(No symbol) [0x00313736]
(No symbol) [0x002E7541]
(No symbol) [0x002E80BD]
GetHandleVerifier [0x006D3A93+2876371]
GetHandleVerifier [0x00727F5D+3221661]
GetHandleVerifier [0x0049D634+556916]
GetHandleVerifier [0x004A474C+585868]
(No symbol) [0x003BCE04]
(No symbol) [0x003B9818]
(No symbol) [0x003B99B7]
(No symbol) [0x003ABF0E]
BaseThreadInitThunk [0x74E87BA9+25]
RtlInitializeExceptionChain [0x76F8C10B+107]
RtlClearBits [0x76F8C08F+191]
traceback=<traceback object at 0x0000018B917C0900>
2024-06-28 18:14:50,012 [ERROR]
Traceback (most recent call last):
File "C:\code\rewards2\main.py", line 39, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\rewards2\main.py", line 213, in executeBot
startingPoints = accountPointsCounter = Login(desktopBrowser, args).login()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\rewards2\src\login.py", line 30, in login
self.executeLogin()
File "C:\code\rewards2\src\login.py", line 81, in executeLogin
self.utils.waitUntilVisible(
File "C:\code\rewards2\src\utils.py", line 65, in waitUntilVisible
return WebDriverWait(self.webdriver, timeToWait).until(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bdero\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\support\wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
GetHandleVerifier [0x0041C1C3+27395]
(No symbol) [0x003B3DC4]
(No symbol) [0x002B1B7F]
(No symbol) [0x002F2C65]
(No symbol) [0x002F2D3B]
(No symbol) [0x0032EC82]
(No symbol) [0x003139E4]
(No symbol) [0x0032CB24]
(No symbol) [0x00313736]
(No symbol) [0x002E7541]
(No symbol) [0x002E80BD]
GetHandleVerifier [0x006D3A93+2876371]
GetHandleVerifier [0x00727F5D+3221661]
GetHandleVerifier [0x0049D634+556916]
GetHandleVerifier [0x004A474C+585868]
(No symbol) [0x003BCE04]
(No symbol) [0x003B9818]
(No symbol) [0x003B99B7]
(No symbol) [0x003ABF0E]
BaseThreadInitThunk [0x74E87BA9+25]
RtlInitializeExceptionChain [0x76F8C10B+107]
RtlClearBits [0x76F8C08F+191]
2024-06-28 18:14:50,474 [INFO] [POINTS] Data saved for the next day.

Thanks!
Just pushed what I think should be a fix. My guess is the code's not accounting for the keep-me-signed-in form, it should now.

how do i get that update, the code says was edited 4 days ago. Sorry, prob being a noob

Still erroring out unfortunately.  I'm realizing I need to actually set up a good git clone and start fiddling with it in VSCode myself.  It'd be good for me to learn more about the ins and outs of Python debugging.
Alas, here's the error I'm getting if that's at all helpful:
2024-06-28 20:47:46,943 [DEBUG] in init
DevTools listening on ws://<IP_ADDRESS>:60668/devtools/browser/e4b0dd76-39ab-4e53-be19-bac7bd8dfd78
2024-06-28 20:47:58,378 [INFO] Screen size: 2220x1135
2024-06-28 20:47:58,378 [INFO] Device size: 2165x984
2024-06-28 20:47:58,409 [DEBUG] out init
2024-06-28 20:47:58,409 [DEBUG] in enter
2024-06-28 20:48:13,251 [INFO] [LOGIN] Logging-in...
2024-06-28 20:48:13,294 [INFO] [LOGIN] Entering email...
2024-06-28 20:48:23,569 [DEBUG] isTwoFactorEnabled = False
2024-06-28 20:48:23,590 [INFO] [LOGIN] Entering password...
2024-06-28 20:48:37,259 [DEBUG] in exit exc_type=<class 'selenium.common.exceptions.TimeoutException'> exc_value=Message:
Stacktrace:
GetHandleVerifier [0x010FC1C3+27395]
(No symbol) [0x01093DC4]
(No symbol) [0x00F91B7F]
(No symbol) [0x00FD2C65]
(No symbol) [0x00FD2D3B]
(No symbol) [0x0100EC82]
(No symbol) [0x00FF39E4]
(No symbol) [0x0100CB24]
(No symbol) [0x00FF3736]
(No symbol) [0x00FC7541]
(No symbol) [0x00FC80BD]
GetHandleVerifier [0x013B3A93+2876371]
GetHandleVerifier [0x01407F5D+3221661]
GetHandleVerifier [0x0117D634+556916]
GetHandleVerifier [0x0118474C+585868]
(No symbol) [0x0109CE04]
(No symbol) [0x01099818]
(No symbol) [0x010999B7]
(No symbol) [0x0108BF0E]
BaseThreadInitThunk [0x74E87BA9+25]
RtlInitializeExceptionChain [0x76F8C10B+107]
RtlClearBits [0x76F8C08F+191]
traceback=<traceback object at 0x00000200A3158F80>
2024-06-28 20:48:37,476 [ERROR]
Traceback (most recent call last):
File "C:\code\rewards2\main.py", line 39, in main
earned_points = executeBot(currentAccount, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\rewards2\main.py", line 213, in executeBot
startingPoints = accountPointsCounter = Login(desktopBrowser, args).login()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\code\rewards2\src\login.py", line 29, in login
self.executeLogin()
File "C:\code\rewards2\src\login.py", line 74, in executeLogin
self.utils.waitUntilVisible(
File "C:\code\rewards2\src\utils.py", line 65, in waitUntilVisible
return WebDriverWait(self.webdriver, timeToWait).until(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\bdero\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\support\wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
GetHandleVerifier [0x010FC1C3+27395]
(No symbol) [0x01093DC4]
(No symbol) [0x00F91B7F]
(No symbol) [0x00FD2C65]
(No symbol) [0x00FD2D3B]
(No symbol) [0x0100EC82]
(No symbol) [0x00FF39E4]
(No symbol) [0x0100CB24]
(No symbol) [0x00FF3736]
(No symbol) [0x00FC7541]
(No symbol) [0x00FC80BD]
GetHandleVerifier [0x013B3A93+2876371]
GetHandleVerifier [0x01407F5D+3221661]
GetHandleVerifier [0x0117D634+556916]
GetHandleVerifier [0x0118474C+585868]
(No symbol) [0x0109CE04]
(No symbol) [0x01099818]
(No symbol) [0x010999B7]
(No symbol) [0x0108BF0E]
BaseThreadInitThunk [0x74E87BA9+25]
RtlInitializeExceptionChain [0x76F8C10B+107]
RtlClearBits [0x76F8C08F+191]
2024-06-28 20:48:37,997 [INFO] [POINTS] Data saved for the next day.

I decided to try to be useful and actually setup a VS Code environment so I could properly debug the issue locally.  Turns out the issue is related to a new screen after logging in..   I was getting the "Lets protect your account" screen suddenly asking for me to add in a backup email address, which the code doesn't account for.  I might try to add that in as a check in the coming days (to show a message to the user that they will need to set this up), but anyone else facing the same issue can just do this manually in the browser and retry for now :)


SMP failure for GHC 8.4

[ 4 of 40] Compiling Data.Aeson.Config.Types ( src/Data/Aeson/Config/Types.hs, dist/build/spec/spec-tmp/Data/Aeson/Config/Types.dyn_o )

src/Data/Aeson/Config/Types.hs:15:55: error:
    • No instance for (Semigroup (List a))
        arising from the 'deriving' clause of a data type declaration
      Possible fix:
        use a standalone 'deriving instance' declaration,
          so you can specify the instance context yourself
    • When deriving the instance for (Monoid (List a))
   |
15 |   deriving (Eq, Show, Functor, Foldable, Traversable, Monoid)
   |                                                       ^^^^^^

..and..
[17 of 40] Compiling Hpack.Syntax.Dependency ( src/Hpack/Syntax/Dependency.hs, dist/build/spec/spec-tmp/Hpack/Syntax/Dependency.dyn_o )

src/Hpack/Syntax/Dependency.hs:35:23: error:
    • No instance for (Semigroup Dependencies)
        arising from the 'deriving' clause of a data type declaration
      Possible fix:
        use a standalone 'deriving instance' declaration,
          so you can specify the instance context yourself
    • When deriving the instance for (Monoid Dependencies)
   |
35 | } deriving (Eq, Show, Monoid)
   |                       ^^^^^^

bump. ghc 8.4 is now released. Build failure as seen on the stackage build server:
[ 4 of 20] Compiling Data.Aeson.Config.Types ( src/Data/Aeson/Config/Types.hs, dist/build/Data/Aeson/Config/Types.o )

src/Data/Aeson/Config/Types.hs:15:55: error:
    • No instance for (Semigroup (List a))
        arising from the 'deriving' clause of a data type declaration
      Possible fix:
        use a standalone 'deriving instance' declaration,
          so you can specify the instance context yourself
    • When deriving the instance for (Monoid (List a))
   |
15 |   deriving (Eq, Show, Functor, Foldable, Traversable, Monoid)
   |                                                       ^^^^^^

Add semigroup instances.
See also: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.4#SemigroupMonoidsuperclasses

Fix released to Hackage as 0.28.1.


allow injecting logger as dependency

Haven't done much testing, just quickly throwing some code in github. Will test more in a bit but basically the idea here is that it'd be nice if we could use the already exported createPinoLogger() fn to create our pino logger prior to the Elysia app startup to to bootstrap logging using the same pino logger instance that our elysia app uses.

Hi 👋 thanks for your contribution!
this will be published within the next few minutes → 0.0.11


Merge branch release/2.1 into 2.2

This brings forward both https://github.com/aspnet/EntityFrameworkCore/pull/13843 and the source of aspnet/Microsoft.Data.Sqlite release/2.2 into this repo.

@dotnet-bot test OSX 10.12 Release Build


build_ios_libs.py: Allow customizing the deployment target

Previously, this script hardcoded deployment targets for device, simulator, and Catalyst builds. This commit turns those into minimums (and restores them to match WebRTC's tested minimum of iOS 12), but allows callers to pass a higher version with --deployment-target.

Upstream WebRTC merged this in https://webrtc-review.googlesource.com/c/src/+/314420, so we don't have to maintain it separately anymore. We'll pick it up in the M116 merge.


pubsub announcements should include provider multiaddr to allow subscribers to connect

subscribers should be able to form a reliable connection back to publishers without knowing the publisher address in advance. For this, the peerID in the pubsub message isn't enough, and a corresponding multiaddr is also needed.

Fixed by #36


Update sbt, scripted-plugin to 1.4.6

Updates

org.scala-sbt:sbt
org.scala-sbt:scripted-plugin

from 1.4.1 to 1.4.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

labels: library-update, semver-patch

Superseded by #21.

Superseded by #21.


Change the value of DECRYPT_MODE to 2 to be consistent with JDK

This PR is to fix CRYPTO-29

@dianfu , 'final ' seems better.
public static final int ENCRYPT_MODE = 1;
public static final int DECRYPT_MODE = 2;

@kexianda Thanks for the review. Make sense. Updated the PR.

@dianfu
oops, these two variable are in the interface.' public static final' seems reduntant.
Variables declared in Interface are implicitly public static final

+1
@dianfu
Please also comment in the JIRA that using the constant instead of enum is consistent with JCE.

@jerrychenhf  Thanks for the review. Have commented in the JIRA about this.


Added verbose option to enable/disable logging

Fixes #269
This adds a verbose option the the Loki constructor.
Loki instances and its Collections will only log errors and warnings to console if the verbose flag is set. It is disabled by default.
Apart from that I also changed the IndexedDB adapter to throw instead of log if IndexedDB is not supported. I think this behavior is more reasonable and also makes the adapter completely non-logging. Thus the verbose option of a Loki instance does not have to be propagated to control logging in there.
I left all „fallback“ logs (if no callback is provided) where they are so that using Loki in a REPL is still possible. Since Loki itself always provides a callback to all internal calls those logs should normally never appear.
Apart from that the only logs that are left can be found in the loki-angular.js module. I’m not sure how to handle those since they are not directly related to a single Loki instance and thus not related to any specific verbose flag value.

Looks great, thanks!


Request to add APPUiO to CNCF landscape

APPUiO offers hosted Kubernetes and OpenShift services all around the world. APPUiO is a product of VSHN AG which is a CNCF silver member.
Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Is your project closed source or, if it is open source, does your project have at least 250 GitHub stars?
[x] Have you picked the single best (existing) category for your project?
[x] Does it follow the other guidelines from the new entries section?
[x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[x] Does your project/product name match the text on the logo?
[x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] 2 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

Deploy preview for landscape ready!
Built with commit 0774daa528116894f784d02c04d35508cd8a436c
https://deploy-preview-757--landscape.netlify.com

Unfortunately, we can't include this because of the rule: "We are generally not including commercial versions of open source software. The exception is that we are showing all Certified Kubernetes and non-Certified Kubernetes implementations."
You seem to be a commercial (hosted) version of OpenShift Origin. However, I hope you will consider becoming Certified Kubernetes, in which case we would be happy to add you as a hosted offering. https://www.cncf.io/certification/software-conformance/


[Doc ] Migration Guide.

Description:
In the doc [1], under step 5, is it meant to say
Follow the instructions mentioned in the Upgrading from 2.1.0 to 2.2.0 tab ?.
In the following line, it is mentioned to skip step 6 of 2.
But please make it clear,  it mentioning step 6 of 2. Its confusing as step 2 to 6.
[1] - https://docs.wso2.com/display/AM220/Upgrading+from+the+Previous+Release+when+WSO2+IS+is+the+Key+Manager
Suggested Labels:
Type/Doc

We will not be fixing this as this issue is based on an older version of the product.


Remove redundancy on restCaller methods

provide information about this issue because at some point you can have some help from open source maintainers

Currently the axios calls are being repeated in the restCaller code and the code is very duplicated, I will make a generic rest caller to reduce the code


Use summary texts if they are available - for use on the page summary

Have tested this. Also see: https://github.com/ministryofjustice/fb-components-core/pull/9 which enables the editor to edit these values.

Looking at the ticket, do we also need to provide a "summary heading"?

As a user
I want to be able to customise how the page/question/component titles appear on the check your answers page

Thank you for the feedback and the code example @solidgoldpig ! Have made those changes and added some more tests

@solidgoldpig applied the naming convention!


Multiples error when starting the Oracle DB

Image was built with ./buildDockerImage.sh -v <IP_ADDRESS> -s
The docker-compose file is as follow:
version: '2'
services:
  database:
    image: oracle/database:<IP_ADDRESS>-se2
    volumes:
      - ./oradata:/opt/oracle/oradata # persistent oracle database data.
    ports:
      - 1521:1521
      - 8080:8080
      - 5500:5500

Here is the error log I received:
$ docker-compose up
Attaching to 12201_database_1
database_1  | ORACLE PASSWORD FOR SYS, SYSTEM AND PDBADMIN: FYZjPZ2+9MM=1
database_1  |
database_1  | LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 13-NOV-2018 20:22:35
database_1  |
database_1  | Copyright (c) 1991, 2016, Oracle.  All rights reserved.
database_1  |
database_1  | Starting /opt/oracle/product/<IP_ADDRESS>/dbhome_1/bin/tnslsnr: please wait...
database_1  |
database_1  | TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
database_1  | System parameter file is /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
database_1  | Log messages written to /opt/oracle/diag/tnslsnr/31be147e2665/listener/alert/log.xml
database_1  | Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
database_1  | Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
database_1  |
database_1  | Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
database_1  | STATUS of the LISTENER
database_1  | ------------------------
database_1  | Alias                     LISTENER
database_1  | Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
database_1  | Start Date                13-NOV-2018 20:22:35
database_1  | Uptime                    0 days 0 hr. 0 min. 0 sec
database_1  | Trace Level               off
database_1  | Security                  ON: Local OS Authentication
database_1  | SNMP                      OFF
database_1  | Listener Parameter File   /opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora
database_1  | Listener Log File         /opt/oracle/diag/tnslsnr/31be147e2665/listener/alert/log.xml
database_1  | Listening Endpoints Summary...
database_1  |   (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
database_1  |   (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
database_1  | The listener supports no services
database_1  | The command completed successfully
database_1  | [WARNING] [DBT-10102] The listener configuration is not selected for the database. EM DB Express URL will not be accessible.
database_1  |    CAUSE: The database should be registered with a listener in order to access the EM DB Express URL.
database_1  |    ACTION: Select a listener to be registered or created with the database.
database_1  | Look at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB.log" for further details.
database_1  | cat: /opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB.log: No such file or directory
database_1  | [ 2018-11-13 20:22:41.762 UTC ] Cannot create directory "/opt/oracle/oradata/ORCLCDB".
database_1  |
database_1  | SQL*Plus: Release <IP_ADDRESS>.0 Production on Tue Nov 13 20:22:41 2018
database_1  |
database_1  | Copyright (c) 1982, 2016, Oracle.  All rights reserved.
database_1  |
database_1  | Connected to an idle instance.
database_1  |
database_1  | SQL>    ALTER SYSTEM SET control_files='/opt/oracle/oradata/ORCLCDB/control01.ctl' scope=spfile
database_1  | *
database_1  | ERROR at line 1:
database_1  | ORA-01034: ORACLE not available
database_1  | Process ID: 0
database_1  | Session ID: 0 Serial number: 0
database_1  |
database_1  |
database_1  | SQL>    ALTER PLUGGABLE DATABASE ORCLPDB1 SAVE STATE
database_1  | *
database_1  | ERROR at line 1:
database_1  | ORA-01034: ORACLE not available
database_1  | Process ID: 0
database_1  | Session ID: 0 Serial number: 0
database_1  |
database_1  |
database_1  | SQL> Disconnected
database_1  | mkdir: cannot create directory '/opt/oracle/oradata/dbconfig': Permission denied
database_1  | mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/spfileORCLCDB.ora': No such file or directory
database_1  | mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/orapwORCLCDB': No such file or directory
database_1  | mv: cannot move '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/sqlnet.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
database_1  | mv: cannot move '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
database_1  | mv: cannot move '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/tnsnames.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
database_1  | cp: cannot create regular file '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
database_1  | ln: failed to create symbolic link '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/sqlnet.ora': File exists
database_1  | ln: failed to create symbolic link '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora': File exists
database_1  | ln: failed to create symbolic link '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/tnsnames.ora': File exists
database_1  | cp: cannot stat '/opt/oracle/oradata/dbconfig/ORCLCDB/oratab': No such file or directory
database_1  | ls: cannot access /opt/oracle/oradata//*/: No such file or directory
database_1  | ORACLE_HOME = [/home/oracle] ? ORACLE_BASE environment variable is not being set since this
database_1  | information is not available for the current user ID .
database_1  | You can set ORACLE_BASE manually if it is required.
database_1  | Resetting ORACLE_BASE to its previous value or ORACLE_HOME
database_1  | The Oracle base remains unchanged with value /opt/oracle
database_1  | /opt/oracle/checkDBStatus.sh: line 27: sqlplus: command not found
database_1  | #####################################
database_1  | ########### E R R O R ###############
database_1  | DATABASE SETUP WAS NOT SUCCESSFUL!
database_1  | Please check output for further info!
database_1  | ########### E R R O R ###############
database_1  | #####################################
database_1  | The following output is now a tail of the alert.log:
database_1  | tail: cannot open '/opt/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory
database_1  | tail: no files remaining
12201_database_1 exited with code 1

Multiples errors can be seen in the output:
mkdir: cannot create directory '/opt/oracle/oradata/dbconfig': Permission denied
mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/spfileORCLCDB.ora': No such file or directory
mv: cannot stat '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/dbs/orapwORCLCDB': No such file or directory
mv: cannot move '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/sqlnet.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
mv: cannot move '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/listener.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory
mv: cannot move '/opt/oracle/product/<IP_ADDRESS>/dbhome_1/network/admin/tnsnames.ora' to '/opt/oracle/oradata/dbconfig/ORCLCDB/': No such file or directory`

What am I doing wrong ?
Similar issue to #538 (not sure)

docker -v
Docker version 18.06.1-ce, build e68fc7a

I have done more tests and this is a permission issue. I will post more info soon.

My workaround is to run : chown 54321 oradata


Question about multi-threading

Hi,
I am wondering how to use the multi-threading option. Using this command, paraphase only seems to run on a single core. What dies the -t parameter actually control?
paraphase \
        -t 31 \
        -p sample \
        --genome 38 \
        -o . \
        -r GRCh38.fa \
        -b sample.bam

Hi @gabeng in your case you would request 31 cores - all the Paraphase-targeted regions will be divided into 31 groups, each of which is analyzed by one core. This should be much faster than using a single core.

Yes I think more work is needed to optimize Paraphase for targeted data. We are working on some improvements and hopefully they will be included in the next release.


fix: email transport config (#152)

:tada: This PR is included in version 1.4.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Should (or will) angular-blaze-template work with meteor-angular2?

Edited this comment to make it more helpful to others
Thanks for everything you've done, Uri and Alex. I was interested in some way to do minimal server-side templates.
Found the following:
https://github.com/Urigo/Meteor-Angular2/issues/9 and https://github.com/Urigo/Meteor-Angular2/issues/14 are closed issues to add blaze support to meteor-angular2 (won't be implemented, meteor's responsibility to handle two html processors but that doesn't exist yet)

@drewlio we plan to do that plus adding a migration tutorial from Blaze to Angular 2.0.
Probably we will release a separate package with a compilation plugin that moves the template compilation of Angular 2 from html to ng.html and adds blaze-html-templates like we do in Angular 1.x with angular-with-blaze.
Would love some help with that until we get to it


Detect if Drupal is not installed and run site-install if so

Addressed in https://github.com/mortenson/drupal-docker-lite/commit/dae8ab6179844f7034057282b0f6a1786f393e4c


feat(Path): optimize param method

Hi, I've been exploring unirest-java and appreciate the work you've put into this project. I noticed a small area in the param method where we might reduce the complexity slightly by directly replacing the parameter without pre-counting its occurrences.
This proposed change employs Matcher.find() to ensure the placeholder exists, followed by Matcher.replaceAll() to perform the substitution. It's a subtle tweak that I hope aligns with the project's coding practices.
Thank you for maintaining such a valuable resource for the community.

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


ASP.NET Core App project missing Models folder when selecting Windows Authentication mode

When we create ASP.NET Core RC2 project using either ASP.NET Core Web Application (.NET Core) or ASP.NET Core Web Application (.NET Framework) template and select Windows Authentication mode the project does not create Models folder as shown here. Why is that? If we select other authentication modes it does create the Models folder. We checked even in project folders in Explorer mode and there is no Models folder there. We've tried it on both windows 7 and windows 8.1 with VS2015. Thanks.

@saf-itpro if this issue still repros, please open it on https://github.com/aspnet/tooling/issues. I will close this one. Thanks!


Investigate compatibility with oci_tarball

https://bazelbuild.slack.com/archives/CA31HN1T3/p1708115658462519
Repro: //cmd/batcheshelper:image{,_tarball} in https://github.com/sourcegraph/sourcegraph/tree/nsc/bazel-darwindocker-transition

Solved by only transitioning oci_image.


Add domain for Guru Tegh Bahadur Institute of Technology

@philipto

@shafiqmzari Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@shafiqmzari You might miss my previous comment. Please react.

@shafiqmzari I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the aforementioned issue. Thank you for your understanding!


Cant use the plugin

Why i can't use the plugin? Can someone explain or help me to fix this.

Have you got it resolved? I am stuck with the same issue


Sorting doesn't work when global search is used

When global search is used and the search term is not empty, sorting by clicking on the table header doesn't seem to work.

I think this is because in the function processedRows, the global search filtering is done after the sorting. If the filter is done before the sort, then it works

This is now fixed - v1.7.1. Adding enter trigger introduced this bug. Thank you for pointing it out.


fix(select): use optional chaining operator for safe access to ctx's highlightedItem

📝 Description
On my previous PR (#954), I've introduced a bug, sorry about that 🙇
I didn't check if highlightedItem from the context was defined before trying to access its value.
When defining the guards for CONTENT.ARROW_UP (or CONTENT.ARROW_DOWN), I put isFirstItemHighlighted (or isLastItemHighlighted) at the end, thinking they would be called after the hasHighlightedItem guard, which checks if highlightedItem is indeed defined.
I wrongly assumed that if one guard fails, there would be an early return and the subsequent guards wouldn't be called, but that's not the case it seems.
{
  guard: and("hasHighlightedItem", "isLoopEnabled", "isFirstItemHighlighted"),
  actions: ["highlightLastItem"],
},

This PR fixes that by using the optional chaining operator to safely access the highlightedItem value
💣 Is this a breaking change (Yes/No):
No

Hi @acd02. Thanks for the follow-up PR.
I've cherry-picked the changes and applied them to the main branch.


Fix syntax error in allow-istio-pilot.yaml

Deploy preview for calico ready!
Built with commit 719802daffcb26fe77c2aa1acee8d43077395ebe
https://deploy-preview-2186--calico.netlify.com


Issue Regarding HDInsight registeration

I'm facing issue regarding Microsoft.HDInsight registeration. From nearly 15 hour it is in registering state. Kindly please resolve the issue.

route to service team

@revanthkumar1999 : Do you have a rough timeframe on when this happened? Also can you share subscriptionId.

This was a product bug and the fix has already been rolled out.


How to Query Documents by ID

$companies $this->firestoreClient->listDocuments('companies');
So far this is im stuck with, but i dont want to select all the documents under companies collection, and i dont see any way in the documentation to only select specific documents from a collection of documents.

i'm stuck in this too :(

You can just do $firestoreClient->getDocument('companies/document_id')


cannot install from panda

tokuhirom:20150909/ $ panda install TinyCC
==> Fetching TinyCC
==> Building TinyCC
==> Testing TinyCC
===SORRY!===
Could not find TinyCC in any of:
  file#lib
  file#/home/tokuhirom/tmp/20150909/.panda-work/1441767255_1/blib/lib
  file#/home/tokuhirom/tmp/20150909/.panda-work/1441767255_1/lib
  file#/home/tokuhirom/.perl6/2015.07.1-746-g5e1b082/lib
  inst#/home/tokuhirom/.perl6/2015.07.1-746-g5e1b082
  file#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/lib
  file#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/vendor/lib
  file#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/site/lib
  inst#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6
  inst#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/vendor
  inst#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/site
t/01-sanity.t ..
No subtests run
===SORRY!===
Could not find TinyCC in any of:
  file#lib
  file#/home/tokuhirom/tmp/20150909/.panda-work/1441767255_1/blib/lib
  file#/home/tokuhirom/tmp/20150909/.panda-work/1441767255_1/lib
  file#/home/tokuhirom/.perl6/2015.07.1-746-g5e1b082/lib
  inst#/home/tokuhirom/.perl6/2015.07.1-746-g5e1b082
  file#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/lib
  file#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/vendor/lib
  file#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/site/lib
  inst#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6
  inst#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/vendor
  inst#/home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/site
t/02-exe.t .....
No subtests run

Test Summary Report
-------------------
t/01-sanity.t (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
t/02-exe.t   (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: No plan found in TAP output
Files=2, Tests=0,  1 wallclock secs ( 0.04 usr  0.00 sys +  1.06 cusr  0.14 csys =  1.24 CPU)
Result: FAIL
test stage failed for TinyCC: Tests failed
  in method throw at /home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm:1
  in method install at /home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/site/lib/Panda.pm:142
  in method resolve at /home/tokuhirom/.rakudobrew/moar-nom/install/share/perl6/site/lib/Panda.pm:219
  in sub MAIN at /home/tokuhirom/.rakudobrew/bin/../moar-nom/install/share/perl6/site/bin/panda:18
  in block <unit> at /home/tokuhirom/.rakudobrew/bin/../moar-nom/install/share/perl6/site/bin/panda:95

Failure Summary
----------------
TinyCC(
	*test stage failed for TinyCC: Tests failed)
tokuhirom:20150909/ $ perl6 --version
This is perl6 version 2015.07.1-746-g5e1b082 built on MoarVM version 2015.07-108-g7e9f29e

The module should now work with recent Rakudo and panda. Feel free to re-open if it still does not work.


Feature/1258 cannot derive updates for user defined types

Closes #1258

I've reviewed this and it looks good to me. I'm pulling this in.


Error: React.createElement: type should not be null, undefined, boolean, or number

Hello everyone,
I am trying to implement Reactabular in my app but I always get the following errors:
React.createElement: type should not be null, undefined, boolean, or number.
It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `UserTable`.

Uncaught TypeError: fn is not a function
```

First, I thought the problem was the data object I'm passing. But even after just integrating the sample data from the docs, I still get the errors. Do I maybe import Reactabular incorrectly?

Here is my complete component code:

import React, { Component, PropTypes } from 'react';
import { Table } from 'reactabular';
const data = [
{
uid: 100,
displayName: 'Adam',
email<EMAIL_ADDRESS>lovesBeeGees: true
},
{
uid: 101,
displayName: 'Brian',
email<EMAIL_ADDRESS>lovesBeeGees: false
}
];
const columns = [
{
header: {
label: 'Name'
},
cell: {
property: 'displayName'
}
},
{
header: {
label: 'E-Mail'
},
cell: {
property: 'email'
}
}
];
export default class UserTable extends Component {
render() {
return (

      <Table.Header />
      <Table.Body />

    </Table>
  </div>
);

}

Any ideas how to solve this?

The docs are for the beta. Make sure you install it through npm i reactabular@beta9. If this doesn't work, then there's something else going on.
I'll do a couple of betas still before pushing out a stable release. There are still some features to be developed. 👍

Oh damn. I should have thought of that. Completely solved the problem. Thanks for the quick reply!

No problem. Thanks for testing the beta! Subscribe to that thread to keep up to date.


add release notes

Fixes #763

closing in favor of another PR that does not include extraneous files.


Added SQL Connector Class, fixes issue #39

Issue:
the way the connector is currently written, we establish a new database connection every single time we make a query request. this significantly impacts the speed of our queries and thus the overall usability of our app.
Fix:
Essentially i just restructured the connector as a class, which has its own single connection object per instance, that is shared by each query function. after this all I had to do was instantiate this object in server.py, and make sure all functions calls referred to the instance.
Further:
we are open to SQL injection due to taking unparamaterized queries, and we are storing credentials in plain text. these are serious security flaws we should consider mending.

@AJelliss Please check the checklist shared by Dr. Holdener for the draft PR and make the necessary changes. Thanks.

@Evan-Richmond are you able to test this code? I tested it and it does not work for me. I get an error at def getFilteredSystems.


Add (optional) line for 2013 load to dynamic demand curve

During the wrap-up meeting for dynamic demand curves we got the idea to add the 2013 demand to the demand curve as well. This way it is easier for the user to interpret the impact of the changes of the demand chart.
The idea is to add a (dashed) line representing the total demand for 2013.
If possible it would be nice if the line is optional (can be switched on and of), but that is definitely not a must-have.

notifying @ChaelKruip and @antw

I don't think this information is currently available in ETEngine, since it retrieves this data from Fever (which is not available for the present graph). I'll add myself to the assignees since I'll have to investigate how to create and make available the present heat demand before anything can be done with the chart.


Add support for additional streams for instancing

https://forum.babylonjs.com/t/best-way-to-limit-number-of-draw-calls-batching-mashes-with-the-same-material-but-different-uvs/6086/5

Done: https://www.babylonjs-playground.com/#8L50Q3#1


Unable to rerun the failed test cases using -Dfailsafe.rerunFailingTestsCount={number of retries}

Current Behavior
I am trying to rerun the failed test scenarios from serenity with cucumber. For the retry I am using maven fail safe plugin
https://maven.apache.org/surefire/maven-failsafe-plugin/examples/rerun-failing-tests.html
Configured below properties in serenity.properties
test.retry.count=3
max.retries=4
junit.retry.tests=true
test.retry.count.cucumber=3
None of them worked with gradle. The same is worked with Maven.
Expected Behavior
Gradle build should rerun the failed scenarios using maven fail safe plugin.
Context (optional)
No response
Steps to Reproduce
In Serenity with Cucumber framework,
Configure the below properties in serenity.properties
test.retry.count=3
max.retries=4
junit.retry.tests=true
test.retry.count.cucumber=3
Run the below command
gradlew clean test -Dfailsafe.rerunFailingTestsCount=3 -Dcucumber.filter.tags=@abc
Gradle version
8.2.1
Build scan URL (optional)
No response
Your Environment (optional)
No response

Sorry that you're having trouble with Gradle!
Your issue appears to be a question about how to use Gradle. Your question might be answered in Gradle documentation or on our community Slack or forums. Find links to these resources on help.gradle.org.
If you think you have come across a Gradle bug, please file a new issue describing the problem and how to reproduce it.
If you think Gradle is missing a feature, please file a new issue describing your use case for the feature.

-Dfailsafe.rerunFailingTestsCount=3 is maven plugin option.


Crash when loading compilation database

I run into very strange problem. First observed with VSCode and setting up clangd extension with newish clang version
that was recently delivered to us (built from source). That extension stopped because language server crashed
(socket closed). Finally i tried clangd with manually given parameters and problem seems to be the
reading of compilation database. Doesn't matter the content of it. Crashes even if the content of compile_commands.json is  '[]'
Could you help me identify the root cause? Could something be wrong with the binaries?
clang/11.0.0 worked fine.
If i remove compile_commands.json, it works...
Logs
<modules_folder>/SLED12-x86_64/clang/12.0.0/bin/clangd --check=<working_folder>/sample.cc --log=verbose
I[20:50:19.544] clangd version 12.0.0
I[20:50:19.545] PID: 16358
I[20:50:19.545] Working directory: <working_folder>
I[20:50:19.545] argv[0]: <modules_folder>/SLED12-x86_64/clang/12.0.0/bin/clangd
I[20:50:19.545] argv[1]: --check=<working_folder>/sample.cc
I[20:50:19.545] argv[2]: --log=verbose
V[20:50:19.545] User config file is <home_folder>/.config/clangd/config.yaml
I[20:50:19.545] Entering check mode (no LSP server)
I[20:50:19.545] Testing on source file <working_folder>/sample.cc
I[20:50:19.545] Loading compilation database...
#0 0x000000000053e1ce llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (<modules_folder>/SLED12-x86_64/clang/12.0.0/bin/clangd+0x53e1ce)
#1 0x000000000053c24a llvm::sys::RunSignalHandlers() (<modules_folder>/SLED12-x86_64/clang/12.0.0/bin/clangd+0x53c24a)
#2 0x000000000053c38c SignalHandler(int) (<modules_folder>/SLED12-x86_64/clang/12.0.0/bin/clangd+0x53c38c)
#3 0x00007fb8f3106ba0 __restore_rt (/lib64/libpthread.so.0+0x11ba0)
#4 0x0000000003489ad8
Segmentation fault (core dumped)

System information
Output of clangd --version: clangd version 12.0.0
Editor/LSP plugin:
Operating system: SUSE Linux Enterprise Server 12.2 (x86_64)

Tried with pre-built binaries (sles12.4) and does not segfault.
Not sure what's the problem, do you have any comment looking at this?
Otherwise i should close...

@charliesbot could ask guys who built from source for more specific versions, but they had to use more recent glibc, GCC available for sled12 then we could not reproduce above mentioned issue

Not sure what's the problem, do you have any comment looking at this?

It is really hard to take any action with the info at hand. Unless you can provide a reproducer or a better stack trace, there's very little we can do.
Maybe you can ask the authority that provided you with the problematic binary to perform another built from source with line tables?
Please re-open if you come up with more findings.

We've had a third report of this, that came with a stack trace (below).
This is crashing in clangd's CDB cache, which was substantially modified in 12, so is likely a real bug. But it crashes all the time for some users, and never for most users, so it seems to be sensitive to something about how the binary is produced.
For those of you who have seen it, can you try to provide:

version number of the host compiler used to build clangd (e.g. gcc --version output)
glibc version on the system where you're running clangd (ldd --version output)
dynamic library version info: output of ldd -v clangd

* thread #1, name = 'clangd', stop reason = signal SIGSEGV: invalid address (fault address: 0x3)
  * frame #0: 0x0000000000000003
    frame #1: 0x00000000005e5214 clangd`std::unique_ptr<clang::tooling::CompilationDatabase, std::default_delete<clang::tooling::CompilationDatabase> > llvm::function_ref<std::unique_ptr<clang::tooling::CompilationDatabase, std::default_delete<clang::tooling::CompilationDatabase> > (llvm::StringRef, llvm::StringRef, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)>::callback_fn<std::unique_ptr<clang::tooling::CompilationDatabase, std::default_delete<clang::tooling::CompilationDatabase> > (*)(llvm::StringRef, llvm::StringRef, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)>(long, llvm::StringRef, llvm::StringRef, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) + 52
    frame #2: 0x00000000005e7a99 clangd`clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache::load(llvm::vfs::FileSystem&) + 377
    frame #3: 0x00000000005ef680 clangd`clang::clangd::DirectoryBasedGlobalCompilationDatabase::lookupCDB(clang::clangd::DirectoryBasedGlobalCompilationDatabase::CDBLookupRequest) const + 1088

Working theory is that this is some subtle-but-probably-valid code that is being miscompiled by certain compilers sometimes.
(Or possible subtly-invalid code that happens to work on most compilers most of the time!)
I'm going to try to "fix" it by rewriting the code to be simpler. I'm not sure that we'll do more than that given that it seems to be only relatively few builds with this issue (not e.g. official llvm builds or clangd/clangd builds). It should only affect 12.0.0 and 12.0.1 (the code in question is new in 12).

Specifically https://github.com/llvm/llvm-project/blob/b63833ac1fd225a538f1436824a14f401a7d8771/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp#L288-L290
It appears that the by the time we call Parser, the compiler has overwritten the storage of the llvm::function_ref with "3" (thus the jump to an invalid address). This can be because the compiler thinks the lifetime of the struct CDBFile is over.
Lifetimes of for-range-loops are subtle, but the spec says:

that the std::initializer_list is a temporary object which is lifetime extended for the whole loop
that the array backing it has the same lifetime as the std::initializer_list object
So the struct (and therefore the function_ref) should live long enough.

We've seen a broken binary built by (ubuntu) gcc 5.4, but (vanilla) gcc 5.4 seems to get the lifetime right: https://godbolt.org/z/nqrq4s77v
In any case we should stop relying on lifetime extension here, regardless of whether it's technically allowed.

The workaround is not likely to fix it, and this is not about range based for loops. This is a bug in llvm::function_ref with GCC 5.4:
https://godbolt.org/z/G8Tj4zWWW
Note that the 5.4 output never refrences bar1 or bar2. Including in the simplified function where it very clearly zeros a register and then tries to call that address.
Working with @zygoloid to try to figure out a workaround.

As you mentioned in chat, function_ref(&someFreeFunction) is dubious code (and would be broken in this case): we store a pointer-to-temporary-function-pointer. The GCC 5 bug is in treating function_ref(someFreeFunction) the same way.
It seems like the nicest way to deal with this is to make function_ref(&someFreeFunction) store the fptr by value - that's almost certainly what's wanted, and seems better than silently doing what's usually the wrong thing. I've sent https://reviews.llvm.org/D106784 for this. (A more targeted fix also seems fine of course but I'll have to leave that to you or Richard)

As you mentioned in chat, function_ref(&someFreeFunction) is dubious code (and would be broken in this case): we store a pointer-to-temporary-function-pointer. The GCC 5 bug is in treating function_ref(someFreeFunction) the same way.
It seems like the nicest way to deal with this is to make function_ref(&someFreeFunction) store the fptr by value - that's almost certainly what's wanted, and seems better than silently doing what's usually the wrong thing. I've sent https://reviews.llvm.org/D106784 for this. (A more targeted fix also seems fine of course but I'll have to leave that to you or Richard)

Related, a good article on implementing a function_ref class that calls this hazard out: https://www.foonathan.net/2017/01/function-ref-implementation/


Debugger action is implemented (closes #918)

/cc @inikulin @AlexanderMoskovkin @AndreyBelym

Could you please attach a screenshot or screencast to see how it looks?

FPR

@helen-dikareva It looks good for me. Could you please add a screenshot of console with the debugger report?

For running test:
fixture `fixture`
.page `http://localhost/testcafe/`;

test('test', async t => {
    await t
        .debug()
        .click('#b1')
        .click('#b2')
        .click('#b3');
});

step by step log:

FPR /cc @inikulin @AndreyBelym

Debugger should stop on assertions https://github.com/DevExpress/testcafe/issues/1010


Disable CSS format check for the time being

Disable to not require npm when trying the HUD directly from the repo.

Thanks!


Check for null argument to msr3_sampratehz

The argument to msr3_sampratehz is not checked if it is null, leading to a possible null pointer dereference.

Thank you @pn2200


No route was found matching the URL and request method

Very simple test doesn't seem to be working.
import sys
from woocommerce import API
wcapi = API(
url="https://",
consumer_key="ck_blahblahblah",
consumer_secret="cs_blahblahblah",
wp_api=True,
version="wc/v1"
)
print(wcapi.get("products").json())
returns {u'message': u'No route was found matching the URL and request method', u'code': u'rest_no_route', u'data': {u'status': 404}}
However, when run the following command I get a good return:
curl "https:///wc-api/v3/products?consumer_key=ck_blahblahblah&consumer_secret=cs_blahblahblah&wp_api=True&version=wc/v2&search=ATIGFX45GI"

Are you using WooCommerce 2.6?
Because only WooCommerce 2.6 have integration with WP REST API like you are using in your settings wp_api=True, version="wc/v1" ;)


german contractions list

Here's a list of contractions that are common in German language tweets. It also includes some english contractions, which is caused by e.g. song titles/lyrics being quoted/used in a german sentence.
All these contractions can be seen with different quote styles, I therefor recommend to first convert [‘’‚‛‹›＇´`] to ['] and then match the contractions.
CONTRACTIONS = {
    "auf's"             => "auf das",
    "can't"             => "cannot",
    "don't"             => "do not",
    "find's"            => "finde es",
    "für's"             => "für das",
    "g'spür"            => "gespür",
    "gab's"             => "gab es",
    "geht's"            => "geht es",
    "gibt's"            => "gibt es",
    "hab'"              => "habe",
    "hab's"             => "habe es",
    "haben's"           => "haben sie",
    "hat's"             => "hat es",
    "i'm"               => "i am",
    "ich's"             => "ich es",
    "ist's"             => "ist es",
    "it's"              => "it is",
    "kann's"            => "kann es",
    "let's"             => "let us",
    "liebesg'schichten" => "liebesgeschichten",
    "macht's"           => "macht es",
    "ob's"              => "ob es",
    "sag's"             => "sage es",
    "schaut's"          => "schaut es",
    "sich's"            => "sie es",
    "sie's"             => "sie es",
    "sieht's"           => "sieht es",
    "sind's"            => "sind es",
    "spielt's"          => "spielt es",
    "that's"            => "that is",
    "tut's"             => "tut es",
    "war's"             => "war es",
    "weil's"            => "weil es",
    "wenn's"            => "wenn es",
    "wie's"             => "wie es",
    "wir's"             => "wir es",
    "wird's"            => "wird es",
    "wär's"             => "wäre es",
    "ö's"               => "österreichs"
}.freeze

Thanks! This one should be taken care of with this commit: https://github.com/diasks2/pragmatic_tokenizer/commit/990787c81c2243c98ca95a2703d022b5d73b4425

Thanks!


LOGGED IN AS ADMIN - Should documents be immediately visible from Admin Panel?

To my memory, which granted centuries of good leaf from the Shire can be fading some, I have uploaded three documents. They are not visible here. (Even if they're not supposed to be, which they should, the search function also does not work as evinced from a previous issue.)

We will look into this

@steffen12 I think this is your code. Can you fix this?

From what I can tell, @JohnBaek-wr , steffen wrote this such that all applications need to go through the developer dashboard first, which hasn't really been created yet. Idk what the fix is, but @steffen12 you need to work on this

Developer dash has been created
On Wed, Sep 30, 2020 at 7:17 PM Connor Chong<EMAIL_ADDRESS>wrote:

From what I can tell, @JohnBaek-wr https://github.com/JohnBaek-wr ,
steffen wrote this such that all applications need to go through the
developer dashboard first, which hasn't really been created yet. Idk what
the fix is, but @steffen12 https://github.com/steffen12 you need to
work on this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keepid/keepid_client/issues/55#issuecomment-701695873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5CUCXQFFVW5XPMFG5DK43SIO4B5ANCNFSM4R7SG2JA
.

--
Thanks,
Steffen

I believe it is working
On Thu, Oct 1, 2020 at 12:57 AM Steffen Cornwell<EMAIL_ADDRESS>wrote:

Developer dash has been created
On Wed, Sep 30, 2020 at 7:17 PM Connor Chong<EMAIL_ADDRESS>wrote:

From what I can tell, @JohnBaek-wr https://github.com/JohnBaek-wr ,
steffen wrote this such that all applications need to go through the
developer dashboard first, which hasn't really been created yet. Idk what
the fix is, but @steffen12 https://github.com/steffen12 you need to
work on this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keepid/keepid_client/issues/55#issuecomment-701695873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5CUCXQFFVW5XPMFG5DK43SIO4B5ANCNFSM4R7SG2JA
.

--
Thanks,
Steffen

--
Thanks,
Steffen


server.ts crashes immediately

Clean install of npm and ts-node.
Downloaded zwave-js-server and run 'ts-node src/bin/server.ts --mock'.
Result:
ts-node src/bin/server.ts --mock

/usr/local/lib/node_modules/ts-node/src/index.ts:513
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
src/bin/server.ts:3:25 - error TS2307: Cannot find module 'path' or its corresponding type declarations.

3 import { resolve } from "path";
                          ~~~~~~
src/bin/server.ts:4:24 - error TS2307: Cannot find module 'zwave-js' or its corresponding type declarations.

4 import { Driver } from "zwave-js";
                         ~~~~~~~~~~
src/bin/server.ts:31:26 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

31     configPath = resolve(process.cwd(), configPath);
                            ~~~~~~~
src/bin/server.ts:38:17 - error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

38       options = require(configPath);
                   ~~~~~~~
src/bin/server.ts:42:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

42         options.networkKey = Buffer.from(options.networkKey, "hex");
                                ~~~~~~
src/bin/server.ts:47:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

47         options.networkKey = Buffer.from(options.networkKey, "hex");
                                ~~~~~~
src/bin/server.ts:86:7 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

86       process.exit();
         ~~~~~~~
src/bin/server.ts:96:5 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

96     process.exit();
       ~~~~~~~
src/bin/server.ts:99:3 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

99   process.on("SIGINT", handleShutdown);
     ~~~~~~~
src/bin/server.ts:100:3 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig.

100   process.on("SIGTERM", handleShutdown);
      ~~~~~~~

    at createTSError (/usr/local/lib/node_modules/ts-node/src/index.ts:513:12)
    at reportTSError (/usr/local/lib/node_modules/ts-node/src/index.ts:517:19)
    at getOutput (/usr/local/lib/node_modules/ts-node/src/index.ts:752:36)
    at Object.compile (/usr/local/lib/node_modules/ts-node/src/index.ts:968:32)
    at Module.m._compile (/usr/local/lib/node_modules/ts-node/src/index.ts:1056:42)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/usr/local/lib/node_modules/ts-node/src/index.ts:1059:12)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)

What I've tried:

Run as regular user and root - same result
used real Z-wave device (/dev/ttyAMA0) in steadd of mock - same result
Tried a docker container (kpine/zwave-js-server:latest). Crashed without a descriptive error - didn't investigate yet.

Environment:

RPI 4
Running raspbian lite
Zwave.Me RaZberry 2 (although, not relevant since --mock crashed too)
tcp/3000 is available

Your NodeJS is probably too old.

New system, freshly installed from Debian sources...
But, I've worked around it by installing a different container (zwavejs2mqtt) which provides the Websocket I was looking for.
I'll close this issue, as I won't be updating it.

I'm also getting this same error. My version of Node is v15.8.0. Any ideas to try to get it running?
Pi3 - running DietPi_RPi-ARMv8-Buster
Downloaded the zip > copied the folder to the pi via SSH > ran the command to start the server and I get the same errors as @zeddski. You can also at the bottom that it's on node v15.8.0.
`root@DietPi:~/zwave-js-server-master/zwave-js-server-master# ts-node src/bin/server.ts /dev/zwave
/usr/local/lib/node_modules/ts-node/src/index.ts:513
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
src/bin/server.ts:3:25 - error TS2307: Cannot find module 'path' or its corresponding type declarations.
3 import { resolve } from "path";
~~~~~~
src/bin/server.ts:4:24 - error TS2307: Cannot find module 'zwave-js' or its corresponding type declarations.
4 import { Driver } from "zwave-js";
~~~~~~~~~~
src/bin/server.ts:31:26 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
31     configPath = resolve(process.cwd(), configPath);
~~~~~~~
src/bin/server.ts:38:17 - error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
38       options = require(configPath);
~~~~~~~
src/bin/server.ts:42:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
42         options.networkKey = Buffer.from(options.networkKey, "hex");
~~~~~~
src/bin/server.ts:47:30 - error TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
47         options.networkKey = Buffer.from(options.networkKey, "hex");
~~~~~~
src/bin/server.ts:86:7 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
86       process.exit();
~~~~~~~
src/bin/server.ts:96:5 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
96     process.exit();
~~~~~~~
src/bin/server.ts:99:3 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
99   process.on("SIGINT", handleShutdown);
~~~~~~~
src/bin/server.ts:100:3 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i --save-dev @types/node and then add node to the types field in your tsconfig.
100   process.on("SIGTERM", handleShutdown);
~~~~~~~
at createTSError (/usr/local/lib/node_modules/ts-node/src/index.ts:513:12)
at reportTSError (/usr/local/lib/node_modules/ts-node/src/index.ts:517:19)
at getOutput (/usr/local/lib/node_modules/ts-node/src/index.ts:752:36)
at Object.compile (/usr/local/lib/node_modules/ts-node/src/index.ts:968:32)
at Module.m._compile (/usr/local/lib/node_modules/ts-node/src/index.ts:1056:42)
at Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Object.require.extensions.<computed> [as .ts] (/usr/local/lib/node_modules/ts-node/src/index.ts:1059:12)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)

root@DietPi:~/zwave-js-server-master/zwave-js-server-master# node --version
v15.8.0`


Hotfix/base smart account enhancement

Summary
This PR did refactor the _requireFromEntryPoint in the BaseSmartAccountNew.sol and invoke it in validateUserOp.
Change Type

[ ] Bug Fix
[X] Refactor
[ ] New Feature
[ ] Breaking Change
[ ] Documentation Update
[ ] Performance Improvement
[ ] Other

Checklist

[X] My code follows this project's style guidelines
[X] I've reviewed my own code
[ ] I've added comments for any hard-to-understand areas
[ ] I've updated the documentation if necessary
[X] My changes generate no new warnings
[ ] I've added tests that prove my fix is effective or my feature works
[X] All unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published

Hey @mohamadhammoud
Thank you very much for your contribution.
This is a great refactoring.
However, I realized this file is not used anymore, thus I'll close this PR and I will submit another PR to remove this file from the repo.
Thank you again for contributing, it helped us to identify the file which is no longer in use.
Looking forward to further contributions from you.

Closing as the file no longer in use


TypeError: object is not a function when running example from readme

I get an error trying the example from the readme. I'm not sure the exports are defined correctly.
This seems like a great "wrapper" for browserify. Is it working?

Yes this was a documentation issue! Thanks for pointing it out, I've corrected it. You should use import Browserify from 'browserify-gulp' or var Browserify = require('browserify-gulp').default if you're not using the ES6 import syntax.

Did this fix your issue?


Test docstrings with autodoc on CI

What does this PR do?

Runs pytest with the --doctest-modules flag on CI, this runs doctest over the docstrings (tests code examples using >>>).

Codecov Report

Merging #2372 (80e539e) into main (82daae3) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 80e539e differs from pull request most recent head 099642e. Consider uploading reports for the commit 099642e to get more accurate results

@@           Coverage Diff           @@
##             main    #2372   +/-   ##
=======================================
  Coverage   69.76%   69.76%
=======================================
  Files          62       62
  Lines        5493     5493
=======================================
  Hits         3832     3832
  Misses       1661     1661

Impacted Files
Coverage Δ

flax/training/common_utils.py
0.00% <0.00%> (ø)

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

Does the --doctest-modules actually do what you say it does above?  From the pytest docs:

By default, all files matching the test*.txt pattern will be run through the python standard doctest module. You can change the pattern by issuing... --doctest-glob="*.rst"

It's not clear it actually runs over python files?

Later down they line they state:

In addition to text files, you can also execute doctests directly from docstrings of your classes and functions, including from test modules:

So in summary, the new command
pytest -n auto flax --doctest-modules --suppress-no-test-exit-code

doesn't run any txt files because we don't have any, and doesn't run any tests either because its pointed at the flax folder which doesn't have any, but runs the docstrings which is the only thing we want from that line.

Aha thanks for clarifying!  I missed that.


undesired resources warning - unclosed socket

The following error can be observed after performing a publishing request in REST (and possibly XML-RPC):
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=828, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('<ip>', <port>), raddr=('<ip>', <port>)>

Investigate why the socket resource has not been closed after publishing. This was observed when running tox -e publisher.

This observed issue may have been a result of issues with a system library or possibly related to e018c8f9bed18496c0d849cafde0a2a430d79d76.; however, I haven't been able to reproduce the issue recently.

Since I haven't been able to reproduce this issue, I'll mark this as closed. I'm assuming it was a specific development environment issue. If anyone else ever observes this issue, please feel free to bring it up and we can look at how the issue is reproduced and resolve this environment scenario.


add android support

ntohs&ntohl these two functions can not be found in Android's libc(I tested on 4.4.2), so I use python's socket lib instead.
And I add an remote option, which can attach remote process using frida.

I signed it!

Hey, any updates on this one? Would be nice if you would support Android, because that's where certificate pinning is often in place

@5alt your pr worked on Android 9?

@5alt your pr worked on Android 9?

yes


Always ask whether a user wants to use their 'new' name (also with iDIN and eIDAS)

This issue is imported from pivotal
When a user adds a second affiliation / school, he gets the question whether or not he wants to \'the following information\'.

However, when a user does iDIN/eIDAS, and then does add an organisation as step two, this question is not asked.

This screen! (inesduits - Sep 10, 2024)

Fixed in https://github.com/OpenConext/OpenConext-myconext/commit/c9ea200d557523536cf8c56c16021424e527a31f


[type: build] Fix docker image publish failed in github action

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3876 (4824a91) into master (a69aa05) will decrease coverage by 0.28%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3876      +/-   ##
============================================
- Coverage     64.84%   64.55%   -0.29%
+ Complexity     6133     6104      -29
============================================
  Files           900      900
  Lines         24904    24904
  Branches       2244     2242       -2
============================================
- Hits          16148    16077      -71
- Misses         7350     7425      +75
+ Partials       1406     1402       -4

Impacted Files
Coverage Δ

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
47.12% <0.00%> (-31.04%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...rg/apache/shenyu/plugin/rewrite/RewritePlugin.java
66.66% <0.00%> (-5.56%)
:arrow_down:

...nyu/plugin/motan/cache/ApplicationConfigCache.java
52.00% <0.00%> (-5.00%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
60.86% <0.00%> (-4.35%)
:arrow_down:

...in/response/strategy/NettyClientMessageWriter.java
66.66% <0.00%> (-4.17%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
85.71% <0.00%> (-4.09%)
:arrow_down:

... and 23 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create components/metrics subtree

Create components/metrics subtree from https://chromium.googlesource.com/chromium/src/components/metrics at commit hash 7342939.
b/279965125

Please update .pre-commit.yaml so that the new component directory is excluded from checks, that'll get lint check green. Otherwise lgtm for trying a merge


Pe 244+250

What I added:
Create Typeface Style (BOLD, ITALIC, BOLD_ITALIC, NORMAL)
Boolean Values determine which one is selected
add Typeface to the Preview Text ( mAddTextDoneTextView )
Pass Typeface to onDone()
add Typeface to StyleBuilder
What to Improve:
Editing text, if a text has any of the Typeface Styles (BOLD, ITALICS...) when editing it reverts back to NORMAL rather than remembering.
Additions to work on:
Adding different Fonts, shadows, etc,
What my goal was:
My focus was familiarising myself with Android dev frameworks.
Incorporating my own code in a non-obtrusive way.

Closing due to no activity.


increase memory for align_hifiasm

Is it ready for testing? Thanks!

This is merged and ready to test.


Add a light theme mode to the website with a toggle button.

Some people prefer light theme over the dark theme. It would be a cool feature for having both themes available to the user just with a toggle button.

Can you please assign this to me?

hey @shelcia is this issue still open ? I would like to work on it . I would also like to talk on the approach I have in my mind and also your point of view to implement light theme feature

Hey @shelcia I wanted to talk more about this issue is there a discord server where we can talk?

dm ! discord user nameL shelcia#3906


How can i change the background color of image viewer

**I want to change the background color after image is open.currently its look black with opacity. i want to change it to white.
i try to change it using custom css for div id "modal-gallery-wrapper". but its not working.
can anyone help me to change this**

Hi.
Version 7.x.x doesn't support this feature.
However the next release 8.0.0-beta adds this possibility via CSS.
If you want to use the beta version (already stable, don't be scared) you can change background color.
Doc website for v.8.0.0 in under development (mostly done) and not published live, however a full set of examples is available here https://github.com/Ks89/angular-modal-gallery/tree/develop/src

I close the issue, because already done in v.8.0.0. For more info about v.8.0.0 features check #183

Hi there! So I'm interested in that too, but I can't find how to do it in the doc... any hint?

@locinus you are right, I forgot to add it to the doc. Scheduled for v10.0.0.
To change background check this file https://github.com/Ks89/angular-modal-gallery/blob/develop/src/styles.scss
as you can see you can define your own color:
.ks-modal-gallery-backdrop {
  background: #000 !important;;
  opacity: 0.85 !important;;
}

.ks-modal-gallery-panel {
  z-index: 90000 !important;
}

Hi! Oh yes, I see.
Because I believe some users who don't want a dark background will wish for a white one (more than any other color), with assorted buttons, I post here a css suggestion to do so:
.ks-modal-gallery-backdrop {
  filter: invert(1);
}
ks-upper-buttons .upper-button,
ks-current-image .left-arrow-image,
ks-current-image .right-arrow-image {
  filter: invert(0.7);
}

I might have forgotten some widgets I'm not using though!


Uninitialized slider widget behaves unexpectedly.

I thought slider's knob stays on the position when I clicked it. But it stopped on a different position (left side). After some testing, I noticed uninitialized slider doesn't behave as I thought. If I called vmax & value methods of slider widget, It behaves normally.
I still haven't looked up into the source code of the widget to figure out the cause. Probablly it would be of no harm to initialize some member variables in a constructor.
Additionally, this is a subtle thing but slider's knob moves one pixel left after I clicked a slider.
Please run below sample code and click various positions of sl3 slider and make sure if the problem reproduces at your side.

#include <nana/gui.hpp>
#include <nana/gui/widgets/slider.hpp>

int main()
{
	using namespace nana;
	form fm(API::make_center(500, 500));

	slider sl1(fm, rectangle(10, 10, 300, 10));
	slider sl2(fm, rectangle(10, 50, 300, 10));
	slider sl3(fm, rectangle(10, 90, 300, 10));

	sl1.vmax(1000);
	sl1.value(100);

	sl2.vmax(2000);
	sl2.value(2000);

	//drawing{ fm }.draw([](paint::graphics& graph){
	//	graph.string({ 10, 10 }, L"Hello, world!", colors::red);
	//});
	//fm.events().click(API::exit);
	fm.show();

	exec();
}

Thank you for reporting this issue, it is an issue of precision.

Thank you for the fix. I've cloned the hotfix-branch and confirmed that the issue is cleared.


Suspense error handling

What problem does this feature solve?
Suspense can be used to asynchronously load data and easily display fallback content until everything is properly loaded.
One important aspect of data loading is error handling and currently it is suggested that we use the error captured hook for that.
I think using this hook for this purpose is not ideal.
TL;DR: the hook will intercept all errors, even those happening much later and unrelated to the async loading.
Not being able to differentiate the source of the error leads to situations that are hard to handle:
Imagine that you use Suspense and just want to display a "Server Not Available" message in place of the component if loading fails. You implement this with onErrorCaptured, a ref and a v-if/else.
Also consider that you have some global error handling higher-up (maybe at the app level). Once the component is loaded, other errors may occur and they will go through the onErrorCaptured hook that you had set up. How do you know if you should let the error bubble up or handle it?
Probably the better way to handle this right now is to have a flag indicating if the component has loaded or not, which involves one more variable, one more if in the error hook, and handling both onResolve and onRecede on the Suspense component.
What does the proposed API look like?
I propose additions to the Suspense API that will make handling errors properly much easier:

In this scenario we're only interested in Suspense async rejections, not all errors for the lifetime of the component. I suggest an additional onError event on Suspense, which is only called when the loading fails, not on all errors.

Displaying alternate content on error is a common thing. I suggest that Suspense does this automatically if an #error slot was provided.

Both 1. and 2. would happen should the developper provide both options.
If neither happend, i.e. the event goes unhandled and there is no error template, the error should bubble through app-wide handleError, as today.

This is definitely something that's needed. In general we think the Suspense API as a whole needs more usage testing and another round of focused design, including error handling and interaction with transition etc. But at this stage we are focusing on getting other parts of 3.0 stable first. Suspense will likely remain an "experimental" API for now.

Having a slot for #timeout and/or integrating it with #error would be nice too. For example, in the case where an async query times out, we don't want to fall back to "loading..." again, we want it to show to the user that the operation took too long and died.

@yyx990803 can you give a signal regarding Suspense?
Now that Vue 3 is out, do you have an idea what's gonna happen with it? Are you working on making this stable, an outlook on the timeframe for that?
Not pressuring you, I'd just like some info to take decision on our future developments here.
Suspense is a nice feature to simplify some cases, but the experimental status and lack of good error handling is holding us back.

@yyx990803 Friendly ping here.
I agree that error handling is one thing that must be polished before Suspense can leave its Experimental status.
But since I opened this issue in June 2020, there has been no public activity on this topic.
Do you have any ETA or plan to communicate about Suspense?
It was a much touted feature of 3.0, I would love to see it released in a 3.1 or something.

@yyx990803 Friendly ping here.
I agree that error handling is one thing that must be polished before Suspense can leave its Experimental status.
But since I opened this issue in June 2020, there has been no public activity on this topic.
Do you have any ETA or plan to communicate about Suspense?
It was a much touted feature of 3.0, I would love to see it released in a 3.1 or something.

Hello @yyx990803, is there an update here?
I can see that the timeout attribute added does not work for some reason (tried with :timeout="5000" and timeout="5000" and that error element would be awesome.

Now that version 3.0 has been out for a while, what about Suspense?
For my part, although I find the component very interesting, it bothers me (especially for work) that it is still marked as experimental. I think it would be interesting to release it as a stable version.
The improvement for the handling error is really interesting, I think it's a very good idea.
Can we expect a stable release for Suspense?  @yyx990803


"Description" fields on edit mode gets pre-filled incorrectly

I edited the doc's description then saved the changes. I got the successful saving message but when I click edit button again the description field didn't get updated. Maybe it's just a display issue since I got the successful message upon saving the edit. Encountered on both Chrome and FF.

@ctrance should be fixed in FF and chrome now!

@stevenolen - 'mwf.cathy' is editing its own doc Jellyfish.jpg to test the Description field but I'm getting 'general server error' when I update. Can you please check?

@ctrance. that's odd, same db problem as before, should be fixed for now!

This issue has been fixed.


hubble: improve policy verdict status (use ALLOWED/DENIED instead of REDIRECTED/FORWARDED/DROPPED)

From a user perspective, it is much easier to understand the flow type when policy verdict events verdicts use the term ALLOWED instead of REDIRECTED/FORWARDED and DENIED instead of DROPPED.
See also: https://github.com/cilium/hubble/issues/570, https://github.com/cilium/hubble/pull/745 and https://github.com/cilium/hubble/issues/740

I'm also a bit worried about breaking backwards compatibility, which is why I opened this PR as draft for discussion. I didn't think of adding a new field but I agree this might add too much noise for little benefits.
My main concern about the changes proposed in https://github.com/cilium/hubble/pull/745 is that users might think that ALLOWED and DENIED are valid verdict values, which is why I opened this PR. Maybe another way to address this issue would be at the CLI level where we'd auto convert ALLOWED to FORWARDED || REDIRECTED and DENIED to DROPPED?

Maybe another way to address this issue would be at the CLI level where we'd auto convert ALLOWED to FORWARDED || REDIRECTED and DENIED to DROPPED?

I think we should do that, yes. I'm very nervous about changing the verdict. I have found code in the wild which checks the verdict for policy verdict events, which would broken by this PR:
	if f.GetEventType().GetType() != int32(monitorAPI.MessageTypePolicyVerdict) ||
		f.GetVerdict() != pb.Verdict_FORWARDED {
		// we are only interested in policy verdict notifications for forwarded flows
		return nil
	}

Maybe another way to address this issue would be at the CLI level where we'd auto convert ALLOWED to FORWARDED || REDIRECTED and DENIED to DROPPED?

I think we should do that, yes. I'm very nervous about changing the verdict. I have found code in the wild which checks the verdict for policy verdict events, which would broken by this PR:
	if f.GetEventType().GetType() != int32(monitorAPI.MessageTypePolicyVerdict) ||
		f.GetVerdict() != pb.Verdict_FORWARDED {
		// we are only interested in policy verdict notifications for forwarded flows
		return nil
	}

It looks like the potential downsides that this PR would bring outweigh the upsides. We shouldn't break the API unless we have a very compelling argument.


added config property to enable/disable ssl hostname verification

Embedded Jetty allows enabling / disabling SSL hostname verification through config mechanisms; actually looks like the default behaviour is for this to be disabled as SslContextFactory has no default endpoint identification algorithm (ref.: https://github.com/eclipse/jetty.project/issues/2520)
Within Airlift, the "setEndpointIdentificationAlgorithm" method is hardcoded with an "HTTPS" value, which ensures hostname verification will always be performed. As a result of this, any system which uses airlift as a foundation for internal communication won't have any control over this, even if it configures its own trust manager or uses the available JVM property on startup (-Djdk.internal.httpclient.disableHostnameVerification)
This is a very simple change adding a config property which allows airlift users to leverage embedded Jetty's configuration possibilities.
The justification is that there are use cases which require disabling the hostname verification for SSL (or don't really need it), without bypassing the whole certificate chain trust process. A good example is a system or application which subscribes to the SPIFFE / SPIRE standard, where certificate chain trust is enforced but vanilla hostname verification (based on certificate CN) is not necessary as the SPIFFE URI in the certificate's SAN is a much more effective and flexible way to prevent the man-in-the-middle attack.

BTW, I have tested this implementation with a service-mesh enabled prestosql and it works as intended

hi @electrum , thanks for the review!!, the changes are done, so this should be ready for merge.
BTW, while testing with Presto with this compiled version of http-client, i found out that all of the following properties can be set (in config.properties) to control the hostname verification behaviour throughout the system's lifecycle:
for coordinator:
discovery.http-client.https.hostname-verification=false
dynamic.http-client.https.hostname-verification=false
failure-detector.http-client.https.hostname-verification=false
memoryManager.http-client.https.hostname-verification=false
node-manager.http-client.https.hostname-verification=false
exchange.http-client.https.hostname-verification=false
scheduler.http-client.https.hostname-verification=false
workerInfo.http-client.https.hostname-verification=false
for worker:
discovery.http-client.https.hostname-verification=false
node-manager.http-client.https.hostname-verification=false
exchange.http-client.https.hostname-verification=false
Once this PR is merged, it could be useful to have such properties documented somewhere, but I don't know which is the best place to do so, maybe: https://prestosql.io/docs/current/admin/properties.html ?

If this is something we want to broadly support in Presto, we'd want to add a config in InternalCommunicationConfig that sets this for all HTTP clients.

Thanks!


Refactor front-end of the reviews, comments using Vue for better user experience

Since I am working on a proposal for using Typescript with AngularJS in
https://github.com/simplcommerce/SimplCommerce/issues/526 I would suggest to put this on hold and instead go for Web Components as much as possible.

for the comments, reviews, for example I think it will be better to not reload the page after added new items. I see Vue is tiny and simple enough for mini spa like this.

I was thinking the same. It would be nice that the UI doesn't need to refresh the all page on each event, like when changing the filter. Angular provides all the tools to do a good SPA.


PowerToys Run doesn't open after the first time

Microsoft PowerToys version
0.56.2
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Start up PowerToys
Trigger PowerToys Run with the shortcut.
Use it to open any app, like Calculator.
Trigger PowerToys run with the shortcut.

PowerToysReport_2022-03-15-10-20-44.zip
✔ Expected Behavior
PowerToys Run bar is shown.
❌ Actual Behavior
After a short screen flicker, nothing happens.
End result is Run can only be used once. Then the app has to be restarted
Other Software
No response

I have the same issue in the latest release going back to last release.

Seems like #16469

Is this issue still repro?
/needinfo


Typescript Typings

Hey there,
I was looking into your platform and it appears to be very well put together so far, nice work!
Is there any plan fo you all to add Typescript definitions to this library? Many of my companies projects are in Typescript and require type definitions to be built properly.
Thanks!

Hey @nzayatz14,
I'm glad you appreciate my work, mate!
I know Typescript is a must-have for this project.
Version 2.0 will definitely be rewritten to Typescript. I am not sure yet, but it is possible that as a temporary solution I will add typing in the first version...
BTW my second library for managing chat state is already written in Typescript. I hope it will be released tomorrow...

@supersnager no worries, I found a workaround for now but obviously not as nice as actual type definitions.
If you wanted to quickly add types without rewriting the entire project. You could just create a file chat-ui-kit-react.d.ts and have your declared export types in there. It looks like you already have a reasonable grasp on what types you want each prop to be based on your documentation.
I created a pretty bare-bones version of this where I just declared all of the components I was using as extensions of React.ComponentClass<any>. It allows for my local Typescript transpile without any issues, but I don't get any nice autocomplete or anything like that.
declare module "@chatscope/chat-ui-kit-react" {
	import * as React from 'react';

	interface Avatar extends React.ComponentClass<any> {

	}
	export const Avatar: Avatar;

	interface ChatContainer extends React.ComponentClass<any> {

	}
	export const ChatContainer: ChatContainer;

	interface ConversationHeader extends React.ComponentClass<any> {
                Back: any
		Content: any
                Actions: any
	}
	export const ConversationHeader: ConversationHeader;

        ...remaining components...
}

You can read more about this here: https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html

@nzayatz14 Thanks for the advice, it will definitely come in handy.

Hello guys. Thank you for developing Such a Great project!!!
I also very much want Typescript to be used with this library so I can use it freely in my project. Also, I think a lot of other people will be interested in at least typescript definitions for this library(I personally cannot imagine how to work without autocomplete but this library will be exception:) ). So if you will have any updates, will be glad to hear that. Thank you.

Update: Work on the Typescript typings is in progress. It will be available soon :)

Hello guys. Thanks for your excellent work! Does typescript typings have a smooth work? when is it going to be available? @supersnager

Hey @zhan2016 I'm glad you asked. It will be available this week.

Thank you very much. Such a good news.

Is it availble now?

Finally, there it is!
https://github.com/chatscope/chat-ui-kit-react/releases/tag/v1.9.1
(Please do not use version v1.9.0. It is buggy - it lacks type definition files :))
Sorry for the delay to everyone who waited so long for this.
I know the lack of types is annoying (for me too :) ).
Thank you for being so patient, my friends!

@supersnager Thank you!
If you guys have(or will have In future) some problems with typescript I would like to contribute and help too.