Multiple errors when trying to follow documentation

Hello,
This project seems awesome ! I'm trying to test it, so I'm following documentation steps but I can't make it works:
 ~/d/f/serverless  LANG=C vitedge dev --ssr                                                                                1041ms  mar. 27 avril 2021 12:11:47
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
(node:27981) ExperimentalWarning: --experimental-loader is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Pre-bundling dependencies:
  vitedge
  vue
  vitedge/vue/entry-client
  vitedge/vue/entry-server
  vite-ssr/vue/entry-client
  (...and 1 more)
(this will be run only when your dependencies or config have changed)
 > node_modules/vite-ssr/vue/entry-client.js:2:47: error: Could not resolve "vue-router" (mark it as external to exclude it from the bundle)
    2 │ import { createRouter, createWebHistory } from 'vue-router';
      ╵                                                ~~~~~~~~~~~~

 > node_modules/vitedge/vue/entry-server.js:3:27: error: Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)
    3 │ import { createHead } from '@vueuse/head'
      ╵                            ~~~~~~~~~~~~~~

 > node_modules/vitedge/vue/entry-client.js:4:27: error: Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)
    4 │ import { createHead } from '@vueuse/head'
      ╵                            ~~~~~~~~~~~~~~

 > node_modules/vitedge/vue/utils.js:1:50: error: Could not resolve "vue-router" (mark it as external to exclude it from the bundle)
    1 │ import { createRouter, createMemoryHistory } from 'vue-router'
      ╵                                                   ~~~~~~~~~~~~

 > node_modules/vite-ssr/vue/entry-server.js:3:50: error: Could not resolve "vue-router" (mark it as external to exclude it from the bundle)
    3 │ import { createRouter, createMemoryHistory } from 'vue-router';
      ╵                                                   ~~~~~~~~~~~~

 > node_modules/vite-ssr/vue/entry-server.js:8:35: error: Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)
    8 │ import { renderHeadToString } from '@vueuse/head';
      ╵                                    ~~~~~~~~~~~~~~

/home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:1224
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 6 errors:
node_modules/vite-ssr/vue/entry-client.js:2:47: error: Could not resolve "vue-router" (mark it as external to exclude it from the bundle)
node_modules/vite-ssr/vue/entry-server.js:3:50: error: Could not resolve "vue-router" (mark it as external to exclude it from the bundle)
node_modules/vite-ssr/vue/entry-server.js:8:35: error: Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)
node_modules/vitedge/vue/entry-client.js:4:27: error: Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)
node_modules/vitedge/vue/entry-server.js:3:27: error: Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)
...
    at failureErrorWithLog (/home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:1224:15)
    at buildResponseToResult (/home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:936:32)
    at /home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:1035:20
    at /home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:568:9
    at handleIncomingPacket (/home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:657:9)
    at Socket.readFromStdout (/home/guillaume/dev/serverless/node_modules/esbuild/lib/main.js:535:7)
    at Socket.emit (node:events:378:20)
    at addChunk (node:internal/streams/readable:313:12)
    at readableAddChunk (node:internal/streams/readable:288:9)
    at Socket.Readable.push (node:internal/streams/readable:227:10) {
  errors: [
    {
      detail: undefined,
      location: {
        column: 47,
        file: 'node_modules/vite-ssr/vue/entry-client.js',
        length: 12,
        line: 2,
        lineText: "import { createRouter, createWebHistory } from 'vue-router';",
        namespace: ''
      },
      notes: [],
      text: 'Could not resolve "vue-router" (mark it as external to exclude it from the bundle)'
    },
    {
      detail: undefined,
      location: {
        column: 50,
        file: 'node_modules/vite-ssr/vue/entry-server.js',
        length: 12,
        line: 3,
        lineText: "import { createRouter, createMemoryHistory } from 'vue-router';",
        namespace: ''
      },
      notes: [],
      text: 'Could not resolve "vue-router" (mark it as external to exclude it from the bundle)'
    },
    {
      detail: undefined,
      location: {
        column: 35,
        file: 'node_modules/vite-ssr/vue/entry-server.js',
        length: 14,
        line: 8,
        lineText: "import { renderHeadToString } from '@vueuse/head';",
        namespace: ''
      },
      notes: [],
      text: 'Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)'
    },
    {
      detail: undefined,
      location: {
        column: 27,
        file: 'node_modules/vitedge/vue/entry-client.js',
        length: 14,
        line: 4,
        lineText: "import { createHead } from '@vueuse/head'",
        namespace: ''
      },
      notes: [],
      text: 'Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)'
    },
    {
      detail: undefined,
      location: {
        column: 27,
        file: 'node_modules/vitedge/vue/entry-server.js',
        length: 14,
        line: 3,
        lineText: "import { createHead } from '@vueuse/head'",
        namespace: ''
      },
      notes: [],
      text: 'Could not resolve "@vueuse/head" (mark it as external to exclude it from the bundle)'
    },
    {
      detail: undefined,
      location: {
        column: 50,
        file: 'node_modules/vitedge/vue/utils.js',
        length: 12,
        line: 1,
        lineText: "import { createRouter, createMemoryHistory } from 'vue-router'",
        namespace: ''
      },
      notes: [],
      text: 'Could not resolve "vue-router" (mark it as external to exclude it from the bundle)'
    }
  ],
  warnings: [
    {
      detail: undefined,
      location: {
        column: 63,
        file<EMAIL_ADDRESS>        length: 7,
        line: 99,
        lineText: "    return (compileCache[template] = Function('require', code)(require));",
        namespace: ''
      },
      notes: [],
      text: 'Indirect calls to "require" will not be bundled (surround with a try/catch to silence this warning)'
    }
  ]
}

Here is the steps I've done:
~/d   npm init @vitejs/app serverless --template vue                                                                                425ms  mar. 27 avril 2021 11:50:13
✔ Select a framework: · vue
✔ Select a variant: · JavaScript

Scaffolding project in /home/guillaume/dev/serverless...

Done. Now run:

  cd serverless
  npm install
  npm run dev

 ~/d  cd serverless/                                                                                5.3s  mar. 27 avril 2021 11:50:42
 ~/d/serverless  npm install                                                                                mar. 27 avril 2021 11:50:44

added 55 packages, and audited 56 packages in 5s

3 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
 ~/d/serverless  npm i vitedge                                                                                5.1s  mar. 27 avril 2021 11:51:20
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: 'node >= 14' },
npm WARN EBADENGINE   current: { node: 'v15.11.0', npm: '7.6.0' }
npm WARN EBADENGINE }

added 74 packages, and audited 130 packages in 9s

8 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
 ~/d/serverless  mkdir -p functions/props                                                                                9.7s  mar. 27 avril 2021 11:51:54
 ~/d/serverless  mkdir -p functions/api

I've updated files:
vite.config.js
import { defineConfig } from 'vite'
import vitedgePlugin from 'vitedge/plugin.js'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vitedgePlugin(), vue()]
})

/src/main.js
import './index.css'
import App from './App.vue' // App.jsx
import routes from './routes'
import vitedge from 'vitedge'

export default vitedge(
  App,
  { routes },
  ({ app, router, isClient, initialState }) => {
    // Custom setup hook.
    // E.g. set initialState in a store, install plugins, etc.
  }
)

( it's not explained in the documentation, but I've took a part of a routes.js from the samples on your git )
/src/routes.js
export default [
    {
      path: '/',
      component: () => import('./pages/home.vue'),
      name: 'home',
      meta: {
        propsGetter: 'default',
      },
    },
   {
      path: '/:catchAll(.*)',
      name: 'not-found',
      component: () => import('./pages/404.vue'),
      meta: {
        propsGetter: false,
      },
    },
  ]

And created 2 simples /pages/ .vue files:
/pages/404.vue
<template>

Not found

    Home

</template>

/pages/home.vue
<template>

Homepage

    Home

</template>

BTW if I start the server without the --ssr mode, I can go on the localhost:3000 but with an empty white page and my browser try 2 requests for index.html and favicon with a 404 error.
Any idea ?
Thanks

@lakano Hi, thanks for the detailed issue!
I would recommend checking this starter template which should work: https://github.com/frandiox/vitessedge-template
Try removing plugins you don't need such as PWA, etc.
The docs are probably missing some dependency installation such as Vue Head. I'll try to update them in the coming days when I have some holidays!

BTW if I start the server without the --ssr mode, I can go on the localhost:3000 but with an empty white page and my browser try 2 requests for index.html and favicon with a 404 error.

Not sure why that's happening but it should be working in the starter template as well (yarn dev:spa).

Thanks for the answer @frandiox, I'll try to compare with this vitessedge-template yes, and give you a feedback here.
( I've seen it before, but my goal is to have the best performances to reduce SSR time execution, I would like to have something very light )

I confirm, the missing packages are vue-router and @vueuse/head, now it's works :)


Bug comenting and definitions obstacle

Too many lines changed. Modified pull #143 and use that instead.


Presubmits on engine PRs queueing for a long time

See
https://github.com/flutter/engine/pull/28416
https://github.com/flutter/engine/pull/28414

I have kicked off the tasks for these 2 PRs manually, as per advice from @CaseyHillers

The checks have all passed successfully. They seem to have been effected by a specific outage we had yesterday, which caused some PRs checks to not be scheduled.
Closing this, please reopen if there are any other problems.


Update changelog generation

Description
Update changelog generation

Only include things from mineral-ui package, not previous @mineral-ui packages
Remove changelog header, as it is more trouble than it is worth
Don’t append entries. While that kept the header, it sorted commits in reverse

Motivation and context
I created the changelog following recent commits and it still included all previous commits from the history of the repo, which is not what we want.  We only want to show entries since the creation of the mineral-ui package.
How to test

npm run release
When prompted to publish, select no
View changelog - it should have new entries only
Revert local changes caused by release script.  "a git tag and 2 commits"

Types of changes

Other (provide details below)

build - update release script for changelog generation
Checklist

[x] Renders and functions properly in all supported browsers - [n/a]
[x] Automated tests written and passing - [n/a]
[x] Accessibility and inclusivity considered - [n/a]
[x] Rendering performance (initial load time & 60fps) and perceived performance considered - [n/a]
[x] Documentation created or updated - [n/a]
[x] Tested in sandbox if new component or breaking change - [n/a]

excellent! works for me. 👍


fix(warnings): fix warnings

close #656LiveURL: https://smartfaq-656-get-rid-of-warning.surge.sh

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[MRG] Implement GP-Hedge acquisition function

This implements the GP-Hedge acquisition function as described in Algorithm 2 of https://dslpitt.org/uai/papers/11/p327-hoffman.pdf
The idea is given a number of acquisition functions, at every tell to choose the best acquisition function that gives the maximum gain.

Running benchmarks right now.

Looks sound and simple! Curious to see the results

Hmm, it should be possible to have a decaying schedule for the gains so that more recent gains is given more weightage. Not sure if that has been experimented with.

Does not look promising unless I made some obvious mistakes.
On Master:

Blackbox Function
Minimum
Best minimum
Mean f_calls to min
Std f_calls to min
Fastest f_calls to min

Branin
0.398 +/- 0.000
0.398
93.8
51.581
44

Hart6
-3.281 +/- 0.055
-3.321
65.1
37.522
30

In this branch:

Blackbox Function
Minimum
Best minimum
Mean f_calls to min
Std f_calls to min
Fastest f_calls to min

Branin
0.398 +/- 0.000
0.398
127.8
49.2134
46

But for hart6, it reaches a better minimum within 200 calls. i.e -3.310. I'm going to lower the budget for both and report the results.

Ah I see, what the problem was. The minimum was minimum by the order of the 4th decimal place hence the very high value for this branch. Should we set acquisition function equal to gp_hedge by default? Also this is ready for review from my side.
This branch:
On hart6 with budget=50 calls, -3.293 +/ 0.041
On branin with budget=50 calls, 0.398 +/ 0.000
Master:
On hart6 with budget=50 calls, -3.152 +/ 0.028
On branin with budget=50 calls, 0.400+/ 0.001

I reverted the "gp_hedge" for the forest and gbrt functions since they seem to perform worse. Apart from that this should be okay.

I have made some changes. Would like your feedback. The problem is that for the gp_hedge function, the candidate acquisition functions are optimized independently.

Done.

Sorry, I missed your changes. Merging!


Support for Android 10

Function hooking requires modifications for Android 10 compatibility:

[ ] C++ mangled symbol names
[ ] Execute-only memory (XOM)
[ ] Control flow integrity (CFI) (?)

This means that any mode using function hooking does not work on 10: clone mode, tag role of relay and replay mode. On-device capture mode and reader roles are not affected.

Added with e84644f0d7cae8b3b43991ddf4eb9371688e2ede


How to install Spyder to a directory and make it portable?

Hi,
I'd like to make a portable distribution of Spyder for Linux. Specifically I'd like to install Spyder to /AppDir/usr. I've run python setup.py install --prefix=/AppDir/usr but when I move this directory elsewhere it fails to launch as it is using absolute paths (as opposed to relative paths). Is there a way to compile Spyder so that it will use relative paths as opposed to absolute paths and hence be portable?
Thanks for your time,
Brenton

I have asked a question at StackOverflow to this effect.

Sorry, we haven't consider nor we are interested in this possibility.


Change the modules map to use &'static str instead of String.

The CudaDevice stores the modules in an RwLock<BTreeMap<String, CudaModule>>.  This makes me concerned, since I will have ~100 modules loaded for my application and comparing heap strings this way is a very slow process. I suggest  using &'static str and a HashMap.  This will allow us to avoid uneccessary heap allocations and decrease the number of comparisons needed when searching for a module.
pub struct CudaDevice {
     modules: RwLock<HashMap<&'static str, CudaModule>>,
     ... etc
}

Benchmarking is obviously required to be certain. I look forward to hearing your thoughts, I'm a college student and would love to understand your process.
It is also entirely possible the compiler is doing all of this for us.

You can't use dynamically constructed names for your modules with &'static str. For you case, in general 100 strings isn't going to add much overhead, so I wouldn't worry about that!


refactor: implement reverse argument binding

This PR implements reverse binding and refactors the binding code within Puppeteer.

What is a reverse argument binding and why do we need it?

What is a reverse argument binding and why do we need it?

I've added a description within the PR now.


Changed requirement for requests to compatible

Compatible allows automatic security updating without fear of breakage.

Looks good :+1:
Thank you for the pull request!


General: Drop lti_user_id table

Do not deploy to test server
Checklist
General

[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.

Motivation and Context
Continuation of https://github.com/ls1intum/Artemis/pull/5857. The table drop is in a separate/follow-up PR so that the previous PR could be deployed to test servers without issues.
Description
Drops the now unused and unnecessary lti_user_id table.
Steps for Testing

Database access in the test server

Verify the PR was deployed to the test server
Verify the table was dropped

Review Progress
Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Codecov Report

Merging #6177 (1dc1171) into develop (3806042) will decrease coverage by 4.28%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #6177      +/-   ##
=============================================
- Coverage      84.55%   80.27%   -4.28%
  Complexity     12903    12903
=============================================
  Files           1056     2285    +1229
  Lines          41927    88674   +46747
  Branches        4406    13101    +8695
=============================================
+ Hits           35451    71183   +35732
- Misses          4051     9743    +5692
- Partials        2425     7748    +5323

Impacted Files
Coverage Δ

...in/webapp/app/entities/quiz/answer-option.model.ts
100.00% <0.00%> (ø)

...bapp/app/shared/info-panel/info-panel.component.ts
100.00% <0.00%> (ø)

...text/manage/text-exercise/text-exercise.service.ts
100.00% <0.00%> (ø)

...ming/participate/programming-submission.service.ts
62.44% <0.00%> (ø)

...anage/test-runs/create-test-run-modal.component.ts
88.23% <0.00%> (ø)

.../webapp/app/admin/health/health-modal.component.ts
76.92% <0.00%> (ø)

...statistics/exercise-detail-statistics.component.ts
100.00% <0.00%> (ø)

...ode-editor-tutor-assessment-container.component.ts
74.12% <0.00%> (ø)

...exercise-instructor-exercise-download.component.ts
94.11% <0.00%> (ø)

...in/webapp/app/entities/exam-user-activity.model.ts
97.14% <0.00%> (ø)

... and 1219 more

Flag
Coverage Δ

client
76.43% <ø> (?)

server
84.55% <ø> (ø)

Continue to review full report at Codecov.

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


add Gruvbox color for Kaapi theme

Hi @Jom97 , I took your work as a basis for applying the Gruvbox colour palette :
https://github.com/morhetz/gruvbox-contrib
But I couldn't find where the color of "preserve_1" is applied.

But I couldn't find where the color of "preserve_1" is applied.

I don't think "preserve_1" is used anywhere. I just left it in, just in case.

Hi @Jom97 , I took your work as a basis for applying the Gruvbox colour palette :
https://github.com/morhetz/gruvbox-contrib

I'm fine with merging these changes. But i don't have the write access. Also I think it'll be a good idea to create your own theme if you plan on further developing your theme.

I agree, if you plan further development I think it's better to create another one, otherwise just keep it like that

@Jom97 @morpheusthewhite
I might maybe make a new theme later.
In first time, just adding an alternative palette is already satisfying!
I'll let you judge if you want to merge or not.

Yeah i'd like to merge this.


build(deps): bump com.google.guava:guava in /sdk/java

Bumps com.google.guava:guava from 31.1-jre to 32.1.2-jre.

Release notes
Commits

This also necessitates manual update of protobuf from 3.22.3 to 3.24.1 to avoid dependency convergence errors flagged by make test_exampe.minimal.
Updated generated code expectations to match.

updated-dependencies:

dependency-name: com.google.guava:guava dependency-type: direct:production ...

Description

Fixes # (issue)
Checklist

[ ] I have added tests that prove my fix is effective or that my feature works

[ ] I have updated the CHANGELOG-PENDING file with my change

[ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version

I think this is currently blocked on https://github.com/pulumi/examples/pull/1482

OK that's blocked on https://github.com/pulumi/examples/pull/1483 - should be almost there.


⚠ Bofrost.at has degraded performance

In 13b7b22, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2606 ms

Resolved: Bofrost.at performance has improved in 615f084.


[ADP-2565] Add shrinker to prop_StoreUpdate

Overview
This task is about adding a shrinker to prop_StoreUpdate. This makes the development of custom Store easier, as the automatic check now produces smaller counterexamples in the case of a bug.
Comments

The type signature of prop_StoreUpdate changes which requires all dependent code to adapt.

Issue number
ADP-3064

bors merge

bors merge


Type information missing in package

In the published package, type information is missing.
This is because the path mapping in the project is not transpiled.
Adding these two fixes it:
https://github.com/nonara/ts-patch
https://github.com/LeDDGroup/typescript-transform-paths

I have changed the approach, because this is not working correctly and debugging that is just increasing the complexity.
All module mappings have been taken out and paths in the source code are relative and explicit.


React-Native 0.43-rc4 depends on React-0.16-alpha-3

Hi,
What's going on with the dependency on React for the next RN release?
Right now 0.43-rc4 is pointing to an alpha version of React.
ping @acdlite

facebook is using react-master in production! :)

How to upgrade to React-Native 0.43-rc4?

React-native have been released with a dep on React 0.16-alpha.
Let's close.


UI-Select enhanced example

I could not implement multiple-select using the docs, and it took me all day to figure out the secret sauce.
Here's a revised jsbin illustrating multi-select with UI-select and select2:
http://jsbin.com/nihiza/3/edit?js,output

Neat! Thanks for doing this! Could you follow the steps here to get this added to the website? Thanks again :+1:

Kent, will.
BTW, Contributing needs to be on the main page under Get Help on the left.  I looked everywhere on the website (probably not exhaustively) for the process, but it wasn't immediately obvious for new users of formly.  Would you like me to submit a PR for that too?

Sure thing! Thanks!

Kent C. Dodds

(Sent from my mobile device, please forgive typos or brevity)
On Aug 27, 2015 5:14 AM, "drmikecrowe"<EMAIL_ADDRESS>wrote:

Kent, will.
BTW, Contributing needs to be on the main page under Get Help on the left.
I looked everywhere on the website (probably not exhaustively) for the
process, but it wasn't immediately obvious for new users of formly. Would
you like me to submit a PR for that too?
—
Reply to this email directly or view it on GitHub
https://github.com/formly-js/angular-formly/issues/441#issuecomment-135388851
.

Hey guys, there appears to be something broken with the example since angular 1.4.
http://jsbin.com/nihiza/3/edit?html,output <-- broken
Im getting the following in my codebase..
 Error: [$compile:ctreq] Controller 'select', required by directive 'ngOptions', can't be found!

Any thoughts would be appreciated.

That jsbin is out dated so the scripts aren't being loaded properly. Here's the updated version:
https://jsbin.com/xuyogoy/edit?html,console,output
I'm also seeing that error. I'm not sure what the problem is. Anyone else?

Legendary thank you :)
On Wed, Jan 13, 2016 at 2:29 PM, Kent C. Dodds<EMAIL_ADDRESS>wrote:

That jsbin is out dated so the scripts aren't being loaded properly.
Here's the updated version:
https://jsbin.com/xuyogoy/edit?html,console,output
I'm also seeing that error. I'm not sure what the problem is. Anyone else?
—
Reply to this email directly or view it on GitHub
https://github.com/formly-js/angular-formly/issues/441#issuecomment-171289913
.

PS. found the issue was I was using angular#1.4.9 but the example only works ~= 1.4.7

So just to confirm.. formly is still using the now depreciated
angular-select2 lib? and not https://github.com/angular-ui/ui-select
On Wed, Jan 13, 2016 at 2:30 PM, Ross<EMAIL_ADDRESS>wrote:

Legendary thank you :)
On Wed, Jan 13, 2016 at 2:29 PM, Kent C. Dodds<EMAIL_ADDRESS>wrote:

That jsbin is out dated so the scripts aren't being loaded properly.
Here's the updated version:
https://jsbin.com/xuyogoy/edit?html,console,output
I'm also seeing that error. I'm not sure what the problem is. Anyone else?
—
Reply to this email directly or view it on GitHub
https://github.com/formly-js/angular-formly/issues/441#issuecomment-171289913
.

Formly only depends on angular and api-check (see package.json). You can see the dependencies of that example in the head tag:

    <!-- Twitter bootstrap -->
    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet">

    <!-- apiCheck is used by formly to validate its api -->
    <script src="//npmcdn.com/api-check"></script>
    <!-- This is the latest version of angular (at the time this template was created) -->
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.js"></script>

    <!-- This is the latest version of formly core. -->
    <script src="//npmcdn.com/angular-formly"></script>
    <!-- This is the latest version of formly bootstrap templates -->
    <script src="//npmcdn.com/angular-formly-templates-bootstrap"></script>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.13.0/ui-bootstrap-tpls.min.js"></script>

    <!-- ui-select files -->
    <script src="https://rawgit.com/angular-ui/ui-select/master/dist/select.js"></script>
    <link rel="stylesheet" href="https://rawgit.com/angular-ui/ui-select/master/dist/select.css">
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-sanitize.js"></script>

    <!-- Select2 theme -->
    <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/select2/3.4.5/select2.css">

    <!--
Selectize theme
Less versions are available at https://github.com/brianreavis/selectize.js/tree/master/dist/less
-->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.8.5/css/selectize.default.css">
    <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.8.5/css/selectize.bootstrap2.css"> -->
    <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.8.5/css/selectize.bootstrap3.css"> -->

Latest versions of angular select throw an error.
Error: [ui.select:iexp] Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{{to.ngOptions}}'. trying to figure out how to resolve this, does anyone else already have a solution?


Incorrect edge case in treating escaped characters in quoted strings

I believe that the following is parsed incorrectly:
Python 3.6.4 (default, Mar  9 2018, 23:15:03)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(ins)>>> from textx.metamodel import metamodel_from_str
(ins)>>> mm = metamodel_from_str('Root: STRING;')
(ins)>>> mm.model_from_str(r"'\\' a'")
"\\' a"

In my understanding, \\ should be interpreted as a single backslash, the following ' should terminate the string, which should leave the hanging  a' as non-parseable.

Er, sorry, this should have gone to Arpeggio, I guess.

No problem. :)
Yes, It seems that you are right. I'll have to do some more investigation.


[5.11][stdlib] Bump runtime version indicator to 5.11

The stdlib built from main needs to report itself as version 5.11.
This also includes the definition of the v5.10 from #69444.
rdar://117549628

@swift-ci test

@stephentyrone @Azoy  I also pushed a commit that defines SwiftStdlib 5.11 as a version macro here. (5.10 is already defined, both here and on release/5.10.)

@swift-ci test


[Network] Add more platforms to ssh

Description
The current ssh discovery function only works for Windows. This adds in some logic to find the binary for Darwin and Linux as well.
Testing Guide
This allows the use of the Azure Bastion SSH functionality on Mac and Linux, mostly around using:
az network bastion ssh
History Notes
[Network] : az command network: Provide support for Bastion SSH access on Darwin and Linux

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network

@matthewyeazelbayer,
May I ask whether this pr is customer-facing ?
If not, please change title to {Network} Add more platforms to ssh

@wangzelin007 yes it is customer-facing. Users can now use two new platforms for az bastion ssh


React-native link seem to be broken

Hi,
Everything works fine for me, but for those libraries that need to be linked to the project ,
when I execute the command react-native link the process runs in a sort of loop. If I try to execute the application of course everything seems to be linked correctly but the linking process always remains in the loop  until I force it to close manually. Its difficult to prove it with a snack so i put only this for now.Maybe it can be a bug only for me idk....

@hustlercoder did you try this https://stackoverflow.com/questions/54998640/getting-error-while-doing-react-native-link

@HarshitMadhav  but ii don't get any error. The command is executed but remains in a continuous loop trying to resolve the dependencies. If I open another terminal at the same time and execute react-native run-android everything works, even the new libraries I just installed and I'm trying to link, but the linking process always remains in loop until I give the command ctrl c.

Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code.
Also, since this is caused by the CLI, I'd suggest that once you have a way to repro this you submit an issue to the dedicated repo: https://github.com/react-native-community/cli
Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗

@hustlercoder  can you post a video link of what's happening?


feat: improved price product selection

What

The product selection for prices was a bit confusing.
The current PR found inspiration in the web app, with 2 buttons - barcode type and scan.
In both cases, local and server searches are automatically performed.
This was a good opportunity to improve the use of Provider for those pages, which was not superfluous.

Screenshot

price page
barcode input dialog

Files
Deleted file:

price_product_search_page.dart

New file:

price_add_product_card.dart: Card where the user can input a price product: type the barcode or scan.

Impacted files:

price_amount_card.dart: removed the "no product" option; refactored Provider and Controllers
price_amount_model.dart: minor refactoring
price_meta_product.dart: removed the "no product" option; async load of data (local+server)
price_model.dart: minor refactoring
product_price_add_page.dart: refactored Provider; now using new widget PriceAddProductCard
user_preferences_account.dart: minor refactoring

Codecov Report
Attention: Patch coverage is 0.66225% with 150 lines in your changes missing coverage. Please review.

Project coverage is 6.96%. Comparing base (4d9c7fc) to head (2229069).
Report is 293 commits behind head on develop.

Files with missing lines
Patch %
Lines

...h_app/lib/pages/prices/price_add_product_card.dart
1.72%
57 Missing :warning:

...h_app/lib/pages/prices/product_price_add_page.dart
0.00%
43 Missing :warning:

...smooth_app/lib/pages/prices/price_amount_card.dart
0.00%
26 Missing :warning:

...mooth_app/lib/pages/prices/price_meta_product.dart
0.00%
18 Missing :warning:

...mooth_app/lib/pages/prices/price_amount_model.dart
0.00%
3 Missing :warning:

...kages/smooth_app/lib/pages/prices/price_model.dart
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5564      +/-   ##
==========================================
- Coverage     9.54%   6.96%   -2.58%
==========================================
  Files          325     400      +75
  Lines        16411   21152    +4741
==========================================
- Hits          1567    1474      -93
- Misses       14844   19678    +4834

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@teolemon @raphael0202 Only some tests to be performed live, and we're good!

Thank you @teolemon for your review!
I've recently detected a bug in this PR, I'll fix it in a couple of days before merging.

In the latest push:

fixed a "duplicate barcode" error
minor label changes
upgraded to off-dart 3.14, that supports the latest Prices API (including the fix about top contributor list).

Still need to go on errands in order to double-check the Prices IRL.

new label for "text input"
duplicate barcode check


SkiaSharp.SKObject.Dispose can throw ArgumentNullException on finalization

Had a customer complaining about crashes in Visual Studio while using SkiaSharp in the WinForms designer: https://developercommunity.visualstudio.com/content/problem/228761/crashing-when-debugging-a-skiasharp-winforms-app-i.html.
Looking into his crashes it looks like SkiaSharp.SKObject.Dispose can throw on finalization:
   at System.Threading.Monitor.ReliableEnter(System.Object, Boolean ByRef)
   at SkiaSharp.SKObject.Dispose(Boolean)
   at SkiaSharp.SKPaint.Dispose(Boolean)
   at SkiaSharp.SKNativeObject.Finalize()

If you look at Dispose, you can see multiple paths where it attempts to access managed instance and static fields that have no guarantee about already being cleaned up by the time the finalizer has run: https://github.com/mono/SkiaSharp/blob/9a0bff839b2a951334252a18f94cb7367c06c5de/binding/Binding/SKObject.cs#L63
Any access to member/static reference fields should be guarded with if (disposing).  Or Better yet, wrap the unmanaged handle in a SafeHandle and let it free it.

Actually I I'm wrong here - while you shouldn't really touch reference fields in finalize, none of them should null. What I suspect is happening, is that SKPaint is throwing in its constructor (perhaps https://github.com/mono/SkiaSharp/blob/9a0bff839b2a951334252a18f94cb7367c06c5de/binding/Binding/SKPaint.cs#L21) which leaves this field null, but the finalizer still is run. The following demonstrates:
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                new SKPaint();
            }
            catch (Exception)
            {

            }
        }
    }

    class SKPaint : SKObject
    {
        public SKPaint()
            : base(sk_paint_new())
        {
        }

        private static IntPtr sk_paint_new() { throw new Exception(); }
    }

    class SKObject
    {
        private readonly List<string> ownedObjects = new List<string>();

        internal SKObject(IntPtr handle)
        {
        }

        ~SKObject()
        {
            lock (ownedObjects)
            {
            }
        }
    }

Which outputs:
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.ReliableEnter(Object obj, Boolean& lockTaken)
   at System.Threading.Monitor.Enter(Object obj, Boolean& lockTaken)
   at ConsoleApp237.SKObject.Finalize()

I encountered the same issue on Debian when libSkiaSharp.so was absent.

@davkean Thanks for your info and research. I fixed this issue and it is now in master.


How to fit model better?

Could you please help me understand this results in detail?
This is from hifi data for a diploid plant, which was estimated (could be off) for around 4.2G.
I want to understand,

If the code the correct for a diploid or I need to modify some values (such as coverage or cutoff) for better model fitting?
What to make of the 100X model peak in the transformed liner plot. Is this is a model error?
Is the coverage threshold correct or should it be around 1e+8 in transformed log plot?
I get the similar estimates for 19-31 kmers.

If better model fitting is possible, lease provide additional flags in my code below. I am new to genomescope2 and struggling with it.
The run code and results are below.
        meryl count k=19 output k19.meryl ${HiFi}
        meryl histogram k19.meryl/ > k19_meryl.hist
        Rscript ${genomescope2} -i k19_meryl.hist -k 19 -o k19_genomescpe

**SUMMARY**
GenomeScope version 2.0
input file = k19_meryl.hist
output directory = k19_genomescpe
p = 2
k = 19

property                      min               max
Homozygous (aa)               97.8179%          97.9608%
Heterozygous (ab)             2.03921%          2.1821%
Genome Haploid Length         5,245,809,148 bp  5,308,629,526 bp
Genome Repeat Length          4,725,949,621 bp  4,782,544,501 bp
Genome Unique Length          519,859,527 bp    526,085,025 bp
Model Fit                     13.268%           94.1095%
Read Error Rate               0.0770237%        0.0770237%

**MODEL**
Formula: y_transform ~ x^transform_exp * length * predict2_0(r1, k, d, kmercov, bias, x)

Parameters:
         Estimate Std. Error t value Pr(>|t|)
d       2.114e-01  4.481e-03   47.19   <2e-16 ***
r1      2.111e-02  3.572e-04   59.09   <2e-16 ***
kmercov 2.508e+01  7.464e-02  336.02   <2e-16 ***
bias    6.788e-01  3.456e-02   19.64   <2e-16 ***
length  6.632e+08  5.119e+06  129.55   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 28650000 on 1995 degrees of freedom

Number of iterations to convergence: 7
Achieved convergence tolerance: 1.49e-08

Liner Plot

Transformed liner plot

Log plot

Transformed log plot

The fit here is pretty good, except the model (in black) is a bit below the
observed counts (in blue) for the heterozygous peak at 25x. This suggests
that GenomeScope has (modestly) underestimated the heterozygosity but I
expect the haploid genome length to still be around 5.3Gb. How did you get
the estimate for 4.2Gb? Have you tried running an assembler? For this
dataset I would recommend hifiasm. Note this has a high rate of
heterozygosity so the two haplotypes should assemble separately so will
need to look carefully at the primary assembly vs the individual haplotypes
Good luck!
Mike
On Sun, Sep 1, 2024 at 10:45 AM gunjanpandey @.***>
wrote:

Could you please help me understand this results in detail?
This is from hifi data for a diploid plant, which was estimated (could be
off) for around 4.2G.
I want to understand,

If the code the correct for a diploid or I need to modify some
values (such as coverage or cutoff) for better model fitting?
What to make of the 100X model peak in the transformed liner plot.
Is this is a model error?
Is the coverage threshold correct or should it be around 1e+8 in
transformed log plot?
I get the similar estimates for 19-31 kmers.

If better model fitting is possible, lease provide additional flags in my
code below. I am new to genomescope2 and struggling with it.
The run code and results are below.
    meryl count k=19 output k19.meryl ${HiFi}
    meryl histogram k19.meryl/ > k19_meryl.hist
    Rscript ${genomescope2} -i k19_meryl.hist -k 19 -o k19_genomescpe

SUMMARY
GenomeScope version 2.0
input file = k19_meryl.hist
output directory = k19_genomescpe
p = 2
k = 19
property                      min               max
Homozygous (aa)               97.8179%          97.9608%
Heterozygous (ab)             2.03921%          2.1821%
Genome Haploid Length         5,245,809,148 bp  5,308,629,526 bp
Genome Repeat Length          4,725,949,621 bp  4,782,544,501 bp
Genome Unique Length          519,859,527 bp    526,085,025 bp
Model Fit                     13.268%           94.1095%
Read Error Rate               0.0770237%        0.0770237%
MODEL
Formula: y_transform ~ x^transform_exp * length * predict2_0(r1, k, d, kmercov, bias, x)
Parameters:
Estimate Std. Error t value Pr(>|t|)
d       2.114e-01  4.481e-03   47.19   <2e-16 ***
r1      2.111e-02  3.572e-04   59.09   <2e-16 ***
kmercov 2.508e+01  7.464e-02  336.02   <2e-16 ***
bias    6.788e-01  3.456e-02   19.64   <2e-16 ***
length  6.632e+08  5.119e+06  129.55   <2e-16 ***
Signif. codes:  0 ‘’ 0.001 ‘’ 0.01 ‘’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 28650000 on 1995 degrees of freedom
Number of iterations to convergence: 7
Achieved convergence tolerance: 1.49e-08
image.png (view on web)
https://github.com/user-attachments/assets/1bec491b-6481-4c8b-ac62-fb1368d5e197 image.png
(view on web)
https://github.com/user-attachments/assets/4cbdd88a-e423-4bfc-9afc-a3e391e9daf7 image.png
(view on web)
https://github.com/user-attachments/assets/2d95690a-a3f5-45f9-ac91-fd2be049da12 image.png
(view on web)
https://github.com/user-attachments/assets/3208f553-846c-4691-ae53-4df3962f97c5
—
Reply to this email directly, view it on GitHub
https://github.com/schatzlab/genomescope/issues/139, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABP34YIQETGYUIS4JJY7V3ZUMSAFAVCNFSM6AAAAABNO42YROVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TSNJRGI3TINI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for your prompt reply, Mike. I highly appreciate it.
As you expect hifiasm does give an assembly of 5.3G.


Attestation API isn't under a stable/preview folder

Not sure who owns the API, but #6593 was closed because i'm not the service owner.

https://github.com/Azure/azure-rest-api-specs/pull/6655
pull request has been submitted to move attestation api under preview folder

Closing since #6655 landed


Problem with Mousewheel Control

Mousewheel Control is not working with the latest updates.

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.


I don't know what I am doing. Pull request?

Hey Meagan,
Those .DS_Store are hidden configuration files ... generally you wouldn't
want those to be stored on GitHub.
Also you are trying to store images ... I'm not sure if that is a common
thing to version control - though perhaps it is for some.
On Mon, Oct 5, 2015 at 1:26 PM, Meagan<EMAIL_ADDRESS>wrote:

Closed #5
https://github.com/learntocodemeetup/learncoding-website/pull/5.
—
Reply to this email directly or view it on GitHub
https://github.com/learntocodemeetup/learncoding-website/pull/5#event-426437526
.

Hmm so the .ds_store files have come up because I've added images?
Where do people store their images if they want to keep a back up of their files? I think I can understand the issue as you can't merge images.

.DS_store files are OSX settings files ... I think they keep your 'folder'
settings.
I am not really sure about keeping backups of images ... sounds like
something that a graphics application might handle well :)
On Mon, Oct 5, 2015 at 8:04 PM, Meagan<EMAIL_ADDRESS>wrote:

Hmm so the .ds_store files have come up because I've added images?
Where do people store their images if they want to keep a back up of their
files? I think I can understand the issue as you can't merge images.
—
Reply to this email directly or view it on GitHub
https://github.com/learntocodemeetup/learncoding-website/pull/5#issuecomment-145506724
.

small images in version control are fine, but you cant roll back changes... and if you have a large asset folder then you may be up for some large uploads/downlaods. So best to avoid.
I think the issue was with the gitignore file... but im not 100% on that

I think that if you are having problems, watch a whole course on Git/GitHub
:P
That's what I do. I find that it's easier to watch a whole few hour course,
rather than to constantly not know what is going on, and being very 'ad
hocky'.
I plan to do this at some point, I know the basics of Git/GitHub well, but
would benefit from some advanced usage skills :) There are a few good ones
out there ... I might watch the Code School ones.
On Sat, Oct 10, 2015 at 12:41 PM, cyber2024<EMAIL_ADDRESS>wrote:

small images in version control are fine, but you cant roll back
changes... and if you have a large asset folder then you may be up for some
large uploads/downlaods. So best to avoid.
I think the issue was with the gitignore file... but im not 100% on that
—
Reply to this email directly or view it on GitHub
https://github.com/learntocodemeetup/learncoding-website/pull/5#issuecomment-147037111
.

@meagan if you have a .gitignore file (notice that it is a hidden file
hence the dot) as Russ said, then you can add .DS_Store to that file and it
won't track it.
If you have node_modules you'd also add that etc :)
The idea is to not track things which are really large, or that aren't
really part of your project. So .DS_Store is an OSX configuration for
folder, i.e it stores your folder settings.
If you have anything that uses a node_module folder, then those can get
rather large, so if you included those it'd make the time to download it
quite large.
That's part of what a package.json file is for, it stores your
'dependencies' (files that your application relies on) and the version etc.
This is kind of more than you really need to know, but it just illustrates
the idea that there are some files that you don't want to track, and it's
wise to keep your repository low (as Russ said!)
On Sat, Oct 10, 2015 at 2:12 PM, Daniel Jeffery <
<EMAIL_ADDRESS>wrote:

I think that if you are having problems, watch a whole course on
Git/GitHub :P
That's what I do. I find that it's easier to watch a whole few hour
course, rather than to constantly not know what is going on, and being very
'ad hocky'.
I plan to do this at some point, I know the basics of Git/GitHub well, but
would benefit from some advanced usage skills :) There are a few good ones
out there ... I might watch the Code School ones.
On Sat, Oct 10, 2015 at 12:41 PM, cyber2024<EMAIL_ADDRESS>wrote:

small images in version control are fine, but you cant roll back
changes... and if you have a large asset folder then you may be up for some
large uploads/downlaods. So best to avoid.
I think the issue was with the gitignore file... but im not 100% on that
—
Reply to this email directly or view it on GitHub
https://github.com/learntocodemeetup/learncoding-website/pull/5#issuecomment-147037111
.


Add rustfmt option for rustfmt-preview component

It is possible to install rustfmt as a rustup component as rustfmt-preview. Installing the rustfmt-preview component and cargo-installing the cargo-fmt binary at the same time is asking for trouble (and the component add will do its best to warn you off if cargo-fmt is not managed by rustup).
I'm currently using the below override to use the rustfmt-preview component version of cargo-fmt:
[tasks.format-preview]
description = "Runs cargo-fmt from the rustfmt-preview component"
command = "cargo"
args = ["fmt"]

[tasks.format]
dependencies = ["format-preview"]

(The install_crate machinery is also lacking docs so I'm not exactly certain how it works...)
This, unlike the existing format-nightly and format-stable, assumes the presence of cargo-fmt already. It would be nice if cargo-make could add support for depending on a rustup component and add the format-preview (or after it's no longer a preview, format-rustup or similar, until it's viable to just replace format to use it) task to use that distribution channel for rustfmt.

cargo make uses the rust version it is running with, so its not calling rustup directly, you have to call it before calling cargo make to select your preferred rust version.
than when a cargo plugin is requested, cargo-make checks if that cargo command is available and ONLY if not available, it will install the crate.
Meaning, if you have fmt already, it will not try to install it.
So... if you used rustup to install your needed rust version which also installs the rustfmt, that rustfmt should be available to you and cargo-make won't install it.
Does this answer your questions or did I not understand the issue?

@CAD97 what do you think?

@CAD97 can you please update?

closing due to lack of feedback.


feat: support kafka nodeport in componentDefinition apis

Use ComponentDefinition Apis to build Kafka add-on resources
Kafka services support NodePort mode
The broker addresses are exposed through the service, and they can be provided with the expose capability later to support public/vpc network access requirements.

/cherry-pick release-0.8


Manual breadcrumbs not showing up

I have this piece of code to leave a breadcrumb:
client.leaveBreadcrumb("Verifiying nonce", {
      nonce,
      PKCENonce,
      idToken
    });

And when I look in my debugger I see that it's there:

But the interface doesn't show it:

How I'm calling notify:
const notifyError = (error, pageKey, apiCallKey, options = {}) => {
    options.originalBeforeSend = options.beforeSend;

    const beforeSend = report => {
      handleGroupingApiErrors(report, pageKey, apiCallKey);

      if (!!options.originalBeforeSend) {
        options.originalBeforeSend(report);
      }
    };

    options.beforeSend = beforeSend;

    bugsnagClient.notify(error, options);
  };

Versions:
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

Reopening to comment with what I'm doing wrong;
When I created the custom notify method, I somehow also instantiated Bugsnag twice. When adding breadcrumbs it won't show up because it's adding it to the wrong client.


multiple how to get single value

I try this sample, but i want get value "language"
I try this that ,  {{ value.language  }}
but is not work, how can I do?
import Multiselect from 'vue-multiselect'

export default {
  components: {
    Multiselect
  },
  data () {
    return {
      value: [
        { name: 'Vue.js', language: 'JavaScript' }
      ],
      options: [
        { name: 'Vue.js', language: 'JavaScript' },
        { name: 'Adonis', language: 'JavaScript' },
        { name: 'Rails', language: 'Ruby' },
        { name: 'Sinatra', language: 'Ruby' },
        { name: 'Laravel', language: 'PHP' },
        { name: 'Phoenix', language: 'Elixir' }
      ]
    }
  }
}

  Simple select / dropdown
  <multiselect v-model="value" :options="options" :multiple="true" :close-on-select="false" :clear-on-select="false" :hide-selected="true" :preserve-search="true" placeholder="Pick some" label="name" track-by="name">
    <template slot="tag" scope="props">{{ props.option.language }}❌</template>
  </multiselect>

{{ value  }}

Hi @niusmake. You're selecting multiple options here, so value is an array, therefore you can't call language on the array. If you want all selected languages, you can map through all your selected values:
value.map(item => item.language)

Name value is probably the most misleading thing here, since you're actually selecting many values.

oh!  thank you very much!
is work!!
thanks!^^


[#8711] Migrating to Gradle From Maven

ref: #8711

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


Add option for different refresh interval while driving

After #13 is implemented, another nice feature would be an additional setting for a different refresh interval while driving.
Example:
Refresh every 5 minutes and every minute while driving.
I guess whether the car is driving might be determined by looking at whether there's an active trip. At least it's somewhere in the API, because the Mojio app from Telekom Germany shows that the car is driving.
The default value would be the same as for the normal refresh interval (and defaulting to that default of 5 minutes if that's not specified either.
It should be possible to maintain this parameter with and without the regular refresh interval.

This is going to be an amazing fun! Couldn't it be shortened even more when driving, for example to 5s? I would like to set up automation for it, where when I arrive home the gate opens and the lights turn on.

Pulling every 5 seconds is way too aggressive for the backend. I see two ways of how your scenario could be supported:

If Mojio has a websocket or something similar, use that when a trip is active
Further increase pull interval only when getting close to the locations defined in home assistant (like home/work)

This is a very reasonable setting, i.e. if there is an active trip, download data from the trip every 1-5 minutes, if it is within a radius of 5-10 km from home, shorten it to an update every 30 seconds and up to a kilometer every 5-10 seconds, that would it didn't have to be as aggressive as you wrote. When will we see the setting option? :)

The dongle/app updates every minute!

When the car is moving, status will change to moving.   Additionally, ignition_state will be true and parked will be false. You can grab the current Trip, but there isn't much data in it.  All the location information is found on the Vehicle.


fix wrong path to training example data

Solves: https://github.com/GoogleCloudPlatform/java-docs-samples/issues/1313

Investigating test failures


Import pocket highlights

Another potentially sweet feature would be to have the ability to import Pocket highlights when creating the relevant Pocket note. Possibly something similar to the new Readwise plugin.

Thanks for the suggestion, @oldjove, and for the pointer to the Readwise plugin's solution, which looks pretty reasonable. I wanted to let you know that I am aware of it, but that it might take quite a while to get to it, because:

I'm working on this plugin on my spare time, which means a small amount of bandwidth every week to make progress on a backlog.
I'm prioritizing Pocket usecases in increasing order of complexity, which is (in my mind), link-saving/opening, link filtering/search and then lastly something like highlighting content within links.

That said, pull requests are very welcome (please reach out before writing code, to discuss how to build it) and once I get through the more basic (also probably more widely-used) Pocket usecases, I'd be happy to tackle this.

No worries @nybbles ! I appreciate that this might not be your main project, and I just mention these ideas in a helpful spirit. Unfortunately, I'm not a coder myself, so can't help you on that front. Happy developing!

Just wanted to provide an update here. Pocket does not actually have a publicly-available Highlights API, and has no plans to release one: https://twitter.com/pocketsupport/status/1490796852194811910. I find that pretty disappointing TBH, as I was seriously considering getting started on planning out this functionality.
If you want to see that support, please consider reaching out to Pocket (e.g. tweeting at them, perhaps some other means) and ask that they provide a publicly-available Highlights API, whitelist this plugin or fork it and build it themselves.
I'm closing this one, since there's nothing further I can do here.

Just found this: https://discord.com/channels/686053708261228577/707816848615407697/937306014431191070.
You can get Pocket highlights into Obsidian via Readwise and their officially-supported Obsidian plugin. This does of course mean that you need to pay for Readwise, in addition to Pocket. Just highlighting it as an option for anyone interested.


Update cost model for Vasil release

This updates the Plutus Core cost model to include some new builtins (serialiseData, verifyEcdsaSecp256k1Signature, verifySchnorrSecp256k1Signature; a couple of existing builtins have also been renamed); it also recalibrates the cost model for the version of the evaluator in this branch.
The basic cost files can be found here (builtins) and here (CEK machine costs). There's a file with these combined into a single set and flattened out here.  The CPU parameters have changed significantly since previous versions but memory parameters are pretty much the same.
Here's a table showing how the predictions of the model compare with real execution times of our validation benchmarks on our reference machine (time predictions are got by dividing the CPU budget by 1e6); none of these actually use any of the new builtins, but they do use most of the rest:

Validation predictions
Comparison of times as predicted by cost model with actual execution times.
(+ means that the model's prediction exceeds the actual time, - means that
the model's prediction is less than the actual time).
  The cost model overestimates the running time quite severely, but this is good because we want to discourage things that consume too many resources.

`nofib` predictions
Script                                      actual       predicted       accuracy
---------------------------------------------------------------------------------
clausify/formula1                          22.41 ms	  37.578 ms       +67.7%
clausify/formula2                          27.56 ms	  46.067 ms       +67.2%
clausify/formula3                          75.35 ms	 126.577 ms       +68.0%
clausify/formula4                          123.2 ms	 198.159 ms       +60.8%
clausify/formula5                          476.8 ms	 811.634 ms       +70.2%
knights/4x4                                63.58 ms	  86.974 ms       +36.8%
knights/6x6                                168.2 ms	 251.370 ms       +49.4%
knights/8x8                                278.0 ms	 423.074 ms       +52.2%
primetest/05digits                         38.87 ms	  52.806 ms       +35.9%
primetest/08digits                         71.48 ms	  97.907 ms       +37.0%
primetest/10digits                         100.4 ms	 137.805 ms       +37.3%
primetest/20digits                         201.8 ms	 278.376 ms       +37.9%
primetest/30digits                         292.5 ms	 407.461 ms       +39.3%
primetest/40digits                         391.3 ms	 546.541 ms       +39.7%
primetest/50digits                         386.9 ms	 536.130 ms       +38.6%
queens4x4/bt                               10.50 ms	  14.094 ms       +34.2%
queens4x4/bm                               14.90 ms	  19.800 ms       +32.9%
queens4x4/bjbt1                            13.11 ms	  17.716 ms       +35.1%
queens4x4/bjbt2                            13.90 ms	  19.029 ms       +36.9%
queens4x4/fc                               32.92 ms	  48.580 ms       +47.6%
queens5x5/bt                               140.0 ms	 190.055 ms       +35.8%
queens5x5/bm                               172.6 ms	 229.005 ms       +32.7%
queens5x5/bjbt1                            167.0 ms	 225.664 ms       +35.1%
queens5x5/bjbt2                            175.4 ms	 240.011 ms       +36.8%
queens5x5/fc                               418.8 ms	 625.502 ms       +49.4%

Finally, here's a comparison of the CPU costs for the validation examples according to the parameters in alonzo/rc-2, which were deployed in the Alozno HF and are still the parameters in use on the chain.  The costs are down by 20-30%.  There will also be other improvements due to things like faster deserialisation and improved compilation that aren't reflected in these figures.

Cost model predictions versus execution time on different systems
The Plutus Core cost model produces a number which is supposed to indicate the CPU time to execute a program.  The cost model itself is constructed using the results of small benchmarks (run on a reference machine) which determine the costs of the primitive operations of the Plutus Core evaluator; these are then aggregated to produce an overall cost model which assigns a total CPU cost to a given Plutus Core program.  The cost model is calibrated so that the CPU cost assigned to a program should be an approximate upper bound for the actual execution time of the program on our reference machine.
We can't demand that all Cardano nodes run on hardware identical to our reference machine, but we assume that for a given machine script execution times will be approximately proportional to execution times on our reference machine. This is arguaby an optimistic assumption, so we tested it by measuring the exeuction times of realistic validation scripts (the same ones used above) on several different machines: our reference machine ("Server" below), a desktop machine and a laptop (both running Linux and both quite old), and a Mac M1 Pro. The processors and CPU times for these are given below (I'm not sure of the details for the Mac).

Server:  Intel Xeon E3-1240 v5 @ 3.50GHz
Desktop: Intel E8400 @ 3.00GHz
Laptop:  Intel i5-4200U @ 1.60GHz
Mac M1 Pro: Rosetta emulation

A table of execution times as multiples of the CPU budget predcited by the cost model appears below, followed by a graph of the figures. We see that for each machine we do indeed get execution times which are quite consistent multiples of the CPU budget.  We don't expect to get straight lines here because the cost model is using worst-case models for Plutus Core's built-in functions, and not all programs will be using worst-case data.  Not also that the ratio for the server are generally less than 1 (ie, actual execution times are less than predicted times) because the cost model is calibrated to generally give a conservative over-approximation to execution times on the server (see the tables of actual benchmark times in an earlier comment).  Also, although the execution times on different machines are fairly consistent multiples of those on the server, the multiplicative factor isn't just the ratio of the respective CPU frequencies.  For example the CPU frequency of the server is 2.19 times that of the laptop, but execution times on the server are only about 1.68 times as fast as those on the laptop. Nevertheless, the overall consistency of the figures is very encouraging.
 Detailed table of figures (click to expand)
Script                          | Server | Desktop| Laptop | Mac M1 |
|:------------------------------|--------|--------|--------|--------|
| auction_1-1                   |  0.90  |  1.89  |  1.47  |  0.80  |
| auction_1-2                   |  0.94  |  1.98  |  1.59  |  0.82  |
| auction_1-3                   |  0.93  |  1.97  |  1.55  |  0.81  |
| auction_1-4                   |  0.89  |  1.92  |  1.48  |  0.79  |
| auction_2-1                   |  0.90  |  1.90  |  1.47  |  0.77  |
| auction_2-2                   |  0.94  |  1.98  |  1.59  |  0.81  |
| auction_2-3                   |  0.90  |  1.95  |  1.53  |  0.78  |
| auction_2-4                   |  0.93  |  1.97  |  1.57  |  0.81  |
| auction_2-5                   |  0.89  |  1.92  |  1.47  |  0.78  |
| crowdfunding-success-1        |  0.90  |  1.90  |  1.51  |  0.79  |
| crowdfunding-success-2        |  0.91  |  1.90  |  1.51  |  0.79  |
| crowdfunding-success-3        |  0.91  |  1.90  |  1.51  |  0.79  |
| currency-1                    |  0.86  |  1.84  |  1.43  |  0.71  |
| escrow-redeem_1-1             |  0.92  |  1.94  |  1.54  |  0.79  |
| escrow-redeem_1-2             |  0.92  |  1.94  |  1.57  |  0.79  |
| escrow-redeem_2-1             |  0.92  |  1.95  |  1.55  |  0.79  |
| escrow-redeem_2-2             |  0.92  |  1.95  |  1.55  |  0.79  |
| escrow-redeem_2-3             |  0.92  |  1.95  |  1.55  |  0.79  |
| escrow-refund-1               |  0.92  |  1.90  |  1.52  |  0.79  |
| future-increase-margin-1      |  0.86  |  1.84  |  1.40  |  0.72  |
| future-increase-margin-2      |  0.92  |  1.97  |  1.58  |  0.79  |
| future-increase-margin-3      |  0.92  |  1.97  |  1.58  |  0.79  |
| future-increase-margin-4      |  0.99  |  2.05  |  1.66  |  0.85  |
| future-increase-margin-5      |  0.98  |  2.07  |  1.62  |  0.85  |
| future-pay-out-1              |  0.86  |  1.84  |  1.40  |  0.71  |
| future-pay-out-2              |  0.92  |  1.97  |  1.57  |  0.79  |
| future-pay-out-3              |  0.92  |  1.96  |  1.56  |  0.79  |
| future-pay-out-4              |  0.98  |  2.08  |  1.62  |  0.86  |
| future-settle-early-1         |  0.86  |  1.84  |  1.41  |  0.71  |
| future-settle-early-2         |  0.91  |  1.96  |  1.58  |  0.79  |
| future-settle-early-3         |  0.91  |  1.96  |  1.58  |  0.79  |
| future-settle-early-4         |  1.03  |  2.16  |  1.71  |  0.91  |
| game-sm-success_1-1           |  0.97  |  1.98  |  1.61  |  0.84  |
| game-sm-success_1-2           |  0.88  |  1.90  |  1.46  |  0.78  |
| game-sm-success_1-3           |  0.94  |  1.98  |  1.56  |  0.80  |
| game-sm-success_1-4           |  0.88  |  1.91  |  1.46  |  0.78  |
| game-sm-success_2-1           |  0.97  |  1.98  |  1.62  |  0.84  |
| game-sm-success_2-2           |  0.88  |  1.90  |  1.46  |  0.78  |
| game-sm-success_2-3           |  0.94  |  1.97  |  1.56  |  0.80  |
| game-sm-success_2-4           |  0.88  |  1.91  |  1.46  |  0.78  |
| game-sm-success_2-5           |  0.94  |  1.97  |  1.56  |  0.80  |
| game-sm-success_2-6           |  0.88  |  1.91  |  1.47  |  0.78  |
| multisig-sm-1                 |  0.98  |  1.98  |  1.62  |  0.83  |
| multisig-sm-2                 |  0.99  |  1.98  |  1.62  |  0.83  |
| multisig-sm-3                 |  0.98  |  1.99  |  1.70  |  0.84  |
| multisig-sm-4                 |  0.98  |  1.99  |  1.62  |  0.83  |
| multisig-sm-5                 |  0.96  |  1.99  |  1.61  |  0.83  |
| multisig-sm-6                 |  0.97  |  1.98  |  1.76  |  0.83  |
| multisig-sm-7                 |  0.98  |  1.98  |  1.63  |  0.83  |
| multisig-sm-8                 |  0.98  |  1.99  |  1.63  |  0.84  |
| multisig-sm-9                 |  0.98  |  1.99  |  1.63  |  0.83  |
| multisig-sm-10                |  0.96  |  1.99  |  1.61  |  0.84  |
| ping-pong-1                   |  0.95  |  1.95  |  1.57  |  0.81  |
| ping-pong-2                   |  0.95  |  1.95  |  1.57  |  0.81  |
| ping-pong_2-1                 |  0.93  |  1.90  |  1.52  |  0.79  |
| prism-1                       |  0.87  |  1.90  |  1.47  |  0.77  |
| prism-2                       |  0.98  |  2.01  |  1.62  |  0.84  |
| prism-3                       |  0.89  |  1.91  |  1.48  |  0.76  |
| pubkey-1                      |  0.88  |  1.88  |  1.47  |  0.78  |
| stablecoin_1-1                |  1.07  |  2.21  |  1.81  |  0.98  |
| stablecoin_1-2                |  0.88  |  1.90  |  1.47  |  0.77  |
| stablecoin_1-3                |  1.03  |  2.16  |  1.74  |  0.95  |
| stablecoin_1-4                |  0.88  |  1.91  |  1.47  |  0.80  |
| stablecoin_1-5                |  0.98  |  2.11  |  1.67  |  0.90  |
| stablecoin_1-6                |  0.88  |  1.91  |  1.47  |  0.79  |
| stablecoin_2-1                |  1.07  |  2.21  |  1.82  |  0.98  |
| stablecoin_2-2                |  0.87  |  1.90  |  1.47  |  0.78  |
| stablecoin_2-3                |  1.03  |  2.17  |  1.75  |  0.97  |
| stablecoin_2-4                |  0.88  |  1.90  |  1.46  |  0.78  |
| token-account-1               |  0.89  |  1.86  |  1.77  |  0.75  |
| token-account-2               |  0.85  |  1.86  |  1.76  |  0.74  |
| uniswap-1                     |  0.83  |  1.86  |  1.39  |  0.72  |
| uniswap-2                     |  0.89  |  1.88  |  1.49  |  0.77  |
| uniswap-3                     |  0.85  |  1.90  |  1.47  |  0.77  |
| uniswap-4                     |  0.90  |  1.95  |  1.50  |  0.81  |
| uniswap-5                     |  0.91  |  1.96  |  1.54  |  0.81  |
| uniswap-6                     |  0.89  |  1.95  |  1.51  |  0.80  |
| vesting-1                     |  0.91  |  1.91  |  1.53  |  0.77  |

Great, thanks!
I think we should maybe also forward-port this to master? At least then master would be closer-to-accurate (of course it'll be inaccurate because Roman has made things faster).

I think we should maybe also forward-port this to master? At least then master would be closer-to-accurate (of course it'll be inaccurate because Roman has made things faster).

Good idea.  I have an issue to do a full cost model update at SCP-3930, but we can just copy the data files to master for a quick update.


Operand of null-aware

I got this warning when I try to use get package.
Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
../…/src/extension_navigation.dart:357

'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
SchedulerBinding.instance!.addPostFrameCallback((_) {
^

: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
../…/src/extension_navigation.dart:468

'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
SchedulerBinding.instance!.addPostFrameCallback((_) {
^

: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
../…/snackbar/snackbar.dart:452

'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
SchedulerBinding.instance!.addPostFrameCallback(
^

: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
../…/rx_flutter/rx_disposable.dart:20

'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
SchedulerBinding.instance?.addPostFrameCallback((_) => onReady());
^

: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
../…/rx_flutter/rx_notifier.dart:130

'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
SchedulerBinding.instance?.addPostFrameCallback((_) => onReady());
^

: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/simple/get_controllers.dart:90

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
WidgetsBinding.instance!.addObserver(this);
^

: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/simple/get_controllers.dart:96

'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../../Development/flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
WidgetsBinding.instance!.removeObserver(this);
^

Which versionaof getx and flutter you are using?

I've got this sort of warnings too.
@arjundevlucid
@jonataslaw
Log Information
Warnings

../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart(357,24): warning G1E0FE241: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart(468,24): warning G1E0FE241: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/snackbar/snackbar.dart(452,22): warning G1E0FE241: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/rx_flutter/rx_disposable.dart(20,22): warning G1E0FE241: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/rx_flutter/rx_notifier.dart(130,22): warning G1E0FE241: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/simple/get_controllers.dart(90,20): warning G1E0FE241: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/simple/get_controllers.dart(96,20): warning G1E0FE241: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/router_report.dart(53,22): warning G1E0FE241: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. [D:\Users\xdawn\IdeaProjects\cygnus_lab\build\windows\flutter\flutter_assemble.vcxproj]
Debug service listening on ws://<IP_ADDRESS>:62875/0zOIscnB91E=/ws
Syncing files to device Windows...
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/snackbar/snackbar.dart:452:22: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance!.addPostFrameCallback(
                     ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/router_report.dart:53:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
      WidgetsBinding.instance!.addPostFrameCallback((_) {
                     ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/simple/get_controllers.dart:90:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addObserver(this);
                   ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/simple/get_controllers.dart:96:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.removeObserver(this);
                   ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/rx_flutter/rx_notifier.dart:130:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((_) => onReady());
                     ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_state_manager/src/rx_flutter/rx_disposable.dart:20:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((_) => onReady());
                     ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart:357:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart').
      SchedulerBinding.instance!.addPostFrameCallback((_) {
                       ^
../../Documents/PUB_CACHE/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart:468:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/C:/flutter/packages/flutter/lib/src/scheduler/binding.dart').

My Current Environment Info
Flutter Doctor
✅  Flutter (Channel master, 2.11.0-0.0.pre.752, on Microsoft Windows [Version 10.0.22000.527], locale zh-CN)
    • Flutter version 2.11.0-0.0.pre.752 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a786f65700 (23 hours ago), 2022-03-03 03:01:22 -0500
    • Engine revision 993285f64d
    • Dart version 2.17.0 (build 2.17.0-165.0.dev)
    • DevTools version 2.11.1

✅ Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\xdawn\AppData\Local\Android\Sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

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

✅  Visual Studio - develop for Windows (Visual Studio Community 2022 17.0.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.0.32126.317
    • Windows 10 SDK version 10.0.19041.0

✅ Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

✅ IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2021.3.2
    • Flutter plugin version 64.1.4
    • Dart plugin version 213.5744.122

✅ Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.527]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 98.0.1108.50

✅  HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

SystemInfo
主机名:           C00517-V
OS 名称:          Microsoft Windows 11 专业版
OS 版本:          10.0.22000 暂缺 Build 22000
OS 制造商:        Microsoft Corporation
OS 配置:          独立工作站
OS 构建类型:      Multiprocessor Free
初始安装日期:     2022/2/15, 9:44:21
系统启动时间:     2022/3/1, 1:44:16
系统制造商:       Microsoft Corporation
系统型号:         Virtual Machine
系统类型:         x64-based PC
处理器:           安装了 1 个处理器。
                  [01]: Intel64 Family 6 Model 165 Stepping 3 GenuineIntel ~2304 Mhz
BIOS 版本:        Microsoft Corporation Hyper-V UEFI Release v4.0, 2019/11/1
Windows 目录:     C:\Windows
系统目录:         C:\Windows\system32
启动设备:         \Device\HarddiskVolume1
系统区域设置:     zh-cn;中文(中国)
输入法区域设置:   zh-cn;中文(中国)
时区:             (UTC+08:00) 北京，重庆，香港特别行政区，乌鲁木齐
物理内存总量:     11,263 MB
可用的物理内存:   1,008 MB
虚拟内存: 最大值: 23,343 MB
虚拟内存: 可用:   6,845 MB
虚拟内存: 使用中: 16,498 MB
页面文件位置:     C:\pagefile.sys
域:               WORKGROUP
Hyper-V 要求:     已检测到虚拟机监控程序。将不显示 Hyper-V 所需的功能。

Expected
How can I fix all the warnings?

Hello am also getting this warning and i can't build my app.
Am using get version 4.6.1 and flutter version 2.11.0-0.0.pre.751.
@arjundevlucid
I presume SchedulerBinding.instance and WidgetsBinding.instance are no longer nullable in the latest flutter version.
Can you provide a hotfix to address the issue ?

✅  Issue Solved on My Computer
@oeng-hok-leng @Coder-Manuel
I have googled further more. It seems that the nullabilities for packages depends on versions.
When I switched flutter channel from MASTER to STABLE, the warnings cleared.
My current version info:

Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.22000.527], locale zh-CN)
get 5.0.0-beta.45

However, there're known bugs for current stable flutter version to incoperate with my Intellij.
Maybe, some null-aware operators in GetX could be updated tracking chages for offical flutter revisions.
@jonataslaw @arjundevlucid

@oeng-hok-leng
I have a PR that addresses this issue.
You can take a look.
#2229
Regards.

ems that the nullabili

My current

I've got this sort of warnings too. 😿 @arjundevlucid @jonataslaw
pubspec.yaml
PubSpec
Log Information
Warnings
My Current Environment Info
Flutter Doctor
SystemInfo
Expected
How should I fix all the warnings? 🆘

Which version of getx and flutter you are using?
my current version of getx is 4.5.1

@oeng-hok-leng, @jasonlaw I have a PR that addresses this issue. You can take a look.
#2229
Regards.

Thank You for helping me to solve this problem. I solved already by using @xdawn97 solution

✅ Issue Solved on My Computer
@oeng-hok-leng @Coder-Manuel
I have googled further more. It seems that the nullabilities for packages depends on versions. When I switched flutter channel from MASTER to STABLE, the warnings cleared. It seems that some symbols in master branch turn to be unnullable, comparing to current stable branch.
My current version info:

Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.22000.527], locale zh-CN)
get 5.0.0-beta.45

However, there're known bugs for current stable flutter version to incoperate with my Intellij. Maybe, some null-aware operators in GetX could be updated tracking chages for offical flutter revisions. @jonataslaw @arjundevlucid

Thank You so much 😘


Upgrade Alpine to 3.15.5

Summary
Upgrade from Alpine 3.15.4 to 3.15.5 to see if it addresses some issues we're having.
Setup to Run Your Code

💻 You will need to use three separate terminals to test this locally.
Terminal 1
Start the Storybook locally.
make storybook

Terminal 2
Start the UI locally.
make client_run

Terminal 3
Start the Go server locally.
make server_run

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Closing as it didn't solve our issue.


Android build warnings

Android build issues a lot of warnings.
In file included from ././../api/capi/src/nntrainer_util.cpp:14:
In file included from ./../api/capi/include/nntrainer_internal.h:30:
In file included from ./../nntrainer/models/neuralnet.h:34:
./../nntrainer/layers/activation_layer.h:51:7: warning: 'initialize' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  int initialize(Manager &manager);
      ^
./../nntrainer/layers/layer_internal.h:543:15: note: overridden virtual function is here
  virtual int initialize(Manager &manager) = 0;
              ^
In file included from ././../api/capi/src/nntrainer_util.cpp:14:
In file included from ./../api/capi/include/nntrainer_internal.h:30:
In file included from ./../nntrainer/models/neuralnet.h:34:
./../nntrainer/layers/activation_layer.h:57:8: warning: 'read' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  void read(std::ifstream &file){/* noop */};
       ^
./../nntrainer/layers/layer_internal.h:174:16: note: overridden virtual function is here
  virtual void read(std::ifstream &file);
               ^
In file included from ././../api/capi/src/nntrainer_util.cpp:14:
In file included from ./../api/capi/include/nntrainer_internal.h:30:
In file included from ./../nntrainer/models/neuralnet.h:34:
./../nntrainer/layers/activation_layer.h:63:8: warning: 'save' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  void save(std::ofstream &file){/* noop */};
       ^
./../nntrainer/layers/layer_internal.h:181:16: note: overridden virtual function is here
  virtual void save(std::ofstream &file);

...

:octocat: cibot: Thank you for posting issue #924. The person in charge will reply soon.

Confirming that #964 resolves this issue


Adding option to suppress print messages

Hi. This should take care of https://github.com/mhallsmoore/qstrader/issues/334
To prevent messages from printing:
from qstrader import settings

settings.set_print_events(False)

This will prevent all print messages from firing except for the exception in static_backtest.py.
Cheers
Cheers

Coverage increased (+0.07%) to 69.804% when pulling 557f2fc2598b631a005309e415a5dab12793fd14 on simongarisch:master into 14daae64c37f7b19cc526408bf77ffb60876c765 on mhallsmoore:master.

Hi @simongarisch,
Thanks very much for creating the PR and for fixing #334. I've just reviewed. Happy to merge.
Kind regards,
Mike.


Receiving "Too much pending tasks" error when we use the event-hubs library to process messages

Package Name: @azure/event-hubs
Package Version: 5.4.0
Operating system: Linux container
[X] nodejs

version: 14.16.0

[ ] browser

name/version:

[X] typescript

version: 3.9.9

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
After a few days of processing events, the following errors start showing Too much pending tasks.
These errors are printed in the processError consumer callback.
Once this error starts showing the consumer can no longer receive any new events.
Before posting this issue, I have checked out other related issues like https://github.com/Azure/azure-sdk-for-js/issues/5944 and https://github.com/Azure/azure-sdk-for-js/issues/7674 , but these issues talk about sending requests while in our case the container can only receive and process events.
The issue resolves itself if we restart the container.
Stack trace
Error: Too much pending tasks
    at AsyncLock.acquire (/app/node_modules/async-lock/lib/index.js:160:15)
    at ManagementClient.<anonymous> (/app/node_modules/@azure/event-hubs/dist/index.js:687:56)
    at Generator.next (<anonymous>)
    at /app/node_modules/tslib/tslib.js:114:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/app/node_modules/tslib/tslib.js:110:16)
    at /app/node_modules/@azure/event-hubs/dist/index.js:656:91
    at new Promise (<anonymous>)
    at Object.sendOperationPromise [as operation] (/app/node_modules/@azure/event-hubs/dist/index.js:656:52)
    at Object.<anonymous> (/app/node_modules/@azure/core-amqp/dist/index.js:1227:39)
    at Generator.next (<anonymous>)
    at /app/node_modules/tslib/tslib.js:114:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/app/node_modules/tslib/tslib.js:110:16)
    at Object.retry (/app/node_modules/@azure/core-amqp/dist/index.js:1202:18)
    at ManagementClient.<anonymous> (/app/node_modules/@azure/event-hubs/dist/index.js:732:40)
    at Generator.next (<anonymous>)
    at /app/node_modules/tslib/tslib.js:114:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/app/node_modules/tslib/tslib.js:110:16)
    at ManagementClient._makeManagementRequest (/app/node_modules/@azure/event-hubs/dist/index.js:652:22)
    at ManagementClient.<anonymous> (/app/node_modules/@azure/event-hubs/dist/index.js:497:41)

To Reproduce
This container is running in Azure, so maybe a connection was lost between the container and the EventHub instance, but I can't be sure.

Hi @chradek , sorry for the late response.
We are creating an EventHub listener in the order:
const containerClient = new ContainerClient(storageConnectionString, storageContainerName);
const checkpointStore = new BlobCheckpointStore(containerClient);
const consumerClient = new EventHubConsumerClient(eventHubConsumerGroup, eventHubConnectionString, eventHubName, checkpointStore);

consumerClient.subscribe(
  {
    processEvents: async (events, context) => {},
    processError: async (err, context) => {} // --> the errors are printed in here
  },
  {
    maxBatchSize: 20,
    maxWaitTimeInSeconds: 20
  }
)

The number of EventHub partitions is 8 :) so it is not even close to 10000
I will check if we can turn on logging with DEBUG but it might take some time to manifest :|

@chradek , I've also noticed that just before these errors start showing up, we can see the following error message:
Error : MessagingError: The request with message_id "5550f132-8297-4827-b6e3-5472457aa17c" timed out. Please try again later.

@hilfor
Can you tell approximately how long you see MessagingError before you start seeing Too much pending tasks?
I believe I'm starting to see the "pending tasks" on management operations (e.g. getPartitionIds) increase very slowly over time when I prevent the service from being able to respond. This increase in pending tasks is surprising, but doesn't appear to be happening if the connection to the service is healthy.
Any logs you have around when you start seeing MessagingError indicating time outs might help us determine what's going on. If you can keep track of the timestamps where you were able to receive messages and when you stopped receiving messages, that can be helpful to take to the service team for investigation as well.

Just wanting to dump my findings thus far here.
So as I mentioned earlier, I am able to see the "Too much pending tasks" occur when I prevent the service from responding to the client. Note that the client still attempts to connect to the service, but creating the connection times out.
Here's what I'm seeing happen:

EventHubConsumerClient.subscribe() called.
The EventProcessor._runLoopWithLoadBalancing method is invoked, which starts a loop that continues until the subscription or EventHubConsumerClient is closed.
At the start of each loop iteration, we attempt to get the partitionIds.
If there isn't already a $management request/response link open on the connection, we wait to acquire a lock to initialize the request/response link: https://github.com/Azure/azure-sdk-for-js/blob/fadd5b9eb5dd0c8cfd92ca82e3c18697bbac984f/sdk/eventhub/event-hubs/src/managementClient.ts#L412-L414
Once a lock is acquired, if the request/response link is still not created, attempt to create it.
One of these steps is to negotiate a claim (this is for auth): https://github.com/Azure/azure-sdk-for-js/blob/fadd5b9eb5dd0c8cfd92ca82e3c18697bbac984f/sdk/eventhub/event-hubs/src/managementClient.ts#L314-L315
At this point, we'll wait to acquire another lock to create the CBS session (for auth): https://github.com/Azure/azure-sdk-for-js/blob/fadd5b9eb5dd0c8cfd92ca82e3c18697bbac984f/sdk/eventhub/event-hubs/src/linkEntity.ts#L129-L131

Now, we have a timeout around acquiring the managementLock (used in step 4), and if we timeout, we will try again until our retries are exhausted. However, our timeout wraps the defaultLock.acquire call, so it doesn't actually release the lock.
Under normal "transient" conditions, we'd expect to see the negotiateClaim call timeout when trying to create a connection to the service, the managementLock gets released, and assuming the network conditions have returned to normal, the next attempt to initialize the management request/response link would succeed. However in the scenario we're testing, we're unable to recreate the connection for an extended period of time. What's interesting is that we're not seeing ECONNREFUSED errors as one might expect. Instead it appears from the client-side that it's attempting to connect to a blackhole that never responds.
So, another wrinkle is that eventually once the getPartitionIds call throws a timeout error, the EventProcessor loop will sleep for some duration and then move on to the next iteration, starting with calling getPartitionIds again. This leads to more attempts to acquire the management lock, which means overtime we eventually hit the limit.
Possible solutions?
AsyncLock accepts a timeout when attempting to acquire a lock, so we could set that and handle any timeout errors as needed. This would prevent us from reaching the conditions that cause the "Too much pending tasks" error.
If we do this, we should also pass the abortSignal through the _init() calls so that the original method invocation that acquired a lock doesn't take too much time as well.
I'm not sure that this would do anything to help with the MessagingError OperationTimeouts also being seen. On the one hand, being able to cancel in-flight requests to create a connection so the next _init() call doesn't think we're already connecting could help. However, I can't say that definitively without better understanding how the client is getting into this state. Logs with timestamps would help so we can ask the service what they see on their side.

hi @chradek
I've checked the logs and we're seeing these timeout errors for about a week before Too much pending tasks errors start showing up.
This timeout message appears every 5 minutes.
This message is printed inside the processError callback.
Unfortunately, we're not seeing any other errors around or near the timeouts.
We can also see that once Too much pending tasks starts showing the timeout errors are gone.
Please note the timestamps on the graphs in the screenshots below

@hilfor
Thanks for the info! While you're seeing these MessagingError errors, are you seeing any incoming events? Not just that the processEvents handler is called, but that you're seeing actual events? In my testing I was seeing an 'all or nothing' type of scenario where if I was getting the MessagingError, I also was not receiving events so I'm curious if you are seeing the same.

@chradek
I've checked the logs and we have the exact same scenario.
I just want to point out that these particular screenshots were taken from a service that has 5 other consumers (connected to different EventHubs) working without any issues.

@hilfor
Thanks for confirming. I'm working on some changes that will prevent the too much pending tasks error from occurring, but I'm still unsure how much they will affect the MessagingErrors you're seeing. I'll keep this issue posted on those changes.
Would you be able to create a support case so we can work with the service team as well to determine why your connection to event hubs from your container seemed to have entered an unrecoverable state? If you can narrow down the time range where around where you were able to receive events and when you stopped receiving events, that would be useful info for the case.

Hi @chradek I'm facing the same issue with MessagingError and Too much pending tasks. I have gathered the logs at my end related the time they arrived. I see a difference of one week between timeout and too much pending task error messages. Check below for logs.
First timeout issue came on 13th May
2021-05-13 05:03:10
{"level":"error", "time":"2021-05-12T23:33:10.991Z","msg":"Error in listening on eventHub: iot-prd01-evh and partitionId : MessagingError: The request with message_id \"5db3cdec-6b8b-46f0-b333-f7cf3f00c7aa\" timed out. Please try again later.}"}

First too much pending task issue came on 20th May
2021-05-20 04:20:53
{"level":"error", "time":"2021-05-25T22:50:53.372Z","msg":"Error in listening on eventHub: iot-prd01-evh and partitionId : Error: Too much pending tasks}"}


Install includes to include/${PROJECT_NAME} and more modern CMake.

Part of ros2/ros2#1150
This installs includes to include/${PROJECT_NAME} to mitigate include directory search order issues when overriding packages in desktop.
Part of ament/ament_cmake#365
This removes ament_export_libraries and ament_export_include_directories as they're redundant with the exported CMake targets.
Part of ament/ament_cmake#292
This replaces ament_target_dependencies() calls with target_link_libraries().
Also fixes #58

CI (repos file build: --packages-above-and-dependencies kdl_parser test: --packages-above kdl_parser)

Linux
Linux-aarch64
Windows


Add test for spread index signature + computed property bug

Adds a test for #39494, which was fixed sometime between 4.0-beta and now.

You’re right, I figured it was fixed by accident since this issue was never linked to it. Thanks 👍


Reduce dynamic linking to glibc

Now that GitHub stopped Bionic GitHub Actions, the binary are built using Focal (Ubuntu 20.04), which no longer works on Bionic (Ubuntu 18.04), which uses glibc 2.27.
Can this be resolved if we used MUSL?
cargo build --target x86_64-unknown-linux-musl

Yep! using a musl builds at one point was more of a pain, but last i tried this for something it worked super well.


Typo fix

Interesting repo, as always, KCD.

@all-contributors please add @erikras for docs

please add @erikras for docs

That seems a bit extreme. But cool.