Check char in update

@gr2m @titay2 Hey, I'm working on checking letters in edit-app-container.
It checks letters of the new app name and pretty similar with checking letters in create-app-container.tag.
But I have one error now.
When I clicked 'apply' button for updating new name to app, in console it shows this error. as below
(The original app name was 'a' and I gave app name 'a2' to app for testing.)
It seems like it's not taking a new app name in the route.
index.html#/apps/a/edit:1
Uncaught (in promise) Apps.update() is not yet implemented

Can using global variable(var renameInput = self["app-new-name"].value) for 'handleRenameInput' and 'handleSubmit' functions ?:)

@flyjwayur I’ve updated your pull request because it included all the dist/ files, I had to git push --force it, so make sure to do git pull before you continue working on it.

actually there are a lot of changes that revert things that we added recently, let me fix it

okay never mind, I’m sorry but you’ll have to restart this pull request. Make sure you have the latest commit of the master branch before you create your branch, because the one you started with was definitely out of date


Prepare release notes

Check out #66 and https://github.com/pwittchen/NetworkEvents/compare/v1.0.5...master

I assume, release notes are done in #66. They can be included in new GitHub release of v. 2.0.0.


How to adjust the size of font of resume title and first part?

The size of font of resume title and first part is too big. How can I make it smaller?

The source code of resume title(name) is at resume.cls#L79, you can replace the \Huge with other smaller fonts'
If you want a compact layout, you can put basic info(name, phone, email) and education background into a table environment.
e.g.
  \begin{table}
    \begin{tabular}{ll}
    \Large\textbf{\faAddressCard\quad 姓名} & \Large\textbf{\textbf{\faUserGraduate\quad 教育经历}} \\
    \mobile{\ (+86)  手机号} & \textbf{\faUniversity}\ \textbf{硕士学校}\qquad\quad 硕士\quad XX 专业 \quad 2013 -- 2016 \\
    \email{\ 邮箱}\qquad\quad\ & \textbf{\faUniversity}\ \textbf{本科学校}\quad 学士\quad XX 专业\qquad\qquad\ 2009 -- 2013 \\
    \end{tabular}
  \end{table}

Remove fontawesome font if you do not need. Such as \faUserGraduate.


Bump up dependency version of rk series

Codecov Report

Merging #3 (776090c) into master (285a36d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   88.88%   88.88%
=======================================
  Files           1        1
  Lines          63       63
=======================================
  Hits           56       56
  Misses          4        4
  Partials        3        3

Continue to review full report at Codecov.

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


GKE Web UI 404 Archival Using bucket

Web UI 404 when accessing detail of workflow id from archival

Here is the English translation of your issue:

I am using Helm to deploy to GKE with the values.archival.gcloud.yaml as follows:
server:
  archival:
    history:
      state: "enabled"
      enableRead: true
      provider:
        gstorage:
          credentialsPath: "/etc/credentials/credentials.json"
    visibility:
      state: "enabled"
      enableRead: true
      provider:
        gstorage:
          credentialsPath: "/etc/credentials/credentials.json"

  namespaceDefaults:
    archival:
      history:
        state: "enabled"
        URI: "gs://kp-temporal-archival/temporal_archival"
      visibility:
        state: "enabled"
        URI: "gs://kp-temporal-archival/temporal_visibility"

For persistence, I am using PostgreSQL with the following values.postgresql.yaml:
server:
  config:
    persistence:
      default:
        driver: "sql"

        sql:
          driver: "postgres12"
          host: postgres.example.dev
          port: 5432
          database: temporal
          user: temporal
          password: temporal
          maxConns: 20
          maxConnLifetime: "1h"

      visibility:
        driver: "sql"

        sql:
          driver: "postgres12"
          host: postgres.example.dev
          port: 5432
          database: temporal_visibility
          user: temporal
          password: temporal
          maxConns: 20
          maxConnLifetime: "1h"

cassandra:
  enabled: false

mysql:
  enabled: false

postgresql:
  enabled: true

prometheus:
  enabled: false

grafana:
  enabled: false

elasticsearch:
  enabled: true

schema:
  createDatabase:
    enabled: false
  setup:
    enabled: true
  update:
    enabled: true

Then, I forward the Web UI using Internal Ingress with the following configuration:
web:
  enabled: true
  replicaCount: 1
  image:
    repository: temporalio/ui
    tag: 2.28.0
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 8080
    annotations: {}
  ingress:
    enabled: true
    annotations:
      kubernetes.io/ingress.regional-static-ip-name: ingress-temporal-web
      kubernetes.io/ingress.allow-http: "true"
      kubernetes.io/ingress.class: "gce-internal"
    hosts:
      - "temporal.example.dev"
    tls:
      - secretName: temporal
        hosts:
          - temporal.example.dev

The archival and visibility files are already in the bucket.

and this is my version server 1.24.2

Thanks for reporting this issue.
The Web UI relies on the Temporal Frontend Service to be up and running to access the data and provide the information for Workflow details.
You can verify that the Temporal Frontend Service is up and running using the Temporal CLI command: temporal operator cluster health --address <frontend_address>.
The  frontend_address  is the address you're using to connect to the Temporal Server. If the command returns that the Frontend Service is up and running, then you should see the Workflow details.
If the Temporal Frontend Service is down, you can try restarting it.
It's also possible that the issue is related to a network issue, a misconfiguration in your Helm deployment, or a problem with the Temporal Server.
Please provide more details so we can better assist you.

Are there any error messages in the browser's developer console?
Can you verify that your Temporal Server is running correctly?
Are you seeing any error messages in your Temporal Server logs?

The documentation attached does not contain information relevant to this issue.

This tutorial looks great! It provides a thorough walkthrough of deploying a Temporal service, covering crucial aspects such as:

Obtaining and Configuring Binaries: Clearly explains how to download and set up both the Temporal Core Server and the UI Server.
Systemd Services: Guides readers through the process of creating systemd services to ensure automatic startup of Temporal components.
Nginx Reverse Proxy: Shows how to deploy an Nginx reverse proxy to handle external connections and improve security.
SSL Certificate: Emphasizes the importance of SSL certificates for securing communications.
Interacting with the Service: Demonstrates how to interact with the Temporal service using the Temporal CLI.

Here are some suggestions for making the tutorial even better:

Include Screenshots:  Adding screenshots alongside the configuration files would make the tutorial more visually appealing and easier to follow for beginners.
More Detailed Explanations:  Provide more context and background information for each step. For example, explain the significance of the After hook in the [Unit] section, or why using a reverse proxy is beneficial.
Highlight Key Points: Use bold text or bullet points to call out essential information and emphasize key takeaways.
Provide Example Data: When showing how to interact with the Temporal service using the Temporal CLI, use example data to make the examples more concrete and easier to understand.
Link to Relevant Resources:  Provide links to additional documentation and resources, such as the Temporal Github repository, Slack group, or online courses.

Overall, this tutorial is a valuable resource for anyone interested in deploying a Temporal service. With a few minor improvements, it can become an even more comprehensive and beginner-friendly guide.

Thanks for reporting this issue.
Could you please provide the following information so I can investigate this issue further?

What version of Temporal UI are you using?
What version of GKE are you using?
Can you share the entire GKE Ingress configuration for the Web UI?
Can you describe the steps you are taking to access the details of the workflow ID from archival?
Have you tried accessing the details of the workflow ID from archival through the Temporal Web UI in the GKE cluster?

By providing this information, we can better understand the setup and assist you in finding a solution.


Int.ofNat_natAbs_eq_of_nonneg and Int.natAbs_of_nonneg seem duplicates

A quick search in mathlib suggests ofNat_natAbs_eq_of_nonneg is used 4 times and natAbs_of_nonneg is used 30 times. I'm fine keeping only the shorter name and deprecating the other one. Other opinions?

LGTM.


[pkg/status] Add flavor to status command

What does this PR do?

Add the agent flavor to the status command output.

Motivation

Have an easy way to check the Agent flavor.

Describe your test plan
Run the status command. The first lines should look like:
Getting the status from the agent.

==========================================
Agent (v7.21.0-devel+git.63.f83f80f agent)
==========================================

or iot-agent instead of agent for the IoT version.

This would break this regex I think: https://github.com/DataDog/chef-datadog/blob/master/libraries/recipe_helpers.rb#L118

I think it does, yes. I will move it to the body of the output then.


Feature/webinar gen json

Dodano operacje CRUD dla webinaru, czyli:

GET webinars
GET webinars/:id
PUT webinars/:id
POST webinars
DELETE webinars/:id

Uwagi::

obecnie wyłączony jest CQRS (można włączyć w pliku lib/router.ex:9
linki do webinarów to dla użytkownika webinars/event/:SHA, dla moderatora webinars/events/:SHA/moderator

In my opinion - the viewer and moderator_link should be kept in the database (as was the original idea). They will be generated with uuid (not sha) and no moderator suffix will be added.
This way it will be easier for the backend to retrieve information and extend the database if needed and it would be harder for viewer to get the link of the moderator


404 error trying to create a job with an endpoint longer than 86 characters

Bug Report
Current Behavior
Quirrel API returns 404 error when trying to create or query a queue with endpoint URL longer than 86 characters long.
Input Code
// QUIRREL_BASE_URL=https://some-very-long-subdomain.example.org
const PATH = 'very/long/queue/endpoint/url/with/a/lot/of/characters'
const queue = Queue(PATH, () => {})
queue.enqueue(...)

Expected behavior/code
I expect the job to be created.
Environment

Quirrel version: [e.g. v1.5.0]
Node/npm version: [e.g. Node 12/npm 7]

Additional context/Screenshots
I think this should be a pretty common case when working with Vercel preview environments. Our preview environments' domain names are 50 just by themselves.
This is what you get when trying to create a job with a long endpoint URL:

And this is what you get with URL not that long:

whew, that's an interesting observation. I'll take a look on monday!


fix(deps): update dependency org.springframework.boot:spring-boot-starter-parent to v3.0.6

This PR contains the following updates:

Package
Type
Update
Change

org.springframework.boot:spring-boot-starter-parent (source)
parent
patch
3.0.4 -> 3.0.6

org.springframework.boot:spring-boot-starter-parent (source)
parent
patch
3.0.3 -> 3.0.6

Release Notes

spring-projects/spring-boot
v3.0.6
Compare Source
:lady_beetle: Bug Fixes

CloudFoundry integration does not use endpoint path mappings #35086
ApplicationAvailability bean is auto-configured even if a custom one is already present #35068
Gradle Spring Boot plugin with Kotlin DSL does not support includeProjectDependencies in bootJar > layered > dependencies configuration #35035
Cassandra default configuration substitutions don't resolve against configuration derived from spring.data.cassandra properties #34799
Banner placeholders use default values too soon #34792
Nested test classes don't inherit properties from slice test annotations on enclosing class #34781
Hints for including Liquibase changelogs in a native image are unnecessarily narrow  #34729
Unlike @EnableBatchProcessing, auto-configuration for Spring Batch does not enable observability of steps and jobs #34305

:notebook_with_decorative_cover: Documentation

Improve documentation of tracing dependencies and configuration properties #34991
Use current Neo4j version in Testcontainers-based examples #34940
BatchProperties has an outdated reference to JPA #34844
Document that optional dependencies are included by default in fat jars built with Maven #34788

:hammer: Dependency Upgrades

Upgrade to Caffeine 3.1.6 #34928
Upgrade to Couchbase Client 3.4.5 #35050
Upgrade to GraphQL Java 19.5 #34996
Upgrade to Groovy 4.0.11 #34911
Upgrade to Infinispan 14.0.8.Final #34929
Upgrade to Jetty 11.0.15 #35051
Upgrade to jOOQ 3.17.12 #35052
Upgrade to Lettuce 6.2.4.RELEASE #35053
Upgrade to Logback 1.4.7 #35088
Upgrade to Maven Resources Plugin 3.3.1 #34913
Upgrade to Micrometer 1.10.6 #34858
Upgrade to Micrometer Tracing 1.0.4 #34859
Upgrade to MySQL 8.0.33 #35054
Upgrade to Native Build Tools Plugin 0.9.21 #35055
Upgrade to Neo4j Java Driver 5.7.0 #34930
Upgrade to Netty 4.1.91.Final #34914
Upgrade to Reactor Bom 2022.0.6 #34860
Upgrade to SAAJ Impl 3.0.1 #35056
Upgrade to Spring AMQP 3.0.4 #34950
Upgrade to Spring Data Bom 2022.0.5 #34903
Upgrade to Spring Framework 6.0.8 #34861
Upgrade to Spring Integration 6.0.5 #35012
Upgrade to Spring Kafka 3.0.6 #34951
Upgrade to Spring LDAP 3.0.2 #34904
Upgrade to Spring Security 6.0.3 #34952
Upgrade to Spring WS 4.0.3 #34953
Upgrade to Tomcat 10.1.8 #35089
Upgrade to Undertow 2.3.5.Final #34915
Upgrade to Yasson 3.0.3 #34916

:heart: Contributors
Thank you to all the contributors who worked on this release:
@Ferioney, @RobertRad, @SeasonPanPan, @acktsap, @benelog, @dreis2211, @kdomo, @krzyk, @marbon87, and @meistermeier
v3.0.5
Compare Source
:lady_beetle: Bug Fixes

EmbeddedWebServerFactoryCustomizerAutoConfiguration should not run when embedded web server is not configured #34659
StandardConfigDataResource can import the same file twice if the classpath includes '.' #34617
Loading application.yml fails with NoSuchMethodError when using SnakeYAML 2.0 #34515
@ConfigurationProperties no longer works on a mutable Kotlin data classes #34500
Image builds with podman fail when image buildpacks are configured #34495
Use of @EntityScan causes AOT instance supplier code generation error #34371

:notebook_with_decorative_cover: Documentation

Document support for Java 20 #34726
Clarify conventions for custom error pages in WebFlux #34705
Add documentation tip showing how to configure publishRegistry Maven properties from the command line #34704
Typo in Batch documentation: content instead of context #34646
Update two references to old APIs #34602
Fix Javadoc in JobLauncherApplicationRunner #34596
Document how to get socket location for image building configuration with podman #34475

:hammer: Dependency Upgrades

Upgrade to Caffeine 3.1.5 #34662
Upgrade to Couchbase Client 3.4.4 #34663
Upgrade to Dropwizard Metrics 4.2.18 #34664
Upgrade to GraphQL Java 19.4 #34718
Upgrade to Groovy 4.0.10 #34665
Upgrade to Infinispan 14.0.7.Final #34666
Upgrade to Jedis 4.3.2 #34698
Upgrade to Jetty Reactive HTTPClient 3.0.8 #34667
Upgrade to jOOQ 3.17.10 #34699
Upgrade to Json-smart 2.4.10 #34669
Upgrade to Logback 1.4.6 #34670
Upgrade to Micrometer 1.10.5 #34536
Upgrade to Micrometer Tracing 1.0.3 #34537
Upgrade to Netty 4.1.90.Final #34671
Upgrade to Reactor Bom 2022.0.5 #34538
Upgrade to SLF4J 2.0.7 #34672
Upgrade to Spring AMQP 3.0.3 #34608
Upgrade to Spring Data Bom 2022.0.4 #34539
Upgrade to Spring Framework 6.0.7 #34540
Upgrade to Spring GraphQL 1.1.3 #34541
Upgrade to Spring HATEOAS 2.0.3 #34673
Upgrade to Spring Integration 6.0.4 #34542
Upgrade to Spring Kafka 3.0.5 #34543
Upgrade to Spring Retry 2.0.1 #34544
Upgrade to Spring Session 3.0.1 #34545
Upgrade to Tomcat 10.1.7 #34674
Upgrade to UnboundID LDAPSDK 6.0.8 #34675

:heart: Contributors
Thank you to all the contributors who worked on this release:
@1993heqiang, @anthonydahanne, @benelog, @dsyer, @izeye, @swapy, and @terminux

Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (3.0.6). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


No such file or directory: 'blockchain:development'

Hi,
When running:  embark blockchain
I get this error:
Traceback (most recent call last):
File "/usr/local/bin/grunt", line 9, in
load_entry_point('grunt==0.1.1', 'console_scripts', 'grunt')()
File "/usr/local/lib/python2.7/dist-packages/grunt/render.py", line 94, in main
render_from_file(**options)
File "/usr/local/lib/python2.7/dist-packages/grunt/render.py", line 54, in render_from_file
with codecs.open(input, encoding=encoding) as f:
File "/usr/lib/python2.7/codecs.py", line 884, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: 'blockchain:development'

This is due to a python lib called grunt that is conflicting with grunt - the js tool.
Fixed by uninstalling the python grunt:
sudo pip uninstall grunt
then installing:
npm install -g grunt-cli


[add2app] iOS production crash

We use add-to-app development mode.
I can't reproduce the crash. About one in 10000 iOS users will crash.
The crash stack is:

0
Flutter
0x0000000109c80644 auto fml::internal::CopyableLambda<flutter::Shell::OnPlatformViewCreated(std::__1::unique_ptr<flutter::Surface, std::__1::default_deleteflutter::Surface >)::$_8>::operator()<>() const (memory:2617)

1
Flutter
0x0000000109c79a8c flutter::Shell::OnPlatformViewCreated(std::__1::unique_ptr<flutter::Surface, std::__1::default_deleteflutter::Surface >) (shell.cc:633)

2
Flutter
0x0000000109c1bb94 -[FlutterViewController surfaceUpdated:] (platform_view.cc:77)

3
TBClient
0x0000000101f37f30 tbSurfaceUpdated (FLBFlutterViewContainer.m:0)

4
TBClient
0x0000000101f39774 -[FLBFlutterViewContainer viewDidAppear:] (FLBFlutterViewContainer.m:368)

5
UIKit
0x000000018ee38670 -[UIViewController _setViewAppearState:isAnimating:] + 852

6
UIKit
0x000000018ee38bdc -[UIViewController _endAppearanceTransition:] + 228

7
UIKit
0x000000018eedde74 -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 1328

8
UIKit
0x000000018efa48b0 ___49-[UINavigationController _startCustomTransition:]_block_invoke + 252

9
UIKit
0x000000018ef30910 -[_UIViewControllerTransitionContext completeTransition:] + 116

10
UIKit
0x000000018f074c98 ___53-[_UINavigationParallaxTransition animateTransition:]_block_invoke.124 + 752

11
UIKit
0x000000018ee58240 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 764

12
UIKit
0x000000018ee57bb4 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 312

13
UIKit
0x000000018ee578c0 -[UIViewAnimationState animationDidStop:finished:] + 296

14
UIKit
0x000000018ee57960 -[UIViewAnimationState animationDidStop:finished:] + 456

15
QuartzCore
0x0000000189990e14 CA::Layer::run_animation_callbacks(void*) + 284

16
libdispatch.dylib
0x00000001852baa14 __dispatch_client_callout + 16

17
libdispatch.dylib
0x00000001852c7698 __dispatch_main_queue_callback_4CF$VARIANT$mp + 1016

18
CoreFoundation
0x00000001858e6544 _CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12

19
CoreFoundation
0x00000001858e4120 ___CFRunLoopRun + 2012

20
CoreFoundation
0x0000000185803e58 _CFRunLoopRunSpecific + 436

21
GraphicsServices
0x00000001876b0f84 _GSEventRunModal + 100

22
UIKit
0x000000018ee8367c _UIApplicationMain + 236

23
TBClient
0x00000001009152d0 main (main.m:25)

24
libdyld.dylib
0x000000018532056c _start + 4

Register
-
pc: 0x0000000109c80644 fp: 0x000000016f80a160 sp: 0x000000016f80a130 x0: 0x0000000000000000 x1: 0x0000000002dcc9c0 x2: 0x0000000000000000 x3: 0x000000000027c371 x4: 0x0000000000002060 x5: 0x0000000000000060 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x0000020000000303 x10: 0x0000000000000200 x11: 0x0000000000000001 x12: 0x0000030000000300 x13: 0x0000000000000000 x14: 0x0000000000000303 x15: 0x0000000000000000 x16: 0x0000000185567b5c x17: 0x00000000ffffffff x18: 0xfffffff014c9925c x19: 0x0000000168396a40 x20: 0x00000001637890f0 x21: 0x000000016379a940 x22: 0x000000016379a9d8 x23: 0x000000016379a9d8 x24: 0x0000000000000000 x25: 0x00000001635a79c0 x26: 0x000000016f80a188 x27: 0x000000016379b200 x28: 0x0000000163b0ebf0 lr: 0x0000000109c80640 cpsr: 0x0000000060000000

Steps to Reproduce

I can't reproduce it. About one in 10000 IOS users will crash.
Expected results:
The engine source code is:

I also want to know when the GPU the and platform threads are the same.
Actual results:

Logs

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G4032, locale zh-Hans-CN)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.6)
[!] VS Code (version 1.45.1)
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (1 available)

Hi @cngaofei
Please upgrade to latest stable, i noticed you're on old stable.
Can you please provide pubsepc.yaml?
Thank you

@TahaTesser , thanks for your response.
It's difficult to provide full quantity pubspeck.yaml, because we have developed many packages. I think the dependency associated with this comparison is flitter_ Boost, for the development of add to app mode.
We tend to be cautious about upgrading the SDK version, which has been running stably online for a long time. I have read the latest engine code, and this one should not be changed. I want to know about engine/src/flutter/shell/common/shell.cc line 585, When the GPU and platform threads are the same

Thank you

@liyuqian I think you touched this recently?

I renamed gpu_task to raster_task but that shouldn't change any behaviors. @amirh wrote that gpu_task() line in https://github.com/flutter/engine/commit/629072277dc73e0628afab7ba7142f7d582996ad before my rename.

@amirh ,
By looking at the comments, I understand that it is to solve a deadlock problem. The root cause is that GPU thread is the same as platform thread. According to my general cognition, there are four related threads (platform, UI, GPU, IO) after engine is started, so can you explain when the platform thread of engine is the same as GPU thread, or what kind of design is expected?
Thanks！

If there is a platform view in the Flutter application, that can only be accessed on the Cocoa main thread. In such cases, platform and GPU task runners execute their tasks on the same thread. We may be handling that incorrectly in certain cases.
Is it possible to prepare a reduced test case for this? That would greatly help.
cc @cyanglaz as he has been taking a look at related subsystems.

@chinmaygarde ，thanks for your reply.
I have been trying to reproduce, but I haven't found the recurrence step.
We use add2app mode to develop and share an engine instance globally.  I'm sure that we don't use other platform view but [FlutterView alloc]. All of them are drawn by flutter.
When I open the flutter page, I will create a FluterViewController container, and then attach engine. When my FluterViewController container calls viewDidAppear, I manually call FluterViewController surfaceUpdated, and then[_ engine.get () platformView] -> NotifyCreated();->Shell::OnPlatformViewCreated->gpu_task () and then it crashes.
by quote,
"If there is a platform view in the Flutter application, that can only be accessed on the Cocoa main thread. In such cases, platform and GPU task runners execute their tasks on the same thread."
This means that when opening a FlutterViewController and initializing FultterView, both platform and GPU task runners execute their tasks on the platform thread.
I'm curious to know how gputaskrunner works, such as

Initialization of gpu task runner;
When is the gpu task runner covered as platform task runner;
Whether to return to its own independent state after being overwritten as platform task runner

Sdk 1.17.5 is OK.


Test methods they way the are used by the calling code

I thought that it would be better to have a test code more like the code that actually uses the methods that we test.
But after the change in this PR some tests don't pass:
/Users/gdubicki/git/gitlabform/venv/bin/python "/Users/gdubicki/Library/Application Support/JetBrains/IntelliJIdea2022.1/plugins/python/helpers/pycharm/_jb_pytest_runner.py" --path /Users/gdubicki/git/gitlabform/tests/unit/configuration
Testing started at 09:13 ...
Launching pytest with arguments /Users/gdubicki/git/gitlabform/tests/unit/configuration --no-header --no-summary -q in /Users/gdubicki/git/gitlabform/tests/unit/configuration

============================= test session starts ==============================
collecting ... collected 49 items

test_case_sensitivity.py::test__config_with_different_case_group
test_case_sensitivity.py::test__config_with_different_case_project
test_case_sensitivity.py::test__config_with_different_case_duplicate_groups
test_case_sensitivity.py::test__config_with_different_case_duplicate_projects
test_case_sensitivity.py::test__config_with_different_case_duplicate_skip_groups
test_case_sensitivity.py::test__config_with_different_case_duplicate_skip_projects
test_inheritance_break_projects_and_groups.py::TestInheritanceBreakProjectsAndGroups::test__inheritance_break__flag_set_at_project_level__project_inherits_nothing
test_inheritance_break_subgroups.py::TestInheritanceBreakSubgroups::test__inheritance_break__flag_set_at_project_level__first_subgroup_project_inherits_nothing
test_inheritance_break_subgroups.py::TestInheritanceBreakSubgroups::test__inheritance_break__flag_set_at_project_level__second_subgroup_project_inherits_nothing
test_inheritance_break_subgroups.py::TestInheritanceBreakSubgroups::test__inheritance_break__flag_set_at_subgroup_level__second_subgroup_inherits_nothing
test_inheritance_break_validation.py::TestInheritanceBreakValidation::test__validate_break_inheritance_flag__invalid_flag_set_at_common_level
test_inheritance_break_validation.py::TestInheritanceBreakValidation::test__validate_break_inheritance_flag__invalid_flag_set_at_group_level PASSED  [  2%]PASSED [  4%]PASSED [  6%]Error: There are almost duplicates in the keys of projects_and_groups - they differ only in case.
They are: groupnamewithvaryingcase/*, GROUPnameWITHvaryingCASE/*
This is not allowed as we ignore the case for group and project names.
PASSED [  8%]Error: There are almost duplicates in the keys of projects_and_groups - they differ only in case.
They are: GroupNameWithVaryingCase/projectwithvaryingcase, GroupNameWithVaryingCase/ProjectWithVaryingCase
This is not allowed as we ignore the case for group and project names.
PASSED [ 10%]Error: There are almost duplicates in the keys of skip_groups - they differ only in case.
They are: groupnamewithvaryingcase, GROUPnameWITHvaryingCASE
This is not allowed as we ignore the case for group and project names.
PASSED [ 12%]Error: There are almost duplicates in the keys of skip_projects - they differ only in case.
They are: GroupNameWithVaryingCase/projectwithvaryingcase, GroupNameWithVaryingCase/ProjectWithVaryingCase
This is not allowed as we ignore the case for group and project names.

test_inheritance_break_projects_and_groups.py::TestInheritanceBreakProjectsAndGroups::test__inheritance_break__flag_set_at_project_level__project_inherits_group_and_not_common
test_inheritance_break_projects_and_groups.py::TestInheritanceBreakProjectsAndGroups::test__inheritance_break__flag_set_at_group_level__group_inherits_nothing
test_inheritance_break_projects_and_groups.py::TestInheritanceBreakProjectsAndGroups::test__inheritance_break__flag_set_at_group_level__group_is_highest_level_and_inherits_nothing
test_inheritance_break_projects_and_groups.py::TestInheritanceBreakProjectsAndGroups::test__inheritance_break__flag_set_at_group_level__project_inherits_group_and_not_common
test_inheritance_break_projects_and_groups.py::TestInheritanceBreakProjectsAndGroups::test__inheritance_break__flag_set_at_group_level_and_project_level__project_inherits_nothing
test_inheritance_break_subgroups.py::TestInheritanceBreakSubgroups::test__inheritance_break__flag_set_at_subgroup_level__subgroup_inherits_nothing PASSED [ 14%]PASSED [ 16%]PASSED [ 18%]PASSED [ 20%]PASSED [ 22%]PASSED [ 24%]PASSED [ 26%]PASSED [ 28%]PASSED [ 30%]PASSED [ 32%]PASSED [ 34%]Error: The inheritance-break flag set in "*" is invalid
because it has no higher level setting to inherit from.

FAILED [ 36%]
tests/unit/configuration/test_inheritance_break_validation.py:28 (TestInheritanceBreakValidation.test__validate_break_inheritance_flag__invalid_flag_set_at_group_level)
self = <tests.unit.configuration.test_inheritance_break_validation.TestInheritanceBreakValidation object at 0x102709e40>

    def test__validate_break_inheritance_flag__invalid_flag_set_at_group_level(self):
        config_yaml = """
        ---
        projects_and_groups:
          some_group/*:
            secret_variables:
              inherit: false
              secret:
                key: foo
                value: bar
        """

        configuration = Configuration(config_string=config_yaml)
>       with pytest.raises(SystemExit) as exception:
E       Failed: DID NOT RAISE <class 'SystemExit'>

test_inheritance_break_validation.py:42: Failed
PASSED [ 38%]Error: The inheritance-break flag set in "some_group/some_project" under key "secret_variables" is invalid
because it has no higher level setting to inherit from.

FAILED [ 40%]
tests/unit/configuration/test_inheritance_break_validation.py:64 (TestInheritanceBreakValidation.test__validate_break_inheritance_flag__invalid_flag_set_at_subgroup_level)
self = <tests.unit.configuration.test_inheritance_break_validation.TestInheritanceBreakValidation object at 0x1027082b0>

    def test__validate_break_inheritance_flag__invalid_flag_set_at_subgroup_level(self):
        config_yaml = """
        ---
        projects_and_groups:
          some_group/subgroup/*:
            group_members:
              inherit: false
              my-user:
                access_level: 10
        """

        configuration = Configuration(config_string=config_yaml)
>       with pytest.raises(SystemExit) as exception:
E       Failed: DID NOT RAISE <class 'SystemExit'>

test_inheritance_break_validation.py:77: Failed

PASSED [ 42%]PASSED [ 44%]PASSED [ 46%]PASSED [ 48%]PASSED [ 51%]PASSED [ 53%]PASSED [ 55%]PASSED [ 57%]PASSED [ 59%]PASSED [ 61%]PASSED [ 63%]PASSED [ 65%]PASSED [ 67%]PASSED [ 69%]PASSED [ 71%]PASSED [ 73%]PASSED [ 75%]PASSED [ 77%]PASSED [ 79%]PASSED [ 81%]PASSED [ 83%]PASSED [ 85%]PASSED [ 87%]PASSED [ 89%]PASSED [ 91%]PASSED [ 93%]PASSED [ 95%]PASSED        [ 97%]PASSED                       [100%]

test_inheritance_break_validation.py::TestInheritanceBreakValidation::test__validate_break_inheritance_flag__invalid_flag_set_at_project_level
test_inheritance_break_validation.py::TestInheritanceBreakValidation::test__validate_break_inheritance_flag__invalid_flag_set_at_subgroup_level
test_projects_and_groups.py::test__get_effective_config_for_project__other_project
test_projects_and_groups.py::test__get_effective_config_for_project__project_from_config__additive_project_settings
test_projects_and_groups.py::test__get_effective_config_for_project__project_from_config__additive_hooks
test_projects_and_groups.py::test__get_effective_config_for_project__with_multiple_levels
test_projects_and_groups.py::test__get_effective_config_for_project__configuration_for_other_project
test_skip_groups_skip_projects.py::test__config_skip_project[project-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_project[project-not-skip-False]
test_skip_groups_skip_projects.py::test__config_skip_project[group-not-skip/project-not-skip-False]
test_skip_groups_skip_projects.py::test__config_skip_project[group-skip/project-not-skip-False]
test_skip_groups_skip_projects.py::test__config_skip_project[group-skip-wildcard/project-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_project[group-skip-wildcard/subgroup-a/project-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_project[group-skip-wildcard/subgroup-a/subgroup-b/project-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_project[group-not-skip/subgroup-not-skip/project-not-skip-False0]
test_skip_groups_skip_projects.py::test__config_skip_project[group-not-skip/subgroup-skip-wildcard/project-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_project[group-not-skip/subgroup-not-skip/project-not-skip-False1]
test_skip_groups_skip_projects.py::test__config_skip_project[group-not-skip/subgroup-skip/project-not-skip-False]
test_skip_groups_skip_projects.py::test__config_skip_group[group-not-skip-False]
test_skip_groups_skip_projects.py::test__config_skip_group[group-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_group[group-skip-wildcard-True]
test_skip_groups_skip_projects.py::test__config_skip_group[group-skip-wildcard/subgroup-a-True]
test_skip_groups_skip_projects.py::test__config_skip_group[group-skip-wildcard/subgroup-a/subgroup-b-True]
test_skip_groups_skip_projects.py::test__config_skip_group[group-not-skip/subgroup-not-skip-False0]
test_skip_groups_skip_projects.py::test__config_skip_group[group-not-skip/subgroup-skip-wildcard-True]
test_skip_groups_skip_projects.py::test__config_skip_group[group-not-skip/subgroup-skip-wildcard/subgroup-skip-True]
test_skip_groups_skip_projects.py::test__config_skip_group[group-not-skip/subgroup-not-skip-False1]
test_subgroups.py::test__get_effective_config_for_project__project_from_config__level1
test_subgroups.py::test__get_effective_config_for_project__project_from_config__level2
test_subgroups.py::test__get_effective_config_for_subgroup
test_yaml_version.py::test__default_yaml_11

========================= 2 failed, 47 passed in 0.43s =========================

Process finished with exit code 1

The target branch is already merged.


Feature: Auto create folder when using ctrl + shift + n shortcut

What feature or improvement do you think would benefit Files?
Auto create folder when using the ctrl + shift + n shortcut instead of prompting user to choose an item type.
Requirements

Ctrl + shift + n shortcut will no longer display the new item dialog
Shortcut will now auto prompt user to enter the folder name

Files Version
<IP_ADDRESS>
Windows Version
Edition	Windows 10 Pro Version	21H2 Installiert am	13.08.2020 Betriebssystembuild	19044.2130 Leistung	Windows Feature Experience Pack 120.2212.4180.0
Comments
Would be nice to have the setting to choose what the shortcut will create. In my use case i would like to be able to set it to folder since that is the default with Windows explorer and i got used to it and really like it to be able to create a new folder without using the mouse.
Also the popup window when hitting the shortcut takes sometimes about one to two seconds to show the selectable options.

Folders are now selected by default in the preview build, can you see if this solves the issue?

I believe they mean to have the shortcut just make a new file or folder instantly without the prompt showing (File explorer will do this for folders). Not the keyboard selection.

I believe they mean to have the shortcut just make a new file or folder instantly without the prompt showing (File explorer will do this for folders). Not the keyboard selection.

Yes, this is what I was looking for. The Prompt takes time and needs another input.  But being able to create a folder with one shortcut and nothing else would be awesome.
Maybe ad a opt-in in the settings or the prompt to select a default and "don't show this massage again".

We'd prefer to take an opinionated approach here. We can change the default for ctrl + shift + n if that's what users want but we won't add a setting to change this behavior.

I've been using Alt+W+Space for a while to mimic the File Explorer's way of the Ctrl+Shift+N. For me, having the option to create a folder, without going through the prompts, would be a time saver and would also work for users who are used to Explorer's way of creating folders.

I would prefer that as well

I would prefer that as well, I'm used to CTRL+SHIFT+N

This shortcut will be included in the next release.


Automate jpeek analisys with maven plugin

jpeek should provide an maven plugin so we could run it automatically on each build.
Proposed features:

jpeek-maven-plugin to be configured on project pom.xml file, and will collect metrics on maven builds (similar to qulice-maven-plugin), saving it from some directory on build path
cohesion check: jpeek-maven-plugin will allow to set target values from cohesion metrics and will check report files generated on execution. Build can be configured to fail when target values are not met
plugin should allow to ignore / exclude classes and metrics from cohesion check by pom configuration and by annotation configuration in files, like qulice/checkstyle/PMD plugins;

@yegor256/z please, pay attention to this issue

@paulodamaso/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@0crat assign me

@0crat assign me (here)

@paulodamaso The job #274 assigned to @paulodamaso/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@paulodamaso/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

The user @paulodamaso/z resigned from #274, please stop working. Reason for job resignation: It is older than 10 days, see §8

The job #274 assigned to @victornoel/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@paulodamaso I'm not sure why 0crat assigned me this, maybe you should refuse then out it

@0crat refuse

@0crat refuse (here)

@paulodamaso The user @victornoel/z resigned from #274, please stop working. Reason for job resignation: Order was cancelled

@0crat out

@0crat out (here)

@paulodamaso Job gh:yegor256/jpeek#274 is not assigned, can't get performer


Support selecting menu item from

Currently when a menu contains a filtering input, navigating items will take user's focus away from the input. This creates quite an annoyance when quick filtering actions are performed.
This adds support for managing focus via aria-activedescendant when an input is specified on the menu element, and said input is focused. Aside from setting input attribute, the markup should also fulfill the following (not enforced by details-menu):

aria-owns on <input> targeting the menu item container
id and role on the menu item container since role=menu should not contain <input>
Static id on each of the menu item (there is a dynamically generated ID, but in testing it seems AT might be slow in picking them up)
Styling focus style with :focus, [aria-selected="true"]

Keyboard
VO w/ Safari

References:

https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant for managing focus
https://www.w3.org/TR/wai-aria-1.1/#aria-selected for conveying focus state over :focus

We're no longer pursuing this.


Triggered in command mode.

When press : enter to command mode,
then press <c-f> edit the command.
compe still triggered.
Seems to run in insert mode anyway.

there is no use in opening issues the project is not maintained anymore


Sample notebook for start page

We need a 'sample' notebook generated with markdown and different things a person can do. Like ipywidgets.

SampleNotebook (3).zip
Sample notebook and associated images/gifs for it

Note: Show sample notebook by default when the user creates a new blank notebook for the first time after installing the extension. Then subsequent new notebooks after that will go back to the default behavour of creating an actual blank notebook.
If the user already has an notebook open when the start page shows up, or if the user opens an existing notebook, then dont show the sample notebook.

Note: you'll need to add a class name to the Notebook Editor Icon SVGs I put into the notebook, and have code to dynamically choose the dark or light icon svg, since right now I just hardcoded the SVG to be for light theme

validated as work item.


[Errno 13] Permission denied

Hello,
I'm getting the following error messages when I try to search subtitles for newly downloaded series(My series are downloaded with deluge)
Traceback (most recent call last):
File "/usr/local/bin/subliminal", line 9, in
load_entry_point('subliminal==0.8.0-dev', 'console_scripts', 'subliminal')()
File "/usr/local/lib/python2.7/dist-packages/subliminal-0.8.0_dev-py2.7.egg/subliminal/cli.py", line 182, in subliminal
save_subtitles(subtitles, single=args.single, directory=args.directory, encoding=args.encoding)
File "/usr/local/lib/python2.7/dist-packages/subliminal-0.8.0_dev-py2.7.egg/subliminal/api.py", line 131, in save_subtitles
with io.open(subtitle_path, 'w', encoding=encoding) as f:
IOError: [Errno 13] Permission denied: '/home/_/NASVD/_/.S02E11.720p.HDTV.X264-_/_.S02E11.720p.HDTV.X264-*****.en.srt'
Is there some sort of command or cronjob that can prevent this from happening???

For the next person who reads this: if you install subliminal as a snap, then you might need to give it explicit permission to your removable media, since many of us probably store video files somewhere other than the built-in primary drive on the machine. :)
This isn't an issue with subliminal itself, but I could see people bumping into this problem for the first time while trying to get subliminal working.
sudo snap connect subliminal-subtitles:removable-media core

For the next person who reads this: if you install subliminal as a snap, then you might need to give it explicit permission to your removable media, since many of us probably store video files somewhere other than the built-in primary drive on the machine. :)
This isn't an issue with subliminal itself, but I could see people bumping into this problem for the first time while trying to get subliminal working.
sudo snap connect subliminal-subtitles:removable-media core

you are a life saver i have quit using subliminal for many years till i read your comment

Thanks for the useless notification and issue bump, as usual on this shit platform...


[Feature Request] V3 Admin-only metadata

Proposal
V3 API Objects containing 'metadata.labels' and 'metadata.annotations' should also contain an Admin-only version that is inaccessible to the Users.
Context
As an Admin, there are multiple custom metrics that need to be linked to items hosted on Cloud Foundry. These metrics are currently store in an external database and accessed when needed, causing more overhead and slowing down API requests.
Examples:

Lease Date -- Calculated date of when an app should be EOL'd.
Team Identifier -- Unique identifier attached to all hosted Orgs, Spaces, Apps, and Services to determine which User owns the object.
Monthly Usage -- Calculated resource dollar amount each Org uses for billing purposes.

Since metadata gives more flexibility to the Users, adding Admin-only labels/annotations would give more flexibility to the Admins for supporting the platform.
Possible Solutions:

Have additional Metadata objects only admins can use.
Give Admins an option to make current Metadata objects completely inaccessible, read-only, or read-write permissions.

We discussed this a lot when designing the metadata API. One thing that's interesting is that k8s doesn't have this feature afaik. Anybody who can modify an object can modify its labels. Implementing a feature like this in k8s might make it more difficult to give space developers k8s API access in some distant imagined future.

Understood, thank you for the information!


no nfc detected with the app.

I'm using the phonegap-nfc plugin, on an Android device, Nexus 5. The plugin works when i build it, but it doesn't work when using the phonegap app. Is the app missing dependencies to nfc hardware?

Hi @VanHumbeeckA,
Unfortunately, the PG Developer App does not currently support third-party plugins. This is a technical issue that we're trying to overcome, since a plugin with a native implementation must be compiled. Any suggestions are welcome!
At the moment, you'll need to build to a simulator or device. Sorry about that!


lime 2.8.3 crashes neko when using some features of opengl

Try the command
openfl test neko
on the SimpleOpenGLView sample and it crashes. I don't know why.

lime 2.9.0 has the same problem. It can build projects for neko, but when running those projects with the command (for the SimpleImage sample, for example)
lime test neko
it gives a segmentation fault. As far as I can see, it's a problem with the OpenGL layer (Cairo works fine). I'm using Ubuntu 14.04 LTS on an Asus Eee-PC with a GMA GPU. The version I had installed previously worked fine, but I can't remember which one it was.

So --window-hardware=false works, and the "HelloWorld" sample works alright in OpenGL? So once it tries to load and display a texture, it has an issue?

Yes, window-hardware false works, Cairo works. But "HelloWorld" sample doesn't work in OpenGL, that is with window-hardware true. With window-hardware true, I tried putting a trace("just started render function of HelloWorld sample") at the start of the render function, just before the switch, but that doesn't get printed - it's just a segmentation fault. However, "Hello World" in the constructor does get printed. After that, it's just the segmentation fault.

I believe we use SDL_GL_GetProcAddress to get references to the system OpenGL library. Can you tell if OpenGL 2 features (such as shaders) work on anything else on the system? Does WebGL work?

Well, the sample "SimpleOpenGLView" (which contains some rather simple shaders) from the 'nme' haxelib package works (compiled with nme, not lime). WebGL works, but the GPU is just too weak to do anything useful. The problem seems that the function 'render' doesn't even get called - Neko crashes before that happens. I've attached a file with the last few lines of the output of the command
valgrind ./HelloWorld
Perhaps that helps.
log.txt

I've gone over to http://www.openfl.org/builds/lime/ and tried some of the older builds. The following and previous builds work:
lime-2.6.9.zip
The following and subsequent don't work:
lime-2.6.9-7-g83e0bd4.zip
Something was changed in the combination of Neko/Linux/OpenGL code that causes the error. I forgot to say I'm running 32-bits Ubuntu, but I've seen reports of also failing in 64-bits versions.
The window where the rendering is to occur does appear, but only for about half a second or so. Then it disappears and the program crashes.


read: add ObjectSection::dynamic_relocations

Fixes #728

Closing until there is a concrete need for this.


Parallelize floyd_warshall_numpy with Rayon

Closes #142

Rewrite floyd_warshall_numpy using ndarray::parallel iterators from Rayon to improve performance
Refactor test case for negative cycles that was implementation dependent

Pull Request Test Coverage Report for Build 685339220

12 of 12 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 96.535%

Totals

Change from base Build 671344852:
0.003%

Covered Lines:
5879

Relevant Lines:
6090

💛  - Coveralls

I still need to run formal benchmarks, but I compared multiple versions with informal benchmarks and opted to use the one that only parallelizes the first nested loop.
For N = 5000, the version that is currently in master with no parallelization ran on 95s on my i5 machine with 8 cores.
For the version in the PR, the same test ran in 44s. It uses .into_par_iter(), which should have a small overhead because of how Rayon handles parallel iterators.
And for a version with both nested loops parallelized, the runtime was of 65s. It was faster than the code master, but slower than the version in the PR. Adding another .into_par_iter() caused more overhead.

Here's a benchmark with this code on some random graphs:
from random import randint

import time
import retworkx as rx
import random

branch = "parallel-floyd" # change for each branch

def get_random_graph(N, p):
	random.seed(10**9 + 13)

	edge_list = [
		(i, j, random.randint(0, 2**20 - 1))
                for i in range(N)
                for j in range(i+1, N)
                if random.random() <= p
	]

	graph = rx.PyGraph()

	graph.extend_from_weighted_edge_list(edge_list)

	return graph

for N in [5, 25, 125,  625, 1000, 2000, 3000, 4000, 5000]:

	graph = get_random_graph(N, 0.5)
	start = time.time()
	floyd_result = rx.graph_floyd_warshall_numpy(graph, weight_fn=lambda x: x)
	stop = time.time()

	print("N = {} retworkx at {}: {}".format(N, branch, str(stop - start)))

On master, the results are:
N = 5 retworkx at master: 0.10829281806945801
N = 25 retworkx at master: 0.00010085105895996094
N = 125 retworkx at master: 0.0062580108642578125
N = 625 retworkx at master: 0.21328234672546387
N = 1000 retworkx at master: 0.9113898277282715
N = 2000 retworkx at master: 6.730209589004517
N = 3000 retworkx at master: 21.81312608718872
N = 4000 retworkx at master: 49.6114866733551
N = 5000 retworkx at master: 99.33520412445068

With this PR, the results are (considering 4 cores with 8 threads):
N = 5 retworkx at parallel-floyd: 0.16567063331604004
N = 25 retworkx at parallel-floyd: 0.010886430740356445
N = 125 retworkx at parallel-floyd: 0.0028476715087890625
N = 625 retworkx at parallel-floyd: 0.07497501373291016
N = 1000 retworkx at parallel-floyd: 0.2848215103149414
N = 2000 retworkx at parallel-floyd: 2.6836845874786377
N = 3000 retworkx at parallel-floyd: 9.107330083847046
N = 4000 retworkx at parallel-floyd: 21.59263300895691
N = 5000 retworkx at parallel-floyd: 42.03385925292969

I also got similar results for digraph_floyd_warshall_numpy.
However, for floyd_warshall_numpy there was no difference in performance... And that was because of a bug I suppose! floyd_warshall_numpy doesn't call Floyd Warshall, it calls adjacency_matrix.

Can you split https://github.com/Qiskit/retworkx/pull/291/commits/5ac80fefc72c5421533be1f2eab4f52da21a6502 out into a separate PR? It's an independent fix from this PR and having a standalone commit for that fix (with it's own release note and test) will be good so we can potential backport it for a 0.8.1 release if needed.

I ran a similar script:
import time
import retworkx as rx

branch = "serial-floyd" # change for each branch
sizes = [5, 25, 125,  625, 1000, 2000, 3000, 4000, 5000]
for N in sizes:
    graph = rx.undirected_gnp_random_graph(N, 0.5)
    rx.graph_floyd_warshall_numpy(graph, weight_fn=lambda _: 1.0)

for N in sizes:
    graph = rx.undirected_gnp_random_graph(N, 0.5)
    start = time.time()
    floyd_result = rx.graph_floyd_warshall_numpy(graph, weight_fn=lambda _: 1.0)
    stop = time.time()
    print("N = {} retworkx at {}: {}".format(N, branch, str(stop - start)))

and got consistent results (with 8 cores, 16 threads):

branch
5 nodes
25 nodes
125 nodes
625 nodes
1000 nodes
2000 nodes
3000 nodes
4000 nodes
5000 nodes

master
2.0266e-05
3.0279e-05
0.0016
0.1619
0.6518
6.863
23.429
54.456
104.8159

#291
0.00029
0.0007
0.00517
0.06161
0.1945
1.599
5.4470
10.5573
19.4377

Looking at these numbers I wonder if it makes sense to have an adjustable parallelization threshold (like what we do for distance_matrix(): https://github.com/Qiskit/retworkx/blob/master/src/lib.rs#L1381-L1393) since it looks like there is an overhead for building the threadpool that is larger than the gains from parallelization for smaller graphs.

I ran a similar script:
import time
import retworkx as rx

branch = "serial-floyd" # change for each branch
sizes = [5, 25, 125,  625, 1000, 2000, 3000, 4000, 5000]
for N in sizes:
    graph = rx.undirected_gnp_random_graph(N, 0.5)
    rx.graph_floyd_warshall_numpy(graph, weight_fn=lambda _: 1.0)

for N in sizes:
    graph = rx.undirected_gnp_random_graph(N, 0.5)
    start = time.time()
    floyd_result = rx.graph_floyd_warshall_numpy(graph, weight_fn=lambda _: 1.0)
    stop = time.time()
    print("N = {} retworkx at {}: {}".format(N, branch, str(stop - start)))

and got consistent results (with 8 cores, 16 threads):
branch	5 nodes	25 nodes	125 nodes	625 nodes	1000 nodes	2000 nodes	3000 nodes	4000 nodes	5000 nodes
master	2.0266e-05	3.0279e-05	0.0016	0.1619	0.6518	6.863	23.429	54.456	104.8159
#291	0.00029	0.0007	0.00517	0.06161	0.1945	1.599	5.4470	10.5573	19.4377
Looking at these numbers I wonder if it makes sense to have an adjustable parallelization threshold (like what we do for distance_matrix(): https://github.com/Qiskit/retworkx/blob/master/src/lib.rs#L1381-L1393) since it looks like there is an overhead for building the threadpool that is larger than the gains from parallelization for smaller graphs.

I added the parallel_threshold parameter to Floyd-Warshall, also defaulting to 300 nodes. I also added a test class and rewrote the test to make sure execute both the parallel and sequential version in CI.


Tables with long numbers are truncated when exported to excel

Bug description
When downloading a table with long numbers with the excel options, these are truncated by replacing the last number with a 0. For example,<PHONE_NUMBER>127863 would appear as<PHONE_NUMBER>127860. This does not happen when exporting to CSV.
How to reproduce the bug
Create a table where a dimension is some large number (15-16 digits) and then download as excel.
Screenshots/recordings
This is an extract of the table in my dashboard

This is what it looks like in excel

Superset version
3.1.3
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

@jose-vines-toteat let us know if you want to open a PR to solve the problem. We'd love to get feedback on Dosu's suggestions here, since if it leads to a fix, that's pretty amazing.

Hi, sorry it took me so long to get to this. I'll open a PR to solve this following Dosu's suggestion.

@jvines did you want to open a PR on Superset to close out this issue? Curious if the fix worked and seems like it'd help others, too, without causing some other edge case.

@rusackas  Hi! Yes I intend to, but I've had problems with my pc lately. I'll try to get it done asap.


HTML

HTML
User Story
As a bootcamp student,
I want to build a provisional portfolio,
So that i can showcase my abilities or lack thereof
Acceptance Criteria
GIVEN a portfolio website
WHEN I load the portfolio
THEN I am presented with the developer's name, a recent photo or avatar, and links to sections about them, their work, and how to contact them
WHEN I click one of the links in the navigation
THEN the UI scrolls to the corresponding section
WHEN I click on the link to the section about their work
THEN the UI scrolls to a section with titled images of the developer's applications

the skeleton is there, is it nice no, but it has these criterias


Appsody config file path seems incorrect in help

The output from the CLI states:
$ appsody
The Appsody command-line tool (CLI) enables the rapid development of cloud native applications.
Flags:
--config string   config file (default is $HOME/.appsody.yaml)
However, the file $HOME/.appsody.yaml does not exist on my system. Rather, the path is ~/.appsody/.appsody.yaml -- I didn't do anything special when I installed appsody so I assume that's the right path. If so, the documentation and the CLI need to be updated.

Thanks for raising this issue.
It looks like the CLI docs need to be updated to reflect the accurate path.


Invalid appcompat version in test build.gradle

https://github.com/ArthurHub/Android-Image-Cropper/blob/master/test/build.gradle#L19
Version of appcompat is invalid, and possibly must be $supportLibraryVersion.
Current variant:
compile "com.android.support:appcompat-v7:6.0.2"

Should be:
compile "com.android.support:appcompat-v7:$supportLibraryVersion"

fixed, thanks


Docs/scrollbars

style scrollbars for browsers that are not as nice as safari (maybe the non-hover color could be more prominent)
hide scrollbars in the code line highlight overlay (this is a bug in vitepress default theme)
there was a horizontal scrollbar in the body that I couldn't fix, but I think it is safe to just hide it.

That was crazy on Windows 😅 Thanks a lot for the fix!

That was crazy on Windows 😅 Thanks a lot for the fix!


AWQ-int4-quantization errors on Llama-2 13B based model with AMMO

I'm currently trying to use AMMO to quantize my model with awq——int4. My customed model is based on llama2-13B, but the attention and mlp layers of the model have biases, and the model is GQA structure.
I encountered an issue when using AMMO for quantization.
Cannot export model to the model_config. The AMMO optimized model state_dict (including the quantization factors) is saved to /target/model/quantized_int4-awq/ammo_model.0.pth using torch.save for further inspection.
Detailed export error:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/ammo/torch/export/model_config_export.py", line 181, in export_model_config
    for model_config in torch_to_model_config(
  File "/usr/local/lib/python3.10/dist-packages/ammo/torch/export/model_config_export.py", line 114, in torch_to_model_config
    build_decoder_config(layer, model_metadata_config, decoder_type, dtype)
  File "/usr/local/lib/python3.10/dist-packages/ammo/torch/export/layer_utils.py", line 782, in build_decoder_config
    config.attention = build_attention_config(layer, model_metadata_config, dtype, config)
  File "/usr/local/lib/python3.10/dist-packages/ammo/torch/export/layer_utils.py", line 598, in build_attention_config
    config.qkv = build_qkv(qkv_modules, model_metadata_config, dtype, ext_config)
  File "/usr/local/lib/python3.10/dist-packages/ammo/torch/export/layer_utils.py", line 436, in build_qkv
    assert not (hasattr(m, "bias") and m.bias is not None)
AssertionError

I suspected it was related to biases, so I commented out the assert checks related to biases
        for m in qkv_modules:
            assert type(m) == nn.Linear
            # assert not (hasattr(m, "bias") and m.bias is not None)
         ...
        # assert (
        #     not qkv_modules[0].bias and not qkv_modules[1].bias and not qkv_modules[2].bias
        # ), "bias is not supported yet."

and added some code.
        q_bias = qkv_modules[0].bias
        k_bias = qkv_modules[1].bias
        v_bias = qkv_modules[2].bias

Since in my model "intermediate_size": 13632,  so I can only use quantization with groupsize=64. My configuration is as follows:
{'*weight_quantizer': {'num_bits': 4, 'block_sizes': {-1: 64}, 'enable': True}, '*input_quantizer': {'enable': False}, 'default': {'enable': False}}

The quantization process went relatively smoothly.

After quantization, I built the model.
python build.py --model_dir /target/model/hf_model_v15 \
                --quant_ckpt_path /target/model/quantized_int4-awq/llama_tp1_rank0.npz \
                --dtype float16 \
                --remove_input_padding \
                --use_gpt_attention_plugin float16 \
                --enable_context_fmha \
                --use_gemm_plugin float16 \
                --use_weight_only \
                --weight_only_precision int4_awq \
                --per_group \
                --output_dir /target/model/trt_engines/int4_AWQ/1-gpu/ \
                --use_rmsnorm_plugin float16 \
                --enable_context_fmha \
                --max_batch_size 20 \
                --group_size 64

then
python3 run.py --max_output_len=90 \
--tokenizer_dir=/target/model/hf_model_v15   --engine_dir=/target/model/trt_engines/int4_AWQ/1-gpu/

but the inference results I obtained were completely meaningless.
input_ids: [1, 26349, 523, 10700, 15, 41775, 5829, 44882, 538, 1374, 492, 13542, 626, 493]
Input [Text 0]: "Born in north-east France, Soyer trained as a"
output_ids: [572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572, 572]
Output [Text 0 Beam 0]: "B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B"

I have successfully quantized my model based on AutoAWQ before, and the results looked promising.

Hello, have you solved this issue? I also encountered the same issue.

Hello, have you solved this issue? I also encountered the same issue.

I have solved this
You should modify  func load_from_awq_llama in the weight.py


Filename too long

Description
I am using clusterdock project by cloudera. I ran it fine. I later tried to docker cp a directory into the container launched. Shortly after, I received an error:
Error response from daemon: Error processing tar file(exit status 1):
...
...
... file name too long

Steps to reproduce the issue:

Create directory
docker cp directory {containerId}:.

Describe the results you received:
$ docker cp clink 2eca:.
Error response from daemon: Error processing tar file(exit status 1): open /clink/jobs/target/streams/$global/assemblyOption/$global/streams/assembly/82b354e42adbb42665af515b27b02de840e038ee_2df49b1995a6c8135f35e880f8876f7513ab872d_da39a3ee5e6b4b0d3255bfef95601890afd80709/org/scalacheck/ArbitraryArities$$anonfun$arbTuple11$1$$anonfun$apply$99$$anonfun$apply$100$$anonfun$apply$101$$anonfun$apply$102$$anonfun$apply$103$$anonfun$apply$104$$anonfun$apply$105$$anonfun$apply$106$$anonfun$apply$107$$anonfun$apply$108$$anonfun$apply$109.class: file name too long

Describe the results you expected:
Expected a bit of a wait time because the file and sub directories under the directory I was trying to cp has a large size
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 08:47:51 2017
 OS/Arch:      linux/amd64
 Experimental: true

Output of docker info:
$ docker info
Containers: 3
 Running: 0
 Paused: 0
 Stopped: 3
Images: 6
Server Version: 1.13.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 29
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.8-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 10.73 GiB
Name: moby
ID: IE7J:ATKG:7X72:VYNR:6VCX:5KGQ:KRNJ:FCU2:WMR7:2HTM:UNRT:O45E
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 18
 Goroutines: 28
 System Time: 2017-02-24T23:09:24.060543919Z
 EventsListeners: 1
Username: liondancer
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):

I'm still experiencing this bug on Docker 17.03.

Could this have the same root cause as https://github.com/docker/docker/issues/29360#issuecomment-266884524 (https://github.com/golang/go/issues/17630) ?
/cc @dmcgowan

PD:
I could copy /tmp/$(perl -e 'print "a"x242')

Should Docker revert to the copying logic used in Docker 1.12?

Actually, I just tried reproducing this, but could not reproduce;
$ docker run -dit --name test ubuntu
2fae2338834ca74d0f44e5645ff40e3a6c99dab43a040169cdf8fd50aa30383c

$ touch /tmp/$(perl -e 'print "a"x255')

$ docker cp /tmp/$(perl -e 'print "a"x255') test:.

$ docker exec test ls -l
total 64
-rw-r--r--   1 root root    0 Mar 30 20:53 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
drwxr-xr-x   2 root root 4096 Dec 13 20:24 bin
drwxr-xr-x   2 root root 4096 Apr 12  2016 boot
drwxr-xr-x   5 root root  360 Mar 30 21:02 dev
drwxr-xr-x   1 root root 4096 Mar 30 21:02 etc
drwxr-xr-x   2 root root 4096 Apr 12  2016 home
drwxr-xr-x   8 root root 4096 Sep 13  2015 lib
drwxr-xr-x   2 root root 4096 Dec 13 20:24 lib64
drwxr-xr-x   2 root root 4096 Dec 13 20:23 media
drwxr-xr-x   2 root root 4096 Dec 13 20:23 mnt
drwxr-xr-x   2 root root 4096 Dec 13 20:23 opt
dr-xr-xr-x 134 root root    0 Mar 30 21:02 proc
drwx------   2 root root 4096 Dec 13 20:24 root
drwxr-xr-x   1 root root 4096 Dec 15 17:45 run
drwxr-xr-x   1 root root 4096 Dec 15 17:45 sbin
drwxr-xr-x   2 root root 4096 Dec 13 20:23 srv
dr-xr-xr-x  13 root root    0 Mar 30 20:56 sys
drwxrwxrwt   2 root root 4096 Dec 13 20:24 tmp
drwxr-xr-x   1 root root 4096 Dec 15 17:45 usr
drwxr-xr-x   1 root root 4096 Dec 15 17:45 var

Running on
Client:
 Version:      17.03.0-ce
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 10:40:59 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      17.03.0-ce
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   3a232c8
 Built:        Tue Feb 28 07:52:04 2017
 OS/Arch:      linux/amd64
 Experimental: true

Containers: 12
 Running: 0
 Paused: 0
 Stopped: 12
Images: 514
Server Version: 17.03.0-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
Swarm: active
 NodeID: drfinwj2um6lv0pbprh0gzzfm
 Is Manager: true
 ClusterID: 1nfnet5qybgsy264nxp3of5tk
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 977c511eda0925a723debdc94d09459af49d082a
runc version: a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.12-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952 GiB
Name: moby
ID: 2C2P:6SIF:XUDN:A7BY:VSFT:74G2:G563:DGRE:3VRC:VL3Z:NY6P:BBJY
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 50
 Goroutines: 172
 System Time: 2017-03-30T21:01:03.357160974Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

What platform are you on?   I've just tested with the overlay driver provided by Ubuntu and it worked.  The problems seems to be with AUFS.

@ricardobranco777 ah, thanks for that information, that would explain the difference. I was also looking at your output, and thinking of apparmor, I recall an issue where apparmor caused issues with long paths (don't think it were filenames though).

overlay2 is not present

hm, that's odd, it should be supported on kernel 4.x kernels, does it produce an error if you manually select that driver? If possible, I would definitely recommend overlay2 over overlay, it has all the "positives" and fixes the "running out of inodes" issue

overlay2 is present.  It's just the name of the kernel driver that confused me.  I edited that part.
Is there any chance that this will get fixed on AUFS or should we all migrate to overlay2?

Overlay is definitely what we set our eyes on, would be good if we knew why it fails on aufs though; if it's the aufs kernel module, or the aufs storage driver in docker. It could still be related to https://github.com/docker/docker/issues/31353#issuecomment-284428317 (which may be fixed with Go 1.8; which we're testing, but cannot switch to yet due to some incompatible changes)

@thaJeztah Should we add the area/storage/aufs label to this issue?

You should try using the program Long Path Tool, it´s an easy fix for this kind of problem

This issue persists in Docker 17.06.0-ce despite the migration to Go 1.8.3.

The AuFS storage driver has been deprecated and has been removed from our code base (https://github.com/moby/moby/pull/45342) for the upcoming v24.0.0 release, so we're closing tickets related to AuFS


Introduce and use a basic wrapper around a process

Functionality limited to killing the process - part of refactoring away
platform specific behaviour from NinjaBuildCommand.cpp and
LaneBasedExecutionQueue.cpp
This is also the start of refactoring away the duplicate code in the two files.
I've decided to go at this incrementally. This code has been extracted from and improved from #98
This may seem overkill (75 additions vs 8 deletions) on it's own but is part of something larger, and also has a lot of license header and namespace/class boilterplate

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

Could you take a look at #133 first? Thanks.

Temporarily closing to avoid confusion. Will reopen when #133 is merged


Implement the Nekoin Token.

According to https://github.com/NekoHitDev/Ozkens/issues/1 , we need a community DAO token that can store some content.
The Nekoin token is a standard NEP-17 token with eight decimals (just like other DAO tokens, like FLM). The symbol is NEKOIN, which comes from the words "Neko" (cat in Japanese) and "Coin".
The total supply is 0 and can be mint and destroyed at any time by the contract owner. Mint will issue new tokens to the contract owner account. Destroy will remove tokens from the contract owner account. Although the mint&destroy should be determined by the rules (from whitepaper) or the community (votes), it can technically be done by the contract owner. We, the development team, also the contract owner, won't mint or destroy tokens without the community's permission. Just like you can technically hack the bank, but you won't since you know there is a law to punish you.
Besides that, we also need a way to prove someone at sometime issued a vote. So the method here is to send tx on-chain, everyone can verify the vote is published at that time with that config, then the admin (us) will sign the tx hash and submit it to the DAO website, so the backend will read info from Neo N3 chain and handle the vote off-chain. By doing so, everyone can know that the vote is not tempered during the voting process.
The Nekoin token needs to store those vote configs. And for simplicities, the contract itself won't care about the content. The backend has to resolve the content and figure out the meaning, and possibly reject the tx hash if the backend cannot read it.

For details:
Everyone can store content to the Nekoin Token. The content is indexed by it's hash, which is provided by CryptoLib.sha256(content). The content is WORM (Write Once Read Many), and assuming there is no hash collision, the same content will give the same hash, thus the same hash. So no rewrite/overwrite is needed.
If one day in the future, Neo N3 decides to have a more secured hash, like SHA3-256, we can simply add a new map that uses the new hash function, and make the existing map read-only. Like, we can call it messageV2 and remove the write method to write into old map. Thus we can still get the old data, meanwhile using the new tech.


Small amount of Block Mappings + Game Events

I did a run through Block code. I decided that since a lot of the constants were unmappable, I skipped a lot of them in the net.minecraft.block class. Then, as I went into new blocks like Skulk and such, I found that some of the GameEvent code was unmapped.
Most importantly I guess this maps GameEvent#Info, which seems to be some sort of data class that implements Comparable.
I went back to finish some block code here and there, and made sure most of the methods were mapped.

This is going to have to wait for #3137 to be merged, I guess. I like some of his mappings and requested some changes, and then I'll be able to merge my stuff by adding the rest of my own mappings


Generate SDK and compare with generated SDK

Currently there is no easy way to make sure the generated SDK in PR is actually generated from the spec repo.
Have a way to generate SDK as part of the CI and compare it with the PR generated SDK.
Work for breaking change tool

Breaking down this tasks into some deliverables I can think of:

Figure out APIs including Auth methods to query github for metadata related to an open PR

Also to make commits on behalf of a user or azuresdkci in automated workflow moving forward

Once we figure out the files modified in a PR, we need to scope the builds, This should be our iteration 1
Next step would be figuring out affected SDKs (and corresponding generate.ps1s) so we can execute them and compare files for those SDKs.
-This might involve rewriting the generate.ps1 scripts as an msbuild task instead

This should also include ability to fail a build if there are issues generating the code or if there are unexpected changes involved in the generated SDK vs SDK PR

@shahabhijeet PTAL and add points I may have missed

This is done for Track 2 SDKs. I don't think we are going to back port it into track 1.


1.19.3 Semi-incompatibility

Boosted Brightness works almost fully; however, the game will crash if you attempt to open its settings UI or any related UIs. Keybinds and modifiers for this mod do work and do still increase/decrease brightness accordingly.

I have the same problem too

https://github.com/mvilk/BoostedBrightness/releases/tag/v2.1.3

Thank you. This appears to fix the problem I had. I'm grateful for the work.

Thanks guys! Mod has been officially updated.


I have exactly the same issue as this one. Can I have a confirmation on the fix please@rizwanja Currently, there is no workaround to this. Support for device permissions on mobile is coming soon but we do not have a ETA to share.

@rizwanja Currently, there is no workaround to this. Support for device permissions on mobile is coming soon but we do not have a ETA to share.
Originally posted by @Gousia-Begum in https://github.com/MicrosoftDocs/msteams-docs/issues/1343#issuecomment-586833611

If you are looking for camera or microphone support on mobile. It is now available please have a look at this doc - https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/device-capabilities/mobile-camera-image-permissions
The sample is also available to test it out . Please have a look -
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/tab-device-permissions/nodejs
Let us know if you are looking for something else.
Thanks

Hi @HunaidHanfee-MSFT, thanks for the response. My current setup is as follows. I have a Web application developed in HTML, js and css embedded in a teams tab, which has a functionality of recording voice. The Web app is then embedded as a personal tab and given appropriate permissions as well. The tab is configured with SSO as per the MSFT documentation using teams Javascript sdk.
The whole setup works fine in teams desktop client, browsers and also in iOS mobile clients. In all above situations the permissions pop up for microphone is asked from the user as expected. The only issue I'm facing is with Android mobile app for teams, as it never pops up for permissions of microphone.
Hope the issue is now clear. Really appreciate if you can guide me here.

We will try to repro this at our end and I will let you know the findings. Meanwhile could you please try and use Microsoft teams SDK method .
microsoftTeams.media.selectMedia({ maxMediaCount: 1, mediaType: microsoftTeams.media.MediaType.Audio }, (error: microsoftTeams.SdkError, attachments: microsoftTeams.media.Media[]) => {
      // If there's any error, an alert shows the error message/code
      if (error) {
        if (error.message) {
          alert(" ErrorCode: " + error.errorCode + error.message);
        } else {
          alert(" ErrorCode: " + error.errorCode);
        }
      }

      if (attachments) {
        // taking the first attachment
        let audioResult = attachments[0];
        // setting state for preview
        setAudio("data:" + audioResult.mimeType + ";base64," + audioResult.preview)
      }
    });

Refer here-  https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/07075595edb11ad3a4de1e2b83a7f3d3675ce25d/samples/tab-device-permissions/nodejs/src/components/CaptureAudio.tsx#L22 <- The Sample is available to test Teams SDK device capabilities methods.

Hi @HunaidHanfee-MSFT, thanks for the response. Yes I have tried this code and it's working fine on android. But I have issue in retrieving blob on iOS devices. Please find the JSON.stringify result for both iOS and Android. The size on Android is shown 7. But the iOS shows 0. Due to this the blob retrieval with below code is not successful. Kindly check this issue as well and confirm.
Android JSON.stringify(attachment[0])

iOS teams app JSON.stringify(attachment[0])

Team app version : <IP_ADDRESS>1193101/1111
Code snippet used

While using the Teams sdk method for recording as per documentation we know that we can supply the mediaInput parameter maxDuration in minutes as per this documentation.
https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/microsoftteams.media.audioprops?view=msteams-client-js-latest
I have couple of questions on the sdk method.
1.I have a requirement to make maxDuration as 10 seconds is that possible?
2.The teams sdk inbuilt record now stops with a manual click on the stop button. Is it possible to programmatically stop recording? I know reaching maxDuration terminates recording, is there any way we can call the stop button on any other custom condition.
Kindly help me here with your suggestions. Thank you for the support.

We don't have any control or API to change recording status to stop. It is not possible to stop recording programmatically

Hi @HunaidHanfee-MSFT, thanks for confirming that. Can I please request your confirmation on the iOS issue. Seems like it's a bug. Kindly find the above attachments and let me know incase any additional details required. Happy to assist in troubleshooting.
Also if you can confirm on the maxDuration it would be great. Let me know if I need to follow up that on a different thread.

Hi @Wajeed-msft @v-chetsh can you please share some updates on this issue triage?

We are following up with the internal team. We will get back to you soon.
Thanks

@HunaidHanfee-MSFT,  thanks for the acknowledgement.

@joekthomas  - We have repro of the iOS issue where blob is coming as null (only for iOS) however we are able to get attachments[0].size for both iOS and Android.
We have used "@microsoft/teams-js": "^1.11.0", and tested on iOS 15.1.1 and Teams Client version - <IP_ADDRESS>1202701/1121. Can you please try checking if there's update for Microsoft Teams client on iOS?

Yes. I am getting attachment[0].size on iOS. But blob is coming as null. For that I am raising a bug and concerned team will work on it. I will let you know once it is fixed and pushed to public rings.
Thanks

@HunaidHanfee-MSFT, thanks for that confirmation. Will wait for the resolution to be available.
I think on android I have one more observation. After recording when the blob is ready from below method. I'm passing that to a function which creates an HTML audio element and by creating a object URL for the blob I place it on the player. And the player is able to playback the recorded audio fine.
audio Result.getMedia((error, blob) => {
if(blob) {
playAudio(blob) ;
}
}) ;
But the issue is on the total duration of the recorded voice. Even though I recorded only for 3 seconds the total duration on player is shown as 21:35 and this value changes for each recording. Please find the below screenshot for the reference. Seems like this is a display issue as the total duration of recorded voice is 3 seconds itself. Request your kind attention here as well to understand whether it's a bug on android.

@HunaidHanfee-MSFT, @Wajeed-msft, @v-chetsh, team i have an update on the above. Without doing any code change from my side I'm currently seeing the duration on android device in seconds than minutes before.
But intreststingly the duration is double of what I record. Also when I play back the audio it has the same recording twice without any break in between which seems like the recorder of teams sdk has an issue.
Please find the below screenshot for reference. As I'm in middle of a UAT session this has made some major challenges. Kindly request your attention ASAP. Happy to assist in the debugging process.

I would say the previous behaviour was better as it was only having a display bug in duration of recording and the recording was perfectly fine. But now it's a show stopper as if the recording itself is not working as expected.
Teams Javascript Sdk version : 1.11.0
Teams client  version (android) :

@HunaidHanfee-MSFT @Wajeed-msft @v-chetsh , on my further debugging I could confirm that this issue is due to the 10th Dec update for Teams android app. I have tested my application on the very lower version of teams android app and it works exactly same as it was till 10th December, with only the duration of recording shown on minutes even though the duration is only in seconds.
As this seems to be a global issue I would like to ring the alarms for your fast action. Kindly take this in priority.

Thanks for the letting us know. I will again check and gives you update? Can you confirm once if you have seen it only on Android or iOS as well?

Hi @HunaidHanfee-MSFT, sure the playAudio just create a audio element and embed the audio to the same. Please find the code below.

Regarding iOS recording issue : As you already mentioned we have a bug in exporting the blob. I'm not using teams sdk to record audio on iOS. Hence couldn't test the same on iOS.

@HunaidHanfee-MSFT, thanks for the response. The playAudio function just creates a html audio element and embed the audio blob in it. The code is shown below.

Regarding iOS recording: As you already mentioned we have a bug in exporting the blob data, I'm not using teams sdk for recording in iOS. Hence couldn't test the same on iOS.

Thanks for sharing the repro the steps. I am able to see that duration is wrong and raised bug for this one as well. I will keep you posted about updates.

@HunaidHanfee-MSFT, thanks for the reply. Could  you please confirm you are testing in android app version(1416/<IP_ADDRESS>1183702/1117) or the latest version ending with 1209? If you are testing in latest version I thin the bug is on aduio stream duplication as if we are able to hear the same voice 2 times.
If you are testing in version ending 1117 then you are right the duration is having a bug displaying the duration in minutes even though the actual duration is in seconds.
Sorry if I have confused you. But for me above is the experience and I hope this is a global issue.

@HunaidHanfee-MSFT, thanks for the confirmation and support provided. Hope you will revert once you have the fixes available.

Hello @joekthomas - Sorry for delay in response!!
We are actively checking the status of bug with engineering team and let you know the updates, if we have any.

Apologies team for the delay for response. I will check the same at my end
and let you know.
On Fri, 31 Mar 2023 at 7:31 PM, msftbot[bot] @.***>
wrote:

This issue has been automatically marked as stale because it has been
marked as requiring author feedback but has not had any activity for 3
days. It will be closed if no further activity occurs within 3 days of
this comment.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/msteams-docs/issues/4677#issuecomment-1491972551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACN3TRQWMML2DCDIVIJLELTW63PTLANCNFSM5IT6NT2Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


update active codes

BYR is obsolete, replaced by BYN
added SVC
added ZWL

sorry for screwing up, i've make a new PR #11


Project crashes

Downloaded project does not run properly, there are also no instructions on what has to be done to avoid it, there is not even a database diagram or script provided.

Could you be more specific about which project does not work?

Project crashes when it cannot access the database.
Ricardo Sanchez
(561) 372-9299
Date: Tue, 5 Apr 2016 13:31:34 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [projectkudu/SimpleWAWS] Project crashes (#16)
Could you be more specific about which project does not work?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Which project?  There are multiple projects in Try App Service.

The message did not specify the project.
It is simple to reproduce, you just download it into a new Windows 10 installation, unzip and try to run it.
It will then crash.
I have already removed the software from my PC and do not wish to repeat the experience.
I have IIS installed with Directory Browsing and VS 2015 with all the updates.
Ricardo Sanchez
(561) 372-9299
Date: Tue, 5 Apr 2016 15:33:44 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [projectkudu/SimpleWAWS] Project crashes (#16)
Which project?  There are multiple projects in Try App Service.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Did you download a project from GitHub, or from Try App Service?  We are not able to reproduce the issue.

I downloaded from GitHub.
I have a brand new Dell with Windows 10 professional.
Ricardo Sanchez
(561) 372-9299
Date: Tue, 5 Apr 2016 15:54:18 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [projectkudu/SimpleWAWS] Project crashes (#16)
Did you download a project from GitHub, or from Try App Service?  We are not able to reproduce the issue.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

What are you trying to accomplish?  This repo is for making contributions to Try App Service. If you want to use Try App Service instead, go to https://tryappservice.azure.com. If you're having problems with one of those downloading projects, please tell us which one is failing.

I am in the process of downloading the project again and installing it.
Your attention and support is unprecedented in my experience and I want to help.
After I run it again, I will send you a screen shot of the crash.
Ricardo Sanchez
(561) 372-9299
Date: Tue, 5 Apr 2016 16:48:38 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [projectkudu/SimpleWAWS] Project crashes (#16)
What are you trying to accomplish?  This repo is for making contributions to Try App Service. If you want to use Try App Service instead, go to https://tryappservice.azure.com. If you're having problems with one of those downloading projects, please tell us which one is failing.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

I do not have azure.
In this download from GitHub, it does not build, I get over 700 errors.
Ricardo Sanchez
(561) 372-9299
Date: Tue, 5 Apr 2016 16:48:38 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [projectkudu/SimpleWAWS] Project crashes (#16)
What are you trying to accomplish?  This repo is for making contributions to Try App Service. If you want to use Try App Service instead, go to https://tryappservice.azure.com. If you're having problems with one of those downloading projects, please tell us which one is failing.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

What are you trying to accomplish?  If you don't have Azure, you won't be able to do much with this repo. This is for adding functionality to Try App Service on Azure.

I missed that objective, I thought it was an MVC example.
Ricardo Sanchez
(561) 372-9299
Date: Tue, 5 Apr 2016 18:27:34 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS>Subject: Re: [projectkudu/SimpleWAWS] Project crashes (#16)
What are you trying to accomplish?  If you don't have Azure, you won't be able to do much with this repo. This is for adding functionality to Try App Service on Azure.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Yes, it's the engine behind Try App Service, as noted in the description. You are probably missing the Azure SDK and that's why you're getting build errors. We'll close this issue.


Modified dates

Description
Aligning the recommendations on use of modified dates, and additional improvements to the pages:
/using-the-api/optimizing-api-calls
/using-the-api/modified-dates
Type of change
Please delete options that are not relevant.

[X] New document(s)/updating existing
[ ] Fixes
[ ] Styling
[ ] Bug fix (non-breaking change which fixes an issue)

Good to check the OAS descriptions for the dates stuff too

Already done 🙃


Ubuntu16 apache

Adding a few lines to Ubuntu 16 instructions to make sure that, PHP is enabled with Apache

#318

Coverage increased (+24.6%) to 55.534% when pulling d66980325833fece1e38966146f1fe2f07de9261 on ulvii:Ubuntu16Apache into f2a4adb45d40c43fc35720d318c71277b4a8a106 on Microsoft:dev.


Export logs already named and zipped

Which feature is your request related to?
Exporting logs.
Describe the solution you'd like:
Exporting logs right now needs me to save three files, name and zip them. I would rather like to save an already zipped file once. This zip contains all three log files already named accordingly:
Defi Wallet App Logs.zip:

App Config.conf
App Logs.log
Binary Logs.log

Describe alternatives you've considered:
On user request, write all three log files into one file and upload it to some cloud storage. After upload, show a URL to this log file. This URL can be used to share this log file to anyone of need much easier instead of sharing a zip file.
Additional context:
I have created a github issue for a bug and you asked me to provide the app logs in a zipped format. It was a bit cumbersome to get these files, a workflow I think could be done much simpler for the user.

Hi @romainhaenni , thanks for you feedback, posting non-bug related issues here will eventually turn stale. You may publish your idea on DeFiChain Discussions, garner some support from the community, and the team can decide whether to implement the feature in the future. Thank you!


Angular error

Getting following error after Ubuntu-14.04 installation. Looks like some basic Angular installation bug. Any clue how to solve?
Uncaught ReferenceError: angular is not defined
at config.js:25
at config.js:36
(anonymous) @ config.js:25
(anonymous) @ config.js:36
init.js:5 Uncaught ReferenceError: angular is not defined
at init.js:5
at init.js:54
(anonymous) @ init.js:5
(anonymous) @ init.js:54
config.js:18 Uncaught ReferenceError: angular is not defined
at Object.registerModule (config.js:18)
at articles.client.module.js:4
at articles.client.module.js:9
registerModule @ config.js:18
(anonymous) @ articles.client.module.js:4
(anonymous) @ articles.client.module.js:9
config.js:18 Uncaught ReferenceError: angular is not defined
at Object.registerModule (config.js:18)
at chat.client.module.js:4
at chat.client.module.js:6
registerModule @ config.js:18
(anonymous) @ chat.client.module.js:4
(anonymous) @ chat.client.module.js:6
config.js:18 Uncaught ReferenceError: angular is not defined
at Object.registerModule (config.js:18)
at core.client.module.js:4
at core.client.module.js:8
registerModule @ config.js:18
(anonymous) @ core.client.module.js:4
(anonymous) @ core.client.module.js:8

RESOLVED....
bower install was not started by NPM install process.. Refer documentation:
Finally, when the install process is over, npm will initiate........
After I did bower install, thinks worked..

I am getting the same problem but this only happens when i upload the app to github and then if i want to test it by cloning it and running grunt, i get this problem?


gradle init should not create buildSrc but use included build logic builds

From what I understand, buildSrc is discouraged for new projects, since it has a number of disadvantages, maybe the biggest being that any change in it will force a full rebuild.
Because of this, the init task should be re-written to:

no longer create buildSrc
create build plugins instead (maybe put each build plugin inside a build-plugins directory)
reference the build plugins from the settings file using includeBuild

Doing this is particularly important since builds created by gradle init are probably considered "best-practice" by people unfamiliar with Gradle.

Thanks for opening this issue @cvmocanu. We are already working towards this and will track progress here.
Other things to consider (taken from #14044):

Update all documentation to refer to buildSrc as an included build
Remove "bad practices" from documentation such as referring to classes from buildSrc without applying a plugin
Document discouraged practices or behavior we will want to deprecate
Add/update documentation around using included builds for shared build logic

Need to have at least one sample where build logic is shared between buildSrc and root build

I would like to see this change soonish. In particular to guide new users into the best direction.
I am happy to provide a PR if this change is desired.

@jjohannes that would be great! Note that the init plugin now has a flag/question about using incubating features. As a first step this change should be behind this flag with the intention to make it the default eventually.

@eskatos thanks for the feedback. Here is a PR #21192.

One setup that I really like is to have an included build for build logic under $PROJECT_ROOT/gradle/plugins, that has two main benefits:

less Gradle related stuff at the root
clarity with regards to the role of the included build

Thank you @jjohannes for your contribution in https://github.com/gradle/gradle/pull/21192!
It'll ship with Gradle 7.6

I've just read about this in the release notes, but I'm wondering that the documentation still states:

We recommend putting source code and tests for the convention plugins in the special buildSrc directory in the root directory of the project. For more information about buildSrc, consult Using buildSrc to organize build logic.

Since this issue was opened already in 2020 and @cvmocanu wrote "buildSrc is discouraged for new projects", am I missing something?


Use new updated format for .well-known.

Also limit the scope extension to /pwa for jahn00's pwa

LGTM.


Error

2023-10-30T03:07:41.494014Z  INFO wstunnel::tunnel::server: Accepting connection
thread 'tokio-runtime-worker' panicked at /cargo/git/checkouts/fastwebsockets-0824f4774dd6468b/c4c0782/src/lib.rs:688:58:
called Result::unwrap() on an Err value: TryFromSliceError(())
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Aborted
https://pic.ziyuan.wang/2023/10/30/guest_33837ef55b9cc.png

https://pic.ziyuan.wang/2023/10/30/guest_d30669b3b7e0d.png

It is the same issue than https://github.com/erebe/wstunnel/issues/175 I suppose.
Can you confirm that you are running on ARM64 ?

https://github.com/erebe/wstunnel/issues/175#issuecomment-1785027922