Add Gen IV Starters

Pokémon Name/Number (required):

Turtwig (387) (Grass)
Torterra (389) (Grass/Ground)
Chimchar (390) (Fire)
Infernape (392) (Fire/Fighting)
Piplup (393) (Water)
Empoleon (395) (Water/Steel)

Pokémon Sprite(s) (optional):

See https://www.pokencyclopedia.info/en/index.php?id=sprites/overworlds/o-r_hgss

I've checked that these Pokémon have not already been requested or added in an upcoming release (required):

yes

Hi! can i work on this?

@Paola351 I've assigned it to you :)
Please take a look at the Contributing Guidelines, which has some hints on how to get started. If you have any issues, feel free to ask for help!

@kagof everything is ready for a review I think


Update Python packages besides Django itself (2018/06)

(Django itself gets its own update issues.) Not going to create issues for these updates all the time. But right now we have a lot of versions to catch up on, so it's appropriate.
For the packages that depend on Django, try to update Django from 1.9 to 1.11 (#49 ) at the same time as those packages. A lot of these have dropped support for Django 1.9 since it wasn't an LTS release.
Django dependent:

django-guardian: 1.4.1 -> 1.4.9

1.4.2: "Don't use ANONYMOUS_USER_ID. Uses ANONYMOUS_DEFAULT_USERNAME and USERNAME_FIELD instead."
Take care of the #56 deprecation while we're at it, even though guardian isn't at 2.0 yet.

django-registration: 2.1.2 -> 2.4.1

2.3 adds validation against potentially confusing Unicode characters (e.g. something that looks like the ASCII letter A but actually isn't) for usernames and email addresses. Worth adding a unit test or two for this.

django-reversion: 1.10.1 -> 2.0.13

2.0 adds reversion.views.create_revision view decorator, and moves a lot of low level API functions. And "This release includes a migration for the Version model that may take some time to complete."

django-storages: 1.4.1 -> 1.6.6

1.5.0: added boto3 support

easy-thumbnails: 2.3 -> 2.5.0

Seems like no notable changes for us.

Not Django dependent:

beautifulsoup4 4.6.0 is already up to date
boto 2.40.0 -> boto3 1.7.35

"[boto3] can be used side-by-side with Boto in the same project, so it is easy to start using Boto3 in your existing projects as well as new projects. Going forward, API updates and all new feature work will be focused on Boto3."
Assume pretty much every call of a Boto function will have to be rewritten.

celery 3.1.23 -> 4.2.0

A lot to go through.
Change the bottom-right version widget to a previous version to see change notes for that version.

numpy 1.11.1 -> 1.14.4

1.14.0: "Truth testing of an empty array is deprecated. To check if an array is not empty, use array.size > 0." Seems too tedious to check for this manually, so hopefully this emits a deprecation warning.

pathlib2 2.3.0 -> 2.3.2

Seems like no notable changes for us.

Pillow: 4.1.1 -> 5.1.0

Seems like no notable changes for us.

psycopg2: 2.6.2 -> 2.7.4

Seems like no notable changes for us.

pytz: 2016.3 -> 2018.4

Seems like no notable changes for us.

PyYAML: We actually don't use this anymore since we got rid of test fixtures. Can remove it.
redis: 2.10.5 -> 2.10.6

Seems like no notable changes for us.

scikit-learn: 0.17.1 -> 0.19.1

Long release notes, but it seems we have barely any usage of this package (imported as sklearn). Just an unused import for now.

scipy: 0.18.1 -> 1.1.0

Long release notes, but it seems we have barely any usage of this package. Just unused imports for now.

six: 1.10.0 -> 1.11.0

Seems like no notable changes for us.

supervisor: 3.3.1 -> 3.3.4

Seems like no notable changes for us.

unipath: No longer maintained since 2015. We should phase this out in favor of pathlib2. We only have one use of this in settings/base.py.

Also update the remaining celery-related packages.

This might get merged with #185 somehow, especially if I can manage to upgrade to Python 3.x without updating many packages. I'll see how it goes though.

especially if I can manage to upgrade to Python 3.x without updating many packages. I'll see how it goes though.

Since that did happen (PR #309), here's what I'm doing with the Beta 2 package issues:

I'm back-dating this issue to 2018-2019 (since I started the issue in 2018, and did a round of updates on 2019/10) and closing this as finished.
Issue #185 will be for updating packages for the Py3 + pyspacer rollout. After PR #309, that just leaves numpy, I think.
I'll move the remaining 'Should update sooner rather than later, but will take more effort' items to post-Beta-2 issues.


Change apiml config structure

Related to https://github.com/zowe/api-layer/pull/496

Tech Info signs off


Add AWS image name parser

Parse additional information about AWS images using their name.
Fixes #34
Signed-off-by: Major Hayden<EMAIL_ADDRESS>

@FKolwa Hah, thanks. I kept thinking I could get creative with splitting on dashes and underscores, but then I realized that it would be easier with a regex of some sort. 🤷🏻♂

Btw. Who decides about this naming strategy? Is it Red Hat? Is it Amazon? Is there some guarantee that future image names will adhere to this or could we end up with a "rhel-9.1_amazing_blueberry-HVM-HOURLY-2023" at some point?

That's a good question. Based on what I've seen so far for hourly/cloud access, it looks like we are the ones that decide.


Expose SkRuntimeEffect to allow custom SkSL shaders and color filters.

In Skia milestone 81 SkRuntimeEffect and friends have been added which would allow custom SkSL shaders and color filters. From the discussions in https://bugs.chromium.org/p/skia/issues/detail?id=10274 it seems like there is already some prototype work going on but I could not find a related Flutter issue.
Related: https://github.com/flutter/flutter/issues/30763
/cc @liyuqian @dnfield @chinmaygarde
Use case
This would for example allow adding ColorFilter.cube from a plugin. (See https://github.com/flutter/flutter/issues/55738).
Proposal
Expose SkRuntimeEffect to allow custom SkSL shaders and color filters.
Status
The first steps of this proposal are finished. This issue will be considered done when the API is complete and it works on Web, to whatever extent is possible.
https://github.com/flutter/flutter/projects/207

This is already being worked on by @chriscraws:
https://flutter.dev/go/shaders
https://github.com/chriscraws/engine/tree/shader
https://github.com/chriscraws/ssir
@chriscraws please feel free to edit and take over this issue as you see fit. The design doc you mention to be looking for examples. Maybe https://github.com/flutter/flutter/issues/55738 would be a good fit?

Thanks for filing this @cbenhagen! #55738 looks like a great fit, I hadn't considered supporting 3d textures in the initial design

@cbenhagen could you post some info on what you'd use it for? Will be good for us to know what the needs are.

@willlarche my primary goal is to apply 3D lookup tables to videos. This is why I filed https://github.com/flutter/flutter/issues/55738. It would be awesome if this could serve as an example usage of runtime effects.

Thank you!

@cbenhagen do you have a ballpark estimate what would the performance be like?
i.e., when using CI Filters in iOS, the composition can be used on videos and streams (applying the LUT doesn't take more than 1/60th of a second)

@tomasdev I am the wrong person to ask as I will not be able to implement this. But I would expect applying LUTs to be pretty fast actually. Maybe @chriscraws can comment on this?

Hey @tomasdev - I'm not an iOS developer so I'm not exactly sure how this will compare specifically to CoreImage, but I can say that applying the LUT should be performant within 1/60th of a second, or 1/120th of a second on iPad. For realistic expectations though, it may be some time before we support this particular use-case and can provide benchmarks, 3d texture lookup will come after basic shader support is in place (and the timeline has stretched a bit there)

I would like to mention my use-case for custom fragment shaders, which mainly falls under the category of "rasterization techniques" as mentioned in the design doc.
It's a drawing app which requires rasterization of curves and shapes according to specific algorithms (pixel art). Currently to achieve this I am relying on a mixture of using the FFI to allocate buffers and rasterize curves and shapes in C++, as well as more expensive rasterization being done in Canvas/Skia which gets copied to the CPU to be blitted onto the buffers (using Picture.toImage() and Image.toByteData). Finally I use the dart:ui function decodeImageFromPixels() and a CustomPainter to render it back to the screen.
It would be great to do all the rasterization directly in fragment shaders instead, and be passing around Picture instances.
This would allow me to:

avoid the FFI/native buffers
avoid copying buffers from Canvas/Skia into Dart/C++ land
create more complex rasterization effects (dithering patterns, custom gradients, etc, useful in pixel art)
increase the base resolution of user generated artwork (currently limited due to the performance of decodeImageFromPixels for larger buffer sizes)

I would like to mention my use-case for custom fragment shaders, which mainly falls under the category of "rasterization techniques" as mentioned in the design doc.
It's a drawing app which requires rasterization of curves and shapes according to specific algorithms (pixel art). Currently to achieve this I am relying on a mixture of using the FFI to allocate buffers and rasterize curves and shapes in C++, as well as more expensive rasterization being done in Canvas/Skia which gets copied to the CPU to be blitted onto the buffers (using Picture.toImage() and Image.toByteData). Finally I use the dart:ui function decodeImageFromPixels() and a CustomPainter to render it back to the screen.
It would be great to do all the rasterization directly in fragment shaders instead, and be passing around Picture instances.
This would allow me to:

avoid the FFI/native buffers
avoid copying buffers from Canvas/Skia into Dart/C++ land
create more complex rasterization effects (dithering patterns, custom gradients, etc, useful in pixel art)
increase the base resolution of user generated artwork (currently limited due to the performance of decodeImageFromPixels for larger buffer sizes)

Hi @chriscraws, really appreciate the work. I am wondering, will there be examples (maybe good enough docs are sufficient) for how tu implement custom fragment shaders when this hits master?
From what I can tell #82906 will make use of it and it will probably serve as a usage example, so that might be good enough.

Hi @chriscraws, really appreciate the work. I am wondering, will there be examples (maybe good enough docs are sufficient) for how tu implement custom fragment shaders when this hits master?
From what I can tell #82906 will make use of it and it will probably serve as a usage example, so that might be good enough.

Yes, I'm hoping to add useful examples. Ideally we can help demonstrate how to achieve the use cases listed above as well. As this is a very low-level feature, I'd like to release a library on pub that contains higher level widgets and classes for working with shaders from Dart - this was the original main goal but we're focused on getting the engine changes landed for now.

Sorry I'm quite new to this area, but can I ask will this work allow for something along the lines of what is described in this article using Skia shaders from Kotlin and Compose , especially the dynamic shader demos shown there ?

@clocksmith Is there a write-up on how to work with FragmentShader?

is FragmentShader added to any version flutter or only on git? and can we try it currently ?

Yes

@clocksmith Is there a write-up on how to work with FragmentShader?

Not yet but stay tuned.

is FragmentShader added to any version flutter or only on git? and can we try it currently ?

Yes, it can be tested on anything that uses dart:ui, see comment above

is FragmentShader added to any version flutter or only on git? and can we try it currently ?

Yes, it can be tested on anything that uses dart:ui, see comment above

Maybe you didn't get what I mean, it is currently on master branch but if I want to recommend it to my team I need to know if it will be added to any flutter version soon? or if it is currently on the beta version?

Update for those following this thread: it should now be possible to try out making shaders that use floats and ImageShader objects as inputs. There are currently a myriad of restrictions on the SPIR-V you can use, but these shouldn't be a blocker to implementing the use cases listed above so far.
Here is the current dart:ui API, and here is some documentation on the current limitations with SPIR-V.
More work down the road:

Benchmarking, and creating usage examples
Adding support for control-flow and structs
Adding CanvasKit-renderer support
Adding html-renderer support
Removing the 'beta' qualifier

Thanks everyone for your patience on this :)

@chriscraws That is awesome news! 💯 Thanks so much for the efforts on this ❤
One question about the restrictions on the supported SPIR-V: once we start working with it, should we create issues for every unsupported operation or how should we handle tracking of that?

Hey @creativecreatorormaybenot , we want the supported SPIR-V API surface to be as minimal as possible to unlock primary use-cases - the hope right now is that most users will not need to use the API directly but instead via higher-level widgets. So, to answer your question, I think first we'd want to make sure that the unsupported operations are necessary for your use-case. I've gone ahead and created a higher-level issue where we can triage:
https://github.com/flutter/flutter/issues/93800
In the meantime, if people have questions about using the API in its current state, I'm far more reachable on discord, where I am epicycle#8164 and a member of both the Flutter server and the /r/FlutterDev server.

@chriscraws thank you so much for your work on shaders! Is it already possible to use them to implement a ColorFilter.cube ?

Created a sub issue to track the creation of a ColorFilter: https://github.com/flutter/flutter/issues/94235.

@clocksmith are you actively working on this? if not shall we unassign you?

Is there any updates? In addition, will it be supported on Impeller in the future when Impeller is stable?


Breaking change update workflow

In the CLI we need to add a check if the client version is higher than the internal codegen dependency
We could have a postinstall script for the SDK that runs the codegen on the CLI if it's installed and configured

Duplicated


rtl_433: 20.02 -> 20.11

Motivation for this change

Update to 20.11 (see https://github.com/merbanan/rtl_433/releases/tag/20.11)
Enable tests
Use cmake for the build (is better supported by upstream and enables multi-core builds)

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @earldouglas

Result of nixpkgs-review pr 103936 run on x86_64-linux 1

1 package built:

rtl_433


Fixes to consider padding and border correctly.

As per JQuery documentation (http://api.jquery.com/height/), if element parent is hidden then calculation of height can be error-prone.

For me, existing implementation was not considering padding and border - so this fix.

Added Gruntfile etc for minifying the code.

Thank you for your contribution and sorry for the delay in responding. I didn't know I had PRs pending. This is a bit of big change and I will be releasing a v2 of this directive sometime soon. I may incorporate some of your grunt code. If I do, I'll give you credit. In the mean time, I will be merging a PR that only addresses the outerWidth() issue. Closing for now.


Run ABSOLUTE with allelic copy ratio on hg38

How could I run this version of ABSOLUTE with allelic copy ratio on hg38?
What is the input format for maf and seg files?
Thanks

Hi,
Have you run ABSOLUTE before (on hg19)? If so, any hg38 seg files and MAFs generated by that pipeline will be compatible with the ABSOLUTE code in this repo; you just need to remove "chr" in front of contig names (e.g. "chr1" -> "1").
—Julian

Hi，
Two versions (absolute_wolf:v6 and absolute_wolf:no_indel_filter_v6) are used in tasks.py, I want to run ABSOLUTE on a local cluster,  should I pull both versions or only the latest one (absolute_wolf:no_indel_filter_v6)?
Thanks

absolute_wolf:v6 will probably work for your needs. By default, ABSOLUTE does not consider indels in noncoding regions, since they overwhelmingly occur at microsatellites (which are especially artifact-prone), and thus have distorted alt/ref counts, which makes it difficult to assign them multiplicities/CCFs.
If, however, you have very well-filtered whole genome calls and are interested in computing multiplicities/CCFs for noncoding indels, then use the no_indel_filter version.


fix: trying to read Metadata of undefined

Description

This PR fixes #117
The resource map may not have a given logical ID, this results into a runtime error for such cases.
Motivation and Context

Could not deploy slic-watch
How Has This Been Tested?

Could deploy after fix
Screenshots (if appropriate):
Types of changes

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

Checklist:

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

coverage: 97.615% (+0.001%) from 97.614%
when pulling d3f0b5243cf8d939cafb685cabf187ed0a685c09 on Lschulzes:lschulzes-fix/metadata
into 9b6f87e78d0f91a49fe6c080e05ed6fa032c5483 on fourTheorem:main.

Thanks @Lschulzes for your contribution. I'm not sure what case leads to this logical ID being undefined, but the solution looks good to me.


Fix condition for simple top level navigation

@martin-g The tests were already supposed to check this behavior, however WicketTester defaults to POST, which caused it not to trigger the error. I've updated the tests to use GET. Also, the test that was supposed to check the top level navigation did not trigger that specific code, because it used an incorrect sec-fetch-site header.

Maybe we should add a new test for POST too ?
Yes, good idea. I've added the test.


[Refactor]Refacor query queue

Proposed changes
Use CompletableFuture to refactor query queue to simplify code for better readability.

run buildall

run buildall

run buildall

run buildall

run buildall


[coverity] fix coverity issues

Added const auto & to avoid copy of an object
Added missing lock

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2518. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @lhs8928, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2518-202403251944510.47950410842896-e17ed14d27a0fedb48c81ea56d4d1f5022afbb10/.


Mouth is very blurry, what am i doing wrong?

You're not doing anything wrong. The Pix2Pix model here is trained on just 5000 image pairs and the output from it is kinda blurry. To get sharper output, I'd suggest training Pix2Pix on way more images (it takes a huge amount of time and compute).
For the second frame, his head is quite tilted to one side and most of the training image pairs have a more or less straight head -  I'm attributing the very noticeable edge blur to that.

Thanks much. Can you tell me the command you used to create the Pix2Pix model ?
Also, what is required to use a different audio input file? I passed a new audio file into run.py and ffmpeg, but the output video is now much longer than the new (shorter) sound clip.

Check out the README of affinelayer's repo.
The difference in video and audio sampling rates may result in this. Trying tweaking the video frame samples at run time.

@dhowe were you able to fix this problem?


Only warn on cannot delete nodes from scaleset warning

Summary of the Pull Request
What is this about?
Fixes #2688
PR Checklist

[ ] Applies to work item: #xxx
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

Codecov Report

Merging #2691 (9c6d6d0) into main (a45bda9) will decrease coverage by 3.96%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2691      +/-   ##
==========================================
- Coverage   29.31%   25.34%   -3.97%
==========================================
  Files         291      123     -168
  Lines       36160    12865   -23295
==========================================
- Hits        10600     3261    -7339
+ Misses      25560     9604   -15956

Impacted Files
Coverage Δ

...ervice/ApiService/onefuzzlib/ScalesetOperations.cs
2.66% <0.00%> (-0.05%)
:arrow_down:

...ApiService/ApiService/onefuzzlib/VmssOperations.cs
0.00% <0.00%> (ø)

src/agent/onefuzz/src/lib.rs

src/agent/input-tester/src/logging.rs

src/agent/onefuzz-task/src/tasks/utils.rs

.../agent/onefuzz-task/src/local/generic_generator.rs

src/agent/onefuzz-task/src/managed/cmd.rs

src/agent/storage-queue/src/lib.rs

src/agent/storage-queue/src/azure_queue.rs

src/agent/onefuzz-agent/src/debug.rs

... and 161 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Build on Linux installation problem

Hi,
Thanks for an amazing car simulator.
In Ubunto 18:

I am able to run ./CarlaUE4.sh /Game/Maps/Town0X and see the car navigates...

However, I have trouble with PythonClient. When I run python manual_control.py in a terminal and ./CarlaUE4.sh /Game/Maps/Town01 -carla-server -benchmark -fps=15 -windowed -ResX=800 -ResY=600 -carla-world-port=PORT in another terminal, I see the car cannot navigate at all (assuming that I do not have any firewall). It floats between the earth and sky without movement...

I am not able to run python example.py by getting ImportError: No module named carla. I am a bit confused here as I followed instruction to build on Linux and also the quick start video.

Do I miss something here? Any thought for this appreciated.

I think you are using the 0.9.0 client with a 0.8.x simulator https://github.com/carla-simulator/carla/issues/805#issuecomment-424625783.


How to create pre-trained models

Good day,
I would like to use your tools to compare predictions on my dataset but would like to create my own pre-trained reference. Could you please share how this can be done?
Thanks in advance!

Hi,
Run the Colab notebook (either locally or on Colab) and change Process_Query call to (4000 hvg is a suggestion that works well in my hands but depends on the complexity of the cell-types in your dataset, you can increase it if it's necessary for other processing like PCA). If the cell-types in the reference are not named based on an ontology, use _ cl_obo_folder==False_.
adata = Process_Query(
query_adata,
ref_adata,
query_labels_key=query_labels_key,
query_batch_key=query_batch_key,
ref_labels_key=ref_labels_key,
ref_batch_key=ref_batch_key,
unknown_celltype_label=unknown_celltype_label,
save_path_trained_models=output_model_fn,
cl_obo_folder="./PopV/ontology/",
prediction_mode="retrain",
n_samples_per_label=n_samples_per_label,
use_gpu=0,
compute_embedding=True,
hvg=4000,
).adata

Thank you very much for your speedy reply and the recommnadations to run it in an indepdent reference dataset. WIll test it on my data and see how it peforms.

Good day!
I am trying to run the code as you suggested setting cl_obo_folder=False but I am getting this error:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[20], line 4
      1 # https://github.com/YosefLab/PopV/issues/19
      2 from popv.preprocessing import Process_Query
----> 4 adata = Process_Query(
      5     query_adata,
      6     ref_adata,
      7     query_labels_key=query_labels_key,
      8     query_batch_key=query_batch_key,
      9     ref_labels_key=ref_labels_key,
     10     ref_batch_key=ref_batch_key,
     11     unknown_celltype_label=unknown_celltype_label,
     12     save_path_trained_models=output_model_fn,
     13     # cl_obo_folder="./PopV/ontology/",
     14     cl_obo_folder=False,
     15     prediction_mode="retrain",
     16     n_samples_per_label=n_samples_per_label,
     17     use_gpu=0,
     18     compute_embedding=True,
     19     hvg=5000,
     20 ).adata

File ~/miniconda3/envs/popv/lib/python3.8/site-packages/popv/preprocessing.py:197, in Process_Query.__init__(self, query_adata, ref_adata, ref_labels_key, ref_batch_key, query_labels_key, query_batch_key, query_layers_key, prediction_mode, cl_obo_folder, unknown_celltype_label, n_samples_per_label, pretrained_scvi_path, save_path_trained_models, hvg, use_gpu, compute_embedding, return_probabilities)
    195     self.nlp_emb_file = cl_obo_folder + "cl.ontology.nlp.emb"
    196 try:
--> 197     with open(self.cl_obo_file) if self.cl_obo_file else True:
    198         pass
    199 except FileNotFoundError:

AttributeError: __enter__

I created a dedicated conda env to install PopV, and I am using the latest version (0.2.2). What do you think the problem is?
Thanks in advance!

Thanks for the report. It's fixed in v0.3.1 (uploaded to PyPI). Additionally, PopV now includes harmony-pytorch integration and a faster version of KNN.


Bug in the obsoleted gauge.js

The version of gauge.js that is used in Gentelella is broken, but this bug is already fixed in the latest version of gauge.js. The bug happens when the value and the angle of the gauge is set to 0. I've tested in on the index.html page of every version of Gentelella I've found:

latest from npm (1.4.0);
branch master;
branch Update-1.5;
branch dev;
branch Development;
branch Development-Febr.

The bug it that when value is zero then gauge draws two pointers instead of one.
Here is some JS to quick test it in the dev console:
let elem = document.getElementById('chart_gauge_01');
let opts = {angle: 0};
let g = new Gauge(elem).setOptions(opts);
g.set(0);

I've solved this to myself by using the latest gauge.js.min script from the gauge github. I suggest putting it to the vendors folder instead of current.

Thank you @vvnc for pointing this out, just replaced it in the 1.5 Update branch.


pcloud Can't download file

I've try example for download:
https://github.com/pCloud/pcloud-sdk-js/blob/master/examples/download.html
and it does not work.
When I clikc on "Get token", files are listed, but download button does not work.
Console.log:
Uncaught (in promise) {result: 7010, error: "Invalid link referer."}

See the other thread: https://github.com/pCloud/pcloud-sdk-js/issues/4#issuecomment-439262472

I saw that.
I want to check that it is not possible to download the file with js sdk

From what I can tell looking through the code (and the error you recieved), the JS SDK is using the same HTTP API we've been trying. So I think, even though the SDK includes a browser module, it's not possible.
I'm porting my app to Dropbox, which I've just verified to allow file downloading in the browser on an arbitrary site. Dunno if that helps you or not.

It helps.
Thanks!

The problem (I had the same after long work time) is that the api creates links to download files/images/etc for a determinated IP, so if you generate the link (as I made) from your server side (the link is limited to the server IP), so if you try to consume the link from the client side (as also I made), it doesn't work, because are not available.
And yes is really disappointed that this restriction is not documented in any place, and also that you cannot disable it. For me worked fine for weeks that I only tried in localhost, and when I was ready to publish it, boom, it doesn't work.

The issue is that the method downloadfile also uses the getfilelink method which "can't be used from web applications. Referrer is restricted to pcloud.com". See #4.

Yeah, it looks like that download.html file should've been removed. I got the token part working well (see this PR), but then ran into your run-of-the-mill CORS errors.
As @igneosaur remarks, getfilelink only works for pCloud.

You're going to need a proxy like what's mentioned here, but one you're hosting yourself, I believe.


New Category for Places (Orte/Karte)

Motivation
Category Education (Bildung) is missing for the map!
Proposed Solution
New Category
Additional Context
Bildungsträger, VHS etc fallen da drunter

@nassabay could you please provide the icon field you want to use for the new category?


install pip packages as user

When running the script, I'd rather not give sudo to it, just like rust usually doesn't install to a shared directory.
Tested to successfully install (Linux mint: Linux #37~16.04.1-Ubuntu SMP x86_64 GNU/Linux). :ok_hand:

Will this work in a clean install? I would expect it to require some change to the environment to add python packages installed with --user to be included in the PATH

I would assume so as I installed pip via the package manager when I did it, with no additional configuration done.

Thanks!


Enable OpenCL Backend for TVM

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
Currently, we don't have a working opencl pipeline with tvm. As discussed in #1898, vulkan backend cannot be used because of an unknown accuracy issue and llvm does not provide enough performance for deep learning inference. Either cuda or opencl has to be enabled.
Purpose
We need to enable opencl backend so that tvm packages could be actually used.
Possible approaches

[x] Compile the models for opencl. In theory it is only a matter of adding opencl here: https://github.com/autowarefoundation/modelzoo/blob/9529c71e73df637448f6fceb203fa793f3a3b064/scripts/tvm_cli/validation/tvm_cli_test.py#L19, then it gets picked up by the CI.
[x] Enable opencl in the runtime package by modifying this file: https://github.com/autowarefoundation/tvm_vendor/blob/main/config.cmake.gpu.patch, and then waiting for the package to be tagged and released.
[ ] Making sure the correct opencl dependencies are installed in the Autoware docker image / that they can be installed easily for source installs.

Definition of done
Being able to run tvm packages using opencl.

Related TVM issues/PR:
#1988 #2185
#908 #1898

A simple verification of compiled opencl models indicates accuracy issues exist with output channel heatmap and vel of pts_backbone_neck_head_centerpoint.onnx.
# heatmap
(1, 3, 560, 560)
(1, 3, 560, 560)
[0.0001049  0.00010109 0.0001297  ... 0.00014496 0.000103   0.00011253]
1375

# vel
(1, 2, 560, 560)
(1, 2, 560, 560)
[0.00010395 0.0001142  0.00010109 0.00011301]
4

Are you still using the same setup as in https://github.com/autowarefoundation/autoware.universe/pull/1898#issuecomment-1293085900? Using it for the backbone outputs, with np.ones((40000,32,9), dtype=np.float32) as an input, I don't see any difference delta above 0.0001 with opencl (or vulkan). Changing the threshold to 0.00001 there are differences, but then I also see differences with an llvm backend.

Are you still using the same setup as in #1898 (comment)? Using it for the backbone outputs, with np.ones((40000,32,9), dtype=np.float32) as an input, I don't see any difference delta above 0.0001 with opencl (or vulkan). Changing the threshold to 0.00001 there are differences, but then I also see differences with an llvm backend.

For backbone network, the input shape has to be changed. It's (1, 32, 560, 560) I think.

add opencl backend to ci

@angry-crab Yes, sorry I had copied and pasted the wrong line here, but I was using the correct input shape in my script.
I confirm that I don't see deltas when using np.ones, but I do when using np.zeros. Although only on vel. Both vulkan and opencl give me:
[0.0001049  0.00011146 0.00014421 0.00010443 0.0001049  0.0001266 0.00011784 0.00010717 0.00010872 0.00011826 0.00012851 0.00014114 0.00012398]
13

And llvm gives me:
[0.00010467]
1

Is there a reason you are using ones as input to the encoder and zeros as input to the backbone?

Is there a reason you are using ones as input to the encoder and zeros as input to the backbone?

Not really. It seems the accuracy is hardware dependent. Let's see how much it affects the detection.

@ambroise-arm
As for the third mark, since tvm_vendor depends on opencl, the image should be good if correct version of tvm_vendor is installed, isn't it?

Oh, absolutely! I hadn't thought about that.

Did a quick test on opencl, it seems to work.

Nice! Was that locally or inside of a docker image?
Because I think there are .icd files that will be missing inside a docker image. mesa-opencl-icd would need to be installed when using an AMD GPU, and echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd would need to be issued for an NVIDIA GPU. Probably the same way we do here: https://github.com/autowarefoundation/autoware/blob/5fba5a1e35921470d02711f19bec19b29ab08139/docker/autoware-universe/Dockerfile#L45 for Vulkan.

Nice! Was that locally or inside of a docker image? Because I think there are .icd files that will be missing inside a docker image. mesa-opencl-icd would need to be installed when using an AMD GPU, and echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd would need to be issued for an NVIDIA GPU. Probably the same way we do here: https://github.com/autowarefoundation/autoware/blob/5fba5a1e35921470d02711f19bec19b29ab08139/docker/autoware-universe/Dockerfile#L45 for Vulkan.

Yes! I was using a docker image and echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd is required.

It seems that tvm_vendor will be released on November 21, 2022 (Chicago) for humble.
Humble Release

Humble packages are still being held. Not sure why.

The only issue left is that tvm_vendor in the existing docker images are not update to date.

@ambroise-arm
As a follow-up issue of GPU backend, shall we enable cuda as well? According to a performance comparison survey. opencl is 13% ~ 67% slower than cuda.

There is an issue with doing that in practice. The way the TVM runtime works, it expects all the dependencies it was built with to be available when used. So if we compile tvm_vendor with set(USE_CUDA ON), the user will need to have the nvidia cuda library available in order for the inference to work, even if the user just wants to do non-cuda inference.
At least that is the way it was about a year ago, last time I looked at it.
It is not a problem for vulkan and opencl backends because there are mesa packages available that provide the corresponding libraries.

It is not a problem for vulkan and opencl backends because there are mesa packages available that provide the corresponding libraries.

I see. But if cuda is installed then we can safely add set(USE_CUDA ON) and compile tvm runtime. I think maybe we should provide a different cmake setting for cuda.

OpenCL is correctly setup in the latest cuda docker image. We can close this issue.


deps: bump omlmd to incorporate oras-py changes

followup to:

https://github.com/oras-project/oras-py/pull/161
https://github.com/containers/omlmd/pull/22

Seems like flakes more than anything, the failed builds

thank you @ericcurtin and HTH


The direction swap button doesn't work

Steps to Reproduce :

Select the search icon
Pick a location
Select the swap button

closing as it was merged by #99


Won't start using docker-compose without defining ZAMBRETTI_MIN|MAX_PRESSURE

Home Assistant Version?
2023.6.2
Add-On or Self Hosted?
Self managed Container
Weatherflow2MQTT version?
3.1.6
What happened?
I just setup WeatherFlow2MQTT with a new docker compose up, and it was unable to start using the example docker-compose file.  With ZAMBRETTI_MIN_PRESSURE and ZAMBRETTI_MAX_PRESSURE blank, it did not pull in the defaults, instead crashing with this error ValueError: could not convert string to float:
Defining the Zambretti pressures using the defaults from the main documentation allowed WeatherFlow2MQTT to start properly.
Relevant log output
ted-weatherflow2mqtt-1  |     sys.exit(load_entry_point('weatherflow2mqtt==3.1.6', 'console_scripts', 'weatherflow2mqtt')())
ted-weatherflow2mqtt-1  |   File "/usr/local/lib/python3.10/site-packages/weatherflow2mqtt-3.1.6-py3.10.egg/weatherflow2mqtt/__main__.py", line 10, in main
ted-weatherflow2mqtt-1  |   File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
ted-weatherflow2mqtt-1  |     return loop.run_until_complete(main)
ted-weatherflow2mqtt-1  |   File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
ted-weatherflow2mqtt-1  |     return future.result()
ted-weatherflow2mqtt-1  |   File "/usr/local/lib/python3.10/site-packages/weatherflow2mqtt-3.1.6-py3.10.egg/weatherflow2mqtt/weatherflow_mqtt.py", line 798, in main
ted-weatherflow2mqtt-1  | ValueError: could not convert string to float: ''
ted-weatherflow2mqtt-1 exited with code 0

Did you leave them blank or not include them.  If you don't include them then there is a default value set.

I did not include them at all; I was expecting the defaults to be used, but they were not.


Support remote access toolwindow

For intellij idea
1.Some headless env use jcef runtime need extra effort, or impossiable.
2.For some remote env screen size too small to use continue.
So i changed tool window factory logic, use embedded ktor websever for remote access. When splitMode enabled jcef will not load instead of ktor server, it can be access from remote or out of jetbrains ide.
Description
1.support force config osr enabled when using jcef
2.support ktor embedded websocket and webjar server for headless or remote enc, also support port mapping config
Checklist

[x] The base branch of this PR is dev, rather than main
[x] The relevant docs, if any, have been updated or created

Screenshots

Testing

change config.json for enabled splitMode

  "splitMode": true,
  "serverHost": "<IP_ADDRESS>",
  "serverPort": "2333",
  "serverToken": "123456"
  "serverExternalHostPort":"reverse-proxy.xxx:port"//optional

continue gui canbe access from <IP_ADDRESS>:2333 out of ide env

@956237586 Can you help me understand how prevalent this problem might be? I'm wondering what versions of JetBrains or which OS, or other factors might contribute. But I do think overall it is probably unlikely that we would merge this, given that the maintenance cost here appears quite high.
One alternate solution is I might be happy to allow an environment variable so that you could then run the sidebar server on your own (rather than setting up ktor within the extension)

thanks for you reply
i can't use ssh protocol based remote dev solotion because firewall and other security problem. so i found Projector it can use websocket render remote intellij ide. but jcef app depend on jdk native render function, modify Projector server support jcef render too difficult for me when official support is stopped, and message transfer between ide and webview can't found perfect solotion for all scene at now
the key feature i needed is reuse message handler and reply logic, but it current coupled in ContinueBrowser, so i simply split message handler and ui render logic based on current branch code structure in this PR, and embedded ktor server just because ktor already in dependency list
if you accept split message handler rlated logic from render, maybe i will change implement solution and can reduce too much intrusion for current code structure

@956237586 I think I'm going to have to close this as it feels much too likely that it will cause a lot of complexity and difficulty to maintain. If you wanted to attempt a new PR with a much more minimal solution (such as ability to specify the defaultGuiUrl ), then I might be willing to take a second look


[Go Live][Dec 08]

Push to live

Docs Build status updates of commit d5521e2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/include-saas-offer.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/device-capabilities/browser-device-permissions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Emoticon stylized

Hello,
I've installed yakyak 1.3.2 on debian GNU linux.
From the version 1.3.1, i see stylized emoticon like in the attached

The font was removed from the package -_- and defaults to the system's font.
Anyway, I found the solution and is described in this comment: https://github.com/yakyak/yakyak/issues/132#issuecomment-242366680

Install the Noto Color Emoji font
Apply fix described in comment

A nice way to test if it works, is to open http://getemoji.com/ with chrome (if it works, then yakyak should also work)

@capcla have you tried to install the font?

I'm currently having this issue; I'll test out the fix with the font.

Here's an imgur link of the result for me: Imgur

I don't understand. I have created the file fonts.conf in ~/.config/fontconfig/
[code]$ fc-match 'Noto Color Emoji'
DejaVuSans.ttf: "DejaVu Sans" "Book"[/code]
And now?

@capcla current v1.4.2 pre-release should have out of the box support for colored emoji
If you want to have it systemwide you also need to install noto color emoji from https://github.com/googlei18n/noto-emoji/


ads not show when change isreal value to true

OS target (Android/iOS):
android
Godot version:
2.1.5
Issue description:
i use my own ads id. My banner ads has "test ad" label when i try to load, and when i change isreal=false to isreal=true i get error onAdFailedToLoad -> ERROR_CODE_NO_FILL is it problem from admob?

Are you using Release build? I've had the same thing with Debug build, but works OK in Release.

Please check the README file, "Troubleshooting" section.

If you mean unchecked debugging enable, yes i already try it, and still get error code 3 if i set variable isreal = true


Update Firebase dependencies minimum supported versions to iOS 11 etc

Description
Update GoogleUtilities, GoogleDataTransport, and nanopb.
For nanopb, see https://github.com/google/nanopb-podspec/commit/0e46a3b2d88bcd675a39dda818a57eeea7cd0261.
Confirm that this should be CocoaPods only since other package managers already require iOS 11.
Reproducing the issue
No response
Firebase SDK Version
9.5.0
Xcode Version
13.3.1
Installation Method
CocoaPods
Firebase Product(s)
All
Targeted Platforms
iOS, tvOS, watchOS, macOS, macCatalyst
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Deferring to Firebase 11 since the dependencies will need to support iOS 10 longer than Firebase does.

Closing in favor of #10187


Add milliseconds to datetime fields in the database

Coverage remained the same at 53.009% when pulling f127d05a0b6ef58229023d19db6e3211f5b4149d on add_millis_to_timestamps_in_db into 35f7a3346860da755ca82125ee1780fdd2cac343 on master.


I found a bug!!!

I have added labels bug with my confidence {"bug":0.9043450284423211,"feature":0.13469613312948778,"question":0.22206289381944078}.
---
This comment was generated automatically by Issue-Bot.

I have added labels bug (89.50529215712267% confident).
This comment was generated automatically by Issue-Bot.

I have added labels bug (89.51% confident).

This comment was generated automatically by Issue-Bot.


other packages

Is there any way to connect the jax-based geometric kernels package to pymc for this? It already connects to torch, tfp, gpjax
Secondly, I'm used to import gpjax as gpx so the gpx is personally confusing for me, but perhaps not anyone else

Hey @theorashid, great to see you here!
I wasn't familiar with the geometric kernels package you referenced, but it seems really interesting! I had a pure PyMC implementation in mind since everything listed in the roadmap here is pretty simple to do by hand. But we certainly don't need to stick to just that!
This is meant to be a temporary-ish functional fork of pymc.gp that we can use to mess around and hopefully contribute back into PyMC. The naming conflict you point out is an unfortunate coincidence. I don't think it's just you, since import gpjax as gpx is featured in their docs. (I haven't used it so I wasn't aware. :see_no_evil:)
If you have any ideas, please feel free to incubate them here!!!


Implement shared element transitions between the timetable list and timetable item details.

This year we have shared element transition in Compose! We don't have "the shared element" but we could use container. I think we can make the item container bigger and set the visibility alpha to zero. I think we can use sharedBounds() instead of sharedElement()

I would like to take this issue 🙋

Thank you for raising hand! Assigned 👍


Run  examples on Mac (i9 install with pip)

When I run the "python ./igibson/examples/robots/grasping_mode_example.py", the error occurs:
Traceback (most recent call last):
  File "/Users/cwz/opt/anaconda3/envs/ivln/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/cwz/opt/anaconda3/envs/ivln/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/cwz/Home/PrjHome/PyPrj/PyTorch/IVLN-baselines/iGibson/igibson/examples/environments/env_int_example.py", line 8, in <module>
    from igibson.envs.igibson_env import iGibsonEnv
  File "/Users/cwz/Home/PrjHome/PyPrj/PyTorch/IVLN-baselines/iGibson/igibson/envs/igibson_env.py", line 13, in <module>
    from igibson.envs.env_base import BaseEnv
  File "/Users/cwz/Home/PrjHome/PyPrj/PyTorch/IVLN-baselines/iGibson/igibson/envs/env_base.py", line 8, in <module>
    from igibson.render.mesh_renderer.mesh_renderer_vr import VrSettings
  File "/Users/cwz/Home/PrjHome/PyPrj/PyTorch/IVLN-baselines/iGibson/igibson/render/mesh_renderer/mesh_renderer_vr.py", line 5, in <module>
    from igibson.render.mesh_renderer.mesh_renderer_cpu import MeshRenderer, MeshRendererSettings
  File "/Users/cwz/Home/PrjHome/PyPrj/PyTorch/IVLN-baselines/iGibson/igibson/render/mesh_renderer/mesh_renderer_cpu.py", line 13, in <module>
    from igibson.render.mesh_renderer import tinyobjloader
ImportError: cannot import name 'tinyobjloader' from 'igibson.render.mesh_renderer' (/Users/cwz/Home/PrjHome/PyPrj/PyTorch/IVLN-baselines/iGibson/igibson/render/mesh_renderer/__init__.py)

I wonder if the Mac version can't support the interactive render?

the interactive renderer is supported on Mac. This looks more like a partial git clone. Did you follow the installation instructions and performed a git clone with --recursive? https://stanfordvl.github.io/iGibson/installation.html#compile-from-source
if not, do a post-clone recursive installation:
https://stackoverflow.com/questions/16773642/pull-git-submodules-after-cloning-project-from-github
Let us know if that solves your issues

Thank you. Compile from source solves it!

was your initial issue with a pip installation? if the dependencies are not correctly installed with pip, let us know, we will fix it.
thanks!


Replace release.yml to release-please

SSIA

Evidence: https://github.com/hwakabh/bennu-official/releases/tag/v0.1.0


train scrabbleGAN on arabic database

hello!
@Nikolai10
Thank you so much for this software!
I'm trying to train this GAN on an arabic database but I don't arrive to determine this process it always returns me errors.
Please, can you give what modification to do for using the scrabble GAN For an arabic database?
I'm adding  for "scrabble_gan.gin"
io.char_vec ='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZأ ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن هـ و ي '
also I'm adding the image in the folder "words"
and the image .png and its transcription ".txt" in the folder  (1....10)

Thanks a lot for your reply !

i'm using a random word list

Well, before starting to train your own model, you should make sure that your custom data preprocessing works as expected. This can be verified in section Load and Preprocess Dataset:
train_dataset = load_prepare_data(in_dim, batch_size, read_dir, char_vec, bucket_size)

# retrieve random batch; analyze your data e.g.
image_batch, label_batch = next(train_dataset)
print(image_batch.shape)
print(label_batch.shape)

Most probably you will have to spend some time adapting the code to your needs.
for this parameter "n_classes" it contains number of characters or what?
n_classes should equal len(char_vec)
for arabic how can I prepare the random words (arbitrary words) or there is a rule to use?
replace the English word list with an Arabic list; or, simply translate it.
can i train this code on both iam and arabic database in the same time ?
in theory you can, however, I believe having two separate models might be more effective.

@Nikolai10
Thanks a lot fo all your informations !
I am applying your advice I will inform you of the result as soon as possible

Hello!
@Nikolai10
I'm changing scrabble_gan.gin as here
`# I/O and data structure
io.base_path = '/content/scrabble-gan'
io.checkpoint_dir = '/res/out/big_ac_gan/training_checkpoints'
io.gen_imgs_dir = '/res/out/big_ac_gan/images/'
io.model_dir = '/res/out/big_ac_gan/model/'
Dataset
io.input_dim = (32, 160, 1)
io.buf_size = 80377
io.n_classes = 31
io.seq_len = None
io.bucket_size = 10
io.raw_dir = '/res/data/iamDB/words/'
io.read_dir = '/res/data/iamDB/words-Reading/'
io.char_vec ='أ ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن هـ و ي مارث'`
my prototype is

but it returns me this error:

please can you help me solving this problem.
THANKS in advance!

Hello @Tailor2019,
please make sure that char_vec contains all Arabic characters represented in your word list.
Minimal error example:
# ValueError: substring not found
char_vector = 'أ ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن هـ و ي مارث'
word = 'قطّة (ج) قطط'
print([char_vector.index(char) for char in word])

Successful example:
# prints [0, 20, 19, 14]
char_vector = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
word = 'auto'
print([char_vector.index(char) for char in word])

@Nikolai10
thanks a lot for your help !
I'm doing all the requested (char vector modification; database preparation..)
when it arrive to the training
it returns this error:

it still seems like your data preprocessing is incorrect. Have you checked that https://github.com/Nikolai10/scrabble-gan/issues/12#issuecomment-1082212890 works?

Hello thanks @Nikolai10 !
this session runs with success
`# convert IAM Handwriting dataset (words) to GAN format
if not os.path.exists(read_dir):
print('converting iamDB-Dataset to GAN format...')
init_reading(raw_dir, read_dir, in_dim, bucket_size)
print(bucket_size)
load random words into memory (used for word generation by G)
random_words = load_random_word_list(read_dir, bucket_size, char_vec)
load and preprocess dataset (python generator)
train_dataset = load_prepare_data(in_dim, batch_size, read_dir, char_vec, bucket_size)but tis part #(/////////////////////////*****)
train_dataset = load_prepare_data(in_dim, batch_size, read_dir, char_vec, bucket_size)
retrieve random batch; analyze your data e.g.
image_batch, label_batch = next(train_dataset)
print(image_batch.shape)
print(label_batch.shape)`
returns me this error:

Please how can i resolve this problem?
if it is demands that i publish my prototype I can do that
Thanks a lot in advance!

Hello,
feel free to create a Google Colab that allows for reproducing the error. Please make sure that you upload your resource folder e.g. to Google Drive such that it can be mounted (a subset of your training data is sufficient).

thank you for your generosity in responding.I make all the requests and I resolve the problem of coding and decoding for Arabic character.But When I make this

it gives me this mistake

and when I try to modify with:
image_batch = np.array(image_batch).astype(object)
label_batch = np.array(label_batch).astype(object)
i have this mistake:

Please help.

Hello,
@Nikolai10
This is my prototype 👍
i'm using the same image 5 times (this is the image that I used

for the random_words.txt I'm using these words!:
أ
أ
أأ
علي
عام
مارث
مارثمارث
مارثمارثمارثمارث
مارثمارثمارثمارثمارثمارث
for the  words.txt file is as following:
a01-000u-00-00  مارث a01-000u-00-01 مارث a01-000u-00-02 مارث a01-000u-00-03 مارث a01-000u-00-04 مارث
data.zip
for the "scrabble_gan.gin" I only changing:
#io.char_vec ='أ ب ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ك ل م ن هـ و ي ما عا علي ثما '
#io.n_classes = 32
for this parameter 👍
io.input_dim = (32, 160, 1) I don't change it because when  i put the real dimension of my image (449*119) it returns me
the error that it don't support this dimension
I trying to download the project and mount it and running (!python main.py) also I'm using your colab notebook
but the same error that I mentioned before occurs

Please can you give what is warning for my prototype to turn it correctly on scrabble-gan.
Thanks in advance

How reshape the array in the folowing instructions :
image_batch = image_batch.reshape(-1, h, int((h / 2) * random_bucket_idx), c)
As long as random_bucket_idx is random and each time has a new value.
Thanks in advance

Hello @Tailor2019, could you please share a copy of your modified Google Colab? This would ease the process.
Concerning the image dimension: all images have to be reshaped to match the aspect ratio of each character: (height: 32 px, width: 16 px). E.g. a word of transcription length 10 has shape (32,160) px.

https://colab.research.google.com/drive/15FfzDKWL320D-TCnZ96Crg7yPVCaerbr?authuser=2#scrollTo=gaFyqR6oRLbL

Hello @Tailor2019,
in your specific example, you need to adjust convert_to_gan_reading_format_save() likeso:
# (2) get file transcriptions (stored in words.txt)
transcription_file = input_dir.rstrip('/') + '.txt'
transcriptions = {}

with open(transcription_file, 'r', encoding="utf8") as fi:
    for line in fi:
        if not line.startswith('#'):
            labels = line.split()
            file_nm = labels[0] + '.png'

            transcription = labels[-1]
            transcriptions[file_nm] = transcription.strip()

print('size of iamDB words: {}'.format(len(transcriptions)))

then
# convert IAM Handwriting dataset (words) to GAN format
if not os.path.exists(read_dir):
    print('converting iamDB-Dataset to GAN format...')
    init_reading(raw_dir, read_dir, in_dim, bucket_size)
    print(bucket_size)
# load random words into memory (used for word generation by G)
random_words = load_random_word_list(read_dir, bucket_size, char_vec)

# load and preprocess dataset (python generator)
train_dataset = load_prepare_data(in_dim, batch_size, read_dir, char_vec, bucket_size)

should yield the following output:

converting iamDB-Dataset to GAN format...
convert iamDB words to GAN-Reading task...
size of iamDB words: 5
/content/scrabble-gan/res/data/iamDB/words/a01/a01-000u/a01-000u-00-01.png
/content/scrabble-gan/res/data/iamDB/words-Reading/4/
/content/scrabble-gan/res/data/iamDB/words/a01/a01-000u/a01-000u-00-04.png
/content/scrabble-gan/res/data/iamDB/words-Reading/4/
/content/scrabble-gan/res/data/iamDB/words/a01/a01-000u/a01-000u-00-03.png
/content/scrabble-gan/res/data/iamDB/words-Reading/4/
/content/scrabble-gan/res/data/iamDB/words/a01/a01-000u/a01-000u-00-00.png
/content/scrabble-gan/res/data/iamDB/words-Reading/4/
/content/scrabble-gan/res/data/iamDB/words/a01/a01-000u/a01-000u-00-02.png
/content/scrabble-gan/res/data/iamDB/words-Reading/4/
size of valid iamDB words: 5
Counter({4: 5})
10

Please note: in your specific example, only bucket 4 should contain images + corresponding transcripts.
As a sanity check:
image_batch, label_batch = next(train_dataset)
print(image_batch.shape)
print(label_batch.shape)

should yield

(64, 32, 64, 1)
(64, 4)

Hello!
@Nikolai10
I resolved the problem described above :

but it returns me this error

can you help me please resolving this problem.
thanks in advance

Did you find a solution for your problem?


Add support for Analytics-Tools

Add backend to add tracking code
Add tacking script to theme
Check GDPR conformity

Support for Google Analytics integrated with #51


Error reading masternode configuration file

invalid port number - but port number in conf file is correct

Reference DASH with fix https://github.com/dashpay/dash/pull/1322

#dashpay/dash#1322

#1322


pandas missing as a dependency

Thanks for this Max, I presume this is failing due to the authentication error (i.e. not the pull request)? Or is it something else I need to address.

I fixed the installation issues, which occurred on Travis. Now the installation runs through and the tests are running but failing.
See https://travis-ci.org/sods/ods/jobs/284157372 for more details on the fail.


Alternate domain returning wrong project

I have a domain docs.borntyping.co.uk pointing at the borntyping-maintenance project, but it's returning an unrelated project named maintenance instead.
I'm guessing this is due to the similarity of the two project slugs, but I can't find anything in the code that would cause this.

Believe this is fixed. There were some stale symlinks causing this. Let us know if it happens again.

Thanks!


Installing on windows fails

The issue you were already expecting :). I'll open this and document trying to get it running on windows. Maintainers: don't feel compelled to respond, I'll try to do as much as I can myself.
Running in cmd.exe, can't even get to running the install commands. Looks like the install script assumes bash, curl/wget and tar to be present.
UPDATE: Looks like npm install would never work, that script downloads binaries that have been prebuilt. Next steps for me getting this to work would be getting stack+haskell and trying to build it myself.

yarn global add purescript-spago
yarn global v1.9.4
[1/4] Resolving packages...
[2/4] Fetching packages...
[------------------------------------------------------------------------------------------------------------------------------------------------] 0/501(node:11552) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error C:\Users\beau.trepp\AppData\Local\Yarn\Data\global\node_modules\purescript-spago: Command failed.
Exit code: 1
Command: .\install
Arguments:
Directory: C:\Users\beau.trepp\AppData\Local\Yarn\Data\global\node_modules\purescript-spago
Output:
'.\install' is not recognized as an internal or external command,
operable program or batch file.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

npm install -g purescript-spago
C:\Users\beau.trepp\AppData\Roaming\npm\spago -> C:\Users\beau.trepp\AppData\Roaming\npm\node_modules\purescript-spago\spago

<EMAIL_ADDRESS>install C:\Users\beau.trepp\AppData\Roaming\npm\node_modules\purescript-spago
./install

'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: ./install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\beau.trepp\AppData\Roaming\npm-cache_logs\2018-12-18T03_17_01_744Z-debug.log

I would like to eventually get AppVeyor or Azure Pipelines to build binaries too, I just don't know how to get them going :smile:
For a long while we had other tools where the Windows builds were uploaded by an actual user...

A CI build would be definitely the way to go, though I believe there's some other issues before it's even usable on windows.
I've managed to get spago built using stack, and I've left notes above. Unfortunately 'spago init' doesn't work. It looks like the dhall file has some encoding issues the windows side struggles with

spago init
spago:
Error: Invalid input
(stdin):121:14:
|
121 | in  upstream â«½ overrides â«½ additions
|              ^
unexpected 'â'
expecting "!=", "&&", "++", "->", "//", "//\", "/", "==", "merge", "||", "", "", "", "", '#', '(', '*', '+', '.', ':', '?', '@', built-in expression, double infinity, double literal, end of input, import, integer literal, label, list literal, natural literal, record type or literal, text literal, union type or literal, or whitespace

Then a spago build

spago build
spago:
./packages.dhall
Error: Invalid input
C:\VisualStudio_Projects\purescript\spagotest\packages.dhall:121:14:
|
121 | in  upstream â«½ overrides â«½ additions
|              ^
unexpected 'â'
expecting "!=", "&&", "++", "->", "//", "//\", "/", "==", "merge", "||", "", "", "", "", '#', '(', '*', '+', '.', ':', '?', '@', built-in expression, double infinity, double literal, end of input, import, integer literal, label, list literal, natural literal, record type or literal, text literal, union type or literal, or whitespace

File is at
https://gist.github.com/btrepp/c55143fed5f510b7e19097f68ef538ad

Whoever decided unicode characters were a good default for Dhall formatting was a true sadist

@justinwoo there's the --ascii flag (and in our case the Dhall.Pretty.Ascii encoding in Haskell), so if we can detect that we're running on Windows we can format with ascii.

@btrepp thanks for diving into this!
Here are some ideas for a couple of issues there are on Windows:

the purs executable: we could take care of this in the way psc-package does, see here
installing with npm: we could fallback to a stack install in case the executable is not precompiled, as the purescript npm package

@f-f No problems.
Thinking about the encoding more, I'm not sure why this is an issue, it may end up being upstream with the dhall library?. Windows should support unicode, Is the template written by the dhall library or is is generated elsewhere?. Might just be that its saving it incorrectly, or some assumption somewhere holds different for *nix and windows.
I think it's finding purs okay. I did get compilation happening, seems more however telling purs to bundle was not working (I remember this being an absolute pain on windows, when I attempted to make my own makefiles for purs). I'll try and look into this more later.
As far as npm install, I think a CI build with the binaries would do long term. Short term, I think it's okay with the process I'm using (self-building). At least until I can verify that spago is in a use-able state on windows. I haven't really done any haskell, and it was simple enough for me to figure out.
Hell I'm a big fan of 'here's the build release on github', it works really well for purs+psc-package, and doesn't couple me to node as much.


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2023-06-29)
Features

check-connectivity command (#253) (6ebfff7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Autodesk/pgbelt/releases/tag/v0.3.0 :sunflower:


Topologies no longer have a 'type' (for grouping)

:factory:

If you rebase against master, this should pass.  Coveralls is having a tough time.
Otherwise LGTM

Waiting for the :+1: from @davkal

:dango:


Server 1 is Dead

Server 1 isn't working on any anime

@PranavXDYT Some problem with gogo ig
Use server 2 or others ...


feat: enable outputOptions for *FileNames

Allow custom to override the chunkFileNames, assetsFileNames, entryFileNames for outputOptions by options from configuration.

@StarkShang check this pr please


Add a way to specify the version of Terminus.

Add the ability to specify the version of Terminus to the installer.
Example:
$ php installer.php --version=2.6.5

Neat, thanks for the PR. I don't work for the company that makes Terminus anymore, and don't use it for any of my projects.
So the only other change I'm likely to make is to mark this repo as abandoned. Feel free to fork it if you want to continue work on it.


Add logic for instantiating UdpListenSocket based on SocketAddress.protocol in listener config

Description:
Assorted plumbing to instantiate UdpListenSocket based on SocketAddress.protocol in listener config, and make the fact that it is a datagram socket visible to consuming code:

Add Network::Utility::protobufAddressSocketType() function, for fetching
SocketAddress.protocol values from listener config and translating to
Network::Address::SocketType values.

Modify Server::ListenerImpl to fetch SocketAddress.protocol value.

Modify Config::AddressJson::translateAddress() to set SocketAddress.protocol
based on URL scheme.

Add Network::Address::SocketType param to
ListenerComponentFactory::createListenSocket(), to allow caller to indicate
whether a TCP or UDP socket (or a Unix domain socket) should be created.

Add Socket::socketType() accessor, so code using a socket can determine
whether it is a stream or datagram socket.

With these changes, when a Listener is configured with
SocketAddress.protocol=UDP (either directly in protobuf or in JSON via udp://
URL), the listen socket created by
Server::ListenerManagerImpl::addOrUpdateListener() will be a UdpListenSocket,
and code that acts on the socket (e.g. Server::WorkerImpl::addListener(),
Server::ConnectionHandlerImpl::addListener()) can branch on socket type to set
up appropriate event notification and handling.
Risk Level: Low
Testing: Unit tests added
Docs Changes: N/A
Release Notes: N/A
[Optional Fixes #Issue]
[Optional Deprecated:]

@conqerAtapple @mattklein123 @alyssawilk @cmluciano
Here is some (non-QUIC-specific) config plumbing needed for prototyping the QUIC listener that should hopefully also help with @conqerAtapple PR #5256. I think this should be ready for review.

Thanks for the review, Alyssa!  Agree it would be good for @conqerAtapple to take a look to make sure this is compatible with what he's doing.  I think it should fit in nicely with PR #5256 in that this code gets the UdpListenSocket instantiated, and then #5256 takes it from there, but we'll see.

@mpwarres @alyssawilk Thanks for checking. So far @mpwarres changes looks to be fine/orthogonal to the UDP proxy changes I have been working on.

Oops! Forgot to revert a test when backing out the AddressJson::translateAddress() change. Should hopefully pass CI now.


⚠ Tada Website has degraded performance

In 809f1a1, Tada Website ($WEBSITE_URL) experienced degraded performance:

HTTP code: 200
Response time: 6776 ms

Resolved: Tada Website performance has improved in eed1d0c.


⚠ Samsung has degraded performance

In 09fbf2f, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2425 ms

Resolved: Samsung performance has improved in 8bae2ce.


Printing results doesn't occur when using standard go testing

Hey @lsegal I've been working on using gucumber within the normal go testing framework and I've encountered an issue where none of the stuff going to standard out gets printed unless I explicitly t.Errorf() on the runner struct.
Here's an example of what I have working:
func TestEligibility(t *testing.T) {
	r, err := gucumber.GlobalContext.RunFiles([]string{"internal/features/eligibility/eligibility.feature"})
	if err != nil {
		t.Error(err)
	}

	if r.FailCount > 0 {
		t.Errorf("Failed %v scenarios", r.FailCount)
                // r will not print anything unless it's explicitly referenced in an Error statement.
	}

	if len(r.Unmatched) > 0 {
		t.Log("Some steps were missing, you can add them by using the following step definition stubs: ")
		t.Logf("\n%s\n", r.MissingMatcherStubs())
	}
}

I feel like perhaps this could be fixed if gucumber could use a *testing.T object for reporting failures, or perhaps if it didn't use fmt for printing or perhaps both.
Is this an enhancement you'd be interested it? If so I could start working on a pull request

Actually it looks like this will print properly if all the tests pass.  So nevermind.


Simplify PartialEq trait in HashValue

I have a pretty similar layout to your resource management in my system and also have a struct like your HashValue. However, I think you can simplify a few traits on it. Currently, you have multiple PartialEq implementation. This can be simplified to
impl<T, U> PartialEq<HashValue<U>> for HashValue<T>
where
    T: PartialEq<U> + ?Sized,
    U: ?Sized,
{
    fn eq(&self, other: &HashValue<U>) -> bool {
        self.0.eq(&other.0)
    }
}

impl<T> Eq for HashValue<T> where T: PartialEq + ?Sized {}

Thanks! It does make sense to me, and I'll try to simplify it with your approach. Besides that, the codes of res module seems too ugly to understand and maintain, some code refactors is also in planning.

I eventually found out that it serves different purposes when worked on the #61 PR. The PartialEq comparison will not only happens between two HashValue, it also should supports comparison between HashValue and its underlying data. Likes the codes below:
``rust
assert!(HashValue::from("some_str"), "some_str");


feat(instrumentation): re-export initialize from import-in-the-middle

Which problem is this PR solving?
This re-exports initialize from import-in-the-middle to support the including or excluding of specific modules.
Fixes #5121
Short description of the changes
Imports and re-exports initialize from import-in-the-middle/hook.mjs
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

Tested the following code in an application and confirmed within import-in-the-middle that the provided options are present

import { register } from 'node:module';
<EMAIL_ADDRESS>import.meta.url, { data: { include: [], exclude: [] }})

Checklist:

[ ] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

@cjpearson Oh, also, are you able to sign the CLA (see the earlier comment about that)?


unable to get secrets: ... "Identity not found"

Describe the bug
Application cannot access Key Vault.

unable to get secrets: azureBearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://MYKEYVAULTURI/secrets?api-version=2016-10-01&maxresults=1: StatusCode=400 -- Original Error: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_request","error_description":"Identity not found"} Endpoint http://<IP_ADDRESS>/metadata/identity/oauth2/token?api-version=2018-02-01&client_id=MYCLIENTID&resource=https%3A%2F%2Fvault.azure.net

Steps To Reproduce
I've followed the docs.

enabled wi and oidc on the AKS cluster
created a user assigned identity
created the federated id credential
assigned the MID as the "Key Vault Secrets User" role on the keyvault
added the annotations and labels to the k8s ServiceAccount
assigned that ServiceAccount to my pods

Expected behavior
Pods are able to retrieve secrets from the Key Vault
Logs
See above...
Environment

Kubernetes version (use kubectl version): "v1.23.12
Cloud provider or hardware configuration: Azure AKS
OS (e.g: cat /etc/os-release): Ubuntu 18.04.6 LTS
Kernel (e.g. uname -a): Linux aks-platform-38448096-vmss000000 5.4.0-1098-azure #104~18.04.2-Ubuntu SMP Tue Nov 29 12:13:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Install tools: Terraform/CLI

Additional context
I found a comment in a StackOverflow thread that is similar to my issue.
It mentions putting the CSI Secrets identity in the ServiceAccount as a workaround. As soon as I put the addonProfiles.azureKeyvaultSecretsProvider.identity.clientId in the azure.workload.identity/client-id: ServiceAccount annotation, it started working.
I'm not sure why the Workload Identity MI wouldn't work. It seems like it was able to contact the KeyVault, but the KV did not think it was a valid identity, even though the MI was assigned to the KV with the "Key Vault Secrets User" role.
The documentation mentions using "Access Policies", but not AAD "Role Assignments" on the Key Vault. It should work either way though I would think.

@MattMencel AKV provider for Secrets Store CSI Driver doesn't require the webhook/annotation that's documented in this repo. The CSI driver gets the WI token as part of the volume mount request and uses that. Steps for using WI with CSI driver is documented here: https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/configurations/identity-access-modes/workload-identity-mode/. Please refer to that for setup and if you have any questions, feel free to open an issue here.

@aramase can we reopen this? My question wasn't about the CSI driver.... It's about WI.
I've followed the documentation to setup WI and enable it on my pods, but I get the error indicated in my first comment. Essentially...  "Identity not found"
I'd like for this to work. The CSI driver identity is just a workaround until I can get the managed identity working.

@aramase can we reopen this? My question wasn't about the CSI driver.... It's about WI.
I've followed the documentation to setup WI and enable it on my pods, but I get the error indicated in my first comment. Essentially... "Identity not found"
I'd like for this to work. The CSI driver identity is just a workaround until I can get the managed identity working.

@MattMencel The CSI driver doesn't use the workload identity components from this repo. For workload identity with CSI driver, the service account tokens are passed to the AKV provider as part of volume mount request.
Identity not found is only when you're using user-assigned managed identity to access AKV. If you're using workload identity, then you need to configure the client id of the identity in clientID field of SecretProviderClass as mentioned in the docs.

@aramase agreed, and that's what I did. I created a managed identity, added the federated credential, then put the MI ClientID on the ServiceAccount in Kubernetes.
azure.workload.identity/client-id: MI_CLIENT_ID_HERE

This produces the Identity not found error for me.

@MattMencel The service account annotation is not required for the CSI driver as it doesn't use the mutating webhook. Did you get a chance to look at the steps for the link I shared? https://azure.github.io/secrets-store-csi-driver-provider-azure/docs/configurations/identity-access-modes/workload-identity-mode/. This doc is the steps need for using WI with CSI driver.

@aramase my original question was how to use WI with a managed identity, not the CSI driver.
If the CSI driver is the only way to make it work, that's fine I guess, but it wasn't my question.

Why does Azure have thorough documentation on getting WI working with a user-assigned managed identity if it just doesn't work without the use of the CSI driver? For WI specifically, the CSI driver is not listed as a requirement so what do they expect users who require this feature to do? I get that it's still in Preview, no need for a reminder.
@MattMencel From the StackOverflow thread you shared, I can confirm the use cases discussed. Instead of using the CSI driver as a workaround for a new user-assigned managed identity, I just used the user-assigned managed identity that was automatically generated for the nodes upon cluster initiation. Adding an Access Policy for the aforementioned MI and adding the required serviceaccount annotations/labels works. Not my ideal solution but I'd rather leverage this over the CSI driver hack.


allow logged-out users to load (public) teams

don't use Env.GetUID(), use ActiveDevice.UID()

cc: @strib


Add wrapper_version

Shouldn't use __version__, because it might be confused with the __version__ of the binding.
$ python -c "import Qt;print(Qt);print(Qt.__version__)"
<module 'PySide' from 'C:\Python27\lib\site-packages\PySide\__init__.pyc'>
1.2.4

Very nice!

__version__ = "0.2.3"

So, basically whenever we update Qt.py, we also bump the minor version by 1?
And within minutes (?) we can pip install -U Qy.py to get the new release. Very, very nice.


fix: adding web config files on starter

The starter site: https://starter-adminportal-test.shesha.dev, is currently pointing to the localhost. Infrastructure notified that is the new implementation. Check here: https://dev.azure.com/boxfusion/Boxfusion DevOps Best Practices/_wiki/wikis/Boxfusion-DevOps-Best-Practices.wiki/969/Build-Pipeline-Fails-on-Rename-Config-Yaml-file-Rename-Item-Path-public-static-config-web.config.js#

@OmolemoBlessingLethuloe. These files are not used by the application anymore and this change doesn't make any sense. Currently application uses environment variables, you just need to set BACKEND_URL variable on the container/app service to point to the correct back-end


How Can I use a text button?

how can use text as a button? i only find class='btn' or

You want to add an action to your text or it's just visual ?

can you more explain what you want?

Have you checked out flat buttons?


Gear context menu reopens itself after choosing an action on mac

VSCode Version: Code - Insiders 1.18.0-insider (f1ee80be081b0d47f4423b9dc5f41a65c36146da, 2017-10-13T08:20:36.732Z)
OS Version: Darwin x64 16.7.0
Extensions:

Steps to Reproduce:

Click on the gear in the side bar
Click on any item in the context menu using the mouse

Bug
After selecting the item, the context menu opens itself again

Does not reproduce when using the keyboard for selecting the context menu item

@mjbvz how did you manage to click "Restart to Update" without the update process actually initiating? Can you reproduce with the other commands from the menu?

Yes it reproduces with the other commands as well.
The update does get initiated after the first click but the second one seems to pause it. If I cancel out of the second context menu, the update starts right away

@mjbvz what are you doing differently from me?
Does it reproduce in stable too?

Yes, I also see it in stable. I'm using a mac trackpad with tap to click on the gear. It may have something to do with the duration of the tap / click since I can't always repo this when using a normal click
Let me know if there's any additional info that would be helpful

Oh wow... I was about to file this issue.
I got hit with this: https://github.com/Microsoft/vscode/issues/36255

@joaomoreno yeah most likely happens on any os, there was a mouse-down and a click handler both triggering the menu.


webpack' parser evaluates node-related expressions even when polyfills are disabled

Bug report

What is the current behavior?
webpack evaluates and optimizes-out node-related expressions even when polyfills are disabled.
If the current behavior is a bug, please provide the steps to reproduce.
webpack.config.js
module.exports = {
    mode: 'none',
    node: false,
    optimization: {
        minimize: false
    }
}

src/index.js
if (typeof __dirname !== 'undefined') {
    console.log(__dirname);
} else {
    console.log('undefined');
}

Compiled output (dist/main.js):
if (true) {
    console.log(__dirname);
} else {}

What is the expected behavior?
webpack's parser should not make such strong assumptions about potentially undefined variables. It's also worth noting that adding one level of indirection bypasses this optimization:
const hasDir = typeof __dirname !== 'undefined';
if (hasDir) {

remains intact.
Other relevant information:
webpack version:  4.30.0
Node.js version: 11.14.0

Can you create minimum reproducible test repo?

Sure. https://github.com/lexaknyazev/webpack_node

The issue is that NodeStuffPlugin always registers __dirname and __filename constants regardless of node configuration.
In the following example, even when node.__dirname is equal to false, the identifier will be registered:
https://github.com/webpack/webpack/blob/b72b96a2bc5d2c7a308d0943567e0db191d3c358/lib/NodeStuffPlugin.js#L78-L92
Compare with NodeSourcePlugin that adds its expressions only when they are explicitly enabled:
https://github.com/webpack/webpack/blob/b72b96a2bc5d2c7a308d0943567e0db191d3c358/lib/node/NodeSourcePlugin.js#L83-L94

I think it is expected for webpack@4 (can you test this with webpack@5)? We can't change this because it is breaking change

webpack@5 (taken today from the next branch) has the same issue since the plugin in question has the same logic.
The documentation says:

Since webpack 3.0.0, the node option may be set to false to completely turn off the NodeStuffPlugin and NodeSourcePlugin plugins.

While in fact, only NodeSourcePlugin is being turned off completely:
https://github.com/webpack/webpack/blob/b72b96a2bc5d2c7a308d0943567e0db191d3c358/lib/node/NodeSourcePlugin.js#L14-L19

Looks like a bug. Send a PR


[WIP]  Add event monitoring for VMware Cloud

Purpose or Intent
This patch implements EventMonitor that connects to RabbitMQ
where VMware Cloud Director drops notifications. Furthermore,
this patch implements EventCatcher that makes use of EventMonitor.
Currently, any event triggers full refresh of provider as rel4
policies are not implemented yet.
Currently, adding event monitoring credentials is not possible
from GUI, since this relies on this  PR.
Links
event message format
Steps for Testing/QA
Since it is difficult to write automated unit tests with
RabbitMQ broker, I've tested like this:

setup RabbitMQ somewhere
add rabbit credentials to Vmware::CloudManager using rails console
run manageiq server and automation workers
use Rabbitmq Web GUI and manually enqueue event message
see that VMware provider performs refresh

@gmcculloug I would kindly ask you to look at this EventCatcher integration. I want to be sure that I didn't do it completely wrong before I fine-tune the /System/Event/EmsEvent definitions.

@miha-plesko I would suggest breaking this PR into two so we separate out the automate changes from the event monitor changes which would be reviewed/merged by the provider team.
cc @blomquisg @agrare

This PR has been split in several ones


General query - unsupported functions

Where is a complete synchronized list of all functions that do not have 'Azure SQL Database' ticked?
or is there a data source I could generated one from?

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

ID: 051788f8-a729-7a59-8b2f-5e2ba2cf62c2
Version Independent ID: 30b9fe82-bc80-cf19-6ee3-7ce45a826975
Content: sp_addlinkedserver (Transact-SQL) - SQL Server
Content Source: docs/relational-databases/system-stored-procedures/sp-addlinkedserver-transact-sql.md
Product: sql
Technology: system-objects
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

I made a list:
https://medium.com/@obobwa/azure-sql-snapshot-of-supported-system-procedures-84747c324e2a
Any suggestions on where to find a list of all the tSQL keywords like URL that the .bacpac wizard complains about if they are not surrounded by []? e.g. bacpac fails if a View has a column called URL but passes if it is [URL]

@OzBob  Thank you for the question.
Currently the SQL Server and Azure SQL database reference is categorized by functionality as opposed to database type, so you would need to browse each functionality manually.
Assigning to author for comment.

I am not aware of any such list. We will add this request to our backlog of work items. Thanks for your inquiry.
Carl

#please-close

@CarlRabeler
here is the list of currently supported functions
generated from the GitHub repository on the 1st of the September:
https://medium.com/@obobwa/azure-sql-snapshot-of-supported-system-procedures-84747c324e2a

@OzBob - your list is relying on a metadata tag that is not guaranteed to be up-to-date and reliable. This metadata tag was added at one time for internal reporting purposes by the content team - but is not currently being used. As the 1000's of articles are updated by 100's of different PMs and Devs, there is no requirement that this tag be updated. A more reliable indicator is the moniker tag on the file or the folder containing the file, as well as the applies to tag at the top of the file - but not all files have applies to tags on them - such as the backup statement or the create database statement articles. Finally, you may find statements that work that are not supported - and will not be supported until fully tested by the product team. When we find a statement that is not tagged as supported, but appears to work - we coordinate with the product team to clarify support in the article about the statement.
I hope this helps.
Carl


Document other options for capture_message/capture_exception

👋 Thanks for sentry,
right now both capure_message/2 and capture_exception/2 claim the following:

The opts argument is passed as the second argument to send_event/2.

This leaves you relatively confused as send_event/2 supports relatively few options.
For instance the README itself uses Sentry.capture_exception(my_exception, stacktrace: __STACKTRACE__) which isn't documented in there.
Some digging in the code reveals that the opts are split between client and event opts, the latter of which end up at some form of Event.create_event/1.
This includes some params I'd consider essential:

stacktrace
level
extra

These are hard to find now from the README & docs (at least I have completely missed them without digging into the code).
I think it'd be nice to either point people to the doc for the other function, or since it seems rather internal, document these options in another public facing common place so they're easier to find and adjust :)
I'm not PRing it, as I'm not sure where this should best live :)

@PragTob would it be enough if send_event/2 pointed to Event.create_event/1 for the rest of the options? Some options are specific to sending, and some to creating the event, so that's why they are split.
We can also update the README to point to send_event/2.

@whatyouhide I think that'd be helpful. As a full user experience for a client library I think it'd be better if all the (important) options were documented in one place - doing 3 hops to find all the options is a bit inconvenient. From a maintainer perspective I understand why it'd be preferred though 😅
The other thing for send_event/2 though is that iirc it doesn't do the splitting (capture_* does) which would make it slightly odd that the documentation about those lives with it (as it gets already handed a created event).

@savhappy wanna work on this?

Added some additional info in PR #778.
Thanks @pragtob for bringing this up!

Closing in favor of the PR.


Invalid types for the "groupBy" function

Bug description
There is an invalid type error in the case of the groupBy function for all the generated routers. I am building a Next.js app (with Typescript) and it fails during the build process with the following error:
/prisma/generated/routers/Account.router.ts:91:63
Type error: Argument of type '{ where?: AccountWhereInput | undefined; orderBy?: AccountOrderByWithAggregationInput | AccountOrderByWithAggregationInput[] | undefined; take?: number | undefined; skip?: number | undefined; having?: AccountScalarWhereWithAggregatesInput | undefined; by: ("id" | ... 10 more ... | "session_state")[]; }' is not assignable to parameter of type '{ where?: AccountWhereInput | undefined; orderBy?: AccountOrderByWithAggregationInput | AccountOrderByWithAggregationInput[] | undefined; take?: number | undefined; skip?: number | undefined; having?: AccountScalarWhereWithAggregatesInput | undefined; by: ("id" | ... 10 more ... | "session_state")[]; } & { ...; }'.
  Type '{ where?: AccountWhereInput | undefined; orderBy?: AccountOrderByWithAggregationInput | AccountOrderByWithAggregationInput[] | undefined; take?: number | undefined; skip?: number | undefined; having?: AccountScalarWhereWithAggregatesInput | undefined; by: ("id" | ... 10 more ... | "session_state")[]; }' is not assignable to type '{ orderBy: Enumerable<AccountOrderByWithAggregationInput> | undefined; }'.
    Property 'orderBy' is optional in type '{ where?: AccountWhereInput | undefined; orderBy?: AccountOrderByWithAggregationInput | AccountOrderByWithAggregationInput[] | undefined; take?: number | undefined; skip?: number | undefined; having?: AccountScalarWhereWithAggregatesInput | undefined; by: ("id" | ... 10 more ... | "session_state")[]; }' but required in type '{ orderBy: Enumerable<AccountOrderByWithAggregationInput> | undefined; }'.

  89 |     input: AccountGroupBySchema,
  90 |     async resolve({ ctx, input }) {
> 91 |       const groupByAccount = await ctx.prisma.account.groupBy(input);
     |                                                               ^
  92 |       return groupByAccount;
  93 |     },
  94 |   })

How to reproduce

Create a Next.js project with a T3-stack
Install prisma-trpc-generator package
Try to build the app

Expected behavior
The routers should have the correct types for the groupBy functions, resulting in the app being successfully built.
Prisma information
generator client {
  provider = "prisma-client-js"
}

generator trpc {
  provider       = "prisma-trpc-generator"
  withMiddleware = false
  withShield     = false
  contextPath    = "../../../../src/context"
}

datasource db {
  provider = "sqlite"
  // NOTE: When using postgresql, mysql or sqlserver, uncomment the @db.Text annotations in model Account below
  // Further reading:
  // https://next-auth.js.org/adapters/prisma#create-the-prisma-schema
  // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#string
  url      = env("DATABASE_URL")
}

model Example {
  id        String   @id @default(cuid())
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
}

// Necessary for Next auth
model Account {
  id                String  @id @default(cuid())
  userId            String
  type              String
  provider          String
  providerAccountId String
  refresh_token     String? // @db.Text
  access_token      String? // @db.Text
  expires_at        Int?
  token_type        String?
  scope             String?
  id_token          String? // @db.Text
  session_state     String?
  user              User    @relation(fields: [userId], references: [id], onDelete: Cascade)

  @@unique([provider, providerAccountId])
}

model Session {
  id           String   @id @default(cuid())
  sessionToken String   @unique
  userId       String
  expires      DateTime
  user         User     @relation(fields: [userId], references: [id], onDelete: Cascade)
}

model User {
  id            String    @id @default(cuid())
  name          String?
  email         String?   @unique
  emailVerified DateTime?
  image         String?
  accounts      Account[]
  sessions      Session[]
}

model VerificationToken {
  identifier String
  token      String   @unique
  expires    DateTime

  @@unique([identifier, token])
}

Environment & setup

OS: Mac OS
Database: SQLite
Node.js version: 18.12.1

Prisma Version
Environment variables loaded from .env
prisma                  : 4.6.1
@prisma/client          : 4.6.1
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 694eea289a8462c80264df36757e4fdc129b1b32 (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 694eea289a8462c80264df36757e4fdc129b1b32 (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Introspection Engine    : introspection-core 694eea289a8462c80264df36757e4fdc129b1b32 (at node_modules/@prisma/engines/introspection-engine-darwin-arm64)
Format Binary           : prisma-fmt 694eea289a8462c80264df36757e4fdc129b1b32 (at node_modules/@prisma/engines/prisma-fmt-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.6.1-3.694eea289a8462c80264df36757e4fdc129b1b32
Default Engines Hash    : 694eea289a8462c80264df36757e4fdc129b1b32
Studio                  : 0.476.0

I am also facing this error. Removal of the switch case produces this issue. Although @omar-dulaimi warned me about this, I did not get any errors at that time(during integrating include and select fields). I am working on this.

Hey @Shahidul1004
Thank you for your continued support of this project.
I just looked at the problem, and we actually don't need to revert your change.
We only need to remove the ".optional()" for the orderBy field when generating the groupBy schema.

I'll fix and release it now.
Thanks

Released in 0.7.1
Let me know if it works for you!

It works now. Thanks!

Hi @omar-dulaimi,
I am facing an issue with groupBy after the 0.7.1 release.
Since you have removed optional from orderBy, the groupBy schema always requires orderBy field. And I think that will create a problem because orderBy is only required if we use take and/or skip in groupBy schema, otherwise, it is optional. Here is the link to the prisma doc. link


raise exception if user tries to pass large object by value

Exception seems harsh. Why not make it a warning?

Well an exception is less harsh than a fatal error :)
I guess I imagine warnings being missed. And if this proves too restrictive, then we'll definitely hear about it.

It's no different from a fatal error here, because it's not the kind of exception the user would ever catch during runtime. Exceptions mean the programmer is in error, and they cannot be suppressed. Warnings mean the code will do what is asked without causing an error, but the programmer should probably be doing something else. You clearly mean the latter, so why say the former?

Also, note that it's kind of hard to miss Python warnings when you're in a shell. I'm not sure if you have before, but I never have.


Support for stacks contract deploys

Hello!
We are running into an issue with contract deploys using ledger device and I'm wondering if this library supports that feature. If it doesn't, are there any plans to support it in the future?
{
    "signatureRequest": {
      "returnCode": 27012,
      "errorMessage": "Data is invalid : Unsupported transaction payload"
    }
}

I've reproduced the bug using tests_zemu on my fork: https://github.com/edgarkhanzadian/ledger-stacks/commit/28923bbc8bb5154d1b1f66a59a627f602ec9796b

:link: zboto Link

thanks @edgarkhanzadian i will take a look early next week

Currently the app only supports the following payloads:

TokenTransfer
SmartContract
ContractCall

I could not find the documentation for this payload, and here it is not listed

@neithanmo thank you for your time!
I am trying to sign a transaction that is created by makeUnsignedContractDeploy function. Now, looking at the source code it seems like it is utilizing a function called createSmartContractPayload, that creates a payload with id 0x06 if it has clarityVersion supplied to it (which makeUnsignedContractDeploy supplies to it unless it's told not to). 0x06 id was added later on, in sip15, and it specifies that that smart contract should be using version 2 of clarity instead of version 1. https://github.com/stacksgov/sips/blob/main/sips/sip-015/sip-015-network-upgrade.md#new-transaction-versioned-smart-contract

via #155


REST API case-insensitive search - fixes

Some fixes for #1310.
Added support for case insensitive search for string data values in the REST API + added some new tests for the REST API.
Also improved the error handling a bit so that the error message is returned correctly.

LGTM :+1: