feat: connections and pools

New optional features:

Manage connections using the underlying airflow connections command
Manage pools using the underlying airflow pools command
Enable underlying GKE clusters authorized networks -- needed to run arbitrary commands via public IP
Includes examples and integration tests

Note that teardowns for the new tests are currently disabled due to a race between cluster shutdown and running the gcloud destroy commands. One potential fix is to add the following after hooks, but I can't see a way to do this:
# after hook for connections
terraform state rm 'module.simple-composer.module.example-3.module.gcloud.null_resource.run_destroy_command[0]'
terraform state rm 'module.simple-composer.module.simple-composer-environment.module.airflow-connections["example-1"].module.gcloud.null_resource.run_destroy_command[0]'
terraform state rm 'module.simple-composer.module.simple-composer-environment.module.airflow-connections["example-2"].module.gcloud.null_resource.run_destroy_command[0]'
terraform state rm 'module.simple-composer.module.simple-composer-environment.module.master-authorized-networks.module.gcloud.null_resource.run_command[0]'
terraform state rm 'module.simple-composer.module.simple-composer-environment.module.master-authorized-networks.module.gcloud.null_resource.run_destroy_command[0]'

# after hook for pools
terraform state rm 'module.simple-composer.module.standalone-pool-1.module.gcloud.null_resource.run_destroy_command[0]'
terraform state rm 'module.simple-composer.module.simple-composer-environment.module.airflow-pools["inline-1"].module.gcloud.null_resource.run_destroy_command[0]'
terraform state rm 'module.simple-composer.module.simple-composer-environment.module.master-authorized-networks.module.gcloud.null_resource.run_destroy_command[0]

Note that teardowns for the new tests are currently disabled due to a race between cluster shutdown and running the gcloud destroy commands.

Please file an issue so we can track a longer-term workaround, ideally using our new test framework.

OK. Out of interest what is your new test framework? Are there any examples using it already?

Sure! It's here. Here's an example. We'd definitely love your feedback if you get a chance!

@morgante is there anything left before we can merge this? I would like to start using the official module rather than my own fork and I have other PRs I'd like to raise.

I don't believe there's anything else outstanding on this, @bharathkkb @morgante ?


Accept comments in service and method definitions

This PR parses comments inside Service and Method definitions properly.
It achieves that by adding commentDecl as an additional type of serviceElement and methodElement, and modifies test_parse_service to verify that.

I've also noticed this PR fixes half of the issue #16 - the other half is a little harder, since it would require supporting options with complex values.
This seemed significantly harder to do, and it was outside of my use case, so I didn't do it.

@paskozdilar This looks great. Mind fixing the codestyle issues? I can merge it in then.
Also, curious: what're you using proto-schema-parser for? I'm trying to gather use cases for it. :)

Mind fixing the codestyle issues?

Done.

Also, curious: what're you using proto-schema-parser for?

I have a bunch of .proto files which contain comments explaining how the services work.
I want to extract them to Markdown format so it can be used with documentation generators such as MkDocs and Sphinx.
This seemed like a good tool for achieving that :)

Merged and released to 1.3.0! Thanks. :)
https://pypi.org/project/proto-schema-parser/1.3.0/


[WIP] Make sponsroship application work for RemoteRealms.

So this version I successfully tested using the remote server flow to request a sponsorship. I have not hand-tested the remote realm flow. It also has a lot of new TODO comments, none of which I feel is a blocker for integrating this, on account of the fact that the implementation is still disabled.
And I think a lot of the changes are things that will be valuable for the next phase of building things on top of, so I think I'll merge this checkpoint.


Unable to read data

Getting this error every time with version 3.1 - prior versions just state "unable to connect to TCPGecko" or "botw.exception.something-or-other"
Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at BotwTrainer.TcpConn.Read(Byte[] buffer, UInt32 nobytes, UInt32& bytesRead)
at BotwTrainer.Gecko.GetServerStatus()
at BotwTrainer.MainWindow.ConnectClick(Object sender, RoutedEventArgs e)
All I'm doing is clicking "Connect" with the WiiU's IP.
EDIT: 2.5.6 works fine.

check your .net version and turn off anti virus?


Service 'web' failed to build - ECONFLICT Unable to find suitable version for jquery

Hi Tomas,
trying to run trello-reporter locally, after cloning this repo and running docker-compose up I get the following error:
...
Step 12 : COPY ./bower.json /opt/app
 ---> Using cache
 ---> 4ecd6245cae8
Step 13 : RUN ./install_static_data.sh
 ---> Running in c9f0d8389f44
...
bower bootstrap#>=2.3.2                                   extract archive.tar.gz
bower moment#>=2.10.5                                    resolved https://github.com/moment/moment.git#2.18.1
bower bootstrap#>=2.3.2                                  resolved https://github.com/twbs/bootstrap.git#3.3.7
bower                                                   ECONFLICT Unable to find suitable version for jquery
ERROR: Service 'web' failed to build: The command '/bin/sh -c ./install_static_data.sh' returned a non-zero code: 1

Hi, I haven't touched this project for quite some time. Will check.

Fun stuff. patternfly could not be installed. So I updated it to latest version. I hope it didn't break anything. Please let me know if something doesn't work.


Spelling runtime observatory

This change is scoped per https://github.com/dart-lang/sdk/issues/50754

CL: https://dart-review.googlesource.com/c/sdk/+/276880


Added empty test function to map container.

Thank you for your contribution @dizzylu  :+1:
:relaxed: :relaxed: :relaxed:
Would you like to add the same function in the map.md too ??


Added an example on mounting the rpi.raw image

Also moved the "Writing to a USB stick" section below the injection one.

🤩 - need to test this script, thanks !


Treat foo/init.yml as content for class foo

This ensures that the behavior of reclass-rs matches Python reclass in regards to how files named init.yml (or init.yaml) are treated.
Python reclass treats such files as content for class foo. While Project Syn doesn't make use of this mapping and instead favors having a file foo.yml alongside a folder foo/ to achieve the same behavior, we want to ensure that reclass-rs is compatible with as many Reclass inventories as possible.
Notably, Python reclass also resolves relative includes in such files as relative to the parent directory of the directory containing the file. For example, relative includes in foo/init.yml are treated relative to the directory holding foo and not relative to directory foo.
This is a breaking change for users which rely on the current reclass-rs behavior of handling files named init.yml, since such files can no longer be included as foo.init.

Checklist

[x] The PR has a meaningful title. The title will be used to auto generate the changelog
[x] PR contains a single logical change (to build a better changelog).
[x] Update the documentation.
[x] Update tests.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency, internal
as they show up in the changelog

Performance impact of the implementation change is negligible, benchmarked performance is lower for the complete PR because we add an additional node to the inventory that we use for the benchmark.


Add entry to astropy bingo

@dhomeier, please review. Thanks!

Thanks for the review. Until next meeting! 😸


Components crashing after upgrading to React 16.5

Components crashing with the error https://reactjs.org/docs/error-decoder.html/?invariant=185
The crash is happening when trying to set new data from API.
And the stack trace is

Versions:
<EMAIL_ADDRESS>react: 16.5.1
react-dom: 16.5.1
I don't have an example at the moment but I will try to provide one.

We are running into the same issue in our app, though unclear as of yet what’s the cause or specific steps to reproduce.

I'm seeing this with React 16.3.0 though haven't isolated the issue yet.

@ christiaanwesterbeek Thank you. I think Te second point you have mentioned might be able to help me.


Introduced new option: -expr, -e.

Given 'result = operator1 operand operator2' to -expr, the value of result in ltsv is orverwritten.
Available operaters are:
+ - * / (arithmetic (float64))

For example, this feature is useful for calculating difference between response time and response time from upstream server. In nginx, $request_time and $upstream_response_time is available.
# nginx.conf
log_format ltsv 'time:$time_local\t'
                'uri:$uri\t'
                'status:$status\t'
                'ua:$http_user_agent\t'
                'resptime:$request_time\t'
                'upstream_resptime:$upstream_response_time\t';

$ tail -f /var/log/nginx/access.log | lltsv -k uri,resptime,upstream_resptime,diff -e 'diff = resptime - upstream_resptime' -k 'diff > 0.05'
uri:/hoge  resptime:0.120     upstream_resptime:0.050    diff:0.070
uri:/foo     resptime:0.110     upstream_resptime:0.030    diff:0.080

LGTM.
Just a question, but does it support an arithmetic equation like a = (b + c) * 3?

Could you update README, too?

Hi, @sonots

Just a question, but does it support an arithmetic equation like a = (b + c) * 3?

Sounds good. But as the rigorous implementation taken the priority of bracket and oeprator into account is a little complicated, how about implementing it in the next phase?

Could you update README, too?

Committed just now.

Okay, clear. Thanks!

0.5.0 is released!


Fixed broken links to Wikipedia articles

In the intro text there are a couple of links whose href is invalid. I.e. hash maps tries. Clicking on these links results in the browser redirecting to https://code.facebook.com/

Thank you!


missing accounts in 'Top Accounts'

explorer.ark.io is missing some accounts between end page 1 & start page 2.. it jumps from no. 25, 562,844  to no. 26 , 321,459 . definitely missing quite a few accounts in between

Fix will be deployed later today.


Could the project be trained without GPU, only use CPU? if there is any way, how to config the file?

Could the project be trained without GPU, only use CPU? if there is any way, how to config the file?

You will have to make tons of edits to make it runs on CPU, and I would highly discourage you to do so as it will take weeks or even months to train.

I just want to debug the code not really train because my workstation is not available now. OK, thank you anyway for your reply.

You will have to make tons of edits to make it runs on CPU, and I would highly discourage you to do so as it will take weeks or even months to train.

I just want to debug the code not really train because my workstation is not available now. OK, thank you anyway for your reply.


Too slow With mysql client

compare with src-d/go-mysql-server i run same code and  liquidata-inc/go-mysql-server  is too slow ,will connect timeout

running code  _example/main.go

maybe this cause
server.go
		for l.maxConns > 0 && uint64(connCount.Get()) >= l.maxConns {
			// TODO: make this behavior configurable (wait v. reject)
			time.Sleep(500 * time.Millisecond)
		}

when running demo server should config maxconnect
	config := server.Config{
		Protocol:       "tcp",
		Address:        "localhost:3306",
		MaxConnections: 100, // this cause
		Auth:           auth.NewNativeSingle("root", "", auth.AllPermissions),
	}

Hi rong,
Yes, you discovered the cause of the connection slowness. We made this change for dolt, and it shouldn't have gotten applied to by default to every server config like this. I'm working on a fix now.
Thanks for finding this!
Zach


Document / add way to use local tiles

I imagine many Flutter apps will want to use Leaflet with custom maps (e.g. indoor map of a mall, map of a campus, map of a recreational park).
These could benefit from being stored on device (as assets of the app). You'd get immediate load times and offline capability.
AFAIK, Leaflet currently only supports providing tiles through a web URL scheme (https://example.com/path/{id}/{z}/{x}/{y}.png) and I assume the JS version of leaflet doesn't really have a need for anything else. But I could be wrong.
In any case, I think this could be a really neat feature for a mobile app mapping solution.
cc @wmleler

We actually have an example of this. We have a potential Flutter client that is a very large NGO that needs offline maps in remote areas of the world.
Leaflet itself does support arbitrary basemap layers, so it is very easy to support locally stored offline maps. But remember that this repository is only inspired by Leaflet, and we have to add features as we need them. Shouldn't be too hard to add this though. At the very least, you can use a URL with a "file:" transport prefix.

Wait, file:// will work? I though the library is using a network request, which I think will not know what to do with the file scheme.
If file:// already works, then we're basically done. I could just figure out how exactly Flutter assets get transformed into file:// urls, whether this is platform-independent, and we're done.

We are currently using NetworkImage, but we could add an option to use FileImage and I think this would work as expected.
Would anyone with said map data like to publish some map data as a Dart package? e.g.
# pubspec.yaml
dependencies:
  awesome_map_data:
    git:
      url: git://github.com/awesome_map_data/awesome_map_data.git
      ref: master

Then our tile layer could have an option to use FileImage and just use the same urlTemplate specified by the user (file://path/to/package/{z}/{x}/{y}.png instead of https://tile.openstreetmap.org/{z}/{x}/{y}.png)


Webpack error "Unexpected token"

Hi,
I just cloned and tried to build the starter kit, but there seems to be an error with webpack.

ERROR in ./source/components/hello/index.js
Module parse failed: C:.../source\components\hello\index.js Unexpected token (9:6)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (9:6)

I have tracked down the cause of this to the webpack.config.dev.js and webpack.config.prod.js files. The line that triggers the error is :
include: path.join(__dirname, 'source')
As soon as I remove that line (actually replacing it with an exclude of node_modules instead), the projet build and runs perfectly.
Do you have any idea what causes this ?
Thanks!

Did you remember to run npm install?

I ran npm install but still getting this issue.

Same for me, packages were installed and everything worked once I replaced the include line in the webpack config.

I ran into the same issue. Thank you @gumarm for adding your workaround.
I too am curious as to what could be causing this.
As a reference, here is the loaders block from my webpack.config.dev.js:
loaders: [{
  test: /\.js$/,
  loader: 'babel-loader',
  exclude: /node_modules/,
  query: {
    presets: ['es2015', 'stage-0', 'react']
  }
}]

Thank you Eric for all you do in the tech community!

@higgins1b You can also replace include: path.join(__dirname, 'source') with an include on the hard-coded path like include: 'path_here'. I've had this issue with using path.join on Windows machines before.

I'm  open  to  a  PR  replacing  path.join  with  an  exclude  of  node_modules,  but  I'm  curious  about  why  path.join  doesn't  work  on  Windows.  Have  any  of  you  searched  the  Node  repo  for  a  corresponding  issue  and  possible  resolutions?

Are we sure that the path module is cross platform compatible?

@Burgi0101 It should at least be compatible with Windows according to Node's documentation: https://nodejs.org/api/path.html
@ericelliott I'll search around if I can find a reason as to why it doesn't work, if I don't find anything I'll send a PR for the workaround!
Thanks for your time guys!


Introducing mmselfsup.core in mmdet leads to unexpected results.

Hi @fangyixiao18 @Jiahao000 @YuanLiuuuuuu @scnuhealthy, happy mid-Autumn Festival~
Thanks for reporting the unexpected results and we appreciate it a lot.
Checklist

I have searched related issues but cannot get the expected help.
The unexpected results still exist in the latest version.

Describe the Issue
I tried to combine mmselfsup and mmdet to do something, however, when I added:
custom_imports = dict(imports=['mmselfsup.core'])

I found that DETR's training fails to converge, I also added this line into other methods like fcos/retinanet/mask-rcnn. In the case of fixed random seeds, their loss values and training results have huge changes. I have no clues about this and what's causing the huge discrepancy, hoping to get some help from the community.
Reproduction

What command, code, or script did you run?

Add this line into any original mmdet config, you can find the loss and result changed a lot, even with fixed random seed.
custom_imports = dict(imports=['mmselfsup.core'])

Did you make any modifications on the code? Did you understand what you have modified?
Yes. Yes.

Bug fix
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

Which branch do use use?

Hi, @YuanLiuuuuuu
Please check this issue for more information.

Could you please provide all these config files, which fail to converge?

Could you please provide all these config files, which fail to converge?

@YuanLiuuuuuu DETR and Deformable DETR fail to converge, other methods (fcos/mask-rcnn/retinanet) have lower performance under same machine and seed.


Refactor Kem/Kdf/Aead algorithm constructor.

Codecov Report

Merging #185 (d5870b9) into main (09a53bf) will decrease coverage by 0.10%.
The diff coverage is 95.30%.

@@            Coverage Diff             @@
##             main     #185      +/-   ##
==========================================
- Coverage   96.44%   96.34%   -0.10%
==========================================
  Files          20       21       +1
  Lines        2448     2547      +99
  Branches      231      232       +1
==========================================
+ Hits         2361     2454      +93
- Misses         87       93       +6

Flag
Coverage Δ

unittests
96.34% <95.30%> (-0.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/webCrypto.ts
46.66% <ø> (-8.89%)
:arrow_down:

src/kems/dhkemPrimitives/ec.ts
88.54% <82.22%> (-0.54%)
:arrow_down:

src/cipherSuite.ts
97.89% <92.59%> (-0.16%)
:arrow_down:

src/aeadKeys/aesGcmKey.ts
100.00% <100.00%> (ø)

src/aeadKeys/chacha20Poly1305Key.ts
100.00% <100.00%> (ø)

src/algorithm.ts
100.00% <100.00%> (ø)

src/encryptionContext.ts
97.22% <100.00%> (+0.02%)
:arrow_up:

src/exporterContext.ts
97.33% <100.00%> (ø)

src/kdfs/hkdf.ts
98.96% <100.00%> (+0.09%)
:arrow_up:

src/kems/dhkem.ts
100.00% <100.00%> (ø)

... and 3 more


feat: implement RecordWallet for askar

extracted from https://github.com/hyperledger/aries-vcx/pull/1063 as it was growing too large.
I can't really set https://github.com/hyperledger/aries-vcx/pull/1071 as a base for merge since I opened it from my fork, but the commits here are separated, so it should still be possible to view only the implementation part with a relative ease.

Closing in favour of https://github.com/hyperledger/aries-vcx/pull/1085


Unknown escape sequence when trying to validate yaml file in a directory path

I used create-openapi-repo to create a brand new repo.
Then I ran $ npm start
This tries to validate the openapi/openapi.yaml file and the openapi-cli validate failed to resolve the escape character of the path separator.  Is this a Windows issue?  How do I solve this?
Thanks!
Env:  On Windows using Git Bash
$ node -v
v12.16.1
$ npm -v
6.14.3

$ openapi validate openapi/openapi.yaml

C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:173
  throw generateError(state, message);
  ^
YAMLException: unknown escape sequence at line 3, column 18:
      main: "openapi\openapi.yaml"
                     ^
    at generateError (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:167:10)
    at throwError (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:173:9)
    at readDoubleQuotedScalar (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:646:9)
    at composeNode (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1365:13)
    at readBlockMapping (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1089:11)
    at composeNode (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1359:12)
    at readBlockMapping (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1089:11)
    at composeNode (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1359:12)
    at readDocument (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1519:3)
    at loadDocuments (C:\Users\qhvu\AppData\Roaming\npm\node_modules\@redocly\openapi-cli\node_modules\js-yaml\lib\js-yaml\loader.js:1575:5) {
  name: 'YAMLException',
  reason: 'unknown escape sequence',
  mark: Mark {
    name: null,
    buffer: '# See https://docs.redoc.ly/cli/configuration/ for more information.\r\n' +
      'apiDefinitions:\r\n' +
      '  main: "openapi\\openapi.yaml"\r\n' +
      'lint:\r\n' +
      '  rules:\r\n' +
      '    no-unused-schemas: warning\r\n' +
      'referenceDocs:\r\n' +
      '  htmlTemplate: ./docs/index.html\r\n' +
      '  theme:\r\n' +
      '    colors:\r\n' +
      '      primary:\r\n' +
      '        main: "#32329f"\n' +
      '\u0000',
    position: 104,
    line: 2,
    column: 17
  },
  message: 'unknown escape sequence at line 3, column 18:\n' +
    '      main: "openapi\\openapi.yaml"\n' +
    '                     ^'
}

Could you try editing .redocly.yaml file and replace \ with /?
Let us know if it worked

Cool, that worked!  Thanks!

It seems this will help navigate the error in a nicer way: https://github.com/Redocly/openapi-cli/pull/114
However, I don't know if it will help a Windows user know how to actually correct the error.
It would be interesting to see if others hit this same issue, and if so, maybe we can detect it and present a specific correction when the file is not found and there is \ in the file location.

We should fix the generator code to not produce a file path with \ in the first place

I opened the issue in Redocly/create-openapi-repo, and I'm going to close this issue.


SHOW MEASUREMENTS ON .

https://github.com/influxdata/influxdb/pull/22388
https://github.com/influxdata/influxdb/pull/22396
https://github.com/influxdata/plutonium/pull/3632
Describe the new feature here.
See issue comments:
https://github.com/influxdata/influxdb/issues/3318#issuecomment-719841659
https://github.com/influxdata/influxdb/issues/3318#issuecomment-721117864
https://github.com/influxdata/influxdb/issues/3318#issuecomment-912809271
This will be in Enterprise 1.10, OSS 2.1, and a future release of Cloud (date undecided).

This needs to be removed from the 1.8 Docs: https://docs.influxdata.com/influxdb/v1.8/query_language/explore-schema/#show-measurements
It is not in 1.8, and will not be in 1.8 or 1.9
@pierwill


release 1.5: Emojis in existing messages point to the wrong link

The emojis in the messages sent before moving to the new emoji path don't work.
The existing ones point to https://chat.zulip.org/static/third/gemoji/images/emoji/+1.png while the new emoji points to https://chat.zulip.org/static/generated/emoji/images/emoji/+1.png
Maybe we should add a redirect for all those paths to the new location.

I would like to take this up with some more information

I would like to take this up with some more information

This issue only exists in development environments and works fine in production because of how we keep assets from previous deployments available in production.
Since existing production servers will have the static asset links, and new production servers won't have messages with the old URLs, this won't be problem.

This is now an issue in at least one production realm (https://recurse.zulipchat.com/) -- perhaps the production server it's on was refreshed in some way or the static assets were cleaned up?

@jdherg Do you have screenshots or dev tools views or something to elaborate on this more?

@jdherg let's move this to a new issue. Details on a specific message ID and/or its rendered_content HTML body that is affected would be helpful. This is likely some sort of weird bug involved 5+ year old messages, and I don't want to assume it's the same as this 2017 one.

@timabbott sounds good! Filed as #22907


Referring to non-existent class error when instantiating inner trait.

This valid Scala code fails on fastOptJS stage. This is quite similar to simulacrum type classes encodings.
Fails with following Scala.js versions: 1.0.1, 1.1.0, 1.1.1
However, works on 1.0.0
sbt.version = 1.3.13

trait Named[A] {
  def name(a: A): String
}

object Named {

  trait Ops[A] {
    def typeClassInstance: Named[A]
    def self: A
    def name: String = typeClassInstance.name(self)
  }

  object ops {
    implicit def toNamedOps[A](target: A)(implicit tc: Named[A]): Ops[A] = new Ops[A] {
      val self = target
      val typeClassInstance = tc
    }
  }

}

object MainApp {

  case class Employee(id: UUID, name: String)
  object Employee {
    implicit val named: Named[Employee] = _.name
  }

  def name[E: Named](e: E): String = e.name

  def main(args: Array[String]): Unit = {
    println(name(Employee(UUID.randomUUID(), "name")))
  }

}

I'm getting this error:

sbt:scalajs-simulacrum> fastOptJS
[info] Compiling 1 Scala source to scalajs-simulacrum/target/scala-2.13/classes ...
[warn] 1 feature warning; re-run with -feature for details
[warn] one warning found
[info] Fast optimizing /scalajs-simulacrum/target/scala-2.13/scalajs-simulacrum-fastopt.js
[error] Referring to non-existent class io.github.mikla.Named$Ops
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.MainApp$
[error] Referring to non-existent method io.github.mikla.Named$Ops.name()java.lang.String
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.MainApp$
[error] Referring to non-existent class io.github.mikla.Named$Ops
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.MainApp$
[error] Referring to non-existent class io.github.mikla.Named$Ops
[error]   called from io.github.mikla.Named$ops$.toNamedOps(java.lang.Object,io.github.mikla.Named)io.github.mikla.Named$Ops
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.Named$ops$
[error]   io.github.mikla.MainApp$
[error] Referring to non-existent class io.github.mikla.Named$Ops
[error]   called from io.github.mikla.Named$ops$$anon$1
[error]   called from io.github.mikla.Named$ops$.toNamedOps(java.lang.Object,io.github.mikla.Named)io.github.mikla.Named$Ops
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.Named$ops$
[error]   io.github.mikla.MainApp$
[error] Referring to non-existent class io.github.mikla.Named$Ops
[error]   called from constructor io.github.mikla.Named$ops$$anon$1.<init>(java.lang.Object,io.github.mikla.Named)void
[error]   called from io.github.mikla.Named$ops$.toNamedOps(java.lang.Object,io.github.mikla.Named)io.github.mikla.Named$Ops
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.Named$ops$
[error]   io.github.mikla.MainApp$
[error] Referring to non-existent method io.github.mikla.Named$Ops.$init$()void
[error]   called from constructor io.github.mikla.Named$ops$$anon$1.<init>(java.lang.Object,io.github.mikla.Named)void
[error]   called from io.github.mikla.Named$ops$.toNamedOps(java.lang.Object,io.github.mikla.Named)io.github.mikla.Named$Ops
[error]   called from io.github.mikla.MainApp$.name(java.lang.Object,io.github.mikla.Named)java.lang.String
[error]   called from io.github.mikla.MainApp$.main([java.lang.String)void
[error]   called from static io.github.mikla.MainApp.main([java.lang.String)void
[error]   called from core module module initializers
[error] involving instantiated classes:
[error]   io.github.mikla.Named$ops$
[error]   io.github.mikla.MainApp$
[error] There were linking errors
[error] (Compile / fastOptJS) There were linking errors
[error] Total time: 4 s, completed Aug 27, 2020 11:15:31 PM

Few notes:

if I rename trait Ops to trait NamedOps for example - everything is fine.
if I rename trait Ops to trait NamedOps and object ops to object namedops - getting the same error.

Reproduction case repo: https://github.com/mikla/scalajs-simulacrum-bug
Interesting that this code works in scastie https://scastie.scala-lang.org/3XPYbw91TmWOGb7BTos4iQ

This is a duplicate of #4148. It is already fixed on master.


Resolve dependency vulnerabilities

Codecov Report

Merging #55 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #55   +/-   ##
=======================================
  Coverage   66.04%   66.04%
=======================================
  Files          47       47
  Lines        1231     1231
  Branches      124      124
=======================================
  Hits          813      813
  Misses        311      311
  Partials      107      107

Flag
Coverage Δ

#unittests
66.04% <ø> (ø)
:arrow_up:

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 e23b43d...f992ef4. Read the comment docs.


Anyone using this with gmail?

here is my mail config
    MAIL_ADMINS = ('myaddr@gmail.com',)  # FIXME
    MAIL_SERVER = os.environ.get('FLASK_MAIL_HOST', 'smtp.gmail.com')
    MAIL_PORT = int(os.environ.get('FLASK_MAIL_PORT', 587))    # tls
    #MAIL_PORT = int(os.environ.get('FLASK_MAIL_PORT', 465))     # ssl
    MAIL_USE_TLS = get_boolean_env('FLASK_MAIL_USE_TLS', True)
    MAIL_USE_SSL = get_boolean_env('FLASK_MAIL_USE_SSL', False)
    MAIL_USERNAME = os.environ.get('FLASK_MAIL_USERNAME'<EMAIL_ADDRESS>    MAIL_PASSWORD = os.environ.get('FLASK_MAIL_PASSWORD', 'myapppass')
    MAIL_DEFAULT_SENDER = (
        os.environ.get('FLASK_MAIL_DEFAULT_SENDER_NAME', 'Flask React SPA'),
        os.environ.get('FLASK_MAIL_DEFAULT_SENDER_EMAIL',
                       f"noreply@{os.environ.get('FLASK_DOMAIN', 'localhost')}")
    )

I get an error Network Unreachable

[2019-11-12 17:30:57,990: INFO/MainProcess] Received task: backend.tasks.send_mail_async_task[ed6f60b9-4f23-45ec-b954-e5c5e76c1373]
[2019-11-12 17:30:57,991: DEBUG/MainProcess] TaskPool: Apply <function _fast_trace_task at 0x7f8b56b2bd08> (args:('backend.tasks.send_mail_async_task', 'ed6f60b9-4f23-45ec-b954-e5c5e76c1373', {'lang': 'py', 'task': 'backend.tasks.send_mail_async_task', 'id': 'ed6f60b9-4f23-45ec-b954-e5c5e76c1373', 'shadow': None, 'eta': None, 'expires': None, 'group': None, 'retries': 0, 'timelimit': [None, None], 'root_id': 'ed6f60b9-4f23-45ec-b954-e5c5e76c1373', 'parent_id': None, 'argsrepr': '(<flask_mail.Message object at 0x7f9ba724d5c0>,)', 'kwargsrepr': '{}', 'origin': 'gen13146@frickyou', 'reply_to': '7e5f5826-1177-36ef-8d89-feebe795adad', 'correlation_id': 'ed6f60b9-4f23-45ec-b954-e5c5e76c1373', 'delivery_info': {'exchange': '', 'routing_key': 'celery', 'priority': 0, 'redelivered': None}}<EMAIL_ADDRESS>React... kwargs:{})
[2019-11-12 17:30:57,993: DEBUG/MainProcess] Task accepted: backend.tasks.send_mail_async_task[ed6f60b9-4f23-45ec-b954-e5c5e76c1373] pid:10190
[2019-11-12 17:33:09,138: ERROR/ForkPoolWorker-4] Task backend.tasks.send_mail_async_task[ed6f60b9-4f23-45ec-b954-e5c5e76c1373] raised unexpected: OSError(101, 'Network is unreachable')
Traceback (most recent call last):
  File "/home/lou/lou/flask-react-spa/FRSpa/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/lou/lou/flask-react-spa/backend/extensions/celery.py", line 25, in __call__
    return BaseTask.__call__(self, *args, **kwargs)
  File "/home/lou/lou/flask-react-spa/FRSpa/lib/python3.6/site-packages/celery/app/trace.py", line 641, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/lou/lou/flask-react-spa/backend/tasks.py", line 17, in send_mail_async_task
    mail.send(msg)
  File "/home/lou/lou/flask-react-spa/FRSpa/lib/python3.6/site-packages/flask_mail.py", line 491, in send
    with self.connect() as connection:
  File "/home/lou/lou/flask-react-spa/FRSpa/lib/python3.6/site-packages/flask_mail.py", line 144, in __enter__
    self.host = self.configure_host()
  File "/home/lou/lou/flask-react-spa/FRSpa/lib/python3.6/site-packages/flask_mail.py", line 156, in configure_host
    host = smtplib.SMTP_SSL(self.mail.server, self.mail.port)
  File "/usr/lib/python3.6/smtplib.py", line 1031, in __init__
    source_address)
  File "/usr/lib/python3.6/smtplib.py", line 251, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python3.6/smtplib.py", line 336, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python3.6/smtplib.py", line 1037, in _get_socket
    self.source_address)
  File "/usr/lib/python3.6/socket.py", line 724, in create_connection
    raise err
  File "/usr/lib/python3.6/socket.py", line 713, in create_connection
    sock.connect(sa)
OSError: [Errno 101] Network is unreachable

I tested connectivity and I can open the socket remotely
(FRSpa) lou@frickyou:~/lou/flask-react-spa$ telnet smtp.gmail.com 465
Trying <IP_ADDRESS>...
Connected to smtp.gmail.com.
Escape character is '^]'.
^CConnection closed by foreign host.
(FRSpa) lou@frickyou:~/lou/flask-react-spa$
(FRSpa) lou@frickyou:~/lou/flask-react-spa$ telnet smtp.gmail.com 587
Trying <IP_ADDRESS>...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP t65sm16314qkh.99 - gsmtp
^C^]
telnet> quit
Connection closed.

Am I missing a config item somewhere?
Thanks!

GMail is pretty tricky, if I remember correctly. It's been a long time :) Try searching for "flask-mail gmail" or something similar.
Eg this answer looks promising: https://stackoverflow.com/questions/37058567/configure-flask-mail-to-use-gmail

Thanks @briancappello !!! I am decent at python, pretty newbish to the details on Flask and know enough React to be (barely) dangerous. I very much appreciate you replying to my issue and I will try not to inundate you with newb issues <3
I will leave this issue open until I find a solution and will close when I figure it out.
Thanks!!!

gmail appeared tricky, am getting error on, "connection was reset by peer" , could there be a background process resetting the gmail connections?

Thanks @briancappello !!! I am decent at python, pretty newbish to the details on Flask and know enough React to be (barely) dangerous. I very much appreciate you replying to my issue and I will try not to inundate you with newb issues <3
I will leave this issue open until I find a solution and will close when I figure it out.
Thanks!!!

Hello,
I am not sure if you have got it resolved already.
It worked for me. The configuration you have done as above is absolutely correct. But additionally, you have to comment/delete another row in the config file where MAIL_PORT is overwritten to 1025.  Then it works.
Thanks !!!


Favicon-Does Not Work

There actually is NO settings "gear" icon, no customizable settings.  Zero options in Safari Extensions window, and no icon in extensions header bar atop webpage to click.
Huge waste of time.

Right click on the Fav bar, make sure you're using latest 1.3.1
These guys made it for free, works great for me.

Hey tinker, sorry to hear this isn't working for you. If you can provide more detail (what version of this bar, where you installed from, version of OS X, version of Safari) I will look into it.

Closing this issue since we haven't received more information.


Support chunked output buffers

Ouptut can now have multiple buffers. In that case, DALI pipeline will copy  output to an intermediate buffer.
Signed-off-by: Rafal<EMAIL_ADDRESS>

CI MESSAGE: [2419418]: BUILD STARTED

CI MESSAGE: [2425847]: BUILD STARTED

CI MESSAGE: [2425847]: BUILD FAILED

CI MESSAGE: [2425847]: BUILD PASSED


iOS Error Callback Fires Immediately?

Hi,
When registering for push on iOS, the user is asked for permission to receive push notifications. However, it seems that the error handler is immediately called in the JavaScript SDK just before the dialog is shown to the user.
After the user chooses 'OK' to indicate they would like to receive push notifications, the success callback is fired as expected.
I think might make more sense for the error callback to only be fired after the user has made some choice on the dialog (or in another exceptional circumstance).
Having the error callback trigger right away makes it impossible to use promises in JS to handle the push registration flow, because a promise can only be rejected or resolved once. If the error callback rejects the promise whilst the user is making a choice, the result of a successful registration cannot be propagated to the consumer of the promise.
Here is the console output from the JS side:
[Warning] ["failed to register ",null] (app-35b7b8af.js, line 253)
[Warning] push token: [object Object] (app-35b7b8af.js, line 250)

And from the Xcode console:
2015-01-20 12:21:34.564 Client[216:18919] Will show push notifications alert
2015-01-20 12:21:34.576 Client[216:18919] THREAD WARNING: ['PushNotification'] took '30.371826' ms. Plugin should use a background thread.
2015-01-20 12:21:34.611 Client[216:18919] location services authorization status has not been determined yet
2015-01-20 12:21:34.820 Client[216:18919] THREAD WARNING: ['PushNotification'] took '49.457031' ms. Plugin should use a background thread.
2015-01-20 12:21:34.868 Client[216:19340] Sending request: {"request":{"sounds":[],"timezone":"0","device_type":1,"os_version":"8.1.1","push_token":"redacted","application":"redacted","language":"en","gateway":"sandbox","hwid":"redacted","package":"redacted","device_model":"iPod5,1","jailbroken":0,"app_version":"0.0.1","v":"2.4"}}
2015-01-20 12:21:34.871 Client[216:19340] To urL https://cp.pushwoosh.com/json/1.3/registerDevice
2015-01-20 12:21:35.625 Client[216:19340] Response "200 no error": string: {"status_code":200,"status_message":"OK","response":{"iosCategories":[]}}
2015-01-20 12:21:35.644 Client[216:19340] Registered for push notifications: redacted

Can you provide any thoughts/feedback on this issue?
Thanks

+1

Hi, this is a problem I'm having also, especially as when used in an AngularJS app it causes my promise to resolve before the user has made a choice.

+1 (me again too please - my last + got negated)

+1 Exact same issue. @shaders any help here?

+1 Also having this.

I'm no Objective C guru, but it looks like they send a nil callback immediately when registerDevice is called, then registers. Hence why we immediately get the error callback fired.
- (void)registerDevice:(CDVInvokedUrlCommand*)command {
	[self.callbackIds setValue:command.callbackId forKey:@"registerDevice"];
	CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_NO_RESULT messageAsDictionary:nil];
	[pluginResult setKeepCallbackAsBool:YES];
	[self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];

	[[PushNotificationManager pushManager] registerForPushNotifications];
}

Checking this now. What Cordova version do you use?
Maybe they changed something because the plugin returns "CDVCommandStatus_NO_RESULT" which should not trigger callback.

cordova -v
4.1.2

Could you tell me the result of this command as well?
cordova platforms list

$ cordova platforms list
Installed platforms: android 4.0.0-dev, ios 3.7.0
Available platforms: amazon-fireos, blackberry10, browser, firefoxos

Awesome, thanks!

Indeed this is a bug of Cordova 4.1 and 4.2
https://issues.apache.org/jira/browse/CB-8063
I'm going to remove CDVCommandStatus_NO_RESULT as a workaround and will push an update (version 3.4.7).

done

@shaders That's great, thanks!

I am getting same issue:

location services authorization status has not been determined yet
I am using cordova 5.1.1 and pushwoosh latest version. Please let me know how can I fix this problem.
Thanks a lot for your help.

This is an error about location services not authorized yet.

It's ok if you don't use location services
The user simply didn't press "Allow to use location" when using location services
You forgot to add "NSLocationWhenInUseUsageDescription" or "NSLocationAlwaysUsageDescription" to your Info.plist file (however you should see explicit error about that in the console)


Broken link in PropertyFieldDateTimePicker docs

Category

[ ] Enhancement
[X] Bug
[ ] Question

Observed Behavior
The link for OnGetErrorMessage documentation is broken in this page
https://github.com/SharePoint/sp-dev-fx-property-controls/blob/master/docs/documentation/docs/controls/PropertyFieldDateTimePicker.md

Looks like this is the correct url - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/validate-web-part-property-values
Submitted a PR

The PR has been merged and will be available in the next release.

The version has been released.


Remove "test me" initial node.

Pull Request Description

This PR removes initial "Test me" node, added to empty project. We are removing it, because we are going to display message "press TAB to start" when there are no nodes on scene

Checklist
Please include the following checklist in your PR:

[ ] The documentation has been updated if necessary.
[ ] The code conforms to the Luna Style Guide.
[ ] The code has been tested where possible.

LGTM
wt., 9 paź 2018, 20:09 użytkownik Piotr Młodawski<EMAIL_ADDRESS>napisał:

@pmlodawski https://github.com/pmlodawski requested your review on:
luna/luna#306 https://github.com/luna/luna/pull/306 Remove "test me"
initial node..
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/luna/luna/pull/306#event-1893569011, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB9R4gj5ygOKBBrHngAEiUGvH2SO9emsks5ujOZagaJpZM4XT1g0
.


refactor asr egs

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like

large batch size

restore model from latest or specific checkpoint.

refactor solver to using by asr and emo.

blank index transform and doc addition.

mini_an4 integration test.

filter input & output length. [espnet utils]

Describe alternatives you've considered
N/A
Additional context
N/A

batch_size = 32, model = CTCAsrModel , one gpu, HKUST
Epoch 00001: val_token_err improved from inf to 0.46107, saving model to exp/asr-ctc/ckpt/best_model.ckpt

No need to filter input and/or output length.

mini_an4 integration test.
Can not using Kaldi in CI Image, replace with our ops.
see #52

filter input & output length.
This is the utils https://github.com/espnet/espnet/blob/master/utils/remove_longshortdata.sh.

restore model from latest or specific checkpoint.
using _get_most_recently_modified_file_matching_pattern to select which checkpoint to load.

using ModelCheckpoint to load checkpoint on start.


Authentication error for qps endpoints

Hi,
thanks for the efforts spent into this project. I've been using this library for several years now and it was working without any issues.
Recently (after having upgraded to version 1.14.0) I had noticed an issue when trying to call a qps endpoint of our QlikServer.
To prepare the client I am using a code similar to this:
var qpsRestClient = new RestClient("baseUrl");
qpsRestClient.AsDirectConnection("ServiceUserDirectory", "ServiceUserId", QPSPort = 4243, false, serverCertificateCollection);

Within the "AsDirectConnection" method the BaseUri gets extracted like this:
 var uriBuilder = new UriBuilder(BaseUri) { Port = port };
 BaseUri = uriBuilder.Uri;

Since I am working with "qps" the port passed is 4243 and not 4242, so the BaseUri also gets the port 4243.
Before calling any endpoint an authentication logic takes place:
private async Task CollectCookieAsync()
{
    RestClientDebugConsole?.Log($"Authenticating (calling GET /qrs/about)");
    var client = GetClient();
    await LogReceive(client.GetStringAsync(BaseUri.Append("/qrs/about"))).ConfigureAwait(false);
    RestClientDebugConsole?.Log($"Authentication complete.");
}

The problem here is that we try to call the /qrs/about endpoint but we are in the qps context (port=4243).
Since the GET request to this endpoint returns a 503 error, the authentication fails and I cannot call any qps endpoint.
Thanks in advance for any feedback on that issue.

Interesting case! I'll have a look at it!

Hi! I've just published v1.14.1 that contains a fix for this. There's no need to do that authentication procedure when using direct connections, so I simply removed the step in those cases. So, simple fix. Please try it out and see if it does the trick!

By the way, which version were you upgrading from? I think perhaps this issue became a problem in v1.12.0 so I'm guessing your coming from a release earlier than that.

Many thanks @kolsrud for your efforts spent into this issue.
I was working on a project that hasn't been touched for a few years, so I am not sure anymore (if it is required I can check the Git history) which version I was using back in the days but it was definitely 2020 or even older.
I was able to verify the setup with the latest v1.14.1 and it works again, thank you very much!
Issue can be closed :-)

OK, thanks for confirming! It's not that important to know which version you upgraded from. I was just curious. Glad to hear it works!


Example for pulling ACR image with AKS AAD auth

Hi,
When reading this page without first reading https://docs.microsoft.com/en-au/azure/aks/tutorial-kubernetes-deploy-cluster#configure-acr-authentication it's unclear how should look a YAML file for pulling ACR image with AKS AAD auth similar to how you provided one for secret based access, suggest to add the link to above page instead of re-documenting here how to grant AKS access to ACR without YAML examples.
Also,

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

ID: ed59d472-ac33-5c03-dbb7-0e86e88c7dd8
Version Independent ID: 69e1ad8c-2dd3-cc1b-2b31-996a5d866cc0
Content: Authenticate with Azure Container Registry from Azure Kubernetes Service
Content Source: articles/container-registry/container-registry-auth-aks.md
Service: container-service
GitHub Login: @dlepow
Microsoft Alias: danlep

@Eldar1205 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@dlepow Please validate the request


Update tvtv.us_us.channels.xml

This Patch Will Add
●St Louis Area EPG.
●WPPX Philadelphia Related EPG
●Sky News (Version Which Available in Peacock and Pluto TV), Today All Day.

Can't Fix "1846:1 Premature end of data in tag site line 2"

Cancelled, I'll Retry Later.


[Feature] [axis] add alignTicks for mutliple axis alignment.

Brief Information
This pull request is in the type of:

[ ] bug fixing
[x] new feature
[ ] others

What does this PR do?
This PR adds alignTicks option to allow ticks alignment between multiple value or log axis.
Similar PR: https://github.com/apache/echarts/pull/13210
How it Works
When a value/log axis is set to alignTicks: true. It will find the first value/log axis on the same dimension that is not use alignTicks and align the ticks to it.
The align algorithm is bacially from radar series, which already has ticks alignment between multiple indicator axes, with some enhancement on the corner cases. The simple idea is find a good interval that having minimal extent that can contain the data. Here is a detail explaination

Get the ticks number of axis align to. The splitNumber is ticksNumber - 1
Calculate extent and interval with this splitNumber using calcNiceExtent.
The calculated ticks number is not excatly same to the target number. So we need an extra refine step, the refine step will consider four cases:

If min and max are both fixed. It will simply calculate the interval by (max - min) / splitNumber
If max is fixed. Try to calculate min by max - interval * splitNumber. interval is from the second step. If the calculated min is larger than the minimal value. Increase interval util min is less than the minimal value.
If min is fixed. Similar to max fixed case.
If both min and max are not fixed. Set max to extent[1] calculated from the second step. Then it's similar to the max fixed case. Note if the calculated min and max cross the zero value. We need to check if the data extent cross and make sure they are both positive or negative.

If the axis align to has set min or max. We need to adjust the calculated min and max proportionally.

Limitations

Time axis is not supported yet because the ticks calculation has becoming really complex since 5.0
Using alignTicks with complex min, max value, e.g. 'dataMin', 'dataMax', will lead to unreadable ticks.

Fixed issues
https://github.com/apache/echarts/issues/11390
https://github.com/apache/echarts/issues/10928
Details
Before: What was the problem?

After: How is it fixed in this PR?

More conformance tests

Misc

[x] The API has been changed (apache/echarts-doc#xxx).
[ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs
N.A.
Others
Merging options

[ ] Please squash the commits into a single one when merging.

Other information

Hi
I Can't build an example with because my data is sensitive but here is a screenshot showing that the last right axis min is not calculated correctly:

Min value of this dataset is 58.854 but the min axis tick shows as 58.86


⚠ Bofrost.es has degraded performance

In 856f854, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 2007 ms

Resolved: Bofrost.es performance has improved in aa5f171 after 6 minutes.


Using next-translate on the server

Sometimes my API needs to send back messages using different locales. Is there way of doing that using next-translate? If not, is it on the roadmap?

Next-translate translates both on client and server, but always within the (P)React environment. If you want to translate texts outside React, such as within an API route, right now there is no other way than moving the logic to React:
on API route:
export default function handler(req, res) {
  const textToTranslate = {
     key: 'api:example-of-message',
     params: { exampleOfParam: req.username }
  }

  res.statusCode = 200
  res.setHeader('Content-Type', 'application/json')
  res.end(JSON.stringify(textToTranslate))
}

on React:
export default function useAPIMessage({ key, params  }) {
   const { t } = useTranslation()
   return t(key, params)
}

It could be interesting to add the functionality in API route, but it would be good to understand the reasons why this is needed. Translations are part of the UI, why do you want to use translations within an API route instead of using the translations keys?

@aralroca The use case I had in mind was for my API to return the locale-translated error message for the user.
For example, Facebook has a error_user_msg in the API response for their Graph API.
https://developers.facebook.com/docs/graph-api/using-graph-api/error-handling/
It's uncommon, yes, but it's a use case. And I think the advantage of providing a error_user_title error_user_msg is that there is a single source of truth for user-visible error messages. If the API was being consumed somewhere else, then another set of error message translations would have to be maintained.
Also, in Next.js, if I want to translate some messages in getServerSideProps, which I currently can't do.

Okay, it makes sense. Then I mark it as a future feature. Probably we can extend our API with something like:
import serverSideT from 'next-translate/serverSideT'

// ...
export function getServerSideProps({ locale }) {
   const t = await serverSideT({ locale, namespace: "error" })
   const example = t('example-of-error-key')

   return { props: { example }  }
}

@andrehsu I added getT 😊
getT
Size: ~1.3kb 📦
Asynchronous function to load the t function outside components / pages. It works on both server-side and client-side.
Unlike the useTranslation hook, we can use here any namespace, it doesn't have to be a namespace defined in the "pages" configuration. It downloads the namespace indicated as a parameter on runtime.
Example inside getStaticProps:
import getT from 'next-translate/getT'
// ...
export async function getStaticProps({ locale }) {
  const t = await getT(locale, 'common')
  const title = t('title')
  return { props: { title } }
}

Example inside API Route:
import getT from 'next-translate/getT'

export default async function handler(req, res) {
  const t = await getT(req.query.__nextLocale, 'common')
  const title = t('title')

  res.statusCode = 200
  res.setHeader('Content-Type', 'application/json')
  res.end(JSON.stringify({ title }))
}

@andrehsu I pre-released the change under 1.0.0-canary.8. I would appreciate it if you could try it out on your project and give me feedback that everything is working well for you 😊
If you wonder how to migrate to version 1.0, here is a guide:

https://github.com/vinissimus/next-translate/blob/1.0.0-canary.8/docs/migration-guide-1.0.0.md

Any doubt, tell me. Thank you very much for reporting it 🙏 I guess that version 1.0 will be released soon.


Support filtering by ?

Is there currently a way for me to set up filtering based on the  of the items? So, for example, if the select looks like this:
Dogs <- optgroup
    Lab
    Beagle
    Pug
Cats <- optgroup
    Tabby
    Scottish Fold

...then the user could type "Dogs" and have the three dogs visible? Is this possible with some extension of the API on my part?

Thank you to @rodnaph. Very useful matcher.


LUT problem in iOS 13 and below

In my own app, LUT on iOS <=13 appears quite a lot darker compared to iOS 14 or PC.
But I can't create a reproducable Codesandbox for that problem yet because my attempt don't even work on iOS 13.
The Color Grading example does not work on iOS <= 13:

Working fine on iOS 14:

I use this CodeSandBox to test LUT effect only (https://codesandbox.io/s/sparkling-water-99dle)
But it also doesn't work on iOS 13:

iOS 14 is fine too:

All the above problem only occurs on iOS 13 and below.
iOS 14, PC, Android are fine.
( If you don't have the devices, you should use BrowserStack, it's really simple and free for open source contributor: https://www.browserstack.com/open-source )

Thanks for the report! I didn't know that BrowserStack offered this free option 👍
I managed to track this issue down to this line: https://github.com/vanruesc/postprocessing/blob/4fb16005928bca1cb7f58649a49eb5cde8b6bae2/src/images/textures/LookupTexture3D.js#L212
It looks like iOS <= 13 doesn't like Uint8ClampedArray, but works just fine with Uint8Array: sandbox
I'll publish a patch in a bit.

The Color Grading example does not work

The error regarding the "unexpected semicolon" in the demo is caused by field declarations which are generated by esbuild. It looks like the demo build currently uses the default target esnext which needs to be changed to es6.

Should be fixed in<EMAIL_ADDRESS>

Thanks for the quick fix!
The color grading example is working now, but the sandbox you provided is still throwing errors on iPhone XS iOS 13:

The color grading example is working now, but the sandbox you provided is still throwing errors on iPhone XS iOS 13:

Well, that's strange. Even removing the LUTEffect doesn't fix the errors. I randomly commented out the line renderer.setPixelRatio(window.devicePixelRatio); and that somehow fixed it. The strange thing is that the color grading demo also sets the pixel ratio and works fine 🤷
Here's the updated sandbox : https://codesandbox.io/s/jolly-liskov-nwblg


Build started failing suddenly with Cannot find module: '@mui/utils/getReactElementRef'. Make sure this package is installed. error

Steps to reproduce
Steps:

having "@mui/material": "^5.16.7",  version in package.json
everything was working until this morning and breaking now without any code change
we saw that exact code was introduced before 5 hours
If we keep exact version it works

Current behavior
if we have "@mui/material": "^5.16.7" it does not work break, which was working fine before couple of hours, getting below errors
Failed to compile.
<EMAIL_ADDRESS>Cannot find module: '@mui/utils/getReactElementRef'. Make sure this package is installed.
You can install this package by running: npm install @mui/utils/getReactElementRef.
node:events:495
throw er; // Unhandled 'error' event
^
Error: spawn react-app-rewired build ENOENT
at notFoundError (D:\a\1\s\prod\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (D:\a\1\s\prod\node_modules\cross-spawn\lib\enoent.js:40:16)
at cp.emit (D:\a\1\s\prod\node_modules\cross-spawn\lib\enoent.js:27:25)
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
Emitted 'error' event on ChildProcess instance at:
at cp.emit (D:\a\1\s\prod\node_modules\cross-spawn\lib\enoent.js:30:37)
at ChildProcess._handle.onexit (node:internal/child_process:292:12) {
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn react-app-rewired build',
path: 'react-app-rewired build',
spawnargs: []
}
Expected behavior
It should work without us needing to anything as our production build is now breaking
Context
No response
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: build failing suddenly without any change

Hey @daivagna, thanks for the report and sorry for the inconvenience.
May I ask you to run npx @mui/envinfo and share the output?


ci: test against php 8.0

Allow use of this package on PHP 8.

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


fix GasFeeController incorrectly setting globally selected state

Explanation

References

Changelog

@metamask/package-a

: Your change here
: Your change here

@metamask/package-b

: Your change here
: Your change here

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@metamask-bot preview-build

@metamaskbot preview-build

@metamaskbot publish-preview


Enable fixed tests

This PR should re-enable tests that were either already passing, or were fixed in https://github.com/openSUSE/salt/pull/662
This PR is waiting for a new Salt RPM release.

Closing in favor of https://github.com/openSUSE/salt-test-skiplist/pull/11


Move inventory changing methods to service objects

Closed -- this is now covered by #1584  (and the issues it references)


tests: do not use --embed with nvim in RPC based test

Ref: https://github.com/neovim/neovim/issues/10031#issuecomment-493755631
With --embed it would hang with output during autoload, likely waiting
for an hit-enter prompt (e.g. with for i in range(0, 10) | echom i | endfor
in autoload/neomake/highlights.vim).

Oh well, that does not work on Nvim 0.1.7 and 0.3.1 apparently..


[Storage Explorer] _token_refresh_source type change

Issue: https://msazure.visualstudio.com/One/_workitems/edit/28320197
Error while unmashalling  OAuthTokenInfo._token_refresh_source as the type has been changed from string to uint8 and the field is received as string type from user.
Bug-fix: Implemented two interfaces json.Marshaler and json.Unmarshaler on AutoLoginType to marshal and unmarshal it as a string.
PR reference where _token_refresh_source has been changes from string to uint8

@dphulkar-msft, let's prioritize this PR, this is the last item we need to complete before the patch release.


Twilson63/chg convert map in memory 4

minisearch now uses sqlite as a data store to persist search documents...

Thank you for the great review as I go through transitioning some of the other methods to Async, I had an idea, to wrap the miniSearch api with promise functions like I did with the dal and inject the minisearch abstraction into the adapter. This will allow for a cleaner flow with the logic I think, with both apis being promised based, converting them to Async and building pipelines will be much more clean and any errors thrown will be better controlled. It might take me another day to refactor, but I think it will be worth it.


SW-5607 Use rate-limited events for submission notifications

Use RateLimitedEventPublisher to limit the rate of notifications about
deliverable submissions, replacing the code that scans for recent submission
updates.
In addition to requiring less code, this improves the notification behavior:
previously, the code would defer notifying until at least 5 minutes had passed
since the last action on the submission, no matter how long that took. Now it
will send a notification the first time an action happens, followed by
notifications at most every 5 minutes if additional actions happen.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2416
#2415  👈
#2414
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Sep 16, 3:16 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


[SPARK-12309] [ML] Use sqlContext from MLlibTestSparkContext for spark.ml test suites

Use sqlContext from MLlibTestSparkContext rather than creating new one for spark.ml test suites. I have checked thoroughly and found there are four test cases need to update.
cc @mengxr @jkbradley

Test build #47624 has started for PR 10279 at commit c696d2b.

Test build #47624 has finished for PR 10279 at commit c696d2b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47624/
Test PASSed.

looks good to me (had similar changes in SPARK-10299's tests).

Thanks for the PR.
In TreeTests.scala, could you please change the new SQLContext call to use SQLContext.getOrCreate?  Or you could change that method to take a SQLContext as an argument (which might be safer).
Also, you could remove the import of SQLContext in the tests you modified.

@jkbradley I have changed new SQLContext to SQLContext.getOrCreate in TreeTests.scala, and remove unnecessary import.

Test build #47798 has started for PR 10279 at commit 2a934b2.

Test build #47798 has finished for PR 10279 at commit 2a934b2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47798/
Test PASSed.

LGTM
Merging with master
Thanks!


A little bit harder task, but still very good for learning something more (Still possible to finish within couple of hours)

2) A little bit harder task, but still very good for learning something more (Still possible to finish within couple of hours)
https://github.com/RostislavLitovkin/PlutoWallet/issues/50


Fix severity not working because ruleName is not prefixed, fixes #33

A quick fix to have stylelint correctly report error or warning instead of ignore for stylelint-scss rules.
It seems that the plugin name has to match rule's name for everything to work. We have been namespacing rule names when createPlugin gets called, which resulted in bug #33.
Would be nice to know if there is a cleaner way of fixing this than calling namespace function in each rule. /CC @davidtheclark @jeddy3 @ntwb @dryoma

Oh cool! That wasn't an obvious fix. Thanks for getting to it. 👍

I took me a while to figure out what is going on :)

Yeah, each rule has to be namespaced like that. The way that you've done it looks smart to me :)


Full path in desktop file

Installing maestral_qt with pip will create a desktop file under $HOME/.local/share/applications/maestral.desktop.
This desktop file will contain Exec=maestral_qt.
maestral_qt is installed under $HOME/.local/bin.
This is not in standard $PATH.
Adding $HOME/.local/bin to $PATH in .bashrc has no effect as desktop environments do not run .bashrc.
You will need another way to export that path in $PATH (see e.g. archlinux wiki).
The best way, I'm told. is to actually put the full path in the .desktop file.
I then request that the full path to the binary will put in the desktop file.

This is a tricky issue. Unfortunately, pip-installs are not really meant to install anything outside of Python's directories. The fact that it is possible to install something like a desktop file at all is something that is already deprecated, see https://setuptools.pypa.io/en/latest/userguide/datafiles.html. It is however not possible to dynamically change the content of such files using modern Python distribution methods. Since it is impossible to guess where exactly maestral_qt will be installed, I've opted to use the command name only, and left the burden of ensuring that its in the user's path on the user.
The real issue is packaging for Linux. The ideal solution would be to distribute Maestral as a "standalone" application. Unlike macOS, packing on Linux however is a can of worms. I've been reluctant to take this on.


Deal with large databases

NeDB fails with large database (e.g >300mb). https://github.com/louischatriot/nedb/issues/442
This was mainly introduced with #165
We have a few options (multiple can be selected):

Remove covers from database
Change database (a real mongoDB, linvodb3 ?)

LinvoDB looks nicer indeed, even without solving this particular issue

LinvoDB came up after I implemented NeDB. I'll need to investigate a bit more about it, it indeed looks nice.
Of course it's one option amongst others.

From gitter:
Yury @YurySolovyov 15:17
well, I purpose not to store them at all

Pierre de la Martinière @KeitIG 15:19
you mean only to use local jpg ?

Yury @YurySolovyov 15:19
I mean make an express service on main process
that would handle requests for the covers and make cover component a simple img tag
for now this service would do same thing - using musicmetadata to get the image
later it would be easier to extend it to look into track folder
and even later we may add a way to look it up in the internet
I know I'm kind of pushing, but I think this solution would scale better
in terms of complexity
this could be done by registering new protocol, say, cover://
so the image source would be just cover://<filepath>

Yury @YurySolovyov 15:25
I can do later since library size is not same as app crash,
but I think this approach is better

This way covers are fetched only when they needed, which is probably slower in raw numbers, but still low enough to be comfortable to users

One concern about LinvoDB: can we use it in main process?


spirv.Bitcast op result type verification failure

What happened?
Compiling the mlir, throws the error
dispatches/module_forward_dispatch_37.mlir:39:15: error: 'spirv.Bitcast' op result #0 must be 8/16/32/64-bit integer or 16/32/64-bit float or bool or vector of bool or 8/16/32/64-bit integer or 16/32/64-bit float values of length 2/3/4/8/16 or any SPIR-V pointer type, but got 'vector<1xf32>'
        %26 = linalg.generic {indexing_maps = [affine_map<(d0, d1) -> (d0, d1)>, affine_map<(d0, d1) -> (d0)>, affine_map<(d0, d1) -> (d0)>], iterator_types = ["parallel", "reduction"]} ins(%18, %19 : tensor<8192x320xf32>, tensor<8192xf32>) outs(%25 : tensor<8192xf32>) {

Here is the iree-compile command used:
iree-compile dispatches/module_forward_dispatch_37.mlir  --iree-hal-target-backends=vulkan --iree-vulkan-target-triple=m1-moltenvk-macos --iree-stream-resource-index-bits=64 -o compiled-dispatch/fd37.vmfb 2> compiled-dispatch/fd37-error.log

Attached error log:
fd37-error.log
Attached falling dispatch:
module_forward_dispatch_37.txt

So we are not handling size-1 vector / scalar cases corner properly with spirv.Bitcast. @kuhar could you take a look and fix it?

Update for mac:
Dispatch:
mac-module_forward_dispatch_37.txt
Error-Log:
mac-fd37-error.log

Thanks for the detailed repro, @Ranvirsv. I am able to reproduce the error and minimized it to:
func.func @cast7(%arg0 : vector<2xf16>) {
  %0 = spirv.Bitcast %arg0 : vector<2xf16> to vector<f32>
  return
}

Command: mlir-opt repro.mlir --verify-diagnostics.
Doesn't seem to be related to fp16 specifically, I can also reproduce it with 2xf32 -> 1xi64.

Separately from the issue in the SPIR-V dialect, I'm wondering why these values are loaded like this in the first place:
    %117 = "spirv.AccessChain"(%59, %106, %116) : (!spirv.ptr<!spirv.struct<(!spirv.rtarray<vector<2xf16>, stride=4> [0])>, StorageBuffer>, i32, i32) -> !spirv.ptr<vector<2xf16>, StorageBuffer>
    %118 = "spirv.Load"(%117) : (!spirv.ptr<vector<2xf16>, StorageBuffer>) -> vector<2xf16>
    %119 = "spirv.Bitcast"(%114) : (vector<2xf16>) -> vector<1xf32>

instead of accessing f32 directly.

True! Feels like some propagation could happen and simplify these cases - wonder where that gets introduced.

Yeah worth seeing how this is converted in the CodeGen flow. Though during conversion to SPIR-V we should be able to handle size-1 vectors; that's also something needs to be fixed.

These bitcasts come from --spirv-unify-aliased-resource where it tries to unify loads of ptrs with different element types:
Convert load: %67 = spirv.Load "StorageBuffer" %65 : vector<2xf32>
        ptr: %65 = spirv.AccessChain %__resource_var_0_0__1_addr[%cst0_i32_24, %62] : !spirv.ptr<!spirv.struct<(!spirv.rtarray<vector<2xf32>, stride=8> [0])>, StorageBuffer>, i32, i32
New load: %66 = spirv.Load "StorageBuffer" %64 : vector<2xf16>
        ptr: %64 = spirv.AccessChain %__resource_var_0_0__addr[%cst0_i32_24, %63] : !spirv.ptr<!spirv.struct<(!spirv.rtarray<vector<2xf16>, stride=4> [0])>, StorageBuffer>, i32, i32

@kuhar is there any workaround for this ? This prevents Stable Diffusion from running on the Metal backend (used to work with moltenvk and we would like to avoid going back to it).

@kuhar is there any workaround for this ? This prevents Stable Diffusion from running on the Metal backend (used to work with moltenvk and we would like to avoid going back to it).

I have a WIP fix in MLIR: https://reviews.llvm.org/D156207. Could you try applying it and see if it makes it work?

Did not changed it, still get the error 'spirv.Bitcast' op result #0 must be 8/16/32/64-bit integer...

You will have to apply it to the local fork of LLVM. Please double check it was getting pulled into your build.

Did it work, @Ranvirsv? The patch landed in MLIR earlier today, so IREE should pick it up the next time we integrate llvm-project.

The mlir change should have been integrated with https://github.com/openxla/iree/pull/14532. I'm going to close this as resolved, but feel free to reopen is you can still reproduce this.


use cross-env to make env-setting work better in 'npm run'

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

直接使用TARGET=web-full-dev在Windows上不能直接用，用cross-env可以让process.env的设置在不同系统统一化，方便开发

I can confirm that these npm scripts crash without cross-env on Windows.

Thanks for the PR - cross-env spawns a new process for every script, I've changed the setup to simply not rely on env variables.


Consolidating new_<>()

This patch introduces a consolidation of hpx::new_<>(). The following overloads have been implemented:
// create single instances of a component
future<id_type> f = new_<Component>(loc, ...);
client c = new_<client>(loc, ...);

// create multiple instances of a component
future<std::vector<id_type>> f = new_<Component[]>(loc, ...);
future<std::vector<client>> f = new_<client[]>(loc, ...);

This patch also introduces 3 distribution policies: default_distribution_policy, binpacking_distribution_policy, and collocating_distribution_policy. All overloads of new_ above can be invoked with one of the distribution policies instead of the target locality loc, for instance:
 future<id_type> f = new_<Component>(colocated(id), ...);

All of the above also allowed to remove the new_colocated API functions, and the distributing_factory and binpacking_factory components.
For convenience, this patch also renames HPX_REGISTER_MINIMAL_COMPONENT_FACTORY to HPX_REGISTER_COMPONENT.

@sithhell: The last commit fixed the things you mentioned.


getDOMNode(...) is deprecated. Please use ReactDOM.findDOMNode(instance) instead

This warning showed up when upgrading to React 0.14
Can you please refactor this cause it will break in the next version.
Thnx in advance!

It is actually working...
If you are interested, read through #612

Thnx for the explanation, now i'm reassured that it will not break in react 0.15 :+1:


HierarchyId Support [Discussion Link]

I opened a discussion over at Roslyn for a Hierarchy type. Since it would be advantageous to design this type to work cleanly with EF and SQL's HierarchyID I thought I'd post a link here for anyone interested.
[C# Feature Request] Hierarchy Data Type #16193

Duplicate of #365. Added a note about the C# feature request to that issue.


ffmpeg.js plugin: cannot import convertWorkerURL

Description
I'm trying to add ffmpeg.js in my Vue.js + Nuxt.js project. I've imported the convertWorkerURL as shown in the example on https://collab-project.github.io/videojs-record/#/plugins/ffmpeg.js, however when after I record i'm getting undefined for the this.player.convertedData object. My guess is either I'm importing it wrong or there's some issue with the library's options for this plugin.
Steps to reproduce
Using the following options:
convertEngine: 'ffmpeg.js',
    // convert recorded data to MP3
    convertOptions: ['-f', 'mp3', '-codec:a', 'libmp3lame', '-qscale:a', '2'],
    // specify output mime-type
    pluginLibraryOptions: {
        outputType: 'audio/mpeg'
    },
    // use MP4 encoding worker (H.264 & AAC & MP3 encoders)
    convertWorkerURL: '../../node_modules/ffmpeg.js/ffmpeg-worker-mp4.js'

After recording, this.player.convertedData is undefined
Results
Expected
Should be able to see the convertedData
Actual
Seeing undefined value
Error output
N/A
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
4,.1.1
browsers
Chrome
OSes
Mac

I'm trying to add ffmpeg.js in my Vue.js + Nuxt.js project.

Not sure, I can't help debugging projects with external frameworks and no error messages.
I'm marking the ffmpeg.js plugin as deprecated, since the library looks unmaintained and doesn't work properly. Use the ffmpeg.wasm plugin instead.
Closing this ticket.

I'm trying to add ffmpeg.js in my Vue.js + Nuxt.js project.

Not sure, I can't help debugging projects with external frameworks and no error messages.
I'm marking the ffmpeg.js plugin as deprecated, since the library looks unmaintained and doesn't work properly. Use the ffmpeg.wasm plugin instead.
Closing this ticket.


Adding new chunks doesn't trigger HMR properly

Also installed an npm dependency, maybe linked to that

False alarm, sorry for all the notifications. It was a bad configuration


in-situ mPMT model

This is the promised geant4 model for the in-situ mPMT. One important feature is that the small PMT cathode glass positions are exactly the same in the ex-situ and in-situ models.
Another minor change is to define the mPMT dome as the detector boundary point, since the blacksheet is removed at the mPMT placement positions.
Figures below show the structural difference between the ex-situ and in-situ mPMTs.

The light acceptance is the highest in the ex-situ model, followed by the in-situ model, and the WCSim one comes in last.

While we have both ex-situ and in-situ models implemented, we have not decided the distribution of the two models. For now, we will just use the ex-situ alone in the default macro, so there should be no change in the validation output.

@tdealtry CI is dead again?
  /usr/bin/docker --config /home/runner/work/_temp/.docker_4d8735fa-4988-4aca-aeca-51e92d70bc7e login ghcr.io -u kmtsui --password-stdin
  Error: Docker login for 'ghcr.io' failed with exit code 1


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove probing - catalyst adds all the appropriate fields now

@victorges does the final logic look ok to you?

@mjh1 Sorry didnt see the comment til now. It does look good!


Request for Darkmode / Transparent images for MAL BBCode

This is probably more of a request for niche users of global darkmode setting in browsers, but I would like to have the option for a transparent background or otherwise "dark" image for BBCode in MAL.
As an example, this renders fine on the main site when it is generated in HTML:

However the only image available for use in BBCode still has a white background, appearing a bit odd on a dark background in MAL profile:

For those curious, the "darkmode" setting is available in chromium-based browsers and can be found at chrome://flags/#enable-force-dark . I have mine set to "Enabled with selective inversion of non-image elements".

Nice suggestion, let me see what I can do

@ekrekeler sorry for taking this long, but now all images are generated with a transparent background.
In addition to that, now there is a larger image variant, which ss better to use on your MAL profile page since it has a larger resolution.

Awesome!
I forgot about this as well, thanks for fixing this. I just checked with the "Large BB Code" on my profile and looks just like above.


LOD screen coverage proposal

Implements a screen coverage LOD loading and selection to support https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_lod

I ll do my pass after the first batch of fixes :-)


Implemented parallel unload of Vector data through DataStreams

Implementing parallel unload of data in spark-connector through Vector DataStreams

This pull request was previously review as external-insert. Merging with master.


Adds FFI to the main branch

Fixed the DCO thing! Had to force push since it changed hashes to edit the one commit with the missing sign-off.


Add to Moonrocks

Hello,
any chance you would consider releasing this (or a subset of the modules) on Moonrocks so that it is available in LuaRocks by default?
I guess the debugger would be useful, probably the Thrift module as well.

+1 making this easier -- currently I'm really struggling to get these libraries to build and install.

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

Any update on this, it's a pain to install as it currently is :/

@LinusU sadly, no. I dont think we can ever have this be possible without a clear story around installing all the dependencies needed for fblualib in the first place.

Hmm, yeah I guess that that is right. Dependencies cross-platform is hard :)


HTTP status code should be 401 for expired token

The Read Me document states:

Expiring Tokens works exactly the same as the default TokenAuth, except that using an expired token will return a response with an HTTP 400 status and a Token has expired error message.

HTTP response status code 400 means “Bad request”, as in a malformed request. This does not seem appropriate for a well-formed request with expired authentication.
Instead, the response status code 401 “Unauthorized” is more appropriate. The message “Token has expired” can still be in the response body to explain why the authentication failed.
(Reference for HTTP response codes, temporary errors)

The response status 401 also needs a header field WWW-Authenticate:

The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource.

This is good because it allows stating exactly what authentication is required to continue.


clsx/prefer-objects-over-logical removes quotes when autofixing

Hello, thank you for this plugin !
I'm trying it today and I found a small bug, when autofixing a condition, eslint-plugin-clsx removes the quotes entirely. I think in this case it should check for quotes and keep them when refactoring >

@raphaelbadia
Yeah looks like a nasty bug! I'm pretty busy lately (as you can see by delay of this answer), I'll fix it when I have time to, no commitments tho
Did you end up disabling this rule or ditching the plugin entirely?

I first tried to fix it myself, failed, and ended up ditching the plugin completely because that was the more interesting rule for me and my team. But I'm watching the repo, will know if you happen to fix it 😄 If you don't, no worries!


update workflow base OS and container to ubuntu:noble.

follow up https://github.com/ros2/rclc/pull/407, see https://github.com/ros2/rclc/pull/407#issuecomment-2379968586

@JanStaschulat @pablogs9 @christophebedard either of you can take a look?

@JanStaschulat @pablogs9 can you merge this?

@JanStaschulat can you merge this? i do not think this does any harm.


Wrong newsfeed link.

Description

The newsfeed link on the blog page takes the user to some XML file which is not expected.
Reproduction

Go to Blog page
Click on news feed here
See error.

Expectation

It should take the user to a legitimate news feed subscription page.
Environment

Device:laptop
OS: Ubuntu 16.04
Browser:  Firefox
Version: 75

Additional context

Resolution

[x] I would be interested in resolving this bug.

I am not sure about where this link should take the user.

@Dhruvi16 this is not a bug, if you put that URL into your RSS reader, it will subscribe to it.
What kind of page where you expecting?

I think if we change the text to "RSS feed" and/or put the RSS icon alongside it, it would make it quite clear.

I'm in support of doing both those things.

Oh! I got confused. I agree with @dhruvkb here.

go ahead! do we have an RSS icon in Vocabulary?

There is not an RSS icon.

I will add an issue and make a PR to add an RSS icon. Is that okay @zackkrida?

@Dhruvi16 is this ready for work now that the icon is in Vocabulary?

On it.

I guess these icons will be available in the next release right? @zackkrida

@Dhruvi16 they should be available now, let me check if something went wrong with the build on the latest version!

@Dhruvi16 yes the rss-square icon is available in the latest vocabulary. The fonts storybook just hadn't updated. I did vue and vocab but forgot that one. It's fixed now:
https://cc-fonts.netlify.app/?path=/docs/vocabulary-icons--page


[Guide - The New Architecture] Fabric Components as Native Components

This PR adds the guide to create a backward compatible Fabric Component.
Draft while we wait for Android.

Draft while we wait for Android.

Same as the other PR, can I push here or should I do a separate PR?

Yes, push here!


Custom Items cannot be used in Custom Crafting Recipes

I'm using the last 2.5 version because none of the 2.6 snapshots would even remotely work: They wouldn't even load when the server started.
I can't use any of RPGItems items in crafting of more RPGitems. Can I get a fix or get this fixed?

Custom recipe by plugin in 1.12/1.13+ is not recommend. Recipe support in RPGItems main plugin may be removed in future.


nuxt 3 firebase-hosting not working

Environment
node: v14.18.1
Reproduction
// REPRODUCTION REPO
https://github.com/rendomnet/nuxt3-firebase
just change the project-id "project-name" in firebase.json and .firebase.rc
I'm following this QUICK-START guides.
nuxt-3
https://v3.nuxtjs.org/getting-started/quick-start
Firebase
https://nitro.unjs.io/deploy/providers/firebase.html

npx nuxi init nuxt-app
cd nuxt-app
yarn install

firebase login
firebase init hosting

{
  "functions": { "source": ".output/server" },
  "hosting": [
    {
      "site": "<your_project_id>",
      "public": ".output/public",
      "cleanUrls": true,
      "rewrites": [{ "source": "**", "function": "server" }]
    }
  ]
}
set NITRO_PRESET="firebase yarn build"
firebase emulators:start

Describe the bug
firebase emulators:start

i  emulators: Starting emulators: functions, hosting
!  functions: The following emulators are not running, calls to these services from the Functions emulator will affect production: auth, firestore, database, pubsub, storage
i  emulators: Shutting down emulators.
i  functions: Stopping Functions Emulator
i  hub: Stopping emulator hub

Additional context
No response
Logs
No response

I'd love to see some progress on this front. Firebase seems to be working on this from their side too: https://firebase.google.com/docs/hosting/frameworks-overview
At the moment they have next, angular, and express beta support with plans for nuxt down the line.

Looks like basic Nuxt support was added a few weeks ago: https://github.com/firebase/firebase-tools/releases/tag/v11.22.0
But I have yet to find any proper documentation on how to get it working.

closing in favour of https://github.com/unjs/nitro/issues/1370
The new issue has working instructions that will be added to the documentation shortly.


Change Top Queried Data chart to Top Queries in dns_open_resolvers

Enable to show both the query and response. Not only response.

Will not be implemented


Allow source tools to take device object as well as device.values or just values, close #640

Addresses #640 with a different approach:

Allow source to be set to device object as well as device.values or just values
Allow source tools to take device object as well as device.values or just values

Needs docs changes

@waveform80 do you think these tests are reasonable? 701f3223a7187daf3b15db33d8a2abf6b82ee2b6

Codecov Report

Merging #698 into master will increase coverage by 0.33%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #698      +/-   ##
==========================================
+ Coverage   86.05%   86.38%   +0.33%
==========================================
  Files          36       36
  Lines        7645     7729      +84
==========================================
+ Hits         6579     6677      +98
+ Misses       1066     1052      -14

Impacted Files
Coverage Δ

gpiozero/tools.py
99.12% <100%> (+0.1%)
:arrow_up:

gpiozero/mixins.py
82.2% <100%> (+6.13%)
:arrow_up:

tests/test_tools.py
100% <100%> (ø)
:arrow_up:

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 4aa1c16...701f322. Read the comment docs.

It might be worth adding a zip_values source tool so that you can replace:
led.source = zip(red_pot.values, green_pot.values, blue_pot.values)

with:
led.source = zip_values(red_pot, green_pot, blue_pot)

Pushed docs changes, and they're live on a branch on RTD: https://gpiozero.readthedocs.io/en/connect-devices/source_values.html (and other pages)
I've changed all examples and docstrings where possible. Note the previous comment re: zip examples.
I think I'll swap out the diagrams on the source/values page to remove the attributes list, and just have boxes with device names in e.g. LED -> Button. Can probably do it with graphviz too.

Ping @martinohanlon


About the point cloud input representation

Hi, thanks for your excellent work! I’m unfamiliar with the Pointcept workflow and confused about the Input Representation in section 3.2 of the paper. My understanding of the code is that the inputs are coord, strength, and tn. I want to ask if the points' strength is also used as input for the network during the learning process.

Hi, @softword-tt
Apologies for the late reply! Yes, we combine the strength information of each point with its coordinates and timestamp as input. So the point representation should be $p_i^{\prime}=\left[x_i, y_i, z_i, s_i, t_i\right]^T$, where $s_i$ is the strength of each point. There is an error in the paper's description, sorry for the confusion caused.
As the config file:
https://github.com/Terminal-K/MambaMOS/blob/78370d0f022d0e6cb3a56d98342e7ae1014e440c/configs/semantic_kitti/semseg_mambamos.py#L100-L104
The data in ‘feat_keys’ will be collected by the class 'Collect' in the transform.py as input features.


Spawn Materials On Map System

Description
Task: Spawn/drop materials on map when enemies are killed (#3).
Feature: Optimisation of Crafting Functionality and Additional Features
In the previous sprints, all materials available for drafting have been provided in the inventory for the purpose of demonstration. But in this sprint, all materials will only fall when the enemy is killed. This will greatly improve the playability of the game. This feature will have a strong relationship with when the enimies system. Different enimies will drop different materials. For example, a level one enimy will only drop one wood, and only the big boss will drop gold or platinum and etc.
Example (optional)

Dependencies

[ ]  #161
[ ]  #160
[ ]  #156
[ ]  #147

Milestones
List of steps that need to be completed for this task.

[ ] Drop any materials when enimies are killed (Sept. 20)
[ ] Killing specific enemies will drop specific items (Aug. 24)
[ ] Documentation of this task on wiki. (Sept. 27th)
[ ] Link picked materials with inventory. (Sept. 26th)

Completion Deadline: Sept. 28th
Documentation

Materials-Dropping-System-Code-Implementation

Member

Yingzheng Cai (@Rey-666 ) (Rey-666)
Rohan Kollambalath (@rkoll55 )

Eugene will help with the collection of materials from the map as it was previously done by team 4

Yes i helped.


add use gpu to speed up

Hi, please add use GPU to speed up   very  slow to open PDF I think add GPU or use webview2 with great  or add some settings or fo speed up  but  grateful for add PDF very  high quality  job

App use GPU by default unless "Hardware Acceleration" is disabled in settings.

I use pdf.js by Mozilla and there's bo option to manually render using gpu.

or use webview2

App already use chromium and i dont know if I can use webview2 with NodeJS as of now.

If your CPU has iGPU, you might need to change graphics preference for Yomikiru in system setting to use dedicated GPU.


Issue iterating over custom dataset in COCO format

Hi,
First off, thanks for sharing this code--it is immensely useful and I appreciate it.
I'm working on using this to finetune a dataset, when I follow the instructions to load my own COCO format dataset as described in your tutorial on my personal machine using Tensorflow 2.3 built from source, Python 3.7 and have all the dependencies installed that you are required.
Here is the code (following the tutorial):
`class MyConfig(TrainingConfig):
def init(self):
super().init()
self.data_dir = "path/to/this/dataset/zzz_Weld_COCO"
self.data = DataConfig(data_dir=self.data_dir, img_dir='train_resize', ann_file="annotations\custom_train_0427_v2.json")
self.batch_size = 1
config = MyConfig()
iterator, class_names = load_coco_dataset(config, config.batch_size, augmentation=True)
from pycocotools.coco import COCO
import tensorflow as tf
import numpy as np
import imageio
from skimage.color import gray2rgb
from random import sample, shuffle
import os
from detr_tf.data import transformation
from detr_tf.data import processing
from detr_tf.data import coco as CoCo
import matplotlib.pyplot as plt`
for images, target_bbox, target_class in iterator:
print("image.shape", images.shape)
print("target_bbox.shape", target_bbox.shape)
print("target_class.shape", target_class.shape)`
Each time I go to iterate over the dataset as noted in the load dataset tutorial ( and noted above), I get the following error:
`InvalidArgumentError                      Traceback (most recent call last)
D:\Python\envs\VS\lib\site-packages\tensorflow\python\eager\context.py in execution_mode(mode)
2101       ctx.executor = executor_new
-> 2102       yield
2103     finally:
D:\Python\envs\VS\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py in _next_internal(self)
757             output_types=self._flat_output_types,
--> 758             output_shapes=self._flat_output_shapes)
759
D:\Python\envs\VS\lib\site-packages\tensorflow\python\ops\gen_dataset_ops.py in iterator_get_next(iterator, output_types, output_shapes, name)
2636     except _core._NotOkStatusException as e:
-> 2637       _ops.raise_from_not_ok_status(e, name)
2638     except _core._FallbackException:
D:\Python\envs\VS\lib\site-packages\tensorflow\python\framework\ops.py in raise_from_not_ok_status(e, name)
6842   # pylint: disable=protected-access
-> 6843   six.raise_from(core._status_to_exception(e.code, message), None)
6844   # pylint: enable=protected-access
D:\Python\envs\VS\lib\site-packages\six.py in raise_from(value, from_value)
InvalidArgumentError: 3-th value returned by pyfunc_0 is int32, but expects int64
[[{{node PyFunc}}]] [Op:IteratorGetNext]
During handling of the above exception, another exception occurred:
InvalidArgumentError                      Traceback (most recent call last)
 in
----> 1 for images, target_bbox, target_class in iterator:
2     print("image.shape", images.shape)
3     print("target_bbox.shape", target_bbox.shape)
4     print("target_class.shape", target_class.shape)
D:\Python\envs\VS\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py in next(self)
734
735   def next(self):  # For Python 3 compatibility
--> 736     return self.next()
737
738   def _next_internal(self):
D:\Python\envs\VS\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py in next(self)
770   def next(self):
771     try:
--> 772       return self._next_internal()
773     except errors.OutOfRangeError:
774       raise StopIteration
D:\Python\envs\VS\lib\site-packages\tensorflow\python\data\ops\iterator_ops.py in _next_internal(self)
762         return self._element_spec._from_compatible_tensor_list(ret)  # pylint: disable=protected-access
763       except AttributeError:
--> 764         return structure.from_compatible_tensor_list(self._element_spec, ret)
765
766   @property
D:\Python\envs\VS\lib\contextlib.py in exit(self, type, value, traceback)
128                 value = type()
129             try:
--> 130                 self.gen.throw(type, value, traceback)
131             except StopIteration as exc:
132                 # Suppress StopIteration unless it's the same exception that
D:\Python\envs\VS\lib\site-packages\tensorflow\python\eager\context.py in execution_mode(mode)
2103     finally:
2104       ctx.executor = executor_old
-> 2105       executor_new.wait()
2106
2107
D:\Python\envs\VS\lib\site-packages\tensorflow\python\eager\executor.py in wait(self)
65   def wait(self):
66     """Waits for ops dispatched in this executor to finish."""
---> 67     pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
68
69   def clear_error(self):
InvalidArgumentError: 3-th value returned by pyfunc_0 is int32, but expects int64
[[{{node PyFunc}}]]`
I'm sorry if this isn't descriptive enough--this is my first time ever posting an issue, so please let me know if there is anything I can do anything to be more helpful.
EDIT: When working on Colab without using a GPU, this is not an issue, but when I switch to using a GPU, the same issue occurs in Colab.

Hi,
Please, let me know if this quick fix solve your issue:
https://github.com/Visual-Behavior/detr-tensorflow/commit/9a2e194e66d615cd4257f4f319ff5f5f1cbcadb5


Deps Update

I will merge this tomorrow morning afte prod deploy so that it can sit in dev for the day