How to SEO Angular Starter

I used angular2-webpack-starter for my project.
Main functions have been completed. Website can not SEO Google & Share Facebook OpenGraph.
I used Google chrome View page source
...
... // data not found
....
I have watched and tested some angular SEO tutorial 2 but failed
Who has SEO success with angular2-webpack-starter please guide me
Thank you

For SEO you need to use Server Side Rendering. It can be implemented but yet not implemented.
I have done in past but currently I don't have access to code. I created 2 webpack file to one create server build and another to create client side build.
for development we used existing webpack file.

@govi2010 Neither am I, that's why I thought I could learn something from it 😄

@gdi2290  Thank you for invitation.

@govi2010 Just FYI, even if you cannot push directly to some repo on github, you can always fork the repo, make the change and the create a pull request from your fork into the main repo.
Sorry for offtopic.

@lanovoy  I will keep that in mind.

Hi
Any updates there?

@kitolog  I need basic idea what is needed. I am ready to implement as I know angular and webpack.
But I need requirements what should be included and what not.

@Farqual  I will check your repository tomorrow.

@govi2010 Thanks a lot, I will keep you updated if I make some progress on this !

Hello guys, I will be waiting for this feature.

The simpliest and fastest way for me, was migrate all app sources to the Angular CLI, Angular 6 and integrate Angular Universal.
On the real and ready app it takes 1 - 2 days

@kitolog me too. Conforming to Cli was the work, but letting it do all the magic was the best solution for us. The results are way better than I had hoped.  Something like
ng update all
will update Angular, Material, and rxjs and I don't need to worry about any configuration files for production.
We have a dozen domains sharing an api backend and a library for common code for the domains. I didn't expect Cli to be able to handle this complexity, but it is simple and the results amazing.
I have not yet integrated Universal.

Any updates?

Okay so, after a few days trying to get Angular Universal working without using Angular CLI, I didn't succeed building a working server app with Webpack, so here is the simpliest solution I found (my app was based on this angular-starter) :

I installed this package : https://github.com/meltedspark/angular-builders/tree/master/packages/custom-webpack
Created a simple angular.json, which I used only to build the server part, because I wanted to keep building the browser part with my Webpack config, without Angular CLI.
Created a specific Webpack config file for server part (to extend the Angular CLI webpack config with the custom webpack angular builder).
Then you will juste have to add these lines in your package.json :

"build:client-and-server-bundles": "npm run build:aot:prod && ng run patrivia:server --configuration=prod",
"webpack:server": "webpack --config config/webpack.server.config.js --progress --colors",
"build:ssr": "npm run build:client-and-server-bundles && npm run webpack:server",
"serve:ssr": "node dist/server",

Start with npm run build:ssr && npm run serve:ssr

Here is my angular.json :
{
  "$schema"<EMAIL_ADDRESS>  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "your-app": {
      "root": "",
      "projectType": "application",
      "architect": {
        "server": {
          "builder": "@angular-builders/custom-webpack:server",
          "options": {
            "customWebpackConfig": {
              "path": "config/webpack.server-bundle.config.js",
              "mergeStrategies": { "loaders": "replace" },
              "replaceDuplicatePlugins": true
            },
            "outputPath": "dist/server",
            "main": "src/main.server.ts",
            "tsConfig": "tsconfig.server.json"
          },
          "configurations": {
            "prod": {
              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ],
            }
          }
        }
      }
    }
  },
  "cli": {},
  "schematics": {
    "@schematics/angular:component": {
      "prefix": "app",
      "styleext": "scss"
    },
    "@schematics/angular:directive": {
      "prefix": "app"
    }
  }
}

This is working perfectly, and easy to set up, you have only two files to create in this starter : angular.json and webpack.server-bundle.config.js and one package to npm install (and the usual server.ts and webpack config file to compile it + Angular Universal classic configuration).
Will post a repo with a working example based on angular-starter if some people wants it.
However, I'm still interested if someone finds a solution only with Webpack, without Angular CLI.

Any update guys?

Hi Guys, this is an issue for me too, do you have any news? thanks!

Hi @Farqual Do you have a repo with full solution coded?

Hi @govi2010 any update on this?


Unable to run the stream with pipeline after installing opencv with cuda

pipeless start --stages-dir .
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] ⚙  Loading stages from .
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] ⏳ Loading stage 'yolo' from ./yolo
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/README.md
[2024-10-03T11:13:51Z WARN  pipeless_ai::stages::parser] File README.md not loaded as a hook. Unsupported hook extension.
[2024-10-03T11:13:51Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/init.py
PRO TIP 💡 Replace 'model=yolov5n.pt' with new 'model=yolov5nu.pt'.
YOLOv5 'u' models are trained with https://github.com/ultralytics/ultralytics and feature improved performance vs standard YOLOv5 models trained with https://github.com/ultralytics/yolov5.

[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/process.py
[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Creating stateless hook for yolo-process
[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Loading hook from ./yolo/post-process.py
[2024-10-03T11:13:52Z INFO  pipeless_ai::stages::parser] Creating stateless hook for yolo-post_process
[2024-10-03T11:13:52Z WARN  pipeless_ai::stages::parser]
                    ⚠  Ignoring file at stages root because it does not belong to any stage: ./yolov5nu.pt.
                      Hint: Move it to a stage folder if this is not intentional

[2024-10-03T11:13:52Z INFO  pipeless_ai::config::adapters::rest] REST adapter running
[2024-10-03T11:13:52Z INFO  warp::server] Server::run; addr=<IP_ADDRESS>:3030
[2024-10-03T11:13:52Z INFO  warp::server] listening on http://<IP_ADDRESS>:3030
[2024-10-03T11:13:59Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-10-03T11:13:59Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-10-03T11:14:01Z INFO  pipeless_ai::input::pipeline] Using SystemMemory
[2024-10-03T11:14:01Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element qtdemux0.
                    Pipeline id: aaad993c-0f9d-4604-b093-7e4edd391834. Error: Internal data stream error.
[2024-10-03T11:14:01Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: aaad993c-0f9d-4604-b093-7e4edd391834 due to input stream error: Internal data stream error.
[2024-10-03T11:14:01Z INFO  pipeless_ai::events] Stream loop stopped
[2024-10-03T11:14:01Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-10-03T11:15:11Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-10-03T11:15:11Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-10-03T11:15:11Z INFO  pipeless_ai::input::pipeline] Using SystemMemory
[2024-10-03T11:15:11Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element qtdemux1.
                    Pipeline id: 03f7bbf2-676d-486a-9425-2b974f1fa358. Error: Internal data stream error.
[2024-10-03T11:15:11Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 03f7bbf2-676d-486a-9425-2b974f1fa358 due to input stream error: Internal data stream error.
[2024-10-03T11:15:11Z INFO  pipeless_ai::events] Stream loop stopped
[2024-10-03T11:15:11Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-10-03T11:15:56Z WARN  pipeless_ai::config::adapters::rest] Restart policy not specified for stream, defaulting to 'never'
[2024-10-03T11:15:56Z INFO  pipeless_ai::dispatcher] New stream entry detected, creating pipeline
[2024-10-03T11:15:56Z INFO  pipeless_ai::input::pipeline] Using SystemMemory
[2024-10-03T11:15:56Z ERROR pipeless_ai::input::pipeline] Error in input gst pipeline from element qtdemux2.
                    Pipeline id: 304ca0f2-54e1-4a9b-b814-de9a22d1c95d. Error: Internal data stream error.
[2024-10-03T11:15:56Z ERROR pipeless_ai::pipeline] Stopping stream for pipeline: 304ca0f2-54e1-4a9b-b814-de9a22d1c95d due to input stream error: Internal data stream error.
[2024-10-03T11:15:56Z INFO  pipeless_ai::dispatcher] Stream config entry removed. Stopping associated pipeline
[2024-10-03T11:15:56Z INFO  pipeless_ai::events] Stream loop stopped

Run with GST_DEBUG=4 to see what's the actual error

gst_debug4.txt
Here is the log file attached when run on GST_DEBUG=4


feat: formalize scripts creations (formerly commands)

PR Checklist

[x] Addresses an existing open issue: fixes #000
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Fills in merging and running of scripts creations, formerly known as commands. These objects contain commands: string[] as well as a phase: number that indicates when to start executing those commands in order relative to other scripts.
💖

Oops, this fixed #22.


Add a generator to init a new project

I can build a generator for you.

I need to finish it

Do you want some help?

Thanks my friend, but I need to do this to learn it... hahaha

Sure. Good luck buddy!


Add support for G4 Share over BLE

This has been working well for me for the last several days.

To build, you'll need to run carthage bootstrap. When I did that to bring in the new dependency, it resulted in diffs for every included framework. I don't really understand why. Should I commit what Carthage produced for me, or let you do that?

Would also appreciate any feedback you have on xDripG4Share.

Sorry, meant to open this against dev.


Introduce transformation functionality to AptObject.

New values

float Rotation gets or sets the current rotation of the object.
Vector2 Up gets the vector representing the up direction of the object after taking its rotation into consideration.
Vector2 Left gets the vector representing the left direction of the object after taking its rotation into consideration.
Vector2 Right gets the vector representing the right direction of the object after taking its rotation into consideration.
Vector2 Down gets the vector representing the down direction of the object after taking its rotation into consideration.

New functionality

AptObject.Translate(vector2) translates the object in a direction relative to its rotation.
AptObject.Rotate(float) rotates the object by the value given.

Since there is functionality here that doesn't necessarily apply to the concept of an AptObject, we're segregating transform functionality to its own class Transform which will be instantiated by AptObject..

Functionality implemented in commits https://github.com/PhoenixGameDevelopmentTeam/AptitudeEngine/commit/4ffddb3771fd49de2ca875e9383974f752d396f6 and https://github.com/PhoenixGameDevelopmentTeam/AptitudeEngine/commit/07f82e303dc9305d82b8368647d1298cefb83a7b.


[Feature] Support epsilon / tolerance for float values in unit test expected values.

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
When writing expected values in unit tests, some values I'd like to validate are floats. Like other test frameworks, I'd like to have the option to allow some wiggle room with float comparison.
Describe alternatives you've considered
It seems like I can put the full printed precision in my expected values (ex: 0.0005137135810924898), however this is verbose, I think it will be brittle, and also doesn't really represent what I want to require of the output.
Who will this benefit?
Anyone using unit tests and processing numeric data.
Are you interested in contributing this feature?
No response
Anything else?
This could be similar to pytest.approx or the rtol and atol arguments to pandas.testing.assert_frame_equal.

Thanks for reaching out about this @markfickett ! 💡
As you saw, dbt unit tests only support strict equality. We don't have any current plans to expand this to other types of assertions, so you'd need to continue to use one of the alternatives you mentioned.
If we did expand this beyond strict equality, it would be basically like being able to add multiple data tests to the actual output of the unit test rather than just a single expected output. A YAML spec incorporating a data test option might look something like this:
unit_tests:
  - name: test_is_valid_email_address
    given:
      - input: ref('top_level_email_domains')
        rows:
          - {tld: example.com}
          - {tld: gmail.com}
    model:
      - name: dim_customers
        data_tests:
          - dbt_expectations.expect_table_row_count_to_equal
            value: 2
        columns:
          - name: email
            data_tests:
              - not_null
              - dbt_expectations.expect_column_values_to_match_regex:
                regex: "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"

But since we do not have any current plans to do something like that, I'm going to close this as "not planned".

We're having floating point errors even when using numeric. Specifying the number of 0 still triggers as failed. Is there a way to do it besides rounding the output of the model?
actual differs from expected:

@@,_surrogate_key,resultat
→ ,deadbeef      ,300.0→300.00000000000000000000

@polmonso which dbt adapter are you using?
Do you happen to know the exact data type, precision, and scale that your model is writing to the database for the resultat column?

Postgres
We're using unconstrained numeric as a type. I presume we'll have to explicitly state the precision and scale for the unit test comparison to work, since it can't know beforehand how many digits are required.

This issue makes DBT unit tests useless for any table/column with floats. It's important to have a solution here! (We're on bigquery fwiw)

@jasonkb or @mchonofsky do either of you have a simple example that highlights this in BigQuery?
I tried the following files, and it it worked for me:
models/my_model.sql
select 1 as id, avg(x) as score
from unnest([
    cast(0.7 as float64),
    cast(0.75 as float64)
]) as x

models/_unit_tests.yml
unit_tests:
  - name: dbt_core_10470
    model: my_model
    given: []
    expect:
      rows:
          - {score: 0.725}

Run this command:
dbt build -s models/my_model.sql

Got this output:
$ dbt build -s models/my_model.sql
01:37:50  Running with dbt=1.8.6
01:37:51  Registered adapter: bigquery=1.8.2
01:37:52  Found 1 model, 473 macros, 1 unit test
01:37:52
01:38:16  Concurrency: 10 threads (target='dev')
01:38:16
01:38:16  1 of 2 START unit_test my_model::dbt_core_10470 ................................ [RUN]
01:38:22  1 of 2 PASS my_model::dbt_core_10470 ........................................... [PASS in 5.82s]
01:38:22  2 of 2 START sql view model dbt_dbeatty.my_model ............................... [RUN]
01:38:23  2 of 2 OK created sql view model dbt_dbeatty.my_model .......................... [CREATE VIEW (0 processed) in 1.85s]
01:38:23
01:38:23  Finished running 1 unit test, 1 view model in 0 hours 0 minutes and 31.81 seconds (31.81s).
01:38:24
01:38:24  Completed successfully
01:38:24
01:38:24  Done. PASS=2 WARN=0 ERROR=0 SKIP=0 TOTAL=2

@polmonso I see what you are saying about unconstrained numeric in Postgres.
If I use the following files, I get the "actual differs from expected" like you did:
models/my_model.sql
with

numbers as (

    select cast(0.7 as numeric) as x union all
    select cast(0.75 as numeric) as x

)

select avg(x) as score
from numbers

models/_unit_tests.yml
unit_tests:
  - name: dbt_core_10470
    model: my_model
    given: []
    expect:
      rows:
          - {score: 0.725}

But if I change the unit test to the following, then it works (note the quotes that treat it as a string!):
unit_tests:
  - name: dbt_core_10470
    model: my_model
    given: []
    expect:
      rows:
          - {score: "0.72500000000000000000"}

Hey @dbeatty10 that's pretty close to what I would try to construct were I to try to give you some sample code. For me some of the frustration is that it happens stochastically and I can't always get it to fail. But it looks like https://github.com/dbt-labs/dbt-core/issues/9884 will resolve the issue! Is that your read? I'll poke around in our bigquery instance/dbt repo and see if I can get you some sample code that reliably fails for me.

Initially, I thought https://github.com/dbt-labs/dbt-core/issues/9884 would resolve this too! But I think was just a replacement for https://github.com/dbt-labs/dbt-core/issues/9627. The issue there was that an alpha version of our implementation would truncate numeric values before comparison.
Totally understand the frustration related to the stochastic behavior. Searching for the word "deterministic" in the BigQuery docs relating to float here and here describes a couple caveats. Do you think that could be related?

@dbeatty10 -  Running into this too and it's really frustrating.  I'm migrating all of my dbt_unit_testing tests to native dbt unit tests because I'm running into other problems with overriding ref and I don't expect that library will continue to be maintained long term given native dbt support.
The dbt_unit_testing package has an option to do column transformations prior to comparison and something like that would be very useful to have here.
Please reconsider the "won't fix".


v3.0.0-rc7 cherry-pick

[ ] surj-bains: docs: add polarpoint.io (#5387) 4c4cbd2e
[ ] Shoubhik Bose: docs: Update code of conduct (#5404) 26eb8a95
[ ] Yuan Tang: feat: Allow transient errors in StopWorkflow() (#5396) b24aaeaf
[ ] dinever: fix(controller): Fixed wrong error message (#5390) 1ec7ac0f
[ ] Stephan van Maris: fix(ui): typo (#5391) 4b7e3513
[x] Saravanan Balasubramanian: fix(test): TestWorkflowTemplateRefWithShutdownAndSuspend flaky (#5381) 982e5e9d
[ ] Simon Behar: feat(controller): Add failFast flag to DAG and Step templates (#5315) 57c05dfa
[x] Alex Collins: fix(executor): Kill injected sidecars. Fixes #5337 (#5345) fcb09899
[ ] Stephan van Maris: feat: Add helper functions to expr when parsing metadata. Fixes #5351 (#5374) 1f7cf1e3
[x] Alex Collins: fix(controller): Fix podSpecPatch (#5360) d828717c
[X] Simon Behar: fix: Fix S3 file loading (#5353) 2d331f3a
[x] Alex Collins: fix(executor): Make docker executor more robust. (#5363) 9faae18a
[x] Yuan Tang: fix(executor): Fix resource patch when not providing flags. Fixes #5310 (#5311) e0f71f3a
[ ] Alex Collins: fix(controller): Correctly log pods/exec call (#5359) 94e155b0
[ ] Simon Behar: docs: Add data doc to website (#5358) 2320bdc7
[ ] Alex Collins: fix(ui): Fix container-set log viewing in UI (#5348) 80b5ab9b
[ ] Simon Behar: fix: More Makefile fixes (#5347) bde9f217
[ ] Alex Collins: test: Make tests more robust, again (#5346) 36f672fc
[ ] Alex Collins: docs: Add @terrytangyuan as reviewer (#5191) 93e4d4fe
[ ] dherman: docs: copy information about what is argo to the docs landing page (#5336) a7903879
[ ] Simon Behar: fix: Ensure release images are 'clean' (#5344) 849a5f9a
[ ] Simon Behar: fix: Ensure DEV_BRANCH is correct (#5343) 23b8c031
[ ] Alex Collins: ci: Fix argoexec build (#5335) ad7653b4
[ ] Alex Collins: ci: Github actions refactor (#5280) 814944cb
[ ] Alex Collins: fix(executor): Fix container set bugs (#5317) ba949c3a
[ ] Yuan Tang: feat: Support structured JSON logging for controller, executor, and server (#5158) 9d2e9615
[x] Saravanan Balasubramanian: fix(test): Flaky TestWorkflowShutdownStrategy  (#5331) 7fc1f2f2

Hey! I am just wondering if there is a time frame for an official v3.0 release? ;)

Perhaps cherry pick this one since it's a regression? (patch without flags will not work)
fix(executor): Fix resource patch when not providing flags. Fixes #5310 (#5311) e0f71f3

Consider cherry-picking this one since it's a regression?

Done

Hey! I am just wondering if there is a time frame for an official/stable v3.0 release? ;)

I believe we want to do one or two more RCs, which means GA should be in two to three weeks

Can we add #5212?

Released


Change structure to conform to PyTorch skel

Done. If any problems appear, we'll refer to them in a separate issue.


auto correct shows at left top at iPad

Steps to Reproduce
I checked in iPad(iOS) emulator.

change device lang to "japan"
select keyboard "日本語（かな）"
input "きょう"(in english "kyou") in textfield
auto correct show at left top possition

Target Platform:
iOS
Target OS version/browser:
iOS 13.3
Devices:
iPad Pro(12.9-inch)(3rd generation)
Logs
I paste capture here

 flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale ja-JP)
  • Flutter version 1.12.13+hotfix.5 at /Users/user/Desktop/development/flutter
  • Framework revision 27321ebbad (4 weeks ago), 2019-12-10 18:15:01 -0800
  • Engine revision 2994f7e1e6
  • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
  • Android SDK at /Users/user/Library/Android/sdk
  • Android NDK location not configured (optional; useful for native profiling support)
  • Platform android-29, build-tools 29.0.2
  • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
  • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
  • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
  • Xcode at /Applications/Xcode.app/Contents/Developer
  • Xcode 11.3, Build version 11C29
  • CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
  • Android Studio at /Applications/Android Studio.app/Contents
  • Flutter plugin version 42.1.1
  • Dart plugin version 191.8593
  • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[!] Connected device
  ! No devices available

This is what it is supposed to look like:

For the record I think it's part of the IME interface rather than autocorrection. It seems in this particular case we can't just return CGRectZeroin func firstRect(for range: UITextRange) -> CGRect .

Is there something update about this?

Duplicate of #9344.


[BUG] 定时任务启动报错

PHP Fatal error:  Declaration of Hyperf\Crontab\Process\CrontabDispatcherProcess::isEnable($server): bool must be compatible with Hyperf\Process\AbstractProcess::isEnable(): bool
Darwin MacBook-Pro.local 19.5.0 Darwin Kernel Version 19.5.0: Thu Apr 30 18:25:59 PDT 2020; root:xnu-6153.121.1~7/RELEASE_X86_64 x86_64
PHP 7.2.30 (cli) (built: Apr 29 2020 17:04:43) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.30, Copyright (c) 1999-2018, by Zend Technologies
hyperf/amqp                          v1.1.32  A amqplib for hyperf.
hyperf/cache                         v1.1.30  A cache component for hyperf.
hyperf/command                       v1.1.32  Command for hyperf
hyperf/config                        v1.1.26  An independent component that provides configuration container.
hyperf/constants                     v1.1.26  A constants component for hyperf.
hyperf/contract                      v1.1.32  The contracts of Hyperf.
hyperf/crontab                       v2.0.0   A crontab component for Hyperf.
hyperf/database                      v1.1.32  A flexible database library.
hyperf/db-connection                 v1.1.26  A hyperf db connection handler for hyperf/database.
hyperf/devtool                       v1.1.31  A Devtool for Hyperf.
hyperf/di                            v1.1.28  A DI for Hyperf.
hyperf/dispatcher                    v1.1.26  A HTTP Server for Hyperf.
hyperf/event                         v1.1.26  an event manager that implements PSR-14.
hyperf/exception-handler             v1.1.31  Exception handler for hyperf
hyperf/framework                     v1.1.27  A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                        v1.1.26  Swoole coroutine handler for guzzle
hyperf/http-message                  v1.1.26  microservice framework base on swoole
hyperf/http-server                   v1.1.29  A HTTP Server for Hyperf.
hyperf/json-rpc                      v1.1.30  A JSON RPC component for Hyperf RPC Server or Client.
hyperf/load-balancer                 v1.1.26  A load balancer library for Hyperf.
hyperf/logger                        v1.1.26  A logger component for hyperf.
hyperf/memory                        v1.1.26  An independent component that use to operate and manage memory.
hyperf/model-cache                   v1.1.28  A model cache component for hyperf.
hyperf/model-listener                v1.1.26  A model listener for Hyperf.
hyperf/paginator                     v1.1.26  A paginator component for hyperf.
hyperf/pool                          v1.1.32  An independent universal connection pool component.
hyperf/process                       v1.1.26  A process component for hyperf.
hyperf/redis                         v1.1.26  A redis component for hyperf.
hyperf/rpc                           v1.1.26  A rpc basic library for Hyperf.
hyperf/rpc-client                    v1.1.28  An abstract rpc server component for Hyperf.
hyperf/rpc-server                    v1.1.26  An abstract rpc server component for Hyperf.
hyperf/server                        v1.1.32  A base server library for Hyperf.
hyperf/snowflake                     v1.1.26  A snowflake library
hyperf/testing                       v1.1.28  Testing for hyperf
hyperf/utils                         v1.1.31  A tools package that could help developer solved the problem quickly.
swoole
Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 4.5.1
Built => May 12 2020 17:17:20
coroutine => enabled
kqueue => enabled
rwlock => enabled
pcre => enabled
zlib => 1.2.11
brotli => E16777223/D16777223
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 262144 => 262144
Description:
启动server报错
CrontabDispatcherProcess  isEnable方法实现
public function isEnable($server): bool
{
return $server instanceof Server && $this->config->get('crontab.enable', false);
}
AbstractProcess
public function isEnable(): bool
{
return true;
}
尝试删掉CrontabDispatcherProcess::isEnable 中的$server instanceof Server && 语句可以正常启动
Steps To Reproduce:
1.composer require hyperf/crontab 后
2.在 config/autoload/processes.php 内注册
3.通过注解配置
/**

Class BusinessRankTask
@package App\Core\Task
@Crontab(name="BusinessRank", rule="*/5 * * * * *", callback="execute")
*/
class BusinessRankTask
{
public function execute() {
echo "1";
}
}
4.启动报错

https://github.com/hyperf/crontab/issues/2


Branch sort

Sort commands and respective parsers
Haven't tested sorttechnicians and sortappointments
close #67

Codecov Report
Patch coverage: 3.50% and project coverage change: -1.28 :warning:

Comparison is base (417e1e5) 33.06% compared to head (6c4b538) 31.78%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #92      +/-   ##
============================================
- Coverage     33.06%   31.78%   -1.28%
  Complexity      503      503
============================================
  Files           175      185      +10
  Lines          3711     3876     +165
  Branches        372      392      +20
============================================
+ Hits           1227     1232       +5
- Misses         2427     2587     +160
  Partials         57       57

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/logic/LogicManager.java
47.05% <0.00%> (-2.95%)
:arrow_down:

...ddress/logic/commands/SortAppointmentsCommand.java
0.00% <0.00%> (ø)

...u/address/logic/commands/SortCustomersCommand.java
0.00% <0.00%> (ø)

...du/address/logic/commands/SortServicesCommand.java
0.00% <0.00%> (ø)

...address/logic/commands/SortTechniciansCommand.java
0.00% <0.00%> (ø)

...du/address/logic/commands/SortVehiclesCommand.java
0.00% <0.00%> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
34.78% <0.00%> (-4.25%)
:arrow_down:

...ss/logic/parser/SortAppointmentsCommandParser.java
0.00% <0.00%> (ø)

...dress/logic/parser/SortCustomersCommandParser.java
0.00% <0.00%> (ø)

...ddress/logic/parser/SortServicesCommandParser.java
0.00% <0.00%> (ø)

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[PCL] x64 windows build failure

Host Environment

OS: Windows 10 x64
Compiler: VS2019

To Reproduce
Steps to reproduce the behavior:
./vcpkg install pcl[tools,vtk]
Failure logs
Computing installation plan...
The following packages will be built and installed:
pcl[core,tools,vtk]:x64-windows -> 1.12.0
Detecting compiler hash for triplet x64-windows...
Restored 0 packages from C:\Users\olambert.RDVISION\AppData\Local\vcpkg\archives in 759.4 us. Use --debug to see more details.
Starting package 1/1: pcl:x64-windows
Building package pcl[core,tools,vtk]:x64-windows...
-- Downloading https://github.com/PointCloudLibrary/pcl/archive/f36a69a5e89953708990c4669317f989d532cf08.tar.gz -> PointCloudLibrary-pcl-f36a69a5e89953708990c4669317f989d532cf08.tar.gz...
-- Extracting source F:/Commun/VisualTools/vcpkg/downloads/PointCloudLibrary-pcl-f36a69a5e89953708990c4669317f989d532cf08.tar.gz
-- Applying patch add-gcc-version-check.patch
-- Applying patch fix-check-sse.patch
-- Applying patch fix-find-qhull.patch
-- Applying patch fix-numeric-literals-flag.patch
-- Applying patch pcl_config.patch
-- Applying patch pcl_utils.patch
-- Applying patch remove-broken-targets.patch
-- Applying patch fix-cmake_find_library_suffixes.patch
-- Using source at F:/Commun/VisualTools/vcpkg/buildtrees/pcl/src/89d532cf08-fd49a85837.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
CMake Warning at installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:485 (message):
The following variables are not used in CMakeLists.txt:
  PCL_BUILD_WITH_FLANN_DYNAMIC_LINKING_WIN32

Please recheck them and remove the unnecessary options from the
vcpkg_cmake_configure call.
If these options should still be passed for whatever reason, please use the
MAYBE_UNUSED_VARIABLES argument.
Call Stack (most recent call first):
ports/pcl/portfile.cmake:42 (vcpkg_cmake_configure)
scripts/ports.cmake:142 (include)
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:155 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j5
Working Directory: F:/Commun/VisualTools/vcpkg/buildtrees/pcl/x64-windows-dbg
See logs for more information:
F:\Commun\VisualTools\vcpkg\buildtrees\pcl\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:102 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:41 (vcpkg_cmake_build)
ports/pcl/portfile.cmake:60 (vcpkg_cmake_install)
scripts/ports.cmake:142 (include)
Error: Building package pcl:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with git pull and .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
package: pcl[core,tools,vtk]:x64-windows -> 1.12.0
vcpkg version: 1a5075baf 2021-11-17 (2 hours ago)
vcpkg-tool version: 2021-11-15-ec76affcc987efbf172b7da0b05df711b48fa535
Additionally, attach any relevant sections from the log files above.
-Please attach any additional failure logs mentioned in the console output
install-x64-windows-dbg-out.log
.

@Zoylamb ,Thanks for posting this issue,Duplicate of #19561 ,we track in issue #19561,Temporarily close this issue

@JonLiu1993
I don't get why is duplicate of https://github.com/microsoft/vcpkg/issues/19561
My error is about OpenMP error...
Last error in log :
F:\Commun\VisualTools\vcpkg\buildtrees\pcl\src\89d532cf08-fd49a85837.clean\io\src\real_sense_2_grabber.cpp(294): error C3016: 'index': index variable in OpenMP 'for' statement must have signed integral type
F:\Commun\VisualTools\vcpkg\buildtrees\pcl\src\89d532cf08-fd49a85837.clean\io\src\real_sense_2_grabber.cpp(229): note: see reference to function template instantiation 'std::shared_ptr<pcl::PointCloudpcl::PointXYZ> pcl::RealSense2Grabber::convertRealsensePointsToPointCloud<pcl::PointXYZ,pcl::RealSense2Grabber::convertDepthToPointXYZ::<lambda_5504f3ee7daf55e4dbb7b522799496b7>>(const rs2::points &,Functor)' being compiled
with
[
Functor=pcl::RealSense2Grabber::convertDepthToPointXYZ::<lambda_5504f3ee7daf55e4dbb7b522799496b7>
]

@Zoylamb ,Sorry for my mistake, I reopen the issue, I will investigate in depth

@Zoylamb ,I investigated this errorC3016 and issue#19561 the same error,
https://github.com/microsoft/vcpkg/issues/21219#issuecomment-962376818


Deprecation removal only Brave v5

I suggest we start Brave 5 as a "long term release", which breaks code that depends on deprecated methods. Most importantly, this deletes Span.remoteEndpoint(zipkin.Endpoint), and Tracing.Builder.reporter(zipkin.reporter.Reporter). So, the major bump alerts people we are breaking code, but only deprecated code. In other words, this is not a complete redo, such as 4.x was.
While this could cause no such method errors for those still using those types, it is important to get them to switch over. Doing this without changing the package is a compromise which allows a lot of folks an easy-path upgrade and allows us to do more notable things in Brave 6.
We won't do any more releases to 4.x line, unless they are emergencies.. pushing folks to just move off deprecated things and onto the 5.x line.
See #570 for history on the zipkin v1 dependency problem.
See https://github.com/openzipkin/zipkin/issues/2047 for an overall aim to stop leaking v1 deps

https://github.com/spring-cloud/spring-cloud-sleuth/pull/984


property source can support muti-folder?

   env:           SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}           ARGS: "-rltgoDzvO --delete"           SOURCE: "dist/"           REMOTE_HOST: ${{ secrets.REMOTE_HOST }}           REMOTE_USER: ${{ secrets.REMOTE_USER }}           TARGET: ${{ secrets.REMOTE_TARGET }}
I want upload the .nuxt & static & package.json & nuxt.config.js folder or file which is in the root path,so how can i do it?

Have you tried to create a folder in the environment before deploy?
`

name: Create application folder
run: mkdir application && cp -r dist application/dist && cp -r package.json application/
`

Have you tried to create a folder in the environment before deploy?
`

name: Create application folder
run: mkdir application && cp -r dist application/dist && cp -r package.json application/
`

Doesn't change the fact that ability to copy multiple things would be neat.

Added support for multiple sources, same as rsync native:
Path to src. Can be a single filename, or an array of filenames. Shell wildcard expansion is supported. Examples:
src: "./dist/"
src: ["./dir-a/file1","./dir-b/file2"]
src: "./*.foo"
src: "foo{1,2,3}.txt"
etc.


Dialog "Add Implementation Artifact" field inserts curly brackets in default value

When using the XML Format the dialog found in
Node Type Implementation -> Implementation Artifacts -> Add Implementation Artifact
is broken. The field "Name" in the form group "Artifact Template Creation" inserts "{ }" brackets around the default value. This breaks all links relating to this element.
Image:

Also this Implementation Artifacts can not be deleted in the UI because when clicking on it's entry the URL is broken

This issues seems to be resolved.


Transfer Repo Ownership SSH Clone Redirect

Description
When transferring ownership of a repository (moving it to a new Org):

cloning the repository with the old URL using HTTP successfully makes a redirect to a new path (and pulls the repo)
cloning the repository with the old URL using SSH does not do a redirect.

Not sure if this should be a bug or a feature request, but seeing as redirects exist, and are kept in the Database I would expect it to work for both protocols.
Gitea Version
1.21.1+21
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I am hosting a standalone Gitea instance running on Ubuntu 20.04 as a systemd service.
Gitea binary: 1.21.1+21-gb7e3adc66
Database
PostgreSQL

Maybe the SSH result is right because the transferring is not end.

The seps i used to reproduce this:

Have an Org with a repository:

Transfer repository ownership to a new Org:

Try to clone with HTTP command with old path (✅ )

Try to clone with SSH command with old path (❌ )

I believe the transfer is complete as the files are relocated on the server:
root@gitea-playground:~# ll /var/lib/gitea/data/gitea-repositories/old-owner/
drwxr-xr-x   2 git git 4096 Apr 18 13:24 ./
drwxr-xr-x 169 git git 4096 Apr 18 13:24 ../

root@gitea-playground:~# ll /var/lib/gitea/data/gitea-repositories/new-owner/
drwxr-xr-x   3 git git 4096 Apr 18 13:24 ./
drwxr-xr-x 169 git git 4096 Apr 18 13:24 ../
drwxr-xr-x   8 git git 4096 Apr 18 13:27 repo-transfer-owner.git/

and the redirect is added to Database:
gitea_db=# select * from repo_redirect where lower_name='repo-transfer-owner';
 id  | owner_id |     lower_name      | redirect_repo_id
-----+----------+---------------------+------------------
 147 |      472 | repo-transfer-owner |             1632
(1 row)


Is there an adaptation of this plugin to apache cordova?

Anyone knows if there is an apache cordova version that uses this transcoder library?
Thank you!

(Note: it's been a long time since my last issues review. I am sorry about the delay and I know you have moved on by now. Still, I'm going to answer where I can)
Not that I am aware of.


Show unique values in footer summary

Hi,
The footer summary (with count, number of lines…) is very useful, thanks!
I've a suggestion: we often need to count the unique values of a column, could this count be added in the summary ?
Something like this:

What do you think ? :)

Interesting! Is this for particular column types? Text/Choice, for example?
Btw, you can do this somewhat quickly now by peeking at the filter menu. The value inline on the right is the count of that unique value. I right-click on the column and click on "Filter Data" from the context menu.

Ah, I've not been clear!
I don't want to have the count of a given value, but the count of how many unique values there are in a selection. Eg. here unique would be 3 (A, B, and C):

Does that make sense ? :)

Ahhh, that makes sense! I wonder how universal this desire is?
Seeing this request, it makes me itch for a way to add a custom formula that applies over a selection, and the ability to save that as a quick shortcut that appears in the footer of widgets beside sum and/or count as you have mocked up. This begins to scratch the itch to apply formulas over a range in the way that can be done in spreadsheets. In some cases, it's more convenient than formula columns.

A count of distinct values does seem a useful feature, and I think I've heard it asked for before. As more is added to the footer, we'd need to be more careful to fold things up nicely if there isn't much horizontal space available, but that seems doable.
Custom formulas would be neat. For our current architecture, I think it would tip the feature over into needing back-end support to process the formulas.


Null bytes in strings effectively truncate the string from librustzcash's point of view

The relevant code:
    static func isValidShieldedAddress(_ address: String) throws -> Bool {
        guard zcashlc_is_valid_shielded_address([CChar](address.utf8CString)) else {
            if let error = lastError() {
                throw error
            }
            return false
        }
        return true
    }

It's possible for address to contain null characters, which are included in address.utf8CString. The rust layer will attempt to build a CStr out of a pointer to the first character, which will look until it finds the first null byte, so it will think the string ends earlier compared to what the Swift code thinks.
I think it would be possible to make a QR code with an invalid address, but one that starts with a valid address then a null byte, like this:
"zs1vsfpknuh5afwe2wl7v0uwlx2n87n57r905472zym8zq20a8k56mvvu6g0x2g9atgqlkru5w7cxa\0something else that makes the address invalid"

When the iOS app code scans the QR code and checks isValidAddress(), it will return true and think it's a valid address because the rust layer only sees up until that null byte.
Demo code:
import Foundation
import Glibc

let s = "Hel\0lo!"
let bytes = s.utf8CString
print(bytes) // [72, 101, 108, 0, 108, 111, 33, 0]

bytes.withUnsafeBufferPointer { ptr in
    print(strlen(ptr.baseAddress!)) // 3
}

To fix this, ZcashRustBackend.swift needs to check for the presence of null bytes anytime .utf8CString is called (except in the last index where it's expected), and handle those cases appropriately. For deriveExtendedFullViewingKeys that probably means throwing an error and for isValid*Address that means returning false.

Also add a unit test!


Languages enhancements

Add Direction and LanguageCountry fields to sys_localization_languages table, like in Dolphin
If Direction is RTL then try to load special CSS file rtl.css

Direction field value must be added into page  tag, like this:
<html lang="en" dir="LTR">


Downloader executable does not stop cleanly

Noticed downloader executable when CTRL+C is hit ends abruptly.
Should expect to reach
cout << "Downloader stage-loop ended\n";

But it does not happen: actually is missing
SignalHandler::init();  // Trap OS signals

at the top of code.
Tried to add that and, after rebuild, relaunched downloader and hit CTRL+C ...
  INFO [09-01|13:16:11.651 UTC] [stage-loop    ] [1/16 Headers] Waiting for headers... from=14'249'212
  INFO [09-01|13:16:15.970 UTC] [sentry-stats  ] Peer �G�       �L��)Ğ1��Ј��m�q_��_�B0
0c���&��       ����
�@mk�N�=_����;u connected, active 10
Got SIGINT. Shutting down ...
  INFO [09-01|13:16:24.411 UTC] [sentry-stats  ] Peer ��RN�����6=��K9�k��=t`�����x�|�S���X�
Ζ

but downloader keeps chugging as nothing happened ...
Question ... is downloader only a mock or are we missing stopping checks ?

Downloader command is only for test/dev purpose. Anyway I will fix it.

This now is fixed.


Unable to use the 'Enter' key to confirm a keycode selection

After selecting a new key I will use tab to jump to the "confirm" button and the press enter. However, nothing happens until I click the button with my cursor.

Thanks!
I can reproduce the issue and have pinpointed the source (a key event handler is inappropriately consuming the Enter keypress to select the highlighted key from the list), but in the middle of some work that touches on this and won't be able to deploy a fix as quickly as I'd like.
As a temporary workaround you can also press Space to trigger the focused button element, but I'll keep this issue open and update you once it's properly resolved.

Alright, well, my other task ended up being too complex to tackle at once so I wrapped it up and put in a quick fix for this issue. Thank you again for sharing!


Opconversion Failure for gemma-7b_INT4

here i'm attaching the screenshots.

@saivivekseeram1 hello, please make sure that you executed cell with installing requirements in notebook before running model conversion. This issue required to use openvino-nightly package for resolving, while error what you see appears in openvino 2024.0.0

okay Thank you @eaidova , it ran successfully. while conversating with the dialogue , it's throwing an error in the middle of dialogue box.

i gave temperature as 1.0 and 0.1 , but still the issue was same

i'm attaching here the doument.
Exception in thread Thread-22 (_do_normal_analytics_request):
Traceback (most recent call last):
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_transports\default.py", line 69, in map_httpcore_exceptions
Exception in thread Thread-24 (_do_normal_analytics_request):
Traceback (most recent call last):
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_transports\default.py", line 69, in map_httpcore_exceptions
yield
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_transports\default.py", line 233, in handle_request
yield
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_transports\default.py", line 233, in handle_request
resp = self._pool.handle_request(req)
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection_pool.py", line 216, in handle_request
resp = self._pool.handle_request(req)
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection_pool.py", line 216, in handle_request
raise exc from None
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection_pool.py", line 196, in handle_request
raise exc from None
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection_pool.py", line 196, in handle_request
response = connection.handle_request(
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection.py", line 99, in handle_request
response = connection.handle_request(
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection.py", line 99, in handle_request
raise exc
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpcore_sync\connection.py", line 76, in handle_request
raise exc
...
self.gen.throw(typ, value, traceback)
File "c:\Users\Local_Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx_transports\default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout: _ssl.c:980: The handshake operation timed out


Range of x axis

How to set value range of X axis for a line chart? I've tried axisvalue but it didn't work.

Hi, there is no direct method to do that. You can use viewport instead, for example if you want X axis to have values from 0 to 100 set viewport.bottom to 0 and viewport.top to 100.
//set chart's data to initialize viewport, otherwise it will be[0,0;0,0]
//get initialized viewport and change it according to your needs.
final Viewport v = new Viewport(chart.getMaximumViewport());
v.top =100;
v.bottom = 0;
chart.setMaximumViewport(v);
chart.setCurrentViewport(v);
//Optional step: disable viewport recalculations, thanks to this animations will not change viewport automatically.
//chart.setViewportCalculationEnabled(false);

That solved my problem, thanks!


chore: bdd-gh-1578617225 to 0.0.1

chore: Promote bdd-gh-1578617225 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[Bug]:  AutoAWQ marlin methods error

Your current environment
vllm 0.5.4
🐛 Describe the bug
autoawq marlin must with no zero point， but vllm：
def query_marlin_supported_quant_types(has_zp: bool,
                                       min_capability: Optional[int] = None):
    if min_capability is None:
        major, minor = current_platform.get_device_capability()
        min_capability = major * 10 + minor

    if min_capability < 80:
        return []

    if has_zp:
        # AWQ style, unsigned + runtime zero-point
        return [scalar_types.uint4, scalar_types.uint8]
    else:
        # GPTQ style, unsigned + symmetric bias
        # TODO: once fp8_marlin is merged into "gptq_marlin" we should be able
        #  to add `scalar_types.float8_e4m3fn` here
        return [scalar_types.uint4b8, scalar_types.uint8b128]`

this would error### ###

@MichoChan could you please share a command for triggering this error so we can reproduce? Is this some model that didn't work for you?

@MichoChan I believe this issue is fixed on current main by https://github.com/vllm-project/vllm/pull/7264

@MichoChan I believe this issue is fixed on current main by #7264

i know, when i use autoawq with zero point true, gemm version, the vllm will convert awq gemm version to awq marlin verison, that looks like fine, but when i quant with autoawq using marlin and no zero point, the vllm will raise error, because vllm only supoort awq marlin with zero point

Can you point me to a model checkpoint without zero point?

Can you point me to a model checkpoint without zero point?

sorry, i have no model checkpoint without zero point that you can get from hub/public site
and i notice  that Autoawq quant with marlin which already using marlin format to save model, however, vllm only support a normal awq format, and then auto convert it to marlin format and using marlin kernel.
so can i say that vllm only support a normal awq format and can convert to marlin format when runtime？

+1 here I've been trying to get this going. First here is my quantize.py file for autoawq:
model_path = '/mnt/g/stable-code-instruct-3b'
quant_path = '/home/admin/stable_code_marlin'
quant_config = {
"zero_point": False, # To use Marlin, you must specify zero point as False and version as Marlin.
The comment is taken directly from AutoAWQ here link
so that's how I'm quantizing the model. then when I call vllm from the CLI like so "vllm serve . --port 9000 --trust-remote-code --quantization awq_marlin --cpu-offload-gb 50 --device auto"
It terminates with this error:
"ValueError: Marlin does not support weight_bits = uint4. Only types = [ScalarType.uint4b8, ScalarType.uint8b128] are supported (for group_size = 128, device_capability = 89, zp = False)."
also in order to get this far, I had to manually change the config.json file.  Autoawq generates the config.json like this "quant_method": "awq" yet VLLM is expecting "quant_method": "marlin".
In the end you have to manually change to "awq_marlin". Can VLLM code be updated to expect "awq" as the quant method and "marlin" as the version?
this is what the config looks like from AutoAWQ:
"quant_method": "awq",
"version": "marlin",
In addition,

+1   I also got this error.  I use SGLang to launch awq_marlin quantized model,  but got error, detail case: https://github.com/sgl-project/sglang/issues/1792.
Through code analysis, it's found that vllm does not support awq_marlin quantized models with zero_point = false.

Can you point me to a model checkpoint without zero point?

There are some models if seaching 'awq-marlin' in hf hub; Such as

https://huggingface.co/IlyasMoutawwakil/vicuna-7b-v1.5-awq-marlin/blob/main/quant_config.json
https://huggingface.co/robertgshaw2/tinyllama-awq-marlin/blob/main/config.json


Add bottom panel prop

to: @majapw
Adds bottomPanel prop addressing comments from previous PR. With the new tether changes, I no longer need the margin top property.

Coverage remained the same at 86.293% when pulling 1167c5ba76c004b19369f34f4502f085744dc692 on moonboots:add-bottom-panel into b77f0b560412ded63f3b64971365762014ff011f on airbnb:master.

Does the bottomPanel prop still exist? I can't find it in the README

Hi @youngzhaosignifyd, you can add content to the bottomPanel using renderCalendarInfo
Basically, you want to pass in something like `renderCalendarInfo={() => Hello World!!. Check out https://github.com/airbnb/react-dates/blob/master/stories/DateRangePicker_calendar.js#L125-L132 for an example config.

@majapw Ah ok. Thanks!
Should I create a new PR to add this info to the README?


on server side rendering

Hello!
I'm facing a strange behavior:
All my routes is working fine in dev mode, and everything is being rendered as expected.
However, when I run production mode and disable JavaScript from browser, the HTML component is rendered correctly, however the  renders the component as a  tag, and nothing is displayed.
After some research, I found this can be a problem with react-router, meaning that the route didn't match, which is not the case, because on dev mode it works well.
Any idea what could be the problem?
How can I debug this error?
Thanks in advance for any support!
PS: my server.js and routes.js files are available on this gist.
The only customization on server.js was to remove the mocked API related code, unnecessary for us.

PS: My server.js and routes.js files are available on this gist.

By the way, I've made the most simple test possible:
A dummy component:
import React from 'react';

const Simple = () => (

Hello World!

);

export default Simple;

and a single route:
<Route path="/" component={Simple} />

Acessing / with JS enabled in browser, I got the correct hello world message.
However, disabling JS on browser, I still get a  on page body.
So, it seems the problem is related to how server side is dealing with routes definition.

@erikras Could you please take a look at this please?
Would be so kind from your part.
Thanks :+1:

Another discovery:
With both JS enable and disabled, the server renders the element as a  element.
However, with JS enabled, client is able to interpret it and render correctly.
Without JS, nothing is shown.

Yeah, i stuck at that moment too

Change version of "redux-async-connect": "1.0.0-rc3" helped me

@TPABHuKOB thanks for your beautiful answer

You can also use https://www.npmjs.com/package/redux-connect that is up to date.

@TPABHuKOB Thank you!


[Desktop, Linux] TextField caret position moves in 1.3.0-beta03

Hey,
I just tried 1.3.0-beta03 from 1.2.1 and realized that writing in a Textfield causes issues on the caret position. After typing e.g. two chars it jumps to the position between the chars instead of staying after the last char.

What operation system do you have?

Can you please check caret position in this sample:
https://github.com/dima-avdeev-jb/compose-check-focus-with-multiline-text
It also uses version 1.3.0-beta03

I'm on linux gnome. The sample seems to work, I'll double check my application...

It seems to be related to having the text value being flow based. When I use
               val text = remember { mutableStateOf("") }
it works in my app too.
The newest alpha 1.3.0-alpha01-dev862 does not have the problems.

Please try this:
fun main() = run {
    val textFlow = MutableStateFlow("")

    application {
        Window(
            state = WindowState(size = DpSize(350.dp, 500.dp)),
            onCloseRequest = ::exitApplication
        ) {
            Column(
                modifier = Modifier.padding(50.dp)
            ) {
                for (x in 1..5) {
                    val textState = textFlow.collectAsState()
                    val text = remember { textState }
                    TextField(
                        value = text.value,
                        onValueChange = { textFlow.value = it },
                        label = { Text("Test") },
                        singleLine = true,
                        modifier = Modifier.moveFocusOnTab()
                            .fillMaxWidth()
                    )
                    Spacer(Modifier.height(10.dp))
                }
            }
        }
    }
}

Update sample:
https://github.com/dima-avdeev-jb/compose-check-focus-with-multiline-text/blob/b9b9041721e71a70fe3f3e2434966e99d30fc5d0/src/main/kotlin/main.kt#L25
It work's good on my MacOS

I was wrong it is also buggy on 1.3.0-alpha01-dev862

Windows and Mac work fine. Here is a small clip of the linux behaviour.
Bildschirmaufzeichnung vom 2022-11-23, 22-09-48.webm

Also, reproducible on Manjaro Linux

When using a qr code scanner with fast text writing, TextField is also occationally missing some chars on Windows

Any update on this? Will this be fixed? Is it working as intended? The workaround seems to be to only use local states (those created inside the compose function) for textfields.

Unfortunately this is a known issue in the implementation of TextField on Google's side. It's described here: https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5
We'll have to wait for a fix from Google.

Basing on article, looks like best option for now is creating stateful text field. For me work.
@Composable
fun TextFieldStateful(
    value: String,
    onValueChange: (String) -> Unit,
    modifier: Modifier = Modifier,
    enabled: Boolean = true,
    readOnly: Boolean = false,
    textStyle: TextStyle = LocalTextStyle.current,
    label: @Composable (() -> Unit)? = null,
    placeholder: @Composable (() -> Unit)? = null,
    leadingIcon: @Composable (() -> Unit)? = null,
    trailingIcon: @Composable (() -> Unit)? = null,
    isError: Boolean = false,
    visualTransformation: VisualTransformation = VisualTransformation.None,
    keyboardOptions: KeyboardOptions = KeyboardOptions.Default,
    keyboardActions: KeyboardActions = KeyboardActions(),
    singleLine: Boolean = false,
    maxLines: Int = if (singleLine) 1 else Int.MAX_VALUE,
    minLines: Int = 1,
    interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
    shape: Shape =
        MaterialTheme.shapes.small.copy(bottomEnd = ZeroCornerSize, bottomStart = ZeroCornerSize),
    colors: TextFieldColors = TextFieldDefaults.textFieldColors()
) {

    var state by remember { mutableStateOf(value) }

    snapshotFlow { state }
        .mapLatest {
            onValueChange(it)
        }
        .stateIn(
            scope = rememberCoroutineScope(),
            started = SharingStarted.Lazily,
            initialValue = state
        )

    TextField(
        value = state,
        onValueChange = { newValue ->
            state = newValue
        },
        modifier = modifier,
        enabled = enabled,
        readOnly = readOnly,
        textStyle = textStyle,
        label = label,
        placeholder = placeholder,
        leadingIcon = leadingIcon,
        trailingIcon = trailingIcon,
        isError = isError,
        visualTransformation = visualTransformation,
        keyboardOptions = keyboardOptions,
        keyboardActions = keyboardActions,
        singleLine = singleLine,
        maxLines = maxLines,
        minLines = minLines,
        interactionSource = interactionSource,
        shape = shape,
        colors = colors
    )
}

@mariuszmarzec
You safe recreating multiple flows, resubscribing to them and updating state on every recomposition...

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


Docker not building

Describe the bug
Using Docker to run Composer.
Several issues started happening after moving Extensions folder from Composer into root.
Most of them, during build process..
Wrong path:

Git is now required for some module, but it's not present on container.
Timeouts:

Version
Latest merge - 00df46c
OS

[ ] macOS
[ ] Windows
[ X ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

cd ~/
~/BotFramework-Composer
docker build -t bot-composer -f ./Composer/Dockerfile .

Expected behavior
Container image is created.

Already investigating.

Hi @cdonke. Sorry for the breaking change! I am working on a fix for this. Do you usually build the docker image from the root directory or were you trying that because the extensions directory was moved up?
In my investigation, I've found that we will need to send the entire repository as context to the docker build, along with copying the correct files during the build process. I think in order to facilitate this, moving the Dockerfile up to the root would make sense. Do you have any concerns about doing this?

Hi @a-b-r-o-w-n ...
I'm building from the root...
Already made some changes for the dockerfile (making better use of docker cache, moving some things around to improve)...
Now, I'm stuck here:

Should I stop, or can I help you somehow?
tks,

@a-b-r-o-w-n , Here is the repo I'm working on:
https://github.com/cdonke/BotFramework-Composer/tree/fix/dockerbuild
I took the opportunity to write a GitHub Action to build the containers to test it on PR as well...
It's there too..

I'd say continue with your work as well. It looks like you are more experienced with docker than our team is. I will continue working on it as well and tag you are a reviewer on a PR. At that point, feel free to make suggestions with the things you've done to improve the docker build. We can integrate it into the PR.


Issue : Building course data

I have reason to believe this is why people can't download certain courses, this was updated 3 days ago by Udemy.
"Out of concerns for piracy, by default, courses are not available for download on a computer.  If instructors wish, however, they can enable the downloading feature, so lectures can be downloaded for offline viewing on a computer. "
https://support.udemy.com/hc/en-us/articles/229231167

:( Same problem.

Yup...The ride is over. Was only a matter of time.

I think this is the end of the software (udeler) .... very frustated.... mostly, for me, need to watch the video offline.

I think this is the end of the software (udeler) .... very frustated.... mostly, for me, need to watch the video offline.

I ended up just downloading Bluestack Android Emulator and downloaded a bunch of my courses there. While It's not Udeler like at least it saves data.

I think this is the end of the software (udeler) .... very frustated.... mostly, for me, need to watch the video offline.

I ended up just downloading Bluestack Android Emulator and downloaded a bunch of my courses there. While It's not Udeler like at least it saves data.

And can you download it locally to the computer?

You can, but only viewable on the udemy mobile app. You you can't really
copy the videos or anything like that.
On Tue, May 18, 2021, 4:14 AM André de Albuquerque @.***>
wrote:

I think this is the end of the software (udeler) .... very frustated....
mostly, for me, need to watch the video offline.
I ended up just downloading Bluestack Android Emulator and downloaded a
bunch of my courses there. While It's not Udeler like at least it saves
data.
And can you download it locally to the computer?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/600#issuecomment-843001953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANZ4JTJL2BFKYAVH7EYPPPTTOIVY7ANCNFSM446S3WMQ
.

Please fix this, is there any way to download videos?

Please fix this, is there any way to download videos?

this is the end of udeler bro.... hehe...

There's already a bunch of open issues for the same issue. #602 and #609


Missing spec

https://github.com/actions-runner-controller/actions-runner-controller/blob/623c84fa529b9dad4d6522759d5f730f2374b967/charts/actions-runner-controller/crds/actions.summerwind.dev_horizontalrunnerautoscalers.yaml#L171
If you look in the spec for pull_request there is branches and allows an array. We don't have that for pushes but the docs say you can do that...
Should I make a PR for this?

(I also don't know how to use Kubebuilder so if tweaking the yml directly is not desired, then let me know...

Nope, we're removing support for all webhook events other than workflow_job https://github.com/actions-runner-controller/actions-runner-controller/issues/1607

👍


Non steam launchers are showing in my library

Hi trying to add non steam launchers into steam through your tutorial but having no luck getting it to work. Using google to download the zip files and extracting ok. Sometimes they show in steam but wont play even after going into properties and changing compatibility to experimental. Any advice or help would be amazing 👏

@gazthe1 hi... not sure why you're doing any of those things... there's a button that says Download on the github, it will download a .desktop file
Select the launchers you want and then once steam restarts you click play, why change to experimental when the program gives you the latest proton GE?


Make attachments visible in sidebar

When you attach an attachment at this point.
You need to link it in the page etc.
Would it not be more clear to have a section in the sidebar where you can see the Attachments?
That way you can see all attachments to a page etc. at a glance.

Hi @kayvanaarssen,
Could you explain this further at all? In both the edit view and display view of a page, the attachments are located in a sidebar.

Shit! I see now.
Attachments are displayed on the left sidebar. I was looking for them on the right sidebar and overlooked the left one.
They are on the top indeed.
Should have checked better...


Actions for events and more

Hello, see please see this action
https://github.com/AlexxNB/svelte-chota/blob/master/cmp/utils.js

Hi, could you provide more context?

see example https://svelte.dev/repl/a932802640b841c697896e6005babdc0?version=3.29.4
I think you can also make the skeleton an action to connect everywhere =)

Interesting, but using actions for skeleton states isn't practical because the semantic structure for skeletons can be vastly different.

Interesting, but using actions for skeleton states isn't practical because the semantic structure for skeletons can be vastly different.


[BUG]: Exports are empty when files are opened in editing view by default

Hello,
Expected Behavior
The resulting HTML file when exporting a page is not empty
Actual Behavior
HTML file only has empty content tree and dark mode toggle button

Occurs when
Default view for new tabs is set to editing view; the problem goes away once this setting is changed to reading view.

Possible ways to patch this bug

remind new users to set their new tabs to open in reading view by default
When a file is exported, a tab is temporarily opened and closed for that page. Perhaps code in something to make it automatically

Additional comments
This was very confusing for me to figure out which was why I uninstalled it at first because it didn't work but then I saw that it did work for some people; I think this plugin will be much better appreciated by newcomers given that a decent chunk of people use editing mode by default.
Best Regards,
kelco-chan

Hmm, the plugin does currently open a new tab and then automatically changes that tab into reading mode even if it is in edit mode. So I am not sure why this is. I'll certainly look into this and try to fix it. Thanks for the report!

This should be fixed in the latest update due to the new background export feature! Thanks for the report and let me know if you find any other problems! 😊


Inactive layers should not cause any load

dont preload inactive layers
dont poll for inactive layers
start fetching/ polling once layer gets activated

Solved with 3.0.1


Improve config.spec

Couple of issues with it.

It should be called "example.spec"
It shouldn't import "machines" ... this makes it to difficult requiring QUILT_PATH for new userse.
The example application should be much simpler.
It should be some sort of web server.  That way you can test it works without logging into the system.

... Other stuff.
Main idea is it should cleanly and simply demonstrate Quilt, with a minimum of effort.

THis was done some time ago


import repository from github

ability to import repository from github.
need to be able to track if repo is master or slave. this is in the case of the repo stored in both locations.

marked this issue as blocked by #165

marked this issue as related to #115

marked this issue as related to #167

added 4m of time spent

marked this issue as related to #68


[AutoPR eventgrid/data-plane] typo: Microsoft.Media

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4687

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/3551


x/tools/godoc should skip build tag annotations

What did you do?
After moving the filepath.Walk example to a standalone example file (so it could use a standalone function), godoc includes the build tag annotation ("// +build !windows,!plan9" in this case) in the runnable example.
What did you expect to see?
The example, without the build tag annotation.

CC @andybons @agnivade @bradfitz @griesemer @ysmolsky
(godoc has many owners!)

So you just want to remove the +build lines from the output, and only for examples? Where?
I don't see any +build lines at https://tip.golang.org/pkg/path/filepath/#Walk

I moved the ExampleWalk function to a separate file my_test.go with the same build tags // +build !windows,!plan9. But I could not repro your issue. I am on linux btw, if it matters.
Could you mention the steps that you are doing to get this ?

Ah nvm, I wasn't on latest master. I see it now.

Sorry for not mentioning the testcase earlier.  On the tip of master, run
godoc -http=:6060 -play=true
Then open http://localhost:6060/pkg/path/filepath/#Walk in your browser and expand the Walk example: it starts with "// +build !windows,!plan9", which is not useful in the playground.


BUG Command "hide" and "anti-idle" didn't work.

Description: Command hide and anti-idle didn't work. (Nothing happend)
Screenshot (If any):
Terminal Output (If any):
Program Version: 1.1.2-alpha.2
Operating System Version: Windows 7 & Windows 8 & Windows 10 & Windows 11

Thanks for @Windows-regedit 's testing!


Add support for formatting + clientside formatting

Consider this code:
elem!("div", q{ class="foo type-%s" })(

    elem!"p"("Hello, %s")

)

Elemi could get support for filling those %s placeholders (the element could be taken both compile-time and runtime).
While previously I didn't consider this much useful, as this can be done with simple formats, this gives potential for a function to generate JavaScript code to do the same job.
This would make it much easier to implement rendering on both sides, as the same rendering code would work both server-side and client-side.

Element format(Element formatElement, Args...)(Args args);
Element format(Args...)(Element formatElement, Args args);

string javascriptFormat(Element formatElement);

Element format(Element formatElement, Args...)(Args args);
Element format(Args...)(Element formatElement, Args args);

string javascriptFormat(Element formatElement);


Generate different mask images according to the pixel values of different images

If I have a batch of data, which contains different types of data, I want to generate different mask images according to the pixel values of different images, and then restore the images with corresponding masks, how can I achieve this in your method.

Hi, I think generating the mask is independent of DDNM. When you have the mask, you can replace this line mask = torch.from_numpy(loaded).to(self.device). Make sure that 1 represents keep and 0 represents drop.

Thank you for your answer.
The dataset images I used were taken from movies, similar to pictures taken in everyday life. They are not part of the face and imagnet datasets. Do I need to retrain a model myself when I want to repair them using Inpainting?

Maybe you need a better pretraind diffusion model. We tried to apply DDNM to IF and it works well on general images.


Update README.md

Should we move the What are we trying to do? section into Discussion section instead?


Google Auth

Just quick question any plan for Google Auth?
Or I can help

Google auth is implemented.
let auth = GPSOAuth()
auth.login(...)

Thanks :D

What about  username and password with GPSOAuth, gmail oauth authorization flow don't require credentials... thanks.

wut

@tomalbrc ???


Disable HTML Encoding of JSON Content in CLI

Do not encode &, <, and > to \u0026, \u003c, and \u003e
Prevents mentioned characters in raw HTTP web action query parameters from being encoded in activation logs

@rabbah, needs review.

PG3 423.

PG2 1254 approved.

@rabbah, this will fix the log issue.

should we extend one of the tests to assert?

@rabbah, do you see anything wrong with the test I added? Looks like a container isn't starting for the test's action. Here's the error:
whisk.core.cli.test.WskBasicUsageTests > Wsk actions should invoke action while not encoding &, <, > characters STANDARD_OUT
    check failed for activation 37633225ad5d4b00bd27c53f21002481:
{
  "duration":0,
  "name":"nonescape",
  "subject":"guest",
  "activationId":"37633225ad5d4b00bd27c53f21002481",
  "publish":false,
  "annotations":
  [
    {
    "key":"limits",
    "value":
      {
        "logs":10,
        "memory":256,
        "timeout":60000
      }
    },
    {
      "key":"path",
      "value":"guest/nonescape"
    }
  ],
  "version":"0.0.1",
  "response":
  {
    "status":"whisk internal error",
    "statusCode":0,
    "success":false,
    "result":
    {
      "error":"Failed to start container."
    }
  },
  "end":1490050166105,
  "logs":[],
  "start":1490050166105,
  "namespace":"guest"
  }

PG2 1286 approved.


JS Error: _ is not defined when trying to work with Section JS

Problem
After following @NathanPJF's Slate webinar, I'm trying to hook into the section functions onBlockSelect(), but I keep running into a console error saying _ is not defined.
This error is coming from _.assignIn.
I'm not sure what I'm doing wrong but it's just not having it, I looked through the JS code for the Slate Webinar demo theme and _.assignIn is used throughout that too.
Replication steps
My Code inside of faq-section.js is:
theme.FAQ = {};

theme.FAQ = (function () {
  function FAQSection(container) {
    var $container = this.$container = $(container);
    var sectionId = $container.attr('data-section-id');
    var FAQ = this.FAQ = '#FAQ-' + sectionId;
    theme.FAQs[FAQ] = new theme.FAQ(FAQ);
  }
  return FAQSection;
})

theme.FAQSection.prototype = _.assignIn({}, FAQSection.prototype, {
  onBlockSelect: function (evt) {
    console.log('Block Selected');
  }
});

And inside of theme.js, I've registered the section as:
sections.register('frequent-questions', theme.FAQSection);

Hey @ConduciveMammal -- the examples you are probably seeing include Lodash on the page. Lodash defaults to using the _ global variable.
Best thing to do is to add Lodash to your /scripts/vendor folder and it will get included in the vendor.js bundle.

Hey @t-kelly, thanks a lot for the Lodash information, I'll be sure to check it out.
If Lodash wasn't to be used, to you know of any other examples that can be used as a starting point?
I feel the docs are definitely lacking in this area, will these be improved upon? The problem is since Slate is still relatively unheard of, here is the only place to seek information despite it not being it's purpose.

@NathanPJF Similar to the above, I'm now getting a new error after including Lodash.
The error I'm now getting is: Cannot read property 'prototype' of undefined.
My full code is:
theme.slideshows = {};

theme.SlideshowSection = (function() {
  function SlideshowSection(container) {
    var $container = this.$container = $(container);
    var sectionId = $container.attr('data-section-id');
    var slideshow = this.slideshow = '#Slideshow-' + sectionId;

    $('.slideshow__slide', slideshow).each(function() {
      var $el = $(this);
      console.log(HELP);
        });

    theme.slideshows[slideshow] = new theme.SlideshowSection(slideshow);
  }

  console.log('Slideshow Function');

theme.SlideshowSection.prototype = _.assignIn({}, theme.SlideshowSection.prototype, {
  onUnload: function() {
    delete theme.slideshows[this.slideshow];
    console.log('Section Unload');
  },

  onSelect: function(evt) {
    console.log('Block Selected');
    var $slideshow = $(this.slideshow);

    var $slide = $('.slideshow__slide--' + evt.detail.blockId + ':not(.slick-cloned)');
    var slideIndex = $slide.data('slick-index');

    return theme.SlideshowSection.prototype;
  }

  // onBlockDeselect: function() {
  //   console.log('Block DeSelected');
  // }
});
})();

If Lodash wasn't to be used, to you know of any other examples that can be used as a starting point?

jQuery $.entend() function similarly.

The error I'm now getting is: Cannot read property 'prototype' of undefined.

 Move the last line of code just above theme.SlideshowSection.prototype =


fix(sitemap): move asf header after xmlheader

Fix #631

okay, It is also possible to put the asf header after the xml header.
Xml declaration should precede all document content.

done.

Still I saw -

Perhaps you can redo the path onto the latest master and force push to this branch. Or just create a new PR.

🤔 emmm

The UI gives me an impression that I cannot merge, but actually I can switch to other methods - it just too similar between black and gray..


Updating model does not update selectize?

How can I extend angular-selectize to update the selected items when I change the model?
$scope.myModel = ["Tag1", "Tag2"];
<selectize options='myOptions' ng-model="myModel"></selectize>
$scope.myModel = ["Tag1", "Tag2", "Tag3"];

Results in only Tag1, Tag2 showing.

See #48, I think it could help you :-)

Oh, how very useful. Dziękuję


Building fails on duplicate files

Downgrading gulp to latest 3.9 version helps with the gulptasks, but then compilation fails on duplicate files:
$> gulp build-test
[test passed]
[21:55:17] gulp-google-closure-compiler: ERROR - Duplicate input: board.js
ERROR - Duplicate input: board_editor.js
ERROR - Duplicate input: game_viewer.js
ERROR - Duplicate input: global.js
ERROR - Duplicate input: starpoints.js
ERROR - Duplicate input: svg.js
ERROR - Duplicate input: svgobj.js
7 error(s), 0 warning(s)

Hey! should be fixed now.

Thanks! It compiles fine now
On Sun, Feb 10, 2019 at 2:00 PM Josh Hoak<EMAIL_ADDRESS>wrote:

Closed #170 https://github.com/Kashomon/glift/issues/170.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Kashomon/glift/issues/170#event-2129383225, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABfTq-Libp-2E_ozSmp3QlCrgFzpkOpiks5vMHpngaJpZM4ay4D9
.

--

Stefano Franchi
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://stefano.cleinias.org


Refactor DB setup for tests, enable running TableTest over MySQL, Postgres & h2

Purpose

Refactor DB setup for tests
Enable running TableTest over MySQL
Enable running SQLActionsTest over H2

@Manuri There is a test case failure in Travis. Please check


simulation,validation,speedup

speeding up simulation and a bunch of scripts for validation scans with many reuse factors
https://indico.cern.ch/event/823156/contributions/3442008/attachments/1850883/3038435/fastml_simulation.pdf

We have a working branch here:
https://github.com/hls-fpga-machine-learning/hls4ml/tree/gdg/validation
I discussed with @vloncar  and he suggested few changes that I totally agree with and I will integrate soon on the branch.

We have a consolidated validation flow. The basic idea is to generate two log files with the predictions after both the C simulation (csim_design) and the RTL co-simulation (cosim_design), respectively. These two files are then compared. Any difference is a symptom of a wrongly generated RTL implementation and must by investigated (maybe a too aggressive HLS configuration, etc.).
There are two implementations of this validation approach:

The C/C++ testbench performs the log comparison (with an OS-dependent diff call). I report this for the sake of completeness.
The TCL testbench performs the log comparison. This is neater and is the solution that @vloncar and I agreed on.

Few more notes:

The first implementation, which embeds the validation in C/C++, is what Xilinx proposes in various guides (for example at page 33 - Self-Checking Test Bench). The latest versions of the Vivado Suite made commands like diff available on Windows too.
For the second implementation, we were counting on the compilation flag __RTL_SIMULATION__ to distinguish between C and RTL simulation. This flag should be automatically added by Vivado HLS, but unfortunately, it seems only available for SystemC/RTL co-simulation. @vloncar suggested this workaround, but we hope in a future fix from Xilinx. See also this forum post.

The code on this branch also integrates the feature to load weights from files on simulation to avoid long compilation runs and to reduce the overall C-simulation and RTL-co-simulation times. In the master-branch implementation, the compilation of the headers which declare and define the weight and bias arrays could take a few hours in the case of large layers. In this branch implementation, we only declare those big arrays in the headers, we store the weights in TXT files, and we load the weights at the beginning of the simulation. To preserve the HLS flow (we need still need those weights/biases in the headers when ``, we use conditional macros to keep the weights in the headers when we run HLS (csynth_design).
At this point, we may be ready for a PR.


[2011-07-26] Repacement of the \ characters in SS templates.

created by: hubertusanton
created at: 2011-07-26
original ticket: http://open.silverstripe.org/ticket/6687

When placing a single \ character in templates it outputs as a \ character as expected.
When placing more than one character it outputs as one less:
\ outputs as
\\ outputs as \
simon_w on irc told:
11:20 <simon_w> all it needs is an addslashes() call

This was intended behaviour. \$ was needed to escape $, which means that \\ is needed to escape \.


[BUG] Wechat qr code link has expired already

Prerequisites

[X] I have read the ServerlessLLM documentation.
[X] I have searched the Issue Tracker to ensure this hasn't been reported before.

System Information
As the title, wechat qr code link has expired already.
Problem Description
https://github.com/ServerlessLLM/ServerlessLLM/blob/main/docs/images/wechat.png
may update a new one, thanks a lot.
Steps to Reproduce
Code snippets:

Steps to reproduce:
1.
2.
3.
Expected Behavior
No response
Additional Context
No response
Usage Statistics (Optional)
No response

Thank you for the reminder! I’ve submitted a PR #173 with the update.


Update base.LabelMinor of pod

Signed-off-by: Akash Srivastava<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 436

4 of 9 (44.44%)  changed or added relevant lines in 1 file are covered.
3663 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.02%) to 45.969%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

render/detailed/summary.go
4
9
44.44%

Files with Coverage Reduction
New Missed Lines
%

report/table.go
1
79.75%

probe/kubernetes/logreadcloser.go
2
81.55%

app/multitenant/consul_client.go
3
51.92%

render/detailed/detailed.codecgen.go
1188
30.25%

report/report.codecgen.go
2469
37.39%

Totals

Change from base Build 416:
-0.02%

Covered Lines:
14604

Relevant Lines:
31769

💛  - Coveralls


Compiling broken on clang-cl

While testing #13 I've ran into the issue where the library refuses to build under clang-cl. It seems like commit 3393cedb7dac6fda34c40ea5b44f523fb3337ea9 is the cause of it.
The error seems to stem from the use of -pedantic:
clang-cl: error: unknown argument ignored in clang-cl: '-pedantic' [-Werror,-Wunknown-argument]

The other thing I noticed is clang-cl gets picked up as both "msvc" and "clang" here, so both compile flags are used from these sections.
This is most likely just the fault of cmkr not having great predefined conditions: https://cmkr.build/cmake-toml/#predefined-conditions
msvc.private-compile-options = ["/WX", "/permissive-", "/W4", "/w14640"]
clang.private-compile-options = ["-Werror", "-Wall", "-Wextra", "-Wshadow", "-Wnon-virtual-dtor", "-pedantic"]

# Both of these pass on clang-cl:
if(MSVC) # msvc
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_C_COMPILER_ID MATCHES "Clang") # clang

The final flags on my compiler look like this (this is only from Builder.cpp but it happens for all source files):
clang-cl.exe  /nologo -TP -DNOMINMAX -DZYDIS_STATIC_BUILD -I[REDACTED]\_deps\safetyhook-src\include -m32 /O2 /Ob2 /DNDEBUG -MD /WX /permissive- /W4 /w14640 -Werror -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -std:c++17 /showIncludes /Fo_deps\safetyhook-build\CMakeFiles\safetyhook.dir\src\Builder.cpp.obj /Fd_deps\safetyhook-build\CMakeFiles\safetyhook.dir\safetyhook.pdb -c -- [REDACTED]\_deps\safetyhook-src\src\Builder.cpp

From what I know, clang flags passed to clang-cl must be passed like so: /clang:<flag>. However, It seems like most flags in the MSVC section would work fine. The only ones I cant find in the documentation are: /permissive and /w<warning id>. Either way, I don't think it's ideal that both MSVC and clang-cl flags are being mixed on the command line in this case since they're redundant.
I'm sure theres some work around for this but perhaps cmkr could have better predefined compiler detection conditions?

This is a rather esoteric part of CMake (https://stackoverflow.com/a/10055571/1806760). Likely the default condition for cmkr is not strict enough. You can fix this locally in your project by overwriting the clang condition:
[conditions]
clang = "CMAKE_CXX_COMPILER_ID MATCHES \"Clang\" AND NOT DEFINED CMAKE_CXX_SIMULATE_ID"

Also as a general note you shouldn't set -Werror as a compiler flag.  Compiler flags in the CMake should be seen as requirements to build your target (which is why they are PUBLIC).
CMake's "solution" is to use presets for this and manually specify the CMAKE_CXX_FLAGS variables there, which isn't ideal...

Should be fixed in cmkr v0.2.19

Should be fixed in cmkr v0.2.19

You’re awesome, thank you so much for the information and cmkr changes! I’ll be giving it a try soonz


Crash during scene transition with Magnetic Trigger

I have found that Crash is occurring when I try to use Magnetic Trigger for scene transition in Galaxy Note 4. It does not happen when I use touch input, and I have tested on Galaxy S6 Edge without any problem.
Have any idea about?
I am using Unity 4.6.1 and Cardboard 0.6 for this project.

There are a few issues about this problem.
I'm waiting for the fix to be released as well

This bug was fixed in the v0.7 release of the SDK.


Canvas Spine objects do not respect camera zoom when inside a scaled container

Phaser Version: 3.24 (but also tested locally with 3.53.1)
Operating system: Any
Browser: All

Description
Spine objects do not respect camera zoom when running in canvas mode if inside a scaled container.
Example Test Code
Webgl: https://www.bbc.co.uk/games/embed/cbeebies-genie-storybook?versionOverride=latest&viewNonPublished=true&theme=today-i-am-five-and-a-half
Canvas: https://www.bbc.co.uk/games/embed/cbeebies-genie-storybook-kindle?versionOverride=latest&viewNonPublished=true&theme=today-i-am-five-and-a-half
On initial page, watch the clock and fishbowl but also more obvious on later pages where the girl character does not scale with zooms.
Tried to make a sandbox but it doesn't seem to save - if you go here:
https://labs.phaser.io/edit.html?src=src/spine/add spine object to group.js&v=3.53.1
and replace the code with:
let spineboy
let container

class Example extends Phaser.Scene
{
    constructor ()
    {
        super({
            pack: {
                files: [
                    { type: 'scenePlugin', key: 'SpinePlugin', url: 'plugins/3.8.95/SpinePluginDebug.js', sceneKey: 'spine' }
                ]
            }
        });
    }

    preload ()
    {
        this.load.image('logo', 'assets/sprites/phaser.png');
        this.load.setPath('assets/spine/3.8/demos/');
        this.load.spine('set1', 'demos.json', [ 'atlas1.atlas' ], true);
    }

    create ()
    {
        this.add.image(0, 0, 'logo').setOrigin(0);
        container = this.add.container()
        spineboy = this.add.spine(400, 600, 'set1.spineboy', 'idle', true);
        container.add(spineboy)

        container.setScale(0.5)
    }

    update(time, delta)
    {
        this.cameras.main.setZoom(Math.sin(time / 1000));
    }
}

const config = {
    type: Phaser.CANVAS,
    parent: 'phaser-example',
    width: 800,
    height: 600,
    backgroundColor: '#2d2d2d',
    scene: Example
};

const game = new Phaser.Game(config);

You can see how, compared to the background image, it seems to double the zoom effect. Ignore the missing parts - that's just spine meshes not working in canvas and is expected. If you flick between WEBGL and CANVAS you can see the scale mismatch.

This issue appears to be caused by the Spine objects not properly respecting the camera zoom when they are inside a scaled container. One potential solution to this issue is to manually adjust the Spine objects' scales based on the camera zoom.
Here's an example of how you could modify the provided code to achieve this:
let spineboy;
let container;
class Example extends Phaser.Scene {
constructor() {
super({
pack: {
files: [
{
type: "scenePlugin",
key: "SpinePlugin",
url: "plugins/3.8.95/SpinePluginDebug.js",
sceneKey: "spine",
},
],
},
});
}
preload() {
this.load.image("logo", "assets/sprites/phaser.png");
this.load.setPath("assets/spine/3.8/demos/");
this.load.spine("set1", "demos.json", ["atlas1.atlas"], true);
}
create() {
this.add.image(0, 0, "logo").setOrigin(0);
container = this.add.container();
spineboy = this.add.spine(400, 600, "set1.spineboy", "idle", true);
container.add(spineboy);
container.setScale(0.5);

}
update(time, delta) {
const zoom = Math.sin(time / 1000);
this.cameras.main.setZoom(zoom);
spineboy.setScale(1 / container.scale * (1 / zoom));
}
}
const config = {
type: Phaser.CANVAS,
parent: "phaser-example",
width: 800,
height: 600,
backgroundColor: "#2d2d2d",
scene: Example,
};
const game = new Phaser.Game(config);
In the update method, we calculate the current zoom and set it on the camera as before. However, we then also adjust the scale of the Spine object by dividing it by the container scale (which is fixed) and the zoom. This should allow the Spine object to correctly respect the camera zoom even when it is inside a scaled container.
Note that this is just one potential solution and there may be other ways to address this issue depending on your specific use case.
I hope this helps!

SlimHR

how do you solve this if not change to use webgl?


test: Reset structlog config after fixture_configure_structlog

Closes #6306

Before opening this PR I checked pytest tests/meltano/core/logging/test_output_logger.py tests/meltano/core/tracking/, which previously failed, but passes with these changes. Unfortunately it seems like running the full test suite still results in failure, so there must be something else messing with the log capturing.

The problem emerges when running pytest tests/meltano/core tests/meltano/core/tracking:
FAILED tests/meltano/core/plugin/singer/test_tap.py::TestSingerTap::test_run_discovery - AttributeError: 'BoundLoggerFilteringAtNotset' object has no attribute 'isEnable...
FAILED tests/meltano/core/plugin/singer/test_tap.py::TestSingerTap::test_run_discovery_failure - AttributeError: 'BoundLoggerFilteringAtNotset' object has no attribute '...
FAILED tests/meltano/core/plugin/singer/test_tap.py::TestSingerTap::test_run_discovery_stderr_output - AttributeError: <BoundLoggerLazyProxy(logger=None, wrapper_class=N...
FAILED tests/meltano/core/plugin/singer/test_tap.py::TestSingerTap::test_run_discovery_handle_io_exceptions - AssertionError: Regex pattern 'mock readline exception' doe...
FAILED tests/meltano/core/plugin/singer/test_tap.py::TestSingerTap::test_run_discovery_utf8_output - AttributeError: <BoundLoggerLazyProxy(logger=None, wrapper_class=Non...
FAILED tests/meltano/core/tracking/test_tracking.py::test_get_snowplow_tracker_invalid_endpoint - assert 0 == 2

When running tests/meltano/core/logging/test_output_logger.py tests/meltano/core/plugin/singer/test_tap.py tests/meltano/core/tracking/, we only see the first 5 failures - the one from test_get_snowplow_tracker_invalid_endpoint goes away.

@aaronsteers @pandemicsyn @edgarrmondragon If there are no changes requested, please merge this as soon as it has 2 approvals. We want to get this PR in as soon as possible to fix the failing test on main and in every branch that has recently merged in or rebased onto main. If I'm awake I'll do it myself, but my hope is that it'll be merged while I sleep.


[WIP] alpha: configure operator-sdk to work with existing kubebuilder projects

Description of the change:

pkg/plugins: SDK plugins package. Currently only Ansible is implemented
cmd/operator-sdk: switch to kubebuilder's CLI mode if a project is configured with a PROJECT file or operator-sdk is not run in an operator project. Otherwise use the current CLI. Kubebuilder CLI mode removes a few commands like build, but keeps new and deprecates it.
internal/util/kubebuilder: DieIfCmdNotAllowed will exit if a PROJECT file exists, and IsConfigExist detects PROJECT file existence
*: add TODO's for kubebuilder integration

Motivation for the change: operator-sdk should be able to work with existing kubebuilder projects as a binary with a superset of kubebuilder binary features given the upcoming kubebuilder integration. To that end, operator-sdk alpha can invoke either the kubebuilder Go v2.0.0 or SDK plugins (currently only Ansible), emulating the behavior of operator-sdk post-integration. For example:
$ kubebuilder init --help --project-version 2
Initialize a new project including vendor/ directory and Go package directories.

Writes the following files:
- a boilerplate license file
...
$ operator-sdk init --help --project-version 2
Initialize a new project including vendor/ directory and Go package directories.

Writes the following files:
- a boilerplate license file
...

These commands will be in alpha at least until kubebuilder plugins are supported in master.
A bunch of commands already have kubebuilder equivalents; those equivalents should be used instead of the equivalent SDK command.
/kind feature
TODO:

[ ] change defaults of several commands if project is kubebuilder-style

@estroz I've created #2827 to take out just the plugins based CLI part of this PR (without the ansible plugin or generate csv cmd) so we can just get in the basic plugin CLI integration.
For generate csv I've got another PR lined up to address the issues I pointed out above.
#2827 is still in progress with some doc/example TODOs.
But one other change I'm planning to make is to reverse the convention here to make the new CLI opt-in via operator-sdk init rather than the default being KB CLI and opting into the legacy CLI via operator-sdk new.
Currently this would introduce a slight breaking change  for the CLI if you run operator-sdk -h before you initialize a new project and you see the new KB CLI.
Plus I'm thinking we can make the KB CLI the default once we have the rest of the commands (and docs) aligned so we don't end up pushing a default CLI that only partially works for the new KB layout in the next release.
I'll ping you on that PR once I can pry out the init command from the plugin to see if that's possible.


Clear horizon cached data when config changes

The keystone endpoint is cached and may not be valid across config changes. Toggling keystone TLS in particular will change the keystone url and break any existing horizon session.
Jira: OSPRH-4392

/hold

doesn't seem to work when using the memcached backend...

django-admin clearsessions doesn't resolve this either, clearing cookies seems to be the only thing that works