Change custom ENV vars key/value calculation

What

Changed the way the custom ENV vars are calculated in aws:elasticbeanstalk:application:environment setting

Why

Using null_resource to generate key/value pairs for ENV vars like this:

resource "null_resource" "env_vars" {
  count = 50

  triggers {
    key = "${count.index < length(var.env_vars) ?
                        element(concat(keys(var.env_vars),list("")), count.index) :
                        format(var.env_default_key, count.index+1)
               }"

    value = "${count.index < length(var.env_vars) ?
                        lookup(var.env_vars, element(concat(keys(var.env_vars),list("")), count.index), var.env_default_value) :
                        var.env_default_value
                 }"
  }
}

setting {
  namespace = "aws:elasticbeanstalk:application:environment"
  name      = "${null_resource.env_vars.0.triggers.key}"
  value     = "${null_resource.env_vars.0.triggers.value}"
}
setting {
  namespace = "aws:elasticbeanstalk:application:environment"
  name      = "${null_resource.env_vars.1.triggers.key}"
  value     = "${null_resource.env_vars.1.triggers.value}"
}

DOES NOT work when it's used from top-level modules AND when there is a dependency between modules AND terraform apply or terraform plan runs for the first time (meaning no AWS resources have been created yet), e.g.
module "elastic_beanstalk_environment" {
  source        = "git::https://github.com/cloudposse/terraform-aws-elastic-beanstalk-environment.git?ref=tags/0.2.4"

  env_vars                = "${
      merge(
        map(
          "EFS_HOST", "${module.efs.dns_name}"
        ), var.env_vars
      )
    }"
}

module "efs" {
  source             = "git::https://github.com/cloudposse/terraform-aws-efs.git?ref=tags/0.3.1"
  namespace          = "${var.namespace}"
  name               = "${var.name}"
  stage              = "${var.stage}"
  security_groups    = ["${module.elastic_beanstalk_environment.security_group_id}"]
}

Terraform throws the error:

the key for null_resource.env_vars.0.triggers.key could not be found

Looks like Terraform can't resolve the module inter-dependencies when using null_resource.
The proposed way of generating key/value pairs for ENV vars works in all cases.

@goruha aren't you already using this without a problem?

It works OK IF you provide all the ENV vars only from variables.tf.
Does not work when a map is provided from top-level modules AND there is a dependency between modules, probably because Terraform can't use null_resource correctly as described in the PR description

Did you try using locals {} values instead of null_resource? I think that may fix it since it's more of a first class citizen.
https://www.terraform.io/docs/configuration/locals.html
With locals we would have local.keys as a formatted list of keys and local.values and a formatted list of values.

will test locals


Update Globals “site_data”

Automatically generated by Netlify CMS

👷 Deploy Preview for thunderous-brigadeiros-23902d processing.

Name
Link

🔨 Latest commit
3066f220a73013b884b1da0d057bdf2b19331014

🔍 Latest deploy log
https://app.netlify.com/sites/thunderous-brigadeiros-23902d/deploys/6331a6053031c200086ef034


Warn when prevalence imports are stale

Add a warning in calculator that displays when prevalence updates haven't been done in a week or longer.
Fixes https://github.com/microCOVID/microCOVID/issues/1330
Feedback I'd like:

Does the wording to better match the site's voice?
Does the timeframe on when to flip on the warning seem about right?

Note: warning only displays once the location is selected, as that's when calculatordata.prevalanceDataDate is available.
A good follow-up PR would be to adjust this to be locale-specific and also handle cases of staleness further upstream.  Note that the 'lastUpdatedDate' entry is not read in currently - presumably that's the first thing to fix.

Thanks for putting up the PR @apiology! I'm supportive of this in general, but I agree it should be closer to the data itself. @beshaya do you have thoughts on this?

@justinhaaheim: Sounds good, I'll give that a shot this weekend.

Hmmm, looks like at least in some point in the tests, prevalanceDataDate becomes a string instead of a Date.  Looking into it.

@justinhaaheim @xaqrox @beshaya: I've updated per the feedback above and tests are passing now (GitHub is just waiting for the merge of #1443 for the typecheck-* checks).
To trigger this while testing manually, I did the following:

Go to the bottom of src/data/location.ts and change the updatedAt attribute of the last entry (for Zimbabwe) to more than a week ago.
Load up the site
Verify with no location selected no warning appears.
Choose a non-Zimbabwe location.
Verify no warning appears.
Choose Zimbabwe as the location.
Verify the warning appears.
Click the 'x' on the warning.
Verify the warning goes away.

@beshaya Thanks for your help getting #1450 merged - it looks like automatic prevalence updates are moving again 🎊
If you have the time to review, this one will help warn users for situations that #1450 does not cover.


TextField is broken on Linux desktop

Take this sample:
import 'package:flutter/material.dart';

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

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

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: _title,
      home: MyStatefulWidget(),
    );
  }
}

class MyStatefulWidget extends StatefulWidget {
  const MyStatefulWidget({Key? key}) : super(key: key);

  @override
  State<MyStatefulWidget> createState() => _MyStatefulWidgetState();
}

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
  late TextEditingController _controller;

  @override
  void initState() {
    super.initState();
    _controller = TextEditingController();
  }

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: TextField(
          controller: _controller,
          onSubmitted: (String value) async {
            await showDialog<void>(
              context: context,
              builder: (BuildContext context) {
                return AlertDialog(
                  title: const Text('Thanks!'),
                  content: Text(
                      'You typed "$value", which has length ${value.characters.length}.'),
                  actions: <Widget>[
                    TextButton(
                      onPressed: () {
                        Navigator.pop(context);
                      },
                      child: const Text('OK'),
                    ),
                  ],
                );
              },
            );
          },
        ),
      ),
    );
  }
}

and flutter run -d linux on master. Click the text field. Whole screen goes black.
@cbracken?

/cc @robert-ancell @jpnurmi @wmww for thoughts

Bisected this to https://github.com/flutter/flutter/pull/105011 @jpnurmi @wmww both had linux based changes in there.

Looks like https://github.com/flutter/engine/pull/33111 broke it @jpnurmi

If this turns out to be GTK version-specific, a quick look at the output of dpkg -l on my corp machine shows it has libgtk-3-0 installed at version 3.24.34.

I've tried various combinations of GTK (3.24.30 and 3.24.34) and desktops (Sway running on XWayland, Sway running on Wayland, i3, GNOME Wayland, GNOME X11, Openbox) without ever seeing this. For all I used Flutter built from the tip of main and Ubuntu 21.10 (I built GTK from source to get 3.24.34).

I'm also having trouble reproducing this. I gave it a quick try with both GNOME Wayland and GNOME X11 on Debian Testing (closest we can get to gLinux?) with libgtk-3-0 3.24.34-1.
jpnurmi@debiantestin:~$ flutter doctor -v
[✓] Flutter (Channel master, 3.1.0-0.0.pre.2133, on Debian GNU/Linux bookworm/sid 5.18.0-3-amd64, locale en_US.UTF-8)
    • Flutter version 3.1.0-0.0.pre.2133 on channel master at /home/jpnurmi/Flutter
    • Upstream repository https://github.com/flutter/flutter
    • Framework revision 5820b5f039 (4 hours ago), 2022-08-07 08:19:07 -0400
    • Engine revision 1736a5562c
    • Dart version 2.19.0 (build 2.19.0-73.0.dev)
    • DevTools version 2.16.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Linux toolchain - develop for Linux desktop
    • Debian clang version 14.0.6-2
    • cmake version 3.24.0
    • ninja version 1.11.0
    • pkg-config version 0.29.2

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

[✓] Connected device (1 available)
    • Linux (desktop) • linux • linux-x64 • Debian GNU/Linux bookworm/sid 5.18.0-3-amd64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

@dnfield Could you paste the glxinfo -B output, please? It's provided by the mesa-utils package.

name of display: :20
display: :20  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa/X.org (0xffffffff)
    Device: llvmpipe (LLVM 13.0.1, 256 bits) (0xffffffff)
    Version: 21.3.8
    Accelerated: no
    Video memory: 192013MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.3.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 21.3.8
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Reverting flutter/engine#33111 is not straightforward because there are several conflicting changes on top. It might be more reasonable to add a window delegate interface to be able to move back to using the top-level window as the IM client window.
I was hoping to get closer with Debian Testing but apparently, we have different major versions:

LLVM 14.0.4 vs. 13.0.1
Mesa 22.0.5 vs. 21.3.8

name of display: :20
...
   Video memory: 192013MB

What kind of setup is this?

CC @goderbauer

Reverting flutter/engine#33111 is not straightforward because there are several conflicting changes on top. It might be more reasonable to add a window delegate interface to be able to move back to using the top-level window as the IM client window.
When it comes to reproducing the issue, I was hoping to get closer with Debian Testing but apparently, we have different major versions:

LLVM 14.0.4 vs. 13.0.1
Mesa 22.0.5 vs. 21.3.8

name of display: :20
...
   Video memory: 192013MB

What kind of setup is this?

I believe it's just referring to my system memory - the graphics card is a Nvidia Quadro P1000, but I have 192 gigs of RAM.

Could you give it a try with https://github.com/jpnurmi/engine/commits/text-input-view-delegate please?

Could you give it a try with https://github.com/jpnurmi/engine/commits/text-input-view-delegate please?

This patch makes the bug go away.

Thanks for testing! I opened https://github.com/flutter/engine/pull/35272


Please add the screenshot .

Sir please add the device hardware Id screenshots, so that users can easily identify

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

ID: e29e581e-02a0-dab0-83db-25ae1ca1aebb
Version Independent ID: 21141809-e821-8e58-dcf2-be1d1bb9be87
Content: Step 1 The New Device is Identified - Windows drivers
Content Source: windows-driver-docs-pr/install/step-1--the-new-device-is-identified.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Sorry, @RAJU2529, but we can't add user-specific screenshots to this documentation.  The docs contain high-level generic examples only.


fix typo & more comments

https://github.com/lonnng/nano/pull/14/commits/a143775b5cdd0faeca534054b5d9610d8b38f988
resolve conflicts


OSMO price showing 3 digits

Hi,
I'm a QA engineer in my day job so I wanted to point something very small out to see if this is a bug on osmosis. It looks like we are only displaying 3 digits for the OSMO price on the pools page at the top of the page. For example right now the price of OSMO is under $10 so it displays nicely to the hundredths place. It's showing as $9.98
Yesterday when OSMO was over $10 we were only displaying the price to the tenths place. For example when the price was $10.26 it would only show as $10.2. I'd be happy to submit a PR to the repo if someone can send me a link.
Aaron
Link to OSMO reddit page where I posted this:
https://www.reddit.com/r/OsmosisLab/comments/s6eu7p/osmo_price_showing_3_digits/

Hi @Harvnlenny!
afaik this is the code for Osmo price if you'd like to take a crack at this:
https://github.com/osmosis-labs/osmosis-frontend/blob/master/src/stores/price/index.ts

I haven't looked into it. But this is where it is rendered:
https://github.com/osmosis-labs/osmosis-frontend/blob/master/src/pages/pools/components/LabsOverview/OsmoPrice.tsx

Looks like this is because the calculatePrice() function shrinks the decimals depending on the length of the integer. You might notice the the same display pattern on the Keplr browser extension.
I opened a pull request to use a new method instead


BasicTextField always crash on ios

Describe the bug
Using BasicTextField without English characters always causes crashes on iOS devices.
Affected platforms
Select one of the platforms below:

iOS

Versions

Kotlin version*: 1.9.10
Compose Multiplatform version*: 1.5.10-beta02
OS version(s)* (required for Desktop and iOS issues): iOS17

Test
BasicTextField input chinese or japanese after click to other basicTextField.

Hello! Thanks for a bug description!
Is it reproduced on iOS simulator, or on real device?
What concrete language keyboards are you trying to use in iOS settings? Is it presented in this list?

Hello! Thanks for a bug description!
Is it reproduced on iOS simulator, or on real device?
What concrete language keyboards are you trying to use in iOS settings? Is it presented in this list?

It is real device

Ok, thanks!
I reproduced it!

Ok, thanks! I reproduced it!

Ok thank you,
here is the error message.
Uncaught Kotlin exception: kotlin.NotImplementedError: An operation is not implemented: implement isPosition
at 0   iosApp                              0x102829baf        kfun:kotlin.Throwable#(kotlin.String?){} + 123
at 1   iosApp                              0x1028235a3        kfun:kotlin.Error#(kotlin.String?){} + 119
at 2   iosApp                              0x10295f693        kfun:kotlin.NotImplementedError#(kotlin.String){} + 119
at 3   iosApp                              0x102f9e3d3        kfun:androidx.compose.ui.window.SkikoUIView.object-1.isPosition#internal + 263
at 4   iosApp                              0x102fa2527        _6f72672e6a6574627261696e732e636f6d706f73652e75693a75692f6f70742f6275696c644167656e742f776f726b2f356234626566333562333562396631322f636f6d706f73652f75692f75692f7372632f75696b69744d61696e2f6b6f746c696e2f616e64726f6964782f636f6d706f73652f75692f77696e646f772f536b696b6f5549566965772e6b74_knbridge178 + 311
at 5   iosApp                              0x1038ca623        _6f72672e6a6574627261696e732e636f6d706f73652e75693a75692f6f70742f6275696c644167656e742f776f726b2f356234626566333562333562396631322f636f6d706f73652f75692f75692f7372632f75696b69744d61696e2f6b6f746c696e2f616e64726f6964782f636f6d706f73652f75692f77696e646f772f536b696b6f5549566965772e6b74_kncfun179 + 11
at 6   UIKitCore                           0x108a58d73        -[UIResponder(UITextInput_Internal) _findPleasingWordBoundaryFromPosition:] + 75
at 7   UIKitCore                           0x108a58d07        -[UIResponder(UITextInput_Internal) _findBoundaryPositionClosestToPosition:withGranularity:] + 87
at 8   UIKitCore                           0x108a27e03        -[_UIKeyboardTextSelectionController selectPositionAtPoint:granularity:completionHandler:] + 335
at 9   UIKitCore                           0x108e2435b        -[UITextSelectionInteraction tappedToPositionCursorWithGesture:atPoint:granularity:completionHandler:] + 495
at 10  UIKitCore                           0x108e23d9b        -[UITextSelectionInteraction _checkForRepeatedTap:gestureLocationOut:] + 815
at 11  UIKitCore                           0x108e2486b        -[UITextSelectionInteraction _handleMultiTapGesture:] + 799
at 12  UIKitCore                           0x108b6ce8f        -[UIApplication sendAction:to:from:forEvent:] + 95
at 13  UIKitCore                           0x1085fd98b        -[UITextMultiTapRecognizer onStateUpdate:] + 163
at 14  UIKitCore                           0x1086b685f        -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:] + 75
at 15  UIKitCore                           0x1086be253        _UIGestureRecognizerSendTargetActions + 87
at 16  UIKitCore                           0x1086bb91f        _UIGestureRecognizerSendActions + 295
at 17  UIKitCore                           0x1086bb07b        -[UIGestureRecognizer _updateGestureForActiveEvents] + 547
at 18  UIKitCore                           0x1086adfb3        _UIGestureEnvironmentUpdate + 2595
at 19  UIKitCore                           0x1086ad2af        -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 287
at 20  UIKitCore                           0x1086ad01f        -[UIGestureEnvironment _updateForEvent:window:] + 155
at 21  UIKitCore                           0x108ba19ff        -[UIWindow sendEvent:] + 3087
at 22  UIKitCore                           0x108b8168b        -[UIApplication sendEvent:] + 575
at 23  UIKitCore                           0x108c01013        __dispatchPreprocessedEventFromEventQueue + 1707
at 24  UIKitCore                           0x108c03ec3        __processEventQueue + 5519
at 25  UIKitCore                           0x108bfcf57        __eventFetcherSourceCallback + 155
at 26  CoreFoundation                      0x1803c669b        CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 23
at 27  CoreFoundation                      0x1803c65e3        __CFRunLoopDoSource0 + 171
at 28  CoreFoundation                      0x1803c5d53        __CFRunLoopDoSources0 + 231
at 29  CoreFoundation                      0x1803c043b        __CFRunLoopRun + 767
at 30  CoreFoundation                      0x1803bfd27        CFRunLoopRunSpecific + 571
at 31  GraphicsServices                    0x18986ebbf        GSEventRunModal + 159
at 32  UIKitCore                           0x108b67fdb        -[UIApplication _run] + 867
at 33  UIKitCore                           0x108b6bc53        UIApplicationMain + 123
at 34  SwiftUI                             0x10dc3c523        OUTLINED_FUNCTION_70 + 499
at 35  SwiftUI                             0x10dc3c3c3        OUTLINED_FUNCTION_70 + 147
at 36  SwiftUI                             0x10d94e107        OUTLINED_FUNCTION_2 + 91
at 37  iosApp                              0x10280a057        $s6iosApp6iOSAppV5$mainyyFZ + 39
at 38  iosApp                              0x10280a107        main + 11

Fixed in 1.5.10-rc01

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Update Dockerfile_aarch64_ascend

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily receiving feedbacks. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

Hi, @wangyuanxiong-hub
thanks for your contribution
Could you kindly let us know your motivation for this PR?

Hi! During the process of building docker on the server, I found that these dependencies need to be installed.
---Original---
From: "Lyu @.>
Date: Thu, Oct 10, 2024 19:22 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [InternLM/lmdeploy] Update Dockerfile_aarch64_ascend (PR #2578)
Hi, @wangyuanxiong-hub
thanks for your contribution
Could you kindly let us know your motivation for this PR?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi, @wangyuanxiong-hub

Hi! During the process of building docker on the server, I found that these dependencies need to be installed.
…
---Original--- From: "Lyu @.> Date: Thu, Oct 10, 2024 19:22 PM To<EMAIL_ADDRESS>Cc: _<EMAIL_ADDRESS>Subject: Re: [InternLM/lmdeploy] Update Dockerfile_aarch64_ascend (PR #2578) Hi, @wangyuanxiong-hub thanks for your contribution Could you kindly let us know your motivation for this PR? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>
In our host machine, the dockerfile builds successfully, could you collect your host machine info such as what OS is and the detail error message if not adding setuptools-rust package? thanks

Of course, my system kernel details are as follows：
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal

The error message is as follows：
 > [final_builder 3/3] RUN --mount=type=cache,target=/root/.cache/pip     sed -i '/triton/d' requirements/runtime.txt &&     pip3 install -v --no-build-isolation -e .:
0.738 Using pip 24.2 from /usr/local/python3.10.5/lib/python3.10/site-packages/pip (python 3.10)
0.816 Looking in indexes: http://mirrors.aliyun.com/pypi/simple
0.816 Obtaining file:///opt/lmdeploy
0.818   Preparing metadata (setup.py): started
0.819   Running command python setup.py egg_info
1.108   /usr/local/python3.10.5/lib/python3.10/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
1.108   !!
1.108
1.108           ********************************************************************************
1.109           Requirements should be satisfied by a PEP 517 installer.
1.109           If you are using pip, you can try `pip install --use-pep517`.
1.109           ********************************************************************************
1.110
1.110   !!
1.110     dist.fetch_build_eggs(dist.setup_requires)
1.187   running egg_info
1.187   creating /tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info
1.194   writing /tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/PKG-INFO
1.202   writing dependency_links to /tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/dependency_links.txt
1.203   writing entry points to /tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/entry_points.txt
1.207   writing requirements to /tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/requires.txt
1.207   writing top-level names to /tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/top_level.txt
1.207   writing manifest file '/tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/SOURCES.txt'
1.248   reading manifest file '/tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/SOURCES.txt'
1.249   reading manifest template 'MANIFEST.in'
1.249   warning: no files found matching 'lmdeploy/lib/*.so'
1.249   warning: no files found matching 'lmdeploy/lib/*.so*'
1.249   warning: no files found matching 'lmdeploy/lib/*.dll'
1.250   warning: no files found matching 'lmdeploy/lib/*.pyd'
1.250   warning: no files found matching 'lmdeploy/bin/*'
1.250   adding license file 'LICENSE'
1.255   writing manifest file '/tmp/pip-pip-egg-info-h2300ek2/lmdeploy.egg-info/SOURCES.txt'
1.298   Preparing metadata (setup.py): finished with status 'done'
1.485 Collecting accelerate>=0.29.3 (from lmdeploy==0.6.1)
1.651   Downloading http://mirrors.aliyun.com/pypi/packages/2a/7c/6daed4be624f903643edd1b91670ce321a4cf08afd2b96ac368461742e89/accelerate-1.0.0-py3-none-any.whl (330 kB)
1.776 Collecting einops (from lmdeploy==0.6.1)
1.844   Downloading http://mirrors.aliyun.com/pypi/packages/44/5a/f0b9ad6c0a9017e62d4735daaeb11ba3b6c009d69a26141b258cd37b5588/einops-0.8.0-py3-none-any.whl (43 kB)
2.272 Collecting fastapi (from lmdeploy==0.6.1)
2.328   Downloading http://mirrors.aliyun.com/pypi/packages/06/ab/a1f7eed031aeb1c406a6e9d45ca04bff401c8a25a30dd0e4fd2caae767c3/fastapi-0.115.0-py3-none-any.whl (94 kB)
2.439 Collecting fire (from lmdeploy==0.6.1)
2.440   Using cached fire-0.7.0-py3-none-any.whl
2.514 Collecting mmengine-lite (from lmdeploy==0.6.1)
2.591   Downloading http://mirrors.aliyun.com/pypi/packages/75/84/3b1730bb21d67487c7cfcd175e44920f34b031bb313ad183398ea182535e/mmengine_lite-0.10.5-py3-none-any.whl (452 kB)
2.653 Requirement already satisfied: numpy<2.0.0 in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (1.24.0)
3.037 Collecting openai (from lmdeploy==0.6.1)
3.105   Downloading http://mirrors.aliyun.com/pypi/packages/3d/49/72198d0941b3a0264b6d13033823025c01c497f1cbfd83db310392c49c0e/openai-1.51.2-py3-none-any.whl (383 kB)
3.368 Collecting outlines (from lmdeploy==0.6.1)
3.567   Downloading http://mirrors.aliyun.com/pypi/packages/ee/f9/8cbb60342168adc17ea15f8005c01f12b5ed7d6b6d86bf15d31bb209794f/outlines-0.1.0-py3-none-any.whl (89 kB)
3.660 Collecting peft<=0.11.1 (from lmdeploy==0.6.1)
3.774   Downloading http://mirrors.aliyun.com/pypi/packages/19/99/c5e0292a6d2a62e95c3dfe674ce9e8f8a9fe5d4835d3c9bb9b3e016f02ae/peft-0.11.1-py3-none-any.whl (251 kB)
3.820 Requirement already satisfied: pillow in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (10.4.0)
3.821 Requirement already satisfied: protobuf in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (5.28.2)
4.160 Collecting pydantic>2.0.0 (from lmdeploy==0.6.1)
4.212   Downloading http://mirrors.aliyun.com/pypi/packages/df/e4/ba44652d562cbf0bf320e0f3810206149c8a4e99cdbf66da82e97ab53a15/pydantic-2.9.2-py3-none-any.whl (434 kB)
4.344 Collecting pynvml (from lmdeploy==0.6.1)
4.568   Downloading http://mirrors.aliyun.com/pypi/packages/54/5b/16e50abf152be7f18120f11dfff495014a9eaff7b764626e1656f04ad262/pynvml-11.5.3-py3-none-any.whl (53 kB)
4.617 Requirement already satisfied: safetensors in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (0.4.5)
4.877 Collecting sentencepiece (from lmdeploy==0.6.1)
5.087   Downloading http://mirrors.aliyun.com/pypi/packages/fd/46/316c1ba6c52b97de76aff7b9da678f7afbb52136afb2987c474d95630e65/sentencepiece-0.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.3 MB)
5.203      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 11.2 MB/s eta 0:00:00
5.286 Collecting shortuuid (from lmdeploy==0.6.1)
5.359   Downloading http://mirrors.aliyun.com/pypi/packages/c0/44/21d6bf170bf40b41396480d8d49ad640bca3f2b02139cd52aa1e272830a5/shortuuid-1.0.13-py3-none-any.whl (10 kB)
5.527 Collecting tiktoken (from lmdeploy==0.6.1)
5.808   Downloading http://mirrors.aliyun.com/pypi/packages/e9/98/18ec4a8351a6cf4537e40cd6e19a422c10cce1ef00a2fcb716e0a96af58b/tiktoken-0.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB)
5.955      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 7.1 MB/s eta 0:00:00
5.961 Requirement already satisfied: torch<=2.3.1,>=2.0.0 in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (2.1.0)
5.962 Requirement already satisfied: torchvision<=0.18.1,>=0.15.0 in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (0.16.0)
5.963 Requirement already satisfied: transformers in /usr/local/python3.10.5/lib/python3.10/site-packages (from lmdeploy==0.6.1) (4.45.2)
6.231 Collecting uvicorn (from lmdeploy==0.6.1)
6.410   Downloading http://mirrors.aliyun.com/pypi/packages/3c/55/37407280931038a3f21fa0245d60edeaa76f18419581aa3f4397761c78df/uvicorn-0.31.1-py3-none-any.whl (63 kB)
6.427 Requirement already satisfied: packaging>=20.0 in /usr/local/python3.10.5/lib/python3.10/site-packages (from accelerate>=0.29.3->lmdeploy==0.6.1) (24.1)
6.428 Requirement already satisfied: psutil in /usr/local/python3.10.5/lib/python3.10/site-packages (from accelerate>=0.29.3->lmdeploy==0.6.1) (6.0.0)
6.429 Requirement already satisfied: pyyaml in /usr/local/python3.10.5/lib/python3.10/site-packages (from accelerate>=0.29.3->lmdeploy==0.6.1) (6.0.2)
6.430 Requirement already satisfied: huggingface-hub>=0.21.0 in /usr/local/python3.10.5/lib/python3.10/site-packages (from accelerate>=0.29.3->lmdeploy==0.6.1) (0.25.2)
6.438 Requirement already satisfied: tqdm in /usr/local/python3.10.5/lib/python3.10/site-packages (from peft<=0.11.1->lmdeploy==0.6.1) (4.66.5)
6.519 Collecting annotated-types>=0.6.0 (from pydantic>2.0.0->lmdeploy==0.6.1)
6.596   Downloading http://mirrors.aliyun.com/pypi/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl (13 kB)
8.322 Collecting pydantic-core==2.23.4 (from pydantic>2.0.0->lmdeploy==0.6.1)
8.489   Downloading http://mirrors.aliyun.com/pypi/packages/cc/69/5f945b4416f42ea3f3bc9d2aaec66c76084a6ff4ff27555bf9415ab43189/pydantic_core-2.23.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB)
8.648      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 11.3 MB/s eta 0:00:00
8.654 Requirement already satisfied: typing-extensions>=4.6.1 in /usr/local/python3.10.5/lib/python3.10/site-packages (from pydantic>2.0.0->lmdeploy==0.6.1) (4.12.2)
8.680 Requirement already satisfied: filelock in /usr/local/python3.10.5/lib/python3.10/site-packages (from torch<=2.3.1,>=2.0.0->lmdeploy==0.6.1) (3.16.1)
8.681 Requirement already satisfied: sympy in /usr/local/python3.10.5/lib/python3.10/site-packages (from torch<=2.3.1,>=2.0.0->lmdeploy==0.6.1) (1.13.3)
8.682 Requirement already satisfied: networkx in /usr/local/python3.10.5/lib/python3.10/site-packages (from torch<=2.3.1,>=2.0.0->lmdeploy==0.6.1) (3.4)
8.682 Requirement already satisfied: jinja2 in /usr/local/python3.10.5/lib/python3.10/site-packages (from torch<=2.3.1,>=2.0.0->lmdeploy==0.6.1) (3.1.4)
8.683 Requirement already satisfied: fsspec in /usr/local/python3.10.5/lib/python3.10/site-packages (from torch<=2.3.1,>=2.0.0->lmdeploy==0.6.1) (2024.9.0)
8.688 Requirement already satisfied: requests in /usr/local/python3.10.5/lib/python3.10/site-packages (from torchvision<=0.18.1,>=0.15.0->lmdeploy==0.6.1) (2.32.3)
8.851 Collecting starlette<0.39.0,>=0.37.2 (from fastapi->lmdeploy==0.6.1)
8.900   Downloading http://mirrors.aliyun.com/pypi/packages/b7/9c/93f7bc03ff03199074e81974cc148908ead60dcf189f68ba1761a0ee35cf/starlette-0.38.6-py3-none-any.whl (71 kB)
9.134 Collecting termcolor (from fire->lmdeploy==0.6.1)
9.185   Downloading http://mirrors.aliyun.com/pypi/packages/7f/be/df630c387a0a054815d60be6a97eb4e8f17385d5d6fe660e1c02750062b4/termcolor-2.5.0-py3-none-any.whl (7.8 kB)
9.274 Collecting addict (from mmengine-lite->lmdeploy==0.6.1)
9.459   Downloading http://mirrors.aliyun.com/pypi/packages/6a/00/b08f23b7d7e1e14ce01419a467b583edbb93c6cdb8654e54a9cc579cd61f/addict-2.4.0-py3-none-any.whl (3.8 kB)
9.644 Collecting rich (from mmengine-lite->lmdeploy==0.6.1)
9.700   Downloading http://mirrors.aliyun.com/pypi/packages/67/91/5474b84e505a6ccc295b2d322d90ff6aa0746745717839ee0c5fb4fdcceb/rich-13.9.2-py3-none-any.whl (242 kB)
9.944 Collecting yapf (from mmengine-lite->lmdeploy==0.6.1)
10.00   Downloading http://mirrors.aliyun.com/pypi/packages/66/c9/d4b03b2490107f13ebd68fe9496d41ae41a7de6275ead56d0d4621b11ffd/yapf-0.40.2-py3-none-any.whl (254 kB)
10.10 Collecting anyio<5,>=3.5.0 (from openai->lmdeploy==0.6.1)
10.16   Downloading http://mirrors.aliyun.com/pypi/packages/9e/ef/7a4f225581a0d7886ea28359179cb861d7fbcdefad29663fc1167b86f69f/anyio-4.6.0-py3-none-any.whl (89 kB)
10.18 Requirement already satisfied: distro<2,>=1.7.0 in /usr/local/python3.10.5/lib/python3.10/site-packages (from openai->lmdeploy==0.6.1) (1.9.0)
10.28 Collecting httpx<1,>=0.23.0 (from openai->lmdeploy==0.6.1)
10.48   Downloading http://mirrors.aliyun.com/pypi/packages/56/95/9377bcb415797e44274b51d46e3249eba641711cf3348050f76ee7b15ffc/httpx-0.27.2-py3-none-any.whl (76 kB)
10.66 Collecting jiter<1,>=0.4.0 (from openai->lmdeploy==0.6.1)
10.86   Downloading http://mirrors.aliyun.com/pypi/packages/6b/ab/07e67b0a9ad816f5130def05537177f2efdfe451480a584ae9fbb31cdaf8/jiter-0.6.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (337 kB)
10.96 Collecting sniffio (from openai->lmdeploy==0.6.1)
10.97   Downloading http://mirrors.aliyun.com/pypi/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl (10 kB)
11.06 Collecting interegular (from outlines->lmdeploy==0.6.1)
11.11   Downloading http://mirrors.aliyun.com/pypi/packages/c4/01/72d6472f80651673716d1deda2a5bbb633e563ecf94f4479da5519d69d25/interegular-0.3.3-py37-none-any.whl (23 kB)
11.29 Collecting lark (from outlines->lmdeploy==0.6.1)
11.45   Downloading http://mirrors.aliyun.com/pypi/packages/2d/00/d90b10b962b4277f5e64a78b6609968859ff86889f5b898c1a778c06ec00/lark-1.2.2-py3-none-any.whl (111 kB)
11.52 Collecting nest-asyncio (from outlines->lmdeploy==0.6.1)
11.53   Downloading http://mirrors.aliyun.com/pypi/packages/a0/c4/c2971a3ba4c6103a3d10c4b0f24f461ddc027f0f09763220cf35ca1401b3/nest_asyncio-1.6.0-py3-none-any.whl (5.2 kB)
11.54 Requirement already satisfied: cloudpickle in /usr/local/python3.10.5/lib/python3.10/site-packages (from outlines->lmdeploy==0.6.1) (3.0.0)
11.64 Collecting diskcache (from outlines->lmdeploy==0.6.1)
11.70   Downloading http://mirrors.aliyun.com/pypi/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl (45 kB)
11.92 Collecting referencing (from outlines->lmdeploy==0.6.1)
11.94   Downloading http://mirrors.aliyun.com/pypi/packages/b7/59/2056f61236782a2c86b33906c025d4f4a0b17be0161b63b70fd9e8775d36/referencing-0.35.1-py3-none-any.whl (26 kB)
12.03 Collecting jsonschema (from outlines->lmdeploy==0.6.1)
12.05   Downloading http://mirrors.aliyun.com/pypi/packages/69/4a/4f9dbeb84e8850557c02365a0eee0649abe5eb1d84af92a25731c6c0f922/jsonschema-4.23.0-py3-none-any.whl (88 kB)
12.15 Collecting datasets (from outlines->lmdeploy==0.6.1)
12.42   Downloading http://mirrors.aliyun.com/pypi/packages/be/3e/e58d4db4cfe71e3ed07d169af24db30cfd582e16f977378bd43fd7ec1998/datasets-3.0.1-py3-none-any.whl (471 kB)
12.65 Collecting pycountry (from outlines->lmdeploy==0.6.1)
12.73   Downloading http://mirrors.aliyun.com/pypi/packages/b1/ec/1fb891d8a2660716aadb2143235481d15ed1cbfe3ad669194690b0604492/pycountry-24.6.1-py3-none-any.whl (6.3 MB)
13.28      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 11.6 MB/s eta 0:00:00
13.48 Collecting airportsdata (from outlines->lmdeploy==0.6.1)
13.68   Downloading http://mirrors.aliyun.com/pypi/packages/af/57/57635b0af4a23723b2b43109aa4eae7395d346d1eed8a00691cf3acfc5bd/airportsdata-20241001-py3-none-any.whl (912 kB)
13.76      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 912.7/912.7 kB 11.7 MB/s eta 0:00:00
13.83 Collecting outlines-core==0.1.0 (from outlines->lmdeploy==0.6.1)
13.92   Using cached http://mirrors.aliyun.com/pypi/packages/66/1e/4ace9b406b992241e2102ad86f33aec1e6ab8af7aad177f4ea9425900bc6/outlines_core-0.1.0.tar.gz (55 kB)
13.96   Preparing metadata (pyproject.toml): started
13.96   Running command Preparing metadata (pyproject.toml)
14.18   Traceback (most recent call last):
14.18     File "/usr/local/python3.10.5/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
14.18       main()
14.19     File "/usr/local/python3.10.5/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
14.19       json_out['return_val'] = hook(**hook_input['kwargs'])
14.19     File "/usr/local/python3.10.5/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
14.19       return hook(metadata_directory, config_settings)
14.19     File "/usr/local/python3.10.5/lib/python3.10/site-packages/setuptools/build_meta.py", line 366, in prepare_metadata_for_build_wheel
14.19       self.run_setup()
14.19     File "/usr/local/python3.10.5/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
14.19       exec(code, locals())
14.19     File "<string>", line 4, in <module>
14.19   ModuleNotFoundError: No module named 'setuptools_rust'
14.22   error: subprocess-exited-with-error
14.22
14.22   × Preparing metadata (pyproject.toml) did not run successfully.
14.22   │ exit code: 1
14.22   ╰─> See above for output.
14.22
14.22   note: This error originates from a subprocess, and is likely not a problem with pip.
14.22   full command: /usr/local/python3.10.5/bin/python3.10 /usr/local/python3.10.5/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpz3al2rge
14.23   cwd: /tmp/pip-install-f27tzl3v/outlines-core_bbd5c6d0060040289f46fd010b08321a
14.23   Preparing metadata (pyproject.toml): finished with status 'error'
14.24 error: metadata-generation-failed
14.24
14.24 × Encountered error while generating package metadata.
14.24 ╰─> See above for output.
14.24
14.24 note: This is an issue with the package mentioned above, not pip.
14.24 hint: See above for details.

This is invoked by outlines. LMDeploy latest main branch has restrict its version "outlines<0.1.0".
Can you try the latest code to build the image on Ascend platform?

This is invoked by outlines. LMDeploy latest main branch has restrict its version "outlines<0.1.0". Can you try the latest code to build the image on Ascend platform?

Reference PR already solve this issue: https://github.com/InternLM/lmdeploy/pull/2559

This is invoked by outlines. LMDeploy latest main branch has restrict its version "outlines<0.1.0". Can you try the latest code to build the image on Ascend platform?

Reference PR already solve this issue: #2559

OH！Thanks, this solves my problem

closing it since the latest main branch already fixed the issue.


Do not consider : in the image name as a tag when it is used to specify a non standard port

A warning was issued when it should not
Fixes #54

Pull Request Test Coverage Report for Build 758

0 of 7 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 17.647%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

docker.go
0
1
0.0%

config.go
0
6
0.0%

Totals

Change from base Build 755:
-0.08%

Covered Lines:
165

Relevant Lines:
935

💛  - Coveralls


Cannot find module 'angular2-markdown'

When importing in app.module.ts as import { MarkdownModule } from 'angular2-markdown';
console error is: Cannot find module 'angular2-markdown'
When import statement is changed to  import { MarkdownModule } from 'angular2-markdown/bundles';
Cannot find module 'angular2-markdown' error goes away.
When import statement is import { MarkdownModule } from 'angular2-markdown/bundles';
and @NgModule import is MarkdownModule.forRoot()
new console error is Can't resolve all parameters for MarkdownService: (?).
originalStack:
"Error: Can't resolve all parameters for MarkdownService: (?).     at SyntaxError.ZoneAwareError (http://localhost:4200/vendor.bundle.js:147841:33)     at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:103421:16)     at new SyntaxError (http://localhost:4200/vendor.bundle.js:11245:16)     at CompileMetadataResolver._getDependenciesMetadata (http://localhost:4200/vendor.bundle.js:25641:31)     at CompileMetadataResolver._getTypeMetadata (http://localhost:4200/vendor.bundle.js:25516:26)     at CompileMetadataResolver._getInjectableMetadata (http://localhost:4200/vendor.bundle.js:25504:21)     at CompileMetadataResolver.getProviderMetadata (http://localhost:4200/vendor.bundle.js:25746:40)     at http://localhost:4200/vendor.bundle.js:25704:49     at Array.forEach (native)     at CompileMetadataResolver._getProvidersMetadata (http://localhost:4200/vendor.bundle.js:25671:19)     at CompileMetadataResolver.getNgModuleMetadata (http://localhost:4200/vendor.bundle.js:25355:50)     at CompileMetadataResolver.getNgModuleSummary (http://localhost:4200/vendor.bundle.js:25211:52)     at http://localhost:4200/vendor.bundle.js:25282:72     at Array.forEach (native)     at CompileMetadataResolver.getNgModuleMetadata (http://localhost:4200/vendor.bundle.js:25269:49)"
Any thoughts on how to get module working?
Current dependencies:
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>

Having the same issue, have had to revert back to 1.3.5 for now

Sorry I didn't test it. I will push new update to night mean while use 1.3.5. Im trying to provide solution for all build systems.

Now, this issue got resolved. Pease upgrade to 1.3.7 version. @ryanpflem . please close this thread if it's working for you. Thanks.

Still having same issue, tried 1.3.7 and 1.3.8 which is current default

I have created a new project using ng cli. Its working fine for me. How are u doing this.

Ah, think im on an old version of ng cli, gonna rebuild in latest version later

Cool! I will keep this thread open. Close it after you are done. Thanks:)

I've tested this on a fresh install with the most up to date version of @angular/cli and am still getting this issue.

I just tried to import with v.1.3.8 and am still getting the same error.
I'm using @angular/cli: 1.0.0-beta.31

Me too getting the same issue.
i have install it using the 'npm i angular2-markdown --save' command.
When importing in app.module.ts as import { MarkdownModule } from 'angular2-markdown';
console error is: Cannot find module 'angular2-markdown'

I rewrote the complete build system. Please check new readme doc. @ https://github.com/dimpu/angular2-markdown


Can I resize of Bounding Box?

Hello,
Can I resize of bounding box to fit of object?
I'd like to know how to draw bounding box of jetson_inference.
(e.g. using utils's videoOption.cpp s/th)
Thanks

Marina

Hi @kookmin-DS-UAV, yes you can manually change the detection results returned from detectNet::Detect() and then use detectNet::Overlay() to draw them after you change them.   Also you'll want to disable detectNet::Detect() from doing the overlay by passing it detectNet::OVERLAY_NONE so that it doesn't do the overlay before you alter them.

Hi @dusty-nv, thank you for your answer.
Would you let me know about detectNet::Detect() and detectNet::Overlay()?
I don't understand 'manually change the detection results returned from detectNet::Detect()' and also 'use detectNet::Overlay() to draw'.
Do I have to fixed cpp file?? (which one? and sorry, I'm not good at c++)
Thanks!

@kookmin-DS-UAV normally detectNet::Detect() can be called with overlay flags such that it automatically calls detectNet::Overlay() for you.   However if you call detectNet::Detect() with OVERLAY_NONE, it will skip doing the overlay.  Then you can do it yourself later after you modify the array of detection results.   You can also do this from Python too if you prefer.


java.nio.BufferOverflowException during fs.readFileSync()

Starting with JDK 1.8.0_101, a java.nio.BufferOverflowException is thrown when trying to read a file using fs.readFileSync().
This is because starting with that JDK version, java.lang.Long is not considered a number anymore in Nashorn, see also "typeof Long is not 'number' anymore on nashorn-dev.
In result, util.isNumber() returns false for a file size returned by fs.fstatSync, resulting in a Buffer size of zero.

#114


how do you deal with the variant length of audio

Hi RayanWang,
I have gone through your code these days, thank you so much for your sharing and it is really nice work.
But I still have a question, can you tell me in which part of your code is to deal with the length of the audio data. I also work on Berlin Dataset, but the audio has a different length from each other. I used the padding method but the results were not that good as yours.
I am looking forward to getting your reply.
Chason

Hi CZFuChason,
I am using sequence.pad_sequences to fill the data with a special value to keep all data length consistent. And then in create the network, use Masking method to ignore this value while training.


Feature request: keyboard shortcuts to jump between status,branch,tags,graph

Hi
I'm using GitSavvy in my sublime workflow and I think it would be very handy to be able to jump between git:status git:branch git:tags git:graph either using keys like 1 2 3 4 or(and) TAB.
The main benefit would be less open tabs and a lot less keystrokes to jump from status to graph or branch.

Good idea! It will be dashboard page with one hotkey.

I think we have decided not to add have to many global keystrokes, since than you may have some conflicts with other packages. But you are free to add you own keystrokes:
if you do to Preferences > Key bindings - User
and add the following.
[
  { "keys": ["control+1"], "command": "gs_show_status" },
  { "keys": ["control+2"], "command": "gs_show_branch" },
  { "keys": ["control+3"], "command": "gs_show_tags" },
  { "keys": ["control+4"], "command": "gs_log_graph" },
  { "keys": ["control+5"], "command": "gs_show_tags", "args": { "all_branches": true } },
]

or you may like to have it on F2 ..
[
  { "keys": ["F2"], "command": "gs_show_status" },
  { "keys": ["F3"], "command": "gs_show_branch" },
  { "keys": ["F4"], "command": "gs_show_tags" },
  { "keys": ["F5"], "command": "gs_log_graph" },
  { "keys": ["F6"], "command": "gs_show_tags", "args": { "all_branches": true } },
]

Yes I know I can do that in preferences but, that's not exactly what I meant.
Adding key bindings would open new tab each time and it's still a two key combination.
What I'm proposing is that 1 2 3 4 keys wouldn't be global - they would work only on GitSavvy. This way you would utilize only one tab in sublime and have everything you need one keystroke away.

So you want to switch from status to branch on the same tab with one keystroke?
If we just close status view and open branch view? Than you get the behavior you want?

Pretty much, if the tab and focus stays in place then yes.
I'm imagining workflow like this:
I'm on git:status, i use (A) to add files, then (c) to commit, (ctrl+enter) to submit that commit. Next i want to jump to git:graph I use (4),  Everything is fine so I use (2) to jump to git:branch next i choose a branch and hit (c) to checkout.
That's approx. 6 keystrokes Instead of:
(A), (c), (ctrl+enter), (ctrl+shift+p) (git gra...+enter), (ctrl+shift+p) (git bra...+enter), (up, down), (c)

Let's see what @divmain have to say.

I second this idea! With GitSavvy growing and the number of views increasing with it, it'd be like a general GitSavvy dashboard that one could switch views within.
The switch action could be prefixed like the stash commands are.
Spacebar for example:
[spacebar]+1 => Status view
[spacebar]+2 => Branch view
[spacebar]+3 => Rebase view
And so on

Alrighty, you can now TAB between interfaces.  As it is, the git: tags and git: graph views are not true interfaces, so they're not included in this enhancement.  However, I've added the necessary subtasks to the related tickets - when that gets done, you'll be able to tab to them also.
If you prefer to explicitly open a particular dashboard, you can add a setting to your user key-bindings like so:
{
    "keys": ["spacebar", "1"],
    "command": "gs_show_branch",
    "args": { "commandeer_active_view": true },
    "context": [
        { "key": "setting.git_savvy.is_interface", "operator": "equal", "operand": true }
    ]
}

Having a play with this, and it’s really lovely. Thanks so much!

Yeah, thanks guys! hoping to be able to switch to tags and graph any time soon!

I've ported over tags dashboard to interface pattern, and you can now Tab between status, branches, rebase, and tags.  The graph view is used much less often than these dashboards, so I'm not making it tab-able.  Hopefully this is still considerably cleaned-up for you @burbanczyk!

Great thanks! Sorry to hear you won't be adding graph support. Is it your personal experience that graph is used less, or do you have GitSavvy statistics? For example I use status and graph all the time, graph very often, tags from time to time and rebase much less. Unfortunately I don't know python so I can only hope you'll change your mind :)

I don't like using  tab circle, since If pas the one I have to circle around again.
I think a good solution is to use numbers to switch. And have this a setting
{
  "quick_switch_from_interfaces":{
}

}

Alrighty, I've added some configurability that should satisfy the concerns.  The tab cycle now includes the graph view @burbanczyk.  The order and inclusion of the tab cycle is also now configurable, using the tab_order sublime setting.  You can include/exclude and reorder to fit your preference.
@stoivo, I won't be adding global number key-bindings because 1) I don't want hidden key-bindings in the dashboards, and 2) adding reference for each of those numbers would add a lot of noise to accommodate an edge case.
However.  @stoivo @alextegelid, it is setup so that users can create key-bindings themselves.  You can use 1 for status dashboard, and so on, in your local config.  It should look like this:
{
    {
        "keys": ["1"],
        "command": "gs_tab_cycle",
        "args": { "target": "status" },
        "context": [
            { "key": "setting.git_savvy.tabbable", "operator": "equal", "operand": true }
        ]
    },
    {
        "keys": ["2"],
        "command": "gs_tab_cycle",
        "args": { "target": "branch" },
        "context": [
            { "key": "setting.git_savvy.tabbable", "operator": "equal", "operand": true }
        ]
    },
    {
        "keys": ["3"],
        "command": "gs_tab_cycle",
        "args": { "target": "rebase" },
        "context": [
            { "key": "setting.git_savvy.tabbable", "operator": "equal", "operand": true }
        ]
    },
    {
        "keys": ["4"],
        "command": "gs_tab_cycle",
        "args": { "target": "tags" },
        "context": [
            { "key": "setting.git_savvy.tabbable", "operator": "equal", "operand": true }
        ]
    },
    {
        "keys": ["5"],
        "command": "gs_tab_cycle",
        "args": { "target": "graph" },
        "context": [
            { "key": "setting.git_savvy.tabbable", "operator": "equal", "operand": true }
        ]
    }
}

Thx, I was probably explaining myself bad. I don't want you to add a global key-binding. The reason I wanted to have this as  settings is so we can add something like this for all the views that have this feature.
  ###################
  ## SWITCH ACTION ##
  ###################

  [1] Status
  [2] Branch
  [3] rebase
  [4] Tag
  [5] Graph

And than this section will be generated so it fit the user.
If anything is unclear than ask, sry for my bad explanation before

No problem, I understood :)
I don't want to add key-bindings to all of those views - and key-binding menus for those actions - for the reasons I stated above.  If users would like to use these (or other) keybindings, instead of the customized Tab cycling, it is a natural fit for User/Default.sublime-keybindings.
That's the strength of Sublime, from my perspective - plugins can provide sane defaults, but allow the user to flexibly customize their setup to suit how they work.

I agree. :sparkles: Than I think tab-ing is done.
One thing I notice is if I have  open a Status view and one Branch view. Open and start tabbing. I am going to end up merging those two into one single view. It is not an issue, but now you know about it.

Yeah I noticed that too.  Can't think of a fantastic alternative - we definitely only want on STATUS view for a particular repo at one time.  So tabbing into STATUS from wherever else should result in only one STATUS dashboard.
I guess we will see if anybody cares, and if they can think of a better alternative.

Yes  :+1:

@divmain tabing works great now. Adding configuration is definitely a good move. Now working with GitSavvy is awesome.
Although I personally think configurable key bindings (1,2,3,4,5) by default would be handy because cycling can be sometimes but that's not a problem - I can configure that on my own. Maybe an example should be added to the documentation in case other users would like to have shortcuts too.
Again many thanks!


Ffmpeg bug Pluto, xteve m3u cam issues

Hi !
Just came across here searching for Jellyfin m3u solutions.

There are numerous reports of xteve not working well with live streams eg from web cams.
Also ffmpeg ex discontinuity bugs with Pluto TV for Jellyfin:
https://mediahost.weebly.com/blog/live-tv-resources-for-jellyfin

Does your plugin solve such problems?

If it doesn't, then let me know and I'll fix it

Ok I will test !
Also will your plugin stream live YouTube channels with or without pre processors like Streamlink + tvheadend?

@d3m1s33

What if I already have an m3u as in OP link ?
Will Threadfin process live YouTube links fine?

Also how about yt_dlp+ Streamlink GUI like Tartube? I heard yt_dl is not actively developed.

https://github.com/axcore/tartube
Will either dlp or dl give me live streams?
Unluckily I have not proceeded with threadfin + Jellyfin yet given my earlier Jellyfin + xteve experiences with highly delayed stream output. I am also trying to figure out some other issues before I proceed 😊

Ok thanks....better understanding now.
Yes one problem with non live YouTube streams is that audio and video streams are separate. So you have to use ffmpeg ( or VLC) to process which slows response.
Hopefully live YouTube streaming could be streamed via "No Buffer" as well as other integrated A/V channels, and Jellyfin would not automatically buffer such streams and force ffmpeg processing resulting in delays...

The client also has to be able to play the codec. You will find better luck with hls than you will with mpeg-ts

Also you will want to use yt-dlp

@Fyb3roptik
Agree on both counts as above. I plan to use Kodi with ( 2 Jellyfin clients, one more for library) and Chrome browser. Think both do well with HLS.
So yt_dlp can generate live m3u streams from live channels?

@d3m1s33
Ok will try 😸
Think xteve didn't have any buffer adjustment.

Ah ... interesting 🤔
This ffmpeg buffer is available in threadfin ?
Because my plan is to use either direct m3u playlist or process through tvheadend/streamlink if needed.
So threadfin output is mpegts which is quite suitable for 580/720/1080p viewing. HLS would really shine for 1080p + streams but has complexity of multi stream management.
I wish there were a threadfin arch document I could read without necessarily gory coding details.

You can use hls. I use hls on mine. You can use whatever ffmpeg flags you want. It just gives you an interface for adding them.


--skip-definer is for mysqlpump not mysqldump

In documentation:
DEFINER: Requires super privileges to create and is restricted. If importing data using a backup, remove the CREATE DEFINER commands manually or by using the --skip-definer command when performing a mysqldump.
But --skip-definer is a parameter for mysqlpump, not mysqldump, please fix.

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

ID: 09a85aa0-5baf-cf60-94a0-fa949c3a841b
Version Independent ID: f3673c4b-4c84-64be-27e5-04d57f4b5008
Content: Limitations - Azure Database for MySQL
Content Source: articles/mysql/concepts-limits.md
Service: mysql
GitHub Login: @savjani
Microsoft Alias: pariks

@soportedba Thank you for the feedback. We are actively investigating and will get back to you soon.

@soportedba Thank you for the detailed feedback.
This is being assigned to the content author to evaluate and update the documentation as appropriate.

Thanks @soportedba for the feedback. We have fixed the documentation and it would be live in 24 hours.


[Syntax Highlight] Typ and Function argument

If I have some Type declared in my file - and after that I use the same name as function argument the name get a wrapper with classes: syntax--support syntax--type
This brake syntax highlight.
Code to reproduce:
class Foo {}

function (
  bar: A,
  Foo: number,
  fn: string,
  A: null,
)  {

}

PS. The argument names which contain only 1 character - have the same problem

Please see: https://github.com/TypeStrong/atom-typescript/blob/master/docs/faq.md#syntax-highlighting-is-bad
TL;DR: We're not responsible for the syntax highlighting since a while ago. The relevant repo is https://github.com/atom/language-typescript


[v2.8] update rke to v1.5.14-rc.3

https://github.com/rancher/rancher/issues/47383

LGTM but need to check why "Provisioning Tests" are failing - probably just needs a rebase.


Fix #906 Oracle auto increment manual insert id

fix https://github.com/tgriesser/knex/issues/906

Pretty cryptic queries, which I don't understand, but looks fine, since you are the guy who knows oracle stuff :) Just needs rebase. Ping me after rebase so that I'll merge this asap.

this is trigger executed before insert:
it count the number of rows where the primary key is equal to next value of the sequence and redo while this count is not zero.
i'll rebase it on monday


CLOUD-53847 introduce DS instance types with premium storage

@biharitomi @doktoric

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2236/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2237/

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2238/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2239/


add comment to generated controller code to explain interface check

To make operator-sdk more accessible to newcomers we continue to improve code comments to explain generated constructs that may not be obvious.
Closes #1424

@oreissig Thanks for the PR!
/ok-to-test


Add intra-refresh type property

There's a new option pending in raspivid to control intra-refresh type; not sure what that is yet, but we should have an equivalent property in picamera. See raspberrypi/userland#215 for details.

There are a number of different ways of formatting the I-frame, this gives the option to specify which one you want. Not exactly sure what some do, but cyclic rows can be used to partially send bits of an I-frame over time - which can smooth out bandwidth requirements, but with a slight compression penalty.

Ah - sounds handy for streaming which is something I desperately need to write a FAQ about (the number of questions I get about streaming seems endless!)


Change --cacert to exclusively use the provided certs and ignore system's cacerts

The current behaviour is to load the file path provided by the --cacert argument and use the contained CA keys in addition to the ones provided by the system.
I propose changing this to exclusively using the provided keys as trust root.
This prevents MITM in cases where the attacker has access to one of the ~200 CA keys, or can trick one of them to issue a rogue certificate (for example by BGP or DNS hijacking in combination with LetsEncrypt certs).
This change will break setups where people use --cacert to provide a set of keys that is not used while relying on the trust root to be loaded from the system cacerts file. I think it is unlikely that someone is actually doing that.
The default behaviour would remain to use the system cacerts file.
I tried to identify the relevant place to change this, but was not successful:

https://github.com/restic/restic/blob/master/internal/backend/http_transport.go#L94-L109
it reads to me like the default is already to exclude the system pool if a valid --cacert path is provided? https://golang.org/pkg/crypto/x509/#NewCertPool

This documentation would have to be updated:

https://github.com/restic/restic/blob/master/doc/030_preparing_a_new_repo.rst

ping @fd0

Some organizations are using their own CA certificates which are not part of Mozilla CA bundle, or similar. These also could be deployed in non-standard system location. This is popular in HEP (High Energy Physics) environments. E.g., CERN Certification Authority ( https://ca.cern.ch/ca/ ) and it's not part of standard CA bundle.

@davidlt it's already possible to use --cacert for that, this issue is just about changing the meaning of the option slightly.

Turns out, the feature already works as described here, so we only need to make sure the documentation is accurate.


Error: HTTP 404: Not Found

Error: HTTP 404: Not Found
Environment

System OS: All

Python Version: All

Install Source: All

Version OR Commit hash: v3.5.2 but probably earlier versions are also affected

Expected Behaviour
Downloads sound
Actual Behaviour
An error is thrown, and song is not downloaded
Steps to Reproduce

spotdl [url]

Traceback
Error: HTTP Error 404: Not Found
 Traceback (most recent call last):
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\spotdl\download\downloader.py", line 197, in
download_song
    trackAudioStream = youtubeHandler.streams.filter(
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\__main__.py", line 308, in streams
    return StreamQuery(self.fmt_streams)
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\__main__.py", line 213, in fmt_streams
    if "adaptive_fmts" in self.player_config_args:
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\__main__.py", line 187, in
player_config_args
    self._player_config_args = self.vid_info
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\__main__.py", line 278, in vid_info
    return dict(parse_qsl(self.vid_info_raw))
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\__main__.py", line 108, in vid_info_raw
    self._vid_info_raw = request.get(self.vid_info_url)
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\request.py", line 52, in get
    response = _execute_request(url, headers=extra_headers, timeout=timeout)
  File "C:\Users\altcy\AppData\Roaming\Python\Python39\site-packages\pytube\request.py", line 36, in _execute_request
    return urlopen(request, timeout=timeout)  # nosec
  File "c:\program files\python39\lib\urllib\request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "c:\program files\python39\lib\urllib\request.py", line 523, in open
    response = meth(req, response)
  File "c:\program files\python39\lib\urllib\request.py", line 632, in http_response
    response = self.parent.error(
  File "c:\program files\python39\lib\urllib\request.py", line 555, in error
    result = self._call_chain(*args)
  File "c:\program files\python39\lib\urllib\request.py", line 494, in _call_chain
    result = func(*args)
  File "c:\program files\python39\lib\urllib\request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "c:\program files\python39\lib\urllib\request.py", line 523, in open
    response = meth(req, response)
  File "c:\program files\python39\lib\urllib\request.py", line 632, in http_response
    response = self.parent.error(
  File "c:\program files\python39\lib\urllib\request.py", line 561, in error
    return self._call_chain(*args)
  File "c:\program files\python39\lib\urllib\request.py", line 494, in _call_chain
    result = func(*args)
  File "c:\program files\python39\lib\urllib\request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Any other information:
Happens randomly

having the same exact issue, can't d/l anything

having the same exact issue, can't d/l anything

https://github.com/pytube/pytube/issues/990#issuecomment-844575597

I've attempted using 3.5.0 and 3.4.0 with no luck, so older versions are confirmed affected

When using the fix: https://github.com/pytube/pytube/issues/990#issuecomment-844859237 it narrows down to just this:
Traceback (most recent call last):   File "/home/t/.local/lib/python3.9/site-packages/spotdl/download/downloader.py", line 192, in download_song     trackAudioStream = youtubeHandler.streams.filter(   File "/home/t/.local/lib/python3.9/site-packages/pytube/__main__.py", line 308, in  streams     return StreamQuery(self.fmt_streams)   File "/home/t/.local/lib/python3.9/site-packages/pytube/__main__.py", line 213, in  fmt_streams     if "adaptive_fmts" in self.player_config_args:   File "/home/t/.local/lib/python3.9/site-packages/pytube/__main__.py", line 190, in  player_config_args     if 'streamingData' not in self.player_config_args['player_response']: KeyError: 'player_response'
After then including the fix: https://github.com/pytube/pytube/issues/990#issuecomment-844914286
I was able to download completely normally again

pip install --upgrade ytmusicapi

pip install --upgrade ytmusicapi

This doesn't seem to fix the issue for me

With Pytube3 seems to be working from what I have read

When using the fix: pytube/pytube#990 (comment) it narrows down to just this:
Traceback (most recent call last): File "/home/t/.local/lib/python3.9/site-packages/spotdl/download/downloader.py", line 192, in download_song trackAudioStream = youtubeHandler.streams.filter( File "/home/t/.local/lib/python3.9/site-packages/pytube/__main__.py", line 308, in streams return StreamQuery(self.fmt_streams) File "/home/t/.local/lib/python3.9/site-packages/pytube/__main__.py", line 213, in fmt_streams if "adaptive_fmts" in self.player_config_args: File "/home/t/.local/lib/python3.9/site-packages/pytube/__main__.py", line 190, in player_config_args if 'streamingData' not in self.player_config_args['player_response']: KeyError: 'player_response'
After then including the fix: pytube/pytube#990 (comment)
I was able to download completely normally again

This seems to only be a temporary fix, it broke again later down the line

Saw this issue too. pip install --upgrade ytmusicapi didn't solve it, but pip install --upgrade pytube solved it, from https://github.com/pytube/pytube/issues/990#issuecomment-845503072


Verify sha hashes for pieces

We should verify the sha hashes for pieces in the piece-writer, and then notify the peers that we have that piece immediately, before we write the piece to disk.

This is done as of the latest commits


Hotix/flagged town cooldown

Brief Description:

Follows the previous PR but adds an additional check to prevent us adding the wait time to Instant.MAX throwing the following error: https://pastebin.com/3zn5zZE7

Changes:

An if statement was added to return false if Instant.MAX is found.

Relevant FlagWar Issue tickets:

[x] I have tested this pull request for defects on a server.

By making this pull request, I represent that I have read and agree to release my own changes that I
have submitted under the terms of the accompanying license (Apache-2.0). I guarantee that these
changes are mine and are not encumbered by any other license or restriction to the best of my
knowledge.

This has been tested by Graddod and is known to work successfully.


samples: SMF: LVGL: SMF-based Calculator

This sample crates a touchscreen desk calculator based on the sample state machine in Practical UML Statecharts in C/C++ by Miro Samek.
Sample should build and run on any touchscreen-enabled board with sufficient resources. Tested on disco_l475_iot1 board with adafruit_2_8_tft_touch_v2 touchscreen.

Does anyone know if LVGL's button matrix updates the entire matrix, or just the pressed button? On my disco_l475_iot1 board, I only have room for 32k video buffer (14%) and it takes about 0.8s to refresh things. I'm wondering if it's trying to refresh all buttons instead just of the one I pressed?

@glenn-andrews you can visualize the invalidation areas:
https://github.com/lvgl/lvgl/issues/2145#issuecomment-802938615

I just tested the sample on an nRF52840dk and it crashes assigning the button matrix. Does anyone know if the nRF has some alignment requirements?

@glenn-andrews you can visualize the invalidation areas: lvgl/lvgl#2145 (comment)

MASK_AREA_DEBUG doesn't appear in the LVGL source, certainly defining it did nothing.
It does appear my issue is the button matrix invalidating almost the entire screen rather than just the pressed button. I'll make a note in the README.

@glenn-andrews you can visualize the invalidation areas: lvgl/lvgl#2145 (comment)

MASK_AREA_DEBUG doesn't appear in the LVGL source, certainly defining it did nothing.
It does appear my issue is the button matrix invalidating almost the entire screen rather than just the pressed button. I'll make a note in the README.

Yeah seems like they renamed it, try this one instead https://github.com/lvgl/lvgl/blob/6e65b960f4ad9b794e1d83fd46b50fdc9953ae6e/src/lv_conf_internal.h#L800

@glenn-andrews you can visualize the invalidation areas: lvgl/lvgl#2145 (comment)

MASK_AREA_DEBUG doesn't appear in the LVGL source, certainly defining it did nothing.
It does appear my issue is the button matrix invalidating almost the entire screen rather than just the pressed button. I'll make a note in the README.

Yeah seems like they renamed it, try this one instead https://github.com/lvgl/lvgl/blob/6e65b960f4ad9b794e1d83fd46b50fdc9953ae6e/src/lv_conf_internal.h#L800

Yep that works (with sufficient main stack), and it's invalidating the entire matrix.
Thank you for that!

Note: This sample still doesn't work on the nRF52840dk board. Need to work out why!

I broke it. How do I fix it?

Abandoned in favor of https://github.com/zephyrproject-rtos/zephyr/pull/76465


tsc hangs and loops consuming CPU on a single input file

TypeScript compiler hangs for me and does not complete compilation within 5 minutes on a 50 KB source file. To reproduce, run on this input file:
https://raw.githubusercontent.com/Tachyus/gluon/master/src/Gluon.Client/Gluon.ts
Platform: Windows 10 64-bit

tsc --version
message TS6029: Version 1.7.3

node --version
v5.2.0

looks like a duplicate of https://github.com/Microsoft/TypeScript/issues/5849

Can you try VS2015 TS 1.7.6 Update or VS 2013 1.7.5 Update and let us know if it solves the issue?

Yea sounds like a good idea to try. Can I install 1.7.6 via NPM?

you can use typescript@next to install the latest nightly build

Nice. Thank you. Indeed, with Version 1.8.0-dev.20151210 everything is fine.

thanks @t0yv0!


Mercurial branch info

Issue
I've got this file missing message when I changed to directory inside mercurial repo:
$ pwd
/path/to/server
$ cd app
cat: /path/to/server/app/.hg/branch: No such file or directory

App root directory is /path/to/server with mercurial branch file in /path/to/server/.hg/branch.
Environment
Operating system: macOS
Terminal emulator: iTerm
ZSH version: 5.3.1 (x86_64-apple-darwin16.6.0)
Relevant .zshrc
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ORDER=(
  time          # Time stampts section
  user          # Username section
  host          # Hostname section
  dir           # Current directory section
  git           # Git section (git_branch + git_status)
  hg            # Mercurial section (hg_branch  + hg_status)
  package       # Package version
  node          # Node.js section
  ruby          # Ruby section
  elixir        # Elixir section
  xcode         # Xcode section
  swift         # Swift section
  golang        # Go section
  php           # PHP section
  docker        # Docker section
  venv          # virtualenv section
  pyenv         # Pyenv section
  exec_time     # Execution time
  line_sep      # Line break
  vi_mode       # Vi-mode indicator
  jobs          # Backgound jobs indicator
  exit_code     # Exit code section
  char          # Prompt character
)

Thank you @doole for pointing this out. This will be fixed soon.

Is this already fixed? How would I get the update if I'm using zplug?

@dguay I've submitted PR at #156 . Will be merged after review.
I'm not a user of zplug. I think zplug update will update package to the latest release.

Published as v2.7.2!


Command line tool variant

Hi -- thanks so much for your contributions!
Do you have any interest in the following functionality: creating a command line tool variant of compiler explorer that would take source + compiler options + compiler spec and produce a self contained (static) html that shows thew source + disassembly views sans any support for recompiling or making changes in the editor.
I was thinking of integrating this into my build process (cmake) so that I could fold some results into the documentation of a library.
It looks as if some restructuring of the current code would be required -- nothing very complicated but still requiring making at least a handful of concrete decisions. I was going to just fork and refactor+hack, but if this idea seems appealing then perhaps we could try coordinating?
cheers, nehal

I don't have a specific need for this myself, but the API might make it fairly easy to implement.

Thanks -- the api definitely seems like the path of least resistance.  When/if I implement my variant I'll follow up to see if it might be of use to you or others.  cheers


[Bug]: Entity card is accepting jinja templates for icon_color

Requirements

[X] I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
[X] I did a search to see if there is a similar issue or if a pull request is open.
[X] I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior
Mushroom entity cards are not reactive to jinja templates e.g. for changing icon_colors based on values. It just leads to a white icon background with an black icon.
Expected Behavior
It's supposed to respect jinja templates and execute it's code.
Steps To Reproduce

Create an mushroom entity card of your sensor.
Add you icon color code
e.g.

icon_color: |-
  {% set s = states('sensor.rasen_sensor_soil_humidity')|int %}
  {% if s > 50 %}
    light-green
  {% elif s <= 50 %}
    orange
  {% else %}
    red
  {% endif %}

Context
YAML state

Environment
- Browser: Chrome
- HA Version: 2024.8.3
- Mushroom: 4.0.5

Anything else?
No response

Only template card is using template. Other cards (entity, light, etc...) don't support templates.


UI enhancements

at the starting of the website the UI is not good, it has to be changed

/assign

updated home page with better alignements


fix missing launch server import

Motivation
os module missing from imports
Modifications
Add os module to imports

fix https://github.com/sgl-project/sglang/pull/2195/


chore: switch from poetry to pdm

Switching from Poetry to PDM is fine, but what's the reason for doing this? They both do the same thing, no?
Also, we shouldn't commit the lockfile IMO since this is a library, and any version of the specified dependencies can be installed by users.


Fix illegible org blocks: doom-tokyo-night

Before:

After:

Fixes the illegible colour of org-blocks that stands out and causes issues when reading commented/greyed out characters.

Thanks for your help!


Investigate ganache for testing purposes

Check what advantages ganache offers for testing

Ganache (as of today) appears to hold few advantages over having a local Ethereum node.

Setting a specific gas price

This can be achieved on a normal network using existing tooling, albeit with a caveat of it taking a while to do. See https://github.com/scx1332/blockchain_price_fixer

Easy snapshots

Can be done with a standard geth node, albeit with larger memory footprint.

Impersonating any account

Unlikely to be useful

Allows you to easily set up a number of accounts with specific funding

only ETH, not ERC20 tokens
we will likely work off a snapshot so we'll have accounts prepared with appropriate funding anyway.

Easier to deploy without docker

Possibly not relevant.


Problem with HA 2023.09

Hello, I have version 1.14.3 of component and after update home assistant to version 2023.9 i get error:
Logger: homeassistant.util.package
Source: util/package.py:108
First occurred: 22:39:04 (1 occurrences)
Last logged: 22:39:04

Unable to install package pymultimatic==0.7.0: ERROR: Cannot install pymultimatic==0.7.0 because these package versions have conflicting dependencies.

Same issue here!

Logger: homeassistant.util.package
Source: util/package.py:108
First occurred: 05:49:27 (3 occurrences)
Last logged: 05:50:12
Unable to install package pymultimatic==0.7.0: ERROR: Cannot install pymultimatic==0.7.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

Wow superfast, here comes an update for Multimatic - lets hope it fixes it

after the update multimatic blocks the reboot:
Integration error: multimatic - Requirements for multimatic not found: ['pymultimatic==0.7.0'].

i can't even delete the integration, its just not doing it

Same issue here

i removed the entry for the multimac from the configuration yaml, that let me uninstall it and now no errors anymore at least

I do not see any update?
And of course with the same error as postet in the first post
Logger: homeassistant.util.package
Source: util/package.py:108
First occurred: 07:49:25 (3 occurrences)
Last logged: 07:49:52

Unable to install package pymultimatic==0.7.0: ERROR: Cannot install pymultimatic==0.7.0 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

Logger: homeassistant.setup
Source: setup.py:209
First occurred: 07:49:52 (1 occurrences)
Last logged: 07:49:52

Setup failed for custom integration multimatic: Requirements for multimatic not found: ['pymultimatic==0.7.0'].

the update is 5 days old, didn't see that before, maybe you have it already installed

the update is 5 days old, didn't see that before, maybe you have it already installed

Yes, I already had that.
So we have to wait for @thomasgermain :-)

No. The problem arrived with yesterday's HA 2023.09, and the Multimatic 1.14.2 release from Aug 5 does not fix it.

same here :(

+1

+1

Same here.

Same issue here.

I think one solution would be to remove and reinstall the integration.
But then I fear that many sensors will be renamed and all my automations/dashboards etc don't work anymore.
So is there any chance to

either backup the configuration, reinstall, then restore the configuration
or solve the dependency issue without reinstalling?

i can't remove the integration but i can remove it... but it's not possible to install because the integration is configured already....

Version https://github.com/thomasgermain/vaillant-component/releases/tag/1.14.4 should fix the issue.
Problem was coming from undocumented breaking change

That fixed it. Thanks @thomasgermain

Excuse me, how can I install it if it doesn't show up in HA as an update?

Excuse me, how can I install it if it doesn't show up in HA as an update?

You can manually trigger the update. https://hacs.xyz/docs/basic/updates/

Thank you, I found manually update trigger and I updated it and it fixed the problem. Many thanks.

thanks for your quick fix, enjoy your next 5 coffees ;)

thanks for your quick fix, enjoy your next 5 coffees ;)

Why not
Make that 2 more :-)

Well, since it's Friday, I will enjoy a beer 🍺 😋.
Thanks ☺


Investigate ResNet architecture

Is your feature request related to a problem? Please describe.
We should investigate ResNet Architecture as described in one of our doc.
Describe the solution you'd like
Investigate ResNet architecture:

[ ] Investigate the architecure
[ ] Create example notebook (Look into MONAI tutorials). Play aroung this notebook
[ ] INvestigate possible oprimizations for the model
[ ] Try to train model on some data subset and receive accuracy results
[ ] Create results doc and summarize all the found results

Describe alternatives you've considered
N/A
Additional context
We first need a consisten data loader, so @gromdimon should create it soon.

Was closed in #8 by @mathiashusted


Clean up operator API fields

We have a bunch of fields in the Operator API that have long been removed from the helm charts and have no effect anymore. I'm going through the proto file to find anything that is unused and will link removal PRs here. At the end, I'll create a release note listing all the removed fields.
PilotConfig

[x] https://github.com/istio/istio/pull/51984
[x] https://github.com/istio/istio/pull/51986
[x] https://github.com/istio/istio/pull/51989
[x] https://github.com/istio/istio/pull/51990

GlobalConfig

[x] https://github.com/istio/istio/pull/51994
[x] https://github.com/istio/istio/pull/52596

GatewayConfig

[x] https://github.com/istio/istio/pull/51994

SidecarInjectorConfig

[x] https://github.com/istio/istio/pull/52058
[x] https://github.com/istio/istio/pull/52083

Release Note

[ ] Add release note

@dgn anything left? seems everything is checked off

@dgn anything left? seems everything is checked off

Checking, but looking good for now. Will create PR with a release note shortly

It looks like those PRs were merged before release-1.23 cutoff. Does it mean that those fields were removed already in 1.23, but the release notes are delayed to 1.24? @howardjohn @dgn


FontAwesome svg icons disappear

After navigation some SVG icons are marked by LiveView with data-phx-skip, for some unknow reason.
Switching FontAwesome from svg to font mode seems to fix the issue

Fixed without any code change.
Setting FontAwesome kit's technology to "Web Font" does the trick.


Implement negation / unary minus

You may want to reorder some of the appearences of "negate", I generally added them after "equal".but maybe unary operators should precede binary ones? Or should "negate" (unary minus) be close to binary minus "sub"?
I hope this closes #1.

Thanks! The ordering doesn't matter very much. It's enough that it's generally grouped with arithmetic operators.


Chapter 5: Continued Evaluation: Dataset Access, EarlyStopping, Evaluation

The munn-sandbox is not publically available so the txtcls is not available.

I created using code from: https://datalab.office.datisan.com.au/notebooks/training-data-analyst/blogs/textclassification/txtcls.ipynb
as:
query="""
SELECT source, REGEXP_REPLACE(title, '[^a-zA-Z0-9 $.-]', ' ') AS title FROM
(SELECT
ARRAY_REVERSE(SPLIT(REGEXP_EXTRACT(url, '.://(.[^/]+)/'), '.'))[OFFSET(1)] AS source,
title
FROM
bigquery-public-data.hacker_news.stories
WHERE
REGEXP_CONTAINS(REGEXP_EXTRACT(url, '.://(.[^/]+)/'), '.com$')
AND LENGTH(title) > 10
)
WHERE (source = 'github' OR source = 'nytimes' OR source = 'techcrunch')
"""
from google.cloud import bigquery
client = bigquery.Client()
df = client.query(query).to_dataframe()
df.to_csv('titles_full.csv', header=False, index=False, encoding='utf-8', sep=',')
I had to swap the column order:
COLUMNS = ['source', 'title']

With EarlyStopping enabled training finished after just 2 Epochs

callbacks=[EarlyStopping(), TensorBoard(model_dir)],

without it loss was minimised after 20.

Evaluation job section is 'to-do':

"some stuff here about setting up Eval jobs"

Closed as new version updated since download


chore(rust): replace std:: modules with core:: and alternate implementations

Proposed Changes

refactor ockam::lib into ockam::compat

mirror std:: and alloc:: module structures
add no_std versions of missing rand:: functionality
remove references to any items that are available in core::

update ockam crates to use ockam::compat instead of ockam::lib
add no_std and alloc features to all ockam crates

populate dependency features for std, no_std and alloc
add crate #[cfg(feature=...)] attributes

Notes
The biggest impact of these changes is on how standard library imports look moving forward.
When importing from the standard library the new rules are:

always prefer core::<mod> over std::<mod> where it's available. (e.g. std::fmt::Result -> core::fmt::Result)
use ockam_core::compat::<mod> equivalents where possible. (e.g. std::sync::Arc -> ockam_core::compat::sync::Arc)
if you need to add new items to compat, follow the originating namespace. (e.g. compat::vec::Vec and not compat::Vec)

Landed as https://github.com/ockam-network/ockam/pull/1754 - :tada:


paintkit name problem

cant get chinese    all skin name is ？？？

That's because it uses unicode. Fixing it would be too much of a hassle for what it is. It still says the English name in parenthesis.

You can load fonts with ImGui. I have no idea what default font provides chinese symbols on windows, but if you know it and willing to make a PR i'll merge it

also, @wi1h imgui supports unicode in utf8, and the way i convert names (codecvt) from utf16 special chars are perfectly preserved, there is just simply no font loaded for that region in imgui

After waiting an eternity for imgui to load GNU Unifont, both chinese and japanese characters display perfectly

That's because it uses unicode. Fixing it would be too much of a hassle for what it is. It still says the English name in parenthesis.

I'm just used to English  names of weapon skins. How should I modify the source code so that the abnormal display in Chinese could change to English names? Thanks for your help in advance.


Exit Code failed with result status=2

Hello:
First, thank you very much for providing this source code. Much fun learning and figuring it out. I'm receiving the following errors after I edit the systemd file; I update with the systemctl daemon-reload.
Is a service restart required before I attempt to load bots? I did that too, but it appears that also failed. Perhaps it didn't like my systemd file edit?

please post your entire service file so I can take a look.

I ended up re-imaging my VM and started from scratch. Successful. Thank you very much.


Add 3 people's websites.

Myself and 2 other friends that I know from IRC.

please add them at proper location in file (sorted)


feat: make table column resizable if 'resizable' prop is provided  #228

DataTable: implement resizable columns
affects: @haulmont/jmix-react-ui

I think it may be confusing for a user that in order to resize the column they need to drag the cell and the header. Also it is definitely a problem that you can't resize if the cell is empty.

The user will expect that the column can be resized by dragging the border.
Currently the "handle" that should be dragged is placed in an unexpected place and is hard to notice:

The user will expect that the column can be resized by dragging the border.
Currently the "handle" that should be dragged is placed in an unexpected place and is hard to notice:

Resolved in 5ba9c2c


subpackages directly accessible from mgpvlm.*

We can now directly call sub-packages from mgplvm (e.g., we can directly call mgplvm.manifolds.Euclid instead of first importing it via from mgplvm.manifolds import Euclid). This should hopefully remove a lot of clutter at the beginning of each file (see for example the new  test_priors.py)

looks good, I'll merge

looks good, I'll merge


Docker image pre-built when running action ?

Hi, thanks for your work on the repo :)
I noticed that the docker image is built from Dockerfile every time has_changes_action is used in a workflow
Couldn't you directly use a pre-built image, so it could just be pulled, and we would gain performances ?
I do that with Mega-Linter and it works well :)
I'm pretty sure you can almost copy paste the following files and it would work with a few updates:

https://github.com/nvuillam/mega-linter/blob/master/.github/workflows/deploy-DEV.yml
https://github.com/nvuillam/mega-linter/blob/master/.github/workflows/deploy-PROD.yml
https://github.com/nvuillam/mega-linter/blob/master/.github/workflows/deploy-RELEASE.yml
https://github.com/nvuillam/mega-linter/blob/master/.github/workflows/versioning.yml
https://github.com/nvuillam/mega-linter/blob/master/.automation/cleanup-docker.sh
https://github.com/nvuillam/mega-linter/blob/master/.automation/upload-docker.sh
https://github.com/nvuillam/mega-linter/blob/master/.automation/validate-docker-labels.sh

This seems to be resolved in https://github.com/UnicornGlobal/has-changes-action/commit/25883a0351c2af591038a7eabc04d4ac21894376 ?

@donovanmuller yep, thanks for the reminder :)


[v6] Add generic to useLocation

It seems that history.Location itself need to be improved too.
// No
type State = object | null;

interface Location<S extends State = State> {
  state: S;
}

// Yes
interface Location<S extends object = object> {
  state: S | null;
}

https://github.com/ReactTraining/react-router/pull/7326#issuecomment-626418225


[BUG] Missing files in listing if there is a large amount of sub dirs/files

Running 1.4.5 binary.
Files are missing if there are large mount of sub dirs/files (1500+ dirs and 1000+ files) from listing. This happens when mounted with rclone and the webui.
During my test, files will show up if I limited the number of sub dirs in a dir. This doesn't happens if a dir consist of only dirs or only files.
My be it is related to this #238

Ah I thought this bug was not going to return that I was considering closing my issue but I guess it's still exists! Do you have the newest version of rclone btw?
Also this is interesting, not only are you missing files in a mount but also in web-ui too? I never expereicned that problem before, do note that files and folders in web-ui show only the first 500 and increase as you scroll down, however you can change that in the options of the web-ui to show more files at a time.
However if despite that the files/folders appearing are still missing in mount/web ui (even after scrolling all the way down)...then this is a new crazy bug alright!
Which reminds me, for me I was able to somehow resolve the bug by running the same rclone copy command that I used to upload the files originally over and over again, while also running rclone check in between each upload to compare the files of my mount to the source dir that I uploaded my files/folders from to see if the missing files/folders are still there until they're not!
It's the only thing that resolved the issue for me, however mysterious it was resolved...


Social icon enhancement added

Description
Social icon enhancement added
Fixes #964
Replace issue_no with the issue number which is fixed in this PR
Screenshots

Checklist

[x] Tests have been added or updated to cover the changes
[x] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

Yes , not working as expected
Try to level up more !


New Features

Minimize all windows, Turn off Screen - Black Screen, Maximize all windows, Login to PC with hass agent after lock pc.

Minimize all windows

You can use this script for a Powershell command:
(New-Object -ComObject Shell.Application).MinimizeAll()

Turn off Screen - Black Screen

You can use this script for a Powershell command:
(Add-Type '[DllImport(\"user32.dll\")]public static extern int SendMessage(int hWnd,int hMsg,int wParam,int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)

Maximize all windows

You can use this script for a Powershell command:
(Get-Process | Where {$_.MainWindowTitle}).MainWindowTitle | % {
    $wshell = (New-Object -ComObject wscript.shell)
    $wshell.AppActivate($_)
    sleep 1
    $wshell.SendKeys("% x")
    sleep 1
}

Login to PC with hass agent after lock pc

That's not possible, Windows prohibits applications from messing with the login screen.


Specify Exceptions Thrown By ContainerProxy.read_item

Type of issue
Missing information
Description
The information about what exceptions might be thrown by ContainerProxy.read_item only specify that a CosmosHttpResponseError could be thrown. It would be nice to know what subclasses of this type might be thrown. For example, a CosmosResourceNotFoundError.
Page URL
https://learn.microsoft.com/en-us/python/api/azure-cosmos/azure.cosmos.containerproxy?view=azure-python#azure-cosmos-containerproxy-read-item
Content source URL
https://github.com/MicrosoftDocs/azure-docs-sdk-python/blob/main/docs-ref-autogen/azure-cosmos/azure.cosmos.ContainerProxy.yml
Document Version Independent Id
b56e2485-c7bd-152e-9c02-d5b4de9d930b
Article author
@lmazuel
Metadata

ID: c838755f-84b2-916e-e249-97e2c4cf9456
Service: azure-cosmos-db

@HenryJohnson-KR thanks for the feedback, the team will take a look and get back to you as soon as possible.


DE dropdown doesn't work

Menu not opening at all

can't duplicate, may have been caused by people being stuck in combat


ci: more small tweaks

ci: properly cache deps for benchmark workflow
ci: improve the codecov workflow
* proper caching of the librocksdb-sys crate
* use the beta compiler which has -Cinstrument-coverage stabilized.
  We can move to stable once 1.60.0 is released

rust: introduce xclippy project alias
Introduce 'cargo xclippy' alias for better control of enabling and
disabling clippy lints project-wide.

Thanks for jumping on this @bmwill


Refactored dumping and logging code

As discussed in https://github.com/intel/haxm/pull/108#issuecomment-435691965, there's few improvements that seemed to me a step in the right direction.
Let me know your thoughts on the matter.
Changes

Refactored VMCS dumping code: The previous implementation of dump_vmcs obtained the VMCS component name by hashing its value with a gperf-generated perfect hash function at vmcs_names.c. These compact hashes were used as indices in a manually-initialized table of names. This results in lots of boilerplate code, manual initialization/deinitialization and a dependency in gperf.
This new approach uses a switch/case to dispatch the component names and compactifies the component encoding with the macro HASH to "encourage" the compiler to implement the switch/case via jump tables. The approach works in GCC, Clang, MSVC (check Godbolt snippet). Advantages:

Less code.
No external dependencies.
No memory allocated at runtime.
Better performance: No need to query an extra table to compute the perfect hash.
Perfect hashing tested at build-time: If the hash macro maps two components to the same value, the file won't compile.

Centralized all dumping-related functions in dump.c (renamed from dump_vmcs.c). Not sure if this is the best location, but it probably is better than having inlined snippets (that are either commented out or disabled via preprocessor). More functions could be added to this file, e.g. dumping segment selectors.

Created name.c to handle all enum-to-string conversions via functions prefixed with name_. For now I've handled just VMX error and exit codes (aside from the previous VMCS components), but more codes could be added there if required.

Improved old logging messages: It looks as if certain log messages (in particular hax_debug/hax_log ones), had been written long time ago and thus do not fully comply with most of the codebase. Changes done:

Removed unnecessary "HAX: " prefix from certain calls to log functions. This was most likely a leftover from older HAXM revisions, since nowadays log functions add automatically the corresponding prefix.
Promoted some hax_debug/hax_log to hax_error in the case of actual errors, e.g. in cpu_vmentry_failed.

@raphaelning Is there any reason to preserve hax_log functions as-is instead of promoting them directly to hax_info? At the moment they are macro'ed to hax_info: Was this intentional, e.g. to change the macro during as a "debugging hack during development", or can we just remove the macro?
If you think we could get rid of this macro, I can amend the last commit and force-push the change.

All done!