DocumentAssembler - binding directives in tables

Hi,
I'm trying to use DocumentAssembler to generate documents based on xml files, and using repeat directive associated with table directive, i'm not being able to:

Use two expressions in one cell of the prototype row (like ./Price ./CurrencySymbol )
Use select content expression on table header. (like Price <# <Content Select="./SaleItems/SaleItem[1]/@Currency"/> #> ) - produces invalid document

Any help on this would be appreciated,
Best regards,
Manuel

Hi Manuel,
DocumentAssembler doesn't have a fair number of options for combining / pulling data from XML files -
Instead, I envision using this by generating exactly the XML that you want, and then DocumentAssembler does the hard work of integrating that data into the DOCX.  So if you want both price and currency symbol in a table header, put them in the XML data file in that way.
I know that this isn't ideal, but I hesitated to make it too complex.
Regards, Eric

Hi Eric,
Yes, I understand and agree, and like you suggested I thought in that solution, and that works perfectly.
However, one thing that would be very useful, is allow content selector tags on the table header. I've played arround a bit and is only allowing to add on prototype row (./ItemPrice) and on some footer rows syntax like (<# <Content Select="./SaleItems/SaleItem[1]/CurrencySymbol"/> #>)

The item marked in red doesn't work and produces invalid document.
Is there a way for this ?
Thanks Eric !
Kind regards,
Manuel

Closing all issues as this repo is being archived and will no longer be maintained by Microsoft. The project is licensed for continued use and development by forking to your own repo.


Required changes are made

All the required changes like the about page and some changes in the design and UI are being made.

This looks really nice!
Firstly, in general, we're using TailwindCSS to format the website. Can you switch it to TailwindCSS? If you don't want to do it manually, ChatGPT or Github Copilot should do it super quickly.
Also, I would suggest splitting up UI code into components. This isn't as necessary, but it's nice for organization and so that we can reuse it for other pages. Overall, I really like the design and I appreciate the good work.

yes i will make the changes


[Documentation] API - $.util.codec

Add documentation in the www.xsk.io site, API section for the $.util.codec API, based on the Wiki.
Sample page could be found here.

Related to: https://github.com/SAP/xsk/issues/21

Done --> https://github.com/SAP/xsk/pull/411

Done --> https://github.com/SAP/xsk/pull/411


DEC-1095

Items with very long names not displaying properly in Beehive (See
After Gutenberg>Sebastian Franck, Weltbuch ...

Fixed by adding overflow:hidden to titlebar style.

👍

👍


App Service Linux Python custom startup behavior

[Enter feedback here]
I would be nice if this behavior more clarify described.
https://learn.microsoft.com/en-us/azure/app-service/configure-language-python#container-startup-process

1 Use a custom startup command, if provided.
2 Check for the existence of a Django app, and launch Gunicorn for it if detected.
3 Check for the existence of a Flask app, and launch Gunicorn for it if detected.
4 If no other app is found, start a default app that's built into the container.

App Service ignores any errors that occur when processing a custom startup command or file, then continues its startup process by looking for Django and Flask apps. If you don't see the behavior you expect, check that your startup command or file is error-free, and that a startup command file is deployed to App Service along with your app code. You can also check the Diagnostic logs for more information. Also check the app's Diagnose and solve problems page on the Azure portal.

If custom startup command was provided without starting any web server, Step 2,3,4 will not proceeded and No python app will be started.
Repro step
Both of below 2 case, Container will not start any http server even though Flask app was exists, and finally container will go recycle loop.
Case1
Statup command without starting http server.

Case2
Statup command with error

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

ID: 682f3cfc-22d7-c367-1215-a692d6031089
Version Independent ID: ec754538-109a-4062-2acf-a5fbbaa5fb41
Content: Configure Linux Python apps - Azure App Service
Content Source: articles/app-service/configure-language-python.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@georgeOsdDev Thanks for the feedback! We are currently investigating and will update you shortly.

@georgeOsdDev Thanks for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

#reassign:msangapu-msft

Thank you for your feedback. We've added this to our backlog to prioritize. #please-close


Fix regression introduced by release 2.2.9 (#178)

Thank you for your contribution @SonDePoisson.
Your fix has already been merged in a previous version


custom build / release automation using goreleaser

deploy me furiously, but with style and grace
sane configs setup with ability to run goreleaser from local machine and via Travis CI.
test release artefacts for tag v0.0.1 can be viewed here:
https://github.com/Encrypt-S/kauri-api/releases
I also tried the very manual approach but was happier with the workflow and outcome that goreleaser provided.
@red010b37 we can easily add/subtract goos and goarch build specs as needed in time, but this initial config should get us going. let me know if you want any changes though.
output from successful goreleaser output run from local machine below (signed):
❯ goreleaser

   • releasing using goreleaser 0.77.0...
   • loading config file       file=.goreleaser.yml
   • SETTING DEFAULTS FOR:
      • loading environment variables
      • snapshoting
      • releasing to GitHub
      • project name
      • creating archives
      • building binaries
      • creating Linux packages with fpm
      • creating Linux packages with nfpm
      • creating Linux packages with snapcraft
      • calculating checksums
      • signing artifacts
      • creating Docker images
      • releasing to Artifactory
      • releasing to s3
      • creating homebrew formula
      • creating Scoop Manifest
   • RUNNING BEFORE HOOKS
   • CHECKING ./DIST
   • GETTING AND VALIDATING GIT STATE
      • releasing v0.0.1, commit 630080600cc711a1e1aa0210a41703a77fe5ffd0
   • WRITING EFFECTIVE CONFIG FILE
      • writing                   config=dist/config.yaml
   • GENERATING CHANGELOG
      • writing                   changelog=dist/CHANGELOG.md
   • LOADING ENVIRONMENT VARIABLES
   • BUILDING BINARIES
      • building                  binary=dist/linux_arm64/kauri-api
      • building                  binary=dist/linux_386/kauri-api
      • building                  binary=dist/linux_arm_6/kauri-api
      • building                  binary=dist/linux_amd64/kauri-api
      • added new artifact        name=kauri-api path=dist/linux_arm_6/kauri-api type=%!s(artifact.Type=2)
      • building                  binary=dist/darwin_amd64/kauri-api
      • added new artifact        name=kauri-api path=dist/linux_386/kauri-api type=%!s(artifact.Type=2)
      • added new artifact        name=kauri-api path=dist/linux_amd64/kauri-api type=%!s(artifact.Type=2)
      • added new artifact        name=kauri-api path=dist/linux_arm64/kauri-api type=%!s(artifact.Type=2)
      • added new artifact        name=kauri-api path=dist/darwin_amd64/kauri-api type=%!s(artifact.Type=2)
   • CREATING ARCHIVES
      • creating                  archive=dist/kauri-api_0.0.1_Linux_arm64.tar.gz
      • creating                  archive=dist/kauri-api_0.0.1_Darwin_x86_64.tar.gz
      • creating                  archive=dist/kauri-api_0.0.1_Linux_armv6.tar.gz
      • creating                  archive=dist/kauri-api_0.0.1_Linux_i386.tar.gz
      • creating                  archive=dist/kauri-api_0.0.1_Linux_x86_64.tar.gz
      • added new artifact        name=kauri-api_0.0.1_Linux_i386.tar.gz path=dist/kauri-api_0.0.1_Linux_i386.tar.gz type=%!s(artifact.Type=0)
      • added new artifact        name=kauri-api_0.0.1_Linux_arm64.tar.gz path=dist/kauri-api_0.0.1_Linux_arm64.tar.gz type=%!s(artifact.Type=0)
      • added new artifact        name=kauri-api_0.0.1_Linux_armv6.tar.gz path=dist/kauri-api_0.0.1_Linux_armv6.tar.gz type=%!s(artifact.Type=0)
      • added new artifact        name=kauri-api_0.0.1_Linux_x86_64.tar.gz path=dist/kauri-api_0.0.1_Linux_x86_64.tar.gz type=%!s(artifact.Type=0)
      • added new artifact        name=kauri-api_0.0.1_Darwin_x86_64.tar.gz path=dist/kauri-api_0.0.1_Darwin_x86_64.tar.gz type=%!s(artifact.Type=0)
   • CREATING LINUX PACKAGES WITH NFPM
      • skipped                   reason=no output formats configured
   • CREATING LINUX PACKAGES WITH SNAPCRAFT
      • skipped                   reason=no summary nor description were provided
   • CALCULATING CHECKSUMS
      • checksumming              file=kauri-api_0.0.1_Linux_i386.tar.gz
      • checksumming              file=kauri-api_0.0.1_Linux_x86_64.tar.gz
      • checksumming              file=kauri-api_0.0.1_Linux_arm64.tar.gz
      • checksumming              file=kauri-api_0.0.1_Linux_armv6.tar.gz
      • added new artifact        name=kauri-api_0.0.1_checksums.txt path=dist/kauri-api_0.0.1_checksums.txt type=%!s(artifact.Type=5)
      • checksumming              file=kauri-api_0.0.1_Darwin_x86_64.tar.gz
   • SIGNING ARTIFACTS
      • added new artifact        name=kauri-api_0.0.1_checksums.txt.sig path=dist/kauri-api_0.0.1_checksums.txt.sig type=%!s(artifact.Type=6)
   • CREATING DOCKER IMAGES
      • skipped                   reason=docker section is not configured
   • RELEASING TO ARTIFACTORY
      • skipped                   reason=artifactory section is not configured
   • RELEASING TO S3
   • RELEASING TO GITHUB
      • creating or updating release repo=Encrypt-S/kauri-api tag=v0.0.1
      • release updated           url=https://github.com/Encrypt-S/kauri-api/releases/tag/v0.0.1
      • uploading to release      file=dist/kauri-api_0.0.1_Linux_x86_64.tar.gz name=kauri-api_0.0.1_Linux_x86_64.tar.gz
      • uploading to release      file=dist/kauri-api_0.0.1_Linux_armv6.tar.gz name=kauri-api_0.0.1_Linux_armv6.tar.gz
      • uploading to release      file=dist/kauri-api_0.0.1_Linux_i386.tar.gz name=kauri-api_0.0.1_Linux_i386.tar.gz
      • uploading to release      file=dist/kauri-api_0.0.1_Linux_arm64.tar.gz name=kauri-api_0.0.1_Linux_arm64.tar.gz
      • uploading to release      file=dist/kauri-api_0.0.1_Darwin_x86_64.tar.gz name=kauri-api_0.0.1_Darwin_x86_64.tar.gz
      • uploading to release      file=dist/kauri-api_0.0.1_checksums.txt name=kauri-api_0.0.1_checksums.txt
      • uploading to release      file=dist/kauri-api_0.0.1_checksums.txt.sig name=kauri-api_0.0.1_checksums.txt.sig
   • CREATING HOMEBREW FORMULA
      • skipped                   reason=brew section is not configured
   • CREATING SCOOP MANIFEST
      • skipped                   reason=scoop section is not configured
   • release succeeded after 30.46s```

info on goreleaser - https://goreleaser.com/

Pull Request Test Coverage Report for Build 46

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 56.279%

Totals

Change from base Build 41:
0.0%

Covered Lines:
121

Relevant Lines:
215

💛  - Coveralls


Receive: make tsdb stats limit configurable

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

added a limit parameter to the tsdb stats API of receiver to make it possible to retrieve more stats

Verification

not yet verified

Could we add this to documentation too? thinking

Added a short note in the TSDB stats section of the receiver documentation!


download_external_modules and log_level are not allowable inputs

The documentation suggests I can increase logging level by setting log_level: DEBUG, but when I do so, I get informed that:

Warning: Unexpected input(s) 'log_level', valid inputs are ['entryPoint', 'args', 'directory', 'check', 'skip_check', 'quiet', 'api-key', 'soft_fail', 'external_checks_dir', 'output_format']

I believe this is also a problem with download_external_modules.

I think this issue might be closed because of #19 @mikeurbanski1

He forgot to add in the patch the download_external_modules parameter as args in the Docker call and it still doesn't work...

@mikeurbanski1
@rafaeelaudibert

He forgot to add in the patch the download_external_modules parameter as args in the Docker call and it still doesn't work...

@mikeurbanski1
@rafaeelaudibert


Make example more interesting

The example 'Hello world, my name is Manny!' in the ReadMe leaves me with a few questions.
Could it possibly be extended to 'Hello world, my name is “bŏt#5”, and I don’t know Jess’ phone-number!'
Just curious. Thanks.

what questions does it leave you with @RobH123 ?

With punctuation:

Without punctuation:

Yes @birchamp, I thought that the given example didn't display enough about how it works.

Oh, I see, the playground shows that it has many optional parameters! The ReadMe gave zero indication of that. I think that would be more important to mention in the ReadMe. Then my particular test string becomes less important.


Update Post “brewing-chemex”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
b2251f75ebc4b849579c9833846feac927ef3236

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/65487af1be2b0c0008836446


docs: rewrite docker-compose docs and add notes on auto_init

Hello @chimney42, @nicksieger,
Please review the following commits I made in branch nicks/dc:
b9ed488ec549640f39fec342c65c655971c3eb01 (2021-12-06 13:58:43 -0500)
docs: rewrite docker-compose docs and add notes on auto_init
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

most of the inner parts of this document are the same, but i'm trying to reposition it to more closely match how we currently explain tilt to people


Daily Grid Buy entity issue

Hi,
An odd one from yesterdays update.  It shows Zero grid import, yet selecting the entity shows the correct 18.6 imported

H
According to the screenshot the value of the grid_inport_day_buy sensor is 0.0kWh which is what the card is displaying.


feat (DOCS-CODE-035): [authN] [sign-in] canonical X-Plat identity sample for user sign-in using in .NET 6 MAUI - Part 2

this is just a continuation of https://github.com/Azure-Samples/ms-identity-docs-code-csharp/pull/7

This part LGTM


SRVKP-5855: move all tekton related config to infra-deployments

@enarha @savitaashture PTAL
In addition to bringing up the dev overlay via a konflux bootstrap, I ran these command to confirm the staging and production overlay deploy.yaml's are not as expected affected by this change, as the end result is suppose to be not changing actually values, just removing the use of the pipeline service overlay.
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/production  (mv-plnsrvce-to-infra)$ ../../../hack/generate-deploy-config.sh
./stone-prd-m01/resources: ./stone-prd-m01/deploy.yaml
./stone-prd-rh01/resources: ./stone-prd-rh01/deploy.yaml
./stone-prod-p01/resources: ./stone-prod-p01/deploy.yaml
./stone-prod-p02/resources: ./stone-prod-p02/deploy.yaml
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/production  (mv-plnsrvce-to-infra)$ git status
On branch mv-plnsrvce-to-infra
nothing to commit, working tree clean
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/production  (mv-plnsrvce-to-infra)$ cd ../staging/
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/staging  (mv-plnsrvce-to-infra)$ git status
On branch mv-plnsrvce-to-infra
nothing to commit, working tree clean
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/staging  (mv-plnsrvce-to-infra)$ ../../../hack/generate-deploy-config.sh
./stone-stg-m01/resources: ./stone-stg-m01/deploy.yaml
./stone-stg-rh01/resources: ./stone-stg-rh01/deploy.yaml
./stone-stage-p01/resources: ./stone-stage-p01/deploy.yaml
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/staging  (mv-plnsrvce-to-infra)$ git status
On branch mv-plnsrvce-to-infra
nothing to commit, working tree clean
gmontero ~/go/src/github.com/redhat-appstudio/infra-deployments/components/pipeline-service/staging  (mv-plnsrvce-to-infra)$

@divyans42 FYI

/hold
well I spoke too soon @enarha @savitaashture  .... the kustomize build which works for me locally fails here in the kube-linter / scan github action
I'll need to investigate

/hold
well I spoke too soon @enarha @savitaashture .... the kustomize build which works for me locally fails here in the kube-linter / scan github action
I'll need to investigate

/hold cancel
simple typo from a file rename with the dashboards ... should work now @enarha @savitaashture

passing e2e's with the dev overlay @enarha @savitaashture :-)

so pipeline svc did not come up in the e2e's (after passing before) with the dev overlay when I tried to pull in the changes from https://github.com/redhat-appstudio/infra-deployments/pull/4275/files so I have reverted them.
I did ask them to also change the dev overlay in their PR so they can go through the same validation.

ok e2e tests green again @enarha @savitaashture

The other thing to decide is when we want to merge that. I would say we either merge it today or wait for Monday. I'm OK with either option.

The other thing to decide is when we want to merge that. I would say we either merge it today or wait for Monday. I'm OK with either option.

I'm on PTO tomorrow so how I'll wait until late Sunday or Monday @enarha .  Thanks.


Error fix - Pharmacology was in technique not in ExpApproach

sloppy review by myself for #291...

@UlrikeS91 remind me that we need to do the cleanup for EBRAINS here


Cannot extract from TranslateService

Not able to extract strings from TranslateService by using any methods get instant , etc none of them are working

Hi @Tawsif,
Is was able to fix this issue by manually adjusting the entry of ngx-translate-extract in the package-lock.json. I replaced it again with a version that used to work.
After that, I removed my node_modules folder and run npm install.
To be honest, not all is fixed. Some keys are not extracted and I'm looking into it a bit more.
Below is an extract of my package-lock.json, the first is the broken one, the second is the one that solved most issues. You can also see the differences here.
This is the same issue as  #166.

@Tawsif Can you please add an example of how you're using TranslateService? (Full file)

In angular 9.0.7 ngx-translate-extract does not work.

What “does not work”?
I have an app on 9.0.7 and ngx-translate-extract seems to be working fine. I don’t see how the version of Angular used in the app extracting strings from is relevant either and could possibly be at fault?

Hi @biesbjerg,
I have a script that works up to version 4.2.0 of @biesbjerg/ngx-translate-extract. With any later version it gives me an error when executing extract
expandPattern(...).map(...).flat is not a function
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>extract: `ngx-translate-extract -i ./src -o ./src/assets/i18n/i18n.general/ca.json ./src/assets/i18n/i18n.general/es.json ./src/assets/i18n/i18n.general/en.json ./src/assets/i18n/i18n.general/fr.json -c -s -f namespaced-json`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>extract script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
```

same failure as @asmaus here. would be nice 2 see some solution

I need a way to reproduce it to be able to fix it. Please provide a repository and instructions to reproduce.

weirdly its working for me now, i had an empty .json file in i18n folder, which i have changed to be at least {}, and now its working for me.

I think people are talking about different errors here.
I've done some testing and found that Node v11.5.0 or newer is required (to support array.flat()) which is reflected in v6.0.1
Please delete your node_modules and do npm install (with at least<EMAIL_ADDRESS>and try again. If it doesn't work please create a new ticket describing how to reproduce your problem.

@sascha1337 I made some improvements on the situation you ran into, too:

@biesbjerg thats amazing, thanks, will help other ppl too

Good job @biesbjerg
Working perfectly with Node 12.16.1

Amazing, good it works for you @asmaus

I've done some testing and found that Node v11.5.0 or newer is required (to support array.flat()) which is reflected in v6.0.1

@biesbjerg How about not using Array.prototype.flat()? There are alternatives.
I guess a lot of people use Node v10, it's LTS 'till 2021-04-30.


Cannot gem install fluent-plugin-systemd version 1.1.0

Steps to reproduce
Running fluentd in a docker container
docker run -it --user=root docker.io/fluent/fluentd:v1.17-debian-1 /bin/bash

From the container
gem install fluent-plugin-systemd -v 1.1.0

Error message :
Fetching fluent-plugin-systemd-1.1.0.gem
Fetching ffi-1.17.0-x86_64-linux-gnu.gem
Fetching systemd-journal-2.0.0.gem
Successfully installed ffi-1.17.0-x86_64-linux-gnu
Building native extensions. This could take a while...
ERROR:  Error installing fluent-plugin-systemd:
        ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/systemd-journal-2.0.0/ext/shim
/usr/local/bin/ruby extconf.rb
checking for whether -fvisibility=hidden is accepted as CFLAGS... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
/usr/local/lib/ruby/3.2.0/mkmf.rb:490:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.

        from /usr/local/lib/ruby/3.2.0/mkmf.rb:616:in `block in try_compile'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:563:in `with_werror'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:616:in `try_compile'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:680:in `try_cflags'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:1025:in `block (2 levels) in append_cflags'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:989:in `block in checking_for'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:354:in `block (2 levels) in postpone'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:324:in `open'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:354:in `block in postpone'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:324:in `open'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:350:in `postpone'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:988:in `checking_for'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:1024:in `block in append_cflags'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:1023:in `each'
        from /usr/local/lib/ruby/3.2.0/mkmf.rb:1023:in `append_cflags'
        from extconf.rb:8:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /usr/local/bundle/extensions/x86_64-linux/3.2.0/systemd-journal-2.0.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /usr/local/bundle/gems/systemd-journal-2.0.0 for inspection.
Results logged to /usr/local/bundle/extensions/x86_64-linux/3.2.0/systemd-journal-2.0.0/gem_make.out

A new release of RubyGems is available: 3.4.19 → 3.5.23!
Run `gem update --system 3.5.23` to update your installation.

If i look into mkmf.log
cat /usr/local/bundle/extensions/x86_64-linux/3.2.0/systemd-journal-2.0.0/mkmf.log
LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.2.0/x86_64-linux -I/usr/local/include/ruby-3.2.0/ruby/backward -I/usr/local/include/ruby-3.2.0 -I.    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef  -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby  -lm -lpthread  -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

I am unsure what is the issue here as it only appears in this new version. Previous version 1.0.5 installs fine.

fluent-plugin-systemd depends on the systemd-journal and ffi gem.
To install ffi gem, a development tool such as gcc and libffi library are required.
You use docker.io/fluent/fluentd:v1.17-debian-1 as a base image and install the development tool and libffi library beforehand.

I am unsure what is the issue here as it only appears in this new version. Previous version 1.0.5 installs fine.

Looks like we should check if this is intended change of fluent-plugin-systemd 1.1.0.


Proposal for iso header

Header is an interface:
type Header interface {
	Pack() ([]byte, error)
	Read(reader io.Reader) (int, error)
	SetLength(length int)
	Length() int
}

here is how to set header for the message:
hdr := header.NewBaseHeader()
message := NewMessage(spec)
message.SetHeader(hdr)

where BaseHeader can be anything depending on your spec/implementation:
func NewBaseHeader() *BaseHeader {
	return &BaseHeader{}
}

func (h *BaseHeader) SetLength(length int) {
	h.Len = length
}

func (h *BaseHeader) Length() int {
	return h.Len
}

func (h *BaseHeader) Pack() ([]byte, error) {
	return []byte(fmt.Sprintf("%04d", h.Len)), nil
}

func (h *BaseHeader) Unpack(data []byte) (int, error) {
	return 0, nil
}

Our current API supports the cases when you have both header and message and pass them into Unpack(src []byte). But it works only when we got the message from somewhere else. When you read from the network, you don't know how much data you have to read. For this we added message.Read(io.Reader) which will read the header and then the message.

Why would you need to break the API. The API today assumes a header of Length 0 today in both Unpack/Pack. If the header is not set then it would still have the same behaviour as it currently provides.
The current implementation:
message := iso8583.NewMessage(iso8583.Spec87)
err := message.Unpack([]byte("0210323800010AC000080030000000000006630706101623000001101623070604008910162341603896JUNI0SIM00000000000999900504.10"))

If I want to deal with messages that have a header then I just add the concrete Header implementation to the instantiation after I set the spec.
message := iso8583.NewMessage(iso8583.Spec87)
message.setHeader(iso8583.NewVisaDEXHeader())
err := message.Unpack([]byte("01150210323800010AC000080030000000000006630706101623000001101623070604008910162341603896JUNI0SIM00000000000999900504.10"))

The default header could be of length zero and we could add a couple of common header types to the library or allow for custom via implementing the Header interface?
We would want to expose the value of the header after it was packed or unpacked
message.Header

I think the interface will need to set the value of the header regardless of how it is encoded.

Our current API supports the cases when you have both header and message in Unpack(src []byte). But it works only when we got the message from somewhere else. When you read from the network, you don't know how much data you have to read. You know that you have to read N bytes (or 2 in your case) for the header, then the header will tell you how many bytes to read for the message. This can be achieved if we:

add ISOHeader as a separate thing, read message separately, and then pass it into message.Unpack
pass Reader into message.Unpack instead of slice and let Message read as much data as it should

Codecov Report

Merging #75 (597deda) into master (7692c09) will decrease coverage by 0.53%.
The diff coverage is 58.33%.

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   70.48%   69.94%   -0.54%
==========================================
  Files          21       21
  Lines         576      599      +23
==========================================
+ Hits          406      419      +13
- Misses        125      130       +5
- Partials       45       50       +5

Impacted Files
Coverage Δ

message.go
63.35% <56.52%> (-1.46%)
:arrow_down:

test/fuzz-reader/reader.go
50.00% <100.00%> (ø)

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 7692c09...597deda. Read the comment docs.

My point is that you are always going to know your header. You either don't have one because you are just parsing iso8583 messages for fun or you are connected to a network. If you are connected to a network you know the number of bytes in the header that needs to be read or written. If you pack a message to be sent over the network you still need to write a header that has the message length in the first N bytes. If you read a message you need to unpack the first N bytes.
If you are going to break the unPack function why would you not just rename Unpack() -> read() and Pack()->Write() and implement it as an io.ReaderWriter interface? This is what we did in the ACH project. It has the advantage that you can send the HTTP or Socket connection straight into the library without making a copy.

@wadearnold it was good that you mentioned Read/Write in ACH. I just added Read and Write methods for the message that accepts io.Reader and io.Writer. They will read/write headers and internally they call Unpack() method.

@wadearnold I'll keep only Write/Read as public methods. Will make changes soon.

I would assume almost everyone using Unpack until now had some code to convert the string to bytes.
err := message.Unpack([]byte("0210323800010AC000080030000000000006630706101623000001101623070604008910162341603896JUNI0SIM00000000000999900504.10"))

If we deprecated  Unpack() and just made it a Read() you would be able to do the same thing.
err = imessage.Read(strings.NewReader("0210323800010AC000080030000000000006630706101623000001101623070604008910162341603896JUNI0SIM00000000000999900504.10"))

The entire folder of a project could be updated.
cd /path/to/your/folder
sed -i 's/.Unpack([]byte/.Read(strings.NewReader/g' *

I am not sure of a simple way to update all of the Pack() to Write() in everyone's codebase.

The current state of this looks really good. If we are deprecating Pack() / Unpack() in favour of Write() and Read() for the message interface, is the plan to follow suit with the field.Field interface? It'll require passing io.Reader down the call chain.

@krishishah yes. I'm looking into changing Field as well

Working on this in a separate branch

@wadearnold I updated the PR.
I moved headers into the network package to signify that it's a network header. If we put them into utils then we need to add the Network prefix to the constructor and types to distinct it from the message header. I hope that works for you.


Separate static error handler from one that requires schema.

Many errors don't require the schema to be properly hadled, these should
be handled first. If it is determined that an error needs some schema
data to be resolved, only then the schema should be fetched.

Please don't merge this without my review.


feat: release v1.12.1

Signed-off-by: Ankit Kurmi<EMAIL_ADDRESS>

Closing this as we are releasing v1.13.0


Update doc comments in Count cop to match behavior

Seems like the inline docs for this cop diverged - this updates the comments to match behavior.

Thanks for spotting this. Remove the changelog entry - only user-visible changes are reflected there.

@bbatsov Updated to remove changelog entry

You should also squash the two commits into one.

@bbatsov Squashed commits

:+1:


Create Exposed dropdown menu

Bug, feature request, or proposal:
According to
https://material.io/design/components/menus.html#exposed-dropdown-menu
Text field dropdown menus look like text fields and display the currently selected item above the menu.
On desktop, a text field dropdown menu appears below the element triggering the dropdown.
What is the expected behavior?
A text field dropdown menu appears below the element triggering the dropdown.
What is the current behavior?
A text field dropdown menu overlays the element itself.
What are the steps to reproduce?
https://material.angular.io/components/select/overview

Closing since this seems like it's covered by mat-select.


How to use the extension

So, this is a basic question, but i dont understand how to run the extension. I dont see any new icon nor new menu related to the extension. On its page, there is nothing to execute too. Few lines to explain how to run would be helpfull. Thanks in advance!

To use this extension, use command palette of VsCode (usually via ctrl + shift + p) and search for workspaces: cleanup storage.
Once selected, you will see an array with all workspaces parsed


[GCE L7LB controller] Can't create new Google Cloud Load Balancer with ingresses

When trying to create an ingress with kubectl create -f ingress.yaml and watching the ingress description as it's created, I see an error from the Google API:
  7m		2s		23	{loadbalancer-controller }			Warning		GCE	googleapi: Error 400: Invalid value for field 'resource.timeoutSec': '200'. TimeoutSec should be less than checkIntervalSec., invalid
My intuition here is that the ingress controller is trying to create a health check via the GCE API, and sending an invalid value.
The ingress file contains no timeout specifications of any kind.
Is there a way I can override this value with a flag or another setting? I'd like to avoid creating load balancers manually to point at my kubernetes cluster, and this leaves me completely unable to create new ingresses.

https://github.com/kubernetes/contrib/tree/master/ingress/controllers/gce#health-checks
https://github.com/kubernetes/contrib/blob/master/ingress/controllers/gce/examples/health_checks/README.md#limitations
Do you have a readiness probe? (we should probably validate against readiness probes that have a timeout > interval at the kube api level too)

I do, and in retrospect it totally makes sense that GLBC would use the readiness probes of the deployments for the services the ingress points at as health check parameters. I'm editing the deployment now and I'll let you know what happens.

Sorry, editing doesn't work yet for health checks (from link above):
You must create the pods backing the endpoints with the given readiness probe. This will not work if you update the replication controller with a different readiness probe.

Health checks aren't surfaced through the api, so after first create, the ingress will backoff from any modifications to allow users the flexibility to change it. If you want ingress to recreate the health check for you, the backend service must disappear (so either delete the ingress or delete the backend service directly in gce).

Editing the readiness probe in one of the services and recreating the ingress has fixed it.
Thanks for the quick response, as always!


Add "Remove Server" modal

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
The part 5 of #400. This adds "Remove Server" modal.

Issue link
#400
Test Cases

Open settings page.
Click "Remove" on a server list item.
The dialog should appear.
Close, Cancel, Remove buttons should perform as expected.

Additional Notes
N/A

Testable artifacts: https://circleci.com/gh/yuya-oc/desktop/138#artifacts

Tested on Windows 10, with various different combinations and it looks great. Thank you @yuya-oc!
Ready to merge,
PS: I'll no longer accidentally remove a server from the app, yay! :D

Thanks for testing!


Optimize int16 processing

And so the code duplication begins 🤪
Right now, it supports
✔ AVX
✔ contiguous arrays
But not AVX512 and strided arrays
Close https://github.com/nomonosound/numpy-minmax/issues/27

🐹


The latest scrpits "ChatGPTStreamSkill.cs" and "ExampleFunctions.cs" don't work.

The unitypackage v.0.6.1 works fine.
But when I replace the script "ChatGPTStreamSkill.cs" with the latest one and add the script "ExampleFunctions.cs" in the project, I get the following error:
NullReferenceException: Object reference not set to an instance of an object ChatdollKit.Examples.ChatGPT.ChatGPTStreamSkill+ChatGPTStreamDownloadHandler.ReceiveData (System.Byte[] data, System.Int32 dataLength) (at Assets/ChatdollKit/Examples/ChatGPT/ChatGPTStreamSkill.cs:377)
I imported the latest Newtonsoft json v.3.2.1.
Please let me know how to fix this error.

Thank you for your prompt reply and giving the suitable solution. The issue has been completely resolved. Thanks to you, I can sleep well tonight.


Update s3, sdk-core, sqs to 2.16.92

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.16.67 to 2.16.92.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #227.


Material Forms with Data Store

Using the data store with material floating-label causes a problem as the label doesn't float when it fills in the data.

Fixed, thanks

I just pulled and tested. The data doesn't show up now.

Sorry but this commit doesn't change anything about data. And as i tested everything works for me

I have duplicated ios and material code. The data store worked in both but the labels in material was overlapping. Now the ios one still works but the data doesn't show up in the material input.
I will investigate more, but something is going on to make it not work now.

My bad. I figured it out. Sorry that I doubted you. My bad bows to you Thanks for everything.

I've just tested this with version 1.5.3, and it doesnt work again. When i use app.formFromData method in a material form, the floating labels do not float.
You can see here : http://prntscr.com/e8mf6b


Integration test for examples

Integration tests for https://github.com/FuelLabs/sway-playground/pull/52

Closing and adding to https://github.com/FuelLabs/sway-playground/pull/52 instead.


Add a section for web development

Add a section for web development. create a new component and add it to the navbar

Hello, I'm currently learning FE development and also trying to start with contributing. This looks like a good issue form would like to work on it.

Hello.I would like to contribute on this issue.Please assign it to me.

Hey @FrancescoXX  I am new to this github contribution thing. Assigning this to me might help me learn contributing to a first Open Source project! Thanks in adv :)

Hi @FrancescoXX , I would love to work on this as my first issue if this is still available, thanks!


Integration Test - Release - 2018/07/11 15:47:20

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

csidevdocs-public/IntegrationTest/BuildIntegartionTestFiles/ChangeSentToAuthor.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Question: How to use Creator with mutable state?

Hi, I'm currently learning Flutter, and have understood the basics of Provider so far. However, I am looking for a more elegant solution, and decided to give this a try. I am building a simple audiobook player. For that, I have to keep a list of audiobooks as internal state (that is mutable because I need to be able to add audiobooks). The documentation for this project is pretty good, but I noticed that only immutable types are put into the Creator. How would I turn an Audiobooks class (simply a list of Audiobooks) into a Creator? Audiobooks isn't inherently immutable like int or String, since I need to add and remove audiobooks on demand. I think
final audiobooksCreator = Creator.value(Audiobooks());

is wrong, but I can't figure out how else to do it.
I think the concept behind Creator and Riverpod is immutable state, and on every update/set a whole new object is provided. I think this is somewhat of a problem for another use-case I have: For the audioplayer itself (which provides an API like pause(), play()), I am just wrapping an AudioPlayer from just_audio. How would I make this AudioPlayer mutable global state with Creator.
Sorry if these questions are very basic, I really tried to use the docs to figure this out, but what I tried doesn't seem to work. Would be happy to get some tips/hints!
Also not sure if this is the best platform for questions, maybe you can enable the discussions feature on GitHub.
Thanks

Hi,
For a list of Audiobooks, you can simply create a new list every time the data in the list changes. For example, when adding new item, return [...old_list, new_item] instead of old_list.add(new_item).
For the audioplayer, you will need to wrap it with your own data model. For example, it could be a class with one field is_playing. When the state changes, you call audioplayer library. Your UI and controller logic should only change is_playing state and respond to state change.

Ok, I think I somewhat understand what you're getting at. For the audioplayer, I still don't understand how/where I would store the just audio AudioPlayer I am wrapping. Do I store it as an attribute in the the class with the attribute isPlaying, and then somehow "move" that AudioPlayer to a new object when I create it? Does dart have such move semantics (I come from Rust)?
Thanks for the help!

I'm also curious if this immutability is a design decision, or if the implementation is impossible without it. What are advantages of this? Naively, I would think it involves a lot of copying/creating new objects unnecessarily, i.e. creating some overhead.

Do you maybe have example code (maybe some existing open-source project that you know of) that has a similar architecture to what I'm trying to build?

If I pass a just_audio AudioPlayer via the constructor, where do I store that AudioPlayer? That's mutable state as well, and needs to be stored separately?

Never mind, it seems that AudioPlayer needs no initialization. Here is one example, similar to https://dartpad.dev/?id=1a4c338fdf8ef7c4af8f80ddff88f4ec
final _player = AudioPlayer();

// Hide the creator with file level private variable.
final _isPlaying = Creator.value(false);

// Expose the state related APIs.
bool isPlaying(Ref ref) => ref.watch(_isPlaying);
void play(Ref ref, Uri uri) {
  _player.play(uri);
  ref.set<bool>(_isPlaying, true);
}
void pause(Ref ref) {
   _player.pause();
  ref.set<bool>(_isPlaying, false);
}

Hi, I hope you get what you need. Closing this issue but feel free to reopen if needed.


give me enough information to do the ESP side of things

I dont have any info on this so I need some in order to write esp code.
what is the rest api supposed to look like?
what messages do i send over serial

arduino's listening for these strings over serial:
@@reset@@ resets the counter
@@a new message@@ sets "a new message"
@@yo@@ is for Yobiquity™ integration
basically it should sit on the network listening for someone to get at http://mikeometer.internal.sbhackerspace.com/{reset|a new message|yo}


Allow asciidoctor to read from uri, update README

Allow asciidoctor to read from URI (contributing section)
Add 'building documentation' section
Add newly-updated README
Small spelling fixes

Unfortunately missed these in https://github.com/spring-cloud/spring-cloud-cloudfoundry/pull/9.

@spencergibb All set I think. Let me know of other changes you'd like.


Eliminate races during LRU warmup

During warmup, remove the volatile read to determine warm count, and instead move directly to warm and use the result of the interlocked increment. This eliminates any possible race in the transition between cold and warm.
The sequence of items in the underlying queues during cache warmup now changes: the first item added to the cache will be pushed to the cold queue. Previously it would stay in warm. Hence, some tests that depend on item order require updating.

coverage: 98.554%. first build
when pulling fd530623894d78e9894a19595ebda8c2592be6fb on users/alexpeck/stablewarm
into 8ac5f563fcd31ca502bad0f11eb3114ac7cf476b on main.


OCPBUGS-45321:enabling file protocol in git by default to fix command failures

git commands to create submodules and clones are failing because file protocol is not allowed in git by default. File protocol is required to be enabled in some unit test cases . Hence through this change its allowed by default . Changing this source package is a best approach in comparison to other complicated changes/ways of fixing it. OCPBUGS-44243 is the original bug raised in 4.18

/jira refresh

/close
We decided to disable the builder unit tests that relied on the file: protocol


[spinel] validate decoded/unpacked UTF8 string

This commit adds spinel_validate_utf8() function which verifies
whether a given (null terminated) sequence of bytes (string) follows
the UTF8 encoding format. This function is then used to check any
decoded/unpacked spinel UTF8 type. This commit also adds test-cases
in spinel to check the behavior of the new function with a set of
UTF8 valid and invalid strings.

This is to address https://github.com/openthread/wpantund/issues/189


Fix multiple bootstrap keys found

Signed-off-by: galal-hussein<EMAIL_ADDRESS>change the return error when multiple keys are found to a warning
loop over the keys and delete the empty string key only
Types of Changes
bugfix
Linked Issues
https://github.com/rancher/rke2/issues/1401
User-Facing Change

Codecov Report

Merging #3688 (a65e5b6) into master (37fcb61) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #3688   +/-   ##
=======================================
  Coverage   11.40%   11.40%
=======================================
  Files         134      134
  Lines        8710     8709    -1
=======================================
  Hits          993      993
+ Misses       7502     7501    -1
  Partials      215      215

Flag
Coverage Δ

unittests
11.40% <0.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cluster/storage.go
0.00% <0.00%> (ø)

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 37fcb61...a65e5b6. Read the comment docs.

flaky arm64 test failure. Does not happen consistently. Going to force merge as per an internal slack thread conversation. https://drone-pr.k3s.io/k3s-io/k3s/1509/2/3


Stitching Subscriptions not supported in version 9

Changing text to make it clear that stitching subscriptions is not supported at this moment. I have lost some hours trying to understand what was going on to only later figure out that the documentation was misleading.

Thanks for your contribution....
we are at the moment reworking the documentation ... so have some patience on this pr.


Tree View: Selected item should not regain focus when reentering the tree.

🐛 Bug report
The Tree View always returns focus to the selected element when regaining focus. This could lead to the entire tree being skipped if the selected element is not yet expanded.
💥 Steps to reproduce
Two related errors:
Focus regained at wrong location

Tab to the tree view.
Use arrow keys to navigate to item 1.1. Select it with enter.
Use arrow keys to navigate to item 1.2. Tab away from the component, and then shift-tab back to it.
Focus is on 1.1, but should be on 1.2.

Tree view skipped

Tab to the tree view.
Use arrow keys to navigate to item 1.1. Select it with enter.
Use arrow keys to navigate to item 1. Collapse it with ArrowLeft.
Tab away from the component, and then shift-tab back to it. The entire tree is skipped.

💻 Link to reproduction
https://ark-ui.com/react/docs/components/tree-view
🧐 Expected behavior
I'd expect the focus handling to follow the w3 examples.
🧭 Possible Solution
Do not clear focus state when blurring the tree. I don't really see a reason to do any blur actions for the tree whatsoever.
🌍 System information

Software
Version(s)

Zag Version
0.65.0

Browser
Firefox

Operating System
MacOS

📝 Additional information
https://www.w3.org/WAI/ARIA/apg/patterns/treeview/examples/treeview-1a/
Aside: There's no zag documentation on the tree component. Is that intended?

I just pushed a fix for this. We'll release an update shortly.
If the issue persists after upgrading, I'll re-open it.


Currently broken

Hi, is the example currently broken?

I see there's a err when it's Loading

nope, works good
are your browser is supported by angular2?
https://saucelabs.com/u/angular2-ci
most probably no :)

Valorkin are you on IRC? :)

https://gitter.im/valor-software/ng2-bootstrap


OpenBSD/powerpc: clang does not define CALL*, use proper ifdef instead

Hi,
OpenBSD/macppc uses now clang by default and does not define _CALL_SYSV,
it's needed to use the already existing alternative for such platforms.

@googlebot I signed it!


gulp serve doesn't work

Hi,
Downloaded the project. Ran npm install, then gulp serve and received 473 errors. There's too many to copy & paste in here. Last one was this one:

Error - typescript - src\webparts\verticalTimeline\SPCalendarService.ts(55,53): error TS2345: Argument of type 'SPHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.

Does the project require a specific version of node/npm to run?
Thanks,
Andy

i have created a fork, that fixes these issues, updated version of react etc
https://github.com/wills01/spfx-40-fantastics

Thanks, that helped!
Now i just get a few errors during gulp serve

[06:04:04] Error - Unknown
listen EADDRINUSE :::5432
[06:04:04] Opening https://localhost:4321/temp/workbench.html using the default OS app
[06:04:05] ==================[ Finished ]==================
Warning - [configure-sp-build-rig] This project is using an old config.json file version (1.0). Run the build again with the --upgrade (gulp --upgrade) flag to upgrade the config.json file to the latest version.
Error - Unknown
listen EADDRINUSE :::4321
Error - Unknown
listen EADDRINUSE :::5432
[06:04:06] Warning - [sass] src\css\animate\animate.scss: filename should end with module.scss
[06:04:06] Warning - [sass] src\css\coverflow\coverflow.scss: filename should end with module.scss
[06:04:06] Warning - [sass] src\css\jqueryui\jquery-ui.scss: filename should end with module.scss
[06:04:07] Project spfx-40-fantastics version: 1.0.4
[06:04:07] Build tools version: 3.2.7
[06:04:07] Node version: v6.12.2
[06:04:07] Total duration: 9.61 s
[06:04:07] Task warnings: 4
[06:04:07] Task errors: 4
[06:04:07] Error - 'undefined' errored after
"orchestration aborted"
[06:04:07] Error - 'undefined' errored after
"orchestration aborted"

I also had the same problem. Exactly 473 errors. Took @wills01 fork and problem is resolved. Had to do a gulp trust-dev-cert to get the workbench to open correctly before running gulp serve

@wills01 I tryed your code
but am getting type script error

i have created a fork, that fixes these issues, updated version of react etc
https://github.com/wills01/spfx-40-fantastics

Any change of providing this build again? Between the pending pull request, some manual package updates and what you quoted this may actually work with later versions of SPFX.


Error in Webpack when I try to start app.

I followed directions to start app. When I do npm start I get:
ERROR in Error encountered resolving symbol values statically. Calling function 'InjectionToken', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol BREAKPOINTS in<EMAIL_ADDRESS>resolving symbol DEFAULT_BREAKPOINTS_PROVIDER in<EMAIL_ADDRESS>resolving symbol FlexLayoutModule in<EMAIL_ADDRESS>resolving symbol FlexLayoutModule in<EMAIL_ADDRESS>webpack: Failed to compile.

have the same issue


Add a sample that shows how to consume a C++ library built using cmake

An important use case for the native plugins is to allow Gradle builds to use C++ libraries that are built using cmake as source dependencies. This is an important part of the migration story, as I don't have to convert all of my dependencies, or even my own build, to use Gradle before I start using Gradle. It also helps bootstrap the whole C++ dependency management story, as once understood (enough) by Gradle, these binaries can be published somewhere (possibly the build cache).
In theory, it should now be possible, if not particularly convenient, to use a C++ library built using cmake. As a first step towards good support for using cmake-built things we should add a sample showing this in action. It doesn't have to be pretty, later stories will take care of that.

Also include Install cmake and ninja on CI machines.

We should link to this sample here once we have it.
https://discuss.gradle.org/t/creating-a-cpp-native-library-from-existing-binaries/25748

I've pushed something rough that demonstrates this.  See https://github.com/gradle/native-samples/pull/10.  There is still some polishing to do, but I wanted to go ahead and get some feedback.
Some directions we could go with this:

Should we split the list and utility libraries into separate zips?  Would this demonstrate anything more than it currently does?
These are currently static libs, would this be better if they were shared libs?
We probably want to handle debug and release variants - should we also demonstrate handling OS in the consuming Gradle build since CPack creates an OS-specific package by default?  Or do we want to keep this complication out of the build (ie change the CMake build to generate an OS-agnostic zip file).
Do we want to include an example of wrapping the CMake build with Gradle?
I made this so that it uses a configuration to resolve the CMake zip file, but we just add the raw file to the configuration.  Should we instead publish the CMake zip to a local file repo and resolve it from there?
Are their other things we want to demonstrate with this example?

I added a comment to the review. I think it's important to have, right from the start, an architecture where the consuming project does not know anything about Cmake, and it's entirely the responsibility of a producing project to wrap Cmake with variant aware dependency management so that the consumer cannot tell the difference between a Gradle C++ plugin built library and a cmake built library.
We want to evolve this into a series of samples, I think. Initially, I think it's ok to have a single Gradle app built against a single cmake built library, wired together in the same build. Later, we should reuse the pieces to show how this would work with binary dependencies, source dependencies, composite builds, Xcode, etc.

I think this is "done enough" to call this issue closed and handle any future improvements in separate issues.


Don't accidentally disable the Risc-V debug module

Introduced in #2080
cc @bjoernQ can you tell me please if this (not using the already read dmcontrol, instead writing a new one with dmactive=0) is indeed a mistake or just an oversight?

Hmm this might be my issue with #2164 :thinking:, let me test it.

Just don't merge this if it helps, I want to add a changelog entry if this is an actual fix :)

No dice on fixing my issues in #2164, but this change didn't seem to have a negative affect in my (short) testing.

If you have the opportunity, could you try #2164 based on the rev just before #2080 got merged? t-moe has issues starting with that PR and maybe a) yours is related indeed and b) I didn't find the actually meaningful difference

oh. Good catch.
I gave this a quick spin, and this fixes the issues preventing me to merge master.
Thank you @bugadani

Introduced in #2080
cc @bjoernQ can you tell me please if this (not using the already read dmcontrol, instead writing a new one with dmactive=0) is indeed a mistake or just an oversight?

Most probably that was an oversight 👍

is indeed a mistake or just an oversight

Well this part of the question didn't make much sense, the question was whether the change was intentional, not sure what happened in my brain writing that. 🤦♂
Thanks you both for the feedback! :)


Bump carekit version

Pull Request Description

Update carekit to contain source fix: https://github.com/carekit-apple/CareKit/commit/5288dce002c38d81ee6470fc7dbe41f5d80de375
Remove xfails after https://github.com/apple/swift/issues/70072 was fixed

@swift-ci test


Need to be able to configure ssh/sshd

Many users who build images need to be able to tweak ssh/sshd configuration. Some platforms (e.g. Microsoft Azure, Google Compute Engine) expect certain ssh/sshd settings, and in our own testing we've occasionally had to change things like which port sshd listens on.
osbuild should allow users to change (or replace) the image's ssh_config or sshd_config, so the image never has to come online with an "unsafe" or "unsupported" configuration.
Kickstart doesn't offer a command to configure sshd, so kickstart users handle this in %post scriptlets, like lorax-composer's google.ks. Ansible uses generic file-management modules for this (see examples using template, replace, blockinfile, assemble).
What needs to be configured?
Google's documentation on configuring custom images has the following recommendations:

Disable root ssh login.
Disable password authentication.
Disable host-based authentication.
Enable strict, host-key checking.
Use ServerAliveInterval to keep connections open.

Microsoft's documentation on how to prepare a Red Hat-based virtual machine for Azure directs the user to

Modify /etc/ssh/sshd_config to include the following line:
ClientAliveInterval 180

So, to be compatible with lorax-composer and information provided by Amazon, Google and Microsoft osbuild should be able to specify at least the following sshd_config(5) settings:

[x] PasswordAuthentication
[ ] PermitRootLogin
[ ] PermitEmptyPasswords
[x] ClientAliveInterval
[ ] PermitTunnel
[ ] AllowTcpForwarding
[ ] X11Forwarding
[ ] LoginGraceTime
[ ] SyslogFacility
[ ] Ciphers
[ ] MACs
[ ] Port
[ ] ListenAddress

Google also has recommended settings for these ssh_config(5) items:

[ ] Host
[ ] Protocol
[ ] ForwardAgent
[ ] ForwardX11
[ ] HostbasedAuthentication
[ ] StrictHostKeyChecking
[ ] Ciphers
[ ] Tunnel
[ ] ServerAliveInterval

What solution do you have in mind? General Ansible-like stage for file processing or specific sshd stage?

Short answer: we chatted a bit about that last week and @bcl and I prefer a generic ansible-like file manipulation stage, but @larskarlitski and @teg are.. not thrilled with the idea of having generic stages.
I'm going to file a separate issue to discuss what the general approach should be for these things but my feeling is that we'll end up with a specific "openssh" stage that uses an osbuild-provided tool/module for manipulating simple config files to actually make the changes. So I think it'd be okay to write a openssh-specific stage for now, and later we either port it to use osbuild's configtweak tool or we replace it with the generic configtweak stage.

ClientAliveInterval has been done via #862

Closing because this is outdated.


Broken cmake metadata?

Just noticed this in https://github.com/conda-forge/pycppad-feedstock/pull/14:
CMake Error at $PREFIX/lib/cmake/eigenpy/eigenpyTargets.cmake:61 (set_target_properties):
  The link interface of target "eigenpy::eigenpy" contains:

    Python3::NumPy

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

That's despite the fact that numpy is clearly there; eigenpy should search for numpy and then use that to link. Ideally, this feedstock should add a test for that (here's a simple example how to do that).

Solved via new release of PyCppAD


Upgrade kind-projector to 0.11.3

You'll want to target this to the furthest trailing branch so we can merge forward.


iOS support

This is a great package, however my preferred platform is iOS. Is iOS support planned for future updates? How would I go about adding iOS support myself?

I really want to add support for iOS, but actually this is not my main priority.
If you want to contribute and do it, it would be amazing, and we can totally discuss it

what can i do to resolve this error
Error: The package 'react-native-dji-mobile-sdk' doesn't seem to be linked. Make sure:

You have run 'pod install'
You rebuilt the app after installing the package
You are not using Expo managed workflow
, js engine: hermes

on iOS ?
The package is not compatible with iOS today


Can't open settings.json through SCM view

Set "workbench.settings.useSplitJSON": true
Change .vscode/settings.json
Click settings.json in the SCM view
It doesn't open and my IEditorResolverService factory is never called

Is there something else I'm supposed to be doing here @lramos15?

This is a part of #128756 which was some work to prevent other bugs but seems to have regressed a few things.

That issue is fixed now but mine still reproes

Ah sorry, I just assumed it was the same bug that was my bad. I just investigated it and the issue is that you don't register a diff editor factory and opening a file through SCM view expects a diff to be created. I don't know what a split json diff should look like so I would say the behavior right now is ok.

There should be a diff view when you click on changes in SCM. How do I get it to open the normal file diff view like it would without my editor factory involved? Do I have to create an editor input manually for this? I don't want to customize the SCM behavior.

Ah that's pretty simple, thanks!

Ah that's pretty simple, thanks!

Yeah I think I'm going to push an additional fix so that if it's undefined we assume false as it shouldn't have just broke because you forgot to set an optional setting.


add isEqualMarkdown -not tested!

https://github.com/Saul-Mirone/milkdown/issues/204#issuecomment-985977031

milkdown editor onChange have changed in the v5.5.0 and there is not need for prevText comparison


[Feature Request] Adding a menu to select lenguage

So far I've been translating the strings.xml file. And I was wondering, would it be possible to add a function for the app to use a different strings.xml file depending on the language selected?
That way we would be able to add community translations and have multiple languages on the app.
So far replacing the file works, but that would still keep the app on a single language.

Sure it can be done, also you don't need to replace the translation say you're adding Japanese translation, you just need to create a new values-ja folder inside /app/src/main/res directory and put your strings.xml file inside it, now when you set your device language to Japanese, android will automatically use Japanese string resources for the apps in which it is available. But yeah as i said previously a switch can also be added to manually change language if needed. Feel free to create a PR with your translation file if you want to~

sure I'll try that, I'll add a PR afterwards.
Thank you

I got most of the app translated I'm just having trouble finding the location of 5 fields to translate, they weren't in strings.xml or arrays.xml.

The Cancel & Done buttons when withdrawing/depositing.
Inside on Goal information the Deposited/Withdrawn text field.
The: currently saved $x out of $x field .
You have until x date(x days)days left.
you need to save around  day/week/month field.

Other than that I'm practically done. I'll do a PR once I can finish these.
Thank you.

Ok I made the PR.
One last question: are the Deposited/Withdrawn text in this image dynamic? line 37 & 41 seem to change the buttons correctly, but these ones don't seem to change.
Thank you.

?

These are also hardcoded rn, I'll export string resources for them while fixing the adapter thingy.

Closing since #9 is merged now


Cannot use u128 in service state

I get the following error:
error: `u128` cannot be converted to an RPC type
  --> src/ierc20.rs:18:5
   |
18 |     pub value: u128,
   |     ^^^^^^^^^^^^^^^

This is expected behavior.

Why is this expected behavior? For the programmer it is not.


How to model Resting Place

Resting Place pattern in TM 2.1
For the moment, in the Target Model 2.1, the resting place of individuals (or, in other words, grave locations) have been modelled as follows:

The post-death move of the E21_Person to their grave is represented through an E9_Move event. It is the simplest modelling solution to the representation of the intentional moving of human remains.
It is an approach similar to the one taken by Linked art:
“ After death, people are still instances of Person which is a subclass of Actor, even though they can no longer carry out activities. People in comas or otherwise completely incapacitated also cannot carry out activities, but are not temporarily non-Actors. The modeling that death is a transformation from an instance of Person to an instance of Thing adds complexity for the sake of purity, but does not add any actual value. Thus a burial activity (aat:300263485) buries a Person, not a Thing-that-used-to-be-a-Person. However if the skeleton is then dug up and exhibited, it is exhibited as a Thing. There is, therefore, a transition at some undetermined point.”
However, it is conceptually problematic since the remains of the dead person are technically no longer fully this E21_Person instance.
Dead Person according to CIDOC CRM
The logic of CIDOC CRM dictates the creation of a E20_Biological_Object instance to replace the E21_Person instance through an instance of E81_Transformation as follows:

Rationale for the simple Resting Place pattern
We can see that this longer and more precise modelling is quite complex and would create nodes that would considerably weigh down the model. Querying burials would be significantly complexified (as it would mean searching the location of the Biological Object, and not the Person), which would burden users.
Because Linked art adopted the same solution, and because there are very few examples of alive people being buried that are recorded (especially as such) in heritage collections, it seems preferable to compromise on semantic preciseness and adopt a simpler model, assuming actors will be buried whilst dead. This is why it is the simple solution that has been adopted in the TM 2.2.
Issue with the simple Resting Place pattern, and example of Ramses II
However, the first, simpler solution used in the TM 2.2 can be problematic in two cases: when multiple moving events of the body of an individual are documented, and when the remains of the individual themselves are documented.
The well-known example of the mummy of Ramses II covers those two cases. Ramses II died around 1213 BCE according to the egyptian chronology. His body was embalmed and deposited in tomb KV7 in the Valley of Kings, but was soon moved and transferred into the tomb KV17 then TT320 by Egyptian priests to protect it from looting. The body was rediscovered in the tomb TT320 in 1881, and then exposed in the Museum of Egyptian Antiquities in Cairo.
The different moves of the body of Ramses II, first in the Ancient Egyptian period, and then in the modern era, would imply the modelling of multiple instances of E9_Move, moving the body from one resting place to the other, before finally arriving at the Museum of Egyptian Antiquities in Cairo (but this resting place is still not final, as the body can still be moved in the future).
The body of Ramses II discovered, studied and recorded in the collections of the museum by archaeologists should be considered as an instance of E20_Biological_Object. The transformation of the person of Ramses II (instance of E21_Person) into an object (instance of E20_Biological_Object) must have occurred at some time between his death and the discovery of his remains.
Following CIDOC CRM’s scope note of E81_Transformation, the transformation of the person into the biological object happens at the moment of the death of the person, through double instantiation.
This example would then be modeled as follow:

If the case of the mummy of Ramses II is unique in how well documented it is, museums nonetheless often record human remains in their collections. In such cases, the use of a more complex post-death pattern would also be needed.
However, most of the cases of Resting Place documented in heritage databases concern simpler examples of the location of the grave of an individual, especially in genealogical databases or census records. Those numerous cases would benefit a more simple pattern to simplify queries.
Use of a Type on the Resting Place
In the TM 2.2, the resting place node, an instance of E53_Place, has the type “Burial Place”. The issue is that this type would apply to the instance of the place itself (for example “Montréal”) in every context, and not just the context of the burial of a specific individual. This means that, in the Knowledge Graph, the place “Montréal” would always be associated with the type “Burial Place”.
Is this generalization problematic?
To avoid this generalization, there are two options:
Avoid any E55_Type on the E53_Place. This means the location will not be characterized as a burial place
Have a sub-place: create a instance of E53_Place, specific to the location of the grave, type it with an instance of E55_Type”burial place”, and link it to the documented instance of E53_Place with the property P89_falls_within. For example, if the location of the grave documented is “Rose Bay Cemetery”, then an instance of E53_place, type with “burial place” would fall within the instance of E53_place for “Rose Bay Cemetery”. Similarly, if the location is not well known (for example  just documented within a city), the same procedure will apply. An instance of E53_place, type with “burial place” would fall within the instance of E53_place for the more general location (like a city).
Questions
A few questions should therefore be answered:

How to account for moves of remains that are in and of themselves the important cultural element (e.g. discovery of mass graves, etc.)
Is the categorization of human remains as “object” problematic in some cases (e.g. human remains that still have cultural significance)?
Concerning the moves and use of biological objects, is the more complex pattern needed? Are there sufficient cases to justify the development and use of a complex pattern?
If the first answers are yes, how to handle the simple cases?

Should there be 2 patterns, one for the complex case, one for the simple ones?
Could there be some sort of shortcut for the more simple cases? Would this shortcut involve instances of E20_Biological_Object?

Concerning the Type on the location, is it an issue? If so:

What solution is the best? Removing the type or creating a sub-place?
Are there other solutions to this problem?

Je m'éloigne un peu du sujet, mais je trouve qu'il est en lien avec la présence de matière organique ou de restes humains dans nos collections. Les "restes" d'une personne ne se retrouvent pas nécessairement à un seul endroit.
Exemples :
scalp - image non diffusée
momie - image non diffusée
parure frontale - Cet exemple soulève la question des "matériaux"/éléments d'origine animale (plumes d'oiseau, becs de canard, etc.) qui entrent dans la composition des objets.
chandail et chaussettes
perruque - Chevelure de soeur Saint-Calixte (Malvina Dagneau, 1862-1936), s.c.q.,
lors de son entrée au Noviciat en 1883, à 21 ans. Cette chevelure a coiffé aussi la statue de sainte Laurentia, statue en cire, revêtue de velours et d'or, dont le gisant reposait sous la table du maître-autel du Couvent de Lévis, avec une relique insigne de la jeune martyre. Après environ 37 ans (1930-1967), l'autel ayant été transformé pour des
raisons d'adaptations liturgiques, la statue, sa relique et la chevelure dorée de soeur Saint-Calixte, sont revenus au musée des Soeurs de la Charité de Québec.
reliques
Commentaires émis par Stephen lors d'une discussion que nous avons eue à ce sujet sur Slack le 12 juillet 2021 :

Que dire des personnes (types saints) qui ont des os ou restes aux 4 coins du monde

Ou même des restes supposés (comme certains saints qui se retrouve à avoir 4 tibias)

L’avantage avec le biological object, c’est qu’on peut plus facilement le décomposer en plusieurs éléments

Cela dit, le cas du chandail est intéressant: ici il ne s’agit pas des restes d’un défunt, mais des restes d’une personne bien vivante (comme certaines oeuvres modernes composées d’ongles). Comment documenter cela? Que l’oeuvre est composée de E20_Biological_object qui provient d’un E21_Person. Mais quels liens entre E20 et E21?


Refactor: asset data models

Right now there's a pattern where we create a big type that has balance and metadata in the same object. As they come from different sources, we set "default" values and later update them.
See addQueriedMetadataToInitializedStacksFungibleTokenAssetBalance
This means we have an inaccurate data type for a period of time. We should refactor this so that data models are only ever created when the correct data is available.
E.g. to adjust. Filter out incomplete data from API, rather than initialising it with defaults
https://github.com/hirosystems/wallet/blob/b10ad30c9ec0c4d7e369bf7d6b56fbf5ccdc4242/src/app/query/stacks/balance/stacks-ft-balances.utils.ts#L111-L119

@kyranjamie starting work on this, so let me know any other thots/prefs you have here atm. In adding other tokens, we've been using the data structure of:
const queriedTokenData = { ...originalBalanceInfo, ...tokenMetaDataInfo }

interface nameOfToken {
  balance: Money,
  marketData: MarketData,
  tokenData: queriedTokenData
}

It seems to have been pretty effective with the other tokens, but let me know your thoughts so we can get this right across all token data models. This is going to be a pretty hefty refactor I think. 🤣

I suppose to adhere to clean code, using tokenData isn't great. But, then you typ get token.token... later, so prob going back to asset is better here? 🤔

Maybe it isn't nec to combine them? I know we discussed at first whether or not to combine them into one data model ...thinking maybe we should separate them as Balance and Token models?

Would explore the thinking behind not combining them. Consider that, maybe in another place, we only need balance and token data, yet because the type says we need it, we have to get that data as well (or worse, mock it will dummy values).
How could a system work such that, whenever we need that data, we just look it up? If we had a helper fn/hook that returns all the data in the type you show above, that's fine, but that's different than actually making the type always conform to this structure.
Happy to chat through this further if this isn't clear.


Allow users to customize the refresh time for Daily Reviews

Is your feature request related to a problem?
Currently, the daily reviews generated are split at midnight. However, I often find myself taking notes after midnight, which means that those notes get included in the daily review for the next day.
Describe the solution you'd like
To solve this issue, I would like to suggest adding a feature that allows users to customize the refresh time for their daily reviews. For example, users could set the refresh time to 4:00 AM, which would include all notes taken after midnight in the daily review.
I believe this feature would greatly improve the user experience and make the daily reviews more flexible for those who work late or have different schedules.
Additional context
No response

Would like to take this up. Please assign !

Here is my proposed solution. I need some suggestions before i start working on this.

The daily review time offset can be set by the user in the preferences section in settings.
The change will remain local similar to Enable folding memo and Enable double-click to edit.
Are these assumptions right ?

ping !

Here is my proposed solution. I need some suggestions before i start working on this.

The daily review time offset can be set by the user in the preferences section in settings. Currently i'm planning to place a select input for hh and mm fields to represent the time offset.

The change will remain local similar to Enable folding memo and Enable double-click to edit.

Are these assumptions right ?

SGTM

#1313

Works like a charm. Thanks!


Rename portions to servings, display health of party members.

It probably should be smarty for really large parties.


Failed to close position after app restart: Invalid state: Expected Signed state but got Accepted

When restarting the app with an open position the position can't be closed anymore. see also error message below.
How to reproduce:

startup test environment with a funded app.
Open a position and wait for the position to get filled.
Kill the app (do not just put the app into the background)
Open app again
Close the position.

 | 2023-04-19 16:23:18.620 | LogLevel.ERROR | Failed to process incoming message: Invalid state: Expected Signed state but got Accepted(AcceptedSubChannel { offer_per_split_point: PublicKey(f24e13345df34251200d392b0f424090282b598510d5098a98892e9a2e075304c40f3783714cdbc28172368f7305db615ead3e0cc61398925ae38c155abbd6f9), accept_per_split_point: PublicKey(f366a0de4617eb3e987884b3af58b90295a239b280c61b70e56d120c99b78e9f63e440e6c25fd0798dc4a5d33ac435edba5af8eb8a092e8d1fff36a0b414ea17), accept_split_adaptor_signature: EcdsaAdaptorSignature(03db0f25b2cb518e5036d7dd8d7856d025dd2f3ea4a0bdecc89556cd62288e0c890304ac642e9ea6681d993d4c1c4a33f0f35117076cc6abd3a5abcbb676f39fab28f822dae21c91f4c15c3410146398603a0cc64d6a1b5c063498acb7a324181a09346dc85a278f0d2c494f740b51b2434671052580c0334d56a0fb96285c3940d4637095386cd3255e95bce21293edd4ad98bfba84f300d09931eefeadeaa413a2), split_tx: SplitTx { transaction: Transaction { version: 2, lock_time: PackedLockTime(0), input: [TxIn { previous_output: OutPoint { tx<…>

happened to me too.

I presume that the issue is caused by a state not being written to disk after the dlc was signed. Restarting will read an old state from disk leading to that error when trying to close the dlc.


Still working in 2020?

I'm attempting to run this on a server (with Python 3.7) and it works for a few of my Podcasts, but for most of them, I get an "unable to connect to Overcast" on from the Sonos Controller.
Should this still be working in 2020? I had to make a few changes to adapt it for Python 3.7, and I'm actually running slightly newer versions of the requirements.  I'm unsure if that's causing problems, but the server itself appears to be working as intended, based on the logs.

I sort of doubt it. I haven't worked on this in a while, and I wouldn't be surprised if either Sonos or Overcast made changes that broke it.

Well, based on the logs, it seems to be working correctly...it's pulling all of my podcasts correctly, displaying the correct artwork, etc.  In fact a few of my podcasts actually play correctly, but then there's a majority of them that simply refuse to play.
The URLs it's returning seem valid - I throw them into my web browser, and it plays at the correct offset and everything.
I'm attempting to set up a new Python virtualenv with Python 2.7, in the hopes that will allow it to work correctly.

Looks like it's working with Python 2.7! Guessing something in Python 3 wasn't working 100% with your code.  Going to close this now...thanks for putting together this project!


Bug with textures on version 1.12.2

Hi! I have a little problem
Item textures that I used as Internal item type are buggy on version 1.12.2
My server core version is 1.15.2, I use ProtocolSupport to support below versions
Is there some way to fix this error? Would be very grateful!

I will close this until more comments are sent.


feat: reimplement google smart lock for login

Fixes: #1535
Changes:
Smart Lock features added for Play Store Build Variant

At Login, an account is chosen. After entering password, Google Smart Lock prompts user to save password for future use
On next login, account and password data is entered automatically
In the previous implementation of this feature, viewmodel classes had some Android classes being used which is restricted
Now all classes related to android imports are being handled in LoginFragment and MainActivity, keeping ViewModel android import free
A SmartAuthUtil class has been made to keep LoginFragment and MainActivity free of Google Play Services imports so that FDroid can be supported
SmartAuthUtil and SmartAuthViewModel classes for FDroid have also been made which don't do anything
Build Flavor is being checked before using smart lock features

The need for creating SmartAuthUtil arises as the other alternative is to create 2 files each of LoginFragment and MainActivity for both buildFlavors which might be undesirable
Screenshots for the change:
First Login

Second Login:

As I have disabled the AutoLogin in my Google Account settings, therefore I need to select 2 more things in the second GIF(first account and then password). This setting is enabled by default for all accounts and for those accounts, email and password will be added automatically.
Additional context:
Implementing these Google APIs has to be done in this scattered manner as it has been designed to used callbacks like onActivityResult which are not very suitable for the architecture of this project. I have tried quite a few things but the best solution I could arrive at was this. Please guide me in improving this if you have any suggestions.

@iamareebjamal please review

Peer reviews first please

@liveHarshit @angmas1 please review

Peer reviews first please

As you had asked me to work on this, I thought it best to directly ask you for a review as you would have the best insight on this

Peer Reviews teach the reviewing peers on how to review. If they approve and I request some changes, then it means they missed something

Build is failing

Run gradlew spotlessApply

@liveHarshit any other changes that I should make? Or should I proceed with squashing commits?

Travis build was failing. removed unnecessary blank line


RetryOperationalError

Is there any way to replicate RetryOperationalError of peewee in peewee_async?
I have tried inheriting from RetryOperationalError and overriding execute (closing and retrying on error), but that does not quite work, specially for transactions. For reference, what peewee does is override execute_sql and retries on error.
Thank you in advanced.

+1. This is extremely useful when using peewee-async serverless applications.


Minimum length search criteria before ajax

Dear truckingsim,
First of all I like this plugin very much.
I implemented a new, small functionality to my version, and I tought you shoud consider to make it available in your release also.
I faced that my users types very slow. In case of you have a big data source and the user is pressing only one letter within the timeout period,  a huge a amount of data will be loaded. (it is very slow)
I created an option that calls the ajax request only after "n" charasters was entered.
By this way I am able to keep the fast and user friendly functionality.
Best regards

Also the full build process is broken on all my computers.  That's another reason I haven't done a merge on this because I can't update the documentation right now.

@tihiz It's quite simple to apply the min chars restriction on the server, the only thing you don't get is a nice message like 'More chars required'.


⚠ Turnos 24x7 has degraded performance

In 358086d, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1618 ms

Resolved: Turnos 24x7 performance has improved in fb7b20b.


🐛 BUG: when trying to left join 2 tables that have same name columns - second column is not returned

Which Cloudflare product(s) does this pertain to?
D1
What version of Wrangler are you using?
2.19.0
What operating system are you using?
macOS
Describe the Bug
As per issue #555 we can see, that d1 stopped returning duplicate names from different tables. It was working before and it's how any other driver is doing for raw mode
$ pnpm wrangler d1 execute dzltest --command='select "users"."id", "posts"."id", "posts"."ownerId", "posts"."title", "posts"."content" from "users" left join "posts" on "posts"."ownerId" = "users"."id";'

┌────┬─────────┬───────┬───────────┐
│ id │ ownerId │ title │ content   │
├────┼─────────┼───────┼───────────┤
│ 2  │ 1       │ test  │ 111111111 │
├────┼─────────┼───────┼───────────┤
│ 3  │ 1       │ ueoau │ ueueu     │
├────┼─────────┼───────┼───────────┤
│ 1  │ 1       │ xxx   │ yyy       │
└────┴─────────┴───────┴───────────┘

But should return id for user and id for posts as well
Expected
┌────┬────┬─────────┬───────┬───────────┐
│ id │ id │ ownerId │ title │ content   │
├────┼────┼─────────┼───────┼───────────┤
│ 2  │ 1  │    1    │ test  │ 111111111 │
├────┼────┼─────────┼───────┼───────────┤
│ 3  │ 2  │    1    │ ueoau │ ueueu     │
├────┼────┼─────────┼───────┼───────────┤
│ 1  │ 3  │    1    │ xxx   │ yyy       │
└────┴────┴─────────┴───────┴───────────┘

👋🏻 Greetings,
I appreciate the report. This is the repo and issues for Wrangler (Cloudflare Worker CLI) Pages, & Other SDK tooling, this seems D1 specific.
Feel free to check out the Cloudflare Discord where there is a channel for D1 as well: https://discord.com/invite/cloudflaredev
To report issues related to D1 specifically:
https://community.cloudflare.com/c/developers/d1/85/l/latest
Cc: @rozenmd

@AndriiSherman could I bother you for a schema/db sql file to reproduce this?

Although I am not Andrii, I think I have the same problem and here's a minimal example schema that has the issue (pretty much any schema that you can join where both have one shared field name (here it's "id"):
import type { InferModel } from "drizzle-orm";
import {
  integer, primaryKey,
  sqliteTable,
  text
} from "drizzle-orm/sqlite-core";

export const users = sqliteTable(
  "users",
  {
    id: integer("id").primaryKey({
      autoIncrement: true
    }),
    email: text("email").notNull(),
  }
);

export const subscriptions = sqliteTable(
  "subscriptions",
  {
    id: integer("id").primaryKey({ autoIncrement: true }),
    user: integer("user").notNull().references(() => users.id, {
      onDelete: "cascade"
    })
  }
);

We've traced this back to workerd, and will be discussing possible solutions here: https://github.com/cloudflare/workerd/pull/696
Keep in mind @AndriiSherman that a temporary fix on Drizzle's side is still possible by using .all() and manipulating the data into the array of arrays format yourselves.

Keep in mind @AndriiSherman that a temporary fix on Drizzle's side is still possible by using .all() and manipulating the data into the array of arrays format yourselves.

I’m pretty sure it behaves wrongly even with this option. I’m gonna need to check, but how could it return multiple identical keys in an array of objects?
Normally SQL databases return the table name in the joined table’s column names. Or even in both.
Do you want me to check, even if it’s impossible to return multiple keys of the same name, @rozenmd?

We have the same problem, does anything block fix for this bug?

We are working on this. Current priority is larger databases, which is the biggest ask from most users.

Thanks for a prompt response @elithrar!

We are working on this. Current priority is larger databases, which is the biggest ask from most users.

Is there any update on resolving this issue?

FYI, this will be fixed D1 once https://github.com/cloudflare/workerd/pull/1586 is merged and rolls out
It will only fix the results of .raw(), .all() will still have later columns with the same name overwriting earlier ones.

This is now released. .raw() returns the full results set regardless of column name clashes. Sadly Wrangler still uses .all() so this won't be visible except from inside the Worker API, so I'll leave this ticket open for now.

Changelog: https://developers.cloudflare.com/d1/platform/changelog/#2024-02-13
cc @AndriiSherman on the Drizzle team.

Changelog: https://developers.cloudflare.com/d1/platform/changelog/#2024-02-13
cc @AndriiSherman on the Drizzle team.

Has it been released already? I would like to run some tests, can't find this version for types on npm

@rozenmd I've tested this with latest types version (4.20240320.1), and the .raw() method still doesn't return multiple columns with the same name. This change shouldn't require any actions from our side, since we don't bundle @cloudflare/workers-types with Drizzle, it's used as a peer dependency, so it should be enough for users to just update their dependency version. However, it doesn't seem to be the case.
Here's a reproduction repo: https://github.com/dankochetov/drizzle-d1-bug
I've added a raw D1 call to make sure it wasn't Drizzle's fault, and observed the same behavior. As you could see from the logs, the columns list in the response don't match the columns list in the query.

Hi @dankochetov, that looks like a bug in local mode (probably related to getPlatformProxy(), though I'll need to dig in and figure out exactly what).
The .raw() behaviour has been fixed in production though, I've just converted your repro to actually publish a worker and I get the expected output:

I'll take a look at the local behaviour this week, apologies for the oversight.

has been fixed in production though

@geelen I'm using the latest wrangler 3.37.0 to deploy my app with compatibility_date = "2024-03-25" and I'm still facing this issue.
Is there anything special I need to do to get the new version?

Running my query from the D1 Dashboard console UI or wrangler D1 CLI get me the same, buggy result. It collapses columns with the same name from joined tables into a single one, the last joined table seemingly taking precedence.

Are there any updates on this?

I added a test case for the problem: https://github.com/cloudflare/workers-sdk/pull/5917
I went down a rabbit hole chasing this bug through workerd (where I also added tests, but it passed), and now, Workers SDK.
Hopefully someone from the maintainers will notice it and help me fix the problem. Any tips will be appriciated.

I found the root cause of the problem and fixed it: https://github.com/cloudflare/workers-sdk/pull/5917
Hopefully, the PR will be merged and shipped soon.

@kossnocorp - that PR specifically fixes Workers when run locally, not the execute command. I'll have a follow-up PR for the execute command shortly.


Critical Issues are shown as High

Hi,
i just installed the latest trivy-operator trivy-operator-polr-adapter helm charts.
It seems that the Critical Vulnerabilities are shown only as "high" in policy-reporter
For example: CVE-2022-32207
is in trivy Operator CRITICAL but in policy reporter only "high"
if i can add further information, just send what you need.
Versions of helm charts:
trivy-operator-0.7.1
trivy-0.4.17
trivy-operator-polr-adapter-0.1.4
policy-reporter-2.13.5
Thanks in advance

Great! Thanks a lot for this!


Issue #616: added note about code download

resolves #616
@liborfuka @Ladicek: Would a note like this be OK? Since we have the ZIP download instructions already documented I included a link to the appropriate section of the GSG.
Please let me know WDYT and if it's ok, I'll include the note at the top of each Mission chapter.
As I mentioned in the discussion on #616, there is also the alternative of linking directly to the repo on GitHub that hosts the booster code.

Yea I think this makes sense. No need to repeat the instructions we already describe elsewhere.

LGTM. @liborfuka WDYT?

I think its sufficient note and #616 can be resolved.

merged: 08f03b521b529e4d700e8789af31598072ce0198


Update scalafmt-core to 3.5.0

Updates org.scalameta:scalafmt-core from 3.4.3 to 3.5.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #302 (d9682c1) into main (99fa0fd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #302   +/-   ##
=======================================
  Coverage   88.76%   88.76%
=======================================
  Files          91       91
  Lines        2776     2776
  Branches       68       68
=======================================
  Hits         2464     2464
  Misses        312      312

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 99fa0fd...d9682c1. Read the comment docs.

@Mergifyio refresh


Add ETH and LINK to L1 Bridge Address

The Optimism L1 Bridge Contract 0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1 also holds ETH and LINK deposits. I suspect that this is also the contract that will hold EURT but I have not confirmed this yet.

Looks good. Thank you very much for noticing this and contributing a PR ❤


switches volumes prior to recovery check

In #4873 a check was added to inspect walogs during tablet load to see if they had any data for the tablet.  This check happens prior to volume replacement that also runs during tablet load. Therefore if volume replacement is needed for the walogs then this check will fail because it can not find the files and the tablet will fail to load.
To fix this problem modified the new check to switch volumes if needed prior to running the check.

This bug was found by VolumeIT.testDirtyReplaceVolumes().  This test currently passes in 4.0 because volume replacement was reworked in 4.0.
In 3.1 the following happens during tablet load.

Tablet server checks if recovery is needed
Tablet server does volume replacement if needed
Tablet server does recovery if it was needed.

In 4.0 the foillowing happens during tablet load.

Manager does volume replacement for a tablet if needed prior to load
Tablet server checks if recovery is needed
Tablet server does recovery if it was needed.

So these changes should be dropped when merging to 4.0 to avoid creating a maintenance burden.


Add Live2D SDK and replace Miis with Anime

I think you would max out MEM0 from the instructions alone.

Is this really within the scope of SP?
Also Vabold I thought you had homework to finish :)

I believe MEM0 is only available on WiiU? @mkwcat would know more

MEM0 is the EFB so you can use it on Wii too, I think what vabold meant is that it would max out the EFB from the instructions to the GPU

Notably the Live2D Native Core SDK is not provided for PowerPC, although it is for ARM. Therefore, I believe we will need to implement Live2D Core as an IOS module for the ARM co-processor accessible to the primary PPC chip

Alternatively, we could look at lifting/transpiling an ARM build to PowerPC.

Alternatively, you could go outside and be normal.

You can't access MEM0 from the ARM core

@stblr I think this issue needs the "critical" tag applied to indicate its top-priority status.


Solanum reaction if warping to the Eye of th Universe instead of Gloaming Galaxy

She could be disappointed by our choise saying she will stay on the Vessel.

The problem is there's no proper nomai recorder on in Eye scene and New Horizons text is not working with other scenes

Yep this is not possible atm

I can add Solanum model here and particles, but here's what I'll need after NH update:

[ ] Particles from main scene, that used before
[ ] Solanum model with SolanumAnimController component from original scene
[ ] Nomai recorder, not that on the Vessel
[ ] Signal for Solanum

[ ] Add Solanum as a part of the exhibition with text

done


Website icon is not showing.

What happened?
The website icon is displayed only if a social media platform is present.
What browsers are you seeing the problem on?
No response

Do you have an example where it should be shown, but is not?

Do you have an example where it should be shown, but is not?

Sjätte AP-fonden
Health and Disability Commissioner
Bütgenbach

Thank you @RVA2869!