Exceptions not being logged in Android Studio

Problem
For about a week now, I have not been able to see any exceptions thrown in Dart code while running my Flutter app in Android Studio.
This problem is similar to https://github.com/flutter/flutter/issues/41133, however, I am running on Android. I have not been able to find any still open issue mentioning this issue on the latest version.
Detailed behavior
When I run any Flutter app, e.g.
Click to expand sample code
void main() {
  runApp(const _TestWidget());
}

class _TestWidget extends StatelessWidget {
  const _TestWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    throw Exception('test');
    return Container();
  }
}

Using Android Studio's Run feature, the exception simply does not show up in the logs.
When I use AndroidStudio's Debug feature, the debugger stops at the throw Exception statement and then I can see it in the logs as well.
When I run flutter run from the Terminal tab within Android Studio, the exception also shows up:

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following _Exception was thrown building _TestWidget(dirty):
Exception: test

But no matter what I try, no exceptions are shown when the I use the normal run configuration inside of Android Studio.
Prints
This is the best part, all other prints and logging work perfectly fine. So when I insert a print('foo'), I see it in the console, but not the exceptions being thrown 🤷♀
It seems the stderr is not connected to Android Studio's Run console.
Versions
Click to expand versions
[✓] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19041.1052], locale en-US)
    • Flutter version 2.2.2
    • Framework revision d79295af24 (2 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Platform android-S, build-tools 30.0.2

[✓] Android Studio (version 4.1.0)
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)

Hi @creativecreatorormaybenot
Running on Windows environment (same as you), simply running the app in Android Studio, I do see the exception logs when running on the stable channel

minimal code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const _TestWidget());
}

class _TestWidget extends StatelessWidget {
  const _TestWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    throw Exception('test');
    return Container();
  }
}

preview

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19043.1055], locale en-US)
    • Flutter version 2.2.2 at C:\Users\Taha\Code\flutter_stable
    • Framework revision d79295af24 (3 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_SDK_ROOT = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\openjdk\bin\java.exe
    • Java version OpenJDK Runtime Environment (build 1.8.0-262-b10)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.1)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.10.31402.337
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.1
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.57.0)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0

[✓] Connected device (4 available)
    • IN2011 (mobile)   • c9d8ee0c • android-arm64  • Android 11 (API 30)
    • Windows (desktop) • windows  • windows-x64    • Microsoft Windows [Version 10.0.19043.1055]
    • Chrome (web)      • chrome   • web-javascript • Google Chrome 91.0.4472.101
    • Edge (web)        • edge     • web-javascript • Microsoft Edge 91.0.864.48

! Doctor found issues in 1 category.

@TahaTesser

I will make sure to update the version and try again 👍

@TahaTesser It works with 57.0.2 🎉
How do you want to move forward?
For anyone seeing this: update your Flutter plugin from version 56.0.2 to the latest version of the plugin.

@creativecreatorormaybenot
Since it is working as expected, the issue seems to be solved when upgrading, which makes it a plugin issue rather than a Flutter issue.
Closing, If you disagree, please write in the comments and I will reopen it.
Thank you

@TahaTesser Actually, I am now experiencing the issue again. I think it was just a coincidence that the plugin update temporarily "fixed" it.
I am on flutter: 2.2.2 and Android Studio plugin version: 57.0.2. And again, everything works fine using flutter run  from the terminal.

@TahaTesser Can we reopen this? :)


Mark the library as typed, plus a couple of other tweaks

Mostly this aims to mark the library as fully typed, so that type checkers pick up on all of the type hinting that's already in the library (thank you!). Also seeks to improve one type within the code, and also simplifies the core exception class.

Wow.  I didn't expect any pr's for this library because it's have very few downloads

Finding it very handy, I've been using it as the core of a test app I'm building with Textual. Been having a lot of fun with it. :-)
https://www.youtube.com/watch?v=4rOIngibPhw

Wow. I didn't expect any pr's for this library because it's have very few downloads

Finding it very handy, I've been using it as the core of a test app I'm building with Textual. Been having a lot of fun with it. :-)
https://www.youtube.com/watch?v=4rOIngibPhw

Cool!

Thanks for contributing!

My pleasure. Thanks for making this available!


STAN is deprecated in favor of JetStream

STAN - https://docs.nats.io/legacy/stan
JetStream - https://docs.nats.io/nats-concepts/jetstream
Ballerina needs to do the same. This issue is to track the requirement.

@indikasampath2000 @HasithaAthukorala since this is a ballerinax package, do you all think you can take up this ?

Proposal: https://github.com/ballerina-platform/ballerina-standard-library/issues/3550


GRPC Support

Is it possible to test ASP.Net Core GRPC services via Alba?

@dbettin Sorry for the delay. I can't think of any reason why that wouldn't work. There's nothing yet in Alba to help formulate requests or read responses for GRPC, but I take pull requests:)

@dbettin I did some research today. I don't think that Alba really buys you much here for strictly GRPC endpoints. If you have a service that exposes both GRPC & normal ReST services, then you can just use the TestServer instance that hangs off of Alba 3/4's SystemUnderTest or v5's AlbaHost to create GRPC channels not unlike this post: https://thecloudblog.net/post/integration-tests-for-grpc-services-in-asp.net-core/
Long story short, I don't think Alba would do anything useful for GRPC integration testing and at most, there's a little bit of documentation to show how you'd use Alba's test harness to create GRPC client services.

I'm closing this as I don't think there's anything actionable here.


Problem while installing 0.9.8

Hi,
I am currently following the instruction on installing carla 0.9.8 using the following line:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 304F9BC29914A77D && sudo add-apt-repository "deb [trusted=yes] http://dist.carla.org/carla-0.9.8/ all main"
however, I received the following message:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dist.carla.org/carla-0.9.8 all InRelease' doesn't support architecture 'i386'
I am using Ubuntu 18.04, please advise me on how to solve this issue, thanks

Although, it will not cause any problem in Carla installation. But it can be fixed using
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 304F9BC29914A77D && sudo add-apt-repository "deb [arch=amd64 trusted=yes] http://dist.carla.org/carla-0.9.8/ all main"
Before running the above commands, please remove the line deb http://dist.carla.org/carla-0.9.7/ bionic main from your /etc/apt/sources.list file and try again. This should solve your problem.

Although, it will not cause any problem in Carla installation. But it can be fixed using
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 304F9BC29914A77D && sudo add-apt-repository "deb [arch=amd64 trusted=yes] http://dist.carla.org/carla-0.9.8/ all main"
Before running the above commands, please remove the line deb http://dist.carla.org/carla-0.9.7/ bionic main from your /etc/apt/sources.list file and try again. This should solve your problem.

@himanshugoswami  thank you very much, I managed to install 0.9.8 with this modifications. I needed to do the same for installing carla-ros-bridge-melodic

Although, it will not cause any problem in Carla installation. But it can be fixed using
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 304F9BC29914A77D && sudo add-apt-repository "deb [arch=amd64 trusted=yes] http://dist.carla.org/carla-0.9.8/ all main"
Before running the above commands, please remove the line deb http://dist.carla.org/carla-0.9.7/ bionic main from your /etc/apt/sources.list file and try again. This should solve your problem.

@himanshugoswami thank you very much, I managed to install 0.9.8 with this modifications. I needed to do the same for installing carla-ros-bridge-melodic


Typo on page 53 of the PDF Version involving redirection through the Location header field.

Page 53: w.Header.SetSet(“Location”, loginUrl) is accidentally used instead of w.Header().Set(“Location”, loginUrl).
The former generates an error the compiler immediately recognizes and deviates from what was done earlier (& later) in the book. Accordingly, it seems to me to be a minor typo.
This typo was found on the latest version of the book that can be found on O'Reilly's e-book service.

Thanks for reporting. What chapter is this from?

On 23 Mar 2015, at 14:39, Kevin Lozandier<EMAIL_ADDRESS>wrote:
Page 53: w.Header.SetSet(“Location”, loginUrl) is accidentally used instead of w.Header().Set(“Location”, loginUrl).
The former generates an error the compiler immediately recognizes and deviates from what was done earlier (& later) in the book. Accordingly, it seems to me to be a minor typo.
This typo was found on the latest version of the book that can be found on O'Reilly's e-book service.
—
Reply to this email directly or view it on GitHub https://github.com/matryer/goblueprints/issues/7.

@matryer Sorry for not explicitly stating the chapter:  This particular error was found in Chapter 2 regarding implementing OAuth.

Thanks.

On 23 Mar 2015, at 15:45, Kevin Lozandier<EMAIL_ADDRESS>wrote:
@matryer https://github.com/matryer Sorry for not explicitly stating the chapter: This particular error was found in Chapter 2 regarding implementing OAuth.
—
Reply to this email directly or view it on GitHub https://github.com/matryer/goblueprints/issues/7#issuecomment-85055676.

Interestingly, this error isn't in print.


Adding first go at Pytorch Lightning implementation

Will need to update the conda environment to include the lightning package from pip install lightning
There might be other packages that aren't included with lightning by default but I don't recall right now.


Icon/Logo Design Proposal

Hi Sir @fadils  Sir @Meisolsson , Good day! I am a graphic designer and i want to contribute to your awesome project by proposing a new icon/logo design. If you like it i will be gladly sending you the needed files as a gift for free..
Here is the design:

app icons

logotype A

logotype B

if you liked it or you have any additional suggestions just inform me and i will edit it for you.
Hoping a positive feedback and best regards to the project!
-tobaloidee

I like it, looks really good

Thanks for the positive feedback Sir @netflair ,much appreciated.. I'll be readying the files asap if it will be used.

I like it! I'm not sure whether we would want to change the icon colour (and hence the app colour) to be more aligned with the material colours. That's probably cause for a greater discussion though.
Also just to note, this is related to #905.

Even if you picked the one color that you prefer I would still send you all these variations so that you can use it in future purposes.

I will be waiting for you feedbacks Sirs. best regards!

@Tobaloidee For now the orange and the grey would be awesome. The orange one would be used for debug builds.
@veyndan I've created an issue around changing the theming of the app and we can discuss color there. #1225

Okay Sir..i'll stay in touch here until the color has been decided.. :)


Clone throws error

Hi, it seems, that cloning a link doesn't work as expected. Or do I have to prepare the link somehow before cloning?
here is my sample code:
const link = new DefaultLinkModel();
link.clone()

core.js:4442 ERROR TypeError: clone.setPoints is not a function
    at DefaultLinkModel.doClone (link.model.js:53)
    at DefaultLinkModel.clone (base.entity.js:50)

a source port and a target port or a dangling point must be set for the link so it will be a valid link and clonable.
i'm actually working on a major change that will support strict mode for typescript in the entire libraries and storybook.
this will have better null/undefined detection to avoid this sort of issues.
it can be tracked here: https://github.com/Vonage/rxzu/tree/feat/strict-mode

a source port and a target port or a dangling point must be set for the link so it will be a valid link and clonable.
i'm actually working on a major change that will support strict mode for typescript in the entire libraries and storybook.
this will have better null/undefined detection to avoid this sort of issues.
it can be tracked here: https://github.com/Vonage/rxzu/tree/feat/strict-mode


fix test_retrieve_job_uses_appropriate_backend

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 50.224%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3031

Relevant Lines:
6035

💛  - Coveralls


Fix date parsing issue for org mode plugin

Description
This patch fixes the date parsing issue currently when an entry like
todo +d 22 01 2022 is used. I have added tests too which demonstrate
the current issue so that we can prevent future regression.
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded that my fixes work.

[x] I updated the CHANGES.md file

Seems the CI failure is some issue with downloading of hlint and not related to this PR.


feat: add InvalidFitDataError

Closes #655
Summary of Changes
Add InvalidFitDataError and tests

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

v0.27.0
GitHub release

Your semantic-release bot :package::rocket:


intent.GetStringExtra("registration_id") retruns null

I tried to get registration id using below code. but it returns null always. I am using the code in mainactivity.cs file. What is the issue? how can we get registration id?
intent.GetStringExtra("registration_id")

the same for me. any solution ?

@SatMelody
i found the reason. the issue is that from google developer console you should use "Project number
" and nor "Project ID"


List module names from Module Federation Container

This pull request adds a simple convenience function to the Module Federation Container which is called getExposedModules(). With this function the consumer of a remote container will be able to programatically get an array of the names of the modules exposed by the ModuleFederationPlugin instead of having to look through the Webpack configuration of the remote. The function is especially useful if the consumer is not sure which version of a container is deployed and what is actually exposed by it.

What kind of change does this PR introduce?
It provides a convenience function which enables getting the names of the modules exposed by the Module Federation plugin in runtime.

Did you add tests for your changes?
Yes

Does this PR introduce a breaking change?
No

What needs to be documented once your changes are merged?
The new function could be added to the example on this page Dynamic Remote Containers

Thank you. I will see how this can be done


Screenshot feature broken in Chrome

It just opens up about:blank, and in the console it says "Not allowed to navigate top frame to data URL"
So maybe a blob URL would work? You could use FileSaver.js to save it. That way there'd be a reasonable point at which to call revokeObjectURL, and it'd save a step or two in saving the image. (Are there any other use cases? Comparing screenshots over time?)

Right click --> "save image" works fine. Although this should still be fixed

This has been fixed.

This has been fixed.


Configuring GUI toolkits

It would be cool if devenv supported GUI toolkits as they require a bit more setup than simply adding them to packages. For example:
Gtk
{
  toolkits.gtk3.enable = true;
  # toolkits.gtk4.enable = true;
  # toolkits.adw.enable = true;
}

This would:

Add the correct package to packages: gobject-introspection, gtk3, gtk4, and/or libadwaita.
Set the env-var GI_TYPELIB_PATH to ${DEVENV_PROFILE}/lib/girepository-1.0 (or whichever is the correct for girepository)

Qt
{
  # toolkits.qt4.enable = true;
  toolkits.qt5.enable = true;
  # toolkits.qt6.enable = true;
}

This would:

Add the correct packages: eg. qt5.qtx11extras, qt5.qtwayland
Set QT_PLUGIN_PATH to ${env.DEVENV_PROFILE}/${pkgs.qt5.qtbase.qtPluginPrefix}.

There are probably some other steps necessary for this to be a smooth experience but it's as far as I've gotten.

That would be great, PRs are welcome :)


Add function getAskBlockValidity to ChainDB API to replace getIsValid and getIsInvalidBlock.

Description
Extend ChainDB API with a function to replace both getIsInvalidBlock and getIsValid.
Closes #3974.

Checklist

Branch

[x] Commit sequence broadly makes sense
[x] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] If this branch changes Consensus and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If this branch changes Network and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md

Pull Request

[x] Self-reviewed the diff
[x] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[x] Reviewer requested

In today's Planning call, we decided for Bart to try an alternative route: leaving the functions as-is and improving the documentation to better motivate that their shape (Bart had some doubts/concerns about this PR that could motivate leaving the code as-is).


[Coil] Cannot disable cache to force refetching of the image with the same url

Is your feature request related to a problem? Please describe.
Hi! I can't disable a Coil cache strategy. If the url of the image is the same, Coil doesn't load the image again (but images are different). It doesn't matter if I use memoryCacheKey or memoryCachePolicy methods.  I guess, the issue is in rememberCoilPainter, because it doesn't recompose when a new image arrives. To force a recomposition of the Banner I've created the ImageUpdate class, which contains a modification timestamp, that differs every time. But still, nothing happens. Here's my code to display a banner:
data class ImageUpdate(val url: String?, val modificationTimestamp: Long)

@Composable
private fun Banner(banner: ImageUpdate) {
    Timber.e("Banner: $banner")

    val painter = rememberCoilPainter(
        request = banner.url,
        requestBuilder = {
            Timber.e("requestBuilder")
            memoryCacheKey(banner.toString())
        },
        shouldRefetchOnSizeChange = { _, _ ->
            Timber.e("shouldRefetchOnSizeChange")
            true
        }
    )

    Image(
        painter = painter,
        contentDescription = null
    )
}

Here are the logs of the first image request and the following image update (the same url, but different images):
E/BannerContainerKt: Banner: ImageUpdate(url=content://com.file_provider/Banner.jpg, modificationTimestamp=1625232753481)
E/BannerContainerKt$Banner$painter: requestBuilder
E/BannerContainerKt$Banner$painter: requestBuilder
E/BannerContainerKt$Banner$painter: shouldRefetchOnSizeChange
E/BannerContainerKt$Banner$painter: requestBuilder
E/BannerContainerKt: Banner: ImageUpdate(url=content://com.file_provider/Banner.jpg, modificationTimestamp=1625232759917)

Describe the solution you'd like
Please, allow to set a key to the rememberCoilPainter function or make CoilLoader public.

Please raise this on the Coil issue tracker. The Accompanist Coil library is currently in the process of being upstreamed.
/cc @colinrtwhite

@VitaliyDoskoch You can add a parameter to the image request to change its equals/hashCode and force it to be re-executed:
val painter = rememberCoilPainter(
        request = banner.url,
        requestBuilder = {
            Timber.e("requestBuilder")
            memoryCacheKey(banner.toString())
            setParameter("image_update", banner, cacheKey = null)
        },
        shouldRefetchOnSizeChange = { _, _ ->
            Timber.e("shouldRefetchOnSizeChange")
            true
        }
    )

@colinrtwhite Sorry, but this solution doesn't work. requestBuilder is not called, because the recomposition of the painter is skipped.

@VitaliyDoskoch Hmm can you append a fake query parameter to the URL? It's not out yet, but I've made some changes in the upstream version of Accompanist here that will make requestBuilder be re-called.

Sorry for the late response. The new version of coil-kt works just fine, thank you.


Changes to allow for getting most up-to-date __env.

Instead of __env and appInfo being consts, source them from the most up-to-date versions.
Only use directly imported lodash functions.
Tested with Pelican and it worked, but review closely since the changes are very spread out.

:+1: looks good

Still looks good :+1: :+1:


Annotations in TraitDefinition outputs are overwritten

Describe the bug
The annotations in TraitDefinition outputs now will be overwritten once the Application is created.
To Reproduce

Purely install kubevela following Official Docs
Modify the build-in ingress.yaml traitdefinition, add an annotation konghq.com/override in the outputs:service section:

        // trait template can have multiple outputs in one trait
        outputs: service: {
          apiVersion: "v1"
          kind:       "Service"
          metadata:
            name: context.name
            annotations:
              "konghq.com/override": "foo"
          spec: {
            selector: {
              "app.oam.dev/component": context.name
            }
            ports: [
              for k, v in parameter.http {
                port:       v
                targetPort: v
              },
            ]
          }
        }

Apply the demo Application from Quick Start:

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  generation: 1
  name: first-vela-app
  ...
  namespace: default
spec:
  components:
  - name: express-server
    type: webservice
    properties:
      image: crccheck/hello-world
      port: 8000
    traits:
    - type: ingress
      properties:
        domain: testsvc.example.com
        http:
          /: 8000

Expected behavior
The annotation konghq.com/override: foo should appear in the Service object. But it didn't work as expected.
Screenshots

Cluster information

OKD version 4.7
Kubernetes Version [v1.20.0+5fbfd19-1046]

Additional context
Seems like kubevela will patch the annotations after creating the output objects.

This was caused by a wrong cue grammar, fields must be included in braces or they will be seen as the same hierarchy as the parent field.
This works as expected:
        outputs: service: {
          apiVersion: "v1"
          kind:       "Service"
          metadata:
            name: context.name
            annotations: { // this should have braces
              "konghq.com/override": "foo"
            }
          spec: {
            selector: {
              "app.oam.dev/component": context.name
            }
            ports: [
              for k, v in parameter.http {
                port:       v
                targetPort: v
              },
            ]
          }
        }

https://kubevela.io/docs/platform-engineers/debug-test-cue i think the  dry-run command could help next time

I did use dry-run command, but it printed out the correct outputs even though I used the wrong grammar.
The cue template:

The dry-run output:

That made me think that there was nothing to do with the cue template till I tried to add braces on it and found the changes.
May this be a bug with dry-run command or the controller ? I think the result of them should be consistent.
We can do more investigation about this. @wonderflow

I tried your example, it turned out:
apiVersion: v1
kind: Service
annotations:
  konghq.com/override: foo
metadata:
  labels:
    app.oam.dev/appRevision: ""
    app.oam.dev/component: myweb
    app.oam.dev/name: application-sample
    trait.oam.dev/resource: service
    trait.oam.dev/type: myingress
  name: myweb
spec:
  ports:
  - port: 80
    targetPort: 80
  selector:
    app.oam.dev/component: myweb

The annoutations is out of the metadata. The dry-run command is right.


Add CCExtractor as Silver Sponsor

Thank you @canihavesomecoffee for sponsoring the PEP 8 Speaks! I have added the details of @CCExtractor as you requested.

:+1:


Asio improvements

Adding a run_async option for the glz::asio_server and simplifying the stop() method (removing unnecessary thread).

Note that MSVC build is broken due to an MSVC bug in 17.12.1 that I reported and was fixed last night, but has not been released yet.


comment.replies not working consistently

This will probably be really vague and not helpful to debug, bug earlier I was able to get the Listing of comment replies from a Comment with the_comment.replies but now it returns an empty listing. The comments I'm applying it to very definitely has replies, so I'm not sure what to do. The replies method also isn't documented unfortunately.

reload works! Thanks so much.

Hi @avinashbot, any updates on this? I'm having a similar issue on master and reloading the comment doesn't fix it.


Add support for offline sync in the Cordova quickstart

By default, the QS will use online tables
useOfflineSync can be set to true to switch to local tables.

@adrianhall for reviewing.

LGTM.


change default branch to 'feature/first-commit'

Hello!
change default branch to 'feature/first-commit' please

Hi, @mibamur .
I checked 'feature/first-commit branch, so I merged to the Master branch.


Junit Formatter not working with 'puts' and 'Cucumber.logger':  section is empty

This is same issue reported at the https://github.com/cucumber/cucumber-ruby/issues/1192
The feature introduced in 847848f (see also #258) does not seem to work with puts, but it does with print.
Given a feature file like this:

Feature: asd

  Scenario: write to stdout
    Given I write to stdout something
And a step definition like this:

Given(/^I write to stdout (\w+)$/) do |string|
  puts string
end
When I run cucumber --format junit --out out
Then the JUnit report should contain "something" inside the CDATA section of <system-out>

But actually it's empty:
$ cat out/TEST-features-asd.xml
<?xml version="1.0" encoding="UTF-8"?>
<testsuite failures="0" errors="0" skipped="0" tests="1" time="0.014794" name="asd">
<testcase classname="asd" name="write to stdout" time="0.014794">
  <system-out>
    <![CDATA[]]>
  </system-out>
  <system-err>
    <![CDATA[]]>
  </system-err>
</testcase>
</testsuite>

But if I run cucumber --format junit --out out --format pretty, I can see "something" printed on the console:
$ cucumber --format junit --out out --format pretty
Feature: asd

  Scenario: write to stdout           # features/asd.feature:3
    Given I write to stdout something # features/step_definitions/stdout.rb:1
      something

1 scenario (1 passed)
1 step (1 passed)
0m0.017s

If I replace puts with print the JUnit formatter works as well.

If you're working with cucumber5 this is by design. Can you confirm which version of the gem you're using.

If you're working with cucumber5 this is by design. Can you confirm which version of the gem you're using.

cucumber (3.1.0)

@ShubhraGoyal could you try using cucumber5 and using the new log method? See if this works.
I appreciate this might be tricky (As it's 2 major versions bumped), but v3.1 of cucumber is quite old.


fun error pages

Error pages can be funny and awesome. We should make some!
for example: https://rorganize.it/sd

update: we must use the word 'combobulating'


[JOSS Review] Broken functionality documentation link

Documentation link is broken in README.md. Please fix it and provide working link so I can review the docs.
JOSS Review

Need to check settings in gitlab-ci.yml:

[ ] COVERAGE_TYPE
[ ] EXAMPLE_CONVERTER_CONFIG
[ ] template links for gitlab-ci pages
[ ] template links for coverage
[ ] Update links in readme.md


Websockets on cart page

Requires #1040 so merge that first.
This adds websocket-based removal of samples and processed data on the selected samples cart page. It also moves the analysis creation to that page as well.

Woops, pointed at master.


Hash (and everything after) in .gitmessage is missing in "Source Control" pre-filled message

VSCode Version: 1.38.0
OS Version: Ubuntu 18.04.3 LTS

Steps to Reproduce:

Write message #issue in file ~/.gitmessage

Open VSCode in a project that is linked to git
Open "Source Control" section
The pre-filled message is only "message " (the hash and everything after is missing)

Does this issue occur when all extensions are disabled?: Yes
The whole message was displayed correctly in the previous VSCode version.

Broken by https://github.com/microsoft/vscode/pull/71710


Find more clear way to use "environment variables"

Sometimes it useful to use environment variables in component examples. For example if your components loads some data from external resources using XHR.
Now it implemented in this way
Sure we could find a more clear way to do it and maybe avoid global variable - window._showroom

Found. It can be implemented through

Serve env.js file

Load this file to html page


KeyError exception when searching through API

Swimlane 2.15.3-228395
Python API 2.16.0
Exception for an invalid key occurring when searching through the API
File "/anaconda/lib/python3.6/site-packages/swimlane/core/adapters/record.py", line 76, in search
return list(report)
File "/anaconda/lib/python3.6/site-packages/swimlane/core/cursor.py", line 10, in len
return len(list(self._evaluate()))
File "/anaconda/lib/python3.6/site-packages/swimlane/core/cursor.py", line 54, in _evaluate
element = self._parse_raw_element(raw_element)
File "/anaconda/lib/python3.6/site-packages/swimlane/core/resources/report.py", line 75, in _parse_raw_element
return self._app.records.get(id=raw_element['id'])
File "/anaconda/lib/python3.6/site-packages/swimlane/utils/init.py", line 114, in wrapper
return func(*(args + values.popitem()))
File "/anaconda/lib/python3.6/site-packages/swimlane/core/adapters/record.py", line 25, in get
return Record(self._app, response.json())
File "/anaconda/lib/python3.6/site-packages/swimlane/core/resources/record.py", line 48, in init
self.__premap_fields()
File "/anaconda/lib/python3.6/site-packages/swimlane/core/resources/record.py", line 100, in __premap_fields
field_instance.set_swimlane(value)
File "/anaconda/lib/python3.6/site-packages/swimlane/core/fields/usergroup.py", line 17, in set_swimlane
return super(UserGroupField, self).set_swimlane(value)
File "/anaconda/lib/python3.6/site-packages/swimlane/core/fields/base/multiselect.py", line 92, in set_swimlane
return super(MultiSelectField, self).set_swimlane(value)
File "/anaconda/lib/python3.6/site-packages/swimlane/core/fields/base/field.py", line 95, in set_swimlane
return self._set(self.cast_to_python(value))
File "/anaconda/lib/python3.6/site-packages/swimlane/core/fields/usergroup.py", line 24, in cast_to_python
value = UserGroup(self.record._swimlane, value)
File "/anaconda/lib/python3.6/site-packages/swimlane/core/resources/usergroup.py", line 25, in init
self.name = self._raw['name']
KeyError: 'name'

Thanks for opening these issues, we've pulled them into our internal tracker and will be closing them here. Please open any future issues through Swimlane's support portal at https://support.swimlane.com/


Jvm/SLF4J uses class name instead of tag when logging

I have a logger initialized like val log = logging("Server"), but it does not output using the Server tag, but the classname which is ServerService.
Logs changed from 22:33:15.129 [DefaultDispatcher-worker-10 @coroutine#29] INFO/Server: to 22:33:15.129 [DefaultDispatcher-worker-10 @coroutine#29] INFO/ServerService$2$1$8: after switching my chosen kotlin multiplatform logging framework.

I have changed (in v1.2.0) to using the tag as the classname in SLF4J. If you are using a SLF4J config file you will want to also use the tag name in the config file as the class name.


MJAVADOC-485 Upgrade to commons-lang3

Patch for https://issues.apache.org/jira/browse/MJAVADOC-485

Commons-lang 2.6 SystemUtils.JAVA_VERSION_FLOAT is also broken with Java 9 and the new versioning scheme, which directly affects the plugin. The drawback to this change is that it introduces two commons-lang dependencies in the classpath: the new org.apache.commons:commons-lang3:3.6 and commons-lang:commons-lang:2.6 as a transitive dependency. This can quickly lead to confusion while developing, even if the package is not the same.
Can you also update the PR to exclude commons-lang as a transitive dependency of doxia-site-renderer?


Use ignition instead of cloud-init for Gardener feature where applicable

What would you like to be added:
Instead of using cloud-init we'd like to use ignition for Gardener images where applicable.
Why is this needed:
In Garden Linux we hardly use any of the features provided by cloud-init. ignition appears to be more lightweight and does not require a full python runtime on the node.

can ignition be really udev triggered ?!

@marwinski @MrBatschner: is this still a relevant request from Gardener?


registration: Stop enqueueing to the signups queue.

c2526844e9d66774526a16e43fff0f0c1981d9bd removed the signups queue
worker, and the command-line tool that enqueues to it -- but not the
automated process that enqueues during signups itself.
Remove the signup, since it is no longer in use.

lgtm, feel free to merge once CI passes.

lgtm, feel free to merge once CI passes.


PR: Improve drag & drop out of file explorer plugin

Description of Changes
We discovered issues with drag & drop out of the file explorer plugin, both on Linux (GNOME) and Windows. This PR improves (fixes) drag & drop out of the the file explorer plugin.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct:
rear1019

Hello @rear1019! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/explorer/widgets/explorer.py:

Line 868:80: E501 line too long (92 > 79 characters)


Is it possible to merge the code with Huggingface?

Dear developers, thanks very much for sharing this project, which helps me to run an LLM on my single-GPU machine efficiently. As Huggingface also offers a range of Transformer-based pre-trained models, is it possible to merge this lighting package with huggingface tools?

Hey @richardsun-voyager, what would be your ideal integration?
In the spirit of keeping things simple and clear we are not currently planning to integrate with the Transformers library. Our goal is not to support many different models, but rather to provide a clean and efficient codebase on the one model we support per repository.
Note that you can import HF weights into lit-llama using https://github.com/Lightning-AI/lit-llama/blob/main/scripts/convert_hf_checkpoint.py
Howto here: https://github.com/Lightning-AI/lit-llama/blob/main/howto/download_weights.md

Hi Lantiga

Hey @richardsun-voyager, what would be your ideal integration?
In the spirit of keeping things simple and clear we are not currently planning to integrate with the Transformers library. Our goal is not to support many different models, but rather to provide a clean and efficient codebase on the one model we support per repository.
Note that you can import HF weights into lit-llama using https://github.com/Lightning-AI/lit-llama/blob/main/scripts/convert_hf_checkpoint.py
Howto here: https://github.com/Lightning-AI/lit-llama/blob/main/howto/download_weights.md

Hi @lantiga,
Thanks very much for your reply! Now, I am clear about how to implement your code on my machine. Hope my question won't offend you as it conflicts with your idea.


When hosts configured incorrectly, causing problems not connect services

Mainly to solve the following problem:
I have two machines, machine name and ip as follows:
           ip                             hostname
<IP_ADDRESS>                         host11
<IP_ADDRESS>                         host12

I start gremlin-server on <IP_ADDRESS>, and then access on <IP_ADDRESS>.
But for some reason, the hosts file on the <IP_ADDRESS> is not configured correctly, as follows:
<IP_ADDRESS> host33
So I'm on the <IP_ADDRESS>, it will report an error when accessing the gremlin-server. My statement is as follows access
  Builder builder = Cluster.build ( "<IP_ADDRESS>");
  Cluster cluster = builder.create ();
  Client client = cluster.connect ();
  ResultSet results = client.submit ( "[1,2,3,4]");
  results.stream () forEach (System.out :: println).;

It reported the following error:
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out waiting for an available host.
at org.apache.tinkerpop.gremlin.driver.Client.submit (Client.java:146)
at org.apache.tinkerpop.gremlin.driver.Client.submit (Client.java:130)
at com.okuc.graph.hello.remote.main (remote.java:27)
Caused by: java.lang.RuntimeException: java.util.concurrent.TimeoutException: Timed out waiting for an available host.
at org.apache.tinkerpop.gremlin.driver.Client.submitAsync (Client.java:194)
at org.apache.tinkerpop.gremlin.driver.Client.submitAsync (Client.java:174)
at org.apache.tinkerpop.gremlin.driver.Client.submit (Client.java:144)
... 2 more
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for an available host.
at org.apache.tinkerpop.gremlin.driver.Client $ ClusteredClient.chooseConnection (Client.java:342)
at org.apache.tinkerpop.gremlin.driver.Client.submitAsync (Client.java:189)
... 4 more

i think there's something wrong with this PR - see the commits?

I'm very sorry for it, I do not know why it is like this, I was a novice. I merely note ‘Files changed’ is correct. Could you tell me, I might be doing something wrong there，thank you?

looks like you merged 'master' into 'tp31 as part of this.....see the last commit listed - maybe that's what this is.

Yes, you are right. I really did.
You let me in #257 re-submitted to the tp31 branch, so I merged  master branch  into thetp31 branch, and then submitted.
Now how can I do, how to restore this error?
In addition, I would like to know, is the right way how to do it?
Very sorry to bother you.

in this specific case of "retargeting to tp31" you should have just probably cherrypicked your commit from your master to your tp31 branch and then re-issued your pull request to our tp31. undoing this mess is beyond the scope of what i can offer as help here, but merging master into tp31 is the exact opposite direction our merge flows goes.
The "right way" to offer PRs to TinkerPop is to first create an issue in JIRA:
https://issues.apache.org/jira/browse/TINKERPOP/
It is in there or through discussion on the dev mailing list that you can communicate with core developers on the project about which branch it should target. Then  you should likely create a branch in your fork from the TinkerPop branch you intend to target and do your work in there.  Finally, issue your PR and await review. More information on this process is outlined in the developer docs:
http://tinkerpop.apache.org/docs/3.1.1-incubating/dev/developer/#_contributing

I have re-checked out branch tp31, and modify the good. But I can not use the following command "mvn clean install && mvn verify -pl gremlin-server -DskipIntegrationTests" package through, so it is not submitted, would like to ask, tp31 branch can not compile package, it is normal?

are you asking why you can't do mvn package? i think it has something to do with gremlin-shaded which binds to later maven events to properly work.

I mean, I use the following command, always build unsuccessful：
mvn clean install && mvn verify -pl gremlin-server -DskipIntegrationTests
errors：
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project gremlin-server: Compilation failure: Compilation failure:
[ERROR] /D:/MyGit/incubator-tinkerpop/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/auth/SimpleAuthenticator.java:[27,19] 程序包org.mindrot不存在
[ERROR] /D:/MyGit/incubator-tinkerpop/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/auth/SimpleAuthenticator.java:[141,14] 找不到符号
[ERROR] 符号:   变量 BCrypt
[ERROR] 位置: 类 org.apache.tinkerpop.gremlin.server.auth.SimpleAuthenticator
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Is this project not compiled in win10?  or
I still have not configured the environment variables?

I don't know - as far as i know mvn clean install should work at a minimum. Try the running the windows profile maybe:
https://github.com/apache/incubator-tinkerpop/blob/58f912b1199cb5ee99c3a45f28343c01a19312da/pom.xml#L1039-L1077
Note that even that is not perfect. A fully functioning windows build is still under development. If you can help there that would be great: #244

@okuc do you plan to return to correct this pull request? or can we close it? I'm still not completely following what you intended to fix here and without knowing if all the tests work, it is hard for me to properly evaluate this work.

I've just closed this as there has been no activity on it in several weeks and as stated earlier, I can't really ascertain the nature of this PR in the state it is in now.


LDAP VM does not require python-pip (or epel)

When building the VMs on Friday, I encountered some errors with selecting a mirror for the epel repository. Ultimately, I noticed that the LDAP VM doesn't actually depend on python-pip, which was the only reason we were installing epel. This removes them both.

I'll wait until we have the test suite running (especially connection and LDAP tests) before merging this.


ODIS Remove Timestamp Validation

Remove timestamp check from input validation.
Remove timestamp column for the replay check query

Duplicate to #7781


targets mips/mips64 - api lvl 21 - ndk r10e

As in the title, added support for targets mips/mips64, api level 21, ndk r10e.

Thank you. Applied with minor fix: https://github.com/ruslo/polly/commit/fbec89ee36a559418238e8426b2c280bf78c2fbc
In fact it will not produce any errors, just keep it constistent.


s3 action

It would be nice to backup ipa file on s3.

You mean something like the s3 action? https://github.com/KrauseFx/fastlane/blob/master/docs/Actions.md#aws-s3-distribution

yes, thanks.


onSocketWriteResponse not getting called

In ComplexDemoActivity socket is getting connected and message is got received by the server but when server sends the message the onSocketWriteResponse method is not getting called. Please help

First, I must be sure you are using the client AAR.
Second, The onSocketWriteResponse  method be called when you send a message successfully. not be called when server feedback.
If you want to receive a message from the server, you should overwrite the onSocketReadResponse method, and it will be called when the server sends a message to you.
Hope helpful!

@xuuhaoo sorry i am not getting what is AAR client? also onSocketWriteResponse
is getting called when i am sending the message to server but onSocketReadResponse is not getting called when server sending back the message. Please help.


Initial setup of QA pre-commit tools [cf-units]

🚀 Pull Request
Description
Added following pre-commit hooks:

Extra "default" hooks from pre-commit (trailing whitespace, etc)
MyPy
codespell
validate_pyproject
numpydoc

sp-repo-review was already setup for cf-units, but have updated the ignore list as various tests now pass.
ruff was enabled, but with only selected tests. Have enabled "all"  tests.
For all QA tools above, the results of any "auto-fixes" have been included in this repo, mainly fixes for:

trailing whitespace
missing newline at end of file
docstring reformatting
some code style linting from ruff

All other failing tests have been added to ignore lists. See separate issues:

#520
#521
#462

@pp-mo I Have resolved the issues I was having with pre-commit.ci.
I managed to reproduce the pre-commit.ci behaviour on my personal laptop which gave me a chance to investigate the issue.
I have reinstated the PY005 check ("has test folder") to the to [tool.repo-review] ignore list.
The MyPy behaviour was more difficult to debug. It turns out that adding files to the MyPy exclude list only stops them being passed as filenames to the MyPy call. However, these will still be checked if they are imported from some other module that is being checked.
There is a flag that can be passed to stop this --follow-imports=silent, but this is not supported via pyproject.toml.
However, I've found it can be set using the following too MyPy section:
[[tool.mypy.overrides]]
module = [
        "cf_units/_udunits2_parser/parser.*",
        "cf_units/_udunits2_parser/_antlr4_runtime.*",
]
ignore_errors = true

The combination of the above fix the errors on my personal laptop and the pre-commit.ci service, so this is ready for review now.
I don't know why the behaviour is different on the MO VDIs though (pre-commit and hook version numbers are same!)

--follow-imports=silent, but this is not supported via pyproject.toml

I don't think turning this totally off is a good idea, anyway.
Your fix to exclude certain files seems better to me.

You should also create some PRs to track unfinished business. Suggest one each for :

I've already created Issues for these (not PRs), see links in description

re-order pre-commit entries based on [updated tempate file]

(https://github.com/SciTools/.github/pull/29)  : (can do this one right now)
Done; see d831bfb

Right - D212 is back in the Ruff select list after ALL.
Hopefully this is everything that is needed now for this PR.


Blocks representing deleted files in the 3D view are displayed outside of the main area

Screenshot:

Can I close an issue when it is fixed but not yet in the main codebase?

We generally close an issue when the fix is merged into master.

What's the progress on this issue?

This issue is fixed in the linked PR.


Handle short in PropertyElf

When the dataSource class has a method setX(short Y) then PropertyElf did not handle this case. Added similarly to int/long/boolean handling. Added tests.

Hi, is there something that I should do, so you could merge this? :)

@freafrea which datasource method are you invoking which uses short?

I have a jdbc driver in which setPort has signature void setPort(short port). It is an old one, but I still have to use it.


Added execution environment file

It will be used to build container images using ansible-builder.

Currently failing with following error
+ /usr/bin/microdnf install -y --nodocs --setopt install_weak_deps=0 gcc gcc-c++ gettext git gzip iptables libffi-devel libselinux-python3 libsemanage-python3 openssl-devel podman python3-devel python3-devel python3-dnf python3-libselinux python3-libsemanage python3-pyyaml python3-rpm python38-pytz python38-pyyaml python38-requests
error: No package matches 'python38-pytz'
Error: building at STEP "RUN /output/install-from-bindep && rm -rf /output/wheels": while running runtime: exit status 1

On switching to EE_BASE_IMAGE: 'registry.redhat.io/ansible-automation-platform/ee-minimal-rhel8:2.14.2-3', the make build_ee success-ed.
Current Issue:
❯ podman run -it 8fbd6a1bed75 bash
/usr/bin/edpm_entrypoint: line 5: /runner/env/settings: Permission denied
bash-4.4$ ls -lrt
total 0
drwxrwxr-x. 1 root root  0 Feb  2 20:38 project
drwxrwxr-x. 1 root root  0 Feb  2 20:38 inventory
drwxrwxr-x. 1 root root  0 Feb  2 20:38 artifacts
drwxrwxr-x. 1 root root 16 Mar  2 05:14 env

@raukadah during these months we've seen that Dockerfile is the accepted way to build ansibleee container images both upstream and downstream. I guess we can close this PR, we can open a new one in the future if we need to switch to ansible-builder.


Add accountable safety responses methods

This adds the methods described in https://github.com/paritytech/finality-grandpa/issues/10#issuecomment-473811508

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   88.27%   88.27%
=======================================
  Files          10       10
  Lines        2481     2481
=======================================
  Hits         2190     2190
  Misses        291      291

Impacted Files
Coverage Δ

src/lib.rs
84.04% <ø> (ø)
:arrow_up:

src/voter/mod.rs
83.21% <ø> (ø)
:arrow_up:

src/testing.rs
89.94% <100%> (ø)
:arrow_up:

src/voter/voting_round.rs
78.01% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Pushed a commit to merge master and fix conflicts.

Closing for the moment.


[Feature] Introduce BanyanDB Exclusive feature menu and support different TTLs between minute and hour/day metrics.

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
With BanyanDB iteration, we are going to introduce more features on BanyanDB exclusively. Because BanyanDB is designed natively for SkyWalking runtime.
BanyanDB TTL would be the first override mechanism regardless of core TTL setup.
Use case
This kind of feature is going to be more. FYI @apache/skywalking-committers
Related issues
No response
Are you willing to submit a pull request to implement this on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

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

The menu should be just after the advanced feature. We could put all incoming exclusive features in this part.

BanyanDB TTL would be the first override mechanism regardless of core TTL setup.

About the details of this override, I would suggest providing HigherScalesMetricsTTL configuration.  By default, this should be the same as the core TTL setup and only served as an advanced feature.

Supported. Doc has been updated. https://skywalking.apache.org/docs/main/next/en/banyandb/ttl/


test: Fix machine-image-upload.spec.ts test failures

Description 📝

Fixes failures on machine-image-upload.spec.ts
I believe these tests started failing because the new Image Service backend logic went GA, which caused our test accounts to now be opted into the new Image UI

Preview 📷

Before
After

How to test 🧪

Run the machine-image-upload.spec.ts test using yarn cy:debug

As an Author, I have considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿  Providing accessibility support

[ ] I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

[ ] All unit tests are passing
[ ] TypeScript compilation succeeded without errors
[ ] Code passes all linting rules

Thanks for fixing this ✅

@pmakode-akamai I checked it locally and wasn't able to reproduce a crash. I believe our test accounts all have the EU agreement agreed to, so it shouldn't be an issue for our pipeline.


Selected tile description CSS needs updating

When setting the '_selected' property of a tile that contains a 'description' attribute, it looks like this:

The background colour of the following element should be the same as the background colour set by the 'selected' class:

Closed issue as it belongs in the app-engine fork.


Error When C++ include in CustomModuleMap

In rules_ios/tests/ios/frameworks/mixed-source,  I try to make B.h public and I write #import “B.h” in CustomModuleMap.h,  comes this error:
:1:9: note: in file included from :1:
#import "Headers/CustomModuleMap.h"
^
/private/var/tmp/_bazel_henry/e11db709b1242b3b39803cbacd605f76/rules_xcodeproj.noindex/build_output_base/execroot/main/custom-module-map/Sources/CustomModuleMap.h:2:9: note: in file included from /private/var/tmp/_bazel_henry/e11db709b1242b3b39803cbacd605f76/rules_xcodeproj.noindex/build_output_base/execroot/main/custom-module-map/Sources/CustomModuleMap.h:2:
#import "B.h"
^
/private/var/tmp/_bazel_henry/e11db709b1242b3b39803cbacd605f76/rules_xcodeproj.noindex/build_output_base/execroot/main/custom-module-map/Sources/B.h:3:10: error: 'vector' file not found
#include
What should I do to solve it ? Thx.

Can you post the git diff from your changes to the example and the bazel build or bazel test command to replicate the failure you're seeing?


Support map datatype on copy to command

Simple implementation to add MAP datatype on COPY TO

Closed because we are moving to a parquet writer with compression.


use(ip()) causes typescript to not recognize the param types

After installing the plugin and using it like use(ip()),
the typescript engine is complaining that in route handling .get("/id/:id", ({ params: { id } }) => id), id has type any.
The same goes for other params as well: .onError(({ code, error }) => {     return new Response(error.toString());   });, code and error have type any
My Elysia version is 0.8.8 and I am using version elysia-ip 0.0.5

Sorry this is my bad. I did not notice that it was complaining Could not find a declaration file for module 'elysia-ip'.
The whole error looks like this:

The types error has been fixed. Please upgrade to version 0.0.6 for the fix


Speaker page copyedits

:heart_eyes: @kmanion Thanks for your work on this! I have a few questions about capitalization, but otherwise I think this can be merged.

@khjrtbrg Explaining my thinking on capitalization: @strand mentioned that he wanted all the talk titles to have consistent capitalization, and for the rest I was going with proper nouns should be capitalized and common nouns (e.g. job titles, other words) shouldn't be.But feel free to revert some of my changes. I'm not married to anything. Mainly editing for consistency across speaker bios, abstracts, etc.

@kmanion Cool, that makes sense. I capitalized "Non-Violent Communication", but left the rest the same. We can revisit if needed in the future!


const sized arrays with const value indexes

idea for syntax:
carr [name] [size] [default value]
carr [name] [size]
rcarr [name] [index] -> [target]
wcarr [name] [index] <- [source]

carr ... const array
rcarr ... read const array
wcarr ... write const array

IDEA FOR ARRAYS
structure:
0 size-i xi size-i xi size-i xi size-i xi ... 0 0
meaning:
00 FF 69 FE 42 FD 5e ... 00 00
to generalise:
00 ID VA ID VA ... VA 00 00
id ... index
va ... value
?i ... target index

steps:

for every ID: ID -= ?i
move to first ID (stop tracking pointer position)
whilenotzero: move 2 to the right --> ptr at ID of desired value
do whatever is desired
move 2 to the left until initial 00 before 1. ID is reached
move 1 to the right (continue tracking ptr position)
reset IDs in array
done :3


Instructions to run the code

Hi! It looks like we're trying to solve a similar problem. I'm new to poetry, is it possible to add a few instructions to the README to get it up and running?

Sure! I'll see what I can do. I need to get back in here when I get time to clean things up. 😉


Text to Speech Audio volume getting decreased after config the Speech to text

Describe the bug
Text to Speech Audio volume getting decreased after config the Speech to text
To Reproduce
Steps to reproduce the behavior:

Text to speech config.
SPXSpeechConfiguration
SPXSpeechSynthesizer
SPXSpeechSynthesisResult
Speech to Text(From microphone) config.
SPXSpeechConfiguration
SPXSpeechRecognizer
SPXSpeechRecognitionResult
First, I called Text to Speech config for speech some text -> After I have configured the Speech to Text(from the microphone).
After the above step, if I called Text to speech means, the audio volume is getting decreased.

@Selvaraj314 Thanks for reaching out. We will investigate this issue. As a workaround, you can control the playback by your self now.

@Selvaraj314 Which platform you are using, Windows, Linux, Android, iOS, Mac ?

iOS(Swift) @jhakulin

@yulin-li Is there a work item about this on the backlog? Please update.

@pankopon this work item is in my backlog

Closing this item as there's now a task on the team's backlog. We will update the issue when a Speech SDK release with a fix is available.

I can also reproduce, @jhakulin @pankopon we suspect it is caused by the AEC(Echo Cancellation) of the iOS system.
May I have the final result of your backlog, is it resolved?


Remote Logging like Logstash (hashtag736)

Hi Project Owner,
Loguru is an awesome project. I was able to solve all my logging problems with loguru.
Soon I'll be running my own set of servers, so I would like to log all the logs from multiple nodes to a central location in my local LAN.
Can you give me an example on how to log to a ELK Stack - Logstash application or write to a remote file or folder in master node ?
Thanks in advance for the help

Using filebeat is a more common practice in my opion.

Sorry   I can't help you with such a task because I'm not knowledgeable about Logstash.
Loguru works with any function as a sink, so surely you should be able to design an appropriate handler.
The closer I can think of is this snippet in the documentation: [Sending and receiving log messages across network or processes](

Using filebeat is a more common practice in my opion.

Thank you  , that's exactly what i wanted. That helps a lot. Have a great day.

Sorry  I can't help you with such a task because I'm not knowledgeable about Logstash.
Loguru works with any function as a sink, so surely you should be able to design an appropriate handler.
The closer I can think of is this snippet in the documentation: [Sending and receiving log messages across network or processes](

Thank you  . Now i have a good idea on how to get the central logging done.


Fix possible use after free in mrb_class_find_path

mrb_class_find_path resolves a char* pointer to a class name string
by calling mrb_class_name. It then allocates a new string with
capacity 40 to copy that char* into.
https://github.com/mruby/mruby/blob/e04184185ab43b94980550e850d8813a415fa438/src/variable.c#L1111-L1112
mrb_class_name resolves the class name via class_name_str, which
returns an mrb_value with type tag MRB_TT_STRING and backed by an
RString*. Then mrb_class_name extracts the RSTRING_PTR:
https://github.com/mruby/mruby/blob/e04184185ab43b94980550e850d8813a415fa438/src/class.c#L2133-L2134
That RString*-backed mrb_value ultimately comes from mrb_class_path
which resolves the string from the symbol table:
https://github.com/mruby/mruby/blob/e04184185ab43b94980550e850d8813a415fa438/src/class.c#L2111
The allocation of the target str after resolving the class name
mrb_value and extracting its pointer is fragile and assumes the
RString* is "static". If the RString* is not static, the
interleaving of extracting the RSTRING_PTR followed by a subsequent
allocation might result in the class name mrb_value being garbage
collected, which will leave the extracted pointer invalid.
Fix this bad interleaving by allocating the destination string first
before taking a raw pointer to an RString*.

I believe this is exploitable because mrb_str_dup is a plausible path to get an RSTRING_PTR which will always be heap allocated:
https://github.com/artichoke/artichoke/blob/7bf3f033e020dd60f4b5fd5974dcb19af2617f6d/artichoke-backend/vendor/mruby/src/class.c#L2127

Thank you for finding this issue!

@matz I don't think I actually fixed this issue. Now if the call mrb_str_dup causes a GC then the previously allocated buffer with capa = 40 might be GC'd.
I think the proper fix is to set the arena index at the beginning of mrb_class_find_path. What do you think?

I can't imagine a situation where a string pointer is invalidated by the occurrence of a GC.
Unless it is an "inline symbol", the string pointer to the symbol comes from the ROM section or is allocated in the heap which is kept until mrb_close().
Therefore, I find it hard to believe that the string object created by mrb_sym_str() called by mrb_str_new_static() is destroyed, resulting in the string pointer also becoming invalid.
Also, new string objects created by mrb_str_new_static() are registered in the GC arena by mrb_obj_alloc().
So I also don't understand why the object is destroyed in the middle of processing.
The same goes for mrb_str_dup().
Am I missing something?


[Bug]: Functions registered with 'runtime:onGracefulStop' are being executed when Ballerina main panics

Description
The panics will terminate the program abruptly. So they will not start the graceful shutdown sequence. Anyway currently even a panic in the main allows to execute the functions which are registered with runtime:onGracefulStop at the end.
Steps to Reproduce
Run the following code: Foo.bal
import ballerina/lang.runtime;
import ballerina/io;

public function main() returns error? {
    io:println("main called");
    panic error("error from main");
}

function init() {
    runtime:onGracefulStop(stopHandler);
}

public function stopHandler() returns error? {
    io:println("stopHandler called");
}

output:
main called
error: error from main
        at Foo:main(Foo.bal:6)
stopHandler called

Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

The current implementation uses jvm shutdownhooks to register stop-handler functions. And Runtime.getRuntime().exit(1) has been used to exit the program when there is a panic, which is trigger the shutdownhook also. So above behavior is expected in the current design.
According to the spec, panic would be an abrupt termination which kills the program forcibly. In that case the shutdown sequence should not be triggered. For that purpose, Runtime.getRuntime().halt() method can be used to forcibly terminate the running JVM.

Btw, in Java, the shutdown sequence is called for the RuntimeException cases.


Implement build rules for includes

See #16.
The following files need to be generated:

includes/ghcautoconf.h Done: 6b7b9cc.
includes/ghcplatform.h Done: 8c32f2c.
includes/ghcversion.h: WIP @angerman.
includes/dist-derivedconstants/header/DerivedConstants.h Done: c6cfb36.
includes/dist-derivedconstants/header/GHCConstantsHaskellType.hs Done: c6cfb36.
includes/dist-derivedconstants/header/platformConstants Done: c6cfb36.
includes/dist-derivedconstants/header/GHCConstantsHaskellWrappers.hs Done: c6cfb36.
includes/dist-derivedconstants/header/GHCConstantsHaskellExports.hs Done: c6cfb36.

Please add other includes files that need attention to the above list.

As the first step I improved the infrastructure we have for generated files: now generators live in directory Rules/Generators/ and we track changes in them. The relevant commit: 8c3022d.

We can now generate includes/ghcautoconf.h :6b7b9cc.

Going to give this a try shortly.

On Dec 26, 2015, at 11:06 AM, Andrey Mokhov<EMAIL_ADDRESS>wrote:
We can now generate includes/ghcautoconf.h :6b7b9cc.
—
Reply to this email directly or view it on GitHub.

Now we are missing `includes/ghcplatform.h" :-)

@angerman Done :-) See 8c32f2c.
That's probably enough for today. The next one is includes/ghcversion.h. I'll work on it tomorrow unless anyone picks it up earlier.

Ha, I was just going to give this a try. Well done! I’ll see if I can get includes/ghcversion.h then :D

On Dec 26, 2015, at 11:43 AM, Andrey Mokhov<EMAIL_ADDRESS>wrote:
@angerman Done :-) See 8c32f2c.
That's probably enough for today. The next one is includes/ghcversion.h. I'll work on it tomorrow unless anyone picks it up earlier.
—
Reply to this email directly or view it on GitHub.

@angerman Thanks! All infrastructure is in place, so this should be fairly straightforward, but a bit tedious.

Another file to generate: includes/dist-derivedconstants/header/GHCConstantsHaskellExports.hs (#53).

Another file to generate: includes/dist-derivedconstants/header/GHCConstantsHaskellExports.hs (#53).
Wouldn't that live in compiler/includes/dist-derivedconstants/header/GHCConstantsHaskellExports.hs?

@angerman I don't see any includes directory in compiler.
I think we are talking about includes/dist-derivedconstants/header/GHCConstantsHaskellExports.hs.

OK, I think I've done all includes apart from includes/ghcversion.h.
@angerman, this is now up to you to finish :-)

Adding pressure. I see. Alright, I'll give it a show now.

There may be some other files we missed, but I'm closing this for now.

I've done a test build, everything works fine. However, we are not needing includes/ghcversion.h anywhere in the system yet.


Unable to find "PowerShell" package under Package Control

I press Ctrl + Shift + P (Windows machine);
I select "Package Control: Install Package";
I start typing Power... but no entry called "PowerShell" shows up, or anything containing the word "PowerShell" or other lower-case variants.

I believe Package Control is running into some GitHub rate-limiting trouble. Try again in a little bit?

The package was not available for me either, but I managed to install it through the "Advanced Install Package" sub-menu. It is case-sensitive though, so you have to type exactly "PowerShell".

The package was not available for me either, but I managed to install it through the "Advanced Install Package" sub-menu. It is case-sensitive though, so you have to type exactly "PowerShell".


Documenation clarification on RTT band

Unbound Timeout Information in the documentation says that:

The fastest server (randomly picked within a so-called RTT band of 400 msec) is selected when a query has to be sent out.

Which led me to believe that this 400 ms band is static meaning that the server is selected uniformly from those believed to have RTT of 400 ms and lower.
From the code this is clearly not the case and the 400 ms is used as the RTT band only at first. This is confirmed by measurements I did such as this one.
Can you please explain (in this issue or maybe even on the mentioned docs page) how the band is computed later once there are some data in the infra cache?
Thanks!

Hi Stepan,
Thanks for checking and reaching out to us!
Indeed, the RTT band is later used as the RTT difference between the fastest server and the rest.
With configuration options like fast-server-permil: and fast-server-num: you can further influence the 400 ms value (it can only go lower), but I don't think you have any of that because you are using the default config.
What maybe happens in your measurements is that the other two servers are not even considered for selection. The following function documents which cases are those: https://github.com/NLnetLabs/unbound/blob/829f3c932e325df537adf3df9deae664ab5e321d/iterator/iter_utils.c#L228
You can also get infra cache numbers from Unbound itself with unbound-control dump_infra and the numbers there may hint to one of the cases.
It could also be the case that there is bug lurking somewhere so let me know how it goes.

After the run of 10k queries to a zone with simulated RTTs like this:
<IP_ADDRESS>	211.27ms
2001:678:10::1	19.5ms
<IP_ADDRESS>	60.43ms
<IP_ADDRESS>	152.59ms
<IP_ADDRESS>	77.41ms
2001:678:11::1  237.86ms
2001:678:f::1	152.84ms
2001:678:1::1	178.25ms

output of unbound-control dump_infra looks like this
2001:678:10::1 . ttl 886 ping 19 var 3 rtt 50 rto 50 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
<IP_ADDRESS> . ttl 886 ping 146 var 9 rtt 182 rto 182 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
2001:678:1::1 . ttl 886 ping 172 var 9 rtt 208 rto 208 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
<IP_ADDRESS> . ttl 886 ping 206 var 8 rtt 238 rto 238 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
<IP_ADDRESS> . ttl 886 ping 55 var 8 rtt 87 rto 87 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
<IP_ADDRESS> . ttl 886 ping 71 var 9 rtt 107 rto 107 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
2001:678:f::1 . ttl 886 ping 149 var 6 rtt 173 rto 173 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
2001:678:11::1 . ttl 886 ping 236 var 4 rtt 252 rto 252 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0

with the measured packet distribution looking like this

The ping estimates look apt, but reading the code of iter_filter_unsuitable I still can't see a reason why they are excluded from the choice.
Just for completeness sake I'm attaching the unbound.conf used
server:
    verbosity: 0
    statistics-interval: 0
    extended-statistics: yes
    interface: <IP_ADDRESS>
    interface: 1::1
    port: 53
    outgoing-interface: <IP_ADDRESS>
    outgoing-interface: 1::1
    do-daemonize: no
    access-control: ::0/0 allow_snoop
    access-control: <IP_ADDRESS>/0 allow_snoop
    chroot: ""
    username: ""
    directory: ""
    log-time-ascii: yes
    log-queries: no
    target-fetch-policy: "0 0 0 0 0"
    use-caps-for-id: yes
    do-ip6: yes
    do-ip4: yes
    domain-insecure: "."
    num-threads: 1
    root-hints: "/tmp/maze-cz_zone_from_taiwan-xpyz66ve/resolver/root.hints"

remote-control:
    control-enable: yes
    control-use-cert: no

the full PCAP of the test run (note that there are some mDNS queries used as markers of the various processes starting and stopping, you can ignore those) as well as the zone the auths are serving and root hints:
.			86400	IN	SOA	a.ns.nic.cz. nstld.verisign-grs.com.<PHONE_NUMBER> 1800 900<PHONE_NUMBER>0
*.		  3600	    IN	A   	<IP_ADDRESS>
.			518400	IN	NS	a.ns.nic.cz.
.			518400	IN	NS	b.ns.nic.cz.
.			518400	IN	NS	c.ns.nic.cz.
.			518400	IN	NS	d.ns.nic.cz.
a.ns.nic.cz. 518400	IN	A   	<IP_ADDRESS>
b.ns.nic.cz. 518400	IN	A   	<IP_ADDRESS>
c.ns.nic.cz. 518400	IN	A       <IP_ADDRESS>
d.ns.nic.cz. 518400	IN	A       <IP_ADDRESS>
a.ns.nic.cz. 518400	IN	AAAA    2001:678:f::1
b.ns.nic.cz. 518400	IN	AAAA    2001:678:10::1
c.ns.nic.cz. 518400	IN	AAAA    2001:678:11::1
d.ns.nic.cz. 518400	IN	AAAA    2001:678:1::1

.			518400	IN	NS	a.ns.nic.cz.
.			518400	IN	NS	b.ns.nic.cz.
.			518400	IN	NS	c.ns.nic.cz.
.			518400	IN	NS	d.ns.nic.cz.
a.ns.nic.cz. 518400	IN	A   	<IP_ADDRESS>
b.ns.nic.cz. 518400	IN	A   	<IP_ADDRESS>
c.ns.nic.cz. 518400	IN	A       <IP_ADDRESS>
d.ns.nic.cz. 518400	IN	A       <IP_ADDRESS>
a.ns.nic.cz. 518400	IN	AAAA    2001:678:f::1
b.ns.nic.cz. 518400	IN	AAAA    2001:678:10::1
c.ns.nic.cz. 518400	IN	AAAA    2001:678:11::1
d.ns.nic.cz. 518400	IN	AAAA    2001:678:1::1

The simulated client sends queries  [0-99999]. IN A in order.
Feel free to tell me, if you need anything else (such as a run with verbose log)!

Verbosity 4 would help indeed!

From a quick look in the PCAP, if I filter per IP address (e.g., dns and ipv6.addr == 2001:678:1::1) and do that for each IP address I get the same-ish percentage of packets (queries and replies) around 6%

No problem!


DynamoDB - Add validation for Query Key Expression

As per https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Query.html#DDB-Query-request-KeyConditionExpression:
Hash Keys only support the equals-operator.
Sort keys support everything else
This PR adds a simple validation when attempting to use a non-equals operator on hash keys.
Fixes #520

Coverage decreased (-0.05%) to 93.5% when pulling db206e994b89de8b1a99bff4b905a320369b2bbf on bblommers:bugfix/250 into 36a8a4ad00a6983ec6afc8bb6f77afa2a035389b on spulec:master.

Coverage decreased (-0.05%) to 93.5% when pulling db206e994b89de8b1a99bff4b905a320369b2bbf on bblommers:bugfix/250 into 36a8a4ad00a6983ec6afc8bb6f77afa2a035389b on spulec:master.

LGTM


Standardize Component Typings by Refactoring to Interfaces and Consolidating in a Single File

Describe the bug
Inconsistent use of types and interfaces across different components, with some defining interfaces within the component file and others using types.
Expected behavior
All component prop definitions should be standardized to interfaces and consolidated in a single file, utilities/Interfaces.tsx.

issue-118.webm


When PDF Foundry is active, cannot draw horizontal lines or create tables in a journal entry

Reporting on the behalf of Pete | Dragons Are Real#6554, so I apologize if I don't have all the details. Pete, if you can add anything missing, that would be greatly appreciated!
Describe the bug
When Pdfoundry is active  I cannot draw horizontal lines or create tables in a Journal entry using the TinyMCe editor.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Information:

Browser [e.g. Chrome, Safari] version [e.g. 22]
FoundryVTT [e.g. 0.7.5]
PDFoundry [e.g. 0.0.1]
DND5E 0.98, & Modules w/ Versions

Additional context
Add any other context about the problem here.

I am unable to reproduce this; if Pete wishes to file a report himself with more information to help me track it down he's welcome to. As is there's not a lot here and as far as I can see PDFoundry does not prevent the above mentioned behavior in TinyMCE editors.


Added Hacker Rank Problems

Added Poblems and their solutions from HackerRank/Algorithms/Implementation
Hey there!, Thanks for submitting a PR to this repo
Please complete the following checklist for your PR to be approved. Mark the items by adding an x.
Example:  - [x] Mark me as completed
To mark: - [x] Mark me as completed

[x] My Pull Request adheres to the Contribution guidelines.
[x] I have added readme.md and solution files in the appropriate folder.
[x] The solution I have given is my own and not plagiarized in any form.
[x] My solution passes all the testcases.
[x] I have properly indented and documented my solution using comments.

If any of the above is unmarked, please make the necessary changes and then mark them so that you're PR can be approved and merged.

@Jagannathes added comments to all the solutions.please check
let me know, If needed any changes
Thank you 😃


Reset s_renderFrameCalled back to false when calling bgfx::shutdown.

The documentation says that renderFrame should be called before bgfx::init in order the prevent the render thread from being created.
If I call the renderFrame in the following sequence:
bgfx::renderFrame
bgfx::init
bgfx::shutdown
bgfx::renderFrame <= abort() triggered
I'll get an abort with the following message:
bgfx/src/bgfx.cpp(1386): BGFX 0x00000000: Must be called from render thread.

fixed the indentation. using tabs now.

someone with write access will have to merge this pull request.

can anyone merge this pr?

Has this issue been resolved with the latest bgfx?
No, it hasn't


Update the Users Guide with "Getting Started" section

Description
Our code base has gotten more complicated and we should probably add a new section, or update the Developer Guide so we can give a rundown for people interested in constributing.
Outline might be something like:

Getting Started (setup)

Folder Structure, explain prim vs rev vs fwd

prim: Templates, requires, and apply_scalar/vector_unary
rev: Standard pattern for inheriting from vari etc, nested autodiff?
fwd: idk? That functions here have to work for nested autodiff types

Links to useful Eigen docs like Map etc.

Then links to the ad testing framework and common gotchas like working with size zero matrices. Anything else? Or maybe it's time to update the stan math paper?
Current Version:
v3.2.0

We could write something new like the Stan math paper, but I'd love to have static matrices and adjoint methods for ODEs before that.
But we need more of a living doc to onboard new devs.
There are all sorts of things they need to know, depending on which part of the lib they want to interact with. I'm not sure even where to being with common gotchas---it's C++, so it's just gotchas all the way down, like different compiler optimization settings changing the way code works.
The main thing that's confusing is the arena-based memory and managing the multiple stacks and the nesting.

Thanks for writing that down! Yes, we should update it with anything that improves it... and prune out-of-date material.


Calling a zipped-contract from another contract

First off, absolutely incredible work. Cheers for making this-- it's gonna enable a lot of cool stuff!
I've been playing around with this and successfully deployed a huge zipped contract (via ZCall), that has only 1 function: getLibrary()
I was able to call it via cast w/ the following command:
cast call 0x0F1a87584347ed9A335Ed2A33c6e3BEe2cBaa267  "getLibrary()(string)"  --rpc-url $RPC_ENDPOINT 4
and saw the enormous library print out (yay!!)
However, I want to be able to call that function from other "view" methods, in other contracts. Thats where I started to run into issues.
I deployed a simple contract that just calls (and returns) the getLibrary() function of the zipped contract
function test() external view returns (string memory) {
        return IZenLibrary(address(0x0F1a87584347ed9A335Ed2A33c6e3BEe2cBaa267)).getLibrary();
}

When I run this function though, I get an error message:
(code: 3, message: execution reverted, data: Some(String("0x99440d39")))"
Am I missing a step? Is it enough to just instantiate an interface w/ the zipped contract address, and call the functions-- the same as if it were a non-zipped contract?

Actually never mind! I completely missed the explanation in the readme about how "view" is disallowed. The example, you put in here really helped (plus learned a little assembly :) ).
Really amazed this works, this is true witch craft. Closing, thank you


Cannot get the model over git LFS

This repository is over its data quota. Purchase more data packs to restore access.

same here :+1:
eadihay@elxgbqn0ky1:~/mxnet/mxnet-model-gallery/imagenet-21k-inception$ git lfs fetch
Fetching master
Git LFS: (0 of 1 files) 0 B / 119.34 MB
This repository is over its data quota. Purchase more data packs to restore access.
Docs: https://help.github.com/articles/purchasing-additional-storage-and-bandwidth-for-an-organization/
Warning: errors occurred

see https://www.kaggle.com/c/yelp-restaurant-photo-classification/forums/t/18199/external-data-mxnet-pretrained-model/103425, said Bing Xu:
"I am sorry recently I formatted my system and I have no backup. I am not sure when the quota will be reset. Once I find my backup I will seek a new place to host it."

when i download Inception-Full.zip directly from  github, the file is empty...when i open it from github, it says:version https://git-lfs.github.com/spec/v1
oid sha256:ced70db50da509ac59e9ddfb48cf4931449f56b70141d2b69d9b62e411ac737d
size 125137106
how could i download it?

Hi, I tried yesterday (1st of February) to pull the data, but the repo is still over quota. Did anyone manages to download file?

i tried today to pull the model , but no success! i need to download it

@antinucleon , @mli , @erogol  Does anyone have a copy of the 21k-class Inception model? Would you please share your model files with some free cloud storage services such as Baidu Cloud. Thanks a lot!

Here is the Inception21k-model as dropbox link:
https://www.dropbox.com/s/es1xn9404p8isia/Inception21k-Full.zip?dl=1, the Readme.md is included.
If there are problems with the file, just say.

@5urprise many thanks for the link! i moved all models into http://data.dmlc.ml/mxnet/models and also updated https://github.com/dmlc/mxnet-model-gallery


Add support for symbol graphs and access notes

This commit adds support for the -access-notes-path, -emit-symbol-graph, and -emit-symbol-graph-dir flags to the new driver.
I have also updated Options.swift; I think I've handled all of the new options that can be passed into the driver, but I'd like a second pair of eyes to confirm that.
Note that the symbol graph tests still don't pass because of an issue with the frontend's handling of the -emit-symbol-graph-dir flag; I've filed rdar://74418885 about that.
No new tests because I couldn't find anywhere that similar passthrough flags were being tested in the driver. If I've missed something, please let me know.

@swift-ci please test

I have also updated Options.swift; I think I've handled all of the new options that can be passed into the driver, but I'd like a second pair of eyes to confirm that.

You used the makeOptions thing to generate the Swift file, right? It looks like you did.

Paging @bitjammer who implemented -emit-symbol-graph[-dir]


Optimize file object policy checks.

Skip checking file's view policy if it is public or all_users.
Background: if we are posting updates/comments in CI and attach files/memes to the message. The files will have huge amount of edges. During rendering, the policy check will take a lot of time and resource. For public/all_users files, skipping the checks will save a lot of time and IO.

https://secure.phabricator.com/book/phabcontrib/article/contributing_code/


Zero padding for month and day returns

Created and LastModified return {created.month} and {created.day} without leading zeros for dates less than 10.  E.g. 1st January 2021 is returned by {created.year}/{created.month}/{created.day} as 2021/1/1.
Padding of the month or dates less than 10 is useful for sorting folders - e.g. 2021/01/01 is better as otherwise October folder immediately follows January folder.
What is the best way to create/use folders like this with Organize?

Ok - I spotted the note about the syntax to get the padding in the Advanced Usage section of the readme.  I would suggest including this in the documentation for the Created and LastModified filters, as it is not easy to find if you don't remember it.  And are there additional syntax modifiers?

All the standard modifiers known from str.formatare available (https://docs.python.org/3/library/string.html#formatspec). In the future a different template engine is planned (Jinja2) so this might stop working.


How to set bar colour in a BarView

How can I set the barView colour? Can't seem to find it in XML or in code. Any help?

In BarView.java, there are three variables responsible for the color: TEXT_COLOR, BACKGROUND_COLOR, FOREGROUND_COLOR. You can just change their values manually inside BarView.java, but I thinks it's better if you make setters and getters for these variables and send in the values from your code.


the DS button should accept children

(Right now <DS.Button>text</DS.Button> is throwing errors)

Resolved by #99 .


[proposal] Enable evolving lints by gating expansions behind language versions

It's always been hard to evolve existing linter rules when wanting to fix false negatives or expand a lint, due to it being potentially breaking by triggering new diagnostics when developers update their SDK. Sometimes this has been deemed acceptable or of minimal impact. In other cases, we've up with new lints that likely are always used together (for example camel_case_extensions as a companion of camel_case_types). Other times, the change is seen as not worth it or remains unimplemented.
However, we already have a way for Dart projects to opt-in to potentially breaking changes, including new diagnostics, through language versioning. This has happened recently for diagnostics with a few changes, such as the language-versioned inference changes potentially triggering new diagnostics. Soon, changes to dart format will also be placed behind language versions, so developers are already becoming familiarized with tooling changing behavior based on language versions.
I propose we open the built-in lints, even core/recommended ones to language-version gated changes. This will help enable us to improve the consistency and quality of the built-in lints. It also helps us combine some similar or duplicative lints, reducing the amount of lints developers need to sort through and understand, as well as reducing the amount of lints to maintain.
There might be slightly more work for developers to move to new language versions, but hopefully many cases can have a dart fix, and the end result will be a better DX every day after that migration.

Rough sketch of decisions when expanding a lint
If modifying a lint to fix a false negative or trigger in new situations, consider and complete the following dependent on the state of the lint:
Internal (to SDK or google3)

Implement the change unversioned or versioned, but also make sure to resolve any new diagnostics.

Not yet released to stable:

If your change can land before or be cherrypicked into the .0 stable release, implement the change unversioned.
If your change can't be included in .0 stable release, treat the lint as released and follow those instructions.

Experimental:

If widely used or existing for a long time, consider treating the lint as stable and follow those instructions.
If not widely used or clearly experimental, implement the change unversioned, but add a note to pkg/linter/CHANGELOG.md.

Stable lint, released to stable:

Discuss with others to verify that modifying the existing lint makes for the best developer experience. Explain why in an issue on the linter repository.

Consider how many users the lint has and how much code would now trigger the lint.
Consider if some users of old lint might not want this new behavior.
Consider if a dart fix can be implemented for some or all of the new cases.
If a fix is not possible, consider how much migration work might be necessary.
Consider if the fix could require breaking changes in the libraries of users of the lint.

If lint is in package:lints or package:flutter_lints, make sure to include the maintainers of those packages in the previous discussion.
Implement the change, gated behind the language version of the next planned minor SDK release (0.X.0).
Add a note to pkg/linter/CHANGELOG.md, the root CHANGELOG.md, and add it to the Breaking changes and deprecations doc yourself or inform the website team about the change. If there is no automatic dart fix or the fix is complicated, consider expanding on the necessary changes.

Definitely an interesting idea. I probably wouldn't make it a language version, because that would impact the CFE as well, but a flag that gets flipped just before a stable release is an interesting idea.


Add test runs for macOS, Windows and rdkafka extension compatibility to travis

At least tests should run even if they are failing currently.

Kafka crashes during travis windows test on deleting topics - see Issue https://github.com/apache/kafka/pull/6329


An error is reported when the NavigationView.MenuItems setting IsSelected is set

I'm having trouble setting IsSelected for NavigationView.MenuItems  I see that there are already duplicate issues, but in 2023 it has not been resolved global::System.Diagnostics.Debugger.Break();

SDK: 1.4.231008000
Windows:
版本	Windows 11 专业版 Insider Preview
版本	22H2
安装日期	2023/11/14
操作系统版本	23585.1001
体验	Windows Feature Experience Pack 1000.23585.1001.0
.NET: 7.0


[Bug] table modal display the details row icon in the first column.

Bug report
What I did
Open the modal (responsive table) in a list of entries with details row.
What I expected to happen
To open the model, and have my column value there.
What happened
the modal opened, but I had the details row icon in the modal text.

What I've already tried to fix it
ne-rien!
Is it a bug in the latest version of Backpack?
yes it is.

PR https://github.com/Laravel-Backpack/CRUD/pull/5287