Add essentional libraries to project

add and configure (if library requires configuration):
class-validator
(dotenv)
helmet
express-rate-limit
pg
TypeORM

https://github.com/express-rate-limit/express-rate-limit
lib requires configuration


Tapping send button dismisses keyboard

When you tap the send button in the Mattermost app, it dismisses the keyboard. This is less than ideal if, say, you're having a conversation instead of making a one-off comment.

Duplicate of mattermost/platform#4189 aka PLT-4376, which was fixed in version 3.5.0 of the platform.


Perls with longdouble and quadmath

Similar to #420 it would be nice to be able to request a perl built with -Duselongdouble or -Dusequadmath.
NB that quadmath is a gcc-ism so probably isn't available on Windows.

This would be useful for me as well for testing PDL's ldouble() type support.

FYI for now my work-around is to use perlbrew to roll my own: https://github.com/DrHyde/perl-modules-Data-CompactReadonly/blob/master/.github/workflows/weird-perls.yml

@DrHyde, you could cache the built perls with Github's own actions/cache. It's what I did for https://github.com/sanko/Affix.pm/blob/main/.github/workflows/ci.yaml.
The majority of that workflow is there to work around perlbrew being incompatible with Windows but it runs over 100 different platform and build flag combinations... caching has been a real time saver.


Can we customize marginLeftWithoutDepth?

Hey guys, marginLeftWithoutDepth seems to be hard coded here, which makes it difficult to align the ordered list with other blocks. Is there any possibility to make it customizable?

Hello @ouabing.
Of course! We are a little busy right now, but we appreciate some help.

Hello! If this issue is still available I'd like to take it.


ListWheelScrollView not support material children when using magnifier

It seems the ListWheelScrollView not support material children when using magnifier?
Steps to Reproduce

Code
import 'package:flutter/material.dart';

void main() async {

  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {

    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {

  @override
  Widget build(BuildContext context) {

    final double h = 50;

    return Scaffold(
      body: SafeArea(
        child: ListWheelScrollView(
          useMagnifier: true,
          magnification: 1.5,
          itemExtent: h,
          children: List.generate(10, (index) => Material(
            color: Colors.blue,
            child: Center( child: Text((index + 1).toString()) ),
          )),
        ),
      ),
    );
  }

}

Expected results: (use Container instead of Material)
https://user-images.githubusercontent.com/33997664/123731141-2b840d80-d8ca-11eb-831e-b46009bc1647.mp4
Actual results:
https://user-images.githubusercontent.com/33997664/123731129-258e2c80-d8ca-11eb-9544-bc08257a3512.mp4

flutter doctor -v
[√] Flutter (Channel dev, 2.3.0-24.0.pre, on Microsoft Windows [Version 10.0.19042.1052], locale zh-HK)
    • Flutter version 2.3.0-24.0.pre at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2b9537c783 (2 weeks ago), 2021-06-11 22:11:53 -0700
    • Engine revision ddbac024d1
    • Dart version 2.14.0 (build 2.14.0-188.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at S:\Android\Sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

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

[√] Android Studio (version 4.2.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] VS Code (version 1.57.1)
    • VS Code at C:\Users\FIB24\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554    • android-x86    • Android 8.1.0 (API 27) (emulator)
    • Chrome (web)                       • chrome           • web-javascript • Google Chrome 91.0.4472.124
    • Edge (web)                         • edge             • web-javascript • Microsoft Edge 91.0.864.59

• No issues found!

With Material widget, the first item is not displayed, as below:

When we scroll, then it shows the first item which seems to be hidden behind white space:

But displayed using Container, as below:

I also tried using ListWheelScrollView.useDelegate and childDelegate: ListWheelChildLoopingListDelegate, but same behavior using Material widget.

 flutter doctor -v
[✓] Flutter (Channel stable, 2.2.2, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.2.2 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision d79295af24 (11 days ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

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

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

[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 91.0.4472.106

• No issues found!


Work on auto-reloading tornado better with Darren

Testing Plan:
GIFs or Screenshots:

This was completed in ae0a9299880c79a6614f0a6c8eb8f3b39cbe628b


Upgrade redux saga for working example

Upgrade redux-saga to v0.14.0 so that the code in the tutorial works. The reason it does not work is that the tutorial has been updated to use takeEvery from 'redux-saga/effects' that does not exist in v0.10.4.
Fix the broken link to the beginner tutorial.
Fix the working example in the sagas branch to use takeEvery from 'redux-saga/effects' and move from yield* to yield.

thanks!


scan command cannot return all matched keys?

I used scan command to get all matched keys, but when the cursor equals zero,  i found that the number of key did not equals the number it should be .
for example, there are 10,000,000  keys which match the pattern "scanTest*"，then i executed scan command util the cursor equals zero, but i can't get all the 10,000,000 keys, few keys missed by scan. and also , i did't add or delete key when executing scan command.
but, if the number of keys is less than  10,000,000, like 10,000 ,  all the keys can be return by scan.
I am so confused about this, someone can tell me why was that? thanks in advance !

How do you know you have 10,000,000 keys that match scanTest*? I'm guessing there is some miss measurement somewhere.
If you've confirmed that you're actually not getting a full iteration, highly unlikely that this is a problem with 'node_redis' since it's not really doing anything but dumping out the results from Redis itself.

Actually, I inserted the 10,000,000 keys into db firstly, then I scanned those keys.
In my program, I scan the keys with option count 1000, then deleted the result(keys) of scanning using pipeline, and loop the two steps util cursor equals zero.
It's ok when the number of key is not pretty much, but not ok with number over 10,000,000.
So I think in the progress of scanning and deleting, the key space was shrinking and rehashing,
the algorithm "reverse binary iteration" may be cannot cover the full iteration.

Can you share your test case for this?

sure, here is the code: how I scan and delete:
`@Test
public void scanAndDel() {
//I have already inserted 10,000,000 keys into db
String cursor = "0";
ScanParams scanParams = getScanParams("scanTest*", 1000);
int totalCount = 0;//number of scanned keys
    Pipeline pipeline = jedis.pipelined();
    try {
        do {
            ScanResult<String> scanResult = jedis.scan(cursor, scanParams);
            cursor = scanResult.getStringCursor();
            totalCount += scanResult.getResult().size();

            //delete keys using pipeline
            for (String key : scanResult.getResult()) {
                pipeline.del(key);
            }
            // check if any exception throw
            List<Object> response = pipeline.syncAndReturnAll();
            Iterator<Object> iterator = response.iterator();
            while (iterator.hasNext()) {
                Object o = iterator.next();
                if (o instanceof Throwable) {
                    System.out.println("exception happened, " + o);
                }
            }
        } while (!"0".equals(cursor));//loop
    } catch (Exception e) {
        //ignore
    } finally {
        jedis.close();
    }

    //totalCount did not equals 10,000,000
    System.out.println("scanned key count = " + totalCount);
}`

That does not look like node.js code

Seems like it is the java client.


Speech To Text Callback IP Address

Hello,
Im using speech to text batch processing behind a firewall. What are the ip addresses of speech to text that needs to be whitelisted in order for the speech to text webhook callback request to get through?
Region: uksouth

@zhouwangzw @wolfma61 Can you please comment?

@bexxx  Could you please help on this Webhook callback related question?

We're working on using IPs from a predefined IP pool to start supporting service tags which will make your scenario easy to configure. Now the IPs are not fixed, and the firewall config cannot be done.

Thanks @bexx! Any idea when it will be ready? Are there service tags already available for other regions beside uksouth?

Does anyone else know when the service tags will be ready?

@bexx Can you please comment on the schedule?

We do not have a fixed ETA for this feature.

Closing the item since the requested feature is not supported at the moment, it is on the service team's backlog (but no ETA).


Extend CONNECTED payload

Extend it to support the CONFIGURE payload and dispatch cluster configuration information to the connected client.

This was done with commit 320c1df2e986e5d937712b7ff21a1916e5466f15


Enforce the same device/dtype when constructing metatensor.torch.TensorBlock/TensorMaps

Not doing so would most likely result in operations failing due to device or type mismatches

I think the checks should be done in the metatensor-torch C++ code, since the same issue can happen when creating data from C++.

I agree, devices should be consistent at creation time. I can't see use cases to have different pieces on different devices.

@ceriottm in https://github.com/lab-cosmo/metatensor/issues/413#issuecomment-1789830279

Perhaps to distribute calculations. Some blocks could live in cuda:0, others in cuda:1, and so on

@frostedoyster in https://github.com/lab-cosmo/metatensor/issues/413#issuecomment-1790135849

I could see a point for different blocks to be on different variations on the same kind of device (i.e. cuda:0/cuda:1), but not on different kind of devices. The keys would then have to be on the same kind of device as well.

Should we enforce consistency between data and metadata  of a block, and let complete freedom between different blocks in the same map?

Thinking a bit more about this, I don't think we can have different devices for different block.values, because keys_to_xxx requires all the data to be on the same device.
For distributed calculations, I feel like it would be better to distribute over samples instead of blocks, and then use separate TensorMap on separate devices. Can you see a point where splitting distributed calculations over samples would not work?

Fixed by #414


chat pusher

PR 설명

변경 내역

체크리스트

스크린샷 & URL

release-canary

release-canary

release-canary

release-canary

release-canary

release-canary

release-canary

🙇


nan in training loss

Thank you for making the code publicly available.
I just have one small query related to training the network from scratch. After running the training code, I was getting the Nan loss. I traced it back to the initialization in SP_DecoderEigen3steps -> SubSpaceLayer:
self.U = nn.Parameter(torch.empty(n_basis, dim))
nn.init.orthogonal_(self.U)
The orthogonal constraint causes the weights to go Nan. For testing purposes, I changed it to:
self.U = nn.Parameter(torch.nn.init.xavier_uniform(torch.empty(n_basis, dim))+1e-6)
This solves the problem of Nan, but I am not sure if this will converge.
I am looking forward to your help.

Hi,
Thanks for your interest! I didn't observe the Nan loss problem during my training, so I am not quiet sure what caused it. But I believe the small difference in parameter initialization will not affect the convergence of the network.

Good to know this. Currently, the training is in progress, and loss is converging.
Thank you for your quick response and help.


Deprecate dimensions in favor of shape (fix #619)

Ah, it's back to "building the wrong commit ID" again.  WTF?

This is maddening.  Let me go through the analysis just to make sure that I'm not doing something wrong.

On my machine, rec:shape has commit ID a4983ac.
The same is true on github.
But Travis is testing 8dac077 .

Pushing this at the end of another review.


Scraping: improve memory handling of scrape buffers

Improvements here are stylistic:

util.Pool returns []byte instead of interface{}.  This essentially reverts #3835: since this pool is only used in one place making it generic just complicates things.

And for efficiency:

Add a pool for slice headers, similar to zeropool, saves 1 allocation of 24 bytes on every Put to the pool.  Just one for all the buckets.
Fewer pool buckets. Previously we had sizes in bytes: 1000, 3000, 9e3, 27e3, 81e3, 243e3, 729e3, 2.2e6, 6.6e6, 1.97e6, 59e6.
Now they are 8000, 24000, 72e3, 216e3, 648e3, 1.9e6, 5.8e6 and "outsize".  So it takes less time to find the right bucket, and less space is wasted from rounding up to the maximum size of the bucket.
We now pool objects bigger than the largest bucket, in an "outsize" pool.  This is a slice not a sync.Pool since those maintain a separate free-list for each CPU core.  Cleaning it out on each garbage-collection cycle is a little complicated.

In my ~8GB Prometheus this gives a ~300MB reduction.  It doesn't show up so much in the benchmarks.
Benchmarks

goos: linux
goarch: amd64
pkg: github.com/prometheus/prometheus/scrape
cpu: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
                                               │    before    │               after               │
                                               │    sec/op    │   sec/op     vs base              │
ScrapeAndReport/#00-4                            188.6µ ± 30%   191.9µ ± 8%       ~ (p=0.818 n=6)
ScrapeAndReport/application/openmetrics-text-4   191.6µ ± 13%   186.5µ ± 4%       ~ (p=0.240 n=6)
geomean                                          190.1µ         189.2µ       -0.48%
                                           │    before     │                after                │
                                           │     B/op      │     B/op       vs base              │

ScrapeAndReport/#00-4                            36.19Ki ± 94%   36.14Ki ± 19%       ~ (p=0.065 n=6)
ScrapeAndReport/application/openmetrics-text-4   37.24Ki ±  0%   37.19Ki ±  0%  -0.12% (p=0.004 n=6)
geomean                                          36.71Ki         36.66Ki        -0.12%
                                           │   before    │               after               │
                                           │  allocs/op  │  allocs/op   vs base              │

ScrapeAndReport/#00-4                            844.0 ± 95%   842.0 ± 20%  -0.24% (p=0.015 n=6)
ScrapeAndReport/application/openmetrics-text-4   858.0 ±  0%   856.0 ±  0%  -0.23% (p=0.002 n=6)
geomean                                          851.0         849.0        -0.24%

In Prombench the memory reduction is clearest on the 'Next GC' line, with main consistently above this PR.
The peak since it started is 24.1GB vs 24.6GB:

/prombench cancel

Going to close this as not worth the extra lines of code.


added to the udp protocol control and management project

Added the udp control protocol to the project
With new MessageUdp event for exclusive control of this new class

It has been add socket control also for udp allowed so the transmission of packets to equipment with low level communication, with access controller cards


Maybe command "node-gyp configure" generated wrong .vcproj file on Windows.

I am a beginner of node-gyp, I stucked in first sample of node.js addon.
When I run the command "node-gyp build", I got an error "LINK : fatal error LNK1181: cannot open input file 'C:\Users\xxx.node-gyp\0.10.5\node.lib' "
I checked the .vcproj file, there is a variable $(Configuration) before "\node.lib", After I changed it to "$(ConfigurationName)" building is okay.
I am not sure if the "node-gyp build" command generated the wrong project file?

It seems like perhaps this should be closed. Feel free to re-open (or leave a comment requesting that it be re-opened) if you disagree. I'm just tidying up and not acting on a super-strong opinion or anything like that.


python310Packages.peaqevcore: 3.0.6 -> 3.0.7

Description of changes
Update to latest upstream release 3.0.7

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180136 run on x86_64-linux 1

2 packages built:

python310Packages.peaqevcore
python39Packages.peaqevcore


Can't dynamically add a node inside another node

Hi,
I have global tracks what node is selected (THIS WORKS):
class TreeNodeSelection {
constructor(public tree: TreeModel, public node: TreeNode) {
}
}
let treeNodeCurrentSelection: TreeNodeSelection;
//
@ViewChild('tree') tree: TreeComponent;
nodes: any[];
// then I have ........PERFECT and works... but look down......
this._someService.rootNodeCreationSource$.subscribe(rootNode => {
this.tree.treeModel.nodes.push(rootNode);
this.tree.treeModel.update();
///treeNodeCurrentSelection = new TreeNodeSelection(this.tree.treeModel, rootNode);
});
// The followoing DOES NOT ----------NOT WORK AT ALL--------------.
this._service .nodeCreationSource$
.subscribe(createdNode => {
let newItem: TreeNode = new TreeNode(createdNode ,
treeNodeCurrentSelection.node,
treeNodeCurrentSelection.tree,
treeNodeCurrentSelection.node.children.length);
            treeNodeCurrentSelection.node.children.push(newItem); <----I can see the node

            treeNodeCurrentSelection.tree.update(); //BOOM IT DID NOT WORK
        });

JUST TO LET YOU KNOW ...NO NULLS are the issues
treeNodeCurrentSelection.node.children.push(newItem); <----works
treeNodeCurrentSelection.tree.update(); doesn't....
Can send us a proper example of adding a node ...
not like like the example u already have
addNode(tree) {
    this.nodes[0].children.push({
        name: 'a new child'
    });
    tree.treeModel.update();
}

you should use,
this.nodes[0].data.children.push('your node');
It will work perfectly fine. It is mentioned in the documentation that you must use data property to access uuid, children

Hi,
you shouldn't create TreeNode's or push to treeModel.nodes by yourself.
The idea is to update the original data that you passed to treeModel, and let the treeModel recreate these classes.
You can do it by either replacing the nodes input (using immutable data) or by calling update().
As @parasjain95 mentioned, if you are holding a TreeNode instance you can access data to get the original node.
All the best

hi all resolved. May be i should have posted it earlier.

@joyanta Can you post the ts file here. I am also looking how to add new node. Thanks

@adamkleingit Hi adam, after i upgrade to "angular-tree-component": "^6.0.0" and<EMAIL_ADDRESS>suddenly the dynamic tree node add/remove functionalities stopped working. Once i collapse and expand, the node will get appear. pls suggest an option.

Can you reproduce here?
https://plnkr.co/edit/u5fMmaM14rJ0aqG3k240?p=preview
Adam Klein
Chief Technology Officer
Tel.   +972-52-7475633 <+972527475633>
Web 500tech.com http://www.500tech.com/ | github.com/500tech |
@adamklein500 http://twitter.com/adamklein500
On Tue, Dec 5, 2017 at 3:39 PM, Anto Antony<EMAIL_ADDRESS>wrote:

@adamkleingit https://github.com/adamkleingit Hi adam, after i upgrade
to "angular-tree-component": "^6.0.0" and<EMAIL_ADDRESS>suddenly the
dynamic tree node add/remove functionalities stopped working. Once i
collapse and expand, the node will get appear. pls suggest an option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/500tech/angular-tree-component/issues/301#issuecomment-349306557,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2SSiZQJbZVgiqGWleLVpPA8H8XFUyAks5s9UeegaJpZM4NXGAH
.


fix: force Maven Central components with packaging bundle to be jar

Fix for #89

Re-tested to confirm this fix resolves the reported issue.

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

Chrome Web Store
v2.10.6
GitHub release

Your semantic-release bot :package::rocket:


fix:NumberTheory/LegendreSymbol/GaussSum fix porting note

This PR incorporates also the changes to NumberTheory.LegendreSymbol.MulCharacter discussed here
This PR has been reopened because I forgot to write a porting note

bors r+

bors merge

bors r+


introduce new docker setup

The update includes:

separate docker-compose setups for production and the devcontainer
using individual Dockerfiles for the Django and Vue applications
force emulation on arm devices for the devcontiner due to libpq error, see https://stackoverflow.com/questions/62807717/how-can-i-solve-postgresql-scram-authentifcation-problem

@jarkenau The error with the port forwarding could not be reproduced.


WIP: Compress WAL

This is a PR in order to run benchmarks for compressing the WAL (see https://github.com/prometheus/tsdb/pull/609).
@krasi-georgiev would you be willing to start a benchmark run when you get a chance?
Currently WALCompression is defaulted to true for the benchmarks, I will switch it to false before marking this ready to merge.

/benchmark

Will run for a day and will also check the WAL size savings.

Looks like compression ratios in the 1.8 - 2.8 range (prom query)
Looks good to me so far, WAL fsync latencies are also down significantly. Is it possible to restart each of the Prometheus instances? It would be interesting to see how reading the WAL at startup differs.

restarted.
not sure if there is a metric for the time it took to read the logs so let me know and I can probably figure out the timings from the logs.

Thanks! I can get an estimate based on when samples start getting ingested again:
master: 00:10:10 -> 00:24:55 = 14 minutes, 45 seconds
pr: 00:18:10 -> 00:33:00 = 14 minutes, 50 seconds
Almost no difference, so seems like decoding speed is not something to be worried about either.

amazing difference in the WAL size
no compression
7.9G    /mnt/disks/ssd0/wal/checkpoint.001516
63G     /mnt/disks/ssd0/wal/

compressed
828M    /mnt/disks/ssd0/wal/checkpoint.000798
30G     /mnt/disks/ssd0/wal/

do we need more data or can I shut it down?

That’s all the data I want, feel free to shut it down.

/benchmark cancel

/benchmark

/benchmark cancel

@csmarchbanks TSDB https://github.com/prometheus/tsdb/releases/tag/v0.9.1 is released. (:

@brancz @bwplotka @krasi-georgiev This is ready for a review now.
Did a quick smoke test of remote write in both compressed and non-compressed modes and everything is looking good.

I broke it into two commits for ease of review - one for a minimal tsdb update, one for adding the WAL compression flag.

In terms of test. Isn't wotth to test... both?

Yep, I agree. I updated all the tests to test both cases similar to the tsdb tests.


Unable to run the project in Input Simulation Mode

While Oculus Quest is not connected, when trying to run  the project in the editor mode (by clicking the play button), get the following errors:
Unable to start Oculus XR Plugin.
UnityEngine.Debug:LogError(Object)
Unity.XR.Oculus.OculusLoader:Initialize() (at
Org/IoThingsLab/MRTK-Quest-Sample/Library/PackageCache/com.unity.xr.oculus@1.5.0/Runtime/OculusLoader.cs:118)

Copy of https://github.com/VRSimulator/IoThingsLab/issues/9


API documentation

Implement API documentation through https://hono.dev/snippets/zod-openapi; maybe do this on another branch after api-v1 is done

TypeSpec exists actually so maybe just do that instead


Adding new custom keywords leads to errors

Hello,
Today I have been trying to use this plugin to create a new language for a JetBrains product.
I however can't extend the plugin with new keywords.
I keep getting errors such as:

While the ANTLR preview works just fine:

I have tried to add a block keywords (e.g. 'class') that works very similar to a func definition:
script
	:	vardef* define_class* function* statement* EOF
	;

define_class
    : 'class' ID block
    ;

// ...

CLASS : 'class' ;

And I have tried to copy the print() definition to log(), which also leads to errors in the IDE (but not in the preview):

	|	'print' '(' expr? ')'								# Print
	|	'log' '(' expr? ')'								 # Log

// ...

PRINT : 'print' ;
LOG : 'log' ;

When replacing print with log, it does work:

I have tried editing and copying Java files/classes and cases/rules to match my new keywords, but this did not help at all.
What am I missing/supposed to be doing in order to create new keywords?

Hi!   Thanks for posting here.  Unfortunately I haven't looked at plug-in stuff in six or seven years, but maybe @bjansen  has some ideas.


[Question]: Structured output

What is your question?
I just added structured output support to my local version of fabric. It is super rudimentary, but seems to work. I'm curious if there's any interest in creating a PR to add this to the mainline project.
Here are some examples:
PS C:\Users\deste\repos\fabric> go run . /hint latex "definition of population standard deviation"
The population standard deviation is defined as the square root of the variance of a population. It is calculated as:

σ = √(Σ(xi - μ)² / N)

Where:
- σ is the population standard deviation
- xi is each individual data point in the population
- μ is the population mean
- N is the total number of data points in the population
- Σ denotes the summation of the squared differences between each data point and the population mean

PS C:\Users\deste\repos\fabric> go run . /hint json "simple json example"
{
  "name": "John Doe",
  "age": 30,
  "city": "New York"
}

PS C:\Users\deste\repos\fabric> go run . /hint c++ "bubble sort"
#include <iostream>
using namespace std;

void bubbleSort(int arr[], int n) {
    for (int i = 0; i < n-1; i++) {
        for (int j = 0; j < n-i-1; j++) {
            if (arr[j] > arr[j+1]) {
                int temp = arr[j];
                arr[j] = arr[j+1];
                arr[j+1] = temp;
            }
        }
    }
}

void printArray(int arr[], int size) {
    for (int i = 0; i < size; i++)
        cout << arr[i] << " ";
    cout << endl;
}

int main() {
    int arr[] = {64, 34, 25, 12, 22, 11, 90};
    int n = sizeof(arr)/sizeof(arr[0]);
    bubbleSort(arr, n);
    cout<<"Sorted array: \n";
    printArray(arr, n);
    return 0;
}

PS C:\Users\deste\repos\fabric>

Please provide PR


Update calls to insertInFile to patchInFile

Please verify the following:

[x] Everything works on iOS/Android
[x] npm test ava tests pass with new tests, if relevant

Next step will be moving patchInFile up into gluegun.

@ryanlntn I can show you how that's done next week if ya like?  Would only take like 10 mins.

@skellock Awesome!


DML operations executes too long time after upgrading 4.1.8 -> 4.2.6

CrateDB version: 4.2.6
Problem description:
I upgraded cluster 4.1.8 -> 4.2.6, and I see DML SQL queries executed infinite time.
Select - executes quickly

Delete - started and cant be finished.

I tried OPTIMIZE this table.
I tried CLOSE / OPEN this table.
I tried full cluster restart.
I tried re-create table.
A newly created test table - same result.
Nothing helps me.

I created test table, insert one row into it, tried to delete or update this table several times, and then drop table.
I kill all sessions from screen.
But they does not disappear.

Could you post the table schema and the cluster configuration including heap size settings?
I cannot reproduce the problem

Cluster config:
path.data: /opt/crate/data
path.repo: /opt/crate/repo

network.host: <IP_ADDRESS>

node.name: "crate02"
node.master: true
node.data: true
node.attr.rack_id: 3data

cluster.routing.allocation.awareness.attributes: rack_id

discovery.seed_hosts:
    - crate00:4300
    - crate01:4300
    - crate02:4300
    - crate03:4300
    - crate04:4300

cluster.initial_master_nodes:
    - crate00
    - crate01
    - crate02
    - crate03
    - crate04

gateway.expected_nodes: 5
gateway.recover_after_nodes: 3

auth.host_based.enabled: false

cluster.name: ev

stats.enabled: true

psql.port: 5432

thread_pool.search.size: 100

Table in first screenshot
CREATE TABLE IF NOT EXISTS "doc"."catalog_favorites" (
   "added" TIMESTAMP WITH TIME ZONE,
   "catalog_id" TEXT,
   "is_active" BOOLEAN,
   "source" TEXT,
   "user_id" TEXT,
   "user_order" INTEGER,
   PRIMARY KEY ("catalog_id", "user_id", "source")
)
CLUSTERED INTO 6 SHARDS
WITH (
   "allocation.max_retries" = 5,
   "blocks.metadata" = false,
   "blocks.read" = false,
   "blocks.read_only" = false,
   "blocks.read_only_allow_delete" = false,
   "blocks.write" = false,
   column_policy = 'strict',
   "mapping.total_fields.limit" = 1000,
   max_ngram_diff = 1,
   max_shingle_diff = 3,
   number_of_replicas = '0-1',
   refresh_interval = 10,
   "routing.allocation.enable" = 'all',
   "routing.allocation.total_shards_per_node" = -1,
   "translog.durability" = 'REQUEST',
   "translog.flush_threshold_size" = 536870912,
   "translog.sync_interval" = 5000,
   "unassigned.node_left.delayed_timeout" = 60000,
   "warmer.enabled" = true,
   "write.wait_for_active_shards" = 'ALL'
)

Thread dump in attach:
threaddump.txt
I downgraded to 4.1.8 (with particall data-loss), so I cant reproduce this at now.
My steps:

I have cluster with 5 nodes.
I upgrade one nodes and awaits for a Health back to green
Then I upgrade next node.
After 3-4 nodes was upgraded I saw this problem (maybe it appear and earlier - I dont sure), but... It was too later to stop :) and I thinked this tied with segment upgrading process.
After full cluster upgraded it goes to readonly state... All DML was frozed.
I execute next script for all tables. It took some time:

....
OPTIMIZE TABLE doc.catalog_favorites with (only_expunge_deletes = true);
OPTIMIZE TABLE doc.catalog_favorites with (upgrade_segments = true);
OPTIMIZE TABLE doc.catalog_favorites;
...

I hoped problem will be solved after script finished... But it was not helps.
At night I re-created cluster with downgraded version, restored last snapshot and apply changes using COPY TO / COPY FROM for a mandatory tables.

According to my observations at the time of the accident:
After full-cluster-restart system back to normal state for a 1-2 minute.
I used this test script as healthcheck:
CREATE TABLE test (x int);
INSERT INTO test (x) values (1);
DELETE FROM test;
Then all reproduced (healthcheck script frozes on DELETE step) again.
Frozed operations: DELETE and UPDATE.
SELECT, INSERT and DROP TABLE works fine.
Session with DELETE and UPDATE could not be killed. (KILL 'xxx'; was finished successfully, returned classic message "2 rows affected", but actually changes nothing).
There was only one way to kill this sessions - node restart.
DELETE and UPDATE frozed on data-access only.
For empty table DELETE and UPDATE executes successfully.
There was no difference - what table/schema is used - it always reproduced.
There was also no difference what lucene version on index.
There no a difference on witch node I execute DML - it always frozed.
After cluster works in this mode for a some time - nodes began restarts.
At that moment SELECT COUNT(*) FROM SYS.JOBS showed 400-500 frozen SQLs.
It looks like a global lock acquired and was not released, but I was not found any in thread dump.

@shm-dmitry Thank you for this information.
Additionally, could you please tell us on which version this table was created while running the 4.1.8 cluster?
select version from information_schema.tables where table_name = 'catalog_favorites'

@seut
upgraded: 4.1.8
created: 4.0.6

@shm-dmitry Ok thanks. I forgot to ask for another important information, the lucene segments version:
select * from sys.segments where table_name = 'catalog_favorites';

Could you provide us this as well please?

@seut
See in attach
export.xlsx

@shm-dmitry I cannot see any issues based on the information you provided nor can we reproduce this. We also have a test suite in place to validate rolling upgrades between minor versions (https://github.com/crate/crate-qa/blob/master/tests/bwc/test_rolling_upgrade.py)
Anything related inside the logs? Specially when the cluster goes into a readonly state, some logs should pop up including a reason for it.


If an artist does not have have a EN wikipedia page from wikidata, fallback to its area

ex. https://musicbrainz.org/artist/6825ace2-3563-4ac5-8d85-c7bf1334bd2c
related: #239

https://www.wikidata.org/w/api.php?action=wbgetentities&formatversion=2&ids=Q109358519&props=sitelinks%2Furls&format=json
{
  "entities": {
    "Q109358519": {
      "type": "item",
      "id": "Q109358519",
      "sitelinks": {
        "jawiki": {
          "site": "jawiki",
          "title": "月詠み",
          "badges": [],
          "url": "https://ja.wikipedia.org/wiki/%E6%9C%88%E8%A9%A0%E3%81%BF"
        },
        "viwiki": {
          "site": "viwiki",
          "title": "Tsukuyomi (ban nhạc)",
          "badges": [],
          "url": "https://vi.wikipedia.org/wiki/Tsukuyomi_(ban_nh%E1%BA%A1c)"
        }
      }
    }
  },
  "success": 1
}

[ ] need to store artist's area in database and join artist and area: https://musicbrainz.org/doc/MusicBrainz_Database/Schema

How do I link between a country code and a language code?


Restructure Root issue

[ ] variable.tf
[ ] output.tf
[ ] main.tf
[ ] providers.tf

Also retsructure TOC for Week 1


[DO NOT MERGE] Remove travel advice coronavirus callout

Trello: https://trello.com/c/Dn5EMksc
Expected changes
Before

After

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Yes, slightly confusingly the naming convention for Sass files is very slightly different from templates - warning_text is the template and warning-text is the Sass file.


[DISCUSS] Execution API improvements

This issue serves as a discussion place for a few proposed execution API improvements.
Removing SyncFailsafe and AsyncFailsafe
For Failsafe 2.0, we've moved to requiring Java 8 which means we have access to the ForkJoinPool's commonPool. I merged an implementation of a Scheduler based that delegates to the commonPool, which will allow users to perform async executions without having to configure a Scheduler. And this, I hope, will allow us to get rid of the separate SyncFailsafe and AsyncFailsafe classes (which area mostly an internal detail for most users).
What this means though, is that the current API will need to change slightly to more explicitly indicate when an execution is sync vs async. Ex:
<T> T get(Callable<T> callable);

<T> Future<T> getAsync(Callable<T> callable);

While getAsync is a breaking API change, I think making async executions more explicit is a good thing in addition to hopefully allowing us to do away with the separate Sync/Async Failsafe impls.
Saving Failsafe instances
The Failsafe class is largely just a mechanism for configuring some policies and performing executions where results are handled according to those policies. The first responsibility implies being able to save a configured Falsafe instance. Currently this looks like:
SyncFailsafe<?> failsafe = Failsafe.with(retryPolicy);
AsyncFailsafe<?> asyncFailsafe = Failsafe.with(retryPolicy).with(Scheduler.class);

What's awkward here is that we don't get a Failsafe instance, instead we get something like SyncFailsafe<T> where T represents the execution result type which we may not even know yet. Better would be:
Failsafe failsafe = Failsafe.with(fallback, retryPolicy, circuitBreaker);

...where the result type can come later and the failsafe instance can be used for lots of different executions.
Typed Results
Execution result types do matter since we want them to be unified across our event handlers. Ex:
failsafe
  .onSuccess((Boolean result) -> ...)
  .get(() -> "string") // Should not compile

The above example should not compile since onSuccess types the result as a Boolean while get types it as a String. So we sometimes want Failsafe to be typed in order to deal with this. But as mentioned above, we sometimes don't want Failsafe to be typed if we don't know what the execution  result type is yet and don't care.
One idea is to offer an alternative TypedFailsafe that is there when you need it and not when you don't. Ex:
failsafe.
  .handleResult<Boolean>() // Returns TypedFailsafe<Boolean>
  .onSuccess((Boolean result) -> ...)
  .get(() -> "string") // Will not compile

This would ensure that result types are properly checked by the compiler. It's not yet clear though how well this would play with the untyped Failsafe API and how easily they'll co-exist....

Typed Results

Instead of treating typed results as something special, why not have everything typed by default. Allowing users to use generics to specify Object/Void is easy, isn't it? Keeps the API simple, since there would be only one API, the typed version.

Instead of treating typed results as something special, why not have everything typed by default.

The reason I'm thinking is because Failsafe might receive some configuration, which isn't typed, then execute that configuration later in a different part of the codebase. Ex:
Failsafe failsafe = Failsafe.with(retryPolicy, circuitBreaker);

// elsewhere
failsafe
  .onSuccess((Boolean result) -> ...
  .get(this::isConnected);

This assumes that there could reasonably be a separation between the configuration and the execution though. I know for some use cases there is, where a whole category of methods might throw TimeoutException or ConnectException so you just want to have a shared RetryPolicy or CircuitBreaker that handles those even though the actual executions and result types are different.


RHP Encoding Fixes

This PR fixes some of the encoding issues in the new rhp code. I've only tested it with ReadSector. I decided to open a PR because I think Nate and I are working through the same issues so I figured we could consolidate our efforts into one PR/branch and get it merged.
The main issues I think are:

[ ] instructions should be length prefixed
[ ] writeObject requires a hack-fix in the lenght prefix because MDM programs now include the data
[ ] order of field encoding is off at times
[ ] some fields are missing in the encoding

lgtm -- are we keeping this as a draft until it's been tested with hosts?

lgtm -- are we keeping this as a draft until it's been tested with hosts?

There are a couple more I’m working on from the host side.

This looks good to me. hostd successfully executes append and read sector programs from siad renters. Unless @peterjan has any more, LGTM

LGTM 👍 will leave the merging up to @lukechampine


LWJGL 3 released

Maybe switch to LWJGL 3 released version ? :)

oh, just tried in local branch - it's not about change the version in pom.xml. Sorry

I made the necessary tweaks and just pushed a diff which updates to 3.0.0.

Thanks so much!


Informative error for datasets challenge

When creating data sets, there is a chance that there is not a single trajectory that can fall within the given FOV. This results into array_labels_fov inside challenge_phenom_dataset being an empty list. When this is later concatenated, it yields a rather cryptic error message for the end user: "ValueError: need at least one array to concatenate". I have added a check for the list length that raises a more informative error message whenever this is the case.
I have taken the chance to tidy up a bit the module by fixing an import and removing unused variables.

@BorjaRequena maybe we could add a bit more for the second sentence, something on the lines of:
"This can be due to having too few particles or for instance these moving too fast and exiting the FOV before minimal trajectory length. This can also be caused by a (very) unlucky run.  Try adjusting your parameters..."
What do you think?

I agree a more detailed explanation could help the users understand the reason behind the error. I have extended it according to your feedback, @gorkamunoz. Let me know what you think!


NodeSupportTest: Fix a typo in a dummy "password"

Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Will merge this once approved despite the Travis failure which gets addressed by https://github.com/oss-review-toolkit/ort/pull/2512.


How to start the EVCC in discharging mode?

Hello,
I have a question regarding starting the EVCC (Electric Vehicle Communication Controller) in discharging mode. If I initiate the EVCC in AC / DC BPT (Basic Power Transfer) mode using ISO 15118-20, does that automatically mean that the EVCC is in discharging mode?
Alternatively, could you please guide me on the necessary configuration settings or steps required to enable the EVCC to operate in discharging mode?

Hi,
you misread AC / DC BPT, it is Bidirectional Power Transfer (BPT).
sorry can't help for the second point, I am discovering the project as well.
cheers


Add RAAN from LTAN calculation to SSO calculation

This uses PR #747 to also add the RAAN from LTAN calculation and
use LTAN to dervice current RAAN to be further propagated with J2 perturbations.

Also, before pushing, check:
$ tox -e reformat
$ tox -e check

This will reformat the code by applying black and isort formatters to have clean Python scripts :smile:

@noc0lour if you still want to give this a try, would you please rebase on current master? We gave the code some love and fixed some quality issues that appeared with the new mypy releases :grin:

@Juanlu001 Rebased on current master with no conflicts. Need to check if my code still works though.

Thanks @noc0lour! I approved the codeclimate warnings, let's wait for the tests.

I'll have a look at the tests later, haven't checked tests so far, I think I still had some open questions if the current approach is feasible at all (since LTAN/LTDN is only reall defined for earth orbits). For non-earth orbits just different RAAN angles have to be used.

Failing CircleCI test succeeds on my machine with black==19.3b0.

Oh! I can reproduce this issue. It seems that instead of black==19.3b0 CircleCI is installing black==19.10b0.

Hmm... I upgraded to black==19.10b0 and tox -e check does not raise an error while tox -e reformat modifies those three files.  I think tox only picks up changed files? At least it didn't work now, even with an updated black. In some other python projects I started using https://github.com/pre-commit/pre-commit for PEP8 and formatting checks before commit, maybe that's a good idea to add to poliastro.

Bear in mind that when using tox, you might need to add -r/--recreate for it to update the dependencies, see https://tox.readthedocs.io/en/latest/#system-overview.
This will need another rebase, since some styling changes were already made in #789.
We already discussed about having "mean" elements for the planets so we can use them in calculations (and also my idea of having an EarthOrbit). However, I propose that, if @jorgepiloto and @noc0lour agree, to merge this and then find a better solution for these issues. What do you think?

I'm fine for now, the heliosynchronous currently has the earth parameters (n_sunsync) hardcoded and thus is only useful for the orth, every other parameter is derived from a body argument already.

Let's merge it then, and congratulations @noc0lour for your first contribution! :tada:


Missing dependencies

I clean installed merlin, ocaml, and opam and added the lines suggested to add to my .vimrc file, however there were a couple dependencies missing that weren't installed. Namely:
jsonm
re
cudf
dose
cmdliner
ocamlgraph

any way these could be installed by default?

But Merlin doesn't rely on any of those. You should install these separately.

I guess you opened an OCaml file from project that depend on these.
So Merlin said that it would need the dependencies to be satisfied in order to work properly.

No way, that's awesome! I'll close this then, definitely not a problem with merlin! One question though, do you have any idea why it'd keep saying that I didn't have a module installed, even after I installed it? I was having trouble with dose, and even when I ran opam install dose, it would complain it couldn't load the package

The .merlin file provided by your project might be wrong.
The findlib package name is dose3, not dose.


Building for Windows fails on MacOS and Linux without additional go get

With the latest version of logrus, my cross-platform (Linux to Windows) build has stopped working.
Steps to reproduce:

Write some software which uses logrus.
Compile on MacOS and Linux with go get ./... then go build - works fine.
Try GOOS=windows go build

Fails with cannot find package "github.com/konsorten/go-windows-terminal-sequences".
Steps to workaround:

Run GOOS=windows go get ./... then re-run the build to get Go to include the required Windows packages.

Possible improvements:

Add import _ "github.com/konsorten/go-windows-terminal-sequences" in any file just to bring in the required package. (Doesn't work: build constraints exclude all Go files in /Users/adrian/go/src/github.com/konsorten/go-windows-terminal-sequences)
Vendor the package until Go 1.12 when modules can replace it.

This was changed in https://github.com/sirupsen/logrus/pull/822

Hello @a-h , that is unfortunate that this change broke your build. But I don't think you can expect that a go get ./... can retrieve all needed dependencies for all architectures. I think you workaround is exactly what should be done. What would you like we do to fix that ?

konsorten/go-windows-terminal-sequences#1

@a-h can you try if the build works for you in module mode ?

OK, so to test this, I did the following. Installed Go 1.11 on a Mac and started a new project in a directory under the desktop. I deleted the ~/go/pkg/mod directory to ensure that no modules were cached.
I created a go.mod file:
module github.com/a-h/logtest

require github.com/sirupsen/logrus v1.0.6

Then created a simple "Hello World" main.go:
package main

import "github.com/sirupsen/logrus"

func main() {
	logrus.Println("Hello")
}

Next, I ran GOOS=windows go build and the Go system downloaded required modules:
$ GOOS=windows go build
go: finding github.com/sirupsen/logrus v1.0.6
go: finding golang.org/x/crypto v0.0.0-20180910181607-0e37d006457b
go: finding golang.org/x/sys v0.0.0-20180925112736-b09afc3d579e
go: downloading github.com/sirupsen/logrus v1.0.6
go: downloading golang.org/x/crypto v0.0.0-20180910181607-0e37d006457b
go: downloading golang.org/x/sys v0.0.0-20180925112736-b09afc3d579e

GOOS=windows go build had rebuild the mod file:
module github.com/a-h/logtest

require (
	github.com/sirupsen/logrus v1.0.6
	golang.org/x/crypto v0.0.0-20180910181607-0e37d006457b // indirect
	golang.org/x/sys v0.0.0-20180925112736-b09afc3d579e // indirect
)

I noticed that github.com/konsorten/go-windows-terminal-sequences doesn't appear in the list as an indirect reference though - maybe because it isn't part of version 1.0.6?

@a-h indeed, this dependency was not present in v1.0.6. I've just released v1.1.0, can you try with this one ?

@dgsb yes, that works fine in module mode.
I end up with a go.mod of:
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/konsorten/go-windows-terminal-sequences v0.0.0-20180402223658-b729f2633dfe h1:CHRGQ8V7OlCYtwaKPJi3iA7J+YdNKdo8j7nG5IgDhjs=
github.com/konsorten/go-windows-terminal-sequences v0.0.0-20180402223658-b729f2633dfe/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.1.1 h1:VzGj7lhU7KEB9e9gMpAV/v5XT2NVSvLJhJLCWbnkgXg=
github.com/sirupsen/logrus v1.1.1/go.mod h1:zrgwTnHtNr00buQ1vSptGe8m1f/BbgsPukg8qsT7A+A=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=


Add Homepage component

https://trello.com/b/qRMoDqhz/blåsippe-quiz

https://trello.com/b/qRMoDqhz/bl%C3%A5sippe-quiz


Update cats-effect, cats-effect-laws, ... to 3.3.10

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws
org.typelevel:cats-effect-std
org.typelevel:cats-effect-testkit

from 3.3.7 to 3.3.10.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

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

Superseded by #150.


NME Generate code has error on ColorMergerBlock

Repro

Current result:
...
// ColorMergerBlock
var ColorMerger = new BABYLON.ColorMergerBlock("ColorMerger");
ColorMerger.visibleInInspector = false;
ColorMerger.visibleOnFrame = false;
ColorMerger.target = 4;
ColorMerger.rSwizzle = r};
ColorMerger.gSwizzle = g};
ColorMerger.bSwizzle = b};
ColorMerger.aSwizzle = a};
...

Thanks I will fix it asap!


Interrupts Tests not working with SweRV Core

I have generated interrupts tests using "riscv_full_interrupt_test" test from base_testlist.yaml. I am using rv32imc as target. However, I am unable to run them successfully on SweRV core. On simulating the test, it stucks in an infinite loop. It would be helpful if you answer the following two questions.

Which configuartions need to be modified and added so that generated tests can run with any generic core?
How to configure the memory model (i.e. memory addresses etc) according to the memory model of the core?

Information on configuration and memory map can be found here
Also - we have a bi-weekly workgroup to discuss the tool, please join us tomorrow. Meeting link here

Do you have your own interrupt handling routine which is not generated by riscv-dv?

Do you have your own interrupt handling routine which is not generated by riscv-dv?

I do not have my own interrupt handling routine. Does google riscv-dv not generate this on its own?

Information on configuration and memory map can be found here
Also - we have a bi-weekly workgroup to discuss the tool, please join us tomorrow. Meeting link here

Thanks for the memory map information.
What is the time and corresponding time zone for meeting?

9am PST

Matt

On Thu, May 28, 2020, 8:28 PM Haroon Shafique<EMAIL_ADDRESS>wrote:

Information on configuration and memory map can be found here
https://htmlpreview.github.io/?https://github.com/google/riscv-dv/blob/master/docs/build/singlehtml/index.html#setup-the-memory-map
Also - we have a bi-weekly workgroup to discuss the tool, please join us
tomorrow. Meeting link here https://meet.google.com/soh-ovxy-vez
Thanks for the memory map information.
What is the time and corresponding time zone for meeting?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/riscv-dv/issues/576#issuecomment-635736427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDIIR3QCACIT3RMZYQWBKTRT4TWLANCNFSM4NDZK6BQ
.

Sorry, I thought you are from SweRV team, they are using their own interrupt handling routine instead the one generated by riscv-dv. Can you elaborate a bit more about the infinite loop problem?
You can configure the memory map here:
https://github.com/google/riscv-dv/blob/master/src/riscv_instr_gen_config.sv#L112

9am PST - Matt
…
On Thu, May 28, 2020, 8:28 PM Haroon Shafique @.***> wrote: Information on configuration and memory map can be found here https://htmlpreview.github.io/?https://github.com/google/riscv-dv/blob/master/docs/build/singlehtml/index.html#setup-the-memory-map Also - we have a bi-weekly workgroup to discuss the tool, please join us tomorrow. Meeting link here https://meet.google.com/soh-ovxy-vez Thanks for the memory map information. What is the time and corresponding time zone for meeting? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#576 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDIIR3QCACIT3RMZYQWBKTRT4TWLANCNFSM4NDZK6BQ .

Thanks.

Sorry, I thought you are from SweRV team, they are using their own interrupt handling routine instead the one generated by riscv-dv. Can you elaborate a bit more about the infinite loop problem?
You can configure the memory map here:
https://github.com/google/riscv-dv/blob/master/src/riscv_instr_gen_config.sv#L112

By infinite loop problem I mean that the stimulation never stops. I monitored the mcycle, mcause and mie CSR. Following are the values corresponding to last test generated from google rv-dv:

mcycle keeps on incrementing by 1
mcause has a value of 11 (in decimal format)
bit 3 (software interrupt), 7 (timer interrupt) and 11 (External interrupt) of mie all are 1 at the same time which is odd.

And mcause = 11 corresponds to environment call from Machine mode.
I could not understand which things need to be configured for running interrupts test on SweRV core. It would be very much helpful, if you tell me which configurations need to be modified and added so that generated tests can run with any core.

By default the interrupt handler will just read some privileged CSR(mstatus, mcause etc) and resume execution. mcause = 11 indicates the program has reached the end point. TB could terminate the test when mcause = 11 is detected. How do you terminate your RTL simulation for normal test?

hi,
You need :

configure PIC - interrupt controller in SweRV core; (See Swerv PRM how to do this)
drive interrupt requests someway;
write interrupt handler such that the interrupt source dis-asserts interrupts before the CPU exits interrupt handler and place the handler at external interrupt vector address, enable interrupts. in mstatus register

Thanks for Alex for the reply. Closing this issue for now, please reopen it if you have any more questions.


Support select one or_other when we have a choice_filter

We've decided not to do this because we want to discourage or_other and because users have no way of specifying a filter for other (probably generally what they want but still not great). https://github.com/XLSForm/pyxform/pull/687


Change out the "irc ettiquete" link

It's causing problems because there's a link to the #archiveteam webchat, which is causing people who don't know what they're doing to think that that's #youtubearchive.
https://hackint.logs.kiska.pw/archiveteam/20230129#c337004

Pretty simple fix such as making a #youtubearchive a hyperlink that directs you to:
https://webirc.hackint.org/#irc://irc.hackint.org/youtubearchive

IIRC #youtubearchive asked me not to do that.

No longer relevant - IRC is not directly mentioned on the site anymore.


added Conversica

Adds or updates the following companies, events, or universities:

Checklist
Company updates

[x] I have put the most recent relevant date in the "Last Update" column
[ ] I have linked to the article about the change, not the company's homepage (Please put N/A if there is no public post)

Event updates

[ ] I have linked to the article about the change, not the event's homepage

University updates

[ ] I have linked to the article about the change, not the university's homepage

Closing due to rebase and staleness. Feel free to re-open after fixes, thanks for your patience.


Sector grouping

Description
Sector grouping would allow the user to define a collection of brushes as a sector using the existing brush grouping feature with just an Is Sector toggle. When this toggle is set to true, SabreCSG will create a sub-group under MeshGroup for just that group, separating the meshes from the main MeshGroup.
For example:
MeshGroup
    | Sector 1
        > Material Mesh
        > Material Mesh
    | Sector 2
        > etc...

Generated sub groups could take the name of the brush group they were generated from, to help keep things organized.
Use cases

Using enlighten for lightmapping requires that meshes be a smaller size to reduce bake time/artefacts, and final map size.
Better camera culling (non-baked). Self explanatory, but this would allow the camera to more aggressively cull level geometry that isn't visible to the player.
Custom culling implementations. Sectors could also be used at runtime to disable entire groups of geometry not visible to the player.

Caveats

Increased draw calls overall. In some cases, this is more desirable though. The end user would be in total control of this, as they'd be grouping only specific brushes to utilize this feature.

I'll add more in this section if I think of anything.

I fall into the first use case (lightmaps on a large map).  Juggling many CSG objects by hand can get a bit clunky, so anything that can help automate that would be very handy!

I've always wanted to implement a zoning feature - being able to define cuboids (or any arbitrary 3D shape) and have SabreCSG automatically split mesh groups based on zones. That way you can mark up in the world where you want your splits to be.


fix(typescript_indexer): add signature component for JSX attributes

cc @evmar

As always, tests please :)

As always, tests please :)

Oops! Sorry. Fixed.


TypeError: Cannot set property 'productionTip' of undefined

When Work with @vue/test-utils with vue 3.0 its return error when run test
` RUNTIME EXCEPTION  Exception occurred while loading your tests
TypeError: Cannot set property 'productionTip' of undefined
at Object. (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:20:24023)
at Object. (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:20:25006)
at n (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:110)
at Module. (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:20:239428)
at n (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:110)
at /var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:8878
at Array.forEach ()
at Object. (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:8857)
at Object. (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:8888)
at n (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:110)
at /var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:953
at Object. (/var/www/html/vue-tdd/.tmp/mochapack/1630481243271/main.js:1:962)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.module_1.default._extensions. [as .js] (/var/www/html/vue-tdd/node_modules/mochapack/src/util/registerRequireHook.ts:106:12)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)`

Is there any update regarding this issue? I'm facing this problem while upgrading vue 2 app to vue 3

config.productionTip Removed in vue 3
#
In Vue 3.x, the "use production build" tip will only show up when using the "dev + full build" (the build that includes the runtime compiler and has warnings).
For ES modules builds, since they are used with bundlers, and in most cases a CLI or boilerplate would have configured the production env properly, this tip will no longer show up.
Migration build flag: CONFIG_PRODUCTION_TIP
Read Further https://v3-migration.vuejs.org/breaking-changes/global-api.html#config-productiontip-removed

@misyaath your answers resolves the issue, right?

Also this is not the repository for vue 3. You need to go https://github.com/vuejs/test-utils


Forcing device detections

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
How do I force battery/device detection. I have a long established environment with 200+ devices, but B+ doesn't seem to detect any of them. I have battery_notes: in my configuration.yaml with detection set to on.
Describe the solution you'd like
B+ provides a way to "detect now"
Describe alternatives you've considered
manually adding a LOT of devices - yuck
Additional context
love the integration just doesn't seem to find as many (any) devices as expected.

Hi,
Device detection happens at HA Restart, it also happens approx every 24 hours after a restart, the library is also updated at this point.
I don't want to introduce a manual re-detect to avoid excessive download of the library from GitHub (someone will set it to re-discover every minute I'm sure!)

@andrew-codechimp  just realized.. does it matter if the devices are actually coming over to HA from Smart Things integration?

Smart things devices will be supported, it just depends on whether people have added them to the library.
Different integrations present the manufacturer/model differently, for example Ikea devices are duplicated which is probably ZHA and Zigbee2MQTT.  If your devices are in this doc but with slightly different info then it won't match.
You can add it to the library to help others and also allow discovery where you have multiples as long as you wait until the library is updated.

Therein lies the rub, my HA device inventory shows  for Manufacturer and Model in HA, but shows some other details in S/T (attached)

I think I added the 1117-S a while back. I have 8 of these in S/T that didn't get picked up in B+.
I may eventually move my S/T devices to HA, but for now, they pass thru.

Looking at that second screenshot from HA all your devices have unknown in the manufacturer and model fields, which means the Smart Things integration is not passing through these when it creates the HA device.
These data elements are what makes Battery Notes device detection work, without them being populated it can't determine the device.
Not sure if that's Smart Things in general or the integration but I'm afraid you'll never get device detection working with those.

Thanks @andrew-codechimp. That was my fear. Not sure why ST / HA wouldn't do the pass thru, but even if it did, it looks like some of the Edge drivers that you have to add to ST for devices now, provide an odd value "SmartThingsCommunity". This stuff is all so fun

Thanks, well I hope you find it useful for your non Smart Things devices.
I've never tried ST but this sort of experience will ensure I steer clear of it.


How to implement/use workflowStatusListner

I'm using Netflix Conductor over Rest API. I'm able to create a workflow and run it but I would like to know how to use the WorkflowStatusListener feature.
While registering workflow definition I set workflowStatusListenerEnabled = true. Not sure how to use conductor.additional.modules for conductor-server-all-3.0.0.jar
Please note that I am using a conductor-server-all-3.0.0.jar to up the conductor.

@snoopakon The documentation might be a little outdated w.r.t the current release version of Conductor. We are working on an updated version currently.
For implementing your own WorkflowStatusListener, you can follow one of these implementations as references. You can choose to enable either of these for your use-case using configuration or you can implement your own listener and add it to the classpath.
PS: Please do not create issues for questions. Use the discussion forum instead!


fix(core): fallback to null for an non-existing member on model change.

fix #805

This change is

Codecov Report

Merging #812 into master will increase coverage by 0.08%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #812      +/-   ##
=========================================
+ Coverage   91.81%   91.9%   +0.08%
=========================================
  Files          22      22
  Lines         904     914      +10
  Branches      249     252       +3
=========================================
+ Hits          830     840      +10
  Misses         74      74

Impacted Files
Coverage Δ

src/core/src/components/formly.form.ts
97.52% <100%> (+0.22%)
: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 495eb9b...93c0ae6. Read the comment docs.


Better user feedback for migration window

Describe the problem
Right now after performing any kind of upgrade the progress bar just disappears and the user won't have any information if the upgrade succeeded and which files got upgraded. (there is some message in the log, but not all users will have that open all the time)
Describe the solution you'd like
Proposed changes:

Let user know that upgrade process is finished by showing a message (popup or notification) after the progress bar is finished.

Keep the list of items that were added for upgrading in the UI and show a green tick or a red X to indicate if the asset has been upgraded. Green tick ones can have a tooltip like: Asset has been upgraded sucessfully  - where red ones can show a truncated version of the error and on double click lead the user to the actual log message that gives the full information.

(Should we warn the user before starting upgrading process that this is a non - revertible process?  -> once migration is performed the files can't be changed back (except by their own version control, but that's out of our hands)

Describe alternatives you've considered
Open for any other suggestions on how we can improve user feedback for this :)

Closed as issue solved by #7735


Expose default values in HamiltonNode

Is your feature request related to a problem? Please describe.
We have optional_dependencies but its just a set. We don't expose it.
Describe the solution you'd like
We should have a default_values field or something like that. Dict[str, Any].
Describe alternatives you've considered
People can inspect the function -- see https://github.com/DAGWorks-Inc/hamilton/blob/main/hamilton/plugins/h_experiments/hook.py for instance.
Additional context
Feature request from OS. This is tricky as we don't capture it, but should be possible with a bit of rewiring.

relates to #495


User Management | User phone number not saving when adding a new user |2|

https://trello.com/c/vgjL5nhw/1289-user-management-user-phone-number-not-saving-when-adding-a-new-user-2
Issue:
The phone number isn't saving when you add a new user. It only seems to save if you enter it in this format:<PHONE_NUMBER>. Other formats (e.g.<PHONE_NUMBER>) do not save, and no error message is given.

Issue can be reproduced by logging in as IDIR user, go to fuel suppliers tab, select fuel supplier, then click new user; enter phone numbers in non-approved format and click save.

Solution:
Allow free form text to be entered into the work and mobile phone fields when adding a new user. In other words, allow anything to be inputted into those forms (no validation).
Note: The related story below fixed this issue for editing a user.

 User Management | User phone number not saving when adding a new user |2|


helloworld

Challenge Say Hello to HTML Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

Hello World

@Jessamarie18 hi there! Thanks for the issue, but GitHub issues are only for reporting bugs on the site. Your code passes the challenge, so congrats! If this is an actual bug on the site, please comment back with clarification. Otherwise, please take a look at our full list of official chatrooms for other places to share your coding success. If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!


Where are these XML files you're talking about?

Please clarify where to find these XMLs that we are asked to modify.
I am working with a Node.js web app deployed to App Service. How does this doc help for that? Am I looking at the wrong doc, since I don't have any XMLs in the web project yet?

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

ID: e5b41854-0c14-1320-ccfb-95a7acfbbebd
Version Independent ID: c203767e-3e7d-8c37-e70a-cd1d51cbc4e2
Content: Add Google+ as an OAuth2 identity provider using custom policies in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/active-directory-b2c-custom-setup-goog-idp.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

Thanks for the feedback! We are looking into this and will get back to you shortly.

@xocolatl-aficionadoas As mentioned in the document you have to complete Prerequisites steps  to add Google+ as an identity provider using custom policies. The link in Prerequisite section contains the sample custom policy files like base, extension policies.  Here is the link to the document for your reference - Azure Active Directory B2C: Get started with custom policies

Oh, thank you! Sorry for not noticing that. Been through too many docs today :)


Make single alien-macroinvertebrates repo

Current situation
.. for publishing the alien-macroinvertebrates data.

Raw occ data are stored in NBN DB
Occ data are mapped to Darwin Core in SQL and published on IPT
Published dataset is described in this article: http://www.aquaticinvasions.net/2016/AI_2016_Boets_etal.pdf
Article has species list as Excel as supplementary material
We planned to use that Excel to create a DwC checklist for TrIAS and publish on IPT
A copy of the occurrence data is also hosted on CartoDB, for the website http://inbo.github.io/alien-macroinvertebrates (for which the code is in this repository)

A bit complex and not very reproducible sciency 😄
Proposal
We have a single repository, with:

Raw occurrence data as CSV file (is static anyway)
Script to generate DwC occurrence dataset from that file -> published on IPT
Script to generate (TrIAS) DwC checklist from that file -> published on IPT
Code for the website http://inbo.github.io/alien-macroinvertebrates + CartoDB syncs with occ file (rather than keeping a copy)

That would combine the following:

Repository for the website (this one)
Repository we planned to create for checklist
Directory where we keep info on the occ dataset (is a README only)

I would host this new repository under https://github.com/trias-project, but that we have to ensure that http://inbo.github.io/alien-macroinvertebrates keeps working. I'll try to figure out how we can do that.

Repository created, other ones removed. Link still works: http://inbo.github.io/alien-macroinvertebrates


[Regression][iOS] Janky animation while opening keyboard

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
This is a popular issue https://github.com/flutter/flutter/issues/120555 that was fixed with hard work via https://github.com/flutter/engine/pull/43463
After upgrading to (Channel master, 3.17.0-11.0.pre.9) I noticed that we have a regression as shown on attached video here
https://github.com/flutter/engine/pull/43463#issuecomment-1817549928
Tested on iphone 13 pro, ios 16.x
If doable, it would be much appreciated if this fix could be worked asap, as well as the android version of it, which seems to be caused by same root problem https://github.com/flutter/flutter/issues/116836
As mentioned, this UI layout is pervasive and seeing a stuttering / unsynchronised keyboard animation makes apps look cheap.
Expected results
Keyboard animation should be smooth
Actual results
Keyboard animation is janky
Code sample
This is a regression, so code is already available here https://github.com/flutter/engine/pull/43463
Screenshots or Video
https://github.com/flutter/engine/pull/43463#issuecomment-1817549928
Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.17.0-11.0.pre.9, on macOS 12.6.5 21G531 darwin-arm64, locale en-IT)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] Connected device (3 available)
[✓] Network resources

Are you on iOS16.7?

Im on 16.3.1. Is issue reproducible on your device / OS version?

I used sample code at https://github.com/flutter/flutter/issues/116836#issuecomment-1346159530 and can see the issue on iPhone 14 Pro, iOS 16.4 (emulator), iPhone 7, iOS 15.7.9. The issue is more clear if we notice keyboard flashes at the bottom of screen when closing.
The issue happens on master channel. On stable channel, it seems to happen as well but not very clear as on master. I wonder which Flutter version the issue didn't happen?

Demo (iPhone 7, iOS 15.7.9)

master
stable

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (8 hours ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.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 17.0.6+0-17.0.6b829.9-10027231)

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.17.0-14.0.pre.13, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.17.0-14.0.pre.13 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf09a8a24f (4 hours ago), 2023-11-21 15:16:08 -0800
    • Engine revision 7cf9d90d59
    • Dart version 3.3.0 (build 3.3.0-152.0.dev)
    • DevTools version 2.30.0-dev.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.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 17.0.6+0-17.0.6b829.9-10027231)

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 119.0.6045.159
    ! Error: iPhone has recently restarted. Xcode will continue when iPhone is unlocked. (code -14)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Hello @huycozy, can I suggest to also try this sample code for testing? https://github.com/delfme/flutter-native-text-input-repo
Looking at a real bottom text bar UI, gives a better idea of the issue.
Basically, until we fix this regression and https://github.com/flutter/flutter/issues/116836, in Flutter whatever messaging screen (chat, social media, etc) looks cheap, in the sense that React Native (and even Ionic) looks native in comparison.
In regards of your wondering, I dont remember which flutter version I was using at that time, but when https://github.com/flutter/engine/pull/43463 was merged, I tested it throughly on my iphone pro 13 / iOS 16.3.1 + flutter latest master version at that time, and animation was smooth.
To recap the issue cross platform:

on iOS, it seems to be setViewportMetrics called before vsync process callback.
on Android, as per @xu-baolin initial discovery, it seems that native view and the flutter view cannot render the frame at the same vsync.

Thanks for providing a sample code.
I checked it on the latest stable and master channel. The issue doesn't happen every time but it requires triggering the keyboard to open and close many times. When it happens, the AnimatedContainer (the layout above keyboard) will shake a bit. The strange thing is that when the issue occurs there is no jank from Devtools's Performance page
Do you also notice the same behavior? (I need to confirm this because I'm not sure if we see the same thing. It would be appreciated if you could also provide a good case when the issue didn't happen).

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (8 hours ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.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 17.0.6+0-17.0.6b829.9-10027231)

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 119.0.6045.123

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.17.0-15.0.pre.13, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.17.0-15.0.pre.13 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 106667eb4b (5 hours ago), 2023-11-22 22:15:57 +0000
    • Engine revision f331e0afaf
    • Dart version 3.3.0 (build 3.3.0-152.0.dev)
    • DevTools version 2.30.0-dev.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

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

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.8+0-17.0.8b1000.22-10799086)

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe Patch 3.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 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.9 19H365
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

@huycozy my bad, I forgot I was testing AnimatedContainer as a potential workaround for another issue.
Can you please test the sample again?
https://github.com/flutter/flutter/assets/53510751/4ffb6a92-19f9-40f1-9aa8-9a322e79d608
In my case I see:

a delay that doesn't match the native look&feel, in the sense that the Container is animated a bit too after the keyboard animation begins and the keyboard hide it for a while. This is maybe inevitable in a cross platform scenario, but I'm wondering if it could be improved.
a little shake occurs from time to time. This is ofc the real issue, but it seems that with this basic sample it occurs way more sporadically and it is barely noticeable. @luckysmg might it be that an heavy scene can impact the smoothness of the animation? Coz in our real case scenario, we have a chat messageList with texts and images and they move along with the bottom inset.

I rechecked your updated example, but the problem isn't really clear. Perhaps there is only one obvious problem: the first time the keyboard trigger is opened, the Container will be delayed and display slowly after a while (as you mentioned in the first point?). Then it looks fine afterward. (I checked this on both Flutter stable and master channel)

Demo (iPhone 7, iOS 15.7.9 - profile mode)
https://github.com/flutter/flutter/assets/104349824/81533a10-15da-4fab-92f5-45c226f87f87

a little shake occurs from time to time.

I don't experience this. It's quite hard to see in your recorded video, and I didn't notice it on my device either. This is to determine whether the issue occurs on a specific iOS version or device.
It would be appreciated if there is a way to make this more clear.

Yea will check again point 2, coz we have the shake inside our app but not here in this sample code. One idea might be that shake could be due to rebuilds. I recall there was an issue of multiple rebuilds when opening keyboard, caused by MediaQuery, maybe we are hit by some rebuilds that make animation shake. Will investigate this and revert.

I rechecked your updated example, but the problem isn't really clear. Perhaps there is only one obvious problem: the first time the keyboard trigger is opened, the Container will be delayed and display slowly after a while (as you mentioned in the first point?). Then it looks fine afterward. (I checked this on both Flutter stable and master channel)
Demo (iPhone 7, iOS 15.7.9 - profile mode)
RPReplay_Final1700799120.mp4

a little shake occurs from time to time.

I don't experience this. It's quite hard to see in your recorded video, and I didn't notice it on my device either. This is to determine whether the issue occurs on a specific iOS version or device.
It would be appreciated if there is a way to make this more clear.

@huycozy we were unaware of the huge delay you have shown in your video sample, which is ofc super severe bug :) I mean in that video the textfiled is hidden by keyboard for almost 4 sec! @luckysmg does it mean we must tailor the fix accordingly to the iphone model or set of models?

I checked again point 2.
It is not due to rebuilds, but to platform view. We use a native textfield inside our app.
Adding it to sample code, so you guys can test it. Now we have two textfield (one is flutter and one is native). If the native one is used, or whatever platform view element is placed over the scene, then the View will shake during the keyboard animation.
https://github.com/delfme/flutter-native-text-input-repo/blob/main/lib/demo_screen.dart
https://github.com/flutter/engine/pull/43463 was working also when a platform view were on the scene. Maybe since then something has changed about platform-view or Impeller.
Shake issue:
https://github.com/flutter/flutter/assets/53510751/99706dc4-7c39-4c3a-b981-93d50956cb97
https://github.com/flutter/flutter/assets/53510751/4e7dbc75-114d-4ee9-bd7d-c7a0cfb7bb97
Timeline
https://drive.google.com/file/d/1kv0m_hApz8Ty8n2Vs-Zc3O2l2UWxaxgi/view?usp=sharing

Note: this fix is important not only for those who are using a native textfield inside some specific screens( where the native look&feel is necessary), but also for those who are using flutter textfield, coz the shake issue will occur even with flutter textfield if a platform view is placed on the scene.

Note: Issue is reproducible with both Impeller and Skia.

It seems that styling the native textfield is what causes the shake issue. It shouldn't be so, coz styling commands are run when View is initialized, but in any event this is something we can workaround.
Can someone investigate issue point 1? The animation delay doesn't depend on platform view and is pretty bad on older iphone models, see video from this comment https://github.com/flutter/flutter/issues/138845#issuecomment-1825131443

@huycozy should we change title to "TextField animation out of sync on older iphone models?"

It is not due to rebuilds, but to platform view. We use a native textfield inside our app.

It seems that styling the native textfield is what causes the shake issue. It shouldn't be so, coz styling commands are run when View is initialized, but in any event this is something we can workaround.

I think you should specify which attribute causes the issue. This reminds me to an old issue at https://github.com/flutter/flutter/issues/120434. We should determine this is a package or framework issue.

we were unaware of the huge delay you have shown in your video sample, which is ofc super severe bug :) I mean in that video the textfiled is hidden by keyboard for almost 4 sec!

I think it's another issue. You can decide if it should be another issue and file one; or keep it as the main issue here. Issues should be segregated for better tracking and investigation (I think you know this well :) )

Yes, added it here https://github.com/flutter/flutter/issues/139054