Release Version 2.4.0

Release Version 2.4.0
This is a component issue for 2.4.0.
Coming from opensearch-build#2649. Please follow the following checklist.
Please refer to the DATES / CAMPAIGNS in that post.
How to use this issue

This Component Release Issue
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
Release Steps
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
The Overall Release Issue
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly.  Please contact them or @mention them on that issue for help.
What should I do if my plugin isn't making any changes?
If including changes in this release, increment the version on 2.0 branch to 2.4.0 for Min/Core, and <IP_ADDRESS> for components. Otherwise, keep the version number unchanged for both.

Preparation

[x] Assign this issue to a release owner.
[x] Finalize scope and feature set and update the Public Roadmap.
[x] All the tasks in this issue have been reviewed by the release owner.
[x] Create, update, triage and label all features and issues targeted for this release with v2.4.0.
[x] Cut 2.4 branch

CI/CD

[x] All code changes for 2.4.0 are complete.
[x] Ensure working and passing CI.
[x] Check that this repo is included in the distribution manifest.

Pre-Release

[x] Update to the 2.4.0 release branch in the distribution manifest.
[x] Increment the version on the parent branch to the next development iteration.
[x] Gather, review and publish release notes following the rules and back port it to the release branch.git-release-notes may be used to generate release notes from your commit history.
[x] Confirm that all changes for 2.4.0 have been merged.
[x] Add this repo to the manifest for the next developer iteration.

Release Testing

[ ] Find/fix bugs using latest tarball and docker image provided in parent release issue and update the release notes if necessary.
[ ] Code Complete: Test within the distribution, ensuring integration, backwards compatibility, and performance tests pass.
[ ] Sanity Testing: Sanity testing and fixing of critical issues found.
[ ] File issues for all intermittent test failures.

Release

[ ] Complete documentation.
[ ] Verify all issued labeled for this release are closed or labelled for the next release.

Post Release

[ ] Prepare for an eventual security fix development iteration by incrementing the version on the release branch to the next eventual patch version.
[x] Add this repo to the manifest of the next eventual security patch version.
[ ] Suggest improvements to this template.
[ ] Conduct a retrospective, and publish its results.

  Gradle Version        : 7.5
  OS Info               : Mac OS X 12.6.1 (aarch64)
  JDK Version           : 17 (Amazon Corretto JDK)
  JAVA_HOME             : /Users/heemin/Library/Java/JavaVirtualMachines/corretto-<IP_ADDRESS>/Contents/Home
  Random Testing Seed   : C28FBE122534FF6C
  In FIPS 140 mode      : false
=======================================

> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :compileTestFixturesJava
Note: /Users/heemin/workplace/OS/k-NN/src/testFixtures/java/org/opensearch/knn/KNNRestTestCase.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/heemin/workplace/OS/k-NN/src/test/java/org/opensearch/knn/index/OpenSearchIT.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :integTestRemote
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0

BUILD SUCCESSFUL in 5m 59s

Testing on Windows
Sanity Testing with Security
Administrator@EC2AMAZ-06374IJ MINGW64 ~/Documents/windows-perf-testing/k-NN (2.4)
$ ./gradlew.bat :integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="integTest-0" -Dhttps=true -Duser=admin -Dpassword=admin
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.5
  OS Info               : Windows Server 2016 10.0 (amd64)
  JDK Version           : 11 (Eclipse Temurin JDK)
  JAVA_HOME             : C:\Users\Administrator\scoop\apps\temurin11-jdk\current
  Random Testing Seed   : 1D3FEA71DF680A52
  In FIPS 140 mode      : false
=======================================

BUILD SUCCESSFUL in 14m 20s
13 actionable tasks: 4 executed, 9 up-to-date

Sanity Testing without Security
Administrator@EC2AMAZ-06374IJ MINGW64 ~/Documents/windows-perf-testing/k-NN (2.4)
$ ./gradlew.bat :integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="integTest-0" -Dhttps=false -PnumNodes=1
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.5
  OS Info               : Windows Server 2016 10.0 (amd64)
  JDK Version           : 11 (Eclipse Temurin JDK)
  JAVA_HOME             : C:\Users\Administrator\scoop\apps\temurin11-jdk\current
  Random Testing Seed   : AD3D01272A870D33
  In FIPS 140 mode      : false
=======================================

BUILD SUCCESSFUL in 12m 3s
13 actionable tasks: 4 executed, 9 up-to-date

Performance Test Results
Triggered the performance tests by manually spinning up a cluster on Windows.


bug: webpack plugin not found

Hello, webpack configuration in manual not work
upd: it's just a ts conflict.
import svg from '@neodx/svg/webpack';

@Rastraponovich Check a new 0.5.1 version, it was fixed under #114


Section string indexer related...

Hi,
v2.1.0 contains following code in Section.cs
public Setting this[string name]
        {
            get
            {
                var setting = FindSetting(name);

                if (setting == null)
                {
                    setting = new Setting(name);
                    Add(setting);
                }

                return setting;
            }
        }

Is it correct to optimize like, because calling Add is not required...
public Setting this[string name]
        {
            get
            {
                var setting = FindSetting(name);

                if (setting == null)
                {
                    setting = new Setting(name);
                    mSettings.Add(setting);
                }

                return setting;
            }
        }

Thanks

Shouldn't be a huge difference, but yes, it's more logical. Thanks.


Make serviceworker script path relative

On line 86, is there a reason why the path is absolute rather than relative?
navigator.serviceWorker.register('/jakecache-sw.js').then(registration => {

No, feel free to supply a PR


System.DllNotFoundException: Unable to load shared library 'git2-8e0b172'

  fail: Microsoft.DotNet.Darc.Operations.Operation[0]
        Something failed while cloning.
  System.Exception: Something went wrong when cloning repo https://github.com/dotnet/arcade at <default branch> into /home/s0dy/source-build/bin/src/arcade ---> System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'git2-8e0b172' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgit2-8e0b172: cannot open shared object file: No such file or directory
     at LibGit2Sharp.Core.NativeMethods.git_libgit2_init()
     at LibGit2Sharp.Core.NativeMethods.LoadNativeLibrary() in C:\projects\libgit2sharp\LibGit2Sharp\Core\NativeMethods.cs:line 47
     at LibGit2Sharp.Core.NativeMethods..cctor() in C:\projects\libgit2sharp\LibGit2Sharp\Core\NativeMethods.cs:line 37
     --- End of inner exception stack trace ---
     at LibGit2Sharp.Core.NativeMethods.git_clone(git_repository*& repo, String origin_url, FilePath workdir_path, GitCloneOptions& opts)
     at LibGit2Sharp.Core.Proxy.git_clone(String url, String workdir, GitCloneOptions& opts) in C:\projects\libgit2sharp\LibGit2Sharp\Core\Proxy.cs:line 354
     at LibGit2Sharp.Repository.Clone(String sourceUrl, String workdirPath, CloneOptions options) in C:\projects\libgit2sharp\LibGit2Sharp\Repository.cs:line 715
     at Microsoft.DotNet.DarcLib.RemoteRepoBase.Clone(String repoUri, String commit, String targetDirectory, ILogger _logger, String pat, String gitDirectory) in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/RemoteRepoBase.cs:line 176
     --- End of inner exception stack trace ---
     at Microsoft.DotNet.DarcLib.RemoteRepoBase.Clone(String repoUri, String commit, String targetDirectory, ILogger _logger, String pat, String gitDirectory) in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/RemoteRepoBase.cs:line 210
     at Microsoft.DotNet.DarcLib.GitHubClient.Clone(String repoUri, String commit, String targetDirectory, String gitDirectory) in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/DarcLib/GitHubClient.cs:line 875
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleMasterCopyAndCreateGitDir(RemoteFactory remoteFactory, String repoUrl, String masterGitRepoPath, String masterRepoGitDirPath, String gitDirRedirect, ILogger log) in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 282
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleMasterCopyWithGitDirPath(RemoteFactory remoteFactory, String repoUrl, String masterGitRepoPath, String masterRepoGitDirPath, ILogger log) in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 270
     at Microsoft.DotNet.Darc.Operations.CloneOperation.HandleMasterCopy(RemoteFactory remoteFactory, String repoUrl, String masterGitRepoPath, String masterRepoGitDirPath, ILogger log) in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 225
     at Microsoft.DotNet.Darc.Operations.CloneOperation.ExecuteAsync() in /home/s0dy/source-build/tools-local/arcade-services/src/Microsoft.DotNet.Darc/src/Darc/Operations/CloneOperation.cs:line 102
/home/s0dy/source-build/tools-local/init-build.proj(169,5): error MSB3073: The command "/home/s0dy/source-build/Tools/dotnetcli/dotnet /home/s0dy/source-build/tools-local/arcade-services/artifacts/bin/Microsoft.DotNet.Darc/Release/netcoreapp2.1/Microsoft.DotNet.Darc.dll clone --repos-folder /home/s0dy/source-build/bin/src/ --git-dir-folder /home/s0dy/source-build/.git/modules/src/ --include-toolset --ignore-repos ";https://dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/devdiv/DevDiv/_git/DotNet-Trusted;https://devdiv.visualstudio.com/DevDiv/_git/DotNet-Trusted;https://dnceng@dev.azure.com/dnceng/internal/_git/dotnet-optimization;https://dev.azure.com/dnceng/internal/_git/dotnet-core-setup" --azdev-pat bogus --github-pat bogus --depth 0 --debug" exited with code 42.

I am trying to make a package for Exherbo linux (since dotnet/source-build), I get an error because libgit2-8e0b172.so is linked to openssl-1.0
I realized that some libs were related to openssl-1.0 or 1.1 depending on the system. For example alpine (1.0)
s0dy ~/source-build lddtree packages/libgit2sharp.nativebinaries/1.0.235/runtimes/alpine-x64/native/libgit2-8e0b172.so

libgit2-8e0b172.so => packages/libgit2sharp.nativebinaries/1.0.235/runtimes/alpine-x64/native/libgit2-8e0b172.so (interpreter => none)
    libcurl.so.4 => /usr/host/lib/libcurl.so.4
        libssh2.so.1 => /usr/x86_64-pc-linux-gnu/lib/libssh2.so.1
        libssl.so.1.1 => /usr/x86_64-pc-linux-gnu/lib/libssl.so.1.1
        libcrypto.so.1.1 => /usr/x86_64-pc-linux-gnu/lib/libcrypto.so.1.1
            libdl.so.2 => /usr/host/lib/libdl.so.2
                ld-linux-x86-64.so.2 => /usr/host/lib/ld-linux-x86-64.so.2
        libpthread.so.0 => /usr/x86_64-pc-linux-gnu/lib/libpthread.so.0
        libc.so.6 => /usr/x86_64-pc-linux-gnu/lib/libc.so.6
    libssl.so.1.0.0 => not found
    libcrypto.so.1.0.0 => not found
    libz.so.1 => /usr/host/lib/libz.so.1
    libc.musl-x86_64.so.1 => not found

Debian (1.1)
s0dy ~/source-build ((HEAD detached at v3.0.100-preview6-012264-SDK)) lddtree packages/libgit2sharp.nativebinaries/1.0.235/runtimes/debian.9-x64/native/libgit2-8e0b172.so
libgit2-8e0b172.so => packages/libgit2sharp.nativebinaries/1.0.235/runtimes/debian.9-x64/native/libgit2-8e0b172.so (interpreter => none)
    librt.so.1 => /usr/host/lib/librt.so.1
    libpthread.so.0 => /usr/host/lib/libpthread.so.0
        ld-linux-x86-64.so.2 => /usr/host/lib/ld-linux-x86-64.so.2
    libcurl.so.4 => /usr/host/lib/libcurl.so.4
        libssh2.so.1 => /usr/x86_64-pc-linux-gnu/lib/libssh2.so.1
    libssl.so.1.1 => /usr/host/lib/libssl.so.1.1
    libcrypto.so.1.1 => /usr/host/lib/libcrypto.so.1.1
        libdl.so.2 => /usr/host/lib/libdl.so.2
    libz.so.1 => /usr/host/lib/libz.so.1
    libc.so.6 => /usr/host/lib/libc.so.6

To work around the problem, I copy libgit2-8e0b172.so (from the debian.9-x64 folder) to the linux-x64 folder
Is there a solution to have libgit2-8e0b172.so linked to openssl-1.1 directly via linux-x64?
For older versions, I could do a "git submodule update --init --recursive". How does it work now with Darc? Is it possible to download all the repositories before starting the compilation?

https://github.com/dotnet/source-build/issues/1083 is the same issue, but on Fedora.

This may potentially require a Excerbo specific fix analogous to #1083

@dseefeld The way I understand this issue is that arcade-services wants to do some git operations and makes use of libgit2sharp. libgit2sharp is based on the unmanaged library libgit2 which is obtained and used from nuget. The nuget package (obviously) doesn't support every version of every platform (including all the various linux distributions) on every architecture.
I think source-build/darc should be more flexible here.
I see two possible options that might help:

Let an OS (linux distro, in this case) supply a libgit2 and arcade-services should make use of that (in addition to supporting getting libgit2 from nuget.org for common cases)

arcade-services should do what SourceLink does and work with git directly

What do you think?

There is now version without dependency on libgit2.
I think it would be great to get that in and avoid external dependency.

@wfurt Wow, that's great news! Do you know where this version is? I still see a dependency on LibGit2Sharp in arcade-services here: https://github.com/dotnet/arcade-services/blob/7bcd17b24aec5101e89723f31a748ed1d2385268/src/Microsoft.DotNet.Darc/src/DarcLib/Microsoft.DotNet.DarcLib.csproj#L14

Take a look at https://github.com/dotnet/sourcelink/pull/288
I don't have any practical experience but I do see a hope.

@wfurt That's sourcelink, though. It's what I was referring to in option 2 above where I said arcade-services should do what that does. Do arcade-services and sourcelink share code or codebases? I might take a stab at merging the changes if that's the case.

I don't know. I'm just hoping we can remove dependency on libgit2 instead of trying to fix it for all distributions,

Related - #1242

@tmds's fix (https://github.com/libgit2/libgit2sharp/pull/1714) works fine for me.

https://github.com/dotnet/arcade-services/pull/694 fixes this issue for me. What is the process for bumping our arcade-services submodule ot point to that?

This is fixed with darc install and update to netcoreapp3.0


Fix broken MSI links [Fixes #823]

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile) View (azure-cli-latest)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


InputStreamHelper shows error message when starting Netflix Stream on Kodi 18.9 (Rasberry Pi4)

When starting a Netflix Stream the following error message is shown:
The operation has been canceled.
InputStream Helper has generated an internal error: "Asci" codec can't decode byte 0xe2 in position 58437: ordinal not in range (128).
Please report it to InputStream Helper on GitHub.
InputStream Helper version: 0.5.8
Netfilx version: 1.12.9
Kodi version: 18.9 compiled: 2020-10-24

Duplicate of #495
Try the testbuilds from here: https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/497#issuecomment-1068239609


Autosubmit merged a PR with many failed presubmits

https://github.com/flutter/flutter/pull/158880/checks

johntmcdole pointed out that this PR had the warning: land on red to fix tree breakage label. If that label skips checking ALL presubmits, that would be a bug, that label should only skip the tree-status check.

Looking at auto-submit (note to future self: select the correct app engine logs); the label that was added sets the action to "IGNORE_FAILURE": https://github.com/flutter/cocoon/blob/0785a7d1f275d23d924565768c782122d34a4d79/auto_submit/lib/validations/ci_successful.dart#L85-L100
In the test for pull_request_validation_service; the IGNORE_FAILURE slips passed the REMOVE_LABLE and then merges:
https://github.com/flutter/cocoon/blob/0785a7d1f275d23d924565768c782122d34a4d79/auto_submit/lib/service/pull_request_validation_service.dart#L103-L112
The solution could be to remove the tree status failure from the set of failures and then evaluate the validation results.  Right now this label is a BREAK GLASS and we're not certain that's correct.

for future humans; logs were searched from:
resource.type="gae_app"
resource.labels.module_id="auto-submit"
SEARCH("158880")

Lowering the priority on this since it only affects the warning: landing on red to fix tree breakage label, and is not a regression.


Short solution needed: "Plot data from json" (python-matplotlib)

Please help us write most modern and shortest code solution for this issue:
Plot data from json (technology: python-matplotlib)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to plot data from json


"If it finds no appropriate catch block anywhere in the call stack"?

There has to be a catch block if there is try block

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

ID: 06187915-0f0d-1169-b80c-3c0eec58ab1e
Version Independent ID: ffa941bb-0fb3-f149-74bb-db110f2fb4b1
Content: Exceptions and Exception Handling (C# Programming Guide)
Content Source: docs/csharp/programming-guide/exceptions/index.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

is finally block implied here?

@ranjan-ranjan

is finally block implied here?

The work appropriate is important here. For example, the CLR might throw OutOfMemoryException and your program might contain no appropriate catch blocks to catch that exception:

neither catch (OutOfMemoryException)
nor catch (SystemException)
nor catch (Exception)

And by the way, there might be no try blocks in the call stack, as well :).


[Bug] : Bars are overlapping for the duplicate category names

Version
5.2.2
Link to Minimal Reproduction
https://codesandbox.io/s/basic-line-chart-forked-2sjy7i?file=/index.html
Steps to Reproduce

Use any dataset which contains a duplicate category name for the bar chart. Here is the example 'Milk Tea' is duplicated

   dimensions: ["product", "2015"],
   source: [
      { product: "Matcha Latte", "2015": 43.3 },
      { product: "Milk Tea", "2015": 83.1 },
      { product: "Milk Tea", "2015": 33.1 },
      { product: "Cheese Cocoa", "2015": 86.4 },
      { product: "Walnut Brownie", "2015": 72.4 }
    ]

Current Behavior
The bar is overlapping for the duplicate category
Expected Behavior
Duplicate category bars should not be overlapped.
Environment
- OS: Mac OS
- Browser: Brave
- Framework: Node.js

Any additional comments?
It works as expected without the dataset approch

This is not a bug but an invalid input. Where do you expect them to be if they are not overlap?

@Ovilia Thanks for the reply, I need to show the bars twice on the y-axis. It works fine as expected when I do not use the dataset. Below is the example for 'Brazil' repeated twice.

This is because when you don't use dataset, you are using them in two different series. You should use dataset as array or use transform.

without dataset works even with a single series. nothing wrong here

I tried using the dataset as an array, but It didn't help.

Am I doing anything wrong here?

Using the same name for category in dataset is an undefined behavior. Can you use a different name?


Final delivery of Internship

Added tons of unit tests and merged the unit tests added to the zeeguu core by Mircea.
Added ABTesting with ARTS algorithms automatically loaded from algorithms.ini
Added Timon's script zeeguu/calc_priorities to extrapolate the performance of the algorithm from a given dataset

Coverage increased (+9.1%) to 63.693% when pulling 018c050fae4e51ec45f253a2e75f695c8c1a0c57 on timonback:master into 8de718170ba57c5696a95fd38ce36d4321048de2 on mircealungu:master.

Coverage increased (+8.8%) to 63.404% when pulling 018c050fae4e51ec45f253a2e75f695c8c1a0c57 on timonback:master into 8de718170ba57c5696a95fd38ce36d4321048de2 on mircealungu:master.

My local coverage tells met that the zeeguu package has a code coverage of 73 percent btw, not 63 as coverage here

Coverage increased (+8.9%) to 63.505% when pulling 86f9a0dc33c66651d8f950b499a66a98c065ad7c on timonback:master into 8de718170ba57c5696a95fd38ce36d4321048de2 on mircealungu:master.

Coverage increased (+9.1%) to 63.693% when pulling cc0bcc601efd482e3df83ec1d2aa854b2d72fa9f on timonback:master into 8de718170ba57c5696a95fd38ce36d4321048de2 on mircealungu:master.

Thanks @PJUllrich and @timonback. I will close this PR because I've already integrated part of the code in it, but I will not integrate it all.


ZC8A_005: Strict mode updation for AnyTab UpdateTask

option is done.
range of checks are under analysis.


Feature/supported headers update

Support for header X-Forwarded-For
Support for dynamic custom headers starting with "X-"

Thanks Rajdeep! Also please use the Eclipse formatter in the future https://github.com/Red5/red5-server/blob/master/red5-eclipse-format.xml


[Android] fix bottom padding about contributor screen

Issue

NO_ISSUE

Overview (Required)

As following image(Before), bottom element of contributor will be buried behind the navbar.

with some device, snackbar is not displayed due to the navbar.

Now, contributor screen is move into about screen

so I tried to change padding setting same as staff and sponsor screen to enable to show bottom element and snackbar.

This doesn't have an issue ticket, so if it's AWFUL change, please close this PR :bow:

Links

nothing

Screenshot (Optional if screenshot test is present or unrelated to UI)

device
Before
After

Pixel 6 api 30

Pixel Fold api 33

@takahirom

Our policy for inset padding is this. Do you have any idea why it doesn't work? #959 (comment)

I this it's because ContributorScreen is not in the mainNestedGraph now.
In #959, contentPadding is passed from mainNestedGraph and had been using it for showing ContributorScreen.
But now, this is moved into the KaigiNavHost func.
And this func doesn't have padding information so ContributorScreen will use default PaddingValues .
By default, PaddingValues have 0dp for horizontal and vertical.
As a result, I think how to do padding was changed :thinking:


bug: generated artifacts don't have sorted entrypoints

Bug Report
As also mentioned in the Slack channel, currently the artifact produced by starknet-compile gets rejected by the sequencer (integration environment), citing error Entry points must be unique and sorted.. It seems (as it's closed source) that the sequencer is enforcing that entrypoints be sorted by selector under each type. Not sure if this enforcement itself is a bug on the sequencer's side, but submitting the issue here first anyways.
Cairo version:
1fe2c3368262ee579cc7e58703217407d41b4514
Current behavior:
Entrypoints under each type are sorted by function_idx by default. There's no explicit sorting in the code but it's the default behavior.
Expected behavior:
The entrypoints should be sorted by selector as that's the requirement enforced by the sequencer.
Steps to reproduce:
Just compile the example erc20 contract and inspect the artifact.
Related code:
https://github.com/starkware-libs/cairo/blob/1fe2c3368262ee579cc7e58703217407d41b4514/crates/cairo-lang-starknet/src/contract_class.rs#L182-L203
Other information:
N/A

Patching the compiler to sort the entrypoints or just modifying the artifact manually got it accepted. So either the sequencer or the compiler needs to be patched.
Hopefully this gets resolved before 0.11.0 is live. Otherwise SDKs will have to bear the cost of sorting forever to be backward compatible.


Sync should be set active when we start running it

PR Description
This PR builds upon this PR: https://github.com/PegaSysEng/teku/pull/1405/files. Sync should be set to active when we start running so that the client doesn't do redundant processing when it's waiting to connect to another peer with higher finalized epoch.
Fixed Issue(s)

How does this work when there are no other peers in the network? ie we're just running all validators on a teku node.

How does this work when there are no other peers in the network? ie we're just running all validators on a teku node.

I ran locally and it was working fine. I'm gonna look into why the unit test fails though.

Noticed that this PR is redundant as the startOrScheduleSync() method in SyncManager sets syncActive as it starts. Closing this PR.


Exception in thread "main" java.lang.NoSuchMethodError, due to dependency conflict issues caused by com.nativelibs4java:bridj:jar

Hi, @sarxos , we found multiple versions of com.nativelibs4java:bridj:jar exist in com.github.sarxos:webcam-capture-driver-openimaj:jar:0.3.12, as shown in the following dependency tree, based on "Maven's nearest wins strategy" only the older version 0.6.2 will be loaded and the newer version 0.7.0 will be shadowed, during the packaging process.
However, By static analysis method <org.bridj.Pointer: org.bridj.Pointer getPointer(org.bridj.NativeObject)>  only defined in the shadowed JAR com.nativelibs4java:bridj:jar:0.7.0. As a result, an exception may be thrown when your project referencing it.
Dependency tree
com.github.sarxos:webcam-capture-driver-openimaj:jar:0.3.12
+- com.github.sarxos:webcam-capture:jar:0.3.12:compile
|  +- (com.nativelibs4java:bridj:jar:0.7.0:compile - omitted for conflict with 0.6.2)
|  - org.slf4j:slf4j-api:jar:1.7.2:compile
+- com.nativelibs4java:bridj:jar:0.6.2:compile
|  - com.google.android.tools:dx:jar:1.7:compile
- org.openimaj:core-video-capture:jar:1.3:compile
+- org.openimaj:core-video:jar:1.3:compile
- (com.nativelibs4java:bridj:jar:0.7-20140918:compile - omitted for conflict with 0.6.2)
Solution
Use com.nativelibs4java:bridj:jar:0.7.0 in your pom.xml.
May pull a request to fix it?
Thanks!
Regards,
Leo

@jonburgin Hi, the above information is obtained by static analysis. Do you need further information to confirm it's a bug? Maybe I can provide you more.

Stack trace
Exception in thread "main" java.lang.NoSuchMethodError: org.bridj.Pointer.getPointer(Lorg/bridj/NativeObject;)Lorg/bridj/Pointer;
at org.openimaj.video.capture.VideoCapture.startSession(VideoCapture.java:231)
at org.openimaj.video.capture.VideoCapture.(VideoCapture.java:184)
at com.github.sarxos.webcam.ds.openimaj.OpenImajDevice.open(OpenImajDevice.java:92)

@sarxos Hi, could you please help review this PR?
Thanks a lot.
Regards,
Leo


Supporting env var assignments on Windows

Trying to resolve #313

Can we ignore the failed coverage test? You can't write coverage to the best of my knowledge.

Thanks for the PR.  Please reference the related issue in the description in order to close the issue when the PR is merged.
Coverage will not fail for this PR.  Coverage is calculated by lines of code covered by tests.  Since this PR touches no code, the coverage will not be affected.  CircleCI seems to have blown up for some random reason.  It should run on the next commit.

@joshuazmiller it looks like tests are failing because they are never running in the first place. Pretty sure this is due to the karma path issue I noted here https://github.com/TechnologyAdvice/stardust/pull/316#discussion_r68971089

[Current coverage][cc-pull] is 88.30%

Merging [#316][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #316   diff @@
==========================================
  Files            62         62
  Lines           821        821
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            725        725
  Misses           96         96
  Partials          0          0

Powered by Codecov. Last updated by [44c796f...4c0e788][cc-compare]
[cc-base-branch]: https://codecov.io/gh/TechnologyAdvice/stardust/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/TechnologyAdvice/stardust/compare/44c796ff2e24e23ee93b8b3da2660ad28c174eb5...4c0e788ef790a60deb70df43d6c50046bd0e2065
[cc-pull]: https://codecov.io/gh/TechnologyAdvice/stardust/pull/316?src=pr

It doesn't seem I have permission to manually close #313 , however I added it to my description and perhaps it will work now. I'll keep in mind to mark those in for future pull-requests.
When I run test with the .bin I get the following error:

C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules.bin\karma:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\babel-register\lib\node.js:166:7)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\babel-cli\lib_babel-node.js:160:24
at Object. (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\babel-cli\lib_babel-node.js:161:7)
at Module._compile (module.js:409:26)

I haven't written bash scripts in years, and I pretty much can't make sense of the file to understand what's wrong.

Ah, yes. The karma script that is running is not compatible with Windows. You would likely need to run the "karma.cmd" version instead.
We can't hard code the test script to that or it won't work on Unix machines. We'll need to figure out how to support Windows here.
Any help appreciated as I so not have a Windows machine available. I will do some digging on this though.

It doesn't seem I have permission to manually close #313

Indeed, even if you did have permissions the best practice is to leave the issue open until the fix is merged.  The description you have in this PR should take care of it!

@joshuazmiller I just merged #320 which removes babel-node entirely.  This means we no longer need any special paths to karma on the test script.  I am hoping by running karma directly like this that npm runs the correct version for Windows and also for Unix.
Please update this PR with the latest master and set the test script to:
"test": "cross-env NODE_ENV=test karma start build/karma.conf.babel.js",

Let's see if tests then pass, and also if it runs locally for you.

Unfortunately, I still get errors after the merge and adding that line:

cross-env NODE_ENV=test karma start build/karma.conf.babel.js

30 06 2016 21:55:48.509:ERROR [config]: Invalid config file!
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.parseConfig (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\karma\lib\config.js:284:22)
at new Server (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\karma\lib\server.js:57:20)
at Object.exports.run (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\karma\lib\cli.js:243:7)
at requireCliAndRun (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\karma-cli\bin\karma:44:16)
at C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\karma-cli\bin\karma:54:12
at C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\resolve\lib\async.js:44:21
at ondir (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\resolve\lib\async.js:187:31)
at C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\resolve\lib\async.js:153:39
at onex (C:\Users\Joshua\Dropbox\GitHub\stardust\node_modules\resolve\lib\async.js:93:22)
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Joshua\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "test"
npm ERR! node v4.4.7
npm ERR! npm  v3.10.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>test: cross-env NODE_ENV=test karma start build/karma.conf.babel.js
npm ERR! Exit status 1

I see in your error output you are running:
npm ERR! node v4.4.7
npm ERR! npm v3.10.2
This project requires Node 6.  I just added a note about this in the contributing guide last night.
Please install Node 6 and give it another go. Thanks for hanging in there through all this! I think we're close to a solution.

@joshuazmiller did updating Node help at all?

It works now! Thanks!

Awesome! 😸 Very glad we finally got it.
Just one last tweak and we can merge this PR.  It looks like the package description got set wrong (probably after a conflict fix).  It should be:
"description": "The official Semantic-UI-React integration."

Once that is updated, we can get this PR in.  Thank you very much for hanging in there.

This should do it. Thank you. I am going to get back to the List Item and Item API as soon as I can


Webhook variable

In the dependsOn section of the first resource there is "variables('MyAlert').Webhook.Name"
There isn't a "Webhook" variable defined in the template.

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

ID: 926fc77a-c2ae-4fce-899d-d8feb2729edb
Version Independent ID: dc8fce2e-038e-5ff3-c872-bf736e155ae3
Content: Saved searches and alerts in management solutions
Content Source: articles/monitoring/monitoring-solutions-resources-searches-alerts.md
Service: monitoring
GitHub Login: @bwren
Microsoft Alias: bwren

@JozoSlejko Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Looks like we kept that line from another example.  Removing it.

#please-close


Add TransferSyntax option for viewing images

Add an a combobox to select the transfer syntax requested from the server when viewing an image using the WADO-URI service

Now TransferSyntax (TS) parameter can be sent with WADO-URI and WADO-RS requests and the UI is updated to include dropdown with all TS supported by CornerStone viewer.
The server might not be able to provide all transfers for some images where the demo will display an alert
Checked-in: f666607acb9638a1b40b389e91303d25d5c19f4d


Unknown TERM prevents shell prompt

To reproduce:
$ TERM=dumb rebar3 shell
As a result, the project compiles and runs, but no prompt appears to the user.

That's because TERM=dumb doesn't load the Erlang terminal and IO driver required by Rebar3 to be able to boot a shell. IT will only boot up a basic one that can't handle control sequences or whatever and isn't properly supported.

Hmm, I'm using Emacs shell mode for command interpreters, which is setting TERM=dumb.  It doesn't need to handle the control sequences (Emacs handles the buffer editing), but I think the prompt should still appear and take basic input / output.
For example, the normal Erlang shell erl and other command line interpreters works properly with TERM=dumb.

They do, but they all set up what is called an 'old style' Erlang shell, which handles IO in an entirely different way, with a different supervision structure incompatible with the type of IO rebar3 is doing with rebar3 shell -- see text about -oldshell at http://ferd.ca/repl-a-bit-more-and-less-than-that.html
Because we're in an escript, we have to kill the old supervision structure and then take over it with a compatible one for the IO driver we've got (so, booting up and waiting for a version of the old structure).
Basically it would be possible to fix up, but would require detecting this and also figuring out the entire alternate shell structure for rebar3. I can try to get that to work, but it will have to wait until I find time or someone else does it.


PROBLEMS window showing '' (backslash) while Remote Development

I develop Linux application in Windows VSCode by Remote Development extension.
Some days ago, problems window showing backslash and does not work. (file opening)
File name does not show to me. only showing backslash.

It's no problems in VSCode stable version and no problem in previous insider versions.

Version: 1.38.0-insider (user setup)
Commit: ada79d72be36ecbfed6f88bb16edcc5cc3f5c2a8
Date: 2019-08-21T13:26:22.457Z
Electron: 4.2.9
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
{
    "version": "2.0.0",
    "tasks": [
        {
            "type": "shell",
            "label": "G++ COMPILER",
            "command": "/usr/bin/g++",
            "args": [
                "-g",
                "${file}",
                "-lmysqlclient",
                "-pthread",
                "-Wreturn-type",
                "-Winline",
                "-Wunreachable-code",
                "-Wswitch-enum",
                "-Wfloat-equal",
                "-o",
                "${fileDirname}/${fileBasenameNoExtension}"
            ],
            "options": {
                "cwd": "${workspaceFolder}"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "presentation": {
                "clear": true
            },
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}

Does this issue occur when all extensions are disabled?: No
Can't disable because I have to use gcc in Windows 10.

The problemMatcher should run on the extension host so that the correct normalize is used. But the fix looks fine to me and I was able to verify.

Opened an issue so I don't forget about it. https://github.com/microsoft/vscode-remote-release/issues/1331


generate_thought_vectors.py

Write the captions in text file, and save it as Data/sample_captions.txt. Generate the skip thought vectors for these captions using:
python generate_thought_vectors.py --caption_file="Data/sample_captions.txt"
When I want to run this code, there is no sample_captions.txt file in the file. I want to know how this is generated. Do you have a generated file to share?
@neilsh @paarthneekhara @gitter-badger @AbhishekNarayanan

Just use any file created by yourself. :)

Thank you. I have solved the problem


[Refactor][UI] Refactor function manage using NSpace component.

Purpose of the pull request
ref #10844

Brief change log

Verify this pull request

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

Codecov Report

Merging #11124 (272f541) into dev (71cf7e1) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #11124      +/-   ##
============================================
- Coverage     40.35%   40.33%   -0.02%
+ Complexity     4872     4869       -3
============================================
  Files           950      950
  Lines         37187    37181       -6
  Branches       4079     4073       -6
============================================
- Hits          15005    14998       -7
+ Misses        20672    20671       -1
- Partials       1510     1512       +2

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.00% <0.00%> (-2.78%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
53.33% <0.00%> (-1.34%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.60% <0.00%> (-0.30%)
:arrow_down:

...eduler/api/service/impl/DataSourceServiceImpl.java
28.47% <0.00%> (ø)

.../dolphinscheduler/plugin/task/datax/DataxTask.java
0.00% <0.00%> (ø)

...cheduler/plugin/task/api/ShellCommandExecutor.java
0.00% <0.00%> (ø)

...er/api/service/impl/TaskDefinitionServiceImpl.java
24.01% <0.00%> (+0.05%)
:arrow_up:

...hinscheduler/plugin/alert/wechat/WeChatSender.java
29.78% <0.00%> (+0.20%)
:arrow_up:

...olphinscheduler/plugin/alert/email/MailSender.java
51.38% <0.00%> (+0.35%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


LogQL showcase.

I renamed existing feature-flag promql to grafana, because logql dashboard depend on promql service and need to share a grafana container with promql.
It is difficult for me to "inject" log dashboard and datasource to an existing promql service. So I renamed it. Now grafana feature flag will publish promql and logql, is it good for you @wankai123 ?

I am good with new feature name. After all, this part of showcase is on grafana.

And I need update the ui-grafana doc later. I found grafana will escaped variable value when it enabled include all option (I am sorry I missed this case) :
<EMAIL_ADDRESS>
==>

<EMAIL_ADDRESS>
Grafana provided advanced-variable-format-options to controll this. I changed the loki query expression to this:
{service='$service', service_instance='${service_instance:raw}', endpoint='${endpoint:raw}', trace_id='$trace_id'} |= `$keyword_of_content` != `$excluding_keyword_of_content`

raw format hint grafana do not escape variable value so the service_instance value can keep as it is.
I need update this graph, in case it mislead our user.

Feel free to remove the old one and add new screenshot.
The best practice is using a new file name to avoid dns cache(GitHub markdown preview uses that).

Feel free to remove the old one and add new screenshot. The best practice is using a new file name to avoid dns cache(GitHub markdown preview uses that).

Ok.


Implement a low-level method to parse responses from chat completion requests into function calls

that's done via #50


Disable liveness and readiness probes to handle high load

With https://github.com/keycloak/keycloak/issues/22109 not being available, I wonder if we should disable those tests by default.

Don't the failover tests require probes to detect when the active site is down?

@pruivo - these probes are just for Kubernetes to skip the pod from the integrated loadbalancer (readiness probe failing) and when to restart a pod (liveness probe failing).
We could still have probes (the URLs for liveness and readiness probes, or different ones) to make a Keycloak site up or down from the point of the shared external AWS loadbalancer which distributes the traffic between the primary and secondary site.
Does this answer your questions?


Consider surfacing additional diagnostics information as part of LocalizedString when a resource is not found.

It might make it easier to diagnose why a specific resource string isn't located. Perhaps as part of the debugger display?

Is there any reason that resource is not found except the resource file doesn't exist or the resource entry is not found?

Probably one of the two. But it's still a guessing game where the instance of IStringLocalizer<T> is looking for a particular resource.

We may log where the APIs is looking for resources, this very helpful, it would be nice if we can see something like what MVC did when it doesn't find the view

@hishamco just because you asked for, we're not able to figure out what should be the correct naming/location of a resource mapping a nested (or inner) class within a static wrapper class.
Say we have a file at path xxxx\ProjectRoot\Feature\Outer.cs, defining:
namespace ProjectRoot.Feature
{
  public static class Outer
  {
    // ...

    public class Inner
    {
      public Inner(IStringLocalizer<Inner> localizer)
      {
        // ...
      }
    }

  }
}

We tried the following resource files, all withouth luck. Resources top directory has been setup during startup.

xxxx\ProjectRoot\Resources\Feature\Outer\Inner.it.resx
xxxx\ProjectRoot\Resources\Feature\Outer.Inner.it.resx
xxxx\ProjectRoot\Resources\Feature\Outer+Inner.it.resx

What's the correct way to accomplish this?
If I should create a brand new issue about this, please just tell me. Thanks

Ok. Apparently we've been bitten by #296 .
Nonetheless, I was not able to find any specific info on nested classes related to resource location & naming. It might be worth considering adding something about it to the docs.

It appears that nothing in Localization is using DiagnosticSource, so writing out debug logging might be a large and potentially unwanted change, but we could very easily add a "LocationSearched" property to LocationString which users could examine.

Even the localization doesn't using DiagnosticSource at least we need to use a logging APIs, that let the user know what's going on. So in that case we don't need a new to add a new property because we know the searched locations

@pranavkm what do you think? Is it sufficient to add a property to LocalizationString or do we need to plumb logging stuff through?

We've had instances in other areas of the stack where we've tried to use logging to present diagnostic information to the user. It's nice because you don't have to be live debugging the application to see the failure (as long as the log message was captured, you could inspect it). The issue with using logging to present details like this has been that it's not entirely obvious that the log is the place to look for when something goes wrong.
Plumbing ILogger thru the ResourceManagerStringLocalizer doesn't seem particularly extensive since the factory comes from DI., We should consider using a logger if there's useful data to log. Doing this in addition to adding metadata to LocalizedString would be really nice.

I'm still wonder why we need to add a new property to LocalizedString while we already know where we are looking for the resources via ResourcesPath.
May be we can add a readonly property that uses both ResourcesPath and the CurrentCulture to list all possible locations, but still I don't think that LocalizedString is appropriate in this case


Add osx target for the framework

Tested:

Builds sucessfully for 10.11 Xcode 7 beta 3
tests pass
carthage with --platform mac/ios

Also  added Carthage/Build to gitignore for cleanup

Thank you! I merged that into the next branch — can you verify it works?


Remove NLTKMosesTokenizer in favor of SacreMosesTokenizer

Description
NLTKMosesTokenizer works only with unsupported / outdated nltk==3.2.5 but was
kept in GluonNLP as SacreMosesTokenizer does not support Python 2. Drop it as
Python 2 support has been dropped.
Checklist
Essentials

[X] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[X] Changes are complete (i.e. I finished coding on this PR)
[X] All changes have test coverage
[X] Code is well-documented

Changes

[X] Remove NLTKMosesTokenizer in favor of SacreMosesTokenizer
[X] Remove NLTKMosesDetokenizer in favor of SacreMosesDetokenizer

Comments

By design this is backwards incompatible.

cc @dmlc/gluon-nlp-team

Job PR-942/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-942/2/index.html

Job PR-942/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-942/1/index.html

Job PR-942/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-942/3/index.html

Let's raise a warning instead of removing the code.

People that use the NLTKMosesTokenizer or NLTKMosesDetokenizer class may break LGPL without noticing. It can have severe impact, thus I think it's better to remove the code. For example, in a corporate setting usage of LGPL software typically requires special approval.


[FEATURE] Add cerebras support

Is your feature request related to a problem? Please describe.
Like to be able to use Cerebras: https://inference-docs.cerebras.ai/quickstart
Faster than Grok. Llama 3.1

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

The python Cerebras sdk doesn't appear to work


v1 CityVoice Instance Builder: "Create your own CityVoice instance in 15 minutes for free"

Overview
I've got a working alpha to automate CityVoice deploys on Heroku — right now, just the default codebase and content gets deployed — here:
https://github.com/daguar/cityvoice-builder-heroku/
http://cityvoice-heroku-builder-dev.herokuapp.com/
Below I've spec'd out what I think a v1 of the "CityVoice Instance Builder" micro-app might look like below.
My core notion here is that for v1 builder, we do not attempt to make something that would be your production deploy — instead, we present a simplified interface leaning heavily on defaults to let someone get a instance that has the key stuff customized quickly. The hypothesis is that if users can get something up quickly, they'll be more likely to go do the (non-trivial) work of a full deploy (e.g., careful survey design, nicely-recorded audio files, etc.)
The goal is more to quickly convey (via the experience of building it) the different pieces they'll need for a CityVoice instance, and also experience what their deployment will be like.
Additionally, my thought is by starting with this less ambitious version, we can learn more quickly where the yaks in a CityVoice-Builder will be (e.g., is HTML5 audio recording terrible?)
In sum, I think this approach lets us sprint to a v1 that adds value today — "do it in 15 minutes" — rather than a partially-built builder that won't be usable until it's fully operational (Death Star, wah-nah-nah).
Proposed v1 spec
Locations

Add 1 via address (or map?) — use Google geocoder so they don't have to worry about it

Questions

Add 1 agree/disagree question

Text box for:

Question title (convert spaces to underscores for short name)
Question text

Record audio file in browser

Add 1 voicemail question

Record audio in browser

Record audio files

Welcome message
Thank you (last/goodbye) message

Heroku

Register an account (external to page — in a new tab)
Deploy app

Twilio (I have screenshots for this — it's straightforward)

Register an account
Get trial phone
Configure phone number for app

Try it!

Call in to trial phone #
Go to web site

BLUF: With the right client support, City decisionmakers are willing to launch with a "quickstart-ed" cityvoice campaign.
While the jury is still out on on  our 5 midflight CityVoice pilots, the core assumption Dave made about the power of "deploying a thing in 15 minutes" has been tentatively validated. The value of letting government make a thing has -in large part - contented them to work within the default constraints of the builder.
In fact, the functionality of the builder has somewhat outperformed Dave's original hypothesis that doing a quick, dirty prototype survey could be the bait to get a city to commit to a production deployment of City Voice. Instead, we have found that augmenting the builder experience with targeted client support (survey design, instance customization, project management) has yielded CityVoice campaigns that government officials are willing

For posterity, a link to the builder: https://cityvoice-setup.codeforamerica.org


Target build ESNEXT + Error with browser compatibility

Describe the bug
Hi, I am trying to use Metaplex / Solana Web3 with vite & vue.
It seems to have an error with the build target.
I receive this error:
Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)
It is weird, my build target is esnext so it should work.
I tried with multiple version of node, I am a bit lost.
Can someone help?
I followed this starterkit: https://github.com/metaplex-foundation/js-examples/tree/main/getting-started-vite
Reproduction
https://github.com/ManuBernard/metaplex-vue-vite
System Info
System:
    OS: macOS 11.6.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 2.67 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.16.0/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Firefox: 98.0.2
    Safari: 14.1.2
  npmPackages:
    @vitejs/plugin-vue: ^3.0.0 => 3.0.1
    vite: ^3.0.0 => 3.0.4

Used Package Manager
npm
Logs
{
detail: undefined,
id: '',
location: {
column: 24,
file: 'node_modules/noble-ed25519/index.js',
length: 2,
line: 661,
lineText: '        cached.multiply(1n);',
namespace: '',
suggestion: ''
},
notes: [],
pluginName: '',
text: 'Big integer literals are not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari13" + 2 overrides)'
}
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Actually, Vite uses the default target for dev optimizeDeps.
https://github.com/vitejs/vite/blob/ba23711de1285562994f191d1ee3a7d7d1fd697f/packages/vite/src/node/optimizer/index.ts#L603
@bluwy Maybe we should set 'esnext' during dev? since we don't do any transpile during dev.
BTW This can be workaround by setting optimizeDeps.esbuildOptions.supported: { bigint: true }.

Ah, no. optimizeDeps.esbuildOptions.target: 'esnext' will work.

Thank you, worked!

@bluwy Maybe we should set 'esnext' during dev? since we don't do any transpile during dev.

We do transpiling for deps only, which uses the ESBUILD_MODULES_TARGET as baseline. For source code, it's not transpiled so if the user uses an advanced feature themselves, they can only use browsers that support those features in dev. But yeah optimizeDeps.esbuildOptions.target: 'esnext' is the way to go for now.


Naming none/bfb and the stuff that depends on it

This one has me stumped.
none.bfb appears to be responsible for all the scrollable list containers used for GUIs. However, it does not extend Gui, nor does it extend Drawable (so calling it some form of Widget is going to confuse things).
net.minecraft.sortme.KeyBindingGui directly implements it, but the actual Gui object which uses it is net.minecraft.client.gui.menu.GuiSettingsControls.
Main thing I want to tackle right now is none.big. This is responsible for drawing the server list. It contains a list of none.bif (which is for drawing server entries added by the client), a list of none.bie (which is for drawing server entries detected by scanning the LAN), and an instance of none.bid (which is for telling you that it's scanning for LAN entries).
All of bid, bie, and bif implement none.bew.a, while none.big itself extends none.bew, which extends none.bfb.
none.bew.a is responsible for individual list items inside none.bew.
So here are my questions so far:

What is a sensible name for none.bfb?
What classifies something as being part of none.bew?

Closing this issue in favour of discussing it at the PR: #80


High CPU usage when downloading.

Hello. I am trying to use reqwest to download big files on a server with fast internet connection (1gbps), but CPU usage is 100% all the time.
Here is minimal working example. I am downloading 2gb file from local server over 1gbps:
main.rs:
extern crate reqwest;

fn main() {
    for i in 0..5 {
        let o = reqwest::blocking::get("http://<IP_ADDRESS>/test");
        o.unwrap().text().unwrap();
    }
}

Cargo.toml: reqwest = {version = "0.10.2", features = ["blocking", "json"]}
Screenshot of htop while running: https://pasteboard.co/IYc3BeG.png
Thank you.

If network isn't taking much time, and the files are huge, I can understand it doing a lot of working simply copying the data in memory.
I suppose one question: do you see the same thing if using Response::read_to_string() with a pre-allocated String?
use std::io::Read;

let mut resp = reqwest::blocking::get(url).unwrap();
let len = resp.content_length().unwrap();
let mut dst = String::with_capacity(len as usize);

resp.read_to_string(&mut dst).unwrap();

Hello. I copied the code and built with --release - got the same result.
I've also tried using stream, but the CPU usage got only worse:
extern crate reqwest;
extern crate futures_util;

use futures_util::StreamExt;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {

    let mut o = reqwest::get("http://<IP_ADDRESS>/test")
        .await?
        .bytes_stream();

    while let Some(item) = o.next().await {
        //print!("{} ", item?.len());
    }

    Ok(())
}

Ok, well, as I mentioned, that doesn't seem bad in and of itself, if the network is sufficiently fast, since that means it doesn't need to wait on IO, and the program is just spending the entire time copying the data into a buffer.

Well, okay, so streaming it directly to disk should decrease (bottleneck) the CPU usage?

I'd assume so (unless there is some bug somewhere in reqwest's stack that is inefficiently using more CPU than it should).
Additionally, if sending huge files, you could considering using compression.

Okay, will try, thank you.


[Notebook Issue] lab05 title and Task 6

Content Link
lab05
Issue Description
The tile on lab05 shows lab04 and Task 6 has a test that checks the array in Task 5.
Screenshot
If relevant, replace this text with a screenshot of the issue. Make sure to not include any private information.
[Optional] Solution

[x] Update the title in the notebook
[x] Update the test in Task 5 that looks at interesting numbers from Task 5.

pushed changes to students


Kepler not running in Raspberry Pis

What happened?
I tried to install Kepler in a K3s cluster composed of:

Raspberry Pi 4, 4GB RAM, Ubuntu 22.04
Raspberry Pi 3, 1GB RAM, Raspberry Pi OS 12

with the Helm chart:
helm install kepler kepler/kepler --namespace kepler --create-namespace --set serviceMonitor.enabled=true --set serviceMonitor.labels.release=prometheus
However, the Kepler containers fail with these logs:
libbpf: failed to find valid kernel BTF
libbpf: Error loading vmlinux BTF: -3
libbpf: failed to load object '/var/lib/kepler/bpfassets/kepler.bpfel.o'
F0705 12:00:29.218890       1 exporter.go:109] failed to create eBPF exporter: failed to load eBPF object: failed to load BPF object: no such process

After it, I have checked that it seems that BTF is not present in the Kernel of both machines and /sys/kernel/btf/vmlinux is not present.
What did you expect to happen?
Install Kepler in all the nodes of the K3s cluster.
How can we reproduce it (as minimally and precisely as possible)?
Create a K3s cluster with at least a Raspberry Pi and then install Kepler using the Helm chart:
helm install kepler kepler/kepler --namespace kepler --create-namespace --set serviceMonitor.enabled=true --set serviceMonitor.labels.release=prometheus
Anything else we need to know?
No response
Kepler image tag

Used container image (for ARM64 arch):
quay.io/sustainable_computing_io/kepler:release-0.7.10

Kubernetes version

$ kubectl version
Client Version: v1.28.3+k3s2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3+k3s2

Cloud provider or bare metal

Bare metal in Raspberry Pis (ARM64 arch)

OS version

# Raspberry Pi 4:
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
$ uname -a
Linux raspberrypi4 5.15.0-1055-raspi #58-Ubuntu SMP PREEMPT Sat May 4 03:52:40 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

# Raspberry Pi 3:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ uname -a
Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux

Install tools

Kepler deployment config

For on kubernetes:
$ KEPLER_NAMESPACE=kepler

# provide kepler configmap
$ kubectl get configmap kepler-cfm -n ${KEPLER_NAMESPACE}
# paste output here

# provide kepler deployment description
$ kubectl describe deployment kepler-exporter -n ${KEPLER_NAMESPACE}

For standalone:
put your Kepler command argument here

Container runtime (CRI) and version (if applicable)

containerd://1.7.11-k3s2 and containerd://1.7.7-k3s1

Related plugins (CNI, CSI, ...) and versions (if applicable)

Cilium v1.14.2 as CNI

Looks like the RPi Kernels aren't being compiled with CONFIG_DEBUG_INFO_BTF=y.
Unfortunately the only fix is to re-compile your kernel  with BTF support or to use a RPi image that already has this enabled.


"pub finished with exit code 1" (and no error message)

We use sentry.io and the latest Flutter SDK. We're trying to get stack traces working on Android and it has been extremely difficult to get clarity on that process. We found this plugin and are still a bit confused how to use it.
If we have autoUpload = true in our build.gradle do we still need to run flutter packages pub run sentry_dart_plugin after we build? The comment here - https://docs.sentry.io/platforms/android/proguard/ - makes it seem like we wouldn't but then this plugin's README says that this command flutter packages pub run sentry_dart_plugin is a replacement for the sentry-cli manual stuff, NOT that autoupload setting. It would be good to clarify.
Also when running flutter packages pub run sentry_dart_plugin we get no error messages, just warnings, but we do get an exit code of 1 which idiomatically means error - "pub finished with exit code 1" ...so confused about that as well

@tamoyal thanks for reporting.
what type of stack traces are you meaning? Java/Kotlin stack traces, Dart or Native ones (C/C++)?
This is a Dart/Flutter plugin so there's nothing related to Proguard and the autoUpload flag, unless you are talking about the Java/Kotlin minified stack traces by Proguard/R8, which then requires the Sentry Android Gradle Plugin, can you please clarify, thanks

I think it's an issue with  the Java/Kotlin minified stack traces by Proguard/R8
We see a lot of stack traces like this:
_CastError: Null check operator used on a null value
  File "rEf", line 695, in _zja._dJd
  File "mFf", line 102, in Wka.bNd

Do I need to raise this issue somewhere else?
I brought it up here because the exit code of 1 with no error message is also a bit concerning

I dont think so, CastError is a Dart class https://api.dart.dev/stable/2.14.3/dart-core/CastError-class.html
can you share your build command? all you need is this plugin, not the Android Gradle Plugin, so you don't need to change your grade build file.

@marandaneto Ok so then something weird is definitely going on. Nothing special in our build command - flutter build appbundle --flavor production --no-sound-null-safety

@tamoyal why are you using this plugin then if you're not using the --obfuscate and --split-debug-info option? https://flutter.dev/docs/deployment/obfuscate

@marandaneto we set this in gradle.properties (see below) @marandaneto but I should mention, my experience is more on the iOS than Android side so something could be configured wrong. Given the stack traces are symbols, it looks like obfuscation is working, right?
The android/gradle.properties file:
org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
android.bundle.enableUncompressedNativeLibs=false
extra-gen-snapshot-options=--obfuscate

@tamoyal as you see in the docs and Obfuscating-Dart-Code guideline, https://github.com/flutter/flutter/wiki/Obfuscating-Dart-Code the --obfuscate and --split-debug-info should be used together, otherwise, symbolication won't work.
please use both flags and this plugin to upload debug symbols and then it should work, let us know otherwise, thanks

@marandaneto Does the plugin expect the --split-debug-info output to be somewhere specific? I don't understand why there aren't step by step instructions in the README. It seems like it would be so easy to add and save everyone a lot of time trying to figure this out.

@tamoyal the folder just needs to be a child of the project's folder, the plugin finds symbols for all the subfolders, feel free to submit a PR to the readme, this is still an alpha version.

@tamoyal can you provide a minimal reproducible example? I can't reproduce it.
also, as stated in the readme now, iOS --obfuscate and --split-debug-info are not supported, so those files that are being skipped should not even be there, did you use those flags for iOS as well?

@tamoyal please use the latest version and give it a spin -> https://github.com/getsentry/sentry-dart-plugin/releases/tag/1.0.0-alpha.4
improved logging so at least we should not the error and output messages, also use log_level: debug in your config, might have something useful from sentry-cli output.


listener filter chain match doesn't work for incoming request using proxy protocol

Title: listener filter chain match doesn't work for incoming request using proxy protocol
Description:
I have two envoy proxy chained together: client -> envoy1 -> envoy2 -> server.
envoy1 just does the tcp forward and will use upstream proxy protocol to save the information about client ip.
envoy2 will handle the proxy protocol and route the traffic based on server name. However, envoy2's listener filter chain match won't work(it behaviors like server name match failed though it's the correct server name).
If proxy protocol is not used or envoy2 filter chain match is not used, then everything works fine.
envoy1 cluster snippet:
      clusters:
      - name: cluster1
        ...
        transport_socket:
          name: envoy.transport_sockets.upstream_proxy_protocol
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.transport_sockets.proxy_protocol.v3.ProxyProtocolUpstreamTransport
            config:
              version: V1
            transport_socket:
              name: envoy.transport_sockets.raw_buffer
        load_assignment:
          ...

envoy2 listener snippet:
        listeners:
        - name: listener1
          address:
            socket_address: { address: <IP_ADDRESS>, port_value: 8080 }
          listener_filters:
            - name: envoy.filters.listener.tls_inspector
            - name: envoy.filters.listener.proxy_protocol
            - name: envoy.listener.original_src
          filter_chains:
            - filter_chain_match:
                server_names:
                  - hello1.com
               filters:
               ...
            - filter_chain_match:
                server_names:
                  - hello2.com
               filters:
               ...
            - filters: # request all ends up here

[optional Relevant Links:]

Any extra documentation required to understand the issue.

seems like you should run the proxy_protocol listener filter before the tls_inspector filter.

thanks @soulxu you're right, it's working now after i move proxy_protocol ahead.
Btw, since I followed this doc example, I created a pr to fix the doc, could you help review it? https://github.com/envoyproxy/envoy/pull/23217


Android Studio - generate sample content menu is empty

I am having some weird issues with Android Studio on one of my development machines (works fine on the other two). The particular issue that I am having is that none of predefined sample applications show up in the Sample Application drop-down when I choose to start a new project:

Flutter Doctor doesn't find any issues. Not sure if I should try and re-install?

Hi - I have the same problem.  I am following a course from London App Brewery.

It appears sample content is not available yet if you are on the stable channel for Flutter SDK. Gotta be on beta or dev channel to receive this feature, or wait for the next stable release.

Any work arounds?

Apparently not, the code which supports this feature is not yet on the stable channel. As I mentioned above, one option is switching to the beta channel, however this could lead to other unexpected surprises.

Same thing here... empty dropdown, wondering if it is yesterday's update that has issues

As far as I can tell, the update didn't include Flutter SDK. Run Flutter Doctor to check the SDK version you are on:

According to Flutter developers, the minimum supporting SDK for this feature is 1.3.10, and it hasn't made it to the stable channel yet.

Today Android Studio told me a new update is available. Now Flutter is at v1.5.4-hotfix.2 and the sample content is available:

Yeay!

I have the same issue

@vvinogradsky what operative system do you have? I have just intalled the update and nothing changed for me...

I am on Windows 7.

Try running flutter doctor to re-register your current flutter SDK install with your current Android Studio install.

I should have mentioned - the latest update gave me a bit of a trouble. The updater went into a loop complaining about a locked file. I closed Android Studio, tried restarting, but apparently a dart.exe process got stuck, so I had to kill it via Task Manager. After that I was able to restart Android Studio and then it went through upgrade steps start to finish. This happened on both of my machines, so I doubt that was a random glitch.
Perhaps you are not seeing the menu because your update also got stuck somewhere? Definitely try flutter doctor.

I was certain that yesterday the sample content worked but not today, with no upgrades in between. So I tested and I found that if I created a new Flutter project when the full IDE was on screen (not just the Welcome to Android Studio) the options did appear, while when creating it thru the Welcome screen they did not. Until I found this, the sample content did not appear for a full day. It seems something gets refreshed when the IDE is fully started but does not when just the Welcome screen is shown.
Just a theory.

I have this problem on Win 7 with latest stable release.  Doesn't matter if I go from full ide or welcome screen.  Why put it on the menu (without comment or notation) if the underlying code that's required is not there?
Also following the App Brewery course, which is based upon an earlier release.  Odd that the code was in and apparently worked in the older release.  Maybe something changed about the way the sample code is accessed?  Think I saw a closed issue alluding to this.

I just recently updated to:

Flutter (Channel beta, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17134.706], locale en-US)
... but after the update was complete & I went to start a new Flutter project, the dropdown was empty; all it took was completely closing Android Studio (after the update was complete) & then relaunching it.

Had the error on Mac,

Ran flutter doctor - 1.5.4-hotfix.2 version was already installed - no issues found
closed Android Studio completely
launched it again and TADA - sample content is available.

Reloading doesn't fix it for me on Win 7.
Here's Doctor output.  Also, when I ran the AS update check it updated to a new build (even though I just installed it a week ago).
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 6.1.7601], locale en-US)
• Flutter version 1.5.4-hotfix.2 at F:\src\flutter\flutter
• Framework revision 7a4c33425d (2 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\Skaterdude\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 35.3.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[!] Connected device
! No devices available
! Doctor found issues in 1 category.
Process finished with exit code 0

guys i had the same problem in 1.5.4 hotfix stable 2...
i installed the material theme ui from the plugins and now it looks like i almost resolved the problem
i didnt find out this problem to be related to stable version of flutter

Today Android Studio told me a new update is available. Now Flutter is at v1.5.4-hotfix.2 and the sample content is available:

Yeay!

Please, any workaround on ubuntu os. I'm on version 1.5.4-hotfix.2 and still, the sample content box is empty

Updated Android studio ,changed channels from stable to dev,beta and then upgraded flutter but still "Generate sample content" is still empty

I faced the same issue, I tried downloading flutter SDK again, but the same error. Finally, it got resolved when I reinstalled the flutter and dart plugins in android studio.

I faced the same issue, I tried downloading flutter SDK again, but the same error. Finally, it got resolved when I reinstalled the flutter and dart plugins in android studio.
**PS:**When I started with a new project, the same problem appears again, "Generate sample content " is empty.

This solve my problem. thanks

Completely uninstalled Android 3.4.1 and installed Android version 3.3.1 . Problem solved ...

i have a same problem .There is installed flutter and dart plugins in android studio but when i check in cmd as flutter doctor i found:
IntelliJ IDEA Community Edition (version 2018.3)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.

I was also having a same issue. I've reinstalled both the SDK and Android Studio plugins for Flutter and Dart and the sample content menu showed up. I'm not sure which one (reinstalling plugins or SDK) fixed it for me. flutter doctor didn't throw any message when the issue happened.

OS: Windows 10
Android Studio Version: Version 3.4.1
Flutter Version: Channel Beta, v1.6.3

I have solved like ottod, which means to create the new flutter project from an already opened ide code editor through "File / New / New Flutter project" and not through the initial welcome screen.

I believe this should have been addressed by the most recent (M36) release of the Flutter IntelliJ plugin. For people that are still experiencing this, I'd check to see if there are new updates to the plugin version you have installed.

Oh look, it's fixed in today's update!  (I checked it)
Now adb.exe crashes and prevents me from running my project.  :(

Oh look, it's fixed in today's update! (I checked it)
Now adb.exe crashes and prevents me from running my project. :(

Did you update Android SDK in Android Studio by any chance? This is a new issue that's not related to the Flutter plugin. Check #33938 to see if it's identical to your issue by any chance.

Followed ottod's advice, create new project inside the IDE, and it works. Thanks to ottod

I just had this problem today. My version is 1.5.4-hotfix.2. flutter doctor (no issues found), flutter upgrade, created project inside ide and not in the welcome screen, all of these didn't work for me.
The last thing i tried: went to settings -> build, execution, deployment -> build tools -> gradle and unchecked Offline work. Solved!

Thanks for that. My "Offline work" was unchecked when I successfully
created the project in the IDE.
Kind Regards,
Jan Laubscher http://www.linkedin.com/in/laubscherjan Pr Eng MBA
Systems Development & Support C.C.
Suppliers of KeyScore http://www.keyscore.co.za/  Performance Measurement
Software
Office:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
Mobile<PHONE_NUMBER>
e-mail<EMAIL_ADDRESS>Sysdev House, 3 Eike Lane, Woodmead, South Africa
P.O. Box 254, Rivonia, 2128, South Africa
Website address: http://www.sysdev.co.za
On Sat, 15 Jun 2019 at 16:00, zkyll<EMAIL_ADDRESS>wrote:

I just had this problem today. My version is 1.5.4-hotfix.2. flutter
doctor (no issues found), flutter upgrade, created project inside ide and
not in the welcome screen, all of these didn't work for me.
The last thing i tried: went to settings -> build, execution, deployment
-> build tools -> gradle and unchecked Offline work. Solved!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/31916?email_source=notifications&email_token=ACJNTNWTYRZT6EFPUBS2BMTP2TYWJA5CNFSM4HJUXJW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXYYXLA#issuecomment-502369196,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACJNTNSLJPEOJPY743ANFFDP2TYWJANCNFSM4HJUXJWQ
.

I was also in the problem of generating sample context, so what I did was simply updated my plugin and restart and boom it appears. And if it also not working then check your SDK and version of flutter SDK and android studio. Jai Hind

I guess I'm on the latest of everything, yet facing the issue. Please Help!

I was able to fix this issue locally by taking the following steps:

Uninstall the Flutter Plugin from Android Studio and restart the IDE
Navigate to the Archived Versions of the Flutter Plugin and download 34.0.2
In Android Studio navigate to Preferences -> Plugins -> Settings -> Install Plugin from Disk and install the downloaded version of the Flutter Plugin
Restart Android Studio
Profit 💰

I reinstalled the Flutter SDK and Android Studio and I don't see the "Generate Sample Content" option anymore.
What in the world happened?

I was able to fix this issue locally by taking the following steps:

Uninstall the Flutter Plugin from Android Studio and restart the IDE
Navigate to the Archived Versions of the Flutter Plugin and download 34.0.2
In Android Studio navigate to Preferences -> Plugins -> Settings -> Install Plugin from Disk and install the downloaded version of the Flutter Plugin
Restart Android Studio
Profit 💰

This works

I reinstalled the Flutter SDK and Android Studio and I don't see the "Generate Sample Content" option anymore.
What in the world happened?

We've since removed the option from the project creation dialog - people should generally start new projects with the ~4 main templates from flutter create. The samples are good for exploring specific snippets of code - you can still create them from the individual package:flutter libraries (material/scaffold/dart, ...).


Update DocIndexRetriever README.md for workflow

Description
Added a workflow for DocIndexRetriever following what ChatQnA has. ChatQnA flow
Issues
n/a.
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)
[ ] Others (enhancement, documentation, validation, etc.)

Dependencies
na
Tests
Describe the tests that you ran to verify your changes.

@lvliang-intel
any modification needed?

@lvliang-intel
please help to review and approve the PR.
thanks


HMR broken since 5.0.0

Since updating to 5.0.x, my app's connected components stop updating after the app is hot reloaded. This issue is resolved when I downgrade back to 4.4.6.
A (reasonably) minimal repro can be found here: https://github.com/dsgkirkby/react-redux-hmr-bug.

Fixed in #589. I'll do a release soon-ish. Gotta get some other stuff in.

@timdorr @dsgkirkby Hi, this seems to be still broken.
Please see
https://github.com/reactjs/react-redux/issues/636
Thanks

I've updated the repro repo to 5.0.3 and the bug is still happening. Please reopen this ticket.


Exception

Exception: No working proxies were found at this time, please try again later.

Hey @h9052300, this is a known exception and not an issue with the code. You will either want to adjust the criteria you are using (switching or removing the country, not using google_verified), or you can attempt to try again. The list of proxies used in this tool are constantly cycling and may not always be available. You will want to play with the input and timings and give it another try.


1.15.0 crashes when using prometheus targets

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I am testing out the 1.15.0 images, using the 1.14.4 helm chart.
When setting prometheus.enabled=true, the cilium-envoy daemonset pods get stuck in a crashloop with the following error:
assert failure: get_capabilities(CAP_EFFECTIVE) == 0 && get_capabilities(CAP_PERMITTED) == 0. Details: cilium-envoy running with privileges, exiting

I have verified that all the other prometheus settings in the chart values do not cause this.
Cilium Version
Every 1.15.0 pre-release is affected
Kernel Version
6.6.6-1-default
Kubernetes Version
v1.26.10+k3s2
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

You may want to try leveraging the pre-release helm charts for the pre-release images
chart: cilium
repoURL: https://helm.cilium.io/
targetRevision: 1.15.0-rc.0
When using helm cli, they can be found via
helm repo add cilium https://helm.cilium.io/
helm search repo cilium/cilium --versions --devel

@acelinkio Thanks for the tip. I tried that yesterday, but that throws an unrelated error when trying to render any of the 1.15.0 charts and serviceMonitor.enabled=true:
cilium/templates/cilium-envoy/servicemonitor.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go struct field .metadata.annotations

@acelinkio You're right - the newer chart addresses this problem. Thanks.
Sadly, this led to uncovering a different bug in the charts related to ServiceMonitors :(


Delete properties doesn't work

Describe the bug

Version

Browser

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

add a Delete properties

Expected behavior

Screenshots

Additional context

https://github.com/microsoft/BotFramework-Composer/issues/2458

fixed in latest master build


I want to create a IIIF Collection

...Out of existing IIIF Manifests, and perhaps existing collections.
(full narrative to follow)
I want to be able to create collection hierachies.
I should be able to set thumbnails on Manifests within Collections (if they don't have them already) or override them.
Similarly I can edit the labels of Manifests in the Collections I create, overriding the default the Collection tool obtains by analysing the Manifest.
The analyser can suggest a Thumbnail (the first canvas) or let me pick one.

Relates to https://github.com/IIIF-Commons/parser/issues/5 and https://github.com/IIIF-Commons/parser/issues/10

Canadiana Notes:

Collection Creation and Editing

To be able to create and edit properties of a collection

Collection Member Sorting

Members of a multi-part collection should be sortable alphabetically by any IIIF metadata field. Most commonly by label, summary, and navDate…

Digirati Notes on Canadiana Notes:

This would use (mostly) the same UI components as for a Manifest - labels, behaviors, metadata etc. There would be some configured differences.

Need to explore the degree to which this functionality overlaps / reuses UI for ordering canvases #134

Everything looks good here!

One important difference between Manifest editing and Collection editing is that the items of a Collection are always existing, external resources, whereas the items of a Manifest (the canvases) might be existing external resources but almost always are not - and the Manifest editor doesn't care whether they are or not.
One way of adding a Canvas to a Manifest is to use the IIIF Browser to preview an existing manifest and select a canvas from it; the Manifest editor copies the Canvas into the currently-editing Manifest, with its labels etc.
For a Collection editor, that's the only way of adding Manifests and Collections; they must be external resources that the editor will (perhaps briefly) load to both check they exist and to copy a limited set of labels, behaviors, metadata into the reference that will live in the Collection-being-edited.
While you can browse and navigate to an individual collection or manifest via the storage adaptor, I suspect we will also want the ability to just paste the URL into the dialog directly to bypass browsing, and possibly, to paste a list of URLs into a textarea - "go and include all of these" - the Collection editor loads one by one and adds the reference. It doesn't need to keep them in memory/in vault once it's extracted what it needs to create a reference in the Collection-being-edited.
Other than that the Collection Editor re-uses some of the same components as the Manifest Editor -

IIIF browser (which can accept a resource list too)
General panels for labelling, metadata, technical details
The IIIF Resource grid - like canvases in the Manifest editor, but instead of Canvases shows Manifests and Collections
The Bulk labelling/sorting tool - can work on Manifests and Collections within collection.items just as well as Canvases within manifest.items

Sorry.  I think some of the over-simplification of language internal to CRKN may be leaking into the conversation. We have been using the term "canvas" to discuss an image annotation onto a canvas. That is all the current tools we are trying to replace support (changing the order of and label for canvases that only allow a single image annotation). We will try to be more accurate in our language.

This collection is also being assembled in #228, just like #133. My comments above still cover it I think.

Note that we currently only use Behavior Values of "multi-part" and "unordered".


improve metrics logged in examples

What does this PR do?

Train loss being logged wasn't normalized and as such wasn't intuitive to understand. This also made it difficult to compare train loss between different tools such as comparing train loss from Trainer with that of Accelerate. This PR normalizes the train_loss per epoch to make is more intuitive and comparable.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

In a multi-gpu environment, does the total_loss here represent the loss of all training data in the entire epoch or just the loss of training data on the main process?
I tried to print the result of total_loss on each process, and it seems that accelerator.log() only records the total_loss on the main process. So, please, do I need to use accelerator.gather() to get the training loss on the whole epoch? I hope I can get your confirmation, many thanks!

Hello @benjpau , yes, you are correct, you would need to gather to get the total epoch loss. Will raise a PR to fix the examples to reflect the same.


Instability after switching to space filling curve (low priority)

PR #574 causes long CI runs to break (saturation adjustment: negative density, e.g. here, with some results summarized here). This warrants further investigation whether this is related to another bug (and this PR just tips the nearly unstable setup to be unstable), or whether there is a more serious problem with the space filling curve (though it passed its unit tests in ClimaCore).
Preliminary results show this is more problematic for 3rd order upwinding when using Float32. Float64 seems ok. This difference was also noted when performing a simple Field sum over Fields before/after the space filling curve PR for Float32 (not for Float64), though the difference was very small. @szy21 may have more details.
This will become higher priority if we use 3rd order upwinding in the standard config (TBD).

Is this still a problem?

Not that I know of. All issues with the SFC have been addressed, as far as I know. Just tagging @simonbyrne here, is case there's something I'm not aware of.


Package vignettes for package_skeleton

Because the vast majority of packages created here will not end up on CRAN the build_vignettes() function in devtools may prove problematic because it doesn't keep a .md file around that is easily readable for github. For README's this isn't a problem as we can set the .yaml to something like this:
---
output:
  md_document:
    variant: markdown_github
---

However for a vignette this isn't the typical .yaml. Since vignettes are a critical way of communicating a package I wonder if some sort of custom rendering function might be useful. There are likely other ways to do this but one option is to define a function like this to keep the .md file so that at least it can pointed to on github
render_keep_md = function(vignette_name){
  rmarkdown::render(paste0("./vignettes/",vignette_name, ".Rmd"), clean=FALSE)
  files_to_remove = paste0("./vignettes/",vignette_name,c(".html",".md",".utf8.md"))
  lapply(files_to_remove, file.remove)

  file.rename(from = paste0("./vignettes/",vignette_name, ".knit.md"), to = paste0("./vignettes/",vignette_name, ".md"))
}

I think this is probably beyond the scope of bcgovr and more likely up to individual package authors.


feat: Generate diag when test fails

Added support to collect diag in artifacts for the failing test types.

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


Integration Test - Release - 2019/09/11 14:45:58

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


Check if underlying process is still alive

The code does not work, because the send() function blocks until a client is connected and if no client connects it simply waits infinitely.


Remove trailing period from 'Initial commit'

Please verify the following:

[x] Everything works on iOS/Android
[x] npm test ava tests pass with new tests, if relevant
[x] ./docs/ has been updated with your changes, if relevant

Describe your PR
Just a minor update to the way the Git repository is initialized. A Git commit message subject line should not end with a period.
This changes
Initial commit.

to
Initial commit

Also see: Rule 4 "How to Write a Git Commit Message"

Thanks @friederbluemle , this will go out in our next release!

:tada: This PR is included in version 2.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


#798 Respect Platform argument

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Bug fix.
:arrow_heading_down: What is the current behavior?
Platform argument is not respected.
:new: What is the new behavior (if this is a feature change)?
Platform argument is respected.
:boom: Does this PR introduce a breaking change?
Maybe. If someone passes a platform argument, which is not respected and the platform argument does not correspond to the platform which is currently inferred from the URI, this change will be breaking.
:bug: Recommendations for testing
I tested only with BitbucketLocal and did no regressions tests.
:memo: Links to relevant issues/docs
#798
:thinking: Checklist before submitting

[x] All projects build
[x] Relevant documentation was updated

Hey @msallin,
As this is a draft still did you need some help with this?
Looks to me like this is close would be great to add a test to make sure you have fixed the issue!
Thanks
Shaun

Due to an infrastructur issue I was not able to test until now.
The fix works with BitbucketLocal, I added a test and filled out the required information in the PR description.

No worries, we all get busy! thank you for your time.
There unfortunately seems to be merge conflicts now are you ok fixing these or did you need some help?

Here we go.

@shep1987 is there something I need to do, to get this PR merged?

Sorry was at sisters wedding and then have just completed on a house so busy few weeks this all looks good thanks for the work!