Ensure all config get's throw on no ets table

This fixes https://github.com/apache/couchdb/issues/4890 by ensuring that the type coercion get wrappers in config:get_* perform the call to config:get/3 outside of the try-catch block intended to catch type coercion exceptions.

For the failing tests we'd probably want to either mock config get or make sure config app is started.

Hmmm... the failures in that build seem to be isolated to just chttpd_db for the most part, and the build only took 13 minutes, I suspect there will be many more failures. In the case here, I see we're already meck'ing config:get/3 https://github.com/apache/couchdb/blob/main/src/chttpd/src/chttpd_db.erl#L2612 which should work, unless meck only intercedes public invocations of the module, rather than an internal invocation from get_integer. You can see we're hitting {config_meck_original, get, 3} in the stacktrace despite that test being covered by the setup clause linked above mecking config:get/3:
18:15:58  chttpd_db:2687 -t_should_throw_on_invalid_n/0-fun-1-
18:15:58  ----------------------------------------------------
18:15:58
18:15:58  ::in function chttpd_db:'-t_should_throw_on_invalid_n/0-fun-1-'/0 (src/chttpd_db.erl, line 2690)
18:15:58  in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
18:15:58  in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531)
18:15:58  in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356)
18:15:58  in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514)
18:15:58  in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456)
18:15:58  in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346)
18:15:58  in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570)
18:15:58  **error:{assertException,
18:15:58      [{module,chttpd_db},
18:15:58       {line,2690},
18:15:58       {expression,"parse_shards_opt ( Req )"},
18:15:58       {pattern,"{ throw , { bad_request , Err } , [...] }"},
18:15:58       {unexpected_exception,
18:15:58           {error,badarg,
18:15:58               [{ets,lookup,
18:15:58                    [config,{"cluster","n"}],
18:15:58                    [{error_info,#{cause => id,module => erl_stdlib_errors}}]},
18:15:58                {config_meck_original,get,3,
18:15:58                    [{file,"src/config.erl"},{line,163}]},
18:15:58                {config_meck_original,get_integer,3,
18:15:58                    [{file,"src/config.erl"},{line,71}]},
18:15:58                {chttpd_db,parse_shards_opt,1,
18:15:58                    [{file,"src/chttpd_db.erl"},{line,1951}]},
18:15:58                {chttpd_db,'-t_should_throw_on_invalid_n/0-fun-1-',0,
18:15:58                    [{file,"src/chttpd_db.erl"},{line,2690}]},
18:15:58                {eunit_test,run_testfun,1,[{file,"eunit_test.erl"},{line,71}]},
18:15:58                {eunit_proc,run_test,1,[{file,"eunit_proc.erl"},{line,531}]},
18:15:58                {config,get_integer,["cluster","n",3],[]}]}}]}


Exception calling "Save" with "1" argument(s): "Error saving file "

I have a script that pulls information from another service and then writes that to a password protected Excel file. This has been working for a few months, running on the 1st of each month without any issues.
However, this month, it ran but the document failed to email out. Something to do with our SMTP server. Having sorted that I ran the script again but get a 0KB file attached.
Debugging my script I can see the data is pulled from the other service fine, but I get the above error when I try to use a password for the Excel file. Without the password, it saves correctly.
I was using v7.1.1 of the module but the same occurs with 7.1.2.
I have tried this on 2 machines and get the same. It seems only specific to my script but I don't understand what would cause this since it has been working....

Hello @neildeadman,
I see that your script has been running successfully for some time, but has the password changed at all?
It sounds like the password may contain a character that needs to be 'escaped'.
How does your 'Close-ExcelPackage' command look like?
Close-ExcelPackage $excel -SaveAs $pathSaveAs -Password 'my-password'

Password has not changed, but I have tried other passwords too to no avail.
Maybe I'm doing something not correct, but I only use Export-Excel. I've not used any other function from the module yet it was working.
At this stage, it didn't get beyond the export command before script dies.
Could the data be the cause? Might try with fewer rows.

Are you passing the password string directly to Export-Excel via the command argument?
Export-Excel ... -Password 'mypass'
Have you tried storing it in a variable and passing it via variable?
$mypass = 'super_secure_password'

Export-Excel ... -Password $mypass

It certainly wouldn't hurt to try your data import with fewer rows.

My script uses a variable, but I have also tried passing it directly. Same result.
I have tried in my script to pass a single row of data and it still fails with the same error. I've even passed it a simple @("one", "two) and I get the same.
I'll try some other things I have in mind and see what I can shed on this issue...

Hello. a have the same problem. But in my case, the problem occurred when I tried to create a new style.
e.g.
$e = Open-ExcelPackage -path C:\temp\test.xlsx
$ws = $e.Workbook.WorkSheets.Item("TDSheet)
Set-ExcelRange -Range "A1:G1" -Merge -Bold -FontName 'Arial' -Worksheet $ws -VerticalAlignment Center -HorizontalAlignment Center -Value "New Report"
$e.SaveAs("C:\temp\Openxml\newlist.xlsx")

Success
But if i try to create a new Named Style:
$hyperLinkStyle = $ws.Workbook.Styles.CreateNamedStyle("href")
$e.SaveAs("C:\temp\Openxml\newlist.xlsx")
Исключение при вызове "SaveAs" с "1" аргументами: "Error saving file C:\temp\Openxml\newlist.xlsx"
строка:1 знак:1
+ $e.SaveAs("C:\temp\Openxml\newlist.xlsx")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

Can you check your code on the same problems, or save file after  each step?

I have a similar issue, error:
MethodInvocationException: C:\Users\user\Documents\PowerShell\Modules\ImportExcel\7.1.2\Public\Export-Excel.ps1:672
Line |
 672 |              else           {   $pkg.Save() }
     |                                 ~~~~~~~~~~~
     | Exception calling "Save" with "0" argument(s): "Error saving file C:\Temp\Workbook4.xlsx"

PS C:\Users\user>

The code where this is failing is calling either Copy-ExcelWorkSheet or Export-Excel. This error has been happening since 7.1.2 was installed.

I cannot reproduce that error
Don't post your full script, you'll need to try and create the smallest possible script that demos that error and post it
I'm running.

This goes through several code paths in the module.
Get-Service | select -First 5 Name, Status, StartType | Export-Excel

I have seen the "Exception calling "Save" with "1" argument(s): "Error saving file" error on a few occasions, in my case I believe it was caused by another process having a handle or file lock on the file whilst it is being saved, such as One Drive if you are replicating or syncing the folder that you are saving the excel file to. If I pause replication or save to another location, it stopped all occurrences of error.
I thought it worth sharing this information, in case others might have another process or syncing like service trying to read the target excel file during the save operation.

I cannot reproduce that error

Thanks Doug for checking this out. Here’s some more info to help troubleshoot:
PS C:\Windows\System32> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PS C:\Windows\System32> Get-Module -ListAvailable ImportExcel

    Directory: C:\Users\ansandfo\Documents\PowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     7.1.2                 ImportExcel                         Desk      {Add-ConditionalFormatting, Add-ExcelCh…

PS C:\Windows\System32>

In VS Code I set $ErrorActionPreference to ‘break’ and stepped through my code.
$ExcelFile = 'C:\Temp\Workbook5.xlsx'
foreach($blah in $multipleBlah)
{
        Copy-ExcelWorkSheet -SourceWorkbook $template -SourceWorkSheet template -DestinationWorkbook $ExcelFile -DestinationWorksheet $blah.Device
}

Going to where the code breaks, I tried a couple of manual steps:
`
[DBG]: PS C:\Windows\System32> $ExcelPackage
Blah1   : Blah1
Sheet1           : Sheet1
Blah2   : Blah2
Package          : OfficeOpenXml.Packaging.ZipPackage
Encryption       : OfficeOpenXml.ExcelEncryption
Workbook         : OfficeOpenXml.ExcelWorkbook
DoAdjustDrawings : True
File             : C:\Users\ansandfo\Downloads\Blah.xlsx
Stream           : System.IO.MemoryStream
Compression      : Level6
Compatibility    : OfficeOpenXml.Compatibility.CompatibilitySettings
[DBG]: PS C:\Windows\System32> $ExcelPackage.Save()
MethodInvocationException: Exception calling "Save" with "0" argument(s): "Error saving file C:\Users\ansandfo\Downloads\Blah.xlsx"
`
I hope this helps.

I have found that in PowerShell 5.1 Export-Excel with/without a password works:

However, in PSCore 7.1 it fails when saving with a password and gives the above error I reported initially:

Would be good to sort this, as it was working before, but I have my script running again ready for tomorrow's monthly scheduled run in PS5.1.

I have found that in PowerShell 5.1 Export-Excel with/without a password works:

Thanks @neildeadman unfortunately PS 5.1 doesn't work for me either:
``
Exception calling "Save" with "0" argument(s): "Error saving file C:\Users\ansandfo\Downloads\Temp6.xlsx"
At C:\Program Files\WindowsPowerShell\Modules\ImportExcel\7.1.2\Public\Close-ExcelPackage.ps1:27 char:29

        else           {$ExcelPackage.Save()          }

                        ~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : InvalidOperationException
``

foreach ($device in $devices)
    {
        Copy-ExcelWorkSheet -SourceWorkbook $template -SourceWorkSheet device -DestinationWorkbook $ExcelFile -DestinationWorksheet $device.deviceName
    }
    Copy-ExcelWorkSheet -SourceWorkbook $template -SourceWorkSheet Overview -DestinationWorkbook $ExcelFile

The issue does not transpire during the 'foreach' loop but when I call 'Copy-ExcelWorkSheet' again for a different sheet in the template. Hopefully that might help with the troubleshooting? Thanks Andrew

This is still an issue even with ImportExcel 7.2.2.


Include libglvnd

This comment https://github.com/NVIDIA/nvidia-installer/issues/9#issuecomment-410066710
suggests adding libglvnd to Tooloop OS.
Let’s research and consider it :-)

haven’t used openframeworks in years.
Don't know if this is still an issue


[#138702349] TO DISCUSS: Fix flapping route53 alias with hardcoded zone id

What?
It seems to be an issue in terraform [1] which makes the route53 alias
to flap changes. The solution for the time being is:

Add a . in the domain reported by ELB
Hardcode the zone id of the ELBs. (Z32O12XQLNTSW2 for eu-west-1)

We get the zone IDs from http://docs.aws.amazon.com/general/latest/gr/rande.html
How to test?
This problem does not happen in dev :(
You can test it in CI, though. Or simply do a code review.
Who?
Anyone but @keymon

Hector and I talked about this after standup. We were both uncomfortable with hardcoding the zone IDs, in case they change in the future. We've provided some more information to the upstream issue hashicorp/terraform#10007 and created a follow-up story #140398377 to see if it's fixed or consider recreating the ELBs.


Forget the main.cpp

I'm sorry. But here is less the main.cpp to run this code.

@Gatsby23  please check it in the code folder.

May be just make the CMakeLists into the code is better


char8_t and std::u8string support

Hello,
when porting our codebase to std=c++2a the compability with nlohmann::json will break since we use u8"" string literals for assigning strings to json objects.
I tried changing ObjectType's StringType to std::u8string, but that is not working because there are some types hardcoded to char in the json.hpp, for example serializer's output_adapter_t<char> (line 14587) and others.
So my questions are:
Is there any native support for char8_t planned in the future?
Are there any known workarounds to add char8_t support by hand right now?
Greetings

Hello,
I was reading Changelog.md which literally includes title of this issue and I believe it should not be closed.
I think this issue should be renamed to Lack of char8_t and std::u8string support.
The problem will still be there and will continue to arise as the release date of C++20 was some time ago and the use of its functionalities stabilizes.


Players aren't getting paid

*Detailed description of the issue:
So for some reason with the new jobs update players aren't getting paid even tho permissions are set: jobs.use, join, world etc. Also everything is working because Explorer for example is giving money, but jobs that require to place or brake something doesn't work.

**Jobs version:** <IP_ADDRESS>

**Server Type (Spigot/Paper/etc):**  git-Paper-17 (MC: 1.20)

**Server Version (using `/ver`):** 1.20

Need to note that the 1.20 build 17 ain't 1.20.6 but 1.20.0, and build 17 doesn't even exist for 1.20.6 for whatever reason, so you're on a very old one now, whereas 1.20.6 build 148 is the newest before 1.21.0 for which build 62 is the newest.

Need to note that the 1.20 build 17 ain't 1.20.6 but 1.20.0, and build 17 doesn't even exist for 1.20.6 for whatever reason, so you're on a very old one now, whereas 1.20.6 build 148 is the newest before 1.21.0 for which build 62 is the newest.

So what should I do to fix it? Update paper?

Ya. If it doesn't change anything, at least it's 1 thing ruled out.

I have 1.20.1 newest paper and still not working what the hell

Upgrade to 1.20.6, there's no point in 1.20.1.

@Dshooot
Update server to the latest version suitable for you. Don't forget to update CMILib as it had few changes which are required for latest Jobs plugin version to work properly. If nothing helps you will need to check console for any errors relating to jobs plugin. Additional thing, make sure that you are not in creative mode while having enable-pay-creative set to false which would prevent any payments being done.


cmd/compile: internal compiler error: can't encode a NaN in AuxInt field

$ gotip version
go version devel +782fcb44b9 Fri Apr 10 09:38:07 2020 +0000 linux/amd64

The following program:
package p

func f() {
	var st struct {
		f    float64
		_, _ string
	}

	f := 1e308
	st.f = 2*f - 2*f
}

crashes the tip compiler with this error:
$ gotip build crash.go

# command-line-arguments
./crash.go:11:1: internal compiler error: 'f': panic during opt while compiling f:

can't encode a NaN in AuxInt field

It compiles fine with Go 1.14.2.

cc @randall77


Use an internally-named logger to avoid name collisions

When the Flapjack module is imported into other projects that also import a module with a Logger object, the compiler doesn't know which one is which.
But, making the Flapjack Logger internal-only doesn't work, because it is contained in the Flapjack target, but is used by other packages like FlapjackCoreData.
So, we could either create a new local package which moves the Logger into its own package that is only used by other Flapjack packages, or rename it to fix the naming conflicts.
I've done the renaming here, but am open to the separate package solution if that would be preferable.

I do kind of feel like the Logger capability is an internal-only class to Flapjack, and that it shouldn't be exposed as a public interface of the packages, but I didn't come up with that idea until after I had already done the renaming thing.


Node public config validation and inputs

Description
Devnet, 0eda4cc.
A clear description of the bug:

The value when typed in the input is saved even when the dialog is closed and reopened.
When a new value is typed then closed and reopened I can't save it despite it is a valid new value.

screen-capture (7).webm

The validation done on the dashboard is still different than the validation done on the chain.

works fine on devnet
Screencast from 04-03-24 16:00:40.webm

My bad, I didn't add the steps to reproduce, but it happens when you change the IP, then close and reopen the dialogue again.
screen-capture (14).webm
Steps to reproduce:

Navigate to the dashboard.
Connect your wallet (your account must have a node).
Add your public configuration, for example (IP: <IP_ADDRESS>/16, Gateway: <IP_ADDRESS>).
Click on save.
After saving it, open the Add a public config dialogue again.
Change Gateway to <IP_ADDRESS> (the save button will be enabled, but don't press it).
Close the dialogue and reopen it again; you won't be able to save the changes even though the node gateway is <IP_ADDRESS> and the input is <IP_ADDRESS>.

Work Completed:
Reset ipv4, ipv6, gw4, gw6, domain values on dialog close

Verified, Devnet 5c12959.
The public config inputs are reset whenever the dialog is closed.
screen-capture (21).webm
TC2218 - Public Config Input Validation.

Verified:

Devnet
f3e199e


feat(shippers): Add PostNL

Breaking change
This release adds a small, possibly breaking, change - It adds that parcels can be in the state _exception, for when the parcel has either failed to deliver, has an issue and _processing is for when the process of being out for delivery has not yet begun
Proposed change
To add PostNL as a carrier
To add the stages processing and exception
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests
[ ] Documentation update
[X] Adds a new shipper
[ ] Update existing shipper

Looks like it's failing due to lacking test coverage, can someone advise me what needs added to get the test coverage bumped up? I see a number of carriers missing in tests/const.py

Is there any new development for this request? PostNL would be great!


Looking good

Gotta say this is really starting to be pretty cool. when i pulled that app down today I got  caught up looking at all the parks and amenities near me.

:fireworks:
FYI, I usually also deploy the changes to http://open-austin.github.io/austingreenmap/ when I submit a PR. That way you can see what the PR does without running it locally.
To deploy:
gulp clean
gulp build
gulp deploy-gh-pages


docs: update link to useSafeAreaInsetsStyle docs

Describe your PR
Only updating the broken link for useSafeAreaInsetsStyle into "see" property

:tada: This PR is included in version 9.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add OpenShift pre-installation, installation, and cleanup documentation

Issue #, if available:
#1039
Description of changes:
This adds pre-installation, installation, and cleanup documentation for OpenShift clusters.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

One idea/question I had is should I add a small page under Tutorials that has links to all the new OpenShift sections I added, for quick reference for OpenShift users? Maybe if someone can take a look at what we're adding and see if you think having that kind of mini table of contents would be helpful or not.

I wrote up a new draft that's different enough from this one that I'm closing this and moving over to the new one in #1061


[Android] Update Google Play tasks documentation

This PR updates documentation for Google Play tasks.

GooglePlayRelease, GooglePlayPromote, GooglePlayIncreaseRollout tasks are bumped to actual versions
Added brief description for GooglePlayStatusUpdate task

@vmapetr : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@vijayma,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. Thanks.
#label:"aq-pr-triaged"
#assign:@MicrosoftDocs/public-repo-pr-review-team

The following users don't have valid GitHub IDs, or are not collaborators on this repo: microsoftdocs/public-repo-pr-review-team

#sign-off

@vmapetr @steved0x @vijayma - because this PR adds or changes one or more :::moniker::: lines, it will need to be moved to the private repo azure-devops-docs-pr so we can ensure it passes validation and renders correctly on staging.
Can you move the commits?
Thanks.
If you need assistance, let us know.

@vmapetr @steved0x - has this been replicated in the private repo?  if so, we can close this PR.  If not, it should be moved.
If you need help with this, let us know. thanks.

@vmapetr @steved0x - has this been replicated in the private repo? if so, we can close this PR. If not, it should be moved.
If you need help with this, let us know. thanks.

I duplicated this PR in the private repo. It can be closed now. Thanks!


Release v5.0.1

fix(#340): Fix bug producing that target option had captured values from the target dependency when templating ${from} property (@DeyLak)

closes #340

coverage: 99.388% (+0.002%) from 99.386%
when pulling c8cb201a52eb8a2dd2575b28d2e6d7e080f9debf on release
into bd0a9937dfe71c34fb13236ccda79442d6033b99 on master.


fix(codebases): GitHub service is broken

A GitHub token was recently added to the GitHub service; however, users are no longer able to add codebases. The new switchMap code fails to add the appropriate header.

@dlabrecq snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-873-fabric8-ui.int.rdu2c.fabric8.io

I've checked the build generated by the CD system above and we're now not using an authorization header.


DNS Changer for phones?

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

🪄 describe your feature or idea
Will we see DNS Changer for Android & iOS?
💻 In which operating systems have you tested?

[ ] macOS
[ ] Windows
[ ] Linux

Yes, soon 👌


Added  .opi screens.

As described in commit comments, .opi screens have been translated from available .edl. This addresses #14.
Removed two site specific PVs from pcoDetector_conn.opi. This is last piece I am addressing. We have already collected data with PCO Edge camera and this driver and the beamline is quite happy so far.

I have finally got round to testing this pull request (which also includes commits from the other two pull requests) and it looks fine.
One thing I did notice was that setting ReverseX and ReverseY didn't appear to work for me using our branch of ADCore 3-6. Whereas it works fine if I set the equivalent parameters in the ROI plugin.

Interesting...
I am pretty confident I've been using these feature from the base screen.
How about Gain?
If Gain, ReverseX and ReverseY did work for Diamond before, and now don't, may be Diamond version of ADCore does not handle them in base class, and this is the reason the code I removed was added on the first pace.  But then it works in ROI... Is your ADCore different from Mark's?
For me they did not work, and after the change they did.

Prior to your change the records for these parameters were completely disabled and so did not work at all (this also hides their GUI elements on our base EDM screens).
Diamond does use its own branch for ADCore so I'm sure the issues lies with us (rather than the standard implementation not working).
I'm happy for this PR to be merged and then I can look at fixing our Diamond-specific branches to get the parameters working afterwards.
@MarkRivers would you be able to merge this (assuming you can't see any issues)?


Missing RBAC for cert-manager default serviceaccount

Describe the bug:

Looking at the documentation for using the cert-managers default Serviceaccount for Route53 configuration (https://cert-manager.io/docs/configuration/acme/dns01/route53/#using-the-cert-manager-serviceaccount) it should not be necessary to manually create the RBAC for creating service account tokens, only when using a separately defined Serviceaccount (https://cert-manager.io/docs/configuration/acme/dns01/route53/#rbac).
However, when using the default Serviceaccount issues with RBAC still occur until the Role and Rolebinding are manually created:
"re-queuing item due to error processing" err="error getting service account token: failed to request token for cert-manager/cert-manager: serviceaccounts \"cert-manager\" is forbidden: Use
r \"system:serviceaccount:cert-manager:cert-manager\" cannot create resource \"serviceaccounts/token\" in API group \"\" in the namespace \"cert-manager\"" logger="cert-manager.controller" key="foo/foo-1-423214965-
2925438771"

Expected behaviour:

RBAC definitions for creating service account tokens should be included in the helm chart for the default cert-manager Serviceaccount
Steps to reproduce the bug:

Follow the documentation for Route53 with IRSA authentication while using the default cert-manager Serviceaccount
Anything else we need to know?:
Environment details::

Kubernetes version: v1.29.6-eks-db838b0
Cloud-provider/provisioner: AWS
cert-manager version: v1.15.2
Install method: helm

/kind bug

@Jasper-Ben When using IRSA, you annotate the cert-manager ServiceAccount with the eks.amazonaws.com/role-arn: arn:aws:iam::XXXXXXXXXXX:role/cert-manager-route53 and that causes the IRSA webhook to inject the ServiceAccountToken into the cert-manager Pod as a projected volume.
cert-manager will find the token at a well known path in the filesystem.
The kublet will be responsible for refreshing the token.
In this mode, cert-manager will not attempt to create ServiceAccountToken requests so  extra RBAC is not necessary.
This should be made clearer in the documentation.

@wallrj I see. So we would want to revert the change and update the docs instead?

I'm on the fence. Theoretically, your PR allows people to use the cert-manager ServiceAccount without having to have IRSA webhook installed, which might be desirable for some people.
I'm happy to leave the extra RBAC, because I don't think it does any harm, but we should also improve the docs, and I've started on that in the following PR, but I got bogged down trying to explain all the authentication options:

https://github.com/cert-manager/website/pull/1555


[Jammy] cflinuxfs4 costumer communication

In order to complete the migration to Jammy, we need to verify our buildpacks are compatible with cflinuxfs4 and notify customers that we will be upgrading
Acceptance Criteria

[x] Verify that all of our buildpacks are compatible with cflinuxfs4
[ ] Post something to statuspage to notify customers of the pending upgrade

Security considerations
This work is necessary as part of the Jammy upgrade which will keep us up-to-date for security patching
Implementation sketch

Run cf buildpacks to see our current buildpacks
View the release notes for each buildpack to see if it is compatible with cflinuxfs4

For example, for Ruby: https://github.com/cloudfoundry/ruby-buildpack/releases

Post something to statuspage to notify customers of the pending upgrade

Example for the cflinuxfs2 to cflinuxfs3 upgrade: https://manage.statuspage.io/pages/swcbylb1c30f/incidents/hkz6ycncs0zq

These are the current build packs enabled for cflinuxfs3. Working on checking compatibility with cflinuxfs4.
dorothymtamasang@FCOH2J-G19ZLVDF cg-scripts % cf buildpacks
Getting buildpacks as<EMAIL_ADDRESS>position   name                    stack        enabled   locked   filename
1          staticfile_buildpack    cflinuxfs3   true      false    staticfile_buildpack-cflinuxfs3-v1.5.37.zip
2          java_buildpack          cflinuxfs3   true      false    java-buildpack-cflinuxfs3-v4.53.zip
3          ruby-buildpack          cflinuxfs3   true      false    ruby-buildpack-cflinuxfs3-v1.8.52.zip
4          ruby_buildpack          cflinuxfs3   true      false    ruby_buildpack-cflinuxfs3-v1.9.1.zip
5          dotnet_core_buildpack   cflinuxfs3   true      false    dotnet-core_buildpack-cflinuxfs3-v2.4.6.zip
6          nodejs_buildpack        cflinuxfs3   true      false    nodejs_buildpack-cflinuxfs3-v1.8.5.zip
7          go_buildpack            cflinuxfs3   true      false    go_buildpack-cflinuxfs3-v1.10.3.zip
8          python_buildpack        cflinuxfs3   true      false    python_buildpack-cflinuxfs3-v1.8.4.zip
9          php_buildpack           cflinuxfs3   true      false    php_buildpack-cflinuxfs3-v4.5.1.zip
10         binary_buildpack        cflinuxfs3   true      false    binary_buildpack-cflinuxfs3-v1.1.1.zip
11         nginx_buildpack         cflinuxfs3   true      false    nginx_buildpack-cflinuxfs3-v1.1.46.zip
12         r_buildpack             cflinuxfs3   true      false    r_buildpack-cflinuxfs3-v1.1.37.zip
dorothymtamasang@FCOH2J-G19ZLVDF cg-scripts %

The following buildpacks we currently use are NOT compatible with cflinuxfs4, therefore I am placing this ticket as blocked.

staticfile_buildpack - v1.5.37 latest
ruby-buildpack - v1.8.52.   Compatible from v1.9.0 onward
php_buildpack  - v4.5.1 latest
nginx_buildpack - v1.1.46 latest
r_buildpack - v1.1.37.  Compatible from v1.2.0

There is a PR pending review for to add cflinuxfs4 stack to the PHP build pack. Found in this issue:
https://github.com/cloudfoundry/php-buildpack/issues/780#issue-1538637927

After investigating the remaining non-compliant build packs, there are no current issues for adding cflinuxfs4 dependency. I have requested an invite for the CloudFoundry slack Chanel to request for updates on when those build packs will be available.

nginx_buildpack v1.2.0 is now available for cflinuxfs4 compatibility

There is an issue for staticfile-buildpack and can be tracked with this link below.
https://github.com/cloudfoundry/staticfile-buildpack-release/issues/1
Per the CloudFoundry buildpack admins, PHP and staticfile buildpacks should be available in a few weeks.

It looks like the PHP buildpack now supports cflinuxfs4: https://github.com/cloudfoundry/php-buildpack/releases/tag/v4.5.3

Possible timeline for rolling out cflinuxfs4 changes:
Now - April 27 | Test apps using cflinuxfs4
April 27 - May 10 | Explicitly opt to use cflinuxfs3 if you need more time
May 10 - onward | Only cflinuxfs4 will be available

I have a first draft at https://gist.github.com/cweibel/26bc4e1d5feb5d30daa07c7cc7d22b6a
In particular we'll need a gameplan for May 24th +, after a bit of experimentation we can't simply restage a user's apps, we may want to replace the verbiage with "We'll be notifying org owners of applications which haven't been repushed" or similar

I have found a cf plugin which might be able to assist with the migration, it appears to have been updated for cflinuxfs4 support: https://github.com/cloudfoundry/stack-auditor

Created a PR with the messaging after Van did a review: https://github.com/cloud-gov/cg-site/pull/2285


separate nodeSelector for metrics-agg

Proposed changes
Existing implementation assumes that the metrics daemonset and the metrics-agg will requirement the same nodeSelector configuration.
However, this may not always be the case. For example, I want to keep management workloads on a set of management nodes. The metrics-agg deployment will count as a management workload. However, I still want to have the metrics daemonset running on all my nodes to collect metrics. With the current template this is not possible and the .Values.nodeSelector is common for both the metrics daemonset and the metrics-agg deployment.
This update implements a separate aggregatorNodeSelector value to make it distinct from the orignal nodeSelector value.
This fixes: https://github.com/splunk/splunk-connect-for-kubernetes/issues/776
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I have read the CLA
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

PR looks good to me. Can you please also add aggregatorNodeSelector to root values.yaml file? (Probably here)

Hi @harshit-splunk - this has been updated.


Add assertion support in the codebase

Issue
See slack later
Changes

Add UI to show assertion failure instead of being buried in the console.
Add assert function without needed to add import statements.
Asserts will be active by default (i.e. localhost and dev instances), but compiled away to no-ops in odysee.com

Well, it's not actually zero ops, but becomes an empty function.  My babel skills aren't good to write a plugin to remove the the lines entirely (that would be the cleanest).  Tried existing plugins -- no luck.
But I think good enough ... wouldn't impact performance.

Requires team to religiously add assertions into their code.

Added ASSERTS_ENABLED=false to the new production instance.
I don't know how many we have ... do we still have backup instances?


don't mutate data passed in to constructor

otherwise throws an error if data is immutable (e.g. frozen with Object.freeze)

ah nevermind, reading the source i see how i can avoid that code path while still doing what i want.
by the way, my motivating use case for this is a tcomb validator for feathers services, where the validation results are immutable.

@ahdinosaur I'm not necessarily opposed to this change. I get the use case and personally prefer to work with immutable data. I've never used tcomb however so I'm not sure what typical error messages coming from it look like. If you can provide a bit more detail on why it's important that the validation results are immutable and how a validation error looks like I can rework things so feathers-errors plays nicely.
On another note I think your plugin is pretty sweet. If you felt like using ES6 we have a plugin generator that you can use to scaffold out plugins.
At a minimum can you add feathers-plugin to your package.json keywords section? That way it will be auto discovered when we roll out a new version of the Feathers website?

@ekryski here's how i got it working with feathers-errors, i feel pretty good about things playing nicely now. for reference, here's the documentation on what tcomb-validation returns.
thanks, glad you like the plugin. :) added the feathers-plugin keyword.

@ahdinosaur Looks good! It stinks that just because we are doing a delete you can't just do this though:
next(new errors.BadRequest('feathers-tcomb: Validation Error', result));

I actually think I want to open this up as an issue so I've created #19. We should either to a copy or just not do that delete. In reality, I had put that in there just to pretty up the error object.


fix for wrong http status header

Thanks for your PR, which fixes the bug

Something wrong in http response header #41
server.authenticate problem #43

A new release will be published for this library as well as many similar libraries, with the note for your contribution.
Best Regards,

Hi @neardreams
The new EthernetWebServer releases v1.8.2 has just been published. Your contribution is noted in Contributions and Thanks
Best Regards,

Releases v1.8.2

Fix wrong http status header bug. Check fix for wrong http status header #42


Where does ‘data’ get its value from in sprite v1

Hi,
In this line:
https://github.com/projf/projf-explore/blob/f6ed942204d9c33479b820e3aadc35adc9951fee/hardware-sprites/sprite_v1.sv#L70
the variable ‘data’ is referenced as containing the pixel colour. However, I can’t work out how that variable is initialised with a value. Could you please help me understand what is going on here? (I’ve read the file multiple times, I’m hoping I didn’t just overlook something obvious)

Ah, I see now, it is attached via the wildcard in the ‘rom_async’ setup. I haven’t come across that syntax before.

Ah, I see now, it is attached via the wildcard in the ‘rom_async’ setup. I haven’t come across that syntax before.

Sorry, "data" isn't the best name. I recently switched to an explicit ROM for this data to handle a bug in Vivado and used generic names. I'll make the names clearer in the next update.

Sorry, "data" isn't the best name. I recently switched to an explicit ROM for this data to handle a bug in Vivado and used generic names. I'll make the names clearer in the next update.

I've updated the sprite examples with clearer signal names:
    // sprite graphic ROM
    logic [$clog2(DEPTH)-1:0] spr_rom_addr;  // pixel position
    logic spr_rom_data;  // pixel colour
    rom_async #(
        .WIDTH(1),  // 1 bit per pixel
        .DEPTH(DEPTH),
        .INIT_F(SPR_FILE)
    ) spr_rom (
        .addr(spr_rom_addr),
        .data(spr_rom_data)
    );

The revised designs have been merged and published to the blog: https://projectf.io/posts/hardware-sprites/

I've updated the sprite examples with clearer signal names:
    // sprite graphic ROM
    logic [$clog2(DEPTH)-1:0] spr_rom_addr;  // pixel position
    logic spr_rom_data;  // pixel colour
    rom_async #(
        .WIDTH(1),  // 1 bit per pixel
        .DEPTH(DEPTH),
        .INIT_F(SPR_FILE)
    ) spr_rom (
        .addr(spr_rom_addr),
        .data(spr_rom_data)
    );

The revised designs have been merged and published to the blog: https://projectf.io/posts/hardware-sprites/

Thank you! And thank you for writing this, it is very helpful.

Thank you! And thank you for writing this, it is very helpful.


About Finding Best Discard

Hi, I've tried to write an algorithm to find the best discard for getting straight before but failed. I want to ask if there is a solution to the problem I'll say, also you might be interested in implementing it in this repo.
I want to find the best discard for getting straight in a 8 hand size & 2 discard scenario. For first draw I just draw 8 cards. Then there'll be 219 possible discard combinations. Then I'll draw (at most) ${52-8 \choose 5}  =1086008$ possible card combination for each hand. After that I'll have 1 discard remaining. Thankfully I don't need to iterate through every possible draw for every possible discard because I can count the outs and find the straight probability. For example, if I were calculating flush draw chance for spades with 3 spades in hand can be calculated with hypergeometric distribution with parameters $k=2,n=5,K=10,N=46$. Similar thing can be done with calculating Ace high, King high etc. straight chances independently. This is where my problem occurs, I can't simply add all straight chances to calculate the total straight chance because events are not independent. It's way easier to get a Q-high straight if you have a K-high one. I don't know how to approximate this value in a $O(1)$ manner. But if I could, calculating the best straight discard would require evaluating $219\cdot1086008\cdot13=3\cdot10^9$ possible situations which would take ~30 seconds in a single thread without optimizations. So it is in the doable territory. So my question is, is there an $O(1)$ formula for calculating straight chance?

Hey, thanks for your question.
I have a first questions: where is your 13 factor coming from in the situation computation?
A proposition: 3e9 is indeed doable territorry (even if the current code is probably a bit too slow for that to be realistic) but double discard scenario is not imaginable for this scale.
So maybe: this computation could give you the best discard possible:

Given a hand, generate the 219 potential dicards D.
For each D, generate all the possible card draws (between 1086008 and 48).
For each of this draw, compute a hand score representing the closeness to a straight (must not follow this kind of line, but can be a score close to the StraightEngineV3 which will be way faster).
Compute the average of those scores.
Return the best discard.

It's not perfect since you have to rely on a non exhaustive computation in the middle (because of multiple discard and the total number of cases with multiple decisions), but you will probably get quite a good result already

13 should've been 8 my bad. Its the number of X-high straights.
My main goal was to get the optimal play to calculate the actual straight chance and observe data enough to develop some heuristics for discarding. Your idea sounds good and will probably result in better straight chances than the current one. Anyways, thanks for responding! You can close this if you want

I'll give it a try, not sure the code is fast enough currently to handle that in a reasonnable time currently. I'll try to increase it's efficiency to allow this kind of computations


Fixed #65 ENVKEY value security leak

Thanks @nahuel, just merged and we'll get a new python SDK release out shortly.


Comment PR: Add comments for the design overview

Overall this is just great!
In my design, I was thinking to get invalidations to the client side (if needed) and decide to fetch or not).
But this is far better.
I add some more comments close to each section.
See Files changed tab

We are good here.


Check if it is possible for Istio-configuration to use istio/client-go instead of istioctl

Description

Until now istio-configuration component reconciler uses istioctl. There are several problems and limitations that are connected with this approach. As a result, we should validate the possibility of providing an implementation which adapts istio/client-go library.
Reasons

Advantages:

we get rid of I/O problems
testing will be much easier - instead of validating binary output we will rely on library API
there will be no headache over choosing exporting ISTIOCTL_PATH anymore - neither in reconciler nor anywhere else

Things to consider:

our custom mechanism of choosing version has to be adjusted properly
versioning of the library and our way of adjusting to it
deprecation of current mechanism
checking if library offers the same set of functionalities as istioctl does

Attachments

See example Istio error that we randomly encounter with no clue how to deal with it: https://github.com/kyma-incubator/reconciler/issues/868
Istio/client-go: https://github.com/istio/client-go

istio reconciler will be rewordek into istio manager


502 Bad Gateway weka.mongodb Failed to start Service for snap application wekan.mongodb.

A few days ago we installed Wekan and it worked great but after the update on Monday, January 6, it stopped working.
I have tried to lift it and recover my board but it was not possible for me, the MONGODB service does not work
I can't take the backup either because the dumo doesn't work, I get the following error / var / lib / snapd / snap / wekan / 714 / bin / mongodump: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
I tried to do everything that your documentation says but I can't recover my board, or do the backup correctly
========snap version
snap    2.42.2-1.el7
snapd   2.42.2-1.el7
series  16
centos  7
kernel  3.10.0-693.17.1.el7.x86_64
==============snap services
Service        Startup   Current   Notes
wekan.caddy    disabled  inactive  -
wekan.mongodb  enabled   inactive  -
wekan.wekan    enabled   active    -
======PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
443/tcp  open  https
3306/tcp open  mysql
9001/tcp open  tor-orort

Are you using edge snap? Please change to stable:
sudo snap refresh wekan --stable --amend

Also, there still are problems with Snap on CentOS 7 and RHEL7:
https://github.com/wekan/wekan-snap/issues/103#issuecomment-572718481

Anyway, save settings to file:
sudo snap get wekan > snap-settings.txt

Then stop wekan:
sudo snap stop wekan

And backup database etc files, for example:
sudo su
yum install zip unzip
cd /var/snap/wekan
zip -r common.zip common

Then on other server, that is newest Ubuntu or Debian install Wekan Snap, stop Wekan:
sudo su
snap stop wekan
cd /var/snap/wekan
rm -rf common
unzip common.zip

And then add those snap settings:
sudo snap set wekan root-url='https://boards.example.com'

etc, and then start wekan
sudo snap start wekan

hi,
good day, perform the indicated steps of migrating my board to another server, on this server we also have 7 centers and we occupy nginx, the services have been stable, but I can not visualize my site in linia I get the following error
404 Page Not Found

How do I reinstall wekan?

Install centos 7 (b) with nginx on a new server, as wekan previously told you and follow the instructions to copy the common folder of the production server that we will call server A to server B (which is the new one), in this server installation B had already enabled a new url cr-bck.domain.com, on server B run set wekan root-url = 'https: //original.domain.com' but it responded 404, then reactivate the url cr-bck. domain.com that refers to the backup of the production url that I had enabled on server A and I was able to reset my Board, that is, I was able to access with the users that I had and see my tasks, but when selecting a task or comments the domino cr-bck.dominio.com continues to request or continue resolving the domain 'https://original.dominio.com'.
How can I change or have my board redirected to the new domain?
How can I re-install wekan, on my server A? , this in order to re-replicate the solution they gave me on my original server

sudo snap set wekan root-url='https://original.dominio.com'

Etc, see Snap install page:
https://github.com/wekan/wekan-snap/wiki/Install

I could already reset my dashboard, apply on the source server
sudo su
yum install zip unzip
cd / var / snap / wekan
zip -r common.zip common
Move my backup to another side
and run
snap stop wekan
remove all snapd
Yum clean all
And repaint wekan from the beginning
So I did not lose my information and it was restored in the same domain and server


Fixed mouse wheel in html5 target

This removed the wheel support for firefox. FF does not have any mousewheel event, just a wheel event

Looks like we're running in circles but that kind of fits the topic.

hehe, yeah. Assigning both onwheel and onmousewheel seemed to fix it. However the deltaY values differ in different browsers.

#293 there's a pull request. is it possible to reopen pull requests?

Maybe. If not you can just create a new one from the same branch.


Hot Key?

Am I missing some settings or anything. Is their a hot key to open it at cursor etc? Where is the file saved when you save the note?

Hey, Thanks for reaching out,

Currently there are no hotkeys simply press the icon at the task bar to open quicknote.
The file saved in C:\Users\<username>\.quicknote directory

Note: the file is not supposed to be read by a human since It has some style info (managed by Facebook's lexical)

As with commit ab7133afe552377e51af1df1c5a9ea68b31a6f84 Added a HOT key as CTRL + ALT + Q to open at position of cursor :)


Enums are not shown in the Variable Explorer

Hi, when debugging, when a variable is derived from enum.Enum, their value is not shown.
import enum

class Test(enum.Enum):
    Value = 1

enum_val = Test.Value
dict_val = {'test': Test.Value}

What I get (in the Variable Explorer) :
enum_val = 'Test object of __main__ module' (and 'Type' column is set to 'Unknown')
dict_val = {'test': Test}

Pretty much useless...
What I'd expect instead (actually shown in the interpreter) :
IPdb [1]: enum_val
<Test.Value: 1>

IPdb [2]: dict_val
{'test': <Test.Value: 1>}

What is correct and helpful.
Thank.

Hi @Kochise,
In which version of Spyder are you seeing this behavior?
@impact27 can you please let me know if this is a bug or a feature request?

This is a feature request. Enums are not supported in the variable explorer.

Pretty much useless...

You're welcome to send us a pull request to support them. Otherwise this is very low priority for us.

Spyder 5.0.1.
Ok for the very low priority.


Pypi permissions

Can you give user okpy permissions on Pypi to upload new versions of https://pypi.python.org/pypi/notebook-ok-extension/0.1.1

Added.


ENH: Add cut tree function to scipy.cluster.hierarchy

Adds a function similar to R's cutree.

Not sure that the segfault has anything to do with this PR.

It doesn't. Scipy master branch is broken with relaxed strides checking ATM.

@jseabold would be good to mention this PR on the mailing list. API seems fine to me, but I'm not a user.

@rgommers Sure. Is users or dev the preferred ML?

The scipy-dev ML for all discussions on adding new features

Rebased this. Just had a co-worker re-implement this as another data point.

@jseabold sorry to have let this linger. I see now that you did write to the ML and got no reply: http://thread.gmane.org/gmane.comp.python.scientific.devel/19670. The interest in cluster among devs and mailing list lurkers is unfortunately low, even though some parts of cluster are quite heavily used. So given that no one said that he/she didn't want it, that there's a clear need in your area of work and that the code looks good, I'm going to tag this for the next release and merge it.
My open comments are all very quick to address, so it would be helpful if you could do that. (if you don't have time then I'll make sure to do it myself before the next release).

Okay, most comments addressed in 5a3e9a9 and merged in c4745da. Thanks Skipper!


Adding lidar scans for training.

Hi @eleurent,
environment: HighwayEnv
Algorithm: DQN
My goal is to train the agent using DQN by giving observation as well as lidar scans input to the NN.
I have a function that returns lidar scans for the agent's current position. Something like below
def lidar_scans(observation):
    /* code/
    return lidar     # lidar is a numpy array of shape (360,)

lidar_scans(observation)

I want to give the lidar as input along with the observation.
Example:
def choose_action(self, observation,lidar):
    if np.random.random() > self.epsilon:
            observation = T.tensor([observation]).to(self.Q_eval.device)
            lidar = T.tensor([lidar]).to(self.Q_eval.device)
            state_lidar = T.cat([observation,lidar],dim = 1)
            actions = self.Q_eval.forward(state_lidar)
            action = T.argmax(actions).item()
    else:
            #random action
    return action

action = agent.choose_action(observation,lidar)

How can we implement this to your code? Your code looks very systematic and I would like to implement it.
Thanks!

Hi @eleurent,
my lidar file looks something like this.
https://drive.google.com/file/d/1sztPyBTL_EF2zr9rIxU9-bLFcB2Gx8Gp/view?usp=sharing
code

Hi @nikhildesa
Thats a great idea! The way I see it, there are two steps for a good integration in the project: what you want is basically to define a new type of Observation which gives you both access to the lidar scan and a more traditional observation (e.g. the current KinematicsObservation).

Create a LidarObservation class in envs/common/observation.py, which returns a lidar scan from a scene and considered vehicle
Create a Tuple observation to define an observation which is made up of several others.
A configuration for an instance of this class should look like this:

{
    type: "Tuple",
    configs: [ {"type": "KinematicsObservation"}, {"type": "LidarScan"} ]
}

And the Tuple type of observation space already exists in gym, so it can be used directly.

Hi @eleurent
Thanks for the idea. I don't want to make much changes with the environment setup, As I am beginner here.
Can you please help me with a simpler way like instead of giving KinematicsObservation as input I want to give the lidar as input.
Where I have a function that returns lidar data using kinematic observation.
Example
`
def lidar_scans(KinematicObservation):
/* code/
return lidar     # lidar is a numpy array of shape (360,)
for i in range(episodes):
while not done:
lidar = lidar_scans(KinematicObservation)
state,new_state,reward,done = env.step(lidar)
score+=reward
state = new_state
`
Also,Ideally using DQN with highway_env how much should we train the data so that loss is almost zero?

instead of giving KinematicsObservation as input I want to give the lidar as input

You mean as an input of the policy, right? in your code example, you give the lidar scan as an input of the environment, which does not really make sense to me... the environment takes an action as input, and returns an observation. I guess the proper syntax should be something like
obs = env.reset()
for i in range(episodes):
    while not done:
        lidar = lidar_scans(obs)
        action = policy(obs, lidar)
        obs, reward, done, info = env.step(action)
        score += reward

where the policy is fed with the (kinematic) observation and lidar, and the environment is step with the resulting action.
If you do have an implementation of the lidar measurement, it should be quite straightforward.

Also, Ideally using DQN with highway_env how much should we train the data so that loss is almost zero?

I'm afraid I don't have a simple anwser for that question, it kind of depends on your choice of observation, policy architecture, learning parameters etc. But it should be in the order of magnitude of 1k-10k episodes.
I suggest that you decrease the number of vehicles and episode duration while training, as it will increase the simulation performance.

hey @eleuerent,
Yes you are correct with syntax.

instead of giving KinematicsObservation as input I want to give the lidar as input

You mean as an input of the policy, right? in your code example, you give the lidar scan as an input of the environment, which does not really make sense to me... the environment takes an action as input, and returns an observation. I guess the proper syntax should be something like
obs = env.reset()
for i in range(episodes):
    while not done:
        lidar = lidar_scans(obs)
        action = policy(obs, lidar)
        obs, reward, done, info = env.step(action)
        score += reward

where the policy is fed with the (kinematic) observation and lidar, and the environment is step with the resulting action.
If you do have an implementation of the lidar measurement, it should be quite straightforward.

Also, Ideally using DQN with highway_env how much should we train the data so that loss is almost zero?

I'm afraid I don't have a simple anwser for that question, it kind of depends on your choice of observation, policy architecture, learning parameters etc. But it should be in the order of magnitude of 1k-10k episodes.
I suggest that you decrease the number of vehicles and episode duration while training, as it will increase the simulation performance.

Hey @eleurent,
Yes you are correct with syntax. Sorry for the confusion.
My revised goal is  to implement following
lidar--> fc1--fc2-->(output+velocity)-->fc3-->fc4-->actions
I was just making changes to your code, basically adding the lidar_scans function.
In evaluation.py at line 154.
actions = self.agent.plan(self.observation)
Where is this plan function? As instead of sending observations I need to send lidars to it and get the best action.

the highway-env repository contains the simulation environment, which consumes actions and produces observations
the rl-agents repository contains RL & planning agents, which consume observations and produce actions

If you want to change the type of observation, there are two possibilities:

you add a new kind of LIDAR observation in highway-env, and rl-agents is unchanged. This is what I originally suggested, and feels the most natural to me. It would be a contribution to the open-source environment.
as you suggest: you change the training pipeline in rl-agents: the observation produced by the environment is discarded, you compute the lidar scans manually, and then use them in place of the old observation for the agent. It is also a possibility, but it seems more sloppy to me, and should not be merged (i.e. it won't profit to anyone).

Where is this plan function?

It is implemented by every agent in highway-env. When agents only plan a single action, it is implemented in the agent.act(observation) method. e.g. here for DQN
For example,


Menu

Doeas have Materia-ui this functionality?

Maybe you can use tabs component for do it, with a piece of CSS

I think that it's not in the material specification. I should probably close this issue.

Yes, I think so. It's not a functionality, it's a css customization to tabs component.

@kodermax Going to close this issue since this is outside of the scope for material-ui and material design.

how this looks in material?

I don't know if material design really has a pattern for this. Feel free to browse Google's material spec to see how you should design your application:
https://www.google.com/design/spec
The closest thing to this that I can think of are steppers which was already captured in issue #2722


Removed identifier provider initialization

Coverage decreased (-0.7%) to 99.306% when pulling 7e333792a36ea2414546fae6535877c4f2cecc67 on removing-identifier-provider-reference into 78b078072724bbe87d30a486b54f903532ae59b1 on master.

Coverage remained the same at 100.0% when pulling e20e259198ddfefee341b436fd4a67d6dfb0b64c on removing-identifier-provider-reference into 78b078072724bbe87d30a486b54f903532ae59b1 on master.


Bug fix 412

Overview
Fixes issue with ComplexOutput and as_reference.
When ComplexOutput was set by a file, it forced as_reference to True.
Binary data was output as string instead of base64.
Also, the raw CDATA content had extra white space.
Related Issue / Discussion
https://github.com/geopython/pywps/issues/412
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I'd like to contribute [feature X|bugfix Y|docs|something else] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[x] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines

Coverage increased (+0.03%) to 74.898% when pulling 282d33e0110ece5d919c01c77bf84f77fa2a74ec on huard:bug_fix_412 into dccec7d0f29285185f914ae3c44e068d7c871e46 on geopython:master.

thanks @cehbrecht @lazaa32 and @huard


Why this code not working properly.

If  I return empty stuff it will work but this code not working. This is what my code return
[{"Id":4180,"Title":"test","class":"","Start":1434625200000,"End":1434625200000},{"Id"
:4184,"Title":"test2","class":"","Start":1433203200000,"End":1433203200000}]

http://s27.postimg.org/e9kz1d003/image.png

This is the issues.


Regarding Indian Banking support

@adrianhajdin @sujatagunale  can we use it with the Indian banking system any ideas on that , I mean like using Razer pay or some other platform

Hi Sarik,
Right now, Plaid supports the following countries: https://plaid.com/global/.
However, you can use Plaid sandbox mode without any issues even in India.
Regarding Razer Pay, Plaid does not have support for it. They do support
Stripe for payments though. You can see the complete list of supported
platforms here: https://plaid.com/docs/auth/partnerships/stripe/.
Sent via Superhuman @.***>
On Fri, May 03, 2024 at 4:51 am, Sarik Anwar @.***>
wrote:

@adrianhajdin https://github.com/adrianhajdin @sujatagunale
https://github.com/sujatagunale can we use it with the Indian banking
system any ideas on that , I mean like using Razer pay or some other
platform
—
Reply to this email directly, view it on GitHub
https://github.com/adrianhajdin/banking/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEEAAMII7PVSGIXO3AOCCIDZALC5ZAVCNFSM6AAAAABHESXWJ6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TMNRVGUYDANQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I get this error when i tried to get the table,
data: {
display_message: null,
documentation_url: 'https://plaid.com/docs/?ref=error#invalid-input-errors',
error_code: 'ADDITIONAL_CONSENT_REQUIRED',
error_message: 'client does not have user consent to access the PRODUCT_TRANSACTIONS product',
error_type: 'INVALID_INPUT',
request_id: 'szTBiIFqeSZhV2C',
suggested_action: null
}
},
status: 400
}
An error occurred while getting the account: TypeError: transactions is not iterable
at $$ACTION_1 (webpack-internal:///(rsc)/./lib/actions/bank.actions.ts:119:16)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Home (webpack-internal:///(rsc)/./app/(root)/page.tsx:32:21)
{


i cant take the variable that contain the final result that shows in canvas

i am trying to take the variable that contain the final result that shows in canvas  and put them in text file but i cant seem to find that final result , thanks in advance

human result is json object with full data, but true - there is no output canvas as i cannot know how does user want that canvas to look.
you can create HTMLCanvasElement yourself (or use pre-existing one), for example:
canvas = document.createElement('canvas');
canvas.width = 512;
canvas.height = 512;

and use built-in Human helper methods to draw results on it:
res = await human.detect(input)
drawOptions = { bodyLabels: `person confidence [score] and ${human.result?.body?.[0]?.keypoints.length} keypoints` };
await human.draw.all(canvas, res, drawOptions);

for description of all draw options, look at docs interface DrawOptions


the position of the N-terminal of the binder

hi, on what basis is the position of the N-terminal of the binder generated by bindcraft determined? The N-terminal of the generated binder is in a fixed position, but this is the opposite of where I want the sequence to be. How do I adjust this position?

Not quite sure what you mean, can you give an example?

Not quite sure what you mean, can you give an example?
As an example with this protein, the red part in the middle is the generated binder. What I want is for the N-terminus and C-terminus to be positioned like this, with the N-terminus at the bottom and the C-terminus at the top.

but, the generated structure is the opposite of what I want, like this：

Hmm, so currently there is no way to do that, but I suppose you could write a custom loss function to keep the N terminus as far away from the target as possible

Hmm, so currently there is no way to do that, but I suppose you could write a custom loss function to keep the N terminus as far away from the target as possible

Thank you for your reply


Please add an example of body and extraction of the valus

Would be great to see additional examples of queries doing filtering(so faer I haven't been able to get that to work). Other examples to pull a specific resource and that consumption of that data  (as simple as output in the output to print resource name and id). One can not get the values like  {}.values example shown here.
BTW, the example presented here is very helpful when handling multiple records, but this can be done easily using the 'ResourceSelector' too, specially, if filters can't be applied.
Would be happy to offer more insights on a real life use case of how our managed app/solution template combo is trying to exploit these elements.
Neeta.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2f3e122a-cd93-e5c3-a0b5-fd320dabce51
Version Independent ID: f7cb13e7-40bd-bb27-08df-085acd22cfbc
Content: ArmApiControl UI element - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/microsoft-solutions-armapicontrol.md
Service: managed-applications
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@ngarimella Thanks a lot for sharing your feedback, assigning this issue to our document author @tfitzmac to further review the feedback and see how the document can be enhanced.

#reassign:davidsmatlak

@ngarimella Thanks for your feedback about the documentation. Unfortunately, your issue wasn't reviewed in a timely manner. I created an internal work item to update the article with some additional samples and the timeline for resolution may vary based on resourcing. I'm closing the issue but will post a comment when the article is updated.
There were recent updates to fix the example in ArmApiControl  and the TextBox UI element has a basic example of the ArmApiControl using the body property.

#please-close


Support advanced debugging for analytics

https://developers.google.com/analytics/devguides/collection/analyticsjs/advanced#debug

[ ] Analytics.js debugging snippet support
[ ] Analytics.js trace debugging configuration support

This functionality is only available for universal analytics.

There's a workaround for this with the chrome plugin here: https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna


Better: Add first_in_thread to the API RD-30091

Add the attribute first_in_thread to the doc.

@jiop I don't have permissions to merge the PR. Can you ?

ping @jiop


Publish a release and add this repo to bower

Hi there,
thanks for your nice and clean work. Can you please publish a first version and add this repo to bower?
http://bower.io/docs/creating-packages/
Thanks :)

Hi, you're welcome :) I will work on that soon

Done. I updated the README.md to show how you can install via bower


Documentation Clarification: How to go from showWait to showSuccess?

When I try to transition an alertview from showWait to showSuccess the showWait icon still shows in the background.  What is the supported method to transition this alertview?
Thanks again for the great framework.

Did you ever get an answer to this.  I need to do the simular


"Met Exception" when training model

Hi, I was using the LightGBM repo to train a relevance model using lambdarank. I've trained a couple models using the same config. For some reason after I increased the size of my training data I'm getting an error:
"Met Exceptions:
Label excel 947753232"
I couldn't seem to find much documentation on what that exception exactly meant. I was wondering whether the issue was with the size of the training data or with the actual values for the label column? Any clarification would be helpful. Also let me know if there is any other info I should provide about the issue.

@mujtabatirmizi
I think you are using wrong label.
For the ranking, the label is int type, and represent the relevant. e.g.
0: bad
1: good
2. perfect


functions: Adds sample functions_helloworld_error_test

Adds GCF Error function sample
DevRel Sample: 1563
Bug: 129762816, 129762354
Doc: https://cloud.google.com/functions/docs/monitoring/error-reporting

@tbpg PTAL. It looks like some samples are not region tagged...


Can't get documentation of member of parameterized class which is "export =" from another module

A.ts:
class A<T> { method() {} }
export = A;

B.ts:
import A = require('A');
new A().method();

When using code completion on the .method call in B.ts, getCompletionEntryDetails throws an exception:
TypeError: Cannot read property 'parent' of undefined
    at appendOuterTypeParameters (/home/jeffrey/nbts/build/cluster/nbts-services.js:12322:28)
    at getOuterTypeParametersOfClassOrInterface (/home/jeffrey/nbts/build/cluster/nbts-services.js:12338:20)
    at getTypeParametersOfClassOrInterface (/home/jeffrey/nbts/build/cluster/nbts-services.js:12355:35)
    at appendParentTypeArgumentsAndSymbolName (/home/jeffrey/nbts/build/cluster/nbts-services.js:11386:75)
    at walkSymbol (/home/jeffrey/nbts/build/cluster/nbts-services.js:11418:29)
    at Object.buildSymbolDisplay (/home/jeffrey/nbts/build/cluster/nbts-services.js:11425:21)
    at /home/jeffrey/nbts/build/cluster/nbts-services.js:32608:51
    at mapToDisplayParts (/home/jeffrey/nbts/build/cluster/nbts-services.js:32592:13)
    at Object.symbolToDisplayParts (/home/jeffrey/nbts/build/cluster/nbts-services.js:32607:16)
    at addFullSymbolName (/home/jeffrey/nbts/build/cluster/nbts-services.js:37752:49)

Several other services APIs, including getQuickInfoAtPosition and getOccurrencesAtPosition, also throw the same error when used on that .method call.

duplicate of https://github.com/Microsoft/TypeScript/issues/13014


Fix build of optimized functions with LTO

When building zlib-ng with LTO enabled, at least GCC doesn't respect the flags of each source file and just throws all the flags together. See https://gcc.gnu.org/onlinedocs/gccint/LTO-object-file-layout.html.
Because of this, flags don't get applied correctly to the arch-specific files, leading to problems like #722.
CMake does not allow disabling LTO per source file, so in CMakeLists.txt I just added -fno-lto if the compiler is GCC-like and native mode is not enabled.
For the configure script I wrote the same logic, but using an extra variable in arch/*/Makefile.in.

I tested this patch using sbuild on all supported Debian architectures (amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, and s390x) on stable, testing, unstable, and experimental, both with and without LTO and for static and shared builds.
For all combinations, except mips64el and mipsel on experimental due to dependency breakage, the builds succeed and all tests pass (using qemu-user-static for the non-x86 architectures).

I think this override should perhaps not be active if the user enables Native mode, native is obviously useless for redistribution such as in distros, but it can be useful for those who compile locally and want the (possibly) fastest end result.
When native mode is enabled, all files are compiled with the same flags, essentially enabling all instruction sets the local cpu supports, so that should allow it to work with LTO.

I agree, that's why both in configure and CMakeLists.txt the no lto flag is only defined if native mode is disabled

Hah, indeed it is, I didn't notice that. 👍

It took me a few tries to get that right as well, but I think I did the right way round


COMPAT: MultiPoint/LineString constructor to iterate directly over in put to avoid getitem access

Closes #2122
This avoids the warning if the sequence of points/lines being passed is a pandas series. I didn't add a test that covers the original use case, because that would require pandas and for now we don't have any optional (geo)pandas usage in the tests, which would be good to keep that way.
But I think it is also a valid python code simplification in itself.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 87.857%

Totals

Change from base Build<PHONE_NUMBER>2:
0.3%

Covered Lines:
2612

Relevant Lines:
2973

💛  - Coveralls


How can I solve the Warning: PortfolioItem.getDOMNode(...) is deprecated. Please use ReactDOM.findDOMNode(instance) instead?

Before you create a issue, check it:

Try dev-branch, perhaps the problem has been solved;
Use the search, maybe already have an answer;
If not found, create example on jsbin.com (draft) and describe the problem.

+1

This has been deprecated in react-15... and apps are starting to break. It would be great if this can be addressed immediately.

Please?

See note at https://facebook.github.io/react/docs/component-api.html#getdomnode

Not sure if b6d5fb656730f8a1288440c942a439d1d58e79d2 fixes it

I switched to using this instead of the existing react-mixin https://github.com/RubaXa/Sortable/issues/713#issuecomment-194773631

Quickfix in react-sortable-mixin.js, line 139:
// DOMNode = this.getDOMNode() ? (this.refs[options.ref] || this).getDOMNode() : this.refs[options.ref] || this; DOMNode = ReactDOM.findDOMNode(this);

Thanks @Zmaon 👍.  Don't forget to require ReactDOM for that to work.

Dear all! Meteor is moved to the separate repository. If this issue is still actual, please create it there once again and this rojects needs a maintainer:

ES2015+: https://github.com/SortableJS/react-sortablejs 🆘
mixin: https://github.com/SortableJS/react-mixin-sortablejs


filepath string ? (http.ServeFile())

I'm sometimes in the situation where a library wants a file that is next to my executable and therefore waits for a string parameter to give it the file. I would like to take advantage of pkger. How can I get a filepath string from a pkger file to give it to functions that are waiting for a file with a string?
Example : https://golang.org/pkg/net/http/#ServeFile

If it's for http servefile I had used it like
    file, err := pkger.Open(h.indexPath)
    if err != nil {
        // handle error .....
        return
    }
    http.FileServer(file).ServeHTTP(w, r)

I had an redirect exception with the solution above, I get it work with:

f, err := pkger.Open(entrypoint)
d, err := pkger.Stat(f.Info().Dir)

if err != nil {
    // handle error .....
    return
}

http.ServeContent(w, r, f.Name(), d.ModTime(), f)

I had an redirect exception with the solution above, I get it work with:

f, err := pkger.Open(entrypoint)
d, err := pkger.Stat(f.Info().Dir)

if err != nil {
    // handle error .....
    return
}

http.ServeContent(w, r, f.Name(), d.ModTime(), f)


Guid uri template path/query parameter values should be normalized to string

the std uri template library does not handle guids, and wont because it's not a standard API across languages and they don't want to bring on additional dependencies.
We should normalize the value to string (no curlies) before we pass it to the uri template engine.
Originally reported:
https://github.com/std-uritemplate/std-uritemplate/issues/140
https://github.com/microsoft/kiota/issues/4335

@baywet I believe this is already happening in the abstraction library at https://github.com/microsoft/kiota-abstractions-dotnet/blob/5a93d126e9ce30ae332e65f30df7b941e7d7c265/src/RequestInformation.cs#L128 and this could potentially be closed.
Validated at

https://github.com/microsoft/kiota-abstractions-dotnet/blob/5a93d126e9ce30ae332e65f30df7b941e7d7c265/Microsoft.Kiota.Abstractions.Tests/RequestInformationTests.cs#L196
https://github.com/microsoft/kiota-abstractions-dotnet/blob/5a93d126e9ce30ae332e65f30df7b941e7d7c265/Microsoft.Kiota.Abstractions.Tests/RequestInformationTests.cs#L646

Ah, so we only did that in dotnet... thank you for the pointer. Closing


feat(20786): update the openAPI stubs

See https://hivemq.kanbanize.com/ctrl_board/57/cards/20786/details/
The PR updates the stubs and schemas to the OepnAPI  specs 2024.2. It adds the missing hooks and mockd payload

There is a bug with the OpenAPI version 2024.3, regarding DataPolicyValidator (type is SCHEMA, should be schema according to docs and cookbook)
    DataPolicyValidator:
      type: object
      description: A policy validator which executes the defined validation.
      properties:
        arguments:
          type: object
          description: The required arguments of the referenced validator type.
        type:
          type: string
          description: The type of the validator.
          enum:
          - SCHEMA
      required:
      - arguments
      - type

Problem with the spelling/casing of the SCHEMA enum for the validator. On hold

This PR is deprecated, due to the upgrading of React Query (#405 ) and significant refactoring. Redo the generation once #405 has been merged and cherry-pick the required bits


Roll Engine from 2a9fed87a7c2 to 5e7e5cdc7516 (2 revisions)

https://github.com/flutter/engine/compare/2a9fed87a7c2...5e7e5cdc7516
2020-06-24<EMAIL_ADDRESS>Roll Skia from a3b0b30a78b6 to 92c3b89d2396 (1 revision) (flutter/engine#19262)
2020-06-24<EMAIL_ADDRESS>Roll Skia from 22f246f5ad1d to a3b0b30a78b6 (1 revision) (flutter/engine#19259)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Fix bug

Following up on https://github.com/liveblocks/liveblocks/pull/156#discussion_r860409862, and getting this fixed now first, before the beta lands.

It would be nice to have a unit test for this issue.

Agreed, I should have added that in the first place. Done now in c27581da4982cad5849c676a9f6adc0d649329cd (you can see the test failing there), and then applied the fix in 0d0a2b6765b2d0262b2a60429b9b1177cc844fb, after which you can see the test succeed again!

Forgot to also update the CHANGELOG, now done in b6849ce4496a3cd0a9e89751539d4a014d9fa819.


[Bug]: Proxy / "Make it publicly available" disabling on service restart

Error Message and Logs
No errors, only a bad UX.
Steps to Reproduce

Enable "Make it publicly available" on a running service (in my case, MongoDB).
Restart the service.
See that "Make it publicly available" was disabled.

Example Repository URL
No response
Coolify Version
v4.0.0-beta364
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04
Additional Information
I think something broke somewhere in betas 361–364. The "Make it publicly available" option for the proxy is now resetting whenever a service is restarted. At least it is for MongoDB in my case.
I'm quite certain it remained enabled across restarts previously, and that's the behavior I would expect. (I would also expect the option to enable it even when a service is stopped.)

Still present in beta370.


vctl build can't build large projects.

I cannot build large project, it always says no space left on device, even set --builder-mem 8192, and I tried to enlarge it by --builder-mem 10240, then it gave me an error:
ERROR error trying to run container vctl-builder-1499b092: failed when running container vctl-builder-1499b092: failed to start the container, please review containerd logs: error code:exit status 255, message:2020-06-12T09:16:27.150| ServiceImpl_Opener: PID 50548
Error: The operation was canceled

Seems vctl build will put the whole volume of builder on a RAM disk?

And I can see an vctl-builder persistent storage, but seems builder doesn't use it.

And more, if builder unexpected exit while building, the vm will not stop properly, and if run vctl system stop error message
Stop virtual machine vctl-builder-b7cce09d ...

ERROR failed to run command:/Applications/VMware Fusion.app/Contents/Public/vmrun -T fusion stop /Users/david/.vctl/.r/vms/vctl-builder-b93a0c4d/vctl-builder-b93a0c4d.vmx hard, err:exit status 255  module=libcrx package=vmrun
ERROR failed to stop a sandbox, err:error code:exit status 255, message:Error: The virtual machine is not powered on: /Users/david/.vctl/.r/vms/vctl-builder-b93a0c4d/vctl-builder-b93a0c4d.vmx  module=libcrx package=sandbox
Virtual machine vctl-builder-b93a0c4d is stopped

will be given.

IIRC, the builder is put into memory for performance reasons.
How large is your project?

@mikeroySoft Actually I am writing a compiler with LLVM, LLVM is big you know.

@david9991  Is the base image public so we can have a try ourselves? Or is there similar public image we can access?
vctl does have some config to use the on-disk storage instead of ram, but that may introduce even worse performance impact. So before we try that approach, I'd like to get a hand on the base image and see if there is anything we can take in the ram approach.

@wswfc Sorry I can't give you the base Image, but https://hub.docker.com/r/nwtgck/llvm-clang/tags maybe you can try. It has 9.17G compressed size.

What is the solution for cleaning up the aborted build as described in
https://github.com/VMwareFusion/vctl-docs/issues/22#issuecomment-643042938
ps --all shows nothing, but vctl system stop keeps giving error about a non-existent container that failed to build.

@wswfc I understand that vctl uses a RAM disk for performance reasons and that we can increase this value by specifying --builder-mem which defaults to "4g". My build also requires more space (10g). Is there a way to set the default using the ~/.vctl/config.toml file? Is there a reference for the config? I couldn't find anything in the docs.

@wswfc I understand that vctl uses a RAM disk for performance reasons and that we can increase this value by specifying --builder-mem which defaults to "4g". My build also requires more space (10g). Is there a way to set the default using the ~/.vctl/config.toml file? Is there a reference for the config? I couldn't find anything in the docs.


(BKR-99) - Populate host[:timesync] with host configured value.

If it has been set. Otherwise use global timesync value.
Add spec tests.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2194/
Test PASSed.

:+1:


A question about the runtime of the 2d-3d transform

@una-dinosauria  when I use the time.time() to test the running time of the step function which transform the 2d poses to 3d poses. the outcome  time is more than 100 ms ,which is far more  than  3ms mentioned in your article.
        t1 = time.time() * 1000

        _, _, poses3d = model.step(sess, enc_in, np.zeros_like(dec_out), dp, isTraining=False)

        t2 = time.time() * 1000

I just don't know why ? can you give me some  clue ?

Hi @andyqian2015,
Three things:

The code that you are showing is not measuring time. See https://stackoverflow.com/a/14452178/1884420
We reported time on a batch of 64, and using a fairly advanced GPU (Titan Xp). What hardware do you have?
If you run our code that trains for 1 epochs, it will print the elapsed time per training epoch. How much does that print on your machine? (you may also want to look at that code to see how we are measuring time).

Cheers,

@una-dinosauria thx for your reply. I know exactly the reason why the runtime is so long : getting  data form .h5  has taken almost 200ms.
thx


Forecast Prediction Data Is Different From Graph Data

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog):  <IP_ADDRESS>0302
Visual Studio Version: 2022 (17.1.6)

Describe the bug

On which step of the process did you run into an issue: Forecasting Prediction generates different table and graph
Clear description of the problem:

The data inside the table is different from the data on the graph
here is the table data
starting from this (from row 1)

ends here (row 100)

and this is the graph
(its weird because it ends at row 98 not 100)

The last "Open" value was suppose to be 9310.237, but in the graph it was 6969
To Reproduce
Steps to reproduce the behavior:

Train the model
Evaluate the model

Expected behavior
I expect the data in the table match with the data from the graph. I do not know which prediction is the correct one. Is it the table data or the graph data, because both represents different outcome.
Screenshots
Screenshots are at the links above
Additional context
Here is my data for training
stocks.csv

Graph data should be exactly the one you see in table data, so they should be exactly match,, let me take a closer look


Release request

Would you consider triggering a release to npm which incorporates the updated functionality from Add directUrl #84 so we can use a fixed version?
The latest release was June and this was merged in August. Would be extremely useful as Supabase is moving away from PgBouncer and this is required  - thanks!

Done, let me know if there's any other changes that should be prioritized to work with recent Prisma versions 👍


Bug: not terminate pipeline evaulation

Impact Targte
V0.9.0
v0.10.0
c0.11.0-unstable
Steps
$ ./ydsh -c "cat ./unicode-temp/EastAsianWidth.txt | head"

Problem
pipeline evaluation is not terminated
Note
due to commit in 6f490a2b378aa230f4e5d5b6e1d09e80e16cc498

close in commit 49c3ddbbf1e3782f0b2b8de274cfd22e872dac19


Aggregate Batteries deactivates DC coupled PV feed in

I don't know what I didn't wrong but since a few days DC coupled feed in gets deactivated as soon as the batterie has reached its max voltage. What did I wrong?

Hello, it is a protection of the cells, is activated only in case of danger, see the readme. I hope it is clear enough, if not, please ask what exactly you don't understand.

I want to feed in DC produced energy. But it always gets deactivated. What has that to do with the battery. As soon as the voltage is at its max load (18S 62,1V) I want to feed in the energy

And it worked since weeks but now I might have changed something and it doesn't work anymore

I see now your settings, they are not correct. All voltages are the same. You should set up as follows:
Charge voltage: 80-90% SoC, to prolong battery live
Balancing voltage 100% SoC
Max. cell voltage: Balancing voltage + some margin, e.g. 30...50mV
If at least one cells exceeds Max. cell voltage (you are about losing the control about the cell voltage), DC feed MUST be de-activated. If the DC feed is active, Victron de-activates the CCL.

I begun to write my code last winter, I had just few 100W from the DC coupled PV and some kW from AC-coupled Fronius, so I didn't see the problem, even the cells were new and not well balanced. Few months later, if one cell was full and the voltage begun to peak, the dynamic CVL begun terribly unstable (caused BMS cut-off) because the CCL could not be reduced with active DC-feed. This is a Victron ESS feature, is described in the ESS manual.

now it works, thank you very much. However, I have another problem that you might be able to help me with and I've had it for a while. As soon as the balance voltage is switched to the charge voltage, the Victrons discharge the batteries to 61.2V at full power. Is there any way to prevent this from being actively discharged into the net at full power?

Just to clarify, charge voltage is 61,2 (3,4V per cell) balance voltage is 62,1 (3,45V per cell)

It is now the case that as soon as the set voltage is reached and is fed in, the power constantly fluctuates between approx. 300w charging and then 300w discharging again. the battery never goes to rest, is that normal? There is a constant fluctuation between charging and discharging

I might have found the problem but ill have to wait till tomorrow

adding to that thread. as i observed the same Problem and identified an issue in the aggregatebatteries.py
Line 599 and 600 must be indented to be in the If condition. otherwise the self._DCfeedActive  will be overwritten with false and never reactivated again this is due to the fact that even if self._dynamicCVL is activated the loop might run multiple times into the condition where MaxCellVoltage >= MAX_CELL_VOLTAGE. this then sets self._DCfeedActive to 0/false.
i tested this on my system.
        if MaxCellVoltage >= MAX_CELL_VOLTAGE:
            if not self._dynamicCVL:
                self._dynamicCVL = True
                logging.info('%s: Dynamic CVL reduction started.'  % (dt.now()).strftime('%c'))

            self._DCfeedActive = self._dbusMon.dbusmon.get_value('com.victronenergy.settings', '/Settings/CGwacs/OvervoltageFeedIn')    # check if DC-feed enabled
            self._dbusMon.dbusmon.set_value('com.victronenergy.settings', '/Settings/CGwacs/OvervoltageFeedIn', 0)                      # disable DC-coupled PV feed-in
            MaxChargeVoltage = min((min(chargeVoltageReduced_list)), ChargeVoltageBattery)                                              # avoid exceeding MAX_CELL_VOLTAGE
            #self._ownCharge = InstalledCapacity

Thanks, I've just corrected and commited.

that was fast :-) thanks


remove lambdas and method references for 1.7 compat

If you're interested.   Probable needs to be heavily tested. Relied on eclipse quick fix for most cases to remove lambdas and ref methods.

Wow, those anonymous inner classes add a bit of verbosity :-)
I'm okay with this, if it makes the package more broadly useful. As far as I can tell, this should be fully compatible with our current version, correct?
@80dB any thoughts?

Might need to revisit the /lib path change I made.  I removed it playing around, but it might be needed on run.

Thank you 👍

Wow, those anonymous inner classes add a bit of verbosity :-)

Retrolambda can be used to still write with lambdas, but being able to use on older java

Yes I started using it yesterday.  It doesn't work for the method references that serilogj uses, so I had to end up rewriting those into Map.entry iterations.

@mjnorman indeed, it don't provide polyfill for missing default methods.
By the way, performancewise foreach would be more preferable, anyway.

@Mart-Bogdan could you elaborate on your comment for default methods and how that applies to the seqsink code below?
https://github.com/serilogj/serilogj/blob/e8ff5c3f72ce85b31c316ceadd52dc3b32924429/src/serilogj/sinks/seq/SeqSink.java#L119

@mjnorman
forEach is default method in Iterable
    default void forEach(Consumer<? super T> action) {
        Objects.requireNonNull(action);
        for (T t : this) {
            action.accept(t);
        }
    }

As I recall there were lots of discussins on retrolambda thread regarding default methods and other stuff not available on previous JDKs, but I didn't tracked this issues.
I haven't used retrolambda for few years, as I stooped working with andriod and using Java8 on servers.

I think, yes, forEach and streams can be rewritten, but things like java-time should be maneged in other way
As I see:
serilog-core  without java time
serilog-jdk6 with thre-ten backport
serilog-jdk8 with java-time api
and later two packages would add writers dynamicaly, or something like that.
That's quite big refacroeing.
P.S. descpaimer I was using serilog on .Net. On java world I'm using JBoss type safe logging, so hust curios about serilogj, but not using it.

actually that could also be done by tricl of conditional class loading, which android using often
try{
Class.forName(".....");
//do stuff that use java time
} catch (ClassNotFoundException ...) {
...
}

parhaps store in static final boolean variable result of getting java time api
or use JDK version for probing


minimalcss takes into account css from iframe

Fixes #206

I don't know if it's good enough to check that the domains are different. If you have a page like:
<body>
  <iframe src="/page.html"></iframe>
</body>

this test would "fail". But how likely is that??


ag -l executed from cron shows no results

If I write a script with ag in it to find which files have "foo" in them:
#!/bin/sh
ag -l foo ~/src/the_silver_searcher

and run that from a shell /home/richq/checkag.sh > /tmp/checkag.log 2>&1 then I get results as expected in the /tmp/checkag.log file:
/home/richq/src/the_silver_searcher/src/options.c
/home/richq/src/the_silver_searcher/tests/empty_match.t

etc. But if I run this exact line from a cron job it doesn't output any results. This used to work - a script I have in my crontab stopped working when I updated ag recently from 0.29 to the latest release.
I git-bisected the problem down to commit df5d456 Fix --count functionality to work with --nofilename. Indeed if I add --vimgrep to the ag command line it spits out results again from the cron job. I'm running Arch Linux, bash shell, cron is cronie 1.5.0. To reproduce the problem I had this line in my crontab to run the test script every minute and monitor the results:
* * * * *       /home/richq/checkag.sh > /tmp/checkag.log 2>&1

As I say, ag -l works fine from the command line, and that cron-line works too when run interactively.
Debugging a bit, I found that the reason for this is that in src/options.c, around line 316 it checks S_ISFIFO on stdin, and apparently when run from cron this returns 1, it is a pipe. This sets opts.search_stream to 1 even though we aren't really searching a stream, just that stdin is not there as the shell isn't interactive. Then around line 669 it sets opts.print_path = PATH_PRINT_NOTHING since it is in search_stream mode, which later on filters out the path printing as seen in the "regression" bisection. I am not sure what the fix is for this though, probably the pipe/file/stdin detection needs tweaking (technical term, heh).

I'm running into this problem too

@fiddlerwoaroof that flag is effectively --vimgrep, which is what I use for now when running ag from a crontab.

Same problem here when running it from a non-interactive ansible script.

Adding . also works to disable stdin pipe auto-detection: foo | ag [--OPTS] PATTERN .

Peeking at the code, this was supposed got fixed by #58.  This issue is 3 years newer than that fix, but I just tested master, so I think this can be closed.
Only when you don't specify any paths to search, ISPIPE check determines stdin vs current directory.

I just experienced a similar problem - adding a path did not fix it, but using --vimgrep worked.
I can reproduce it by using entr -r, which closes stdin as well:
# the first ag -l is just to give entr something to work with
# the second ag -l is important

# shows no files
ag -l | entr -r ag -l

# shows no files
ag -l | entr -r ag -l .

# this works
ag -l | entr -r ag -l --vimgrep

ag --version

ag version 2.2.0

Features:
  +jit +lzma +zlib

I don't think this is fixed.


SCANOSS - Snippet Scanning - Throws 400 Bad Request

ORT throws 400 http error when configured SCANOSS as scanner.
Reproduce steps:

https://github.com/jshttp/mime-types (clone and generate a analyzer-result.yml)
config.yml :
scanner:
options:
ScanOss:
apiUrl: 'https://osskb.org/api/'
start scan.

Output;
15:39:13.956 [main] INFO  org.ossreviewtoolkit.plugins.scanners.scanoss.ScanOss - The SCANOSS API URL is https://osskb.org/api/.
15:39:14.165 [main] INFO  org.ossreviewtoolkit.plugins.scanners.scanoss.ScanOss - The SCANOSS API URL is https://osskb.org/api/.
Scanning projects with:
SCANOSS (version 1.1.6)
Scanning packages with:
SCANOSS (version 1.1.6)
....
Error:
Exception in thread "main" retrofit2.HttpException: HTTP 400
at retrofit2.KotlinExtensions$await$2$2.onResponse(KotlinExtensions.kt:53)
at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:161)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
It seems something has changed on ScanOss Api and ORT needs to be aligned.
Could you please help ?
Thanks.

Any hint what changed in the SCANOSS API, @eeisegn?

Note that https://docs.osskb.org/#/scan/scandirect also returns the undocumented TypeError: NetworkError when attempting to fetch resource for me.

Hi Sebastian,
First of all, apologies for the delayed response. The scanning API has not undergone any changes. However, we came across an erroneous requirement in the server while running the SCANOSS client from ORT. It seems that the line https://github.com/oss-review-toolkit/ort/blob/deec91b27c24d517c6caab3ff7e8b42a1c9a4a5e/plugins/scanners/scanoss/src/main/kotlin/ScanOss.kt#L106 is receiving the same value for both the field name and the value.
As a result, we have performed a code review and renamed the form field to "file," which resolved the issue. Tomorrow, you will receive a pull request with these changes.
If you have any questions or concerns, please feel free to reach out. Thank you for your understanding.
Best regards,
Quique

As a result, we have performed a code review and renamed the form field to "file," which resolved the issue. Tomorrow, you will receive a pull request with these changes.

Thanks a lot @scanoss-qg for taking the time to look at our client code, and even be willing to contribute a fix! That's highly appreciated! Looking forward to that PR 😸


WIP Upgrade to Rails 5.2

The main benefit for us is support for PostgreSQL 10, apart from the Hash#slice issue the upgrade was really smooth this time.
The commits are a bit out of order because I started by replacing spring with bootsnap, did not have time to finish testing it and then Rails 5.2 came around 😃
Upgrade Rails to 5.2 and adjust configuration to new defaults

Replace spring with bootsnap
bootsnap will come as a default with rails 5.2, while it is not as fast as spring (it "only" speeds up loading files) it removes the headaches spring sometimes causes.

Fix HttpStatusAgent case insensitive header lookup
Ruby 2.5 added the Hash#slice method which allowed Rails 5.2 to not apply it's ActiveSupport core extension. Because the Ruby implementation is done in C it does not call the [] method which is overridden by Faraday::Utils::Headers to achieve case insensitive
header look ups.
By calling the Faraday::Utils::Headers#[] directly we keep the case insensitive lookup.

Does not boot in production due to a bootsnap and delayed_job_active_record incompatibility.

Fixed

I still have some projects at work that cannot easily be upgraded from 5.1. 😭

That is annoying, are dependencies holding you back? I was pretty lucky with the latest 5.2 and 5.1 upgrades, most of the work was fixing specs, a few deprecation warnings and maybe allowing the new rails version in dependencies.

I have been running this for some time and did not find any issues.


Update Blazor components limitations

Update Blazor components limitations.
Closes #15657
Note: in known issues we have now:

cannot generate - this means component supports the feature, but it is not generated, e.g. divider in card.
does not support - this means component does not support this feature, e.g. date picker in dialog mode.

The table with supported components has no place in the Generate App topic (hint: it's valid for code preview too..) and same goes for the Platform/Framework switch info.

Having a separate Blazot support topic was a marketing request in order to stress on it.
I agree, we should think of a way to restructure the docs a bit. @damyanpetev @ig-georgeA lets discuss that on the Scrum today
Example:

@wnvko you can skip the structural changes and apply other comments and we will merge this PR.


v0.4.0 version bump including documentation update and variable rename

Updates the version for the publish method options and includes CHANGELOG and README updates.  Also change variable name to be more consistent with the rest of the library api.

Coverage remained the same at 100.0% when pulling 1ccc81869b351fac052b9fac2d7cc507b61de95b on v0.4.0 into 9651b556eefe923252a26120abaf625eb0580d3d on master.