Base FNF Style Icon Bop

Describe your problem here.
Long story short, I need a Lua script to make the icons bop similarly to the base game's icon bop. can you help me out?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

also, I tried looking this up, and there was a gamebanana question about this topic, but it involved source code. I don't do source code. There was a Kade Engine UI Makeover for Psych, but there wasn't any code for the Icon Bopping anywhere. I wanted the Kade style Icon bop in Lua, for Psych Engine.

Then you'll have to literally rewrite the entire HUD in Lua. (Which I don't think is possible because of lack of variables)
Source or No original icon bop.

Then you'll have to literally rewrite the entire HUD in Lua. (Which I don't think is possible because of lack of variables) Source or No original icon bop.

Well I just wanted the icon bop. not the HUD.

You could just look it up on source code and write that in Lua

If you go WAYYYY back in closed discussions, you will find one.

If you go WAYYYY back in closed discussions, you will find one.

and what is the number for that closed discussion?

local turnvalue = 20
function onBeatHit()

turnvalue = 20
if curBeat % 2 == 0 then
turnvalue = -20
end

setProperty('iconP2.angle',-turnvalue)
setProperty('iconP1.angle',turnvalue)

doTweenAngle('iconTween1','iconP1',0,crochet/1000,'circOut')
doTweenAngle('iconTween2','iconP2',0,crochet/1000,'circOut')

end -- CREDIT TO BBPANZU FOR THE SCRIPT

local turnvalue = 20
function onBeatHit()

turnvalue = 20
if curBeat % 2 == 0 then
turnvalue = -20
end

setProperty('iconP2.angle',-turnvalue)
setProperty('iconP1.angle',turnvalue)

doTweenAngle('iconTween1','iconP1',0,crochet/1000,'circOut')
doTweenAngle('iconTween2','iconP2',0,crochet/1000,'circOut')

end -- CREDIT TO BBPANZU FOR THE SCRIPT

man, this is not the script I need. I wanted the base game style script. not the icons turning


Feature: Should be able option for seperating from navigation back.

https://github.com/NativeScript/nativescript-angular/blob/6e45af023a4196597d829e2ccd41b6c29fb72b0f/nativescript-angular/directives/dialogs.ts#L132
As topic.

Duplicate of #1503


Add description attribute to SimProject

A longer description of a project
Imported from Bitbucket issue 14,  created by apdavison on 06-26-2010 at 21:15, last modified: 06-28-2010 at 15:08

Done in r122:b58e34e29312
Trac comment by apdavison on 06-28-2010 at 15:08


docker启动的报错,docker/categraf/conf/config.toml 最后需要加个空行

Relevant server.conf | webapi.conf
categraf

Relevant logs
2022/09/16 16:12:37 main.go:118: I! runner.binarydir: /usr/bin
2022/09/16 16:12:37 main.go:119: I! runner.hostname: categraf01
2022/09/16 16:12:37 main.go:120: I! runner.fd_limits: (soft=1048576, hard=1048576)
2022/09/16 16:12:37 main.go:121: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2022/09/16 16:12:37 main.go:65: F! failed to init config: failed to load configs of dir: /etc/categraf/conf err:toml: line 51 (last key "http"): expected a top-level item to end with a newline, comment, or EOF, but got '[' instead
Failed to set additional capabilities on /usr/bin/categraf
/entrypoint.sh: 5: setcap: not found
2022/09/16 16:13:34 main.go:118: I! runner.binarydir: /usr/bin

System info
docker
Steps to reproduce
1.docker-compose up
2.
3.
...
Expected behavior
正常
Actual behavior
flashcatcloud/categraf:latest      "/entrypoint.sh"         4 hours ago          Restarting (1) 49 seconds ago
Additional info
No response

done https://github.com/ccfos/nightingale/commit/537d5d2386aa93533beb79ae887422bdca910d9c


Selecting a slice of an alignment

To get an alignment, we need the block_id. And to get this we need a species identifier and genome coordinate. (Let's call this ref_coord.) We then use AlignDb.get_records_matching() does this.
With the block_id we can then get all the coordinates for other species in
the block. (NOTE: if we are going to support strict, i.e. only blocks
where all nominated species are present, we would filter at this level).
The gap_spans that are returned by block will exceed the coordinates for the selected region. These will need to be trimmed to just the region so only the desired sequences need be selected. So we need to implement a container class that handles gap positions, lets call this GapPositions. From the ref_coord, we need to GapPositions to convert the sequence indices into alignment indices
align_start = <ref gap pos>.from_seq_to_align_index(ref_start)
align_end = align_start + ref_end - ref_start

For all other records, we then use  to
gives us the coordinates for that species.
other_start = <other species gap pos>.from_align_to_seq_index(align_start)
other_end = <other species gap pos>.from_align_to_seq_index(align_end)

These values can the be used to obtain the genome sequence followed by a subset of the annotation data and combined into an Alignment instance.

The task is to implement GapPositions.__getitem__()

fixed in 279abcd


[AutoPR] network/resource-manager

Created to accumulate context: network/resource-manager

(message created by the CI based on PR content)

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Encountered a Subprocess error
Command: ['/usr/local/bin/autorest', '/tmp/tmp6e_0vwbi/rest/specification/network/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmp6e_0vwbi/sdk', '--use=<EMAIL_ADDRESS>'--version=preview']
Finished with return code -6
and output:
AutoRest code generation utility [version: 2.0.4283; node: v8.11.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/root/.autorest/@microsoft.azure_autorest-core<EMAIL_ADDRESS>(2.0.4302)
   Loading AutoRest extension<EMAIL_ADDRESS>(~3.0.56->3.0.58)
   Loading AutoRest extension<EMAIL_ADDRESS>(2.3.44->2.3.44)
Processing batch task - {"tag":"package-2018-12"} .

<--- Last few GCs --->

[13998:0x3057e60]    77006 ms: Mark-sweep 1377.1 (1461.4) -> 1377.1 (1461.4) MB, 1641.7 / 0.0 ms  allocation failure GC in old space requested
[13998:0x3057e60]    78425 ms: Mark-sweep 1377.1 (1461.4) -> 1376.9 (1424.9) MB, 1418.2 / 0.0 ms  last resort GC in old space requested
[13998:0x3057e60]    79597 ms: Mark-sweep 1376.9 (1424.9) -> 1376.9 (1424.9) MB, 1172.2 / 0.0 ms  last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x1831e86a5879 <JSObject>
    1: set [native weak-collection.js:~27] [pc=0x231f840fd8a9](this=0xe1dbbe0a261 <JSWeakMap>,key=0xe0495b7da41 <Object map = 0x1901d633fc39>,value=0xfbf341023e1 <false>)
    2: /* anonymous */(aka /* anonymous */) [/root/.autorest/@microsoft.azure_autorest-core@2.0.4302/node_modules/@microsoft.azure/autorest-core/dist/lib/ref/yaml.js:~101] [pc=0x231f840edbf9](this=0xfbf341022d1 <undefined>,cach...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8c21ec [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::NewInternal(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [node]
 7: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node]
 8: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::EnsureCapacity(v8::internal::Handle<v8::internal::ObjectHashTable>, int, v8::internal::PretenureFlag) [node]
 9: v8::internal::ObjectHashTable::Put(v8::internal::Handle<v8::internal::ObjectHashTable>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
10: v8::internal::JSWeakCollection::Set(v8::internal::Handle<v8::internal::JSWeakCollection>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
11: v8::internal::Runtime_WeakCollectionSet(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x231f83f842fd

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Encountered a Subprocess error
Command: ['/usr/local/bin/autorest', '/tmp/tmplw_ifcnj/rest/specification/network/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmplw_ifcnj/sdk', '--use=<EMAIL_ADDRESS>'--version=preview']
Finished with return code -6
and output:
AutoRest code generation utility [version: 2.0.4283; node: v8.11.3]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/root/.autorest/@microsoft.azure_autorest-core<EMAIL_ADDRESS>(2.0.4302)
   Loading AutoRest extension<EMAIL_ADDRESS>(~3.0.56->3.0.58)
   Loading AutoRest extension<EMAIL_ADDRESS>(2.3.44->2.3.44)
Processing batch task - {"tag":"package-2018-12"} .

<--- Last few GCs --->

[14123:0x2f0de60]    80680 ms: Mark-sweep 1377.3 (1461.9) -> 1377.1 (1463.9) MB, 1692.3 / 0.0 ms  allocation failure GC in old space requested
[14123:0x2f0de60]    82152 ms: Mark-sweep 1377.1 (1463.9) -> 1377.0 (1423.4) MB, 1471.6 / 0.0 ms  last resort GC in old space requested
[14123:0x2f0de60]    83315 ms: Mark-sweep 1377.0 (1423.4) -> 1377.0 (1423.4) MB, 1162.9 / 0.0 ms  last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x139c3b3a5879 <JSObject>
    1: set [native weak-collection.js:~27] [pc=0x3315a3e7ea49](this=0x2c2f6d002201 <JSWeakMap>,key=0xdbe30f9cbe9 <Object map = 0x267e7200a341>,value=0x2ac3c60823e1 <false>)
    2: /* anonymous */(aka /* anonymous */) [/root/.autorest/@microsoft.azure_autorest-core@2.0.4302/node_modules/@microsoft.azure/autorest-core/dist/lib/ref/yaml.js:~101] [pc=0x3315a3e698b9](this=0x2ac3c60822d1 <undefined>,c...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8c21ec [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::NewInternal(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [node]
 7: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node]
 8: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::EnsureCapacity(v8::internal::Handle<v8::internal::ObjectHashTable>, int, v8::internal::PretenureFlag) [node]
 9: v8::internal::ObjectHashTable::Put(v8::internal::Handle<v8::internal::ObjectHashTable>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
10: v8::internal::JSWeakCollection::Set(v8::internal::Handle<v8::internal::JSWeakCollection>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
11: v8::internal::Runtime_WeakCollectionSet(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x3315a3c842fd

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Encountered a Subprocess error
Command: ['/usr/local/bin/autorest', '/tmp/tmphzjqzsm4/rest/specification/network/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmphzjqzsm4/sdk', '--use=<EMAIL_ADDRESS>'--version=preview']
Finished with return code -6
and output:
AutoRest code generation utility [version: 2.0.4283; node: v8.12.0]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
   Loading AutoRest core      '/root/.autorest/@microsoft.azure_autorest-core<EMAIL_ADDRESS>(2.0.4302)
   Installing AutoRest extension<EMAIL_ADDRESS>(~3.0.56)
   Installing AutoRest extension<EMAIL_ADDRESS>(2.3.44)
Processing batch task - {"tag":"package-2018-12"} .

<--- Last few GCs --->

[90:0x3478830]    78774 ms: Mark-sweep 1379.3 (1461.9) -> 1379.1 (1463.9) MB, 1652.9 / 0.0 ms  allocation failure GC in old space requested
[90:0x3478830]    80200 ms: Mark-sweep 1379.1 (1463.9) -> 1379.1 (1426.4) MB, 1425.5 / 0.0 ms  last resort GC in old space requested
[90:0x3478830]    81645 ms: Mark-sweep 1379.1 (1426.4) -> 1379.1 (1425.9) MB, 1444.6 / 0.0 ms  last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x4bdbd125879 <JSObject>
    1: set [native weak-collection.js:~27] [pc=0x3a7d66e635e9](this=0xf1ccced2389 <JSWeakMap>,key=0xf9e7da88691 <Object map = 0x10a0cc238bd1>,value=0x9ad697023e1 <false>)
    2: /* anonymous */(aka /* anonymous */) [/root/.autorest/@microsoft.azure_autorest-core@2.0.4302/node_modules/@microsoft.azure/autorest-core/dist/lib/ref/yaml.js:~101] [pc=0x3a7d66de3999](this=0x9ad697022d1 <undefined>,cache...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [node]
 2: 0x8cbf4c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [node]
 6: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::NewInternal(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [node]
 7: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node]
 8: v8::internal::HashTable<v8::internal::ObjectHashTable, v8::internal::ObjectHashTableShape>::EnsureCapacity(v8::internal::Handle<v8::internal::ObjectHashTable>, int, v8::internal::PretenureFlag) [node]
 9: v8::internal::ObjectHashTable::Put(v8::internal::Handle<v8::internal::ObjectHashTable>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
10: v8::internal::JSWeakCollection::Set(v8::internal::Handle<v8::internal::JSWeakCollection>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int) [node]
11: v8::internal::Runtime_WeakCollectionSet(int, v8::internal::Object**, v8::internal::Isolate*) [node]
12: 0x3a7d66c042fd

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Build SDK finished and cleaned

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/readme.md for you!!!

Build SDK finished and cleaned

@lmazuel these changes worked. The responses are indeed all lists of strings.


Inter repositories resources dependencies

Hello,
When we are trying to create a remote, a local and a virtual repository at once the creation of the virtual repository always fails.
It looks like there is no default inter resources dependencies declared yet, I don't know if we can automatically generate depends_on based on the repositories declared in a virtual repository.
Another way maybe would be to retry several times to create the virtual repo waiting for the depending remote/local repositories to be created.

The order seems to be respected but it is not enough as the creation of the virtual fails stating that one of the repository is not created. Repository creation can take some time and creation of the virtual repository does not seem to depend on the "Creation complete" of the other repositories.
Here is the log (with timestamp) of the creation of 3 repositories (1 local, 1 remote, 1 virtual):
00:00:23.045 nix-shell --command 'terraform apply plan'
00:00:23.972 module.repositories.artifactory_local_repository.cicd-puppet-modules: Creating...
00:00:23.972   archive_browsing_enabled:        "" => "<computed>"
00:00:23.972   blacked_out:                     "" => "<computed>"
00:00:23.972   calculate_yum_metadata:          "" => "<computed>"
00:00:23.972   checksum_policy_type:            "" => "<computed>"
00:00:23.972   debian_trivial_layout:           "" => "<computed>"
00:00:23.972   description:                     "" => "Puppet module for XXXX"
00:00:23.972   docker_api_version:              "" => "<computed>"
00:00:23.972   enable_file_lists_indexing:      "" => "<computed>"
00:00:23.972   excludes_pattern:                "" => "<computed>"
00:00:23.972   handle_releases:                 "" => "<computed>"
00:00:23.972   handle_snapshots:                "" => "<computed>"
00:00:23.972   includes_pattern:                "" => "<computed>"
00:00:23.972   key:                             "" => "cicd-puppet-modules"
00:00:23.972   max_unique_snapshots:            "" => "<computed>"
00:00:23.972   max_unique_tags:                 "" => "<computed>"
00:00:23.972   notes:                           "" => "<computed>"
00:00:23.972   package_type:                    "" => "puppet"
00:00:23.972   property_sets.#:                 "" => "1"
00:00:23.972   property_sets.214975871:         "" => "artifactory"
00:00:23.972   repo_layout_ref:                 "" => "simple-default"
00:00:23.972   snapshot_version_behavior:       "" => "<computed>"
00:00:23.972   suppress_pom_consistency_checks: "" => "<computed>"
00:00:23.972   yum_root_depth:                  "" => "<computed>"
00:00:23.973 module.repositories.artifactory_remote_repository.cicd-puppetforge-proxy: Creating...
00:00:23.973   allow_any_host_auth:                   "" => "<computed>"
00:00:23.973   blacked_out:                           "" => "<computed>"
00:00:23.973   block_mismatching_mime_types:          "" => "<computed>"
00:00:23.973   client_tls_certificate:                "" => "<computed>"
00:00:23.973   description:                           "" => "Proxy to puppetforge"
00:00:23.973   enable_cookie_management:              "" => "<computed>"
00:00:23.973   excludes_pattern:                      "" => "<computed>"
00:00:23.973   fetch_jars_eagerly:                    "" => "<computed>"
00:00:23.973   fetch_sources_eagerly:                 "" => "<computed>"
00:00:23.973   handle_releases:                       "" => "<computed>"
00:00:23.973   handle_snapshots:                      "" => "<computed>"
00:00:23.973   hard_fail:                             "" => "<computed>"
00:00:23.973   includes_pattern:                      "" => "<computed>"
00:00:23.973   key:                                   "" => "cicd-puppetforge-proxy"
00:00:23.973   max_unique_snapshots:                  "" => "<computed>"
00:00:23.973   missed_cache_period_seconds:           "" => "<computed>"
00:00:23.973   notes:                                 "" => "<computed>"
00:00:23.973   offline:                               "" => "<computed>"
00:00:23.973   package_type:                          "" => "puppet"
00:00:23.973   password:                              "<sensitive>" => "<sensitive>"
00:00:23.973   property_sets.#:                       "" => "<computed>"
00:00:23.973   proxy:                                 "" => "<computed>"
00:00:23.974   remote_repo_checksum_policy_type:      "" => "<computed>"
00:00:23.974   repo_layout_ref:                       "" => "simple-default"
00:00:23.974   retrieval_cache_period_seconds:        "" => "<computed>"
00:00:23.974   share_configuration:                   "" => "<computed>"
00:00:23.974   socket_timeout_millis:                 "" => "<computed>"
00:00:23.974   store_artifacts_locally:               "" => "<computed>"
00:00:23.974   suppress_pom_consistency_checks:       "" => "<computed>"
00:00:23.974   synchronize_properties:                "" => "<computed>"
00:00:23.974   unused_artifacts_cleanup_enabled:      "" => "<computed>"
00:00:23.974   unused_artifacts_cleanup_period_hours: "" => "<computed>"
00:00:23.974   url:                                   "" => "https://forgeapi.puppetlabs.com/"
00:00:23.974   username:                              "" => "<computed>"
00:00:23.974 module.repositories.artifactory_virtual_repository.cicd-puppet: Creating...
00:00:23.974   artifactory_requests_can_retrieve_remote_artifacts: "" => "<computed>"
00:00:23.974   debian_trivial_layout:                              "" => "<computed>"
00:00:23.974   default_deployment_repo:                            "" => "<computed>"
00:00:23.974   description:                                        "" => "Puppet modules for XXXX"
00:00:23.974   excludes_pattern:                                   "" => "<computed>"
00:00:23.974   includes_pattern:                                   "" => "<computed>"
00:00:23.975   key:                                                "" => "cicd-puppet"
00:00:23.975   key_pair:                                           "" => "<computed>"
00:00:23.975   notes:                                              "" => "<computed>"
00:00:23.975   package_type:                                       "" => "puppet"
00:00:23.975   pom_repository_references_cleanup_policy:           "" => "nothing"
00:00:23.975   repositories.#:                                     "" => "2"
00:00:23.975   repositories.0:                                     "" => "cicd-puppet-modules"
00:00:23.975   repositories.1:                                     "" => "cicd-puppetforge-proxy"
00:00:24.230 module.repositories.artifactory_local_repository.cicd-puppet-modules: Creation complete after 0s (ID: cicd-puppet-modules)
00:00:24.485 module.repositories.artifactory_remote_repository.cicd-puppetforge-proxy: Creation complete after 0s (ID: cicd-puppetforge-proxy)
00:00:24.486
00:00:24.487 Error: Error applying plan:
00:00:24.487
00:00:24.487 1 error(s) occurred:
00:00:24.487
00:00:24.487 * module.repositories.artifactory_virtual_repository.cicd-puppet: 1 error(s) occurred:
00:00:24.487
00:00:24.487 * artifactory_virtual_repository.cicd-puppet: PUT https://repository.irisnet.be/artifactory/api/repositories/cicd-puppet: 400 [{Status:400 Message:Repository cicd-puppet-modules does not exist
00:00:24.487 }]
00:00:24.487
00:00:24.487 Terraform does not automatically rollback in the face of errors.
00:00:24.487 Instead, your Terraform state file has been partially updated with
00:00:24.487 any resources that successfully completed. Please address the error
00:00:24.488 above and apply again to incrementally change your infrastructure.
00:00:24.488
00:00:24.488
00:00:24.488 make: *** [apply] Error 1

If we do a new plan a few seconds after, the virtual repository gets created.

This is potentially related to a concurrency issue we have seen before where Artifactory REST API concurrency is broken in that parallel requests can overwrite each other.  i.e the local and remote repo are created at the same time as they are not dependent and when the changes are committed the local overwrites the remote, therefore terraform thinks the remote was created but it no longer exists. We run all of our terraform with -parallelism=1 which limits terraform to single thread execution. Are you able to try with this option and see if the issue persists?l

Closing as I believe it is an upstream bug. Happy to reinvestigate if more information is provided and we can localise the issue to the provider specifically. Suggested fixes at the moment is to set parallelism to 1.


[ERR] java.lang.IllegalStateException: Shell self-test failed for zsh:

OS - macOS Sonoma 14.2.1 (23C71)
Device - Apple M1 Pro
XPipe version - 8.4
Getting this error on startup -

java.lang.IllegalStateException: Shell self-test failed for zsh:
This indicates that something is seriously wrong and certain shell functionality will not work as expected.
The most likely causes are:

On Windows, an AntiVirus program might block required programs and commands
The system shell is restricted or blocked

You can try to switch to the fallback shell by going to Settings -> Local Shell -> Enable Fallback Shell and restart.

java.lang.IllegalStateException: Shell self-test failed for zsh:
This indicates that something is seriously wrong and certain shell functionality will not work as expected.
The most likely causes are:

On Windows, an AntiVirus program might block required programs and commands
The system shell is restricted or blocked

You can try to switch to the fallback shell by going to Settings -> Local Shell -> Enable Fallback Shell and restart.
at io.xpipe.app.core.check.AppShellCheck.check(AppShellCheck.java:33)
at io.xpipe.app.core.mode.BaseMode.onSwitchTo(BaseMode.java:54)
at io.xpipe.app.core.mode.OperationMode.set(OperationMode.java:357)
at io.xpipe.app.core.mode.OperationMode.switchToSyncOrThrow(OperationMode.java:191)
at io.xpipe.app.launcher.LauncherCommand.call(LauncherCommand.java:148)
at io.xpipe.app.launcher.LauncherCommand.call(LauncherCommand.java:28)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at io.xpipe.app.launcher.LauncherCommand.runLauncher(LauncherCommand.java:72)
at io.xpipe.app.core.mode.OperationMode.init(OperationMode.java:128)
at io.xpipe.app.Main.main(Main.java:22)

hey. yes, zsh is working correctly.

Also, you can try going to Settings -> Local Shell -> Enable Fallback Shell and restart XPipe, that should use another shell. Maybe that will work.

is this done in XPipe settings? if yes, I cant seem to get to the settings itself. it gives me above error right when I open the app.

Hmm so in theory it should continue to start up after that error message, but I can imagine that something else goes wrong when the shell integration does not work as expected. This is not really a case I accounted for.
What you can do is run the following script: /Applications/XPipe.app/Contents/Resources/script/xpiped_debug.sh. This will print out all commands it tries to run with the exit code. Some of the early commands must fail in your case. Maybe we can see what went wrong there.

Ok so it seems to fail here:
20:03:34:636 - info: Starting command execution ... {
    baseCommand=cat << '05742545-f8f0-470c-9d49-519e7f3775aa' > '/var/folders/l7/fszgdtgj23d2nm72h2js_5f40000gn/T/exec-419538915.sh' && chmod 700 '/var/folders/l7/fszgdtgj23d2nm72h2js_5f40000gn/T/exec-419538915.sh'
    shellType=zsh
    elevated=false
    workingDirectory=null
}
20:03:34:636 - trace: Writing line {
    line=echo '779a1947-a4bd-4a75-8b7a-65ecae0e21d1';echo '6da21e9c-45d5-447e-b919-42f6586e09c1' 1>&2;cat << '05742545-f8f0-470c-9d49-519e7f3775aa' > '/var/folders/l7/fszgdtgj23d2nm72h2js_5f40000gn/T/exec-419538915.sh' && chmod 700 '/var/folders/l7/fszgdtgj23d2nm72h2js_5f40000gn/T/exec-419538915.sh';echo 'fa3f0e2e-3a7f-4d0c-9489-990721235c95'${?}END;echo 'e5650822-2ff1-4cc9-8d5c-c76f756ecbec' 1>&2
}
20:03:34:636 - trace: Writing line {
    line=
    | #!/usr/bin/env zsh
    | echo test
    | 05742545-f8f0-470c-9d49-519e7f3775aa
}
20:03:39:638 - info: Command finished {
    command=cat << '05742545-f8f0-470c-9d49-519e7f3775aa' > '/var/folders/l7/fszgdtgj23d2nm72h2js_5f40000gn/T/exec-419538915.sh' && chmod 700 '/var/folders/l7/fszgdtgj23d2nm72h2js_5f40000gn/T/exec-419538915.sh'
    finishReason=START_TIMEOUT
    exitCode=162
}
20:03:39:638 - trace: Stderr finished {
    finishReason=START_TIMEOUT
}

when we are trying to create the temporary script file.
You can manually enable the fallback shell by either creating or modifying the file ~/.xpipe/settings/preferences.json and inserting or changing the following value:
{
  "useLocalFallbackShell" : true
}

thanks. after creating and updating ~/.xpipe/settings/preferences.json, app worked.

thanks. after creating and updating ~/.xpipe/settings/preferences.json, app worked.

Interesting, so something it did not work with zsh while the same works with sh here.
I will try to better handle these cases so users can automatically switch to the fallback shell without having to edit files.


Update selection colors

Update selection color to surface2 and selected text color to be the normal text color. (Before it was crust on rosewater.)

Thank you!


pressing up arrow in the first code expression in the playground goes to the title instead of the previous line

https://user-images.githubusercontent.com/16563825/214133399-747ff6d9-445d-4503-b16e-5fea09d08d3e.mov

https://user-images.githubusercontent.com/7725188/214288664-17f9866c-83d6-44a2-98fe-c343bdc2ea35.mov


Hide month navigation buttons when dates are disabled

Addresses #413

Current coverage is 95.14%

Merging #416 into master will increase coverage by +0.30% as of 71d5ec7

@@            master    #416   diff @@
======================================
  Files            9       9
  Stmts          194     206    +12
  Branches        42      44     +2
  Methods         88      90     +2
======================================
+ Hit            184     196    +12
  Partial          2       2
  Missed           8       8

Review entire Coverage Diff as of 71d5ec7

Powered by Codecov. Updated on successful CI builds.

Thanks!


added Contributing.md

Added an instruction for Bot usage and updated the contributor's list.
@all-contributors please add @samanyougarg  for Code

I am unable to understand how this thing might work !,
could you please explain this in some detail like how the bot is authenticated to make a PR into repo and add anyone as a contributor who just comments on some issue or PR,
This also might invite spam during periods like hacktoberfest

I am fairly new to this. I just followed the documentation.
What I did was I created a new repo on my profile and gave bot access to it and then created an issue to add me as a contributor which it did, along with photo and emoji.
I thought this would be the same case with the Bhagavad Gita repo if the bot is given access, so I wrote the instruction to use the bot, if anyone wants to be added they can open an issue and the bot will create a pull request which owner can verify and merge it.

I am unable to understand how this thing might work !,
could you please explain this in some detail like how the bot is authenticated to make a PR into repo and add anyone as a contributor who just comments on some issue or PR,
This also might invite spam during periods like hacktoberfest

@NIKU-SINGH Thanks for looking into this issue.
I believe all we have to do was to install the bot at the organization level for gita.
Then, one of the org admins can comment on an Issue or Pull Request, asking @all-contributors to add a contributor. The bot will then create a Pull Request to add the contributor, then reply with the pull request details. Fairly straightforward.
Do you mind updating the existing contributing.md with the steps you mentioned rather than creating a new one?
Our current contributing.md is in .github/contributing.md.

@NIKU-SINGH Thanks for looking into this issue.
I believe all we have to do was to install the bot at the organization level for gita.
Then, one of the org admins can comment on an Issue or Pull Request, asking @all-contributors to add a contributor. The bot will then create a Pull Request to add the contributor, then reply with the pull request details. Fairly straightforward.
Do you mind updating the existing contributing.md with the steps you mentioned rather than creating a new one?
Our current contributing.md is in .github/contributing.md.

Ya sure, I will do that


fix pro wasm bug, refactor JS module loading

Moved all JS Module loading into JsModuleManager static class
Changed the order of module loading so that Pro never gets loaded twice
Fix the bug, closes #262 , where Pro was not loading the Core JS via the Pro.getCore method. I did this by loading the pro in the JSHost, and then having a duplicated implementation on the JS side of the synchronous method.

one comment. Looks good. There have been multiple refactors to switch MapView to View. Will need to keep an eye on that in the other open PRs.

This was actually switching from a static method to an instance method. MapView.AddSync... was a static method, so it was on the class type, not on the instance, which was stored as View in Layer.cs.


Installing Notebook dependencies failed with error: EPERM: operation not permitted, unlink 'C:\python-3.6.6-win-x64-0.0.1-offline\0.0.1\python.exe'

After unfortunately accepting the "upgrade" to Version 1.30 discovered that

The required version of Python has changed
The program continues to be completely incapable of actually doing this upgrade.

Upgrade failed with error message
Installing Notebook dependencies failed with error: EPERM: operation not permitted, unlink 'C:\python-3.6.6-win-x64-0.0.1-offline\0.0.1\python.exe'
The requirement to use an Offline install to get Python working was a reflection of earlier versions inability to do a proper install for any machine behind a Corporate firewall.

This is simply a continuation of Issue #13424
There appears to have been now attempt to make this program usable in real world secure setups.

Hi @sqllensman, can you check that Python is not running in Task Manager before upgrading? We close all active notebook sessions before removing the old Python installation but it is possible that something else is using that Python installation and causing the error when we try to remove it.

Python is not running in Task Manager.
This is purely related to an inability of the Install process to connect to Internet.
The installer cannot get a new version and this should be checked prior to making breaking changes like removing an older working version of Python.
The fact that you cannot properly do an install or upgrade is already a known issue (see #8204 and #13434)

Hi @sqllensman, we have fixed the Python update process to ensure the new version is installed before removing the old version. We have also documented the steps for installing Python offline here: https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-python-offline-installation?view=sql-server-ver15.
Please feel free to comment here or open a new issue if you have any other questions!


zoomTo

how can I zoom in point where mouse? My try:
const x = event.pageX - this.left;
const y = event.pageY - this.top;
const delta = Math.sign(event.deltaY) * 0.7;
const currentZoom = this.viewer.viewport.getZoom(true);
const oldCenter = this.viewer.viewport.getCenter(true);
const deltaCenter = this.viewer.viewport.deltaPointsFromPixels(new Point(x, y));
const newCenter = new Point(oldCenter.x - deltaCenter.x, oldCenter.y - deltaCenter.y);
if (currentZoom + delta > 0.7) {
    this.viewer.viewport.zoomTo(currentZoom + delta, newCenter, true);
    this.viewer.viewport.applyConstraints();
}

Looks reasonable, but I'd just get newCenter like so:
const newCenter = this.viewer.viewport.windowToViewportCoordinates(event.pageX, event.pageY);

Keep in mind that there's a lot of difference in how the wheel event is handled in different browsers. You can take a look at how OSD handles that for some ideas.


Fix Tailwind config

This PR https://github.com/dust-tt/dust/pull/1022/files#diff-1837325cd2137a4a60914a2cb9f74f5697cb7f39c386f117fe983ea625e9fff4 intoduced a change to tailwind that was invalid.
This PR fixes it.

cc @philipperolet


Image markup seems to be not working

Hi,
I'm using following markup annotation
![bla.drawio.png](bla.drawio.png)
with these plugin versions
<confluence.maven.plugin.version>7.11</confluence.maven.plugin.version><confluence.maven.commonmark.version>7.11</confluence.maven.commonmark.version>
After plugin was creating confluence page, I can only see "unknown attachment" but in all of my markup clients it's working fine?
Do I something wrong here?

Hi @FromirDread
do you see unknown attachment when render page in Confluence or in the generated wiki ?

Hi @bsorrentino,
we´re only using confluence pages and not wiki.
I have also no root access to our confluence server, in case you need a logfile / event log or something like that I have to request it from sysadmin.

Hi @bsorrentino, we´re only using confluence pages and not wiki.
I have also no root access to our confluence server, in case you need a logfile / event log or something like that I have to request it from sysadmin.

Probably I've not formulated well the question, however if on the page you see unknown attachment probably you miss to deploy attachment file bla.drawio.png

What do you mean by "deploy attachment file" ?
I would assume files will be uploaded during sync?
In theorie,  I would maintain everything in git and sync it to confluence

What do you mean by "deploy attachment file" ? I would assume files will be uploaded during sync?
In theorie, I would maintain everything in git and sync it to confluence

Sure it is so. Again, if you could provide me a simple sample I could help you to understand why it happen

you must based on site.xml
below a minimal example that implies that my_fisrt_page.md and bla.drawio.png are in the same folder (tipically ${basedir}/src/site/confluence)
<?xml version="1.0" encoding="UTF-8"?>

<bsc:site
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xmlns:bsc='https://github.com/bsorrentino/maven-confluence-plugin'
    xsi:schemaLocation='https://github.com/bsorrentino/maven-confluence-plugin https://raw.githubusercontent.com/bsorrentino/maven-confluence-plugin/master/schemas/site-schema-6.0.xsd'>
    <home name="my first page" uri="my_fisrt_page.md">

        <attachment name="bla.drawio.png" uri="bla.drawio.png" comment="" contentType="image/x-png" ></attachment>
    </home>

</bsc:site>

for further details take a look to documentation

I have already checked it in the meantime.
My assumption was correct.
Thx for you help :-)


Compilation fails when using custom macro keyword with $ref field

What version of Ajv are you using? Does the issue happen if you use the latest version?
5.3.0
Ajv options object
default
Code

This leads to "RangeError: Maximum call stack size exceeded"
when trying to compile
https://runkit.com/errorstream/5a07a100667ea8001263544b
const Ajv = require("ajv");
const ajv = new Ajv();
ajv.addKeyword("interface", {
  macro: (schema, parentSchema) => ({
    $ref: `interfaces.json#/definitions/${schema}`
  })
});
ajv.addSchema(
  {
    definitions: {
      tree: {
        type: "array",
        items: {
          interface: "branch"
        }
      },
      branch: {
        interface: "tree"
      }
    }
  },
  "interfaces.json"
);
const validator = ajv.compile({
  interface: "branch"
});

This compiles successfully
https://runkit.com/errorstream/5a07a191ae3c4300124d0727
const Ajv = require("ajv");
const ajv = new Ajv();
ajv.addKeyword("interface", {
  macro: (schema, parentSchema) => ({
    $ref: `interfaces.json#/definitions/${schema}`
  })
});
ajv.addSchema(
  {
    definitions: {
      tree: {
        type: "array",
        items: {
          $ref: "interfaces.json#/definitions/branch"
        }
      },
      branch: {
        $ref: "interfaces.json#/definitions/tree"
      }
    }
  },
  "interfaces.json"
);
const validator = ajv.compile({
  $ref: "interfaces.json#/definitions/branch"
});

Endless recursion of macro keywords is not supported indeed. If the objective is to have more concise $refs you can:
{
    $id: 'interfaces.json',
    definitions: {
      tree: {
        $id: '#tree'
        type: "array",
        items: {$ref: "#branch"}
      },
      branch: {
        $id: '#branch',
        allOf: [{$ref: "#tree"}]
      }
    }
  }


Feature/bitwig studio 1.3.5

Note. The old URL works (without the stable prefix), but the published URL on the vendor's downloads page includes the prefix.

There’s trailing whitespace that needs to be removed. Also, could you please squash your commits?

Done

Thank you for the contribution. It was merged directly as 11253725cf583a2b9056aa9cc328ac586bada7bc to keep commit history cleaner. Your contribution is still credited to you.


Making the calculus.py library

I am making the library of functions now. All we need to include are the integral and root finding functions, correct?

The library is waiting to be merged, I will merge it once I have maintainer access

I should close it, as its merged already.


[DevCenter] Add 2023-10-01-preview dataplane API version

Data Plane API - Pull Request
This PR adds a new 2023-10-01-preview API version to the DevCenter.
This API introduces:

Customization groups (central IT managed customizations for Dev Boxes)
Customization tasks (surfacing available customizations for the Dev Box)
Environment auto-expiration
Supporting PATCH on environments (enabling short-running update on environment auto-expiration datetime)
Environment outputs API (surfaces outputs from environment deployment)
Environment Actions API (surfaces upcoming actions on the environment)

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue: https://github.com/Azure/azure-rest-api-specs/issues/25691

Is this review for (select one):

[ ] a private preview
[x] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths: devbox.json, environments.json, devcenter.json, associated examples

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

Breaking Change Alerts:

Runtime exception is a known bug tracked by https://github.com/Azure/azure-sdk-tools/issues/6526
AddedRequiredProperty alerts are due to required properties which were added on response-only models in an older preview API (2023-07-01-preview). They are not new in this version.

LintDiff errors:

OperationIdNounVerb: Flags on Environments_PatchEnvironment. This operation ID is consistent with our other operation IDs (ex. Environments_DeleteEnvironment) per guidance from the SDK board.

Hi @chrissmiller! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

I believe this check/the CI-MissingBaseCommit label is incorrect; this branch was created on OpenAPIHub and has the correct base commits.

@anuchandy @stewartadam @johanste We've made all the changes from the review meeting and are ready for PR review -- justifications for the failed checks are above. Thanks!

Thanks Mike! @anuchandy think we are good to merge on our side


Lazy load next n items preemptively (Feature request)

Hi,
I have a feature request: It would be great to have a lazyload option so that we can load the next n items before they come into view.
So the next one or two items can begin loading before they are in the viewport. We should be able to choose the number of items to load ahead of becoming visible (I have use the variable n in the title of this issue).
I have asked for a solution to this on stack overflow: http://stackoverflow.com/questions/30018131/owl-carousel-2-with-lazyload-option
Thanks

https://github.com/smashingboxes/OwlCarousel2/issues/130 => there a PR for this already, not merged


Add cohere LLM

Add Cohere LLM
Updated llama-index to 0.11.9
updated reamde
better Agent base instructions

I believe the version bump to llama-index is the only needed revision. Everything else in the code looks good to me.


Add file-upload component

With the recent release of the form component and the draft by @toxamiz in #680 we have an opportunity to publish a simplified version of the file-upload component.
This PR only features the semantic basic functionality. We can look at another advanced release with the work from @toxamiz but that should take more time
Preview:

Preview HTML:

    Upload a file
    <input class="au-file-input" type="file" id="file-upload"></input>

Todo:

[ ] Site documentation
[ ] Component image
[ ] Community discussion

Blocked until #727 is merged


Gradle Stuck at Download okhttp

Gradle sync taking too much time while creating signed build or make change in gradle.
It will stuck at download okhttp4.9.pom

Sorry, we can't help debug your build issues.

It's not build issue. We are having issue with this library while gradle.
It will stuck in okhttp.

We don't host the pom files ourselves. Maybe try with 4.9.1.  But if it's still failing I suggest posting a reproduction to stackoverflow and maybe someone there can help with your gradle build issue.


Error "Unable to generate request for your skill"

@tartanguru
I am having a bit of difficulty.
I have gone through the entire process multiple times, and although it seems a success, it doesnt function.
When I test in the "Service Simulator" in my developer console, I get the message "Unable to generate request for your skill" in the Lambda Request window.
When I run the test (as described at the end of the readme, in the AWS Lambda console, i get the following result:
{
"version": "1.5.2 - German locale fix",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "Welcome to Google Search. What are you searching for?"
},
"shouldEndSession": false,
"reprompt": {
"outputSpeech": {
"type": "PlainText",
"text": "Welcome to Google Search. What are you searching for?"
}
}
},
"sessionAttributes": {}
}
The skill is listed in my Alexa app and is enabled. When I say "Alexa, Ask Google something" it seems to think for a second, and then does nothing.
I really can't find anything that doesnt correspond with the tutorial, or any other people having the same issue as me in any forum I can find.
I do have both the location in Alexa, and the Developer console for this skill set to English US.
Any help or direction would be much appreciated.
Thanks

can confirm, i got the same.

Amazon seem to have changed something yesterday that seems to have affected
lots of skills.
There is a thread about this on the amazon developer forums here:-
https://forums.developer.amazon.com/questions/67444/error-unable-to-generate-request-for-your-skill.html
Not much I can do until amazon acknowledge the issue
On Wed, 19 Apr 2017 at 22:41, gnomium<EMAIL_ADDRESS>wrote:

can confirm, i got the same.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tartanguru/alexa-google-search/issues/23#issuecomment-295455360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXohT1GvVo8UQq5wuR15igX9dN8kgEB0ks5rxn8AgaJpZM4NB730
.

I don't speak German, but have read the google translated version of the link you posted. It appears that Amazon have made changes to how CUSTOM slots works. I have no idea why changing the sample utterances to German gets over this issue though. The search "wie alt werden hunde" does return a valid response even with the Skill set to UK English:- Dog, Lifespan , 10 – 13 years, although this version of the skill was created a few days ago on lambda.

Having the same issue myself - using English UK (Ireland region).
Using the service simulator I tried "capital of england" as the utterance: Unable to generate request for your skill.
Interestingly, if I try the phrase "what is the capital of england", I get a valid service response...

I appear to also be having this same issue now. I tried the same test cases as @vin047 and got the same results.

I've just tried the "capital of england" question with the Version 2 Final release branch and I get a valid response. I am using node 6.10 for this version which might affect the result

I just tried the "capital of england" test cases with Version 2 Final branch, Node 6.10, but get the same result as before:
"capital of england": Unable to generate request for your skill.
"what is the capital of england": valid response
Very strange that its working for you @tartanguru

I can confirm the same results as @vin047. Version 2 final branch, Node 6.10.
All regions set to North America US, North Viginia.

@tartanguru @gnomium @vin047 @tszumowski
Ok, so I've managed to get it working with any question I can think of. Although some utterances aren't able to return a result, nothing I ask fails with an error.
If you paste all of the below sample questions into the "Values" of your custom slot type "SEARCH", all questions, in any format I can think of return a result of some sort.
who is the queen
why is the sky blue
how old become dogs
where is hamburg
what is christmas
when is easter
what are mice
what does bleach do
can you eat grass
is there a god
are bats black
whats the biggest planet
can dolphins swim
did giraffes go extinct
do porcupines sleep
whats two plus two
will bees be killed
could a woodchuck chuck wood
could flamingos fly
are oceans wet
are trees big
does korea have nukes
should you drink milk
should trucks smoke
If you find a question that returns an error, just add it to the list, save it, and it will then work.
I would suggest to come back here and paste your additions so we have a more complete working model, as I'm sure I've missed a bunch.
I don't know if this is the total answer, but it is working.

@travplan That seemed to help performance a lot.

Thanks for this - this certainly makes the recognition better. Hopefully Amazon will fix the issue soon.
Interestingly this goes against amazons advice:-
"If you’re still not getting the results, trying setting the CatchAll values to around twenty 2 to 8 word random phrases (from a random word generator – be really random). When the user says something that matches your other utterances, those intents will still be sent. When it doesn’t match any of those, it will fall to the CatchAll slot. If you go this route, you’re going to lose accuracy because you’re not taking full advantage of Alexa’s NLP so you’ll need to test heavily."
This is the list I am using:-
who is the queen
why is the sky blue
how old become dogs
where is hamburg
what is christmas
when is easter
what are mice
what does bleach do
can you eat grass
is there a god
are bats black
whats the biggest planet
can dolphins swim
did giraffes go extinct
do porcupines sleep
whats two plus two
will bees be killed
could a woodchuck chuck wood
could flamingos fly
are oceans wet
are trees big
does korea have nukes
should you drink milk
should trucks smoke
capital of new york
inventor of television
what time does costco close
how far away is the moon
how many oceans are there
who are the presidents children
why do stars suddenly appear

Amazon have now confirmed that this is an issue at there end:-
https://forums.developer.amazon.com/questions/67444/error-unable-to-generate-request-for-your-skill.html

It appears that Amazon have addressed this issue as per here:-
https://forums.developer.amazon.com/questions/68881/utterance-with-just-the-slot.html
"We recently made new tools available to help with the creation and testing
of skills. The new features inadvertently impacted a small number of
skills. We fixed the issue yesterday and all live skills should work as
expected. Please post here if you have any more issues and we will monitor
and provide assistance. For skills in development, you can now resolve this
issue by clicking ‘Save’ on the interaction model tab or by clicking Build
Model in Skill Builder (beta). We apologize for the inconvenience."
On Fri, 21 Apr 2017 at 16:14, tszumowski<EMAIL_ADDRESS>wrote:

@travplan https://github.com/travplan That seemed to help performance a
lot.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tartanguru/alexa-google-search/issues/23#issuecomment-296219051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXohTy22rr_-MLaDFgLU6we_ABtrtCEZks5ryMfygaJpZM4NB730
.

I can confirm that Amazon's update worked.
I returned the sample utterances to the original "who is the queen" and "why is the sky blue" only, then clicked save. The console rebuilt the interaction model, and now I cannot get a question that fails in the test simulator.
All questions return a response, even if sometimes the response returned is "I’m sorry, I wasn't able to find an answer."
Looks to me like all is well.

@travplan or @tartanguru any indication on which approach is better? The long list of sample utterances VS original two?

I don't think it really makes any difference although amazon only recommend between sample 2-8 phrases. With that in mind I'm going to revert to the old list so that it aligns with the guides circulating around.
Closing issue


Trouble with mysql passwords

If I connect to a mysql database using:
$ usql
\connect mysql://myuser@our-very-long.servername.with.rds.amazonaws.com:3306/mydb_name

I get prompted to enter a password, which I do, and I am able to connect.
However if I put the following in ~/.usqlpass :
mysql:our-very-long.servername.with.rds.amazonaws.com:3306:mydb_name:myuser:mylongasspassword

and then try to connect with:
usql mysql://our-very-long.servername.with.rds.amazonaws.com:3306/mydb_name

I get prompted with this:
error: mysql: 1045: Access denied for user<EMAIL_ADDRESS>(using password: YES)
Enter password:

If I enter my password I am connected and stuff works.
I'm wondering whether this is possibly because my password has special characters. I've tried to find some way to escape it in the .usqlpass file but I haven't had any luck yet.
What characters (if any) need to be escaped in the .usqlpass file? And how do I escape them?

I am also wondering whether there is any way for me to alias a connection string in usql. So instead of having to specify the full qualifier of the db: protocol://host:port/db_name I would be able to do usql myalias instead.

I'll check and see if there's an issue with the usqlpass code. Yes, I think a feature for some kind of better connection alias names would be good. If you have an idea, let me know. I've held off implementing anything since the usqlpass functionality works for most of what I use usql for.

Ideas? Sure! Well thought out? Probably not ;)
One idea would be to do a bit of a drastic change and introduce a new config file. That way, the old ~/.usqlpass functionality would still work but this would be added on top.
I would have a new config file and would place it in ~/.config/usql (an alternative would be to have a directory called ~/.usql/ and put the config file (or possibly files if needed) there. I'm not a huge fan of hidden config files littering the root of my home directory so that's why I suggest this. The ~/.config/ directory is a convention based on the XDG Base Directory Specification.
As for the name and format of the config file itself, I'd probably go for the format that a lot of CLI tools use, one of which is the aws-cli. Although they split the files up into two files (config and credentials), I don't think that's really necessary here. I would say just having one config file: ~/.config/usql/config would be fine. The format of this file is a simple INI file (here's a go library that can parse that) that would use the "sections" to define the connection aliases. So here would be an example of a config file:
[default]
# this wouldn't be an actual alias but perhaps some configuration that would be common to all connections
# but this config could be overwritten in each connection below if needed
output = json

[my_production_db]
driver = mysql
host = myproddb.mycompany.com:3306
username = myproduser
# password not included for prod, should prompt every time

[my_dev_db]
driver = mysql
host = mydevdb.mycompany.com:3306
username = mydevuser
password = mynotsosecretdevpassword
# we could override the default JSON output in each connection group
output = csv

Then, when running usql you'd be able to do something like the following:
$ usql --profile=my_dev_db

which would use the configuration from the my_dev_db group in the config file (along with all the default values that were not overridden in the selected profile).
So that's at least one idea... unfortunately I don't have experience writing GO so it would take me quite a lot of time (which I unfortunately don't have much of) to write a PR for this.

while I'd like proper alias functionality as well, the root of this issue is still unsolved.
~/.usqlpass
mariadb:<IP_ADDRESS>:3306:dbuser:dbname:password

usql<EMAIL_ADDRESS>error: mysql: 1045: Access denied for user<EMAIL_ADDRESS>(using password: NO)
Enter password:

Major difference to StFS's output seems to be that usql doesn't even attempt to use a password.


Deployment is too slow

The deployment is too slow, as it takes almost 2 hours with just 200 pdf files. Can we do something to make deployment faster, as this solution not feasible for the large data sizes. Please advice. Thanks!

An improvement in https://github.com/Azure-Samples/azure-search-openai-demo/pull/556

same problem here. Deployment takes 35 min!


Support for imagemin-mozjpeg v10

Same as https://github.com/cyrilwanner/next-optimized-images/issues/264 but for mozjpeg.
I think the change is this one https://github.com/imagemin/imagemin-mozjpeg/commit/9f3f702b44a85e546c57ed0e1044fade757abd00
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/node_modules/imagemin-mozjpeg/index.js from /path/node_modules/next-optimized-images/lib/loaders/img-loader.js not supported.
Instead change the require of index.js in /path/node_modules/next-optimized-images/lib/loaders/img-loader.js to a dynamic import() which is available in all CommonJS modules.
at requireImageminPlugin (/path/node_modules/next-optimized-images/lib/loaders/img-loader.js:21:10)
at getImgLoaderOptions (/path/node_modules/next-optimized-images/lib/loaders/img-loader.js:42:11)
at applyImgLoader (/path/node_modules/next-optimized-images/lib/loaders/img-loader.js:96:28)
at appendLoaders (/path/next-optimized-images/lib/loaders/index.js:137:14)
at Object.webpack (/path/next-optimized-images/lib/index.js:62:24)
at Object.newWebpackFunction [as webpack] (/path/@sentry/nextjs/dist/config/webpack.js:39:40)
at Object.getBaseWebpackConfig [as default] (/path/next/dist/build/webpack-config.js:1176:32)
at async Promise.all (index 0)
at async Span.traceAsyncFn (/path/next/dist/trace/trace.js:79:20)
at async /path/next/dist/build/index.js:322:29
at async /path/next/dist/build/index.js:318:9
at async Span.traceAsyncFn (/path/next/dist/trace/trace.js:79:20)
at async Object.build [as default] (/path/next/dist/build/index.js:55:25) {
code: 'ERR_REQUIRE_ESM'

@simPod
Temporary solution written in #270
Downgrade mozjpeg to 9.0.0

@zWarMob that is not a solution


Image on the Readme.md does not respresent what the library is doing

The description is:
message Data {
uint3 the = 1
uint3 bit = 2
uint5 level = 3
uint4 data = 4
uint11 interchange = 6
uint6 format = 7
}

As far as I understood, from playing with the python generated code, the 3 bits of 'the' won't be the 3 MSB of the first bytes, they would be the 3 LSB for the first byte. So the image should be:

Is that correct?

interesting  question.
how about this?
This figures that the lower bit end is on the left side.

Hey, simple and clear. Little endian explained in one sec.
:)
Thanks for responding
Congrats on the project


Image URL as a web component attribute

My web component takes an image URL as an attribute. In dev mode, all works perfectly. But, Rocket build renames the image URL, and does not update the web component's attribute. Is there a filter to update the image URL? Or a configuration to pass through images without changing the URL?

so you have something like
<my-el img="./path/to/file.jpg"></my-el>

does the file get copied over?
what is the output in build and what is the actual file URL?

Yes. Though in my case it data from markdown front matter, and the data is absolute from root.
  ---
  image_url: /foo/bar.jpg
  ---

and my njk template is like this
  <my-el image_url="{{ image_url | url }}"></my-el>

The img element is correct with the file copied and renamed, and my-el is...
  <my-el image_url="/foo/bar.jpg"></my-el>

I am recalling from memory, and will recheck the details later today.

So, I tried what you may be hinting, using src as attribute name.
  <my-el src="{{ image_url | url }}"></my-el>

Same result, but now also have reference errors.
Error: ❌ Found 2 missing reference targets (used by 2 links) while checking 14 files

ah so you use it in two places

  <my-el image_url="{{ image_url | url }}"></my-el>

so if you only use <my-el image_url="{{ image_url | url }}"></my-el> then it should not be copied/hashed or adjusted...
now if you were to put the image into docs/_assets/_static/test.jpg and then insert it like so
<my-el src="{{ image_url | asset | url }}"></my-el>

then I think it should work as all _static images are copied as is and the URL would then not be touched. This however means if you use it as a normal image somewhere as well that it will be duplicated once renamed and hashed once statically copied
Ideally, you would be able to adjust which tag and which attribute gets defined as an asset... but that API is currently not there 😅.
the tools used is https://modern-web.dev/docs/building/rollup-plugin-html/

Thank you for the clarification. Maybe, for rollup-plugin-html...
params.extractAssets: boolean | { tag: string,  attributes: string[] }[]
Case statements in the plugin src might be preceded by a params.extractAssets.forEach
It  a minor issue for me now, so I'm monkey patching attributes in my _site files.

Attempting to update https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-html, but a clean install and test has errors. Not sure how to get a clean baseline to work from.
yarn test
yarn run v1.22.10
$ mocha test/**/*.test.ts --require ts-node/register

TSError: ⨯ Unable to compile TypeScript:
src/input/extract/extractModules.ts:1:10 - error TS2305: Module '"../../../../../node_modules/@web/parse5-utils"' has no exported member 'findElements'.

1 import { findElements, getAttribute, getTagName, getTextContent, remove } from '@web/parse5-utils';
           ~~~~~~~~~~~~
src/input/extract/extractModules.ts:1:24 - error TS2305: Module '"../../../../../node_modules/@web/parse5-utils"' has no exported member 'getAttribute'.

1 import { findElements, getAttribute, getTagName, getTextContent, remove } from '@web/parse5-utils';
                         ~~~~~~~~~~~~
src/input/extract/extractModules.ts:1:38 - error TS2305: Module '"../../../../../node_modules/@web/parse5-utils"' has no exported member 'getTagName'.

1 import { findElements, getAttribute, getTagName, getTextContent, remove } from '@web/parse5-utils';
                                       ~~~~~~~~~~
src/input/extract/extractModules.ts:1:50 - error TS2305: Module '"../../../../../node_modules/@web/parse5-utils"' has no exported member 'getTextContent'.

1 import { findElements, getAttribute, getTagName, getTextContent, remove } from '@web/parse5-utils';
                                                   ~~~~~~~~~~~~~~
src/input/extract/extractModules.ts:1:66 - error TS2305: Module '"../../../../../node_modules/@web/parse5-utils"' has no exported member 'remove'.

1 import { findElements, getAttribute, getTagName, getTextContent, remove } from '@web/parse5-utils';
                                                                   ~~~~~~
src/input/extract/extractModules.ts:6:10 - error TS2305: Module '"../../../../../node_modules/@web/parse5-utils"' has no exported member 'getAttributes'.

6 import { getAttributes } from '@web/parse5-utils';
           ~~~~~~~~~~~~~
src/input/extract/extractModules.ts:33:5 - error TS7006: Parameter 'e' implicitly has an 'any' type.

Pull request https://github.com/modernweb-dev/web/pull/1541 submitted. The request is intended to close this issue (and save me from monkey patching my _site files).


Issues with policies and AWS secrets engine

@bonifaido We are trying to create the Vault-Etcd cluster with the below manifest. As you can see, we are creating AWS secrets engine with access and secret key config and also policies dedicated for respective auth roles.
However, vault is not initialized with AWS secret engine and the policies are also not listed, also there is no trace in logs as well. I tried looking at Bank-Vaults code for configuring secret engine and couldn't find any specification.
FYI, We are using the latest image for both operator and Bank-vault.
apiVersion: "vault.banzaicloud.com/v1alpha1"
kind: "Vault"
metadata:
  name: "vault"
  namespace: secrets
spec:
  size: 2
  image: vault:0.10.3
  bankVaultsImage: banzaicloud/bank-vaults:master
  imagePullPolicy: IfNotPresent

  # Describe where you would like to store the Vault unseal keys and root token.
  unsealConfig:
    aws:
      kmsKeyId: f2fa72dd-80d1-*****
      kmsRegion: us-east-1
      s3Bucket: vault-key-bucket-dev
      s3Region: us-east-1

  # A YAML representation of a final vault config file.
  # See https://www.vaultproject.io/docs/configuration/ for more information.
  config:
    storage:
      etcd:
        address: https://etcd-cluster:2379
        ha_enabled: "true"
    listener:
      tcp:
        address: "<IP_ADDRESS>:8200"
        tls_cert_file: /vault/tls/server.crt
        tls_key_file: /vault/tls/server.key
    api_addr: https://vault.default:8200
    ui: true

  # See: https://github.com/banzaicloud/bank-vaults#example-external-vault-configuration for more details.
  externalConfig:
    policies:
    - name: admin
      rules: path "secret/*" {
              capabilities = ["create", "read", "update", "delete", "list", "sudo"]
            }
             path "auth/*" {
              capabilities = ["create", "read", "update", "delete", "list", "sudo"]
            }
             path "aws/*" {
              capabilities = ["create", "read", "update", "delete", "list", "sudo"]
            }
             path "sys/auth/*" {
              capabilities = ["create", "read", "update", "delete", "sudo"]
            }
             path "sys/policy" {
              capabilities = ["read"]
            }
             path "sys/policy/*" {
              capabilities = ["create", "read", "update", "delete", "list", "sudo"]
            }
             path "sys/mounts/*" {
              capabilities = ["create", "read", "update", "delete", "list", "sudo"]
            }
             path "sys/health" {
              capabilities = ["read", "sudo"]
            }
             path "sys/capabilities" {
              capabilities = ["create", "update"]
            }
             path "sys/capabilities-self" {
              capabilities = ["create", "update"]
            }
    - name: provisioner
      rules: path "auth/*" {
              capabilities = ["create", "read", "update", "delete", "list", "sudo"]
            }
             path "sys/auth/*" {
              capabilities = ["create", "read", "update", "delete", "sudo"]
            }
             path "sys/policy" {
              capabilities = ["read"]
            }
             path "sys/policy/*" {
              capabilities = ["create", "read", "update", "delete", "list"]
            }
             path "secret/*" {
              capabilities = ["create", "read", "update", "delete", "list"]
            }
             path "aws/*" {
              capabilities = ["create"]
            }
    auth:
    - type: kubernetes
      roles:
        # Allow every pod in the secrets namespace to use the secret kv store
        - name: Kube-Vault-ServiceAccount-Role
          bound_service_account_names: vault
          bound_service_account_namespaces: secrets
          policies: admin
          ttl: 1h
    - type: aws
      roles:
      # Add roles for AWS instances or principals
      # See https://www.vaultproject.io/api/auth/aws/index.html#create-role
      - name: Jenkins-woker-Role
        bound_iam_principal_arn: arn:aws:iam::*********:role/jenkinsRole
        policies: provisioner
        period: 1h
    secrets:
    # This plugin stores arbitrary secrets within the configured physical storage for Vault.
    # See https://www.vaultproject.io/docs/secrets/kv/index.html for
    # more information.
    - path: secret
      type: kv
      description: General secrets
    - path: aws
      type: aws
      description: AWS secrets
      configuration:
        config:
          - name: root
            access_key: AKIAI********
            secret_key: yibA3/RjRZVaH***********
            region: us-east-1
  credentialsConfig:
    env: AWS_SHARED_CREDENTIALS_FILE
    path: /etc/aws/credentials
    secretName: aws-cred

Hi @gowthamsubbu, could you please past any logs from Vault and all the sidecar and helping pods?

@bonifaido Apologizes. I take back my word and there are traces of logs in configurer pod.
Vault pod logs
==> Vault server configuration:
         Api Address: https://vault.default:8200
                 Cgo: disabled
     Cluster Address: https://vault.default:8201
          Listener 1: tcp (addr: "<IP_ADDRESS>:8200", cluster address: "<IP_ADDRESS>:8201", tls: "enabled")
           Log Level: debug

2018-08-22T12:34:10.259Z [DEBUG] storage.cache: creating LRU cache: size=0
2018-08-22T12:34:10.458Z [DEBUG] cluster listener addresses synthesized: cluster_addresses=[<IP_ADDRESS>:8201]
Mlock: supported: true, enabled: true
Storage: etcd (HA available)
Version: Vault v0.10.3
Version Sha: c69ae68faf2bf7fc1d78e3ec62655696a07454c7
==> Vault server started! Log data will stream in below:
2018-08-22T12:34:11.397Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:13.025Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:17.425Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:19.725Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:23.001Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:29.876Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:33.012Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:39.837Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:39.897Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:41.097Z [INFO ] core: security barrier not initialized
2018-08-22T12:34:41.218Z [INFO ] core: security barrier initialized: shares=5 threshold=3
2018-08-22T12:34:41.346Z [DEBUG] core: cluster name not found/set, generating new
2018-08-22T12:34:41.346Z [DEBUG] core: cluster name set: name=vault-cluster-c7d5c7d3
2018-08-22T12:34:41.346Z [DEBUG] core: cluster ID not found, generating new
2018-08-22T12:34:41.346Z [DEBUG] core: cluster ID set: id=faa23069-95dc-3de4-f5ff-51cb2671c1ac
2018-08-22T12:34:41.533Z [DEBUG] core: generating local cluster certificate
2018-08-22T12:34:41.674Z [INFO ] core: post-unseal setup starting
2018-08-22T12:34:41.674Z [DEBUG] core: clearing forwarding clients
2018-08-22T12:34:41.674Z [DEBUG] core: done clearing forwarding clients
2018-08-22T12:34:41.839Z [INFO ] core: loaded wrapping token key
2018-08-22T12:34:41.839Z [INFO ] core: successfully setup plugin catalog: plugin-directory=
2018-08-22T12:34:41.959Z [INFO ] core: no mounts; adding default mount table
2018-08-22T12:34:42.120Z [INFO ] core: successfully mounted backend: type=kv path=secret/
2018-08-22T12:34:42.120Z [INFO ] core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2018-08-22T12:34:42.120Z [INFO ] core: successfully mounted backend: type=system path=sys/
2018-08-22T12:34:42.120Z [INFO ] core: successfully mounted backend: type=identity path=identity/
2018-08-22T12:34:42.321Z [INFO ] core: restoring leases
2018-08-22T12:34:42.321Z [INFO ] rollback: starting rollback manager
2018-08-22T12:34:42.321Z [DEBUG] expiration: collecting leases
2018-08-22T12:34:42.324Z [DEBUG] expiration: leases collected: num_existing=0
2018-08-22T12:34:42.324Z [INFO ] expiration: lease restore complete
2018-08-22T12:34:42.547Z [DEBUG] identity: loading entities
2018-08-22T12:34:42.594Z [DEBUG] identity: entities collected: num_existing=0
2018-08-22T12:34:42.596Z [INFO ] identity: entities restored
2018-08-22T12:34:42.596Z [DEBUG] identity: identity loading groups
2018-08-22T12:34:42.598Z [DEBUG] identity: groups collected: num_existing=0
2018-08-22T12:34:42.598Z [INFO ] identity: groups restored
2018-08-22T12:34:42.599Z [DEBUG] core: starting cluster listeners
2018-08-22T12:34:42.599Z [DEBUG] core: cluster listener setup function
2018-08-22T12:34:42.599Z [DEBUG] core: clearing forwarding clients
2018-08-22T12:34:42.599Z [DEBUG] core: done clearing forwarding clients
2018-08-22T12:34:42.600Z [DEBUG] core: leaving cluster listener setup function
2018-08-22T12:34:42.600Z [INFO ] core: post-unseal setup complete
2018-08-22T12:34:42.600Z [INFO ] core: core/startClusterListener: starting listener: listener_address=<IP_ADDRESS>:8201
2018-08-22T12:34:42.600Z [INFO ] core: core/startClusterListener: serving cluster requests: cluster_listen_address=[::]:8201
2018-08-22T12:34:42.682Z [INFO ] core: root token generated
2018-08-22T12:34:42.699Z [INFO ] core: pre-seal teardown starting
2018-08-22T12:34:42.699Z [INFO ] core: stopping cluster listeners
2018-08-22T12:34:42.699Z [DEBUG] core: waiting for success notification while stopping cluster listeners
2018-08-22T12:34:42.699Z [INFO ] core: shutting down forwarding rpc listeners
2018-08-22T12:34:42.699Z [INFO ] core: forwarding rpc listeners stopped
2018-08-22T12:34:43.108Z [INFO ] core: rpc listeners successfully shut down
2018-08-22T12:34:43.108Z [INFO ] core: cluster listeners successfully shut down
2018-08-22T12:34:43.108Z [DEBUG] expiration: stop triggered
2018-08-22T12:34:43.108Z [DEBUG] expiration: finished stopping
2018-08-22T12:34:43.108Z [INFO ] rollback: stopping rollback manager
2018-08-22T12:34:43.108Z [INFO ] core: pre-seal teardown complete
2018-08-22T12:34:44.528Z [DEBUG] core: cannot unseal, not enough keys: keys=1 threshold=3 nonce=69f2f4a4-1080-d4ca-9fb7-22cb1978a9c6
2018-08-22T12:34:44.585Z [DEBUG] core: cannot unseal, not enough keys: keys=2 threshold=3 nonce=69f2f4a4-1080-d4ca-9fb7-22cb1978a9c6
2018-08-22T12:34:44.849Z [INFO ] core: vault is unsealed
2018-08-22T12:34:44.850Z [INFO ] core: entering standby mode
2018-08-22T12:34:45.015Z [INFO ] core: acquired lock, enabling active operation
2018-08-22T12:34:45.466Z [DEBUG] core: generating local cluster certificate
2018-08-22T12:34:45.666Z [INFO ] core: post-unseal setup starting
2018-08-22T12:34:45.666Z [DEBUG] core: clearing forwarding clients
2018-08-22T12:34:45.666Z [DEBUG] core: done clearing forwarding clients
2018-08-22T12:34:45.727Z [INFO ] core: loaded wrapping token key
2018-08-22T12:34:45.728Z [INFO ] core: successfully setup plugin catalog: plugin-directory=
2018-08-22T12:34:45.743Z [INFO ] core: successfully mounted backend: type=kv path=secret/
2018-08-22T12:34:45.743Z [INFO ] core: successfully mounted backend: type=system path=sys/
2018-08-22T12:34:45.743Z [INFO ] core: successfully mounted backend: type=identity path=identity/
2018-08-22T12:34:45.743Z [INFO ] core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2018-08-22T12:34:45.886Z [INFO ] core: restoring leases
2018-08-22T12:34:45.887Z [INFO ] rollback: starting rollback manager
2018-08-22T12:34:45.887Z [DEBUG] expiration: collecting leases
2018-08-22T12:34:46.048Z [DEBUG] expiration: leases collected: num_existing=0
2018-08-22T12:34:46.048Z [INFO ] expiration: lease restore complete
2018-08-22T12:34:46.093Z [DEBUG] identity: loading entities
2018-08-22T12:34:46.132Z [DEBUG] identity: entities collected: num_existing=0
2018-08-22T12:34:46.132Z [INFO ] identity: entities restored
2018-08-22T12:34:46.132Z [DEBUG] identity: identity loading groups
2018-08-22T12:34:46.175Z [DEBUG] identity: groups collected: num_existing=0
2018-08-22T12:34:46.175Z [INFO ] identity: groups restored
2018-08-22T12:34:46.193Z [DEBUG] core: starting cluster listeners
2018-08-22T12:34:46.193Z [DEBUG] core: cluster listener setup function
2018-08-22T12:34:46.193Z [DEBUG] core: clearing forwarding clients
2018-08-22T12:34:46.193Z [DEBUG] core: done clearing forwarding clients
2018-08-22T12:34:46.194Z [DEBUG] core: leaving cluster listener setup function
2018-08-22T12:34:46.194Z [INFO ] core: post-unseal setup complete
2018-08-22T12:34:46.194Z [INFO ] core: core/startClusterListener: starting listener: listener_address=<IP_ADDRESS>:8201
2018-08-22T12:34:46.194Z [INFO ] core: core/startClusterListener: serving cluster requests: cluster_listen_address=[::]:8201
2018-08-22 12:34:55.899963 I | http: TLS handshake error from <IP_ADDRESS>:59162: EOF
2018-08-22 12:35:05.886677 I | http: TLS handshake error from <IP_ADDRESS>:59178: EOF
2018-08-22 12:35:05.950921 I | http: TLS handshake error from <IP_ADDRESS>:59182: EOF
2018-08-22 12:35:05.957330 I | http: TLS handshake error from <IP_ADDRESS>:59180: EOF
2018-08-22 12:35:12.920283 I | http: TLS handshake error from <IP_ADDRESS>:59188: EOF
Bank-Vaults log
time="2018-08-22T12:34:39Z" level=info msg="initializing vault..."
time="2018-08-22T12:34:39Z" level=info msg="initializing vault"
time="2018-08-22T12:34:43Z" level=info msg="unseal key stored in key store" key=vault-unseal-0
time="2018-08-22T12:34:43Z" level=info msg="unseal key stored in key store" key=vault-unseal-1
time="2018-08-22T12:34:43Z" level=info msg="unseal key stored in key store" key=vault-unseal-2
time="2018-08-22T12:34:44Z" level=info msg="unseal key stored in key store" key=vault-unseal-3
time="2018-08-22T12:34:44Z" level=info msg="unseal key stored in key store" key=vault-unseal-4
time="2018-08-22T12:34:44Z" level=info msg="root token stored in key store" key=vault-root
time="2018-08-22T12:34:44Z" level=info msg="checking if vault is sealed..."
time="2018-08-22T12:34:44Z" level=info msg="vault sealed: true"
time="2018-08-22T12:34:44Z" level=info msg="successfully unsealed vault"
time="2018-08-22T12:35:14Z" level=info msg="checking if vault is sealed..."
time="2018-08-22T12:35:15Z" level=info msg="vault sealed: false"
Vault-configurer pod
time="2018-08-22T12:34:09Z" level=info msg="New config file change "Initial": CREATE"
time="2018-08-22T12:34:09Z" level=info msg="checking if vault is sealed..."
time="2018-08-22T12:35:18Z" level=info msg="vault is not sealed, configuring..."
time="2018-08-22T12:35:18Z" level=error msg="error configuring vault: error finding config block for aws: unable to cast  of type  to map[string]interface{}"

The last line above:
time="2018-08-22T12:35:18Z" level=error msg="error configuring vault: error finding config block for aws: unable to cast of type to map[string]interface{}"

means that the AWS configuration is not correct in the auth section, it has to have the following scheme (seen in the README):
  # Allows creating roles in Vault which can be used later on for AWS
  # IAM based authentication.
  # See https://www.vaultproject.io/docs/auth/aws.html for
  # more information.
  - type: aws
    config:
      access_key: VKIAJBRHKH6EVTTNXDHA
      secret_key: vCtSM8ZUEQ3mOFVlYPBQkf2sO6F/W7a5TVzrl3Oj
      iam_server_id_header_value: vault-dev.example.com # consider setting this to the Vault server's DNS name
    roles:
    # Add roles for AWS instances or principals
    # See https://www.vaultproject.io/api/auth/aws/index.html#create-role
    - name: dev-role-iam
      bound_iam_principal_arn: arn:aws:iam::123456789012:role/dev-vault
      policies: allow_secrets
      period: 1h

@bonifaido Thanks for pointing out the config issue. It worked.
I have two question related to config

Do you have any plans to incorporate cross account roles into the AWS config section ?
Kubernetes auth method is configured with default serviceaccount vaules for JWT, ca_cert & host. In case, if we want to configure it with custom namespace (secrets) bound values it is not possible at this moment. Is this intended ?

case "kubernetes":
			err = v.kubernetesAuthConfig(path)
			if err != nil {
				return fmt.Errorf("error configuring kubernetes auth for vault: %s", err.Error())
			}
			roles := authMethod["roles"].([]interface{})
			err = v.configureKubernetesRoles(roles)
			if err != nil {
				return fmt.Errorf("error configuring kubernetes auth roles for vault: %s", err.Error())
			}

func (v *vault) kubernetesAuthConfig(path string) error {
	kubernetesCACert, err := ioutil.ReadFile("/var/run/secrets/kubernetes.io/serviceaccount/ca.crt")
	if err != nil {
		return err
	}
	tokenReviewerJWT, err := ioutil.ReadFile("/var/run/secrets/kubernetes.io/serviceaccount/token")
	if err != nil {
		return err
	}
	config := map[string]interface{}{
		"kubernetes_host":    fmt.Sprint("https://", os.Getenv("KUBERNETES_SERVICE_HOST")),
		"kubernetes_ca_cert": string(kubernetesCACert),
		"token_reviewer_jwt": string(tokenReviewerJWT),
	}
	_, err = v.cl.Logical().Write(fmt.Sprintf("auth/%s/config", path), config)
	return err
}

Hi @gowthamsubbu , you're welcome!
About the questions:

Could you please specify which config parts to do you miss to be able to enable cross AWS account authentication? It could help me find out how to do that. Could you please open up a new issue for that as a feature request, with details how do you plan to use it?

Yes we plan to do cross K8S authentication, there is already an issue for that https://github.com/banzaicloud/bank-vaults/issues/46, however, we haven't had the chance to implement it. Probably will be implemented in the forthcoming weeks since demand has increased for it.

I'm closing this issue since the original issue has been solved.

@bonifaido I can submit a PR for #46. Please let me know in case, if you already started working on it.

No, I didn't. Feel free!


CIFS Problems with OS X 10.9 or 10.10

At end of a file transfer, there is an error "The file is already used". The finder try some tricks in dot files and save informations in .DS_Store. The solution is easy to impletement: disallow .DS_Store. I use the veto files and delete veto files directives.
I recommend to modify smb.conf with this:
[Music]
    path = /music/MusicBox
    comment = Directory for music files
    writable = yes
    browseable = yes
    guest ok = yes
    create mask = 0777
    directory mask = 0777
    veto files = /._*/.DS_Store/
    delete veto files = yes

Best regards,

Does mounting samba shared drives on Mac OS X work out of the box for you?
I had to add sec=ntlmssp,nounix,noperm,noserverino to startup.sh to get the directory to mount properly on my machine.

It work out of the box but there is a '" in the name of the share. It is 'musicbox.local'.


Created manifest for Dell Command Monitor 10.6.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Submission containins materials of a third party: Dell Inc.
Microsoft Reviewers: Open in CodeFlow

This package has a dependency that .NET Framework 4.6.1 or later is installed.
It may also have a dependency to only be run on dell hardware, which I couldn't test on my VM

@trenly I believe both are true:

[ ] This package has a dependency that .NET Framework 4.6.1 or later is installed.
[ ] It has dependency to only be run on Dell hardware

Is there a way to specify either of these dependencies/requirements in the YAML manifest? I would imagine there has to be a way to link dependencies like .NET Framework 4.6.1.

There are ways to mark the dependencies in the manifest. The 1.0.0 schema should be helpful for showing how to do this. I haven’t done it myself, but I believe it would be something like:
Dependencies:
  PackageDependencies:
  - PackageIdentifier: Microsoft.dotnet
     MinimumVersion: 4.6.1

However, the CLI currently doesn’t support automatic installation of dependencies; Its being tracked in https://github.com/microsoft/winget-cli/issues/163 .
Custom hardware requirements are also not implemented yet, but are being tracked by https://github.com/microsoft/winget-cli/issues/1417
Unfortunately, these block the PR from being validated until the CLI supports both dependencies and custom hardware


Passport tests

Hi, there is a commit that I’m guessing should have added the passportjs tests but didn’t?  The commit

Huh... Maybe forgot to push it


[Question] Is this possible to be used with Chrome Extensions?

Heya
I have a chrome extension that has shortcuts which I would like to activate while the user is typing. How likely is this package able to accomplish that?
Regards
Admir

Hi @Spiderixius,
I have not attempted or designed this package to be used in a Chrome extension. I would suggest it's probably not the best tool for that particular job.


Ros2 p4

Fix recent merge conflict issue
Rename critic scorer to critic manager since also manages the lifecycle of the critics
Added const references to all API methods possible
Moved critic function implementions into src
Fixed inCollision for footprint
I also tried to deploy some && where I think might be appropriate -- please take a look at that and let me know if I did that sensibly. This is my first time running into this. What I did was add them to functions which had returns of non-trivial size (tensors, paths, etc) that were created and thus to be deleted in the method itself on destruction. My understanding is that then it would assign that memory to the caller of the method rather than copying to the memory, e.g.

LargeStruct myMethod()
{
  LargeStruct struct;
  struct.populate();
  return struct;
}

main()
{
  auto && return_no_copy = myMethod();
}

I'll merge and fix double passing by reference, so i can start trying to find out why build fails with last changes


Safety: Cannot cast nullable value to not nullable type for abstracts

class Bug2 {
    public function bug(?v : haxe.Int32) : Void {
        // Safety: Cannot cast nullable value to not nullable type.
        v == null ? "A" : "B";
    }
}

See https://github.com/restorer/haxe-safety-bugs/blob/master/safetybugs/Main.hx#L50 for working example.

This is for Haxe 4.0.0-preview.5 and Safety from master.


[Neonx] Ensure that widgets are hidden in fullscreen mode

I have seen some cases, where widgets are shown although the fullscreen mode was active. I assume that it happened because widgets were not hidden whenever a "redraw" happened. Now widgets are hidden within the draw function to ensure that they are never shown...
Unfortunately, I was not fully able to reproduce when this bug happened, but always when I got messages from gadgetbridge and the message widget started blinking...

Great - thanks!


This does not work with non-configurable properties

Non-configurable properties cannot be mimicked:
const a = function () {}
Object.defineProperty(a, 'test', { configurable: false })
const b = function () {}
b.test = true
mimicFn(a, b)

throws the following error:
    Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop))
           ^

TypeError: Cannot redefine property: test
    at Function.defineProperty (<anonymous>)

Is it correct behavior, or should the property be silently skipped instead?

I think throwing is correct. We shouldn't silently pretend it worked. However, it would be useful to be able to specify a list of properties to ignore. mimicFn(a, b, {ignore: ['test']}.

I will submit a PR for options.ignore.

#10 is related to this info.
It seems like React Native and IE11 set some function properties as non-configurable. I.e. under the current behavior but also with the ignore option, those environments cannot be supported. If this is still the intended solution, I think we should close #10?

but also with the ignore option, those environments cannot be supported

Why can they not be supported if the user manually ignores the problematic properties?
Honestly though, I couldn't care less about those platforms, so I'm happy to just close #10.

Why can they not be supported if the user manually ignores the problematic properties?

This would require the user to conditionally use the ignore option:

detect the current platform
for each failing platform, define the correct ignore option values

This might be too much to ask to the user.
However I'm happy with not supporting those platforms.

The problem is also impacting classes:
class A {}
class B {}
mimicFn(A, B)

TypeError: Cannot redefine property: prototype
    at Function.defineProperty (<anonymous>)
    at copyProperty (/home/me/mimic-fn/index.js:7:9)
    at mimicFn (/home/me/mimic-fn/index.js:31:3)

That's because Function#prototype is non-configurable and non-writable. I.e. using mimicFn() on two different classes does not work.
One possible solution would be to never try to copy prototype. Because we never can. What do you think?

One possible solution would be to never try to copy prototype. Because we never can. What do you think?

👍

For the original problem: would any user want to ignore some non-configurable properties but not others? Should we add a boolean option ignoreNonConfigurable instead, defaulting to false?

Should we add a boolean option ignoreNonConfigurable instead, defaulting to false?

Yeah, I think that would be enough.


Getting CSI camera to work on Raspberry Pi 5?

Has anyone gotten the CSI (ribbon cable connector) camera to work on Raspberry Pi 5 with this? I merged #330393 in my personal copy of nixpkgs stable, and it builds & deploys correctly -- but I can't seem to see the CSI camera no matter how many times I poke around with v4l2-ctl or /dev. What am I missing?

https://github.com/nix-community/raspberry-pi-nix/pull/42 achieves the same thing as the libcamera upgrade, but when a camera is detected running any of the libcamera apps results in a segfault. I haven't gotten any further with it

Hmm. Maybe a dep being behind upstream is causing it?

I'm also struggling with this: the current flake does not compile since rpicam-apps 1.5.2 seems to need libcamera 0.3.2 for IMX500 compatibility. But even if downgrading rpicam-apps to 1.5.1, when using nixos-24.05, I'm getting a segmentation fault.
I only get an abort with coredump, while complaining about missing backend_default_config.json in libpisp on nixos-unstable. Correcting does not fix it.
I also tried updating everything, but got nowhere; I will likely try that again soon, but if anyone has any pointers or ideas that would be lovely :D


feat: add marks handler

Similar to how we handle folds (https://github.com/lewis6991/satellite.nvim/blob/d79f99810e09ca2e1f27c49d066655a5d1fe5654/lua/satellite.lua#L912-L920), we will need to refresh everytime a mark is added or deleted.

Take a another look. I think it's ready


Update README chmod permissions change

Shouldn't encourage/teach bad linux permission habits like chmod 777

Thank you for noticing that and letting me know :)


WH: failures when running unit tests back to back

Run the following back to back:
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests
the Reduce tests will fail on the 2nd run
Or, just run the unit tests once then run:
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests --gtest_filter="*ComputeReduceHW"
and that test will fail
Running unit tests back to back used to work not long ago.  Initial steps are to:

Narrow down which commit broke this
Perhaps narrow down which test in the full run causes the subsequent test to fail.  This is only needed if the commit isn't illuminating

DeviceFixture.ComputePackUntilizeDstTinyTile is the test that causes the failure. I can reproduce with the commands:
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests --gtest_filter=DeviceFixture.ComputePackUntilizeDstTinyTile
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests --gtest_filter=DeviceFixture.ComputeReduceHW
I can reproduce the issue on the commit this test is introduced (https://github.com/tenstorrent/tt-metal/commit/4053cab7a82930667b2494a09460c24feb558ccb), and on the commit before it (https://github.com/tenstorrent/tt-metal/commit/73da4f0820c5a0c721040d9a574f6f91ec4c0471) I can run unit tests back to back successfully:
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests
TT_METAL_SLOW_DISPATCH_MODE=1 build/test/tt_metal/unit_tests
This issue is WH-specific, could not reproduce on GS.

Any ideas on how this new test could trigger a failure later on @rtawfik01?


connectApi.ts -> updatePresubscriptions sample

Can the presubscriptions example be updated to use a URI sample?
I think it's the one required parameter in https://cloud.mbed.com/docs/v1.2/service-api-references/connect-api.html#PresubscriptionArray
Also, if you can contrast that w/ addResourceSubscription, that would be even better.

Hi Ran,
We are looking at the subscriptions / presubscriptions so should hopefully be able to make some improvements.
Graham

Come to think of it, if you can do a fully working example that mimics what we have in https://cloud.mbed.com/docs/v1.2/service-api-references/connect-api.html#subscriptions, that's even better

Is there a specific (with dates) plan for this?
--Ran (sent from mobile)
On Feb 22, 2018 01:18, "Graham Hammond"<EMAIL_ADDRESS>wrote:

Hi Ran,
We are looking at the subscriptions / presubscriptions so should hopefully
be able to make some improvements.
Graham
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ARMmbed/mbed-cloud-sdk-javascript/issues/217#issuecomment-367616527,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APPyXrzj0n63us1zqxJScohphWF4fDxQks5tXTDegaJpZM4SArwx
.

If you look @ https://cloud.mbed.com/docs/v1.2/service-api-references/connect-api.html#subscriptions and expand PUT /v2/subscriptions, there's a sample there using curl.
The request is to show how to achieve that same thing using js.

When looking @ https://cloud.mbed.com/docs/v1.2/service-api-references/connect-api.html#PresubscriptionArray, you see that uri is required parameter.
The request is to have the example reflect that

The PresubscriptionArray hasn't been defined properly in the swagger so it has no attributes. You're looking at the Resource model. The example for PUT v2/subscriptions shows what the presubscription array looks like.

So again - is there a date attached to this?
Thanks

@ranshe version 1.2.9 has now been released.
Please see https://github.com/ARMmbed/mbed-cloud-sdk-javascript/blob/master/examples/node/webhook-subscriptions.js#L45 for a basic presubscription/subscription example.
Also https://github.com/ARMmbed/mbed-cloud-sdk-javascript/blob/master/examples/node/subscribe.js#L42 has further examples.
These are new features that are trying to abstract away the confusion between subscriptions/presubscriptions so any feedback you have as to the usability of this would be very helpful.


Minify css bundle output from yarn build

Add an additional webpack plugin to minify the output css bundle when
building for production.
In addition adjust source map settings for versions that are faster and
smaller. Tested with latest version of Chrome and the source maps worked
pretty well, with other browsers/versions your mileage may vary.
https://www.pivotaltracker.com/story/show/137196541

@miq-bot add_label euwe/no, enhancement


Rendering bug in Edge and IE

When I view https://www.mathjax.org/#samples in Microsoft Edge on Windows 10 the "Double angle formula for Cosines" example has a dashed square box containing the text f() overlaying each opening parenthesis and the following couple of characters; see below. If I use IE then the maths is not rendered at all. It all looks fine in Firefox and Chrome.
I initially noticed this problem on a web server that I manage. Everything is fine with an earlier version of MathJax, but when I experimented with the latest version I noticed this overlay bug in both Edge and IE (using the necessary polyfill).

This is a duplicate of mathjax/MathJax-src#385, and is resolved in PR mathjax/MathJax-src#397, but thanks for reporting the issue!


Add url back into banner admin interface

And then make sure it's linked properly. For the URL:

First check if there is a url specified. If so, use it.
If not, use the project link (if it is a project)

This is now done: