[FLINK-5790][StateBackend] Use list types when ListStateDescriptor extends StateDescriptor

Now the state serializer, instead of the element serializer, is stored in ListStateDescriptor.
ArrayListTypeInfo is introduced to help create serializers with the element type.
ArrayListSerializer is moved to the package org.apache.flink.api.common.typeutils.base to avoid cyclic dependencies.
Old implementation of ListStateDescriptor is kept in the migration package for back compatibility.

@StephanEwen Thanks a lot for your comments. I have updated the code as suggested.

Thanks a lot for the quick turnaround!
This looks good, merging now...

@tillrohrmann Thanks for your review.
Sorry for the reformatted code. It seems that my IDE will automatically reformat all the files I've edited. I will revert the reformatted code.

@StephanEwen @tillrohrmann  I found a problem that is the packages ListTypeInfo and ListTypeSerializer locate. Now ListTypeInfo is put in package "org.apache.flink.api.java.typeutils" and ListSerializer is put in package "org.apache.flink.api.common.typeutils.base". But i think it's better to put "ListTypeInfo" into package "org.apache.flink.api.common.typeinfo". What do you think?

Given our current usage where the TypeInformation is no longer a sole API concept and we already keep most of the type informations in flink-core, I think it is a good idea to add ListTypeInfo to flink-core.

@tillrohrmann Both org.apache.flink.api.common.typeutils.base and "org.apache.flink.api.common.typeinfo are in the module flink-core.


Migrate bash script to tox

Description

Migrated ./test.sh to tox
Fixed a flaky test
Updated Readme

GitHub Issues
Relates/Fixes #813

Coverage increased (+0.3%) to 73.953% when pulling d6df2db86ed55faa92cec8a95f59b99afc71182f on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

Yep, this is very close, but I have two needs for this:

test.sh needs to work, even if its just calling something else inside the script
I need a documented (and ideally scriptable) way to run a specific test, not a specific test file. This is documented in the current test.sh.

Looks fine otherwise, thanks!

Sure, out of curiosity, why test.sh? Is there a specific reason? Maybe a Makefile would be better?

Coverage increased (+0.3%) to 73.953% when pulling 8bc936431502e1504058b6fbcb0cbacdc6d69284 on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

Coverage increased (+0.3%) to 73.953% when pulling 8bc936431502e1504058b6fbcb0cbacdc6d69284 on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

Coverage increased (+0.3%) to 73.953% when pulling 8bc936431502e1504058b6fbcb0cbacdc6d69284 on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

Coverage increased (+0.3%) to 73.953% when pulling 8bc936431502e1504058b6fbcb0cbacdc6d69284 on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

I'm trying to figure out why coveralls reporting on this so many extra times. In the past, coveralls actually reported twice, though it edited its existing comment and so it showed as once. I think it was reporting twice because it saw the py27 and p36 builds. Now its reporting 10 times, and not getting hidden in the UI as easily.

Are we good to merge now?

Coverage decreased (-0.2%) to 73.502% when pulling fc0168107b69b45e387e2c64f19eb36ebe9b08ce on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

@Miserlou Yeah. The multiple coveralls thing is weird, but I verified that part of the flow hasn't changed, and it would seem I'm not the only one seeing it in their github projects.

Coverage decreased (-0.2%) to 73.502% when pulling 26f4501a9b04c49256fbf154a0ce09b1fbf974bc on bxm156:bxm156_tox into 3a6263186b2acb95e0db6b50b4aa3ee3956c6018 on Miserlou:master.

@Miserlou @scoates  It looks like the last remaining issue with coveralls and multiple parallel builds (travis ci matrix) has been sorted out:
http://docs.coveralls.io/parallel-build-webhook
I can add the necessary changes, but it looks to me like I will need coveralls repo token, which is a secret access key that only @Miserlou can provide, and it would probably need to be added to the .travis.yml file encrypted.
So I can see a couple options:

Don't worry about any of it, an live with coveralls pinging an issue 5 times.
Remove the build matrix. All the test cases will still run, but travis ci won't seperate them into 5 lines.
Implement the hook, and inserting the secret repo token encrypted into the .travis.yaml file.

This should be ready to be pulled.


fix: RFC5424 nix logs should use kv template for nix

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


upgrade pybind11 to a version >=2.12.0

Numpy 2 introduced binary incompatibility with respect to numpy 1.. This breaks my code which relies on pybind11.
The latest version of pybind11 promises to fix that such that modules will work with both numpy 1 and 2.
Would be nice to see this improvement arrive for the ROS2 community.
Thanks!

Thanks for the report! The vendor package tracks the version of python3-pybind11 in Ubuntu. It looks like the next ubuntu LTS release will have a version greater than 2.12.0. I would expect ROS L-turtle will be the first with pybind11 >= 2.12.0 because ROS Kilted still targets Ubuntu Noble.

What is the recommended way for me to work around this?
Thanks!

What is the recommended way for me to work around this?

I assume if you're using numpy 2 you probably installed it with pip. If you're using Ubuntu, I'd recommend using using the system package python3-numpy which is still verison 1.


Automated Pod debugging

Is your feature request related to a problem? Please describe.
When a Pod restarts, it still requires some manual steps to figure out why it restarted. Those steps could actually be automated, as almost all of that information is part of the Pod status. It would be nice if instead of just notifying you that a Pod has restarted (which Prometheus already does as well), botkube would perform a few automated tests to determine more information about it.
Describe the solution you'd like
A very simple solution to start out with would be:
Pod restarts -> Check the status of the container that caused the restart -> Is it OOMKilled? report that -> Is it Terminated with non-zero exit status? Report that and maybe show the last 100 lines of the previous log for the Pod
Afterwards, this could be extended with a form of knowledge base. For instance, if the exit code is 137, it could inform that this often happens when the application itself determines that it does not have enough memory available and kills itself with a sigkill. This would make it a lot easier for especially new Kubernetes users to start debugging their apps on Kubernetes.
Describe alternatives you've considered
We've currently documented these steps for our users. Having them automated would be preferred.

Closing as it is already possible with actions (automations) and custom executor plugins 🙂 See docs:

https://docs.botkube.io/configuration/action
https://docs.botkube.io/plugin/custom-executor

If you're missing anything from these features, please create a separate issue. Thanks!


Make unrealized SingleQubitQPDGate have definition of None rather than raise error

Fixes #417 according to https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/issues/417#issuecomment-1783385101
Needs

[ ] release note
[ ] test based on https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/issues/417#issuecomment-1783096682

Come to think of it, making this change might allow us to avoid having to override the _directive property, as well.
https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/blob/2df09335477469c949cf714f7cf6210cc40ebdf8/circuit_knitting/cutting/qpd/instructions/qpd_gate.py#L210-L213

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 92.377%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
2957

Relevant Lines:
3201

💛  - Coveralls

This resolution looks good to me, thank you.


installing it hits rate limit and asks to send email, but what email address to use?

please make it possible to determine the email address where we can ask for an api key.
thx.

@pietgk We've added the email now, you should see it if you update to the latest version of the extension. If there is any other issue feel free to reopen this ticket.


CI: ophyd for suitcase utils

DO NOT MERGE!!!
This is a draft PR to decouple our dependency on the feature suggested in #682. See the discussion in https://github.com/NSLS-II/suitcase-utils/issues/19. As that feature goes in, this PR should be simply closed without merging.

Just encountered this draft PR. @jklynch, do you remember if it's still used by suitcase tests?

@mrakitin I believe the problem this PR tries to solve was resolved by a different PR. I think this can be closed.

OK, thanks for checking, @jklynch! I checked the links from https://github.com/bluesky/suitcase-utils/issues/19#issuecomment-478700041, and the current requirements-dev.txt files in those linked repos, and all of them use the packages from PyPI. Closing.


Balance Slider

Balance slider has no effect on sound balance. Balance knob works perfectly fine

Same here.  Balance slider does nothing.

same here.

This has been fixed a while ago. Closing


Revise "Using Windows Brushes and Responding to Themes" Page

We have a banner mentioning AppTheme is deprecated, but still have a page instructing to use that and windowbrush. Need to update to add caveats around Appearance, PlatformColor, while AppTheme is still around.

Duplicate of #167


Can we use this library to build similarity model of video/image pair?

Instead of training on image/image similarities, can we train on image/video similarities?

Yes Technically nothing prevent you from doing it using a join training like the CLIP or ALIGN model.  You will  have to create your own representation and encoders. I don't know of an existing model that do it so you would have to research how to do it yourself.


class R4J getMatchV5API method is missing.

Only getMatchAPI() exists.
To use LOL Match V5 api, we need getMatchV5API in R4J class.
public MatchAPI getMatchAPI() {
    return MatchAPI.getInstance();
}

I already reported this, their answer:
its not there, since its still in beta. use MatchV5API.getInstance() for now

Thanks~

This is now added in v2.0.0 :)


Next version bump ~v4.13.0

#714 (MEDIUM) Alters styling for all Alerts in Kajabi Products. Please sanity-test that Alerts received the change, and don't look wonky.
#747 (LOW) Adds an alignment option for Icons when there are placed beside text. No impact on existing uses.
#736 (LOW) Makes changes to the overall structure of the documentation site to improve navigation.
#754  (LOW) Add React version of the Media Tiles component. No impact on current implementations.
#756 (MEDIUM) Adds new props for the Modal component and updates Modal header markup to accommodate optional icon and image props.

@anechol - I cannot add an approval on the PR via GitHub because I opened it for the week. However, this looks good to me and consider this a ✅ for the PR.


nerd project set does not provide feedback on succes

using nerd-0.5.8-linux when doing nerd project set <project-name> I get no feedback on whether the project is currently set, this leaves me in doubt whether that action succeeded.

We're planning to check if the required namespace for a project exists upon using the project set command. This way we can immediately test if the connection is working and if the namespace is ready to go. If its not we want to prvent the user from changing into a project that wont work. If it does we can provide the user with nice feedback.


Error: Kind not found

When I run make commands I this error: /usr/local/bin/kind: 1: /usr/local/bin/kind: Not: not found
I'm also unable to create a kind cluster to deploy to

For future people coming to this issue or one like it... "Not: not found" happens when curl retrieves a 404 specifically from GitHub releases (and perhaps similarly with other locations).  It will write "Not Found" in binary to the file, but not exit with a failing exit code.  Instead, one can do curl -f to force an exit code.
Typically, people will code something that is roughly
curl -o /usr/local/bin/foo https://example.com/foo
chmod +x /usr/local/bin/foo
/usr/local/bin/foo --version

When the shell tries to run that "Not Found" file, it will see the first line as "Not found" and attempt to execute that line, however "Not" isn't a valid executable, leading to the lovely error:
/usr/local/bin/foo: 1: /usr/local/bin/foo: Not: not found


feat: add 'change' event

Fixes #103

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Works for individual radio buttons but changing a radio group's value programmatically will now also produce a change event

fixed.


Migrate to AndroidX and android sdk 28

If you are migrated your project to AndroidX jetifier will not solve packages for kakao automatically

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.nekdenis seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Updated

I changed base to new branch, we can merge it and push new artifact version. I'll prepare additional PR to this branch and update to readme for master branch.

@nekdenis thank you very much for the contribution.
As @Unlimity said we are discussing how we want to proceed. We let you know ASAP


Improve README

It's probably easier to just go read the new README rather than the diff:
https://github.com/chriskuehl/pip-faster/tree/better-docs

:boat: :ship: :shipit: :horse:


Add Etn token

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[x] logo dimensions: 120*120 px
[x] logo background: Transparent
[x] At least one transaction on the token contract
[x] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[x] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement: http://0xaaaac1846734e0edc24f74c4a7f2385f1d79eae5.com/img1/showimg.php?lang=cn&id=35
Project team background: ETN team consists of serial entrepreneurs, full-stack engineers and e-commerce specialists, with a hope to build the world first web3 e-commerce platform.
Project basic information:  ETNCOIN (ETN) is abbreviated as ETN. Through cross-chain bridge technology, it opens bridge transactions between public chains and promotes free trade between any digital pass and goods.
Tradeable exchanges: PancakeSwap
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

can't merge: No tx history on chain @etntoken

https://bscscan.com/token/0xAaAaC1846734e0Edc24F74c4a7F2385F1D79EAe5  There seems to be very few transfer information on the chain


Create Secondary button white

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

Color to be used:- bg-white & text: bg-white/90
To view other details, Please check figma design
After building the component please raise a PR with a screenshot of the component and add the component in Button/src/Secondary/text-button-white.html
If you need to use any icon please use it from Hero Icons
Good luck.

I will like to work on this

I will like to work on this

Go ahead @rt-001


For releases, ensure UI is built against correct web service version

Feature Request
The package.json for the UI 2.4.0 release is was built the against 1.7.0-rc.3 web service release. It should have been built against the 1.7.0 release.
For the 1.7 release this did not matter because the swagger.yaml did not change between 1.7.0-rc.3 and 1.7.0, there is a potential in the future for this causing a problem.
We should have some sort of process, preferably automated, to ensure this doesn't happen in the future.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Issue Number: DOCK-1084

I suggested this a while ago but got shut down.  I recommended using the package.json webservice version as the single source of truth and the compose_setup would only look at that. Reason being that the UI code is completely dependent on a specific version of the backend.

Food for thought:  If we have a bunch of hot-fixes to the webservice, we end up with 1.7.1/2.4.0, 1.7.2/2.4.0 all being valid combinations. On the other hand 1.7.0/2.4.1, 1.7.0/2.4.2 might be valid if we need to make hot-fixes to the UI.


Improve robustness of AssemblyInfoVersionPatcher

Struggled a bit to get this working today, and have some suggestions to make it a bit more robust.

LGTM, if you remove the version change I'll merge it.
Thx !


Is it possible to exclude specific entry points from the extract function?

Laravel Mix Version: #.#.# (npm list --depth=0) 2.0
Node Version (node -v): 10
NPM Version (npm -v):
OS: window

Description:
let mix = require("laravel-mix");

// Extract the vendor library.
mix
  .js("src/index.js", "dist")
  .js("src/test.js", "dist")
  .vue({ version: 2 })
  .extract(["vue"])
  .version();

// It does not extract vendor libraries.
mix.js("src/noti.js", "dist").vue({ version: 2 });

Hello. I'm using the extract function and at the same time I don't want to use the extract function for a specific entry point. Is that possible?
Steps To Reproduce:

No, this is not currently possible. This could be a future enhancement — and would have to be structured differently — but this is not a typical use case for Mix.


Add flutter

Avoid getting flutter on each build.

Hi @zhogolev, thanks for this feature request! We actually already have an issue for this at #67. Closing this one out to just have one issue tracking this.


[TASK] Check if subscription manager behaves atomically or not

Test:

Stop the NGSI-LD-Update bridge to avoid duplications
Create two objects and subscribe to their changes
Update the objects in two update rest calls and watch the subscription behavior (e.g. is it updated iteratively or in one step?)j
Update the object in one batch REST call and watch the subscription behavior(there should be only one single update)
Do the same test with two properties in the same object


All Achievements tweaks

When s2tracker updates were enabled but s2tracker wasn't running, the exception would (effectively) prevent Reset on "Data Management" from working. LiveSplit seems to abandon executing the script for the whole cycle, so the exception affects both update and reset. Using try/catch fixes this, which is nice if someone forgets to run s2tracker.
This also adds the arena start timing

I added arena start timing option, based on latest All Achievements draft. I made it separate from the camp entrance, in case we use camp for something else.
I don't feel strongly about whether it's separate from camp, so just let me know if you'd prefer to combine them

Probably easy enough to enable two checkboxes.


Place spare pieces

Hi! I have integrated with xiangqi.js and the spare pieces cannot be placed on the board anymore, how can i enable it?

The example you can learn: Highlight Legal Moves and it's source code.

https://user-images.githubusercontent.com/63784995/166289740-494b36ce-8c35-477e-a878-6c4ee1265560.mp4
Sorry i dont understand what to do with the Highlight Legal Moves, what im trying to achieve is like Config Spare Pieces

Thank you so much!


Laravel 5.5 compatible

Is this package compatible with L5.5?

Yes, the v2 branch will work in 5.5, but you'll still need to add the service provider. dev-master has the new service provider discovery option for composer. The master branch is pretty much ready to be tagged but just haven't done it yet 🙂

2.15 tagged w/ auto-discovery (among other things)


ListView Builder scrolling is slow

The ListView Builder is slow compared to native apps. I've attached a video demo-ing my experience. And my complete code (which is basically just the example on the Working with long lists guide.
The gif has the flutter listview and also shows the scrolling of Reddit Is Fun app as well just for a reference.
gif
main.dart
import 'package:flutter/material.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: ListView.builder(
            key: Key("lvbuildertest"),
            itemCount: 200,
            itemBuilder: (context, index) {
              return ListTile(title: Text("index: $index"));
            }),
      ),
    );
  }
}

[√] Flutter (Channel master, v0.9.4-pre.31, on Microsoft Windows [Version 10.0.17134.285], locale en-GB)
    • Flutter version 0.9.4-pre.31 at F:\androidsdk\flutter
    • Framework revision 52697ef962 (11 hours ago), 2018-09-26 07:57:05 +0200
    • Engine revision 38a646e14c
    • Dart version 2.1.0-dev.5.0.flutter-4cf2d3990b

[√] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at F:\androidsdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[!] IntelliJ IDEA Ultimate Edition (version 2018.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.5
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[√] VS Code (version 1.27.2)
    • VS Code at C:\Users\username

\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 2.18.0

[√] Connected devices (1 available)
    • SM N9005 • <IP_ADDRESS>:5555 • android-arm • Android 8.1.0 (API 27)

! Doctor found issues in 1 category.

#20857 might be related

@kieferlam Have you tried to add "physics: const AlwaysScrollableScrollPhysics ()," it will make smother scrolling.

@iamarnas That has definitely improved scrolling performance! Thanks.

I confirm the issue described. Even more, after hours of investigation of such issue in my app, I'm able to reproduce it in every single Flutter app in the Store.
What I found is that Inkwell and GestureDetector are related to it:

No Inkwell/GestureDetector - no issue at all
if there is a widget wrapped with Inkwell or GestureDetector  (even if they are not used) it depends how complex rest of the three. Sometimes if you wrap with additional Inkwell with empty onTap: it may help a little, but doesn't eliminate the problem completely.
For sure I checked my app Widgets for an unexpected calls of "build" method - there is no issue.

@totalerex
Flutter has a demo app called Gallery. Sources are in this repo under "examples" folder but they also have it published in Play market. In 'Studies' section they have "Shrine" app demo. After mock login screen you're faced with horizontal (previously vertical) scrolling view with products. It scrolls so smooth that it actually frustrates me. It's that kind of scrolling performance I actually expect but can't achieve. Never thought scrolling can be an issue but it turns out to be.
Can you take a look? It actually uses GestureDetector but still smooth almost like native.
Here is the ListView:
https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/lib/demo/shrine/supplemental/asymmetric_view.dart
Widgets that are placed inside:
https://github.com/flutter/flutter/blob/4857267e6588a0bfad1c537ef0939c26fb4639b6/examples/flutter_gallery/lib/demo/shrine/supplemental/product_columns.dart
And finally inner Widget with the GestureDetector:
https://github.com/flutter/flutter/blob/4857267e6588a0bfad1c537ef0939c26fb4639b6/examples/flutter_gallery/lib/demo/shrine/supplemental/product_card.dart

Gallery was the first app I checked.  Flutter Galery installed from Store has the same issue, in Material and Cupertino screen. It looks like the problem  in Cupertino is not so big but visible also. I have not tried to build and run Gallery, since I can't see any reason why it should behave differently.

Same issue. ListaView builder scrolling is choppy

@nuc134r
Shrine - the same issue.
if I scroll with some "scroll pattern" slowly then issue is visible.

I did some more investigation. So if we are talking about jerk on 11th second of original GIF, it is exactly the problem I was straggling and I found the solution
Just to remember - issue is there if ListView items contain InkWell/GestureDetector.

If scrolling moved not fast (there are some corner cases as well), tap detection starts and blocks scroll events.
After movement more than kTouchSlop = 18 logical pixels (flutter\lib\src\gestures\constants.dart).
is detected, tap detection cancels.
Scroll events are unblocked.
First Scroll event received by all listeners has offset of kTouchSlop = 18+ logical pixels!

It is totally wrong! Scrolling should start with ~0 offset of first scroll event. It is exactly like native Android scroll behaves it is what my eyes can see.
So my solution to detect first scroll event and set the offset to 0. I did it for internal usage only, for sure, in wrong place from architectural point of view, but it works very smoothly! same way as native scrolling in Android, for sure there is ~18 pixels delay in scrolling in fact, but it looks very nice.
It is the change in flutter\lib\src\widgets\scroll_position_with_single_context.dart

Does this last advice improve scroll performance?

@dukaric1991 Not for my, tried that and I still get very choppy scrolling. I did some experiments with different ways of building a list And I found the best scroll performance with using a CustomScrollView with a list of Slivers (not a builder). But I think this wont hold up memory wise when the list gets very long.
List<Widget> slivers = _snaps.map((f) => SliverToBoxAdapter(child: SnapListItem(),)).toList(); return CustomScrollView(slivers: slivers);

Hopefully this gets address soon, it's also affecting my experience on iPhone XS using listview builder

I found a temporary solution. Try to wrap your listView items/widgets in IgnorePointer widget with parameter ignoring: true. But if you have any "clickable" elements in your listView item/widget, try to wrap only parts of item that are not "clickable" in IgnorePointer, beacause otherwise the click/tap action will not be recognized.
IgnorePointer(        ignoring: true,        child: Container(), )

@dukaric1991 😔 Not working for me on iPhone X with the latest Flutter...scrolling is still very choppy and laggy...

Facing this issue quite a bit but in my case the list items are also loading images, so the scroll is extremely choppy. On iOS it is slightly better, but on android it is horrible. Tested on OnePlus 5T (used to be a powerful device till last year) with android 9.0.1.

I have a device Huawei Mate9 Pro ,scrolls not smoothly but it's better in Samsung s8/ OnePlus 3T.
Does it performs differently in various devices?
I create a sample Repository: No InkWell inside list . And using AlwaysScrollableScrollPhysics, but didn't work.
https://github.com/wilin52/custom_scroll_view_demo_scroll_not_smoothly
There's a video in directory screen_record.
https://github.com/wilin52/custom_scroll_view_demo_scroll_not_smoothly/blob/master/screen_record/screen_record.mp4

flutter run --release
I'm testing on Samsung S8+ and during development the ListView builder is indeed lagging. But I can confirm what @lirbank stated and after running flutter run --release my listview was smooth again.

We published our app and got this same problem.
Can we expect a quick solution to this issue?

This is our team's biggest blocker to using Flutter. Most of the views in our app are based on ListView and we're seeing pretty significant frame skipping and scroll jitters even w/ the most basic layouts. Would love to find a way around these performance issues, or see them slated for a specific milestone soon.
Some of the things we've tried (all while running in Release Mode on a iPhone XS device), all with similarly poor results

removing images from the ListView items
removing gesture detectors and inkwells from the ListView items
using non-builder ListViews w/ a small amount (~10) of items
using just a Container w/ a static height for all items
trying out the Flutter Gallery app Shrine and ListView examples

Seems like the issues are less bad when the scrolling is fast, but just slowly dragging the view causes a lot of jitter.
Going back and forth between a Flutter application's ListView and a native TableView/RecyclerView is night and day.
Here's my flutter doctor -v output if it's helpful at all
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.4 18E226, locale en-US)
• Flutter version 1.2.1 at /Users/dwempe/flutter
• Framework revision 8661d8aecd (8 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/dwempe/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio 2.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2, Build version 10E125
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.3)
• Android Studio at /Applications/Android Studio 2.app/Contents
• Flutter plugin version 34.0.1
• Dart plugin version 182.5215
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[✓] VS Code (version 1.33.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.24.0
[✓] Connected device (2 available)
• Android SDK built for x86 • emulator-5554             • android-x86 • Android 8.0.0 (API 26)
(emulator)
• _________ iPhone      • 00008020-000B25CE0298002E • ios         • iOS 12.2

@wemped - My team has been struggling with this as well. Anecdotally, the scroll performance is worse on iPhone X & iPhone XS models than it is on iPhone XR or even older phones such as the iPhone 7. Do you observe the same?
One theory our team has is that it might be related to the 120hz gesture sample rate on those particular models. (https://www.macworld.com/article/3235709/iphone-x-samples-touch-input-at-120hz-for-faster-smoother-response.html) -- i.e. maybe the flutter engine is being fed twice as many gesture events on these devices (could explain why slow dragging performs much worse than a fling). We have no factual basis for this theory though and haven't even dug into the code to try to understand if that could be a contributing factor -- it's just a hunch. Would love if someone on the flutter team could chime in.

@coreysprague - Thanks for the tip! I dug out my old iPhone 7 and can confirm the scrolling performance is hugely improved.
That's definitely an interesting theory. I imagine this warrants a separate github issue so I made one here https://github.com/flutter/flutter/issues/31086.
If we get some 👍on the new issue we may be more likely to get a response.

I wondered why list view fps < native list view since flutter is native compiled (Android is worse than iOS
counterpart)

after running
flutter run --release
then follow the instructions to run it on the simulator or on your real phone
I noticed that the performance increased by 200% 🤩. I have a native app and I'm building a new one using Flutter.
Flutter even faster than the native !!
each element is (in both Flutter and native):
a card with one image, id, and title

Same issue here, has to be fixed ASAP :-/

@anasred Do you use iOS or android ? iOS is smooth android not 60fps

inKino app looks pretty smooth to me on Google Pixel 2 XL. https://github.com/roughike/inKino you can download it from app store to try. Does anyone see jitter on that app?

This issue described in https://github.com/flutter/flutter/issues/22314#issuecomment-461569961 was fixed recently (should be in the beta channel if you want to try it; may in fact already be in stable, I forget when we fixed it exactly).
If you still see this today on master please file a new bug, including:

the source code of a demo app that we can use to reproduce this
precise steps to reproduce it
the exact device on which we should reproduce it

...and we will try to look into this in more detail. It's hard, from this bug, to tell exactly what we should be looking at since there are so many reports and devices mixed together.

@Hixie

This issue described in #22314 (comment)
22314 (comment) quote:
So if we are talking about jerk on 11th second of original GIF, it is exactly the problem I was struggling and I found the solution

That's native reddit app on 11th second so it's not relevant to flutter scrolling.

I am having the same issue.
On iOS the scroll it's quite good but on Android it is absolutely horrible.
Any updates on this issue @Hixie ?

@totalerex can you give more insight on how you solved the issue ? I don't quite understand from your comment

@tudor07, issue I mentioned, was fixed in framework some time ago (not reproducible now), so @Hixie is absolutely right.
But as I see now, it was corner case just on start scrolling. Main issue with scrolling jerking on some devices still exists.

Issue is still present on iOS

If you are dealing with static data of very low number of list items, you can speed the list up using
ListView(
          addAutomaticKeepAlives: true,
          ...
)

ssalib42 thanks for the help, I've tested it and I saw a good improvement, but the problem persists

True.. you may see even more improvement when running in release mode if you haven’t already...
I’m not an expert on flutter but I like the idea of it very much, I want to see it grow!
My suggestion to the flutter team is to allow more control on the “virtual scrolling”..
For example if there is a way to draw, say the next 5 items, always ahead of the user scrolling, or if my specific list view requires it, up to 10 items pre-drawn, in both scrolling directions, ready to view!
Also, most frameworks reuse widget as oppose to completely destroying them, and redrawing them from scratch.
List view is like the new hello world of functioning apps.. we should make it right, l think.

I have the same problem. Listview just simply lags as hell... I've used Card component from official Flutter gallery repo to display Cards as a scrollable list and it lags very hard...

Found the problem in my use case. It seems like there is a bug with High res images and I have had made listview with cards containing high res images which were causing stutters and hang the app when scrolling and moving from list screen back and forth. Once I changed images to lower resolution all works great and very fluent now.

@stychu
What was the picture size before and after?

We believe we landed a fix for this a few months ago.
This bug at this point is not actionable for us, because lots of people have commented very vague requests.
I recommend that everyone seeing this each file a new bug with the following:

A main.dart file that clearly shows the problem (that we can drop into a flutter create app).
Clear steps for how to reproduce the problem with that file.
A clear explanation (ideally with a video) showing the exact issue that you are referring to.
the output of flutter doctor -v.

Thanks.

after running
flutter run --release
then follow the instructions to run it on the simulator or on your real phone
I noticed that the performance increased by 200% 🤩. I have a native app and I'm building a new one using Flutter.
Flutter even faster than the native !!
each element is (in both Flutter and native):
a card with one image, id, and title

--debug: slow and lame
--release: I'm fast as fu** boiii!

@Chamuth Of course debug is slow, that's by design as it runs as interpreter.

is layout of elements are complex, scroll is laggy even on release mode
El dom., 15 sept. 2019 a las 14:19, Miha Markič<EMAIL_ADDRESS>escribió:

@Chamuth https://github.com/Chamuth Of course debug is slow, that's by
design as it runs as interpreter.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/22314?email_source=notifications&email_token=ABCC6NVTZCYKXV4U4XARS2LQJZVDXA5CNFSM4FXMU4VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XVCAY#issuecomment-531583235,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCC6NTYHMFS7O6ZEFIPDA3QJZVDXANCNFSM4FXMU4VA
.

Hi, any update on this? I tried all the solutions proposed in this post with no success..

After switching to the master branch, this problem seems to be resolved. Will the new version that will be released solve this problem?
I am very much looking forward to the surprise.

After switching to the master branch, this problem seems to be resolved. Will the new version that will be released solve this problem?
I am very much looking forward to the surprise.

Do you know any specific commits that fixed this issue?

@KlausJokinen Yes,  and here here is the PR, and the Commit

same issue :(

I am still experiencing this issue while using latest stable release as of today (1.12.13+hotfix.8). I found that forcing widget tree to repaint itself while scrolling somehow fixes the problem. To quickly test this; please add a dummy animated widget to your widget tree using TweenAnimationBuilder:
TweenAnimationBuilder(
  duration: Duration(seconds: 10),
  tween: Tween<double>(begin: 0, end: 1000),
  builder: (context, value, widget) => Container(),
)

For 10 seconds your list should scroll smoothly. Same issue exits while dragging (ie using Draggable). I am very new to Flutter. So please someone experienced suggest a better way to force repainting widgets while scrolling/dragging.

I am still experiencing this issue while using latest stable release as of today (1.12.13+hotfix.8). I found that forcing widget tree to repaint itself while scrolling somehow fixes the problem. To quickly test this; please add a dummy animated widget to your widget tree using TweenAnimationBuilder:
TweenAnimationBuilder(
  duration: Duration(seconds: 10),
  tween: Tween<double>(begin: 0, end: 1000),
  builder: (context, value, widget) => Container(),
)

For 10 seconds your list should scroll smoothly. Same issue exits while dragging (ie using Draggable). I am very new to Flutter. So please someone experienced suggest a better way to force repainting widgets while scrolling/dragging.

Can you retry on master?

Switching to master channel (1.13.6-pre.22) does not resolve this issue, at least for me. But repaint hack still works.

@KlausJokinen I got same results using "Flutter 1.15.4-pre.124 • channel master •", release build running on an actual device. Scrolling and dragging is "jaggy" on both lower end devices like Samsung Galaxy S3 (GT I9300) and high-end devices like iPhone 11.

I've added a semi-related issue here with a specific example:
https://github.com/flutter/flutter/issues/52207
In this case, it's related to performance of JumpTo when using many list items, without a defined itemExtent.

When I have my list with 200 more items which all have image within each list row. The list view scroll so slow and finally causes accidental exit

When I have my list with 200 more items which all have image within each list row. The list view scroll so slow and finally causes accidental exit

If I understand this right, you are building the whole list with all 200 items at once? If so, thats not a good idea, you should use the builder to only build the viewed items.

When I have my list with 200 more items which all have image within each list row. The list view scroll so slow and finally causes accidental exit

If I understand this right, you are building the whole list with all 200 items at once? If so, thats not a good idea, you should use the builder to only build the viewed items.

Nope. I used list view builder to build the list. And i tried the solution above but still has the issue.

ListView.builder still seems choppy when you scroll than release finger. As long as finger is on the screen this does not seem to be an issue for me. The chopping starts to occur when the scrolling starts to slow down. I have tried all of the suggestions above and none seem to properly fix this issue for me.

I test, in release mode, the get-started project for infinite scroll and it still laggy

There is interesting thing. Custom scroll physics extended from BouncingScrollPhysics with overidden tolerance with velocity = 0.0, makes first drag exactly in the position it starts.
class CustomScrollPhysics extends BouncingScrollPhysics {
  const CustomScrollPhysics({ScrollPhysics parent})
      : super(parent: parent);

  @override
  Tolerance get tolerance => Tolerance(velocity: 0.0);

  @override
  CustomScrollPhysics applyTo(ScrollPhysics ancestor) {
    return CustomScrollPhysics(parent: buildParent(ancestor));
  }
}

It looks very familiar with native iOS scrolling, but is locks gesture recognitions in list items. So if you need to create scrollable list, without tappable items, you can use it  ¯\_(ツ)_/¯
P.S. If one day this problem would be solved, i will never back in native development, and only use Flutter ❤

In android, if u are using phone that has 90hz/120hz refresh rate, the scrolling will be laggy and it looks obvious

I have S20+ with 120hz enabled and its buttery smooth, 120FPS all the time with no lag.
But previously i had S8+ and it was obviously laggy...

Yes. I tested the app in both android and iOS version. iOS will get slower
scrolling when items increases to 300 but android will around 600
Muhammad Adil<EMAIL_ADDRESS>周一下午3:13写道：

By using addAutomaticKeepAlives: true in ListView it helps for fixed
number of items, once all items are scrolled than scrolling never jerk. But
Honestly this is a very serious problem
Here is the application I have just launched
https://apps.apple.com/us/app/instasalam-quran-pro-muslim/id1499339747?ls=1
https://play.google.com/store/apps/details?id=instasalam.org
I am using a list in Quran feature where I display chapters. The Scrolling
is very jerky in iOS but in android it is still quite better. Sorry for
posting links it's not advertisement. I am just showing how much effort I
have done but end results are not promising only because of ListView
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/22314#issuecomment-610012248,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHU6M7ZIKERXFDWQHYU2243RLIZW5ANCNFSM4FXMU4VA
.

This issue is also referred at #22314 and I don't think it is related to the ScrollBar().
Apparently setting the ListView's cacheExtent property explicitly can be a decent workaround. See the documentation.
In my case, the average height of a child in the list is around 300. So with cacheExtent set to 10000.0 the scroll is much more performant.
For calculating the cacheExtent value I'm simply make an equation:
Inputs:
Item Count (Amount of items that we want to cache in the viewport) = 10 (This is enough for my list)
Avg. size for a child = 300
Height of current context (MediaQuery.of(context).size.height) = 640
Height of device (pixels) = 1920
Output: cacheExtent
Then the equation will be as
cacheExtent = (Height of device / Height of current context) * (Avg. size for a child) * Item Count

@firatcetiner Thanks for the information, do you have result with the memory usage with your config ?

Any new on this? Please it is very fustrating

The problem still appears on my Huawei P30 Pro device. Using cacheExtent slightly helped with performance. However, the list can still be trimmed at the very end of the scrolling.

https://drive.google.com/file/d/1a3ZJ099XSJ-lvHDc2DVadExAYT3kAM3r/view?usp=drivesdk
That's on iphone 6s
https://drive.google.com/file/d/1w5dEXmKuiKXadzXSxiVbb2GjR05htY6Z/view?usp=drivesdk
This is OnePlus 6t.
I don't understand what the problem is while scrolling up I get this issue.

Why this issue is closed? Problem still occurred

@leszekkrol It's quick fix. They close many issues for no reason.

I tried switching to dev channel and updating to latest version.
Not sure if its just a placebo effort but i feel the scrolling is smoother.

@firatcetiner Thanks for the information, do you have result with the memory usage with your config ?

Not very good actually. Every item in the list consist of:

A low-resolution image (50x50),
5 different Text widgets, one of the may text includes a long text (400 characters) sometimes,
4 buttons in a row

The structure is like this: Container>Column>[Row[Text, Image], Text, Text, Buttons]
With the cacheExtent = 10000.0 and assuming the average height of a child widget is 600 pixels, it should cache at least 15 items per list. Since I have 4 separate lists on different parts of the app at the same time, this means at least 60 items are in the cache. Assuming the cache size is determined for just only one direction Up or Down but not both.
In this case, the memory usage is around ~350MB. I'm not sure this is okay but it seems like a lot.

Hi all, this is an outdated issue, and the explanation to it is unfortunately buried in the noise. Moreover, GitHub collapses the middle of the thread, which includes the reason for closing this issue, and it's really easy to overlook it.

I want to summarize some things for better discoverability:

The initial issue has been fixed months ago.
Please do not look at performance in debug mode. It is understood that debug mode is much slower than profile or release. There's only so much the Flutter SDK can do while also allowing for hot reloading, failing fast, etc. If you want to push the Flutter team to make debug mode faster in a specific scenario, please file a separate issue.
If you have a scrolling performance problem, do file a separate bug. A video is helpful. A piece of code that reproduces the issue is extremely helpful.
If you're new to Flutter and wondering about performance, you should know that it is very much possible to have smooth scrolling in Flutter. Many apps out there have complex ListViews and they scroll without missing a frame. On the other hand, it is also possible that Flutter has bugs that make scrolling slow in a particular case (if you suspect this, please file a bug), and it's also possible to make scrolling janky via other code (if you suspect this, please read flutter.dev/docs/perf/rendering or watch my video from Flutter Europe)

@Hixie, @liyuqian: Would it make sense to rename this issue to something more specific? Would it make sense to close comments on this issue so people don't accidentally bury this information again?

I have filed a fairly specific issue:
https://github.com/flutter/flutter/issues/52207
It is quite easy to get janky scrolling performance once you attach it to a Scrollbar that calls JumpTo.

Make a large list > 5000 items with variable size height rows (ie, don't set itemExtent)
Scroll rapidly back and forth

Builder just doesn't seem optimized for successive calls to JumpTo like a Scrollbar does.

@filiph : I also lost track of what this issue is about and what PR fixed it... Ian's comments https://github.com/flutter/flutter/issues/22314#issuecomment-527683483 and https://github.com/flutter/flutter/issues/22314#issuecomment-488156243 are the closest that I find. @Hixie : I recently noticed "lock bot" sending me a lot of emails. Shall we also lock this issue to incentivize folks to open new issues?

Any update in that case?

This is a massive problem a lot of people are facing and key to Flutters adoption in my opinion. You advertise smooth fps, but a basic functionality like scrolling dynamic content can not get the advertised native level smoothness.

I've changed the title per @filiph 's suggestion to clarify that this issue is about input events handling and it's fixed according to comment (1) and (2).
If there are other performance issues related to ListView, please create a new issue following the suggestion in comment (1) and (2).
We understand your performance concerns and we'll definitely work very hard to fix it. It's just difficult for us to follow an old Github issue with a lot of unrelated comments. So I'm locking down this issue to encourage creating new and focused issues with details of how to reproduce the performance issue. Please feel free to reference me by @liyuqian in the new issues.


Shell out to new process and cache statistics

This PR
For the admin stats page, our calculation takes too long so the request times out. I explored using our existing asynchronous task queue but couldn't quite get it to work. This is the next best thing I thought of, basically:

Fire and forget stat calculation into a new process and cache the results into our database
a. Synchronization is in place so we don't kick off multiple calculation jobs at once
b. Main process is not blocked --> Use a non-blocking attempt to acquire lock from main proc
For the stat page, fetch latest cached result
Display last updated time on stat page, and there is a button to start a new stat calculation

Merging Instructions
@dqian3 create_db.py should be run on the server after this is merged.
Future Work

From here it's straightforward to set up a cronjob to call stats.calculate() if we want to to update the stats at a regular interval
We can also use the computed stats table for our time series stats instead of calculating the daily tables on each request

This will vastly speed up our calculations since the daily tables are the bulk of the work
Would need to backfill - can use our existing daily queries
Might be a little tricky since stats can be calculated more than once per day

Demo
https://user-images.githubusercontent.com/17424008/204136246-906c7ead-c503-49ed-8176-286635bec94f.mp4
Fixes #446

Yeah, the async stuff is tricky to work with, I think the support for development they have isn't great.
I do like the idea of kicking off a new process though and it being able to be updated automatically or manually. Will need to check this implementation though.


Drop files on the the app icon on OSX doesn't open the files in the editor

Drop files on the the app icon on OSX doesn't open the files in the editor.

This should be easy enough: https://github.com/electron/electron/blob/master/docs/api/app.md#event-open-file-macos


Add doc-comment to test README examples

Allows to keep in check the README file examples.

Thanks!


constants from packages

I'm using https://github.com/hoaproject/Consistency which declares a few constants in https://github.com/hoaproject/Consistency/blob/master/Prelude.php
when using those constants, phan emits a warning, eg:

/scripts/src/test/src/foo.php:3 PhanUndeclaredConstant Reference to undeclared constant \WITH_COMPOSER
/scripts/src/test/src/foo.php:3 PhanUndeclaredConstant Reference to undeclared constant \…

I'm not sure how this should be dealt with, obviously making all defined constants available is not going to work. hoaproject/Consistency tell the autoloader to execute the file containing the defines ( https://github.com/hoaproject/Consistency/blob/master/composer.json#L38 )
should phan read composer.json files and make constants find in those files availlable ? (same might be true for functions)

Phan does understand those defines, the problem is that the Prelude.php file has a very weird way of doing the defines:
$define = function ($constantName, $constantValue, $case = false) {
    if (!defined($constantName)) {
        return define($constantName, $constantValue, $case);
    }

    return false;
};

$define('SUCCEED',        true);
$define('FAILED',         false);
$define('…',              '__hoa_core_fill');
$define('DS',             DIRECTORY_SEPARATOR);
$define('PS',             PATH_SEPARATOR);
$define('ROOT_SEPARATOR', ';');

Since $define is a dynamically created function this can't be analyzed statically without the runtime context. What you can do is cheat a bit and add a stub file with these defines.
Make a .phan/config.php file like this:
<?php
use \Phan\Issue;
return [
    'should_visit_all_nodes' => true,
    'minimum_severity' => Issue::SEVERITY_NORMAL,
    'file_list' => ['Consistency.php', 'Prelude.php', 'Xcallable.php', 'Exception.php'],
    'directory_list' => [ '.phan/stubs', 'vendor' ],
    'exclude_analysis_directory_list' => [ 'vendor' ]
];

Then create .phan/stubs/Prelude.php with:
<?php
define('SUCCEED',        true);
define('FAILED',         false);
define('…',              '__hoa_core_fill');
define('DS',             DIRECTORY_SEPARATOR);
define('PS',             PATH_SEPARATOR);
define('ROOT_SEPARATOR', ';');
define('RS',             ROOT_SEPARATOR);
define('CRLF',           "\r\n");
define('OS_WIN',         defined('PHP_WINDOWS_VERSION_PLATFORM'));
define('S_64_BITS',      PHP_INT_SIZE == 8);
define('S_32_BITS',      !S_64_BITS);
define('PHP_INT_MIN',    ~PHP_INT_MAX);
define('PHP_FLOAT_MIN',  (float) PHP_INT_MIN);
define('PHP_FLOAT_MAX',  (float) PHP_INT_MAX);
define('π',              M_PI);
define('nil',            (unset) null);
define('_public',        1);
define('_protected',     2);
define('_private',       4);
define('_static',        8);
define('_abstract',      16);
define('_pure',          32);
define('_final',         64);
define('_dynamic',       ~_static);
define('_concrete',      ~_abstract);
define('_overridable',   ~_final);

After doing this I get:
Consistency.php:253 PhanTypeMismatchReturn Returning type null but getPHPBinary() is declared to return string
Consistency.php:286 PhanRedefineClassInternal Interface \Throwable defined at Consistency.php:286 was previously defined as abstract Interface \Throwable internally
Exception.php:49 PhanUndeclaredExtendedClass Class extends undeclared class \Hoa\Exception

The first one there is a valid error. The second one is inside a PHP version check so it is a bit of a false positive, and the 3rd one is because Phan currently doesn't support the namespace aliasing being used there to define HoaException.


Issue when having &[u8] as parameter

Hello, I have a method that loads binary data and the signature looks like that, within an impl block having #[gen_stub_pymethods]
    #[new]
    pub fn load(data: &[u8]) -> PyResult<Lrs> {
        do_stuff(data);
    }

At the build, I get the following error:
222 |     pub fn load(data: &[u8]) -> PyResult<Lrs> {
    |                       ^^^^^ the trait `Sized` is not implemented for `&[u8]`, which is required by `&[u8]: PyStubType`

I tried very naively to add impl_builtin!{&[u8], "bytes"} to the builtins.rs file, but the I get internal error: entered unreachable code: Missing struct_id = TypeId { t:<PHONE_NUMBER>7199954473,<PHONE_NUMBER>6295551086) }

Sorry… I’m closing, as the problem was on Lrs that I forgot to anotate, not the &[u8]


getAnimeFullById returns Status Code 500

Description -
getAnimeFullById when using , it returns a status code of 500

also why the returned status code is showing 200 , isn't that supposed to be also 500 ?

Resolved. Feel free to re-open the issue if it occurs again. We've opened #314 to address the inconsistent HTTP code response.


2.0-wip Typeahead needs documentation

The markup in the demo only shows how to register the typeahead component, but does not mention the data-data attribute which is used for populating the typeahead menu.

Word, good call. I'm sure @fat can fill us in :).

yep


Add Query\Builder return type to magic scope* methods

It's needed for chain calls like
Model::popular()->orderBy('id','desc') /* popular() here is scopePopular() in model class */

Thanks


什么时候能更新一下，让部署变得更容易一点

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

能不能给一个完整的本地编译通过的教程

确实

草


[Feature] Stock Price Prediction

Are you adding a new feature?

[X] YES
[ ] NO

Are you enhancing the old feature?

[ ] YES
[X] NO

Is your feature request related to a problem?

[ ] YES
[X] NO

Describe your feature/enhancement.

Machine learning has significant applications in the stock price prediction. In this machine learning project, we will be talking about predicting the returns on stocks. This is a very complex task and has uncertainties. We will develop this project into two parts:
First, we will learn how to predict stock price using the LSTM neural network.
Then we will build a dashboard using Plotly dash for stock analysis.
Can you add the feature by yourself?

[X] YES
[ ] NO

This seems quite complex and interesting! Go ahead @Killer2OP ;)

Hello @Killer2OP , this is Version 2 of Fintech API repository, there had been few major updates, please go through the CONTRIBUTING.md to make further contributions. Thanks.

Can I start working on this as the PR as the previous PR is closed? @ighoshsubho

Can I start working on this as the PR as the previous PR is closed? @ighoshsubho

I am working on it.


Allow overwriting the filename in the Imagepool constructor

Whenever you build squoosh in a node project (for example with webpack), the reference to the __filename (in https://github.com/GoogleChromeLabs/squoosh/blob/dev/libsquoosh/src/index.js#L201) is not going to be correct.
This PR allows people to customize it.
For example:
You could copy the contents of ./node_modules/@squoosh/lib/build to  ./build/squoosh,
and then use new ImagePool(1, __dirname + '/squoosh/index.js');

Should be closed because of #1321.


Improve error handling

Handling of error responses from Katapult's API isn't great right now, as we
don't actually parse the detail attribute due to the type being different
depending on the type of error.
To address this, we need to create a whole series of error structs that match up
against all of the error types the Katapult API can return, which are capable of
parsing the detail property according to the the type of that error. These
errors should also conform to the error interface, where the Error() method
returns a sensible string version of itself, taking code, description, and
detail values into account. These custom error structs should also implement
Unwrap() and Is() methods, and act as if they've wrapped a standard error
var.
The existing ResponseError structs will then be used to initially parse the
returned JSON response, and based on the Code field, we initialize the
relevant error struct, having it parse the Detail json.RawMessage field.
All API methods which currently return a stuct, Response, and error should
then be changed, so the error is actually the parsed error struct.
As an example, right now if you get a error back, but want custom logic if it is
a 404 not found error, something like this must be done:
ip, resp, err := client.IPAddresses.GetByID(ctx, "ip_r3NoJOsbEtZOwT89")
if err != nil {
	if resp != nil && resp.Response && resp.StatusCode != 404 {
		// do something for not found errors
	} else {
		// do something for any other error
	}
}

The above is rather cumbersome and annoying, instead I would like to be able to
do something like this:
ip, resp, err := client.IPAddresses.GetByID(ctx, "ip_r3NoJOsbEtZOwT89")
if err != nil {
	if errors.Is(err, katapult.ErrNotFound) {
		// do something for not found errors
	} else {
		// do something for any other error
	}
}

Errors should also have a multiple levels of wrapping, so in the above example,
err is all of the following when checked with errors.Is():

katapult.ErrIPAddressNotFound
katapult.ErrNotFound
katapult.Err

As a final note, once errors are actually returned as the error return value,
the Response return value should probably be refactored into some form of
"meta" object, as it'll mostly just be needed for pagination details, rate
limits, and other such "meta" about the response.

I think as part of this work, it would be reasonable for us to remove the "Response" object and instead integrate this data (where necessary) into the first returned value: e.g
type LoadBalancerList struct {
  katapult.Pagination
  Items []LoadBalancer
}
func (lbc *LoadBalancerClient) List(ctx context.Context, someListOptions optionType) (LoadBalancerList, error) {

}

I think for a majority of cases, we will find that no such "meta" exists, and in many ways I prefer to keep our types relatively scoped and purposeful and "meta" very quickly becomes fluffy, and unpredictable.
We should also take care to refactor some of the error return behaviour when we refactor the errors. As it stands, we tend to return pointers to values in places where we could probably be better served by just returning nil and err. This makes the library simpler to consume as the returned data is either alright or error, and there's no middle state.


Add: Linter & Formatter

Subject
Add: Liner & Formatter
Description
Add Eslint & Pretter or Biome
Are you willing to participate in the development of this feature and create a pull request?
No

@nakayan5
I'm sorry.
I didn't realize that ESLint and Pretter were already in there.
This issue is closed.


feat(table): added option alwaysTruncate (no refactor)

Closes #1196
Summary
The wrapCellText prop could have the values:
• ‘auto’ we apply wrapping only for tables with normal columns. For tables with fixed or resizable columns we use truncation.
• ‘always’ we wrap in all scenarios including tables with fixed or resizable columns (i.e. current situation).
• ‘never’ we never wrap and as a consequence the tables with normal columns* get wide cells and more often horizontal scrolling. For tables with fixed or resizable columns we use truncation.
Feedback and questions shows to some confusion where app developers want to force text truncation for non resizable/fixed width tables. So we added the option alwaysTruncate to support this.
See #1196 for more context
Change List (commits, features, bugs, etc)

Added option alwaysTruncate
Added more unit tests

Acceptance Test (how to verify the PR)
Nota bene! You might have to decrease the width of your browser window in order to trigger truncation of the table cell texts.

In general, verify that the table stories that have a wrapCellText knob will use truncation if the new 'alwaysTruncate' option us selected.

Especially, verify that stories that don't use hasResize and don't have fixed column widths still will truncate when the new 'alwaysTruncate' option us selected.
E.g. /story/watson-iot-table--stateful-example-with-multiselect-filtering

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can other resolutions for the images be used for a custom dataset?

Can other resolutions for the images be used for a custom dataset? Or is 'TrackR-CNN' limited to the resolution of the Kitti_MOTS dataset (1242x375)?

You can use other resolutions. Note that for KITTI MOTS we specified a fixed size in the config, but for MOTSChallenge this is different, so please take a look at the MOTSChallenge config files.

Closing this for now, please reopen if needed


Is this in line with the PDFium licensing ?

I found your library, but i'm curious if this is "free" to use..
At least you should add a disclaimer that this library is used

Which part of the function do you use?
Only SumatraPDF related to print pdf api need to pay attention to his protocol.
He is using gpl3.0
can use print2 instead

This part of the code will also be removed in the future

Thanks


Unable to create log table in mysql

Using phinx 0.3.4.
With a MySQL 5.7.4 server running in STRICT_TRANS_TABLE mode, phinx is unable to create the log table (phinxlog) and exits with an error about an invalid default value for end_time.
The problem is that phinx is trying to make the default value '0000-00-00 00:00:00' on a column with the TIMESTAMP data type.
STRICT_TRANS_TABLE enabled the NO_ZERO_DATE server mode so that is an invalid date.
The correct minimum value for a TIMESTAMP column is '1970-01-01 00:00:01'. When I manually created the table with that default value for end_time, phinx was able to proceed with no problems.

:+1:

Using MySQL, I fixed this issue by monkey patching PdoAdapter:
$table = new Table($this->getSchemaTableName(), $options, $this);
$table->addColumn('version', 'biginteger', array('limit' => 14))
    // Fix "SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'start_time'"
    ->addColumn('start_time', 'timestamp', ['default' => 'CURRENT_TIMESTAMP'])
    ->addColumn('end_time', 'timestamp', ['default' => 'CURRENT_TIMESTAMP'])
    ->save();

Have you located where the default value of 0000-00-00 00:00:00 comes from? I can't find anything in the code that suggests it should act this way... no default is set in createSchemaTable.

I just got this issue with v0.4.2 and MySQL v5.7.5-m15. I upgraded from v0.3.7. I can confirm downgrading back to v0.3.7 fixes this.

I just got this issue with v<IP_ADDRESS> and MySQL v5.7.5-m15.
I tried downgrading (as I just upgraded), and I got the same issue with v0.3.7 and v0.3.8.
The above fix worked for me.

Of course it's been quite some time since I had to look at this but I'm pretty sure that 0 date value is coming from PHP or PDO itself.

I'm having the same issue. @willdurand solution seems fine to me, why this issue is not closed yet?

It can be closed, can't take @willdurand solution at the moment due to the MySQL version on Travis.

p.s we have now merged in a fix for this in fe920ae96a8a31d28f9397e8cc9f1ae4ee9f3f68

@robmorgan, @Awnage  What about mysql version < 5.6 with strict mode?

PR https://github.com/robmorgan/phinx/pull/977


Rust 1.80.0 breaks packages relying on versions of time before 0.3.35

More information here. https://github.com/rust-lang/rust/issues/127343
I'm bringing this up because of this upcoming issue with the nix package for roon-tui, which I added to the nixpkgs repo some time ago.
https://github.com/NixOS/nixpkgs/issues/332957

Thank you @JanKoudijs! Nixpkgs PR is here in case you're curious: https://github.com/NixOS/nixpkgs/pull/338442


It doesn't seem to work.

Also having a similar issue when using this template. I am trying to get smelte + scss with postcss-preset-env and it seems like I can't even get smelte and scss to work on its own.

I think I figured this one out. The issue is that chrome caches the global.css file when the global css hasn't been properly generated yet.
If you are running this on desktop, you can go to dev-tools and click disable cache from there. If you are on mobile, you can change the template.html and rename global.css to something like global.css?v=2. You must do this every time you change it though so I recommend you use chrome dev-tools to simulate a device if you are using this for development.
Good Luck!

Actually I think I misjudged your issue and the issue I was talking about is a completely different one.
While the instructions tell you to use npx degit matyunya/smelte-template my-svelte-project, that is actually a wrong repo and a different issue. To clone the correct repo, use npx degit matyunya/smelte-sapper-template my-svelte-project.


How to get generalized group velocities and specific heat without 3rd force constants

Hi developers,
I have obtained phonon bandwidths of a big system through extropolating those of a small system using the script in the example "amorphous_si_with_extrapolation". But I cannot use 'ForceConstants.from_folder' method to build the 'Forceconstants' instance with only 2nd order force constants and then 'Phonons' instance. As a result, I cannot get the generalized group velocity and generalized specific heat to calculate the thermal conductivity. I didn't see any clues about achieving it in examples. If you can give me any advice, I will appreacite it very much.
Best regards,
Zhuangli Cai

Hi, Zhuangli. Thanks for reaching out and using kALDo for your research. According to the forceconstants API, you can import only 2nd order force constants by specifying the flag only_second=True (More can be found starting from line 80 of https://github.com/nanotheorygroup/kaldo/blob/main/kaldo/forceconstants.py file).
Hope this helps. Feel free to learn us know if you have more follow up questions.
Best,
Zekun

Hi Zekun,
Thank you so much for your quick reply! I will try it.
Best wishes,
Zhuangli


DatagramSocketChannel to provide a channel for each remote address

Hi, could it be a feature like this?
for java's Netty, there is: https://github.com/Shevchik/UdpServerSocketChannel
which implements this feature and greatly benefits UDP game server development.

It doesn't matter, it is possible.
But it will take a while.


counter-examples

Hi! Do you think it's possible to modify the code to add images counter-examples in the support set?

Could you explain more about counter example?

Sorry, I should have provided more context, but I was wondering if, in order to increase performance, it would be useful to provide images of other categories. For example, we're looking for dogs of a specific breed and the CLIP model isn't necessarily powerful enough to put a name to that breed. We could provide images of other breeds of dog in order to differentiate them.

I think it's a possible approach. We can use the  clip image embedding instead of text embeddings.


Trust secret doesn't support bundle with additional format certificates

Describe the bug
When the trust secret has additional format certificates, the broker pods are restarted frequently, i.e.
apiVersion: trust.cert-manager.io/v1alpha1
kind: Bundle
metadata:
  name: my-bundle
spec:
  sources:
  - secret:
      name: "my-foo-cert-secret"
      key: "tls.crt"
  - secret:
      name: "my-bar-cert-secret"
      key: "tls.crt"
  target:
    secret:
      key: "root-certs.pem"
    additionalFormats:
      jks:
        key: "bundle.jks"
      pkcs12:
        key: "bundle.p12"

apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: broker
spec:
  acceptors:
    - name: tls-acceptor
      port: 61617
      sslEnabled: true
      needClientAuth: true
      sslSecret: my-broker-cert-secret
      trustSecret: my-bundle

[!TIP]
Vote this issue reacting with :+1: or :-1:

Resolved by https://github.com/artemiscloud/activemq-artemis-operator/commit/416f9dbda97a4d9951c0f956b8186c9cfa1638a3


/opt/conda/envs/deep3d_pytorch/lib/python3.6/site-packages/nvdiffrast/common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory  #include <EGL/egl.h>           ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed.

When I run the test script:
get reconstruction results of example images
python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples
I faced this issue, Can you give any solution, please?

you can try to update your Graphics driver

当我运行测试脚本时：
获取示例图像的重建结果
python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples 我遇到了这个问题，你能给出任何解决方案吗？

When I run the test script:
get reconstruction results of example images
python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples I faced this issue, Can you give any solution, please?

Did you solve this problem？

当我运行测试脚本时：
获取示例图像的重建结果
python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples 我遇到了这个问题，你能给出任何解决方案吗？

When I run the test script:
get reconstruction results of example images
python test.py --name=<model_name> --epoch=20 --img_folder=./datasets/examples I faced this issue, Can you give any solution, please?

Did you solve this problem？

Did you solve this problem

I have the same or similar problem
/anaconda3/envs/deep3d_pytorch/lib/python3.6/site-packages/nvdiffrast/torch/../common/glutil.h:36:10: fatal error: EGL/egl.h: No such file or directory
   36 | #include <EGL/egl.h>

I solved my "egh.h: no such file" problem by installing this library:
apt-get install libegl1-mesa-dev

我通过安装这个库解决了我的“egh.h：没有这样的文件”问题：apt-get install libegl1-mesa-dev

thank you  I solve it


Linting parallel.py

Supersedes https://github.com/econ-ark/HARK/pull/351

Linting through black, merging in.


npm dependencies

Thank you for your work on your package. I am working with the Quasar framework and we found out that some dependencies should be updated. Could you possibly publish an updated version. Many thanks in advance

<EMAIL_ADDRESS>-> 0.16.1
<EMAIL_ADDRESS>-> 10.1.6

The full report
<EMAIL_ADDRESS>

Thanks for the info! I'll take a look at the weekend

Thank you very much for the quick feedback

We're in a similar situation - would be very grateful for an update!

Thanks for the nudge, Josh!

Hi, have you by any chance had time to devote to the subject yet?

Hi, have you by any chance had time to devote to the subject yet?

Hey, thanks for the second nudge.
Actually spent all weekend on open source, so rest assured I've found time to look at all my projects again!
This should be an easy one, so I'll take a look first thing Monday morning.
Thanks for your patience!

OK, all done and published!
Sorry for the delay and impact on related projects.
Looks like I need to take a look at the whole project again soon, maybe upgrade to ES modules too.

@davestewart Thanks, for the update.
It would probably be great if we could also bring jscodeshift to version 17.

We needed to go from v0.x to a major release, and it may as well happen now

Ha ha ha; no problem!
I'll see what I can do soon

vue-jscodeshift-adapter is also on version 2.2.1 the current version is 3.0.0

A good overview is available here https://npmgraph.js.org/?q=alias-hq#color=outdated&select=exact%3Anode-fetch%402.7.0

node-fetch should be replace with axios? (the latest version 3.3.2 also has outdated packages and the maintenance does not look good)
https://github.com/davestewart/alias-hq/blob/main/cli/services/docs.js

A good overview is available here npmgraph.js.org?q=alias-hq#color=outdated&select=exact%3Anode-fetch%402.7.0

That's pretty neat!

node-fetch should be replace with axios? (the latest version 3.3.2 also has outdated packages and the maintenance does not look good)

It's really only used for fetching the list of integrations, so not sure I want to add 2MB on just for that.
Is it an issue for your current use case?

No it is not, I have also seen that as of nodejs v18 fetch is a fixed part of nodejs.

@davestewart  little nudge 😃

@davestewart little nudge 😃


Add libswoc unit tests

Before this PR, we had pulled in libswoc's production source code into ATS. But we had not done the same with the libswoc unit tests. This ports libswoc unit_tests into ATS and ties it into our cmake system so that they are built and run as a part of ATS unit tests.

[approve ci autest]

Cherry-picked to v10.0.x


tugboat info should show IPv6 address

tugboad info  does not show the assigned IPv6 address.
I think this was also mentioned in the issue about private addresses not being shown but should really be a separate issue.

Closed by https://github.com/pearkes/tugboat/pull/189


Fix search error

Searching for a series doesn't return the expected JSON output.

I have concluded that with the currently employed search methods, the server doesn't return a result if the query cannot be found in the title or the associated names.
For example, searching 'Need a Girl' will not return a result, since the query is not an associated name for the series. However, searching for 'Need a Girl' with the site's search (on the site itself) causes the title to appear in the results.
Currently, the resolution isn't compatible with the employed search methods and would be subject to an alteration. This issue will be closed once addressed within the project itself.

The newly-implemented 'PerformSiteSearch' (to be renamed) method performs the right-hand search for releases. This is currently intended to be a separate search function from the title Search method.
A more elegant solution may be possible, but it should only be approached once we've gotten a better feel of the site and the project's design.


[Sync] More efficient storage provider

Motivation
Use more efficient storage solution that do not perform JSON.stringify etc.
Proposed option: https://github.com/localForage/localForage

ping @DaraHayes @StephenCoady

Yeah according to the upstream documentation localForage is 'supported out of the box' so it would be worth testing out as a drop in replacement. https://github.com/apollographql/apollo-cache-persist#storage-providers

Yes. I have noticed huge performance gains on application startup even on simple showcase dataset. Rehydrating localstorage takes long time when is persisted as string (JSON.strinfigy). We need that as default option (it is simple to pass that into the showcase application but I have been using this for some time now and it seems that it will be seamless transition.

TODO! Migrate this to jira.


gnb crashes on SDP answer - Cannot find QFI mapping for DRB4.

Hi,
I have problem with srsGNB, it crashes whenever I get 18x/200OK with SDP during my N5 QoS tests:
/srsRAN_Project/lib/sdap/sdap_entity_impl.h:55: virtual srsran::srs_cu_up::sdap_rx_pdu_handler& srsran::srs_cu_up::sdap_entity_impl::get_sdap_rx_pdu_handler(srsran::drb_id_t):
Assertion `rx_it != rx_map.end()' failed - Cannot find QFI mapping for DRB4.
/mnt/srsran/srsran_init.sh: line 55:    40 Aborted                 (core dumped) gnb -c /etc/srsran/gnb.yml -c /etc/srsran/qos.yml

2024-08-08T20:03:20.526163 [FAPI    ] [W] [   266.0] Real-time failure in FAPI: Received late UL_TTI.request from slot 265.19
2024-08-08T20:03:42.086532 [RLC     ] [W] du=1 ue=0 DRB2 DL: Reached maximum number of RETX. sn=34 retx_count=4
2024-08-08T20:03:44.759495 [RLC     ] [W] du=1 ue=0 DRB1 DL: Reached maximum number of RETX. sn=18 retx_count=4
2024-08-08T20:05:42.551506 [CU-UP   ] [E] ue=0: psi=2 could not remove ul_teid at session termination. ul_teid=0x000002
2024-08-08T20:05:42.551513 [CU-F1-U ] [W] Could not find UL GTP Tunnel={Addr=<IP_ADDRESS> TEID=0x000002} at CU to remove.
2024-08-08T20:06:14.494113 [SDAP    ] [E] ue=0 psi=1: Cannot overwrite existing DL mapping for QFI=2

gnb.zip
gnb_crashes.zip

here is a coredump in case needed :
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140408968447552) at ./nptl/pthread_kill.c:44
        tid = <optimized out>
        ret = 0
        pd = 0x7fb382b00640
        old_mask = {__val = {8097864050867857772,<PHONE_NUMBER>094798127,<PHONE_NUMBER>489872244,<PHONE_NUMBER>592356972,<PHONE_NUMBER>791167862,<PHONE_NUMBER>660089971,<PHONE_NUMBER>888694387,
<PHONE_NUMBER>052567152,<PHONE_NUMBER>974502002,<PHONE_NUMBER>264483425,<PHONE_NUMBER>660089971,<PHONE_NUMBER>888694387,<PHONE_NUMBER>052567152,<PHONE_NUMBER>662350949,
<PHONE_NUMBER>833366125,<PHONE_NUMBER>171316063}}
        ret = <optimized out>
        pd = <optimized out>
        old_mask = <optimized out>
        ret = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
        resultvar = <optimized out>
        resultvar = <optimized out>
        __arg3 = <optimized out>
        __arg2 = <optimized out>
        __arg1 = <optimized out>
        _a3 = <optimized out>
        _a2 = <optimized out>
        _a1 = <optimized out>
        __futex = <optimized out>
        resultvar = <optimized out>
        __arg3 = <optimized out>
        __arg2 = <optimized out>
        __arg1 = <optimized out>
        _a3 = <optimized out>
        _a2 = <optimized out>
        _a1 = <optimized out>
        __futex = <optimized out>
        __private = <optimized out>
        __oldval = <optimized out>
        result = <optimized out>
#1  __pthread_kill_internal (signo=6, threadid=140408968447552) at ./nptl/pthread_kill.c:78
No locals.
#2  __GI___pthread_kill (threadid=140408968447552, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
No locals.
#3  0x00007fb3a512f476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
        ret = <optimized out>
#4  0x00007fb3a51157f3 in __GI_abort () at ./stdlib/abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0,<PHONE_NUMBER>08608, 0,<PHONE_NUMBER>26368, 0,<PHONE_NUMBER>08544, 0,<PHONE_NUMBER>7088,
<PHONE_NUMBER>08720,<PHONE_NUMBER>08672, 0, 0, 0, 0,<PHONE_NUMBER>619049984, 0}}, sa_flags = -2102431488, sa_restorer = 0x55a41932f134}
        sigs = {__val = {32,<PHONE_NUMBER>960524881,<PHONE_NUMBER>979705449,<PHONE_NUMBER>0612,<PHONE_NUMBER>99456,<PHONE_NUMBER>08720,<PHONE_NUMBER>8305,<PHONE_NUMBER>, 0,<PHONE_NUMBER>, 0, 0,
            268435456, 0, 0, 0}}
#5  0x000055a4180e2606 in srsran::detail::print_and_abort(char const*, int, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
No symbol table info available.
#6  0x000055a4187ce778 in srsran::srs_cu_up::sdap_entity_impl::get_sdap_rx_pdu_handler(srsran::drb_id_t) ()
No symbol table info available.
#7  0x000055a4181f5672 in srsran::srs_cu_up::pdu_session_manager_impl::handle_drb_to_setup_item(srsran::srs_cu_up::pdu_session&, srsran::e1ap_drb_to_setup_item_ng_ran const&) ()
No symbol table info available.
#8  0x000055a4181f5d88 in srsran::srs_cu_up::pdu_session_manager_impl::modify_pdu_session(srsran::e1ap_pdu_session_res_to_modify_item const&, bool) ()
No symbol table info available.
#9  0x000055a4181e76ec in srsran::srs_cu_up::cu_up::handle_bearer_context_modification_request(srsran::srs_cu_up::e1ap_bearer_context_modification_request const&) ()
No symbol table info available.
#10 0x000055a4181f0cb2 in srsran::srs_cu_up::e1ap_cu_up_adapter::on_bearer_context_modification_request_received(srsran::srs_cu_up::e1ap_bearer_context_modification_request const&) ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x000055a418808725 in srsran::srs_cu_up::e1ap_cu_up_impl::handle_bearer_context_modification_request(asn1::elementary_procedure_option<asn1::e1ap::bearer_context_mod_request_ies_container> const&) ()
No symbol table info available.
#12 0x000055a4186f49b2 in srsran::task_details::smallbuffer_table_t<srsran::priority_task_worker<(srsran::concurrent_queue_policy)1, (srsran::concurrent_queue_policy)1, (srsran::concurrent_queue_policy)0>::priority_task_worker(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::array<unsigned int, 3ul> const&, std::chrono::duration<long, std::ratio<1l, 1000000l> >, srsran::os_thread_realtime_priority, srsran::os_sched_affinity_bitmask const&)::{lambda()#1}, void>::call(void*) const ()
No symbol table info available.
#13 0x000055a418626a44 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<srsran::unique_thread::make_thread(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, srsran::unique_function<void (), 32ul, false>, srsran::os_thread_realtime_priority, srsran::os_sched_affinity_bitmask const&)::{lambda()#1}> > >::_M_run() ()
No symbol table info available.
#14 0x00007fb3a54f9253 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#15 0x00007fb3a5181ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
        ret = <optimized out>
        pd = <optimized out>
        out = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140725324715328,<PHONE_NUMBER>270731333,<PHONE_NUMBER>47552, 2,<PHONE_NUMBER>93136,<PHONE_NUMBER>15680, -1874353259636963771,
                -1874417963004836283}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#16 0x00007fb3a5213850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.

hmm, could be an issue with srsRAN.. did you try using the latest git commit in the srsRAN gNB image??

I downloaded it today and used it util now its stable, I will let it run few times and see.

I see sometimes underflow, at one point it was flooding the console, but now its ok, I only see then warning at startup:
"The PRACH detector will not meet the performance requirements with the configuration {Format B4, ZCZ 0, SCS 30kHz, Rx ports 1}."
I'm using the same config from the docker srsRAN, the device are attaching ok and I did not notice any performance issues though.

here is an update : it looks like the crushes with the old version due to the QoS modify requests, the new version act weird after getting PDUSessionModify a few times at some point he just stop responding and need to be stopped and restarted, but happend rare from the whole night yesterday I encountered it only once.
Lets wait for srsRAN Team to add the support for the session modify issue_768


New sheet mighty deeds using the wrong value

On the new sheet, mighty deeds seem to be using the "Melee attack" value instead of "Attack Bonus".

What are you clicking for Mighty Deeds?


docs: change text to links in popup footer

Change this readonly text to link: https://github.com/pingcap/tidb.ai
and change to text: "Powered by pingcap/tidb.ai, deploy your own for free."

will be closed by https://github.com/pingcap/tidb.ai/commit/cf70efb3ce301cfdc1aad1f5eb20df77caef291f


Add docs for running eigen locally

Also adds extension recommendations for Emission inside VS Code, as I had that laying around

👍


use --no-check=remote in ci

https://github.com/ayame113/socket-graph/runs/4500160358?check_suite_focus=true

close with #16


Images won't upload (on some particular client devices)

Description
This is a very weird bug and I can't wrap my head around it. I installed the plugin on a live website and everything works as expected. I can resize/compress images that were previously uploaded and new images get resized automatically. It works, ON MY DEVICE. My client who is also the content manager, for some reason can't.
Whenever he uploads an image, it shows the loading bar animation, and after that an infinitely spinning wheel. The images do get stored in the storage>runtime>temp, but not in the assets folder.
This is also the case in the bug described in issue  #33. As it's suggested there to be solved by moving the site to a different server, I'm not sure if that issue is related to mine.
Obviously, the client and I are working on the same (live) website, so I'm assuming it's nothing to do with my server settings, since everything works as expected here.
We both have the same internet provider. I tested the plugin on my mac on his home network, and it still works for me.
I'm on Mac OSX, my client is on a Windows. All my browsers here do the trick, all his browsers don't (tested in Internet Explorer, Edge and Google Chrome).
Disabling the image-resizer plugin gives no issues when uploading images.
Steps to reproduce

Upload one or more images via the File Manager or content>entry in the craft backend.
Endless spinning wheel.
Image stays inside : storage>runtime>temp.

Additional info

Plugin version: 1.1.0
Craft version: 2.6.3005

Closing - the Craft 2 version is no longer supported.


SpeedIndex and FirstPaint resulting in -1

When running browsertime with phantomjs2 the resulting JSON file shows the following:
[...]
	"firstPaint": {
		"min": "-1",
		"max": "-1",
		"p10": "-1",
		"p70": "-1",
		"p80": "-1",
		"p90": "-1",
		"p99": "-1",
		"median": "-1",
		"mean": "-1"
	},
	"speedIndex": {
		"min": "-1",
		"max": "-1",
		"p10": "-1",
		"p70": "-1",
		"p80": "-1",
		"p90": "-1",
		"p99": "-1",
		"median": "-1",
		"mean": "-1"
	}
[...]

I am not sure if this is an issue of this repository or of a sub-component.
On debian with 2.0.1-development self-compiled
root@xxxxxx ~ # browsertime -u http://www.toptarif.de -n 1 -b phantomjs
info: Starting proxy on port 2001, will wait at most 15000 ms
info: Fetching http://www.toptarif.de (1 of 1)
info: Storing /root/www.toptarif.de.har
info: Storing /root/www.toptarif.de.json
info: Stopping proxy

On windows with phantomjs 2.0.0 from phantomjs.org
C:\Users\wieczorekp\Desktop>browsertime -u http://www.toptarif.de -n 1 -b phantomjs
info: Starting proxy on port 2001, will wait at most 15000 ms
info: Fetching http://www.toptarif.de (1 of 1)
info: Storing C:\Users\xxxxx\Desktop\www.toptarif.de.har
info: Storing C:\Users\xxxxx\Desktop\www.toptarif.de.json
info: Stopping proxy

The results are the same.

yes, I need to add some docs. So it is like this: the RUM Speed Index needs a browser that supports the resource timing API (today Chrome, Firefox and IE (but it doesn't work in IE) and if the browser doesn't support firstPaint natively, the resource timings is used to calculate it. PhantomJS has not support for the resource timing API.


long confirmation times and failing to populate transaction list

I've noticed some strange behavior during long confirmation times. A transaction will randomly silently pass (transfers funds between addresses) but will not display success or appear in the transactions list. This seems somewhat concerning. cc @grod220 @Valentine1898 have you noticed this before?
https://github.com/penumbra-zone/web/assets/70081547/ccc04ac3-4fc0-40fb-9abb-80b10582712f

Is this the result of unstable RPC? For example, TransactionsByHeight may fail to return a result or return it for a very long time (infinitely pending)

I have not encountered this problem specifically, but I have observed that when RPC is unstable, some requests hang forever during sync

Is this the result of unstable RPC

this was observed last night when the rpc was stable https://grafana.testnet.penumbra.zone/d/Uq0N5097k/client-info?orgId=1&from=now-12h&to=now

My intuition also suggests this issue is RPC-related, as it seems to work fine on another less used RPC node. I'll keep this issue open as a record.

can't replicate, closing for now


Update Composer dependencies (2023-07-28-00-13)

Visual regression test passed!
View the visual regression test report


Thoughts on adding static linking

I am not quite sure what the build process is for the platform. I am just wondering how we would feel about adding static linking compilation to the tools the portable side of it.
I think that one of the main issues people encounter with this particular tool. The thing is quite specific libs are used which add complexity when running this on minimal platforms.

This seems to be just my own noob mistake. If you for example on a new system you use the make compile with just build-essential installed or 'development tools' on CentOS.
You should be ultimately able to generate a new project for the expected target system.
My deployment process is to have the site directory under repository management. Then move the release (portable) project to the server and load the repo as required. I assumed have the release project statically compiled would make things much simpler.
Though should not be too much work I think to compile nitrogen on the remote server the important my site directory. I could link some of the other stuff like which like the etc directory which I feel is the only other configurable directory that I would like to keep version under the same repo.
I am going to try load the site from my repo into newly compile project and see if it all works. Then from that point I will close this.
It should still be searchable to people who might run into this issue.

It seems to work with out a hitch. The only issue I encounter was with beam files. The version of Erlang was stating it can only support 167 opcodes when the other one could support 168. It's not an issue though simply deleting the beam files associated with my with static components in the web app helps I left the nitrogen nitrogen_app.beam nitrogen_sup.beam nitrogen_sup.beam as is. The rest of them are recompiled when using using `make compile' in the generated directory.
I will close this now but if anyone else ever comes across same issue hopefully this will be find-able. I might write blog on it on a later date but I imagine it should simply for other people to solve than it was for me.

No problem.
That's interesting, I appreciate it and I will take a look at that. I already like the preexisting application so looking forward to the new one.


Fix Mobile Engagement Android Reach links & anchors & remove duplicate sections

Hi @gperrot, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


Negative current statistic

stat->current is increased by amount of memory requested in user application. During free() it's decreased by size of usable block which is usually larger. Therefore after free() the stat isn't zero but has some negative value.

Thanks. However, the stat is also increased by the usable size when allocated: https://github.com/microsoft/mimalloc/blob/master/src/alloc.c#L99
so it must be some other effect. It may occur for example if some threads terminate where some data may still be live. This gets picked up by still running threads in which case their free stats will get negative. In the end though when all stats are merged it should be correct again.
Let me know if that is it or if we need to look further into this.

Please consider following patch:
diff --git a/src/stats.c b/src/stats.c
index 203bad8..8f414fb 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -297,6 +297,8 @@ static void _mi_stats_print(mi_stats_t* stats, mi_msecs_t elapsed, mi_output_fun
mi_stat_print(&total, "total", 1, out, arg);
_mi_fprintf(out, arg, "malloc requested:     ");
mi_print_amount(stats->malloc.allocated, 1, out, arg);

_mi_fprintf(out, arg, "malloc current:     ");
mi_print_amount(stats->malloc.current, 1, out, arg);
_mi_fprintf(out, arg, "\n\n");
#endif
mi_stat_print(&stats->reserved, "reserved", 1, out, arg);

and the test program:
#include <stdio.h>
#include "mimalloc.h"
int main(void){
int * p = mi_malloc(60000);
mi_stats_print_out(NULL, NULL);
*p = 100;
mi_free(p);
mi_stats_print_out(NULL, NULL);
return 0;
}
After free it prints:
malloc current:        -5.-4 kb

Apologies for the late fix but it was indeed a mismatch between the usable sizes! Great you found this -- thanks so much. It should be fixed in the latest dev.


Monitoring and pass through

Would it be possible to pass through the serial packets to the display so basically the ESP is in the middle, it parses the packets and once complete outputs the same packet via SoftwareSerial on another set of pins which is connected to the display?

If I remember correctly it's enough to connect the RX pin to the TX line of the votronic device (with an attached display). The component will be able to decode the passively received data.


support download cloudera HBase

Add cloudera repository to download cloudera HBase

Normally you'd do this by adding the repo to your local maven settings.xml file. What's the advantage of doing it in our poms? AFAIK none of the vendor provided versions of HBase require e.g. a different module.


Ae/machines/template

Added roles again to the machines templates at the same level as version. The clusterctl requires this to determine what roles each machine is as part of the process of starting controllers.

Roles were removed as top-level fields in this commit. Can you explain why the controllers need to understand roles to start? I would be surprised to learn that the controllers require any Machine objects to start.

Clusterctl fails to start. Please regen your machine yaml files and retry.
On Thu, Jul 26, 2018, 10:10 AM David E Watson<EMAIL_ADDRESS>wrote:

Roles were removed as top-level fields in this
https://github.com/kubernetes-sigs/cluster-api/commit/b90c541b315ecbac096fa371b4436d60ce5715a9
commit. Can you explain why the controllers need to understand roles to
start? I would be surprised to learn that the controllers require any
Machine objects to start.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/samsung-cnct/cluster-api-provider-ssh/pull/20#issuecomment-408167881,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0KkqUnc9xlXnv3Me8u6wvhRAYML2xIks5uKffwgaJpZM4VhRXq
.

I want to also point to this:
https://github.com/kubernetes-sigs/cluster-api/blob/master/pkg/apis/cluster/v1alpha1/machine_types.go
that i think is our source of truth.

which means only thing we need is to have spec and versions.... interesting it used to ask for roles but now it doesnt even care. the apis are a changing?

Roles were removed two days ago so maybe you just hadn't run dep since then?

That's a huge shift to the structure of this in general. I can hear the sound of broken runs...


I want to add some graph algorithms in C++ programming language

I want to add some graph algorithms in C++ programming language

@chaitanyasai321 you can proceed