unpin snakeyaml, add suppressions and licenses

Description
This removes the pin of the Snakeyaml introduced in:
https://github.com/apache/druid/pull/14519
After the updates of io.kubernetes.java-client and io.confluent.kafka-clients, the only uses of the Snakeyaml 1.x are:

in test scope, transitive dependency of jackson-dataformat-yaml:jar:2.12.7
in compile scope in contrib extension druid-cassandra-storage
in compile scope in it-tests.

With the dependency version un-pinned, io.kubernetes.java-client and io.confluent.kafka-clients bring Snakeyaml versions 2.0 and 2.2, consequently allowing to build a Druid distribution without the contrib-extension and free of vulnerable Snakeyaml versions.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

The long term solution is to migrate to an updated version of jackson, as updates to 2.12.x branch are unlikely except for critical issues.
see discussion at:
https://github.com/FasterXML/jackson-jaxrs-providers/issues/177

minor nit about version numbers in the comments, otherwise LGTM.
It also, looks intellij-inspections is failling with integration-tests-ex/cases/pom.xml:21 -- Failed to read artifact descriptor for org.yaml:snakeyaml:jar:1.21 #loc

I believe I've fixed the versions. Not sure about the failing checks, except for the last one, they all seemed unrelated. gonna investigate a bit further.

@xvrl
passed the re-runs.


Feat: Workflow for Closing Old Issues

Describe the feature
This feature aims to automate the process of managing old issues, ensuring that the repository remains organized and focused on relevant tasks. By automatically closing old issues, it reduces manual overhead for repository maintainers and helps keep the issue tracker tidy and up-to-date.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@VanshKing30 please assign me this issue

How are you going to do this.. Explain more....

@hustlerZzZ So basically what this proposed workflow will do is, it would first determines those issues which were inactive for a span of 30 days or more and then it would close them as a result of inactivity for almost a month, if you say I can change the time span after which an issue is to be closed

Okay got your point

@hustlerZzZ So basically what this proposed workflow will do is, it would first determines those issues which were inactive for a span of 30 days or more and then it would close them as a result of inactivity for almost a month, if you say I can change the time span after which an issue is to be closed

@hustlerZzZ If you are satisfied with this feature and want me to work on this then please assign me this issue
Thank you!

Done


Reason not to use JPG compression

Question
Is there a reason not to convert the exported PNGs to JPGs?
Additional context
First of all: Thank you so much for this great plugin! I love the results.
I experienced slow loading times via Nabu Casa after toggeling lights for the first time (not cached yet). My 13 PNG images are ~12 MB. After converting them to JPGs I ended up with 1.4 MB without noticeable differences in quality and, naturally, almost instand loading times. I experience no draw backs so far in CSS mode so I was wandering if I'm missing something. Otherwise, this could be added to the instructions.

Hey, when the project first started the only rendering mode was the room overlay which needed PNGs because of the image transparency that was needed. I tend to agree that with the CSS mode JPEGs might be good enough since the rendered image is noisy anyway (at least for me). PNGs are still a must for RGB lights...
Maybe toss can be another option for the user to choose. I'll look into it.

WEBP is another good option, with alpha channel and lossy/lossless options available. Browser support is good, but not sure if there's a maintained Java encoder for it.
I've been manually converting the floorplan PNG-s to WEBP-s with a simple Powershell script (assumes cwebp is available in your PATH):
Get-ChildItem -Filter *.png | ForEach-Object { & 'cwebp' -q 95 $_.FullName -o "$($_.BaseName).webp" }

Results with 2250x1500 renders (13 files):
PNG: 39.8MB
WEBP: 2.94MB

@martikaljuve as you've mentioned, Java's Image I/O library doesn't have native WebP support for, at least for now, I've added the option to select JPEG as well. Since the renders are grainy/noisy as is, I don't think there's much added value with lossless formats anyway.
In any case, this feature will be included in the upcoming release. Thanks @MariusSchenkluhn for the suggestion!


add 'id' field to UserDetailsSerializer

for what??

when I register a new user using /rest-auth/registration/ it only returns the Token key. After this, I would like to have the current user data (username, email, id) and I call GET /rest-auth/user/ for that. I noticed I wasn't getting the user id (which I need for some custom business logic in my project), and since this is a minor but useful change I made this PR.

@agustinaliagac  you can setup USER_DETAILS_SERIALIZER  in settings.py. I though that not good idea send ID of user in details. No one must know how you save user and witch 'id' it have.(security reason)

@Akay7 Awesome. Thanks, I'll take a look at it.

Agreed with @Akay7 , use USER_DETAILS_SERIALIZER if needed.


Multiple PING Problem. No

Hello, I'm using your library to make a project.
I started from the PING example on Raspberry PI4 and send a message to arduino. Arduino sent response to Raspberry.  After sending the 189 message the raspberry is no longer notified of the end of the transmission -> the TX callback function is no longer called.
Have you tried doing multiple PING?
I attach the C main I'm using
main.txt

Hello! I don't work with it a long time. Have you found the solution?

@BlackHoleVR try the latest version with my fix applied
@YandievRuslan there are still problems with the library. e.g. if the receive callback is too slow with copying the received data, then it can be overwritten by new data being received
also switching between receive and send causes it to crash

@folkertvanheusden Hi! Thank you a lot, for prev pull request. Could you fix the problem with rewriting old data? I haven't work with hardware long time, and i don't have working LoRa setup to solve this issue. I guess to prevent overwriting data, we can each time allocate new memory for received data and save the reference to "modem->rx.data.buf". But then the callback should free the memory. It can cause memory leak. Or callback should first of all copy data from buffer using memcpy.
What do you think?

Thanks to @folkertvanheusden this issue is closed


Review all the content before official lauch

Official launch ? It's already launched, so we can close this issue ?

@frju365 as a contributor, you can close issues I think.


Layered configuration?

Currently configuration can only be provided in one of the following ways:

create instance of HoneycombOptions
IConfiguration (eg appsettings.json)
command line args

However, a user cannot mix and match them. Eg set some command line args, some via configuration file, etc. Is this something we want to allow?

I think this is a nice to have and maybe not a requirement for the Beta milestone?

Currently the .NET OpenTelemetry SDK only supports direct code configuration and does not have a defined path for env vars or appsettings. A recent, unreleased, PR was merged to start to introduce env var support as defined in the spec, but this incomplete and could change before it's released.
The current .NET Honeycomb distro supports configuration via code and appsettings but doesn't support layered configuration. This is okay for now and we can re-assess once the base OpenTelemetry SDK adds env var support.
Moving to Icebox for later consideration.


Change EquipmentType to be configurable

Change Equipment Type from Enum to have signature: {
name: string,
modifierType: string,
materialType: string
}
modifierType will then match the name attribute on an EquipmentModifierType entry, and materialType will match the name attribute on an EquipmentMaterialType entry.

ModifierType is actually set by each MaterialType, to allow for more granularity if the configurator wishes.


[ERROR] Cannot find module 'element-plus' or its corresponding type declarations

Vue3 + TS + Vite project,It has been declared in tsconfig.json "skipLibCheck": true,
However, an error is reported during packaging and cannot find  the module , vue-tsc version  is 0.40.13,
Please tell me where the error occurred

Can't reproduce, could you please provide the reproduction repo?


[libhsplasma] Update to 2022-05-19

Update libhsplasma to current.

What does your PR fix?
See above

Which triplets are supported/not supported? Have you updated the CI baseline?
No change

Does your PR follow the maintainer guide?

Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

CI failure appears unrelated to this PR 😖

/azp run

LGTM, thanks for the update!


[LTO] Change default build config to not use LTO unless requested

Motivation and Context

LTO is no longer done by default. It now needs only done in Release, MinSizeRel or when specified manually with the LTO flag.
Adds flag to enable LTO in addition to disabling it.

How Has This Been Tested

Locally and with the CI

Types of changes

Change default LTO

[X] Docs change / refactoring / dependency upgrade

Checklist

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

Ping @mosra

Please do not merge. Let Mosra take a final look first.

@mosra


Support const generics

There's a bunch of stuff we need to implement to support const generics at least enough to get method resolution right in simple cases:

[ ] lower const parameters and array sizes as bodies (#7434)
[ ] represent const parameters in the type checker: this (like supporting lifetime parameters) will mean fixing a bunch of places in hir_ty that currently assume only type parameters exist. A good place to start is probably the Generics helper in hir_ty's util.rs
[ ] use Chalk's unification logic instead of ours that doesn't take consts into account (I'm working on this)
[X] represent consts in types, at least simple numbers:

this means changing InternedConcreteConst in our Interner from () to an enum that can represent these numbers
then we need to implement the const_eq method on Interner

[ ] evaluate const bodies: there should be a query that takes a const body and tries to evaluate it, returning a Result<Binders<Const>, ConstEvalError> that can be either a concrete const, a BoundVar referring to a const param, or an error if the expression is too complicated. We'll want to handle errors differently depending on the situation (while inferring bodies, we could replace them by const variables, for example). We should stick to only evaluating simple integer literals for now. We'll need to call this query during type lowering.

this would basically also get us most of the way to #8497
this should also fix #8654 since our method resolution will then take the const values into account
to represent more complicated const generics like { N + 1 } (where N is a const param), we need support in Chalk for unevaluated consts that doesn't exist yet

[ ] expand the const evaluation logic: we shouldn't put too much work into this, but a good subset might be integer literals, consts and maybe the standard binary operations

cc https://github.com/rust-lang/compiler-team/issues/453

I also wonder, what would it take us to “just use miri”, just like we “just use chalk” today (to clarify, I personally know very little at all about how all this is supposed to work)?

Miri seemed very entangled with compiler internals when I checked; having the shared type library might be a first step towards that though.

Regarding the MCP, in the end we just use Chalk's representation, so 🤷♂

Miri can't be used without TyCtxt. Disentangling it is probably going to be pretty hard. It needs everything from the full type system to the type layout calculation to MIR lowering.


lancedb template code

as per contribution guidance verified all code format & submitting pr

get TypeError: Type is not JSON serializable: numpy.ndarray when running it with question "where did harrison work"

This is likely an issue in the LanceDB integration, not this template. It looks like it's attaching numpy arrays as metadata to the documents, thereby making them not serializable. Would recommend passing the vectors around as List[float] instead of numpy.ndarray!
But also, including the embeddings in the metadata of documents is generally unnecessary. Maybe only pass it back to the user if they request it with some parameter?

Okay got it let me work on it

Will close for now, and feel free to open a PR against the integration package, and then reopen this once that's in + published to community!


Run test cases

For each test case:

Initialize Musashi
Load test case into Musashi
Run test case for X cycles (say 1M cycles)
At end of execution, determine success/failure depending on whether d0 is non-null/null

Implemented.


Error on import of plugin due to change in saleor

Hi,
first, thanks for creating this plugin.
Saleor just released v3.3 and this breaks your plugin unfortunately. At least the import of the ErrorsCodes.
They updated the vatlayer plugin in this commit.
It looks as if they just moved the ErrorCodes
from ...graphql.core.utils.error_codes import PluginErrorCode becomes from ...plugins.error_codes import PluginErrorCode
Not quite sure if that has any additional effect on your code but maybe you want to have a look at it?
Kind regards,
Marco

Hi Marco,
Thanks for bringing this up, I still haven't got the chance to update my saleor repo to the latest version hence why I haven't needed to update this repo with the breaking change.
Looks like I need to do some small changes, I think I'll have time over the weekend to open up a PR.
As an FYI Saleor is working on a more robust way of handling dynamic taxes in this PR. After that's done I think that there won't be a need for this repo/plugin anymore.

@toastedtoast this has been fixed here and published to pypi.
Thanks for reporting 😃

You're great.
Yeah the whole tax stuff is kind of complicated in saleor while I only need 2 taxes in Germany and I totally struggle with the concept of why I need an API to fetch the 'latest' taxes.
Let's see how that evolves but for now it's just great to have your super simple solution 🙏


Is there a way to add profile image to the mention search list ?

Is there a way to add profile image to mention search list...or any workarounds ?

Push. Also interested in this. How can we modify the mention search list to add a profile image?

Yes, you can use renderItem for that. What you need to do is the have something like "profileImageUrl" in the JSON search result, then in the renderItem create the HTML image with the url in item.profileImageUrl.

@MadSpindel Can you please give us an exmaple on how do that?
I cannot find any example on the internet and just from your documentation I don't know how to do that.

Sure, here is one quick example:
`var quill = new Quill("#editor", {
placeholder: "Start by typing @ for mentions or # for hashtags...",
modules: {
mention: {
allowedChars: /^[A-Za-z\sÅÄÖåäö]*$/,
mentionDenotationChars: ["@", "#"],
source: function(searchTerm, renderList, mentionChar) {
let values;
          if (mentionChar === "@") {
            values = atValues;
          } else {
            values = hashValues;
          }

          if (searchTerm.length === 0) {
            renderList(values, searchTerm);
          } else {
            const matches = [];
            for (i = 0; i < values.length; i++)
              if (
                ~values[i].value
                  .toLowerCase()
                  .indexOf(searchTerm.toLowerCase())
              )
                matches.push(values[i]);
            renderList(matches, searchTerm);
          }
        },
        renderItem(item) {
          return `<img src="${item.profileImageUrl}">${item.value}`;
        },
      },
    },
  });`

You see renderItem? I added img src with item.profileImageUrl. You need to make sure each item in the JSON Object list from the source function (which is sent as matches to renderList) has a profileImageUrl value with the correct url.

Since the PR #341 it is not possible to add a profile image to the list like above. We need to create blots.
Can anyone please help me out how to implement this with Vue/Nuxt3?


Missing argument for parameter 'getAbout' in call

Getting this error in Dependancies.swift in line 48.

Thanks for reporting the problem. It was fixed in #23. Only the example app was affected, the library code didn't require any changes.


Fixed Search Service issue for supporting GCC High tenants

Issue
Search service not working for GCC Hybrid deployments.
Solution details -
In GCC environment, Search service searchDnsSuffix is search.azure.us.
So added setting to decide whether deployment is GCC high or not, based on that setting appropriate searchDnsSuffix value.
Testing Done
Verified locally and with ARM deployment.

@v-smahaj Just want to confirm-- did you test this for regular (non-GCC) deployment as well?

@v-smahaj Just want to confirm-- did you test this for regular (non-GCC) deployment as well?

Yes. App is tested in regular tenants as well.


Mobile font sizes do not reflect orion style guide

Issue report
The mobile font size tokens are all a few pixels larger than the Orion style guide. Double check the tokens to make sure they're accurate.
Expected Behavior

Mobile font size tokens match style guide -- max is 30px, xxl 26px, xl 21px, lg 18px, med 16px, sm 12px.
Current Behavior

Mobile font size tokens do not match style guide -- computed as max 35.2px, xxl 26.4px, xl 23.2 px, lg 20.32px, med 16px, sm 12px
Your Environment

Computed values come from Chrome dev tools. Elements were using orion baseline classes (e.g. heading--max, heading--xxl).

:tada: This issue has been resolved in version 2.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update 060-full-text-search.mdx

Missing quotes in preview feature flag for MySQL
Describe this PR
Missing quotes in preview feature flag for MySQL
Changes
Added quotes

Thanks for spotting that, @pl402!


"Provița de Jos" , "Drăgăneasa"and "Piatra" villages are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Type "Provița de Jos" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Provița de Jos, PRAHOVA (Provița de Jos)".

Step 2
Type "Drăgăneasa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Drăgăneasa, PRAHOVA (Provița de Jos)".

Step 3
Type "Piatra" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Piatra, PRAHOVA (Provița de Jos)".


fix too restrictive regex on pathpart

The RegEx was too restrictive when being used with proxy variables. The
+ in {proxy+} is valid and should not throw an exception.
Signed-off-by: Daniel Stamer<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

Thanks for the contribution!
I feel that it would be best if we can make sure the + is only allowed within a path parameter fragment, before the closing }. It otherwise makes the validation permit many invalid uses... Would you be able to change your code to this effect?

@RomainMuller just to make sure I understand, so we just want to allow either } or +} as suffixes, correct instead of generally allowing + as a character within the path part. Correct?

@eladb Correct.

Hi @daniceman, when you are ready to merge this, let me know. I will take care of getting it aligned with "master". We've converted our codebase from 4 to 2 spaces, so there's a bit of juggling to do to help it land

Thanks for the contribution!
I feel that it would be best if we can make sure the + is only allowed within a path parameter fragment, before the closing }. It otherwise makes the validation permit many invalid uses... Would you be able to change your code to this effect?

The regex checks for an optional trailing '+', so I think all matches should be valid. Am I understanding this incorrectly?

@eladb

Hi @daniceman, when you are ready to merge this, let me know. I will take care of getting it aligned with "master". We've converted our codebase from 4 to 2 spaces, so there's a bit of juggling to do to help it land

I re-tabed the source to 2 spaces.

@daniceman the trailing + is only allowed inside of parameters as far as I know, not in normal paths

@Rukenshia

@daniceman the trailing + is only allowed inside of parameters as far as I know, not in normal paths

I merged in your code & tests. Now the optional '+' is explicitly stripped before the path is RegEx matched.
@RomainMuller Could you quickly check if @Rukenshia fixed your concerns?

@eladb I think this PR is ready to merge now.


Encapsulate IO exceptions in Monad IO m, MonadError e m

I'm actually not sure whether this is an issue, or if it fits the project goals at all, but I keep wondering why we can't have an encapsulation of core exceptions from IO actions (since they are far too common) under a more type-safe approach such as MonadError e m.
What I'm thinking about is something like
import Control.Monad.Except
import Control.Exception (Exception (..), try)

liftErrorIO :: (Exception e, MonadIO m, MonadError e m) => IO a -> m a
liftErrorIO = liftIO . try >=> either throwError return

liftedBracket :: (Exception e, MonadIO m, MonadError e m) =>
                 m a
              -> (a -> m b)
              -> (a -> m c)
              -> m c
liftedBracket acquire release comp = do
  resource <- acquire
  result <- catchError (comp resource) (\e -> release resource >> throwError e)
  _ <- release resource
  return result

Control.Exception steps well outside of the language extensions that the mtl has used to date and would tie the library very closely to GHC.

Closing this out based on our discussion on IRC.


CUDALite Regression Execution Times

Added benchmark stream to output benchmarking messages.
hb_mc_device_tile_groups_execute outputs cycle count to benchmark stream.
Regression summary prints cycle count of each test and cumulative number of cycles for all tests.

Updated the summary with geomean cycle count. There are the current results:
GCC:
 ===========================================================

 Parsing cuda Regression Test results...

 ===========================================================

 PASS: Regression Test test_scalar_print passed in 738 cycles!
 PASS: Regression Test test_empty passed in 728 cycles!
 PASS: Regression Test test_tile_info passed in 908 cycles!
 PASS: Regression Test test_barrier_deprecated passed in 787 cycles!
 PASS: Regression Test test_barrier passed in 759 cycles!
 PASS: Regression Test test_striped passed in 748 cycles!
 PASS: Regression Test test_binary_load_buffer passed in 712 cycles!
 PASS: Regression Test test_empty_parallel passed in 7747 cycles!
 PASS: Regression Test test_multiple_binary_load passed in 1424 cycles!
 PASS: Regression Test test_host_memset passed in 716 cycles!
 PASS: Regression Test test_stack_load passed in 750 cycles!
 PASS: Regression Test test_memory_leak passed in 23363 cycles!
 PASS: Regression Test test_dram_load_store passed!
 PASS: Regression Test test_dram_host_allocated passed in 731 cycles!
 PASS: Regression Test test_dram_device_allocated passed in 15745 cycles!
 PASS: Regression Test test_device_memset passed in 744 cycles!
 PASS: Regression Test test_device_memcpy passed in 739 cycles!
 PASS: Regression Test test_vec_add passed in 832 cycles!
 PASS: Regression Test test_vec_add_dma passed in 7013 cycles!
 PASS: Regression Test test_vec_add_parallel passed in 15799 cycles!
 PASS: Regression Test test_vec_add_parallel_multi_grid passed in 17544 cycles!
 PASS: Regression Test test_vec_add_serial_multi_grid passed in 17552 cycles!
 PASS: Regression Test test_vec_add_shared_mem passed in 15804 cycles!
 PASS: Regression Test test_max_pool2d passed in 795 cycles!
 PASS: Regression Test test_shared_mem passed in 856 cycles!
 PASS: Regression Test test_shared_mem_load_store passed in 8251 cycles!
 PASS: Regression Test test_matrix_mul passed in 33690 cycles!
 PASS: Regression Test test_matrix_mul_shared_mem passed in 38309 cycles!
 PASS: Regression Test test_float_all_ops passed in 3213 cycles!
 PASS: Regression Test test_float_vec_add passed in 863 cycles!
 PASS: Regression Test test_float_vec_add_shared_mem passed in 1363 cycles!
 PASS: Regression Test test_float_vec_mul passed in 863 cycles!
 PASS: Regression Test test_float_vec_div passed in 2720 cycles!
 PASS: Regression Test test_float_vec_exp passed in 3621 cycles!
 PASS: Regression Test test_float_vec_sqrt passed in 2270 cycles!
 PASS: Regression Test test_float_vec_log passed in 3582 cycles!
 PASS: Regression Test test_float_matrix_mul passed in 32436 cycles!
 PASS: Regression Test test_float_matrix_mul_shared_mem passed in 36961 cycles!
 PASS: Regression Test test_softmax passed in 3803 cycles!
 PASS: Regression Test test_log_softmax passed in 8262 cycles!
 PASS: Regression Test test_conv1d passed in 1482 cycles!
 PASS: Regression Test test_conv2d passed in 800 cycles!
 PASS: Regression Test test_hammer_cache passed in 757 cycles!
 ===========================================================

 PASS! All 43 tests passed for cuda with 2772 geomean cycles

 ===========================================================

LLVM:
===========================================================

Parsing cuda Regression Test results...

===========================================================

PASS: Regression Test test_scalar_print passed in 738 cycles!
PASS: Regression Test test_empty passed in 726 cycles!
PASS: Regression Test test_tile_info passed in 943 cycles!
PASS: Regression Test test_barrier_deprecated passed in 800 cycles!
PASS: Regression Test test_barrier passed in 765 cycles!
PASS: Regression Test test_striped passed in 751 cycles!
PASS: Regression Test test_binary_load_buffer passed in 712 cycles!
PASS: Regression Test test_empty_parallel passed in 7746 cycles!
PASS: Regression Test test_multiple_binary_load passed in 1424 cycles!
PASS: Regression Test test_host_memset passed in 717 cycles!
PASS: Regression Test test_stack_load passed in 751 cycles!
PASS: Regression Test test_memory_leak passed in 23364 cycles!
PASS: Regression Test test_dram_load_store passed!
PASS: Regression Test test_dram_host_allocated passed in 731 cycles!
PASS: Regression Test test_dram_device_allocated passed in 15745 cycles!
PASS: Regression Test test_device_memset passed in 745 cycles!
PASS: Regression Test test_device_memcpy passed in 742 cycles!
PASS: Regression Test test_vec_add passed in 844 cycles!
PASS: Regression Test test_vec_add_dma passed in 7680 cycles!
PASS: Regression Test test_vec_add_parallel passed in 15799 cycles!
PASS: Regression Test test_vec_add_parallel_multi_grid passed in 17548 cycles!
PASS: Regression Test test_vec_add_serial_multi_grid passed in 17560 cycles!
PASS: Regression Test test_vec_add_shared_mem passed in 15811 cycles!
PASS: Regression Test test_max_pool2d passed in 811 cycles!
PASS: Regression Test test_shared_mem passed in 854 cycles!
PASS: Regression Test test_shared_mem_load_store passed in 8192 cycles!
PASS: Regression Test test_matrix_mul passed in 33817 cycles!
PASS: Regression Test test_matrix_mul_shared_mem passed in 38193 cycles!
FAIL: Regression Test test_float_all_ops failed!
PASS: Regression Test test_float_vec_add passed in 875 cycles!
PASS: Regression Test test_float_vec_add_shared_mem passed in 1299 cycles!
PASS: Regression Test test_float_vec_mul passed in 875 cycles!
FAIL: Regression Test test_float_vec_div failed!
PASS: Regression Test test_float_vec_exp passed in 3643 cycles!
FAIL: Regression Test test_float_vec_sqrt failed!
PASS: Regression Test test_float_vec_log passed in 3607 cycles!
PASS: Regression Test test_float_matrix_mul passed in 32539 cycles!
PASS: Regression Test test_float_matrix_mul_shared_mem passed in 36879 cycles!
PASS: Regression Test test_softmax passed in 3815 cycles!
PASS: Regression Test test_log_softmax passed in 8153 cycles!
PASS: Regression Test test_conv1d passed in 1987 cycles!
PASS: Regression Test test_conv2d passed in 748 cycles!
PASS: Regression Test test_hammer_cache passed in 769 cycles!
===================================================

FAIL! 40 out of 43 cuda regression tests passed in 2806 geomean cycles

===================================================

I like this PR. However, I would like to suggest that we add something like BSG_TEST_START/BSG_TEST_FINISH to our existing infrastructure that reuses the new counter APIs. This would report cycles and instructions executed for every approved test
Example:
BSG_TEST_START("test name")

// Do kernel/SPMD-y stuff

BSG_TEST_FINISH(pass/fail) // Prints standard trailing text.

@vb000 Does that sound like a reasonable extension?


suggest to infer the type

Below is fine, but cannot carry extra information in the context
...
 @prop({required: true, minlength: 1})
  Hash: string; // multihash
...

Below is prefered, but will raise Error Error: Type of AppId property is not a string.
export type multihash = string;
...
 @prop({required: true, minlength: 1})
  Hash: multihash;
...

you need to make your own mongoose.type / mongoose.schema.type


Add Version Compare information to the RTD Footer Response

We want to unify the API calls for /api/v1/<project>/highest/<version> and /api/v2/footer_html in order to reduce the number of API calls.

@ericholscher I have a few questions regarding this task.

The version comparison call is part of API v1. Shall this be moved into API v2? Do we need to stay backwards compatible?
The API calls are made from the readthedocs/core/static-src/core/js/readthedocs-doc-embed.js file. I noticed that the API is also called from the media/javascript/rtd.js file. Is this file still relevant?

We should just move the logic into the footer response. I don't believe we
need to maintain backwards compat, I don't think. It might make sense to
keep the logic seperate, and have an API endpoint for it, but to embed it
in the footer response on doc page load to decrease server requests, but
keep it available.
I believe rtd.js is old -- likely around for docs that haven't been rebuilt
in a long time.
On Tue, Jul 21, 2015 at 6:41 AM, Gregor Müllegger<EMAIL_ADDRESS>wrote:

@ericholscher https://github.com/ericholscher I have a few questions
regarding this task.

The version comparison call is part of API v1. Shall this be moved
into API v2? Do we need to stay backwards compatible?
The API calls are made from the
readthedocs/core/static-src/core/js/readthedocs-doc-embed.js file. I
noticed that the API is also called from the media/javascript/rtd.js
file. Is this file still relevant?

—
Reply to this email directly or view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/1463#issuecomment-123308650
.

--
Eric Holscher
Maker of the internet residing in Portland, Oregon
http://ericholscher.com

The API calls are made from the readthedocs/core/static-src/core/js/readthedocs-doc-embed.js file. I noticed that the API is also called from the media/javascript/rtd.js file. Is this file still relevant?

@ericholscher What's your take on this?

Sorry ignore my comment. Your take on the rtd.js was hidden in the github UI because it thought it was part of the quoted email text...


doesn't work on ios 13

managed to run on iphone but it stuck on loading screen.
Bluetooth icon enabled only when 1st installed.

same issue, problem appears to be requesting location permissions, however after implementing this in the sample, it was still stuck on the loading screen.

Running the 0.3.0 release doesn't work on iOS13, however running the latest version from git does!

Thanks, that worked! I think this issue can be closed now.


Export High Accuracy Estimates data type

Progress: 1/2tests: SHIPWIRE_USER: getEnv: does not exist (no environment variable)
Completed 2 action(s).
Test suite failure for package ballast-<IP_ADDRESS>
    tests:  exited with: ExitFailure 1
Logs printed to console

?

Probably need to add encrypted env stuff to the travis config. Not sure what's happening here. I did set them up on the website though.

Seems to be working now.


Added code for dynamically adding balls depending on the level

This PR functions well as expected. I've left a few comments on other aspects. Please review it and let me know if you need further explanations or help! @Bhagyashree-Rawal 👍


Error after latest update

Describe The Bug
Hi.
Today I updated the plugin to the latest version and after this update Homebridge completely does not work. Nothing starts, it shows that the site is unavailable. In Apple Home app all devices not responding. I can access via FTP. I can connect vis SSH.
Logs

Config
No response
Homebridge UI Version
Latest
Homebridge Version
Latest
Node.js Version
18
Operating System
Official Homebridge Raspberry Pi Image
Environment Info

[ ] Using Docker?
[ ] Using Hyper-V?
[ ] Using hb-service?

Raspberry Pi Model
Raspberry Pi 4 B

Ok i run sudo hb-service rebuild command and it working now.


Detect Loop in Linked List

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Issue no: #686
Approach: Floyd’s Cycle-Finding Algorithm
This is the fastest method to solve this problem.
Time complexity: O(n).
Auxiliary Space:O(1).
Checklist

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

Related Issues or Pull Requests
(Write your answer here.)

kindly review this @Kajol-Kumari @SKAUL05 @siddharth25pandey @iamrajiv @HarshCasper

kindly review this @Kajol-Kumari @SKAUL05 @siddharth25pandey @iamrajiv @HarshCasper

kindly review this PR @siddharth25pandey  i made all the changes as per your requirements.


fix: getall is being called unnecessarily every time the user accesses the My Collection page

This PR addresses an issue where the /getall endpoint was being called unnecessarily every time a user accessed the 'My Collection' page. This redundant API call could lead to increased load times and unnecessary server strain.
✨ (use-get-folders.ts): Update useGetFoldersQuery to check if types are empty before calling getTypes to avoid unnecessary API calls
♻ (typesStore.ts): Remove unnecessary useAlertStore setState call to improve code readability and maintainability

We still have other places that we call getTypes. Can you check them out too?

getTypes

yes, there's just another place, but Its already true


feat: Set default to null when the field type is nullable (activable by the configuration)

Quick PR that have no impact on the existing features. I hope you will release it before the work of primitives in root :pray:

@Chuckame, do you want to join me in maintaining this repo?

@thake yes, why not!!

Thanks for the PR a really useful addition. It will certainly be merged before primitive types.

Good idea, did you worked on it since the last commit to your primitives in root branch?

Thanks for the PR a really useful addition. It will certainly be merged before primitive types.

Good idea, did you worked on it since the last commit to your primitives in root branch?

No, not yet. If you want, you can give it a try.

Yes I begun something similar to Json, proto, and other native serializers. I would like to lighten the Avro class, make some extensions and make it more configurable (starting with this pr)

By the way, how do you want me to make releases? That way we add a CONTRIBUTING.md 😁

By the way, how do you want me to make releases? That way we add a CONTRIBUTING.md grin

I've opened up an issue #143 for that. Maybe we'll have to change something on the release workflow.

Yes I begun something similar to Json, proto, and other native serializers. I would like to lighten the Avro class, make some extensions and make it more configurable (starting with this pr)

That sounds really awesome :) Do you want to talk me through before? That way I can give you some input and work out a solution together. You can find my contact details on my github profile, I think we should discuss this "face to face".


Migrate log4j-jul to JUnit 5

Hello 👋
We are from Neighbourhoodie, the implementation partner of the STF Bug Resilience Program. This work is part of our agreed Milestone 1. Upgrade from JUnit 4 to JUnit 5. This PR migrates the tests located in log4j-jul.
Thank you!
Checklist

Base your changes on 2.x branch if you are targeting Log4j 2; use main otherwise
./mvnw verify succeeds (if it fails due to code formatting issues reported by Spotless, simply run ./mvnw spotless:apply and retry)
Non-trivial changes contain an entry file in the src/changelog/.2.x.x directory
Tests for the changes are provided
Commits are signed (optional, but highly recommended)

Hi, we are currently blocked and would like your advice. We've found out that the surefire-junit47 provider specified here only executes JUnit 4 tests. We've attempted to change the version and the provider with no luck. Is there another version of this dependency that would set up java.util.logging as required, but will also run JUnit 5 tests? Do you have any pointers for us? Thank you

@AlbaHerrerias,
The problem with surefire-junit-platform was that either Surefire or JUnit 5 (I don't remember which one) initializes JUL (and therefore Log4j) way before control is transferred to the test class. Therefore this code executes too late:
https://github.com/apache/logging-log4j2/blob/031d4dab8b32e1d3802f73495a7bb36b8b2685f5/log4j-jul/src/test/java/org/apache/logging/log4j/jul/test/CoreLoggerTest.java#L59-L62
To workaround that, all the tests must be split into at least 4 Surefire runs, depending on the system properties that they need.
Most test classes require the java.util.logging.manager property to be set (except Log4jBridgeHandlerTest), but some need additional properties.
For example AsyncLoggerThreadsTest additionally needs the log4j2.contextSelector property to be set:
          <execution>
            <id>async-logger-test</id>
            <goals>
              <goal>test</goal>
            </goals>
            <phase>test</phase>
            <configuration>
              <includes>
                <include>**/AsyncLoggerThreadsTest.class</include>
              </includes>
              <!-- Use custom `j.u.l.LogManager` and an asynchronous selector -->
              <systemPropertyVariables>
                <java.util.logging.manager>org.apache.logging.jul.tolog4j.LogManager</java.util.logging.manager>
                <log4j2.contextSelector>org.apache.logging.log4j.core.async.AsyncLoggerContextSelector</log4j2.contextSelector>
              </systemPropertyVariables>
            </configuration>
          </execution>

CoreLoggerTest needs an additional log4j2.julLoggerAdapter system property.

Hello @ppkarwasz , thank you for your help, it unblocked me.

Hello @ppkarwasz. I wanted to ask if this refactor needs to be ported to main. Previously, your team has been handling the porting, and I was wondering if you plan to continue doing so for this and the other modules we've refactored that are not yet in main. Thank you! 🙏

Previously, your team has been handling the porting, and I was wondering if you plan to continue doing so for this and the other modules we've refactored that are not yet in main. Thank you! 🙏

I have the impression that you did all the ports to main (of course for modules that still exist in main). The version of log4j-jul in main is strongly amputated, so no need to migrate this one.

@ppkarwasz
They were made by @vy 🙇
I've compiled a small list with our changes:

PR against 2.x
Ported to main

log4j-jdbc-dbcp2
Yes, done by vy

log4j-jpl
Yes, done by vy

log4j-to-slf4j
No need

log4j-slf4j-impl
No need

log4j-slf4j2-impl
No need

log4j-jul
No need

log4j-jpa
Does not look it is in main

log4j-jakarta-smtp
Does not look it is in main

log4j-taglib
Does not look it is in main

log4j-1.2-api
Does not look it is in main

log4j-api-test (not finished, we need assistance)
Does not look it is in main

log4j-osgi-test

log4j-core-test (will be finished soon)

log4j-iostreams (not merged)

Am I correct in understanding that three modules require porting? (log4j-osgi-test, log4j-core-test, log4j-iostreams). Would you prefer to handle the porting directly, or would you like us to open the PRs against main?
Please note this PR https://github.com/apache/logging-log4j2/pull/3221 was related to the migration but not done by us. If I'm not mistaken this is not in main either.
Thank you

Am I correct in understanding that three modules require porting? (log4j-osgi-test, log4j-core-test, log4j-iostreams). Would you prefer to handle the porting directly, or would you like us to open the PRs against main?

There might be a lot of differences in log4j-core-test between 2.x and main, so please make a separate PR for main if you can. log4j-iostreams shouldn't event be in main and I can port log4j-osgi-test myself.

Please note this PR #3221 was related to the migration but not done by us. If I'm not mistaken this is not in main either.

Thanks for the remark, we didn't notice that, sorry. We'll double-check that PR to see if it contains independent work or is just a squash of all your PRs.


Advice: Prepare new method (notisset)

As long as @isset is beneficial to check a variable exists, I'd like a new method @notisset to check that a variable is not exist.

Okay I've developed it in this way:
@notisset($not_exist_var)
  This variable is not exist
@endnotisset


[cli] Newest Rancher CLI version 2.6.7 contains no binaries

Hi Rancher team
I've been looking forward to a new release of the Rancher CLI tool, as I am hoping for a solution to this issue: #37574
However when I went to retrieve the new version, it contained no binaries, as earlier versions had.
This can be seen in this link: https://github.com/rancher/cli/releases/tag/v2.6.7
Where only the source code is available.
Is this because I have to build it myself?
I can see that it was @jakefhyde that created the release, so the question is perhaps directed towards Jake.
As a side note, is it possible for the developers of the CLI tool to set up an automatic Chocolatey release of the binaries?
The current release seems to be community supported, and on version 2.4.7: https://community.chocolatey.org/packages/rancher-cli
I have tried to contact the maintainer of the current Chocolaty release to no avail, but I hope to push a new version of it, when I go through the Triage process.

@Tonur , thank you for reporting this issue. We've had an issue with CI during that time. It has since been corrected and 2.6.7 release of the CLI was recreated with binaries now - https://github.com/rancher/cli/releases/tag/v2.6.7.
At this time we don't maintain Chocolatey repo for any of Rancher tools.


Publish 11/17/2021, 10:30 AM

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSiteOffice365Group.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Consumption and application of Cluster Proxy and Additional Trust Bundles

As it is, the cert-manager operator does not inject the needed cluster proxy and custom root CA configuration into the running Pods.
You can inject the environmental variables for HTTP_PROXY, HTTPS_PROXY, and NO_PROXY into the operator Subscription, which will apply them to the controller, but the controller does not pass them to the Deployments that are created by the CertManager instance.
This is useful in case a cluster is behind an outbound proxy and needs to communicate with an ACME server on the internet, such as the Sectigo OV ACME server.

Being implemented by https://github.com/openshift/cert-manager-operator/pull/103, yet to merge, which has been pre-merge verified now: https://github.com/openshift/cert-manager-operator/pull/103#issuecomment-1433066580


Which do you prefer?

Hi guys!
Which architecture do you prefer for your new-big projects?

I don't think this is the right place to start a discussion. Issues are meant to keep track of tasks, enhancements and bugs for projects. Perhaps Stack Overflow would be a better place to ask your question :)


Move current version information in init.py + fix import w/o setup.py

Make the asv in the git repository importable without running setup.py,
and keep the master version number in init.py. Store only git
revision information in _version.py.

Coverage remained the same at 86.88% when pulling 36a7934b10a4e0c7bc005738bda584c27d0ad20f on pv:version-file into 68ff232cb49c5ade3b74665351df6501735ffff2 on spacetelescope:master.

Coverage increased (+0.1%) to 87.024% when pulling ad799884f8d41119495cacdc12ddb2773851a32e on pv:version-file into 68ff232cb49c5ade3b74665351df6501735ffff2 on spacetelescope:master.

Coverage increased (+0.1%) to 87.024% when pulling 3d10d1afa2ac2bd82e571d55e9f00510e3d87d18 on pv:version-file into 68ff232cb49c5ade3b74665351df6501735ffff2 on spacetelescope:master.


connect to batch job while saving

I addded the function module BP_ADD_APPL_LOG_HANDLE to the saving method.
METHOD save_log.
    DATA log_handles TYPE bal_t_logh.
    DATA log_numbers TYPE bal_t_lgnm.
    DATA log_number  TYPE bal_s_lgnm.

    INSERT me->handle INTO TABLE log_handles.
    CALL FUNCTION 'BAL_DB_SAVE'
      EXPORTING
        i_t_log_handle       = log_handles
        i_2th_connection     = me->sec_connection
        i_2th_connect_commit = me->sec_connect_commit
      IMPORTING
        e_new_lognumbers     = log_numbers.
    IF me->db_number IS INITIAL.
      READ TABLE log_numbers INDEX 1 INTO log_number.
      me->db_number = log_number-lognumber.
    ENDIF.
    IF sy-batch = abap_true.
      CALL FUNCTION 'BP_ADD_APPL_LOG_HANDLE'
        EXPORTING
          loghandle = me->handle
        EXCEPTIONS
          OTHERS    = 0.
    ENDIF.
  ENDMETHOD.

fixes issue #143


Improve rerun_cpp readme & CMakeLists.txt

What

Fixes #4117
overhauled Readme.md for rerun_cpp
everything except is now part of rerun_cpp zip bundle
made rerun_cpp CMakeLists.txt smaller by splitting out the from-source rerun_c and the from-source arrow builds out
rerun_c is now built as a built action, meaning it's part of the buildgraph of whatever generator you use - e.g. Ninja will build it now in parallel to your C files 🥳

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested demo.rerun.io (if applicable)
[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

uh. needs windows fixing. Why am I not surprised

There was more wrong than just windows build. Had to kill the path of being in the repo and still setting RERUN_C_LIB cmake config variable. Realistically we don't need it and this makes things easier


chore: gobackend-ut to 0.0.1

chore: Promote gobackend-ut to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


How to train with quantization

I'd like to know if keras offers training with quantization ? Tensorflow backend offers that with TF.contrib.quantize

Same question. In tf's tutorial, it says that "Call the training rewrite which rewrites the graph in-place with FakeQuantization nodes and folds batchnorm for training. " Whether adding tf.contrib.quantize.create_training_graph before the model.compile  can make the quantization training?

When I add tf.contrib.quantize.create_training_graph before model.compile, it always throws an error
File "/home/minizon/anaconda3/envs/tf-nightly/lib/python3.6/site-packages/tensorflow/contrib/quantize/python/quantize_graph.py", line 118, in create_training_graph
freeze_bn_delay=freeze_bn_delay)
File "/home/minizon/anaconda3/envs/tf-nightly/lib/python3.6/site-packages/tensorflow/contrib/quantize/python/quantize_graph.py", line 70, in _create_graph
is_training=is_training)
File "/home/minizon/anaconda3/envs/tf-nightly/lib/python3.6/site-packages/tensorflow/contrib/quantize/python/fold_batch_norms.py", line 53, in FoldBatchNorms
graph, is_training, freeze_batch_norm_delay=freeze_batch_norm_delay)
File "/home/minizon/anaconda3/envs/tf-nightly/lib/python3.6/site-packages/tensorflow/contrib/quantize/python/fold_batch_norms.py", line 98, in _FoldFusedBatchNorms
freeze_batch_norm_delay=freeze_batch_norm_delay))
File "/home/minizon/anaconda3/envs/tf-nightly/lib/python3.6/site-packages/tensorflow/contrib/quantize/python/fold_batch_norms.py", line 338, in _ComputeBatchNormCorrections
match.moving_variance_tensor + match.batch_epsilon)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'

I was able to call tf.contrib.quantize.create_training_graph(input_graph=K.get_session().graph, quant_delay=int(0)) after model definition and model load, but get:
2019-02-22 14:56:24.216742: W tensorflow/c/c_api.cc:686] Operation '{name:'global_average_pooling2d_1_1/Mean' id:3777 op device:{} def:{global_average_pooling2d_1_1/Mean = Mean[T=DT_FLOAT, Tidx=DT_INT32, keep_dims=false](conv2d_15_1/act_quant/FakeQuantWithMinMaxVars:0, global_average_pooling2d_1_1/Mean/reduction_indices)}}' was changed by updating input tensor after it was run by a session. This mutation will have no effect, and will trigger an error in the future. Either don't modify nodes after running them or create a new session.

I was able to call tf.contrib.quantize.create_training_graph(input_graph=K.get_session().graph, quant_delay=int(0)) after model definition and model load, but get:
2019-02-22 14:56:24.216742: W tensorflow/c/c_api.cc:686] Operation '{name:'global_average_pooling2d_1_1/Mean' id:3777 op device:{} def:{global_average_pooling2d_1_1/Mean = Mean[T=DT_FLOAT, Tidx=DT_INT32, keep_dims=false](conv2d_15_1/act_quant/FakeQuantWithMinMaxVars:0, global_average_pooling2d_1_1/Mean/reduction_indices)}}' was changed by updating input tensor after it was run by a session. This mutation will have no effect, and will trigger an error in the future. Either don't modify nodes after running them or create a new session.

@mrgloom
Did you use BatchNormalization?

Yes, my model have BatchNormalization.

At least I was able to save model with uint8 weights when converting to keras->tensorflow->tflite, as I understand input to model and inference is still fp32.
        converter = tf.contrib.lite.TFLiteConverter.from_frozen_graph(
                graph_def_file='tf_model.pb',
                input_arrays=input_node_names,
                output_arrays=output_node_names)

        converter.post_training_quantize = True

        tflite_model = converter.convert()

Same problem? can we quantization training on keras? any updates?

Is there yet a solution to this problem. Any workaround?

This is my workaround for quantization training in keras
https://github.com/tensorflow/tensorflow/issues/27880#issuecomment-484854506

See https://www.tensorflow.org/model_optimization/guide/quantization/training
for quantization-aware training in Keras.


Upgrade to imgui 0.7

Upgrade to the latest imgui 0.7 version that was just released

Looks like a log file was unintentionally added. (I wouldn't object to adding *.log to the .gitignore)
I don't expect the demo project compiles with this change. However I can take care of that later. (I plan to use rafx instead of skulpin - it will be much lighter on dependencies. Also the skia crate doesn't work on apple silicon)

Oops odd, will remove the log file

Published as 0.8.0 - and the rewritten demo should make testing updates much easier :)

thanks!


FontWeight.w500 Chinese Font not work

Steps to Reproduce

Chinese Font do not bold，when i use " fontWeight: FontWeight.w500,"。 Platform ：android and IOS .fontFamily ：'.SF Pro Text' and 'Roboto'

Logs

[✓] Flutter (Channel beta, v1.3.8, on Mac OS X 10.13.5 17F77, locale zh-Hans-CN)
    • Flutter version 1.3.8 at /Users/kuangqiancheng/StudioProjects/flutterSDK/flutter
    • Framework revision e5b1ed7a7f (5 weeks ago), 2019-03-06 14:23:37 -0800
    • Engine revision f4951df193
    • Dart version 2.2.1 (build 2.2.1-dev.0.0 571ea80e11)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/kuangqiancheng/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart
        side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.3.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

How do you resolve this problem？I got the same problem.

@ktcer can you post a minimal sample that shows this issue in action?

The issue is already long time not active and without answer.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of flutter doctor -v please, or to follow up on already opened issues

Flutter version:
Flutter 1.16.2-pre.41 • channel master
  Widget get helloWorldWidget => Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text("你好世界",
                  style: TextStyle(fontSize: 18, fontWeight: FontWeight.w500)),
              Text("你好世界", style: TextStyle(fontSize: 18))
            ],
          ),
        ),
      );

Is there anyway to fix this?

@ktcer
please follow on https://github.com/flutter/flutter/issues/47861 and thumb up the issue


[V1.2]Enhanced find

Enhanced find to be able to find all fields
Updated relevant tests

Coverage increased (+0.1%) to 92.143% when pulling cb96bc2c64875656f57dc2060c691c28245ab65e on ALim95:V1.2_EnhancedFind into e9c696aa2d38012287e8598d3e48f77280e4f4d2 on CS2103AUG2017-T15-B4:master.


SSA computes wrong results

It seems that the function compute_SSA cannot correctly handle variable that appears in both sides of an assignment statement.
Given the example in your docs SSA & Constant Propagation, I changed the code_str to make this problem more obvious, replacing a = a + 1 to a = a + c + 1 in line 4.
code_str = """
c = 10
a = -1
if c > 0:
    a = a + c + 1
else:
    a = 0
total = c + a
"""

After some typos in your example are fixed, it will output the following result:
These are the results for block 1
[{}, {}, {'c': {0}}]
These are the results for block 2
[{'a': {1}, 'c': {0}}]
These are the results for block 4
[{}]
These are the results for block 3
[{'c': {0}, 'a': {1, 2}}]
('c', 0) <_ast.Constant object at 0x7f32580a7bb0>
('a', 0) <_ast.UnaryOp object at 0x7f325743a4c0>
('a', 1) <_ast.BinOp object at 0x7f3258054b20>
('a', 2) <_ast.Constant object at 0x7f32572c81f0>
('total', 0) <_ast.BinOp object at 0x7f32572c8250>
{1: [{}, {}, {'c': {0}}], 2: [{'a': {1}, 'c': {0}}], 4: [{}], 3: [{'c': {0}, 'a': {1, 2}}]}

We can tell that block 2 represents the SSA for a = a + c + 1. However, we expect that in this line, both a and c should come from (a, 0) and (c, 0) in line 2 and 1. Plus, with the results for block 3, (a, 1) should be the target of assignment, not value.
Therefore, it looks like that the computation of SSA mistakenly mixed-up variables appearing in both sides of the assignment.

So, do you agree, or did I misunderstand how SSA should work?

Many thanks for the fix!


Retrieve integer value of a counter

Bugfix: Retrieve the integer value of a counter inside a json.

Hi @mateoatr, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Mateo Torres Ruiz). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Update hook always triggered?

I'm trying to understand if the Update Hook will always be triggered? I'm trying to catch when an errors arises in the query but the update hook is triggered and I have to do something like this:
apollo: {
    userPhotos: {
      query: STREAM_QUERY,
      variables() {
        return {
          userId: this.userId,
          offset: itemsPerPage
        }
      },
      update: data => (data.hasOwnProperty('userPhotos') === 0 ? data.userPhotos : []),
      error() {
        this.error = 'Ups! Some error happened fetching your data...'
      }
    }
  },

Is this due to some graph QL standard that I'm not aware of?

Is your stream query same name?

In GraphQL, you can get data and errors at the same time.

@Samuell1 Yes the loader is not the problem. I have just turned off the graphql server to try the errors.
@Akryum After been fighting is what I was thinking. Do you have any link with information related to that behaviour? It's all in the apollo?
thanks

http://facebook.github.io/graphql/October2016/#sec-Response


Add an abstract shader API.

This could be used to select the appropriate shader for the graphical language.

Could an option for java2d post processing be possible as well?

Or maybe CPU-processed shaders?

Related #96

Completed


Remove x64 Stuff & Add CRT_SECURE_NO... Defines Globally

x64 Stuff is already removed from the SLN file.

Looks pretty, but do we need _CRT_SECURE_NO_DEPRECATE?

Thanks!


Code refactoring for finetuning

Hi @carmocca
A lot of code for fintune/adapter.py, fintune/adapter_v2.py, fintune/lora.py is common, like setup, main, train, validate, loss_fn, get_batch and save_model_checkpoint. There is only a little bit of change for specific finetuning method. So if we need to change get_batch, we need to change all files.
Should we create a fintune/fintuner.py which will have a BaseFinetuner class with all these functions? Then different finetuning methods can inherit this class.
cc @rasbt

You are right, 90% of the code in the fine-tuning and pertaining scripts is exactly the same.
However, this project's README says

Avoiding code duplication is not a goal. Readability and hackability are.

The intention is that you clone the repo and build on top of this. If we refactored everything into reusable components, then the code would be constraining you to use ours abstractions or to unroll them back into a single file.
Thank you for your suggestion nonetheless!


Starting place for logging

Pull Request Template
Please follow this format by copying and pasting or otherwise
Describe this request in around 8 words: Logging

Does this request fix an issue, add a feature or otherwise (what is the purpose of the request): Improves logging
If this is related to an issue, specify the issue in hand: n/a
If this is related to a commit, specify the commit in hand: n/a
If this adds a feature, specify the feature you are adding/improving: Logging

Give a detailed description of what the PR contains, and the reasoning behind it: Logs to files in logs/DATE-log.txt

Thanks

May I remind that checksum validation should not be necessary if we are installing wheels with pip install [wheel url]. It does add a little bloat

I'll delete the checksum verifier then merge it then. Is that fine with you @mvrozanti?

Sounds great


bumpver update --patch

It does update setup.cfg iteself??

How can I update setup.cfg itself so that I don't need update it manually??
+

@mbarkhau  this is my config:
[egg_info]
tag_build =
tag_date = 0

[bumpver]
current_version = "3.0.1"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "bump version {old_version} -> {new_version}"
commit = True
tag = True
push = True

[bumpver:file_patterns]
alfred/version.py =
  __version__ = "{version}"
setup.cfg =
    current_version = "{version}"
setup.py =
    "{version}"
    "{pep440_version}"
README.md =
    {version}
    {pep440_version}

it was already in setup.cfg, but I run bumpver update --patch, it doesn't udpate cfg file

output
bumpver update --patch                                                                                main
INFO    - fetching tags from remote (to turn off use: -n / --no-fetch)
INFO    - Old Version: 3.0.1
INFO    - New Version: 3.0.2
ERROR   - No match for pattern '__version__ = "MAJOR.MINOR.PATCH"'
ERROR   -
# https://regex101.com/?flavor=python&flags=gmx&regex=__version__%5B%20%5D%3D%5B%20%5D%5C%22%0A%28%3FP%3Cmajor%3E%5B0-9%5D%2B%29%0A%5C.%0A%28%3FP%3Cminor%3E%5B0-9%5D%2B%29%0A%5C.%0A%28%3FP%3Cpatch%3E%5B0-9%5D%2B%29%0A%5C%22
regex = re.compile(r"""
    __version__[ ]=[ ]\"
    (?P<major>[0-9]+)
    \.
    (?P<minor>[0-9]+)
    \.
    (?P<patch>[0-9]+)
    \"
""", flags=re.VERBOSE)
ERROR   - Invalid pattern(s)

In future, you may find, that you will have your problems solved more quickly, if you start with and focus on the error messages.
As the error message states, the pattern for the file alfred/version.py doesn't match anything. You can click on the link and paste your file contents in the "TEST STRING" box to see where the issue might be.

@mbarkhau Sorry, I don't understand, for users, it shouldn't let users to determine what's regex using here, since we litterally didn't know how do u using regex in your lib.
As an users, I just can assume you are trying to replace the varaible which is __version__ in my alfred/version.py, and then replace it's value then save it as text, isn't it?
Here is my version.py:
from datetime import datetime

major_num = 2

__version__ = '3.0.1'
short_version = __version__

what else need to make it suitable for your config?

Yes, your pattern is wrong. It uses double quotes. Try single quotes.

@mbarkhau Like I said, it doesn't update my file:

What do u think further I need do here? You made a perfect lib that doesn't work at all. I add quates, the version jsut doesn't update!!!!!


Cannot create tenant with in-active state via addTenant Admin Service

When adding a new tenant via admin services by setting the "active" attribute to false, the status of the newly created tenant is not being set to false.
In addTenant() of TenantMgtAdminService [1], it activates the added tenant regardless of the value in the request.
// For the super-tenant tenant creation, tenants are always activated as they are created.
TenantMgtUtil.activateTenantInitially(tenantInfoBean, tenantId);

The issue can be reporduced by following [2] & setting "active" to false.
[1] https://github.com/wso2/carbon-multitenancy/blob/aec9750154b03d08775f720124750cf2f37b9e57/components/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/services/TenantMgtAdminService.java#L110
[2] https://www.dilan.me/2016/03/01/how-to-call-wso2-admin-service-using-curl/

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Eject option

Hi there! Thank you for your hard work on the library! It's great. I have a question about eject option. Is it possible?

hi @wjureczka! I do plan to support some sort of configuration file. What would be the reason for the eject? Do you miss some plugin or something? Curious to know the use case

@cezaraugusto I have one example https://react-svgr.com/. I would like to inject it to webpack process. WDYT?

hi @wjureczka, sounds valid :) I'm cooking a big release, will add it in

Completed in e462c4f. cc @wjureczka you can bootstrap a new extension with built-in svgr support via
pnpx extension@latest create your-extension-name --template=content-react-svgr

let me know how it goes when you get a chance!

closing as completed. feel free to circle back on this if something is odd. thanks!


More typos and grammatical errors

back-link: en/ch15/index.html#qt-and-c
There are many issues and the fastest possible approach I see is to specify the erroneous text and the recommended change rather than defect tickets for them on a case-by-case basis. So here we go...
Section 15.2
Change: "Is the base class"
To: "It is the base class"
Change: "passes on the parent to"
To: "passes the parent on to"
Section 15.3
Change: "Building software reliable on"
To: "Building software reliably on"
Change: "qmake operator on"
To: "qmake operates on"
Change: "appication"
To: "application"
Section 15.3.1
Change: "Assumy we would have"
To: "Assume we have"
Change: "two subproject mylib and myapp. Where"
To: "two subprojects: mylib and myapp, where"
Change: "When running the make file for my.pro then all subproject are also build."
To: "When you run the " ... "all subprojects are also built."
Section 15.3.2
Change: "What is said in general that"
To: "In general, it is said that"
Section 15.4
Change: "We will also use later in the examples { } scopes to avoid variable name clashes. So do not get confused."
To: "We will use { } scopes to avoid identifier name collisions."
Section 15.4.1
Change: "or simple the"
To: "or simply the"
Change: "some example"
To: "some examples of"
Change: "QString should be created on the stack and contains it data internally on the heap."
To: "QString can be created on the stack but it stores its data on the heap."
Change: "name) more"
To: "name) but a more"
Section 15.4.1
Change: "Often it is required"
To: "It is often required"
Change: "but it in most cases created"
To: "but in most cases it is created"
Change: "user about when"
To: "user when"
Change: "allows to asynchronously read chunks of data until"
To: "allows reading chunks of data asynchronously until"
Change: "it allows also to read data"
To: "it also allows reading data"
Change: "smaller amount of data"
To: "smaller amounts of data"
Change: "use small data"
To: "use small amounts of data"
Section 15.4.5
Change: "just compy and adapt these snippet."
To: "just copy and adapt these snippets."
Change: "and a simple example"
To: "and provide a simple example"
Change: "your needs will drastically increase"
To: "your needs. This will drastically improve"

Amazing. Thank you so much!

This seems to be a duplicate of #36. Closing this one as #36 has been addressed.


[FLINK-19694][table] Support Upsert ChangelogMode for ScanTableSource

What is the purpose of the change
Support [UPDATE_AFTER, DELETE] ChangelogMode which indicates the source will emit only UPDATE_AFTER and DELETE messages during runtime (e.g. an upsert source). The planner will add the a materialization operator when the ChangelogMode of the source is [UPDATE_AFTER, DELETE].
The materialization operator will materialize the upsert stream and generate changelog stream with full change messages. In the physical operator, we will use state to know whether the key is the first time to be seen. The operator will produce INSERT rows, or additionally generate UPDATE_BEFORE rows for the previous image, or produce DELETE rows with all columns filled with values.
Brief change log

Support in planner: Generate a StreamExecUpsertMaterialize when the scan is a upsert source.
Update metadata handlers: Update ColumnUniqueness, ModifiedMonotonicity, UniqueKeys metadatas and fix some minor bugs in FlinkRelMdModifiedMonotonicity.
Support in runtime: Reuse the implementation of deduplicate function, add a new process path for changelog input stream.

Verifying this change

Added many tests for plan and runtime to cover different operations on upsert source.

Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hi @leonardBang , could you help to review this?
Appreciate if @godfreyhe can help to review the plan and metadata part.

I have rebased the branch to resolve conflicts. Appreciate if you can have a look @leonardBang .

After discussing with @leonardBang , I renamed UpsertMaterialize into ChangelogNormalize. Because this can be more general purpose and can be used for cdc source to drop duplications in the future.

Hi @godfreyhe , I have added the plan test as we discussed offline, and I did find a bug. Appreciate if you can have another look .

Build is passed in my own Azure build: https://dev.azure.com/imjark/Flink/_build/results?buildId=308&view=results

Thanks for the reviewing @godfreyhe . I have rebased and squashed the commits and hope I have addressed all the comments.
Will merge this pull request once build passed.

Build has been passed:
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=8389&view=results
https://dev.azure.com/imjark/Flink/_build/results?buildId=312&view=results


temporarily comment out webdriver test

stat var hierarchy webdriver test is broken due to stat var hierarchy cache changes. There will be more changes to the cache, so comment out this test for now and will re-enable once changes to stat var hierarchy cache are done.

I just merged the stat var hierarchy PR. That should fix the webdriver tests. Can you sync and try?

I just merged the stat var hierarchy PR. That should fix the webdriver tests. Can you sync and try?

ah, yes, your PR fixed the tests. I will close this PR.


Error signing in to Github. Try Again doesn't try again

Fixes #4148

@alexr00 is it possible this PR could have introduced an infinite loop for users that have clicked on "Try again?" when using a GH:E token that doesn't have the right access?  We've had a few users today that have clicked on this button, and we've noticed thousands of requests from a few user's IPs to the graphql endpoint here:
https://github.com/microsoft/vscode-pull-request-github/blob/ad954b54bcfe36967a7d0b1948614de6a2bf7e7e/src/github/credentials.ts#L370-L372

@dinofx would these users be using a PAT and then just pasting the same incorrect PAT into VS Code?

I suspect the users might have provided an access token, but maybe it didn't have the right permissions?  But when you click on "Try again", I don't think it prompts you again to change tokens.
I can't confirm the steps to reproduce this.  Our IT department has asked everyone to disable the extension, as it only took a few users with this problem to bring our GH:E to its knees.

Would this change make sense:
while (retry) {
  retry = false;
  try {

so that the loop can only repeat with user interaction?

@dinofx unless I'm missing something the structure of that while loop already means that the retry only occurs if there's user interaction.
How sure are you that this loop/the "Try again" button is what is causing the requests? I tried to force an error in a few ways but I wasn't able to kick off thousands of requests. Are you able to share some debug logs when these requests occur? Steps for getting logs:

Set "githubPullRequests.logLevel": "debug"
Reproduce the many requests issues.
Share the output from "GitHub Pull Request". If you don't want to share these logs publicly then you can email them to me using the email in my bio.

Is there any chance the pre-release version was older than the official release on Feb 3rd?

If a user had installed a specific version of the extension or had turned off automatic extension updating then this could happen. But by default no, it shouldn't happen.

@dinofx this maybe related: https://github.com/microsoft/vscode-pull-request-github/issues/4507


Add flow control for websocket reader

The patch for flow control is 3 lines. I updated the documentation in a separate commit, in case you want to cherry pick the patch by itself. I tried really hard to think of a way to write an automated test for this, but couldn't come up with anything that works. (You weren't kidding when you said that unit testing asyncio code is hard.)

Thanks!
I think 1024 is too high. Each message can be up to 1MB utf-8 encoded which, due to Python's string handling, can take 4MB in memory (in pathological circumstances, but that's what we must consider for security). So the queue for each worker can theoretical use up to 4 * max_queue MB. That's why I think the limit should be something like 32, which means the effective limit is 128MB of memory per worker.
That's still a lot of memory. To get more security a developer should really set max_size to what they really need. But I don't want to make that limit low by default because that's likely to cause unexpected problems and give the impression that the library doesn't work well.

I can merge your proposal and make the small adjustments myself.

By the way, did you get the opportunity to redo your load test with the patch and confirm that it solves the problem of excessive memory use?

I did run the test again. I modified the client and the server to print out a sequence number (print i; i += 1) after every send or receive. Then I set max_queue to about 100. Without the patch, the server sends packets as fast as it can, and the client's resident set size (as seen in top) climbs steadily by a few megabytes per second.
With the patch, the server sends a flurry of about ~150 packets and then pauses. After the client has processed maybe 10-20 messages, the server sends another little flurry. I let this run over night (33,188 packets now processed) and the client's resident set size has remained constant. It clearly solves the resource consumption problem.
This morning, I wondered if any packets would be dropped. So I modified the server to include an ID number in each message and the client to print out the ID of each message and check that no IDs are skipped. (I'll edit my original post to include these updated versions, in case you want to try it yourself.) After letting this run for about 10 minutes, the client has received all of the messages and resident set size has remained constant. I think this is good evidence that flow control is working.

Great work! Thanks for taking the time to experiment.
I'll think a bit about tests and merge this soon.
If you don't see any movement in two weeks, poke me ;-)

I merged your changes, extended the documentation a bit, and released version 3.1. Thanks for your contribution!

That's where I realize I don't have a good way to credit contributors... Oops :-/

No credit necessary! It helped me solve a problem in my own project, and I'm happy to contribute to a good open source project.


docs: Updated imports to work for latest remix version

Since Remix v1.4 they changed the imports. This update changes the snippets in the readme to make it compliant again. Also added an invariant to make typescript happy.

Thanks for doing this @lajtmaN i've just merged a more recent update so this one is no longer needed.
Apologies for never getting around to it, I really do appreciate the effort.


to-html: init at 0.1.3

Description of changes
Add to-html 0.1.3, a "Terminal wrapper for rendering a terminal on a website by converting ANSI escape sequences to HTML".
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

1 package built:

to-html

updated to 0.1.4

@icewind1991 I've use nix-init (nix run nixpkgs#nix-init -- -u https://github.com/Aloso/to-html) to generate the nix file for this program, here it is:

{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "to-html";
  version = "0.1.4";

  src = fetchFromGitHub {
    owner = "Aloso";
    repo = "to-html";
    rev = "v${version}";
    hash = "sha256-zkTBjsMFhRz7lVRh8i+XkaJ/qWmTAMPnkH5aDhbHf8U=";
  };

  cargoHash = "sha256-hXc+lB3DKnRZkp1U5wW/vPKSZ0c1UknQCAxDfE7Eubg=";

  meta = with lib; {
    description = "Utilities for making the colo documentation";
    homepage = "https://github.com/Aloso/to-html";
    changelog = "https://github.com/Aloso/to-html/blob/${src.rev}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}

Can you compare and see if you're not missing anything? I quickly notice that you could add the meta.changelog attribute.

added changelog


adding configuration flag to disable copy from/to and read_csv/read_c…

…sv_auto functions

Hi guys, Purely for curiosity sake, was this added to offer more control in an embedded context or for another reason?

We will tell you a bit later, it's for security purposes :)

So the online demo allowed queries like SELECT * FROM read_csv_auto('/etc/passwd');, which is a bit of a security issue. With the new flag it is possible to disable loading / writing any file on the server.

Can this feature be used through the Python API? We have the same security issue.
Thanks!

@Alex-Monahan not yet, but we can expose it.

That would be great! In the meantime we're likely to just sanitize it from our SQL input string. What list of functions should we filter out? Will just removing read_csv cut it, or is the parquet reader impacted?


Firebase Realtime Database Plugin,Not Working after DART 2 Upgrading

Console Message:
Running "flutter packages get" in yazhiragu...
Could not find a file named "pubspec.yaml" in "C:\Program Files\Flutter.pub-cache\hosted\pub.dartlang.org\firebase_database-1.0.4".
pub get failed (66)
exit code 66

Could you please try to create a new project with flutter project and copy the custom files from the old project to the new one?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Running on Windows and having a few problems.. :(

Hi,
I'm trying to use this on windows and I'm getting the following when running gradle clean assemble covAnalyzeJava:
:assemble
:covEmitJava
:covAnalyzeJava
Coverity Static Analysis version 7.0.3 on Windows 7 Professional, 64-bit, Service Pack 1 (build 7601)
Internal version numbers: 95ee7d28a9 p-fresno-push-17316.506

[ERROR] Specified intermediate directory
f:/DPP/pocs/Container/build/coverity/intermediate
 does not exist
:covAnalyzeJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':covAnalyzeJava'.
> Process 'command 'C:/Program Files/Coverity/Coverity Static Analysis/bin/cov-analyze-java'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

So thought I needed to create the directories, so after I had done that I ran it again and got the following:
gradle clean assemble covAnalyzeJava
covAnalyzeJava
[buildinfo] Not using buildInfo properties file for this build.
:clean
:compileJava
:processResources
:classes
:findMainClass
:jar
:bootRepackage
:assemble
:covEmitJava
:covAnalyzeJava
Coverity Static Analysis version 7.0.3 on Windows 7 Professional, 64-bit, Service Pack 1 (build 7601)
Internal version numbers: 95ee7d28a9 p-fresno-push-17316.506

Error: no version file found in f:/DPP/pocs/Container/build/coverity/intermediate/emit
This file must exist starting with Coverity Prevent version 3.5.
Remove this directory and/or create a new one.
:covAnalyzeJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':covAnalyzeJava'.
> Process 'command 'C:/Program Files/Coverity/Coverity Static Analysis/bin/cov-analyze-java'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 11.316 secs

Any ideas ?

Hi,
Build the code locally and added some debugging so I could see what was happening.  It appears that the cov-emit-java is not being executed, as there are no emitConfigs.
Would it be possible to provide a sample build.gradle ?

My mistake.. Had the wrong version..

@whgibbo what's the version file you are talking about? Can you name the file along with the path where it should be.  I am getting the same problem: no version file found in emit.


fix: align beersmith definition to revised website

They have split legacy versions off to a second page and redesigned the download page so replace dynamic parsing  for now
Fixes #1192

Replaced by single fix in #1208 as test just fails with too many package updates (?)


Fix RGB imshow with X or Y dim of size one

[x] Closes #1966
[x] Tests added (for all bug fixes or enhancements)
[x] Tests passed (for all non-documentation changes)
[x] Fully documented, including whats-new.rst for all changes

Not much more to say, really.  Thanks to @fmaussion for pinging me - definitely faster to track down when you know the code!

Wow that was fast, thanks!
Would it be possible to add the test to the Common2dMixin class instead? (exmaple here)

No problem - I had an hour free and no open pulls waiting on me, so the timing was good.
As a regression test it's specific to imshow, so I'm not sure what you'd want here (or whether it would work at all on the 2d mixin). More details please?

As a regression test it's specific to imshow, so I'm not sure what you'd want here (or whether it would work at all on the 2d mixin). More details please?

Yes sorry: I think it should work same for all four 2d plot methods (we should have had a test for this)

Ah, I see what you mean but don't think we need any change or additional test.
There's a catch though - xarray.plot() is special, because it (and only it) squeezes the dimensions of the array before plotting it.  Therefore, the following calls all produce the same plot:
xr.DataArray(np.arange(9).reshape((3,3))).plot()
xr.DataArray(np.arange(9).reshape((1,3,3))).plot()
xr.DataArray(np.arange(9).reshape((1,1,3,1,1,1,1,3,1,1))).plot()

My view is that the test you linked to is sufficient for the test you're asking for - imshow is a special case because it can accept 3D input for RGB plots.
TLDR - working as intended IMO, it's just that nobody reads the docs.  Changing the API would avoid this but at cost of convenience which is the whole point of DataArray.plot().

@Zac-HD your link on squeezing goes back to this page :).
Possibly we should deprecate and/or remove the auto-squeezing behavior? That sort of magic can be pretty frustrating to debug.

Not any more :wink: - it links to the docs that "[xarray.plot.plot()] calls an xarray plotting function based on the dimensions of darray.squeeze()".
I'd actually like to keep the magic in plot() - the whole point of this is that we can do something with the data, not that we do anything in particular.  For interactive use, this is valuable enough - in my view - to justify keeping an inconsistent API; particularly when there is an obvious non-magic version to use in a script.  In any case, that's a topic for another pull.

OK, I'm going to merge this. Thanks @Zac-HD


Getting started star badges look odd in light theme

The star + "New" badges look broken. We don't typically use white on gray as it creates low contrast. Is there a reason why we didn't stick with the same styling from extension recommendations?

Suggestion
I suggest we use the button background/foreground as those are paired nicely, and make the new badge a little smaller w/ more padding. Left-aligned feels a bit better than floating on the right IMO.


Fix broken protractor tests

@PowerKiKi This is giving a green run on my local version after getting the latest and I didn't change any of the library code so I think you are good to create a release.

Thanks a lot. Released as 1.8.0


QA issue python3-scipy requires libblas

I'm using dunfell and when bitbaking I get an QA issue

ERROR: python3-scipy-1.3.3-r0 do_package_qa: QA Issue: /usr/lib/python3.8/site-packages/scipy/integrate/vode.cpython-38-aarch64-linux-gnu.so contained in package python3-scipy requires libblas.so.3()(64bit), but no providers found in RDEPENDS_python3-scipy? [file-rdeps]
ERROR: python3-scipy-1.3.3-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

When I'm not including meta-scikit-learn bitbake python3-scipy is running without error.
Does anyone know how to proceed here?

Hi, the Dunfell support was added by another another contributor #3 @srikanth311 as I don't use the Dunfell branch, but I think what has happened is that they have removed the OpenBLAS support from the scikit recipe, but kept the OPTIMIZED_BLAS from the Lapacke so there isn't any blas support present. I would suggest removing the Lapacke bbappend and retrying the build but it is untested from my side I'm afraid.

Hi,
thanks for your tip!
I followed your suggestion and removed the lapack folder, but i seems it is needed as I now get an error:
ERROR: Nothing PROVIDES 'lapack-native' (but ~/var-fslc-yocto/sources/meta-scikit-learn/recipes-devtools/python/python3-scipy-native_1.5.3.bb DEPENDS on or otherwise requires it). Close matches:

Any idea how I can proceed?

Looks like you still need a couple of lines from that file, I would change it to
DEPENDS_remove_class-native = "libgfortran"
BBCLASSEXTEND = "native"

I commented the other lines out to only have to two lines you suggested, now it has problems that libblas is build by both openblas and lapack as shown bellow
ERROR: python3-scipy-native-1.5.3-r0 do_prepare_recipe_sysroot: The file /usr/lib/libblas.so.3 is installed by both openblas-native and lapack-native, aborting
ERROR: Logfile of failure stored in: ~/var-fslc-yocto/build_xwayland/tmp/work/x86_64-linux/python3-scipy-native/1.5.3-r0/temp/log.do_prepare_recipe_sysroot.118424
ERROR: Task (~/var-fslc-yocto/sources/meta-scikit-learn/recipes-devtools/python/python3-scipy-native_1.5.3.bb:do_prepare_recipe_sysroot) failed with exit code '1'

I'm not sure how to resolve this because I cannot find any recipes for lapack-native or openblas-native.

yeah, I don't know why the layer was so heavily fiddled with to create a dunfell branch, have you tried the Gatesgarth branch on Dunfell? I could see these issues when I merged the branch but I assumed it had been tested to at least some degree although that seems not to be the case.

b5ee092c410efa4a20931b5f0d1450a5cf872f58

okay, I try and error a bit with Gatesgarth branch.
I copied python3-pybind11_%.bbappend and python3-scipy_1.5.3.bb from the dunfell branch to it.
in python3-scikit-learn_0.24.1.bb I changed the path from python3.9 to python3.8 as I only have 3.8.
`bitbake python3-scikit-learn' was successful, I'm now building my image and give it a quick shot.

image building worked and I can 'import sklearn' successfully on target.
When I try my code I'm running into an AttributeError, but I guess that could also ocure because I trained and pickled the classifier using scikit-learn-0.22.
Big thank you for your help @jackmitch !

hi i am facing error in porting python3-scikit-leran on riscv64 target
if anybody did this please share to me ,thanks in advance
ERROR: python3-scipy-1.5.3-r0 do_prepare_recipe_sysroot: The file /usr/include/cblas.h is installed by both openblas and lapack, aborting
ERROR: Logfile of failure stored in: /home/abhishek/exaleap/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/python3-scipy/1.5.3-r0/temp/log.do_prepare_recipe_sysroot.7159
ERROR: Task (/home/abhishek/exaleap/sources/meta-scipy/recipes-devtools/python/python3-scipy_1.5.3.bb:do_prepare_recipe_sysroot) failed with exit code '1'
](url)

hi i am facing error in porting python3-scikit-learn on riscv64 target
if anybody did this please share to me ,thanks in advance
ERROR: python3-scipy-1.5.3-r0 do_prepare_recipe_sysroot: The file /usr/include/cblas.h is installed by both openblas and lapack, aborting
ERROR: Logfile of failure stored in: /home/abhishek/exaleap/sources/fu540-build/tmp-glibc/work/riscv64-oe-linux/python3-scipy/1.5.3-r0/temp/log.do_prepare_recipe_sysroot.7159
ERROR: Task (/home/abhishek/exaleap/sources/meta-scipy/recipes-devtools/python/python3-scipy_1.5.3.bb:do_prepare_recipe_sysroot) failed with exit code '1'
](url)


Multisig Contract Implementation for token contracts and reserve admin

Addition of a multisig contract for the tezex related contracts is for us to improve security of management of those contracts.

wrong project


User markdown-it or remarkable to replace marked for markdown render

Should we use markdown-it or remarkable to replace marked for markdown preview?
It seems that marked had beed dead for a long time(see issue), and many issues and PRs are not responsed.
From above issue, it seems that markdown-it is better than remarkable. see here
Such as, marked now not support table in lists, but markdown-it and remarkable does.

:+1: , we should look into this when we make markdown a real extension.

This will happen with #7656


Retain left nav state for resources

Per @astridu:

Is there any opportunity to save what the user has expanded/collapsed so the next time the resource is opened, the same properties are expanded/collapsed?

Perhaps Local Storage is good enough?