Creation of container failed includeTestToolkit parameter

Hi Freddy,
I'm creating a new BC container with the image mcr.microsoft.com/businesscentral/onprem:13.7.31809.0-gb, the creation of the container works but after when importing the testtoolkit objects is failing
`!
at Import-NAVApplicationObject, C:\Program Files (x86)\Microsoft Dynamics NAV\130\RoleTailored Client\Microsoft.Dynamics.Nav.Ide.psm1: line 147
at , : line 35
at , : line 21
!
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Invoke-ScriptInNavContainer.ps1:37 char:13

        Invoke-Command -Session $session -ScriptBlock $scriptbloc ...

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

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Import-NAVApplicationObject

Pretty sure you are hurt by https://freddysblog.com/2020/02/14/hyperv-isolation-to-the-rescue/

Hi Freddy,
I was aware of the issue with windows update but it does not seem my case.
Running the creation with isolation hyperv it does not work in my server, docker returns an error "The request is not supported."
With isolation and empty string, it fails at the step that I told you.
Could you please verify if you can reproduce using same image and -includeTestToolkit?
It's an old image, should I delete it and pull it again? Do anything with the installation of docker?

If you send me the full command - and the full output from your machine - then I can run and compare.

Sure, this is the script:
`$containerName = 'SCA'
$containerImage = 'mcr.microsoft.com/businesscentral/onprem:13.7.31809.0-gb'
$licenseFile = "C:\BC Licenses\BC15W1.flf"
New-NavContainer -accept_eula                  -accept_outdated
-containerName $containerName                  -imageName $containerImage
-auth 'NAVUserPassword'                  -updateHosts
-includeCSide                  -doNotExportObjectsToText
-enableSymbolLoading                  -includeTestToolkit
-useBestContainerOS                  -licenseFile "$licenseFile"
this is the output:
`NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows Server 2019 Standard - ltsc2019
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5
Using image mcr.microsoft.com/businesscentral/onprem:13.7.31809.0-gb-ltsc2019
Creating Container SCA
Version: 13.7.31809.0-gb
Style: onprem
Platform: 13.0.31719.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.437 (ltsc2019)
Host OS Version: 10.0.17763.1039 (ltsc2019)
WARNING: The container operating system matches the host operating system, but the revision is different.
If you encounter issues, you might want to specify -isolation hyperv
Using locale en-GB
Using process isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\NAV BC Licenses\BC15W1.flf
Files in C:\ProgramData\NavContainerHelper\Extensions\SCA\my:

AdditionalOutput.ps1
AdditionalSetup.ps1
license.flf
MainLoop.ps1
SetupVariables.ps1
SetupWebClient.ps1
updatehosts.ps1
Creating container SCA from image mcr.microsoft.com/businesscentral/onprem:13.7.31809.0-gb-ltsc2019
0cbbc231ff6efdd7d8c345e2b041022f3426d2eb7d3e5b75132e0503be9d484e
Waiting for container SCA to be ready
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is SCA
PublicDnsName is SCA
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint FBB00B44896E75B7ACF6B700E5D8F8B666E002DB
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: <IP_ADDRESS>
Container Hostname  : SCA
Container Dns Name  : SCA
Web Client          : http://SCA/NAV/
Dev. Server         : http://SCA
Dev. ServerInstance : NAV
Setting SCA to <IP_ADDRESS> in host hosts file

Files:
http://SCA:8080/al-2.1.119251.vsix
WARNING: You are running a container which is 298 days old.
Microsoft recommends that you always run the latest version of our containers.
Initialization took 81 seconds
Ready for connections!
Reading CustomSettings.config from SCA
Creating Desktop Shortcuts for SCA
Importing Objects from C:\TestToolKit\CALTestCodeunits.GB.fob (container path)
Generating Symbols while importing
!
at Import-NAVApplicationObject, C:\Program Files (x86)\Microsoft Dynamics NAV\130\RoleTailored Client\Microsoft.Dynamics.Nav.Ide.psm1: line 147
at , : line 35
at , : line 21
!
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Invoke-ScriptInNavContainer.ps1:37 char:13

        Invoke-Command -Session $session -ScriptBlock $scriptbloc ...

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

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Import-NAVApplicationObject
PSComputerName        : 0cbbc231ff6efdd7d8c345e2b041022f3426d2eb7d3e5b75132e0503be9d484e`

I don't need to try this.
Host OS Version: 10.0.17763.1039 (ltsc2019)
+
Using process isolation
Does not work.
Either uninstall february security update - or use hyperv

Hi Freddy,
It worked in my pc, I cannot test in the servers because the virtualization is not enabled yet. I'm closing this issue, thanks again for your support.


Update Packer example to use HCL

This example uses a packer configuration in a json. This document should be updated to include an HCL example, which is the latest version of declaring these files.
This page provides explanation but lacks a full example in HCL.

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

ID: 1f33d707-2a5b-e0f7-2649-9b778d57a1da
Version Independent ID: 3584b4b8-c5f5-2170-3f8a-7a9a33025a84
Content: Create Linux Azure VM Images with Packer - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/build-image-with-packer.md
Service: virtual-machines
Sub-service: imaging
GitHub Login: @cynthn
Microsoft Alias: cynthn

@dciborow Thank you for your feedback!  We've assigned this to the document author for further review.

Thank you for the suggestion. I've created a work item to review when we do the next update on this doc.
#please-close
https://dev.azure.com/mseng/TechnicalContent/_workitems/edit/1950048


Adding 'events' download, updating to python3

I've been using this to dowload all events from Mixpanel into pandas.
I just upgraded to python3.

Thanks! I haven't touched this in years, but glad you found it and are using it.


Soundness fixes

KISS-UI is forbidden to run in more than one thread (went from thread-local flag to static atomic boolean), since I believe most GUI toolkits don't support more than one running instance at a time.
Consolidated thread-local data to one object (may put in Box so we don't consume too much TLS)

And the big fix:

String slices from widget metadata are now tracked so that they cannot be updated while there are references to them. Mostly non-breaking except for client code that depended on string accessors returning &str.

Closes #29.

I guess there went something wrong.
It's not  mostly non-breaking, it breaks even the "Hello World!" ( window_test ) example.

I'm pretty sure I know exactly where it broke. Fix incoming.

Pushed a fix to master. The window_test example runs for me now.


Can't update/sync group with certain OU

I got this error when i wanted to sync group with certain OU.
user@hostname:~$ gam update group<EMAIL_ADDRESS>sync member ou_and_children "ou-name-and-its-children"
Getting all users in the Google Apps organization (may take some time on a large domain)...
Got 340 users..
done.
Got 367 members<EMAIL_ADDRESS>(may take some time for large groups)...
Traceback (most recent call last):
File "/home/user/gam/gam.py", line 8258, in
doUpdateGroup()
File "/home/user/gam/gam.py", line 5194, in doUpdateGroup
current_emails = getUsersToModify(entity_type=u'group', entity=group, member_type=role)
File "/home/user/gam/gam.py", line 7772, in getUsersToModify
users.append(member[u'email'])
KeyError: u'email'
What should be the problem?
client_secret and oauth files seem to be in order also.

still same with different lines:
Traceback (most recent call last):
File "/home/user/gam/gam.py", line 8700, in
doUpdateGroup()
File "/home/user/gam/gam.py", line 5566, in doUpdateGroup
current_emails = getUsersToModify(entity_type=u'group', entity=group, member_type=role)
File "/home/andrus/gam/gam.py", line 8192, in getUsersToModify
users.append(member[u'email'])
KeyError: u'email'
i have installed the newest GAM. UTF-8 fix should've worked by now.

Works with v3.7.
Nice! Thanks!


Doesn't work with Svelte (so most likely doesn't work with Vite in general?)

Hi!
I'm working on a hobby project written in SvelteKit hosted on Vercel, and I'm looking for a notification solution. After seeing Vercel's blogpost giving Knock a glowing recommendation I decided to try and integrate it into my app, however the client just does not seem to initialise. Might be a problem when running under Vite (the bundler Svelte uses)?
This is the code I have in a utility file:
import { PUBLIC_KNOCK_API_KEY } from '$env/static/public';
import Knock from '@knocklabs/client';

const client = new Knock(PUBLIC_KNOCK_API_KEY);

export default client;

And even just this fails to run with the following stack trace:
TypeError: Cannot read properties of undefined (reading 'default')
    at MY_PROJECT_SRC/knock/client.ts:4:19
    at async instantiateModule (file:///MY_PROJECT/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:52224:9)
TypeError: Cannot read properties of undefined (reading 'default')
    at MY_PROJECT_SRC/knock/client.ts:4:19
    at async instantiateModule (file:///MY_PROJECT/node_modules/vite/dist/node/chunks/dep-5e7f419b.js:52224:9)

Obviously I stubbed out my actual file paths in the above error snippet for privacy reasons.
I was also getting a warning about needing "type": "module" in the package.json file for the Knock client, which I put in myself locally to see if it made any difference and it made the warning go away but it did not fix the problem, it still errors out and doesn't work.
Would be great if you could look into this! Though seeing how the client documentation is somewhat out of date with the actual API and a few months old stale issues in this repo I assume this client is not at the top of your priorities... Pity, as it looks like a great solution for my use case!

@evangelos-ch Hello, were you finally able to get the client running on Vite? We are evaluating potential notification services, and our frontend project is based on Vue/Vite. Thanks

@evangelos-ch Hello, were you finally able to get the client running on Vite? We are evaluating potential notification services, and our frontend project is based on Vue/Vite. Thanks

Hi Luis! Nope, I never really ended up getting it working, I deferred the implementation of the notification system hoping I would get a response here or something in the meantime. Then a few months later I shelved my project for various reasons so I ended up not fiddling with it in the end.
The commit history doesn't seem to suggest that this is fixed yet though, so I wouldn't bet on it working now, but who knows.


A lot of new issues when compiling on mac

Before I was almost able to get Odin to compile on a mac.
If I removed import opengl.odin and import atomics.odin then I was only left with:

/Users/doekewartena/Documents/Odin/core/os_x.odin(204:9) Cannot assign value 'size' of type 'int' to 'i64' in return statement

Which I think is a bug in Odin where a cast is forgotten.
However, I tried to build again (build.sh) and this is the output I have now:

In file included from src/main.cpp:7:
In file included from src/common.cpp:7:
src/gb/gb.h:7995:9: error: use of undeclared identifier 'remove'; did you mean 'revoke'?
return remove(filename) == 0;
^~~~~~
revoke
/usr/include/unistd.h:694:6: note: 'revoke' declared here
int      revoke(const char *);
^
In file included from src/main.cpp:11:
src/parser.cpp:4762:33: error: call to 'next_pow2' is ambiguous
isize init_token_cap = gb_max(next_pow2(file_size/2), 16);
^~~~~~~~~
src/gb/gb.h:699:24: note: expanded from macro 'gb_max'
#define gb_max(a, b) ((a) > (b) ? (a) : (b))
^
src/common.cpp:271:5: note: candidate function
i32 next_pow2(i32 n) {
^
src/common.cpp:284:5: note: candidate function
i64 next_pow2(i64 n) {
^
In file included from src/main.cpp:11:
src/parser.cpp:4762:33: error: call to 'next_pow2' is ambiguous
isize init_token_cap = gb_max(next_pow2(file_size/2), 16);
^~~~~~~~~
src/gb/gb.h:699:36: note: expanded from macro 'gb_max'
#define gb_max(a, b) ((a) > (b) ? (a) : (b))
^
src/common.cpp:271:5: note: candidate function
i32 next_pow2(i32 n) {
^
src/common.cpp:284:5: note: candidate function
i64 next_pow2(i64 n) {
^
In file included from src/main.cpp:15:
src/ir.cpp:3606:4: warning: format specifies type 'unsigned int' but the argument has type 'isize' (aka 'long')
[-Wformat]
file->id,
^~~~~~~~
1 warning and 3 errors generated.
./build.sh: line 24: ./odin: No such file or directory

How about now?

Another issue is existing_filename should be filename
// Line ~7994
b32 gb_file_remove(char const *filename) {
#if defined(GB_SYSTEM_OSX)
        return unlink(existing_filename) != -1;
#else
        return remove(filename) == 0;
#endif
}

Then need to either cast offset to int (or change the parameter in FFI decl to int64)
final_offset := i64(unix_lseek(fd, int(offset), whence));

Reminder if you have recently installed XCode
# assuming `brew install llvm`
export PATH="/usr/local/opt/llvm/bin:$PATH"
./build.sh

After this latest github master compiled for me.

With the 2 suggested changes from @stevetranby it works now!
Both thanks.

It should be fixed now in the latest commit. So for the blind changes.


Remove millisecond durations from timer

Under issue #40 we switched to the use of process.hrtime() to measure the duration of events in the probe framework. We also added it to timer.js for request tracking, but kept the original millisecond duration as as well in case it was being used.
Having been through more testing, it looks like its safe to replace the millisecond duration with the measurement from process.hrtime().

Resolved by PR #56


Show languages that are installed in specific application

Create a report on manage messages page, which shows applications with existing translation codes

Report added to pages Manage Messages


Investigate using polyfill.io instead of @vitejs/plugin-legacy

Per the @vitejs/plugin-legacy docs, they don't really recommend using modernPolyfills mode due to how aggressive core-js@3 is. They recommend using something like Polyfill.io.

An interesting consideration is that we could maybe use polyfill-library-node for polyfilling within node - I don't think modernPolyfills supports node (or at least, I couldn't get it to work when I had previously tried).
It's not clear to me what the coverage of core-js is vs polyfill-library
If we need to support offline usage, eg within our mobile app, we'd need to ensure polyfills can be loaded ahead of time. I'm not sure what our options would be if using polyfill.io

From the polyfill-library-node README:

How come it does not support proposal "X" ?
polyfill-library follows the guidance from the W3C TAG on polyfilling and only implements polyfills features/proposals of ECMAScript that have reached stage 4 whereas core-js implements polyfills for proposals at all stages.

polyfill-library also appears to have some browser-related polyfills core-js doesn't have like CSS.supports, ~html5-elements, smoothscroll, fetch, etc.
My guess is that we can comfortably say that polyfill.io/polyfill-library will handle all ECMAScript features that have reached stage 4 that can be polyfilled plus additional DOM polyfills that we wouldn't otherwise get, so it seems safe there. For mobile, maybe we need an additional build option to generate the bundle with pollyfill-library directly and just pass it an unknown user agent to grab everything (it should be pretty light from the perspective of a mobile app download)

I think I'm going to avoid using polyfill-library-node - in order for us to not change our supported node versions for our libraries, it would need to be added to all of our libraries and I don't think that's very "friendly" for consumers. Adding a local polyfill for mobile will have to happen later once we figure out what stack we're using for mobile - I'll create a separate issue


Great work!!!

How to use in C#, thanks!

Sorry, can not be used in C#, this is for web development, if you want use in C#, use official Windows app development - UWP app developer.

Thanks.


scte35: support decoding splice_schedule command type

We support encoding splice_schedule commands (see packEvents), but we don't support decoding them yet. For consistency, we could have two functions, unpackEvent and unpackEvents in command.go after packEvent.
We'll need accompanying tests in command_test.go. For example, a test could encode then decode the same splice_schedule command then test equality of the returned []Event.

Have you ever seen one in the wild?
I'm just curious.
I write some scte-35 stuff.
I dropped support for Splice Schedule.
I've never seen one I didn't make myself.

Have you ever seen one in the wild?

Haha good question! Never actually now that I think about it.

I dropped support for Splice Schedule.

Not a bad idea. At least could store it as raw byte slice.
Thanks for reaching out :) Any other tips?


feat: Openshift compatibility

Openshift needs to take over securityContext.
This PR creates a new value that disables security context handling by the chart.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Can you explain in more details why this is needed? It feels like this just needs a way to set securityContext to empty instead of adding a new option.

It is a trick to avoid failing into https://github.com/helm/helm/pull/12879 I agree we should be able to do by nullifying the securityContext but in case of using this chart as a subchart it doesn't work. With that mechanism we are immune against this bug.

Hi @darnaut what do you think about this one ?


Taxonomic dataset editor

For various reasons it would be ideal to have at least some basic taxonomic online editor for datasets in the Clearinghouse. Consider what is needed and how feasable this is with existing resources.
Reasons:

The CoL Management Classification needs a basic tree editor
Dead datasets like ILDIS that need fixes applied
Bringing Proto-GSDs alive in a distributed community
The names index needs management & bad name parsing fixed

Minimal Features:

name CRUD
name relations CRUD
taxon tree management
synonym management
reference editor
vernacular name editor
archive imports to kickstart a new dataset or add new groups to existing data

Datasets in the Clearinghouse should either be managed via the editor or linked to an external archive that is imported frequently, but never both.

see also Dave: https://github.com/Sp2000/colplus/pull/1#issuecomment-425208271

From Yuri via email:

Manual assembly of proto-GSD is very time consuming process. We done it once for each taxon and do not going to repeat exercise through updates in current infrastructure. However, Clearinghouse may provide an infrastructure and tools for such updates (by detecting conflicts, automatically resolving standard cases and submitting non-trivial cases for editorial resolution). I guess, whole Provisional Catalogue will be built as an array of proto-GSDs.
Very soon CoL will meet a problem with proto-GSDs where PaleoBioDB contributes data. We should find a mechanism to handle newly appeared overlaps between sectors.

superceeded by https://github.com/CatalogueOfLife/checklistbank/issues/954


🐛 [bug] - Image security / Jenkins fails, invalid output format pretty

📝 Description
🚶 Steps to reproduce
https://rht-labs.com/tech-exercise/#/3-revenge-of-the-automated-testing/7a-jenkins
, in the first step 3, the pipeline fails on set +x curl -k -L -H "Authorization: Bearer ${ROX_CREDS_PSW}" https://${ROX_CREDS_USR}/api/cli/download/roxctl-linux --output roxctl > /dev/null; chmod +x roxctl > /dev/null export ROX_API_TOKEN=${ROX_CREDS_PSW} ./roxctl image scan --insecure-skip-tls-verify -e ${ROX_CREDS_USR}:443 --image image-registry.openshift-image-registry.svc:5000/${DESTINATION_NAMESPACE}/${APP_NAME}:${VERSION} --format pretty:
Flag --format has been deprecated, please use --output/-o to specify the output format. NOTE: The new JSON / CSV format contains breaking changes, make sure you adapt to the new structure before migrating.

Error: invalid arguments: invalid output format "pretty" used. You can only specify json or csv

script returned exit code 1

set +x curl -k -L -H "Authorization: Bearer ${ROX_CREDS_PSW}" https://${ROX_CREDS_USR}/api/cli/download/roxctl-linux --output roxctl > /dev/null; chmod +x roxctl > /dev/null export ROX_API_TOKEN=${ROX_CREDS_PSW} ./roxctl image scan --insecure-skip-tls-verify -e ${ROX_CREDS_USR}:443 --image image-registry.openshift-image-registry.svc:5000/${DESTINATION_NAMESPACE}/${APP_NAME}:${VERSION} --format json
Flag --format has been deprecated, please use --output/-o to specify the output format. NOTE: The new JSON / CSV format contains breaking changes, make sure you adapt to the new structure before migrating.

Scanning image failed: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body=""). Retrying after 3 seconds

Scanning image failed: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body=""). Retrying after 3 seconds

Scanning image failed: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body=""). Retrying after 3 seconds

Error: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body="")

script returned exit code 1

The next step is also problematic:
 set +x export ROX_API_TOKEN=${ROX_CREDS_PSW} ./roxctl image check --insecure-skip-tls-verify -e ${ROX_CREDS_USR}:443 --image image-registry.openshift-image-registry.svc:5000/${DESTINATION_NAMESPACE}/${APP_NAME}:${VERSION} --json --json-fail-on-policy-violations=false:
Flag --json has been deprecated, use the new output format which also offers JSON. NOTE: The new output format's structure has changed in a non-backward compatible way.

Flag --json-fail-on-policy-violations has been deprecated, use the new output format which will always fail with policy violations.

Checking image failed: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body=""). Retrying after 3 seconds

Checking image failed: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body=""). Retrying after 3 seconds

Checking image failed: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body=""). Retrying after 3 seconds

Error: rpc error: code = Internal desc = image enrichment error: error getting metadata for image: image-registry.openshift-image-registry.svc:5000/fulanitos-test/pet-battle:1.3.1 error: error getting metadata from registry: "Autogenerated https://image-registry.openshift-image-registry.svc:5000 for cluster do500": Failed to get the manifest digest : Head "https://image-registry.openshift-image-registry.svc:5000/v2/fulanitos-test/pet-battle/manifests/1.3.1": http: non-successful response (status=401 body="")

script returned exit code 1

Also on Tekton:
Failure on task image-scan - check logs for details.
100 52.8M  100 52.8M    0     0   236M      0 --:--:-- --:--:-- --:--:--  236M
Getting roxctl
Flag --format has been deprecated, please use --output/-o to specify the output format. NOTE: The new JSON / CSV format contains breaking changes, make sure you adapt to the new structure before migrating.
Error: invalid arguments: invalid output format "pretty" used. You can only specify json or csv

I did not complete the rest of this section because I suspect it will have the same issues as the Jenkins bit.

updates roxctl command now. --pretty has been removed in latest version - its now 'table' format
we intentionally download the version of the cli from the matching installed ACS (which get minor updates as operator automatically updates)
the flag "--json-fail-on-policy-violations" when checking image scan is no longer supported (it always true now).
this is OK for -api image (tested OK against latest ubi 8.5) which i have rebuilt with latest libs for this cve
https://access.redhat.com/errata/RHSA-2021:4903
is going to be problematic for UI pet-battle image in Jekins since it is not regularly maintained.
the options i see are:

ignore the $? return ! which is what  ""--json-fail-on-policy-violations=false" was doing - this is not ideal as its probably bad practice :) e.g

fix the upstream build of pet-battle to use patched/latest base image and libs so there are no critical/high warnings - this is preferable i think but a little work (@springdo @ckavili WDYT ?)

@alexpdp7  - should be good to retest now with these minor fixes now, i.e. won't fail on parsing/args now.

Option 3/4. we just document the
exit 0

strategy ... i have a feeling its the season for high vuln. just got caught by this literally this afternoon - broke my build
https://access.redhat.com/security/cve/cve-2021-37136
what we could do .. is also change the policy to break the build on critical only (instead on important)

agree on breaking the build on critical only. But also let's do that little work, update the base image -  I can take the ownership of that https://github.com/rht-labs/tech-exercise/issues/75 :)

OK, i'm going to close this for now as the formatting and CLI has been fixed which was the original issue.


ImportError: cannot import name 'Image' from 'PIL'

I'm trying to compile my program, however upon finished running the following command
python -m nuitka --follow-imports easyak.py --show-progress --show-scons
I ran .\EasyAK.exe through Windows Powershell
and received the following error before the program exitted:
PS D:\Documents\EasyAK_R3> .\easyak.exe Traceback (most recent call last):   File "D:\Documents\EasyAK_R3\easyak.py", line 16, in <module>     from PIL import Image ImportError: cannot import name 'Image' from 'PIL' (C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\__init__.py)
And these are the only warnings I got:

Nuitka:INFO:Doing module local optimizations for 'cv2.data'.
Nuitka:INFO:Total memory usage before generating C code: 377.79 MB (396144640 bytes):
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\PIL\Image.py:432' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\Xlib\XK.py:47' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\Xlib\display.py:120' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\cx_Freeze\hooks.py:437' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\function_base.py:463' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\lib\utils.py:393' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\lib\utils.py:892' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:WARNING:Unresolved 'import' call at 'C:\Users\Elite\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\lib\utils.py:950' may require use of '--include-plugin-directory' or '--include-plugin-files'.
Nuitka:INFO:Total memory usage before running scons: 387.24 MB (406048768 bytes):

How can I resolve this issue? Please help.

python -m nuitka --follow-imports easyak.py --show-progress --show-scons

This is not your complete command, right? I assume you are trying to do a standalone compile?

You also did not provide the complete required information for issue submission ...

Sorry, I was falling asleep the time I submitted this. Here are the additional informations:
0.6.5 Python: 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] Executable: C:\Users\Elite\AppData\Local\Programs\Python\Python37\python.exe OS: Windows Arch: x86_64
I installed Nuitka via pip (I used the guide from https://nuitka.net/doc/user-manual.html#write-some-code-and-test)
I did not see any error upon executing the Nuitka commands except those warnings. However the error I got was the Module Not Found when I try to open the executable.
I am trying to make a compiled version of my python codes that works for other Windows machines. Did I miss any other commands?

I suggest you try compiling your program using "hinted compilation". This consists of two separate steps:

Analyze and log the import statements of your script via python get-hints.py yourscript.py. This will create a JSON file with this information.

Compile via python nuitka-hints.py yourscript.py. This invokes Nuikta providing it with all required parameters, including activation of any plugins.

This way you need a command line which is a lot shorter and less error prone. Also the compile time is much shorter and the resulting dist folder is smaller.

The first command gave me the following JSON file:
https://puu.sh/EnTs4/04ef477e60.json
And the second one gave me this error:
(venv) D:\Documents\EasyAK_R3>python nuitka-hints.py easyak.py
NUITKA is compiling 'easyak.py' with these options:
--standalone
--remove-output
--recurse-none
Nuitka:INFO:User plugin 'hinted-mods.py' is being loaded.
Nuitka:INFO:'hinted-mods.py' is adding the following options:
Nuitka:INFO:--enable-plugin=numpy
Nuitka:INFO:--enable-plugin=tk-inter
Nuitka:INFO:--enable-plugin=qt-plugins=sensible
Nuitka:INFO:--recurse-to for 228 imported modules.
Nuitka:INFO:
Nuitka:INFO:Injecting plug-in based pre load code for module 'tkinter':
Nuitka:INFO:    Need to make sure we set environment variables for TCL.
Problem with statement at easyak.py:1:
-> import os
Nuitka:INFO:Interrupted while working on '<Node 'PYTHON_MAIN_MODULE' with {'filename': 'easyak.py', 'main_added': False, 'mode': 'compiled'}>'.
Traceback (most recent call last):
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka_main_.py", line 184, in
main()
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka_main_.py", line 177, in main
MainControl.main()
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\MainControl.py", line 759, in main
main_module = createNodeTree(filename=filename)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\MainControl.py", line 141, in createNodeTree
Optimization.optimize(main_module.getOutputFilename())
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\optimizations\Optimization.py", line 542, in optimize
makeOptimizationPass(initial_pass=True)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\optimizations\Optimization.py", line 456, in makeOptimizationPass
changed = optimizeModule(current_module)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\optimizations\Optimization.py", line 167, in optimizeModule
changed = optimizeCompiledPythonModule(module)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\optimizations\Optimization.py", line 100, in optimizeCompiledPythonModule
module.computeModule()
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 514, in computeModule
trace_collection=self.trace_collection
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\StatementNodes.py", line 165, in computeStatementsSequence
new_statement = statement.computeStatementsSequence(trace_collection)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\FrameNodes.py", line 182, in computeStatementsSequence
new_statement = trace_collection.onStatement(statement=statement)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 549, in onStatement
new_statement, change_tags, change_desc = statement.computeStatement(self)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\StatementNodes.py", line 226, in computeStatement
trace_collection.onExpression(expression=self.getExpression())
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\optimizations\TraceCollections.py", line 530, in onExpression
r = expression.computeExpressionRaw(trace_collection=self)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\ExpressionBases.py", line 1005, in computeExpressionRaw
return self.computeExpression(trace_collection=trace_collection)
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\ImportNodes.py", line 401, in computeExpression
trace_collection=trace_collection, module_name=imported_module_name
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\ImportNodes.py", line 280, in _attemptRecursion
module_package=module_package,
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\nodes\ImportNodes.py", line 199, in _consider
module_kind=module_kind,
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\importing\Recursion.py", line 181, in decideRecursion
module_filename, module_name, module_package, module_kind
File "D:\Documents\EasyAK_R3\venv\lib\site-packages\nuitka\plugins\Plugins.py", line 251, in onModuleEncounter
module_filename, module_name, module_package, module_kind
TypeError: onModuleEncounter() takes 4 positional arguments but 5 were given

You must be using an outdated Nuitka version.
This is mine:
nuitka>python -m nuitka --version
0.6.6rc6
Python: 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
Executable: C:\Users\Jorj\AppData\Local\Programs\Python\Python37\python.exe
OS: Windows
Arch: x86_64

Installed from factory branch.
Also works with the develop branch which has this version:
python -m nuitka --version
0.6.6rc7
Python: 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
Executable: C:\Users\Jorj\AppData\Local\Programs\Python\Python37\python.exe
OS: Windows
Arch: x86_64

Thank you, it seems to be working properly.
This may be out of topic but could you please answer these questions?

How do I add a window icon? Is there an argument for the command line to add an icon?
The program executes with a python console, is there a way to not show the console and only GUI?
And is there a way that I can reorganize the files such as put all the .pyd/other dlls into another folder  (like a subfolder /lib for example) and only leave the executable at root folder?
Is there a command line to make an installer out of this? (That includes additional files that I need to add (like images folder)
Thus something like this:

root/ EasyAK.exe
root/ Lib/PyQT5
root/ Lib/PIL
root/ Lib/qt5qml

(custom files to be included)
root/ Images/image1.jpg
root/ Images/image2.jpg

With hinted compilation you can use all the normal invocation parameters of Nuitka. For example:

How do I add a window icon? Is there an argument for the command line to add an icon?
The program executes with a python console, is there a way to not show the console and only GUI?

python nuitka-hints.py --windows-icon=ICON_PATH --windows-disable-console yourscript.py
The only condition is, that yourscript.py is the last parameter.

And is there a way that I can reorganize the files such as put all the .pyd/other dlls into another folder (like a subfolder /lib for example) and only leave the executable at root folder?

No, the dist folder layout needs to be as it is created by Nuitka.

Is there a command line to make an installer out of this? (That includes additional files that I need to add (like images folder)

You can add your own data files to the dist folder. This can be done by manual copying after the compile has finished. In this case, you can also decide, to put those data in the dist root, or a subfolder (e.g. images) of your choice. Of course, yourscript.py must know how to locate them relative to the directory from where it is invoked.
You can also write a user plugin which does the copy and which is invoked by Nuitka. This would then look like: python nuitka-hints.py --user-plugin=data-for-yourscript.py yourscript.py.
Or - my favorite - convert your data to Python modules, which you can import. In this way data are included by the compilation itself. See the attached example script, which contains a PNG image (the Nuitka logo) defined as a Python variable:
pil-test.zip
I have a little script which can convert any file into such a Python definition in base64 format - drop a note if you are interested.
There are various scripts in https://github.com/Nuitka/NUITKA-Utilities, which pack the dist folder in one file for installation purposes: exe-maker.py, one-file-maker.py.

I should add, that you can modify script nuitka-hints.py to adapt it to your special needs. For example, to alsways disable console windows. Already now it contains logic to do that if your script is named like this: yourscript.pyw.

I'm having an issue with one-file-maker.py that you mentioned (for Windows).
I was able to execute the file that is in the dist folder that was made by nuitka-hints.py.
So I assumed there's no problem with the exe itself.
I ran the following command

python onefile-maker-windows.py

Selected the dist folder, and included the icon I wanted.
This is the output:
`Running command ["C:\Program Files (x86)\NSIS\makensis.exe" /DNAME="easyak.exe" /DSFXOUTPUT="D:\Documents\EasyAK_R3\easyak.exe" /DSOURCEDIR="D:\Documents\EasyAK_R3\easyak.dist.reduced*" /DSFXEXECUTABLE="easyak.exe" /DDICTSIZE="128" /DICON=D:/Documents/EasyAK_R3/icon.ico /DUAC=user "D:\Documents\EasyAK_R3\easyak.dist.reduced.nsi"]. Please wait, this may take some time.
Command ["C:\Program Files (x86)\NSIS\makensis.exe" /DNAME="easyak.exe" /DSFXOUTPUT="D:\Documents\EasyAK_R3\easyak.exe" /DSOURCEDIR="D:\Documents\EasyAK_R3\easyak.dist.reduced*" /DSFXEXECUTABLE="easyak.exe" /DDICTSIZE="128" /DICON=D:/Documents/EasyAK_R3/icon.ico /DUAC=user "D:\Documents\EasyAK_R3\easyak.dist.reduced.nsi"] returned with exit code [0]. Command output was:
Command line defined: "NAME=easyak.exe"
Command line defined: "SFXOUTPUT=D:\Documents\EasyAK_R3\easyak.exe"
Command line defined: "SOURCEDIR=D:\Documents\EasyAK_R3\easyak.dist.reduced*"
Command line defined: "SFXEXECUTABLE=easyak.exe"
Command line defined: "DICTSIZE=128"
Command line defined: "ICON=D:/Documents/EasyAK_R3/icon.ico"
Command line defined: "UAC=user"
Processing config: C:\Program Files (x86)\NSIS\nsisconf.nsh
Processing script file: "D:\Documents\EasyAK_R3\easyak.dist.reduced.nsi" (ACP)

OneFile generation return code: 0`
But I cannot open the executable. No error message or warnings. Did I miss anything?

I tried the script as well, and it worked for me!
With one-file-maker the program inside (made from yourscript.py) is immediately executed after the dist folder has been unpacked to some temporary folder,
So maybe you just did not see that something was actually happening?
I just compiled a Qt based script with extension ".pyw", which displays an embedded PNG and wait forever until the display Window is clicked away. Everything worked as it should (no console window, etc.).
My only issue is that I could not unpack the installation exe to a non-temporary directory ...

Hmmm strange, I really do not see anything even after attempting to open it few times.
It did show loading cursor then normal mouse icon, and nothing is happening after that.
The executable that is exactly in the dist folder works fine though..

Just tried to unzip the installer exe ... this worked as well and is a (less elegant) way to install without executing ...

Thanks anyways. I'll close this one.


Windows 7 64 bit: first attempt at install did not work - how do I cleanly uninstall?

I already have VirtualBox on my laptop for vagrant - it works fine.
I go to install boot2docker - it failed, see below:
Welcome to Git (version 1.9.0-preview20140217)
Run 'git help git' to display the help index.
Run 'git help ' to display help for specific commands.
copying initial boot2docker.iso (run 'boot2docker.exe download' to update
initializing...
Generating public/private rsa key pair.
Your identification has been saved in c:\Users\sg0218049.ssh\id_boot2docker.
Your public key has been saved in c:\Users\sg0218049.ssh\id_boot2docker.pub.
The key fingerprint is:
9b:2c:1d:4a:47:66:4c:8a:b6:0b:43:7b:55:d3:2c:af SG0218049@H8460305330995
2014/07/22 11:02:52 Creating VM boot2docker-vm...
2014/07/22 11:02:52 Apply interim patch to VM boot2docker-vm (https://www.virtua
lbox.org/ticket/12748)
2014/07/22 11:02:52 Failed to modify VM "boot2docker-vm": exit status 1
starting...
2014/07/22 11:02:53 Waiting for VM to be started...
.............................
2014/07/22 11:03:52 Started.
2014/07/22 11:03:52   Trying to get IP one more time
2014/07/22 11:03:52 exit status 255
2014/07/22 11:03:52 Docker client does not run on Windows for now. Please use
2014/07/22 11:03:52     "c:\Program Files\Boot2Docker for Windows\boot2docker.ex
e" ssh
2014/07/22 11:03:52 to SSH into the VM instead.
connecting...
Bad port '0'
2014/07/22 11:03:53 exit status 255
I then tried 'Uninstall Boot2Docker for Windows" and I get the message: "Some elements could not be removed.  These can be removed manually"  Which elements?

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


Integration test against jammy

Summary

Test the stack against Jammy as part of https://github.com/paketo-buildpacks/nodejs/issues/607

Remove the Bionic stack from the buildpack.toml in favour of just the wildcard stack

Use Cases

Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[ ] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@paketo-buildpacks/nodejs-maintainers I guess the question is - is yarn start something that actually needs to be tested against Jammy?

I don't think we need to test against Jammy and Bionic, but if we were only testing against one, I would choose Jammy.

@ryanmoran done

@paketo-buildpacks/nodejs-maintainers tests hanging until the required checks are updated to include the two builder integration tests


ISSUE-604 Use DRIVER CLASS NAME in JDBC sink for as its name represents

since some storages including Phoenix doesn't support javax.sql.DataSource
modify all fields to conform to driverClassName (we no longer use datasource config)

Please refer https://github.com/brettwooldridge/HikariCP for field descriptions.

+1


Issues/export all

10.4.0 has been released and contains a fix for the issue.
Feel free to reopen the issue or to submit a new one if you meet any problems.


Fresh start with Rust

Cancelled Manuel review request to stop the daily reminders in #languages-ops, given the review request is 3 months old.

Does this need a CHANGELOG.md entry? Currently the skip changelog label has been applied.

Does this need a CHANGELOG.md entry? Currently the skip changelog label has been applied.

I added a CHANGELOG

I'll defer my review since @edmorley and @joshwlewis already reviewed and approved - I trust these guys :) If you want a separate review from me just let me know. :)


Add cached data endpoint documentation 📚

Changes:

Add documentation for the latest_vehicle_data endpoint.

The endpoint gets cached data, pushed by the vehicle on sleep, wake and around OTAs.

OLD: - Put the response of these into a collapsible element, as they take up too much space.

Fixed Formatting 🛠

Thanks!


Opacity transition does not work properly for % values

When using transitions with the opacity style, values given in "%" units do not correctly transition from the prior value, but instead always transition from "0%". By contrast, using numbers for opacity values do correctly transition between opacity values.
Here's a simple example, where the intended effect is 5 circles who smoothly change to random opacities every update:
let data = [];

//Produce 5 points with increasing x values and random o values in range [0,100)
function updateData() {
	data = [];
	for(let i=0; i<5; i++) {
		data.push({x: i * 100 + 50, o: Math.floor(Math.random() * 100)});
	}
}

function update() {
	d3.select('svg')
	.selectAll('circle')
		.data(data)
		.join('circle')
		.attr('cy', 50)
		.attr('r', 40)
		.attr('cx', (d) => d.x)
		.transition()
		.duration(500)
		.style('opacity', (d) => d.o +"%"); // using percent units
}

function updateAll() {
	updateData();
	update();
}

updateAll();

The actual resulting effect is each update, the circles fade in from 0 opacity, rather than smoothly from the prior opacity value:
https://github.com/d3/d3/assets/7028714/c3b9a9c4-f1ac-41d4-8ff6-9ff1fcddeace
By changing the final line in update() to this:
		.style('opacity', (d) => d.o * 0.01); // using decimal units

we get the intended effect:
https://github.com/d3/d3/assets/7028714/f44aefd8-4b24-4622-bee5-3d76bfb70125
I have not tested transitioning other style properties that use percent units, but it is possible this is an issue beyond just opacity.

I think this probably isn’t fixable and is the same fundamental issue as https://github.com/d3/d3-transition/issues/72#issuecomment-319202005 which is that transition.style depends on the computed value of the style property. In the case of opacity, the computed value is a number between 0 and 1. So you always need to specify the target value of the transition in the same manner as the computed value for the default interpolator to work correctly.

After reading the documentation for transition.style, that makes more sense. It does feel like an easy pitfall that others might run into because many style properties work just fine with alternative units when transitions are not involved. Perhaps the docs could include some warnings/guidelines on what units are appropriate for certain common style properties.


refactor(database): remove json save and load from database

Download Artifacts :

win-ia32
win-x64
linux-x64


Fix flicker in control nodes due to pivot offset

Fixes #28804 for 3.x
Based on suggested fix from this comment, which is already implemented on the master branch anyway.
https://github.com/godotengine/godot/issues/36087#issuecomment-771593146
We're using this internally for our project and it doesn't seem to have any regressions anywhere, so it is safe to merge.
Before:
https://user-images.githubusercontent.com/43449832/109133964-954aaa00-7766-11eb-97ec-6bc1b842a506.mp4
After:
https://user-images.githubusercontent.com/43449832/109133830-73512780-7766-11eb-8311-6bd8ae06b1a4.mp4

Here's an image of the Editor Settings to show that the regression with VScroll does not happen anymore.

Please amend the commit message to be more descriptive. Mentioning the issue number is good but it's not sufficient information to know what a commit does when reading a changelog. See https://github.com/godotengine/godot/blob/master/CONTRIBUTING.md#format-your-commit-messages-with-readability-in-mind
It would also be good to credit @georgwacker for the original fix by adding them to the commit message as Co-authored-by:. Should be something like:
Co-authored-by: Georg Wacker<EMAIL_ADDRESS>
at the end of the commit message.

@akien-mga Thank you for your feedback, I modified the commit message.

History tells me this PR may not be a good idea, as it will likely reintroduce a regression: https://github.com/asheraryam/godot/commit/2bae35353d49fbbd7a1b2530785b6ba75103fad6

@Calinou That is not the case here. If you look at the discussion in this thread: https://github.com/godotengine/godot/issues/36087#issuecomment-771593146 you can see that the regression was fixed on master, where the prior code was not reverted.
This PR simply applies the old fix, plus adds the new fix that closes the regression.

My test results are consistent with the results that @georgwacker got, and he did most of the work, which is why he is listed as a co-author.

I can confirm that this fix does not cause the old regression in my initial PR, the crucial part is rounding of the coordinates for the scroll container as it is currently in master.
I documented my findings here https://github.com/godotengine/godot/issues/36087#issuecomment-771593146 but was not sure how or if I should create a PR for 3.2.

Thanks!

This PR is being reverted due to a clipping regression. For now, if you want to animate Control nodes, turn off snap_controls_to_pixels in Project Settings (under GUI/Common).

Yes as discussed on the Godot Chat, we need to dig deeper to better understand how this snapping is supposed to work and make a solution that works reliably.
This PR actually removed the last use of gui/common/snap_controls_to_pixels, so the reason for having had this setting in the first place needs to be reviewed. It was added by @reduz in 1eeda0f32f66b48c8df3b93f333bf702b149ba31 to fix various bugs, but the actual code using it from that commit has since been removed by @Piet-G in #22431, which is the commit adding the workaround that this PR removes.
There's definitely stuff to fix there, so I fully acknowledge the bug and the removal of this workaround is likely a good option, but we need to take the time to test things thoroughly to come up with a reliable fix that won't cause regressions. So reverting this PR for now given how close we are to the 3.2.4 release - it's better to keep the current known issues (which can be worked around by disable gui/common/snap_controls_to_pixels) than trade them for new ones.


Added support for writing short files

Added a short argument to write functions of Tier and TextGrid classes. If short=True the tiers/textgrids are written in the abbreviated short format. Default value of short is set to False, so it should be backward compatible.

Thanks for this.
I like the idea of adding support for this but repeatedly switching on a single constant boolean inside of a loop is IMO poor design. It should just be if short: ... else:  at most one time. Would you be willing to refactor for that? (Or just call the method write_short and put it somewhere else.)
I don't use (or understand why anyone else would use) the short format, and we don't yet support its reading either, so this strikes me as a low priority.

Good point. Will implement write_short if I have some spare time. AFAIK the short format is mostly used for large corpora as it saves some space. I'm converting output from a forced aligner to short textgrids so I can more easily compare them to the short textgrids from some of those corpora.
As far as I can tell reading short TextGrids works just fine, btw.


[personal] cloning problems

$ git clone https://github.com/fzaninotto/Faker.git
Cloning into 'Faker'...
remote: Enumerating objects: 15597, done.
error: RPC failed; curl 56 OpenSSL SSL_read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0
ffatal: The remote end hung up unexpectedly
atal: early EOF
fatal: index-pack failed
all other repositories on github are fine

yesterday everything worked 😄

Sorry, this is a GitHub issue.

ok, sorry


Apps

Adds shiny app.
The link in the notebook and the README won't work until this PR is merged
To test the link use
https://binder.bioimagearchive.org/v2/gh/jburel/idr0094-ellinger-sarscov2/apps?urlpath=shiny/apps/
cc @pwalczysko @francesw

This is much cleaner now, the curves and description makes sense.
I have just two problems:

the curve for Remdesivir is not fitting well into the graph window (see screenshot below), this does not happen for other compounds I tried

When filtering for a compound using the textbox above dropdown menu, a red error is highlighted (see screenshot)

I have increased the interval so it should now work.

Looks good, thank you. Ready to merge fmpov.

Thanks @pwalczysko


MRG: Improve decoding doc and sphinx process

This PR:

Converts manual/decoding.rst into a tutorial by folding it and examples/decoding/plot_decoding_csp_space.py into tutorials/plot_sensors_decoding.py
Makes our doc building strict about warnings so we stop producing broken links that need to be fixed at release time
Removes an image from the channel interpolation doc that did not add much understanding (and in partial builds produces a warning)
Fixes the @deprecated decorator to properly set the number of spaces to avoid a build warning
Improves conf.py to turn warnings into errors during example runs (we should not have un-caught warnings in examples)
Various minor fixes for doc building to avoid warnings

https://10182-1301584-gh.circle-artifacts.com/0/html/auto_tutorials/plot_sensors_decoding.html

I build it locally with make html_dev-noplot and I got these warnings:
/home/sik/code/mne-python/doc/auto_tutorials/plot_morph_stc.rst:115: WARNING: image file not readable: auto_tutorials/../../_images/sphx_glr_plot_morph_volume_stc_001.png
/home/sik/code/mne-python/doc/auto_tutorials/plot_morph_stc.rst:251: WARNING: image file not readable: auto_tutorials/../../_images/sphx_glr_plot_morph_surface_stc_001.png
/home/sik/code/mne-python/mne/source_estimate.py:docstring of mne.SourceEstimate.morph:10: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/sik/code/mne-python/mne/source_estimate.py:docstring of mne.SourceEstimate.morph_precomputed:10: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/sik/code/mne-python/mne/source_estimate.py:docstring of mne.VectorSourceEstimate.morph:10: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/sik/code/mne-python/mne/source_estimate.py:docstring of mne.VectorSourceEstimate.morph_precomputed:10: WARNING: Block quote ends without a blank line; unexpected unindent.
/home/sik/code/mne-python/doc/manual/channel_interpolation.rst:: WARNING: image file not readable: manual/../../_images/sphx_glr_plot_interpolate_bad_channels_002.png
/home/sik/code/mne-python/doc/manual/decoding.rst:: WARNING: image file not readable: manual/../../_images/sphx_glr_plot_linear_model_patterns_001.png
/home/sik/code/mne-python/doc/manual/decoding.rst:: WARNING: image file not readable: manual/../../_images/sphx_glr_plot_linear_model_patterns_002.png
/home/sik/code/mne-python/doc/manual/decoding.rst:: WARNING: image file not readable: manual/../../_images/sphx_glr_plot_sensors_decoding_001.png
/home/sik/code/mne-python/doc/manual/decoding.rst:: WARNING: image file not readable: manual/../../_images/sphx_glr_plot_sensors_decoding_004.png
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] whats_new
/home/sik/code/mne-python/doc/whats_new.rst:108: WARNING: py:func reference target not found: mne.beamformer.make_lcmv`

But circle passes without issue.

I don't see it locally either, maybe you need a newer numpydoc or sphinx

Actually, I mess up. It was my fault.

But I'm trying to compile it now, and it fails with this packages
sphinx                    1.7.6                    py36_0
sphinx-bootstrap-theme    0.6.5
sphinx-fontawesome        0.0.6
sphinx-gallery            0.2.0
sphinxcontrib             1.0                      py36_1
sphinxcontrib-websupport  1.1.0                    py36_1

This is my log:
~/code/mne-python/doc doc* 15s
(mne) ❯ make html_dev-noplot
BUILD_DEV_HTML=1 sphinx-build -D plot_gallery=0 -b html -d _build/doctrees  -n -W -T --keep-going . _build/html
Running Sphinx v1.8.1
loading pickled environment... failed: build environment version not current
[autosummary] generating autosummary for: advanced_setup.rst, auto_examples/connectivity/plot_cwt_sensor_connectivity.rst, auto_examples/connectivity/plot_mixed_source_space_connectivity.rst, auto_examples/connectivity/plot_mne_inverse_coherence_epochs.rst, auto_examples/connectivity/plot_mne_inverse_connectivity_spectrum.rst, auto_examples/connectivity/plot_mne_inverse_label_connectivity.rst, auto_examples/connectivity/plot_mne_inverse_psi_visual.rst, auto_examples/connectivity/plot_sensor_connectivity.rst, auto_examples/datasets/plot_brainstorm_data.rst, auto_examples/datasets/plot_hf_sef_data.rst, ..., manual/time_frequency.rst, manual/visualization.rst, martinos.rst, mne_cpp.rst, python_reference.rst, references.rst, tutorials/command_line.rst, tutorials/philosophy.rst, tutorials/report.rst, whats_new.rst
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://www.numpy.org/devdocs/objects.inv...
loading intersphinx inventory from https://scipy.github.io/devdocs/objects.inv...
loading intersphinx inventory from https://matplotlib.org/objects.inv...
loading intersphinx inventory from https://scikit-learn.org/stable/objects.inv...
loading intersphinx inventory from http://docs.enthought.com/mayavi/mayavi/objects.inv...
loading intersphinx inventory from http://nipy.org/nibabel/objects.inv...
loading intersphinx inventory from http://nilearn.github.io/objects.inv...
loading intersphinx inventory from https://pysurfer.github.io/objects.inv...
loading intersphinx inventory from https://pandas.pydata.org/pandas-docs/stable/objects.inv...
loading intersphinx inventory from http://www.statsmodels.org/stable/objects.inv...
loading intersphinx inventory from http://nipy.org/dipy/objects.inv...
generating gallery...
generating gallery for auto_examples/connectivity... [100%] plot_mixed_source_space_connectivity.py
generating gallery for auto_examples/datasets... [100%] plot_opm_rest_data.py
generating gallery for auto_examples/decoding... [100%] plot_receptive_field_mtrf.py
generating gallery for auto_examples/forward... [100%] plot_left_cerebellum_volume_source.py
generating gallery for auto_examples/inverse... [100%] plot_tf_lcmv.py
generating gallery for auto_examples/io... [100%] plot_objects_from_arrays.py
generating gallery for auto_examples/preprocessing... [100%] plot_define_target_events.py
generating gallery for auto_examples/realtime... [100%] rt_feedback_server.py
generating gallery for auto_examples/simulation... [100%] plot_simulate_raw_data.py
generating gallery for auto_examples/stats... [100%] plot_cluster_stats_evoked.py
generating gallery for auto_examples/time_frequency... [100%] plot_time_frequency_simulated.py
generating gallery for auto_examples/visualization... [100%] plot_3d_to_2d.py
generating gallery for auto_tutorials... [100%] plot_background_filtering.py
generating MNE command help ... [100%] mne_browse_raw.py
[Done]
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 636 source files that are out of date
updating environment: 636 added, 0 changed, 0 removed
reading sources... [100%] whats_new
looking for now-outdated files... none found
pickling environment... done
checking consistency... /home/sik/code/mne-python/doc/auto_examples/decoding/plot_decoding_csp_space.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
/home/sik/miniconda3/envs/mne/lib/python3.6/site-packages/sphinx/builders/html.py:130: RemovedInSphinx20Warning: builder.css_files is deprecated. Please use app.add_stylesheet() instead.
  RemovedInSphinx20Warning)
writing output... [100%] whats_new
generating indices... genindex py-modindex
writing additional pages... search
copying images... [100%] tutorials/mne-report.png
copying downloadable files... [100%] auto_tutorials/plot_whitened.ipynb
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build finished with problems, 1 warning.
embedding documentation hyperlinks...
embedding documentation hyperlinks for auto_examples... [100%] plot_sensor_regression.html
embedding documentation hyperlinks for auto_tutorials... [100%] plot_brainstorm_auditory.html
Makefile:60: recipe for target 'html_dev-noplot' failed
make: *** [html_dev-noplot] Error 1

make clean then try again

yes! my bad. I had a messy tree.

Yes the warning about a file that does not exist in this branch was the clue :)

The tutorial looks great!
One tiny nitpick is that this warning box color makes it hard to read the object name:

moreover, if we agree on the warning content it should be also mentioned in mne.decoding.FilterEstimator docs too. Last, if one knows what they are doing and is careful about epoch length do we still discourage the usage of FilterEstimator?

ok then

if we agree on the warning content it should be also mentioned in mne.decoding.FilterEstimator docs too. Last, if one knows what they are doing and is careful about epoch length do we still discourage the usage of FilterEstimator?

Yes, so I've moved the warning to the FilterEstimator class and made it less stringent

Forthcoming commit will also improve things by turning warnings during example runs into errors, so that our examples in doc building should (become, with these changes, and from here on out) stay clean

Okay CIs are finally green and I think I've addressed all comments. Okay to merge @agramfort ?

I'll actually go ahead and merge and we can tweak docs further if we need to for release (hopefully in the next couple of days!)

We were discussing with @agramfort in the blackboard and we thought that the best approach was:
0.17:

brainvison, eeglab: add a parameter stim_channel=True + deprecation warning suggesting to use False
edf: stim_channel='default' + deprecation warning suggesting to use None

0.18:

brainvison, eeglab: stim_channel=False + deprecation warning saying that the parmeter would disspear
edf: if stim_channel is differnt than None warn that the behaviour would disapear

0.19:

Remove synthesis

What you propose as a different timeline?

I mean, if we agree that our users wont mind I'm fine to remove the whole thing in 0.18. The question is how?

(Wrong PR to comment on BTW) to be faster I would do:
0.17:

Add parameter to bv/eeglab: default None, say accepted values in docstring are True | False
deprecation warning for all readers that synth will be disabled in 0.18

0.18:

bv/eeglab, the only accepted value in docstring is False (but our default is None), if they pass False warn them to stop passing the parameter
remove synth for all readers, remove param for edf

0.19:

remove param for bv/eeglab


Improve ECS singleton syntax

If you need to read the entity Component, or a Databag, from a standard GDScript function, it's possible to use the ECS singleton in this way:
func _ready():
    var component = ECS.get_active_world().get_entity_component(get_entity_id(), ECS.TransformComponent)

The function get_active_world is used to get the currently active world, however, this function is really verbose. Is it possible to make it shorter?
The function get_entity_component is good, but still verbose. Is it possible to make this shorter?
What about this?
Is still understandable?
Worth it?
func _ready():
    var component = ECS.get_world().get_component(get_entity_id(), ECS.TransformComponent)

Moving the proposal to discussions to keep the issue just of technical stuff to fix.


support for item property crawling for columns (nested object items) of repeater

tried searching if its possible to access the property of item if its an object.
var columns = [
{
label: 'Inquiry No.',
property: 'id',
sortable: true
},
{
label: 'Inquirer',
property: 'inquirer.name',
sortable: true
}
];
Like here inquirer.name

The quick answer is not right now. Right now, it's expected that the columns array be "flat." a custom datasource can reduce your array and generate a "flat array" to send into columns from inside the datasource function.
A custom dataSource is your playland to manipulate the data into a reduced array.
The dataSource part of the repeater tutorial may be helpful. Manipulate the default data that gets returned in the callback.
// define the datasource
  var dataSource = {
    'page': pageIndex,
    'pages': totalPages,
    'count': totalItems,
    'start': startIndex,
    'end': endIndex,
    'columns': columns, // <--- this needs to be "flat"
    'items': rows // <-- can be any data you want that corresponds to your columns property, but it's also expected to be "flat"
  };

  // pass the datasource back to the repeater
  callback(dataSource);

got it! thank you. keep it up guys!


Collection.where(:attribute => value).delete_all

I can not get the conditional deletion of documents from a collection to work. Have tried also the variant from the docs with
Collection.delete_all(:conditions => {:attribute => value}).
It always deletes all docs from the collection. I found almost the same question in the Google Group but without a clear answer.
Any hints ?
Txs upfront.

Which version of Mongoid are you using? This should work:
Model.where(attribute: value).delete_all

Specs are here:
https://github.com/mongoid/mongoid/blob/master/spec/mongoid/criterion/destructive_spec.rb

I am using mongoid 2.4.3.
I am very confused on the different formatting between the doc and what I have to put in my Rails3.2.1 code.
(attribute:value) leads to an error, where as (:attribute => value) is excepted by by RoR. Anything I missed here?

Are you not using Ruby 1.9.x? The syntax I posted above would not be valid on 1.8.x, REE, or any other vm not running in 1.9 mode.


Fix linking the tests with GCC 12 and 13

I'm not entirely sure why this function ends up being discarded by the linker, but this patch cures the problem.

/ok to test

I'm not entirely sure why this function ends up being discarded by the linker, but this patch cures the problem.

Are you using LTO? And which linker? Clearly there's a linker bug here to be filed.

I'm not entirely sure why this function ends up being discarded by the linker, but this patch cures the problem.

Are you using LTO? And which linker? Clearly there's a linker bug here to be filed.

The regular GNU ld, and I certainly tried to build without LTO. Gonna need to try and reduce a testcase for a linker bug report...


Remove locked accounts

We expect not to need this feature.

locked accounts will become unlocked. unless we hooked up the parser to error out on unknown fields.
incidentally, we never saw any public network use this feature


auto set minimun date to 1970 in android

i haven't defined  minimum date but it is default taking 1970

+1

I solved it by adding new Date ('1800-01-01')

+1

+1


Refactor removal of reserved objects in QPDF::JSONReactor

At the end of importing a JSON file, scan the object cache for reserved objects and replace with null objects.
When we are updating an existing QPDF object from JSON, do we need to preserve any pre-existing reserved objects?

I don't think the CI failure is caused by my code.
All errors are similar to:
command: dct_compress rawdata a.jpg 400 256 gray
libc++abi: terminating with uncaught exception of type std::runtime_error: Wrong JPEG library version: library is 90, caller expects 80
No idea how to fix this

The mac build failure is probably related to conflicting libjpeg versions on the github runner. It's hard for people to get ABI transitions right. This will probably get fixed, but if it hasn't disappeared by whenever I have time to look at it, I'll either work around it in the qpdf build, report an issue/offer a PR to github, or both. I imagine this is probably breaking various builds across the ecosystem....

I pushed a fix to the mac CI problem to main. Assuming my latest main build succeeded (I'm not staying up to wait for it), you should be able to rebase off current main. When macos builds were first supported in github, there were no jpeg library development files on the runner, so I built and installed it. This is no longer necessary, so I just removed my old workaround.

I don't understand this change.

It's hard for me to convince myself that this doesn't leave us open to weird ordering problems around the order in which objects are first referenced and first appear, though there is the "non-trivial replacement" coverage case which obviously still passes. With #902 and #896 both merged, there's only one commit left here, but I don't understand the purpose of the change, and it's not clear to me how the behavior is the same.
I don't think it's correct to clear all reserved objects. Suppose we implemented something in the future (or someone did so in their own code) where we could copy foreign objects from a combination of a PDF file and JSON file? Seems contrived, and maybe it's not a good example, but to me, replacing reserved objects that don't have anything to do with the JSON file feels like a bug. At the very least, it could mask a bug in which objects are left reserved.
So based on my analysis, this doesn't seem like a good change, but maybe I'm missing something, so feel free to clarify.

I don't think it's correct to clear all reserved objects.

I added code to scan the object cache for pre-existing reserved objects at the start and leave them untouched when I replace reserved objects with null objects at the end.

I don't understand the purpose of the change

Purely performance. Identifying reserved objects that we created (and didn't replace) by scanning the object cache (even twice) saves about 2% on the JSON input test compared to keeping track of reserved objects as we create and replace them.

It's hard for me to convince myself that this doesn't leave us open to weird ordering problems around the order in which objects are first referenced and first appear

I don't think there is a problem. The timing of reserved object creation and destruction does not change, only the method by which we identify left-over reserved objects.
I rebased  this PR on top of #900. The combined effect is around 2.5% saving on the JSON input test, around 4.5% on the JSON output test and a small but consistent saving on the non-JSON tests.


Fix image tags in the release publishing pipeline

[ ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[ ] Ensure that the pull request title represents the desired changelog entry
[ ] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Just fast-tracking the fix


generate configure headers in devel workspace

Otherwise rviz cannot be built with its dependees together in one devel workspace.

Thanks for the simplifications and merging, CI on the merged commit seems to have passed, but CI for the request failed?
Building your changes with my catkin build workspace produces the same error over here:
Errors     << rviz:cmake /homeL/pushing/ros/logs/rviz/build.cmake.000.log
CMake Error: Could not open file for write in copy operation /rviz/default_plugin/rviz_default_plugin_export.h.tmp
CMake Error: : System Error: No such file or directory
CMake Error at /usr/share/cmake-3.5/Modules/GenerateExportHeader.cmake:362 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/GenerateExportHeader.cmake:378 (_do_generate_export_header)
  src/rviz/default_plugin/CMakeLists.txt:76 (generate_export_header)

The variable EXPORT_HEADER_DIR was defined too late... I force-pushed a fix.
Travis didn't fail because it runs with root permissions (inside docker) and thus is able to create those files anywhere - also in /.


Tidy up

Incidental stuff found trying to fix other stuff.

Current coverage is 60.21% (diff: 100%)

Merging #241 into master will not change coverage

@@             master       #241   diff @@
==========================================
  Files           129        129
  Lines          6890       6890
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           4149       4149
- Misses         2376       2377     +1
+ Partials        365        364     -1

Powered by Codecov. Last update e333f0d...3705561


yes

yes
Originally posted by @Macias131987 in https://github.com/BrianLalli/Show-Me-The-Money/issues/48#issuecomment-1495610533

yes
Originally posted by @Macias131987 in https://github.com/BrianLalli/Show-Me-The-Money/issues/48#issuecomment-1495610533


search: can we run liara autocomplete automaticly on first initialization?

@userdehghani It is not possible in oclif, however, the Heroku CLI does this (the data needed for completions is behind an API).
could not find any related topic about dynamic autocomplete in oclif CLI.
feel free to reopen this issue if you find any solutions, thanks ❤


New border appeared on twitter box

Seeing this on production, investigating what changed.

Refreshing the page makes it disappear - and reappear...

This guidance isn't helping: https://developer.twitter.com/en/docs/twitter-for-websites/timelines/overview

Won't be an issue in static site


Training data set

Thank you for sharing. Could you introduce the training data set used in FastSAM3D model training?

We have list it in the expirement part of the paper, pls check, thank you.

We mainly use Brats2021, AMOS, and Totalsegmentator to train.

For BRATS, which modalities do you use? Do you combine all modalities into a single image (4 channels?) Or do you instead treat each modality as a separate sample?

We combine them.


Refine list is showing 0 selected features after finishing refinement

To repro

Create a new list
Using rectangle sketch tool select some features
Click done and go to the Refine tab, add few features and remove few features, notice that the table is showing correct number of features added and removed
in the Export tab, notice that the refine feature number is 0.
At this point if I click on the List tab, a console error generates and can't navigate to List or Refine tab

This issue is fixed, verified in devext


live demo system

Hi,
while it's easy to use Docker to start with an local instance for some experiments, this might still prevent users from give it a try. So I suggest that someone keeps an public demo running, where users can explore the UI and agents and get an idea about this project :)

Hey @Matthias84.  Historically we've used self-hosting on Heroku for that.  Maintaining a demo system with many people's test Agents has sounded like a lot of work, so I don't think anyone has bitten it off yet.

Docker is another good and easy option to test huginn, especially on OSX and Windows as kitematic recently got support for windows.

Sadly it's IMHO not true for an enterprise environment (Win, proxy, firewalls, ...) even I agree with @dsander that kitematic looks pretty nice :-)
I understand that it makes a lot of work to maintain demo instances, but on the other hand it might invite more people to learn what huginn does and how you can use it. If there is no manpower to run a live system, thats not an essential problem.

If you'd be open to running such a system, we'd gladly accept your support. :smile:

I'm going to close this issue.  Please reopen if you want to discuss further or build this!


clickOnText() fails on partially visible text in WebView

From<EMAIL_ADDRESS>on May 30, 2013 08:58:29
What steps will reproduce the problem? 1. Create a layout where the WebView does not fill up all the available space.
2. Load content in the WebView.
3. Call clickOnText() on a partially visible text. What is the expected output? What do you see instead? Expected: The WebView's content should be scrolled until the center of the text becomes visible/clickable.
Actual: clickOnText() clicks on an other component. What version of the product are you using? On what operating system? The test was performed on emulator with target Android 2.3.3 and resolution 320x480 using Robotium 4.1 Please provide any additional information below. The problem is that the text is considered as sufficiently visible when it is not.
Please find the test applications (to illustrate the problem) and a possible patch attached.
Attachment: WebViewTest.zip robotium.patch
Original issue: http://code.google.com/p/robotium/issues/detail?id=468

From<EMAIL_ADDRESS>on May 30, 2013 10:11:12
Thank you for reporting this.
Status: Accepted
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on June 24, 2013 21:24:08
This has been fixed in Robotium 4.2.
Status: Verified


Allow for extra context during synopsis construction

This PR adds a second parameter to the synopsis factory, such that it is possible to consider additional parameters from the outside environment to properly parameterize a synopsis structure.

The build error is a Jenkins hiccup.

@vast-io/developers, can I ask you for a review?


Mention the official intel_rapl driver

On systems where the EC doesn't reset the values
(ex: ASUS Zenbook UX430UNR), it is probably prefered to use the
official intel_rapl driver.

Very nice, thanks!


openid.yaml: int is not a valid Swagger type

It should be integer instead.

I wonder why this passed the validator.

Oops, thanks!


picard-tools: 2.18.12 -> 2.18.14

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/picard-tools/versions.
meta.description for picard-tools is: '"Tools for high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF."'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/wmiksnhak7y4fkawdpaqnxdinfg2majh-picard-tools-2.18.14/bin/picard had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2.18.14 with grep in /nix/store/wmiksnhak7y4fkawdpaqnxdinfg2majh-picard-tools-2.18.14
directory tree listing: https://gist.github.com/f6ec815bfe86d6b17cddc24efc8e1a74
du listing: https://gist.github.com/530803baa738179a1d7cc652b6134707

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/ab86bea57fa60860f7bb3a2e0b93ef9c360d60f7.tar.gz -p picard-tools
ls -la /nix/store/wmiksnhak7y4fkawdpaqnxdinfg2majh-picard-tools-2.18.14

cc @jbedo for testing.

Success on x86_64-darwin (full log)
Attempted: picard-tools
Partial log (click to expand)
building '/nix/store/sblc3sc4kixqyxfdbr30d13h66srjyc3-picard.jar.drv'...

trying https://github.com/broadinstitute/picard/releases/download/2.18.14/picard.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   600    0   600    0     0   2678      0 --:--:-- --:--:-- --:--:--  2690
100 14.7M  100 14.7M    0     0  7808k      0  0:00:01  0:00:01 --:--:-- 9389k
building '/nix/store/6gjs7i8ish2pdqlgkci92dapk2k1bp0n-picard-tools-2.18.14.drv'...
installing
/nix/store/8jz97bcabkr7n5hn2q6xa5yvrz1wvw8r-picard-tools-2.18.14

Success on x86_64-linux (full log)
Attempted: picard-tools
Partial log (click to expand)
building '/nix/store/n2l0h3j9qwn3j8js9ycb0hgh169i2h2h-picard.jar.drv'...

trying https://github.com/broadinstitute/picard/releases/download/2.18.14/picard.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   600    0   600    0     0   1496      0 --:--:-- --:--:-- --:--:--  1492
100 14.7M  100 14.7M    0     0  4638k      0  0:00:03  0:00:03 --:--:-- 7401k
building '/nix/store/y353ga1slzqs2n367al411p8jjcn1fzy-picard-tools-2.18.14.drv'...
installing
/nix/store/wmiksnhak7y4fkawdpaqnxdinfg2majh-picard-tools-2.18.14

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: picard-tools
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


Add needed items for sdist

Add in some missing bits in wheel/Cargo.toml and some hacks around missing parts in the tar archive
Main items are:
needing to add in chia-client and chia-ssl to wheel/Cargo.toml
needing to remove the ../LICENSE from wheel/Cargo.toml - this resulted in the tar not having the LICENSE file but also pip expecting it, so I just removed it for now.
I noticed the tar was missing the src directory, so I had to manually add in the src directory to the tar archive.
This does make a tar.gz that does build on my riscv machine and also my mac.

When maturin builds the sdist, it puts in the tar the Cargo.toml from the root workspace and not from the wheel directory. They are listed in the root Cargo as deps and default features.

I see. thanks for the explanation.


Handle super in arrow functions

Input:
class D {
  foo() { return 1; }
}

class C extends D {
  bar() {
    return () => super.foo();
  }
}

const c = new C();
export default c.bar();

This fails to serialize with error from Babel parser SyntaxError: 'super' is only allowed in object methods and classes.
Cause + solution
This is caused by trying to parse () => super.foo() alone when serializing. This is not valid JS.
Needs to be wrapped in an object method in to be valid JS e.g. ({x() { () => super.foo() }}).
Would need to record that function contains super in tracker comment so know to add this wrapper before parsing.
Additional problem
Output created by Babel plugin does not record usage of super in the arrow function.
bar() {
  livepack_tracker(
    /*livepack_track:{"id":6,"scopes":[{"blockId":5,"varNames":["C"],"constNames":["C"],"blockName":"C"}],"isStrict":true,"isProtoMethod":true,"superVarName":"C"}*/
    () => [[livepack_scopeId_1, C]]
  );
  return () => {
    livepack_tracker(
      /*livepack_track:{"id":7,"scopes":[],"isStrict":true}*/
      () => []
    );
    return super.foo();
  };
}

There is a bug in current implementation. this also needs to be in scope for the transpiled super to operate correctly.

Fixed in 3bc4d81.


Missing data package/folder from pytorch_forecast package

When you run the following script  test_installation.py file, those packages fail
from pytorch_forecasting import TimeSeriesDataSet
from pytorch_forecasting.data import GroupNormalizer
synchronyse it with manu's repository
https://github.com/manujosephv/pytorch-forecasting/tree/master/pytorch_forecasting
the packages it looks like will be
from pytorch_forecasting.timeseries import TimeSeriesDataSet
from pytorch_forecasting.data.encoders import GroupNormalizer

from pytorch_forecasting.data.timeseries import TimeSeriesDataSet

The requirements_new.txt file needs to add
pytorch-forecasting>=1.2.0
and to rename pytorch_forecasting in the structure as pytorch_forecasting_redundant
and to change the test_installation.py as above

Thanks for pointing this out. Will make the changes.
Also, adding pytorch_forecasting>=1.2.0 isn't a great idea. pytorch_forecasting isn't maintained and still requires an older version of pytroch_lightning and that conflicts with neuralforecast which requires newer version of pytroch_lightning. That is why I included the code from pytorch_forecasting directly in the repo.

I guess you might not be running the codes from the root folder of the repo? We have included the pytorch_forecasting codes directly in the root of the directory so that it can be loaded. But if you have an installation of pytorch_forecasting already in your environment, it might be taking that.
Also, adding pytorch_forecasting>=1.2.0 isn't a great idea. pytorch_forecasting isn't maintained and still requires an older version of pytroch_lightning and that conflicts with neuralforecast which requires newer version of pytroch_lightning. That is why I included the code from pytorch_forecasting directly in the repo.

Hi @manujosephv,
I encountered the same issue while running the code from the root folder of the repository. The pytorch_forecasting directory is present, but it appears that the pytorch_forecasting/data subdirectory is missing. As a result, the test_installation.py script fails with the following error:
ModuleNotFoundError: No module named 'pytorch_forecasting.data'

Yeah. I just checked that out. The folder are missing, Let me add them.

Thanks a lot! It's working perfectly now.
######################### All Libraries imported without errors! #########################


Cannot log with custom OAuth provider after updating the client to v3.4.0

Describe the bug
When trying to login with a custom OAuth provider (keycloak), The login popup doesn't show up.
The dev console shows this error:
d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:772 Uncaught TypeError: Cannot read property 'focus' of null
at o (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:772)
at Object.u.showPopup (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:772)
at u.launchLogin (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:772)
at Object. (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:971)
at c (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:5)
at Object.n [as launchLogin] (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:5)
at p.requestCredential (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:971)
at Function.a. (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:971)
at Function.overrideLoginMethod (d229bcc9aa214889724d7c90b55cad16497088aa.js?meteor_js_resource=true:971)
What operating system and which version? Linux Fedora 34 latest (X11)
Which version of Rocket.Chat (Server)? 3.17.2
Which version of Rocket.Chat.Electron (Electron/Desktop)? 3.4.0 (flatpak)
Is there any setting relevant changed?
Just the rocketchat client update
To Reproduce
Steps to reproduce the behavior:

Go to 'login page'
Click on 'The custom oauth login button'
Scroll down to '....'
Nothing happens

Expected behavior
The login popup should apear and process to the login
Screenshots

Additional context
It was working before the desktop client update.
Loging with a local user works in the desktop client.
Loging with the custom OAuth provider works in the browser.

Workaround: rollback to version 3.2.3 of the flatpak release:
sudo flatpak update --commit=6796daeda4a065b9e5e9ec7bff6a418106df8e866149dd19158624bbd57905df chat.rocket.RocketChat
With 3.2.3 I can login again

Wow! I confirm that critical issue!

We have similar deployment with KeyCloak and it is impossible to sign-in in 3.4.0 version of Electron app.

@ankar84 I have tested only on linux flatpak version. Do you use other os or package type?

Do you use other os or package type?

Yes, I'm using Electron app on Windows environment - currently Windows 10 1909
Guess bug in code, not in environment

Workaround: rollback to version 3.2.3

Confirm that workaround on WIndows!

Downgrade to 3.2.3
Login via KeyCloak
Update to 3.4.0
User is on server

We are affected by this issue as well 🙈

There's a similar issue with latest Ferdi release : https://github.com/getferdi/ferdi/issues/1828

3.5.0 still have that issue

I guess that problem could be with SSO mechanism where no separate new window create like it happens on machines where SSO not applicable. So, there is no window and focus is undefined in that case.

Can confirm the issue on 3.4 and 3.5 as well. We are running our own keycloak server. Error is as described above. It works fine when connecting to a different rocketchat server that uses the build in login mechanism. So it seems definitely related to oath in some way.

Surely we can get a dev to chime in on this. An update or something. I grow weary of dealing with the fallout this has caused at my org.

Yeah, we've got a lot of employees that are not happy about this being broken and our executive team is questioning the reliability of Rocket.Chat :(. An update would be appreciated.

We threw a lot of weight behind Rocket.Chat as an alternative to Slack, Teams, Mattermost, etc... and this is really hurting its long term viability.
I totally get the FOSS part and we aren't ungrateful for the impact its had on the open source community. Nevertheless for their enterprise components to be considered for purchase at a premium, evaluation begins with the core features, and I promise it doesn't bode well if issues like this pop up and go for days without even an acknowledgement.
Sure the alternatives cost a ton and have their own quirks, but to a sizable company issues like this one cost a comparable if not greater amount in resources to handle.

As the npm packages including Electron have been updated, it may have generated some issues.
We are looking at authentication-related issues right now and hope to have good news soon.

should be fixed at 3.5.2

Sadly, this did not fix the issue on 3.5.2.

thanks @wreiske need to check in another machine, believe or not its working here =/

Yeah have to confirm 3.5.2 is sadly not working for our setup. Same issue as before.

Confirm, that issue not fixed

3.5.3? 😬

Confirmed Google Login is working again in 3.5.3! 🥳 Thank you @ggazzo !

Yeap! Confirm that issue fixed in 3.5.3!
Thank you, team!


Advanced Search Processes Filter

Is your feature request related to a problem? Please describe.
When I use the process search bar, I would like to be able to access the results of a search with the module names.
Describe the solution you'd like
For example when I search for "Cortana" in the process search bar, Process Hacker shows me all the processes that have a module containing the name "Cortana".
Describe alternatives you've considered
Add an option if my idea consumes too much cpu or ram or if the search takes too long
Additional context
Screen Example : https://prnt.sc/1s7kfwt

access the results of a search with the module names

This is what the Find Handles or DLLs option does already?


Issues on RPI3B+

Is anyone aware of breaking changes between using this library on a RPI 3B compared to a RPI 3B+? We have strange behavior sometimes (yes, really strange) when controlling a RPI relay board https://www.exp-tech.de/module/relais/7442/rpi-relay-board via this library. It might be changes to the /sys directory which only apply to RPI3, but I am not quite sure. We run our software in docker containers on rpi and the only  difference really is RPI3B+ instead of RPI3B. Any help appreciated!

I'm not aware of any issues but can't say I've tried it personally. But you can also test if sysfs is working properly by just reading and writing to the relevant files without using this module, which might help eliminate a lot of variables.

no issue for me on 3B+ -- any exact error message?


Stubbed out the interface to Approve/Request Feedback/Comment for a g…

…ithub "Pull Request Review"

This should not appear in the Reviews tab


Update Serilog to v2;

Version Matches MassTransit.SerilogIntegration Serilog version. Resolves #348, #342, and #346.

@phatboyg We suspect using Serilog v1 in our Topshelf project has something to do with not getting logs when exceptions are thrown in MassTransit consumers. Note that we are setting the global Log.Logger with a Serlog v1 logger and applying the UseSerilog() extension on both the bus and the service 'Configurator'.

Any chance of getting this closed and a new build published?

Yeah, soon for sure.

I think this PL needs in one more change. Because the memory buffer may contain events that have not yet been written to the target sink, it is important to call Log.CloseAndFlush(), and appropriate place is Shutdown() in SerilogLogWriterFactory.cs. Hope this request will be accepted soon after that :)

Sounds good to me. Will get to this after the vs2017 branch is merged.

@phatboyg, Is there any chance that the request will be accepted soon?

@phatboyg I second the request, I would really love to be able to use the latest Serilog version with Topshelf.

@phatboyg  is the goal to be backwards compatible, or is this a nuget issue?

I'll get it merged soon. I need to update Topshelf anyway.

Much appreciated.
On Oct 1, 2017 6:38 PM, "Chris Patterson"<EMAIL_ADDRESS>wrote:

I'll get it merged soon. I need to update Topshelf anyway.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Topshelf/Topshelf/pull/368#issuecomment-333422766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVpqAzmO3Pux1Hbw3QHZ-bF_LqgVkS1ks5soD6AgaJpZM4NQ4mv
.

I'm will to help with this, let me know how.