Implement WASM text format writer

Implement WASM text format writer with (nearly) the same output as wasm2wat.

Codecov Report

Merging #88 into master will increase coverage by 0.45%.
The diff coverage is 73.54%.

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage    67.7%   68.16%   +0.45%
==========================================
  Files          32       33       +1
  Lines        3010     3267     +257
==========================================
+ Hits         2038     2227     +189
- Misses        737      795      +58
- Partials      235      245      +10

Impacted Files
Coverage Δ

wasm/section.go
49.28% <100%> (+0.08%)
:arrow_up:

wast/write.go
73.43% <73.43%> (ø)

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 f330551...9544b71. Read the comment docs.

@sbinet PTAL


Expand lit labs page to more clearly indicate status

The https://lit.dev/docs/libraries/labs/ page is currently very minimal, and doesn't give a clear indication of the readiness of each library.
We should expand this page to more clearly indicate the status of each library.
Maybe also find or create a GitHub discussion page for each one where we can invite feedback, and link those.
Could also consider a scheme suggested by @e111077 to come up with a structured scheme for describing the status of each library, RFC style.

pretty sure you can make github discussion categories so multiple discussions can take place

Completed with https://github.com/lit/lit.dev/issues/839


Radar2 adapter fails to start due to missing net-tools package

The new "Radar 2.0" adapter fails, as it cannot spawn the arp program (contained in net-tools).
I propose to include net-tools in the container.
See https://forum.iobroker.net/topic/23164/radar-2-adpater-will-einfach-nicht-laufen
Regards
Werner

Then you need to install it in the container before?

Yes - before installing Radar 2.0, you have to install the net-tools package to the container.
I'm fully aware of the fact, that it's quite easy to install it - in fact it's a simple
apt-get update && apt-get install net-tools
but you have to do every time you update the image/container to a new version.
This is why i thought it convenient to have it in the base image and opened the issue, as net-tools also is not really big.
Other solutions are of course creating an own, adapted image.
Well, the tradeoff IMHO on one side to support as many adapters as possible without creating an image carrying lots of unnecessary stuff ... that i happily leave to the maintainers to decide ;)

RTFM...
Please use env "PACKAGES" to install additional packages! For more informations see readme.md.
If I would add every requested package for every adapter it would blow up the image a lot... So i decided to add the PACKAGES variable and only include packages needed to run iobroker core to the image by default...
Regards,
André


api, pdctl: support set store state.

Sometime we want to recover store from wrong state. Sometime we want to cancel removing a store.

/run-integration-test

LGTM
PTAL @huachaohuang

LGTM

/run-all-test

I saw the original commit to add state set command in pd-ctrl, why it was removed?

@cofyc It's a dangerous feature. We only want experts to use it.


feat(directory-prompt): add directory type prompt plugin to inquirer

When writing my generators, I found myself needing to ask the user, "where would like like to put this new component?" so I built a plugin for Inquirer that adds a new "directory" type prompt that allows users to select a directory relative to a given "basePath". I tried to get this new prompt type merged into the core of Inquirer, but the maintainer thought it would be better served as a plugin.
I think that this could be a common use-case for plop.js users (and plop doens't currently support any way of manually extending inquirer) so I am attempting to add my plugin here.
To read more about this plugin, you could visit Inquirer-directory's github repo.
If you like and decide to merge this in, I'd be happy to write some documention somewhere to let user know that is is available.

I think this is great. I also think that plop should expose a way to customize both inquirer and handlebars without having to expose every API. Also, hi @nicksrandall 👋

hi @nicksrandall, nice work! I agree this would be beneficial for many people, but I think what I'd like to do is add an "addPrompt" function to plop so developers can add any inquirer plugin. We could then maintain a separate MD file that lists inquirer plugins that other developers have found useful when working with plop. thoughts?

I'm ok with that.

closing in favor of the approach taken in #11


//usr/local/lib/libfftw.a(fftwnd.o): relocation R_X86_64_32 against `.rodata.str1.1'

My system environments are as follows:
gcc version is 4.8
cuda version is 9.0
cudnn version is 7.1.4
I had installed the Curvelab-2.1.3 in FDCT and fftw-2.1.5 in FFTW, and installed the swig-4.0.2.
However, when I run the "python setup.py build install",  an error happened.

Please. how can I do next?

Hello XeChen,
have you found a solution yet?
I have a similar error. After having installed Curvelab-2.1.3 and fftw-2.1.5, when I run "python3 setup.py build install", I get this error message:
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/pyct/fdct2_wrapper.o build/temp.linux-x86_64-3.8/pyct/fdct2_wrapper_wrap.o -L/home/fabian/Applications/CurveLab-2.1.3/fdct_wrapping_cpp/src -L/home/fabian/Applications/fftw-2.1.5/lib -lfdct_wrapping -lfftw -o build/lib.linux-x86_64-3.8/pyct/_fdct2_wrapper.cpython-38-x86_64-linux-gnu.so /usr/bin/ld: /usr/local/lib/libfftw.a(putils.o): relocation R_X86_64_PC32 against symbol fftw_node_cnt' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-g++' failed with exit status 1`
I suppose it has to do with the fact that fftw sets up the libraries statically, and somehow this causes a problem for PyCurvelab. I tried installing fftw-2.1.5 with the configure option --enable-shared for shared libraries, and this removed the error. However, in that case, CurveLab itself doesn't find the libfftw-files anymore (which it told me when I executed make test in the curvelab-folder), and so PyCurvelab still doesn't work.
I also tried to install instead the Python-2 version, but I encountered exactly the same problems.
I really don't know how to fix this problem, because I m following the exact installation instructions for FFTW, CurveLab and PyCurveLab from the respective websites, and it just does not work.
I have Ubuntu 20.04 with Python 3.8.5 and gcc Version 9.3.0.

Okay, it seems that I solved the problem by following the "Tips and Tricks for Dependencies" from the PyCurvelabLops README


Use SendGrid with Java Functions

Would be great to show an example of using SendGrid from a Java function.

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

ID: f981eebe-0bfe-a4eb-0dc5-8703df171f80
Version Independent ID: c0cbd00a-defe-8856-9f4f-b66895d53ca0
Content: How to use the SendGrid email service (Java)
Content Source: articles/store-sendgrid-java-how-to-send-email.md
Service: multiple
GitHub Login: @thinkingserious
Microsoft Alias<EMAIL_ADDRESS><EMAIL_ADDRESS>vibhork

@cowinr Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@cowinr Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


Add argument prevent interactive prompt

Hi @ritz078
Can you add an arg like this -y to prevent interactive prompt?
Regards.

Why would you like to do that ?

It's an idea to don't lost time. 😸

but if you don't need the prompt, you are going to select all that you can do with starring --all. That won't show you the prompt.

For --all you have the question:
Are you sure you want to star all the 21 repos ?

removed in 0.2.0


[Bug] image cache problem

The image in my profile README
is not updated immediately as expected.
(Checked that the file in Cloudinary is updated successfully)
Clues:

[ ] Cloudinary cache
[x] GitHub readme image cache
[ ] browser cache

https://support.cloudinary.com/hc/en-us/articles/360001208732-What-URL-conventions-are-invalidated

https://dev.to/jcubic/github-action-to-clear-cache-on-images-in-readme-5g1n

Adding invalidate: true
Somehow influenced image scrapping
so I removed it temporarily.

Cache-control across user browsers is related to add header parameters to the image response, which might be hosted by GitHub.
Remain unsolved.

Besides, I faced this problem while running this action.
Going to try to show my avatar via Gist
rather than Cloudinary & profile README.

For a hot fix,
use RMagick to check the percentage of white pixels over all, and retry if needed.


Added the ability to show closed prs

In the pull request you can now choose if you want to show open or closed pr's.
This is coppeled lose from getting a pr by number, because that needed a different approach.

fix #111

Instead of using properties and putting them on separate elements, I think it is easier to fire an event in the on-tap. Then add the listener where the ajax is to generate the request.

Then you need a behaviour to listen to it, otherwise it's out of the scope of the class right.

No you can set the on-* listener on any parent, events bubble up to root by default.

I will change it.
Thanks for the suggestion

LGTM! Please add one more test to verify it works :)


How to upload a photo

How does one send a photo from a local path "C:\somedir\thisimage.jpg"?

something like
using (var photoStream = File.Open(filename, FileMode.Open))
{
  var file = new FileToSend("Filename.jpg", photoStream);
  await Bot.SendPhoto(chatId, file);
}


Added Circuit Breaker feature

Please see the new Circuit Breaker section added to README.md to know how to use the new feature.

@ricardozanini I committed the suggested changes

@fjtirado can you also take a look at this, please?

Thanks for the review @fjtirado.
I committed the requested changes.

@hbelmiro can you please reabase?

@hbelmiro can you please reabase?

Done @ricardozanini.

@all-contributors please add @hbelmiro for code


[FIX 🛠] Navbar not working #142

Issue #142 📐

I https://github.com/abdulrehmanjaved-1 have worked for #142

Guidelines 🔐
I accept the fact that I have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #142

Screenshots 📷
Here are the pictures of changes that I have made 🔽

Fix your name in PR template
Remove the issue number from the end of PR title

Okay.


Is there a way to remove the [DEBUG] messages from output?

Before submitting an issue, make sure you have:

[X] Updated to the lastest version
[X] Read the README
[X] Searched the bugtracker for similar issues including closed ones
[X] Reviewed the sample code in tests and examples

Which example file are you using?
like_users_from_file.py
Describe your Question/Issue:
In the last versions the output is verbose with lots of DEBUG messages. Is it possible to remove the DEBUG messages?

I rather have you not do that. There are a lot of issues currently.


List Verbage Change

Removed the and in the list of datatypes as it's a list so adding a random and in there doesn't make sense and kills readability.

@SeanGallardy : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

Verified editorial correction.


Enable use of Google maps libraries

I'd like to be able to use google maps additional libs (https://developers.google.com/maps/documentation/javascript/libraries) such as:

geometry
places

Suggestions for solution:

Use an extended option for giving the libraries to load and then append them to the url used to load google maps

...aaaaand I found the options already in place... closing this.


Criterias with extra options can pass through.

This is a really tiny change and i don't think it would disrupt any tests etc.
Basically, our team works on custom Waterline Adapters and one of things that is required is to have changes to the Query language. Currently if we pass custom options to the criteria, it is automatically mixined into where.
So model.find({opt1: {}) becomes model.find({where: {opt1: {}}).
If we explicitly have a where then this doesn't happen so
model.find({where: {name: 'abc'}, opt1: {}}) remains unchanged.
BUT :exclamation: model.find({where: {}, opt1: {}}) :arrow_right: model.find({where: {opt1: {}}})
The only thing this PR is doing is model.find({where: {}, opt1: {}}) remains unchanged.
I think this is a reasonable intended behavior!

@gaurav21r I was actually mocking something similar to this up today. Basically we need a way to pass arbitrary data down from a query to the adapter that isn't processed by Waterline. This could include things such as an active connection to a database or extra config options, etc.
I thought of adding it to the criteria object as a quick fix but it seems a bit hacky and would be harder to ensure it isn't modified along the way. I would like a standalone argument that gets passed in.
The current function signatures are pretty widespread so I'm hesitant to break those. Would everyone be completely disgusted if I added an argument AFTER the cb argument?
find: function find(connectionName, collectionName, options, cb, metadata) {}

@particlebanana Sorry for the delayed response. Great to know we are not alone with this use case!
Our requirement (a little lopsided though) is to get User credentials from a Database in order to communicate via a REST api.
Your proposal seems superior. But I think it breaks the node style callbacks which is a term oft used in the JS world (dunno what it means exactly). cb is no longer the last argument to the function. Will it break things like Promisify ?
@particlebanana Why I chose this format was because, when the where is already a non null object, it works as expected. model.find({where: {name: 'abc'}, opt1: {}}) remains unchanged. But why does model.find({where: {}, opt1: {}}) :arrow_right: model.find({where: {opt1: {}}}) ?
This seemed non standard behaviour and so I thought this was the best way to handle this.

I wouldn't love an argument after the callback.  I'd much prefer a metadata key in the options.

I wouldn't love an argument after the callback. I'd much prefer a metadata key in the options.

it breaks the node style callbacks

@gaurav21r @devinivy completely agree with you guys-- it's just that we clone/normalize those options a great deal, and existing adapter code may be relying on having exactly the expected keys in there.  The argument after the callback is sort of an immediate-term solution that we can use without breaking existing adapters.  Longer term, I think it would be great to add an opts key (like we're doing at the driver level), and allow it to be nested inside of populates as well.  The important thing is that this extra metadata would need to be insulated from any kind of cloning/JSON-serialization, and would also need to not be recursively parsed (since it could be any type, and might contain circular references).

@gaurav21r @mikermcneil this would be a temporary measure to add the functionality in without breaking all of the community adapters out there. We don't even have to document it. Then when we are ready to push out the breaking change we tag it 1.0.0 and move to the normal style function signatures.
We already wrap the model functions with a promise interface using the deferred library so you can use .then and .catch. Is there a situation where you would still need to use Promisify?
Having just added the projections support there are a lot of things touching the criteria and tacking on things that will be passed through is a pretty big hurdle.

Ok the extra argument is added in #1325 and will be published in 0.12.0.


Update all Python example apps create human readable output

Switched from Giles receiver/nc to using data_receiver
Updated applications to have human readable text output
Updated book to reflect the change (including "running
an application" section)
Updated README's for each example
Removed unneeded binary decoder applications that exist
for various Python examples

resolves #2043

There's one open question/item.
There is a reference to Giles Receiver in book/appendix/virtualenv.md (which references book/wallaroo-tools/giles-receiver.md which references book/appendix/decoding-giles-receiver-output.md).
Should these references/chapters be removed? Or should they remain since they're not specific to running the example applications and some user might want to use them for their own custom application?


Attach Homepage URL to 'View Storefront' Link

Resolves #63

@vannguyenn These PR's should always include testing instructions

If I don't have this set it still opens a new tab and just opens Kinetic again? Should this link just not do anything or not appear when the option is not set?

Thanks @tedraykov, good catch. I don't remember why we're not allowed to update the storefront URL in the general shop settings, but I think it makes sense to add a field there. I keep the storefront URL in the configure email variables form in case the users want to update all URLs at once.


Documentation for DataManager, SceneManager and ScenePlugin

This PR changes:

Documentation

Documented the DataManager, SceneManager and ScenePlugin classes.
Feel free to let me know if any wording needs changing, and whether I should add anything to the change log or readme for this.
Cheers!

Lovely, thank you!


Add umd wrapper

I just added wrapper https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js . It help users which use amd or commonjs

Hi @Mavrin, thanks for the patch!
Since there was conflict, I've cherry-picked your commit and solved the conflict.


DES: Added PBoxLogic.java

Have you read the Contributing Guidelines on Pull Requests?
Yes
Checklist

[X] I've read the contribution guidelines.
[X] I've checked the issue list before deciding what to submit.
[X] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Issue Number: #1553

@HarshCasper please review the pull request once, if any changes/improvements/modifications needed please let me know about the respective.
Sequence Number: 06
Issue Number: #1553
Pull Request Number:  #2083

@HarshCasper please review the pull request once, if any changes/improvements/modifications needed please let me know about the respective.
Sequence Number: 06
Issue Number: #1553
Pull Request Number:  #2083

Please have a look at my review here and make the same changes: https://github.com/TesseractCoding/NeoAlgo/pull/2078


  THIS SOFTWARE MAY BE REDISTRIBUTED TO OTHERS ONLY BY EFFECTIVELY USING THIS OR ANOTHER EQUIVALENT DISCLAIMER IN ADDITION TO ANY OTHER REQUIRED LICENSE TERMS.

To validate this pull request against other sbt modules, please visit this link.

Hi @chrisandrews-ms,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla

Hi @chrisandrews-ms,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla


Adding the analytic differentiation for contact dynamics

In GitLab by @cmastalli on Nov 15, 2018, 10:50
Analytic derivatives of the constrained forward dynamics (i.e. floating-base dynamics).

In GitLab by @cmastalli on Nov 26, 2018, 23:10
changed the description

In GitLab by @cmastalli on Dec 24, 2018, 14:30
changed title from Adding the analytic differentiation to Adding the analytic differentiation{+ for contact dynamics+}

In GitLab by @cmastalli on Jan 14, 2019, 22:11
This issue was duplicated in #52 and there you can find a long discussion. I will close this task.
Before creating a issue/task please check first if this exists!

In GitLab by @cmastalli on Jan 14, 2019, 22:11
closed


Cannot find the added project after adding the project

After deploying with dockerfile, I can register and log in normally, and add organizations.However, when adding a project, the project information just added will always be lost.

After the addition is successful, the added information cannot be found in the list.

But I see the added data in redis, what is the situation?

How should I solve this problem? Looking forward to reply.

Hello,
Thanks for reaching out to us, is there anything in your docker logs?

Also, what do you mean by always lost? Is it still in the project index in Elasticsearch?

@niemyjski Sorry for taking so long to reply. I can query the project information I added from kibana, but there is still no project on Exceptionless.

If you added it from kibana it probably doesn't match existing data. You need to ensure user ids on notification settings match up and more importantly the organization id matches up with your existing organization id. I'm wondering if it has to do with issue #722 as well.

I just added the following code to my dockerfile:RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo 'Asia/Shanghai' >/etc/timezone
Now, the problem is the same as the issue #722

Thanks, I'm still digging into this, I had lots of tooling issues which were due to .net 5 rc1 and fixed in rc2. I'm going to add some timezone tests to this as well.

I'm closing this as this is a dupe of #722 I'm currently working on a fix

I just committed a fix for this, can you please try the nightly ci images and let me know how it works for you. I'll then tag a release.

Thanks, but I don’t know how to use the nightly ci images.

We pushed a release out so you don't have to. But in the future you'd just append -ci to the docker image name.


Review git bash usage - $RESOURCE_ID vs ${RESOURCE_ID}

From Git for Windows release notes
If you specify command-line options starting with a slash, POSIX-to-Windows path conversion will kick in converting e.g. "/usr/bin/bash.exe" to "C:\Program Files\Git\usr\bin\bash.exe". When that is not desired -- e.g. "--upload-pack=/opt/git/bin/git-upload-pack" or "-L/regex/" -- you need to set the environment variable MSYS_NO_PATHCONV temporarily, like so:
MSYS_NO_PATHCONV=1 git blame -L/pathconv/ msys2_path_conv.cc
Alternatively, you can double the first slash to avoid POSIX-to-Windows path conversion, e.g. "//usr/bin/bash.exe".

This sounds good. Let's go


Bundle size

Hey again from the Spectrum chat. I was finally testing moving from styled-media-queries to styled-mq. One thing which was giving me a little pause as I was testing was the bundle size.
I was wondering if the bundle size would be reduced if -

React, and SC were made peer dependencies instead of dependencies? Essentially, it would mean BYO React and SC and not risk being duplicated in the developer's builds.

It seems like ramda supports tree-shaking and if the imports could reflect the specific function/feature being imported from Ramda rather than the entire library?

Thoughts?

Hi Anuj,
I'm going to be looking at this next week. I've just been working on some new utilities to go alongside this one and I'm going to do an optimisation pass over all of them.

React, and SC were made peer dependencies instead of dependencies? Essentially, it would mean BYO React and SC and not risk being duplicated in the developer's builds.

This shouldn't be a problem when using a bundler and the UMD version shouldn't include Ramda, React or SC. Are you talking hypothetically or are you having issues with multiple versions of React being included?

It seems like ramda supports tree-shaking and if the imports could reflect the specific function/feature being imported from Ramda rather than the entire library?

As far as I'm aware I'm importing from Ramda in a way that takes advantage of tree-shaking. Are you seeing something different?


BZ-1195976 - [MetaData - Versions] Restoring an old version, doesn't change the Restore Button to Save

@wmedvede do you want me or @ederign? Or was I just CC'd?

Sorry Toni, I initially assigned it to you and then I saw Eder had some
other stuff to merge into uberfire-extensions too and reassigned to him
2015-10-14 12:58 GMT+02:00 Toni Rikkola<EMAIL_ADDRESS>
@wmedvede https://github.com/wmedvede do you want me or @ederign
https://github.com/ederign? Or was I just CC'd?
—
Reply to this email directly or view it on GitHub
https://github.com/uberfire/uberfire-extensions/pull/86#issuecomment-148015826
.

No problemo.

@wmedvede could you please add tests to this PR? Thanks!

Unit tests get tricky since SaveButton might throw the GWT.create exception. Most practical way would be to GwtMock the SaveButton.
Other option is to refactor SaveButton to MVP. This is worth it if the "implements MenuCustom" in SaveButton can be changed to "implements MenuCustom".

Since it's the same case as for the "VersionMenuDropDownButton" I've basically used same approach. In this way we can have the same approach for the test too. So the test is now working.


F#834 local file snapshot generating error

Description
Fix local file snapshot generating error.
Add avoid logic null point exception error by fileURI parameter.
Related Issue :
https://github.com/metatron-app/metatron-discovery/issues/834
How Has This Been Tested?

go to data preparation menu
select data flow and data set
click snapshot button
select local and csv
check generated snapshot and download it.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Additional Context

run build
deploy to 4


Correct way to train mobilenet_edgetpu  and compile into edgetpu

I used the next,
tensorflow-gpu 1.15.3 to train mobilenet_edgetpu with pascal_voc_seg
python deeplab/train.py
--logtostderr
--training_number_of_steps="${NUM_ITERATIONS}"
--train_split="train"
--model_variant="mobilenet_edgetpu"
--output_stride=16
--decoder_output_stride=''
--aspp_convs_filters=256
--train_crop_size="513,513"
--train_batch_size=1
--dataset="pascal_voc_seg"
--tf_initial_checkpoint=${PATH_TO_INITIAL_CHECKPOINT}
--train_logdir=${PATH_TO_TRAIN_DIR}
--dataset_dir=${PATH_TO_DATASET}
--initialize_last_layer=false
--last_layers_contain_logits_only=true
to export:
python deeplab/export_model.py
--logtostderr
--checkpoint_path="${CKPT_PATH}"
--export_path="${EXPORT_PATH}"
--model_variant="mobilenet_edgetpu"
--output_stride=16
--decoder_output_stride=''
--num_classes=21
--crop_size=513
--crop_size=513
--inference_scales=1.0 \
to post-quantization i used TensorFlow-gpu 2.0
import os
import tempfile
import numpy as np
import tensorflow as tf
def representative_dataset_gen():
for _ in range(10):
dummy_image = tf.random.uniform([1, 513, 513, 3], 0., 255., dtype=tf.float32)
dummy_image = dummy_image / 127.5 - 1
yield [dummy_image]
MODEL_FILE = "/research/deeplab/datasets/pascal_voc_seg/exp/train_on_trainval_set/export/frozen_inference_graph.pb"
output_file=/research/deeplab/datasets/pascal_voc_seg/exp/train_on_trainval_set/tflite/model8_seg.tflite'
converter = tf.compat.v1.lite.TFLiteConverter.from_frozen_graph(
graph_def_file = MODEL_FILE,
input_arrays = ['sub_2'],
output_arrays = ['ResizeBilinear_2']
)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.uint8
converter.inference_output_type =tf.uint8
tflite_model = converter.convert()
tflite_model_size = open(output_file, 'wb').write(tflite_model)
To compile into edge-tpu :
edgetpu_compiler /research/deeplab/datasets/pascal_voc_seg/exp/train_on_trainval_set/tflite/model8_seg.tflite
and its outputs:
Edge TPU Compiler version 15.0.340273435
Model compiled successfully in 592 ms.
Input model: /home/paul/base/UPM/proyecto_robot/Coral/models/research/deeplab/datasets/pascal_voc_seg/exp/train_on_trainval_set/tflite/model8_seg.tflite
Input size: 3.97MiB
Output model: model8_seg_edgetpu.tflite
Output size: 4.27MiB
On-chip memory used for caching model parameters: 1.88MiB
On-chip memory remaining for caching model parameters: 4.92MiB
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 1
Total number of operations: 101
Operation log: model8_seg_edgetpu.log
Model successfully compiled but not all operations are supported by the Edge TPU. A percentage of the model will instead run on the CPU, which is slower. If possible, consider updating your model to use only operations supported by the Edge TPU. For details, visit g.co/coral/model-reqs.
Number of operations that will run on Edge TPU: 59
Number of operations that will run on CPU: 42
See the operation log file for individual operation details.
 ¿what is my mistake?
I saw quantization in deeplad page
https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/quantize.md
how is the correct way?

@paul218 Could you include the model?

yes.
the link of models.
https://drive.google.com/drive/folders/1TXLkiw-kZYfAzqMGS_Nv-i0PvRkzDMZY?usp=sharing
In the folder train was the trained model with deeplab/train.py.
In the folder export there are three models:
*frozen graph with deeplab/export_model.py: frozen_inference_graph.pb
*post-quantization model: model8_seg.tflite
*compile into edge-tpu: model8_seg_edgetpu.tflite
thanks for your help

Hello,
Can you switch the post training quantization to Tf1.x.
The complete model is not mapped due a unsupported Resize_bilinear variant op introduced by TF2.0
Can you conform if it works fine with TF1.x
Thanks

@Naveen-Dodda
I try with tensorflow-gpu 1.15.3,  python 3.6.9 the next code with some modifications.
import os
import tempfile
import numpy as np
import tensorflow as tf
print(tf.version)
def representative_dataset_gen():
for _ in range(10):
dummy_image = tf.random.uniform([1, 513, 513, 3], 0., 255., dtype=tf.float32)
dummy_image = dummy_image / 127.5 - 1
yield [dummy_image]
MODEL_FILE = "frozen_inference_graph.pb"
output_file='tflite/model8_seg.tflite'
converter = tf.compat.v1.lite.TFLiteConverter.from_frozen_graph(
graph_def_file = MODEL_FILE,
input_arrays = ['MobilenetEdgeTPU/MobilenetEdgeTPU/input'],
output_arrays = ['ArgMax']
)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.uint8  # or tf.uint8
converter.inference_output_type = tf.uint8  # or tf.uint8
Convert to TFLite Model
tflite_model = converter.convert()
tflite_model_size = open(output_file, 'wb').write(tflite_model)
tf_model_size = os.path.getsize(MODEL_FILE)
print('TensorFlow Model is  {} bytes'.format(tf_model_size))
print('TFLite Model is      {} bytes'.format(tflite_model_size))
and there are errors:

ValueError                                Traceback (most recent call last)
 in
38
39 # Convert to TFLite Model
---> 40 tflite_model = converter.convert()
41
42 tflite_model_size = open(output_file, 'wb').write(tflite_model)
~/base/lib/python3.6/site-packages/tensorflow_core/lite/python/lite.py in convert(self)
991     if self._is_calibration_quantize():
992       result = self._calibrate_quantize_model(result, inference_input_type,
--> 993                                               inference_output_type)
994
995     return result
~/base/lib/python3.6/site-packages/tensorflow_core/lite/python/lite.py in _calibrate_quantize_model(self, result, inference_input_type, inference_output_type)
237     return calibrate_quantize.calibrate_and_quantize(
238         self.representative_dataset.input_gen, inference_input_type,
--> 239         inference_output_type, allow_float)
240
241   def _get_base_converter_args(self):
~/base/lib/python3.6/site-packages/tensorflow_core/lite/python/optimize/calibrator.py in calibrate_and_quantize(self, dataset_gen, input_type, output_type, allow_float)
73     self._calibrator.Prepare()
74     for calibration_sample in dataset_gen():
---> 75       self._calibrator.FeedTensor(calibration_sample)
76     return self._calibrator.QuantizeModel(
77         np.dtype(input_type.as_numpy_dtype()).num,
~/base/lib/python3.6/site-packages/tensorflow_core/lite/python/optimize/tensorflow_lite_wrap_calibration_wrapper.py in FeedTensor(self, input_value)
110
111     def FeedTensor(self, input_value):
--> 112         return _tensorflow_lite_wrap_calibration_wrapper.CalibrationWrapper_FeedTensor(self, input_value)
113
114     def QuantizeModel(self, input_py_type, output_py_type, allow_float):
ValueError: Failed to convert value into readable tensor.

I try the same code, but with tensorflow 2.3.0 and pyhton 3.6.9
import os
import tempfile
import numpy as np
import tensorflow as tf
print(tf.version)
def representative_dataset_gen():
for _ in range(10):
dummy_image = tf.random.uniform([1, 513, 513, 3], 0., 255., dtype=tf.float32)
dummy_image = dummy_image / 127.5 - 1
yield [dummy_image]
MODEL_FILE = "frozen_inference_graph.pb"
output_file='tflite/model8_seg.tflite'
converter = tf.compat.v1.lite.TFLiteConverter.from_frozen_graph(
graph_def_file = MODEL_FILE,
input_arrays = ['MobilenetEdgeTPU/MobilenetEdgeTPU/input'],
output_arrays = ['ArgMax']
)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset_gen
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.inference_input_type = tf.uint8 # or tf.uint8
converter.inference_output_type = tf.uint8 # or tf.uint8
tflite_model = converter.convert()
tflite_model_size = open(output_file, 'wb').write(tflite_model)
tf_model_size = os.path.getsize(MODEL_FILE)
print('TensorFlow Model is {} bytes'.format(tf_model_size))
print('TFLite Model is {} bytes'.format(tflite_model_size))
And EURECA¡¡¡¡¡¡ the most layers are into edge-TPU
Edge TPU Compiler version 15.0.340273435
Model compiled successfully in 1641 ms.
Input model: model8_seg.tflite
Input size: 4.14MiB
Output model: model8_seg_edgetpu.tflite
Output size: 4.67MiB
On-chip memory used for caching model parameters: 4.03MiB
On-chip memory remaining for caching model parameters: 2.76MiB
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 1
Total number of operations: 85
Operation log: model8_seg_edgetpu.log
Model successfully compiled but not all operations are supported by the Edge TPU. A percentage of the model will instead run on the CPU, which is slower. If possible, consider updating your model to use only operations supported by the Edge TPU. For details, visit g.co/coral/model-reqs.
Number of operations that will run on Edge TPU: 77
Number of operations that will run on CPU: 8
Operator                       Count      Status
CONCATENATION                  1          More than one subgraph is not supported
DEPTHWISE_CONV_2D              13         Mapped to Edge TPU
RESIZE_BILINEAR                1          Image-interpolation layer won't run precisely enough on Edge TPU
RESIZE_BILINEAR                2          More than one subgraph is not supported
AVERAGE_POOL_2D                1          Mapped to Edge TPU
CONV_2D                        47         Mapped to Edge TPU
CONV_2D                        2          More than one subgraph is not supported
QUANTIZE                       1          Mapped to Edge TPU
QUANTIZE                       1          Operation is otherwise supported, but not mapped due to some unspecified limitation
ARG_MAX                        1          Operation is working on an unsupported data type
ADD                            15         Mapped to Edge TPU

@paul218  Thanks for the Update. Glad that Tf2.3 solved the issue.
Since you are able to solve the issue, I am closing the issue for now. Please feel free to reopen if you have any questions.

CONCATENATION                  1          More than one subgraph is not supported
DEPTHWISE_CONV_2D              13         Mapped to Edge TPU
RESIZE_BILINEAR                1          Image-interpolation layer won't run precisely enough on Edge TPU
RESIZE_BILINEAR                2          More than one subgraph is not supported
AVERAGE_POOL_2D                1          Mapped to Edge TPU
CONV_2D                        47         Mapped to Edge TPU
CONV_2D                        2          More than one subgraph is not supported
QUANTIZE                       1          Mapped to Edge TPU

I got similar results to this one, but when I run the model on Coral Edgetpu it was much slower than the model Coral published. Have you tried to run the compiled model?


Stucked in "Paused" mode after getting into Offline state

Describe the bug
Bug is bit weird:
We do use TanStack in React in most recent version in our application and it works fine, but today I have second bug request from user saying no fetch/XHR request being made at all. I did longer session with him to realise that all normal queries instead of normal state are immediately end up in "Paused" state. As this user is currently in Ukraine i did some assumption that it might be related to Offline case and power shortages which leads me to this page:
https://stackoverflow.com/questions/73444102/react-query-cancel-abort-mutation-if-paused-offline
Which is not exactly what I look for but found out that setting
networkMode: 'always',
does fix the problem for the user.
My assumption is that the "Offline" state is somewhat stored by TanStack and not being reset i.e. next time a page reloads properly (sic). I asked him to manually disconnect from internet and connect to it again when having our web page opened and it helped for his case. This would lead me to think that this "Offline" state is somewhat preserved between next usages of page and does not reset properly. I will try to look at the TanStack code where exactly this problem is, but I think for now it would be great that whenever user reload page - there should be at least check if Offline was set before and disable that state.
Your minimal, reproducible example
Unfortunately no reproduction, check description
Steps to reproduce
I could not reproduce this issue on my machine, and I had to debug it trough Slack share screen. But I do assume that it might happen when user lose connection (gets into offline case) and then tab/browser is closed (or computer crashes?).
Expected behavior
As an user I expect to have request correctly working in Online mode. When this bug shows up, until browser emit connectionStatusChange it will not send any requests.
How often does this bug happen?
Sometimes
Screenshots or Videos
No response
Platform
Platform independent
react.18.2
TanStack Query version
4.20.9, react-query,
TypeScript version
No response
Additional context
No response

One additional note - weird thing is that affects different environments. So if this happened to get broken on Production domain, it also stopped working for Staging environment and on my local machine environment (which at least helped me to diagnose the problem), but leads me to thinking that there is kind of mechanism to share TanQuery state between tabs/pages? (Like ServiceWorker?) If that's the case then state might get stuck somewhere inside there.

Checking the onlineManager.ts file I feel it's bit weird structured, yet first thing to improve I would say is that events offline and online does not have any boolean value:
https://developer.mozilla.org/en-US/docs/Web/API/Window/online_event
https://developer.mozilla.org/en-US/docs/Web/API/Window/offline_event
so the part of the code:
          window.addEventListener('online', listener, false)           window.addEventListener('offline', listener, false)
that end's up calling:
      this.cleanup = setup((online?: boolean) => {         if (typeof online === 'boolean') {           this.setOnline(online)         } else {           this.onOnline()         }       })
will always call this.onOnline() ( ??? ) which I guess is not expected. Still I have no idea why it breaks in my case...

Additionally only first line (setOnline) method will in fact set this.online value. So if that value is somewhat preserved, then it will never be set back to true (?)

but I think for now it would be great that whenever user reload page - there should be at least check if Offline was set before and disable that state.

there is nothing that persists that state between page reloads. We merely look at navigator.onLine:
https://github.com/TanStack/query/blob/b82f05e3028718f03eb132a4dd92dc3d7623f7b5/packages/query-core/src/onlineManager.ts#L80-L87

but leads me to thinking that there is kind of mechanism to share TanQuery state between tabs/pages? (Like ServiceWorker?)

nope, there's nothing like that.

yet first thing to improve I would say is that events offline and online does not have any boolean value

It does not, but we allow users to have their custom "online-checker", in which case they have to pass a boolean value to it. If the onOnline event is called without parameter (coming from the window.addEventListener), we keep our internal state to undefined and just keep checking navigator.onLine.
One way to set a custom event listener is described in the docs, for react-native:
import NetInfo from '@react-native-community/netinfo'
import { onlineManager } from '@tanstack/react-query'

onlineManager.setEventListener(setOnline => {
  return NetInfo.addEventListener(state => {
    setOnline(!!state.isConnected)
  })
})

In fact I don't use anything from onlineManager and I use only really basic stuff like useQuery only.
There might be case where navigator.onLine gets bugged somehow, that would somewhat explain why the "paused" state gets propagated across different tabs/environments. I did check the code you did describe and have same conclusion as you said, though that maybe there is something else outside of that code thou :( If there is nothing that persists state then the next suspicious code would go for navigator.onLine hmm

It might be somewhat closer to this, as this happened both for Chrome and Opera (Chromium based browser):
https://bugs.chromium.org/p/chromium/issues/detail?id=678075

The only other solution I'm aware of to check if you are really online / offline is to make a fetch request and catch the network error. We can't do that internally, but you can in user-land and use onlineManager.setEventListener like shown above with the "real" value.
I don't think there is anything we can do here.

One more note, both of those instances came out on Mac machines so the blink issue does look like it's related. Feel free to close the issue then as it seems not library related.

Just one note - I think It will be happening to Mac users of this Library from time to time until Blink can identify problem/fix it, so It might be worth to mention it somewhere.

Yeah, keep in mind that it will affect your users as well if they are on Mac and using TanStack library in defaults (if you don't set networkMode to 'always' or override the navigator.onLine check with some custom one)

I just faced the same issue on macOs in Chrome
https://stackoverflow.com/questions/75538301/reactquery-queryfn-passed-to-usequery-is-never-run-happens-only-on-chrome

I'm seeing this even on Firefox, so I don't think that chromium bug linked there is the root cause. I am running on a Mac (12.6.7). You can see that these queries are paused even though the navigator.onLine is true:

I've even set the networkMode to avoid this, but that doesn't seem to fix it either:
export const queryClient = new QueryClient({
  defaultOptions: {
    queries: {
      networkMode: "always",
    },
  },
});

Package versions:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

@nlarusstone please show a codesandbox reproduction with that behaviour. Queries in networkMode: 'always' can never be in paused state ...

@nlarusstone Keep in mind that just "pause" state it's not enough to say it's related to this issue. If it doesn't solve itself by disconnecting / connecting to WiFi again then I would say it's a new issue.


Clone source code into a dedicated directory

The source code will be present in the source directory in the root of
the workspace.
STONEBLD-1570

/retest

/retest

/retest

Do we need to change buildah-remote?

Hmm, I guess so. I was not aware of that previously, as it is a new task. It will have to be updated and tested.

👍
A minor question, any consideration not change workingDir for the build step?

Because in that case I would have to update other paths that aren't supposed to be in the source directory.
For example,
mv cachi2 /tmp/

But it actually might be better solution..

/retest

/retest


Tracking issue for implementing RPC methods

[ ] EthApi::protocol_version
[ ] EthApi::syncing
[ ] EthApi::hashrate
[ ] EthApi::author
[ ] EthApi::is_mining
[X] EthApi::chain_id
[ ] EthApi::gas_price
[x] EthApi::accounts
[ ] EthApi::block_number
[ ] EthApi::balance
[ ] EthApi::proof
[ ] EthApi::storage_at
[ ] EthApi::block_by_hash
[ ] EthApi::block_by_number
[ ] EthApi::transaction_count
[ ] EthApi::block_transaction_count_by_hash
[ ] EthApi::block_transaction_count_by_number
[ ] EthApi::block_uncles_count_by_hash
[ ] EthApi::block_uncles_count_by_number
[ ] EthApi::code_at
[X] EthApi::send_raw_transaction
[ ] EthApi::submit_transaction
[ ] EthApi::call
[ ] EthApi::estimate_gas
[ ] EthApi::transaction_by_hash
[ ] EthApi::transaction_by_block_hash_and_index
[ ] EthApi::transaction_by_block_number_and_index
[X] EthApi::transaction_receipt
[ ] EthApi::uncle_by_block_hash_and_index
[ ] EthApi::uncle_by_block_number_and_index
[ ] EthApi::compilers
[ ] EthApi::compile_lll
[ ] EthApi::compile_solidity
[ ] EthApi::compile_serpent
[ ] EthApi::logs
[ ] EthApi::work
[ ] EthApi::submit_work
[ ] EthApi::submit_hashrate

I will work next on:

[ ] EthApi::gas_price
[ ] EthApi::accounts
[ ] EthApi::block_number
[ ] EthApi::balance
[ ] EthApi::transaction_count

[ ] EthApi::syncing (figure out what's with the conditional return Object / boolean)
[ ] EthApi::hashrate (always 0)
[ ] EthApi::author (Latest only)
[ ] EthApi::is_mining (always false)
[ ] EthApi::block_transaction_count_by_hash (Latest only)
[ ] EthApi::block_transaction_count_by_number (Latest only)
[ ] EthApi::block_uncles_count_by_hash (always 0)
[ ] EthApi::block_uncles_count_by_number (always 0)
[ ] EthApi::uncle_by_block_hash_and_index (always 0)
[ ] EthApi::uncle_by_block_number_and_index (always 0)

[ ] EthApi::block_by_hash
[ ] EthApi::block_by_number
[ ] EthApi::storage_at
[ ] EthApi::estimate_gas

I believe we have completed those @tgmichel , @sorpaas ?
Can we close it


BUG Release 2.3.3 makes vSphere driver hard to use : resource pools

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

create a new node-template using the GUI
have a look at the values provided in the dropdown

Result:

depending on your vCenter setup you may not know what to choose, because you may get entries like ["Resources","Resources","Resources"]

Other details that may be helpful:

in vSphere you actually don't have just a name for resource pools, but it is more something like a path :  /my-datacenter/host/my-cluster/Resources/my-resourcepool
this leads to the "Resources" entry for each cluster you have
for resource pools itself a more or less correct value is shown : "my-resourcepool"
but even then consider you have many datacenters and/or clusters which may have resource pools of the same name
-> best thing would be to show the full path (I think maybe cleaning the static parts "host" & "Resources" may be safe)
otherwise you will have to use browser's developer tools to see which entry you actually want to select

hint for the actual "Resources" entries

they should stay but also get a useful entry (e.g. "/my-datacenter/host/my-cluster"), since using a cluster itself for resource pool is perfectly valid (and actually in use by us)

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.3.3
Installation option (single install/HA): HA

The same issue, already acknowledged: https://github.com/rancher/rancher/issues/24507
Related acknowledged issue: https://github.com/rancher/rancher/issues/24507

ok, if the details I provided are taken care of (eg related to the cluster entries itself), then it is fine for me to track the issue in the other ticket and close this one


update rust calculate_initial_bond_reserves to be more general

The calculate_initial_bond_reserves function could really be calculate_bonds that takes shares, rate, and vault_share_price as arguments. This generalizes the utility beyond deploying pools to be able to answer more abstract questions about what bond reserves should be for a certain pool state.

Done in https://github.com/delvtech/hyperdrive-rs/pull/94


Verification tools

Proposal Title
Verification tools
Context and Problem Statement
Need to verify color, motion and scale
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Produce a reference for color, motion and scene scales.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

Color using industry standard reference chart
Range of motion animations
Meter scale tests
100 avatar bottleneck test

If this enhancement will not be used often, can it be worked around with a few lines of script?
No.
Positive Consequences
Need to standardize
Negative Consequences
No response
Is there a reason why this should be core and done by us?
Only we can set standards
References
No response
Derivative License
Copyright (c) 2020-2021 V-Sekai contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

2df46407b13f197ad4aa6bb1b359d16ec24d9ec8


Added Google's Intro to Data Structures course Updated free-courses-en.md

Added Google's Intro to Data Structures course On Udacity
Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)? It is of high quality and is developed by grow with google. It also prepares you for coding interviews
How do we know it's really free? By clicking the link you can enroll for free
For book lists, is it a book? For course lists, is it a course? etc. It is a course
Checklist:

[x] Not a duplicate
[ ] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Look at other udacity courses for preferred format. Take the title from the course, don't invent your own!


Minor FilterQueryTree improvements

Add toString method that has a readable display of the filter query
tree. Use System.identityHashCode instead of hashCode for id
generation of anonymous nodes.

Current coverage is 64.30% (diff: 12.50%)

Merging #720 into master will decrease coverage by 0.10%

@@             master       #720   diff @@
==========================================
  Files           730        730
  Lines         34205      34219    +14
  Methods           0          0
  Messages          0          0
  Branches       5235       5239     +4
==========================================
- Hits          22030      22003    -27
- Misses        10624      10667    +43
+ Partials       1551       1549     -2

Powered by Codecov. Last update f95bc35...d72ce84


Filter options not "drilled down" when a filter is applied to a column

I would expect the behavior to be that when a column has a filter applied to it and you go to apply another filter to a column, the only filter options showed are ones that are applicable (i.e. only 2002 should be shown in the above screenshot).
Is there any way to easily configure this?

i've just fixed this. it should happen by default. however if leave out teh filterParams, it doens't work. so put in a blank filterParams.
see the main demo on ag-Grid.com (view source), country and language are working, but game name is not. this will be fixed in next release.


adding pull_request_template

Keen for what you think about a pull request template like this?

When someone submits a PR (other than a trivial change), it should have a .github/{PR-number}.md file based on the .github/pull_request_template.md.


Recursive type being used with different parameters

I have 2 types NetworkLink<A...> and Network
export type NetworkLink<A...> = {
	LinkId: string,
	_Signal: Signal<A...>,
	FireClient: (self: NetworkLink<A...>, Player: PlayerClass, A...) -> NetworkLink<A...>,
	FireClients: (self: NetworkLink<A...>, Players: {PlayerClass}, A...) -> NetworkLink<A...>,
	FireAllClients: (self: NetworkLink<A...>, A...) -> NetworkLink<A...>,
	FireServer: (self: NetworkLink<A...>, A...) -> NetworkLink<A...>,
	Connect: (self: NetworkLink<A...>, Callback: (A...) -> ()) -> Connection<A...>,
	Once: (self: NetworkLink<A...>, Callback: (A...) -> ()) -> Connection<A...>,

}

export type Network = {
	NetworkLinks: {[string]: NetworkLink<...any>},
	Link: <A...>(self: Network, LinkId: string) -> NetworkLink<A...>

}

The NetworkLink types in the Network type are throwing an error Recursive type being used with different parameters.

As far as I can tell, there is no recursion to be found here. There is no functioning code in this file; it is all types. Another user seemed to have this issue a few months ago as well: https://stackoverflow.com/questions/74158144/luau-error-recursive-type-being-used-with-different-parameters-when-there-is-n

I can't seem to reproduce the error (v562 of Studio)

the issue was somehow related to PlayerClass, which holds no references to Network or NetworkLink. it held references to Connection, however, which was also mentioned by NetworkLink. still no recursion. i'm hesitant to share my entire file here since its part of my project but i could dm it to someone if needed


Strange device name

Is it ok?)
device "HTC HTC M8Ss"
SDK 25
8.4.1 (2522)

Yes, this is totally fine, i guess it's some china phone

ok, thank u for ur project)


Fix small row sorting. fix comma filtering

[x] fix sorting of small rows.
[x] fix filtering of comma names
[x] fix blue bar not showing up
@keybase/react-hackers
cc: @mmaxim
cc: @patrickxb

:no_entry: Error rendering the commits 803def3eec1f...921415a34825 on linux. :mag_right: 25 errored, 7 new, 64 changed

Error in 921415a34825: Chat_List-Empty-ERROR

Error in 921415a34825: Chat_Inbox-Normal-ERROR

Error in 803def3eec1f: Devices_Devices_List-Devices-ERROR

Error in 921415a34825: Devices_Devices_List-Devices-ERROR

Error in 803def3eec1f: Chat_Participant_Rekey-Normal-ERROR

Error in 803def3eec1f: Chat_Input-Normal-ERROR

Error in 921415a34825: Chat_Input-Normal-ERROR

Error in 803def3eec1f: Chat_Inbox-You_Rekey_Selected-ERROR (view)
Error in 921415a34825: Chat_Inbox-You_Rekey_Selected-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-You_Rekey-ERROR (view)
Error in 921415a34825: Chat_Inbox-You_Rekey-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Selected_Normal-ERROR (view)
Error in 921415a34825: Chat_Inbox-Selected_Normal-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 921415a34825: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 921415a34825: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 921415a34825: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Long_Top-ERROR (view)
Error in 921415a34825: Chat_Inbox-Long_Top-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 921415a34825: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 803def3eec1f: Chat_Inbox-Empty-ERROR (view)
Error in 921415a34825: Chat_Inbox-Empty-ERROR (view)
Added: Chat_Participant_Rekey-Normal (view)
Added: Chat_Banner_Invite-Invite (view)
Added: Chat_Banner_Info-Info (view)
Added: Chat_Banner_Error-Error (view)
Added: Chat_Banner_Broken-Broken_Tracker_3 (view)
Added: Chat_Banner_Broken-Broken_Tracker_2 (view)
Added: Chat_Banner_Broken-Broken_Tracker_1 (view)
Changed: You_Rekey-Normal (before) (after) (diff)
Changed: Text-Header_Terminal (before) (after) (diff)
Changed: Text-Header_Big_Terminal (before) (after) (diff)
Changed: Text-Body_Wrap_Normal (before) (after) (diff)
Changed: Text-Body_Small_Success_Normal (before) (after) (diff)
Changed: Text-Body_Small_Secondary_Link_Normal (before) (after) (diff)
Changed: Text-Body_Small_Error_Normal (before) (after) (diff)
Changed: Text-Body_Semibold_Normal (before) (after) (diff)
Changed: Text-Body_Semibold_Link_Normal (before) (after) (diff)
Changed: Text-Body_Normal (before) (after) (diff)
Changed: Text-Body_Big_Documentation (before) (after) (diff)
Changed: Standard_Screen-Success_w_Custom_Notification_Element (before) (after) (diff)
Changed: Standard_Screen-Error (before) (after) (diff)
Changed: Standard_Screen-Back_Button (before) (after) (diff)
Changed: Markdown-Quotes (before) (after) (diff)
Changed: Markdown-Code_block (before) (after) (diff)
Changed: Markdown-Blank_lines (before) (after) (diff)
Changed: List_Item-Small_list_item_with_icon_desktop_only (before) (after) (diff)
Changed: List_Item-Small_list_item_with_button_action (before) (after) (diff)
Changed: List_Item-Small_list_item_with_avatar_40_mobile_only (before) (after) (diff)
Changed: Input-Password_visible_filled (before) (after) (diff)
Changed: Input-Password_filled (before) (after) (diff)
Changed: Input-Multiline_error (before) (after) (diff)
Changed: Input-Multi_Label_Styled (before) (after) (diff)
Changed: Input-Long_Multiline (before) (after) (diff)
Changed: Input-Hint_Multiline_Empty (before) (after) (diff)
Changed: Input-Floating_Label_Multiline_Filled (before) (after) (diff)
Changed: Input-Floating_Label_Multiline_Empty (before) (after) (diff)
Changed: Input-Default_Empty (before) (after) (diff)
Changed: Input-Auto_cap_none (before) (after) (diff)
Changed: Icon-Icon_Icon_Font (before) (after) (diff)
Changed: Colors-white_ffffff (before) (after) (diff)
Changed: Colors-white_20_rgba_255_255_255_0_20 (before) (after) (diff)
Changed: Colors-orange_ff_6_f_21 (before) (after) (diff)
Changed: Colors-grey_cccccc (before) (after) (diff)
Changed: Colors-green_2_36_b_37_c (before) (after) (diff)
Changed: Colors-dark_Blue_2_2470_b_3 (before) (after) (diff)
Changed: Colors-blue_5_F_8_FAFD (before) (after) (diff)
Changed: Colors-blue_3_60_rgba_168_215_255_0_6 (before) (after) (diff)
Changed: Colors-blue_2_66_b_8_ff (before) (after) (diff)
Changed: Colors-black_10_rgba_0_0_0_0_10 (before) (after) (diff)
Changed: Colors-black_000000 (before) (after) (diff)
Changed: Checkbox-Disabled_unchecked (before) (after) (diff)
Changed: Buttons-Secondary_small_waiting (before) (after) (diff)
Changed: Buttons-Secondary_full_Width (before) (after) (diff)
Changed: Buttons-Secondary_disabled (before) (after) (diff)
Changed: Buttons-Primary_waiting (before) (after) (diff)
Changed: Buttons-Primary_full_Width (before) (after) (diff)
Changed: Buttons-Follow_small_waiting (before) (after) (diff)
Changed: Buttons-Follow_small (before) (after) (diff)
Changed: Buttons-Danger_full_Width (before) (after) (diff)
Changed: Buttons-Danger (before) (after) (diff)
Changed: Avatar-Normal_x_64 (before) (after) (diff)
Changed: Avatar-Normal_x_40 (before) (after) (diff)
Changed: Avatar-Normal_x_24 (before) (after) (diff)
Changed: Avatar-Mutual_Follow_x_80 (before) (after) (diff)
Changed: Avatar-Mutual_Follow_x_48 (before) (after) (diff)
Changed: Avatar-Mutual_Follow_x_176 (before) (after) (diff)
Changed: Avatar-Follows_You_x_80 (before) (after) (diff)
Changed: Avatar-Follows_You_x_176 (before) (after) (diff)
Changed: Avatar-Following_x_24 (before) (after) (diff)
Changed: Avatar-Following_x_176 (before) (after) (diff)
Changed: Avatar-Fallback_x_40 (before) (after) (diff)
Changed: Avatar-Fallback_x_24 (before) (after) (diff)


cdat using old libnetcdf

when I install the latest e3sm-unified (v 1.2.1), I see:
python -c "import vcs"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/vcs/__init__.py", line 102, in <module>
    from .utils import *  # noqa
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/vcs/utils.py", line 20, in <module>
    from . import boxfill
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/vcs/boxfill.py", line 20, in <module>
    from . import VCS_validation_functions
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/vcs/VCS_validation_functions.py", line 5, in <module>
    import genutil
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/genutil/__init__.py", line 5, in <module>
    from .grower import grower  # noqa
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/genutil/grower.py", line 3, in <module>
    import cdms2 as cdms
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/cdms2/__init__.py", line 33, in <module>
    from .dataset import createDataset, openDataset, useNetcdf3  # noqa
  File "/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/python2.7/site-packages/cdms2/dataset.py", line 7, in <module>
    from . import Cdunif
ImportError: libnetcdf.so.11: cannot open shared object file: No such file or directory

If I list the lib directory, the version actually present is 13, not 11:
ls /home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnet*
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdf.a
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdff.a
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdff.so
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdff.so.6
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdff.so.6.1.1
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdf.settings
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdf.so
/home/xylar/test_e3sm_unified/base/envs/e3sm_unified_1.2.1_py2.7_nox/lib/libnetcdf.so.13

@doutriaux1, I'm hoping you can help me with this.  I suspect that the issue is that the current build of cdat and its dependencies is from 4 months ago and it is therefore using an outdated libnetcdf (not 4.6.1, as we require for the latest e3sm-unified).  Would is be easy for you to rebuild the cdat packages with the latest conda-forge bindings?

@doutriaux1, I am seeing the same issue on acme1 and aims4, so it really does seem to be an issue.  I'm not sure why it works on edison and cori, but my guess would be that libnetcdf.so.11 is in my library path somewhere, but not because of the anaconda environment.

I think I may have found a solution.  If I use cdms2 v. 3.0.1 instead of 3.0, it comes from conda-forge instead of cdat and it seems to work (at least the following works):
> conda create -n test_vcs -c cdat -c conda-forge python=2 vcs mesalib libnetcdf=4.6.1 hdf5=1.10.2
...
The following NEW packages will be INSTALLED:
...
    cdms2:                3.0.1-py27h6091dcd_1                  conda-forge
...

> conda activate test_vcs
> python -c "import vcs"

@doutriaux1, does that seem like the right solution to you?

@xylar yes this is the way to go, we went through great pains to recompile everything on conda-forge with the newest compilers. You will need cdms2 3.0.1 and for the cdtime, libsdrs, libcdms, etc... Make sure you get the latest build of the latest version. We have nightly builds that tests these things so I'm confident it should work.
@zshaheen can help too, he's got a specific E3SM-DIAGS yml that dealt with tihs a week or so ago.

Thanks!  Let's move the discussion to #19.

addressed by #19


fix: add maximum length to the notes field to avoid server error

until we can increase the notes field size in the schema

Codecov Report

Merging #150 (fcd8663) into main (031de7b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #150   +/-   ##
=======================================
  Coverage   10.05%   10.05%
=======================================
  Files          67       67
  Lines         885      885
  Branches      316      316
=======================================
  Hits           89       89
  Misses        794      794
  Partials        2        2

Impacted Files
Coverage Δ

.../dashboard/transactions/$transactionId/$action.tsx
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Fast color changing

Hi, I came across a certain problem.
I am trying to make my BulbDevice change color every 0.2 second. The desired effect is blinking light.
Unfortunately, while program is running, bulb starts blinking in a desired way, but after a few blinkings it starts pulsating and then stars blinking again. I change color from (255, 0, 255) to (0, 0, 0) and by "pulsating" I mean that bulb only darkens a little and comes back to (255, 0, 255). I am wondering now, if it results from bulb limitations or it is something wrong with my code.
My code:
import tinytuya
import time
import random

d = tinytuya.BulbDevice('x', 'x', 'x, 'device22')
d.set_dpsUsed({"1": None})
d.set_version(3.3)
d.set_socketPersistent(True)
d.set_socketNODELAY(False)

for i in range(100):
    d.set_colour(255, 0, 255)
    time.sleep(0.2)
    d.set_colour(0, 0, 0)
    time.sleep(0.2)

The smart bulbs I have like to "fade" between the RGB values changes instead of just switching.  I haven't been able to locate a setting that causes it to just do the direct change without a fade.  So, what you see is that the bulb begins to ramp fade from purple to black, just in time to get the next 200ms update to push it back to purple, so it looks like a pulse.
For what you are doing, you could do something more direct, like this:
for i in range(100):
    d.set_colour(255, 0, 255)      # purple
    d.turn_on()
    time.sleep(0.2)
    d.turn_off()                   # black
    time.sleep(0.2)

With my bulb that does a nice blink, but I did notice some cycles that were not exactly 400ms causing some uneven effect. It could be network related, but I suspect the device is just not going to be as precise with these subsecond changes.

Does one of the SmartLife app scenes do what you want?  If so, you can use the smartlife app to set up the scene then use the api to set the scene using set_scene().
I use rainbow, rave and nature preconfigured colors in the SmartLife app to get some slow blink and pulse effects when I use set_scene() in the tinytuya api.
I've not checked if any of the SmartLife app scenes do a fast blink or not.

@elfman03 I figured out that I can set speed of the scene. When I set speed to 100% bulb changes colors immediately exactly as I want. Although I don't see how that would help :/

There have been several enhancement since this thread was started. For one, the nowait parameter is now available for many of the functions. This can help with fast color changing:
import tinytuya
import time

# tinytuya.set_debug(True)
d = tinytuya.BulbDevice(DEVICEID, DEVICEIP, DEVICEKEY, version=DEVICEVERS)

# Keep socket connection open between commands
d.set_socketPersistent(True)

# Flip through colors of rainbow - set_colour(r, g, b):
print('\nColor Test - Cycle through rainbow')
rainbow = {"red": [255, 0, 0], "orange": [255, 127, 0], "yellow": [255, 200, 0],
           "green": [0, 255, 0], "blue": [0, 0, 255], "indigo": [46, 43, 95],
           "violet": [139, 0, 255]}
for x in range(5):
    for i in rainbow:
        r = rainbow[i][0]
        g = rainbow[i][1]
        b = rainbow[i][2]
        print('    %s (%d,%d,%d)' % (i, r, g, b))
        d.set_colour(r, g, b, nowait=False)
        time.sleep(0.1)
    print('')

time.sleep(1)
d.set_white()


When  is paused, audio from earlier scenes continues playing

For example, if you have Scene A and Scene B. Scene A has an audio clip that is longer enough to cover Scene B as well. If the playhead is on scene B when the pause button is pressed, the audio continues to play.

When rendering, the audio from Scene A cuts off as soon as transitioning to Scene B. So there is a discrepancy... which behaviour is expected?

It should cut off, so the player behavior needs to be fixed. We'll look into it, thanks for reporting! As a temporary fix, you could manually pause and remove all audio files using a ref like this:
audioRef.pause();
audioRef.remove();

this is fixed by #188 - will be part of 0.4.7 (releasing it right now!). Feel free to reopen if any issues arise


Gratipay badge no longer works

Gratipay recently updated their site, now the badge using shields.io reports that my incoming tips are anonymous, despite the fact that my settings show that I would like this information public.

Thank you for raising this issue!
Currently, it is pending the resolution of this issue over on Gratipay's side.

This was partially fixed by https://github.com/badges/shields/pull/533. Teams may show $0 even though the value is higher, because it is not yet implemented on Gratipay's side. We will implement the missing piece when it gets implemented.


How to use characteristic.ValueUpdated and characteristic.StartUpdatesAsync()

Hello.
I'm new to xamarin forms and C#.
Now, I'm trying to write characteristic and get the response from BLE device.
After sending command to BLE device, I would like to use characteristic.ValueUpdated to get response.
But my code doesn't work. So I would like to know how to use characteristic.ValueUpdated and characteristic.StartUpdatesAsync().
Steps to reproduce

Connect BLE device and get Device, Service and Characteristic
Use await characteristic.WriteAsync(command) to send command to BLE device
Use characteristic.ValueUpdated and await characteristic.StartUpdatesAsync() to get response from BLE device.

Expected behavior
The event characteristic.ValueUpdated shall be called and I can get the response.
Actual behavior
characteristic.ValueUpdated is not be called.
Crashlog
None
Configuration
**Version of the Plugin:2.0.0-pre1
**Platform: iOS 12.1 / Android 7.1
**Device: iPhone XR / Asus Android

Hi @wangguan1888,
I'm the friendly issue checker.
It seems like (37.50 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!

My code is here.
I would like to get args.Characteristic.Value, but this code doesn't work.
    public int SendCommand(byte[] command)
    {
        if (device == null || service == null || characteristic == null)
        {
            return 1;
        }

        var result1 = WriteCharacteristic(command);

        receive_data = GetResponse().Result;

        if (receive_data == null || receive_data[1] != 0x00)
        {
            return 1;
        }

        return 0;
    }

    private async Task<bool> WriteCharacteristic(byte[] command)
    {
        await characteristic.WriteAsync(command);
        return true;
    }

    private async Task<byte[]> GetResponse()
    {
        byte[] bytes = new byte[20];

        characteristic.ValueUpdated += (o, args) =>
        {
            bytes = args.Characteristic.Value;
        };

        await characteristic.StartUpdatesAsync();

        return bytes;
    }

You're intermixing async and sync code

Hi @wangguan1888  did this issue resolved??
`  public async Task SendCommand(byte[] command,
ICharacteristic writechar,ICharacteristic readchar)
{
byte[] receive_data = new byte[20];
var result1 = await WriteCharacteristic(command, writechar);
receive_data = await GetResponse(readchar);
        if (receive_data == null || receive_data[1] != 0x00)
        {
            return 1;
        }

        return 0;
    }

    private async Task<bool> WriteCharacteristic(byte[] command,ICharacteristic writechar)
    {
        await writechar.WriteAsync(command);
        return true;
    }

    private async Task<byte[]> GetResponse(ICharacteristic readchar)
    {
        byte[] bytes = new byte[20];

        readchar.ValueUpdated += (o, args) =>
        {
            bytes = args.Characteristic.Value;
        };

        await readchar.StartUpdatesAsync();

        return bytes; here i don't get the bytes
    }`


Retrieve full availability using the Alma API

https://developers.exlibrisgroup.com/alma/apis/docs/bibs/R0VUIC9hbG1hd3MvdjEvYmlicy97bW1zX2lkfQ==/
physical inventory information use "expand=p_avail":
digital inventory information use: "expand=d_avail" We are not using full availability for digital inventory.
electronic inventory information use: "expand=e_avail"

We decided with the Alma group to brake down this issue in different scenarios. This will help to improve the way we retrieve currently the availability.

the structure of the bib object: https://developers.exlibrisgroup.com/alma/apis/docs/xsd/rest_bib.xsd/?tags=GET.
GET /almaws/v1/bibs/{mms_id}
Adding expand=p_avail: will add an AVA (availability) tag in the record with the physical availability:
https://api-na.hosted.exlibrisgroup.com/almaws/v1/bibs/991129830000541?expand=p_avail
will return
            <subfield code="0">991129830000541</subfield>
            <subfield code="8">224687740000541</subfield>
            <subfield code="a">01PRI_INST</subfield>
            <subfield code="b">MAIN</subfield>
            <subfield code="c">Stacks</subfield>
            <subfield code="d">292 H31m</subfield>
            <subfield code="e">available</subfield>
            <subfield code="f">1</subfield>
            <subfield code="g">0</subfield>
            <subfield code="j">main</subfield>
            <subfield code="k">8</subfield>
            <subfield code="p">1</subfield>
            <subfield code="q">Main Library</subfield>
        </datafield>

for an electronic title:
GET /almaws/v1/bibs/{mms_id}
Adding expand=e_avail: will add an AVE (availability) tag in the record with the electronic availability:
https://api-na.hosted.exlibrisgroup.com/almaws/v1/bibs/991946890000521?expand=e_avail
<datafield ind1=" " ind2=" " tag="AVE">
            <subfield code="8">5310439700000521</subfield>
            <subfield code="c">6110439730000521</subfield>
            <subfield code="e">Available</subfield>
            <subfield code="m">North East Research Libraries Nature Single Titles Plus</subfield>
            <subfield code="s"> Available from 1869 volume: 1 issue: 1.</subfield>
            <subfield code="t">Nature</subfield>
            <subfield code="u">publishing_base_url undefined?u.ignore_date_coverage=true&rft.mms_id=991946890000521</subfield>
        </datafield>

From https://developers.exlibrisgroup.com/alma/apis/docs/bibs/R0VUIC9hbG1hd3MvdjEvYmlicy97bW1zX2lkfQ==/
AVA field is added per holding record (related to the input mms-id or to a related Bib records) as following:
$$a - Institution code, $$b - Library code, $$c - Location display name, $$h - Campus,
$$d - Call number, $$e - Availability (such as available, unavailable, or check_holdings),
$$j - Location code, $$k - Call number type, $$f - total items, $$g - non available items,
$$v - Calculated summary information,
$$p - priority, $$0 - Bib record ID, $$8 - Holdings ID (of items on permanent location only), $$t - Holdings Information, $$q - library name.
AVA is added also for items in temporary location. For such items, $$8 (holding id) will not be added.
AVE field is added per portfolio, as following:
$$l -library code, $$m - Collection name, $$n - Public note, $$u - link to the bibliographic record's services page,
$$s - coverage statement (as displayed in Primo's ViewIt mashup), $$t - Interface name.
$$8 - portfolio pid, $$c - collection identifier for the electronic resource, $$e - activation status.
$$i - Available for institution, $$d - Available for library, $$b - Available for campus.
Note: $$u will be created based on a Customer Parameter in the "Customer Parameters" mapping table (module: general): publishing_base_url.

We identified with @mzelesky that the availability of a specific item misses sequence and on_reserve. We use them in: https://github.com/pulibrary/voyager_helpers/blob/26166ac7e68bfce5d5326f11c0a05933f2b07880/lib/voyager_helpers/liberator.rb#L283
GET /almaws/v1/bibs/{mms_id}/holdings/{holding_id}/items This will retrieve the items list.
If we want Item and label printing information, use item_pid from the record.
GET /almaws/v1/bibs/{mms_id}/holdings/{holding_id}/items/{item_pid}
The item_data also includes barcode information. https://developers.exlibrisgroup.com/alma/apis/docs/xsd/rest_item.xsd/#item
barcode: The item's barcode. If not sent as part of the PUT or POST actions, Alma will generate a barcode based on the barcode generation rules.

Documentation for the order_status in Alma: https://knowledge.exlibrisgroup.com/Alma/Product_Documentation/010Alma_Online_Help_(English)/020Acquisitions/020Purchasing/030Searching_for_PO_Lines

In Alma we are able to customize the availability labels. for example an item which is checked out has a label <base_status desc="Item not in place">0</base_status>.
This will give us the ability to customize labels in Alma based on our needs and avoid some of the mapping we do in the front end (Orangelight).

We need to find a journal with current issues.

We need to find if the sequence exists in somewhere else (@mzelesky suggests to check the inventory area of the apis. )

https://developers.exlibrisgroup.com/alma/apis/docs/xsd/rest_items.xsd/?tags=GET
(info returned from an item call)

https://developers.exlibrisgroup.com/blog/how-to-use-an-api-to-retrieve-the-item-receiving-number-weeding-number-and-weeding-date-in-five-easy-steps/
(relevant to item sequence numbers)


LineView not properly scaling with large values

When data array contains values below, the LineView looks how it does below.
[282.502, 284.495, 283.51, 285.019, 285.197, 286.118, 288.737, 288.455, 289.391, 287.691, 285.878, 286.46, 286.252, 284.652, 284.129, 284.188]

with small values as well.

Just found SwiftUICharts and I think it is great! Thank you.
I'm trying to plot a BarChartView on an iPad running 13.4. The data is (x-axis) a date string and y-axis is the daily virus case count.
If I use ChartForm.medium everything works but the view is too small. If I use ChartForm.large the view expands across the screen but the view hight is small and no data shows.
Please can you allow a more flexible view sizing.
Thank you

Guys you've just to modify "StepHeight" in each file.
Where you find :
return (frame.size.height-padding) / CGFloat(max + min)
Change it whit :
return (frame.size.height-padding) / CGFloat(max - min)
It works for me!

Guys you've just to modify "StepHeight" in each file.
Where you find :
return (frame.size.height-padding) / CGFloat(max + min)
Change it whit :
return (frame.size.height-padding) / CGFloat(max - min)
It works for me!

it does not work for me still facing same problem

@antoniowar17 Where do you find that? I looked in LineView but could not find that line.

I am experiencing the same issue. Passing in numbers like 1,500 and it just can't figure out how to scale properly

@antoniowar17 thanks, this works for me. You have to adjust in both 'Line' and 'Legend'!

Can someone please tell me how to edit the package code? Mine is read only

Is this still an issue with the latest version, on the master branch?

@satan87 I haven’t tried in a while. I’ll check again tonight.
@marchantcilliers I didn’t manage to solve it, but in order to get around the read-only thing, you have to clone the repo, move it to a new directory w/o git, and then add the local copy as a package. (However I don’t recommend since it causes other issues especially with updating to future versions)

@MattGeimer Thanks. Let me know and if it's still there I'll take a look

@satan87 I was still able to replicate the issue. I copy/pasted the data I initially provided in the issue, and got the same result. I am currently using version 1.5.0 w/ a deployment target of iOS 13.5.
Data: [282.502, 284.495, 283.51, 285.019, 285.197, 286.118, 288.737, 288.455, 289.391, 287.691, 285.878, 286.46, 286.252, 284.652, 284.129, 284.188]
Resulting View:

I push a quick fix based on @antoniowar17 's solution.
This needs to be reviewed but I'm hoping it will solve your issues for now.

@satan87 I have updated to latest package versions. But there is no change. Should I do something different?

@marchantcilliers You need to wait for the PR #113 to be merged into the master branch, then you can do the update.

@AppPear will this be merged into V2?

Will this be pulled into V2 or even a better, a way to manually set the scale?

Will this be pulled into V2 or even a better, a way to manually set the scale?

I tested it out about a couple weeks ago, and it seemed to be fixed, but I didn't get enough time to fully test it out.

Using the "new-version-beta2" branch this does not appear to be fixed. The scale for values between 52-67 as shown here is way too compressed.

@AppPear would it be possible to pull https://github.com/AppPear/ChartView/pull/113#issue-426953336 into V2 or even better be able to set the Y axis scale manually?


Fix displaying relative time of the Xero last sync

Details
Current method of displaying Last synced time takes sync time in timezone set in Expensify, but current datetime with local timezone set on a computer.
That's why it causes situations like Last synced in about an hour
I changed function formatDistanceToNow to formatDistance with passing current datetime parsed to proper timezone.
Fixed Issues

$ https://github.com/Expensify/App/issues/48709
PROPOSAL:
Tests

Go to Settings -> Profile -> Change timezone to different than your current
Go to workspace -> Accounting
Tap three dots menu -> Sync now
Verify that Last synced less than a minute go is displayed
For the best check in different integrations

[x] Verify that no errors appear in the JS console

Offline tests

NA
QA Steps

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome
https://github.com/user-attachments/assets/088ae232-496e-4477-ae23-92d89a95a608

iOS: Native

https://github.com/user-attachments/assets/7fe695df-fa04-4149-9572-32c03185e4fa

iOS: mWeb Safari

https://github.com/user-attachments/assets/c31154a2-d8c8-42bc-a1a1-49eaf416a792

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/ebc0e6ac-5f2e-41f5-89e7-6b968fe3fd41

MacOS: Desktop

https://github.com/user-attachments/assets/f634b970-319b-41ec-b4b1-8fc9870c8303

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Command failed:fatal: unrecognized %(upstream:remotename) argument: remotename

I can't use the extension due to the following issue:

Hi! Can you please share your git --version?

Looks like your Git is older than v2.16 which is when this was added https://github.com/git/git/commit/cc72385fe350d4d7bc64f84e8817dbdfe27b04fe. Even debian's oldest lts release buster ships with the more recent version v2.20 https://packages.debian.org/buster/git
so my bet is on you using windows and you having downloaded Git manually 5 years ago and not having updated it ever since :-)
would updating it be an option for you? I'm afraid I can't really offer support for outdated versions currently.

Hi Philip!
Thank you for the support.
You are right the issue was with my git binary version. On my mac it was stuck with version 2.15, even with brew install git and brew upgrade git. I was able to fix it with running sudo rm '/usr/local/bin/git'  command. Now my terminal is using the git that is installed with brew.


Can no longer install or upgrade charts using kubectl proxy in rc.1

Previously running beta.2 and upgraded to rc.1 last night on the Jenkins pipeline and am now getting the following error
helm upgrade --install croc-hunter . --set ImageTag=master-007d8ac,Replicas=1,Cpu=10m,Memory=128Mi --namespace=croc-hunter
Error: Error forwarding ports: error upgrading connection: Upgrade request required

I’m using kubectl proxy to connect to the API in cluster and confirm access via running kubectl get nodes
Here's is the full CI run output for reference
setting up kubectl
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ kubectl proxy
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ sleep 5
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ kubectl config set-cluster localhost --server=http://localhost:8001
cluster "localhost" set.
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ kubectl config set-context localhost --cluster localhost
context "localhost" set.
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ kubectl config use-context localhost
switched to context "localhost".
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ kubectl get nodes
NAME                                           STATUS                     AGE
ip-172-25-128-10.us-west-2.compute.internal    Ready,SchedulingDisabled   7d
ip-172-25-140-204.us-west-2.compute.internal   Ready                      7d
ip-172-25-144-10.us-west-2.compute.internal    Ready,SchedulingDisabled   7d
ip-172-25-148-167.us-west-2.compute.internal   Ready                      7d
ip-172-25-160-10.us-west-2.compute.internal    Ready,SchedulingDisabled   7d
ip-172-25-174-137.us-west-2.compute.internal   Ready                      7d
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ /usr/local/linux-amd64/helm init --
Creating /home/jenkins/.helm
Creating /home/jenkins/.helm/repository
Creating /home/jenkins/.helm/repository/cache
Creating /home/jenkins/.helm/repository/local
Creating /home/jenkins/.helm/repository/repositories.yaml
Creating /home/jenkins/.helm/repository/local/index.yaml
$HELM_HOME has been configured at $HOME/.helm.
Warning: Tiller is already installed in the cluster. (Use --client-only to suppress this message.)
Happy Helming!
[Pipeline] sh
[lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ] Running shell script
+ /usr/local/linux-amd64/helm upgrade --install croc-hunter /home/jenkins/workspace/lachie83_croc-hunter_master-O3XBEBAR6DRGV4IJSBHZWIM7L6H4LTCHRXTKIZWDVDA3B46SCUDQ/charts/croc-hunter --set ImageTag=master-007d8ac,Replicas=1,Cpu=10m,Memory=128Mi --namespace=croc-hunter
Error: Error forwarding ports: error upgrading connection: Upgrade request required

I'm having this same issue as well from buildkite. Rolling tiller and helm back to beta.2 fixed the issue.

I wonder if this is a result of a change to the default client connection logic that fixed the kubeadmin issue (/cc @adamreese ). There weren't that many changes made between Beta.2 and RC.1 that could have impacted this.

I am looking into it, have not found anything yet.
Any help on recreating the issue would be helpful

Big thanks to @adamreese and @technosophos for working through this with me. Very quick resolution!


Can't install sorbet.

Hey, I'm using:

MacOS Ventura 13.3.1
ruby 2.7.5
rvm
I've added this to my Gemfile:

gem 'sorbet-runtime', '0.5.10932'
gem 'sorbet', '0.5.10932', :group => :development

After running bundle I get:
Fetching gem metadata from http://rubygems.org/........
Resolving dependencies...................
Could not find gem 'sorbet-static (= 0.5.10932)' with platform 'ruby', which is required by gem 'sorbet (= 0.5.10932)', in rubygems repository http://rubygems.org/ or installed locally.

The source contains the following gems matching 'sorbet-static (= 0.5.10932)':
  * sorbet-static-0.5.10932-java
  * sorbet-static-0.5.10932-universal-darwin-14
  * sorbet-static-0.5.10932-universal-darwin-15
  * sorbet-static-0.5.10932-universal-darwin-16
  * sorbet-static-0.5.10932-universal-darwin-17
  * sorbet-static-0.5.10932-universal-darwin-18
  * sorbet-static-0.5.10932-universal-darwin-19
  * sorbet-static-0.5.10932-universal-darwin-20
  * sorbet-static-0.5.10932-universal-darwin-21
  * sorbet-static-0.5.10932-universal-darwin-22
  * sorbet-static-0.5.10932-x86_64-linux

Process finished with exit code 6

Can you please help me?

sorbet-static doesn't provide a gem for the ruby platform -  you may also need to add the plaform to the Gemfile
e.g. for OSX
bundle lock --add-platform universal-darwin-22

You'll have to do similar for any other platforms you use (e.g. CI)

Should be fixed in #7292


Fix #131: apply URL-decoding to the copy source

Description
Fix issue #131
Related Issue
#131
Tasks

[x] I have signed the CLA.
[?] I have written tests and verified that they fail without my change.

Important - why did I place a ? in the checkbox above? There seems to be an issue with the tests run via the maven lifecycle. The build succeeds despite failing tests. And this doesn't seem to apply to my newly introduced tests only, but also to AmazonClientUploadIT.defaultBucketsGotCreated() and others. To reveal the failing tests I started S3MockApplication within the IDE then ran AmazonClientUploadIT. This revealed the (expected) failure of my new test as well as the others.
My newly introduced tests succeed, of course, but the aforementioned others still fail when run as described above.

@agudian thanks for the merge and your explanation wrt the test environment. However, it seems that a few tests are still actually failing on Windows. I'll fix those and send you a pull-request later on.

Oh, I see! That would be great, thank you!


What do you mean by replacing SFT layer by direct concatenation

In table 1, you proposed the ablation study. Could you give the sample code for direct concatenation in the intermediate layers? I am not sure how to concatenate the kernel_code in the intermediate layers.

Because after concatenation, the shape of the feature map will be HW(C+C'), so did you use convolution layer with kernel size 1*1, channel_in=C+C', channel_out=C, before feeding the concatenated feature map into the convolutions of the residual block?


[CompressJPEG] remove  duplicate [Image Compression]

CompressJPEG mirror Optimizilla.
Proof:

@maslo2017 I agree with you that these two websites are the same (created by the same creator), however, I don't think it will hurt the list.