CMS-356: Add directory structure, dev containers

Using patterns (but not code) from other recent OXD projects, I set up a basic project structure and (mostly) configured dev containers.
There are some things left to do, but I want to get this reviewed to discuss and merge it so that we can start writing code for any part of the project.
The dir structure is simply frontend/, backend/, and some configuration files in the root. db/ just has an init script to populate the fake DB with some example rows.
docker-compose.prod.yml uses the Dockerfile.prod files in each subfolder, plus a placeholder Postgres DB to spin up a demo app for testing. We can change anything there but I thought it might help for testing/developing the Openshift setup.
docker-compose.dev.yml is used for the VSCode dev containers. (Apparently dev containers work in some other IDEs but I've never tried). If you open the root folder in VSCode, it should recommend installing the Dev Containers extension if you don't already have it. Then you can "reopen in a container" and select Frontend or Backend. You can open a new window to run both at the same time, that was a challenge to configure. I'll document all of this in the Readme once it's finalized. Right now the only sort of bug I've noticed is that git doesn't work inside the containers. I found a GitHub bug issue with a workaround, but I haven't tried it yet.
Check it out and let me know what needs to change!

It'd be nice if there's a PR template something like this: https://github.com/bcgov/bcparks.ca/blob/main/.github/pull_request_template.md, but not an urgent thing 🙂

I know there are a ton of commits, I'll be sure to squash them 😆
There was a lot of trial and error with the dev containers, oof.


Notary signer fails in VIC Appliance

When deploying latest build https://storage.googleapis.com/vic-product-ova-builds/vic-2161-v1.2.0-rc1-132-g89afccc.ova
journalctl -u harbor
Oct 23 14:43:46 localhost.localdomain start_harbor.sh[2403]: notary-server exited with code 1

notary-signer.log
Oct 23 14:46:50 <IP_ADDRESS> notary-signer[410]: waiting for mysql://signer@tcp(mysql:3306)/notarysigner to come up.
Oct 23 14:46:51 <IP_ADDRESS> notary-signer[410]: notarysigner database failed to come up within 30 seconds

@morris-jason Thanks for the information.
Could be related to the recent change in docker image, but interesting it works in our CI in drone, I'll investigate.

@andrewtchin
I tried to deploy the .ova but saw error:
root@localhost [ ~ ]# systemctl status harbor_startup.service
● harbor_startup.service - Harbor Startup Configuration
   Loaded: loaded (/usr/lib/systemd/system/harbor_startup.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2017-10-24 06:19:04 UTC; 5s ago
     Docs: http://github.com/vmware/harbor
  Process: 965 ExecStartPre=/usr/bin/bash /etc/vmware/harbor/configure_harbor.sh (code=exited, status=1/FAILURE)

Oct 24 06:19:04 localhost.localdomain systemd[1]: Starting Harbor Startup Configuration...
Oct 24 06:19:04 localhost.localdomain bash[965]: cp: cannot stat ‘/data/admiral/cert/ca.crt’: No such file or directory
Oct 24 06:19:04 localhost.localdomain systemd[1]: harbor_startup.service: Control process exited, code=exited status=1
Oct 24 06:19:04 localhost.localdomain systemd[1]: Failed to start Harbor Startup Configuration.
Oct 24 06:19:04 localhost.localdomain systemd[1]: harbor_startup.service: Unit entered failed state.
Oct 24 06:19:04 localhost.localdomain systemd[1]: harbor_startup.service: Failed with result ‘exit-code’.

@andrewtchin Did you see this issue in fresh install or upgrade?

@reasonerjt it was in a fresh install of the linked build. What version of OVA did you deploy? We fixed an issue where the ca.crt file was not present a while ago and I haven't seen that in new builds. Could you provide the output of ls -al /data/admiral/cert?

@andrewtchin doesn't matter, I fixed the issue, pushed a new mariadb image to docker hub and verified on the env you sent me.
It's a permission issue after moving from debian to photon.
The latest build should be taking the new image and the problem should be fixed.

Cool thanks, once the new offline installer is uploaded you can pick up an OVA build from after that to verify

Unfortunately I see some issues while verifying it on .ova, I'll fix it in my tomorrow, grab a new .ova and verify.

Verified in build:
https://storage.googleapis.com/vic-product-ova-builds/vic-2226-v1.2.0-rc1-142-g26e46be.ova


Error using z.schema

Hello!
I have tried to use the lib using the example below
https://github.com/risenforces/nestjs-zod#creating-dto-from-zod-schema
But I got a this error:
error TS2551: Property 'schema' does not exist on type 'typeof import("/node_modules/.pnpm/nestjs-zod@1.1.2_cw6o3dkuyuli4a5gq7b223evly/node_modules/nestjs-zod/dist/z-only-override")'. Did you mean 'Schema'?
Example in Stackblitz: https://stackblitz.com/edit/node-jxr258?file=main.ts
I have looked for it in to the file and can't found the method schema or Schema.
I change the method z.schema to z.object and works fine. Is the example wrong?
NestJS version: 9.0.8
NestJS Zod version: 1.1.2
Typescript version: 4.7.4
Thanks!

Fixed in #9


unknown argument: --input-pkg-root make: *** [Makefile:97: generate] Error 1 when running make generate

What happened: When running make generate I get the following error:
make generate
Makefile-deps.mk:28: warning: overriding recipe for target 'genref'
Makefile-deps.mk:28: warning: ignoring old recipe for target 'genref'
test -s /home/edwinhernandez/go-development/lws/bin/controller-gen && /home/edwinhernandez/go-development/lws/bin/controller-gen --version | grep -q v0.14.0 || \
GOBIN=/home/edwinhernandez/go-development/lws/bin go install<EMAIL_ADDRESS>go: downloading k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70
cp -f<EMAIL_ADDRESS>/home/edwinhernandez/go-development/lws/bin/
cp -f<EMAIL_ADDRESS>/home/edwinhernandez/go-development/lws/bin/
cp -f<EMAIL_ADDRESS>/home/edwinhernandez/go-development/lws/bin/
/home/edwinhernandez/go-development/lws/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
./hack/update-codegen.sh go /home/edwinhernandez/go-development/lws/bin
unknown argument: --input-pkg-root
make: *** [Makefile:97: generate] Error 1

What you expected to happen:
make generate
Makefile-deps.mk:28: warning: overriding recipe for target 'genref'
Makefile-deps.mk:28: warning: ignoring old recipe for target 'genref'
test -s /home/edwinhernandez/go-development/lws/bin/controller-gen && /home/edwinhernandez/go-development/lws/bin/controller-gen --version | grep -q v0.14.0 || \
GOBIN=/home/edwinhernandez/go-development/lws/bin go install<EMAIL_ADDRESS>cp -f<EMAIL_ADDRESS>/home/edwinhernandez/go-development/lws/bin/
cp -f<EMAIL_ADDRESS>/home/edwinhernandez/go-development/lws/bin/
cp -f<EMAIL_ADDRESS>/home/edwinhernandez/go-development/lws/bin/
/home/edwinhernandez/go-development/lws/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
./hack/update-codegen.sh go /home/edwinhernandez/go-development/lws/bin
go: downloading golang.org/x/tools v0.23.0
go: downloading golang.org/x/sync v0.7.0
go: downloading golang.org/x/mod v0.19.0
Generating applyconfig code for 1 targets
Generating client code for 1 targets
Generating lister code for 1 targets
Generating informer code for 1 targets

How to reproduce it (as minimally and precisely as possible): Run make generate using the current head of the repo
Anything else we need to know?: I was able to run make generate if I rollback the changes made on the following PR https://github.com/kubernetes-sigs/lws/pull/191
Environment:

Kubernetes version (use kubectl version):
LWS version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

@kerthcet can you take a look?

Yes, this is because of the upstream update of the shell script IIRC.
/assign


Removes BlockArguments (pre-GHC 8.6 compat)

Travis was failing on versions of GHC pre-8.6 because of the BlockArguments language extension.
Removing it makes the code inarguably less cool to read, but it should be fix the compatibility issue so maybe that's okay.

PR's against the more-travis branch so we'll see if this actually fixes anything.

Closed in favor of #41


using dedicated minimap flag

gating "toggle minimap" keybinding behind minimap rather than zen.
#3154

Good catch. Thanks!


Setup Simple Workflow

https://www.youtube.com/watch?v=F3wZTDmHCFA&t=271s

Hmm, in my mind, there could be several workflows to be run on every pull request.

Beautify the code with Prettier.
Check for linter errors with ESLint.
Check for type errors with TypeScript.
Run unit tests.

Anything else on your mind?
We may be able to add a workflow for deployment, but I don't think we have/need to set it up; even if it is set up, I'm not sure where should we place it, as you have already integrated Vercel auto deployment into this repository (via webhooks and not with GitHub Actions).

Hm... for the deployment I think we keep the existing method (using Webhook) because it's a high-risk task, we'll switch the deployment through Github Action later. At least there's a simple workflow (Github Actions) in this repo @lauslim12 🤣


Use decodeString for plugin details and prompts

Summary by CodeRabbit

New Features

Enhanced string processing for app descriptions and chat prompts to improve formatting and special character handling.

Bug Fixes

Corrected string decoding method names across various components to ensure proper display of messages and app descriptions.

Chores

Updated import statements to support new string manipulation functionalities.

lgtm @mdmohsin7 🚀


Error Message on DMing bot when DmUsers is true

i dm the bot when DmUsers in config is true
it throws this: TypeError [INVALID_TYPE]: Supplied parameter is not a User nor a Role.
idk where exactly is the problem in the code
im hosting on my pc for now

Read #39

Submit the error log. Please.

Issue seems resolved.


Fix bug in IEP storer bucket config

Follow-on to https://github.com/studentinsights/studentinsights/pull/2139.

selfie


Flag: Choose whether to clean up resources on failing tests

Follow up from the issue https://github.com/knative/eventing/issues/7649
cc @Cali0707
Problem
Currently our system does not clean up resources if the e2e fails . This could be helpful for debugging but what if your working on some difficult tests and you run multiple tests everytime all the resources will be lying here and there and its irritating again to bring up new cluster and again to setup knative and repeat this process over and over again
Add a flag which takes the value from an environment variable to choose whether to delete resources on failed tests
Exit Criteria
you should not be seeing any new namespaces or resources lying on your cluster after running e2e tests by turning this flag on

It was decided that not deleting resources is a good default behavior also because I usually just delete the namespace of the test after root causing the failure as deleting the resources automatically will not give me the chance to root cause and debug the issue properly, what is the workflow you're thinking if the flag would be on and resources are gone no matter what's the test result ?

@pierDipi I generally agree with you, I think this is coming from this slack discussion: https://cloud-native.slack.com/archives/C04LMU33V1S/p1706811265752229


Elevator bug

Jemison spaceport, elevator to Waterfall (etc) stops working after UC Vanguard questline.

Details
After the spaceport is destroyed and rebuilt, whilst the elevator is still there, it seems the game forgets to put the functions of it back into place resulting in a useless elevator (which can affect several quests).
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
As per previous note.

Duplicate of https://www.starfieldpatch.dev/issues/343


Use k8sclient

Towards giantswarm/giantswarm#7963

Tested on ginger

@tomahawk28 I had to revert this change, actually reverted just config controller version change in g8s-prometheus to recover prometheus as fast as possible. More info in description of  via https://github.com/giantswarm/g8s-prometheus/pull/660 and https://gigantic.slack.com/archives/C03CPNRTS/p1575585243182400
Lets have a look at this tomorrow.


Swiping down on a .popupInteractionStyle(.drag) popup causes both the popup and the tabBar to hide

Describe the Bug
When swiping down at the bottom of a popup on a popup with .popupInteractionStyle(.drag) set, it is possible to cause both the popup and the tabBar to become hidden.
To Reproduce
I have created a extremely basic SwiftUI app to show this bug, https://pastie.io/ukxbjx.swift

Scroll down on bottom of popup

Expected Behavior
You would not be able to scroll down on a popup to cause this bug
Screenshots
Demo App Bug:
https://github.com/LeoNatan/LNPopupUI/assets/40129637/760f1b34-275f-4eaf-aeaa-5099a8310314
Prod App Bug:
https://github.com/LeoNatan/LNPopupUI/assets/40129637/cb8da042-cfe4-4d0e-9b35-ea9b4ea14ec8
Additional Context

This does not happen when .popupInteractionStyle(.drag) is not added, it seems like a bug only when dragging is enabled on popups.
There are also other outcomes of this bug, such as it showing the popup fully, but removing the ability to close it by dragging / clicking on the chevron.
https://github.com/LeoNatan/LNPopupUI/assets/40129637/3385eed3-79cc-40ae-9b32-c837bcb71ec1

Hah, this is a cute bug. Haven't seen it yet, but the .drag interaction style has not been the default in years, and has not gotten much attention. Thanks. I'll reproduce and likely move the issue under LNPopupController.


Kanban Board - Setup - Module 2 - Group Capstone Project

Team Members:

@Ruthmy
@ITurres

Hey there! I hope all is well.
Here is the link to our Project: TVmaze-movies-website / Project
In this case, we are a group of two people.
Thank you very much for your review ✨

Thank you @AbelG101 for reviewing this issue! 😃 Have a great day and happy coding!


Only preview releases contain vsix files (regular releases do not)

Currently, only preview releases contain the vsix files and regular releases have only sources i place. Will it be possible to add the vsix files also for the regular releases to make it consistent?
[1] https://github.com/Azure/vscode-kubernetes-tools/releases

Regular release VSIXes can be downloaded from the VS Code Marketplace using the Download Extension link on the right.  But from the linked issue it looks like you want to do something more than this?
Anyway, yes... we should aim to provide the VSIXes via the GitHub releases page, but at the moment that's a manual step which is why it hasn't been happening for the Marketplace releases.  We should implement this as part of #262.  What's your urgency on this @ibuziuk?

Assigning this to lucky ol' @bnookala as he assigned himself #262 grin.

thank you @itowlson
there is no urgency per se, but I would be really gladful if vsix for 0.1.17 is manually added since this is the version we are currently using in Eclipse Che and marketplace is pretty vscode centric atm and we are hitting the marketplace rate limit errors every now and than

Sure!  Can you give https://github.com/Azure/vscode-kubernetes-tools/releases/tag/0.1.17 a try please, and let me know if you run into any problems?  I had to do some URL munging which I never trust myself with, but I think it's right...!

works like a charm ;-) Thanks again!

hmmmm. rate limiting is a bummer.

Thank you so much for this, this issue seems like is resolved and all the current release contains six artefacts as part of the release along with the marketplace published with latest as well.
Artefacts can be checked here: https://github.com/vscode-kubernetes-tools/vscode-kubernetes-tools/releases
Thank you so much, cc: @squillace , @lstocchi and @itowlson - fyi and in case I missed anything. Closing this issue for now.


tickets: Use nice wrapper types with serde support

Converting to draft, since I don't want to include optional fields in the EIP-712 hash. And I want to handle all potential optional fields as a Map<String, String>,


Geometry icons in the scratch modal are not centered in the last version of Firefox (38.0.5)

TIL: flex doesn't work in  in Firefox.


RedundantRegexpEscape auto correct mangles code

Not sure exactly what in the regex that triggers this bug but this:
INVALID_CHARS = %r{
  [^’a-zåäöéáœæøüA-ZÅÄÖÉÁÜŒÆØ0-9 –:.`´',;\^¤#%§£$€¢¥©™°&/\(\)=\+\-\*_\!?²³®½\@\n\r]
}x.freeze
def team_record(team); end

Get auto corrected to:
INVALID_CHARS = %r{
  [^’a-zåäöéáœæøüA-ZÅÄÖÉÁÜŒÆØ0-9 –:.`´',;\^¤#%§£$€¢¥©™°&/\(\)=\+\-\*_\!?²³®½\@\n\r]
}x.freeede tem_ecord(team; end

Which is obviously wrong.
1.4.2 (using Parser <IP_ADDRESS>, rubocop-ast 1.1.1, running on ruby 2.7.2 x86_64-darwin19)

@baelter I can't duplicate this, can you give the rubocop output from autocorrecting?

Just to try to help out, I tried to replicate too. Autocorrect changed to this for me:
INVALID_CHARS = %r{
  [^’a-zåäöéáœæøüA-ZÅÄÖÉÁÜŒÆØ0-9 –:.`´',;\^¤#%§£$€¢¥©™°&/()=+\-*_!?²³®½@\n\r]
}x.freeze
def team_record(team)
end

Which looks right.

Please update to latest RuboCop. I believe support for UTF-8 has been fixed with latest regexp_parser gem which rubocop uses.
Closing, but just comment if it's still an issue.

I can verify that this is not reproducible with just rubocop cli. Still getting it in vscode though so must be a bug somewhere there.


Multiple issues with the docker image, cuDNN, Failed in inference!: 'module' object has no attribute 'RNNCell'

Hi,
After running the docker file i tried:
/DeepSpeech/examples/aishell {develop} ./sh run_infer.sh
Which results in this error:
Traceback (most recent call last):   File "infer.py", line 14, in <module>     from model_utils.model import DeepSpeech2Model   File "/DeepSpeech/model_utils/model.py", line 23, in <module>     from model_utils.network import deep_speech_v2_network   File "/DeepSpeech/model_utils/network.py", line 62, in <module>     class RNNCell(fluid.layers.RNNCell): AttributeError: 'module' object has no attribute 'RNNCell' Failed in inference!
Then I found that I have to upgrade paddle inside the docker file which is strange. So i did:
``
wget https://nero-mirror.stanford.edu/pypi/web/packages/5f/b0/769cd78f5fdc9de41d760512750e70ace87caea54502882d0818e4b3ce1d/paddlepaddle_gpu-1.6.2.post107-cp27-cp27mu-manylinux1_x86_64.whl#sha256=e09b0ccf009c14984676ea535b94e5bc1b05e6ce3f80c332c464fcd1474a6067
pip install paddlepaddle_gpu-1.6.2.post107-cp27-cp27mu-manylinux1_x86_64.whl
After updating paddle to the recommended version:
Installing collected packages: paddlepaddle-gpu
Found existing installation: paddlepaddle-gpu 0.0.0
Uninstalling paddlepaddle-gpu-0.0.0:
Successfully uninstalled paddlepaddle-gpu-0.0.0
Successfully installed paddlepaddle-gpu-1.6.2.post107
``
I run sh infer.sh (aishell):
``
λ e535b121260f /DeepSpeech/examples/aishell {develop} sh run_infer.sh
Download language model ...
./zh_giga.no_cna_cmn.prune01244.klm already exists, download skipped.
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
-----------  Configuration Arguments -----------
alpha: 2.6
beam_size: 300
beta: 5.0
cutoff_prob: 0.99
cutoff_top_n: 40
decoding_method: ctc_beam_search
error_rate_type: cer
infer_manifest: data/aishell/manifest.test
lang_model_path: models/lm/zh_giga.no_cna_cmn.prune01244.klm
mean_std_path: data/aishell/mean_std.npz
model_path: checkpoints/aishell/step_final
num_conv_layers: 2
num_proc_bsearch: 8
num_rnn_layers: 3
num_samples: 10
rnn_layer_size: 1024
share_rnn_weights: 0
specgram_type: linear
use_gpu: 1
use_gru: 1
vocab_path: data/aishell/vocab.txt
2020-06-17 05:58:41,570-INFO: begin to initialize the external scorer for decoding
2020-06-17 05:58:41,657-INFO: language model: is_character_based = 1, max_order = 5, dict_size = 0
2020-06-17 05:58:41,657-INFO: end initializing scorer
2020-06-17 05:58:41,657-INFO: start inference ...
W0617 05:58:43.268769   184 device_context.cc:236] Please NOTE: device: 0, CUDA Capability: 60, Driver API Version: 10.1, Runtime API Version: 10.0
W0617 05:58:43.272881   184 device_context.cc:244] device: 0, cuDNN Version: 7.5.
W0617 05:58:43.272904   184 device_context.cc:270] WARNING: device: 0. The installed Paddle is compiled with CUDNN 7.6, but CUDNN version in your machine is 7.5, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version.
checkpoints/aishell/step_final
Traceback (most recent call last):
File "infer.py", line 152, in
main()
File "infer.py", line 148, in main
infer()
File "infer.py", line 124, in infer
feeding_dict=data_generator.feeding)
File "/DeepSpeech/model_utils/model.py", line 411, in infer_batch_probs
self.init_from_pretrained_model(exe, infer_program)
File "/DeepSpeech/model_utils/model.py", line 155, in init_from_pretrained_model
raise Warning("The pretrained params do not exist.")
Warning: The pretrained params do not exist.
Failed in inference!
``
I do not understand, the docker is not working with the paddle version + cuDNN version that you recommended or is this another error?
Thanks!

Please install PaddlePaddle 1.8.0 or later.
https://github.com/PaddlePaddle/DeepSpeech#prerequisites

This still doesn't work.running 1.8.4 - any advice?
/DeepSpeech/examples/tiny {develop} sh run_infer_golden.sh
Download language model ...
./common_crawl_00.prune01111.trie.klm already exists, download skipped.
Download LibriSpeech /DeepSpeech/examples/tiny {develop} sh run_infer_golden.sh
Download language model ...
./common_crawl_00.prune01111.trie.klm already exists, download skipped.
Download LibriSpeech model ...
./librispeech_model_fluid.tar.gz already exists, download skipped.
mean_std.npz
README.md
vocab.txt
params.pdparams
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
Traceback (most recent call last):
File "infer.py", line 14, in
from model_utils.model import DeepSpeech2Model
File "/DeepSpeech/model_utils/model.py", line 23, in
from model_utils.network import deep_speech_v2_network
File "/DeepSpeech/model_utils/network.py", line 62, in
class RNNCell(fluid.layers.RNNCell):
AttributeError: 'module' object has no attribute 'RNNCell'
Failed in inference!
model ...
./librispeech_model_fluid.tar.gz already exists, download skipped.
mean_std.npz
README.md
vocab.txt
params.pdparams
grep: warning: GREP_OPTIONS is deprecated; please use an alias or scr/DeepSpeech/examples/tiny {develop} sh run_infer_golden.sh
Download language model ...
./common_crawl_00.prune01111.trie.klm already exists, download skipped.
Download LibriSpeech model ...
./librispeech_model_fluid.tar.gz already exists, download skipped.
mean_std.npz
README.md
vocab.txt
params.pdparams
grep: warning: GREP_OPTIONS is deprecated; please use an alias or script
Traceback (most recent call last):
File "infer.py", line 14, in
from model_utils.model import DeepSpeech2Model
File "/DeepSpeech/model_utils/model.py", line 23, in
from model_utils.network import deep_speech_v2_network
File "/DeepSpeech/model_utils/network.py", line 62, in
class RNNCell(fluid.layers.RNNCell):
AttributeError: 'module' object has no attribute 'RNNCell'
Failed in inference!
ipt
Traceback (most recent call last):
File "infer.py", line 14, in
from model_utils.model import DeepSpeech2Model
File "/DeepSpeech/model_utils/model.py", line 23, in
from model_utils.network import deep_speech_v2_network
File "/DeepSpeech/model_utils/network.py", line 62, in
class RNNCell(fluid.layers.RNNCell):
AttributeError: 'module' object has no attribute 'RNNCell'
Failed in inference!


[BUG] "current start date" not picked up by the skill

Description
When current startdate is asked, the skill is not able to pick-up the intent because the STT split-it  as current start date.
Steps to Reproduce

Ask current startdate

Relevant Code
2023-05-05 11:38:01.038 - OVOS - ovos_utils.file_utils:resolve_resource_file:145 - WARNING - Expected a dict config and got None. This configfallback behavior will be deprecated in a future release
2023-05-05 11:38:01.082 - OVOS - ovos_dinkum_listener.__main__:_record_begin:285 - DEBUG - Record begin
2023-05-05 11:38:04.206 - OVOS - ovos_dinkum_listener.voice_loop.voice_loop:_after_cmd:483 - DEBUG - transformers metadata: {'client_name': 'ovos_dinkum_listener', 'source': 'audio', 'destination': ['skills']}
2023-05-05 11:38:07.094 - OVOS - ovos_dinkum_listener.__main__:_save_stt:425 - INFO - Saving Utterance Recording
2023-05-05 11:38:07.104 - OVOS - ovos_dinkum_listener.__main__:_save_stt:445 - DEBUG - Wrote /home/ovos/.local/share/mycroft/listener/utterances/9d421382db3832eea435694ad85b8c24.wav
2023-05-05 11:38:07.109 - OVOS - ovos_dinkum_listener.__main__:_stt_text:410 - DEBUG - Record end
2023-05-05 11:38:07.145 - OVOS - ovos_dinkum_listener.__main__:_stt_text:422 - DEBUG - STT: current start date

2023-05-05 11:38:07.216 - skills - ovos_core.transformers:transform:63 - DEBUG - ovos-utterance-coref-normalizer: {'client_name': 'ovos_dinkum_listener', 'destination': ['skills'], 'filename': 'file:///home/ovos/.local/share/mycroft/listener/utterances/9d421382db3832eea435694ad85b8c24.wav', 'session': {'active_skills': [], 'context': {'frame_stack': [], 'timeout':<PHONE_NUMBER>20}, 'history': [['{"type": "recognizer_loop:record_end", "data": {}, "context": {"client_name": "ovos_dinkum_listener", "source": "audio", "destination": ["skills"], "transcription": "current start date", "filename": "file:///home/ovos/.local/share/mycroft/listener/utterances/9d421382db3832eea435694ad85b8c24.wav", "session": {"active_skills": [], "utterance_states": {}, "session_id": "1250f390-8309-4d76-bd75-b166f1d07fe5", "history": [], "lang": "en-us", "context": {"timeout":<PHONE_NUMBER>20, "frame_stack": []}}}}',<PHONE_NUMBER>.111995]], 'lang': 'en-us', 'session_id': '1250f390-8309-4d76-bd75-b166f1d07fe5', 'utterance_states': {}}, 'source': 'audio', 'transcription': 'current start date', 'utterances': ['current start date'], 'lang': 'en-us'}
2023-05-05 11:38:07.222 - skills - ovos_core.transformers:transform:63 - DEBUG - ovos-utterance-normalizer: {'client_name': 'ovos_dinkum_listener', 'destination': ['skills'], 'filename': 'file:///home/ovos/.local/share/mycroft/listener/utterances/9d421382db3832eea435694ad85b8c24.wav', 'session': {'active_skills': [], 'context': {'frame_stack': [], 'timeout':<PHONE_NUMBER>20}, 'history': [['{"type": "recognizer_loop:record_end", "data": {}, "context": {"client_name": "ovos_dinkum_listener", "source": "audio", "destination": ["skills"], "transcription": "current start date", "filename": "file:///home/ovos/.local/share/mycroft/listener/utterances/9d421382db3832eea435694ad85b8c24.wav", "session": {"active_skills": [], "utterance_states": {}, "session_id": "1250f390-8309-4d76-bd75-b166f1d07fe5", "history": [], "lang": "en-us", "context": {"timeout":<PHONE_NUMBER>20, "frame_stack": []}}}}',<PHONE_NUMBER>.111995]], 'lang': 'en-us', 'session_id': '1250f390-8309-4d76-bd75-b166f1d07fe5', 'utterance_states': {}}, 'source': 'audio', 'transcription': 'current start date', 'utterances': ['current start date'], 'lang': 'en-us'}
2023-05-05 11:38:07.227 - skills - ovos_core.intent_services:_handle_transformers:172 - DEBUG - utterances transformed: ['current start date', 'current start date'] -> ['current start date']
2023-05-05 11:38:07.467 - skills - ovos_core.intent_services.padatious_service:_match_level:90 - DEBUG - Padatious Matching confidence > 0.95
2023-05-05 11:38:07.511 - skills - ovos_core.intent_services.commonqa_service:handle_question:123 - INFO - Searching for current start date
2023-05-05 11:38:09.521 - skills - ovos_core.intent_services.commonqa_service:_query_timeout:178 - INFO - Timeout occurred check responses
2023-05-05 11:38:09.531 - skills - ovos_core.intent_services.fallback_service:_fallback_range:171 - DEBUG - checking for FallbackSkillsV1
2023-05-05 11:38:09.614 - skills - ovos_workshop.skills.fallback:handler:117 - DEBUG - Checking fallbacks in range 0 - 5
2023-05-05 11:38:09.754 - skills - ovos_core.intent_services.fallback_service:_fallback_range:171 - DEBUG - checking for FallbackSkillsV1
2023-05-05 11:38:09.893 - skills - ovos_workshop.skills.fallback:handler:117 - DEBUG - Checking fallbacks in range 5 - 90

Other Notes
No response

@goldyfruit Is this because STT is turning it into start date instead of star date? The intent won't catch start

@goldyfruit Is this because STT is turning it into start date instead of star date? The intent won't catch start

I think it's because the skill wants startdate and not start date (or maybe not).

@goldyfruit Is this because STT is turning it into start date instead of star date? The intent won't catch start

I think it's because the skill wants startdate and not start date (or maybe not).

https://github.com/mikejgray/skill_easter_eggs/blob/master/vocab/en-us/StardateKeyword.voc
star, not start, and it catches it with or without a space. I had some trouble getting it to capture from STT sometimes so it may be worth adding start date and startdate

Closing in favor of OVOS repo issue


Display any source in the inbox

Is your feature request related to a problem? Please describe.
Whenever we add a new source to Airy the inbox will crash when it receives messages for that source.
This is because there are some places where we hard-code the available sources with a switch (example).
Describe the solution you'd like

[ ] Display an unknown source with a default icon
[ ] Render messages for unknown sources by simply displaying the message.content of the message as text. If possible we could visually distinguish these messages from messages that can be rendered.
[ ] There's no need to display them on the channels page

what if we receive a template, or an image (something other than text) from an unknown source? Should we display 'unknown message type'?

@AudreyKj good question! Both are usually in some sort of payload. I.e.
{
  "message": {
    "content": { // source specific content
      "attachment": {
        "url": "some image url"
      }
    }
  }
}

I'm arguing for displaying the content field that we try and parse in the renderer as a string. I.e. by using JSON.stringify(message.content, null, 2):

Bonus points: Adding some visual cue (color, small header), to point out that this is the raw source message payload :)

It's a good idea. What do you think @lizhutter?


Does this package supports push notifications or not yet?

Hi,
No unfortunately its does not. At the moment it only renders the native chat window and allows you to use some of crisps api's.

Hi,
No unfortunately its does not. At the moment it only renders the native chat window and allows you to use some of crisps api's.

does the android/ios versions support push notifications ?

does the android/ios versions support push notifications ?


GTFS_navigation API

Hello GH team!
I want create an API for GTFS navigation. But i dont know how to create it. Seems, it doesn't support for GTFS
So, can you help me? Or can you give me an example?
Thank you so much!

Please use our forum for questions.


Russian translations2

Redo of the PR #598
Added:

Russian Translations

Fixed:

corrected .gitignore rules for default modules

(Reasoning behind change: when I added translation for alert module git add was telling me that .gitignore rule excludes files and folders under modules/default)
I also noticed that .gitignore:56 has following declaration:
# Don't ignore the node_helper nore module.
!/modules/node_helper
!/modules/node_helper/**

but I don't think this directory structure exists today (also there is a small typo)

@nhubbard & @roramirez I think this one is cleaner. I had to resolve CHANGELOG.md conflict resulting in extra commit. Does this look ok to you? I will be closing #598 now. 🙇

Don't think the git gone part is completely correct. Ill fix this using a seperate PR. Could you please remove this from the PR so I can merge the translation? Thanks! :)

@MichMich I removed everything related to .gitignore changes that I possibly screwed up, leaving only Russian translations. Thanks.

Thanks!


Use VecDeque on using .remove(0)

https://github.com/SSlime-s/afk-animation/commit/f8b7c23029d22f4b6e3e35108bc7845069be05f4


Bug: ErrorException use the command('db:seed KishanSeeder'); in the controller when of SAPI not equls cli

PHP Version
7.3, 7.4, 8.0, 8.1
CodeIgniter4 Version
4.1.9
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
5.6
What happened?
PR related to: link
ErrorException #64 When use command('db:seed KishanSeeder'); in the controller. This error occurred when transferring Project CI4 to an online host. Most likely related to SAPI .
Steps to Reproduce
Step 1: Install CI4 on the online host.
Step 2: Build app\Database\Seeds\KishanSeeder.php :
<?php

namespace App\Database\Seeds;

use CodeIgniter\Database\Seeder;

class KishanSeeder extends Seeder
{
    public function run()
    {

        $data = [
        'field_name1'                  => 'Kishan field 1',
        'field_name2'                 => 'Kishan field  2',
        ];

        $this->db->table('table_name')->insert($data);
    }
}

Step 3: Add command('db:seed KishanSeeder') to the controller app\Controllers\Home.php :
<?php

namespace App\Controllers;

class Home extends BaseController
{
    public function index()
    {
        command('db:seed KishanSeeder');
        return;

    }
}

Step Four View Link CI4.com/public/home
ErrorException #64
CodeIgniter\Autoloader\Autoloader::main(): Failed opening required '/home/pooyapa2/passkey.ir/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') [search →](https://www.duckduckgo.com/?q=ErrorException+CodeIgniter%5CAutoloader%5CAutoloader%3A%3Amain%28%29%3A+Failed+opening+required++%28include_path%3D%29)

SYSTEMPATH/Commands/Server/rewrite.php at line 46

39 // then let the request handle it like normal.
40 if ($uri !== '/' && (is_file($path) || is_dir($path))) {
41     return false;
42 }
43
44 // Otherwise, we'll load the index file and let
45 // the framework handle the request from here.
46 require_once $fcpath . 'index.php';
47 // @codeCoverageIgnoreEnd

Expected Output
Execute command command('db:seed KishanSeeder'); and record the data in the table.
Anything else?
Solution 1: calling the following address: CI4.com/public/ not CI4.com/public/home
Solution 2: create a file index.php in root ci4.
Solution 3: Edit file system/Commands/Server/rewrite.php and add
$ListSAPI = array('apache', 'apache2handler', 'cgi', 'cgi-fcgi', 'cli', 'cli-server', 'embed', 'fpm-fcgi', 'litespeed', 'phpdbg');
if (in_array(PHP_SAPI, $ListSAPI)) {
    return;
}

Solution 4: Delete line require_once $fcpath . 'index.php'; in file system/Commands/Server/rewrite.php
The proposed solutions have been tested, but their impact on other framework functions has not been measured, so it needs to be reviewed.

Can't reproduce it.
I see Your environment is currently set as development. .
<?php

namespace App\Controllers;

class Home extends BaseController
{
    public function index()
    {
        return command('env');
    }
}

I don't know why SYSTEMPATH/Commands/Server/rewrite.php runs.
It is only for spark serve command.
And there is no CodeIgniter\Autoloader\Autoloader::main() method in CodeIgniter4.

Solution 1: calling the following address: CI4.com/public/ not CI4.com/public/home

What's the difference?
It seems this is not a problem in CI4, but in the server environment/setup.

I don't know why SYSTEMPATH/Commands/Server/rewrite.php runs. It is only for spark serve command. And there is no CodeIgniter\Autoloader\Autoloader::main() method in CodeIgniter4.

Solution 1: calling the following address: CI4.com/public/ not CI4.com/public/home

What's the difference?
Look at this.
Home An error is given here.
Then look there.
Not Error The commands are executed here. The data is recorded in a table.
Both have different functions on the same server.
No problem when tested on localhost.
Please test on your online server(SAPI =litespeed).

It seems this is not a problem in CI4, but in the server environment/setup.

Can't reproduce it.
I see fpm-fcgi Your environment is currently set as development. .
<?php

namespace App\Controllers;

class Home extends BaseController
{
    public function index()
    {
        return PHP_SAPI . command('env');
    }
}

No it is litespeed Your environment is currently set as development.

@datamweb Try this:
https://codeigniter4.github.io/CodeIgniter4/installation/troubleshooting.html#only-the-default-page-loads

It may not matter, but your server is incorrectly configured.
You base URL should be https://passkey.ir/, not https://passkey.ir/public/.
DOCUMENT_ROOT should be  /home/pooyapa2/passkey.ir/public, not  /home/pooyapa2/passkey.ir

Look at this.
Home An error is given here.
Then look there.
Not Error The commands are executed here. The data is recorded in a table.
Both have different functions on the same server.

Both URL should run exactly the same controller.
So the error indicates there is a misconfiguration in the server configuration.

No problem when tested on localhost.
Please test on your online server(SAPI =litespeed).

I don't have litespeed.

It may not matter, but your server is incorrectly configured.
You base URL should be https://passkey.ir/, not https://passkey.ir/public/. DOCUMENT_ROOT should be  /home/pooyapa2/passkey.ir/public, not  /home/pooyapa2/passkey.ir

@kenjis Thanks, you are a superman, The problem was solved by setting DOCUMENT_ROOT  correctly.


Couldn't start client Python Tools. Launching server using command /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59/Microsoft.Python.LanguageServer failed.

Environment data

VS Code version: 1.57.1 (user setup)
Extension version (available under the Extensions sidebar): v2021.6.944021595 (Local Installed & Container)
OS and version: Ubuntu 18.04 (container), host laptop Windows 10 1909 (WSL2)
Python version: Python 3.6.9
Type of virtual environment used: VSCode - Remote Containers - Connect to running container...
 So that all commands you run in container will be saved in this file and subsequent sessions will have them available.

Map the local vscode extensions folder to container vscode server folder, which will make all local extensions available in container when running vscode connected to container - explained in the next steps. VSCode has a way to enable extension in container using devcontainer.json, which I found very fiddly - so the script uses a volume mount approach instead (mounts host vscode extensions to container).

Map VSCode settings.json to destination folder that was giving causing VSCode to give an error when not copying a file to that location
Previous error:

Launching server using command /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59/Microsoft.Python.LanguageServer failed.
Starting Microsoft Python language server.
Error 2021-06-17 19:50:52: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6d795f676974707974686f6e227d/root/.config/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6d795f676974707974686f6e227d/root/.config/Code/User/settings.json')
...

Actual behavior
Notifications: Couldn't start client Python Tools
Source: Python (Extension)

OUTPUT:
-Python Language Server:
[Error - 8:35:57 PM] Starting client failed
Launching server using command /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59/Microsoft.Python.LanguageServer failed.

Expected behavior
Python extension starts successfully.
Steps to reproduce:
Click .py file to trigger Microsoft Python language server
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Python:
Python interpreter path: /usr/bin/python3

pyenv root
conda --version
python3.7 -c "import sys;print(sys.executable)"
python3.6 -c "import sys;print(sys.executable)"
python3 -c "import sys;print(sys.executable)"
python2 -c "import sys;print(sys.executable)"
python -c "import sys;print(sys.executable)"
/usr/bin/python3 -c "import sys;print(sys.executable)"
conda info --json
Starting Microsoft Python language server.

Log (Window):
[2021-06-21 21:27:17.025] [renderer7] [error] Cannot read property 'replace' of undefined: TypeError: Cannot read property 'replace' of undefined
at Object.o [as mnemonicMenuLabel] (file:///C:/Users/user1/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:75:37299)
at x. (file:///C:/Users/user1/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1926:3884)
at n.fire (file:///C:/Users/user1/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:60:1855)
at L.runner (file:///C:/Users/user1/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:662:6717)
at L.doRun (file:///C:/Users/user1/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:17772)
at L.onTimeout (file:///C:/Users/user1/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:68:17738)
[2021-06-21 21:35:57.909] [renderer7] [error] spawn /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59/Microsoft.Python.LanguageServer ENOENT: Error: spawn /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59/Microsoft.Python.LanguageServer ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:465:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
[2021-06-21 21:35:58.888] [renderer7] [error] Launching server using command /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59/Microsoft.Python.LanguageServer failed.
Log (Shared):
[2021-06-21 08:57:12.978] [sharedprocess] [info] Starting to clean up unused language packs.
...
[2021-06-21 21:26:35.901] [sharedprocess] [warning] Resolved variables received without matching request 13
[2021-06-21 21:26:35.901] [sharedprocess] [warning] Resolved variables received without matching request 14
[2021-06-21 21:26:35.902] [sharedprocess] [warning] Resolved variables received without matching request 15
-## no errors in other OUTPUT views.
Permissions Check:
root@3f4f9bcada6b:~/.vscode-server/extensions/ms-python.python-2021.6.944021595# ls -al | grep languageServer
drwxrwxrwx 1 1000 1000   4096 Jun 18 10:31 languageServer.0.5.59
root@3f4f9bcada6b:~/.vscode-server/extensions/ms-python.python-2021.6.944021595/languageServer.0.5.59# ls -ltra | grep LanguageServer
-rwxrwxrwx 1 1000 1000  101830 Jun 18 10:31 Microsoft.Python.LanguageServer.deps.json
-rwxrwxrwx 1 1000 1000  253832 Jun 18 10:31 Microsoft.Python.LanguageServer.dll
-rwxrwxrwx 1 1000 1000  184240 Jun 18 10:31 Microsoft.Python.LanguageServer.exe
-rwxrwxrwx 1 1000 1000   84576 Jun 18 10:31 Microsoft.Python.LanguageServer.pdb
-rwxrwxrwx 1 1000 1000     215 Jun 18 10:31 Microsoft.Python.LanguageServer.runtimeconfig.json
Notes:
Python Extension works fine on laptop directly (Windows 10) opening .py file
Python Extension works fine when using VSCode:
Add Development Container Configuration Files....
e.g. python3
Then Reopen Folder in Container...

Re-worked with Debian rather than Ubuntu for WSL (to reduce memory), and ran container to use for python dev as follows:
win_home=$(wslpath "c:\\users\\user11")
image_name='reg1.azurecr.io/myrepo/myimagepythonetc:0.1.57998'

# Runs the container - in detached mode
docker run -t -d -e HTTP_PROXY=http://bla.com:9000 \
-e HTTPS_PROXY=http://bla.com:9000 \
-e http_proxy=http://bla.com:9000 \
-e https_proxy=http://bla.com:9000 \
-e no_proxy=.bla.com \
-v $(pwd):/root/git -v $HOME/.bash_history:/root/.bash_history \
-v $win_home/.vscode/extensions:/root/.vscode-server/extensions/ \
--name my_swissknife \
$image_name /bin/bash

VSCode settings: In container, set Python: Language Server = Jedi
Ran python linting again
Success.
Which is better to use - Jedi or JediLSP, or pylance?
I'm assuming that the Output - Python errors below can be ignored? But it doesn't appear to stop the basic linting functionality working at least.
VSCode settings: In container Python: Language Server = pylance
Success.
Output - Python:
Starting Pylance language server.
Error 2021-06-22 21:35:04: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6d795f73776973736b6e696665227d/root/.config/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6d795f73776973736b6e696665227d/root/.config/Code/User/settings.json')
at _handleError (/root/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/out/vs/server/remoteExtensionHostProcess.js:84:155535)
at async y.readText (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:9:343940)
at async p.doesFileNeedToBeFixed (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:581700)
at async /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:580827
at async Promise.all (index 0)
at async p.getFilesToBeFixed (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:580773)
at async p.updateTestSettings (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:580400)] {
code: 'FileNotFound'
}

conda --version

VSCode settings: In container Python: Language Server = JediLSP
Success
Output - Python:
Python interpreter path: /usr/bin/python3

pyenv root
conda --version
python3.7 -c "import sys;print(sys.executable)"
python3.6 -c "import sys;print(sys.executable)"
python3 -c "import sys;print(sys.executable)"
python2 -c "import sys;print(sys.executable)"
python -c "import sys;print(sys.executable)"
/usr/bin/python3 -c "import sys;print(sys.executable)"
conda info --json
Starting Jedi language server.
Error 2021-06-22 21:38:02: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6d795f73776973736b6e696665227d/root/.config/Code/User/settings.json' (Error: Unable to resolve non-existing file 'vscode-remote://attached-container+7b22636f6e7461696e65724e616d65223a222f6d795f73776973736b6e696665227d/root/.config/Code/User/settings.json')
at _handleError (/root/.vscode-server/bin/507ce72a4466fbb27b715c3722558bb15afa9f48/out/vs/server/remoteExtensionHostProcess.js:84:155535)
at async y.readText (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:9:343940)
at async p.doesFileNeedToBeFixed (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:581700)
at async /root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:580827
at async Promise.all (index 0)
at async p.getFilesToBeFixed (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:580773)
at async p.updateTestSettings (/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/out/client/extension.js:59:580400)] {
code: 'FileNotFound'
}
conda --version

Those setting errors are a red herring; they don't impact any language server.
You should see a Python Language Server output window in all of these cases that shows whether or not things loaded.
The old language server ("Microsoft") is not actively developed, so you probably want to be using Pylance or JediLSP.

ah ok.
Python Language Server output looked good for Pylance and JediLSP.
For reference (will not be using these):

Jedi: Success. No Python Language Server output window at all
Default: Loaded pylance (as I have that installed)
Microsoft: Success.

So I think the issue much have been image related in some way (now using a different self-created image, and WSL with Debian rather than Ubutu), as I can't get it to fail now with any Python Language setting.  Red herring as you say.
Good to get that info re Language servers being developed, many thanks


Use fqdn and fsname in Task table

Use running_on_fqdn instead of linking to ManagedHost
Use fsname instead of linking to ManagedFilesystem
Fixes #2358
Signed-off-by: Nathaniel Clark<EMAIL_ADDRESS>

This change is

Looks good, when looking over the files, but two things I notice:

sqlx-data.json needs to be updated
Integration tests are failing

Going to +1 pending these two things are fixed


Admin image browser

US 04.06.01 As an administrator, I want to be able to browse images.

Create different tabs on homepage for this

Merging into #78


Python bindings?

Are there any Python bindings for this? I want to make a Python CLI program for this, but I don't want to write a duplicate library if there is already one.

(other than https://github.com/SaidBySolo/SpaceX-Async-Wrapper and the ones that don't use v4)

Other than SpaceX-Async-Wrapper, I'm not aware of any others for v4+

Okay. I'll write my own.
On Sun, Sep 20, 2020, 15:29 Jake Meyer<EMAIL_ADDRESS>wrote:

Other than SpaceX-Async-Wrapper
https://github.com/SaidBySolo/SpaceX-Async-Wrapper, I'm not aware of
any others for v4+
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/r-spacex/SpaceX-API/issues/495#issuecomment-695844369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN54XP3GL7VWZDC6B56RJYTSGZ62XANCNFSM4RTWRPQQ
.


Notify the user if DwD is not enabled before/during inventory creation.

From @joecheuk:
The above is an outdated description--

Just need to edit the inventory summary email to include whether DwD access is enabled or not, with a link to the Forseti website to configure GSuite data if already enabled. Can check if GSuite data is enabled if gsuite_group > 0 and gsuite_user > 0 / if they exist in the Inventory Summary email.
No need to do Step 2 above (execute a test AdminSDK command with the service credentials testing response) since usually people enable GSuite after installation, which means that it doesn't make sense to check during the installation.

@blueandgold


show claim reward amount

couple of hermes users are asking, it is very useful information to display the amount of reward claimed

Is it action list page?

Is it action list page?

I think so, looks like https://www.iotexscan.io/action?actionType=claimFromRewardingFund already has the amount

Should I add claimReword column and show the amount if the action type is claimFromRewardingFund?
claimFromRewardingFund{
          amount
          data
        }

No, you don't have to add new col. If type == claimFromRewardingFund, put amount from graphql query under col amount


Add helper instrumentation

What are you trying to accomplish?
Add instrumentation to helpers, this will help people trying to migrate away from using helpers to log incidents to services like sentry
This was a suggestion by @danini-the-panini on #1987 and I feel it is a good addition
What approach did you choose and why
Added a new method to the instrumentation that overrides helpers to instrument it

Hey @reeganviljoen, thanks for this! I don't think this is something we necessarily want in the framework. I would recommend people add it to their apps directly.


change Raccoon's data directory does not work

hi there,
java doesn't take the argument.
java -Draccoon.homedir=/tmp -jar raccoon-3.5.jar creates always a dir in ~
java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
Debian Sid
any ideas how can i change it?
thanks Micha

System properties must be given prior to the -jar argument.
Am Donnerstag, den 13.08.2015, 10:11 -0700 schrieb Micha-Btz:

hi there,
java doesn't take the argument.
java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
Debian Sid
any ideas how can i change it?
thanks Micha
—
Reply to this email directly or view it on GitHub.

according to the FAQ:
You can change Raccoon's data directory if you are using the java version by specifying the raccoon.homedir property, e.g.:
java -Draccoon.homedir=/tmp -jar raccoon.jar
if i understand it right, the system properties is prior to the -jar argument. Maybe dedicated to OpenJDK?

It should be -Draccoon.home=...
The docs are wrong.
Am Donnerstag, den 13.08.2015, 22:13 -0700 schrieb Micha-Btz:

according to the FAQ:
You can change Raccoon's data directory if you are using the java
version by specifying the raccoon.homedir property, e.g.:
java -Draccoon.homedir=/tmp -jar raccoon.jar
if i understand it right, the system properties is prior to the -jar
argument. Maybe dedicated to OpenJDK?
—
Reply to this email directly or view it on GitHub.

sadly doesn't work

@Micha-Btz
Are you sure you used "-Draccoon.home=" and not "-Draccoon.homedir="?
The docs are wrong for 3.5.  I works if you drop the "dir".

@libBletchley
yes, I'm sure.

mdomann@sysiphus:~/handy/playstore$ strace java -Draccoon.home=/home/mdomann/handy/playstore/Raccoon/ -jar raccoon-3.5.jar
execve("/usr/bin/java", ["java", "-Draccoon.home=/home/mdomann/han"..., "-jar", "raccoon-3.5.jar"], [/* 52 vars */]) = 0
brk(NULL)                               = 0x6d5000

and it creates ~/Raccoon anyway. I don't have the knowledge to debug further.

Sorry for the misinfo.  There does seem to be a bug here.  I've just confirmed that ver. 3.5 creates ~/Raccoon, even when -Draccoon.home= is supplied.  A symbolic link workaround seems to work:
$ mkdir -p "$raccoon_dir_desired"
$ [ -d "$HOME"/Raccoon ]
&& rsync -va -progress "$HOME"/Raccoon/* "$raccoon_dir_desired"/
&& rm -rf "$HOME"/Raccoon
$ ln -s "$raccoon_dir_desired" "$HOME"/Raccoon
$ java -Draccoon.home="$raccoon_dir_desired"
-Duser.locale="${my_locale:-us}"
-jar "$jar_dir"/raccoon-3.5.jar

Well, the entire point was not to have Raccoon pollute /home, so creating a symlink isn't really much of a solution.

old version so close this.


Helm install failed: timed out waiting for the condition

Context
HelmRelease :
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: ingress
  namespace: default
spec:
  interval: 5m0s
  chart:
    spec:
      chart: ingress-nginx
      sourceRef:
        kind: HelmRepository
        name: ingress-nginx
        namespace: flux-system
      interval: 5m0s

Helm Repository:
---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
  name: ingress-nginx
  namespace: flux-system
spec:
  interval: 1m0s
  url: https://kubernetes.github.io/ingress-nginx

Issue
Kubectl says that the pod is deployed and working fine. But flux says otherwise...

Also tried increasing the interval, install retries. But nothing worked.
Also manual install with helm works just fine.

I guess it times out waiting for the LB IP, what does the helm-controller log say?

Yes LB is pending because I have not yet installed metallb.
But the helm install never fails, so I assumed this would not be a problem.
Here are the helm controller logs :

│ {"level":"error","ts":"2020-12-05T11:45:30.423Z","logger":"controllers.HelmRelease","msg":"unable to update status after recon │
│ ciliation","controller":"helmrelease","request":"default/ingress","error":"Operation cannot be fulfilled on helmreleases.helm. │
│ toolkit.fluxcd.io \"ingress\": the object has been modified; please apply your changes to the latest version and try again"}   │
│ {"level":"error","ts":"2020-12-05T11:45:30.424Z","logger":"controller","msg":"Reconciler error","reconcilerGroup":"helm.toolki │
│ t.fluxcd.io","reconcilerKind":"HelmRelease","controller":"helmrelease","name":"ingress","namespace":"default","error":"Operati │
│ on cannot be fulfilled on helmreleases.helm.toolkit.fluxcd.io \"ingress\": the object has been modified; please apply your cha │
│ nges to the latest version and try again"}                                                                                │
│ {"level":"info","ts":"2020-12-05T11:45:49.311Z","logger":"controllers.HelmRelease","msg":"uninstalled Helm release for deleted │
│  resource","controller":"helmrelease","request":"default/ingress"}                                                             │
│ {"level":"info","ts":"2020-12-05T11:45:49.507Z","logger":"controllers.HelmRelease","msg":"uninstalled Helm release for deleted │
│  resource","controller":"helmrelease","request":"default/ingress"}                                                             │
│ {"level":"error","ts":"2020-12-05T11:45:49.632Z","logger":"controller","msg":"Reconciler error","reconcilerGroup":"helm.toolki │
│ t.fluxcd.io","reconcilerKind":"HelmRelease","controller":"helmrelease","name":"ingress","namespace":"default","error":"Operati │
│ on cannot be fulfilled on helmreleases.helm.toolkit.fluxcd.io \"ingress\": StorageError: invalid object, Code: 4, Key: /regist │
│ ry/helm.toolkit.fluxcd.io/helmreleases/default/ingress, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in pr │
│ econdition: d22a363a-6db4-4f16-bedb-8c98edb8d405, UID in object meta: "}

Check out the docs https://toolkit.fluxcd.io/components/helm/helmreleases/#disabling-resource-waiting


[tcgc] fix @clientName with @operationGroup

fixes #1164

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-client-generator-core

Show changes
@azure-tools/typespec-client-generator-core - fix ✏

have @clientName work for operation groups as well


merge from arlac77/template-github,arlac77/template-kronos-module

package.json

chore(package): add ./ (exports../)

Codecov Report

Merging #728 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #728   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           30        30
  Branches         7         7
=========================================
  Hits            30        30

Continue to review full report at Codecov.

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

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix(ci): repo owner for docker pull

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
Fix https://github.com/All-Hands-AI/OpenHands/actions/runs/10477045083/job/29018269998#step:10:27

Give a summary of what the PR does, explaining any non-trivial design decisions

Other references

(directly merge it since the "push" workflow won't run in the PR so there's probably little meaning to wait for it to finish running)


chore(kno-5632): update api docs with recipients and objects filtering

Description
Update api docs to represent recipients and objects filtering as a map of maps. For recipients, both list and map structures are accepted
Tasks
Ticker KNO-5632

I think this is good 👌 Maybe we can also include updated code examples (once SDKs are all shipped) that show usage of the filters?

definitely!


Add cinder_backup_check to venv

Once we moved most of MaaS checks to venv, but cinder_backup_check
is left over, though it's working fine with current dependency.
Here's the fix to add it venv in case improper behevior on future
updated dependency.
Connected https://github.com/rcbops/rpc-openstack/issues/1307
(cherry picked from commit 441fb84b2f6052980b4e6a41e930607067a40b78)

Liberty/kilo don't use venvs

@cloader89 yeah, you're right, my bad. Thanks.


awaiting IAsyncOperation causing "IAsyncOperation<HSTRING> is not a future"

my code here, I was trying to make use of windows clipboard in rust and wrote a test project like this, but I got
mod bindings{
    windows::include_bindings!();
}
use std::convert::TryFrom;

use bindings::{
    Windows::ApplicationModel::DataTransfer::{
        Clipboard,
        DataPackage,
        DataPackageView,
        IDataPackage,
        IDataPackageView
    },
};

#[tokio::main]
async fn main() -> windows::Result<()>{
    let clip_content = Clipboard::GetContent()?.GetTextAsync()?.await?;
    println!("{}", String::try_from(clip_content)?);

    Ok(())
}

and error

What is wrong with my code?

@TTTPOB You're missing Windows::Foundation::IAsyncOperation in your build macro / use declarations. (Afterwards, you'll need to fix the compilation error on your String::try_from.

Also, note: This API requires a UI thread. I suggest considering a simpler approach/API, i.e. Windows::Win32::System::DataExchange::GetClipboardData.
See also: #187 #317

Ah! Thank you for pointing that out, I am totally new to windows api


Flush if needed before writing UTF-8 symbols and thread names

Since the max UTF-8 string length is 8191 and flushes are only triggered when there is less than 4KiB left in each JFR buffer, an (albeit abnormally long) thread name or symbol longer than 4KiB can wrap around and corrupt the offset at the start of the next buffer, unless the buffer is the last buffer in which case it will just overflow.

Thanks for pointing this out.
I pushed a slightly changed fix.


[testsuite] Fixing CLI support for enabling/disabling custom scripts

Motivation
It seems that enable_custom_script and add_to_script_allow_list were
not exposed as subcommands, despite being otherwise well implemented.
Also shorthands were added, and subcommand descriptions were amended
to be more informative. When adding shorthands, process detailed in
10cee6603 ("[testsuite] Fixing CLI shorthands for "dev" subcommands",
2020-10-03) was followed.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tested manually, running each command affected with long and short forms.
Related PRs
No related PRs.

Could you post a local manual test log?

@xli Sure :slightly_smiling_face: Here we go (I hope this was what you requested):
`
libra% a c

Creating/retrieving next local account from wallet
Created/retrieved local account #0 address f5af858f4140a6b0e1c26af2d5bfbb45
libra% a m 0 100000 LBR
Creating recipient account before minting from faucet
waiting for<PHONE_NUMBER>000000000000000b1e55ed with sequence number 1
............................................................................
transaction executed!
Sending coins from faucet
Request submitted to faucet
libra% d a cc824add880338c0d13563defaf2741f9b6137326900bd81026114f4b481c034

waiting for<PHONE_NUMBER>000000000000000a550c18 with sequence number 2
................................................
transaction executed!
Successfully finished execution
libra% d e 0 dummy.mv
Transaction submission failed with error: JsonRpcError { code: -32001, message: "Server error: VM Validation error: UNKNOWN_SCRIPT", data: Some(StatusCode(UNKNOWN_SCRIPT)) }
libra% d s
waiting for<PHONE_NUMBER>000000000000000a550c18 with sequence number 3
.......................................................
transaction executed!
Successfully finished execution
libra% d e 0 dummy.mv
waiting for f5af858f4140a6b0e1c26af2d5bfbb45 with sequence number 1
................................................................................................
transaction executed!
no events emitted
Successfully finished execution
libra% d v 123
waiting for<PHONE_NUMBER>000000000000000a550c18 with sequence number 4
........................................................
transaction executed!
Successfully finished execution
libra% d v 123
waiting for<PHONE_NUMBER>000000000000000a550c18 with sequence number 5
............................................................................
transaction failed to execute; status: MoveAbort { location: "00000000000000000000000000000001::LibraVersion", abort_code: 7, explanation: Some(MoveAbortExplanationView { category: "INVALID_ARGUMENT", category_description: " An argument provided to an operation is invalid. Example: a signing key has the wrong format.", reason: "EINVALID_MAJOR_VERSION_NUMBER", reason_description: " Tried to set an invalid major version for the VM. Major versions must be strictly increasing" }) }!
`


Won't install

I'm running Kali latest build and it says there's package missing...can someone send me the proper setup

It's got so many syntax errors it's not worth the trouble.


Document Android emulator usage

I've found that developing against the Android emulator results in a much more streamlined development experience. This documents how to use the emulator without Android Studio.
https://phabricator.endlessm.com/T33535

/opt/android/sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64

That's interesting. I would have figured they'd bundle all the dependencies, but I guess not. You could try installing qemu-system-x86 in the container. That would hopefully get you all the same package dependencies.

I was able to run emulator in toolbox once I installed the QEMU packages, so I added those to the toolbox image.

retest this please


add image.registry field

Can you resolve the merge conflicts please? All the CI dependency issues should now be resolved.

I think the code generation needs to be re-run. Are you aware how it works from the makefile?


gradle dependency not added in project

You have to replace {latest_release} literally with the latest version.
https://bintray.com/tangoagency/maven/avatar-view/0.0.2

thanks @radzio

@radzio can we add name with initial letter in circle like sushil bishnoi show in circle SB


Support max length setting on exception message (to be used with ShortenedThrowableConverter.maxLength)

Is your feature request related to a problem? Please describe.
Currently if ShortenedThrowableConverter.maxLength is set to any value (say 1000) then that includes the exception message as well as stack trace length.
In case someone adds a large/dynamic exception message then it is possible that the whole stack trace is lost.
Describe the solution you'd like
proposal is to include a setting ShortenedThrowableConverter.maxErrorMessageLength which can be used to limit the length of error message being included.
So with maxErrorMessageLength set as 100 and maxLength set as 1000 it can be guaranteed that 900 limit will be used for stack traces.
Describe alternatives you've considered
N/A
Additional context
N/A

@philsttr gentle ping to please take a look at this issue.
I am open to contributing this feature but want to confirm that this feature sounds good be added.

Sounds good to me.  Contributions welcome

Can I take this up if no one else is?


HIVE-25750: Creating a standalone tarball by isolating dependencies. Fixing the bug in HIVE-24348

The code to create a standalone beeline tarball was created as part of this ticket https://issues.apache.org/jira/browse/HIVE-24348. However, a bug was reported in the case when the beeline is tried to install without the hadoop installed.
The beeline script complains of missing dependencies when it is run.
Update:
Was running in to the below error with the file mode on in Beeline
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapred.JobConf
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

Added a fix to resolve this.
What changes were proposed in this pull request?
The beeline script can be run with/without hadoop installed. All the required dependencies are bundled into a single downloadable tar file.
mvn clean package install -Pdist -Pitests -DskipTests -Denforcer.skip=true generates something along the lines of
apache-hive-beeline-4.0.0-SNAPSHOT.tar.gz in the packaging/target folder.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Created a docker container using the command
sudo docker run  --rm -it -v /Users/achennagiri/Downloads:/container --user root docker-private.infra.cloudera.com/cloudera_base/ubi8/python-38:1-68 /bin/bash
Need to install yum install -y java-11-openjdk java in the container.

Fix has been merged. Please close the PR. Thank you @achennagiri

retest

retest

retest

recheck


Add translatable names for database columns

The database column names are used to generate field titles for HTML forms. However these are not passed through the translation layer.
So, for each database model field, a verbose_name parameter must be added.
TODO
For each models.py file, look through each Model class and ensure that each field is has a translatable verbose_name parameter. Remember to prepend with _ to translate it.
e.g.

Hi so we are adding verbose_name to each class in the models.py. My question is what comes after verbose_name?

The verbose_name parameter is simply a translatable version of the name of the field. The _ function allows the name of the field to be translated so that forms can be displayed in different languages.

hey @SchrodingersGat is this still current? a quick check shows that almost all models have the verbose field.
Also if it is still relevant - do you also want to have help_texts added or just keep it like it is?

I have not checked in a while but I think there are still some fields that need translating, both verbose_name and help_text.

Just a heads-up, I am actively working on that, I am currently going through every file in the system, and it might take a while.
The branch I am working on that is https://github.com/matmair/InvenTree/tree/translation_improv

@SchrodingersGat I would recommend closing this issue, I think I got all models / forms


fix(config): Drop mixing of options with yaml config.

Also adds some documentation explaining how the config
and flags are used in conjunction with each other.
Fixes: https://github.com/aquasecurity/trivy-action/issues/147
Signed-off-by: Simar<EMAIL_ADDRESS>

Thanks for the fast fix! 💙


Add the ability to edit content with ,  and  tags

Issue
This PR fixes the following issue: https://github.com/manogi/nova-tiptap/issues/12
Description
When the Heading extension is initialized, we are using only levels 1, 2 and 3 which indicates the tip-tap library to converts every level 4, 5 and 6 to a paragraph.
Fix
I added levels 4, 5 and 6 to the Heading options.
Notes
Changing the Heading options as I did doesn't change the default buttons. We still only have the h1, h2 and h3 ones.

Merged, Thank you @TimothePearce !


ox

Ignore this, accidentally created by some kind of combo with my keyboard and mouse... Apologies!


Provide GUI for exploratory simulation

Currently (in master at least), the only interface to Skenario is a CLI which prints a trace.
A more useful UX would be to allow users to interact with a graphical interface. This would help users to understand system behaviour at a glance.

This already "exists" in the serve branch. I haven't yet brought it back into master as it's been a spike-y effort to get all the parts assembled. This story is intended to track progress.

I think I have all the "basic" capabilities I wanted for this epic, so I'm going to close it. From now on I'll use more granular stories/chores to track the work.


refactor: 将cell中所有的private改为protected，便于继承定制

👀 PR includes

✨ Feature

[ ] New feature

🎨 Enhance

[ ] Code style optimization
[ ] Refactoring
[ ] Change the UI
[ ] Improve the performance
[ ] Type optimization

🐛 Bugfix

[x] Solve the issue and close #1488

🔧 Chore

[ ] Test case
[ ] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

📝 Description
🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.23.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


⚠ SpeakUpConference.com has degraded performance

In ee3eb98, SpeakUpConference.com (https://www.speakupconference.com) experienced degraded performance:

HTTP code: 200
Response time: 15800 ms

Resolved: SpeakUpConference.com performance has improved in ca5d5a2 after 18 minutes.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.11 to before v5.10.90",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5f08318f617b05b6ee389d8bd174c7af921ebf19",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e8a5988a85c719ce7205cb00dcf0716dcf611332"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "5f08318f617b05b6ee389d8bd174c7af921ebf19",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "e8a5988a85c719ce7205cb00dcf0716dcf611332",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net/smc: fix kernel panic caused by race of smc_sock\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.90 by commit e8a5988a85c719ce7205cb00dcf0716dcf611332, it was introduced in version v4.11 by commit 5f08318f617b05b6ee389d8bd174c7af921ebf19. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000044


Add simple DICOM viewer Widget

Motivation
A simple DICOM viewer would enhance data understanding and allow faster implementation of the right preprocessing steps.
The current Viewer in dev_nbs is not stable enough yet to be a reliable feature.
Features
Scroll through one or multiple 3D Series
Show histogram of pixel values
Allow to adapt/window pixel values on basic level
Allow to try different scaling methods

Added in #55


Restructure assets

@mtuxpe @carlrakwireless
I restructured the repo to have all images in one place instead of a res/assets/images folder spread all over.
Please check all MD files that the images are loaded and that they are correct.
There are same small differences in some MD files, if you have doubts, we can discuss here.

First comment : It is better to use "Plug & Play" instead of "Plug&Play"
On Tue, Oct 20, 2020 at 8:49 AM Bernd Giesecke<EMAIL_ADDRESS>wrote:

@mtuxpe https://github.com/mtuxpe @carlrakwireless
https://github.com/carlrakwireless
I restructured the repo to have all images in one place instead of a
res/assets/images folder spread all over.
Please check all MD files that the images are loaded and that they are
correct.
There are same small differences in some MD files, if you have doubts, we
can discuss here.

Reply to this email directly, view it on GitHub
https://github.com/RAKWireless/WisBlock/pull/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ7USKC4S5T4N74YEOP6G3SLV2OPANCNFSM4SYG2JGQ
.

Dear reviewers,
Please use the review tools and approve the commits.

Approved


ngrok, error 6022, and Teams scaffolding

I have been trying to run some samples. Localhost shows in the browser OK as does the default URL that ngrok provides when started on the cmd.
In VS Code, the solution starts & runs. When the URL provided is browsed, it throws the ERR_NGROK_6022 exception.
Initially, I noted an ngrok.yml discrepancy in the utils.js: join(homedir(), ".ngrok2", "ngrok.yml") vs. "C:\Users[username]\AppData\Local/ngrok/ngrok.yml" - the latter being my ngrok location.
I then hardcoded the local path in the function and I've also updated ngrok, node, npm, etc. to latest stable versions. I continue to receive that exception.
In the dashboard, there was a 404 Not Found exception associated with GET /favicon.ico. I updated the index.html files as follows:
https://stackoverflow.com/questions/31075893/im-getting-favicon-ico-error/
https://stackoverflow.com/questions/1321878/how-to-prevent-favicon-ico-requests#
the ERR_NGROK_6022 exception persists. I have found the following:
https://stackoverflow.com/questions/71900716/im-getting-ngrok-error-6022-after-doing-everything-properly
It was my initial understanding that ngrok could not find the .yml file & associated authtoken.
Please advise.
Thanks

Hello @elthombre - Can you please the repro steps and sample code link if any ?
We will further investigate your issue accordingly.

Try the chapter 3 source:
https://github.com/Apress/pro-microsoft-teams-dev
and when I see the following:
https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/create-personal-tab?pivots=node-java-script
it doesn't appear to reference any installation or versioning of 3rd party tools such as node, ngrok, etc. How might this affect the scaffolding created by the Yeoman generator?
Are there versioning considerations?

Looking a bit further, in the top-level folder, there is .env file with configuration settings:
NGROK configuration for development
NGROK authentication token (leave empty for anonymous)
NGROK_AUTH=
NGROK sub domain. ex "myapp" or (leave empty for random)
NGROK_SUBDOMAIN=
NGROK region. (us, eu, au, ap - default is us)
NGROK_REGION=

I did not create or set these.

@elthombre - Please have look into this-https://docs.microsoft.com/en-us/azure/bot-service/bot-service-debug-channel-ngrok?view=azure-bot-service-4.0#run-ngrok

@sayali-MSFT , and if Azure is not in play?

Trying the Developer Portal, it still bounces you to Teams on the web which gives the same error that you saw: “There was a problem reaching this app”

@sayali-MSFT , and if Azure is not in play?

@elthombre -Could you please elaborate more on your requirement?

https://github.com/MicrosoftDocs/msteams-docs/issues/4249
And note the above is locked for further commentary even though it is not clear if the issue is fixed. Apparently not as I am experiencing this.
Then there are the issues as described above with ngrok along with the Microsoft tutorial referenced. There was an Azure-related article cited but it isn't clear how that fits into the documentation previously listed and the URLs shown in the article are not those as offered up from within Visual Studio code.

@elthombre - If you want to get the ngrok Authtoken you need to run the below command-
ngrok authtoken BDZIXnhJt2HNWLXyQ5PM_qCaBq0W2sNFcCa0rXXXX
The default location of the ngrok agent's configuration file varies based on your operating system. The easiest way to find the configuration file location is to run:
ngrok config check
which will validate and print the location of the configuration file.

Reference document- https://ngrok.com/docs/ngrok-agent/config

Hello @elthombre - As per my understanding, you are following the Readme for below samples and trying to run it and getting the scaffolding error?
https://github.com/Apress/pro-microsoft-teams-dev/tree/main/Chapter 3/nodejs/firstTeamsAppTeamsGenerator
We will test it from our end and get back to you.
If you have any other specific steps, please do share.

Hi @ChetanSharma-msft ,
There are more details here:
https://github.com/pnp/generator-teams/issues/335
also, working through the following and getting to Step 3:
https://learn.microsoft.com/en-us/microsoftteams/platform/sbs-gs-javascript?tabs=vscode%2Cvsc%2Cviscode&tutorial-step=3
and it fails with:
× Development certificate for localhost
Command failed: powershell.exe -NoProfile -ExecutionPolicy unrestricted -Command "(Import-Certificate -FilePath 'C:/Users/Owner/.fx/certificate/localhost.crt' -CertStoreLocation Cert:\CurrentUser\Root)[0].Thumbprint"
Import-Certificate : Cannot find object or property. (Exception from HRESULT: 0x80092004)
At line:1 char:2

(Import-Certificate -FilePath 'C:/Users/Owner/.fx/certificate/localho ...

 + CategoryInfo          : NotSpecified: (:) [Import-Certificate], COMException
 + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.CertificateServices.Commands.Impor
tCertificateCommand

Visit https://aka.ms/teamsfx-check-prerequisites-task to learn more about 'Validate & install prerequisites' task.
[2022-11-02T14:29:35.816Z] [Error] - code:Ext.PrerequisitesValidationError, message: Validate & install prerequisites failed. Please check the output panel to see the details.
Note in the above link:
https://aka.ms/teamsfx-check-prerequisites-task
That ngrok is, yet again, referenced. However, apparently, when installed separately / globally outside of Yo Teams, it can create conflict. Issue #335 from the above link offers more details.
Meanwhile, in other Microsoft documentation, it appears that ngrok is not required.
I will add that the above exception is on my personal machine wherein ngrok was not installed and has other tools that are not installed (i.e. just as the tutorial suggests: VS Code, the Teams extension, etc.)
The book:
https://link.springer.com/book/10.1007/978-1-4842-6364-8
https://github.com/Apress/pro-microsoft-teams-dev
and on pg. 14 it suggests installing ngrok. If one installs ngrok, it installs globally, if you will.
Hope the above helps.
Perhaps the cert error should be a new & separate incident? Nonetheless, there are issues with these simple samples...
Thanks

@ChetanSharma-msft , I got this running on my machine that does not have ngrok. I manually imported the cert via the Control Panel management tool. I placed the cert in the 'Trusted Root Certification Authorities'.
Then the solution ran.

@elthombre -We also tried the sample from our end and it's working properly.
Have you check the Prerequisites?
If required we will update the document accordingly?
https://user-images.githubusercontent.com/93527375/199925589-b5a06e91-f29f-4b38-90b7-28a75d0d32df.mp4

@sayali-MSFT  The problem was that clicking the 'Install' button failed with the message that I provided. It should be added to the documentation how to use the cert manager to install the cert manually should the automatic method fail.

@sayali-MSFT - I have opened the following ticket specifically related to the cert installation:
https://github.com/MicrosoftDocs/msteams-docs/issues/7412

@elthombre - Thanks for your feedback. We will look into this issue  as well and resolve it quickly. Thank you for your patience.
We are closing this issue for now, Please feel free to reopen it, if required.


fix: use vec for flat call frame

this should be a vec of course because it's a flattened callframe..
ref https://github.com/paradigmxyz/reth/pull/11114

yeah i wasn't sure why it wasn't a vec, thanks!

we can merge the pr without the vec until we bump alloy


Add Applications list to Pet show

Co-authored-by: FionaDL<EMAIL_ADDRESS>🔗 Issue
https://github.com/rubyforgood/pet-rescue/issues/258
✍ Description

Added a partial that will render all applications on the pet show page when the tab applications is selected
Fixed sidebar styling as it was spilling into the contents of the web page and interfering with the tab navlinks
Fixed applicant name at /adoption_application_reviews
Adds tests for application tab

📷 Screenshots/Demos

@kasugaijin I did compare the two sidebars, and here is how it looks in main vs this branch
main:

this branch:

I believe the width of the sidebar is still the same. I just fixed the position of the navlinks as they were spilling over to the navlinks that belong to the tabs which was causing a navigation error. I.e. if overview was clicked, it would activate the link for foster applications instead.
Happy to revert this change if you would like. Let me know!

@aisayo ah thank you for confirming! In that case...looks good to me.


Stop sugarrecords from interacting with other libs

Stop sugar records from interacting with other libs like retrofit

There a couple tests I'll need to write for this but this looks entirely feasible now that we're using reflection for a lot of stuff.

When can we expect this merge?


[Question] Is there anyway to migrate from Babelfish to a pure Postgresql database?

The background is now I want to move from babelfish to a pure postgresql.
After migrating from a T-SQL database to babelfish, I find babelfish changed many tables' syntax which start with sys.*, I tried to export the DDL and import it to a pure postgresql, obviously it did not support, as a pure postgresql did not recognized these syntax.
Is there anyway to migrate from babelfish for posgresql database to a pure postgresql database?

You may be able to address this by setting the search_path in PG to include sys.

I tried to export the DDL

Did you export DDL through some T-SQL dump utilities?

@Deepesh125 I exported postgresql DDL using pg_dump, please find below:
postgres@f6822719bcb1:~$ /opt/babelfish/3.2.0/bin/pg_dump -h localhost -p 5432 babelfish_db --inserts  --column-inserts -U babelfish_user  -f dump20231225.sql
Password:
pg_dump: warning: could not resolve dependency loop among these items:
pg_dump:   FUNCTION david_test_trigger1  (ID 1546 OID 19263)
pg_dump:   TRIGGER david_test_trigger1  (ID 5680 OID 19264)
postgres@f6822719bcb1:~$ ls
3.2.0  dump20231225.sql  logfile

@robverschoor When I exported babelfish postgresql DDL, I found the syntax with "sys", please find below:
postgres@f6822719bcb1:~$ /opt/babelfish/3.2.0/bin/psql  -h <IP_ADDRESS> -p 5432  -d babelfish_db -U babelfish_user
Password for user babelfish_user:
psql (14.7)
Type "help" for help.

babelfish_db=# \l
                                       List of databases
     Name     |     Owner      | Encoding | Collate | Ctype |         Access privileges
--------------+----------------+----------+---------+-------+-----------------------------------
 babelfish_db | babelfish_user | UTF8     | C       | C     | =Tc/babelfish_user               +
              |                |          |         |       | babelfish_user=CTc/babelfish_user+
              |                |          |         |       | sysadmin=C*T*c*/babelfish_user   +
              |                |          |         |       | master_dbo=CTc/sysadmin          +
              |                |          |         |       | tempdb_dbo=CTc/sysadmin          +
              |                |          |         |       | msdb_dbo=CTc/sysadmin            +
              |                |          |         |       | davidtest_dbo=CTc/sysadmin
 postgres     | postgres       | UTF8     | C       | C     |
 template0    | postgres       | UTF8     | C       | C     | =c/postgres                      +
              |                |          |         |       | postgres=CTc/postgres
 template1    | postgres       | UTF8     | C       | C     | =c/postgres                      +
              |                |          |         |       | postgres=CTc/postgres
(4 rows)

babelfish_db=# \d davidtest_dbo.david_test_table1;
                            Table "davidtest_dbo.david_test_table1"
        Column         |           Type            |       Collation       | Nullable | Default
-----------------------+---------------------------+-----------------------+----------+---------
 col_id                | sys."varchar"(32)         |                       | not null |
 col_bigint            | bigint                    |                       | not null |
 col_binary            | sys."binary"(100)         |                       |          |
 col_bit               | sys."bit"                 |                       | not null | 0
 col_char              | sys.bpchar(100)           |                       |          |
 col_date              | date                      |                       |          |
 col_datetime          | sys.datetime              |                       |          |
 col_decimal           | sys."decimal"(18,4)       |                       |          |
 col_double_precision  | double precision          |                       |          |
 col_float             | double precision          |                       |          |
 col_image             | sys.image                 |                       |          |
 col_int               | integer                   |                       |          |
 col_money             | sys.money                 |                       |          |
 col_nchar             | sys."nchar"(300)          |                       |          |
 col_numeric           | numeric(18,0)             |                       |          |
 col_nvarchar          | sys.nvarchar(300)         |                       |          |
 col_real              | real                      |                       |          |
 col_smalldatetime     | sys.smalldatetime(0)      |                       |          |
 col_smallint          | smallint                  |                       |          |
 col_smallmoney        | sys.smallmoney            |                       |          |
 col_text              | text                      | bbf_unicode_cp1_ci_as |          |
 col_time              | time(3) without time zone |                       |          |
 col_tinyint           | sys.tinyint               |                       |          |
 col_unitext           | text                      | bbf_unicode_cp1_ci_as |          |
 col_unsigned_bigint   | bigint                    |                       |          |
 col_unsigned_int      | integer                   |                       |          |
 col_unsigned_smallint | smallint                  |                       |          |
 col_varbinary         | sys.varbinary(100)        |                       |          |
 col_varchar           | sys."varchar"(100)        |                       |          |
Indexes:
    "david_test__col_id_5760020521da6158e7606fd7762442bd8611368e56e9" PRIMARY KEY, btree (col_id)
    "david_test_table1_col_bigint_ida697cafd8a86db0d48c432afe5869801" UNIQUE, btree (col_bigint)
Triggers:
    david_test_trigger1 AFTER INSERT OR UPDATE ON davidtest_dbo.david_test_table1 REFERENCING OLD TABLE AS deleted NEW TABLE AS inserted FOR EACH STATEMENT EXECUTE FUNCTION davidtest_dbo.david_test_trigger1()

babelfish_db=#

In addition, I checked with search_path in a pure postgresql database, it shows below:
root@1610db6a1700:/# psql  -h <IP_ADDRESS> -p 5432  -U postgres
psql (14.7 (Debian 14.7-1.pgdg110+1))
Type "help" for help.

postgres=# show search_path;
   search_path
-----------------
 "$user", public
(1 row)

I have also attached the exported DDL sql as dump20231225.sql.txt
dump20231225.sql.txt
.
After this, I tried to import the babelfish postgresql DDL to the target pure postgresql database, it reported many errors. I have also attached the error as error20231225.txt.
error20231225.txt

Consulting with @rishabhtanwar29, According to him, Babelfish dump can't be restored directly on pure postgresql, they don't have bbf extension present on the target server

@huanwei: Hope the above answers your question.


add sql parser testcases

 You should sign our Contributor License Agreement in order to get your pull request merged.高铁 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account ([for further information, click here] (https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)).


Update server reference heading sizes

Fixes #50

@jasonblais FYI if you want to look at this or any other PRs when reviewing them, you can click this link:

Looks fine to me.

That is nice!! Checked and looks good


New kazoo release to include SSL fixes

What would you like to be added
#706 , fixes various SSL methods  that where deprecated in python3.10. Yay! The PR was merged in Feb 2023, any chance of a new kazoo release that incorporates this PR?
Why is this needed
While the warnings are merely annoying, we're running kazoo in a FIPS enabled environment, where any TLS / SSL issues (or warnings) become much more serious from an auditing perspective. We'd love to bump our kazoo dependencies to the next version to mitigate these admittedly corporate problems :)  Any plans / timelines for a new kazoo release?

Hello,
Thank you for the issue.
I believe a new release would be cut soon, on my side I was waiting on https://github.com/python-zk/kazoo/pull/681 to land so that our Windows users can enjoy the lib in its latest version.
I am just curious: have you been able to try the current master branch?

Hello,
Just wanted to give a heads up that the 2.10.0 release is here now.


For discover allow individual kubeconfig files as param

Instead of making discover use a dir of kubeconfigs as arg, allow for the arg to take an individual kubeconfig file.

Loading kubeconfigs is now done via official client library, which is practically the same way kubectl loads them.
From: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config

The loading order follows these rules:

If the --kubeconfig flag is set, then only that file is loaded. The flag may only be set once and no merging takes place.
If $KUBECONFIG environment variable is set, then it is used as a list of paths (normal path delimiting rules for your system). These paths are merged. When a value is modified, it is modified in the file that defines the stanza. When a value is created, it is created in the first file that exists. If no files in the chain exist, then it creates the last file in the list.
Otherwise, ${HOME}/.kube/config is used and no merging takes place.


added FastAPI example; it works

Lorem Ipsum

Please, commit only relevant files.
example/fastapi.py with an integration showcase would be enough.
Thank you!

This PR was closed by me. No longer relevant to the improvements and testing of starsessions, and was branched off to something else.