Notifications do not appear in Windows 10 Entreprise

Hello,
I'm trying to use your package in my custom application to display notifications. It is working fine on Windows 10 Professionnel but nothing appears when i run my application on Windows 10 Entreprise (The app runs without errors but does not display the notification)
Do you have any idea why it is not working on Windows 10 Entreprise ? Or if there is any dependencies that should be installed on windows to make it work.
Thank you

https://docs.microsoft.com/en-us/windows/whats-new/ltsc/
https://techcommunity.microsoft.com/t5/windows-it-pro-blog/ltsc-what-is-it-and-when-should-it-be-used/ba-p/293181

I guess the Windows Runtime API is different

Thank you for your quick answer.
Yes maybe the Windows Runtime API is different but i think it's more a dependency issue.
For example this package https://github.com/hallazzang/go-windows-programming/tree/master/example/gui/notifyicon is working fine with both windows environments which means that the APIs are the same i think.
The advantage of your package for me is that it's working if i run my application as a windows service (normally it should not car services can not interact with windows desktop) which is not the case for all other packages i tested even in other programming languages.
I will continue my investigation.
Thank you again.

https://github.com/hallazzang/go-windows-programming/tree/master/example/gui/notifyicon

This is a different implementation.

Can you try fyne-io/fyne?
If it can work, I think I can try to fix it.

// https://github.com/fyne-io/fyne/blob/7229e889d49c81a83b0b7e09400837f67f6ddad5/test/notification_test.go#L12-L20
func TestAssertNotificationSent(t *testing.T) {
	n := fyne.NewNotification("Test Title", "Some content")
	myApp := fyne.CurrentApp()

	test.AssertNotificationSent(t, n, func() {
		fyne.CurrentApp().SendNotification(n)
	})
	assert.Equal(t, myApp, fyne.CurrentApp())
}

I tried fyne-io/fyne and it is working fine in both windows enivrements.

Can you help me test it on Windows 10 Enterprise?

Copy the following code and save the file as toast.ps1

[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.UI.Notifications.ToastNotification, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null

$APP_ID = 'test_AppID'

$template = @"
<toast activationType="protocol"  duration="short">
    <visual>
        <binding template="ToastGeneric">
            <text>test_title</text>
            <text>test_message</text>
        </binding>
    </visual>
    <audio silent="true" />
</toast>
"@

$xml = New-Object Windows.Data.Xml.Dom.XmlDocument
$xml.LoadXml($template)
$go_toast = New-Object Windows.UI.Notifications.ToastNotification $xml
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($APP_ID).Show($go_toast)

Execute this command in cmd.exe (please change the path where the file is located)

PowerShell -ExecutionPolicy Bypass "(Get-Content -Encoding UTF8 -Path D:\issues2\toast.ps1 -Raw) | Invoke-Expression;"

I tested this script in Windows Entreprise environment and it's not working.
I got no error when executing the script but the notification does not appear.

Please delete this line and try again
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.UI.Notifications.ToastNotification, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null

$APP_ID = 'test_AppID'

$template = @"
<toast activationType="protocol"  duration="short">
    <visual>
        <binding template="ToastGeneric">
            <text>test_title</text>
            <text>test_message</text>
        </binding>
    </visual>
--    <audio silent="true" />
</toast>
"@

$xml = New-Object Windows.Data.Xml.Dom.XmlDocument
$xml.LoadXml($template)
$go_toast = New-Object Windows.UI.Notifications.ToastNotification $xml
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($APP_ID).Show($go_toast)

I retested without this line and it still not working.
I dont know if it can help but this PowerShell module https://github.com/Windos/BurntToast works fine in both environments

I've followed github.com/Windos/BurntToast, but I can't understand how it works

[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
-- [Windows.UI.Notifications.ToastNotification, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
-- [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null

$APP_ID = 'test_AppID'

$template = @"
<toast activationType="protocol"  duration="short">
    <visual>
        <binding template="ToastGeneric">
            <text>test_title</text>
            <text>test_message</text>
        </binding>
    </visual>
--  <audio silent="true" />
</toast>
"@

$xml = New-Object Windows.Data.Xml.Dom.XmlDocument
$xml.LoadXml($template)
$go_toast = New-Object Windows.UI.Notifications.ToastNotification $xml
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($APP_ID).Show($go_toast)

Sorry, I'm still trying to figure out the differences with fyne-io/fyne
Please try again, if it still doesn't work, I'm sorry I may not understand how it works correctly
[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.UI.Notifications.ToastNotification, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null
[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null

$APP_ID = 'test_AppID'

$template = @"
<toast activationType="protocol"  duration="short">
    <visual>
        <binding template="ToastGeneric">
            <text>test_title</text>
            <text>test_message</text>
        </binding>
    </visual>
    <audio silent="true" />
</toast>
"@

$xml = New-Object Windows.Data.Xml.Dom.XmlDocument
$xml.LoadXml($template)
$go_toast = New-Object Windows.UI.Notifications.ToastNotification $xml
--[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($APP_ID).Show($go_toast)
++[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier("$APP_ID").Show($go_toast);

It still not working.
Thank you for your investigation. i think i will use github.com/Windos/BurntToast for my application.
Thank you again


Calculate instant query count() without fetching samples

See: https://github.com/prometheus/prometheus/issues/10073
If it's an instant query then we can calculate count() without fetching any samples with some caveats:
Now I think about it some more, I'm not sure we can get the same result without samples.
I think in the current code it will look back the stale time (5 minutes), and if there is no sample then the series will not appear.
Whereas the alternative code path will return every series in the head, typically anything that had a sample in the last 2-3 hours.

So while I still want the cheaper implementation, we would need to address backwards-compatibility.

I think this is not well defined because of lookback maybe! You would still need to decode the chunks to check if there is a sample within lookback period


Resize issue

Shaders may receiving wrong iResolution size for render view.
Here is demonstration:
https://dl.dropboxusercontent.com/u/19073449/a58400b1ba531d4d3c693c8b892b2976.mp4
Nice plugin! I'm using it for quick experiments.
I'm not familiar with CoffeeScript, so can't fix it on my own.
Thanks

I usually do this:
	vec2 uv = gl_FragCoord.xy/iResolution.xy;
	float aspect = iResolution.x / iResolution.y;

	vec3 color = vec3(uv.x,uv.y,0.0);

	uv.x *= aspect;


Is it possible to let the error in Approximate be user-defined?

See: https://github.com/paf31/purescript-reflection


Refine JMX ObjectName

fix https://github.com/brettwooldridge/HikariCP/issues/1678

@bo0ts I like this change, however, in its current form it will break existing users. I suggest enabling the new behavior via a system property, hikaricp.jmx.register2.0 (eg. -Dhikaricp.jmx.register2.0=true).

@bo0ts I like this change, however, in its current form it will break existing users. I suggest enabling the new behavior via a system property, hikaricp.jmx.register2.0 (eg. -Dhikaricp.jmx.register2.0=true).

@bo0ts I like this change, however, in its current form it will break existing users. I suggest enabling the new behavior via a system property, hikaricp.jmx.register2.0 (eg. -Dhikaricp.jmx.register2.0=true).

It's too conservative, I don't think it will break any critical function.

@bo0ts I like this change, however, in its current form it will break existing users. I suggest enabling the new behavior via a system property, hikaricp.jmx.register2.0 (eg. -Dhikaricp.jmx.register2.0=true).

It's too conservative, I don't think it will break any critical function.

@quaff Wouldn't this change break how lookups are performed?
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
ObjectName poolName = new ObjectName("com.zaxxer.hikari:type=Pool (foo)");
HikariPoolMXBean poolProxy = JMX.newMXBeanProxy(mBeanServer, poolName, HikariPoolMXBean.class);

@quaff Wouldn't this change break how lookups are performed?
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
ObjectName poolName = new ObjectName("com.zaxxer.hikari:type=Pool (foo)");
HikariPoolMXBean poolProxy = JMX.newMXBeanProxy(mBeanServer, poolName, HikariPoolMXBean.class);

@quaff Wouldn't this change break how lookups are performed?
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
ObjectName poolName = new ObjectName("com.zaxxer.hikari:type=Pool (foo)");
HikariPoolMXBean poolProxy = JMX.newMXBeanProxy(mBeanServer, poolName, HikariPoolMXBean.class);

Any existing code performing programatic lookups seems like it would surely be broken.

I mean rare projects will lookup it directly by code.

@quaff Wouldn't this change break how lookups are performed?
MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
ObjectName poolName = new ObjectName("com.zaxxer.hikari:type=Pool (foo)");
HikariPoolMXBean poolProxy = JMX.newMXBeanProxy(mBeanServer, poolName, HikariPoolMXBean.class);

Any existing code performing programatic lookups seems like it would surely be broken.

I mean rare projects will lookup it directly by code.

@quaff HikariCP has millions of users, literally. "Rare" in this case could be thousands of users.  One of those "users" could easily be Spring Boot, the Play framework, or Oracle Cloud, all of which use HikariCP and in turn have millions of users of their own.

@quaff HikariCP has millions of users, literally. "Rare" in this case could be thousands of users.  One of those "users" could easily be Spring Boot, the Play framework, or Oracle Cloud, all of which use HikariCP and in turn have millions of users of their own.

@quaff HikariCP has millions of users, literally. "Rare" in this case could be thousands of users. One of those "users" could easily be Spring Boot, the Play framework, or Oracle Cloud, all of which use HikariCP and in turn have millions of users of their own.

Updated according to your suggestion.

@quaff HikariCP has millions of users, literally. "Rare" in this case could be thousands of users. One of those "users" could easily be Spring Boot, the Play framework, or Oracle Cloud, all of which use HikariCP and in turn have millions of users of their own.

Updated according to your suggestion.


assetic:dump should die on duplicated output file names

We had the case several times in our symfony templates that by accident we had assetic calls with the same output filename in different templates. This will of course not work; it would be easy to detect that kind of collision when assetic:dump is run and to return an error code. That way unit tests could discover the problem easily when setting up the environment for testing. It is much more difficult to detect this problem by looking at the live site. One of the two pages will likely not work or look correctly.
Thanks for considering!

Closing, since assetic is discontinued.


ClassicalOrthogonalPolynomials

@MarcoFasondini FYI this now shows how to derive the 6 x 6 symbols for general cubic curves, with the teardrop as a special case.


sonobuoy: init at 0.15.0

Motivation for this change
Neat program to run k8s tests 😄
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Addressed your comments @JohnAZoidberg. Thanks!

@GrahamcOfBorg build sonobuoy


Adding ImageCropper.Forms to my iOS project breaks our Apple Store deployment

This is a bizarre one, but using ImageCropper.Forms.Fix.v2 nuget package version 1.1.5 breaks our iOS deployment, specifically using Azure DevOps. With no other changes (isolated specifically to this commit adding the image cropper), our fastlane deployment projects no longer seem to have Asset Catalogs configured correctly. Our assets catalogs / ipa files build fine without ImageCropper. My only guess is whatever iOS specific dependency is used for image cropping is messing with our asset catalogs somehow.
2021-12-02T15:16:55.5956800Z [15:16:55]: ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface" 2021-12-02T15:16:55.6060690Z ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface" 2021-12-02T15:16:55.6168670Z ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface" 2021-12-02T15:16:55.6176460Z ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 7.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface" 2021-12-02T15:16:55.6281800Z ERROR ITMS-90704: "Missing App Icon. An app icon measuring 1024 by 1024 pixels in PNG format must be included in the Asset Catalog of apps built for iOS, iPadOS, or watchOS. Without this icon, apps cannot be submitted for review. For details, see https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/." 2021-12-02T15:16:55.7127900Z [15:16:55]: [iTMSTransporter] [2021-12-02 15:16:55 UTC] <main> DBG-X: The error code is: 1102

Confirmed by downloading the .ipa file generated before and after adding ImageCropper lib:
xcrun --sdk iphoneos assetutil --info Assets.car
Reveals that your sample1 assets file from your sample project is being created in the .ipa and overwriting the asset catalog from my xamarin forms iOS project.
xcrun --sdk iphoneos assetutil --info Assets.car objc[74732]: Class OS_at_encoder is implemented in both /usr/lib/libate.dylib (0x1fc68ca58) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin/assetutil (0x101222010). One of the two will be used. Which one is undefined. [   {     "Appearances" : {       "UIAppearanceAny" : 0     },     "AssetStorageVersion" : "Xcode 12.3 (12C33) via IBCocoaTouchImageCatalogTool",     "Authoring Tool" : "@(#)PROGRAM:CoreThemeDefinition  PROJECT:CoreThemeDefinition-490\n",     "CoreUIVersion" : 689,     "DumpToolVersion" : 735,     "Key Format" : [       "kCRThemeScaleName",       "kCRThemeIdentifierName",       "kCRThemeElementName",       "kCRThemePartName"     ],     "MainVersion" : "@(#)PROGRAM:CoreUI  PROJECT:CoreUI-689.3\n",     "Platform" : "ios",     "PlatformVersion" : "14.3",     "SchemaVersion" : 2,     "StorageVersion" : 17,     "Timestamp" :<PHONE_NUMBER>   },   {     "AssetType" : "Image",     "BitsPerComponent" : 8,     "ColorModel" : "RGB",     "Colorspace" : "srgb",     "Compression" : "deepmap2",     "Encoding" : "ARGB",     "Name" : "sample1",     "NameIdentifier" : 64634,     "Opaque" : true,     "PixelHeight" : 480,     "PixelWidth" : 1024,     "RenditionName" : "Photo.png",     "Scale" : 2,     "SHA1Digest" : "7A17038AE14B93EFB778DE2AF2397EBEBF39A94E",     "SizeOnDisk" : 397549,     "Template Mode" : "automatic"   } ]

Looks like the root of this has been addressed here:
https://developercommunity.visualstudio.com/t/nuget-reference-causes-ios-asset-catalogue-to-not/550021


allow_defaults fix in Configuration.from_json()

this method was always allowing defaults rather than passing through the method's argument.

Thanks for spotting this.


Add default speed limits for Estonia

Speed limits are checked vs OSM highway tags in Estonia

This has been merged internally and will be in the next release.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/678 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target.git

Docs Build status updates of commit 62c1ece:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-01-18-05-46-25 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 62c1ece:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-01-18-05-46-25 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


findomain: 5.0.0 -> 5.0.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Edu4rdSHL/findomain/releases.
meta.description for findomain is: "The fastest and cross-platform subdomain enumerator"
meta.homepage for findomain is: "https://github.com/Edu4rdSHL/findomain"
meta.changelog for findomain is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/6hfag53yfy15zsn4ddy3plmvbyii6arx-findomain-5.0.1/bin/findomain passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 5.0.1 with grep in /nix/store/6hfag53yfy15zsn4ddy3plmvbyii6arx-findomain-5.0.1
found 5.0.1 in filename of file in /nix/store/6hfag53yfy15zsn4ddy3plmvbyii6arx-findomain-5.0.1

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

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
findomain

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6hfag53yfy15zsn4ddy3plmvbyii6arx-findomain-5.0.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A findomain https://github.com/r-ryantm/nixpkgs/archive/f78c7c34d2279f3c8dc8d139ef0c43ebf14b7121.tar.gz

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

findomain

Maintainer pings
cc @Br1ght0ne for testing.

Result of nixpkgs-review pr 149138 run on x86_64-linux 1

1 package built:

findomain


Clarify DPE Usage of PCRs

tl;dr - Proposal is to not change the current PCR count, and keep it at 32
Currently, the hardware spec says that Caliptra will have 32 hardware PCRs. This breaks down to

24 PCRs for DPE. One for each "Journey" TCI.
8 for all other Caliptra usages

There has been a proposal to add an additional 24 PCRs for storing the "Current" value for each TCI. This is the most recent value that has been stored in a DPE TCI. These PCRs would be clearable by Runtime Firmware and never locked.
I would like to instead propose that we store the DPE "Current" TCIs in DCCM SRAM for the following reasons:

Additional PCRs would add ~10K flops. The corresponding area increase could impact SoC integrators' ability to fit Caliptra.
If "Current" values are stored in PCRs, they need to be clearable. This means that Runtime Firmware has the same ability to clear "Current" values regardless of whether they're stored in PCRs or DCCM.

Implemented, validated & released - closing


Inconsistent overwrite of Legacy Host

I am running into trouble setting up my sbt to not use the Legacy Host.
I have configured
credentials += Credentials(
"Sonatype Nexus Repository Manager", "s01.oss.sonatype.org", "<secret>", "<secret>"
)
sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"

in $HOME/.sbt/1.0/global.sbt and am now trying to utilize sonatypeBundleRelease which only works partially.
2021-04-16 15:34:57.014+0200  info [SonatypeService] sonatypeRepository  : https://s01.oss.sonatype.org/service/local  - (SonatypeService.scala:23)
...
2021-04-16 15:35:00.188+0200  info [SonatypeClient] Created successfully: <id>-1007  - (SonatypeClient.scala:139)
2021-04-16 15:35:00.437+0200  info [SonatypeClient] Uploading bundle /PATH/target/sonatype-staging/1.1.7 to https://oss.sonatype.org/service/local/staging/deployByRepositoryId/<id>-1007/  - (SonatypeClient.scala:288)

which leaves me baffled. There is a staging repository at s01 consequently some of the configuration made must have stuck. However, it then seems to try to deploy to the Legacy Host, which fails (of cause).
It seems the configuration for which host to use is inconsistent. For newcomer (like me) it might make things easier if there is no default host to ensure that the correct host has to be set and is used consistently.
I am using sbt-sonatype 3.9.5

This issue is resolved with 3.9.7 I was not aware that there is a newer version as this sonatype referenced documentation says to install 3.9.5.


Multiple RCodeInfo$InvalidRCodeException occurences when compiling full project

On behalf of RITS
Multiple occurences of this exception are found in the LS output log. Confirmed that those issues are randomly thrown (rcode can be parsed later without any problem).
[2022-10-14T18:07:51.598+0200] [ERROR] Unable to parse rcode xxxx.r - Please open issue on GitHub - eu.rssw.pct.RCodeInfo$InvalidRCodeException
[2022-10-14T18:07:51.598+0200] [ERROR] Caused by: eu.rssw.pct.RCodeInfo$InvalidRCodeException: Not enough bytes to reach debug segment
    at eu.rssw.pct.RCodeInfo.<init>(RCodeInfo.java:125)
    at eu.rssw.pct.RCodeInfo.<init>(RCodeInfo.java:97)
    at eu.rssw.openedge.ls.a.l.a(SourceFile:750)
    at eu.rssw.openedge.ls.a.C.b(SourceFile:119)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)

Fixed in 1.3.11


Order by aggregate (like count) in groupBy

Problem
Right now groupBy doesn't support ordering by an aggregate.
model User {
  id     Int   @id @default(autoincrement())
  town   String
}

List of towns, ordered by number of users in each town.
select town, count(town)
from user
group by town
order by count(town) asc

Suggested solution

client.user.groupBy({
  orderBy: {
    _count: {
      town: 'desc'
    }
  }
})

Additional context

First mentioned in: https://github.com/prisma/prisma/issues/4893#issuecomment-766146759
There's a similar, but distinct feature request for ordering by relation: https://github.com/prisma/prisma/issues/5439

Will this feature support grouping by included (relationship) columns as well? Seems to fit my use case perfectly if so!

Maybe! Can you share your use case?

It's the usecase described here: https://github.com/prisma/prisma/issues/4893#issuecomment-766146759
I have a "cases" table. Each case can have many "codes" attached to it.
I want the "codes" that are used the most often.
So i want to grab the total number of "cases" grouped by the "code" and ordered by the count. Using your example above, something like:
client.case.groupBy({
  by: ["CaseCode.code"],
  count: {
    CaseCode: {
      code: true
    }
  },
  orderBy: {
    count: true
  }
})
// result

[{code: 'test', count: 200}, {code: 'another code, count: 100}]

Ahh got it! For some reason I thought those columns were in the same table. We talked about group by across tables, but it's pretty complicated. This is a separate feature that I can open an issue for.
To help me with writing the issue, can share the Prisma Schema?
Something like:
model Case {
  id    Int    @id
  CaseCode CaseCode[]
}

model CaseCode {
  id     Int  @id
  code   Int
  case   Case @relation(fields: [caseId], references: [id])
  caseId Int
}

Also if you have the equivalent SQL that would be very helpful :-)

I have the full sql in the comment I linked to above, I can send the schema later today! Thanks

Just want to follow up, with the latest version of prisma, you can almost do this. But not quite:
const users = await prisma.user.findMany({
  include: {
    _count: {
      select: { posts: true },
    },
  },
})

You can do the above, but I need to be able to group by the highest count, and take only a few. Something like:
const users = await prisma.user.findMany({
  include: {
    _count: {
      select: { posts: true },
    },
  },
  orderBy: {
    _count: {
      posts: 'desc'
    }
  },
  take: 6
})

This would grab a count of posts on a user, ordered by the users with the most posts, and then take the highest 6

Hey @zackify,
This seems like a different feature you're asking. Would you mind opening another issue for that?
I'm closing this issue for now as it's been implemented by https://github.com/prisma/prisma-engines/pull/1794.
Thanks

This would grab a count of posts on a user, ordered by the users with the most posts, and then take the highest 6

Hmmm never mind, I guess another way to achieve it would be to do the following.
const users = await prisma.user.findMany({
  include: {
    _count: {
      select: { posts: true },
    },
  },
  orderBy: {
    posts: {
      _count: 'desc'
    }
  },
  take: 6
})

This would grab a count of posts on a user, ordered by the users with the most posts, and then take the highest 6

Hmmm never mind, I guess another way to achieve it would be to do the following.
const users = await prisma.user.findMany({
  include: {
    _count: {
      select: { posts: true },
    },
  },
  orderBy: {
    posts: {
      _count: 'desc'
    }
  },
  take: 6
})

You saved me a lot now, thank you!!!!


setAutoFlushCommand on async() and sync() commands

Lettuce version: 6.0.2.RELEASE
I am implementing a Rate Limit library using Redis. This library will use a Redis Cluster to handle the distributed rate limit.
Also this library needs to call some external endpoints (which I will be caching using Redis taking advantage of it to avoid flooding other clients).
My rate limit library has only one
StatefulRedisClusterConnection<String, String> redisClusterConnection;

This one is a Spring @Bean instantiated when the app starts. So basically I am only creating one connection per instance of the Rate Limit.
Since I am using Redis for both Rate Limit and caching, it has two parts of it:

algorithm that rate limits: does several calls to Redis, so i take advantage of the async() commands to issue them and send them all together.
algorithm that gets from cache: this is a simple get() and setex() commands. Since I need the commands to know if the cache is populated or not, in this case the commands are issued with sync()

This is the part of the code of the cache:
String hashedToken = Hashing.sha256().hashString(someToken, StandardCharsets.UTF_8).toString();
String cache = redisClusterConnection.sync().get(hashedToken);
.... SOME CALCULATIONS....
if (cache == null) {
    redisClusterConnection.sync().setex(....);
}

This is part of the code for the rate limit:
RedisAdvancedClusterAsyncCommands<String, String> asyncRedisCommands = redisClusterConnection.async();
List<String> redisTime = asyncRedisCommands.time().get(redisClusterConnection.getTimeout().toMillis(), TimeUnit.MILLISECONDS);
...... DO SOME INTERNAL CALCULATIONS WITH THE TIME....
List<RedisFuture<?>> futures = Lists.newArrayList();
asyncRedisCommands.setAutoFlushCommands(false);
futures.add(asyncRedisCommands.get(pastKey));
futures.add(asyncRedisCommands.incr(currentKey));
futures.add(asyncRedisCommands.expire(currentKey, 2 * timeWindowInMilliseconds - currentMillisecond));
asyncRedisCommands.flushCommands();
..... DO SOME MORE CALCULATIONS....

A request arrives and code is executed on this order:

Cache code is called, first time the cache is empty. It will retrieve the endpoint call and store that into Redis
It will call rate limit algorithm. Here it will setAutoFlushCommands to false
This first pass works perfect

Now a new request comes in and the flow goes like this:

Cache code is called, cache is not empty. But here my app breaks. .get() command throws me a CommandTimeoutException.

After understanding a little bit whats going on, the problem is that since I set the setAutoFlushCommands to false, the second time it runs, the sync() never flushes the command.
Now my question here is, how do I handle connections in which I need to do some sync() and async() commands???
I thought the setAutoFlushCommands was being done at the RedisAdvancedClusterAsyncCommands only but seems it's affecting the whole Redis connection.
Should i make my calls in the cache code async() and use the .get() method with timeouts, the same way it's done for the time() method?
Also I have to say that this will serve multiple parallel requests so I might have one part of the code executing the async part and one the sync part so I cant go modifying the setAutoFlushCommands all the time from true to false and viceversa

Switching setAutoFlushCommands to false is only recommended for single-threaded connection use that wants to optimize command buffering for batch imports.
Lettuce works in general in a non-blocking, multiplexing mode regardless of the API that you're using. You can use synchronous, asynchronous, any reactive APIs with the same connection.
That being said, if you don't touch setAutoFlushCommands, you should be good.

@mp911de great that worked!! Thanks!
Anyways, I thought the setAutoFlushCommands was done at RedisAdvancedClusterAsyncCommands and not at connection level.
That was my confusion!


Exception when trying to turn on a light

After installing 1.8.10, replacing a 1.7 version from early 2021, I get the following exception when trying to turn on a bulb:
   Hue Lights Error                Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 3190, in actionControlDimmerRelay
  File "plugin.py", line 8466, in doOnOff
NameError: global name 'lastUpdated' is not defined

fixed in 1.9.11 (I think). https://github.com/IndigoDomotics/Hue-Lights-Indigo-plugin/releases/tag/v1.9.11


when i launch the game and it lets me chose a gamemode when i click on battleroyale it crashes the game

Closed due to little information provided.


Fix allowlist regex

Description:

Fixes https://github.com/zricethezav/gitleaks/issues/1025
The allowlist regex is only applied to the finding's secret, not the full line.
According to the README, the stopwords target the secret whereas the regexes target the "entire regex match", which I interpreted to mean the Line in the Finding struct.
So I changed the logic in detect.go to check the regexes against the Line.
Also added some tests

Checklist:

[x] Does your PR pass tests?
[x] Have you written new tests for your changes?
[x] Have you lint your code locally prior to submission?

Closing this as regexTarget takes care of allowlist matching on either secret, match, or line


Increment wagtail to v1.11.1. 	Added chart_acct_name to CostCentreAdmin list_filter. Registered DepartmentUser with with reversion app.

This change is

Changes Unknown when pulling 1148113b063d77e695ead6ed55690aff90267223 on ropable:prod-oldui into ** on parksandwildlife:prod-oldui**.


Improve error handling

The autograder still fails to catch certain edge cases. One way to resolve this is by ensuring a results.json file is always generated in the correct directory. When this does not happen, use a template results file to inform the student of the error.
To fix:

Escape sequence errors when running json_pp
Missing file indicated even though it exists

Missing file bug fixed by rerunning autograder


Transition sometimes works, sometimes doesn't

First of all, thanks for your hard work. I added the library to my Blazor project (wasm), but transition sometimes works, sometimes doesn't (Pages show suddenly).
I also debug, but unfortunately I couldn't understand why. Any ideas?
I have 3 views "/","/Form","/Tab"

https://user-images.githubusercontent.com/1059475/131810974-52782209-2187-4ca5-9766-e0a7a8dcfae5.mp4
@code {
private string transitioningClass => Transition.FirstRender
? "" : $"animate__{transitioningEffect()} animate__faster animate__animated";
private string transitioningEffect()
{
    if (customTransitions.TryGetValue((TransitionType.fromType, TransitionType.toType), out var custom))
    {
        return Transition.IntoView ? custom.effectIn : custom.effectOut;
    }
    else
    {
        var effect = Transition.IntoView ? "fadeIn" : "fadeOut";
        var direction = Transition.Backwards ? "Up" : "Down";
        var result = effect + direction;
        Console.WriteLine(result);
        return result;
    }
}

private Dictionary<(Type from, Type to), (string effectOut, string effectIn)> customTransitions =
    new Dictionary<(Type from, Type to), (string effectOut, string effectIn)>
    {

    };

}
Thank you.

Thank you for replying. I have shared the repo with you.
I think with MAU-Blazor (Xamarin) Transition will become very important to deliver the native experience to mobile app users.

I have added this as a roadmap item and will close this issue now and see if a number of other users have the same need.

Check behaviour for slow loaded pages and handle transition when in ready state or suggest best practice for pages that exhibit this.


Factual wallet address is not being created when using MetaMaskWalletProvider

It was working fine till yesterday , now it's showing error:
code:
here you can see i have simply used MetaMaskWalletProvider to create an instance of primeSdk,
  if (!MetaMaskWalletProvider.detect()) {
      toast("Metamask not detected");
      return;
    }

    const walletProvider = await MetaMaskWalletProvider.connect();

    console.log("walletProvider: ",walletProvider)

    const _primeSdk = new PrimeSdk(walletProvider, {
      chainId: 80001,
    });

     console.log(_primeSdk);

    const _addresss = await _primeSdk.getCounterFactualAddress();

The walletProvider was consoled with the wallet i wanted to connect to without any issue, but when i console.log _primeSdk i got:

here you can see the accountAddress in etherspotWallet is undefined.
here is my walletProvider:

It's working now that i have installed the latest version.


go: Fix unknown relocation type 42 for Linuxbrew

Closes Linuxbrew/linuxbrew#1057.

Unfortunately bottling failed due to a static executable. I have to figure out how to distinguish static ELF executables from dynamic ones. Perhaps using libmagic, or a Ruby ELF library.
==> brew bottle --verbose --rb go --keep-old
==> Bottling go-1.6.x86_64_linux.bottle.2.tar.gz...
/home/linuxbrew/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf --set-rpath @@HOMEBREW_PREFIX@@/lib --set-interpreter /lib64/ld-linux-x86-64.so.2 /home/linuxbrew/.linuxbrew/Cellar/go/1.6/libexec/bin/go
cannot find section
Error: undefined method `write' for nil:NilClass


Update to 2.0.0

Hi. I've recently discovered it, thanks for creating, looks great! Can you update to be compatible with newest 2.0.0 release? I'm looking forward to linking in in the https://github.com/pawurb/rails-pg-extras readme.

Thanks. Update done:  https://rubygems.org/gems/rails-pg-extras-web/versions/2.0.0.


NetworkTime.lastPingTime not being reset to 0 (domain reload disabled)

Description
NetworkTime.lastPingTime does not get reset to 0. If in the editor you stop play mode and restart it, the Time.time will be less than the lastPingTime causing the NetworkPingMessage to go through.
Step by step reproduction:

Have a really basic server-client project
Disable domain reload:

Edit->Project settings...->Editor->Enter play mode settings
Enable "Enter play mode options"
Disable "Reload domain"
Enable "Reload scene"

Start a server (possibly using a built version of the project)
Start play mode
Connect to the server and wait around 30 seconds
Disconnect from the server
Stop play mode and start play mode
Connect to the server
No NetworkPingMessage will be sent out for 30 seconds, risking a disconnect

Expected behavior
The ping messages do get sent out after the second connect.
Desktop:

OS: Windows
Build target: standalone
Unity version: 2021.1.12f1

Additional context
The reason this is an issue for me is that I use the ping messages as a keep alive mechanism. If the client stops sending ping messages, the server drops the connection.
Possible fix
Add lastPingTime = 0; to the Reset() method: https://github.com/vis2k/Mirror/blob/09cbc7e782250bfac6b800c2fe7ca2fc537459cf/Assets/Mirror/Runtime/NetworkTime.cs#L93

Experimental Enter Play Mode Options is not supported.  There's even a build-blocker if that's enabled.

Thank you for the quick response. We are using an older version of Mirror which did not warn us against this and other than this issue, it works great.
Since this can be considered a won't fix/by-design, I will close the issue.


[Snyk] Security upgrade commitizen from 4.2.4 to 4.2.5

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
yarn.lock

Vulnerabilities that will be fixed
With an upgrade:

Severity
Issue
Breaking Change
Exploit Maturity

Prototype Pollution SNYK-JS-MINIMIST-2429795
No
Proof of Concept

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution

Codecov Report

Merging #5 (b400bd2) into main (bfef57a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   99.13%   99.13%
=======================================
  Files         133      133
  Lines        8287     8287
  Branches      953      953
=======================================
  Hits         8215     8215
  Misses         72       72

Continue to review full report at Codecov.

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


Broken utils (according to BusyBox)

According to BusyBox, the following tests are either missing features or are now broken (I'm pretty sure echo used to pass all the tests, for example):

cp
du
echo
expand
fold
hostname
mv
tail
tr
unexpand

important to note: many GNU coreutils tools fail one or more of the tests on their corresponding busybox test.
I don't have the list on me right now, it can be generated from the makefile in this branch by compiling coreutils 8.2.4, placing the resultant binaries in tmp/gnu (relative to the repo) and running make busytest
I'll see if I can post the output tonight.

echo, mv and tail don't fail for me.

I realized a little while ago that some of these failures are because I'm currently using a Mac, and BusyBox is using Mac OS X's version of coreutils to check the output of our utils.

Detailed instructions for reproducing the results below are now available on the readme of the branch
Busybox test failures run against GNU Coreutils
(cp, date, du, expand, fold, hostname printf, unexpand)
FAIL: cp
FAIL: cp -d
FAIL: cp -P
FAIL: cp -L
FAIL: cp -H
FAIL: cp -RHP
FAIL: cp -RLH
FAIL: date-format-works
FAIL: date-u-works
FAIL: date-works
FAIL: date-works-1
FAIL: du-m-works
FAIL: expand-works-like-GNU
FAIL: expand with unicode characher 0x394
FAIL: fold -sw66 with unicode input
FAIL: hostname-d-works
FAIL: hostname-i-works
FAIL: hostname-s-works
FAIL: printf understands %d '"x' "'y" "'zTAIL"
FAIL: printf handles %d bad_input
FAIL: printf aborts on bare %
FAIL: printf aborts on %r
FAIL: unexpand-works-like-GNU
FAIL: unexpand case 7
FAIL: unexpand with unicode characher 0x394

Context
OS: debian 8.2.0 x64 running in the Virtualbox hypervisor
coreutils: v8.24
busybox: v1.24.1 (same as in current makefile)
configuration: ./configure --prefix=$repo/tmp/gnu/


Dashboard resources not loaded when using path prefix

In 1.7, we use path prefix (/traefik) to access the dashboard and it works pretty nice.
When we experimenting the migration to vesion 2.0.1 with Ingress Route:
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: dashboardingressroute

spec:
  entryPoints:
    - web
  routes:
  - match: Host(`localhost`) && PathPrefix(`/traefik`)
    kind: Rule
    services:
    - name: traefik
      port: 8080
    middlewares:
      - name: test-stripprefix

---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: test-stripprefix
spec:
  stripPrefix:
    prefixes:
      - /traefik

We can reach the dabshboard web site but all resources are not loaded properly due to URL issue. It tries to load with /dashboard/....
As it's a SPA, we guess that the baseref on the page is missing or using kind of header X-Forward-Prefix ?

duplicate of #5374


Cant serve the dashboard over http (except for localhost)

I have been trying to create a host machine that would serve the dashboard at some port so our devs could check our clusters using a single read only serviceaccount in this "bastion" for our clsuter.
I have managed to make the dashboard work locally only. I set up the .kube/config locally and started octant, and when I access <IP_ADDRESS>:8900 I have access to the dashboard with all the resources listed.
If I try to do this with a different machine and try to access its external IP at the port the dashboard is being served, the page actually starts loading, but never actually shows anything.
No errors pop while running with the verbose option, and as far as I can tell, everything is properly set up.

Thank you for reporting this, we are aware of this issue, this is a duplicate of the issue reported in #152 . We have merged a fix for this in master #158 and it will be in our next binary release which is currently scheduled for ~ August 20th.


Update Chromium recipe instructions to reflect new flow

Chromium recently changed the test command (https://bugs.chromium.org/p/chromium/issues/detail?id=699120) -- updating /dev/bots/README.md to reflect that


driving/get_best_prediction: use std::max_element

Think "Explicit is better than implicit" applies here. It doesn't make the code faster or easier to read.


Won't compile to my toaster

I installed arch-linux and docker onto my toaster. However, whenever I try to compile nocode, it just says "error 862: this isn't bread" and then crashes xorg. I've tried this on my dishwasher and it cured all known forms of heart disease like I expected it to do, so it might just be a hardware compatibility problem?

IoT devices often have outdated firmware, so maybe thats the problem. But it depends on your toaster model and vendor. For example, it should work on this, through I didn't test it.
And, if you have succesfully installed Arch on your toaster, please add an post here on the arch forum to help the poor guy searching for a linux distro running on a toaster.
Is your dishwasher also running arch? If not, it's probably something like FreeRTOS which can run nocode perfectly fine.

Perhaps you forgot to remove the inexisting -teapot compile option.

Couldn't do that. However, pipelining it to another instance of NoCode worked just fine.


AIRFLOW-91: ssl gunicorn support

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

AIRFLOW-91:

@zstan @mistercrunch the commit was reverted. @zstan please make sure you we can use the config variables and update it in a new PR. Thanks.

This was already fixed by #1760.


Fix type signatures of Print and PrintT.

Fixes #2448

[x] Tests added for any new code
[x] [Entries added to ./unreleased/][changelog format] for any new functionality

Codecov Report

Merging #2456 (3804c26) into main (4111cf1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2456   +/-   ##
=======================================
  Coverage   78.35%   78.35%
=======================================
  Files         441      441
  Lines       15387    15387
  Branches     2464     2464
=======================================
  Hits        12056    12056
  Misses       3331     3331

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


Suggestion: Only remind to boost after x amount of time for skill drain

What would be the chance of setting in the config showing the reminder after x amount of seconds since your skill has drained (With 0 set as default meaning anytime)
In theory if I set that to 10, it would only remind me to boost, if my special attack is restored, and it's been 10 seconds or less than my skill boost draining. That way I won't feel like I'm wasting 1 level, as the plugin is suggesting me to do here

It is suggesting I boost with 11 seconds remaining on my current, therefore in 11 seconds after boosting, I would lose 1 level of the boosted skill, instead of waiting for 11 seconds before reminding me to boost.
This probably wouldn't matter the 1st time you boost when you don't know when skill boosts will drain, as the game is weird, and what I've found is that if it's a new boost, it won't drain within a certain timeframe (Meaning if you skill is meant to drain in 5 seconds, it's in the grace period, and your skill drain timer would go back to a minute without draining), however when it's boosting something existing, such as a currently +1 woodcutting, to +3 woodcuting, even if your boost will drain on the next tick, you would then go back to a +2 boost

Here is an example of what I want to try an avoid
https://github.com/user-attachments/assets/7f6ee724-7944-4865-aefc-81d52c3b7b78

Yeah good point. Maybe I could make the notification happen only after the 'next - restore' or with override setting to notify every time regardless of the next restore.
Settings:

Notify after 'next - restore' (Defaults to True)

Is there anything else that should be added?

Not that I can think of, however I do have a bug, which I will make a new issue for just to keep bugs and suggestions separate


Include State Country Picklist Fields in Query in Enabled Orgs

Critical Changes
Changes
Issues Closed
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata
Deleted Metadata

@sokosaurus and @lparrott Thank you!  Mind re-approving here? https://github.com/SalesforceFoundation/NPSP/pull/6508


Belief chart: legends possible per plot

Description
Right now, the default on the asset charts is that multiple plots have one combined legend at the bottom. Some users (the ones exporting graphs for external purposes, but maybe also those whose charts legends are getting too crowded) want that one legend exists per plot (next to it).
Look & Feel
I made a screenshot how far I took this. Legends still need to be placed (to the side) and maybe we can make colors non-repeating.

How to test
Set the new combined_legend parameter to False in GenericAsset.chart() - in models/generic_assets.py line 480
TODO

[x] add combined_legend parameter
[x] stop including all sensors in each sensor spec
[ ] move legends to the side
[ ] non-repeating colors
[ ] combined_legend also as parameter to GET /assets/<id>/chart?

Related Items

https://vega.github.io/vega-lite/docs/resolve.html
https://vega.github.io/vega-lite/docs/concat.html

[x] I agree to contribute to the project under Apache 2 License.
[x] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

Instead of moving the legends to the side I propose I try to increase the spacing between the vertically concatenated charts. The reason is that the legend labels can be quite wide, and moving them to the side will leave less width for the plots, and will probably also make the plot width vary with the label width (up to some maximum label width).

Anything to get this PR out the door. We can move non-repeating colors and updating the API to another PR.

In base.html, set 'true' to 'false' for testing.


TouchableOpacity is not working properly on 6s, 6s plus in certain cases

[only 6s, 6s plus problem]
Since I updated my app to 0.35, TouchableOpacity is not working properly on 6s, 6s plus device.
(Maybe first touch is working or not)
But it works perfectly in simulator.
And it works react native 0.25.1 too.
Steps to Reproduce / Code Snippets
Here is test code.
import React, { Component } from 'react';
import {AppRegistry, StyleSheet, View, TouchableOpacity} from 'react-native';
const {width, height} = require('Dimensions').get('window');

export default class ViewTest extends Component {
  render() {
    return (
        <View style={styles.out}>
            <View style={styles.container}>
                <TouchableOpacity onPress={() => {alert('onPress')}} >
                    <View style={styles.background}></View>
                </TouchableOpacity>
            </View>
        </View>
    );
  }
}

const styles = StyleSheet.create({
    out: {
        position: 'absolute',
        top: 0,
        left: 0,
    },

    container: {
        position: 'absolute',
        top: 0,
    },

    background: {
        height: height,
        width: width,
        opacity: 0.7,
        backgroundColor: '#000000'
    },
});

AppRegistry.registerComponent('ViewTest', () => ViewTest);

Additional Information

React Native version : [0.35]
Platform : iOS
Operating System : [macOS]

please help me :(

Is top-level alert a thing? I didn't know that was a thing. I might be barking up the wrong tree but can you check is this a problem with TouchableOpacity, or is this a problem with the alert global?

It's not alert problem. I changed alert('onPress') to Alert.alert('onPress') with import {Alert} from 'react-native';.  but the result is same. TouchableOpacity is not working. (It works Simulator)
Plus,  if you can touch the screen fast, TouchableOpacity is working.

@joohoyo Did you test removing alert altogether to be sure it is regarding TouchableOpacity?

@hypatiah Yes. I removed alert and just write console.log, and it does not work still on device.
The problem is about position: 'absolute' thing, I guess.
When I put width: width, height: height in the styles.container, it works perfect.
I don't know what happened.
Here is test code(touch the view, change background color)
import React, { Component } from 'react';
import {AppRegistry, StyleSheet, View, TouchableOpacity} from 'react-native';
const {width, height} = require('Dimensions').get('window');
const COLORS = ['red', 'green', 'blue'];

export default class ViewTest extends Component {
    constructor(props) {
        super(props);
        this.colorIndex = 0;
        this.state = {bgColor: COLORS[this.colorIndex]};
    }

    render() {
        return (
            <View style={styles.out}>
                <View style={styles.container}>
                    <TouchableOpacity onPress={this._changeBackground.bind(this)} >
                        <View style={[styles.background, {backgroundColor: this.state.bgColor}]}></View>
                    </TouchableOpacity>
                </View>
            </View>
        );
    }

    _changeBackground() {
        this.setState({
            bgColor: COLORS[++this.colorIndex % COLORS.length],
        });

    }

}

const styles = StyleSheet.create({
    out: {
        position: 'absolute',
        top: 0,
        left: 0,
    },
    container: {
        position: 'absolute',
        // width: width,
        // height: height,
        top: 0,
    },
    background: {
        height: height,
        width: width,
        opacity: 0.7,
    },
});

AppRegistry.registerComponent('ViewTest', () => ViewTest);

save issue for me

YES: this is an issue.
TouchableOpacity often (but not always) fails when using buttons that use position: 'absolute' on 6s when any pressure is applied during the touch.
This issue was first noticed here https://github.com/facebook/react-native/issues/3082, but I don't think it was understood that the problem is specific to TouchableOpacity.
TouchableWithoutFeedback does not exhibit the same bug.

^ React Native 0.38.0
The previous ticket was logged in August but I remember seeing this long ago, I think it's been in there a while and hasn't been noticed because it's specific to force-touch devices and React Native tends to be tested in the simulator more actively. Since there's not force-touch the bug doesn't exhibit on sim.

I've got the same issue with a TouchableOpacity with {position: 'absolute'} on an iPhone 6S. It works in the simulator, and if you press along the edges of the component while running on device , the press event is triggered, but only occasionally and with some luck.

Can confirm TouchableHighlight is also affected by this.

After a lot of time spent on this I was quite surprised when i successfully solved this by simply adding hitSlop={{top: 12, left: 36, bottom: 0, right: 0}}to my touchable! I have no idea why but now my touchables are working in my project!

Am facing this issue in nexus 5x, Android 7.1.2. Any idea? I tried @albinhubsch solution, still not working.
render() {
return ( < ListView dataSource = {
this.state.dataSource
}
renderRow = {
(rowData) =>
<TouchableOpacity hitSlop={{top: 0, left: 0, bottom: 0, right: 0}} style={{backgroundColor:'red',}} onPress={() => this.rowPressed(rowData)}
underlayColor='#dddddd'>
<Text style={{fontSize:18, color:'white',height:44, }}>
{rowData} < /Text> } / >  );
}
    rowPressed(rowData) {
      Alert.alert('hi','hello',[{text: 'OK', onPress: () => console.log('OK Pressed')},], { cancelable: false },);
}

Also note that, if i tap on left edge(30-45px from origin), its firing the event rowPressed.

https://youtu.be/RniFwTtMVqY

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/touchableopacity-is-not-working-properly-on-6s-6s-plus-in-certain-cases-1

I'm still experiencing this issue, and my causes look identical to the reported issue:

only repros on larger phones, works as expected on 5s
only happens when using position absolute
tap target is not completely gone, but is just the bottom half or so of the touchable target.

Not sure closing issues because of lack of activity makes much sense when there have been no vendor side updates. I'm sure it makes the issue count look nice, but React Native is now the only project where "closed" doesn't mean anything when searching the issue list.
I'd like to request that this issue be re-opened until a fix lands for it.

Still having this issue with this, @jesseditson's description is spot on. Having to add huge padding to buttons so they're clickable is not fun.

Have same issue on Iphones with force-touch and TouchableOpacity with position:absolute.
react-native: 0.46.4

Stick a fork in it this is a total pain so the solution is:
iOS: has to have the following: height, width, and zIndex.
Android: height, width seem to work here zIndex is ok to add.
Debugging it might help to use background color to see how items are stacked ;)
<View  ref='centerAvtar' style={{position: 'absolute', left: (Metrics.screenWidth / 2 - 48), top: (Metrics.screenHeight / 2 - 48), width:100, height:100}} >
          <Image resizeMode={Image.resizeMode.contain} style={[ApplicationStyles.roundedImage]}
                 source={(this.state.patient_avatarImage === null ? require('../Images/akili/avatar.png') : this.state.patient_avatarImage)} >
          </Image>
          <Text>{this.state.patient_given_name}</Text>
        </View>
        <TouchableOpacity onPress={this.onPushPatient.bind(this)} style={{position: 'absolute', left: (Metrics.screenWidth / 2 - 48), top: (Metrics.screenHeight / 2 - 48), width:100, height:100,  zIndex:2}} />

This is happening for me as well, iPhone 7.
What I'm seeing is a touchable inside a view works fine, with the position of the view as absolute.
But a touchable inside views nested too deeply seem to break it. I thought at first it was the width and height issue, but that doesn't resolve the issue. I added width and height specifically to each layer. Next I tried adding background colors/borders to each layer, to confirm everything has the expected values. Finally, I'm able to confirm this by removing the position:"absolute" in the top layer view and everything works as expected.
Without position:"absolute", The math for my transitions will have to be reworked.
Another solution I'll try is putting the touchables in another layer above the absolutely positions views, but this a hack and certainly won't be a good practice.
I also agree with @jesseditson's description, except for

tap target is not completely gone, but is just the bottom half or so of the touchable target.

In my case the tap target is not gone at all, just not registering a click event.
"react": "16.0.0-alpha.12"
"react-native": "^0.47.2"

There is a workaround which I would recommend as long as the TouchableOpacity is not inside a scrollView:
Since TouchableOpacity uses the TouchableMixin, you can add the Property rejectResponderTermination to it. After that it works fine inside an absolutely positioned parent.
Just change your code from this:
<TouchableOpacity onPress={() => {alert('onPress')}} >[...]</TouchableOpacity>
to this:
<TouchableOpacity onPress={() => {alert('onPress')}} rejectResponderTermination>[...]</TouchableOpacity>

I also have this kind of problem and @dj-abe 's solution is also not working for me.

<Image source={Images.female} resizeMode={'contain'} style={{flex:1}}/>

It's really weird. It works well in the simulator and only on devices, it doesn't work.
Has anyone found the solution?

@dj-abe That was it. Any explanation about this prop?

same issue here, :(

my problem is View with style(position:'absolute') inside of the TouchableHighlight. Use TouchableHighlight fixed it.
"react-native": "0.51.1",


Device not being registered permanently via registerDevice method

Describe the bug
Device not being registered via registerDevice method
To Reproduce
$ npm i<EMAIL_ADDRESS>
// test.js
const Kakao = require("node-kakao");
const credential = {
  email,
  password,
};
const passcode = "";

async function main() {
  const auth = await Kakao.AuthApiClient.create("TEST", "randombase646464");

  if (passcode) {
    const regDevRes = await auth.registerDevice({
      ...credential, forced: true,
    }, passcode);
    console.log(regDevRes);
  }

  const loginRes = await auth.login({
    ...credential, forced: true,
  });
  if (loginRes.success) {
    console.log("success!");

    // starts re-log in
    const reloginRes = await auth.login({
      ...credential, forced: true,
    });
    // it should be successful if the device is registered permanently
    console.log(reloginRes);
    return;
  }
  if (loginRes.status !== Kakao.KnownAuthStatusCode.DEVICE_NOT_REGISTERED) {
    console.log("some error: ", loginRes);
    return;
  }

  // permanent log in
  await auth.requestPasscode({
    ...credential, forced: true,
  }, true);
}

main();

Results:
$ node test.js
$ # Set the passcode variable
$ node test.js
{ status: 0, success: true }
success!
{ status: -100, success: false }

Expected behavior
{ status: 0, success: true }
success!
{ status: 0, success: true }

Both log-in results should be successful if the device is registered correctly. After the first log-in, the device seems to be registered to the account. However, when the client signed out in order to sign in again, the registration became nullified and it shows -100 (device not registered) error.
I tried several times with the head of the dev branch and also previous versions of node-kakao (v4) on npm, and all of them had failed.
How can I resolve this issue? Thanks in advance.

Fixed on 963a10b8e3ae1631247379f42bf05ffc195414c7


[ISSUE #5626] Optimize DefaultMessageStore#getEarliestMessageTime and DefaultMessag…

fix #5626

Codecov Report

Merging #5627 (9123c15) into develop (6f9c2f1) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             develop    #5627      +/-   ##
=============================================
- Coverage      42.41%   42.38%   -0.03%
+ Complexity      7963     7960       -3
=============================================
  Files           1023     1023
  Lines          71454    71454
  Branches        9442     9442
=============================================
- Hits           30305    30286      -19
- Misses         37309    37329      +20
+ Partials        3840     3839       -1

Impacted Files
Coverage Δ

...main/java/org/apache/rocketmq/store/CommitLog.java
65.39% <0.00%> (-0.21%)
:arrow_down:

...org/apache/rocketmq/store/DefaultMessageStore.java
52.76% <0.00%> (ø)

...va/org/apache/rocketmq/store/FlushDiskWatcher.java
81.25% <0.00%> (-9.38%)
:arrow_down:

...e/rocketmq/store/ha/autoswitch/EpochFileCache.java
77.08% <0.00%> (-4.17%)
:arrow_down:

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
70.27% <0.00%> (-2.44%)
:arrow_down:

...pl/consumer/ConsumeMessageConcurrentlyService.java
46.60% <0.00%> (-2.27%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
60.17% <0.00%> (-1.33%)
:arrow_down:

.../org/apache/rocketmq/store/index/IndexService.java
59.00% <0.00%> (-1.00%)
:arrow_down:

.../org/apache/rocketmq/store/ha/DefaultHAClient.java
61.53% <0.00%> (-0.52%)
:arrow_down:

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
70.56% <0.00%> (-0.47%)
:arrow_down:

... and 8 more

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


Indicating the use cases of Context.Consumer in the documentation.

The official documentation no longer recommends the use of Context.Consumer. However, it is very useful in the renderProps function because users cannot use useContext to access the context within renderProps.

If you find yourself needing to access context within a render prop function and useContext is not suitable, you might consider using the contextType property or the static contextType syntax. These approaches allow you to access context directly within the class component, without the need for Context.Consumer.

If you're using a render prop you can read the context with useContext in the parent or in the component defining the render prop and pass it through so Context.Consumer is not needed for render props.


UASF-0.14.2

Another try, cleaner this time.

Do you think this should be a separate branch of bitcoin (with a separate docker repository etc), or just a version of core?

See previous msg, i'll close this pull request


Update plugin

https://github.com/rrenato/ha-card-waze-travel-time does not exist, is that a typo?

Why did you remove r-renato/hass-xiaomi-mi-flora-and-flower-care ?

I closing this now since this datastore have moved to https://github.com/hacs/default
As stated in https://github.com/custom-components/hacs/releases/tag/0.15.9 and https://hacs.xyz/docs/publish/include
Feel free to open a new PR in that repo, but be sure that you add an explanation to why you are removing r-renato/hass-xiaomi-mi-flora-and-flower-care if that was intentional.


ChunkedStream - readChunk

Netty version 4.1.70
Been looking a little bit into the code of the ChunkedStream class and the readChunk based on that one test on the async-http-client project were failing on the version Netty 4.1.70.
The readChunk code - see comment in the code with the identified problem:
public ByteBuf readChunk(ByteBufAllocator allocator) throws Exception {
     if (this.isEndOfInput()) {
         return null;
     } else {
         int availableBytes = this.in.available();
         int chunkSize;
         if (availableBytes <= 0) {
             chunkSize = this.chunkSize;
         } else {
             chunkSize = Math.min(this.chunkSize, this.in.available());
         }
         boolean release = true;
         ByteBuf buffer = allocator.buffer(chunkSize);

         ByteBuf var6;
         try {
             this.offset += (long)buffer.writeBytes(this.in, chunkSize);
             //Looks like the code here does not properly handle if the writeBytes method return -1 indicating end of stream
             release = false;
             var6 = buffer;
         } finally {
             if (release) {
                 buffer.release();
             }

         }

         return var6;
     }
 }

Also noted that this case where end of stream is indicated by the return of -1 and where the available method still returned that data was present in the input stream, the writing of the body was not properly terminated.

Thats a bug... looking


⚠ Bofrost.at has degraded performance

In 3727ac1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2718 ms

Resolved: Bofrost.at performance has improved in 60902e5.


Add Parsers & Perf Graph for AcmeAir

Problem Description
Parsers need to be added for the following benchmarks so that they can be monitored using the existing tools (Perf Graphs) and tools under development (Tabular View), allowing the summarization and visualization of the perf results.
Benchmarks Parsers to Add
Acmeair: https://github.com/acmeair/acmeair
Octane: https://chromium.github.io/octane/
Steps for Adding a Parser
I'm adding some steps here that I provided in the internal GitHub so that others can refer to this documentation for adding more parsers in future.
Our parsers in Test Result Summary Service (https://github.com/AdoptOpenJDK/openjdk-test-tools/tree/master/TestResultSummaryService/parsers) expect all the results to be in the Jenkins output, so that we don't need to parse results from different files. Hence, we might need to output the results from some log file to the main Jenkins output. If TRSS is monitoring that Jenkins pipeline and it's marked as "Perf" in the build monitoring list (as we discussed in our meeting), then it would parse all the results once the builds are done.
All Jenkins builds should output the following info (Testci string, Benchmark Name, Benchmark Variant, Product) at the start of each benchmark build.
Sample Output:
echo "********** START OF NEW TESTCI BENCHMARK JOB **********"
echo "Benchmark Name: LibertyStartupDT Benchmark Variant: 17dev-4way-0-256-qs"
echo "Benchmark Product: jdk8u181-b13-openj9-0.9.0"

We use the following regexes in TRSS for parsing that info as shown below:
const benchmarkDelimiterRegex = /[\r\n]\*\*\*\*\*\*\*\*\*\* START OF NEW TESTCI BENCHMARK JOB \*\*\*\*\*\*\*\*\*\*[\r\n]/;
const benchmarkNameRegex = /[\r\n]Benchmark Name: (.*) Benchmark Variant: .*[\r\n]/;
const benchmarkVariantRegex = /[\r\n]Benchmark Name: .* Benchmark Variant: (.*)[\r\n]/;
const benchmarkProductRegex = /[\r\n]Benchmark Product: (.*)[\r\n]/;

For startup and footprint, we start an app multiple times (usually 8 times). Before each run, we print "Warm run <Iteration#>" (i.e. outerRegex), which works as an outer regex to get smaller section to parse. Then we use another regex (i.e. regex) to parse the metric value from each smaller section. So we can parse results for each iteration. You can see sample parsed data here (https://github.com/AdoptOpenJDK/openjdk-test-tools/issues/73#issuecomment-489126442).
For throughput, we just use one regex (i.e. "Throughput: ") for AcmeAir. AcmeAir can use the same parser for startup, which is already there in the code.
Snippet for Liberty Startup
https://github.com/AdoptOpenJDK/openjdk-test-tools/blob/524d16e3784c17f4af6cee75f9105eb929397792/TestResultSummaryService/parsers/BenchmarkMetric.js#L13-L28
Sample Liberty AcmeAir Startup Job:
Warm run 0 //Outer Regex
Footprint (kb)=148944 //Inner Regex
Startup time: 4530 //Inner Regex
...
Warm run 1 //Outer Regex
Footprint (kb)=148120 //Inner Regex
Startup time: 4134 //Inner Regex

...
# Other Iterations

Sample Liberty AcmeAir Throughput Job:
Throughput: 2424.19 //Regex

To Add a Perf Graph
For adding a perf graph widget, you can refer to one of the existing perf graphs such as ODM: https://github.com/AdoptOpenJDK/openjdk-test-tools/blob/master/test-result-summary-client/src/Dashboard/Widgets/Graph/ODM.jsx

FYI @Jiayao-Lin

@jiayaolinn You'll have to wait for https://github.com/AdoptOpenJDK/openjdk-test-tools/issues/106 to be fixed before you can add a graph for AcmeAir since Perf Graphs are currently busted because of https://github.com/AdoptOpenJDK/openjdk-test-tools/issues/73. @sophiaxu0424 will be working on #106 after she finishes her current PR.

Closing this since all related work to this issue has been completed.


SAMZA-2704: Wire in diagnostics reporter for Kubernetes job coordinator

Issues: StaticResourceJobCoordinator does not emit diagnostics information.
Changes: Construct and start DiagnosticsManager in StaticResourceJobCoordinator.
Tests: ./gradlew build
API changes: N/A
There will be a follow-up PR which adds in the execEnvContainerId, so there will be more complete end-to-end testing for that PR.

LGTM.


TreeView Navigation Link - Keyboard Accessibility

Description
Hi there,
I'm on the Docs team here at GitHub, and we're currently using the TreeView Component for navigation links with Next.js in a similar way to this example.
We are using our own NextJS Link Component with TreeView. This has been working great for our use case except for the fact that it's not keyboard accessible. On keyboard press Enter, it does not route to the href as expected as when you click.
The TreeView component has been a great for our sidebar in terms of usability and design and we'd love if it could be keyboard accessible with navigation links.
Steps to reproduce
Given the Next.js example, swap out Link with an a tag:
function TreeLinkItem({id, href, children}) {
  const router = useRouter()
  const isCurrent = typeof href === 'string' ? router.asPath === href : router.pathname === href.pathname
  return (
    <a href={href}>
      <TreeView.Item id={id} aria-current={isCurrent ? 'page' : false} current={isCurrent}>
        {children}
      </TreeView.Item>
    </a>
  )
}

Use tab to focus on the TreeView item and press Enter on your keyboard.
Press Enter and you will not be routed.
Version
v35.2.0
Browser
Chrome

Hey @gracepark. I'm afraid TreeView is not an appropriate component to use for this kind of UI.
While it may visually look like what you need for the design on the surface level, it has really specific interaction patterns and expectations for assistive technology on the code level. We have some guidance on this for the component documentation, but unfortunately it is still in the process of being merged.
Modifying the TreeView to accommodate the behavior you're requesting would endanger its primary use case, which is listing and taking action on a hierarchical list of files (think the sidebar in your code editor, or Windows' file explorer). This would consequently lead to accessibility issues.
The pattern you've linked to looks like a NavList. I would recommend exploring using that component instead, if possible.
Tagging @owenniblock, @joshblack, and @colebemis for visibility.

@ericwbailey - Unfortunately, NavList is not a possibility for us because NavList only supports one level of nesting. We need sometimes up to 3-4 levels of nesting. Would it be possible to add additional nesting capabilities to NavList?

Hey @gracepark, thanks for your patience here. Would you be able to attend the Primer Patterns + API Working Session next week on Tuesday, May 2nd at 2pm ET?
This meeting is where we could discuss your use case in more detail and figure how how to extend the NavList component to accommodate it. If not, could I trouble you for a list of criteria I could bring up for you as talking points?

Hey @ericwbailey, the change we would need to NavList would be that we need to support up to 4 levels of navigation. Most of the site only goes to 3 levels, but in a few cases it goes to 4 levels. The other item would be an accessibility review of the NavList component.

Hi @ericwbailey - Sorry I was OOO last week. What @heiskr mentioned is correct. Please let me know if you still need additional info and I'd be happy to join the meeting.

@heiskr Acknowledged on the nested levels need. That'll be helpful for a point to chat through in the Primer meeting.
As for an accessibility review, that is a separate workstream that I believe is currently underway. The advice we've been giving as Primer is to use the appropriate component regardless of its accessibility status in that known component is easier to quantify and remediate than bespoke solutions.
@gracepark I've just invited you to tomorrow's Primer API session. It'll be from 2-2:45 ET, and I made sure this issue is captured in its meeting notes.

@gracepark @ericwbailey - we're going to update NavList to allow up to 4 levels of nesting. Expect a PR soon! Can this issue be closed?

That's amazing thank you so much @mperrotti! Do you know if NavList would be reviewed for accessibility then as well? I think once it's accessibility 👍 we'll be able to utilize the component.

It will!

That's awesome thank you so much @mperrotti and @ericwbailey. Issue can be closed!

@mperrotti - would you happen to have a link to the PR? We're going to look into timing for this on our end. Thank you!

@gracepark - sorry for the delay, I was out for a week and then at a conference. The PR is ready! https://github.com/primer/react/pull/3343
cc @lecoursen

Thank you so much @mperrotti!


cluster creation success related improvements

ambari client service renamed, interface simplified to use primitives
ambari cluster build implementation restructured
email sending moved from the service to the facade
other minor fixes

@biharitomi @doktoric please sputter it ;)

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/977/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/978/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/979/

Please squash the changes into one commit, even so, it looks good to me

please remove the commented tests

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/983/


stringLiteral doesn't work properly

/home/joald/zpf/hsh >>= let y = "s\$rc"
input command:1:11:
  |
1 | let y = "s\$rc"
  |           ^
unexpected '\'
expecting '"' or literal character

This error seems to stem from using L.charLiteral in stringLiteral.

Closed by #11


Adding UPS OpenShift template

@matzew As requested I have added my openshift template for great pr review

@secondsun I detected wrong format along the json file so instead of pointing out every small detail I sent you a PR to your PR: https://github.com/secondsun/aerogear-unifiedpush-server/pull/1

@secondsun Hi Summers, when I try to run the template I get this error:
Unexpected error running Liquibase: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

Could this be due the Image Streams?

In this aproach we using 2 containers for mysql - I'm not saying that this is wrong aproach but for community testing it would be better to pick less resource intensive aproach (single mysql).

Quick update,
I've updated the description, merged a reformat commit, removed image streams, and renamed the keycloak mysql instance to be more explicitly keycloak_mysql.
@wtrocki I haven't externalized things to parameters yet, but that should be soon (TM)

@wtrocki I have updated the last parameters.  Let me know if it looks good.
@matzew Can you take a look and give your blessing or not.

@secondsun I cannot verify this template at the moment. Template looks ok to me.

:+1:   nice work, @secondsun @wtrocki and @dimitraz

@secondsun @matzew Let me know if you want me to write up a quick readme or if you have that handled already 👍🏿

@dimitraz Rock the readme, I forgot about it

@secondsun cool on it now


Add option to operate with NavEntry in the 'navigate' 'replace' edit-backstack

EG:
val t = SomeScreen.toNavEntry(freeArgs=1)
navController.navigate(t)

Pros - easy to navigate to NavEntry
Cons - some one can try smth like nc.navigate(nc.currentNavEntry) ...
Need to add some fool-protection...
Simple solution - add flag attached to NavEntry... make attached after being displayed in any nc, throw errot if some one tryes to navigate with attached entry

soulution #2 create a separeta class eg: PendingNavEntry and allow to use it in navigation
Sounds more protective (even tho you can try to create new PendingNavEntry from existing entry - you will not be able to broke anything, it will be just new instance of entry)

solution 3 - whenewer some one tryes to navigate/ add to backstack with NavEntry - create a copy (dest + args) and use it
<- wining for now

Done in #86


Static content documenting public API schemas

I'd like to get the README out, so that the repo is not as bare as it is now.
However, more needs to be added:

README.md needs section on how to use generated code
go.mod needs to be completed
adding setup.py and __init__.py to Python code allowing pip installation directly from GitHub

In last par of life-cycle topic, change "aby" to "any"


⭐ Update value of vibrations

Is your feature request related to a problem? Please describe.
Vibrations are too light, find a good value instead for Light Vibration on touch.

Looks good now, has been updated in a previous commit.


Improvement for k8s.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/

can we have the available resource list on this page?

Hi @kind03, the available resource list is quite long you can use command
kubectl api-resources | more
for list of resources.

/language en

Hi @kind03, has your issue has been resolved?
/triage needs-information

/remove-lifecycle rotten

/close
The mentioned page is auto-generated out of upstream source code. Won't fix it here.


Update for pip 10.0.0

allow for importing parse_requirements from pre/post 10.0.0 and bump version

@sajanalexander We verified your PR manually. Thanks for your contribution!


Remove sudo requirement from .travis.yml file

Using miniconda + sudo should not be required.
Instead you can make sure to install the new version of pip and then enable pip caching in travis. This should lead to creation and caching of wheels which will speed up builds.

Can you explain which sudo you're talking about?
Good point about pip caching.

by sudo I mean the old travis-ci infrastructure (and the fact that you use sudo in the .travis.yml file).
See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/

Fixed a while ago


Agent stops working after lengthy period of laptop closed

Reports:
I'm having an issue, but it could be an edge case. I started my agent at home and it made some transactions, but then closed my laptop and brought it to the cafe. I am now connected to the wifi in the cafe but the agent did not restart transacting. Here are the logs:

pearl_logs (11).zip
log (1).txt
Agent was running, closed laptop, moved to new location/different wifi – agent still running but agent doesn't transact.

https://valory-workspace.slack.com/files/U044UPWNZ5L/F07B7M31EP7/logs.txt
log (2).txt
I notice that after leaving the app and agent running over night, the aea_bin process has died. Have left the agent running for over an hour and there are no aea_bin processes

https://valory-workspace.slack.com/files/U044UPWNZ5L/F07BDRTTWRJ/image.png
log (3).txt
https://valory-workspace.slack.com/files/U044UPWNZ5L/F07B4Q3CJ86/logs.txt
In summary, whatever mode the Mac goes into when closed appears to eventually kill some critical processes – namely aea_bin – and the result is that the agent appears to be working, but really has died. The automated restart does not solve this issue.

Related to #214

Fixed in rc93


server keeps stopping as soon as I start it [ERROR] Exit Code: -1073741795

some error im not sure why im getting or how to work around.

for any other visitor: that is the error for Missing libraries. Best try to install it via Steam, it will install all needed redistributable.
or google which are needed for ard survival ascendend


Weird behaviour with get_compact

Joken 1.1
I have the following funciton
def encode(my_claims) do
    my_token = my_claims |> token |> with_signer(hs512("test")) |> sign
  end

It works as expected. If I add get_compact at the end of the pipeline. I get a Joken.Token struct with the error entry populated: error: "No compact token set for verification". However, If I type the commands in succession in iex, it works as expected.
To get the actual token, I had to add the following line
def encode(my_claims) do
    my_token = my_claims |> token |> with_signer(hs512("test")) |> sign
    Map.get my_token, :token
  end

So, I presume something is going on with that function, or maybe its usage in the README is deprecated.

Very strange behaviour indeed. We actually have a test that does exactly that here.
Just as a simple test, could you pass the signer to the sign function? That would be:
#...
|> sign(hs512("test"))
|> get_compat()

We've release 2.0.0-rc0 that has a complete different API. Since there was no activity on this issue, I'll close it here. If the issue persists, please re-open it. Thanks!


Update yarn.lock to match latest deps

Coverage remained the same at 50.96% when pulling d16349784d4c4cd7da6b135e3b19ff8a2f4160dc on asauber:update-yarn-lock-001 into 430676a2bb941670db2754f5566e73205e4a2a6f on linode:develop.


Is there a download link for the dataset used in Table 3

how can i have the second dataset, can you give me some guidance?

Is this data-2016.tar.gz the dataset uesd in table 3?

I feel like they are "train_data" and "test_data," but I'm curious about how these two files were generated.
Based on your description, the data collected before January 2016 serves as the training set, and the experimental annotations collected between January and October are used as the test set. I have already downloaded the UniProt Swiss-Prot data files for January 2016 and October 2016 from the FTP. Is there any code available for extracting the test set from this data? I am eager to learn how this part is done. Thank you!

Hi,
We use the uniprot_sprot.dat.gz files from UniProt and parse the using uni2pandas.py script. It generates a pandas DataFrame which is saved in swissprot.pkl file. This file is passed to deepgoplus_data.py script which splits it into train/valid/test

I did indeed do it this way. I first downloaded the uniprot_sprot.dat files for January 2016 and then for October 2016. Subsequently, I used the uni2pandas.py script to generate swissprot.pkl. However, the deepgoplus_data.py script only divides this swissprot.pkl into training and testing sets according to the specified proportions, following the procedure outlined in the paper (with data up to January 2016 used as the training set and experimental annotations added from January to October as the testing set).

My screenshot is a portion of deepgoplus_data.py. It seems that the purpose of this script is solely to split swissprot.pkl into training and validation sets based on a specified ratio.
I did indeed do it this way. I first downloaded the uniprot_sprot.dat files for January 2016 and then for October 2016. Subsequently, I used the uni2pandas.py script to generate swissprot.pkl. However, the deepgoplus_data.py script only divides this swissprot.pkl into training and testing sets based on a specified ratio, rather than following the procedure outlined in the paper where data up to January 2016 is used as the training set and experimental annotations added from January to October are used as the testing set. I'd like to know how this part of the code is implemented. I have already downloaded the uniprot_sprot.dat files for January 2016 and October 2016.

Hi,
Yes, you are right. For some reason, we I changed this implementation to random split. I found the old code which does the time split here https://github.com/bio-ontology-research-group/deepgoplus/blob/7fb4af440db6df67d3e3e90cb663156110bfaf09/deepgoplus_data.py

Thank you very much. Is the link you just provided part of your previous old project's scripts? Can this old project be found in your repository?

Yes, it is a link to an old commit

I attempted to view 'swissprot_exp201601.pkl' and 'swissprot_exp201610.pkl' in the 'data-2016' directory. The former contains 65,028 records, which aligns with the results mentioned in the paper. However, I'm wondering why 'swissprot_exp201610' only displays 55,871 records. Shouldn't the data for October have a larger volume? I also tried downloading data from the UniProt website for January 2016 and October 2016 and processed them using the 'uniprot2pandas.py' script, resulting in 65,028 proteins for January 2016. However, the data for October 2016 does not have 55,871 records. I'm currently trying to generate a test set of 1,788 proteins following the methods in your paper, but I'm unsure where the issue lies, and I'm unable to complete it

Hi, I think it doesn't have to be more records. Sometimes UniProtKB removes some of the records and adds new ones.
Try to regenerate the pkl files with originals from UniProtKB

I downloaded the data from the same source, and using that file, I generated a dataset for October 2016 with 67,271 entries. However, your 'swissprot_exp201610.pkl' file contains only 55,871 entries. I've been struggling with this issue for several days now and have been unable to generate the 1,788 test set as mentioned in the paper. I can't seem to identify the root cause of the problem. I would sincerely appreciate your assistance

How many proteins you get in each sub-ontology test sets?

I didn't look at the number of each sub-ontology. My current problem is that the data protein entries I generated from the October 2016 data are different from the data entries you gave me. I couldn't extract the 1788 test sets
---- Replied Message ----
| From | Maxat @.> |
| Date | 10/27/2023 22:00 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [bio-ontology-research-group/deepgoplus] Is there a download link for the dataset used in Table 3 (Issue #58) |
How many proteins you get in each sub-ontology test sets?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

You will not get 1788 proteins in a single set, that is the number of unique proteins in all sub-datasets. What you get is 3 test sets for each sub-ontology. Please check the numbers and compare the test sets for each sub ontology.

Possibly, you may not have understood my point. Currently, my concern is the generation of the test set in your second dataset, specifically, the creation of those 1788 data points mentioned in the paper.
According to the logic in your script, the general process is as follows:
Initially download the original source files for uniprot_2016_01 and uniprot_2016_10.
Use the script uniprot2pandas.py to convert these two datasets into DataFrame (df) type and save them as pkl data files.
During the conversion, I observed that the data count for 2016_01 is indeed 65,028 entries. This data can be directly used as the training set. However, for the 2016_10 data, the pkl file I generated contains 67,271 entries, while your "swissprot_exp201610.pkl" file only includes 55,871 entries.
In the deepgoplus_data.py file that you recently sent me, there is code for dividing the test set based on time. The logic of this code roughly involves removing the protein IDs contained in the data from January 2016 from the data in October 2016, leaving the rest as the test set. Due to the inconsistencies between the protein entries in the 2016_10 pkl file I generated and the one you provided, "swissprot_exp201610.pkl," it results in an inconsistency in the number of entries in the generated test set.
This is where my confusion lies. I'm not sure if the issue is related to the uniprot source files I downloaded or the data processing. I used your project's scripts for data processing. I'll screenshot the URLs of my source file downloads and include them below.

Is this data-2016.tar.gz the dataset uesd in table 3?

Have you solved this issue, and may I ask you some questions

You will not get 1788 proteins in a single set, that is the number of unique proteins in all sub-datasets. What you get is 3 test sets for each sub-ontology. Please check the numbers and compare the test sets for each sub ontology.

hi

disini saya memiliki data Train dan Test (Target) dari CAFA5. Bagaimana caranya saya bisa menerapkan data yang saya miliki kedalam file kode uni2pandas.py? bisa bantu saya?


Do we need to set OCM_OCM_STORAGE_DATA_SERVER_URL in the deployment example

There have been two PR's:
#10440 (fix(ocm): add data_server_url to ocm storage provider)
#10538 (fix local ocm instance)
The first one introduced OCM_OCM_STORAGE_DATA_SERVER_URL,
the second one uses it in tests.
Q: do we need to set this envvar in the ocis.yaml file in the ocis_full deployment example?
@micbar @rhafer @ScharfViktor

We should have ocm in the example yes. But we should only have One ocis. Not two. The debugging setup with two ocis instances on the same host is not for production and therefore not part of ocis-full.

If we add the envvar, we should create an independent PR and reference it accordingly to the introduction PR of the envvar. Creating the PR is not the problem, I need help for the content (value of the envvar)

The env var is not new.
The edge case from @ScharfViktor was only needed for two ocm services on the same host.
Not needed for ocis-full.


Display times when texts were received

When a text comes in on the web app I do not see when that text message comes in. Please display when that time cam in. Example of android phone app with what I am looking for.

@embbnux looks on the staging you have added the time variable also. I have looked at this and the time is showing when necessary.

Yes, It's added


Use lsblk to get disk UUID

For now, list the /dev/by-uuid/ directory does not work on every systems.
Replace it by using the lsblk command in lb_df_uuid().

lsblk command does not exists on cygwin!

Done in commit fbca1071139f834b6a6eb94de14b23ff1a623bf6


How do you manually set the select2 value?

I have been trying to do this simple thing with this component and it does not work.
In the onSelect method, I want to return the value to the previous selected value.
So I am trying to manually set the select2 value.
$('.select-input').val('theValue')
but setting it with .val function does not work
Also using the .select2 method does not work because it does not exist.
How can I manually set the select2 value with this component?

Basically, in the onSelect function, I want to show a confirm modal, and if they do not confirm, I want to return the select value to what it was previously.
I have been trying to do this for looong time and tried many different names using .val
Please can you help me. Do you have an example of how to manually set the select value of this component. I use this component everywhere in my app

@rkit Thank you soo much!
this.refs.tags.el.val('discussion').trigger('change'))
Works!
I would have never figured it out otherwise. Can you add exactly that post in the documentation under, "How to programmatically update select2"
Thanks so much for the quick reply, now I can continue!

Ok, tomorrow I will add.
Can I close issue?


NoiseAdaptiveLayout to consider inconsistencies in backend

Fixes #7677
The pass NoiseAdaptiveLayout now takes a CouplingMap as an optional argument. This is used by the plugin to control on configuration/properties inconsistency, like in the case of :class:.FakeMelbourne.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.008%) to 87.284%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
3
91.41%

qiskit/pulse/library/waveform.py
3
93.75%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
74192

Relevant Lines:
85001

💛  - Coveralls