Credential status plugin for Veramo

Hi folks. This is our another (first one was here) try of implementing support for the credentialStatus field of W3C credentials.
In fact, it's quite simple - just wrapping the credential-status library.
Any feedback is welcome and appreciated.

Everything looks good on this end but I think there might be something wrong with the credential-status library that makes the build fail.

The problem is that credential-status module is published into NPM as typescript sources, not the compiled version. I added a workaround for that into the tsconfig of the plugin. During the integration tests the common tsconfig is being used, which does not contain the workaround for the library.

I guess, the only way to fix the issue is to publish credential-status library on NPM as a compiled JS.

The problem is that credential-status module is published into NPM as typescript sources, not the compiled version. I added a workaround for that into the tsconfig of the plugin. During the integration tests the common tsconfig is being used, which does not contain the workaround for the library.

I guess, the only way to fix the issue is to publish credential-status library on NPM as a compiled JS.

I just published a fix for credential-status to include the compiled code (v2.0.1).
It should be OK now and you probably also don't need the workarounds anymore either :)

I just published a fix for credential-status to include the compiled code (v2.0.1).
It should be OK now and you probably also don't need the workarounds anymore either :)

The library is published as an ESM module (with imports). My TypeScript application is compiled into CommonJS modules, so it's unable to use the library. I see that it's built with microbundle which I guess by default compiles/bundles for browsers and ESM. Could you change to CommonJS output and re-publish the lib once again?
Sorry :)

Could you change to CommonJS output and re-publish the lib once again? Sorry :)

I'm away from my laptop these days because I'm on paternity leave. I've been doing the best I can on my phone but I won't be able to test such a change properly.
If you know exactly what must be done please raise a PR on credential-status too and I'll be able to review and merge.
Microbundle should know how to interpret package.json and produce both kinds of outputs and suspect the only change needed is in the library's package.json file, but feel free to propose any change necessary to get things moving there.

Ah, I prepared a PR to credential-status but you were faster than me :D
I guess that this PR's build should be somehow restarted.

Ah, I prepared a PR to credential-status but you were faster than me :D I guess that this PR's build should be somehow restarted.

I guess you can bump the credential-status dependency here to 2.0.2 to import the right one. This should also trigger the build again


Latest

I want to add some questions of leetcode

@rahul-gargcoder
Please look for issues and contribute to them. Make sure to type !assign to grab issues.
Thank you!


Have the CI run the tests on pull requests

Now that there are some tests (and hopefully more to come) it would be useful if some CI tool ran them on each pull request.

Sure, I'll add travis later.

Added with #51


CSB-2115 add camel-vertx-http-starter

https://issues.redhat.com/browse/CSB-2115
Hope I didn't forget any files ...
Thanks

@johnpoth Can you add camel-vertx-http-starter to product/src/main/resources/required-productized-camel-artifacts.txt and do "mvn org.l2x6.cq:cq-camel-spring-boot-prod-maven-plugin:camel-spring-boot-prod-excludes -N; mvn clean install" (see instructions in product/README.md)?


Move right not working on python file when cursor in paren.

Description

Mapping  bug
No response
Steps to reproduce

Open a python file.
Input quotes in paren.

Minimal config
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
  require('packer').startup {
    {
      'wbthomason/packer.nvim',
      {
        'windwp/nvim-autopairs',
      },
      -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
      display = { non_interactive = true },
    },
  }
end
_G.load_config = function()
  require('nvim-autopairs').setup()
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing nvim-autopairs and dependencies.")
  vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]

Seems to be because of this commit 022a2b88947bb4cd82cac7ef77d4ba42545d7a3c. I've checked out before this previous, and it's working fine. So temp solution is to use version before that commit.


About us section improvement

hi @Mayank2808sharma I would like to improve the UI of the footer/about us page and make it more visually appealing
please assign this issue to me under GSSoC'24

Hello @kairveeehh
I have assigned it to you.
Go ahead and let me know if you need any help

@Mayank2808sharma I will be needing help with setting it up locally and the commands to be run

@kairveeehh
First, install the packages using npm install
Then use npm run dev to run it on your local host

👋 Hello! I'd be happy to help with this issue. Could you please assign it to me? Additionally, could you please label it for the appropriate level? Thank you! 🚀

bro the issuesw already is assigned to me


Make Nickname Clause work without specifying nickname.

Value of nickname when it's not specified is not specie name, but rather it's not set (undefined).

Closing because fixed by a separate commit https://github.com/Zarel/Pokemon-Showdown/commit/c556f8badf2ec6a068fa208573a69f5eea30dfd5.


Make App.d.ts route id aware

Describe the problem
Defining globals for PageData is fine for most of the time. But when you are splitting your app in 2 or more named layouts with with specific data being loaded in +layout.ts / +layout.server.ts it's frustrating to have to force non-null checking for data that will always be there.
For example:
declare global {
	namespace App {
		/** Local data populated by Handle hook */
		interface Locals
		{
			prisma: PrismaClient;
			s3: S3Client;

			user: User | null;
			session: Session | null;

			appSettings?: AppSettings; // this is never populated in /install route
			userSettings?: UserSettings; // this is never populated in /install route
		}

		/** Page data populated by layouts load function */
		interface PageData
		{
			user: User | null;
			session: Session | null;

			appSettings?: AppSettings // this is never populated in /install route
			userSettings?: UserSettings // this is never populated in /install route
		}
	}
}

Leads to having ESLint being completely lost here, as data is there but typed as optional.

Describe the proposed solution
The actual way of defining global app types should not be modified as it works fine for almost everyone. We could add something like:
declare global {

	namespace App {

		// interface Error {}
		// interface Platform {}
                 // interface PageData {} This becomes useless as it is filled with context types

		/** Local data populated by Handle hook */
		interface Locals
		{
			prisma: PrismaClient;
			s3: S3Client;
		}

		/**
		 * Define fine grained types based on route context.
		 * Routes inherits global types and their corresponding context types
		 */
		interface Context {

			/**
                           * Define data based on route context
                           * `/app/*` would match all routes that begins with /app
                           */
			[`/app/*`] :  {

				locals: {
					appSettings: AppSettings;
					userSettings: UserSettings;
					user: User;
					session: Session;
				}

				pageData: {
					user: User;
					session: Session;
					appSettings: AppSettings;
					userSettings: UserSettings;
				}
			}
		}
	}
}

Alternatives considered
As stated in the docs Use optional properties for data that is only present on specific pages. works fine tbh, juste let ESLint scream at you and be confident about your data structure.
Importance
would make my life easier
Additional Information
No response

I don't quite understand the use case for this. If you're in the routes files you can use the data props instead of the page store. If you're in a non-route component or a parent layout file, there isn't a specific path to "fine-grain" the global type. Can you provide an example repo that showcases the problem you're facing?

I'm facing this issue in this repo https://github.com/Kworz/mink
in the hooks.server.ts we can see that not all the locals are filled with data due to their route context, that is why types based on routes would be a great addition
https://github.com/Kworz/mink/blob/dac63a6a3d44f492d02dea5c3af8404c28d5eda9/src/hooks.server.ts#L10-L83


⚠ Bofrost.si has degraded performance

In 5abb40d, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 1773 ms

Resolved: Bofrost.si performance has improved in ffe68e6 after 23 minutes.


Throw exception if both args are present in mutually_exclusive  function for snapshot create

https://github.com/datmo/datmo/blob/master/datmo/cli/command/snapshot.py#L65
Also, this function can be helpful on other commands, so it should be moved to a utils class.

[x] Throw exception if both args exist
[x] Move to util class so other commands can use it

Completed with pull request #51. closing issue for now


Moving geofences, or assigning a geofence to an object

In our project, we need to check if two users are near to each other. How should we go about using webhooks to achieve this result? If we needed to check if a user was close to a static location, but since these are relative and moving positions...

Hello. I've also been looking into the idea of dynamic geofencing. My approach, which works for me but may be less optimal for you, is to exploit the fact that Tile38 automatically overwrites a webhook if you give it the same name.
That means that, as (eg) Fred moves I can update a webhook named 'fred' with a standard radial geofence (to whatever radius meets the definition of 'close to') around Fred's new Point location.
Doing the same with (eg) John gives me two moving points - each of which has a geofence bubble around them. I can then set the webhook to give me the trigger return I need (eg: enter => is now close to; inside => is still close to; exit => is no longer close to; outside => is not close to; cross => became close but has since ceased to be close).
Hope that helps,
Have fun!
David.

Ref the above:
Obviously, given that you have two geofences in motion, you have to account for double messages (one from Fred, one from John when they move close to each other) but (a) attaching the webhook to callback to an entity class (ie: Fred's geofence triggers flow to the Fred class - thereby telling Fred who is near him, etc.) gives granularity at an entity level and (b) having multiple mobile geofences gives your system - as a whole - the ability to track correlations (eg: meetings, passing/crossing routes, etc.) across different perspectives at a collective level. I do not, therefore, see double messages as a cost but, instead, as a useful bonus!
D.

This is something that's been request by other users, and it's something I've been working on. There's still work to be done on this feature but I here's an idea of what's to come.
A simple example will look like.
NEARBY people FENCE ROAM people * 100

Which will create a fence that monitors the people collection for when any object gets within 100 meters of any other object in the same collection.
Or specifically monitor an object named alice for when it's within 100 meters of any object.
NEARBY people MATCH alice FENCE ROAM people * 100

Some other examples
# Watch `alice` and `bob` for when they are within 100 meters of each other.
NEARBY people MATCH alice FENCE ROAM people bob 100
# Watch objects beginning in 'a' for when they within 100 meters of any object in the friends collection.
NEARBY people MATCH a* FENCE ROAM friends * 100

This will allow for tracking roaming positions across any collection in the database, and it works with the SETHOOK command.
I would love to hear your feedback.
Thanks!
@davidxv, thanks a ton for providing a detailed workaround. Even though it's not optimal, it should work in the interim.

That'd be exactly what we're looking for! Any ETA to the update?

Hey Josh: That looks great. Just the sort of functionality I was aiming for - hence the workaround. Thinking it through, your forthcoming feature will greatly reduce the number of calls I have to make (and, therefore, the amount of worker the T38 server has to do in response to those).
Nice!
David

It's fantastic to hear the excitement. I'll fast-track the feature and work towards getting a beta into the repo next week.

I just pushed an update that follows the syntax above to 3a6a33e in the master branch.

I'm closing this issue for now. Please let me know if you run into any problems with the roam command and feel free to open it again.


Update date of next SoCraTes Germany

According to https://www.socrates-conference.de/

Thank you!


Send raw message Error 400 Bad Request

What should i do sir?

I have 2 Serial Gateway and 4 node
I use mycontroller version mycontroller-dist-standalone-1.2.0-SNAPSHOT-bundle

@toygame This issue has been fixed in SNAPSHOT version.

https://github.com/mycontroller-org/mycontroller/commit/ed81f68481c4b969ecbceb29eeabbc5bdfbb8295

@toygame If you see this issue kindly reopen

Thank you very much sir!!


Spyder should start using six + any custom Qt/Py2/Py3 compatibility layer.

Currently spyder uses its own compatibility layer for Py2 and Py3.
It would be a good idea to make use of six which is a more standard way of handling this compatibility + any specific functions needed to handle PyQt/Py2/Py3 issues.
@spyder-ide/core-developers?

I really prefer our own module, it's simple and light weight. Last time I checked, six supported up to Python 2.4, which is just too much. IPython also has its own compat module too, so that's a less compelling reason to do the move.
Besides (and I'm not going to get tired of repeating it), if it's not broken, please don't fix it ;-) We don't know what bugs we could introduce by doing this switch, and I'm not willing to fix any of them :-)

six is widely used but it makes python3 code compatible with python2. Now http://python-future.org/ does the reverse: you write python3 code which is compatible with python2, which is better on the long run.
That said I agree with @ccordoba12 that it should not be touched now. This compatibility layer includes touchy things like bytes/strings compatibility, it's quite easy to break things. External modules could have been used from the beginning but it's history now.
In a few years when python2 is really not used anymore the compatibility layer should be completely removed.

Thanks for the wise words @Nodd. I really missed them during your time away from the project!! :-)
That's my main concern really: that moving to another compatibility library could introduce or re-introduce subtle unicode/bytes bugs that usually take me hours or days to fix.
I also suggested Pierre to use six when we were about to move to Python 3, but he decided against it and instead created py3compat. So now we have to live with that decisions (which is not that bad after all: one less dep :-)

@goanpeca, I hope you're ok with me closing this issue. We really have much more important things to care about than trying to revert a decision which such a huge impact on stability.

Sure, but I will open it again eventually :smirk:

Thanks for the wise words @Nodd.

You're welcome ! It's nice to hear that my answers are appreciated.

I really missed them during your time away from the project!! :-)

I can't say I'm completely back. I can file or comment a few issues from work, but I can't do actual programming at home right now.

Hehe, we are really glad you can jump in on the issues!, do not worry about the work at this point, we got your back covered!

+1 to what @goanpeca said. Please continue contributing in our discussions. As I said, that's very well received :-)


school added

school added

@wmt-divyesh I am sorry, the website of webmob.tech is not accessible, and the name of the school given in the request's file is too short and general to identify the school correctly.
I have to close the request without merging. Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new request with correct information. Thank you for the understanding!


Option menu can not show

WeatherActivity can not show the option menu
@itachi1611

Fixed and push new revision to git @HaiYen2000

Testing - Reopen issue to wait the result


Add missing reference image for tvOS ImageSnapshotTest

This should fix the failing ImageSnapshotTest that was added to the IntegrationTests for iOS and tvOS.

@dlowder-salesforce Can you try rebasing this?

@javache I just merged this up to latest master.


The Lambda service encountered an error: self signed certificate

Hello,
I created a self signed certificate using openssl and set up echo-sonos to use the key and the cert file. I also set the both environment variables USE_HTTPS and REJECT_UNAUTHORIZED in the lambda management console.
But whenever I try to test I get this error:
The Lambda service encountered an error: self signed certificate
The certificate itself seems to work. Anyone else tried to activate SSL and got it working?

@HTPProXy - just took a look at the options.js code, and it looks like that option will never work.  The way that options.js is written, some options will always be true :)  This regression was introduced whenever the env variables fix went in.  I'll put in a fix shortly and let you know

@HTPProXy - this is fixed in 0703d7d.  If you update your options.js file, it should work now.  Previously, options.js would not let you set REJECT_UNAUTHORIZED to false, so it was impossible to use self-signed certs

@rgraciano Thank you very much for the fix. Now it is working fine!


Unable to import tensorrt on macOS

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS, 10.13.6
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.10.0
Python version: 2.7.15
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce:  python -c 'from tensorflow.contrib import tensorrt as trt'

Describe the problem
Unable to import tensorrt
Source code / logs
(/private/tmp/scratch.nwani/1534993632/dev) ➜<PHONE_NUMBER> python
Python 2.7.15 |Anaconda, Inc.| (default, May  1 2018, 18:37:05)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from tensorflow.contrib import tensorrt as trt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/private/tmp/scratch.nwani/1534993632/dev/lib/python2.7/site-packages/tensorflow/contrib/tensorrt/__init__.py", line 25, in <module>
    from tensorflow.contrib.tensorrt.python import *
  File "/private/tmp/scratch.nwani/1534993632/dev/lib/python2.7/site-packages/tensorflow/contrib/tensorrt/python/__init__.py", line 23, in <module>
    from tensorflow.contrib.tensorrt.python.trt_convert import calib_graph_to_infer_graph
  File "/private/tmp/scratch.nwani/1534993632/dev/lib/python2.7/site-packages/tensorflow/contrib/tensorrt/python/trt_convert.py", line 23, in <module>
    from tensorflow.contrib.tensorrt.wrap_conversion import calib_convert
  File "/private/tmp/scratch.nwani/1534993632/dev/lib/python2.7/site-packages/tensorflow/contrib/tensorrt/wrap_conversion.py", line 28, in <module>
    _wrap_conversion = swig_import_helper()
  File "/private/tmp/scratch.nwani/1534993632/dev/lib/python2.7/site-packages/tensorflow/contrib/tensorrt/wrap_conversion.py", line 24, in swig_import_helper
    _mod = imp.load_module('_wrap_conversion', fp, pathname, description)
ImportError: dynamic module does not define init function (init_wrap_conversion)
>>>

At the same time, this is succeeding:
python -c 'from tensorflow.contrib.lite.toco.python import tensorflow_wrap_toco'

So I thought to compare the symbols.
(/private/tmp/scratch.nwani/1534993632/dev) ➜<PHONE_NUMBER> nm .//dev/lib/python2.7/site-packages/tensorflow/contrib/lite/toco/python/_tensorflow_wrap_toco.so | grep tensorflow_wrap_toco
0000000000003230 T _init_tensorflow_wrap_toco
                 U init_tensorflow_wrap_toco
                 I init_tensorflow_wrap_toco (indirect for init_tensorflow_wrap_toco)

(/private/tmp/scratch.nwani/1534993632/dev) ➜<PHONE_NUMBER> nm /private/tmp/scratch.nwani/1534993632/dev/lib/python2.7/site-packages/tensorflow/contrib/tensorrt/_wrap_conversion.so  | grep wrap_conversion
0000000000003670 t _init_wrap_conversion <---------- small 't' :(
                 U init_wrap_conversion
                 I init_wrap_conversion (indirect for init_wrap_conversion)

Then, I went on to build from source to see what is going on. Looking at the object files, I saw that both are capital 'T':
some-mac-box:~ nwani$ nm /private/var/tmp/_bazel_nwani/c8db850cfe278c8297aabaa8ebedf47a/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/contrib/tensorrt/_objs/_wrap_conversion.so/tensorflow/contrib/tensorrt/wrap_conversion.pic.o  | grep init_
00000000000005d0 T _init_wrap_conversion
some-mac-box:~ nwani$ nm /private/var/tmp/_bazel_nwani/c8db850cfe278c8297aabaa8ebedf47a/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/contrib/lite/toco/python/_objs/_tensorflow_wrap_toco.so/tensorflow/contrib/lite/toco/python/tensorflow_wrap_toco.pic.o | grep init_
0000000000000000 T _init_tensorflow_wrap_toco

But then in the genereated DSOs, I found that the trouble some one hides the init symbol :(
some-mac-box:~ nwani$ nm /private/var/tmp/_bazel_nwani/c8db850cfe278c8297aabaa8ebedf47a/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/tools/pip_package/simple_console.runfiles/org_tensorflow/tensorflow/contrib/lite/toco/python/_tensorflow_wrap_toco.so | grep init_tensor
0000000000002150 T _init_tensorflow_wrap_toco
                 I init_tensorflow_wrap_toco (indirect for init_tensorflow_wrap_toco)
                 U init_tensorflow_wrap_toco
some-mac-box:~ nwani$ nm /private/var/tmp/_bazel_nwani/c8db850cfe278c8297aabaa8ebedf47a/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/contrib/tensorrt/_wrap_conversion.so | grep init_wra
0000000000002e20 t _init_wrap_conversion
                 I init_wrap_conversion (indirect for init_wrap_conversion)
                 U init_wrap_conversion

Surprisingly, the versions scripts are identical:
some-mac-box:~ nwani$ diff /private/var/tmp/_bazel_nwani/c8db850cfe278c8297aabaa8ebedf47a/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/contrib/lite/toco/python/tensorflow_wrap_toco_versionscript.lds /private/var/tmp/_bazel_nwani/c8db850cfe278c8297aabaa8ebedf47a/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/contrib/tensorrt/wrap_conversion_versionscript.lds
2c2
< init_tensorflow_wrap_toco
---
> init_wrap_conversion

Okay, I think I know what is happening. In the generated lds scripts, _tensorflow_wrap_toco.so exports the required symbol because of *tensorflow* and not because of init_tensorflow_wrap_toco because the actual symbol started with an underscore: _init_tensorflow_wrap_toco . None of the patterns listed in the lds scripts match for _wrap_conversion.so and hence the symbol _init_wrap_conversion remains non-exposed.

Where is the linker script you are looking at? Is it part of the gen rule for the swig wrapper?

The scripts are:
/xxx/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/contrib/tensorrt/wrap_conversion_versionscript.lds
/xxx/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/python/pywrap_tensorflow_internal_versionscript.lds

Probably generated by: https://github.com/tensorflow/tensorflow/blob/4a00a658050e105fca6304f4e73d15b383f472c7/tensorflow/tensorflow.bzl#L1388-L1427

FWIW, I applied the following patch and then rebuilt tensorflow and the problem went away.
diff --git a/tensorflow/tensorflow.bzl b/tensorflow/tensorflow.bzl
index 301b59a20d..41d9430dd0 100644
--- a/tensorflow/tensorflow.bzl
+++ b/tensorflow/tensorflow.bzl
@@ -1398,7 +1398,7 @@ def _append_init_to_versionscript_impl(ctx):
       template=ctx.file.template_file,
       output=ctx.outputs.versionscript,
       substitutions={
-        "global:":"global:\n     init_%s;\n     PyInit_*;"%(mod_name),
+        "global:":"global:\n     init_%s;\n     _init_%s;\n     PyInit_*;\n     _PyInit_*"%(mod_name, mod_name),
       },
       is_executable=False,
     )
@@ -1407,7 +1407,7 @@ def _append_init_to_versionscript_impl(ctx):
       template=ctx.file.template_file,
       output=ctx.outputs.versionscript,
       substitutions={
-        "*tensorflow*":"*tensorflow*\ninit_%s\nPyInit_*\n"%(mod_name),
+        "*tensorflow*":"*tensorflow*\ninit_%s\n_init_%s\nPyInit_*\n_PyInit_*\n"%(mod_name, mod_name),
       },
       is_executable=False,
     )
--

Nagging Assignee @miaout17: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Great! I'm glad that this is resolved.

@tofulawrence  Wait, how is this resolved? I applied that patch locally. It is not part of tensorflow yet. The official build of tensorflow on PyPI still faces this issue.

Sorry, @nehaljwani. I misread the comment. I'll reopen.

On macos, we have no official support for GPUs.
TensorRT is an nvidia library that accelerates inference on GPUs.
So I would say this is a strictly unsupported feature you are trying to use.
We will not be actively trying to patch this, or create a patch release for this. But it will be available when the patch ends up in the release.
Marking as community support.

Hi @nehaljwani, I could able to import tensorrt on Mac os.
Install TensorRT
!python3 -m pip install --upgrade nvidia-tensorrt
import tensorrt
print(tensorrt.__version__)

>>><IP_ADDRESS>
Associated PR #22792 also got merged. Could you move this to closed status, if the issue is resolved. Thank you!


String literal storage optimization

When storing two literals, "bar" and "foobar", the compiler may optimize them to save space: only store "foobar" and point "bar" pointer to the middle of the literal.
 f o o b a r \0
 ↑     ↑
 |    "bar" points here
"foobar" points here

Thanks to @a1batross for this suggestion.


[SD-App] please add cbrightly/m5stack-BLE-MIDI

https://github.com/cbrightly/m5stack-BLE-MIDI

The app has been scheduled for rebuild

Compilation of this package failed, it has been labeled as invalid until the source of the problem is identified and addressed


test/IRGen/protocol_resilience_sendable.swift does not support arm64e

Due to CHECK pattern not accounting for ptrauth.

@swift-ci smoke test


Unable to link Foreign Key to table with Composite PK

Hey @ReneHollander, this is not working with associations only, you need to use scopes additionally. See here a discussion about it: https://github.com/sequelize/sequelize/issues/311
And here is the documentation of scopes in associations: http://docs.sequelizejs.com/manual/tutorial/associations.html#scopes
If you have issues getting this to work, just come back and I try to help you with this :)
Originally posted by @RobinBuschmann in https://github.com/RobinBuschmann/sequelize-typescript/issues/297#issuecomment-365029063
@RobinBuschmann, I am facing this same issue in Referencing a Foreign Key from one table to another having Composite Primary Key. According to what you suggested I tried using Scopes, but was still unable to get it working. Can you please share an example of how to link such table's using Scopes? Thanks much in advance.

Closing this due to inactivity.

@blankstar85 @WarienX Did you resolve that issue?

Hello @piotr-pawlowski
I was able to get this to work, I have it working really well between three tables, the primary one, and the two that are associated to it. Let me know what is tripping you up and i can see if i can help you out.

@blankstar85 Do you mind posting the details of each model? ie: Your State, District, and City models. Only the relevant fields like ids and associations. Currently, I'm putting the scope in the source model but Sequelize won't create the relationship when I sync the database. The fields are all there but they're not set as foreign keys. I'm quite new to sequelize, sorry if this seems trivial!
Here's my sample.
Parent tables:
TableA is set like this because the relationship table (C) contains other required data, plus it needs to have a composite foreign key.
export class TableA extends Model<TableA> {
   @BelongsToMany(() => TableB, () => TableC)
   tableCObjs: TableC[];
}

export class TableB extends Model<TableB> {
}

export class TableC extends Model<TableC> {
   @ForeignKey(() => TableA)
   @Column
   tableAId: number;

   @BelongsTo(() => TableA)
   tableAObj: TableA;

  @ForeignKey(() => TableB)
  @Column
  tableBId: number;

  @BelongsTo(() => TableB)
  tableBObj: TableB;

   @HasMany(() => TableD, {
    scope: {
      tableAId: { [Op.col]: 'tableAId' },
      tableBId: { [Op.col]: 'tableBId' }
    },
  })
  tableDObjs: TableD;
}

export class TableD extends Model<TableD> {
  @ForeignKey(() => TableC)
  @Column
  tableAId: number;

  @ForeignKey(() => TableB)
  @Column
  tableBId: number;

 @BelongsTo(() => TableC)
  tableCObj: TableC;
}

It's probably something very simple, but I'm not sure how to go around.

I didn't have a city, state or country example. I was working with different data all together in a project I can't really give out the details for.
Looking at your information, the structure looks good, albeit I see your missing designating primary keys on your tables. When extending the Model<> class the primary key of the table is ID. So your tables don't have a composite key, but a single primary key of id.
Add @PrimaryKey to indicate your composite primary keys on your tables. this should help. I can play around with it later. I also don't use sync. I don't trust the db to do its own thing. I use migrations and have complete control over the structure and changes to the database, as well as the documentation of the build and changes to it.


Use File-Based Catalog Format

This PR fixes: https://github.com/ocp-power-automation/rsct-operator/issues/27

It was failing to build the catalog image for ppc64le. To fix this, using multistage container image.
Workflow testing is in progress


Makes blind returns values we can work with using FFI

This repository tests it: https://github.com/celo-org/react-native-threshold-tests


Introspection dashboard should make clear what the columns such as branch and env mean

As a: developer
I want: to understand what branch and environment mean
So that: I can introspect my services
Describe the solution you'd like:
Currently, it's a bit confusing when the branch name is x and environment name deploy/something-x because it does not clarify which one is ring and whether the branch name was a branch in source repo or HLD repo. Could do some thinking around this.

Also consider adding links to these fields to make it easier to understand which repo they belong to.
Acceptance Criteria:
Columns make more sense
Describe alternatives you've considered:
So far we've considered branch name to belong to source repo and environment name to belong to HLD, but there's no UI to indicate this difference.
Additional context:
Does this require updates to documentation?: No

In the case below the ring is develop. That is what exists in the bedrock.yaml

@samiyaakhtar What does the Environment column in the dashboard above map to in the command
./spk/spk deployment create  -n $(INTROSPECTION_ACCOUNT_NAME) -k $(INTROSPECTION_ACCOUNT_KEY) -t $(INTROSPECTION_TABLE_NAME) -p $(INTROSPECTION_PARTITION_KEY) --p2 $(Build.BuildId) --hld-commit-id $latest_commit --env $BRANCH_NAME --image-tag $tag_name --pr $pr_id ?

@andrebriggs it maps to --env $BRANCH_NAME

@andrebriggs in the case here the ring name is not develop, it's the branch in source repo that's develop. The ring name is deploy/epmt/order-store-order-service-develop-20200312.5

Extracting ring name during ACR -> HLD step shouldn't need to read bedrock.yaml because ring names are stored as an array in yaml:
rings:
  master:
    isDefault: true
  deve: {}
  qa: {}
  prod: {}
services:
  ...

There’s actually no way to infer what ring maps to, during acr->hld pipeline since there's no metadata under each ring name. In fact, $(Build.SourceBranchName) should always map to a ring name in bedrock.yaml. This should heavily simplify this task to no longer involve reading bedrock.yaml.


Is a Bug?

I have code: "

"
I have parser:
	OpenTag: ->
		@CONSUME(@BracketL)
		@CONSUME(@Word)
		@CONSUME(@BracketR)

	CloseTag: ->
		@CONSUME(@BracketL)
		@CONSUME(@Slash)
		@CONSUME(@Word)
		@CONSUME(@BracketR)

	Element: ->
		@SUBRULE(@OpenTag)
		@MANY => @SUBRULE(@Element)
		@SUBRULE(@CloseTag)

This works correct.
But if I try to move the @MANY => @SUBRULE(@Element) to the separate ElementsList rule:
	OpenTag: ->
		@CONSUME(@BracketL)
		@CONSUME(@Word)
		@CONSUME(@BracketR)

	CloseTag: ->
		@CONSUME(@BracketL)
		@CONSUME(@Slash)
		@CONSUME(@Word)
		@CONSUME(@BracketR)

	Element: ->
		@SUBRULE(@OpenTag)
		@SUBRULE(@ElementList) # it must return ampty array
		@SUBRULE(@CloseTag)

	ElementList: ->
		@MANY => @SUBRULE(@Element)

I get Parse error:
name: "MismatchedTokenException"
message: "Expecting token of type --> Word <-- but found --> '/' <--"
ruleStack: ["Element", "ElementList", "Element", "OpenTag"]

It can not find the child element, and throws an error. Although allowed 0 AND MORE repetitions. In this case, it simply needs to return an empty array. This is what happens in the first case. But when I take the MANY operator  into a separate "ElementList" rule, the parser throws an error, from the fact that he has not found a single match. The rule "ElementList" must return either an array of elements or an empty array. Instead it generate an error.
Do you need a more complete code? Or do you manage to reproduce the error manually?
P.S. My tokens:
WhiteSpace: {pattern: /\s+/, group: Lexer.SKIPPED, line_breaks: yes}

BracketL: /</
BracketR: />/
Word    : /\w+/
Slash   : /\//

The lookahead logic does not take into account the parser context (rule stack).
Your OpenTag and CloseTag start with the same Token which is why the repetition
in the separate rule tries to parse an "OpenTag" one too many times.
When the repetition is not extracted to a rule I think(?) there is some logic to take into account
of the context  inside the current rule, so in effect it looks 2 tokens ahead ('<' and '/') to decide
to enter a new iteration.
You can resolve this by defining a Gate to perform extra checks before entering a new iteration.
for example.
In addition if you are creating an HTML grammar I am not sure if defining the tokens this way is correct
because from some games on W3S playground:
// works fine no spaces.
<title>Page Title</title>

// with extra space does not get rendered properly.
< title>Page Title</title>

HTML grammar

i do it just a demo =) To understand how your framework works.

The lookahead logic does not take into account the parser context (rule stack).
Your OpenTag and CloseTag start with the same Token which is why the repetition
in the separate rule tries to parse an "OpenTag" one too many times.

In this case, you should indicate this behavior in the documentation.

I'd like to at least automatically detect this and warn the user with a link to some doc page
explaining how to resolve this.
and maybe even support smarter predication modes so it would "magically" work without any user involvement.

https://github.com/SAP/chevrotain/issues/623

It boils down to a question of time resources available...
You recent feedback in several issues combined with me seeing certain issues/feature requests
pop up again and again made me consider focusing on quality of life improvements in the next major version.
Depending on how fluent you are with JavaScript/TypeScript some of the solutions could come
in the form of direct contributions 😄

Also regarding your original issue I think "</" should be a single token in HTML
as when I try to run an html with "< /" (space between)  it does not render in W3S playground.

I'll say it again, I made this demo, specially to catch the error. I absolutely do not need the html parser. =)
Okay, as I understand, I have to make a fork, then change something there, then make a commit with a description of the changes, then upload it to the GitHub through "pull" or "push", like that. Then I have to go to the site of the GitHub, and press something to make a pool of requester, like that? And you will read my code, check for viruses, and decide whether to accept it or not. Something like that?

are you inspired by antlr?

Try this: https://www.youtube.com/watch?v=FQsBmnZvBdc
The UI shown there is a bit old, but those are the steps I normally take to make pull requests.

are you inspired by antlr? you want to do like them, but better?

I am inspired by many parsing libraries, from Antlr I am mostly inspired by the error recovery capabilities. and secondly by the separation of grammar and semantics (ohm.js also does that).
I won't say I want to "do like them" exactly as there are very big differences.

Chevrotain is for the JS ecosystem only while Antlr is multi targeted.
Chevrotain is a parsing DSL while Antlr is a Parser Generator.

Chevrotain can be used to build a parser generator and may have such a built-in API
in the future even.

You may not want to start with something like this issue (SLL vs LL prediction modes).
This may be a too complex initial contribution.
If you want to start with something simple perhaps #688 would be more suitable?

@bd82 are you inspired by antlr =)


ARTEMIS-3054 - fix lock inversion - intermittent failure of PageClean…

…upWhileReplicaCatchupTest and hang

I would add a comment there to enforce it


[Misc]: _run_workers_async function of DistributedGPUExecutorAsync

I am confused why _run_workers_async function of DistributedGPUExecutorAsync is removed since v0.4.3?
New implementation starts a loop for every worker which will restrict worker from doing other things such as transfering kv cache in prefill/decode disaggregation. I use _run_workers_async to transfer kv cache before without any problems but it will execute only when the loops of workers are stopped currently.
I am sorry that I am not familiar with asyncio in python. I want to know what the benefits of the new implementation are? And how to allow the workers to transfer kv asynchronously during generation?

should be related with https://github.com/vllm-project/vllm/pull/4894 .


Update zio-http, zio-http-testkit to 3.0.0-RC5

About this PR
📦 Updates

dev.zio:zio-http
dev.zio:zio-http-testkit

from 3.0.0-RC2 to 3.0.0-RC5
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #141.


chore: add ESLint and Prettier rules for code formmating

chore: add eslint-config-prettier; adjust eslint settings to fix lint error
Why need this change? / Root cause:

Adding ESLint and Prettier rules ensures consistent coding standards and formatting rules across the project.

Changes made:

Added ESLint extensions
Defined Prettier rules

Test Scope / Change impact:

Reviewed potential formatting changes introduced to avoid breaking the code.

Since the outer package.json and the inner package.json may cause unexpected issues if there are version conflicts, could we standardize ^9.1.0 to 9.1.0 for now and use a fixed version of Prettier?


Push bouncer error handling

For issue https://github.com/zulip/zulip/issues/13294
I've spent some time looking into using python-zulip-api but didn't find a simple way (for example in send_to_push_bouncer we have the extra_headers parameter that's used  to set the content-type when sending the payload in json form, which python-zulip-api doesn't support right now) so I limited myself to just catching the various requests exceptions for now. Adding usage of session, or further exploring how to use python-zulip-api could be a follow-up to this PR.
This still involves a whole bunch of plumbing changes to handle bouncer errors on the various codepaths, and I'm not sure if this is the best approach, but at least it's the most reasonable way I've managed to come up with for now.

This is great, merged, thanks @mateuszmandera!  I added 1465628c95871fb73da26321c515e008d68a334c on top to clean it up a bit more.
One thing that's probably still not ideal with this logic is that if you only have 1 item in the queue, our method of re-inserting the item at the end of the queue and then rerunning will end up spamming the server very quickly, so even 5 seconds of downtime will easily hit the retry limits.
The best idea I have for how to fix this would be as follows:

We record the time of the first failure in the event in the retry_event flow
We do some sort of backoff logic, where if you see an event with a failure where the time since last try was not at least 2**num_failures seconds, the queue processor sleeps for 5 seconds.  And maybe we make MAX_REQUEST_RETRIES 10.  We'd need to be thoughtful to make sure all of our events in this sort of retry queue were things where it's not bad if they're significantly delayed/reordered, but I think we already sorta handle that through this block in handle_push_notification (for if the message was read in the meantime):

# If the user has read the message already, don't push-notify.
#
# TODO: It feels like this is already handled when things are
# put in the queue; maybe we should centralize this logic with
# the `zerver/tornado/event_queue.py` logic?
if user_message.flags.read:
    return

(We'd obviously want to change the comment).


Pinot server stops processing Helix messages when it loses connection to ZK

We observed a situation with our Pinot cluster where a host got stuck processing Helix messages and the Helix task queue got backed up and kept increasing in size until we restarted the server and at that point it recovered. We eventually tracked down what we believe is the root cause which were some Zookeeper connection disconnects.
We would expect that once the ZK connection is re-established it would be able to process the queued messages.
Below are some logs from our investigation that shows how the message for adding a new consuming segment did not get processed on a server.

From inspecting our logs we see the controller assigns new segment to two streaming servers:
2022/02/10 17:29:30.901 INFO [PinotLLCRealtimeSegmentManager] [grizzly-http-server-13] Adding new CONSUMING segment: SEGMENT_NAME_REDACTED to instances: [ServerA, ServerB]
2022/02/10 17:29:41.293 INFO [MessageDispatchStage] [HelixController-pipeline-default-PinotClusterRedacted-(f382b6fe_DEFAULT)] Event f382b6fe_DEFAULT : Sending Message 06e151ca-965b-47d6-9dcc-bbd4a0d02463 to ServerA transit point_transaction_REALTIME.SEGMENT_NAME_REDACTED|[] from:OFFLINE to:CONSUMING, relayMessages: 0
2022/02/10 17:29:41.293 INFO [MessageDispatchStage] [HelixController-pipeline-default-PinotClusterRedacted-(f382b6fe_DEFAULT)] Event f382b6fe_DEFAULT : Sending Message 7074fc66-0986-4199-bc3d-24825eaaf79b to ServerB transit point_transaction_REALTIME.SEGMENT_NAME_REDACTED|[] from:OFFLINE to:CONSUMING, relayMessages: 0

Each server processes the message
ServerA - we see it actually handle the message
2022/02/10 17:29:41.311 INFO [HelixTaskExecutor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] Scheduling message 06e151ca-965b-47d6-9dcc-bbd4a0d02463: point_transaction_REALTIME:SEGMENT_NAME_REDACTED, OFFLINE->CONSUMING
2022/02/10 17:29:41.316 INFO [HelixStateTransitionHandler] [HelixTaskExecutor-message_handle_STATE_TRANSITION] handling message: 06e151ca-965b-47d6-9dcc-bbd4a0d02463 transit point_transaction_REALTIME.SEGMENT_NAME_REDACTED|[] from:OFFLINE to:CONSUMING, relayedFrom: null

ServerB - we do not see any further log messages for this message
2022/02/10 17:29:41.306 INFO [HelixTaskExecutor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] Scheduling message 7074fc66-0986-4199-bc3d-24825eaaf79b: point_transaction_REALTIME:SEGMENT_NAME_REDACTED, OFFLINE->CONSUMING

if we look up the message UUID 7074fc66-0986-4199-bc3d-24825eaaf79b, we see that it’s scheduled, but the number queued tasks on that threadpool is 1133
2022/02/10 17:29:41.306 INFO [HelixTaskExecutor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] Message: 7074fc66-0986-4199-bc3d-24825eaaf79b handling task scheduled
2022/02/10 17:29:41.306 INFO [HelixTaskExecutor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] Submit task: 7074fc66-0986-4199-bc3d-24825eaaf79b to pool: java.util.concurrent.ThreadPoolExecutor@92d8506[Running, pool size = 40, active threads = 40, queued tasks = 1133, completed tasks = 1147]
2022/02/10 17:29:41.306 INFO [HelixTaskExecutor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] Scheduling message 7074fc66-0986-4199-bc3d-24825eaaf79b: point_transaction_REALTIME:SEGMENT_NAME_REDACTED, OFFLINE->CONSUMING
2022/02/10 17:29:41.303 INFO [MessageLatencyMonitor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] The latency of message 7074fc66-0986-4199-bc3d-24825eaaf79b is 289 ms
2022/02/10 17:29:41.293 INFO [MessageDispatchStage] [HelixController-pipeline-default-PinotClusterRedacted-(f382b6fe_DEFAULT)] Event f382b6fe_DEFAULT : Sending Message 7074fc66-0986-4199-bc3d-24825eaaf79b to ServerB transit point_transaction_REALTIME.SEGMENT_NAME_REDACTED|[] from:OFFLINE to:CONSUMING, relayMessages: 0

in comparison, the threadpool on the other streaming host which only has zero queued tasks so it processes it immediately
2022/02/10 17:29:41.311 INFO [HelixTaskExecutor] [ZkClient-EventThread-49-pinot-zookeeper-PinotClusterRedacted.service.consul:2181] Submit task: dd34ddd4-425b-41e5-a0f0-2863442daea6 to pool: java.util.concurrent.ThreadPoolExecutor@97a16b1[Running, pool size = 40, active threads = 0, queued tasks = 0, completed tasks = 864]

Thanks for reporting the issue. The log analysis here is very valuable!
When the server disconnects from the ZK, Helix should try to interrupt all the message execution threads. I believe the interrupt for some threads are not handled properly, which lead the server into some weird state which blocks other messages being handled after it re-connects to the ZK. Can you please check the log and see if some methods are interrupted?

@jadami10 The SessionId does NOT match happens when server disconnects from the ZK. We need to debug why the server disconnects from the ZK. Do you observe similar log as the one above (lots of messages queued, server not able to process messages)?


Support for route /v2/conversions/{id}/cancel

Hello
I'm unable to find a way to do this with the SDK.
Is that possible to implement that?
Thank you

Fixed in v0.24.1


0.11.x Branch : Allow user control over controller.iam.role.name

We would like to control the exact name of the controller's IAM role without having to it manage outside of kube-aws.
Originally when we proposed the useStrict feature in order to be able to manage a number of cluster related IAM roles outside of kube-aws.  Back then, we were not fully aware of the powerful kube-aws plugins model, and over time we have actually found ourselves wanting to add more into kube-aws via the plugins (because kube-aws know's all kinds of useful stuff about the cluster).  We have found that useStrict really means manage externally, which is fine but we don't actually want to manage these roles externally to kube-aws any more.
What we now need is a way of controlling the name we assign to the controller iam role without having to take over the management of it.  In recent changes to kube-aws it started adding ClusterName-AWSRegion to our specified controller.iam.role.name making it incompatible with our existing clusters.  We wish to use the name exactly as we supplied/specified.
This PR renames useStrict to manageExternally (this new flag better reflects what it does).  It adds a strictName flag, which is false by default, which if set to true prevents pre-appending ClusterName-AWSRegion to the the controller.iam.role.name.
e.g.
Default behavoir: -
controller:
  iam:
   role:
     name: myrole1

will result in a controller role something like mycluster-us-west-2-myrole1
controller:
  iam:
   role:
     name: myrole1
     strictName: true

will generate a controller role named myrole1

Codecov Report

Merging #1474 into v0.11.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           v0.11.x    #1474   +/-   ##
========================================
  Coverage    38.26%   38.26%
========================================
  Files           74       74
  Lines         4565     4565
========================================
  Hits          1747     1747
  Misses        2576     2576
  Partials       242      242

Impacted Files
Coverage Δ

model/iamconfig.go
0% <ø> (ø)
: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 0295b76...29f7b6c. Read the comment docs.

Is this ok to merge?


Dice Throw (Java, DP)

💥 Proposal
Dice Throw problem is an important problem which can be solved with Naive or Dynamic approach.
Basically we have given 'n' dice each with 'm' faces, numbered from 1 to 'm', we have to find the number of ways to get sum X. X is the summation of values on each face when all the dice are thrown.
For solving this problem I will be using dynamic approach implementation in Java.
Have you read the Contributing Guidelines on Pull Requests?
Yes, I have read the guidelines.

/assign


ARROW-3682: [Go] unexport encoding/csv.Reader from CSV reader

needs #2891

Codecov Report

Merging #2892 into master will decrease coverage by 20.73%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master    #2892       +/-   ##
===========================================
- Coverage   87.33%   66.59%   -20.74%
===========================================
  Files         417       56      -361
  Lines       64898     3353    -61545
===========================================
- Hits        56678     2233    -54445
+ Misses       8126     1030     -7096
+ Partials       94       90        -4

Impacted Files
Coverage Δ

go/arrow/csv/csv.go
76.07% <100%> (+1.73%)
:arrow_up:

go/arrow/math/float64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/int64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/uint64_sse4_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/uint64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/int64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/float64_amd64.go
33.33% <0%> (ø)
:arrow_up:

python/pyarrow/ipc.pxi

cpp/src/parquet/column_page.h

... and 365 more

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 c61f882...952c773. Read the comment docs.

@stuartcarnie PTAL

Thanks!
I'll rebase and merge.


The same method, build UE4Cesium plugin successfully, UE5Cesium plugin fail?

Before, I was able to successfully compile the Cesium plugin to UE4. I used the same method to compile the UE5 plugin, but the compilation faile.I run the solution and run the project and it shows something like。I hope to get your help。Thanks。

d

As I understand it, this linker error is caused by a backward compatibility bug in (some versions?) of VS2022. There are more details here:
https://developercommunity.visualstudio.com/t/-imp-std-init-once-complete-unresolved-external-sy/1684365#T-N10047968
And previous discussion of the issue on the community forum:
https://community.cesium.com/t/packaging-error-s2geometry-lib/18869/2
Closing this as there is no action for Cesium for Unreal itself.


copy packet in control path to avoid pool starvation

          Just a note that holding on this packet in control path means that the data path packet pool may end up in a starvation situation. Imagine many packets being queued, with unresolved nh, and no packet left in the packet pool to receive a arp reply.

Grout would probably break from this situation later (as packets are held with a timeout), but still it would be more robust to hold on a packet copy and free the original mbuf.
Originally posted by @david-marchand in https://github.com/DPDK/grout/pull/109#discussion_r1883750609

Duplicate of issue 110 ?

indeed, closing.


Hello!I encountered an error!

(mvsgs) PS E:\3dgs\MVSGaussian> pip install gaussian-splatting/submodules/diff-gaussian-rasterization
Processing e:\3dgs\mvsgaussian\gaussian-splatting\submodules\diff-gaussian-rasterization
Preparing metadata (setup.py) ... done
Building wheels for collected packages: diff-gaussian-rasterization
Building wheel for diff-gaussian-rasterization (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
D:\anconda\envs\mvsgs\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
running build
running build_py
running build_ext
D:\anconda\envs\mvsgs\lib\site-packages\torch\utils\cpp_extension.py:358: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定 的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'diff_gaussian_rasterization.C' extension
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc" -c cuda_rasterizer/backward.cu -o build\temp.win-amd64-cpython-37\Release\cuda_rasteriz
er/backward.obj -ID:\anconda\envs\mvsgs\lib\site-packages\torch\include -ID:\anconda\envs\mvsgs\lib\site-packages\torch\include\torch\csrc\api\include -ID:\ancon
da\envs\mvsgs\lib\site-packages\torch\include\TH -ID:\anconda\envs\mvsgs\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUD
A\v11.6\include" -ID:\anconda\envs\mvsgs\include -ID:\anconda\envs\mvsgs\Include "-ID:\Visual Studio 2022 Community\VC\Tools\MSVC\14.38.33130\include" "-ID:\Visu
al Studio 2022 Community\VC\Tools\MSVC\14.38.33130\ATLMFC\include" "-ID:\Visual Studio 2022 Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows
Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.2
2621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt
" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll
interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /
EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA
NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -IE:\3dgs\MVSGaussi
an\gaussian-splatting\submodules\diff-gaussian-rasterization\third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --use-local-env
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc.exe' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for diff-gaussian-rasterization
Running setup.py clean for diff-gaussian-rasterization
Failed to build diff-gaussian-rasterization
Installing collected packages: diff-gaussian-rasterization
Running setup.py install for diff-gaussian-rasterization ... error
error: subprocess-exited-with-error
× Running setup.py install for diff-gaussian-rasterization did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
running install
D:\anconda\envs\mvsgs\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-37
creating build\lib.win-amd64-cpython-37\diff_gaussian_rasterization
copying diff_gaussian_rasterization_init_.py -> build\lib.win-amd64-cpython-37\diff_gaussian_rasterization
running build_ext
D:\anconda\envs\mvsgs\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
D:\anconda\envs\mvsgs\lib\site-packages\torch\utils\cpp_extension.py:358: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定 的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'diff_gaussian_rasterization.C' extension
creating build\temp.win-amd64-cpython-37
creating build\temp.win-amd64-cpython-37\Release
creating build\temp.win-amd64-cpython-37\Release\cuda_rasterizer
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc" -c cuda_rasterizer/backward.cu -o build\temp.win-amd64-cpython-37\Release\cuda_rasteriz
er/backward.obj -ID:\anconda\envs\mvsgs\lib\site-packages\torch\include -ID:\anconda\envs\mvsgs\lib\site-packages\torch\include\torch\csrc\api\include -ID:\ancon
da\envs\mvsgs\lib\site-packages\torch\include\TH -ID:\anconda\envs\mvsgs\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUD
A\v11.6\include" -ID:\anconda\envs\mvsgs\include -ID:\anconda\envs\mvsgs\Include "-ID:\Visual Studio 2022 Community\VC\Tools\MSVC\14.38.33130\include" "-ID:\Visu
al Studio 2022 Community\VC\Tools\MSVC\14.38.33130\ATLMFC\include" "-ID:\Visual Studio 2022 Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows
Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.2
2621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt
" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll
interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /
EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA
NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -IE:\3dgs\MVSGaussi
an\gaussian-splatting\submodules\diff-gaussian-rasterization\third_party/glm/ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --use-local-env
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin\nvcc.exe' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> diff-gaussian-rasterization
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Hello, this may be a cuda version problem, we recommend installing cuda 11.8.


🐛 [firestore] Android fails to connect due to okio method exception

Bug report
Describe the bug
This started happening yesterday for me, updating firebase packages did not help.
W/Firestore( 5850): (24.1.1) [WatchStream]: (150415a) Stream closed with status: Status{code=INTERNAL, description=error in frame handler, cause=java.lang.NoSuchMethodError: No interface method getBuffer()Lokio/Buffer; in class Lokio/BufferedSource; or its super classes (declaration of 'okio.BufferedSource' appears in /data/app/~~562CMs3V8mJAW5W-e8eBRQ==/care.mpm.app.myguide-vSZFTwtxrkRSO-SPz3Pd5g==/base.apk!classes5.dex)
W/Firestore( 5850): 	at io.grpc.okhttp.OkHttpClientTransport$ClientFrameHandler.data(OkHttpClientTransport.java:1144)
W/Firestore( 5850): 	at io.grpc.okhttp.internal.framed.Http2$Reader.readData(Http2.java:234)
W/Firestore( 5850): 	at io.grpc.okhttp.internal.framed.Http2$Reader.nextFrame(Http2.java:147)
W/Firestore( 5850): 	at io.grpc.okhttp.OkHttpClientTransport$ClientFrameHandler.run(OkHttpClientTransport.java:1103)
W/Firestore( 5850): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/Firestore( 5850): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/Firestore( 5850): 	at java.lang.Thread.run(Thread.java:923)

Then later after the above error happens enough times to trigger offline
W/Firestore( 2154): This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
E/flutter ( 2154): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
E/flutter ( 2154): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter ( 2154): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:177:18)
E/flutter ( 2154): <asynchronous suspension>
E/flutter ( 2154): #2      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:377:43)
E/flutter ( 2154): <asynchronous suspension>
E/flutter ( 2154): #3      MethodChannelDocumentReference.get (package:cloud_firestore_platform_interface/src/method_channel/method_channel_document_reference.dart:68:42)
E/flutter ( 2154): <asynchronous suspension>
E/flutter ( 2154): #4      _JsonDocumentReference.get (package:cloud_firestore/src/document_reference.dart:146:7)
E/flutter ( 2154): <asynchronous suspension>
E/flutter ( 2154): #5      UserService.bind (package:myguide/service/user_service.dart:39:16)
E/flutter ( 2154): <asynchronous suspension>

Steps to reproduce
Steps to reproduce the behavior:

Run app
See console

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
    • Flutter version 2.10.4 at /Users/danielmills/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (4 weeks ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/danielmills/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: /Users/danielmills/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8309675/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/danielmills/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8309675/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] Android Studio (version 2021.1)
    • Android Studio at /Users/danielmills/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/211.7628.21.2111.8193401/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
    • IntelliJ at /Users/danielmills/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 66.0.4
    • Dart plugin version 221.5480

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
    • IntelliJ at /Users/danielmills/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5080.210/IntelliJ IDEA 2022.1 EAP.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.3)
    • IntelliJ at /Users/danielmills/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.7172.25/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • IN2017 (mobile)      • 2e01d742                  • android-arm64  • Android 11 (API 30)
    • Dan’s Phone (mobile) • 00008101-001818940228001E • ios            • iOS 15.4.1 19E258
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 100.0.4896.127
    ! Error: Dan’s Phone is busy: Fetching debug symbols for Dan’s Phone. Xcode will continue when Dan’s Phone is finished. (code -10)

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

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
  firebase_core: ^1.15.0
  firebase_storage: ^10.2.13
  firebase_crashlytics: ^2.6.3
  firebase_database: ^9.0.12
  firebase_messaging: ^11.2.14
  firebase_remote_config: ^2.0.5
  firebase_performance: ^0.8.0+10
  firebase_analytics: ^9.1.6
  firebase_auth: ^3.3.15
  cloud_functions: ^3.2.13
  cloud_firestore: ^3.1.13

There are a lot of issues with flutterfire im having but this one will prevent me from being able to continue development, It happened all of the sudden without any changes to the project over a span of a few days.

@cyberpwnn
Looking at the error log you shared:
For This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend., Please see this related discussion thread.
For [cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff., see this discussion thread.
Regarding Stream closed with status: Status{code=INTERNAL, description=error in frame handler, cause=java.lang.NoSuchMethodError: No interface method getBuffer()Lokio/Buffer; in class Lokio/BufferedSource; or its super classes (declaration of 'okio.BufferedSource' appears in /data/app/~~562CMs3V8mJAW5W-e8eBRQ==/care.mpm.app.myguide-vSZFTwtxrkRSO-SPz3Pd5g==/base.apk!classes5.dex) W/Firestore( 5850): 	at io.grpc.okhttp.OkHttpClientTransport$ClientFrameHandler.data(OkHttpClientTransport.java:1144) these logs, it seems to be coming from okio libraray : https://square.github.io/okio/ and https://github.com/grpc/grpc-java/blob/master/okhttp/src/main/java/io/grpc/okhttp/OkHttpClientTransport.java
So I doubt if this is related to flutterfire's cloud_firestore plugin. I suggest you to reach out to firebase support on this and see what they about this.

Well given that IOS & Web continue to work as they have on the same network at the same time using the same project & given i can use the android device to download files load web pages etc, It's either a flutterfire package or firebase itself, however given the majority of android-native firebase projects havent posted this im assuming it has to do with the recent flutterfire update.

Any help on this, very frustrating:  W/Firestore( 7266): (24.1.1) [WatchStream]: (a29ad0c) Stream closed with status: Status{code=INTERNAL, description=error in frame handler, cause=java.lang.NoSuchMethodError: No interface method getBuffer()Lokio/Buffer; at io.grpc.okhttp.OkHttpClientTransport$ClientFrameHandler.data(OkHttpClientTransport.java:1144)

Yeah @darshankawar this is a sudden change after updating packages, its not a firebase thing, I don't know if it is specifically cloud_functions but it's one of the packages.

Looks like going back to these packages fixes it temporarily. Can we please get an actual fix instead of questioning the internet connection or blaming it on another google project please?
  firebase_core: ^1.14.0
  firebase_storage: ^10.2.10
  firebase_crashlytics: ^2.6.0
  firebase_database: ^9.0.9
  firebase_messaging: ^11.2.12
  firebase_remote_config: ^2.0.3
  firebase_performance: ^0.8.0+8
  firebase_analytics: ^9.1.3
  firebase_auth: ^3.3.12
  cloud_functions: ^3.2.11
  cloud_firestore: ^3.1.11

Glad I'm not the only one!
A fix/explanation/workaround would be very welcome indeed.

This prevents me from using firebase, need this fixed, wasnt a problem 5 days ago

I reached out to firebase support, though i've done this before, there's usually no reply.

See also this insight from from okio: https://github.com/square/okio/discussions/1114
Could be a version/packaging problem...

Info
In android/app/build.gradle I have:
implementation platform('com.google.firebase:firebase-bom:29.3.1')

as per the documentation: https://firebase.google.com/docs/android/setup#add-sdks
As far as I can tell (not very far) from: https://mvnrepository.com/artifact/com.google.firebase/firebase-bom/29.3.1
the dependency chain goes like this:
com.google.firebase/firebase-bom: 29.3.1
=> com.google.firebase/firebase-firestore: 24.1.1
=> io.grpc/grpc-okhttp: 1.44.1
=> com.squareup.okhttp/okhttp: 2.7.4
=> com.squareup.okio/okio: 1.6.0
I did notice one dependency inequality (okhttp 2.7.4 <> 2.7.5):
com.google.firebase/firebase-bom: 29.3.1
=> com.squareup.okhttp/okhttp: 2.7.5
=> com.squareup.okio/okio: 1.6.0

See also this insight from from okio: https://github.com/square/okio/discussions/1114
Could be a version/packaging problem...

Can you please tell me What is the solution?

No idea. I'm hoping the flutterfire devs - or someone much smarter than me - will be able to help us out...

I used to do a lot of java dev with gradle, there's a way to basically force all transitive okio deps to be a specific version, but its dirty and im not even sure what eversion its supposed to be using. That and the flutterfire plugins use platform dependencies outside of the build.gradle so whatever solution we come up with will be changing things that shouldnt be changed. If they could just fix the problem that would be great lol.

Ok i've figured out a temporary solution. But this is a problem with firebase or flutterfire. They really need to fix their dependencies.

Open your app/build.gradle (the inner one)
Add this block above your dependencies block

configurations.all {
    resolutionStrategy {
        force 'com.squareup.okhttp:okhttp:2.7.5'
        force 'com.squareup.okio:okio:1.17.5'
    }
}

Note: Its not a good idea to lock dependencies like this but it should work for a while.

Thanks for the update. Keeping it open and labeling it for further insights from the team.
/cc @russellwheatley

This needs to be resolved upstream at the level of the firebase-android-sdk. We didn't make any changes to Firestore in the last release, except for a dependency change to the latest firebase_core package which contains an update to the latest android firebase BOM.

I am facing the same problem since last few days.

I was facing the same issue because I was using older versions of firebase packages. Try updating your dependencies it worked for me.

We recently bumped android sdk to BOM version30.0.0 which might explain why this issue is resolved. @AbderraoufKhodja - can you confirm with the latest firebase_core version this problem has been resolved?

@russellwheatley I have updated firebase_core package to it's latest version. Still facing the same issue. Disabling minifyEnabled and         shrinkResources seems to temporarily solve the problem. It's worth noting that the issue started only after I added a video streaming SDK which increased the package size significantly. Before that, it was working fine with minifyEnabled and            shrinkResources enabled.

The fix suggested by cyberpwnn does work

The temporary fix from @cyberpwnn worked. But flutter devs needs to fix this asap

Still facing this issue.

Facing this issue

I was able to resolve this issue by removing another package (google_ml_vision: ^0.0.7) which was causing a dependency conflict and forcing firestore to use outdated networking code.

Ok i've figured out a temporary solution. But this is a problem with firebase or flutterfire. They really need to fix their dependencies. Basically we're just changing the dependency versions as they get resolved even if the dependencies are in a subproject (say a firebase plugin)

Open your app/build.gradle (the inner one)
Add this block above your dependencies block

configurations.all {
    resolutionStrategy {
        force 'com.squareup.okhttp:okhttp:2.7.5'
        force 'com.squareup.okio:okio:1.17.5'
    }
}

Note: Its not a good idea to lock dependencies like this but it should work for a while.
Firebase / Flutterfire devs: Please update your okio version to what GPRC uses (1.17.5)

it's realy help me, thanks for saving my 3 days debuging time.

Please. Open error persists.


Unable to Find Step Def When Step Def Variable Set to Type String(Cypress)

Current behavior
I've noticed some odd behavior in my IDE when defining a step definition variable with {string}. VSCode shows the yellow underline, and won't take me to the step definition. However, when I run the test in the Cypress runner, it executes without an issue.
If I change string to screenName, then VSCode finds the step def and navigates to it no problem.

Desired behavior
The IDE should recognize the step has a definition, and navigate to it.
Test code to reproduce
Feature file scenario step * the user is taken to the 'create' screen
Step def code And('the user is taken to the {string} screen', (screenName) => {...
Versions
CYPRESS: 6.1.0
CYPRESS-CUCUMBER-PREPROCESSOR: 4.0.0
NODE: 12.18.3

VSCODE:
 Version: 1.52.0
 Commit: 940b5f4bb5fa47866a54529ed759d95d09ee80be
 Date: 2020-12-10T22:46:53.673Z
 Electron: 9.3.5
 Chrome: 83.0.4103.122
 Node.js: 12.14.1
 V8: <IP_ADDRESS>-electron.0
 OS: Darwin x64 19.6.0

I posted this in their repo first, they put it on VSCode.  Rather than everyone playing the blame game, would be nice if someone would take a look...


Flow about an array of solar photovoltaic panels

Hi
I am sorry to bother you. I'm not familiar with aerodynamics, so I'd like to ask you if the method you mentioned can be used to solve the aerodynamics of a flat plate array, such as an array of solar photovoltaic panels (with an elevation angle).

I guess the answer is a clear yes and no ;) What aerodynamic quantities are you looking for?
Calculating the lift of flat panels is exactly what this method is designed for.

Hi
@ArneVoss  It is my fault , I didn't describe it clearly. I drew a schematic to describe what I mean, just as shown below , I want to know if it can calculate the flat array's total force.

No Problem. For your case, I propose a more detailed CFD analysis, because I expect large areas of detached flow, e.g. behind the solar panels. Such effects are not captured by aerodynamic panel methods such as the VLM.

Hi
Thank you very much, I will try it and give feedback here


10 bit addressing i2c

can anyone show example code of working 10bit addressing conversation?

This looks to be an issue with the SPI kernel driver spi-omap2-mcspi kernel driver - see issue #1


#1489 add prefix 'anonymous' if column label is empty.

Description
In the case of mysql, a blank column name is returned if there is no column name.
So if it is an empty column name, convert it to an 'anonymous' column name.

Related Issue : #1489
How Has This Been Tested?

goto mysql workbench
execute query

select "1", "a", ""
union select "2", "b", ""
union select "3", "", "blank"
union select "4", " ", "space";

see result

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Additional Context

run build
deploy to 3

@ufoscw 아래 내용 확인 부탁드립니다.

컬럼명 중복을 막기 위한 컬럼 index suffix 입니다.


Support batching in Validate-java-DocMsPackages

To unblock batching validation in eng/common scripts, we need to add an in-place overload to Validate-java-DocMsPackages that supports the $PackageInfos parameter

/azp run java - template

java - template run succeeded:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1509400&view=results

/check-enforcer override

Check enforcer was stuck on a failed stage for a previous build.


Monitoring data solutions

I originally wrote this article for the Azure Data Architecture Guide. It was not included in the released version because it was not data-centric enough. Hopefully these changes will suffice for refocusing the content. Reviewed by @EdPrice-MSFT

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/data-guide/scenarios/monitoring-data-solutions.md
:warning:Warning
View
Details

docs/data-guide/scenarios/images/monitoring-products-overview.png
:white_check_mark:Succeeded
View

docs/data-guide/scenarios/monitoring-data-solutions.md

Line 22: [Warning] Invalid file link:(~/data-guide/common-architectures/data-pipeline.md).
Line 28: [Warning] Invalid file link:(~/data-guide/pipeline-patterns/time-series.md).
Line 28: [Warning] Invalid file link:(~/data-guide/common-architectures/big-data.md).
Line 115: [Warning] Invalid file link:(~/data-guide/technology-choices/data-ingest.md).
Line 121: [Warning] Invalid file link:(~/data-guide/technology-choices/data-serving-storage.md).
Line 122: [Warning] Invalid file link:(~/data-guide/technology-choices/real-time-processing.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Oops (broken links). Those were correct in my original environment where I authored the ADAG. After moving the files to the new repo, the folder structure was changed. I'll fix.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/data-guide/scenarios/images/monitoring-products-overview.png
:white_check_mark:Succeeded
View

docs/data-guide/scenarios/monitoring-data-solutions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks @joelhulen ! I'll review this.

@MikeWasson Any thoughts on this? Let us know if there are some missing pieces or the wording is not correct.

@MikeWasson Just following up on this to see if you need any additional information or modifications. Thanks!

@joelhulen Hey - First, sorry that it's taken me so long to review this.
I feel this topic is still very high-level and doesn't get much into the specifics of data solutions.

What specific metrics should you look at in data architectures?
Differences in monitoring stream processing vs batch processing vs OLTP workloads?
Considerations for monitoring specific technology stacks like DataBricks
Considerations for creating a monitoring dashboard
Correlation tracing

I'm thinking that to do this topic justice would take more than one overview. At the same time time, there isn't really a technology matrix to include, as there is for the other data technologies. The high-level overview of monitoring services in Azure is useful but largely duplicates the Azure Monitor overview.
I hate to squash a topic that you wrote but I do think it needs more depth, and at this point I'd rather wait until we can produce a more actionable set of monitoring/performance analysis guidance.


Org finder route

Added handler for listing all orgs in Mongo, with a test to make sure they show up after querying. Returns as a JSON object with a JSON array of the organizations.

@avwu99 is this ready for a merge? can you remerge master into this branch

@avwu99 if you want u can resolve the appconfig conflicts and i think it should be good to merge this PR so we can close this- i'll leave u to the merging


Tweet section Added same as orga

@mariobehling @championswimmer  Please check and merge.

Current coverage is 51.08% (diff: 100%)

Merging #558 into development will increase coverage by 0.29%

@@           development       #558   diff @@
=============================================
  Files                5          5
  Lines              502        505     +3
  Methods             47         47
  Messages             0          0
  Branches            71         71
=============================================
+ Hits               255        258     +3
  Misses             247        247
  Partials             0          0

Powered by Codecov. Last update 0e199df...8fb1903


Nix: change binary cache key

For technical reasons, we've changed the binary cache private key. Therefore, the public key also has to be updated. Add the new key to flake.nix.


incorrect typing for svelte elements

Problem Description
Following the installation guide for sveltekit, it works fine on runtime but vscode typescript checking will keep raising error JSX element type does not have any construct or call signatures.
Screenshot attached as below.

Possible Solution
According to svelte, a svelte component should have the following typing
declare module '*.svelte' {
	export { SvelteComponentDev as default } from 'svelte/internal';
}

And it does work after applying those change.
If you guys think it makes sense, I will create a PR on it.

can you take a look at this https://github.com/antfu/unplugin-icons/blob/main/types/svelte.d.ts?
so your suggestion is adding .svelte suffix to both modules?

uhmm looks good, PR welcome (on intellij/webstorm changes looks better /cc @bluwy /cc @dominikg):

while with current version:

@kafai97's suggestion looks good. Matches svelte's as well. I'm wondering it if's one of those typeof SvelteComponentDev trick, but still, following Svelte's official ambient types would be more robust.


Feature request: intellisense on tsconfig json file

Hi @basarat thanks for this amazing editor!! It's getting better and better and more with monaco addition! I have a question, Do you think is possible to have intellisense on tsconfig file? Thanks!

And btw I think we lost the intellisense also on package json file too, I know that you are migrating those things, but I want to remind you about it, thanks :smile:

Thanks, this feedback is highly appreciated as its not fun rewriting features when no ones asked for them so thank you! 👍
We actually lost more than just the autcomplete in the latest updates : https://github.com/Microsoft/vscode/issues/8172 I'll work on bringing it back :rose:

Thanks you are the best!! :)

Released with 0.1.9 :rose:
we now have autocomplete for tsconfig + hover for package.json dependencies sections (which is what we had before monaco). I also added formatting support for all json files cause it was easy to do :)


Inspector can not be opened

What OS are you using (uname -a, or Windows version)?
Git Bash Version:
MINGW64_NT-10.0-18363
Windows Version:
Microsoft Windows Version 1909 (Build 18363.836)
Edge Version (also tested newest Chromium version):
Mozilla/5.0 (Windows NT 10.0; Win64; x64; ServiceUI 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
What programming language are you using (C/C++/Go/Rust)?
gcc --version:
gcc.exe (x86_64-posix-seh, Built by strawberryperl.com project) 8.3.0
go version:
go version go1.14.2 windows/amd64
What did you expect to see and what you saw instead?
The inspector can not be opened using the shortcut CTRL + SHIFT + I nor F12. I am using the latest Edge. I also tried this on linux using WebKit2.

Latest ChromiumEdge is not included in master at the moment. Only ChromiumEdge supports the Inspector on Windows. The old Edge requires a external tool from the windows store.
https://www.microsoft.com/de-de/p/microsoft-edge-devtools-preview/9mzbfrmz0mnj?rtc=1&activetab=pivot:overviewtab


The Button set android:background no changed on Android 6.0

The Button set android:background no changed on Android 6.0

Could you please elaborate on your issue? Or prepare a short example with expected and your result

I tried to reproduce your issue, but with no luck. Without detailed issue description I'm unable to help you.

Finally I noticed your issue, while working on something else. It's fixed now.