Create a subclient / CLI options for setting up a notary node.

Refactor into smaller issues/tasks  (have the shard_ID as an option for each command):

[ ] options for register-collator: deposit, return result, or errors for asserts
[ ] options for deregister_collator(): no options, return true or errors for asserts
[ ] release_collator(): return result: no options, return true or errors for asserts
[ ] periodically checks SMC status (particularly for the outcome of get_eligible_collator()
During period period - lookahead_length to period period - 1

[ ] applies windback: "The process of attempting to determine the head by winding back recent collation headers, checking availability of collation bodies, and applying the fork choice rule. Also known as “head fetching” or “head guessing”.
[ ] gets collation headers from the SMC
[ ] downloads collations from the shard network

In period period:

[ ] send proposals of the given period to the shard network
[ ] gets proposals from the shard network
[ ] selects one proposal
[ ] Calls add_header() with the proposal.

While we have a CLI, I wouldn't consider it as done until we have a working CLI integrated with other functions, in an MVP release…


refacto ansible examples

Signed-off-by: fahed dorgaa<EMAIL_ADDRESS>
Description of your changes

Fixes #refacto examples
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

@morningspace new examples are test in my local :-D ! I will merge this to release v0.4.0


Subreddit

Does the team has a plan to creat the subreddit?

Hey @redeemefy, we actually made oen a long time ago, but never really dug into updating it like we did with X (Twitter). Maybe its something we should put some attention on.
https://www.reddit.com/r/ZedEditor/

I never get what's the hype of reddit/discord and these newer communication mediums. I guess I'm getting too old and rather have a dedicated forums as it's much easier to maintain, organize sections and keep up with conversation. Specially now with Xenforo having alerts just like all these social apps. Also with the new Xenforo 2.3 you'll be able to add webhooks which can be integrated with Github and have a nice bug/issue reporting system communication between both of them. Maybe something worth looking into and having the community centralized in one place and Github strictly for the code!
------> Rant done! You may just ignore it 😝
BTW I'm not affiliated with Xenforo, I just run a forum myself ;)

My question is not to creat controversy but rather to expose the editor. These platforms serve as marketing tools in some way since brings to the surface the existence of a new editor to people that might hangout just in one platform.
For engineers working on the editor itself, yes, one place for the communication is ideal.
It's up to the team how they want to let the world know about the editor, I just asked.


2 natlang2latex project

Changes
Added NatLang2Latex project, with prompt engineered GeminiAPI backend and streamlit frontend.

tested. LGTM


React Native 0.62 support

Hi!
When building with RN 0.62 it gives error:
error: Error: Unable to resolve module `react-native/Libraries/vendor/core/isEmpty` from `node_modules/deprecated-react-native-listview/index.js`: react-native/Libraries/vendor/core/isEmpty could not be found within the project.

@kesha-antonov
https://github.com/sohobloo/react-native-modal-dropdown/pull/244 I have created PR with fix but I'm not sure if will be merged because looks like this project is not maintained anymore

Awesome! Let's mention repo owner @irekrog

you can temporarily  fix this error by add this config to package.json
  "resolutions": {     "deprecated-react-native-listview": "0.0.6"   }

you can temporarily fix this error by add this config to package.json
"resolutions": { "deprecated-react-native-listview": "0.0.6" }

What to do after that? npm install?
cuz it didn't work!

@omar-dulaimi How did u installed v0.0.6 of "deprecated-react-native-listview"

@zepvi In package.json it was already a dependency like this:
"deprecated-react-native-listview": "^0.0.5",
So I changed it to 6 then added this line to package.json:
"resolutions": {
    "deprecated-react-native-listview": "0.0.6"
  },

then
npm i
Hope it works for you!

@omar-dulaimi did you deleted the node modules before npm i? because of changing it to v0.0.6 i face the same issue.

Just want to point out that this solution doesn't work with react-native-modal-dropdown version 0.7.0. You can fix it to 0.6.2.

@palmer95 You can fix it in package.json.
{
"dependencies": {
"react-native-modal-dropdown": "0.6.2"
}
}

Check out #251

Sorry for the newb question but I really need the modal dropdown for my app. How in the world do I use the updated one I found here: https://github.com/kakakalot/open-code/blob/master/ModalDropdown.js

Check out the following. https://github.com/sohobloo/react-native-modal-dropdown/issues/251
Thanks and Regards,
Bilal Abdeen
----------------
On Tuesday, 23 June 2020, 04:20:27 am AEST, JT Palmer<EMAIL_ADDRESS>wrote:
Sorry for the newb question but I really need the modal dropdown for my app. How in the world do I use the updated one I found here: https://github.com/kakakalot/open-code/blob/master/ModalDropdown.js
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@palmer95 You can fix it in package.json.
{
"dependencies": {
"react-native-modal-dropdown": "0.6.2"
}
}

this one is working for me

Just wanting to put a note that this doesn't work for RN 0.63+

It didn't work with 0.7.0 and 0.6.2 Any workaround for 0.63.+ ?

Any work around for 0.63+?

Please remove this deprecated out of date package so people stop trying to use it!!!

Use v0.6.2.
A good community member makes a PR instead of complaining. Just saying.

Guessing that was aimed at me @fqborges I agree but somebody has to state the obvious too or number of packages that need updates to continue working are going to keep increasing

Guessing that was aimed at me @fqborges I agree but somebody has to state the obvious too or number of packages that need updates to continue working are going to keep increasing

@tim92109 Sorry if it sounded aggressive, it shouldn't.
And yes, you are right, someone has to state the obvious sometimes. But, try to no be so harsh on open source developers, they own you nothing.

@tim92109 Sorry if it sounded aggressive, it shouldn't.
And yes, you are right, someone has to state the obvious sometimes. But, try to no be so harsh on open source developers, they own you nothing.

Advice taken, @fqborges & thanks

Advice taken, @fqborges & thanks


[SPARK-40833][K8S] Cleanup apt lists cache

What changes were proposed in this pull request?
Remove unused apt lists cache
Why are the changes needed?
Clean cache to reduce docker image size.
This is also recommanded by docker community:
$ docker run --user 0:0 -ti apache/spark bash
root@5d1ca347279e:/opt/spark/work-dir# ls /var/lib/apt/lists/
auxfiles								     lock
deb.debian.org_debian_dists_bullseye-updates_InRelease			     partial
deb.debian.org_debian_dists_bullseye-updates_main_binary-arm64_Packages.lz4  security.debian.org_debian-security_dists_bullseye-security_InRelease
deb.debian.org_debian_dists_bullseye_InRelease				     security.debian.org_debian-security_dists_bullseye-security_main_binary-arm64_Packages.lz4
deb.debian.org_debian_dists_bullseye_main_binary-arm64_Packages.lz4
root@5d1ca347279e:/opt/spark/work-dir# du --max-depth=1 -h /var/lib/apt/lists/
4.0K	/var/lib/apt/lists/partial
4.0K	/var/lib/apt/lists/auxfiles
17M	/var/lib/apt/lists/

Does this PR introduce any user-facing change?
Yes in some level, image size is reduced.
How was this patch tested?
K8s CI passed

cc @dongjoon-hyun

Ur, @Yikun . Why do you use a different style per repo?

https://github.com/apache/spark-docker/pull/14/files

- rm -rf /var/cache/apt/*
+ rm -rf /var/cache/apt/* && \
+ rm -rf /var/lib/apt/lists/*

@dongjoon-hyun After spark-docker PR merged, I found the Python docker file are using one line style, so keep the same style in spark repo.
I'd also like to sync this style to spark-docker. : ), from functions view it's same, put similar function cmd (rm in here) in one line is better.

BTW, what do you think about the dockerfile being in sync between spark-docker and spark?
spark-docker contains some changes for non-k8s to meet the requirements of DOI. such as, remove print line in entrypoint, add users, expose port. Do we want to also sync them in spark repo?

We don't need to sync~ If we really want to sync, we had better make spark-docker git repo as a submodule of spark repo.

@dongjoon-hyun OK, thanks, let's just keep different for now! If a submodule is really needed, we can do it in future.

Ya, feel free to propose any changes if it helps you and don't blocked by me. You are now a committer with more power, @Yikun . :)


Correct copy-paste typo for kryoAESKey

There is an error in the readme, in the customKey creation, where the method signature sample was clearly a duplicate of the previous section on cusomt kryo init.
This fork was not tested, but I didn't change any code, only corrected the md file.

Thanks!


When can torchaudio(0.10.0) adapt to Apple M1？

🚀 The feature
torchaudio.pipelines cannot be called
Motivation, pitch
torchaudio.pipelines cannot be called
Alternatives
No response
Additional context
No response

Hi @w962402254
Thanks for the feedback. Meanwhile, you can build torchaudio based on nightly build of pytorch.

Install miniforge3 - arm64 https://github.com/conda-forge/miniforge#miniforge3
Install PyTorch nightly build - pip3 install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
Install build tools. pip3 install "cmake>=3.18" ninja pkg-config
Install torchaudio from main branch. pip3 install git+https://github.com/pytorch/audio.git

Note that pipelines had some BC-breaking change recently so if you are using  wav2vec2, please refer to the latest documentation.  https://pytorch.org/audio/versions.html

torchaudio(0.10.1) arm !!!
I finally waited
Thank you very much！


Fix for module import on testing

This change introduces a fix for testing fails introduces by PR #13 as the module name had to be corrected.

Is this one still required?

No, this was addressed on PR #13


tlb_cfg_rsHFR.m not loading

Hello
hope to get some help
I have Matlab R2015a, and try to install HRF, the install script works fine, no errors, however, loading SPM comes with this message and the toolbox does not appear in tools from the batch mode. Thank you for any help !
SPM12: v7771                                       20:45:33 - 05/03/2021
Initialising SPM                        :                   ..
Warning: Loading of older CAT12 segmentation versions was not successful and will be skipped.
Loading of toolbox /Applications/spm12/toolbox/rsHRF/tbx_cfg_rsHRF.m failed.
......done
SPM present working directory:
/Users/

Hi carciu
can you edit tbx_cfg_rsHRF.m in the Matlab Editor window?
if the first line is:     ï»¿function HRFrs = tbx_cfg_rsHRF
please delete " ï»¿", and save it. then you can try to load SPM again: spm fmri
https://stackoverflow.com/questions/18845976/whats-ï-sign-at-the-beginning-of-my-source-file


Can we get Double Tap Event ?

Hi,
Can we get double tap event, when user double tap over video ? I tried but not get the double tap event.

Extends JZVIdeoPlayerStandard{
//you can do everything here.
}


Adding Note about the implicit AddHttpContextAccessor

.AddIdenity() is already providing the .AddHttpContextAccessor() registration. I have spent about 30 mins to understand how does it resolve the Accessor with no registration.

I suggest streamlining this a bit. It's best if we don't call on issues and code unless absolutely necessary. Can it just say ...

> [!NOTE]
> <xref:System.Security.Claims.ClaimsPrincipal.AddIdentity*> provides `AddHttpContextAccessor` registration. An additional explicit registration can be provided without generating an error or performance penalty.

I have updated the wording though. Thank you!

The problem for source links is usually that either:

The link breaks because the API changes (they move things around or the line number changes).
The link points to a stale version.

The problem with issue links is that we don't monitor those issues release-to-release. When engineering resolves an issue, we often (usually) don't know and don't update a topic. I suppose we could open an issue for the next release to come back and look. However, that would generate a lot of new issues if we did it frequently.
My recommendation is to avoid links to source and avoid links to issues unless absolutely necessary.
I defer to @Rick-Anderson 🎷 and @scottaddie 🎸 on how they'd like to go.

In that case, I think something along the lines of my recommendation would be best here. :point_up: https://github.com/aspnet/Docs/pull/8685#issuecomment-424114690

@guardrex I like your recommendation, but keep the following things in mind:

AddHttpContextAccessor is a 2.1+ feature.
The API ref link you provided is incorrect. Should be <xref:Microsoft.Extensions.DependencyInjection.IdentityServiceCollectionExtensions.AddIdentity*>.

Thanks ... I fixed the remark.

@scottaddie thank you for the comments. I have added the Note to the 2.1 moniker.
@guardrex done

While I understand the reasoning behind wanting to add this, it feels like an implementation detail that could change.

After some offline discussion with engineering, we've decided to not include this language in the doc. David's explanation above summarizes the reasoning. @sguryev We very much appreciate you submitting this PR, so that we could have that discussion.

It's really confusing to me guys. I have discovered the part of the current implementation which is important to the developers apart from babysitters who use mouse only to create applications. Startup.cs file becomes shorter because of new extensions methods which hide the logic inside. I want to know what does each of them do to make sure that I have full control of the process. It's annoing that I have to search through forums, GitHub and decompiled sources to get this knowledge. I have faced the issue with changing the hosted services registration from singleton to transient. And this hidden registration is one more sample. I think you have to give me respect to guys who wants to understand the core processes and not only use boilerplate templates.


Add Apollo

I think we need substitute a Node with Prisma + Apollo to fix any state issues and add GraphQL support
It must be included into 0.5.0

Who can provide some ideas about behaviour state machine based on GraphQL?
I think it would be nice to remove code of Node.js and make more flexability to usage of any database?
Also I think in direction to implement WASM


Is there anyway to get rid of these default words on the dialog and replace them with my JSON. Right now, JSON only adds words, not replace them.

Is there anyway to get rid of these default words on the dialog and replace them with my JSON. Right now, JSON only adds words, not replace the two lines.

Here is my json: https://github.com/yofu1234/androidappupdate/blob/master/update-changelog.json

After next update, you should use .setContentOnUpdateAvailable("") to display only the release notes.
If you need this change as soon as possible you can get this change by using the commit as the library version.
dependencies {
    compile 'com.github.javiersantos:AppUpdater:0fa15043e8'
}

https://github.com/javiersantos/AppUpdater/releases/tag/2.6


Make Ruby: autocorrect by rubocop work even when Rubocop isn't the default formatter.

This change makes the "Ruby: autocorrect by rubocop" command work even when Rubocop isn't the default formatter.
Before this change, if Rubocop is not the default formatter, running "Rubocop: autocorrect by rubocop" would
run the default formatter and not Rubocop.
Now, this command manually applies Rubocop's autocorrects to the current document.
We are encountering this bug at Stripe and would love it if this fix could be merged and a new version of the extension released. :)

This issue is fixed in https://github.com/LoranKloeze/vscode-ruby-rubocop-revived/issues/1 and published to the marketplace at https://marketplace.visualstudio.com/items?itemName=LoranKloeze.ruby-rubocop-revived. Thx for reporting!


Added client_cert test.

Added auth test.
Fixed digest value (remove \n).
Fixed auth.json comment removal process.

Codecov Report

Merging #19 (29cb1ef) into main (67c5436) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   89.21%   89.32%   +0.10%
==========================================
  Files          88       88
  Lines        9573     9564       -9
==========================================
+ Hits         8541     8543       +2
+ Misses       1032     1021      -11

Impacted Files
Coverage Δ

include/async_mqtt/broker/security.hpp
93.13% <100.00%> (+1.13%)
:arrow_up:

... and 2 files with indirect coverage changes


Live Flight Progress

Would love to be able to get a percentage of progress completed on the live flights table. Been trying to get this to work but to no avail am I able to.

I think I might have gotten it but wanted your thoughts. I add the below code to Pirep.php. It seems to be working but I am not sure if it will fail down the line?
        $res['progress'] =  ($this->distance) / ($this->planned_distance) * '100';

It could, because there might not be a value for planned_distance. You can check on the PIREP template itself what I do to show the progress

Where can I find that template?

It's one of the front end pirep ones, maybe the "show". I'm not at a computer right now to check

Okay thank you sir!

It looks like the progress on that page is still using the "planned_distance" value in the pirep database. If that's the case mine should work

Cool, it should hopefully just work.


ssh hangs after install lxd on Ubuntu 14.04

install lxd on Ubuntu 14.04 by following https://insights.ubuntu.com/2015/04/28/getting-started-with-lxd-the-container-lightervisor, ssh server is stop working after that:
sudo aptitude install lxd
ssh -vvvv dpu@localhost
.....
dpu@localhost's password:
debug3: packet_send2: adding 64 (len 54 padlen 10 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to localhost ([<IP_ADDRESS>]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting<EMAIL_ADDRESS>debug1: Entering interactive session.
............hangs forever here.....

That's a known issue which @hallyn is fixing now.
Installing the "cgroup-lite" package on your system will fix login again.
This isn't a LXD issue but an Ubuntu packaging issue of lxcfs, so closing this report now.
Sorry about the temporary breakage!

Thanks @stgraber for quick response!


Not able to install fastlane (An error occurred while installing json (2.5.1), and Bundler cannot continue)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I'm using fastlane on Github Actions, so far it's been working great. Today, due to a library dependency on iOS, I had to setup a specific version of Swift (5.4.2) but after doing that, fastlane will not install anymore.
Command executed

I'm trying to install fastlane by doing bundle install, my Gemfile looks like this:
source "https://rubygems.org"

gem "fastlane"

And I'm getting this:
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies........................................
Fetching rake 13.0.6
Installing rake 13.0.6
Using rexml 3.2.5
Using public_suffix 4.0.6
Using artifactory 3.0.15
Using atomos 0.1.3
Using aws-eventstream 1.2.0
Using jmespath 1.4.0
Using babosa 1.0.4
Using bundler 2.2.27
Using claide 1.0.3
Using colored 1.2
Using colored2 3.1.2
Using highline 2.0.3
Using declarative 0.0.20
Using digest-crc 0.6.4
Using unf_ext 0.0.8
Using dotenv 2.7.6
Using emoji_regex 3.2.2
Using excon 0.85.0
Using faraday-em_http 1.0.0
Using faraday-em_synchrony 1.0.0
Using faraday-excon 1.1.0
Using faraday-httpclient 1.0.1
Using faraday-net_http 1.0.1
Using faraday-net_http_persistent 1.2.0
Using faraday-patron 1.0.0
Using faraday-rack 1.0.0
Using multipart-post 2.0.0
Using ruby2_keywords 0.0.5
Using fastimage 2.2.5
Using gh_inspector 1.1.3
Using jwt 2.2.3
Using memoist 0.16.2
Using multi_json 1.15.0
Using os 1.1.1
Using httpclient 2.8.3
Using mini_mime 1.1.1
Using trailblazer-option 0.1.1
Using uber 0.1.0
Using retriable 3.1.2
Fetching webrick 1.7.0
Fetching aws-partitions 1.506.0
Fetching google-cloud-errors 1.2.0
Installing webrick 1.7.0
Installing aws-partitions 1.506.0
Installing google-cloud-errors 1.2.0
Fetching json 2.5.1
Using mini_magick 4.11.0
Using naturally 2.2.1
Using optparse 0.1.1
Using plist 3.6.0
Using rubyzip 2.3.2
Using security 0.1.3
Using terminal-notifier 2.0.0
Using unicode-display_width 1.8.0
Using tty-screen 0.8.1
Using tty-cursor 0.7.1
Using word_wrap 1.0.0
Using nanaimo 0.3.0
Using rouge 2.0.7
Fetching CFPropertyList 3.0.4
Installing json 2.5.1 with native extensions
Installing CFPropertyList 3.0.4
Using addressable 2.8.0
Using aws-sigv4 1.4.0
Using commander 4.6.0
Using unf 0.1.4
Using faraday 1.8.0
Using representable 3.1.1
Using terminal-table 1.8.0
Using tty-spinner 0.9.3
Using xcpretty 0.3.0
Fetching aws-sdk-core 3.121.1
Using domain_name 0.5.20190701
Using faraday_middleware 1.1.0
Using signet 0.16.0
Using google-cloud-env 1.5.0
Using simctl 1.6.8
Using xcodeproj 1.21.0
Using xcpretty-travis-formatter 1.0.1
Using http-cookie 1.0.4
Using googleauth 0.17.1
Using google-cloud-core 1.6.0
Using faraday-cookie_jar 0.0.7
Using google-apis-core 0.4.1
Using google-apis-androidpublisher_v3 0.11.0
Using google-apis-playcustomapp_v1 0.5.0
Using google-apis-iamcredentials_v1 0.7.0
Fetching google-apis-storage_v1 0.7.0
Installing google-apis-storage_v1 0.7.0
Installing aws-sdk-core 3.121.1
Using google-cloud-storage 1.34.1
Using aws-sdk-kms 1.48.0
Using aws-sdk-s3 1.103.0
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/usr/local/lib/ruby/gems/2.7.0/gems/json-2.5.1/ext/json/ext/generator
<EMAIL_ADDRESS>-I /usr/local/lib/ruby/site_ruby/2.7.0 -r
./siteconf20210925-5539-185ktw5.rb extconf.rb
creating Makefile

current directory:
/usr/local/lib/ruby/gems/2.7.0/gems/json-2.5.1/ext/json/ext/generator
make DESTDIR\= clean

current directory:
/usr/local/lib/ruby/gems/2.7.0/gems/json-2.5.1/ext/json/ext/generator
make DESTDIR\=
compiling generator.c
In file included from generator.c:1:
In file included from ./../fbuffer/fbuffer.h:5:
In file included from
/usr/local/Cellar/ruby@2.7/2.7.4/include/ruby-2.7.0/ruby.h:33:
In file included from
/usr/local/Cellar/ruby@2.7/2.7.4/include/ruby-2.7.0/ruby/ruby.h:29:
/usr/local/Cellar/ruby@2.7/2.7.4/include/ruby-2.7.0/ruby/defines.h:126:10: fatal
error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.
make: *** [generator.o] Error 1

make failed, exit code 2

Gem files will remain installed in
/usr/local/lib/ruby/gems/2.7.0/gems/json-2.5.1 for inspection.
Results logged to
/usr/local/lib/ruby/gems/2.7.0/extensions/x86_64-darwin-19/2.7.0/json-2.5.1/gem_make.out

  /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:92:in `run'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:43:in `block in
make'
  /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:35:in `each'
  /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:35:in `make'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/ext_conf_builder.rb:63:in
`block in build'
  /usr/local/Cellar/ruby@2.7/2.7.4/lib/ruby/2.7.0/tempfile.rb:291:in `open'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/ext_conf_builder.rb:26:in
`build'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:158:in
`build_extension'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:192:in `block in
build_extensions'
  /usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:189:in `each'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/ext/builder.rb:189:in
`build_extensions'
/usr/local/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:837:in
`build_extensions'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/rubygems_gem_installer.rb:66:in
`build_extensions'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/rubygems_gem_installer.rb:26:in
`install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/source/rubygems.rb:199:in
`install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:54:in
`install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:16:in
`install_from_spec'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:186:in
`do_install'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:177:in
`block in worker_pool'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/worker.rb:62:in
`apply_func'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/worker.rb:57:in
`block in process_queue'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in
`loop'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in
`process_queue'
/usr/local/lib/ruby/gems/2.7.0/gems/bundler-2.2.27/lib/bundler/worker.rb:91:in
`block (2 levels) in create_threads'

An error occurred while installing json (2.5.1), and Bundler cannot continue.

In Gemfile:
  fastlane was resolved to 2.195.0, which depends on
    json
Error: Process completed with exit code 5.

Any hints?
Thank you!

Hi, such issues happen if you don't use proper command line tools.
Which version of Xcode and commandline tools do you use? I think that 12.5.1 is required to be able to use swift 5.4.2.

Hi @lucgrabowski , thank you so much, that was the problem. I'm adding further  details here in case  someone else faces this issue:
In order to fix it, I had to do the following

Setup my Github Actions environment to macos-11

runs-on: macos-11

This allowed me to setup Xcode to 12.5.1 as you mentioned

uses: maxim-lobanov/setup-xcode@v1
with:
  xcode-version: '12.5.1'

Finally, I setup Swift version  like so:

uses: fwal/setup-swift@v1
with:
  swift-version: "5.4.2"

Now I'm able to nicely install fastlane!


EDA Localization - Spring '21 drop 2

Critical Changes
Translated labels from drop 2
Changes
Issues Closed
New Metadata
Unpackaged Metadata
Deleted Metadata
Testing Notes

After viewing the comment Matt left for the LOC team and verifying the drop2 changes. This passes QA. Merging and closing WI


Custom atlas does not work

I'm planning to use oxford_asl within a Python script using the following command (after fsl_anat and after creating fieldmaps)
subprocess.run(["oxford_asl","-i",asl_path,"-o",sub_dir,"-c",m0_path,"--fslanat",fsl_res_dir,
"--tis","1.7,2.2,2.7,3.2,3.7","--rpts","12,12,12,20,30","--bolus","1.5",
"--casl","--senscorr","--cmethod","single","--fulldata","--pvcorr","--mc","--iaf","tc",
"--ibf","tis","--sliceband","10","--slicedt","0.06","--tr","3.58","--te","19",
"--fmap",fmap_path,"--fmapmag",fmap_mag_path,"--fmapmagbrain",fmap_magbrain_path,
"--echospacing","0.000569995","--pedir","-y","--region-analysis","--region-analysis-atlas",
atlas_path,"--region-analysis-atlas-labels",region_names])
atlas_path = /PATH/TO/3D/ATLAS/IN/NIFTI/AND/MNI/SPACE
region_names = /PATH/TO/TXT/FILE/WITH/REGION/NAMES
Everything works fine except the calculation of CBF for a custom atlas in MNI space that I want to use. It throws the following info and oxford_asl finishes without producing the regional CBF data:
unknown option --oxasl-output
usage: /home/lukas/fsl/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
I scanned the analysis script of oxford_asl (https://github.com/physimals/oxford_asl/blob/master/oxford_asl.in) and it seems that the error occurs in line 2616 ($PYTHON -u which oxford_asl_roi_stats --oxasl-output $outdir/native_space --output $outdir/native_space/region_analysis --fslanat $fslanat $roi_analysis_args)
On my local computer the expression "which oxford_asl_roi_stats" is not recognized although the corresponding script exists in the FSL directory. When I type "which oxford_asl_roi_stats" in the command line, no output is generated.
Any ideas how to fix that?

I think this is the same as #28 and it should be fixed in the most recent FSL release. What FSL version are you using?


French (and other language) accent

The accent (like é, é, à...) doesn't seem to work :

Thanks for reporting this!
The issue is I wrote my plugin to strip all non-ASCII characters before using Pandoc to create LaTeX (and thus PDF) output because the default LaTeX engine doesn't support most Unicode characters. I forgot that most languages use non-ASCII characters... oops!
This should be a trivial fix, I'll likely have it done by the weekend. Sorry about this!


unable connect to database

when i run sudo yarn cli wallet balances, it return error

what DATABASE_HOST are you assigning at packages/tracker/.env?

Hi @orchidtexture ,
i use default setting

After you have the postgres and fractal node running, instead of running the tracker with docker, try this:
cd into the tracker directory. cat/packages/tracker
yarn install
yarn build
IF YOU CHANGE THE CODE AT ALL YOU WILL NEED TO RUN YARN BUILD AGAIN TO APPLY CHANGES
yarn run start:prod
It should start syncing

postgres container is trash

hi @orchidtexture
I fixed this issue. The problem came from my VPS blocking port 5432. I unlocked it, and the process ran smoothly.


[move-resources] use trait to define Move resource

Motivation
Add MoveResource trait to help define Move resources. This will help bring more structure to the codebase and reduce a lot of the redundant code and usage of Lazy across Move resource implementations
Test Plan
Existing tests

@bors-libra r=zekun000

:pushpin: Commit c29a1d7 has been approved by zekun000

:hourglass: Testing commit c29a1d76ac2648be1b0a15b97f0ad8b16f64cfda with merge 40261431fb99789386ed06a873d593719f4c5283...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit c29a1d76ac2648be1b0a15b97f0ad8b16f64cfda with merge f295e9d3d1541bb912949ea4db83bfb151c28b5b...

:broken_heart: Test failed - checks-actions_land_blocking_test

@bors-libra retry

:hourglass: Testing commit c29a1d76ac2648be1b0a15b97f0ad8b16f64cfda with merge 4fe48f429b59efd764e7705be1f9a3ddcf04c529...

:broken_heart: Test failed - checks-actions_land_blocking_test

@bors-libra retry

:hourglass: Testing commit c29a1d76ac2648be1b0a15b97f0ad8b16f64cfda with merge da83b7dcfa6c19d6df9f2caa3b3f3d750eb08928...

:broken_heart: Test failed - checks-actions_land_blocking_test

@bors-libra retry

:hourglass: Testing commit c29a1d76ac2648be1b0a15b97f0ad8b16f64cfda with merge 35dca0872f060ee71338c98e0259240f34e4ca75...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: zekun000
Pushing 35dca0872f060ee71338c98e0259240f34e4ca75 to master...


Installing dependecies with pip fails

Steps to reproduce:

create new conda env
python2 --version # Python 2.7.15rc1
python2 -m pip -r src/requirements_ubuntu.txt # fails on the first line
Am I missing something?

I've greped source files and the libraries listed in the requirements are not used anywhere, which is strange for requirements.
Just realized, I forgot to say thank you for the tool ;)


FIFO: Assert !contains(elem) before push(elem)

This is useful to be certain that e.g. NextTick or Read contexts are not used multiple times concurrently.

Great to have this, and also gated by verify.


Status of stdlib

Ark seems to be an interesting project and I am keen on trying it out. However, there was not sign of a standard library offering interfaces to networking, fs etc. on http://ark-lang.org/. The module io contained in this repository provides only a printf method and the stdlib repository (https://github.com/ark-lang/stdlib) does not look bigger at the moment. Therefore I would like to ask about the current status of the standard library.
A nice person on IRC (I don't recall his/her name) said that you want to wait until the language is stable enough?
I also noticed the book mentions an std::io::file module (http://book.ark-lang.org/defer.html). Does it already exist?
Finally, I wanted to offer my help for building a robust and feature-full standard library. :)

Currently we do not have much of an stdlib, but that is about to change!
I just finished up our module system, such that we can actually organize code in modules, and @MovingtoMars just let us use multiple search paths.
That means we should be about ready to go on planning out and implementing the standard library.
I summon thee @felixangell, @raoulvdberge, @vnev and whoever else might want to join in on this conversation.

While modules now work, there are still some missing features and bugs that will hinder progress of the stdlib for a while.

@Acconut Hey, I write a lot of the documentation and when I write things like that, it's more of a 'this is what it will be like' type thing, which probably isn't good considering the documentation should reflect the current state of the project. Anyhow... I'm down to work on some of the standard library in the following week, though as @MovingtoMars says, it might be a little tricky with the various bugs that are in the language itself. But this also means when I write the stdlib I can hunt down some more bugs, but things like a string library will be tricky considering we can't actually index strings.

I'm making the switch to Linux soon, so I'll probably help as well. No promises.

@raoulvdberge Nice, I've started to set-up some stuff on the ark-lang/stdlib repo, but for now not much to do till a few more features are implemented.

Thanks you all for your answers. It's obvious to me that you first want to settle on a stable language and particularly the module system before building the standard library. Anyhow, I will look for a place where I can help you :)

@Acconut I think we're pretty far off a stable language (i.e. where you can use it in a production environment), but I think it's important we start working on a standard library, especially because it means I can start attempting to write software in the language! When we say stable in this context, we mean that there are a few tiny things that need to be implemented in order to write the standard library. The key feature being the directory based module system (which is now implemented) because we use modules to write the standard library in the first place.
And also I'm open to any more questions you have, and any help you can offer would be fantastic! :smile:

I'm going to close this because we have #640 now :100:


Mention free of charge test directly in the app (if risk status is increased)

Current Implementation
The app does not mention that the tests stay free of charge, even after the new CoronaTestV came into force on 11.10.2021, if the Corona-Warn-App shows an increased risk notification.
Suggested Enhancement
Add this information directly into the app.
Expected Benefits
Users can find relevant information directly in the app and get tested if a high risk notification is shown.

To make it perfectly understandably maybe even a hint, this information is also correct for fully vaccinated people, many people think, there is a difference.

@Ein-Tim not in the FAQ, I think, although it surely wouldn't hurt. Your text sounds great, thank you for raising the issue at the appropriate place.

Good suggestion!

This will be implemented in the next version: https://github.com/corona-warn-app/cwa-app-ios/pull/3932

This has been implemented in version 2.15.1.

@Ein-Tim Thanks for following up!


Mbc1Cartrige.getitem -> None return value

Mbc1Cartridge.__getitem__ will return None for RAM addresses when ram_enable is off.
Is this intended behavior? It seems to me like a more obvious default action would be to return 0x0, and I haven't checked, but that seems more like what hardware would do if you accessed a disabled thing.
Unless that action is supposed to signal an interrupt or something and None is a sigil return value to tell the emulator to trigger that interrupt, but if that is the case, then None should probably be returned explicitly, and a comment should be added explaining why, when all the other functions return integers.

Oops.  Definitely a bug.  Feel free to fix.

Will wait until after #3, since this function also uses [] indexing on str variables in Python 2, when it should return an int. (The behavior should be correct in Python 3 because there the type will be bytes, which indexes to int, while in Python 2, bytes == str, which indexes to str).
Once #3  is merged, this can be rectified and made cross compatible by using six.indexbytes to always get an int in both 2 and 3.


How to have indices query in appsync?

Which Category is your question related to?
Appsync, graphql, pipeline resolver
Amplify CLI Version
5.1.2
I have a full stack app defined in amplify by graphql and react.js.
I need to do extra authorisation in my queries based on what I asked here, therefore, I tried to find out how can I define a pipeline resolver.
I pursued this tutorial as a warm up for creating pipeline resolvers. As a step for defining a pipeline resolver, I have to find the mutation or query in the schema section of appsync console:

However, the problem is some of the queries that I defined with indices are not listed in the right hand side panel.
For example, I have defined the following index:
@key(name: "byCountry", fields: ["countryId", "updatedAt"], queryField: "listReportsByCountry")

but I cannot find listReportsByCountry in the Resolvers list. How can I find the resolvers of these kind of queries and define some sort of custom actions in between.

Hi @mjza
You can find the query for listReportsByCountry under queries.
The CLI does not currently support pipeline resolvers.
Though we are aware of it and are tracking that as a part of the new transformer. RFC: #6217
The transformer does accept overrides, so a potential solution would be to overwrite the generated CFN templates and resolver to create a pipeline resolver for listReportsByCountry.
Docs: https://docs.amplify.aws/cli/graphql-transformer/resolvers

@mjza
As long as you have a top level object defined (ex. Mutation, Query, Subscription) there is no need for a schema definition.
GraphQL Docs: https://spec.graphql.org/June2018/#sec-Root-Operation-Types
If you are adding in your own query you can add that in your schema. Such as getUser and it that type will get carried over into the build schema. From there you can create it's own resolvers and CFN templates as mentioned in the overwrite resolver docs.

Thanks.


Add auto fixture to use tmp db per session

Summary
This is a new fixture that creates a tmp per pytest run.  I had on going dev with another version of Orion and all the pytest are failing because of that. That fixture allow to have a tmp db of orion everytime
I expect we could extract this fixture to a package pytest-prefect and can be shared with another prefect project in the future
Relevant Issue(s)
This is an enhancement to the current pytest capability

Thanks for another contribution!
I think we need to fix the CI tools which I can tackle tomorrow.
https://github.com/PrefectHQ/prefect/issues/5609
Also want to give Alex some time to review.

@ahuang11 Any thought about moving that fixture to its own python package to share with other collections?

Thank you @zangell44 for the information. Great to know you have a helper function that will come with it. Could you share what hedge case may be missed by my solution?
I was really only focused on isolating the orion db at the moment, and I would like to understand better what other considerations I should have in the future.

Yep happy to share @davzucky!
The main two considerations during tests are

Ensuring Prefect does not talk to an API endpoint (especially the Cloud endpoint)
Ensuring our database interface is properly configured (really not a user facing consideration but quite important for Prefect's internals supporting Postgres/SQLite/additional customization)

The helper function looks like this (omitting imports as at least one of them is also not released yet)
@contextmanager
def prefect_test_harness():
    """
    Temporarily run flows against a local SQLite database for testing.

    Example:
        >>> from prefect import flow
        >>> @flow
        >>> def my_flow():
        >>>     return 'Done!'
        >>> with prefect_test_harness():
        >>>     assert my_flow() == 'Done!' # run against temporary db
    """
    # create temp directory for the testing database
    with TemporaryDirectory() as temp_dir:
        with ExitStack() as stack:
            # temporarily override any database interface components
            stack.enter_context(temporary_database_interface())
            # set the connection url to our temp database
            # make sure PREFECT_API_URL is not set, otherwise
            # actual API requests will be made
            stack.enter_context(
                temporary_settings(
                    PREFECT_API_URL=None,
                    PREFECT_ORION_DATABASE_CONNECTION_URL=f"sqlite+aiosqlite:////{temp_dir}/orion.db",
                )
            )
            yield

Most important is making sure PREFECT_API_URL is not set during tests. If it is set, any requests made by the OrionClient will hit the api endpoint even if you've configured a temporary database.

Thank you for sharing this information. This is really similar to the setup we did with prefect 1.0. Will add the PREFECT_API_URL in my current change and will update the fixture after you release the code.

One comment about your code, I currently set up the db fixture at the scope session. This is to avoid having to create the db for all the tests. Do you think your new function will be able to be scoped at the session level?

Do you think your new function will be able to be scoped at the session level?

Yeah it should work fine scoped to the session level

I'm inclined to wait until the utility in prefect is released to avoid needing to remove this code in a later PR. @davzucky does waiting for the next release of Prefect 2.0 block you at all?

Sure, I will keep an eye on the next Orion release. I just manually change the conftest.py manually at the moment.

@zangell44 @desertaxle I updated the fixture to use the new<EMAIL_ADDRESS>function prefect_test_harness as you told me.
Can you review it and check it in? Thank you

Fixed two bugs that I found as well one been related to the latest change:

SecretManager date comparison should use UTC date. Look like it error at the change of date
The new prefect_test_harness function require a new dependency for python 3.7 asyncmock; python_version < '3.8' `` However in Orion you are including mock; python_version < '3.8'``` do you know which one is the right one ?`

@zangell44 Thank you for your comment, indeed I wasn't sure. I found online and tested with asyncmock and after I committed I check prefect and found that you are using mock.
Updated the code


Clarify the public APIs intended to be used by external developers

Celestia-node currently contains both a binary and library. There should be documentation that clarifies this dichotomy.
Of highest relevance are the main entry-points for developers that want to use it to build on top of it.
There are quite a few public methods and types but it is unclear which are relevant for devs trying to build on top of
node.
A good way to know which methods are immediately relevant is to look at how @evan-forbes  and @tzdybal  are trying to use it in combination with Optimint.
@evan-forbes  plugin PR (#414) is another good example as it is made for others to extend celestia-node programmatically. An ADR is a great start but the end-result must be a developer friendly documentation.

Celstia-node will be used in these major use-cases:

run as a full-node accompanied with a tendermint node
run as a standalone full-node
run as a DASing light node
run as a DASing light-node that tracks and computes Celestia-state (only the reserved Txs)
run together with a rollup block aggregator/sequencer in one of the above modes

While 1. and 3. are pretty obvious and 2. is currently being worked on, we did not yet really think about 4. and 5. too much. If the code is properly documented, we could even encourage community contributions for 4. and 5. Currently, that would be really hard as there is too much siloed knowledge that basically would require too much hand-holding.

Before documenting public API we should define it first and we don't have it defined.
One of the goals of RPC work is to design the public API which can be accessed by both RPC and programmatically. Right now, the only really public API we have is node.New which allows devs to instantiate a node and access the internal components of it.

Public API will be documented in #506

@liamsi, is #562 fixing what you mean?
P.S To have Public API documented, we need to have it defined first, and we don't have that yet, while the ADR is going to fix this.


Qwik City - Add env to Qwik request context for Cloudflare Pages

Is your feature request related to a problem?
I was trying to use the Cloudflare environment variables but I realised that I don't have access to them with Qwik City.
Describe the solution you'd like
I would like environment variables env to be included in the request context for server endpoints. (onGet, onPost, onPut, onPatch, and onDelete)
Describe alternatives you've considered
I could hardcode my secrets, but I don't think that's the way.
Additional context
No response

Some extra info. Cloudflare pages functions (and workers) provide bindings which show up on the env parameter
(not global). This isn't just for environment variables but also api access to KV namespaces, durable objects,
R2 buckets and soon D1 databases. Definitely useful APIs for on___ functions

Qwik actually has a useEnvData functions, so this should be as easy as passing the env param to the render options. @elxris @mrmcc3 Would either of you mind taking a look at my PR and making sure everything looks okay from a Cloudflare perspective?

@nnelgxorz from the cloudflare api perspective everything just hangs off the env object so as
long as you have access to that. qwik/city is very new to me but my (naive) experiments with
useEnvData in onGet throws
Invoking 'use*()' method outside of invocation context.

Ah, you're right. The use*() functions have rules on where they can be used. You could still use useEnvData() inside of a component$ or other use methods.
It might still throw if you haven't supplied envData to the render options.

I can imagine using environment variables for credentials when data fetching. All the cloudflare APIs are also essentially data fetching. Makes sense to have it avail. in on__ methods for retrieving/modifying data instead?

I think you're right. It would just involve a larger reworking of the Qwik City code. You could still use useEnvData inside of a useResource or useServerMount$ to do data fetching. When you call useEndpoint to get onGet data you're already getting a resource object back.

@nnelgxorz but what if I don't want to expose my secrets to the client code at all?
Excuse me if I got it wrong but I feel that approach will expose my secrets to the client? I don't think this is good.
I understand that the on___ function code is not exposed to the client at all.
My on___ code is making a request that should not be exposed to the user. That's why I need the env exposed by Cloudflare in there.
Excuse me again if I'm getting all wrong, I'm 4-days old to Qwik.

@elxris If it's in a useServerMount$ it will only run in the server. A useResource can run on both, so you would need to be careful. I think if the resource never changes, that code will not ship to the client. You might run into a sticky point with SPA navigation and resources though.
I'd say for now, you could have this PR and useServerMount$ and then Adam and Manu can figure out the scope issue for onGet, because I agree that should work.

Oh and no need to apologies for being new to Qwik.  Qwik is so new we're all pretty new to it. 😆


Update Math.pow stdlib function

The current implementation of the Theta.Math.pow() function has several limitations and issues:
Negative Exponents: The function does not handle negative exponents properly, such as 10**-5. We need to check the sign of the exponent and perform division if the exponent is negative.
Negative Base Values: The function does not handle negative base values correctly. For negative bases, we need to multiply by the absolute value of the base to get the correct result.
Floating Point Exponents: The function does not handle floating point exponents. It might be beneficial to split this internally into a powf (for floating-point exponents) and pow (for integer exponents) function to improve efficiency. This change will also require detecting and storing whether a number is an integer or a float in the lexer and subsequently in the ASTNode.

hello @alexdovzhanyn can i work on this?

@Mehdibenhadjkhelifa Go for it! You'll need to update src/compiler/StandardLibrary.hpp to do it. There is a registerMathPow function where this is encapsulated. You'll probably need to write your solution in WAT format first and then convert that to using Binaryen by hand.
Unfortunately WASM doesn't support a native WASM operator that's why we have to implement it ourselves.

@alexdovzhanyn i will try to do this, i'm still kinda new to all a this and might take some time. i will tell you if i feel like the task is a bit out of my reach but i will give it a shot. Cheers !

@Mehdibenhadjkhelifa no worries! If you have any issues let me know, I can help unblock you. Even if you can't do the whole fix that's fine, having just one or two  of the improvements mentioned in the issue is still great :)

@alexdovzhanyn sounds good ! Btw should we consider to make a .clang-format file and use clang-format to make the coding style consistent across the since base since the project will be shared with me and maybe probably with other contributors in the future?

@Mehdibenhadjkhelifa that's a good idea. I'll look at putting something together

@alexdovzhanyn excellent ! If you don't want the extra chore. I can take on that too !

@Mehdibenhadjkhelifa go for it!

@Mehdibenhadjkhelifa I've updated the README with some instructions on how to get set up with the project -- you might find it useful. Take a look here

@alexdovzhanyn i tried to compile your project using the provided script but the compilation failed at one of your dependencies (binaryen) with the compilation error shown bellow. Did you encounter this problem or is it a new bug?

@Mehdibenhadjkhelifa I haven't seen that one before. It may be worth posting an issue in the Binaryen repo to see if they have any insight. BTW, what OS are you using? I use OSX and so far that's the only OS I've tried compiling this project on.

I'm on arch linux (btw) with latest toolchain for everything pretty much. Could it be some backward compatibility issue? Also i'm about to finish up the .clang-format file. I will do a pull request soon (40min ish) and you can check the options that i set ( was my preference) and you can change them to suite yours and we can work with it. Also might throw a script that automates formatting. and i just wanted to ask. do you want to also format dependencies (such as binaryen) or just format the project's code base?

@Mehdibenhadjkhelifa yeah it definitely could be a backwards compatibility issue. I suspect the Binaryen team will be more helpful as I've just started working g with Binaryen a few days ago so I don't have much experience.
Let's only format the our project files themselves, because the Binaryen stuff is in a submodule anyway so none of that code gets committed to our repo anyway

@alexdovzhanyn hello again! I ran into a lot of issues with compilation since the includes in most files have mismatched names with the actual files(first letter is Upper case when the file's name starts with a lower case) is this because macOS is case insensitive or am i missing something?

@Mehdibenhadjkhelifa no I think they may be some sort of bug in the CmakeLists or something because I occasionally experience this too. The files are all Pascal cased as are the includes, but sometimes the filenames get changes to all lowercase for some reason. I may just rename all the files to be lowercase or something to avoid it. Or just see if there's something in CmakeLists causing the files to get lowercased


Update to docs README

Removed the build tag since Drone no longer builds it. (Or at least there are none found, I can add it back in if needed)
Updated Discord invite to use vanity URL.
Fixed some wording.
Removed Docker image since we use netlifycms now.

Codecov Report

Merging #6221 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6221      +/-   ##
==========================================
+ Coverage   38.86%   38.87%   +0.01%
==========================================
  Files         354      354
  Lines       50210    50210
==========================================
+ Hits        19512    19518       +6
+ Misses      27872    27865       -7
- Partials     2826     2827       +1

Impacted Files
Coverage Δ

routers/repo/view.go
42.07% <0%> (+0.99%)
:arrow_up:

models/unit.go
14.28% <0%> (+14.28%)
:arrow_up:

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 8e266c3...79c3fe2. Read the comment docs.

@techknowlogick Done


Rename ip handler into remote_ip

As discussed in mholt/caddy-l4#217, this is a breaking change that renames ip handler into remote_ip.
Consequently, we will have consistently named  remote_ip matchers at layer4, tls and http levels.
If this PR gets merged first, I will rebase mholt/caddy-l4#217 on it. Otherwise this PR will have to be rebased.

Seems fine to me. One minor concern is we don't really have release notes or changelogs so it might be a surprise for some to have to fix it. But I agree with doing it now for consistency.


can't position this here... unknown type when using default benches and bins

just tried this in the (newly-released) v1.1.1 and didn't get the error.

@RunninPigeon let me know if this is still happening for you in the latest version and i'll re-open


Update examples in accordance with decision in #105

The workgroup decides to wait for additional testing at Gent and Charleroi.
The SNOMED-CT issue is followed up by Philippe Cauchie and Tom Fiers.
We will use the CodeableConcept to indicate RIS. For the RIS specific LOINC code we put it in both the value and the interpretation.
Originally posted by @bdc-ehealth in https://github.com/hl7-be/lab/issues/105#issuecomment-1068163733
The usage of Observation.valueCodeableConcept for RIS has not yet made it to the examples in the repo. This should be improved?

@ArdonToonstra This only applies if there is no other value  apart from the interpretation. Is that what you understood as well?

@bdc-ehealth, I interpreted  "For the RIS specific LOINC code we put it in both the value and the interpretation." as that you would use both .valueCodeableConcept and .interpretation for RIS observations.
I would expect that you primarily use the .value[x] for the result of the lab test, which in this case would be the RIS value. The .interpretation information says something about the observation value. To me, it is odd that you would have an interpretation but not a result.

@ArdonToonstra During the discussions in the workgroup, it appeared to be possible that for some tests, there is only an interpretation available (i.e. if there is no quantitative result of a test, but only a qualitative one). In that case, the RIS code will be present in both interpretation and value.

@bdc-ehealth , in this example https://build.fhir.org/ig/hl7-be/lab/Bundle-antibiogramAsBundleNN.json.html,
should for example the Observation with id = 'org51-trimethoprim-sulfamethoxazole' be updated from
        "performer" : [
          {
            "reference" : "urn:uuid:7c16c9c0-c471-4098-ae18-48abcadd8d73"
          }
        ],
        "interpretation" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                "code" : "S",
                "display" : "Susceptible"
              }
            ]
          }

to
  "performer":  [
                    {
                        "reference": "urn:uuid:7c16c9c0-c471-4098-ae18-48abcadd8d73"
                    }
                ],
                "valueCodeableConcept": {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                            "code": "S",
                            "display": "Susceptible"
                        }
                    ]
                },
                "interpretation":  [
                    {
                        "coding":  [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                                "code": "S",
                                "display": "Susceptible"
                            }
                        ]
                    }

Or do I misunderstand the situation somehow?

No, you are right. We will take care of it.

Great! I imagine that fixing the examples is not a top priority. But It is also good to know we are on the same page.

@bdc-ehealth , nice work. I checked the example and looks good.


Need Help Setting up the secret key ?

How do i get the github secret tokem setup and in which repository should i have to create it in ?

Hi,
Did you even read the documentation?


String "License" invisible in Crowdin

The String "License" is invisible in Crowdin, but it needs to be translated too.

ok


[CVE-2021-3528] Remove satori/uuid dependency by updating stow

Change Overview
Updated Stow to remove indirect dependencies on satori/uuid https://github.com/kastenhq/stow/commit/c11a0e5f2e09d572e90e96d8a55c858ece358d5c
Before:
 $ go mod graph | ~/go/bin/gomodtree<EMAIL_ADDRESS><EMAIL_ADDRESS>|<EMAIL_ADDRESS>|   |   github.com/kanisterio/kanister
|   github.com/kanisterio/kanister ^^

After:
$ go mod why github.com/satori/go.uuid
# github.com/satori/go.uuid
(main module does not need package github.com/satori/go.uuid)

This will remove indirect dependency and address CVE-2021-3538
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test
[x] 👮🏼♂ Security

Issues

fixes #issue-number

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@julio-lopez QQ: Can we update the imports section here to directly import from kastenhq/stow? Until I remove that, the indirect dependency will not be removed


Audio Streaming on Andriod

Hello
Kivy is doing great but for just one reason I can not use it for my project
Kivy uses pygame in android as its audio provider and pygame can not handle audio streaming like mp3
for more details you can this too.
So here the request is if possible , please add this functionality to kivy,mean while I'll be glad if someone guide me to get streaming working in andriod using kivy,perhaps using some other SDKs like vitamio will help but I don't know if kivy can use it,some tips please
Thank you

I have the same issue with video files. Softboy.mpg works if included. Once it is located on a server it only works on the desktop but not on android.

video is a different issue than audio, you need to include ffmpeg with your
distribution for video playback, for streaming videos you will need to
compile the support for playing streams into the ffmpeg being included.
On Tue, Mar 10, 2015 at 5:35 AM, lanmasterlan<EMAIL_ADDRESS>wrote:

I have the same issue with video files. Softboy.mpg works if included.
Once it is located on a server it only works on the desktop but not on
android.
—
Reply to this email directly or view it on GitHub
https://github.com/kivy/kivy/issues/2462#issuecomment-77971164.

Thanks a lot for your help. I have ffmpeg included but it is not working on android.
I read on an outdated post that video streaming is only supported on Desktops as gstreamer is used but not on mobile platforms.
https://groups.google.com/forum/#!topic/kivy-users/fR06Zd-gLgw
I would be happy if someone could confirm this, or briefly explain how network video(/audio) streaming can be used on android.

I couldn't find a solution for even audio streaming and I STILL need this functionality
@akshayaurora Do you have  solution for Audio streaming only?

@tito Can we use other SDKs in kivy the same way you used Facebook SDK in this blog post ?

I'm working on an app with internet audio streaming being a goal. If anyone figures this out, post it so others can see your solution!

me too   ,,I  make apk  player video , use gstreamer  on ubunto is ok  ,but on android  not work

kivy.core.audio can not even load stream in Desktops I tried both kivy.uix.video and kivy.uix.videoplayer, these two widgets working on desktops,but not android ! I build the package using buildozer and this is How I gave perm android.permissions = INTERNET (I think it's default) But Not working ! Here is a working example code for desktop which does not work on android even with perm
from kivy.app import App
from kivy.uix.video import Video

class PamaApp(App):

    def build(self):
        player = Video(source='http://<IP_ADDRESS>:8090/rock_low.mp3', state='play', options={'eos': 'loop'})
        player.volume = 1
        return player

PamaApp().run()

What I do wrong ? Am I missing something ?

Did you get any solution for this?
I am actually new to kivy, I want to stream audio from spotify api to my kivy app. Is that even possible?


[Suggestion] Show Pagecount in Thumbnail

Hey, first off really glad that this project is seeing more development.
It would be really great if we could see the Pagecount in the corner of the thumbnail for each work. That way we can easily skip short comics without needing to open them.
Beyond that, not sure if this is easily implementable, but it would be great if we could set a minimum Pagecount as a filter similar to the tag search, that way people can hide stuff that is too short for their liking.
Thanks!

I agree that this would be nice. Putting this as a backlog point for now since first the code needs to be cleaned up a good amount.


Created a script locustfilegenerator to generate draft locust files.

locustfilegenerator.py is a script to grab our django project's apis and create testing functions automatically. We can add annotation such as @task(1) to enable a set of functions for locust. locustDemo.py is a sample generated by this script.
I will refine it later and build some benchmark scripts with that. And I hope this script will help a little.

How do I run this?

Just configure the locustfilegenerator script to your environment, and run it.

So whenever our api changes, we can always get the latest benchmark script draft.

Hi @aronasorman , the locust file is added as the watch a video.py. I will try to benchmark on loading the whole page. Have a good day!


deployment using capistrano

wondering if anyone has deployed an ember-cli-rails app using capistrano?
What should happen on the production server after deploy to ensure that the ember part of an ember-cli-rails app works?
I noticed that there are a couple of rake tasks (ember-cli:install_dependencies and ember-cli:compile). Should running both of those after deploy be sufficient ?

thanks :-)

Francois.
Our application is deployed using capistrano. It's not significantly
different from a regular Rails deployment other than that we need to run an
npm install once the source is on the server and add the node_modules/bin
path to the environment.
--Chris
On Tue, Feb 10, 2015 at 12:55 AM, Francois Harbec<EMAIL_ADDRESS>wrote:

wondering if anyone has deployed an ember-cli-rails app using capistrano?
What should happen on the production server after deploy to ensure that
the ember part of an ember-cli-rails app works?
I noticed that there are a couple of rake tasks
(ember-cli:install_dependencies and ember-cli:compile). Should running both
of those after deploy be sufficient ?

thanks :-)

—
Reply to this email directly or view it on GitHub
https://github.com/rwz/ember-cli-rails/issues/81.

So, since version 0.1.5 everything should just work. Make sure you run rake assets:precompile on each deployment and that your server has Node/NPM installed.

@jugglebird , @rwz -- thanks for the info, that helps.  I went ahead and installed node on my server and then deployed using capistrano. It looks like it almost works. When capistrano precompiles the assets, I can see that most of the ember dependencies get installed, but then it fails with the following error message:
NoMethodError: undefined method `directory?' for nil:NilClass
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:307:in `block in each_entry'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:303:in `each'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:303:in `each_entry'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:322:in `block in each_file'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:321:in `each'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:321:in `each_file'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:335:in `each_logical_path'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:115:in `each'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:115:in `to_a'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifest.rb:115:in `compile'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-rails-2.2.2/lib/sprockets/rails/task.rb:70:in `block (3 levels) in define'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-2.11.0/lib/rake/sprocketstask.rb:146:in `with_logger'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/sprockets-rails-2.2.2/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
/data/mytestapp/shared/bundle/ruby/2.1.0/gems/ember-cli-rails-0.1.4/lib/ember-cli/helpers.rb:46:in `block (2 levels) in override_assets_precompile_task!'

Will report back if I can track it down.

You can start by trying to run RAILS_ENV=production rake assets:precompile locally.

@rwz - after some trial and error I found that rake assets:precompile works successfully on production if I manually run 'bower install' within the ember project folder first.

I followed the heroku instructions for adding a "postinstall" script and now bower install runs correctly when I do my capistrano deploy.

@rounders Cool, glad it is working well.  Going to close this for now.  If you have any more concerns or questions just ping me and we can re-evaluate.

@rondale-sc I seem to run into the same problem. Exact error message, but this time it's originating from a missing bin folder in node_modules/ember-cli. I modified the postinstall to "postinstall": "bower install && npm install<EMAIL_ADDRESS>The version is needed otherwise 0.2.0-beta is installed. Because the errormessage is very generic and has lot of causes (wrong linking in ruby/capistrano config) that do not even point to ember, maybe some more advanced check if the Ember Build did succeed or not might be a very helpful hint to beginners like me.

pfffff ignore the part about the missing bin-folder... I'm also writing lost of c# code, and the bin folder is ignored by default in my bitbucket repositories :(.

Im also using the Capistrano deploy setup. When It hits the assets:precompile it fails saying
sh: 1: prune: not found
the logs are not telling me too much, but Im assuming it has to do with Node somehow.
Any advice?

@electricgraffitti Were you able to solve this?

@electricgraffitti @krnbatta
Just install graphviz (on ubuntu or debian):
apt install graphviz


App crashes on Android when joining a meeting

Your Environment

Plugin version: 0.0.7
Platform: Android
OS version: 6.0
Device manufacturer / model: Huawei ALE-L02
Flutter info (flutter doctor):
[✓] Flutter (Channel stable, v1.17.2, on Mac OS X 10.15.4 19E266, locale en-ZA)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[✓] Connected device (3 available)
• No issues found!

Plugin config:

NOT APPLICABLE (Using example code)

Expected Behavior
Zoom widget to work on both iOS and Android
Actual Behavior
On iOS the zoom widget opens and works perfectly.  On Android it works in debug mode, but when I build an App Bundle file and publish to the store, it crashes unexpectedly.
Steps to Reproduce

Build app bundle
Upload to Google play store
Download on device
Try to join Zoom meeting

Context
Join a Zoom meeting
Debug logs

Logs
06-18 12:00:35.428 13183-13205/? I/flutter: meetingid -<PHONE_NUMBER>7
06-18 12:00:35.428 13183-13205/? I/flutter: meetingpassword - 5YjNwP
06-18 12:00:35.465 13183-13183/? W/ResourceType: ResTable_typeSpec entry count inconsistent: given 87, previously 3110
06-18 12:00:35.465 13183-13183/? W/ResourceType: ResTable_typeSpec entry count inconsistent: given 1854, previously 1850
06-18 12:00:35.465 13183-13183/? W/ResourceType: ResTable_typeSpec entry count inconsistent: given 157, previously 852
06-18 12:00:35.468 2392-2392/? I/[Gralloc]: alloc w[656] h[468] format[1] usage[2304]
06-18 12:00:35.469 2392-2392/? I/[Gralloc]: alloc succ handle[0x55a6b5fe90] stride[656]
06-18 12:00:35.491 13183-13183/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.503 2392-2392/? I/[Gralloc]: alloc w[656] h[468] format[1] usage[3842]
06-18 12:00:35.505 2392-2392/? I/[Gralloc]: alloc succ handle[0x55a6b60460] stride[656]
06-18 12:00:35.505 13183-13205/? I/flutter: Created the view
06-18 12:00:35.505 13183-13183/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.514 3863-4464/? W/PGApi_client: recv actoionId = 10006, action = com.huawei.pgmng.PGAction@fcc075f actionId =10006 pkg =null extend1 =1102 extend2 = flag =2 type =1
06-18 12:00:35.533 2392-2500/? I/[Gralloc]: alloc w[720] h[48] format[1] usage[3842]
06-18 12:00:35.533 2392-2500/? I/[Gralloc]: alloc succ handle[0x55a6b60e10] stride[720]
06-18 12:00:35.534 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.534 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.534 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.535 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.536 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.536 3497-3497/? I/HwSecImmHelper: mSecurityInputMethodService is null
06-18 12:00:35.561 13183-13183/? E/flutter: [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/me.reddi.core-1/base.apk", zip file "/data/app/me.reddi.core-1/split_config.arm64_v8a.apk", zip file "/data/app/me.reddi.core-1/split_config.en.apk", zip file "/data/app/me.reddi.core-1/split_config.xhdpi.apk"],nativeLibraryDirectories=[/data/app/me.reddi.core-1/lib/arm64, /data/app/me.reddi.core-1/base.apk!/lib/arm64-v8a, /data/app/me.reddi.core-1/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/me.reddi.core-1/split_config.en.apk!/lib/arm64-v8a, /data/app/me.reddi.core-1/split_config.xhdpi.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libzoom_stlport.so"
        at java.lang.Runtime.loadLibrary(Runtime.java:379)
        at java.lang.System.loadLibrary(System.java:1086)
        at com.zipow.cmmlib.AppContext.<clinit>()
        at i.b.a.p.a()
        at c.b.a.c.b()
        at c.b.a.c.a()
        at e.a.c.a.j$a.a()
        at io.flutter.embedding.engine.e.b.a()
        at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage()
        at android.os.MessageQueue.nativePollOnce(Native Method)
        at android.os.MessageQueue.next(MessageQueue.java:330)
        at android.os.Looper.loop(Looper.java:137)
        at android.app.ActivityThread.main(ActivityThread.java:5621)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)
06-18 12:00:35.561 13183-13183/? A/flutter: [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env).
06-18 12:00:35.563 3863-26647/? I/PgedBinderListener: kstate callback type:8 value1=13183 value2=KILLED
06-18 12:00:35.563 3863-4425/? I/ash: removeProcessDependency pid:13183
06-18 12:00:35.577 2392-2392/? E/HAL: load: id=gralloc != hmi->id=gralloc
06-18 12:00:35.711 3145-3392/? W/AlarmManager: WAKEUP alarm trigger action = com.google.android.gms.gcm.HEARTBEAT_ALARM elapsed = 11185046
06-18 12:00:35.713 3145-3159/? I/SendBroadcastPermission: action:android.os.action.POWER_SAVE_TEMP_WHITELIST_CHANGED, mPermissionType:0
06-18 12:00:35.923 2406-2406/? E/DEBUG: AM write failed: Broken pipe
06-18 12:00:35.997 3145-3145/? I/SendBroadcastPermission: action:android.intent.action.DROPBOX_ENTRY_ADDED, mPermissionType:0
06-18 12:00:35.997 2742-3075/? I/logserver: handle_logfile_events, Object Path:/data/system/dropbox/, mask=0x00000080
06-18 12:00:35.997 2742-3075/? I/logserver: process_one_event, event->len=48<EMAIL_ADDRESS>06-18 12:00:35.997 2742-3075/? E/logserver: process_one_event, can not find this<EMAIL_ADDRESS>06-18 12:00:35.997 2742-3075/? I/logserver: clean_cur_cache:999, system(rm -r /data/log/logcache/-147396304/* > /dev/null 2>&1)
06-18 12:00:36.019 2742-3075/? I/logserver: handle_logfile_events, Object Path:/data/system/dropbox/, mask=0x00000080
06-18 12:00:36.019 2742-3075/? I/logserver: process_one_event, event->len=48<EMAIL_ADDRESS>06-18 12:00:36.019 2742-3075/? I/logserver: find_first_match: find match, plogs(type=1, pfile=/data/system/dropbox/, match=TOMBSTONE)
06-18 12:00:36.019 2742-3075/? I/logserver: is_only_tombstone, tombstone type force close.
06-18 12:00:36.026 2742-3075/? I/logserver: is_all_ready, any file is ready in non-keyfile exception.
06-18 12:00:36.026 2742-3075/? I/logserver: find_correspond_tombstone, tombs=/data/tombstones/tombstone_08
06-18 12:00:36.026 2742-3075/? I/logserver: extract_appname, forward search, appname=me.reddi.core
06-18 12:00:36.026 2742-3075/? I/logserver: is_only_tombstone, tombstone type force close.
06-18 12:00:36.026 2742-3075/? I/logserver: archive_and_send, only tombstone.
06-18 12:00:36.026 2742-3075/? I/logserver: get_fault_appname, appname=me.reddi.core
06-18 12:00:36.026 2742-3075/? I/logserver: archive_and_send, pos=0, type=crash, output=20200618120036_tombstone
06-18 12:00:36.026 2742-3075/? I/logserver: ---copy_match_files enter!!--
06-18 12:00:36.026 2742-3075/? I/logserver: [copy_match_files,864]: copy<EMAIL_ADDRESS>to<EMAIL_ADDRESS>06-18 12:00:36.026 2742-3075/? I/logserver: get_fault_appname, appname=me.reddi.core
06-18 12:00:36.026 2742-3075/? I/logserver: handle_archive_exception, BASIC_MODE
06-18 12:00:36.027 2742-3075/? I/logserver: remove_last_modify_file, into 1 times, file_dir:
06-18 12:00:36.027 2742-3075/? I/logserver: remove_last_modify_file, into 1 times, file_dir:
06-18 12:00:36.027 2742-3075/? I/logserver: get_disk_available_size, Disk_available =<PHONE_NUMBER> B = 4863 MB
06-18 12:00:36.027 2742-3075/? I/logserver: pack_files, output_path is /data/log/unzip.
06-18 12:00:36.027 2742-3075/? I/logserver: move_input_files, create dir [/data/log/unzip/ALE-L02_ALE-L02C190B584_0000000000_20200618120036_tombstone]
06-18 12:00:36.028 2742-3075/? I/logserver: handle_archive_exception, into set notify_type
06-18 12:00:36.028 2742-3075/? I/logserver: get_notify_mode, 1
06-18 12:00:36.029 2742-3075/? I/logserver: Process 3075 opened FIFO(12) for O_WRONLY
06-18 12:00:36.029 2742-3075/? I/logserver: notify_logcontrol, 3075 sent /data/log/unzip/ALE-L02_ALE-L02C190B584_0000000000_20200618120036_tombstone
06-18 12:00:36.029 2742-2742/? I/logserver: process_event
06-18 12:00:36.029 2742-2742/? I/logserver: handle_fifo_msg, read res = 460, client pid = 3075, command = send log, data=/data/log/unzip/ALE-L02_ALE-L02C190B584_0000000000_20200618120036_tombstone
06-18 12:00:36.029 2742-2742/? I/logserver: handle_fifo_msg, 3075 sent /data/log/unzip/ALE-L02_ALE-L02C190B584_0000000000_20200618120036_tombstone
06-18 12:00:36.029 2742-3074/? I/logserver: thread_logcontrol: /data/log/logcontrol has changed.
06-18 12:00:36.029 2742-3075/? I/logserver: check_dir_size, dir[/data/log/coredump/] doesn't exist
06-18 12:00:36.029 2742-3075/? I/logserver: clean_cur_cache:999, system(rm -r /data/log/logcache/-147396304/* > /dev/null 2>&1)
06-18 12:00:36.029 2742-3074/? I/logserver: handle_notify_event, send msg [submit:trigger=0,bugtype=12,modulename=me.reddi.core,level=1,testtype=NORMAL,path=/data/log/unzip/ALE-L02_ALE-L02C190B584_0000000000_20200618120036_tombstone,mode=1;]
06-18 12:00:36.029 2742-3074/? I/logserver: send_to_client, send to (9) res = 165
06-18 12:00:36.075 3145-3398/? W/InputDispatcher: channel 'bc5f157 me.reddi.core/me.reddi.coreapp.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
06-18 12:00:36.075 3145-3398/? E/InputDispatcher: channel 'bc5f157 me.reddi.core/me.reddi.coreapp.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-18 12:00:36.075 3145-3398/? W/InputDispatcher: channel '9d1f5bc me.reddi.core/me.reddi.coreapp.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
06-18 12:00:36.075 3145-3398/? E/InputDispatcher: channel '9d1f5bc me.reddi.core/me.reddi.coreapp.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-18 12:00:36.076 2420-2420/? I/Zygote: Process 13183 exited due to signal (6)
06-18 12:00:36.076 2392-3171/? I/[Gralloc]: alloc w[240] h[428] format[1] usage[819]
06-18 12:00:36.077 2392-3171/? I/[Gralloc]: alloc succ handle[0x55a6b6a950] stride[240]
06-18 12:00:36.078 2392-2392/? E/HAL: load: id=gralloc != hmi->id=gralloc
06-18 12:00:36.088 2392-2392/? E/libEGL: eglDestroySurface: native_window_api_disconnect (win=0x55a6af5540) failed (0xffffffe0)
06-18 12:00:36.088 2392-2392/? W/libEGL: EGLNativeWindowType 0x55a6af5540 disconnect failed
06-18 12:00:36.089 3145-3521/? W/InputDispatcher: Attempted to unregister already unregistered input channel 'bc5f157 me.reddi.core/me.reddi.coreapp.MainActivity (server)'
06-18 12:00:36.098 3145-3940/? W/InputDispatcher: Attempted to unregister already unregistered input channel '9d1f5bc me.reddi.core/me.reddi.coreapp.MainActivity (server)'
06-18 12:00:36.102 3863-4464/? W/PGApi_client: recv actoionId = 10010, action = com.huawei.pgmng.PGAction@69845ac actionId =10010 pkg =com.huawei.android.launcher extend1 =1102 extend2 = flag =3 type =1
06-18 12:00:36.102 3863-4464/? W/PGMiddleWare: in handleAction method, action = 10010
06-18 12:00:36.103 3863-4464/? W/PGMiddleWare: in handleAction, invoke client = com.huawei.pgmng.middleware.AudioEffectLowPowerImpl@d1c5389, action = com.huawei.pgmng.PGAction@69845ac actionId =10010 pkg =com.huawei.android.launcher extend1 =1102 extend2 = flag =3 type =1
06-18 12:00:36.103 2390-2390/? E/lowmemorykiller: Error opening /proc/13183/oom_score_adj; errno=2
06-18 12:00:36.109 3145-3145/? I/SendBroadcastPermission: action:android.intent.action.DROPBOX_ENTRY_ADDED, mPermissionType:0
06-18 12:00:36.121 3563-4140/? I/HwSystemManager: NotificationGuideService:handle MSG_ACTIVIY_FOREGROUND, uid:10052
06-18 12:00:36.129 3919-3919/? I/HwLauncher: Launcher onStart()
06-18 12:00:36.129 3919-3919/? I/HwLauncher: Launcher dynamicIconsRegister
06-18 12:00:36.130 3919-3919/? I/HwLauncher: DynamicUpdater registerReceiver
06-18 12:00:36.136 3145-3156/? E/HsmCoreServiceImpl: onTransact in code is: 102
06-18 12:00:36.136 3145-3156/? I/MediaProcessHandler: processOp opType: 1, uid: 10174, pid: 13183
06-18 12:00:36.136 3145-3156/? W/MediaProcessHandler: remove target not exist, maybe the UI process: uid: 10174, pid: 13183
06-18 12:00:36.155 3919-3919/? I/HwLauncher: DynamicUpdater call updateFolder
06-18 12:00:36.157 3919-3919/? I/HwLauncher: DynamicIcon onResume  isvisible = true   mAttachedToWindow:false    mWindowVisible:falsecom.android.deskclock
06-18 12:00:36.157 3919-3919/? I/HwLauncher: DynamicUpdater registerReceiver
06-18 12:00:36.159 3919-3979/? E/HwLauncher: SettingsEx , no such field.
06-18 12:00:36.160 3919-3979/? W/HwLauncher: Clock getDataFormat the getSystemString failed.
06-18 12:00:36.162 3919-3979/? I/HwLauncher: DynamicIconData , getDrawableForDynamic begin, pkg = com.android.deskclock, picName = deskclock_bg
06-18 12:00:36.163 3919-3979/? I/HwLauncher: DynamicIconData , getDrawableForDynamic end, pkg = com.android.deskclock, picName = deskclock_bg
06-18 12:00:36.166 3919-3979/? I/HwLauncher: ClockDynamicUpdater clock update folder at ClockDynamicUpdater
06-18 12:00:36.166 3919-3979/? I/HwLauncher: DynamicUpdater updateBitmap end and send update message
06-18 12:00:36.170 3145-5691/? I/AccountManagerService: getTypesVisibleToCaller: isPermitted? true
06-18 12:00:36.171 3919-3919/? I/HwLauncher: DynamicUpdater call updateFolder
06-18 12:00:36.171 3919-3979/? I/HwLauncher: WeatherDynamicUpdaterpositiveUpdate at WeatherDynamicUpdater
06-18 12:00:36.171 3919-3919/? I/HwLauncher: DynamicIcon onResume  isvisible = true   mAttachedToWindow:false    mWindowVisible:falsecom.huawei.android.totemweather

Hi,
Could you check if you have added the zoom Proguard content to your Android project? https://github.com/zoom/zoom-sdk-android/blob/master/proguard.cfg

Hi,
I did not add the proguard.cfg
I am a bit new to flutter, would you be able to give me a link to steps to do this or a tutorial?

Please add proguard-rules.pro in android > app folder and also use proguard file in build.gradle
buildTypes {         release {             shrinkResources true             minifyEnabled true             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'             signingConfig signingConfigs.release         }     }

Where:
Build file '~/AndroidStudioProjects/flutter_zoom_plugin/android/build.gradle' line: 38

What went wrong:
A problem occurred evaluating project ':flutter_zoom_plugin'.

Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.FactoryNamedDomainObjectContainer.

Please note that I did follow @sudip92 suggestion but it seems that the release property cannot be found. Do I need to declare it inside the android context? If so, how do I go on about it?

Please add proguard-rules.pro in android > app folder and also use proguard file in build.gradle
buildTypes {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}

I have the same issue, I tried after adding the proguard file but it didn't make any difference, the plugin works fine in debug mode, but in release it's just an instant crash.

Found a fix for the issue, no need for proguard, just build with --no-shrink tag, the reason why it works in debug mode is that it's not shrinked

Hi,
Could you check if you have added the zoom Proguard content to your Android project? https://github.com/zoom/zoom-sdk-android/blob/master/proguard.cfg

hi, but the link is inactive now, there is no page

Hi,
Could you check if you have added the zoom Proguard content to your Android project? https://github.com/zoom/zoom-sdk-android/blob/master/proguard.cfg

hi, but the link is inactive now, there is no page

hi, @arbyazra123 did you make zoom integrated as participant inside the flutter app if so I have paid task for you Whatsapp me or email me<EMAIL_ADDRESS>- +201148037467

hi, @arbyazra123 did you make zoom integrated as participant inside the flutter app if so I have paid task for you Whatsapp me or email me<EMAIL_ADDRESS>- +201148037467

Found a fix for the issue, no need for proguard, just build with --no-shrink tag, the reason why it works in debug mode is that it's not shrinked

Tried. It's working :)

Found a fix for the issue, no need for proguard, just build with --no-shrink tag, the reason why it works in debug mode is that it's not shrinked

Not worked. Any other solution?

your proguard-rules.pro file has to be
-keep class us.zoom.** { *; }
-keep class us.zipow.** { *; }
-keep class com.zipow.** { *; }
-keep class org.webrtc.** { *; }

-dontwarn us.zoom.**
-dontwarn com.zipow.**


FR/3045044 : UFM to present multi-subnets - gRPC API for Events/Alerts notification

Signed-off-by: Elad Gershon<EMAIL_ADDRESS>

bot:retest


Prevent editing historical/archival schedules (IETFDB 3166)

Note:  Oops, this should have been named "tix3166".
The datatracker has a graphical, drag-and-drop interface for scheduling sessions in a meeting.  (http://localhost:8080/meetings/NNN/agenda/edit) Nothing prevents the owner of the schedule from updating the schedule after the meeting has occurred, which causes database inconsistencies.  This is bad, and we should stop that.
This change updates the schedule_permissions() method in ietf/meetings/helpers.py to consider this in the calculation of permissions.  It adds a model method to assist in this, so that the model method can also be called in the views to decide whether to show a more specific message about the denied permissions.
Tests are added to boot.

This was committed to SVN and included in datatracker releases a while back. Closing without merging to the now-stale dev branch.


Install doesn't install NetworkConnection or other web libraries under network directory

What platform/OS are you using?
Linux , Ubuntu 16.04
What compiler are you using? what version?
g++ 5.4.1
What's your CMake arguments?
cmake     -DCMAKE_BUILD_TYPE=Release   -DENABLE_TESTING=OFF   -Wno-dev   ..
Can you provide a TRACE level log? (sanitize any sensitive information)
The issue is that make install with cmake, doesn't include the network  directory, hence your samples aren't buildable outside of the original cmake directory structure.

Hi, what do you mean by "NetworkConnection", "web libraries" and "network directory"?
We are using libcurl for linux for example, that means you need to install it separately from cpp sdk.

Sorry about the lack of clarity.
What I meant was that after make install, the files OpenSSLConnection.{cpp,hpp} and ConfigCommon.{hpp,cpp} never made it into the AWS library.
The config one isn't a big deal, but so many of your samples rely on the functionality in the OpenSSLConnection files that it kind of requires a lot more work to build the aws-iot library and then the user has to compile in these files as well.

Are you posting this issue in the wrong repo?
What I found out is that OpenSSLConnection.cpp and ConfigCommon.cpp belong to this repo: https://github.com/aws/aws-iot-device-sdk-cpp/

You are correct, pardon my gaffe


⚠ Bofrost.at has degraded performance

In 7319dd2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1499 ms

Resolved: Bofrost.at performance has improved in 7fd591d.


Amplify codegen models is creating id when primarykey is specified

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.14.0
Amplify CLI Version
8.0.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Amplify Categories
api
Amplify Commands
codegen
Describe the bug
When specifying the following model.
type Todo @model {
  key: ID! @primaryKey
  name: String!
  description: String
}

I'm still getting an id field in the files created by amplify codegen models
Expected behavior
I expect the DataStore to adhere to the primaryKey directive.
Reproduction steps
Create a schema as described and then do amplify codegen models
GraphQL schema(s)

type Todo @model {
  key: ID! @primaryKey
  name: String!
  description: String
}

Log output

# Put your logs below this line

Additional information
schema.js

export const schema = {
    "models": {
        "Todo": {
            "name": "Todo",
            "fields": {
                "id": {
                    "name": "id",
                    "isArray": false,
                    "type": "ID",
                    "isRequired": true,
                    "attributes": []
                },
                "key": {
                    "name": "key",
                    "isArray": false,
                    "type": "ID",
                    "isRequired": true,
                    "attributes": []
                },
                "name": {
                    "name": "name",
                    "isArray": false,
                    "type": "String",
                    "isRequired": true,
                    "attributes": []
                },
                "description": {
                    "name": "description",
                    "isArray": false,
                    "type": "String",
                    "isRequired": false,
                    "attributes": []
                },
                "createdAt": {
                    "name": "createdAt",
                    "isArray": false,
                    "type": "AWSDateTime",
                    "isRequired": false,
                    "attributes": [],
                    "isReadOnly": true
                },
                "updatedAt": {
                    "name": "updatedAt",
                    "isArray": false,
                    "type": "AWSDateTime",
                    "isRequired": false,
                    "attributes": [],
                    "isReadOnly": true
                }
            },
            "syncable": true,
            "pluralName": "Todos",
            "attributes": [
                {
                    "type": "model",
                    "properties": {}
                },
                {
                    "type": "key",
                    "properties": {
                        "fields": [
                            "key"
                        ]
                    }
                }
            ]
        }
    },
    "enums": {},
    "nonModels": {},
    "version": "fe2b4ee8f0b0a06f4de46e98893aaf50"
};

Additionally it looks like when using the Datastore the subscriptions are looking for the id column which doesn't exist on the server.

Hi @kddejong, this is a known gap in DataStore interacting with a customer Primary Key today. If you refer to the Javascript DataStore docs https://docs.amplify.aws/lib/datastore/relational/q/platform/js/ we do call out that you'll need to explicitly set the id column as well. We are actively working on resolving this feature parity issue, and will be releasing support in the future.

Hey @kddejong I ran into the same issue and saw your comment. But I ran into another issue is that I cannot override the id column with @primaryKey when creating new item. It seems like amplify is ignoring the @primaryKey notation.

Hi @kddejong, @shrentseng, the team has just merged in support for custom primary keys into the JS library, the next release of the aws-amplify library should add support for custom primary keys, resolving the issues you're seeing here. We are not enabling this functionality for all projects right now, but leaving it behind a feature flag you can enable in the /amplify/cli.json file, called respectPrimaryKeyAttributesOnConnectionField. In order to take advantage of this, once you've upgraded to aws-amplify >4.3.37 (not yet released), you can enable this functionality by flipping that flag to true.
Note: If you use Amplify Studio for CMS or Data Modeling functionality, I'd recommend against enabling that flag for now, as it will cause render issues in Studio. We are working through those issues, and will enable this functionality by default once resolved.

I'm getting the same issue - I am using a custom primary key name and an id field is still being added.
userID : ID! @primaryKey
my "respectprimarykeyattributesonconnectionfield": true,  was already set by default. I'm using version "@aws-amplify/core" "5.0.16"

Just hit this issue in our Swift project.
Manually removed the offending id fields in the generated code and switched to specifying a primaryKey(fields:) in model.attributes.

I'm also running into this for my typescript/react project. If I leave the field name as id in the model, then it does work as expected (even when "id" is annotated as @primaryKey). But as soon as I change the name of the @primaryKey field, it stops working.
The behavior that I see is that the Mutationcreate<ENTITY>init0Function pipeline resolver is still generates $util.qr($ctx.stash.defaultValues.put("id", $util.autoId())) instead of using the custom field name there. This value gets merged into the defaults and when the entity eventually gets created in Dynamo, it has this id field and default value merged into the final object. More importantly though, the actual @primaryKey field is not getting an auto-generated value. Furthermore, the GraphQL schema has the @primaryKey field marked as required on create, instead of allowing the field to be optional and populated with a default value in the resolver. I can confirm that when the @primaryKey is id, the createMutation input has it as optional and it does get auto-populated in the resolver. So it seems like the code generation just isn't taking the primaryKey field into account when generating the resolvers and GraphQL schema (though the actual dynamoDB table does have the custom field as the primary key).
For some context, here is the change I have in my schema.graphql:
type Zone @model {
-  id: String! @primaryKey
+  zoneId: String! @primaryKey
   title: String!

and you can see from my schema.json that the id field is now required for the create input:
{
         "kind" : "INPUT_OBJECT",
         "name" : "CreateZoneInput",
         "description" : null,
         "fields" : null,
         "inputFields" : [ {
-          "name" : "id",
+          "name" : "zoneId",
           "description" : null,
           "type" : {
+            "kind" : "NON_NULL",
+            "name" : null,
+            "ofType" : {
               "kind" : "SCALAR",
               "name" : "String",
               "ofType" : null
+            }
           },
           "defaultValue" : null
         },

It would be great if this can be fixed before I need to push to production (since the primaryKey fieldname change requires drop/replace on the whole table), but for now I'm going to limp along with the default "id" field name.


Added option for local file use instead of AMF_CVs

Add the option for using a local copy of the tsv files instead of always getting data from GitHub to the new FileInfo class.

Need to decide how to use local files for instrument vocabs repo as well as the AMF_CVs repo

Require instrument tsv files to be put in same directory as AMF_CVs locally, e.g. if AMF_CVs can be found at /path/to/folder/v2.1.0/product-definitions/tsv/<data-product or _common>, then you must also be able to fine /path/to/folder/v2.1.0/product-definitions/tsv/_instrument_vocabs/{ncas,community}-instrument-name-and-descriptors.txv


enhacement: shouldn't fire the onRemove event on every closed tab in user browser

In the BrowserUtils class, there is always a listener on the browser to the onRemove event, it is not working with any tab closed in the browser and that shouldn't be the way it is handled, because each time any tab closed CK extension will be locked. However, that should be fired only in special cases.

We will not be able to keep the CK popup always open if another window opened like MM window.

https://stackoverflow.com/questions/61511542/keep-browser-extension-popup-open-when-a-child-window-is-closed-via-window-clos#comment108818578_61511542
https://developer.chrome.com/docs/extensions/mv3/faq/#faq-persist-popups

Blocked by #140


DB2 Row Validation - throwing error for Random rows as 50000

In Row Validation - Field Comparison between DB2 (source) and Big query(target) with source having ~8mn records is failing for random 50k records
Command Used :
data-validation validate row
-sc DB2_CONN
-tc BQ_CONN
-tbls DB2INST1.STOCK_PRICE_DVT=rite-aid-371612.bq_dvt.stock_price_dvt
--primary-keys id
-comp-fields stk_id,symbol,volume
-rr
-rbs 50000
--bq-result-handler rite-aid-371612.data_validator.results
Error :
Exception: Statement Execute Failed: [IBM][CLI Driver] CLI0100E  Wrong number of parameters. SQLSTATE=07001 SQLCODE=-99999

Following command ran with 30000 random records with more columns to compare :
data-validation validate row
-sc DB2_CONN
-tc BQ_CONN
-tbls DB2INST1.STOCK_PRICE_DVT=rite-aid-371612.bq_dvt.stock_price_dvt
--primary-keys id
-comp-fields stk_id,symbol,stock_date,high,low,volume,adjusted,stock_load_date,is_active
-rr
-rbs 30000
--bq-result-handler rite-aid-371612.data_validator.results
Output : Succeeded
Time Taken : ~ 24 mins 45 secs


First pass of a SkillManifest model.

Added comments to Skill implementation and some further TODO stubs
Added SkillManifest class to handle deserializing our initial example of a manifest
Added simple deserialization test to kick-start manifest parsing work

@lzc850612 - Light refactoring and SkillMiddleware added as a placeholder ready as per our conversation.