Installer script dosnt write --memory

Heyy all
i install the Splunk-Otel-Collector with the installer script inside a Ansible Rolle with the following args:
- name: Run Installer script
  become: yes
  command: >
    sudo sh /home/ec2-user/splunk-otel-collector.sh
    --realm eu0
    -- lT_xxxxxxxxxxxx
    --without-fluentd
    --collector-version 0.33.0
    --memory 3686
    --ballast 1500
    --mode gateway

This results in following configuration:

cat /etc/otel/collector/splunk-otel-collector.conf

SPLUNK_CONFIG=/etc/otel/collector/gateway_config.yaml
SPLUNK_ACCESS_TOKEN=lT_xxxxxxxxxx
SPLUNK_REALM=eu0
SPLUNK_API_URL=https://api.eu0.signalfx.com
SPLUNK_INGEST_URL=https://ingest.eu0.signalfx.com
SPLUNK_TRACE_URL=https://ingest.eu0.signalfx.com/v2/trace
SPLUNK_HEC_URL=https://ingest.eu0.signalfx.com/v1/log
SPLUNK_HEC_TOKEN=lT_xxxxxxxxxxx
SPLUNK_BALLAST_SIZE_MIB=1500
SPLUNK_BUNDLE_DIR=/usr/lib/splunk-otel-collector/agent-bundle
SPLUNK_COLLECTD_DIR=/usr/lib/splunk-otel-collector/agent-bundle/run/collectd

in the gateway_config-yaml, however, the variable ${SPLUNK_MEMORY_LIMIT_MIB} is used but not set.
  memory_limiter:
    check_interval: 2s
    limit_mib: ${SPLUNK_MEMORY_LIMIT_MIB}

there is no value to be found in the environment variables either.
Is this a known Issue or is this intentional?
Best regards Achim

Additional information:
if the variable is not available, the process cannot be started.
now i add the SPLUNK_MEMORY_TOTAL_MIB=3686 manualy to the config and so i can start the Process.
This is now my cinfig:
SPLUNK_CONFIG=/etc/otel/collector/gateway_config.yaml
SPLUNK_ACCESS_TOKEN=lT_xxxxxxxxxx
SPLUNK_REALM=eu0
SPLUNK_API_URL=https://api.eu0.signalfx.com
SPLUNK_INGEST_URL=https://ingest.eu0.signalfx.com
SPLUNK_TRACE_URL=https://ingest.eu0.signalfx.com/v2/trace
SPLUNK_HEC_URL=https://ingest.eu0.signalfx.com/v1/log
SPLUNK_HEC_TOKEN=lT_xxxxxxxxxx
SPLUNK_BALLAST_SIZE_MIB=1500
SPLUNK_BUNDLE_DIR=/usr/lib/splunk-otel-collector/agent-bundle
SPLUNK_COLLECTD_DIR=/usr/lib/splunk-otel-collector/agent-bundle/run/collectd
SPLUNK_MEMORY_TOTAL_MIB=3686


Build errors on Windows 10/AMD64/MSYS2

Problem
Can't build on Windows 10, AMD64/x86_64, with MSYS2 and latest versions of SDL2/go-sdl2:
> go build .
# github.com/veandco/go-sdl2/sdl
..\..\..\go\pkg\mod\github.com\veandco\go-sdl2@v0.4.11\sdl\render.go:1191:97: cannot use _color (type *_Ctype_int) as type *_Ctype_struct_SDL_Color in assignment
..\..\..\go\pkg\mod\github.com\veandco\go-sdl2@v0.4.11\sdl\video.go:1084:60: cannot use _size (type *_Ctype_ulong) as type *_Ctype_ulonglong in assignment

Possible solution
The latter problem seems to stem from a difference between this platform and others, but can likely be resolved for all platforms by simply using the correct target type in the cast (based upon the signature of SDL_GetWindowICCProfile):
/* replace this */
	_size := (*C.ulong)(unsafe.Pointer(&size))
/* with this */
	_size := (*C.size_t)(unsafe.Pointer(&size))

I can suggest a fix for the first problem but I don't understand the assumptions behind the Go signature vs. the C signature of SDL_RenderGeometryRaw. The C signature takes a pointer to SDL_Color struct while the Go signature takes a slice of int32. The end result is size-compatible (4 bytes either way) but why use int32 when the library has a Color struct which is size-compatible also?
Anyway, the suggested fix without changing function signature would be:
/* replace this */
	_color := (*C.int)(&color[0])
/* with this */
	_color := (*C.SDL_Color)(unsafe.Pointer(&color[0]))

This also helps with platform independence since there was another assumption here that C int is always 32 bits (true on most platforms nowadays, but not guaranteed).
I can submit a PR with these fixes if desired.
Versions
> ver
Microsoft Windows [Version 10.0.19043.1466]

> go list -m github.com/veandco/go-sdl2
github.com/veandco/go-sdl2 v0.4.11

> go version
go version go1.17.6 windows/amd64

$ pacman -Q | grep SDL2
mingw-w64-x86_64-SDL2 2.0.20-1
mingw-w64-x86_64-SDL2_gfx 1.0.4-1
mingw-w64-x86_64-SDL2_image 2.0.5-2
mingw-w64-x86_64-SDL2_mixer 2.0.4-5
mingw-w64-x86_64-SDL2_ttf 2.0.18-1

$ pacman -Q | grep gcc
gcc-libs 11.2.0-3
mingw-w64-x86_64-gcc 11.2.0-6
mingw-w64-x86_64-gcc-libs 11.2.0-6

I'm seeing the same problem when trying to install on macOS big sur (v11.6.2):
../../go/pkg/mod/github.com/veandco/go-sdl2@v0.4.11/sdl/render.go:1191:97: cannot use _color (type *_Ctype_int) as type *_Ctype_struct_SDL_Color in assignment

and also
../../go/pkg/mod/github.com/veandco/go-sdl2@v0.4.10/ttf/sdl_ttf.go:85:32: cannot use _Ctype_int(val) (type _Ctype_int) as type _Ctype_SDL_bool in argument to _Cfunc_TTF_ByteSwappedUNICODE

Same, I am able to reproduce on macOS.
FWIW a workaround that worked for me was to downgrade to v0.4.9.
Reproduction details below:
My Environment
OS: macOS Big Sur 11.2.3
Device: MacBook Pro (M1)
$ go version
go version go1.17.6 darwin/arm64

$ brew ls sdl2
/opt/homebrew/Cellar/sdl2/2.0.20/bin/sdl2-config
/opt/homebrew/Cellar/sdl2/2.0.20/include/SDL2/ (77 files)
/opt/homebrew/Cellar/sdl2/2.0.20/lib/libSDL2-2.0.0.dylib
/opt/homebrew/Cellar/sdl2/2.0.20/lib/cmake/ (2 files)
/opt/homebrew/Cellar/sdl2/2.0.20/lib/pkgconfig/sdl2.pc
/opt/homebrew/Cellar/sdl2/2.0.20/lib/ (4 other files)
/opt/homebrew/Cellar/sdl2/2.0.20/share/aclocal/sdl2.m4

What am I running?
In a go module:
$ go get<EMAIL_ADDRESS># Also ran:
$ go get<EMAIL_ADDRESS>
What do I expect?
go get succeeds
What do I see instead?
# github.com/veandco/go-sdl2/sdl
../../go/pkg/mod/github.com/veandco/go-sdl2@v0.5.0-alpha.2/sdl/render.go:1223:97: cannot use _color (type *_Ctype_int) as type *_Ctype_struct_SDL_Color in assignment
exit 2

I tried downgrading to v0.4.9 and that produced a different problem:
> go build .
# github.com/veandco/go-sdl2/ttf
..\..\..\go\pkg\mod\github.com\veandco\go-sdl2@v0.4.10\ttf\sdl_ttf.go:85:32: cannot use _Ctype_int(val) (type _Ctype_int) as type _Ctype_SDL_bool in argument to _Cfunc_TTF_ByteSwappedUNICODE

Ditto for v0.4.10. I was able to resolve that issue by also downgrading SDL2_ttf to 2.0.15 (the version I was using previously).

Oh dear.. sorry for that. I tried the build using go-sdl2 v0.4.11 and SDL2-2.0.18 in Fedora Linux 35 and macOS Monterey and they worked for me. I will try to reproduce these issues if I am able and fix these hopefully by tomorrow.

Ahh, I wasn't aware that there were new releases. It seems like SDL2 2.0.20 and SDL2_ttf 2.0.18 contained breaking API changes. I have made the fixes to v0.4.12. Hopefully, the issues are fixed!


HHVM support ?

Since I saw #352 I was asking myself why there is still a HHVM support since they planned to drop PHP support in late 2019 ?
see https://hhvm.com/blog/2018/09/12/end-of-php-support-future-of-hack.html for more information

We will continue to support HHVM 3.X, just like we suuport PHP 5.X.


Breaking change - resource id seems to have changed for Azure SQL Administrators

Using Pulumi version 2.16.0 with Pulumi.Azure 3.40.0
It seems the resource id for SQL AD administrators has changed, which breaks pulumi refresh operations
The previous format was:
/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers/<sqlServerName>/activeDirectory/administrator
And the documentation specifies
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Sql/servers/myserver/administrators/activeDirectory
When attempting a refresh, this error is thrown:
error: Preview failed: refreshing urn:pulumi:<stackname>::<projectName>::azure:sql/activeDirectoryAdministrator:ActiveDirectoryAdministrator::<resourceName>: ID was missing the administrators element

From the git history, it doesn't appear this ID has changed in some time. What provider version are you upgrading from that you're seeing this?

v3.33.2 I believe, we try to keep it up to date within a few days of a new version being released. The resource would have been imported somewhere around v3.24.0
I've had a bit of a closer look and our other stacks don't appear to be affected. I suspect I know how it got into that state which is that stack was the only one where that resource already existed, and was imported using the activeDirectory/administrator path for the ID. The others were created directly via Pulumi.
I've since deleted the resource from the stack and reimported it with the correct resource path, but if there's multiple ways of importing resources that may still be an issue.

Thanks for clarifying the situation. The import ID you mention is interesting. I don't think there's any ID validation except from trying to perform the read against the resource at import time. Looking at the code though, I'm also not sure how this was possible as the read for this resource seems to always have used administrators (https://github.com/simongh/terraform-provider-azurerm/blame/a02d35a7638a972455b9f8ff268cbe43a0455cd4/azurerm/resource_arm_sql_administrator.go#L102)
Any chance you happen to have the way you successfully imported this w/the incorrect ID available?

Sure, going back to the earliest point I can find in our git history for that resource it was imported using the following (redacted information where necessary)
            new Pulumi.Azure.Sql.ActiveDirectoryAdministratorArgs()
            {
                ResourceGroupName = resourceGroupName,
                TenantId = <tenantId>,
                ObjectId = <objectId>,
                ServerName = sqlServer.Name,
                Login = "SQL Admins"
            },
            new CustomResourceOptions
            {
                ImportId = $"/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers/<sqlServerName>/activeDirectory/administrator"
            });

Small update, it turns out we have one other stack that has the same type of resource imported in the same way. A refresh was working fine on that, but I've just done a pulumi up for some unrelated appservice changes, and now running a pulumi refresh gives the same error.
When running a refresh does it use the provider version from when pulumi up was last run? If so, that might explain why it wasn't erroring until just now, even though the project was updated to a newer version

If it helps, here's a redacted version of what is in the stack whilst the failure is present:
    "urn": "urn:pulumi:<stackName>::<projectName>::azure:sql/activeDirectoryAdministrator:ActiveDirectoryAdministrator::sql-ad-admin",
    "custom": true,
    "id": "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers/<sqlServerName>/activeDirectory/administrator",
    "type": "azure:sql/activeDirectoryAdministrator:ActiveDirectoryAdministrator",
    "inputs": {
        "__defaults": [],
        "login": "SQL Admins",
        "objectId": "<objectId>",
        "resourceGroupName": "<resourceGroupName>",
        "serverName": "<sqlServerName>",
        "tenantId": "<tenantId>"
    },
    "outputs": {
        "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":1800000000000,\"delete\":1800000000000,\"read\":300000000000,\"update\":1800000000000}}",
        "id": "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Sql/servers/<sqlServerName>/activeDirectory/administrator",
        "login": "SQL Admins",
        "objectId": "<objectId>",
        "resourceGroupName": "<resourceGroupName>",
        "serverName": "<sqlServerName>",
        "tenantId": "<tenantId>"
    },
    "parent": "urn:pulumi:<stackName>::<projectName>::pulumi:pulumi:Stack::<projectName>-<stackName>",
    "provider": "urn:pulumi:<stackName>::<projectName>::pulumi:providers:azure::default_3_40_0::f9986ce1-1ad4-4ce2-93b0-70791d710a22",
    "propertyDependencies": {
        "login": null,
        "objectId": null,
        "resourceGroupName": null,
        "serverName": null,
        "tenantId": null
    }
},

pulumi refresh will use the provider version specified in the state file (i.e. the version of the plugin last used). So yes, that would explain why you're now getting the errors. Unfortunately, I'm not sure of a 'clean' way to fix this except to modify the state files to reflect the correct ID.

Yeah, I've since removed the resources from the state and reimported them under the new path, but I guess the issue remains that you can even import it like that in the first place. I imagine there might be other people with a similar issue.
Unless that's now changed and is no longer possible?

Sorry for the slow reply here. I don't think this is possible any longer, so I'll go ahead and close this issue. Apologies for the inconvenience this has caused.

Sorry for the slow reply here. I don't think this is possible any longer, so I'll go ahead and close this issue. Apologies for the inconvenience this has caused.


CropImageActivity stuck on loading after choosing image from image picker.

I am using CropImage.activity()                 .setGuidelines(CropImageView.Guidelines.ON)                 .start(this); but it gets stuck in the crop activity after I choose the image. Is that a bug or something?

can you reproduce the issue in the sample app?

I'm facing the same problem.
This is how I initialize the cropper:
CropImage.activity()
.setGuidelines(CropImageView.Guidelines.ON)
.setRequestedSize(DEFAULT_GROUPPIC_SIZE, DEFAULT_GROUPPIC_SIZE, CropImageView.RequestSizeOptions.RESIZE_INSIDE)
.setBackgroundColor(context.getResources().getColor(R.color.colorBlackOpacity50))
.setCropShape(CropImageView.CropShape.RECTANGLE)
.setBorderLineColor(context.getResources().getColor(R.color.colorPrimary))
.setGuidelinesColor(context.getResources().getColor(R.color.colorAccent))
.setFixAspectRatio(true)
.setAspectRatio(1,1)
.setBorderLineColor(context.getResources().getColor(R.color.colorPrimary))
.start(this);

This is the stack that works:
MainActivity > Activity 1 > Cropper.
This is the stack that doesn't work:
MainActivity > Activity 1 > Activity 2 > Cropper.
It take the photo on the camera, but when it cames to the cropping function, it keeps loading.

This is my onActivityResult:
    @Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        if (requestCode == CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE) {
            CropImage.ActivityResult result = CropImage.getActivityResult(data);
            if (resultCode == RESULT_OK) {
                Uri resultUri = result.getUri();
                ...
            } else if (resultCode == CropImage.CROP_IMAGE_ACTIVITY_RESULT_ERROR_CODE) {
                Exception error = result.getError();
                Log.e(TAG, "onActivityResult: " + error);
            }
        }
    }

But it doesn't arrive on the onActivityResult. I've seen the logcat and no error is shown there.

This is the only logs that I have (from the moment I start the CropImage.activity()) :
08-30 19:08:06.341 1546-2013/? I/ActivityManager: START u0 {cmp=com.apitadorv2.app/com.theartofdev.edmodo.cropper.CropImageActivity (has extras)} from uid 10094 on display 0
08-30 19:08:06.444 6695-7399/com.apitadorv2.app D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=CreateGroupActivity, firebase_previous_id(_pi)=-8435086739872438876, firebase_screen_class(_sc)=CropImageActivity, firebase_screen_id(_si)=-8435086739872438872}]
08-30 19:08:06.555 3852-7401/? V/FA-SVC: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=CreateGroupActivity, firebase_previous_id(_pi)=-8435086739872438876, firebase_screen_class(_sc)=CropImageActivity, firebase_screen_id(_si)=-8435086739872438872}]
08-30 19:08:06.570 3852-7401/? V/FA-SVC: Event recorded: Event{appId='com.apitadorv2.app', name='screen_view(_vs)', params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=CreateGroupActivity, firebase_previous_id(_pi)=-8435086739872438876, firebase_screen_class(_sc)=CropImageActivity, firebase_screen_id(_si)=-8435086739872438872}]}
08-30 19:08:09.328 6025-7427/? I/CAM_OneCamCreator: Picture Size Configuration: PictureSizeCalculator.Configuration{native size=640x480, crop=Rect(0, 0 - 640, 480)}
08-30 19:08:09.732 1546-1566/? I/WindowManager: Destroying surface Surface(name=com.apitadorv2.app/com.theartofdev.edmodo.cropper.CropImageActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.WindowStateAnimator.finishExit:565 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:427 com.android.server.wm.WindowAnimator.updateAppWindowsLocked:176 com.android.server.wm.WindowAnimator.animateLocked:678

@ArthurHub if you need more information, let me know, please.

How can I reproduce the "MainActivity > Activity 1 > Activity 2 > Cropper" flow?

Same happens with me in one plus 3t phone.Doesn't happen in any other phone(I haven't tested lot pf other phones.- tested with xiaomi mi 3,moto 3g n many other phones)

Same happens to me here using elephone p8000 to run my apps.. though i have not yet tried other phones via running d app.
This is how it happens to me...
It allows me to pick Image... After picking the image as it tries loading thecropImage activity, it crash

Happens to me on a Redmi Note 3 =(

To fix this issue, edit CropImageView.java at line 958.
Where you see:

Thanks for replying. I really appreciate...  But pls can u be a little bit specific like telling us the actual method that the above code can be found or the particular version of the library which you used... Because line 958 is else if statement that is there...  Thanks

I was able to solve mine...  Just add to your app dependence
compile 'com.android.support:exifinterface:26.+'
Make sure your comileSdkVersion is 26 if you are to use 26.+

I was able to solve mine... Just add to your app dependence
`compile 'com.android.support:exifinterface:26.+'
Make sure your compileSdkVersion is 26 if you are to use 26.+

I was able to solve mine... Just add to your app dependence
compile 'com.android.support:exifinterface:26.+
Make sure your comileSdkVersion is 26 if you are to use 26.+

added executor fix in 2.5.1


has() Method Throws Exception Rather than Returning False

Calling has() with an invalid file name is resulting in a S3Exception:
Error executing "HeadObject" on "https://s3.amazonaws.com/[bucket-name]/[file-name]";
AWS HTTP error: Client error: 403 (client): 403 Forbidden (Request-ID:[hex value])

Sample line of code (taken from a Laravel 5.1 Project)
use Illuminate\Contracts\Filesystem\Cloud;

class S3Controller extends Controller
{
    protected $fs;

    public function __construct(Cloud $fs)
    {
        $this->fs = $fs;
    }
    public function getResource()
    {
        var_dump($this->fs->getDriver()->has('index.html')); // true
        var_dump($this->fs->getDriver()->has('index.htmll')); // Exception; expected false
    }
}

@bbatsche which version of the adapter have you got installed? I thought this was fixed recently.

Requirement in composer.json is "league/flysystem-aws-s3-v3": "~1.0". Version in composer.lock is 1.0.3. I saw issue #13 which does look very similar, but seems to be focussed on just 404 errors. I'm getting a 403 (for a resource that is missing so that just seems wrong, but that's more Amazon's issue).

@bbatsche it seems correct that this is throwing an exception then. This probably requires actions which flysystem can't provide. Have you looked into the reason of the 403 more?

Similar issue happens in my local homestead development while my app running on Linode works fine.
After checking S3 permission, checked out old version, etc., this problem disappear when I restart homestead.
homestead halt
homestead up --provision

It looks like this was somehow related to my user's policies in AWS. Even thought I'd assigned what I thought were all the necessary read actions manually, going back and using Amazon's prebaked AmazonS3ReadOnlyAccess policy seems to have fixed this. For the record, here are the policies I created; any guidance on what I'd missed would be appreciated.
{
    "Effect": "Allow",
    "Action": [
        "s3:GetBucketWebsite",
        "s3:GetObject",
        "s3:GetObjectAcl",
        "s3:GetObjectTorrent",
        "s3:GetObjectVersion",
        "s3:GetObjectVersionAcl",
        "s3:GetObjectVersionTorrent",
        "s3:ListBucket"
    ],
    "Resource": [
        "arn:aws:s3:::bucket-name",
        "arn:aws:s3:::bucket-name/*"
    ]
}

Regardless I'm going to close the issue as this is clearly my own error, not y'all's.
PS - Lord I hate Amazon's policy system.

@bbatsche thanks for coming back and closing the issue :+1:


[stable/postgresql] Allow connection details to be set as global

IGNORE: This is the correct one: https://github.com/helm/charts/pull/11360

Merge issue

This is the correct one https://github.com/helm/charts/pull/11360


Update SPL so uprating can be done on a variable basis

update lower_earnings_amount
update rate_maternity_allowance
update rate_of_paternity_pay
update rate_of_shpp
update rate totals

This currently takes the latest known amount for unknown year

LGTM :+1:
I can merge once QA is done with preview :)


Unable to resolve module lodash/mege in styles/getTheme.js

I am trying to use react-native-material-ui in a new react-native project build with ignite but I get the following error:

I checked the getTheme.js file and it tries to import 'lodash/merge' yet this is not in dependencies.  I also tried the solutions proposed below but none worked.

I've just move lodash to peerDependencies in last version. Do you have a<EMAIL_ADDRESS>?

In v1.2.5 should be everything ok. Let me know otherwise please :)


sst_importer: fix bug that cause tikv panic when ingest sst file

What problem does this PR solve?
Problem Summary:
Fix the bug that in some case, TiKV can't restart successfully due to ingesting sst file error
See https://github.com/pingcap/tidb-lightning/issues/488 for more details.
What is changed and how it works?
What's Changed:

Check file on disk and in key manager separately because in some case, there are remain key info in key manager
Sync the file and directory after copy sst file to the clone directory

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test

The new added fail-point tests will fail stably before this pr.

No code

Side effects
Release note

No Release Note

/run-all-tests

LGTM

/run-integration-common-test

/run-test

/run-all-tests

/merge


Bug: iOS Dark Mode

Time category https://its-pro.ucsd.edu/browse/MA-78
Campus mobile app, scan feature.
The "Please scan a test kit" label in iOS dark mode is displayed in white color. Hard to see against a white background.
Either:

Disable dark mode
Have text be black against white on dark mode

merged into experimental-v2: 377925c120a3a0889e2f0d2a0fa48014f9e54797

Verified and deployed


Make latejoining not hardcoded to presets

Made DisallowLateJoin a get&set property in GamePreset with a default value of false.

Hi Zumorica,
By adding an 'admin command', does that mean adding an IClientCommand to GameTickerCommands.cs?

Hi Zumorica,
By adding an 'admin command', does that mean adding an IClientCommand to GameTickerCommands.cs?

Pretty much!


Feature/group header sub title

Description
Fixes #...
Notes (out of scope, known isues, hints for reviewing code, ...)  (optional)
...
Test cases

[ ] Case 1:

Given I am the usual user
When I go to [this page](branch link)
And I click on ...
Then I see ...
And

[ ] Case 2:

Given I am the usual user
When ...

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/group-header-sub-title/playwright-report/index.html

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/group-header-sub-title/playwright-report/index.html

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/group-header-sub-title/playwright-report/index.html

Also there is case when delete group is failed and the test group is left. For now I have only idea to create one more test for check and cleanup test groups are left as they have common pattern ex. E2E-1727444716909

Looks good, the problem is that you need to make sure you do not delete the groups which are tested currently by another process. Possibly you have to start the group id by a date (eg. E2E-240930-44716909) and do not delete those with the date of today.

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/group-header-sub-title/playwright-report/index.html

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/feature/group-header-sub-title/playwright-report/index.html


[Bug]: Cannot import {UploadButton} from "@uploadthing/react"

What happened?
Cannot find module '@uploadthing/react' or its corresponding type declarations.
Version: 3.0.4
What did you expect to happen?
I should have been able to import the UploadButton component as per official docs.
Version
3.0.4
Reproduction Steps
No response
Reproduction Repository
No response
Relevant log output
No response
Code of Conduct

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

Do you have the codebase public? Restart the typescript server if you haven't already

Nevermind. Restarting the IDE seem to have fixed the issue.


Fixing travis build

fixed the build to run unit test of bitcoinj as it make no sense to not run test: we need to detect that their master is broken
Note that we don't use our branch of bitcoinj for building libdohj

"Note that we don't use our branch of bitcoinj for building libdohj":
Not sure what you mean.
In the pom we use the version (<IP_ADDRESS>) created from our branch:

org.bitcoinj
bitcoinj-core
<IP_ADDRESS>


File System settings

AS A user
I WANT to pass file system configuration at file system creation (i.e. FileSystems.newFileSystem())
SO THAT I can set the run time behaviour of the file system
NOTES:

we can use aws.region, aws.accessKey and aws.accessKeySecret for region and credentials
we could introduce aws.protocol = http/https to specify which protocol to use for endpoint different than QWS S3
we could introduce aws.endpoint to specify the endpoint to use if not otherwise given
properties passed to newFileSystem() overwrites environment variables and system properties
properties passed to newFileSystem() are overwritten by the values provided in URIs

@markjschreiber can you please provide feedback on the notes above?

Thanks, this helps. There is only one bullet I am not sure I have got it right. bullet 2. URIs to access a bucket even in the case of an endpoint would be something like:
s3://endpoint.somewhere.com/bucket
The scheme/protocol is going to to be s3 anyway.  Are you suggesting we should use s3://https://endpoint.somewhere.com/bucket ? This would probably not be parsed as a URI.

Can you give an example of an endpoint that you are wanting to process where you need to determine the protocol?

Thanks, this helps. There is only one bullet I am not sure I have got it right. bullet 2. URIs to access a bucket even in the case of an endpoint would be something like:
s3://endpoint.somewhere.com/bucket
The scheme/protocol is going to to be s3 anyway. Are you suggesting we should use s3://https://endpoint.somewhere.com/bucket ? This would probably not be parsed as a URI.

Does it make more sense to keep endpoint as a separate parameter?
For example, configuring an environment variable like this:
S3_SPI_ENDPOINT=https://endpoint.somewhere.com/

Then, just go ahead and use the URI s3://bucket/.
If you needed to use HTTP rather than HTTPS, then that would be configurable in a consistent way with other S3 tooling. Of course, using HTTPS is recommended. :)

This is similar to AWS CLI where you can set the endpoint separately using a CLI option:
aws s3 --endpoint-url https://endpoint.somewhere.com ls s3://bucket/

Or Apache Hadoop's S3A connector using a system property:
bin/hadoop fs -D fs.s3a.endpoint=https://endpoint.somewhere.com -ls s3a://bucket/

Agree, I think endpoint is separate to the s3 bucket URI

Ok, I'll go with a separate parameter.

The name of the property is going to be s3.spi.endpoint


WIP: Add {From,To}HttpApiData instances for Iso8601Range.

Issue Number
#466
Overview
:construction: Work in Progress
I have:

[x] Added {From,To}Text instances for Iso8601Range.
[x] Added roundtrip tests for {From,To}Text instances for Iso8601Range.
[ ] Added set of positive and negative tests for {From,To}Text instances for Iso8601Range.
[x] Added {From,To}HttpApiData instances for Iso8601Range.

@jonathanknowles is this ready for final review ? :-)

@jonathanknowles is this ready for final review ? :-)
some tests still missing, right?

Nearly ready! Will let you know when finished.


12 hw

Homework 12 done

MOVED TO NEW PULL REQUEST:
https://github.com/verovkin/robot_dreams/pull/10


Research Accessibility standards

Guidelines - Quick Reference
Test

[ ] run test
[ ] make list of changes to make based on test

[ ] image tags for readability


How do you add Basic Authentication to your swagger documentation page?

version using: 1.1.0
With Swashbuckle, how do you add basic authentication to your swagger documentation page?
How do you update the ui to accept username and password? (like attached pic)

Thanks @wdspider!
For my particular needs I went with ApiKeyScheme:
services.AddSwaggerGen(c =>
{
...
c.AddSecurityDefinition("Bearer", new ApiKeyScheme() { In = "header", Description = "Please insert JWT with Bearer into field", Name = "Authorization", Type = "apiKey" });
});

Hi
I have a little authorization tool for Swashbuckle and Bearer token.
https://github.com/janmohammadi/swashbuckle-authorize

Thank you very much!

@janmohammadi @wdspider

Hi
I have a little authorization tool for Swashbuckle and Bearer token.
https://github.com/janmohammadi/swashbuckle-authorize

Not sure why this JS dint worked for me ..


consider if JDK 9+ --release flag obviates animal sniffer

from @shakuzen

Also, I know we use animalsniffer, but upgrading to JDK9+ presents the opportunity to use the new release compiler arg instead, where the compiler can enforce that Java API is not used beyond the specified version. This doesn't need to happen in this pull request, though.
ref: http://openjdk.java.net/jeps/247

Someone can try this and see if it works, or if it requires some hard to setup things like libraries containing 1.6 apis and things.

I don't think this can work in our situation.
The release compiler argument is specified like this:
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>${maven-compiler-plugin.version}</version>
          <inherited>true</inherited>
          <configuration>
            <fork>true</fork>
            <showWarnings>true</showWarnings>
            <release>6</release>
          </configuration>
        </plugin>

It will refuse to compile sources that are not compliant to jdk1.6.
What we actually currently do is specify compiler target 1.8 and then retrofit it down to 1.6.
So if we specify 6 our sources will not compile, but if we specify 8 to make it compile we're not actually validating anymore that the result is still jdk6 compatible.
See https://github.com/jorgheymans/zipkin/tree/javac--release-compiler-arg for an attempt at this.

What we actually currently do is specify compiler target 1.8 and then retrofit it down to 1.6.

Thank you for trying this out. I must have forgot that we do some retro conversions of things like lambdas.

Tried, but no.


Use GMT for timestamp format

This changes our date serialization to
use an IMF-fixdate timestamp in headers for the rest serializers.
RFC 7231 describes the preferred date-time format in HTTP messages as an
IMF-fixdate timestamp. This timestamp format is a subset of the format
described in RFC 5322 except the format always used a fixed timezone offset of
"GMT". S3 also uses this timestamp format in their documentation and in the
response headers they return.
cc @kyleknap @danielgtaylor

Coverage decreased (-0.15%) to 93.96% when pulling 1f0c9099f19f49e4d1c416ef3076aca597f8a10b on jamesls:use-gmt-date-format into 8fc520f625955ecee29d4aa70f33f7ba49961b1c on boto:develop.

LGTM :+1:

Coverage remained the same at 94.11% when pulling e02b4bf0616f54c26e878004513dffe160614ebc on jamesls:use-gmt-date-format into 8fc520f625955ecee29d4aa70f33f7ba49961b1c on boto:develop.

:ship:


additional failure logged with robot.errors.ExecutionFailures when running .robot tests

ermm actually this isnt fixed when nested in multiple keywords (or something)


Add license.

What
Use the same license as https://github.com/stellar/rs-soroban-sdk/blob/main/LICENSE
Why
Because it's important to have a license.
Known limitations
N/A

It's in the Cargo.toml:
https://github.com/stellar/rs-stellar-rpc-client/blob/44306d96722a4166dae28c5b445aa70aeb2e27de/Cargo.toml#L7


update mastercard gradient

Too much orange and interferes with the logo colors

I would agree with @gilbarbara here. After browsing through mastercard's brand guidelines, although they don't specify a standard background, their logomark requirements recommend either a dark or light background. I would use a (light) white to (light) grey gradient similar to the one in effect for diner's club.

References:

https://brand.mastercard.com/brandcenter/mastercard-brand-mark.html
https://www.mastercard.us/en-us/consumers/find-card-products/debit-cards.html


Ui kitten for web

Hello team,
I know you are focus  on android an IOS support, but do you think make a version of ui kitten for the web?
thanks for your answer.

I don't really think so. Remember kitten is developed by Akveo team, and they already have some wonderful web tools. I'm not in their team, though. It's not an official answer

Hello @Gi972 and @MarAvFe.
Yes, we are not plan to move somehow our kitten to web mostly because react-native and react are a bit different things.
If you need UI frameworks - take a look at our Nebular framework

@malashkevich i try to use react-native-web to load kitten, but it give me that

@geminiyellow, unfortunately, we don't support react-native-web.
But if you can submit PR to support it - it would be great!

woo, thank you  @malashkevich

Hey,
Just want to say this lib can work with React-Native-Web
Probably not all compos but at least some of them seems to work
You can see a demo here: https://gatsby-rnw-uikits.netlify.com/uiKittens
Note: you have to configure webpack to transpile ui-kittens source. Also, ui kittens expose some comps with only .ios.js and .android.js extension. In such case it would be helpful to provide a .web.js extension as well, even if it's just an alias for the android or the ios version. I'd recommend aliasing the web version to a version that do not use any native widget.
I successfully exposed RkSwitch.android.js in my example, had to add to webpack resolution extensions to support .android.js as well, which is not ideal

@slorber would you mind to provide steps to use UIKittens in react-native-web project? im using typescript template.

@hmheng you can go through these steps.

@akveo thank you so much :D

@slorber and anyone other interested in - we fully support react-native-web starting from v4.1 👍

is it possible not to use webpack? but using metro?

@hmheng we don't rely on a webpack. We use it in a playground module just because we use Expo. The final configuration depends on your project needs

@artyorsh , hmmm.... do you have any idea for the error that I faced above? the code looks fine to me.. but it just throws error :(

it can be compiled on android. but not web... can it be due to transpile issue?

Interested in this too, love how things look on the react native app I'm building and would love to use the UI components within a chrome extension I'm building :)


ASP.NET Core 3.0 Preview SDK not available in Visual Studio dropdown when creating new 3.0 project

Hi,
I have just installed the latest production and preview SDKs:
.NET Core 2.2
.NET Core 3.0.0-preview-27122-01
Along side those I have also installed Visual Studio 2019 Preview 1.
I went to create my first ASP.NET Core 3.0 Razor Pages project using Visual Studio 2019 Preview 1.
In the project creation dialog I was expecting to be able to choose ASP.NET Core 3.0 from the dropdown of available ASP.NET Core frameworks, but the only option in the dropdown is ASP.NET Core 2.2 as shown below:

Is this a bug, or do I have to target using the ASP.NET Core 3.0 framework using a global.json file ?

I have the same question.  Did you find the answer anywhere else?

same stiation. jsut aspnet core 2.1 exists in the dropdown.  this is a bug ????


How to use in my own plugin?

How to use in my own plugin?
thanks

Hello,
See below to use validation in your plugin.
I did not test below code, let me know if it works.
class User extends Model
{
    use \October\Rain\Database\Traits\Validation;
    use Acte\PasswordPolicy\Models\Settings as PasswordPolicySettings;

     public $length = PasswordPolicySettings::get('backend.length');
     public $upperCase = PasswordPolicySettings::get('backend.upperCase');
     public $lowerCase = PasswordPolicySettings::get('backend.lowerCase');
     public $numbers = PasswordPolicySettings::get('backend.numbers');
     public $specialChar = PasswordPolicySettings::get('backend.specialChar');
     public $isPwnedEnabled = PasswordPolicySettings::get('backend. pwned');

    public $rules = [
        'name'                  => 'required|between:4,16',
        'email'                 => 'required|email',
        'password'          => "required:create|between:4,255|min_upper_case:$upperCase|min_lower_case:$lowerCase|min:$length|min_number:$numbers|min_special_char:$specialChar|pwned|confirmed",
        'password_confirmation' => "required_with:password"
    ];
}


Transformer generates unrelated sentences to the input

Hello,
I am trying to use the transformer in a sentence simplification dataset. Training seems to run without problems, but at generation time the hypotheses sentences do not make any sense. I was wondering if you could help me with figuring out what I am doing wrong.
I tried to follow this example that you provide for translation using the transformer.
1. Pre-processing:
The dataset I am using for training contains aligned sentences such as this pair:

Original: In Holland they were called Stadspijpers , in Germany Stadtpfeifer and in Italy Pifferi .
Simplified: They were called Stadtpfeifer in Germany and Pifferi in Italy .

Since the sentences in the dataset are already tokenised, for pre-processing I only lowercased all sentences and learned/applied BPE using the following script:
src=orig
tgt=simp
prep=data/wikilarge/prep
tmp=$prep/tmp
orig=data/wikilarge

mkdir -p $prep $tmp

for d in train dev test; do
    for l in $src $tgt; do
        perl $LC < $orig/wikilarge.$d.$l > $tmp/wikilarge.$d.low.$l
    done
done

TRAIN=$tmp/train.wikilarge
BPE_CODE=$prep/code
rm -f $TRAIN
for l in $src $tgt; do
    cat $tmp/wikilarge.train.low.$l >> $TRAIN
done

python $BPEROOT/learn_bpe.py -s $BPE_TOKENS < $TRAIN > $BPE_CODE

for L in $src $tgt; do
    for d in train dev test; do
        echo "apply_bpe.py to wikilarge.${d}.low.${L}..."
        python $BPEROOT/apply_bpe.py -c $BPE_CODE < $tmp/wikilarge.$d.low.$L > $prep/$d.$L
    done
done

Then I proceeded to binary the dataset:
TEXT=data/wikilarge/prep
fairseq-preprocess --source-lang orig --target-lang simp \
  --trainpref $TEXT/train --validpref $TEXT/dev --testpref $TEXT/test \
  --destdir data/wikilarge/bin/

2. Training
For training, I used the same command as in the example provided. I am aware that I'd need to adapt the parameters to suit the dataset, but I thought it was a good starting point.
mkdir -p models/wikilarge/transformer/checkpoints/
CUDA_VISIBLE_DEVICES=0 fairseq-train data/wikilarge/bin \
  -a transformer --optimizer adam --lr 0.0005 -s orig -t simp \
  --label-smoothing 0.1 --dropout 0.3 --max-tokens 4000 \
  --min-lr '1e-09' --lr-scheduler inverse_sqrt --weight-decay 0.0001 \
  --criterion label_smoothed_cross_entropy --max-update 50000 \
  --warmup-updates 4000 --warmup-init-lr '1e-07' \
  --adam-betas '(0.9, 0.98)' --save-dir models/wikilarge/transformer/checkpoints/

3. Generation
As in  the example, I executed the following commands:
# Average 10 latest checkpoints:
python scripts/average_checkpoints.py --inputs models/wikilarge/transformer/checkpoints \
   --num-epoch-checkpoints 10 --output models/wikilarge/transformer/checkpoints/model.pt

# Generate
fairseq-generate data/wikilarge/bin \
  --path models/wikilarge/transformer/checkpoints/model.pt \
  --batch-size 128 --beam 5 --remove-bpe

Most output sentences I get are like this:
S-124   the two former presidents were later separately charged with mutiny and treason for their roles in the 1979 coup and the 1980 gwangju massacre .
T-124   the two former presidents were later charged , each on their own , with mutiny and treason for their roles in the 1979 coup and the 1980 gwangju massacre .
H-124   -1.1352218389511108     he was the first woman to win the tour de france .
P-124   -2.4326 -1.1815 -1.0359 -1.1694 -1.9666 -0.0793 -2.0569 -0.5309 -2.4636 -0.2983 -0.0907 -1.3463 -0.1060
S-258   a town may be correctly described as a market town or as having market rights even if it no longer holds a market , provided the right to do so still exists .
T-258   a town may be correctly identified by a market or as having market rights even if it no longer holds a market , provided the right to do so still exists .
H-258   -0.9187995195388794     this is a list of people who live in the city .
P-258   -3.2003 -0.9018 -1.4129 -0.1210 -0.0787 -1.7663 -0.2098 -1.9090 -0.2615 -0.8027 -0.7472 -0.4241 -0.1091

As can be seen, the generated H sentences make no sense as they are not related at all with the corresponding input.
Am I doing something wrong at training or generation time that causes this? Maybe I am not understanding the parameters properly?
I hope this is the right place to ask this type of question. Thank you.

Skimming your provided code it looks alright. Does the model training look stable? Is the perplexity decreasing? If you decode on the training set instead of on test/valid, the model can produce the target sentences?

In addition to @huihuifan's suggestions, can you also double-check that your $TEXT/train.orig and $TEXT/train.simp have the same number of lines and that they are properly aligned?
I also noticed that you did not control the vocabulary size when running preprocess, you might try setting fairseq-preprocess --nwordssrc $BPE_CODE --nwordstgt $BPE_CODE (...)

Thank you for your quick replies.

The perplexity IS decreasing:

| model transformer, criterion LabelSmoothedCrossEntropyCriterion
| num. model params: 59748352 (num. trained: 59748352)
| training on 1 GPUs
| max tokens per GPU = 4000 and max sentences per GPU = None
| no existing checkpoint found models/wikilarge/transformer/checkpoints/checkpoint_last.pt
| epoch 001:   1000 / 2737 loss=10.638, nll_loss=10.191, ppl=1169.35, wps=12889, ups=4.8, wpb=2611, bsz=109, num_updates=1001, lr=0.0001252, gnorm=2.391, clip=0%, oom=0, wall=207, train_wall=193
| epoch 001:   2000 / 2737 loss=9.936, nll_loss=9.378, ppl=665.34, wps=12548, ups=4.8, wpb=2584, bsz=108, num_updates=2001, lr=0.000250175, gnorm=1.961, clip=0%, oom=0, wall=416, train_wall=391
| epoch 001 | loss 9.623 | nll_loss 9.013 | ppl 516.48 | wps 12445 | ups 4.8 | wpb 2578 | bsz 108 | num_updates 2737 | lr 0.000342157 | gnorm 1.779 | clip 0% | oom 0 | wall 571 | train_wall 538
| epoch 001 | valid on 'valid' subset | valid_loss 8.52098 | valid_nll_loss 7.68015 | valid_ppl 205.10 | num_updates 2737
| epoch 002:   1000 / 2737 loss=8.433, nll_loss=7.627, ppl=197.74, wps=11899, ups=4.6, wpb=2522, bsz=106, num_updates=3738, lr=0.000467257, gnorm=1.141, clip=0%, oom=0, wall=787, train_wall=738
| epoch 002:   2000 / 2737 loss=8.249, nll_loss=7.416, ppl=170.74, wps=11942, ups=4.6, wpb=2557, bsz=108, num_updates=4738, lr=0.000459412, gnorm=1.087, clip=0%, oom=0, wall=1003, train_wall=942
| epoch 002 | loss 8.132 | nll_loss 7.280 | ppl 155.45 | wps 11998 | ups 4.6 | wpb 2578 | bsz 108 | num_updates 5474 | lr 0.000427413 | gnorm 1.055 | clip 0% | oom 0 | wall 1163 | train_wall 1093
| epoch 002 | valid on 'valid' subset | valid_loss 7.65196 | valid_nll_loss 6.66805 | valid_ppl 101.69 | num_updates 5474 | best 7.65196
| epoch 003:   1000 / 2737 loss=7.568, nll_loss=6.633, ppl=99.22, wps=11839, ups=4.4, wpb=2531, bsz=108, num_updates=6475, lr=0.000392989, gnorm=0.987, clip=0%, oom=0, wall=1389, train_wall=1295
| epoch 003:   2000 / 2737 loss=7.493, nll_loss=6.546, ppl=93.44, wps=12108, ups=4.6, wpb=2571, bsz=108, num_updates=7475, lr=0.000365758, gnorm=0.973, clip=0%, oom=0, wall=1600, train_wall=1494
| epoch 003 | loss 7.422 | nll_loss 6.464 | ppl 88.30 | wps 12164 | ups 4.6 | wpb 2578 | bsz 108 | num_updates 8211 | lr 0.000348981 | gnorm 0.974 | clip 0% | oom 0 | wall 1755 | train_wall 1640
| epoch 003 | valid on 'valid' subset | valid_loss 7.14075 | valid_nll_loss 6.06695 | valid_ppl 67.04 | num_updates 8211 | best 7.14075
| epoch 004:   1000 / 2737 loss=7.097, nll_loss=6.089, ppl=68.06, wps=12301, ups=4.5, wpb=2579, bsz=108, num_updates=9212, lr=0.000329475, gnorm=1.008, clip=0%, oom=0, wall=1978, train_wall=1838
| epoch 004:   2000 / 2737 loss=7.053, nll_loss=6.037, ppl=65.68, wps=12269, ups=4.6, wpb=2576, bsz=108, num_updates=10212, lr=0.000312928, gnorm=1.015, clip=0%, oom=0, wall=2188, train_wall=2035
| epoch 004 | loss 7.017 | nll_loss 5.996 | ppl 63.82 | wps 12238 | ups 4.6 | wpb 2578 | bsz 108 | num_updates 10948 | lr 0.000302227 | gnorm 1.018 | clip 0% | oom 0 | wall 2344 | train_wall 2182
| epoch 004 | valid on 'valid' subset | valid_loss 6.8459 | valid_nll_loss 5.71993 | valid_ppl 52.71 | num_updates 10948 | best 6.8459
| epoch 005:   1000 / 2737 loss=6.801, nll_loss=5.746, ppl=53.68, wps=11845, ups=4.4, wpb=2526, bsz=107, num_updates=11949, lr=0.000289291, gnorm=1.072, clip=0%, oom=0, wall=2571, train_wall=2382
| epoch 005:   2000 / 2737 loss=6.771, nll_loss=5.711, ppl=52.38, wps=12056, ups=4.5, wpb=2574, bsz=108, num_updates=12949, lr=0.000277896, gnorm=1.065, clip=0%, oom=0, wall=2785, train_wall=2582
| epoch 005 | loss 6.758 | nll_loss 5.696 | ppl 51.84 | wps 12105 | ups 4.6 | wpb 2578 | bsz 108 | num_updates 13685 | lr 0.00027032 | gnorm 1.071 | clip 0% | oom 0 | wall 2940 | train_wall 2728
| epoch 005 | valid on 'valid' subset | valid_loss 6.72075 | valid_nll_loss 5.56908 | valid_ppl 47.47 | num_updates 13685 | best 6.72075
| epoch 006:   1000 / 2737 loss=6.579, nll_loss=5.488, ppl=44.88, wps=12265, ups=4.4, wpb=2598, bsz=108, num_updates=14686, lr=0.000260945, gnorm=1.080, clip=0%, oom=0, wall=3165, train_wall=2929
| epoch 006:   2000 / 2737 loss=6.576, nll_loss=5.484, ppl=44.76, wps=12589, ups=4.7, wpb=2589, bsz=109, num_updates=15686, lr=0.00025249, gnorm=1.105, clip=0%, oom=0, wall=3365, train_wall=3120
| epoch 006 | loss 6.576 | nll_loss 5.485 | ppl 44.78 | wps 12643 | ups 4.8 | wpb 2578 | bsz 108 | num_updates 16422 | lr 0.000246767 | gnorm 1.117 | clip 0% | oom 0 | wall 3511 | train_wall 3260
| epoch 006 | valid on 'valid' subset | valid_loss 6.58137 | valid_nll_loss 5.40499 | valid_ppl 42.37 | num_updates 16422 | best 6.58137
| epoch 007:   1000 / 2737 loss=6.450, nll_loss=5.339, ppl=40.47, wps=12743, ups=4.7, wpb=2559, bsz=108, num_updates=17423, lr=0.000239573, gnorm=1.163, clip=0%, oom=0, wall=3726, train_wall=3452
| epoch 007:   2000 / 2737 loss=6.450, nll_loss=5.338, ppl=40.46, wps=12840, ups=4.8, wpb=2574, bsz=109, num_updates=18423, lr=0.000232981, gnorm=1.160, clip=0%, oom=0, wall=3926, train_wall=3644
| epoch 007 | loss 6.440 | nll_loss 5.326 | ppl 40.10 | wps 12861 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 19159 | lr 0.000228462 | gnorm 1.166 | clip 0% | oom 0 | wall 4073 | train_wall 3785
| epoch 007 | valid on 'valid' subset | valid_loss 6.48309 | valid_nll_loss 5.2846 | valid_ppl 38.98 | num_updates 19159 | best 6.48309
| epoch 008:   1000 / 2737 loss=6.306, nll_loss=5.172, ppl=36.04, wps=12870, ups=4.7, wpb=2587, bsz=109, num_updates=20160, lr=0.000222718, gnorm=1.180, clip=0%, oom=0, wall=4288, train_wall=3977
| epoch 008:   2000 / 2737 loss=6.322, nll_loss=5.188, ppl=36.47, wps=12877, ups=4.8, wpb=2585, bsz=109, num_updates=21160, lr=0.000217391, gnorm=1.190, clip=0%, oom=0, wall=4488, train_wall=4169
| epoch 008 | loss 6.326 | nll_loss 5.193 | ppl 36.58 | wps 12876 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 21896 | lr 0.000213706 | gnorm 1.201 | clip 0% | oom 0 | wall 4634 | train_wall 4309
| epoch 008 | valid on 'valid' subset | valid_loss 6.43844 | valid_nll_loss 5.23288 | valid_ppl 37.61 | num_updates 21896 | best 6.43844
| epoch 009:   1000 / 2737 loss=6.220, nll_loss=5.070, ppl=33.60, wps=12800, ups=4.7, wpb=2568, bsz=108, num_updates=22897, lr=0.000208983, gnorm=1.242, clip=0%, oom=0, wall=4847, train_wall=4501
| epoch 009:   2000 / 2737 loss=6.234, nll_loss=5.086, ppl=33.96, wps=12811, ups=4.8, wpb=2571, bsz=108, num_updates=23897, lr=0.000204564, gnorm=1.242, clip=0%, oom=0, wall=5048, train_wall=4693
| epoch 009 | loss 6.233 | nll_loss 5.085 | ppl 33.94 | wps 12857 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 24633 | lr 0.000201484 | gnorm 1.241 | clip 0% | oom 0 | wall 5195 | train_wall 4834
| epoch 009 | valid on 'valid' subset | valid_loss 6.37204 | valid_nll_loss 5.14732 | valid_ppl 35.44 | num_updates 24633 | best 6.37204
| epoch 010:   1000 / 2737 loss=6.144, nll_loss=4.982, ppl=31.61, wps=12673, ups=4.7, wpb=2534, bsz=106, num_updates=25634, lr=0.000197511, gnorm=1.279, clip=0%, oom=0, wall=5408, train_wall=5026
| epoch 010:   2000 / 2737 loss=6.146, nll_loss=4.983, ppl=31.62, wps=12814, ups=4.8, wpb=2570, bsz=107, num_updates=26634, lr=0.000193768, gnorm=1.267, clip=0%, oom=0, wall=5609, train_wall=5218
| epoch 010 | loss 6.153 | nll_loss 4.991 | ppl 31.80 | wps 12846 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 27370 | lr 0.000191145 | gnorm 1.275 | clip 0% | oom 0 | wall 5757 | train_wall 5360
| epoch 010 | valid on 'valid' subset | valid_loss 6.34336 | valid_nll_loss 5.11528 | valid_ppl 34.66 | num_updates 27370 | best 6.34336
| epoch 011:   1000 / 2737 loss=6.064, nll_loss=4.888, ppl=29.62, wps=12740, ups=4.7, wpb=2549, bsz=106, num_updates=28371, lr=0.000187743, gnorm=1.309, clip=0%, oom=0, wall=5970, train_wall=5551
| epoch 011:   2000 / 2737 loss=6.078, nll_loss=4.903, ppl=29.93, wps=12829, ups=4.8, wpb=2577, bsz=108, num_updates=29371, lr=0.000184519, gnorm=1.313, clip=0%, oom=0, wall=6171, train_wall=5744
| epoch 011 | loss 6.085 | nll_loss 4.911 | ppl 30.09 | wps 12840 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 30107 | lr 0.000182249 | gnorm 1.310 | clip 0% | oom 0 | wall 6319 | train_wall 5885
| epoch 011 | valid on 'valid' subset | valid_loss 6.29881 | valid_nll_loss 5.06415 | valid_ppl 33.45 | num_updates 30107 | best 6.29881
| epoch 012:   1000 / 2737 loss=6.017, nll_loss=4.832, ppl=28.48, wps=12836, ups=4.7, wpb=2587, bsz=108, num_updates=31108, lr=0.000179293, gnorm=1.317, clip=0%, oom=0, wall=6533, train_wall=6079
| epoch 012:   2000 / 2737 loss=6.022, nll_loss=4.838, ppl=28.60, wps=12854, ups=4.8, wpb=2583, bsz=108, num_updates=32108, lr=0.000176479, gnorm=1.341, clip=0%, oom=0, wall=6733, train_wall=6270
| epoch 012 | loss 6.021 | nll_loss 4.837 | ppl 28.58 | wps 12834 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 32844 | lr 0.000174491 | gnorm 1.342 | clip 0% | oom 0 | wall 6881 | train_wall 6411
| epoch 012 | valid on 'valid' subset | valid_loss 6.2966 | valid_nll_loss 5.05321 | valid_ppl 33.20 | num_updates 32844 | best 6.2966
| epoch 013:   1000 / 2737 loss=5.943, nll_loss=4.747, ppl=26.85, wps=12613, ups=4.6, wpb=2562, bsz=111, num_updates=33845, lr=0.000171891, gnorm=1.368, clip=0%, oom=0, wall=7097, train_wall=6605
| epoch 013:   2000 / 2737 loss=5.959, nll_loss=4.764, ppl=27.17, wps=12500, ups=4.7, wpb=2553, bsz=109, num_updates=34845, lr=0.000169406, gnorm=1.384, clip=0%, oom=0, wall=7303, train_wall=6800
| epoch 013 | loss 5.968 | nll_loss 4.775 | ppl 27.38 | wps 12650 | ups 4.8 | wpb 2578 | bsz 108 | num_updates 35581 | lr 0.000167645 | gnorm 1.373 | clip 0% | oom 0 | wall 7452 | train_wall 6942
| epoch 013 | valid on 'valid' subset | valid_loss 6.28413 | valid_nll_loss 5.03823 | valid_ppl 32.86 | num_updates 35581 | best 6.28413
| epoch 014:   1000 / 2737 loss=5.885, nll_loss=4.678, ppl=25.61, wps=12695, ups=4.6, wpb=2607, bsz=108, num_updates=36582, lr=0.000165336, gnorm=1.369, clip=0%, oom=0, wall=7671, train_wall=7137
| epoch 014:   2000 / 2737 loss=5.898, nll_loss=4.693, ppl=25.86, wps=12745, ups=4.8, wpb=2593, bsz=109, num_updates=37582, lr=0.000163121, gnorm=1.420, clip=0%, oom=0, wall=7873, train_wall=7330
| epoch 014 | loss 5.915 | nll_loss 4.712 | ppl 26.21 | wps 12747 | ups 4.8 | wpb 2578 | bsz 108 | num_updates 38318 | lr 0.000161547 | gnorm 1.426 | clip 0% | oom 0 | wall 8019 | train_wall 7470
| epoch 014 | valid on 'valid' subset | valid_loss 6.24927 | valid_nll_loss 5.00439 | valid_ppl 32.10 | num_updates 38318 | best 6.24927
| epoch 015:   1000 / 2737 loss=5.843, nll_loss=4.630, ppl=24.76, wps=12640, ups=4.7, wpb=2544, bsz=109, num_updates=39319, lr=0.000159477, gnorm=1.425, clip=0%, oom=0, wall=8233, train_wall=7663
| epoch 015:   2000 / 2737 loss=5.859, nll_loss=4.648, ppl=25.07, wps=12776, ups=4.8, wpb=2566, bsz=109, num_updates=40319, lr=0.000157487, gnorm=1.433, clip=0%, oom=0, wall=8434, train_wall=7855
| epoch 015 | loss 5.872 | nll_loss 4.662 | ppl 25.32 | wps 12843 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 41055 | lr 0.000156069 | gnorm 1.437 | clip 0% | oom 0 | wall 8581 | train_wall 7996
| epoch 015 | valid on 'valid' subset | valid_loss 6.25129 | valid_nll_loss 5.00187 | valid_ppl 32.04 | num_updates 41055 | best 6.24927
| epoch 016:   1000 / 2737 loss=5.805, nll_loss=4.586, ppl=24.01, wps=12739, ups=4.8, wpb=2542, bsz=110, num_updates=42056, lr=0.000154201, gnorm=1.476, clip=0%, oom=0, wall=8788, train_wall=8187
| epoch 016:   2000 / 2737 loss=5.820, nll_loss=4.602, ppl=24.28, wps=13033, ups=5.0, wpb=2569, bsz=109, num_updates=43056, lr=0.000152399, gnorm=1.470, clip=0%, oom=0, wall=8982, train_wall=8373
| epoch 016 | loss 5.830 | nll_loss 4.613 | ppl 24.47 | wps 13040 | ups 5.0 | wpb 2578 | bsz 108 | num_updates 43792 | lr 0.000151113 | gnorm 1.464 | clip 0% | oom 0 | wall 9129 | train_wall 8514
| epoch 016 | valid on 'valid' subset | valid_loss 6.23814 | valid_nll_loss 4.9816 | valid_ppl 31.59 | num_updates 43792 | best 6.23814
| epoch 017:   1000 / 2737 loss=5.774, nll_loss=4.548, ppl=23.40, wps=12709, ups=4.7, wpb=2550, bsz=106, num_updates=44793, lr=0.000149415, gnorm=1.486, clip=0%, oom=0, wall=9343, train_wall=8706
| epoch 017:   2000 / 2737 loss=5.787, nll_loss=4.563, ppl=23.65, wps=12796, ups=4.8, wpb=2570, bsz=108, num_updates=45793, lr=0.000147775, gnorm=1.486, clip=0%, oom=0, wall=9544, train_wall=8898
| epoch 017 | loss 5.789 | nll_loss 4.566 | ppl 23.68 | wps 12825 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 46529 | lr 0.000146601 | gnorm 1.493 | clip 0% | oom 0 | wall 9692 | train_wall 9040
| epoch 017 | valid on 'valid' subset | valid_loss 6.23362 | valid_nll_loss 4.97762 | valid_ppl 31.51 | num_updates 46529 | best 6.23362
| epoch 018:   1000 / 2737 loss=5.704, nll_loss=4.469, ppl=22.14, wps=12795, ups=4.7, wpb=2575, bsz=108, num_updates=47530, lr=0.000145049, gnorm=1.505, clip=0%, oom=0, wall=9905, train_wall=9233
| epoch 018:   2000 / 2737 loss=5.740, nll_loss=4.509, ppl=22.76, wps=12805, ups=4.8, wpb=2576, bsz=108, num_updates=48530, lr=0.000143547, gnorm=1.517, clip=0%, oom=0, wall=10106, train_wall=9426
| epoch 018 | loss 5.754 | nll_loss 4.525 | ppl 23.02 | wps 12844 | ups 4.9 | wpb 2578 | bsz 108 | num_updates 49266 | lr 0.000142471 | gnorm 1.529 | clip 0% | oom 0 | wall 10253 | train_wall 9566
| epoch 018 | valid on 'valid' subset | valid_loss 6.20331 | valid_nll_loss 4.94124 | valid_ppl 30.72 | num_updates 49266 | best 6.20331
| epoch 019 | loss 5.671 | nll_loss 4.430 | ppl 21.55 | wps 12874 | ups 4.6 | wpb 2592 | bsz 110 | num_updates 50000 | lr 0.000141421 | gnorm 1.534 | clip 0% | oom 0 | wall 10413 | train_wall 9707
| epoch 019 | valid on 'valid' subset | valid_loss 6.22494 | valid_nll_loss 4.96167 | valid_ppl 31.16 | num_updates 50000 | best 6.20331
| done training in 10417.7 seconds

No, the model generates completely unrelated sentences, too. What could be the cause of this?

The files have the same number of lines and are properly aligned.

I will try the last suggestion given by @myleott and I'll let you know what happens.

@myleott  Sorry, I don't I quite understand what you mean by setting fairseq-preprocess --nwordssrc $BPE_CODE --nwordstgt $BPE_CODE.  --nwordssrc and --nwordstgt are integer parameters, and $BPE_CODE is a file. Do you mean so set the values of those parameters as the number of lines in the code file?

Yep, I meant the number of codes. Also, that perplexity is quite high. For translation problem we usually get perplexities ~4-5, so I suspect the model is not well trained.

I see. I'll start changing the parameters and see what happens. Any suggestion on where to start would be welcome.
This paper uses the transformer (tensor2tensor) for the same data, so I'll start by trying to use their same configuration in fairseq.

I would try increasing words per batch. Since you're training on 1 GPU, try setting --update-freq 8, which will make the batch size 8 times bigger (and simulates training on 8 GPUs).

@myleott I'm using fairseq for summarization. You said that ppl 4~5 is considered to be good for translation. Mine was decreasing to ppl 14.83 on epoch 14 and then increasing to 21.73 up until epoch 45. Is it something natural?


LeftOuter JOIN, Crash caused by right table having no value.

Hi,
When we connect two table by LEFT OUTER JOIN, if some record in left table has value, but no referring value in the right table, the record will be like:

E.LastName
E.DepartmentID
D.DepartmentName
D.DepartmentID

Jasper
34
null
null

So now, if I want to get the D.DepartmentName
row.get(D[DepartmentName])

I will get a crash, because we default think the column mush has a value.
public func get<V: Value>(column: Expression<V>) -> V {
        return get(Expression<V?>(column))!
    }

Is it a bug or I used the wrong way with LeftOuter JOIN? Thanks.

Did anyone meet this issue?

Sorry, I think I know how to do it, I should use:
row.get(D[Expression<String?>("DepartmentName")])

By this way, we can get the null value without crash.


.net Sample app not working

[Enter feedback here]
I have followed the documentation to create the sample app using the .net and while clicking on the Get Credential i am getting the below error on the debug console.
"error":{"code":"invalid_aad_access_token","message":"No acceptable roles were found in access token, required roles are ["VerifiableCredential.Create.All"]."}}

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

ID: e85be67f-8375-6229-18aa-d687463991f9
Version Independent ID: c494773d-9fcc-d733-6ddb-935a8e545abd
Content: Tutorial - Issue Azure AD Verifiable Credentials from an application (preview)
Content Source: articles/active-directory/verifiable-credentials/verifiable-credentials-configure-issuer.md
Service: active-directory
Sub-service: verifiable-credentials
GitHub Login: @barclayn
Microsoft Alias: barclayn

I'm facing the same error, double-checked permissions and other setting, but they are like documented

@mallutv  @pstapf  I am checking this internally and will keep you both updated on the same.
Thank you .

@mallutv  @pstapf
I tried to check this sample and it is working for me. In your case the error is seen because the service principal for the . I would suggest you to setup the service principal for the verifiable credentials service with the instructions below. This information on how to setup the service principal is somehow missing in the page and we are working internally to update it .
Set up a service principal
Create a service principal for the Verifiable Request Service API named ( "Verifiable Credential Request Service" ). The service API is the Microsoft service that you use to issue or verify Azure AD Verifiable Credentials.
To create the service principal:

Run the following PowerShell commands. These commands install and import the Az module. For more information, see Install the Azure Az PowerShell module.
if ((Get-Module -ListAvailable -Name "Az.Accounts") -eq $null) { Install-Module -Name "Az.Accounts" -Scope CurrentUser }
if ((Get-Module -ListAvailable -Name "Az.Resources") -eq $null) { Install-Module "Az.Resources" -Scope CurrentUser }

Run the following PowerShell command to connect to your Azure AD tenant. Replace <your-tenant-ID> with your Azure AD tenant ID.
Connect-AzAccount -TenantId <your-tenant-ID>

Run the following command in the same PowerShell session. The AppId bbb94529-53a3-4be5-a069-7eaf2712b826 refers to the Verifiable Credentials Microsoft service.
New-AzADServicePrincipal -ApplicationId "bbb94529-53a3-4be5-a069-7eaf2712b826" -DisplayName "Verifiable Credential Request Service"

Once you run the above , it should create the service principal for this service within your tenant . You will need to grant admin consent for the permission VerifiableCredential.Create.All as shown here.
You should not get this error then. We will be internally discussing on publishing this article again with more details . Do let me know and I will continue to help you further if this does not solve your issue .
Thank you.

Hello,
your solution is working for me, I now get beyond that error and a QR code is generated.
Thanks for quick help.

HI, Its working now and also could someone please update that document as there are so many bits missing and have some wrong information on it.
Thanks

@narendrnb We are working internally to update and fix the documents . It may take some time and it will be updated .


Compatibilty with Grafana 6

Nice plugin! Is it compatible with Grafana 6? If not, what would be necessary to integrate it? Thanks!

Nice plugin! Is it compatible with Grafana 6? If not, what would be necessary to integrate it? Thanks!

+1. We use Grafana 6 as well. Unfortunately, this great plugin broke when we upgraded

Will try updating it for Grafana 6 as well !

Any progress on 6.x compatibility?

@aflorezparra  and @bhozar I have updated the plugin. Please check if it works now.

Unless I am missing something, it isn't working. I did git clone to the plugins folder. It gave me the following files:

After restarting Grafana I then had the following error:

I have added the compiled dist folder.
Please test.

Brilliant, thanks. It is now working.

Hello,
It is the first time for me to install an external plugin in Grafana.
With version 6.7.1 in a Docker Image I get the following error message after installing the sankey-panel "Error loading plugin if this plugin is loaded from git, make sure it was compiled.
At the moment I missed the Step" Include loader.js in index.html "Is that why? If so, where can I usually find the Index.html file?
Any Idea?

fixed after include loader.js in "/usr/share/grafana/public/views/index.html"


Stringify url_encode and decode input before sending it to Rust

Try to stringify all input before sending it to Rust since interop only works with strings
Should be good enough to only stringify inside the rustg_url_encode/decode define since the other defines just refer to that
PR on request of @Mothblocks from https://github.com/tgstation/tgstation/pull/60802

@Mothblocks merge this before you cut the patch, skip the 24h if you want

i always do 😎


Forge is not defined - require on nwjs 0.13 beta2

Hello,
trying to require wo-smtpclient on nwjs 0.13 beta2 I get this error:
Uncaught /build/node_modules/wo-smtpclient/node_modules/tcp-socket/src/tcp-socket-tls.js:30
message: "forge is not defined"

I found a workaround setting process.versions.electron = 'fake-electron-app' before to call require('wo-smtpclient')
I'm thinking if this is related to the beta stage of nwjs (which one is under development).

any news on this? are you sure this is still the problem?

It's still there. I believe tcp-socket-tls.js:30 should be
    module.exports = factory(require('node-forge'));

although line 29 talks about "fallback to forge browser global"

can you please debug why it would even require the tls helper (tcp-socket-tls)? that should not even happen. i wonder why it doesn't take the correct route to require the native net and tls...

I'm not running electron but chrome apps, so this is the route it takes. tcp-socket-tls has to be required, even though it isn't used, since _useForgeTls is set in a callback.

what version of electron are you using? can you please figure out why process.versions.electron doesn't work?

Not electron, but Chrome Apps. @AndryBray is running NW.js 0.13 which "supports Chrome App".

sorry, i misread that.
[the docs are not terribly useful here])
https://readthedocs.org//search/?q=chrome+app&check_keywords=yes&area=default&project=nwjs&version=v0.13.0-rc3&type=file) and searching the codebase didn't yield anything immediately useful, either.
i assume that nw.js will just magically emulate the proprietary chrome platform api? i don't really know what "supports chrome app" is even supposed to mean...
but still, there are ways for you to identify node-webkit. one of them is process.versions.nw, or the older process.versions['node-webkit']. can you guys please confirm that?
or is that process.versions property somehow unset when running a chrome app?

I think it's more than emulating, pretty sure they use the Chromium code base to implement it. It also has Node.js APIs, but I don't use NW.js and don't know which code path is better.
My first comment is a fix for this issue as described in the title. Forge is an undefined global variable and should rather be required using the same name as the dependency in package.json, node-forge.

But I understand that it's not pleasant to pull in this 2.5mb dependency if not needed. Perhaps the global should then be referred to as window.forge? That fixes "Uncaught ReferenceError: forge is not defined".

ok, but that's a whole other discussion, maybe open a separate issue for that.
we still need to find out how to make this module aware of nwjs so it can work with the native tcp socket. forge should only be used when absolutely necessary, see https://github.com/digitalbazaar/forge/issues/217

one question: do you browserify your sources even though they run locally in nw.js?


Show Release Notification in the UI

If a repo that you are watching creates a new Release, you get a Mail but it is not shown in the UI. This PR changed this. Now the Release Notification is shown in the UI!
The Migration will be added after the Code is reviewed.

Hmm, this diverges from the GitHub UI that shows releases only on the frontpage feed. I see notifications as "things to do", but a release does not seem to fit here thematically.

Hmm, this diverges from the GitHub UI that shows releases only on the frontpage

It also sends you an notification

but a release does not seem to fit here thematically.

We already sent a Mail, so we could also show it in the UI

@silverwind they've since added it in

I have a PR to do similar work but not finished and closed. The notification should have more types and users could have filters in future.

users could have filters in future

I have already open #26865 do do exactly that. Backend and tests are ready, but I need some help on the Frontend.

users could have filters in future

I have already open #26865 do do exactly that. Backend and tests are ready, but I need some help on the Frontend.

I can help in UI. what we need to do.

I can help in UI. what we need to do.

Thanks. The other PR has a proof of concept UI that already works, but it doesn't look good. Ideally it should look like GitHub.

I can help in UI. what we need to do.

Thanks. The other PR has a proof of concept UI that already works, but it doesn't look good. Ideally it should look like GitHub.

will open a pr for the ui.


Upgrade find-node-modules to 2.0 for security update

Closes #66

Coverage remained the same at 81.643% when pulling 7976d335f8242bf8c61509cba5a971f65c245a4d on 66-security-update into 7784966f1aa129a61b0f356636265574d99c9aac on master.


Recursively open a directory and all its children is broken

The implementation in the wiki https://github.com/nvim-neo-tree/neo-tree.nvim/wiki/Recipes#emulating-vims-fold-commands for recursive unfold of node with its children is broken and unfolds only one level.
I noticed that open_dir function sets recursive to false
    -- Expand a node and load filesystem info if needed.
    local function open_dir(state, dir_node)
        local fs = require "neo-tree.sources.filesystem"
        fs.toggle_directory(state, dir_node, nil, true, false)
    end

However, even after setting it to true only one level at a time is unfolded.

Sorry this seems to be a duplicate of https://github.com/nvim-neo-tree/neo-tree.nvim/issues/701


Image "litmuschaos.docker.scarf.sh/litmuschaos/go-runner:3.11.0": not found! Cannot run experiments in litmus chaos v3.11.0

Question
Please let me know how I can downgrade to litmus chaos 3.10.0 or else how I can selectively use a lower version of go-runner image.
Please make sure you have,

Reviewed the Questions asked by our community members and contributers.
Searched opened and closed GitHub issues

We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks!

LitmusChaos Readme
LitmusChaos Docs

Please let me know if this is an issue for all users, because I am not able to find this image in dockerhub. If I see the tags here: https://hub.docker.com/r/litmuschaos/go-runner/tags I cannot locate one with 3.11.0!

I'm facing the same issue.

Instead using litmuschaos.docker.scarf.sh/litmuschaos/go-runner:3.11.0 use litmuschaos.docker.scarf.sh/litmuschaos/go-runner:latest in workflow definition whenever it is pointed out

Facing the same issue. I've modified the YAML files to use 3.10.0 instead.

For security best practices, it's recommended to avoid using the latest tag. The latest tag can lead to unintentional updates or version mismatches, which could introduce breaking changes or vulnerabilities without notice.
Additionally, version 3.12.0 of the go-runner has been released, so I suggest using litmuschaos.docker.scarf.sh/litmuschaos/go-runner:3.12.0 instead to ensure stability and security while staying updated with the latest improvements.
https://kubernetes.io/docs/concepts/security/security-checklist/#images


Rename container scan pod

Proposing to rename container scanning pod name.
Implications:

left behind pods will not interfere with future scans of the same image
When one scan job is running for an entity another can run in parallel

evm.log:
creating pod management-infra/manageiq-img-scan-9b507eac-ce5f-4f45-b16e-e764f5f6e839 to analyze docker image d78c9ef213722828e45feacc3bb2c93dd3d1cb66132a1b564325c49e769f0ca7:

@miq-bot add_label, providers/containers, smart_state, darga/yes
@simon3z @enoodle @cben please review

@miq-bot add_label bug

@moolitayer maybe we should go for a combination for the scanned image and a random number?

@miq-bot assign moolitayer

@moolitayer maybe we should go for a combination for the scanned image and a random number?

Simply appending the uuid to the current value gives: ERROR ... Details: must have at most 63 characters - string is 68 char long. maybe we can find a better name?

@miq-bot add_label smart_state, darga/yes

@moolitayer @enoodle you can check the kubernetes code that generates random suffixes to create unique pods for replication controllers. I think it's a good compromise between uniqueness and short/readable length.

@simon3z that seems to be running integers
oc get replicationController
CONTROLLER  ...
docker-registry-1
management-metrics-1
master-router-1
If we need to know for which image a pod was created we can check evm.log or docker ps

Actually there is already a uuid assigned to the job. I'll use that.

That a good compromise. LGTM :+1:

@simon3z that seems to be running integers
oc get replicationController
CONTROLLER  ...
docker-registry-1
management-metrics-1
master-router-1
If we need to know for which image a pod was created we can check evm.log or docker ps

@moolitayer those are the names of the replication controllers not the pods generated from thoise. You have to list the pods.

fixed tests. @simon3z Isn't that code aware of the existing names (which we are not)?
I don't see what is wrong with this approach.

In the short term this approach may be an improvement, but I'm not sure it's the Right fix long term.
I'd like to explore having at most one pod per image at once, reusing its results if possible, and enforcing max pod lifetime in kubernetes (not sure if possible but I think Job controllers can do it).

Can there be a failure mode where instead of repeatedly failing to scan we'd now create more and more scanning pods?

Is it safe to land this without enforcing pod cleanup on exceptions (#8747) and/or in kubernetes?

Is repeatedly scanning the same image wasted work (compared to fetching results from the existing pod)?  Or is this scenario happening mostly when we want to re-do the scan (previous failed / user explicitly requested a scan etc.)?

@moolitayer I think you should look into:
https://github.com/kubernetes/kubernetes/blob/1d17eb1/pkg/api/generate.go#L47-L64
and:
https://github.com/kubernetes/kubernetes/blob/1d17eb1/pkg/util/rand/rand.go#L75-L83
To get some more information on how to generate random names for pods (in the kunbernetes style).

@simon3z thanks for the links
I've used the uuid since it is generated from the same chars[1] and adds useful information
no need to calculate the string length, since we are only creating one pod with known name - we should add such a method if we ever create more pods
[1] "abcdefghijklmnopqrstuvwxyz0123456789"

@moolitayer thanks for adopting a format more similar to the pods generated by RC.
@cben cleanup of failed scanning pods will be handled with a recurring scheduled job (that would cover much more than what we can do in #8747)
LGTM :+1:
ready for merge, cc @chessbyte
@miq-bot assign chessbyte


MaterialDialog.Instance.SelectChoicesAsync() to work with Objects

Is there a way for MaterialDialog.Instance.SelectChoicesAsync() to work with a IList of T or Object instead of a IList of String, as in the MaterialTextField InputType="choice"?

looking for the same

MaterialDialog SelectChoicesAsync depends on MaterialRadioButtonGroup, so to achieve this it seems we must update MaterialRadioButtonGroup's behavior first


CMake CUDA fixes + NCCL

Description
(Brief description on what this PR is about)
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

why is Windows python runs hanging?

I'd guess that the process is crashing due to some compilation errors, thus making nosetests fail. Maybe Jenkins does not pick this crash up. Interestingly, it's happening on all 4 windows jobs.

turns out related to project() not being at top

Was this PR approved by anybody or was this a self merge?

CMake cuda build was broken, reported by @yajiedesign. Fix is in #9798

@cjolivier01 would you provide reasoning why conversation was locked? According to the github's feature guideline, it's for defusing a heated conversation here. I think @marcoabreu asked a legitimate question, and all interactions so far have been respectful, so the situation isn't applicable for locking the conversation.


Sdk-148 Java SDK: Create test coverage for the class utils.UserPresentation

Ticket
SDK-148

I forgot the attach the coverage

Approved @Haiddi-Avencod, can you now Squash and merge this pull request?


Implement Linear Regression in Java

Information

ML Algorithm Name: Linear Regression

Language: Java

Hi,
Can you please assign this issue to me. Implementing a ML model in java seems interesting
Thanks

Hi @iam-abbas ,
Can you please assign this issue to me. Implementing a ML model in C seems interesting
Thanks

Hi @iam-abbas
Can you please assign this issue to me. Implementing a Linear Regression in java seems interesting
Thanks


Added back SlovakIbanAdapter

Hello, thank you for the library.
We are updating rikudou/skqrpayment from 2.2.1 (already 5 years old) and looks like you removed the ability to convert SK BBAN to IBAN in
https://github.com/RikudouSage/QrPaymentSK/commit/ab6f9ce76d45b875e744cf4e1968eb0c21e58f6c#diff-759146cd39d1db0166ea30871596e487fc3207596c7387409fd61cbae7a9c9fd
I ported it back. But I guess there was a reason to remove it :-)
I was thinking of doing it without inheritance but that would probably need deprecating CzechIbanAdapter which i wanted to avoid.
Or if you preferred to just duplicate it, use a static class for the duplication or a trait...

Sorry for the delay. I've added one comment, as soon as you add it, I'll be merging.

Thank you

Released as part of 1.3.0!


Best way to Parse a structure like text

I need to parse something like this:
namespace [VarName] {
   namespace [VarName]   {
      struct [VarName] (: [ParentPath]) {
         a = 2, b = 5
      }
   }
}

namespaces can be nested, and inside the struct I have a bunch of variables defined.

Hi! Unfortunately whipping up a parser usually still takes a while, so I can't jump in and provide a solution here.
With all of these tasks, generally starting from the smallest units - tokens like the keywords namespace and struct, and the VarName parser - is the way to go.
At the same time, you'll need to build an object model of some type to represent the results - perhaps C# classes called Namespace, Struct, and Field would be a good starting point.
If you haven't read it yet, starting with https://nblumhardt.com/2010/01/building-an-external-dsl-in-c/ should also help.
All the best,
Nick

I've already read the link you recommended... my problem was a specific one.. I can already parse the file ;) my problem is that if I use recursion.
a file contains a namespace the namespace can contain both structs and namespaces.
When I enter a namespace I parse it's
from name in VarName
from containts in Types.Contained(OpenBraces, CloseBraces)
select new Namespace(name).add(contains);
I only create the name space after parsing the contains that can also be namespaces...
so if a struct has a parent the path doesn't exist until I finish the parsing. So how should I link the structs and their parents? should this be done after?! should I create the namespace before parsing it's contents?! I just needed some help in that matter ;)


Add alternative for kvstore dependency to perform node status GC of CCNP and CNP

The operator depends on kvstore in order to be able to perform GC of the node status for a CNP or CCNP.
This dependency can have a better alternative as the node watcher already has a store, k8sNodeStore, so we can use this store as well to perform the node status GC if the operator is not running with kvstore.
If the operator is running with kvstore then the operator should still use the kvstore nodeStore.
https://github.com/cilium/cilium/blob/9779b09b6a19b461ab04c97a4cac8c6f506c3eef/operator/k8s_node.go#L173

Hi @aanm for one of my class assignements we have to contribute to an open source project, I would like to tackle this. For tests for k8sNodeStore to make sure it runs is there anything else I need to do?

For tests for k8sNodeStore to make sure it runs is there anything else I need to do?

@phongvdoan thank you for volunteering! I'm sorry but I didn't get your question, can you rephrase it?

For tests for k8sNodeStore to make sure it runs is there anything else I need to do?

@phongvdoan thank you for volunteering! I'm sorry but I didn't get your question, can you rephrase it?
Am I just removing runCNPNodeStatusGC? Or it is more to it?

@phongvdoan there's more to it, I've edited the PR title and description to make it clear.

Hi, I would like to work on this. Can I have this assigned to me?

@daemon1024 I assigned you. Don't hesitate to reach out on Slack (e.g., #development) if you have any question.


feat(syscall): add eventfd2 and dup* syscalls

Signed-off-by: Harald Hoyer<EMAIL_ADDRESS>

@haraldh I think we can make this a non-draft...

@haraldh I think we can make this a non-draft...

@haraldh I think we can make this a non-draft...

here we go

@haraldh I think we can make this a non-draft...

here we go


WorldId overflow is not detected

Today I learned .fetch_add from your code. It wraps the target value on overflow.
So I found a little edge case. In world.rs line 20, the .expect("Ran out of WolrdIds") would never cause panic since it's already wrapped in the .fetch_add call:
impl WorldId {
    fn new() -> Self {
        static COUNTER: AtomicU64 = AtomicU64::new(1);

        let id = COUNTER.fetch_add(1, Ordering::Relaxed);
        NonZeroU64::new(id).map(Self).expect("Ran out of WorldIds")
    }
}

I was spaghetti


Bug: REST Event Handler doesn't handle some json parsing exceptions

Expected Behaviour
This may or may not be a bug, but the REST API event handler payload validator does not gracefully handle empty bodies. I would expect an empty body to raise a 4xx (maybe a 422)
Current Behaviour
With the following setup, invoking the POST /todos endpoint with content-type: application/json but with an empty body will raise a TypeError and return a 500 error.
Code snippet
from typing import List, Optional

import requests
from pydantic import BaseModel, Field

from aws_lambda_powertools import Logger, Tracer
from aws_lambda_powertools.event_handler import APIGatewayRestResolver
from aws_lambda_powertools.logging import correlation_paths
from aws_lambda_powertools.utilities.typing import LambdaContext

tracer = Tracer()
logger = Logger()
app = APIGatewayRestResolver(enable_validation=True)

class Todo(BaseModel):
    userId: int
    id_: Optional[int] = Field(alias="id", default=None)
    title: str
    completed: bool

@app.post("/todos")
def create_todo(todo: Todo) -> str:
    response = requests.post("https://jsonplaceholder.typicode.com/todos", json=todo.dict(by_alias=True))
    response.raise_for_status()

    return response.json()["id"]

@logger.inject_lambda_context(correlation_id_path=correlation_paths.API_GATEWAY_HTTP)
@tracer.capture_lambda_handler
def lambda_handler(event: dict, context: LambdaContext) -> dict:
    return app.resolve(event, context)

Possible Solution
https://github.com/aws-powertools/powertools-lambda-python/blob/e1ca5842ad828588fcf2af538fdc88404418cf97/aws_lambda_powertools/event_handler/middlewares/openapi_validation.py#L218
The validation middleware handles a json.JSONDecodeError exception, but json.loads will raise a TypeError if the request body is empty.
We could either:

Catch the TypeError and raise an appropriate response
Check for None in _get_body

Steps to Reproduce
Invoke the REST endpoint with an empty body.
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.12
Packaging format used
PyPi
Debugging logs
No response

Hi @Dilski! Thanks for opening this potential bug.
I'm working to reproduce this error and will update this issue as soon as I have an update.

@leandrodamascena just for extra info, we were doing this with a private API gateway and so tested with test invoke on the console

This was the missing piece of this puzzle! I could not reproduce this either in my local environment or on the Swagger/Public/Private endpoint. However, using the APIGW "Test" on the console I was able to reproduce it.
This is a very specific bug and thanks a lot for catching and reporting this. Testing your APIs thought AWS Console it will send to Lambda the exact string you added in the Headers section, and in this case the string is:
"headers": {
    "Content-Type": " application/json"
},
"multiValueHeaders": {
    "Content-Type": [
        " application/json"
    ]
},

If you see, there is a space before the application/json string and it fails in this line. It looks like the solution is to remove the spaces before checking the header, something like this if not content_type_value or content_type_value.strip().startswith("application/json"):. While we create a PullRequest and release a version to fix this,  you can test using the header with no space between key and value: Content-Type:application/json.
We are planning to release a version on February 8th. Please let me know if it is enough for you to wait until then or need this fix immediately.
Thanks.


Popup window

Add Popoup Windows to my project

Desktop and mobile popup windows using javascript and css, when the viewer click or tap on a project button, the popup window is displayed.
The Desktop image is different to the mobile image in the popup window

Great Thank you very much for your time.


KDDI_API_KYC_Fill-in_initial_contribution

What type of PR is this?

enhancement/feature

What this PR does / why we need it:

Provide an initial API definition from KDDI for discussion on KYC Fill-in  YAML.

Which issue(s) this PR fixes:
*N/A
Special notes for reviewers:

The YAML is almost same as the one currently provided by KDDI as commercial services.  As our original YAML has descriptions/remarks/notes written in Japanese, those have been translated into English.

Also, please note that it has some attributes/parameters that seem specific to Japanease language.  It is intentional, because these attributes/parameters are needed by our customers in Japan and we would like to discuss how to handle this kind of country/regional requirements in API specifications.

Changelog input
 release-note

Additional documentation

Closed as the initial version of KYC Fill-in has been created.


deps<EMAIL_ADDRESS>(sans network-controller)

Explanation

deps<EMAIL_ADDRESS>
for all remaining packages except @metamask/network-controller

deps(queued-reques-controller<EMAIL_ADDRESS>
This could be merged prior to #4769 in case @metamask/network-controller upgrade is blocking a desired upgrade here for whatever reason.
References

This is a smaller version of #4769
#4773

Changelog
@metamask/approval-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0

@metamask/assets-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0

@metamask/permission-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0
CHANGED: Bump @metamask/json-rpc-engine from ^9.0.3 to ^10.0.0

@metamask/queued-request-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0
CHANGED: Bump @metamask/json-rpc-engine from ^9.0.3 to ^10.0.0

@metamask/rate-limit-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0

@metamask/transaction-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0

@metamask/user-operation-controller

CHANGED: Bump @metamask/rpc-errors from ^6.3.1 to ^7.0.0

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate
[ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

Superseded by #4769


Failed to view TXT file via WebUI

Describe the bug
Failed to view TXT file via WebUI
To Reproduce
Steps to reproduce the behavior:
1.click txt file to view content
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Browser [Opera Lastest version]
Version [2.11.1]

@akimoto72738 - thank you. We'll bring this up in our next triage.

I believe this will be fixed by https://github.com/ipfs-shipyard/ipfs-webui/pull/1646


RPi3 Unable To Pair

@nicokaiser I have been trying to use this on my Rpi3 without success. I have disabled wifi on the Rpi3 to account for the issues with both wifi and bt being enabled, but even with that I cannot get my device to pair. The device I am using is a TaoTronics TT-BA09 Transmitter. Here is a link to the manual. TT-BA09 Manual. I am using the transmitter in TX mode as I want to connect it to my non-bluetooth TV and stream audio from the TV to the RPi3. I put the device in pairing mode and it never pairs. If I try to connect a pair of bluetooth headphones to the TT-BA09, it works as would be expected and the audio plays. Do you have any suggestions on how I can get this device to pair to the RPi3? Let me know if there's anything I can provide to assist in troubleshooting this with me. Also, I should mention this is on a fresh re-imaged card. Thanks!

Did you try to connect to the RPi3 with another device, like a phone or something? Just to check out if it works at all...
If it works, we need to figure out what the TT-BA09 (as a sender) does differently than the other devices.
If it also does not work, we need to figure out what's wrong with the RPi3's configuration. It should work, even with the internal Bluetooth, but it is highly recommended to use a dedicated Bluetooth dongle for this, as the Bluetooth chip on the Raspberry Pis are not very capable and almost certainly lead to problems.

@nicokaiser , thanks for the response.  Much appreciated!  I did verify that I can connect my phone to the RPi3 just fine and it plays audio as expected.
What can I provide that would indicate what the TT-BA09 does differently?  Let me know.
Thanks!

Can you check journalctl -f during pairing, if anything suspicious is logged there?
I also changed the script so it uses a different Bluetooth agent (the piece of service that handles new devices), maybe this one works better. If this also fails, you could try changing to PIN code pairing (also in the README.md), in case the TT-BA09 does not support Simple Secure Pairing mode...

I checked journalctl -f and nothing was logged that was of interest.  If I paired it with my phone there was a bunch of items logged, so maybe the lack of logging is suspicious, but I don't know why it wouldn't even attempt to pair?
I re-flashed the card and installed the latest script as you recommended.  Now I get some additional logs.  Here's what I get:
Sep 03 00:00:58 raspi-receiver sudo[657]:       pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/journalctl -f Sep 03 00:00:58 raspi-receiver sudo[657]: pam_unix(sudo:session): session opened for user root by pi(uid=0) Sep 03 00:01:24 raspi-receiver bt-agent[356]: Device: 0B-26-75-03-AC-5F (0B:26:75:03:AC:5F) for UUID 0000110d-0000-1000-8000-00805f9b34fb Sep 03 00:01:27 raspi-receiver bluetoothd[474]: connect error: Connection refused (111) Sep 03 00:01:27 raspi-receiver bluetoothd[474]: /org/bluez/hci0/dev_0B_26_75_03_AC_5F/fd3: fd(22) ready
While it is good to get something logged, I am not sure why the connection was refused.  I would attempt your suggestion of using a PIN, but I don't even know what PIN to use since I didn't need a PIN when I paired this device with my headphones.
Any ideas on what to try next?  Again, huge thanks to helping me figure this out!

Sorry, I don't have an idea what is going wrong here... especially if it works with other devices...

@nicokaiser is there some logging or something that would give some sort of info on what is going on?

I honestly don't know. All my Bluetooth experience on Linux and especially on Raspbian is more or less "trial and error" as this is an extremely complex and the documentation (of the Bluez stack, but also of sending devices) is somewhat incomplete.
One thing that seems strange is the "Connection refused" error you are getting. Are you sure you enabled SSP mode, the device is SSP compatible (should be if it's newer than let's say 5 years...) and the bt-agent is running?

I decided to try using an RPi 4 instead of the RPi 3 to see if it acted any differently.  I found out two things.  One, I was not correctly setting the TT-BA09 to pair in Tx mode.  Two, the RPi 4 pairs just fine compared to the RPi 3.  After I got it working on the RPi 4 I went back and tried to get it working on the RPi3, and was able to make it a little further.  I now get some "traffic" when it is trying to pair, but it still won't pair.  What I have now is that when I launch bluetoothctl it cycles through three statuses but never connects.  Here is what I see:
[NEW] Device 0B:26:75:03:AC:5F 0B-26-75-03-AC-5F
[CHG] Device 0B:26:75:03:AC:5F Connected: no
[DEL] Device 0B:26:75:03:AC:5F 0B-26-75-03-AC-5F

I tried stopping the bt-agent and bt-helper services to see if they were auto-restarting or something, but that didn't seem to be the case.
Any thoughts on what I can do to get this corrected on the RPi 3?


Properly set values in subforms

Instead of relying on setTimeout which can be flaky for obvious reasons, we now spawn a listener on the updating Signal to set the new value on the subform.
The downside here is that an Owner must be spawned each time we do this (I'm not sure about the overhead?) but we can can also kill again it each time it's done; hopefully this is enough to prevent leaks.

I'll take it! Perhaps the experts on the laminar gitter might have some ways of getting around the manual owner, but this seems great for now :)


Fix uninitialized htp_tx_t::is_last value in htp_decompressors.c

Fixed some more uninitialized values found while testing file extraction. Not sure that's all of them, all htp_tx_data_t local variables allocated on stack seem to have this issue. Please review.

Merged, thanks!


Images are processed but they are not showing up in the interface

Everything works ok when I process the images, but when I'm trying to reload the db, there are no pictures.
Here is the log for processing:

18:15:19.558 Requesting file list from server ...
18:15:19.787   Analyzing folder: test/ matching: * recursive: false force: false pending: 50
18:15:19.788 Starting Image Analsys
18:15:19.809 Image Classification models:
18:15:19.809   MobileNet v3
18:15:19.809 Object Detection models:
18:15:19.809   COCO SSD MobileNet v2
18:15:19.809 Face Detection model:
18:15:19.809   Human
18:15:19.809 TensorFlow models loading ...
18:15:20.131 TensorFlow models loaded: 322ms
18:15:20.131 Initializing TensorFlow/JS version 3.7.0
18:15:20.133 Configuration:
18:15:20.133   Backend: WEBGL
18:15:20.133   Parallel processing: 1 parallel images
18:15:20.133   Forced image resize: 720px maximum shape: native
18:15:20.133   Auto reload on error: true
18:15:20.133   WebGL: Enabling memory deallocator
18:15:20.133   WebGL: webgl_delete_texture_threshold: 0
18:15:20.134   WebGL: webgl_force_f16_textures: false
18:15:20.134   WebGL: webgl_pack_depthwiseconv: false
18:15:20.134   WebGL: webgl_cpu_forward: true
18:15:20.145 TensorFlow engine state: Bytes: 70,032,216 Buffers: 932 Tensors: 932
18:15:20.147 TensorFlow flags: IS_BROWSER:true, IS_NODE:false, DEBUG:false, CPU_HANDOFF_SIZE_THRESHOLD:128, WEBGL_VERSION:2, HAS_WEBGL:true, PROD:true, CHECK_COMPUTATION_FOR_ERRORS:false, WEBGL_CPU_FORWARD:true, WEBGL_PACK_DEPTHWISECONV:false, WEBGL_CHECK_NUMERICAL_PROBLEMS:false, TENSORLIKE_CHECK_SHAPE_CONSISTENCY:false, WEBGL_DELETE_TEXTURE_THRESHOLD:0, WEBGL_FORCE_F16_TEXTURES:false
18:15:20.147 TensorFlow warming up ...
18:15:29.568 TensorFlow warmed up in 9,421ms
18:15:29.570 Processing images: 50 batch: 1
18:18:45.021 Processed 50 of 50 images in 195,451ms 3,909ms avg
18:18:45.036 Results: 50 images in total 1,389,621 bytes average 27,792 bytes
18:18:45.036 Image Analysis done: 205,478ms
18:18:45.036 Reload image database now

And then when I reload (log from console):

18:20:47.265 loadGallery: Busy: Loading images in background
log.ts:29 18:20:47.281 loadGallery: download cached: 0 updated: 0 added: 0 images in 44 ms updated since 6/20/2021

sorry for the slow reply, i'm traveling at the moment.
this update shows only attempt to load latest records since last app start, it doesn't show if it tried to load all records before that.
can you try to;

open browser inspector (developer tools under browser menu)
select pigallery user icon and select "reload db"
copy detailed log from inspector console log window

any updates?

closing due to inactivity, please comment if issue persists and required information is provided and i'll reopen it.


How to evaluate the genearlization ability on the Tanks

Hi.Thanks for your greater works about MVSNET. Now i obtain the ply of tanks datasets，I want to know what code or tools should be used to obtain the evaluation results of tanks and temples in your paper ?
And the cam files of tanks datasets are different from dtu，such as 0.47689 0.00451343 719 3.72205  compared with 425 2.5.
what's the meaning of  0.47689 0.00451343?

Thanks.

have u finish it？


Merge prTesting_202010291943 branch to master branch

Docs Build status updates of commit 76cb0c9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


add trimSuffix template function

Another simple strings function:

trimSuffix

This is apparently a new feature in Go 1.6, so the 0.12-alpha3 release should already have it. See https://github.com/kelseyhightower/confd/issues/420 and https://golang.org/pkg/text/template/#hdr-Text_and_spaces for more information.

Oops! This is different. Re-opening.