No launch button?

First of all: thanks for the great theme. I really like it!
One thing I cannot figure out: the launch buttons do not show anymore once I switch the theme to "quantecon_book_theme".
This is what I use in my _config.yml:
sphinx:
  config:
    html_theme: quantecon_book_theme
    html_theme_options:
      repository_url: https://github.com/fredzett/CodingBook
      repository_branch: main
      launch_buttons:
        colab_url: https://colab.research.google.com
      persistent_sidebar: true

Is this a bug in the theme or am I doing something wrong?

@AakashGfude do you know what might be the issue here. Is the launch_buttons config the same as sphinx_book_theme?


Fix the "java.nio.file.NoSuchFileException: /root/.kube/config" exception by not providing the Kube Conf File parameter when starting the k8s session cluster.

What changes were proposed in this pull request

Brief change log
Remove the default value of kubernetes.config.file when starting the k8s session cluster (similar to k8s application). When the default value of kubernetes.config.file is not provided, StreamPark will use the service account permissions of the pod it resides in to start the Flink cluster, without the need for the /root/.kube/config file.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): no

You mean just get the kubeconfig environment variable at startup?

You mean just get the kubeconfig environment variable at startup?

When starting, you can specify the "Kube Conf File" or leave it unspecified by setting "Kube Conf File" to null. If the Flink session and StreamPark are in the same k8s cluster, the "Kube Conf File" can be set to null. In this case, the Flink session will be started using the service account permissions of the StreamPark pod (this is how Flink application is currently started). Currently, the code sets the default value of "kubeConf" to "~/.kube/config", but the kubeConf is not mandatory. A Flink session can be started without the kubeConf, just like starting a Flink application without providing a kubeConf.


expose all three ports in dev container

currently the dev container expose 8080 which is the http port. But the client uses grpc (8081), is that going to work?
also the playground port (3000) is very useful for troubleshooting.
All three ports should be expose to the host by the dev container.

This client uses HTTP not GRPC; OpenFGA supports both.

Yes, exposing we should be exposing all the ports.
As far as HTTP vs GRCP, HTTP is dramatically simpler to implement. Also, a single 3 item JSON map request and a boolean result is transmitted for the check operation; which is what is required to be performant.
I plan on ensuring we are connecting with HTTP/2 (which is also what gRPC uses) and probably leave it there for a while.

@kdubb: I am half way through adding grpc support. The question is should we completely switch or provide both options?

I'm not sure. No reason to maintain something nobody ever uses. Then again, maybe somebody cannot run gRPC and need the HTTP client.


Create task pane controls to work with global data

Try to add the  as described then the task panel not working.

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

ID: 056e0311-c24e-6342-a3f0-36120930107d
Version Independent ID: dd406dd4-8384-190a-2385-01324cf1ba3a
Content: Tutorial: Share data and events between Excel custom functions and the task pane - Office Add-ins
Content Source: docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
Product: excel
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Click on Reload button on the task panel seems resolved the problem


Support reordering of drafts/starred content/private stuff

This will make it easier to combine them

use something like http://browniefed.com/blog/2015/06/06/react-native-tinder-like-cards/ ?


model_config = model.config.to_dict() - AttributeError: 'dict' object has no attribute 'to_dict'

System Info
- `transformers` version: 4.38.2
- Platform: Linux-6.4.16-linuxkit-x86_64-with-glibc2.36
- Python version: 3.11.8
- Huggingface_hub version: 0.21.3
- Safetensors version: 0.4.2
- Accelerate version: 0.23.0
- Accelerate config:    not found
- PyTorch version (GPU?): 2.2.1+cu121 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: <fill in>

Python 3.11.8
accelerate==0.23.0
aiohttp==3.9.3
aiosignal==1.3.1
alembic==1.13.1
amqp==5.2.0
annotated-types==0.6.0
anyio==4.3.0
asyncpg==0.28.0
ats-ml-tools==0.7.18
attrs==23.2.0
beautifulsoup4==4.12.3
billiard==4.2.0
blinker==1.7.0
boto3==1.28.85
botocore==1.31.85
celery==5.3.4
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
click-didyoumean==0.3.0
click-plugins==1.1.1
click-repl==0.3.0
cloudpickle==3.0.0
contourpy==1.2.0
cryptography==42.0.5
cycler==0.12.1
databricks-cli==0.18.0
datasets==2.14.7
datasphere==0.6.8
DAWG-Python==0.7.2
dill==0.3.7
docker==6.1.3
docopt-ng==0.9.0
docutils==0.20.1
entrypoints==0.4
envzy==0.2.3
et-xmlfile==1.1.0
evaluate==0.4.1
fastapi==0.109.2
filelock==3.13.1
Flask==3.0.2
flower==2.0.1
fonttools==4.49.0
frozenlist==1.4.1
fsspec==2023.10.0
funcy==2.0
gitdb==4.0.11
GitPython==3.1.42
googleapis-common-protos==1.62.0
greenlet==2.0.2
grpcio==1.62.0
gunicorn==21.2.0
h11==0.14.0
httpcore==1.0.4
httpx==0.26.0
huggingface-hub==0.21.3
humanize==4.9.0
idna==3.6
importlib-metadata==6.11.0
iniconfig==2.0.0
itsdangerous==2.1.2
jaraco.classes==3.3.1
jeepney==0.8.0
Jinja2==3.1.3
jmespath==1.0.1
joblib==1.3.2
keyring==24.3.1
kiwisolver==1.4.5
kombu==5.3.5
mailbits==0.2.1
Mako==1.3.2
Markdown==3.5.2
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.8.3
mdurl==0.1.2
mlflow==2.9.2
more-itertools==10.2.0
mpmath==1.3.0
multidict==6.0.5
multiprocess==0.70.15
networkx==3.2.1
nh3==0.2.15
nltk==3.8.1
numpy==1.26.4
nvidia-cublas-cu12==<IP_ADDRESS>
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==<IP_ADDRESS>
nvidia-cufft-cu12==<IP_ADDRESS>
nvidia-curand-cu12==<IP_ADDRESS>
nvidia-cusolver-cu12==<IP_ADDRESS>
nvidia-cusparse-cu12==<IP_ADDRESS>
nvidia-nccl-cu12==2.19.3
nvidia-nvjitlink-cu12==12.3.101
nvidia-nvtx-cu12==12.1.105
oauthlib==3.2.2
openpyxl==3.1.2
orjson==3.9.7
packaging==23.2
pandas==2.0.3
pillow==10.2.0
pkginfo==1.9.6
pluggy==1.4.0
prometheus_client==0.20.0
prompt-toolkit==3.0.43
protobuf==4.25.3
psutil==5.9.8
psycopg2-binary==2.9.8
pyarrow==14.0.2
pyarrow-hotfix==0.6
pycparser==2.21
pydantic==2.6.1
pydantic-settings==2.1.0
pydantic_core==2.16.2
Pygments==2.17.2
PyJWT==2.8.0
pymorphy3==1.2.1
pymorphy3-dicts-ru==2.4.417150.4580142
pyparsing==3.1.1
pypi-simple==1.5.0
pytest==7.4.4
python-dateutil==2.9.0
python-dotenv==1.0.1
python-multipart==0.0.6
pytz==2023.4
PyYAML==6.0.1
querystring-parser==1.2.4
readme_renderer==43.0
redis==5.0.1
regex==2023.12.25
requests==2.31.0
requests-toolbelt==1.0.0
responses==0.18.0
rfc3986==2.0.0
rich==13.7.1
s3transfer==0.7.0
safetensors==0.4.2
scikit-learn==1.4.0
scipy==1.12.0
SecretStorage==3.3.3
sentence-transformers==2.2.2
sentencepiece==0.2.0
setfit==1.0.3
six==1.16.0
smmap==5.0.1
sniffio==1.3.1
soupsieve==2.5
SQLAlchemy==2.0.23
sqlparse==0.4.4
starlette==0.36.3
sympy==1.12
tabulate==0.9.0
threadpoolctl==3.3.0
tokenizers==0.15.2
torch==2.2.1
torchvision==0.17.1
tornado==6.4
tqdm==4.66.2
transformers==4.38.2
triton==2.2.0
twine==4.0.2
typing_extensions==4.10.0
tzdata==2024.1
urllib3==2.0.7
uvicorn==0.23.2
vine==5.1.0
wcwidth==0.2.13
websocket-client==1.7.0
Werkzeug==3.0.1
xxhash==3.4.1
yarl==1.9.4
zipp==3.17.0

Who can help?
No response
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
    pretrained_model = 'cointegrated/rubert-tiny-sentiment-balanced'
    model = SetFitModel.from_pretrained(
        pretrained_model,
        cache_dir = tempfile.gettempdir()
    )
    trainer = SetFitTrainer(
        model=model,
        train_dataset=train_dataset,
        eval_dataset=test_dataset,
        loss_class=CosineSimilarityLoss,
        metric="accuracy",
        batch_size=16,
        num_iterations=20,
        num_epochs=2,
    )

 Traceback (most recent call last):
   File "/usr/local/lib/python3.11/site-packages/setfit/trainer.py", line 410, in train
     self.train_embeddings(*full_parameters, args=args)
   File "/usr/local/lib/python3.11/site-packages/setfit/trainer.py", line 462, in train_embeddings
     self._train_sentence_transformer(
   File "/usr/local/lib/python3.11/site-packages/setfit/trainer.py", line 570, in _train_sentence_transformer
     self.control = self.callback_handler.on_train_begin(args, self.state, self.control)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/local/lib/python3.11/site-packages/transformers/trainer_callback.py", line 370, in on_train_begin
     return self.call_event("on_train_begin", args, state, control)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/local/lib/python3.11/site-packages/transformers/trainer_callback.py", line 414, in call_event
     result = getattr(callback, event)(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/local/lib/python3.11/site-packages/transformers/integrations/integration_utils.py", line 1035, in on_train_begin
     self.setup(args, state, model)
   File "/usr/local/lib/python3.11/site-packages/transformers/integrations/integration_utils.py", line 1009, in setup
     model_config = model.config.to_dict()
                    ^^^^^^^^^^^^^^^^^^^^
 AttributeError: 'dict' object has no attribute 'to_dict'

Expected behavior
Hello!
How to pass this error? In my case all work locally on macOs, but didn't work on same data in Docker container..
Didn't work in container FROM --platform=linux/amd64 python:3.11-slim (Linux 027a6910b09d 6.4.16-linuxkit huggingface/transformers#1 SMP PREEMPT Sat Sep 23 13:36:48 UTC 2023 x86_64 GNU/Linux) but work on debian-buster-slim (Linux 12-slim 6.4.16-linuxkit huggingface/transformers#1 SMP PREEMPT Sat Sep 23 13:36:48 UTC 2023 aarch64 GNU/Linux).

gonna piggy back off this, I had a very similar error that was also about the model.config
  File "/opt/conda/lib/python3.10/runpy.py", line 187, in _run_module_as_main     mod_name, mod_spec, code = _get_module_details(mod_name, _Error)   File "/opt/conda/lib/python3.10/runpy.py", line 110, in _get_module_details     __import__(pkg_name)   File "/home/jupyter/setfit_test.py", line 39, in <module>     trainer.train()   File "/opt/conda/lib/python3.10/site-packages/setfit/trainer.py", line 410, in train     self.train_embeddings(*full_parameters, args=args)   File "/opt/conda/lib/python3.10/site-packages/setfit/trainer.py", line 462, in train_embeddings     self._train_sentence_transformer(   File "/opt/conda/lib/python3.10/site-packages/setfit/trainer.py", line 570, in _train_sentence_transformer     self.control = self.callback_handler.on_train_begin(args, self.state, self.control)   File "/opt/conda/lib/python3.10/site-packages/transformers/trainer_callback.py", line 370, in on_train_begin     return self.call_event("on_train_begin", args, state, control)   File "/opt/conda/lib/python3.10/site-packages/transformers/trainer_callback.py", line 414, in call_event     result = getattr(callback, event)(   File "/opt/conda/lib/python3.10/site-packages/transformers/integrations/integration_utils.py", line 635, in on_train_begin     model_config_json = model.config.to_json_string() AttributeError: 'dict' object has no attribute 'to_json_string'
when I tried to run the setfit example. What seems to have fixed this for me is to downgrade huggingface hub pip install huggingface_hub==0.20.3
with this version it is working both on my Mac with cpu as well as on google cloud with cuda. Hope that helps :)

I had the same issue with the NeptuneCallback. Worked locally, but got the error in a Docker container on the cloud.
It seems pretty weird to me, because there is no model passed to the on_train_begin here and the model is set to None by default in the callback here, so I think you can just overwrite the class method and delete these lines here.
Or maybe you can catch the AttributeError like this:
if hasattr(model, "config") and model.config is not None:
    try:
        model_config = model.config.to_dict()
    except AttributeError:
        model_config = model.config
    combined_dict = {**model_config, **combined_dict}

This solved my case, because somehow there really was a dict  with the model.config, but I could not see why this happened.
I also had to rewrite the on_init_end  and on_save methods of the NeptuneCallback, because of conflicts like these.

In my case, this error popped up after enabling and logging; I didn't find any workaround at the moment.

Getting the same issue as @davhin when running in a vertexAI notebook (google cloud), but not when run locally

Same issue on Windows 10, Python 3.10.13

Same issue on Ubunutu 22.04 and Pop!_OS 22.04.
Issue arose following the SetFit quickstart guide.

transformers version: 4.38.2
Python version: 3.10.12
Huggingface_hub version: 0.21.4
Safetensors version: 0.4.2
PyTorch version (GPU?): 2.2.1 (True)

remove duplicate keys from your config.json

I had the same problem but after a full 2 hour debugging noticed I have upgraded my transformers from 4.37.2 which the model was initially trained to 4.41. I reverted back the transformers to its initial version (You can find it in the model config.json) and the error was resolved.


Documentation across build+test on how to add a new platform

We've added some platforms recently but we haven't had clear documentation on where all the bits are that have needed to be changed so we have ended up doing some rework. We should put together a definitive guide (I would suggest in the FAQ in this repository) about which files need to be modified in order to support build/test of a new platform in the Temurin pipelines.

Test 'how-to' is here: https://github.com/adoptium/aqa-tests/wiki/Adding-AQAvit-support-for-a-New-Platform


[Android] Keeping aspect ratio on image resize

This is a Android-only "fix" for now. The iOS scaling already works differently, so both changes can arguably be done independently.
Before:

After:

LGTM


Make the kernel requirement a hard requirement

There is a stalled-closed PR:  #7681
and an awesome user story - https://forums.docker.com/t/docker-interactive-exec-bash-does-not-show-containers-filesystem/334/4
showing that its important for us to be very obvious about system configurations that appear to be ok, but actually don't work.
Not all consumers of the Docker API have access to the daemon log file - so its possibly better to fail, but perhaps the API needs to report any detectable degredations of Docker-ness.

https://github.com/docker/docker/pull/10652 was merged I am going to close


Make pagination more performant

For queries that will return a lot of results, fetching the initial result count is very expensive (20s for over 3 million results).
Luckily, Rails can do a COUNT with LIMIT in PostgreSQL. If you specify a limit as part of a scope then call .count, it will generate SQL like this:
SELECT COUNT(count_column) FROM
  (SELECT 1 AS count_column FROM "anonymous_contacts"
   WHERE path LIKE '/done/vehicle-tax%'
   LIMIT 10000) subquery_for_count;

This returns in around 20ms on a dev VM for a query that would return 3 million rows if unlimited. It provides 10000 responses over 200 pages for the user, with the last page rendering in about 100ms.
If the user requires all responses, they can still export them all as a CSV. Currently only 28 paths have more than 10000 responses, all of which are Done pages which need to be refactored at some point to display only those with comments.
This should be coupled with frontend changes, providing copy informing the user to download a CSV if there's more than 10000 responses.
/cc @tijmenb @benilovj

Seems legit so far, although as you already mentioned, will need careful refactoring since the implementation is somewhat involved.

Updated, @benilovj, @benlovell @jamiecobbett

This looks sensible, although I'd personally have a couple of unit tests to make sure that the calculations of pages and offset are free from off-by-1 errors.

Added some tests to cover the above, and a flag that indicates that the results were truncated.

:+1: looks good. Feel free to merge (when the FeedEx frontend has been updated?).

We're probably going to just deploy this as-is as it fixes a broken thing, then add some UI stuff later.

:ship: nice.


Update cluster Items after adding

How to updated cluster Items after adding them without need for removing then re-adding them ?

I assume that you were referring to updating cluster item's position? If it is the case then you can call [clusterManager cluster] again after your update(s). Remember that for good performance, perform all your updates and call [clusterManager cluster] at the end.

But _items array is not accessible from outside so I can update the data

I'd imagine you could hold on to the items in a separate array when you add them to the clusterManager.

Items will passed by reference or value ?

By reference so you only need to update them in your original list.

@chlebta Have you got any luck? Can I close the ticket?

@mountainvat a question related to this.
Image that we have a huge database and all the items will be markers on the map.
Do we need to download all the information we need first and only after that update the cluster manager? This can cause a long delay before anything is being showed to the user.
Do you know if there is any other way to handle this without losing performance?

Is the database on the mobile or on a server? If it is on a server, it is probably best to do some server side filtering. So you'd give the server your latitude ,longitude range of interest and the server will only return items within that range for example. Downloading all items to the client is not very scalable.

Closing this issue out as stale. Please re-open if this is still an issue. Thanks!

Hi,
I have an array of cluster item and i am updating the position of particular cluster item, but the app is getting crashed.
All i want a way is to update position of particular cluster item.
I am doing something like this:
item.position = Some coordinate
clusterManager?.cluster()
Following is the error i got when i updated the position.
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'All items should be mapped to a distance'

the same issues.

check lat:
if lat > 85 || lat < -85 {
//don't add clusterManager.add(item)
}
it a little code make app not crash, but
I don't know why it run.

I ran into this issue too and it was due to using invalid lat long values.


router-view does not render as path contains non-ascii or unicode characters.

vue 2.0.3
vue-router 2.0.1

When the path contains non-ascii characters like chinese words, it works fine in Chrome, but not in Safari and Firefox.
Repro link: https://jsfiddle.net/a2v5rrcp/3/

Also interesting note.
Open up the console in chrome. When switching between the routes logs both of them out. On safari and firefox the root route isn't logged but the non-ascii route is.
I'd also note that the functionality in firefox is different too... if you click the a link twice in firefox then the route actually does load. The first click fires the route change (updates the $route object anyway) and the second click propagates the changes so that they render.
Super strange.

Actually, non-ascii characters are not allowed in url, though chrome decided to support them.
Spec: https://www.w3.org/Addressing/URL/url-spec.txt

ENCODING PROHIBITED CHARACTERS

When a system uses a local addressing scheme, it is useful to
provide a mapping from local addresses into URLs so that references
to objects within the addressing scheme may be referred to
globally, and possibly accessed through gateway servers.

Any mapping scheme may be defined provided it is unambiguous,
reversible, and provides valid URLs. It is recommended that where
hierarchical aspects to the local naming scheme exist, they be
mapped onto the hierarchical URL path syntax in order to allow the
partial form to be used.

The following encoding method shall be used for mapping WAIS, FTP,
Prospero and Gopher addresses onto URLs. Where the local naming
scheme uses octet values which are not allowed in the URL, these
shall be represented in the URL by a percent sign "%" followed by
two hexadecimal digits (0-9, A-F) giving the value for that octet.
This specification makes no assumptions or requirements about the
character sets, if any, referred to be the (decoded) octets a URL.
Character codes other than those allowed by the syntax shall not be
used unencoded in a URL.

Well that's great, but at the very least the router should see that and throw an error. Regardless of wether it is or it isn't, people might try to do it and have inconsistent app behavior because of that.
Regardless of browser support this is a legitimate issue. I don't feel like this thread should be closed.

Adding a warning would improve the Developer experience and it's easy to add. I'll add it

I added a warning but shouldn't we encode the path to make it work across all browsers even if it looks bad ?
中文 -> %E4%B8%AD%E6%96%87

That would be assuming the user wants to use UTF-8...(中文 -> %D6%D0%CE%C4 (GBK))
I think it's fine to just warn users and let them encode the paths.

I tested a bit further and I think we should encode the path on hash mode (the default, as used on the jsfiddle)
However, it works with history mode... with some caveats:
You cannot directly access a route with extended characters (eg: é) in any browser: opening in a new tab with the link won't work but clicking on it will.

It's encoded in GBK using other tools. On second thought I think it should be fine to encode the path for users, since they can still encode them before passing into routes array if they want.

@fnlctrl They actually cannot encode the pathes themselves if we chose to encode them

When using Firefox 55.0 and routes with Chinese characters the route change event is fired twice.  OK in Chrome, IE and Edge.
https://jsfiddle.net/yh65uhey/4/

I have the same issue in last Firefox 55.0.3 (32-bit) see https://github.com/quasarframework/quasar/issues/936

I agree with @budden that unicode characters in URL are important in some countries. I actually have a requirement from client that routes should be in cyrillic, like on Wikipedia for example (https://ru.wikipedia.org/wiki/Средняя_Азия). I opened an issue about this on nuxt.js issues page: https://github.com/nuxt/nuxt.js/issues/2888

In VuePress, now we have a perfect solution for that: https://github.com/vuejs/vuepress/pull/473
Hope that can help you.

Is that gonna be resolved soon?

I don't remember the initial problem as this was prior to our issue template but I think this is fixed in #2375 and 8369c6bddbdceec90f01cca7f64653b6612c1bdf

@posva Great! when will be the next release? 🤔


Incorporate Opt-in workflows into the design

Describe the task
Context (to be refined) below:

Hanna: Hi Scrum Team, it seems like there's been a decision in the business area that industrial operations will be allowed to opt in starting in the first year, i.e. at the same time as the other OBPS registrants. We will need to account for this in the Registration App. The implications I can think of off the top of my head are:
-we'll probably need some checkbox to indicate an opt-in (not sure at what stage, i.e. user access approval, operator, operation?)
-we may need to collect additional data from an opt-in, e.g. the BA seems to indicate that they will need to demonstrate that they are ready to participate - we should find out how that demonstration should happen and whether we need to support that in the app. E.g. an additional form they need to fill out, or attach a document, or sign something, etc.
These are initial thoughts ... we should add this to things to discuss with business area.

Patricia: I was able to confirm that Adria made this decision official, so yes, Opt-ins (smaller industry under 10KT) can apply to participate in OBPS. The process will include first applying to the Director (Adria), who will confirm whether or not they can join. Once approved by the Director, they should be allowed to register in (mostly?) the same manner as Regulated Operations and will also received a carbon tax exemption the same way. Apparently Opt-ins will have until Feb 2024 to apply. More info to come on this as we learn more!!

Dylan: Something to consider is an allow-list for operators. Not totally sure if it would work for our use case, but if some operators need to be approved by adria, we'll probably have to record that approval somehow (either online or offline).

Acceptance Criteria

[ ] Review relevant slide in the Sep 21 Registration Engagement deck
[ ] Create wireframes for the features/workflows Opt-ins in Figma
[ ] Get input from the business area
[ ] Refine design based on the input gathered

Additional context

Hey team! Please add your planning poker estimate with Zenhub @jaimiebutton @nanyangpro @NicoleGovvy

Hi @hannavovk - This ticket is ready for you to review and can be closed with the design updates below in Figma:

(New) Workflow | Add Operator - for when operator profile doesn't exist
(New) Screen | New Entrant and/or Opt-in - for when registering an operation
(New) Screen | Carbon Tax Exemption - for when an operation is registered

As described in the ticket, further refinements/iterations should be made based on future input we get/collect. The design updates above serve as a visual reference to support communications between us and the business area. (cc: @suhafa :)

Thanks @nanyangpro !


:alien: feat(mysql): Bitnami mysql for kinto

This change is

Accidentally didn't include it in the commit. pushed.
On Tue, Oct 22, 2019 12:04 AM, Appréderisse Benjamin<EMAIL_ADDRESS>wrote:
@bappr  commented on this pull request.
Missing values.kinto
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Error when using the new 3 year SaaS subscription

Describe the bug
We have a SaaS offer with a plan using the new 3 year subscription and when the customer goes to configure account, it redirects to our accelerator, but the get an error Error 500: Unknown TermUnitEnum value.  Actual value was P3Y.  we are using the code from the 4.1.0 branch btw
To Reproduce
go to private offer in azure market place
Pick the offer
click subscribe for a plan that is 3Year
click configure
then when redirected to the accelerator, you get that error
Expected behavior
Should take then to the order form

Ack, add the option here once the client library is updated.


Missing properties in the NodeRepresentation properties list

The call to get the node/document -> client.getNodesAPI().getNodeCall(nodeId) does not retrieve all properties from alfresco (only 40 properties).
Is there any limit set up or the problem is somewhere else ? Properties array list is missing some of ours properties (not all, some of them are in the node(NodeRepresentation)).
And i did not find any connections why some properties are missing. (i check by value, by name...).

Never mind. The document was not added with newer context model. (It was using the oldest which did not have this properties in it).


refactor: remove anti-pattern from the repo

          We spent a lot of time rewiring the hot repo after leaning into hardcoding pixels in tailwind. We may want to avoid this anti-pattern

https://github.com/open-sauced/hot/pull/337
Originally posted by @bdougie in https://github.com/open-sauced/insights/pull/1500#discussion_r1287280902

to search this technical debt in VsCode, you need to enable the RegEx search and use the next regex: ^.*?-\[[^\d]*(\d+)[^\d]*\].*$ This will make it easier to find them, right now we have 60 files.  I think it would be better to fix each file in isolation from others and have a different PR for it. Otherwise, we might break the design.

I would like to work on this.
.take

Just a quick suggestion for this, there is a lot of files effected by this, you can go slowly with small PRs and have this as tracker this way it would make the tests easier and more stable. (instead of changing 60 files at once, try to go with logic based files)

Noted @a0m0rajab


Get a new Petclinic logo

Hi @arey  can I help you in this if you don't mind

@arey Why?

This is a very old issue that hasn't moved for quite some time so it doesn't look actionable anymore.


Can't push my modifications with the lib

Hi there!
I try to push some modifications on a remote with this part of code:
let mut callbacks = RemoteCallbacks::new();
callbacks.credentials(|user, pass, ctype| {
    return Cred::userpass_plaintext(user, pass.unwrap());
});
let mut push_options = PushOptions::new();
push_options.remote_callbacks(callbacks);
match r_remote.push(&[], Some(&mut push_options)) {
    Ok(_) => println!("Branch has been pushed!"),
    Err(error) => println!("Error {}", error),
};

but I obtained the error
thread '<main>' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:367
thread '<main>' panicked at 'callback has panicked, and continuing to unwind into C is not safe, so aborting the process', /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/git2-0.3.3/src/panic.rs:59
stack backtrace:
   1:     0x5620f8d584a0 - sys::backtrace::tracing::imp::write::haa19c02b4de52f3bG0t
   2:     0x5620f8d5a7f5 - panicking::log_panic::_<closure>::closure.41218
   3:     0x5620f8d5a270 - panicking::log_panic::h527fe484e9de8fe1W7x
   4:     0x5620f8d4c478 - sys_common::unwind::begin_unwind_inner::h51f64b1a34c60827fTs
   5:     0x5620f8ca4be7 - sys_common::unwind::begin_unwind::begin_unwind::h16792344233475443377
                        at ../src/libstd/sys/common/unwind/mod.rs:237
   6:     0x5620f8ca4b61 - panic::wrap::_<impl>::drop::h134a97ebfc9ce0d4a3b
                        at /home/antonin/Documents/dev/giwyn-rs/<std macros>:3
   7:     0x5620f8ca8eac - panic..wrap..Bomb::drop.22242::h43c09561fd975edb
   8:     0x5620f8cb245a - panic::wrap::h61232809709193426
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/git2-0.3.3/src/panic.rs:68
   9:     0x5620f8cb216c - remote_callbacks::credentials_cb::__rust_abi
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/git2-0.3.3/src/panic.rs:23
  10:     0x5620f8cb1f32 - remote_callbacks::credentials_cb::h8908a538de8f4e66gli
  11:     0x5620f8d2650a - on_headers_complete
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/transports/http.c:354
  12:     0x5620f8d2c420 - http_parser_execute
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/deps/http-parser/http_parser.c:1579
  13:     0x5620f8d2720e - http_stream_read
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/transports/http.c:707
  14:     0x5620f8d2463a - git_smart__recv_cb
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/transports/smart.c:22
  15:     0x5620f8d2dd6d - gitno_recv
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/netops.c:20
  16:     0x5620f8d30279 - git_smart__store_refs
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/transports/smart_protocol.c:50
  17:     0x5620f8d24dc9 - git_smart__connect
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/transports/smart.c:242
  18:     0x5620f8cc1d91 - git_remote_connect
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/remote.c:740
  19:     0x5620f8cc3d99 - git_remote_push
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/libgit2-sys-0.3.8/libgit2/src/remote.c:2464
  20:     0x5620f8cb142c - remote::_<impl>::push::h32e67b0670fb3884XTh
                        at /home/antonin/.multirust/toolchains/stable/cargo/registry/src/github.com-88ac128001ac3a9a/git2-0.3.3/src/call.rs:14
  21:     0x5620f8c4c5b7 - interactive_mod::_<impl>::create_back_up_for_good_repositories::h97af815ae4d95cd22Fa
                        at src/interactive_mod.rs:251
  22:     0x5620f8c4da58 - interactive_mod::_<impl>::trigger_format_process::he78dc6105ad60c163Qa
                        at src/interactive_mod.rs:264
  23:     0x5620f8c3be3c - interactive_mod::_<impl>::run::h62d33ec07166d347fRa
                        at src/interactive_mod.rs:293
  24:     0x5620f8c2fb50 - main::h2f511758d082d7d51Va
                        at src/main.rs:131
  25:     0x5620f8d5a014 - sys_common::unwind::try::try_fn::h11901883998771707766
  26:     0x5620f8d57948 - __rust_try
  27:     0x5620f8d59cb6 - rt::lang_start::hc150f651dd2af18b44x
  28:     0x5620f8c3c5c9 - main
  29:     0x7fdebfc08ec4 - __libc_start_main
  30:     0x5620f8c2e388 - <unknown>
  31:                0x0 - <unknown>
thread panicked while panicking. aborting.An unknown error occurred

I tried several solutions (found in the "Issues" section here), but no one works currently...
Have you ever found this error in a code?

It looks like the problem here is that the pass variable passed in is None and you're calling .unwrap(). I believe this is just the password encoded in the URL, and it will be None if there wasn't one. If you use .unwrap_or(...) with a default password (or one learned from elsewhere), I think that'd do the trick!

Sorry for the delay.
I've update my code, and the program seems to loop...
This is my code:
match branch_back_up.as_mut() {
    Ok(branch) => match branch.set_upstream(Some("back_up")) {
        Ok(_) => println!("Branch 'back_up' has been updated!"),
        Err(error) => println!("Error due to {}", error),
    },
    Err(error) => panic!("Canno't upstream the branch 'back_up', due to error {}", error),
}
let refname = match branch_back_up.as_mut() {
    Ok(branch) => branch.get(),
    Err(error) => panic!("ERROR: {}", error),
};
// Find remote
let mut r_remote = r.find_remote("origin").unwrap();
// Push branch
let mut callbacks = RemoteCallbacks::new();
callbacks.credentials(|user, pass, ctype| {
    return Cred::userpass_plaintext(user, pass.unwrap_or("MY_PASSWORD"));
});
let mut push_options = PushOptions::new();
push_options.remote_callbacks(callbacks);
match r_remote.push(&[], Some(&mut push_options)) {
    Ok(_) => println!("Branch has been pushed!"),
    Err(error) => println!("Error {}", error),
};

but, since less 10 minutes, the program is blocked on
README.md has been added!
Branch 'back_up' has been updated!

Did I missed something? :-/

I think that you may have to specify some refs of what to push? I always forget what you precisely need to pass in, but it may help to see a working code example as well, although that doesn't deal with branches much as it only works with the master branch


Fixed 'implantação contínua'

The correct translation of "continuous deployment" is "implantação contínua".

@dyegocantu check issue https://github.com/12factor/12factor-br/issues/24 about the Portuguese standardization :smile:

Should I merge this @fernandes ?

@jonmountjoy yes, please :smile:


Cannot enter any type, without crashing

CPod version:
v1.27.1
Platform:
Ubuntu 18.4.05
Installation type (.deb, Snap, etc.):
Deb, via apt
Description:
Installed on 6/22/21, Install went okay, no flags. GUI updates when opened, displays sample choices. As soon as you try to enter type, into search bar, the app crashes/closes. If you try to click on one of the podcast choices, it crashes.
(trying to generate a crash report now)
Version of CPod which introduced the issue (if applicable):
Steps to reproduce:
Other information (e.g. Developer Tools console log, screenshots) if possible:

Issue resolved, I updated to the latest version. Apparently, the apt library is way out of date


Any error will trigger STM locking.

https://github.com/Magicloud/WMF/tree/dev is my code. I could not figure out why.

I just found out that, waitForEvent and waitForError cannot be used in "main" thread?

Anyone got an update on this problem?
I believe I stumbled onto the same/related problem: Whenever my event handling code causes an X11 Error (like BadWindow) it seems like no further errors or events are handled by my xhb client (and yes, I run the error and event handler separate from the main "thread" using forkIO). Though I don't see the typical thread blocked indefinitely in an STM transaction exception....
It's quite easy to reproduce using the xhb's Demo.hs, simply change the handleEvent function to produce an error and you'll only see the first event (likely EnterNotify) and then it'll hang:
-- print events from the queue
handleEvent ::X.Connection -> IO ()
handleEvent c = do
  forkIO $ forever $ do
      e <- X.waitForEvent c
      putStrLn $ showEvent e
      -- deliberately cause an error by mapping an invalid window
      wid <- X.newResource c
      X.mapWindow c wid
      return ()


Architecture and Design

Goals
Meet users where they are. Make it simple. Make dev experience as smooth and seamless as possible. Make dpm as invisible as possible by default, so devs can just install dpm into their global env or local project and use npm like normal to interact with normal npm project related things but also toggle to work with dpm things. To do this, we can either have npm use dpm or vice versa. The former is ideal since devs already know that interface and don't need to learn anything new. The latter is more achievable and the interface can be designed to be identical to npm, so transitioning is easy.
Terminology

P1 = Problem 1
S1 = Solution to Problem 1
X1 = Explanation of Solution 1
DPM = Decentralized Package Manager
DMI = Decentralized Module Import
DPK = Decentralized Package
DWN = Decentralized Web Node

Problems

P1. How to structure dwn protocol and record schema
P2. How to build custom dpm hooks to resolve and download DPKs
P3. How to make npm use custom dpm hooks file to allow devs to use npm and interact with dpm
P4. How to use dpm to interact with npm; inverse of P3
P5. How to make node use custom dpm hooks file to allow devs to leverage dpm for run scripts

Solutions

[x] S1. See protocol.ts and package.ts
[x] S2.  See dpm.ts and register.ts
[x] S3. Not possible. See X1. below.
[ ] S4. Build dpm cli to mimic and interact with npm (see X4. below) - #9
[ ] S5. Can update the NODE_OPTIONS env var (see X3. below).

Explanations

[x] ~X1. use npm to interact with dpm~

~Example: dpm install --foo --bar executes npm install --foo --bar --import ./register-hooks.js under the hood~
~Doesn't appear that npm install has an import flag~
~unfortunately, this isnt possible afaict~
~npm does not provide any interface to pass custom files for doing various tasks like run or install~

[x] ~X2. dpm imports npm via programmatic interface~

~preinstall=./path/to/your/register-hooks.js~
~by default, have node and dpm use this hook~
~unfortunately, this isnt possible afaict~
~programmatic api was disabled since node v8; cannot npm i npm and import commands to modules~

[x] X3. dpm updates local NODE_OPTIONS env var using postinstall script

dpm executes child processes for npm commands
install.sh and postinstall script points local env to the register.ts file using the --require flag for custom hooks
if dpm installed globally with npm i -g  or individual project with npm i, postinstall script runs to set this up
if dpm installed via shell script, install.sh sets this up
if NODE_OPTIONS is set, update it to include register.js path; if NODE_OPTIONS is unset, set it to register.js path
NODE_OPTIONS='--require /path/to/dpm/register.js'

[x] X4. use child_process to execute npm commands within the dpm module

all npm commands include access, adduser, audit, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, help-search, hook, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, query, rebuild, repo, restart, root, run-script, sbom, search, set, shrinkwrap, star, stars, start, stop, team, test, token, uninstall, unpublish, unstar, update, version, view, whoami
Do not need to augment all npm commands
Can simply proxy commands to a general dpm/npm function that calls exec(npm ${command} ${...args}
Need to proxy and add code for certain npm commands that are important for interacting with dPacks

install/uninstall - handles install/uninstall of nPacks and dPacks
pack - handles the packing of a dpm for publishing
publish - publishes a dPack to a DWN

Architecture

CLI

simple way to interact with DPM to install dWeb packages and run scripts with DMIs
npm -g

npm i -g dpm
installs dpm on local env making the cli globally accessible

curl install-dpm.sh

Users install DPM via <curl -sSL | wget -qO- > https://dmp.software/install.sh | sh
installs dpm on local env making the cli globally accessible

MODULE

code published to npmjs.com that can be installed into local project
can use dpm in specific project without need to install cli into local env for global shell access/use
can augment project to interact with dPacks adhoc

Goals
Meet users where they are. Make it simple. Make dev experience as smooth and seamless as possible. Make dpm as invisible as possible by default, so devs can just install dpm into their global env or local project and use npm like normal to interact with normal npm project related things but also toggle to work with dpm things. To do this, we can either have npm use dpm or vice versa. The former is ideal since devs already know that interface and don't need to learn anything new. The latter is more achievable and the interface can be designed to be identical to npm, so transitioning is easy.
Terminology

P1 = Problem 1
S1 = Solution to Problem 1
X1 = Explanation of Solution 1
DPM = Decentralized Package Manager
DMI = Decentralized Module Import
DPK = Decentralized Package
DWN = Decentralized Web Node

Problems

P1. How to structure dwn protocol and record schema
P2. How to build custom dpm hooks to resolve and download DPKs
P3. How to make npm use custom dpm hooks file to allow devs to use npm and interact with dpm
P4. How to use dpm to interact with npm; inverse of P3
P5. How to make node use custom dpm hooks file to allow devs to leverage dpm for run scripts

Solutions

[x]  S1. See protocol.ts and package.ts
[x]  S2.  See dpm.ts and register.ts
[x]  S3. Not possible. See X1. below.
[ ]  S4. Build dpm cli to mimic and interact with npm (see X4. below) - DPM CLI #9
[ ]  S5. Can update the NODE_OPTIONS env var (see X3. below).

Explanations

[x]  ~X1. use npm to interact with dpm~

~Example: dpm install --foo --bar executes npm install --foo --bar --import ./register-hooks.js under the hood~
~Doesn't appear that npm install has an import flag~
~unfortunately, this isnt possible afaict~
~npm does not provide any interface to pass custom files for doing various tasks like run or install~

[x]  ~X2. dpm imports npm via programmatic interface~

~preinstall=./path/to/your/register-hooks.js~
~by default, have node and dpm use this hook~
~unfortunately, this isnt possible afaict~
~programmatic api was disabled since node v8; cannot npm i npm and import commands to modules~

[x]  X3. dpm updates local NODE_OPTIONS env var using postinstall script

dpm executes child processes for npm commands
install.sh and postinstall script points local env to the register.ts file using the --require flag for custom hooks
if dpm installed globally with npm i -g  or individual project with npm i, postinstall script runs to set this up
if dpm installed via shell script, install.sh sets this up
if NODE_OPTIONS is set, update it to include register.js path; if NODE_OPTIONS is unset, set it to register.js path
NODE_OPTIONS='--require /path/to/dpm/register.js'

[x]  X4. use child_process to execute npm commands within the dpm module

all npm commands include access, adduser, audit, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, help-search, hook, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, query, rebuild, repo, restart, root, run-script, sbom, search, set, shrinkwrap, star, stars, start, stop, team, test, token, uninstall, unpublish, unstar, update, version, view, whoami

Do not need to augment all npm commands

Can simply proxy commands to a general dpm/npm function that calls exec(npm ${command} ${...args}

Need to proxy and add code for certain npm commands that are important for interacting with dPacks

install/uninstall - handles install/uninstall of nPacks and dPacks
pack - handles the packing of a dpm for publishing
publish - publishes a dPack to a DWN

Architecture

CLI

simple way to interact with DPM to install dWeb packages and run scripts with DMIs

npm -g

npm i -g dpm
installs dpm on local env making the cli globally accessible

curl install-dpm.sh

Users install DPM via <curl -sSL | wget -qO- > https://dmp.software/install.sh | sh
installs dpm on local env making the cli globally accessible

MODULE

code published to npmjs.com that can be installed into local project
can use dpm in specific project without need to install cli into local env for global shell access/use
can augment project to interact with dPacks adhoc

The revised design and implementation is to reuse npm via .npmrc hooks prefixing all dpks with @drpm
This results in the CLI being much less necessary and focusing on building a local registry service to handle the GET calls.
Closing since a design/arch has been defined and is being implemented.


Add Footer

First column:
ABOUT
FDS logo (link to fairdatasociety.org)
SWARM logo (link to eth swarm org)
app version + (mainnet|testnet) (link to github)
Second column
COMMUNITY
Ecosystem (portal.fairdatasociety.org)
Twitter  (@FairDataSociety)
Discord  (https://discord.com/channels/888359049551310869/940628803250704394)
Third column:
RESOURCES
Documentation
Github
Blog
Fourth Column
EXTENSIONS
Blossom (Add links on store)
Swarm (Add links to store)

PR: https://github.com/fairDataSociety/fdp-create-account/pull/45


Namespaces : Discussion on the strategy

The goal of this issue is to discuss the various aspects and features of the namespaces.
Two options for their creation :

either they are created automatically, prepended with the username's by default, when creating an env
or all the envs go under a global namespace by default

Also : The creation would be allowed for all the users, only the deletion would be made possible for admins
ping @costrouc @dharhas

Looks like I lost the comment. I would like to create two permissions:

NAMESPACE::CREATE
NAMESPACE::DELETE

These permissions exist on the admin role (not developer or viewer).


Handle sprites that are behind the BG

It can be done with 3 layer : behind, bg, top that are merge at display

Closed with previous commit

Implemented in the pixel generator multiplexor


Lint - Fix unknown proc openroad_pin_access_args

Just did an initial run of the ttclcheck linter.
It's the linter used in Vivado.
Still haven't figured out completly how to set up openroad and other dependencies but I found my first real error within seconds.
Hopefully we can set it up properly and integrate it soon...

@gadfort Do you know any better tcl shell than tclsh?
That one doesn't even support my arrow keys. :smile:

Do you know any better tcl shell than tclsh?
That one doesn't even support my arrow keys. 😄

https://wiki.tcl-lang.org/page/tclreadline


Chnage Exposure and Brightness of the camera

I want to access the camera imaging parameter like brightness , shutter , white balance etc. using the python code.
I tried explore the whole library but I could not get anything regarding the same.
Please help me with same !
Thank you in advance !

Hi Jayesh, were you able to do this?


docker build error

Description
docker build error gives me pytorch:20.03-py3 not found
TRTIS Information
What version of TRTIS are you using?
none
Are you using the TRTIS container or did you build it yourself?
I try to build it
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/NVIDIA/triton-inference-server.git
cd triton-inference-server/
git checkout r20.03
docker build --pull -t tritonserver .
Sending build context to Docker daemon  268.9MB Step 1/118 : ARG BASE_IMAGE=nvcr.io/nvidia/tritonserver:20.03-py3 Step 2/118 : ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:20.03-py3 Step 3/118 : ARG TENSORFLOW_IMAGE=nvcr.io/nvidia/tensorflow:20.03-tf1-py3 Step 4/118 : FROM ${PYTORCH_IMAGE} AS trtserver_pytorch manifest for nvcr.io/nvidia/pytorch:20.03-py3 not found: manifest unknown: manifest unknown

The 20.03 documentation was released a couple of days early due to the Triton name change. To build 20.03 you need to wait until 20.03 releases (should be soon). Otherwise change your build steps to use 20.02.


Enhance user search

What
Enhancing User and Admin Details search capability
Why
Previously doing exact match and requiring exactly 5or6 chars in order to search a username.
Link to JIRA / Trello card (if applicable):
https://technologyprogramme.atlassian.net/browse/GW-997

closing as created another cleaner PR


[Bug or Question] Insomnia Helper memory leak?

Question/Maybe a bug

Insomnia Version: 5.7.4 (<IP_ADDRESS>3)
Operating System: macOS Sierra 10.12.1 (16B2555)
Machine: MacBook Pro (Retina, 13-inch, Mid 2014) 8GB DDR3 RAM

Details
Machine was running like a total dog, opened activity monitor, looked and sorted by memory usage, there was a process called Insomnia Helper which was consuming 1.5GB of memory.
My machine background:
I open the lid around 8am, close the lid around 6pm and do the same every day of the week - i never really shutdown, so it's in a constant in-out of sleep cycle. I never close insomnia, it lives with me in my daily workflow. Therefore i'd like to suggest this increase in memory usage/leak could be very small but the overall impact was rather large.
I closed insomnia and killed insomnia helper, which freed the memory, i reopened it before writing this issue.
This is therefore not so much of a bug report as a question; what is insomnia helper, why would it be allowed to climb up to 1.5GB of RAM? Can anything be done to stop that in future?
Since writing this issue (about 5minutes of my time) it's climbed from 134.0 to 135.1MB, i've got insomnia totally minimised and haven't touched it apart from dismissing the 'whats new' dialogue.
Since i reopened it i'm on Version 5.7.4 (<IP_ADDRESS>3) so it seems the issue is present right now.
Not urgent, not a deal breaker.

Is this still an ongoing issue @TakesTheBiscuit? There haven't been many complaints and I can't reproduce it on my end to that magnitude.
If so, can you include the output to the following command?
ls -lh ~/Library/Application\ Support/Insomnia/insomnia.*

I have a feeling this issue could be amplified by larger-than-average database files.

I think it's fair to say i've not encountered the exact same issue lately but on an average day it looks like 286MB Compressed memory in use -- if this is all database i'd be happy to kill some of my workspaces.
I have approx 15 workspaces each with between 30-40 requests in each, with a mix of folders and loose requests.
I think you should probably close this issue, but i am confident in my original report of high mem usage 1.5GB - damn gremlins! hope it doesn't come back


DORA metrics and Deployment Frequency calculation

Are the deployment metrics in this repo supposed to follow the DORA metrics standard?
In case it is, the Deployment Frequency is defined as:

How often an organization successfully releases to production

The current implementation uses all deployments for the calculation, not just the successful ones. Is this intentional?

It was deliberate. The metric is based on page 16 of Accelerate, which doesn't really specify.
I have no problem calculated both versions, for example.


implement top writers feature

implement a feature that will show the top writes based on the number of posts they have written OR based on the total number of views their posts have ( i think this is better).

completed


shobhit907

Added math riddle 5 (Observe & Count)
I have read the Code Of Conduct.
I have followed all the steps of submission properly.

Hey, @harshptl14 , I have a fresh PR for math riddle 5
This one is with latest changes of repo.


Update Readme for consistency

Throughout the documentation, Angular.js is written in a multitude of ways, e.g. Angularjs, Angular.js, Angular.JS, AngularJS. This may lead to confusion. For the sake of consistency, I edited this README to use Angular.js.

@jyeg thnx for the PR but AFAIK the "official" form is AngularJS.


integrations: PDF segmentation and ingest via Aryn model / Sycamore

I'm fired up about a rust implemented document parsing / embedding engine for my code and documents.  Sadly, I don't see a good PDF ingestion in the code.
Ideally, I'd like to import PDFs from academic papers, webpage printouts, or even long screenshots right out of a headless chrome instance.  To do this effectively, the image(s) need to be segmented, classified, and then each segment handed to the best LLM for OCR / interpretation.
I've looked at Sycamore, which has published their segmentation LLM on HF.  Sadly, it's python all the way down.  I'm looking for something more production-ready, and default-safe with untrusted data

Hey @jac-cbi,  We haven't done much yet with non text data. If the PDFs are well formed and don't need ocr, a more simple reader could be added faster.
That said, processing non-text / binary data is super interesting. An llm would then generate context on the segment, which would then be stored in a database?

Potential reason to continue with #66

Hah, quite a nerd snipe, sounds like a cool project. If I understand correctly, that means there's two parts to this. Multimodal support, i.e. via mistral rs, and supporting binary data in Swiftide?
Right now te latter doesn't have priority for me. That said, it sounds very cool. If you're interested in picking it up, I'd love to think along.

@jac-cbi I'm still interested in picking this up further and gave it a bit more thought. Previously, I got mistral-rs to work in Swiftide, but I can't release it in Swiftide itself because the library isn't released as a crate. Although I'd much prefer to do it that way, an alternative solution could be a separate repository with git dependencies.
As for the having non-textual data in the pipeline, I think this can be very valuable in general. The solution we came up with is to make a Node generic over its internal chunk value, which would have the added benefit of having transformers that only work with specific kinds of data. I'll create an issue for that in a bit, as it basically opens the door to multimodel processing, which I think is a must have.
Could you let me know if you're still interested in setting this up? I'd be happy to take a look at setting up mistral rs in a separate repository if that is the case.


Provide a way to force use packaged stdlibs in the Ballerina distribution

Describe your problem(s)
We are currently using Ballerina SL Alpha4. After the release of SL Alpha5, the Alpha4 distribution started to pull new versions of stdlibs from ballerina central. This can break the existing builds due to incompatible versions. For example, builds which use Alpha4 connectors. As a workaround, we are using Dependencies.toml to specify the required stdlib versions.
Describe your solution(s)
It would be good to have a way (maybe a flag?) to force the Ballerina to use packaged stdlibs when building.
Another option is to give priority to packaged libs unless the user specified to pull new stdlib versions.

We have added a fix to only show compatible packages to a given distribution. This ensures the distribution does not pull the latest if it is not compatible. Therefore, we are closing the issue since the mentioned issue is resolved. Feel free to reopen if there are any other use cases for forcing the versions from the distribution for standard libraries.


Step copy file 0.0.2

New Pull Request Checklist
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Hi @satyasrikantmantha ,
thanks for the step, i left 1 comment about step input's is_expand option, please take a look on that!
Also when you share a step, you should generate only one commit, if you want to modify your step, please close the share PR, delete the share branch in your steplib fork and share it again.

@godrei, made the change, forgot to delete the steplib fork branch, which possibly resulted in multiple commits, sorry about that. Can you please review the changes, and accept? Also, when can I see this step in main release?

Hi @satyasrikantmantha i created some comments to your new PR. After we accept your step PR the new step will be available in the steplib in ~10min.


[Documentation] How to update?

It's my first time using something from source, and everything kinda works but I'm wondering, how should one update the whole thing once installed? Should I uninstall anything, just repeat the whole installation process, something else?

@le-jun To update, you can simply type git pull (if you cloned via Git, if not, redownload the latest source) and build & install the same way you did it the first time. I do think this should be mentionned in the README, however.


Release new version once Wagtail 2.0 is officially out

Remember to update tox/travis/requirements to use 2.0 instead of 2.0b1 as well.

Version 1.0 is now on pypi.


Move to Taffy Layout Engine

Eventually migrate layout engine to taffy - https://github.com/DioxusLabs/taffy. The best plan of action, will likely be to wait for taffy to stabilize a C API, then use jextract to auto-generate bindings. The new Java FFI (JEP 454) got finalized in 22, so as long as hotswap relies on the JBR, it may not be possible to support both hotswap and taffy until JDK 25, the next LTS version.

Hey,
Just so you know, I am currently working on bindings for Java over there
https://github.com/DioxusLabs/taffy/pull/705
Feel free to give me feedback if you have some :)


close_at_tolerance always returns false for comparisons of infinity

Consider this code:
#include <boost/test/tools/floating_point_comparison.hpp>
#include <iostream>
#include <limits>

namespace fpc = boost::math::fpc;
int main() {
	float a = std::numeric_limits<float>::infinity();
	float b = std::numeric_limits<float>::infinity();

	auto P = fpc::close_at_tolerance<float>(fpc::percent_tolerance<float>(0.01), fpc::FPC_WEAK);
	std::cout << P(a, b) << "\n";
}

It prints 0. You might say "well that makes sense because one infinity is not the same as another". Except that the IEEE floating point standard considers inf == inf to be true, which means that you have the strange situation where this passes:
BOOST_AUTO_TEST_CASE(foo)
) {
	float a = std::numeric_limits<float>::infinity();
	float b = a;
	BOOST_TEST(a == b);
}

But this does not:
BOOST_AUTO_TEST_CASE(foo,
	*utf::tolerance<float>(fpc::percent_tolerance<float>(0.01))
) {
	float a = std::numeric_limits<float>::infinity();
	float b = a;
	BOOST_TEST(a == b);
}

Also, I'm 90% sure the latter case did pass in the past (Boost 1.60 at least).

Do you happen to know what the fix is or which commit changed the behaviour?

Ah cool, I patched it like this and it works for us now:
inline assertion_result
compare_fpv( Lhs const& lhs, Rhs const& rhs, op::EQ<Lhs,Rhs>* )
{
    if (lhs == rhs) {
        return true;
    }
    ...

It is fixed on the branch topic/GH-156-comparison-to-infinity. However close_at_tolerance is using a tolerance value, and does not handle 0 nor infinity. I updated the doc as well.
Let me know if the branch works for you

In develop, thanks again for the report. Closing.

Seems like our tests have changed and I can't get them to fail now, but the fix looks good to me - thanks!


Selectable Pins for LED Disp and Sensors - Enhancement

A+ for the recent Updats. Is it possible to have a selective Pin for the LED Display and othe sensors. I note the common pin for the Wemos D1 Mini shield uses D4 the same as the LED display currently. https://hobbycomponents.com/shields/868-wemos-d1-mini-dht-temphum-shield.

+1 from me as well. I'd love to create an option which allows to shift the D8 pin to D5, as this would allow to re-use components from AWTRIX project (AWTRIX PCB expects DFPlayer on D5).
I am eager to extend the .ino code, however, I have no idea how to extend the WebUi.

I started modifying the source in order to make the pin assignments dynamic. I made quite a lot progress for the sensors. However, when I came across the matrix pin, I had to learn that this cannot be done dynamically on a ESP8266.
The following discussion explains the reasons behind this:
https://github.com/FastLED/FastLED/issues/1137
To summarize: in order to gain the required speed even on an ESP8266, the FastLED library tries to make as little decisions during runtime as possible. One of these decisions is the pin used. The pin can only be changed when the software is being compiled.
The only option would be to create as many FastLED objects within the program as pins should be available, then decide dynamically which one to use. Disadvantage of that solution: it consumes quite a lot memory.
Given that @o0shojo0o even moved the webui to github rather than keeping it on flash and in memory, I suppose memory will be an issue.
So, I will try to finish my work on dynamic pins for sensors during the next couple of days and upload the code as PR, which allows @o0shojo0o to decide whether to accept my modifications or not. But LEDs will remain assigned to D4.

I have finished working on the pin assignment version.
However, I think I might have mixed up my repository, basing the new version on 0.3.14 then merging and reverting, rather than basing it on my recent PR.
@o0shojo0o I guess it would be easiest if you could decide on my recent PR, then I will create a new PR for the pin assignment version.


Deleted binary files, improved build script & README

Deleted binary files (This is considered bad practice to leave binary
files to the repository. Use releases instead if you really want such
thing.)
Improved build script (Added messages & customizable image output path)
Improved README.md file (Depending on the above changes + added
procedure to build & test)

Thanks for the pull request!


Manage Household page-- dragging card pops card to top of screen

On a Manage Household UI screen
Search for Add Member
Add several members
Click and drag a Member card
Click card a second time and card pops to top of Manage Household area.
Seen in latest Firefox 38.0
See screen shot

**lurch: add

Tracking W-008315

Included in beta release version 3.77 (Beta 3) and higher

Included in production release version 3.77


Export-PipeScript should only build when a file is out of date.

Export-PipeScript should attempt to determine if a file is out-of-date before building.
This can be done using ugit, one could see if the commit date on a source file was newer than its destination.
There may be a need for an alternative "out-of-date" condition.  In theory, this could be expressed using a [ComponentModel.ComplexBindingPropertiesAttribute].
There may also need to be a -Force [switch] to ensure files can be built under any conditions.

Closing the thread, and this pandora's box for now.
This sounds good in theory, sure.  But what about dependencies and their effects on the overall system?
One could make a stark dividing line:  build scripts always run, and templates are only recompiled when the file is out of date.
however what about the case where a file has a dependency?
Either one creates a convoluted opt-in for dependency management, which people are unlikely to discover, or one doesn't do this because the side-effects it would create outweight the extra time spent building files.
Discretion is the better part of valor.


Extend Optional-As-Any Warning to String Interpolation Segments

An implementation of warnings for optional values in string interpolation segments.  We now suggest that the user either

Insert .debugDescription
Insert a cast to T?

To explicitly request a debug string representation of an optional.  Further discussion of this patch can be found on the list.
Resolves SR-1882.

@swift-ci please smoke test.

@rudkx That should do it.  Unfortunately I still am not able to find a way to get a sugared string representation of the segment's type like I am the optional's base type.  Other that that, though.

@rudkx That should do it.

@swift-ci please smoke test.

Sigh, macOS and Linux.

@swift-ci Please smoke test Linux

Thanks @shahmishal

@swift-ci please smoke test.

@swift-ci Please smoke test

Gonna give the Swift evolution discussion a chance to settle down a bit before I commit this.

⛵

Since both fix-its result in the same behavior, I'm inclined to say we should just pick one and drop the other note.

Arguably we should still offer the ?? <#default#> fix-it as well.

Then i'd prefer to keep the debugDescription call over everything else.

debugDescription is intended as a customization point, not something you ever call directly. I don't think we should encourage people to use it explicitly.

That's a good point. String(reflecting:) is supposed to be the normal entry point.

Hm, that's a good idea.  I'll amend the diagnostic and shoot ya'll another pull request.

Thanks, this looks great! 😄
Minor recommendations:

did you mean to make this explicit? isn't very clear by itself. I would recommend simply removing the semicolon and this clause.
what would you think of suggesting as Optional instead of as [the argument type]?

Thanks!

I disagree.  The diagnostic needs to be as specific as possible about what the actual behavior of this expression is and why we intend to fix it.

Definitely cleaner than the existing cast.  I'll include it in the patch.

This just fills my log code full of (String(describing:someOptional) and Xcode Fix-it is broken doesnt appear all the time especially if theres two " ...(optional1) (optional2).
I though the point of swift was LESS code not I got (String(describing:.. everywhere

@clearbrian Please file an SR about specific bugs in Swift related to Optional-as-Any diagnostics, and radars about Xcode.  It may just be that you're trying to apply stale fixits, it may be something deeper, but I can't tell from this comment alone.
In addition, the diagnostic should offer more ways to fix or silence this warning than the "long way" of going through the initializer.  If you rely on logging a lot of optionals, and that optionality is relevant to the log, then consider an as cast to Optional

This is an example of fixing a problem by introducing another.

@CodaFi Is there any way to silence these warnings without adding so many useless lines of code to my project? Like a compiler flag or something?

The fixit offers you multiple single-line avenues for doing just that.  A cast with as Optional will also silence it.  This warning is an extension of Optional-as-Any analysis.  Any workarounds for that apply here as well

This issue is not the most appropriate avenue of discussion about this feature.  Refer to the Swift evolution thread linked at the root for details about its inclusion and the problem it solves.
I'm locking this discussion.


[FLINK-13289][table-planner-blink] Blink-planner should setKeyFields to upsert table sink

What is the purpose of the change
Support upsert table sink in blink-planner
Verifying this change
TableSinkITCase
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

@wuchong Please take a look again.


DevelopmentDependency is missing from Package

I tried to move most of the "features" from this closed PR https://github.com/NuGet/NuGetGallery/pull/2242 to new PRs and I already noticed that the developmentDependency is missing as an actual property on the PackageMetadata. @maartenba already said that this is currently on your radar (https://github.com/NuGet/NuGetGallery/pull/2834#issuecomment-167067726), which is fine, because on the VerifyPackageUpload page I can at least access the data via the NuSpecReader.
On the package detail page it seems I can't access the NuSpec directly and there is no DevelopmentDependency property - not even as read only property.
When I did the original PR I could do something like this:
https://github.com/robertmuehsig/NuGetGallery/commit/1ad1f4630726055734a0a592326faef1ab851809
It's not super important IMHO, but I wanted to log it somewhere.
This would also resolve this issue:
https://github.com/NuGet/NuGetGallery/issues/1874

Per the work done in https://github.com/NuGet/NuGetGallery/issues/5666  we are now populate DevelopmentDependency in the DB, and it's already exposed on Package details page. If you think there are other places where this data should be exposed feel free to reopen this issue/ create a new one.

Just a couple of hours ago I updated my fork and discovered this - nice work!


Updated Jitsi SDK to 7.0.1

Added Notification icon for android
Updated Jitsi SDK to 7.0.1
Android 13 support
Bump Kotlin and Gradle version

Thanks for the PR. Hope that I can take a look at it over the holidays.


'list' command | Consider adding an empty row at the end of each printed list of commands and algorithms for easier readability

release: openssl-3.0.5
Hello. Adding an empty row at the end of each printed list of commands and algorithms would serve a better determination of which list is which when several printing of lists are invoked in a same command line. Printing illustrating an uneasy determination (output truncated):
$ openssl list -{digest,kdf}-algorithms
  (...)
  NULL @ default
Provided KDFs and PDFs:
  (...)

OK, makes sense.


How to Use artplanner with Differential drive Robots? Unable to plan path on elevation Map-  Error: LazyPRMstar: There are no valid initial states!

Hi,
I want to use art planner for differential drive robots. I am getting elevation map from elevation mapping cupy package and it looks fine. However, I am not able to plan a path on elevation_map using LazyPRMstar . I also tried RRTStar as well on elevation_mapping.  it is showing error Error: LazyPRMstar: There are no valid initial states! .
The following is what I have tried as of now:

I am using elevation_mapping_cupy to generate elevation map. output of this package looks okay.
I am supplying Elevation map to art planner. With the help of rviz, I am setting a goal pose but it is unable to plan a path. it throws error by saying " Error: LazyPRMstar: There are no valid initial states!" .
I tried using a different package on a 2D costmap algorithm LazyPrmStar and RRTStar works fine and I am able to plan a path on that.
I am using same ODE package provided with art planner.

I have read issues as well regarding which says that robot should be on elevation_map. It should be able to plan a path then.
I am new to this package , I tried all the things mentioned in earlier issues. Can you guide me that how to use this package for differential drive robots?  What all parameters I should change to make it work for differential drive robots?

Hi! Did you manage to solve this? I am running into the same issue


[Icon Request] Support for LaTeX Beamer, LaTeX Log, LaTeX Memoir

[x] I'm sure this issue is not a duplicate.

[x] I want to create an icon request:

Type: extension

Icon Name: tex

Sample Icon: https://github.com/vscode-icons/vscode-icons/blob/master/icons/file_type_light_tex.svg

Language ids: latex beamer, latex log, latex memoir

Language Extensions: https://marketplace.visualstudio.com/items?itemName=torn4dom4n.latex-support and https://marketplace.visualstudio.com/items?itemName=James-Yu.latex-workshop

@torn4dom4n Is it OK with to associate those with the tex icon?

Looking at the package.json of both extensions I notice that there are no extensions defined to those ids. So the issue is kinda invalid.

I am not sure about extensions for this. Can you enable icons without extensions defined?

No. For icons to light up they need to be associated with a file, either whole filename or extension.

@JimiC Thank for that. I will close this issue!


Vector Widening and Narrowing instructions when 2*SEW > ELEN

As the RISC-V specs says
For widening:

The destination vector register group results are arranged as if both SEW and LMUL were at twice their current settings (i.e., the destination element width is 2SEW, and the destination vector register group LMUL is 2LMUL).

For all widening instructions, the destination element width must be a supported element width and the destination LMUL value must also be a supported LMUL.

For narrowing

If (2*LMUL > 8), or (2 * SEW) > ELEN, an illegal instruction exception is raised.

The generator should check the parameter ELEN defined in the target configuration in order to generate or not widening and narrowing instructions when the SEW, configured by the vsetvli instruction, won't allow this instructions to be valid.

We are working on updating the narrowing/widening instruction support, expect to push to upstream in a few days.

This should be solved by https://github.com/google/riscv-dv/pull/598. Please reopen the issue if you see this problem.


Max line leght to 100 charactes

Lets discuss about this one.

I would go directly to 180 chars 😃


Use Tag for Token File OutPut

Update Swagger Parser to save file using the tag used for generation the APIView token

Curious on why we need this change?

Curious on why we need this change?

So this tool has a logic for identifying the default tag. Am trying to avoid reimplementing that logic in the script.
This provides a way to get the tag used to create the APIView artifact so the same tag can be used for the Baseline.

What if the change is not in default tag? It's possible to have swagger readme with default tag with unchanged files but non default has changed files. So I believe script was identifying the correct tag earlier to be used to create APIView token file.


user can edit Power Automate flow from a Managed Solution. 'Edit' button is disabled when in solutions, but if you open the automate

[Enter feedback here]

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

ID: aed97a28-1e40-eaca-1612-367a71f7d0d7
Version Independent ID: a1201bae-0aa1-6350-63d5-f2aecdc4eacb
Content: Solution concepts - Power Platform
Content Source: power-platform/alm/solution-concepts-alm.md
Service: power-platform
Sub-service: alm
GitHub Login: @Mattp123
Microsoft Alias: matp

Thanks for your comment, @patwardhanrohitr. This issue has been assigned to the doc author for review.


use glibc 2.22 to work around assembler error

@shenki after our buildroot was seemingly re-worked from upstream master, initramfs builds have been failing[1] on openpower.xyz.
03:57:49 ../sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Assembler messages:
03:57:49 ../sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:367: Error: junk at end of line: `1,0'

They work fine if I build with glibc 2.22 instead of 2.21 however, so this PR adds this specification to the openpower config we're creating. Builds now succeeding[2].
[1] https://openpower.xyz/job/initramfs-build/9/console
[2] https://openpower.xyz/job/initramfs-build/12/

This change is

Why are we building master from open-power's buildroot? That branch has no value to us; it might point to somewhere upstream.
The way we use the buildroot repository in open-power is to have a branch from upstream's releases, and on top of that apply a few patches in order to add features we require, or bring in support for newer versions of packages by backporting upstream commits.
I think this job would serve it's purpose better by tracking upstream, or upstream stable releases.

OK, so we should just use actual upstream buildroot? I guess we used this one because it had specific fixes on top of upstream to make things work while they were fixed upstream.

Yeah, as it turns out the fixes we carry aren't all that interesting in isolation from the open-power overlay, particularly as we're not building pnor images.
Lets track upstream; it will give us coverage of their development cycle, allowing us to be confident that new upstream releases will work on power.
Do you want to see if upstream is interesting in taking a powernv_le defconfig?

Actually, I just found configs/powerpc64_openpower_defconfig in my local upstream buildroot git repo, so I probably just had a brainfart when I was configuring the jenkins job. I've set that job to use upstream buildroot now.
Having said that, this patch is still required.
Yeah I'll have a look at getting a defconfig upstream separately.

Cool, thank you!
Let me know if you want me to find someone to do the defconfig upstreaming. Feel free to chat about what kind of things we want to enable too.

What is this even doing? I'm lost why we are building buildroot configs in a repository called "openbmc-build-scripts". It doesn't seem, from my cursory glance, that this is building a full host side flash image for barreleye or palmetto.

@williamspatrick I think it's meant to just be a way to conveniently provide a basic initramfs for partners to grab for testing.

But why is it in the openbmc project code repository?

@williamspatrick ahh right, cause we already had builds scripts here, I guess. Should I move it to open-power or something?

@williamspatrick it's here because it grew out of openpower.xyz, which is/was a OpenBMC thing.
I'm happy that we're doing CI, and doing it in the public, and the scripts have some form of configuration management. They can say here for now

@shenki you happy to merge this then? We can look at splitting out later.


[5.7] Remove broken support for array keys in Cache::put

Fixes #23729

Breaking change seems unnecessary tbh... could do Cache::put(array, int) which would be proxied into putMany.


Flutter documentation with sample codes / examples on iOS/Android widgets, apple watch and app clips

I am not an iOS & Android developer. I very much hope that the flutter team will release sample codes that support widgets (ios & android), apple watch, and app clips, instead of a few sentences in the documentation. I have very strong needs for these items.
For the flutter team, this will not take too much time, but for many flutter developers, it is of great significance.

@realkimmy
For apple watch, there's an open issue describing implementation and documentation, so I suggest you to follow-up in it for further updates, https://github.com/flutter/flutter/issues/28901.
For app clips, check this issue comment which shows detailed steps on how to create app clips.
For widgets, (iOS and Android), which widgets are you specifically looking for ? I believe there are already lot of code samples and demos for almost all widgets, https://flutter.dev/docs/development/ui/widgets

iOS widget & Android widget，not flutter widget

I have already seen these issues. To be honest, I believe in the official sample codes. The third-party sample codes are always not updated in time, which can easily cause problems for developers.

Closing as a duplicate of https://github.com/flutter/flutter/issues/26134 and https://github.com/flutter/flutter/issues/28901; it would be documented once we actually support that use case.


Get temperature from Grove Temperature sensor

Use gobot.io to get the temperature from the Grove Temperature sensor.

Done!


Fix typo in gradient readme

We will not be encouraging one liner grammatical changes as this is expensive process, thank you for your interest.
CC @mihaimaruseac @chanshah


Auth0 version fix

Deployment details

✅ Your stack: remix-trance-stack-auth0-fix-ephemeral has been successfully deployed.
You can access your deployment at the following URL: https://0rcu93r2z1.execute-api.us-east-1.amazonaws.com

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


adjust release.sh for solaris

Description

The release.sh script used during docker's release process is failing because it cannot handle solaris builds.
Steps to reproduce the issue:
$ docker run ... docker-dev:1-13-x hack/release.sh
...
error: can't convert solaris to an appropriate value for 'uname -s'

Describe the results you received:
Most of the binaries uploaded to s3 except for solaris and windows.
Describe the results you expected:
Stuff to work.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
something recent
Output of docker info:
stuff
Additional environment details (AWS, VirtualBox, physical, etc.):

/cc @amitkris

@andrewhsu given that there is no released version of Solaris yet that has the functionality to support docker, should we change the script to skip Solaris?

@andrewhsu @thaJeztah I would like to add that the cross build for Solaris does not work due to CGO calls in Solaris platform code. Until that is enabled I think it would be best get the script to skip Solaris too.

Putting back to 1.13 so that we at least skip solaris for release.


Missing District data

The following districts are not being returned from the BMDDIST.TXT file. (Note:  These districts were contained in a 1964 transcription for marriages)
Cardigan S.,8a
Cambridge,4a
Durham C.,1a
E. Elloe,3b
King's L.,4b
Leicester C.,3a
Leighton B.,4a
Marylebone,5c
Middlesboro',1b
Middlesex S.,3a
Radnor E.,8c
St. Asaph,8a
St. Germans,7a
St. Helens,10f
St. Neots,4b
St. Pancras,5d
Stoke,9b
Sutton Coldf'ld,9c
W. Glamorgan,8b
Design Observation:  Remove the embedded BMDDIST.TXT, BMDTXT2.TXT and BMDNAME.TXT files so that it is not necessary to rebuilt MacBMD-X every time there is a change to the content of these files.

The town data is stored in the bmd_districts.txt file inside the app bundle. Items added here will be available after relaunching the app. BMDDIST.TXT and BMDDIST2.TXT are no longer used.
I will leave it to Peter Adams if this data  should be added.

Thanks.  I have figured out the logic of storing the District data, except for the 10th data item which does not appear to do anything in the code.  The 1971 Deaths districts have a great many differences and having to type in the District was slowing the process.  So I have, for my own edification and use, created an updated bmd_town_dump.txt file.  I have recorded the changes in a separate spreadsheet.  I shall shortly being transcribing 1974 births and I expect another raft of different districts.

ok, you could also make those changes in a branch of the code and make a pull request on that too. It would make it easier for Peter to review and incorporate your changes. Thanks

The changes you emailed to me have been put in this branch:
https://github.com/stwf/BMD-X/compare/data-fixes
They should be double checked and this can then be closed

As requested I have double checked the file.   There appears to be numerous entries after a new entry shows a deletion and insertion when there has been no change.  I am assuming that this is just an artefact with the system processing?
The following new entry appears to be missing.
Here,1,1971,,,,,7c,7c,
Otherwise all is good

ok thanks. I added here! Also I think I cleaned up all of those false changes, I wasn't sure what that was. Thanks.

I am concerned about the comment by resnape on 24th March 2015 that the code does not do anything with the 10th item in the district file. The last 5 items are the volumes for the 5 periods when a particular volume structure was used so the 10th item is the volume that should be used from 1st April 1974. If the 10th item is not being used then the volume will be wrong from that date. Furthermore the implication of the districts being different for 1971 is that the latest districts file is not being used - it is available at http://www.freebmd.org.uk/addons/winbmd/Districts.txt

Please ignore this observation.  I have subsequently deduced how the code accesses the 10th item in the district file.  The only other observation that I have regarding the district file is that there is an additional space between the district name and the preceding comma.  This manifests itself in a space in the transcription output in the same position.

Thanks. The district file contains four districts with commas:
Bradford, W.
Newport, Sh.
Richmond, S.
Whitchurch, S.
In the resulting transcription these have to be enclosed in quotes (since the fields are comma delimited). The standard district file does not have an extra space as described. So is the issue that an extra space have been inserted before the comma in the resulting transcription? Or does every district have an extra space after the preceding (field separating) comma in the transcription? Or is a non-standard district file being used?

Apologies I was not very succinct in my explanation.
This is a sample of the current districts file used in the latest MacBMD-X (1.0.9)
Abingdon,,,3,2001,6,2c,6a,6a,20
Acle,1,1939,1,1974,,4b,4b,4b,
Alcester,,,3,1985,16,6d,9c,9c,31
After the 10th entry  20 & 31 there is a hard space which manifests in the following:
SNEDDON,JENNIFER J.,WAKEFIELD,ABINGDON,20 ,0521
SNEDDON,PATRICIA A. E.,BROWN,ALCESTER,31 ,0125S
i.e. a space after the district numbers 20 & 31.
I have resolved this by using a locally modified districts file but I am looking at a low priority software suggestion for Steve to consider to cater for such spaces

Yes, I can absolutely clear this up. Let me know if there are any other issues that need to be cleared up.


Solang compile error

Hi , I installed solang on my mac using the brew command (brew install hyperledger/solang/solang).
When i try to run solang compile --target solana flipper.sol I get the following error:
error: file not found 'compile'

warning: 'public': visibility for constructors is ignored
  ┌─ /Users/purvachaudhari/Desktop/Kaleidoscope/solang/flipper.sol:4:30
  │
4 │     constructor(bool initvalue) public {
  │                                 ^^^^^^

error: not all contracts are valid

Any help with this?

The version you're using doesn't require the compile subcommand, you can check it by solang --help


[New Port Request] cnpy

Library name: cnpy
Library description: library to read/write .npy and .npz files in C/C++.
Source repository URL: https://github.com/rogersce/cnpy
Cnpy supports CMake.

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.


LegacyIAccessible properties support

OpenOffice contains many controls having LegacyIAccessible.* properties only. For example, LegacyIAccessible.Description sometimes is the only non-empty text property for graphical buttons like [B, I, U].
It's a low priority feature, but I will leave it here for some mid- or long-term future.

LegacyIAccessible.Description property could be used as a rich_text property (menu items and ribbon toolbar buttons have this description and it can be useful for search disambiguation). This can improve working with MSPaint, for example.


Refactor and Fix Home Discover

[x] Error delating a skill from the Searchbar
[x] Static data of the Venn Diagram (Salamanca has problem to create APIs to return the number of resources for each domain)
[x] Fix background

error deleting a skill remove


Doc: dtheta unit should be \frac{rad}{s}

TLDR: Motor velocity (dtheta) should be documented in [1] as \frac{rad}{s}.
Hey,
while investigating the difference between motor position (theta) and joint position (q) I found that motor velocity (dtheta) unit was documented as rad but it supposed to be \frac{rad}{s} as it is the derivative.
How ever what's the difference to joint position/velocity? How do they correspond? What do I need them for?
[1] https://github.com/frankaemika/libfranka/blob/f1f46fb008a37eb0d1dba00c971ff7e5a7bfbfd3/include/franka/robot_state.h#L335

Hi, I'd also be interested in understanding the connection between motor/joint positions and velocities - did you get any update on this elsewhere by chance?


Amplify app build successfuly but dont deploy correctly. It's working perporly for long time.

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
React
Amplify APIs
GraphQL API
Amplify Categories
auth, storage, function, api
Environment information

# Put output below this line

System:
OS: Linux 5.4 Linux Mint 20.2 (Uma)
CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
Memory: 1.53 GB / 19.36 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
Yarn: 1.22.11 - ~/.nvm/versions/node/v14.16.0/bin/yarn
npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
Watchman: 20210801.210521.0 - /usr/local/bin/watchman
Browsers:
Chrome: 96.0.4664.45
Firefox: 94.0
npmPackages:
@aws-amplify/api: ^3.2.24 => 3.2.30
@aws-amplify/cli: ^4.45.2 => 4.51.0
@aws-amplify/core: ^3.8.16 => 3.8.22
@babel/core: ^7.13.15 => 7.14.0 (7.9.0)
@babel/plugin-proposal-class-properties: ^7.13.0 => 7.13.0 (7.8.3)
@babel/preset-env: ^7.13.15 => 7.14.1 (7.9.0)
@babel/preset-react: ^7.13.13 => 7.13.13 (7.9.1)
@babel/runtime: ^7.13.9 => 7.14.0 (7.9.0)
@date-io/date-fns: ^1.3.6 => 1.3.13
@material-ui/core: ^4.11.2  => 4.12.3
@material-ui/icons: ^4.11.2 => 4.11.2
@material-ui/lab: ^4.0.0-alpha.57 => 4.0.0-alpha.58
@material-ui/pickers: ^3.2.10 => 3.3.10
@material-ui/styles: ^4.10.0 => 4.11.4
amazon-chime-sdk-component-library-react: ^2.9.1 => 2.9.1
amazon-chime-sdk-js: ^2.16.1 => 2.16.1
ant-design-draggable-modal: 0.0.16 => 0.0.16
autosuggest-highlight: ^3.1.1 => 3.1.1
aws-amplify: ^3.3.21 => 3.3.27
aws-sdk: ^2.854.0 => 2.900.0 (2.785.0)
axios: ^0.19.0 => 0.19.2 (0.21.1)
axios-mock-adapter: ^1.17.0 => 1.19.0
babel-loader: ^8.2.2 => 8.2.2 (8.1.0)
babel-polyfill: ^6.26.0 => 6.26.0
bulma: ^0.9.2 => 0.9.2
bulma-helpers: ^0.3.12 => 0.3.12
chart.js: ^2.9.4 => 2.9.4
classnames: ^2.2.6 => 2.3.1
clean-webpack-plugin: ^4.0.0-alpha.0 => 4.0.0-alpha.0
clsx: ^1.0.4 => 1.1.1
compress.js: ^1.1.2 => 1.1.2
copy-webpack-plugin: ^8.1.1 => 8.1.1
cross-env: ^5.2.0 => 5.2.1
css-loader: ^5.2.1 => 5.2.4 (3.4.2)
cypress: ^7.3.0 => 7.3.0
date-fns: ^2.18.0 => 2.21.1 (1.30.1)
downshift: ^3.2.10 => 3.4.8
echarts: ^4.2.1 => 4.9.0
echarts-for-react: ^2.0.15-beta.0 => 2.0.16
eslint-config-airbnb: ^18.2.1 => 18.2.1
eslint-config-prettier: ^8.3.0 => 8.3.0
eslint-plugin-cypress: ^2.11.3 => 2.11.3
eslint-plugin-import: ^2.22.1 => 2.22.1 (2.20.1)
eslint-plugin-jsx-a11y: ^6.4.1 => 6.4.1 (6.2.3)
eslint-plugin-prettier: ^3.4.0 => 3.4.0
eslint-plugin-react: ^7.21.5 => 7.23.2 (7.19.0)
eslint-plugin-react-hooks: ^4.2.0 => 4.2.0 (1.7.0)
file-loader: ^6.2.0 => 6.2.0 (4.3.0)
gh-pages: ^2.1.1 => 2.2.0
graphql: ^15.4.0 => 15.5.0 (14.0.0, 14.7.0)
graphql-tag: ^2.11.0 => 2.12.4 (2.10.1)
history: ^4.10.0 => 4.10.1
html-webpack-plugin: ^5.3.1 => 5.3.1 (4.0.0-beta.11)
lodash: ^4.17.15 => 4.17.21 (4.17.15, 4.17.20)
material-design-icons: ^3.0.1 => 3.0.1
material-design-icons-iconfont: ^6.1.0 => 6.1.0
material-icons: ^0.5.3 => 0.5.5
material-ui-phone-number: ^2.2.6 => 2.2.6
memo-parser:  0.2.1
mini-css-extract-plugin: ^1.4.1 => 1.6.0 (0.9.0)
moment: ^2.29.1 => 2.29.1
moment-timezone: ^0.5.33 => 0.5.33 (0.5.27)
new-plugin-package:  1.0.0
node-sass: ^4.14.1 => 4.14.1
notistack: ^0.8.8 => 0.8.9
pdf-viewer-reactjs: ^2.1.2 => 2.2.3
prettier: 2.3.0 => 2.3.0 (1.19.1)
prettier-eslint: ^12.0.0 => 12.0.0 (9.0.2)
prettier-eslint-cli: ^5.0.0 => 5.0.1
prettier-plugin-apex: 1.9.1 => 1.9.1
prop-types: ^15.7.2 => 15.7.2
react: ^17.0.1 => 17.0.2 (16.14.0)
react-autosuggest: ^9.4.3 => 9.4.3
react-beforeunload: ^2.5.2 => 2.5.2
react-big-calendar: ^0.30.0 => 0.30.0
react-chartjs-2: ^2.11.1 => 2.11.2
react-dom: ^16.13.1 => 16.14.0
react-draggable: ^4.4.3 => 4.4.3
react-helmet: ^5.2.1 => 5.2.1
react-highlight: ^0.12.0 => 0.12.0
react-idle-timer: ^4.6.4 => 4.6.4
react-jitsi: ^1.0.4 => 1.0.4
react-loadable: ^5.5.0 => 5.5.0
react-material-ui-form-validator: ^2.0.9 => 2.1.4
react-new-window: ^0.1.3 => 0.1.3
react-perfect-scrollbar: ^1.5.2 => 1.5.8
react-quill: ^1.3.3 => 1.3.5
react-redux: ^7.2.2 => 7.2.4
react-resizable: ^1.11.0 => 1.11.1
react-rnd: ^10.3.3 => 10.3.3
react-router-config: ^5.0.1 => 5.1.1
react-router-dom: ^5.2.0 => 5.2.0
react-scripts: ^3.4.1 => 3.4.4
react-select: ^3.0.4 => 3.2.0
react-vis: ^1.11.7 => 1.11.7
recharts: ^1.6.2 => 1.8.5
redux: ^4.0.4 => 4.1.0
redux-logger: ^3.0.6 => 3.0.6
redux-persist: ^6.0.0 => 6.0.0
redux-persist/integration/react:  undefined ()
sass-loader: ^11.0.1 => 11.0.1 (8.0.2)
shortid: ^2.2.14 => 2.2.16
style-loader: ^2.0.0 => 2.0.0 (0.23.1)
styled-components: ^5.3.1 => 5.3.1
styled-components/macro:  undefined ()
styled-components/native:  undefined ()
styled-components/primitives:  undefined ()
styled-system: ^5.1.5 => 5.1.5
swiper: ^4.5.0 => 4.5.1
webpack: ^5.32.0 => 5.36.2 (4.42.0)
webpack-cli: ^4.6.0 => 4.6.0
webpack-dev-server: ^3.11.2 => 3.11.2 (3.11.0)
npmGlobalPackages:
@aws-amplify/cli: 7.5.4
@nestjs/cli: 8.1.4
aws-cdk: 1.132.0
create-js-project: 1.0.0
expo-cli: 4.5.2
ffmpeg-concat: 1.3.3
generator-jhipster-react-native: 4.2.0
generator-jhipster: 7.1.0
gtop: 1.1.1
npm: 6.14.11
react-native-cli: 2.0.1
serve: 12.0.1
typescript: 4.4.4
yarn: 1.22.11

Describe the bug
Our application is a react web application.it was working properly.
I another branch from the main branch we applied Nextjs so all branch's environment deploys failed.
We rolled back this branch and deleted it but didn't fixed it.
We cleared deploy and build cache also created a new environment but didn't resolve it.
Expected behavior
After a successful build, it should deploy correctly.
Reproduction steps
You can redeploy a failed deploy in the build history.
Code Snippet
// Put your code below this line.

Log output

// Put your logs below this line

aws-exports.js
/* eslint-disable */
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.
const awsmobile = {
"aws_project_region": "ca-central-1",
"aws_cognito_identity_pool_id": "ca-central-1:8eb165f8-534b-4542-892b-f620cfc79f8b",
"aws_cognito_region": "ca-central-1",
"aws_user_pools_id": "ca-central-1_upEtyW5jh",
"aws_user_pools_web_client_id": "5of3ee07dfinqeohhg6vkdd6cb",
"oauth": {},
"aws_cognito_login_mechanisms": [
"PREFERRED_USERNAME"
],
"aws_cognito_signup_attributes": [
"EMAIL"
],
"aws_cognito_mfa_configuration": "OFF",
"aws_cognito_mfa_types": [
"SMS"
],
"aws_cognito_password_protection_settings": {
"passwordPolicyMinLength": 8,
"passwordPolicyCharacters": []
},
"aws_cognito_verification_mechanisms": [
"EMAIL"
],
"aws_user_files_s3_bucket": "vidkids-new100528-stage",
"aws_user_files_s3_bucket_region": "ca-central-1",
"aws_appsync_graphqlEndpoint": "https://jklasb3lqvgejftrccq6aguxx4.appsync-api.ca-central-1.amazonaws.com/graphql",
"aws_appsync_region": "ca-central-1",
"aws_appsync_authenticationType": "AMAZON_COGNITO_USER_POOLS",
"aws_cloud_logic_custom": [
{
"name": "VidkidsFilesApi",
"endpoint": "https://kpmroqicea.execute-api.ca-central-1.amazonaws.com/stage",
"region": "ca-central-1"
}
]
};
export default awsmobile;
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
2021-11-30T20:15:30 [INFO]: Beginning deployment for application dmzn15fe65z58, branch:main, buildId<PHONE_NUMBER>
2021-11-30T20:15:30 [INFO]: Cannot find any generated SSR resources to deploy. If you intend for your app to be SSR, please check your app Service Role permissions. Otherwise, please check out our docs on how to setup your app to be detected as SSG (https://docs.aws.amazon.com/amplify/latest/userguide/server-side-rendering-amplify.html#deploy-nextjs-app)
2021-11-30T20:15:30 [ERROR]: {"code":"7","message":"No ssrResources.json file"}

Hi @MjdBh 👋🏽 Can you check your build settings to make sure the baseDirectory is set to build? If it's set to .next or out then Amplify will treat your app as an SSR app which can cause deployment to fail if your application isn't SSR.

HI, @hloriana  thank you for your response.
Yes, the base directory is correct. we rolled back any changes and didn't change the main branch.
But all environment deploy failed.

@MjdBh try following this FAQ guide to change from SSR to SSG: https://github.com/aws-amplify/amplify-console/blob/main/FAQ.md#convert-an-ssr-app-to-ssg. It should tell Amplify to build a static site and not look for SSR resources to generate.

The problem is it. We didn't change this env to SSR.  we tested on other environments and another branch why why our main branch has this issue.

@MjdBh what is your AppID and region?

@shubhadip I used the following command and it worked for me.