flutter firbase connection issu

../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:7:8: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'

add firebase_core plugin to pubspec.yaml and then try this
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
 WidgetsFlutterBinding.ensureInitialized();
 runApp(new MyApp());
}

add firebase_core plugin to pubspec.yaml and then try this
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
 WidgetsFlutterBinding.ensureInitialized();
 runApp(new MyApp());
}

../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:7:8: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'

add firebase_core plugin to pubspec.yaml and then try this
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
 WidgetsFlutterBinding.ensureInitialized();
 runApp(new MyApp());
}

../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:7:8: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'

add firebase_core plugin to pubspec.yaml and then try this
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
 WidgetsFlutterBinding.ensureInitialized();
 runApp(new MyApp());
}

@SachinAnandSaini
the issue seems to be cause by firebase, which is a 3rd party plugin
please open an issue in the dedicated github

@SachinAnandSaini
the issue seems to be cause by firebase, which is a 3rd party plugin
please open an issue in the dedicated github

@Harmanjit14
i am using these dependency in my  pubspec.yaml  but issue is same
firebase_auth: ^0.18.4+1
firebase_database: ^4.4.0
firebase_core: ^0.5.3

@Harmanjit14
i am using these dependency in my  pubspec.yaml  but issue is same
firebase_auth: ^0.18.4+1
firebase_database: ^4.4.0
firebase_core: ^0.5.3

Launching lib\main.dart on SM G610F in debug mode...
Running Gradle task 'assembleDebug'...
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:7:8: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:12:1: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
export 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:11:3: Error: Type 'FirebaseAppPlatform' not found.
FirebaseAppPlatform _delegate;
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:46:15: Error: Type 'FirebaseOptions' not found.
@required FirebaseOptions options,
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:67:3: Error: Type 'FirebaseOptions' not found.
FirebaseOptions get options => _delegate.options;
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:16:10: Error: Type 'FirebasePlatform' not found.
static FirebasePlatform delegatePackingProperty;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:18:10: Error: Type 'FirebasePlatform' not found.
static FirebasePlatform get _delegate {
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:41:21: Error: Type 'FirebaseOptions' not found.
{String name, FirebaseOptions options}) async {
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:11:3: Error: 'FirebaseAppPlatform' isn't a type.
FirebaseAppPlatform _delegate;
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:19:5: Error: The getter 'FirebaseAppPlatform' isn't defined for the class 'FirebaseApp'.

'FirebaseApp' is from 'package:firebase_core/firebase_core.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'FirebaseAppPlatform'.
FirebaseAppPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:46:15: Error: 'FirebaseOptions' isn't a type.
@required FirebaseOptions options,
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:60:12: Error: Getter not found: 'defaultFirebaseAppName'.
return defaultFirebaseAppName;
^^^^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:16:10: Error: 'FirebasePlatform' isn't a type.
static FirebasePlatform delegatePackingProperty;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:20:33: Error: Getter not found: 'FirebasePlatform'.
delegatePackingProperty = FirebasePlatform.instance;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:41:21: Error: 'FirebaseOptions' isn't a type.
{String name, FirebaseOptions options}) async {
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:42:5: Error: 'FirebaseAppPlatform' isn't a type.
FirebaseAppPlatform app =
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:51:41: Error: Getter not found: 'defaultFirebaseAppName'.
static FirebaseApp app([String name = defaultFirebaseAppName]) {
^^^^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:52:5: Error: 'FirebaseAppPlatform' isn't a type.
FirebaseAppPlatform app = _delegate.app(name);
^^^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

Where:
Script 'B:\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'B:\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 8m 14s
Exception: Gradle task assembleDebug failed with exit code 1

Launching lib\main.dart on SM G610F in debug mode...
Running Gradle task 'assembleDebug'...
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:7:8: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart:12:1: Error: Error when reading '../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-2.1.0/lib/firebase_core_platform_interface.dart': The system cannot find the path specified.
export 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart'
^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:11:3: Error: Type 'FirebaseAppPlatform' not found.
FirebaseAppPlatform _delegate;
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:46:15: Error: Type 'FirebaseOptions' not found.
@required FirebaseOptions options,
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:67:3: Error: Type 'FirebaseOptions' not found.
FirebaseOptions get options => _delegate.options;
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:16:10: Error: Type 'FirebasePlatform' not found.
static FirebasePlatform delegatePackingProperty;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:18:10: Error: Type 'FirebasePlatform' not found.
static FirebasePlatform get _delegate {
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:41:21: Error: Type 'FirebaseOptions' not found.
{String name, FirebaseOptions options}) async {
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:11:3: Error: 'FirebaseAppPlatform' isn't a type.
FirebaseAppPlatform _delegate;
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:19:5: Error: The getter 'FirebaseAppPlatform' isn't defined for the class 'FirebaseApp'.

'FirebaseApp' is from 'package:firebase_core/firebase_core.dart' ('../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/firebase_core.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'FirebaseAppPlatform'.
FirebaseAppPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:46:15: Error: 'FirebaseOptions' isn't a type.
@required FirebaseOptions options,
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase_app.dart:60:12: Error: Getter not found: 'defaultFirebaseAppName'.
return defaultFirebaseAppName;
^^^^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:16:10: Error: 'FirebasePlatform' isn't a type.
static FirebasePlatform delegatePackingProperty;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:20:33: Error: Getter not found: 'FirebasePlatform'.
delegatePackingProperty = FirebasePlatform.instance;
^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:41:21: Error: 'FirebaseOptions' isn't a type.
{String name, FirebaseOptions options}) async {
^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:42:5: Error: 'FirebaseAppPlatform' isn't a type.
FirebaseAppPlatform app =
^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:51:41: Error: Getter not found: 'defaultFirebaseAppName'.
static FirebaseApp app([String name = defaultFirebaseAppName]) {
^^^^^^^^^^^^^^^^^^^^^^
../../flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/lib/src/firebase.dart:52:5: Error: 'FirebaseAppPlatform' isn't a type.
FirebaseAppPlatform app = _delegate.app(name);
^^^^^^^^^^^^^^^^^^^

FAILURE: Build failed with an exception.

Where:
Script 'B:\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'B:\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 8m 14s
Exception: Gradle task assembleDebug failed with exit code 1

Hi @SachinAnandSaini
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you

Hi @SachinAnandSaini
From what I can see, the issue is related to a 3rd party plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


Vertical threading view needs lines between replies

It's weird that you only see lines connecting replies if there's a fork in the convo. I suspect we need lines connecting consecutive replies too. Also, the root should be aligned with its replies, whereas currently they are indented, which confuses the model.

par example:

the linear replies just look a bit lost and broken without any lines connecting them here - almost like a rendering bug.


Add cases where RETRY_ASYNC_WRITE_FAILURE happens

Fixes DOC-9323

@arulajmani I omitted the part about maybe turning off pipelined writes since that cluster setting doesn't seem to be public AFAICT from looking at https://www.cockroachlabs.com/docs/dev/cluster-settings

hi @arulajmani !
mind taking a look at these docs changes? I think the language is pretty close but happy to update as needed


build(node): bump node to 16.13.2, optimize NextJS builds

Proposed Changes

Bump Node to 16.13.2 (lts)
Utilize output file tracing for smaller images
Add swcMinify: true for improved build speeds
All in all, shaves off about a minute or two from the build times ⚡

Types of Changes

[ ] New feature
[ ] Bug fix
[ ] Enhancement/optimization
[ ] Refactor
[ ] Style
[x] Build/dependencies
[ ] Other

Issue(s) fixed or closed by this PR

Checklist

[ ] I have added tests to cover my changes (for features/bugs)
[x] I am pleased with the readability of the code (if not, state where you need input)
[x] I have tested the changes and verified that they work and do not break anything (to the best of my ability)

https://github.com/vercel/next.js/discussions/30237
Leaving this here in case we want to share any feedback when switching to next.js compiler for minification


RC 0.10 3X Slower than 0.9 and Error Compiling From Source Under Certain Conditions

This issue is a follow-up to this posting on stack overflow. As noted, the 0.10 version is ~3x slower than version 0.9 for a particular training script I am using. The same slow-down is observed when using the pip version with CuDNN4 or with a version compiled from source and CuDNN 5.1.
I'm not sure what information about the training script would help. It is a fairly complex script that is training a network for object detection using methods similar to YOLO and SSD. It won't be possible to post the entire set of code, but if there is a way to isolate the source of the delay I may be able to modify it and post that portion.
While trying to get insight into the source of the slow-down I also noted that I wasn't able to compile from source using CuDNN4 as noted in the SO posting. This is a secondary issue, but may also warrant investigation.

Could you produce a timeline and share that?
I think this might be the current best how-to on how to produce timelines :) if anyone knows of a better one please share that:
https://github.com/tensorflow/tensorflow/issues/1824#issuecomment-225754659
I think that it's going to be hard to help without seeing your code. Would you be able to post your graph protobuf?

@rryan I've attached the timelines named appropriately. Each was generated with the identical code running under either tf0.9 or tf0.10rc. The elapsed times for 100 training steps were 4:20 and 14:36, respectively.
timelines.tar.gz
For some reason, the timing routine gave repeated error messages when running under 0.9 but not for 0.10. The 0.9 message was:

W tensorflow/core/common_runtime/gpu/gpu_tracer.cc:513] Unhandled API Callback for 2 41

I've not used the timing functionality before. Let me know if I've done something incorrectly.
Also, what's the best way to generate a graph protobuf?
Thanks

@rryan: Not sure if it matters but I've attached two other timelines taken in loops in which summary operations are not being performed
timelines2.tar.gz

@rob-rowe -- thanks! The easiest way to get a graph proto is probably to insert some code into your training script to write the graph to a file.
Once you're done building your graph, right where you would start your session (maybe with a supervisor, etc.) -- you could do this:
# If you don't already have a handle to your graph:
g = tf.get_default_graph()

with open('/tmp/graph.pbtxt', 'w') as f:
  f.write(str(g.as_graph_def()))

One thing that sticks out from the traces are these Sum ops associated with your batch norms:

net_cnn/conv1/cbn/moments/moments/mean_ss
net_cnn/conv1/cbn/moments/moments/var_ss
net_cnn/conv2/cbn/moments/moments/mean_ss
net_cnn/conv2/cbn/moments/moments/var_ss

They take a handful of millis in 0.9 but up to 700ms in 0.10. I would potentially chalk that up to a tracing noise (e.g. your Sum ops could waiting on some dependency that isn't ready yet -- hard to know w/o seeing the graph) but in your second trace it looks like every Sum op is taking much longer than normal.
@prb12 I'm not super used to interpreting Chrome tracing timelines -- any gotchas to be aware of when interpreting this?
@rmlarsen Are you aware of any change to Eigen between 0.9 and 0.10 that could cause Sum (@rob-rowe -- is this float32? float16?) to do this with a Tesla K40c (mentioned in the Stack Overflow post)?

@rryan --
graph proto attached.
graph.pbtxt.tar.gz
The batch norm variables you mention are all default data types (float32)

@rryan Nop - these traces make it pretty clear that there is a perf regression in the Sum reduction kernel on GPU.  I think it would be useful to compare what CUDA launch parameters are being used for the reduction.  The quickest way to do that is to run the program under nvprof as follows:
nvprof --print-gpu-trace program args....
or
nvprof -o /tmp/nvprof.out program args...  to produce a trace which can be loaded into nvvp
I think that the Eigen FullReductionKernel was probably changed btw 0.9 and 0.10.

@bsteiner may know more about this.

@rryan, @prb12  -- I've attached nvprof.out files for each of the two cases. I ran the profiling for just 5 batches to keep the files from getting too large but they're still too big to upload here. Please let me know if this link doesn't work

Unfortunately both those files seem to be corrupted - it looks like the process didn't exit cleanly.  Did you Ctrl-C ?  (I think that to get a clean nvprof trace you need to exit gracefully)

Odd, I did let the process end on it's own. I used your nvprof - o method and waited until the cursor returned, which was a multisecond delay after the training finished which I assume was file IO. The raw files here seem to be able to be consumed by nvprof -i I think (see attached). Perhaps compression failed? I uploaded the files uncompressed to google drive at this link. Please let me know if this doesn't work and if so perhaps an alternative method. Thanks
nvprof_out_tf9.txt
nvprof_out_tf10.txt

I've also just rerun both cases and confirmed they seem to be ending cleanly:

==28091==Generated result file: /tmp/nvprof_tf0.10.0rc0_v2.out

Both of these 'v2' files are in the same google drive folder as previous

Sorry -- the tf0.10.0rc0_v2 file is wrong (I didn't switch TF versions) I'll re-upload momentarily

nvprof_tf0.10.0rc0_v2.out is now correct

Just chiming in to say that I also experience heavy slowdowns using TF 0.10 RC0. In My case, the slowdown is even more severe: ~10x when using a ResNet-like architecture, on Python 3.5 using cuDNN 4 and CUDA 7.5.

Same here. 10X slowdown

I can confirm that the SumOp kernel is much slower in 0.10.0 than it used to be in 0.9.0 on an Nvidia Titan X.

@rob-rowe Thanks for the nvprof output - it looks like there are two common shapes of Sum reduction ops in your trace and one of them is being evaluated very differently by Eigen in 0.10 resulting in much less GPU parallelism and about a 60x slowdown!  (3.3ms -> 178ms)
It would help us to make a quick repro if we knew the shapes of the operands to these ops...
Do you happen to have this information to hand?  If not, we could either get if from the GraphDef or the StepStats proto.
You can save a graphdef with shape annotations using code like this:
tf.train.write_graph(g.as_graph_def(add_shapes=True),  '/tmp', 'graphdef.pbtxt')
(Since you have timelines, you already have the code to capture the stepstats proto - this can be written to a .pbtxt file.  It contains the runtime shapes of all of the Tensors.)

@prb12 the graphdef with shape annotations is attached
graph_with_shapes.pbtxt.tar.gz

@prb12 here is the runtime metadata jic that is helpful
metadata.pbtxt.tar.gz

I think I found the source of the problem. A fix is on the way. I'll update this thread once the fix is merged.

@rob-rowe Thanks for the diagnostics.
For future reference, it looks like the first example of the slow Sum is this one:
node {
  name: "net_cnn/conv1/cbn/moments/moments/mean_ss"
  op: "Sum"
  input: "net_cnn/conv1/Conv2D"
  input: "net_cnn/conv1/cbn/moments/moments/mean_ss/reduction_indices"

Where reduction indices are [0,1,2] and the first input has shape [100, 127, 127, 30]

@prb12 A convolutional batch norm factor in the first layer --- yeah, I can see why that would cause a major slow down if the op is slow! I'm looking forward to the fix. Thanks

@benoitsteiner any updates on this?

I have just started one last round of testing. If everything comes back clean this time I'll be able to submit the fix first tomorrow morning.

The performance regression should have been fixed by https://github.com/tensorflow/tensorflow/commit/0e12a0b0dbcf17da880402bc01d8511aa4568cda. Please reopen if you still find that RC 0.10 is slower than 0.9 on your GPU.

@benoitsteiner  is the fix be picked into branch r0.10?

https://github.com/tensorflow/tensorflow/blob/r0.10/tensorflow/core/kernels/cwise_ops.h the fix doesn't seem to be in 0.10 branch.

It should be now.


attached meta to geographic table feature

there should be a model for attached meta on a table's feature
attached_meta model:
{
  "name": "string",
  "value": "string",
  "table": "table_id",
  "table_column": "table column to identify feature key by",
  "feature_val": "table feature val to identify by"
}

value is supposed to work as url for file download or regular text.
better approach to find the feature is welcome (table_column:feature_val doesnt seem the best approach)
cc @vgeorge

if the geographic table has a default and cross-table column for id, there will be no need to use table_column column on the attached meta

All features belonging to a layer have an objectId, so they can be uniquely identified.
Also, Sequelize has support to BLOB fields, so media can be stored in the database.

the media itself? isn't that too much for database storage?

As discussed, the best strategy seems to have separated tables for additional feature metas, which will be joined to geo-tables in a SQL statement passed to Windshaft to generate tiles and utf grid layers.


ES5 support

+1

+1

We're working on it... :-)

v0.9-8 has support for much of ES5, especially getters and setters

Shall we update the issue to say "ES6"? Otherwise, could you point somewhere with some brief TL;DR on how to use babel with TAJS? :)


Do not log by default

Hi @Goddchen,
I use flutter_native_logs for logging in dev environment so that testers can quickly provide full application logs.
I don't use logging in prod environment so as not to load the cpu:
    if (isLogEnabled) {
      FlutterNativeLogs().logStream.listen((message) => _logs.add('${message.message}\n'));
    }

But I found that the plugin still sends logs to the channel in the onAttachedToEngine method.
Which is the best way to turn off the sending of logs? Maybe a start() method should be added to start the thread?

Good point. I'm still thinking about if it makes sense to add start()/stop() methods or if it is enough to just start the background process once someone calls listen(...) on the logStream and kill it after the stream subscription is cancelled.
@VitaliBov  Do you have any preference?

@Goddchen I like both options as they do the same thing but in different ways. And each way will solve the problem


How to bypass "click to view" sites

I am currently trying my first python code which is going to be a youtube-dl extractor for python.However can anyone give me an insight on how to i stimulate the "Proceed to video feature" so that the plugin works
Here is what i attempted so far
https://github.com/Khav21/youtube-dl/blob/master/youtube_dl/extractor/exashare.py
Kind Regards

Take a look at gorillavid extractor.


types of csf properties

csf properties typescript definitions
added also a CSFStory type - added a CSF prefix so its not confused with sb Story,

:rocket: PR was released in v0.0.2-next.0 :rocket:

:rocket: PR was released in v0.1.0 :rocket:


Master

@<reviewer_id>
What issues does this address?
Fixes #  Openstack-298, also Openstack-327 to install pytest-meta plugin
WIP #
...
What's this change do?
-- Uses pytest-symbols plugin to supply data to test scripts from a json file.
--  removes neutron install from requirements.test.txt
--  adds install of gitlab pytest-symbols and pytest-meta  plugins to same
--  corrects  client-subnet hard-coded setting within test_solution.py to be prefixed with "testlab-"
Where should the reviewer start?
-- Code changes
Any background context?
-- Testing does not require a local install of neutron
-- Traffic tests fail without correction to get the test script inline with changes to TLC.
What issues does this address?
Fixes #
WIP #

Same commits from Liberty.  GitLab requirements to be changed to github when pytest modules make it there.


The profile manager fields should be cleared after closing it or logging in/out

Description
The profile manager fields should be cleared after closing it or logging in/out.
Untitled_ Aug 6, 2023 3_08 PM.webm

The fields are cleared, but only for the tab that was selected before closing; the other tab isn't affected.
Untitled_ Aug 13 2023 11_51 AM.webm

Verified on devnet.
All fields are now cleared after closing the profile manager or logging in/out.
TF DASHBOARD (8).webm


Update default currency to use config instead of env directly

Added support for config caching (calls to env() return null when config is cached)

The config file contains currencies so can't put it there.


Registering Events with EventSystem is not working

OS
Windows 10 x64
Godot Version
3.5.1-stable
Plugin Version
1.1.1 (stable)
Issue description
Enabling both this plugin and the Event System Plugin doesn't properly add the dialog events to the event manager. This seems to be due to the event scripts not loading in both the Textalog plugin.gd as well as the Event System's category_manager. Additionally, the get_event_system_plugin method does not properly get the Event System plugin.
Steps to reproduce

Add the latest release of Textalog (v1.1.2) and the latest release of Event System Plugin(v1.4.3) to the addons folder of the project
Enable Event System plugin in the project settings then restart the editor
Enable Textalog in the project settings then restart the editor
Add an event manager node to a scene and select it

Workaround
No response

Here are screenshots of the null objects when trying to load the events.

Looking at the previous release (v1.1.1), there's not much difference between the events nor the loading so I'm thinking it might be due to changes made with Event System. Notably, the version of the Event System plugin packaged with v1.1.1 has a register_event method as well as a much different category_manager.


Lint for css/scss

Feature Request
Possibly use https://github.com/stylelint/stylelint to lint css so we can standardize it too.

https://github.com/stylelint/stylelint/blob/master/docs/user-guide/configuration.md#configuration


add stack protector as a debug safety feature

We should mark every function with sspstrong when runtime safety checks are on (debug or safe-release mode), unless the function has debug safety  explicitly disabled.

Turns out this feature depends on Thread Local Storage being implemented in a certain way. I'm not entirely sure how deep the dependency goes, but for now I enabled this feature only when linking against libc.
We still have hope of this feature being enabled without libc, but it's not as straightforward as previously assumed.


Measuring speed limited by console output speed

I set up my Raspberry Pi to periodically measure our bandwidth. Unfortunately, the maximum I was able to measure using your script was about 20 Mbit/s, which is far below what I get when doing the test manually (~60 Mbit/s right now), on speedtest.net. I figured out that this is due to the excessive amout of console output generated: the progress-updates interfere with the download-process. I was able to "tune" your script by simply skipping the "ChunkReport" - Method (inserted an additional 'return' in the first line..).
(FYI, I'm at  f69ae3e since I get the same errors as in issue #22)

My guess is that it is limited by the speed of Raspberry. Did you run speedtest.net from raspberry or other device in your network?


Bug in the Event-Sync module when joining a breakoutroom

Today I tested the breakout rooms and I noticed, that breakout rooms leads to a confused event-sync.
Scenario:
4 users joing the conference. All users are registered via the module and a hook is send to the api. correctly
2 users are add to a breakout room. The 2 users leaves the conference and the participanft_left request was send two times.
2 user coming back to the main-room. Here is no participant_joined request to the api.
I think that here are now two possible sollutions:

Don`t trigger the leave api when a user leaves to a breakt-room. I would prefere this sollution, if it is possible that prosidy can detect a user who leaves a breakoutroom and then send an api call from the main room.
trigger the enter and the leave api, when a user leaves to a breakout room and reenter the main room.

Hi there. Many thanks for the report.
I'm afraid this module predates the breakout room feature, and has not been updated to account for it.
I'm afk for a few days so can't really look into this. My guess is we just need to account for events from breakout rooms too and trigger similar calls but with a isBreakout flag like what JaaS does (https://developer.8x8.com/jaas/docs/webhooks-payload).

@holema Just raised a PR for this. I've modelled the behaviour after what JaaS does with its Webhooks, so it will be option (2) in your list of suggestions. I've added a section in the README to elaborate further on what to expect when occupants move in an out of breakout rooms.
This approach was the most straight-forward to implement since the plugin simply taps into the underlying muc event hooks and we map those events to API calls. If it were possible to implement (1) from within the module, then the same logic should be possible on the consumer end too; keeping this granular and low-level makes it more versatile for other consumers that may want to interpret the data differently.
I hope this meets your needs.
Thanks again for raising the issue.

Hello @shawnchin ,
You are great. I will test it tomorrow and give you a feedback.
Thanks a lot for the great effort you do.
Best regards

@holema did you get a chance to try it out? I'm holding off merging until someone tries it out. Just in case :)

Hello @shawnchin,
We just checked the plugin and it seems to work. We can see all the events in the log in the correct order, but I have to change my API-endpoints, because there my endpoint is a little bit confused.
I will do this tomorrow, and then I can give you a feedback.
Thanks for the great work.

@holema did you manage to test this?

Hello @shawnchin,
I`m so sorry.
We tested it, and everything works like a charm. 🎉
I have to fix my endpoints to handle the breakout rooms, but the plugin is great.
Thanks a lot for the effort. 🙏🏻

Awesome. Thanks for the update. I will merge shortly and close this issue. 🍻


Change color from corporate Theme

Hi im glad to use your awesome template, but i need change the color of buttons, primary, warnning, etc.
please can anyone help me with this?

Hi @spawn1986, please, read documentation

The documentation is not clear.


Issues migrating to go mod

We are currently building find with packr2 using go dep. I'm working to migrate to go mods and our packed files are not being looked for relative to the where the built binary is called.
$ packr2 version
v2.2.0

Directory structure:
|── main.go
└── cmd
    ├── root.go
    └── version

Within root.go we have:
rootBox := packr.New("RootBox", "./")
version, err := rootBox.FindString("version")
if err != nil {
	fmt.Println(err)
	os.Exit(1)
}

From our repo in $GOPATH/src/...
We do:
GO111MODULE=off packr2 clean . && GOOS=linux GOARCH=amd64 GO111MODULE=off packr2 build .

Then test run in a container to ensure no local deps:
$ mv ./my_cli ~/test
$ docker run -v $HOME/test:/test busybox /bin/sh -c "/test/my_cli --version"
my_cli version 0.2.3

Now when migrating to go mods:
$ mkdir -p ~/projects && cd ~/projects
$ git clone my_cli && cd my_cli
$ go mod init my_cli
$ rm Gopkg.*
$ GO111MODULE=on packr2 clean . && GOOS=linux GOARCH=amd64 GO111MODULE=on packr2 build .

Then run in container to test:
$ mv ./my_cli ~/test
$ docker run -v $HOME/test:/test busybox /bin/sh -c "/test/my_cli --version"
stat /version: no such file or directory
$ docker run -v $HOME/test:/test busybox /bin/sh -c "cd test; ./my_cli --version"
stat /test/version: no such file or directory

Am I missing something?

Any chance this could be merged or the issue resolved soon?


Missing patient reference contraint

Add subject contraints to all suitable profiles

Already present in KDS profiles as a constraint


Update README.md

Tried to clarify the coexistence of dayahead, MPC and ML forecaster

Hi thanks for these improvements.
There is a typo on line 394:

This is intedned to provide...

But should be: This is intended to provide...
Please fix to merge the changes.

Sorry, I see the typo just now. Thanks for fixing in my place.


vector: add enrichment-tables feature to build

Description of changes

Adds support for newly-introduced enrichment-tables, alongside sources, transforms, sinks, etc.
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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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

[ ] Fits CONTRIBUTING.md.

Thank you !


FileNotFoundError: [Errno 2] No such file or directory: '/home/zoloz/hangke/AD-NeRF/dataset/Obama/aud.npy'

Hello, author.
I also encountered a problem when running rendering. python NeRFs/TorsoNeRF/run_ nerf. py --config dataset/$id/TorsoNeRFTest_ config. txt --aud_ file=dataset/$id/aud. npy --test_ size=300
This missing 'aud. NPY'
The error is as follows: traceback (most recent call last):
File "NeRFs/HeadNeRF/run_nerf.py", line 965, in
train()
File "NeRFs/HeadNeRF/run_nerf.py", line 655, in train
args. datadir, args.testskip)
File "/home/zoloz/hangke/AD-NeRF/NeRFs/HeadNeRF/load_audface.py", line 37, in load_ audface_ data
aud_ features = np.load(os.path.join(basedir, 'aud.npy'))
File "/home/zoloz/anaconda3/envs/adnerf/lib/python3.7/site-packages/numpy/lib/npyio.py", line 417, in load
fid = stack. enter_ context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/home/zoloz/hangke/AD-NeRF/dataset/Obama/aud.npy'

The reason for the error is that you did not generate a sound feature file during data processing.
Regenerate sound feature file aud.npy, you run:
python data_util/process_data.py --id=Obama --step=0


Made it possible to extend MessagePublication class

What is the intent of this modification?

Because it is not possible to extend the class because of private class. When you create child class you cannot override constructor, what is mandatory for extending it

Interesting. What is the reason for extending MessagePulication? I am curious.

I want to reduce garbage by using pool for event objects. The reason to override it is to add logic for returning the events back into the pool after processing them in all subscribers.

Hi @bennidi, will it be merged/released?


machine: jetson-nano-devkit: add new fab

Add new fab number to TEGRA_BUPGEN_SPECS in order to support mender
updates on newer boards.
Suggested-by: Matt Madison<EMAIL_ADDRESS>Signed-off-by: Bartosz Golaszewski<EMAIL_ADDRESS>

Thanks!


Cromwell Restart

Adds support for restarting Cromwell when a specific hardcoded job gets to Running state.
To do so, a cromwell jar path needs to be provided through the conf.
It's possible to provide a different jar for post restart, hence enabling some kind of migration testing.
The "special test" can check that the jobId before and after restart is identical hence testing the "resume" capability of a backend.

What currently happens w/ the TES check?

@geoffjentry What fails is a specific job being restarted (the first on of call cache capoeira). I think it fails because it messes up with file permission (there's a chmod in the task itself) and that doesn't seem to play well with TES restart. I can't reproduce it locally though, only on travis.
Now depending on when the cromwell restart job kicks in and makes centaur restart Cromwell, this capoeira job may or may not be running. But if it as far as I can tell it will fail.

@Horneth Sorry, I deleted my comment ;) I was actually asking what happened in travis, but then i saw it's just not enabled for the tes backend.

@geoffjentry oh no it is enabled, what is not enabled is testing "resume", but it will still restart Cromwell during the TES centaur test.
Basically it can still fail, I just thought I'd make this PR anyway and we'll figure out what to do with the failing TES test in the meantime

:+1:

👍


Auto imports break with exports in package.json when dependencies grow

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/makezi/turborepo-ts-exports-bug
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.2.1
Describe the Bug
Using the kitchen-sink example, when attempting to import a component from the internal package (such as the <CounterButton /> component from @repo/ui) within the storefront app , VSCode will suggest the import correctly:

However, this will break when the storefront app's dependency list grows:

Then the auto import / suggestion doesn't seem to work:

I notice then when the total number of dependencies listed is somewhere in the ballpack of ~20. If you were to remove a package (say humps), pnpm i and reload the workspace / tsserver then the auto import suggestion works again.
I could circumvent this by doing the right hand expression import of repo/ui/counter-button to get it to work again:

But DX is poor as well as VSCode mis-remembering these imports upon workspace restart. I tried using the typescript.preferences.includePackageJsonAutoImports setting to on (as mentioned here in regards to wildcard exports but this becomes extremely slow when the turborepo becomes larger with multiple apps and internal packages. Even then, other IDEs like Zed or Intellij Webstorm don't have this option to circumvent this.
I could go back to not using exports and just have the apps handle the bundling but then we lose turborepo's benefit of caching those internal packages + increased app build times.
Is there some config or alternative that I'm missing to get this working proper? Especially one that doesn't involve a setting with VSCode to resolve.
Expected Behavior
Auto import / suggestions to work for internal packages that expose code via exports within apps that have a large number of dependencies.
To Reproduce
I have an example here that uses the kitchen sink demo: https://github.com/makezi/turborepo-ts-exports-bug
To reproduce (Note that I used both VSCode and VSCode Insiders with NO extensions):

pnpm dlx create-turbo@latest --example kitchen-sink
Go to storefront's package.json file and add more dependencies so that the total number of dependencies is in the ballpack of ~20 or so. You can add the following to quickly reproduce:

"@t3-oss/env-nextjs": "^0.7.1",
"@tanstack/react-query": "^5.18.1",
"@vercel/analytics": "^0.1.1",
"@vercel/edge-config": "^1.2.1",
"@vercel/speed-insights": "^1.0.3",
"axios": "^1.4.0",
"date-fns": "^2.30.0",
"humps": "^2.0.1"

Delete everything in page.tsx so that there isn't a reference to CounterButton existing and just paste the following:

export default function Page() {
  // Auto import doesn't work
  return <Counter
}

And to get it working again just remove a package from the dependency list:

Remove humps
pnpm i
Reload workspace / tsserver
Auto import should work again

Note that every time I add / remove a package I always reload the workspace / TSServer for a clean slate otherwise VSCode will remember the import previously.
Additional context
No response

Hey Anthony, you're right that this seems to be TypeScript issue and I'll post this issue over there.
I thought perhaps anyone else has ran into this issue and a mention here will help others since the docs recommends creating entry points to your package using exports which provides the benefits of auto-importing suggestions and that isn't the case if your app grows in dependencies (~20 isn't uncalled for).
The alternative to the recommended approach is to forgo the exports and go back to the app bundling the packages instead but that removes the benefit of the packages being cached. Unless there's another solution?

Found this issue through Google because I had the same problem. I've posted a workaround here: https://github.com/microsoft/TypeScript/issues/60307#issuecomment-2443410651
Hope this helps others


Added OAS spec location in software-catalog API docs

Hey, I just made a Pull Request!

for easier API consumption, pointed to location of OpenAPI spec for software-catalog
documentation change only

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Out of scope for this PR, but still a bit unfortunate we have to link to a raw 1000-line YAML instead of a UI, which visualises the OpenAPI definition

In case you're interested in a FUP PR, I created a public workspace that visualises the OpenAPI definition

this is pretty cool - thanks for creating & sharing it!! :)


Fix picture timestamps

Some apps modify file modification timestamp when copying pictures. This affects gallery sorting in many apps. Does it affects sorting in Camera Roll too? Anyway, if Camera Roll could include tool that can find and fix file modification timestamps to be the same as recorded in Exif - it can solve one major headache for many people.

You can already edit the Exif Date Tag in the Exif Editor. This should then modify the timestamp.

The filesystem timestamp should be fixed, not Exif.
On Mon, May 28, 2018, 4:47 AM Lukas Koller<EMAIL_ADDRESS>wrote:

You can already edit the Exif Date Tag in the Exif Editor. This should
then modify the timestamp.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kollerlukas/Camera-Roll-Android-App/issues/199#issuecomment-392365905,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIX9M5S6G7sFx5eX1Zl47W0YC7_rX7k5ks5t2xD3gaJpZM4UNMlt
.


Removing used blocktype

I renamed the folder of a blocktype. And removed it using the dashboard. But the instances of that block still exist on my page and i am unable to remove them
Fatal error: Call to a member function getBlockTypeHandle() on a non-object in ..../concrete/elements/block_controls.php on line 14

confirmed


Fix test that was not properly shutting down server.

Allow direct injection of Zookeeper jar file.
This was causing subsequent tests to hang/fail.

Coverage decreased (-0.03%) to 81.142% when pulling 58d8fe00d10dd26e8dbb57b0810b9fa358cfe778 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-9.5%) to 71.702% when pulling f9b5a80bf5f2980959fae7741f703aa60ae95354 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Please close this pull request, I will resubmit each change individually.

Coverage increased (+0.4%) to 81.527% when pulling daf08f526d08c1cd84decd7815cecffa8b6e4b53 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.6%) to 80.573% when pulling c0f18c39d12975692a452d16b00fafeb6eb8459a on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.9%) to 80.227% when pulling b0cad9a205188b9e63f093656f6cf935be6a57b5 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.8%) to 80.39% when pulling 4aeaea9b2788a4333faa5e40fa2adf0693b11685 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.1%) to 81.051% when pulling 0db9704417f786d72afb074d7333bb64fe382485 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.2%) to 80.99% when pulling 2c6c6ffa870cea046d59ad01fa96006239c44c78 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.4%) to 80.739% when pulling cd87994f5000af39f78f47d250b5cce33706a379 on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.

Coverage decreased (-0.3%) to 80.846% when pulling 0c6184a648ea190c7e7487ec7b87536132c5961e on msolo:master into 87e1bca4477a3cc767ca71be023ced183d74e538 on samuel:master.


Add dependency to Apollo-codegen

Addresses #282.
I figured the best way to do this was to use yarn to pin a specific version, let me know if you think it's overkill. 🤔

Holy cow, that yarn.lock 😱

Obviously this comes down to personal preference, but I feel npm has been round for a lot longer n more commonly used. Not sure if it's easier just to get people to do npm install -g<EMAIL_ADDRESS>

That make sense, I can switch to npm! That said, I’d recommend using a package.json (especially because people will need npm anyway), that way there is no doc to update when you manage to upgrade Apollo. Let me know what you think! :)
(Contributing to this app using this app is awesome)

I'm definitely all up for a package.json, at least the steps will be down to just npm install and will work for future dependencies (if we get any) and as you say saves us when we update versions!
Can also tie this to #387 to make buddybuild play nicely?

@Sherlouk Done!

Awesome!!


MultiGrid: extra row/column to fit scrollbar must be added if the opposite scrollbar exists

Check out this fiddle, please: https://codesandbox.io/s/0om24qx99w
Under option happy-path is a reduced copy of your official MultiGrid demo.
In this example both total rows height and total columns width exceeds height/width of grid, so both scrollbars are visible and extra row/column is added to align content:

Under option width there is a case when total columns width is equal to grid width, and total rows height exceeds grid height.
In this case Grid thinks that horizontal scrollbar should not be displayed (accordingly to [1], [2]), and so extra column is not added ([3], [4]).
But vertical scroll exists, and it takes some space inside grid. So in fact grid width becomes a bit less than total columns width, and horizontal scroll still appears – while being not compensated by extra column:

All the same is vice versa for height option:

I managed to patch this problem in my project, but via very bad hack with updating state of a child by it's parent, intruding in child's internal logic.
It looks like Grid logic should be updated, so if one scrollbar is present, second one must be considered present too.

Same issue here.. :/

@bvaughn
1 fixed row with visible scrollbar. is it possible to fix?
thx

Any improvements on this issue?

For anyone facing this issue, a potential solution would be to calculate the scrollbar size with the prop onScrollbarPresenceChange, for instance:
onScrollbarPresenceChange={({vertical, size}) => {
                if (vertical) {
                  setScrollBarWidth(size);
                } else {
                  setScrollBarWidth(0);
                }
              }}

And finally in the columnWidth prop, subtract this value to the columns width! Hope it helps


Fix Brazilian Portuguese translation

Fix some words that were in pt-PT to pt-BR and finishes the translation from English to Brazilian Portuguese

switch this to staging branch too

please pull from staging instead of new-design


Inaccuracies in the colour styles generated by the plugin

Describe the bug
System tokens generated by the plugin don't match the expected reference tokens. I've noticed this in the previous versions as well but ever since the latest update of v2.0.1 it has become much more evident.
To Reproduce
Steps to reproduce the behavior:
Since the errors/inaccuracies are not consistent for all the different colour styles generated using different seed colours. I've included the example of colour styles generated by plugin when provided the seed colour value of: #008489

Open a new/existing Figma File.
Open the material theme builder plugin.
Select create theme and wait for the process to complete.
Provide the source colour value of #008489.
Wait for the update process to complete.

Expected behavior
At the end of token generation process we should expect the plugin to have generated both reference tokens and system tokens. The system tokens generated should match exactly with the reference tokens generated according to material design guidelines.
However there is noticeable inaccuracies in the system palette generated.

At this point, it should be mentioned that the inaccuracies found are different for different seed colour provided at the start of theme creation.

Screenshots
Here are some screenshots to show the inaccuracies among the generated styles in Figma file.

For the following screenshots since I couldn't find the official documentation for the mapping system tokens to reference tokens the following screenshots only highlight those where the system tokens fail to match any reference tokens

Desktop (please complete the following information):

OS: macOS(ventura 13.4)
Application: Figma beta for macOS
Version: Figma version(116.16.6), plugin version (2.0.1), and macOS version (13.4)

Additional context
If this outcome I'm experiencing is due to some error on my part please clarify before closing the issue. Otherwise, If there is any additional clarification required please let me know.
Hope this was helpful

Closing this issue as it is similar to issue #234.


Support file operations (create, rename, delete) in cross file undo

re #91248
This is a feature request (or request for complete feature) so that things like "Java-class rename" or "TS extract to new file" refactorings can be undone safely

I have enabled undo for rename operations. What's still missing

[ ] file and text undo element aren't connected yet, e.g TypeScript's "Move to new file" or the Java class rename, need two undos
[ ] undo is always driven by the active editor which means delete file has no "UX hook" for its undo operation

To verify:

have a Java project
rename (F2) a class name so that its file name changes
press undo two times and make sure every thing is bad to normal
to the same with TypeScript and "move to new file"

Note the comment above with means two undos, one for textual and for file operations, are needed. This is temporary!

Java works fine, but for TS:

Create x.ts with function foo() {}
Refactor foo and move to new file. It moves it to a new foo.ts file ✔
Undo it. Accept Undo in 2 Files
The function is copied back to x.ts, but foo.ts still exists 🐛

The function is copied back to x.ts, but foo.ts still exists

Yeah, that's expected. You need another undo inside the foo.ts files. That should delete it. The issue is that there are two operations that aren't linked together: a textual operation spanning two files, and a file create operation. Because both aren't "connected" undoing in x.ts only undos the textual operation, unding in foo.ts will undo the file operation.
What puzzles me is how you got the notification about foo.ts being modified on disk?

One thing is that I have the prettier extension installed. All of my "Format On *" options are turned off, but I noticed that if I type
function foo() {}

The function in the moved file is
function foo() { } // <- with a space
```

Which looks like formatting happened at some point.

I will remove the verified tag and let someone else take a shot at this.


Clean up Gradle configuration caches periodically

This issue is identical to #1085, except that it is about configuration cache, which currently does not appear to periodically be cleaned up. I noticed this after observing the .gradle/configuration-cache folder in my project was 15GB

There is already an automatic cleanup for the configuration cache which should occur no more than once every 7 days.  I suspect one of two things is happening: either the cleanup is not occurring, or it is occurring, but there is something in there that's consuming a lot of space and is not eligible for cleanup.
So, one thing you can check is whether there is a .gradle/configuration-cache/gc.properties file.  If there is, then we know that cleanup has occurred at least once.  The timestamp of that file will tell you when the cleanup last occurred.  It should be sometime within the last 7 days if it's working as expected.

Apologies but I've already deleted this directory as I found out while trying to reclaim space on my machine. I'll keep an eye out. I've never seen a log after a build about cleaning old configuration cache entries though (compared to the build cache pruning), is it done silently?

I'm pretty sure it will output a progress message similar to the build cache, but I suspect it's fairly quick in comparison as the configuration cache is likely to have many, many fewer entries than the build cache, so searching for eligible entries is likely to be pretty fast.

I can confirm I have a .gradle/configuration-cache/gc.properties file modified recently and a reasonable amount of entries in .gradle/configuration-cache/.
@ZacSweers, when that directory gets repopulated on your machine it would be interesting to drill down into large entries and see what takes so much space. You could use https://github.com/gradle/gcc2speedscope to figure out if some unneeded large object graphs aren´t needlessly serialized. Reducing state size would make the CC faster.

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A minimal reproducible example can really help us track down and fix your problem. We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
We request you to provide a reproducer because we need to be sure we are looking at the exact problem you are facing.
The ideal way to provide a reproducer is to leverage our reproducer template.
This issue will be closed after 7 days, unless you can provide more information.

Configuration cache state cleanup is working. To investigate further we would need a way to reproduce. As I wrote above it might be because the state for your build is huge.

I reproduced it again, currently at ~6GB and growing after just a few days. I see a gc.properties file present, but its contents are empty.

figure out if some unneeded large object graphs aren´t needlessly serialized

This isn't super actionable to someone that doesn't work on Gradle, what are we looking for and what can we do about it? I can't reproduce this in a public project, I assume because it's largely dependent on the size of the project.
I'm also unable to create a speedscope.json file, it's been running for around 30 minutes now with no progress indication. Will let it continue running and, if it's successful, I could share it privately if that helps?

Actually scratch that, it OOM'd right after my previous comment
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.base/java.util.LinkedHashMap.newNode(LinkedHashMap.java:257)
        at java.base/java.util.HashMap.putVal(HashMap.java:637)
        at java.base/java.util.HashMap.put(HashMap.java:618)
        at kotlin.collections.MapsKt__MapsKt.putAll(Maps.kt:407)
        at kotlin.collections.MapsKt__MapsKt.toMap(Maps.kt:578)
        at kotlin.collections.MapsKt__MapsKt.mapOf(Maps.kt:55)
        at gcc2speedscope.AppKt.speedscopeLogFor(App.kt:126)
        at gcc2speedscope.AppKt.parseConfigurationCacheDebugLog(App.kt:99)
        at gcc2speedscope.AppKt.main(App.kt:27)

Thank you for your interest in Gradle!
This issue needs a decision from the team responsible for that area. They have been informed, response time may vary.

Thanks. Primary question still stands though

This isn't super actionable to someone that doesn't work on Gradle, what are we looking for and what can we do about it?

i think my problems is this issue.
I have huge directory /tmp/gradle/transforms-3 with 131.7 GiB:
with contents:
  110.4 MiB [##########] /faf07f1d98f11af2707b31caba941da0
  110.4 MiB [##########] /fa0e1f94e6958816ee3ddcd2a9cb1473
  110.4 MiB [##########] /f479af0e69acb8af1ddbf76b5b004173
  110.4 MiB [##########] /f20af54de037cc98903535470808fb77
  110.4 MiB [##########] /f1056cb16e7c0b645214774995843f73
  110.4 MiB [##########] /f089713037da127ff108711d6e69a279
  110.4 MiB [##########] /ea889084ec431c318fec034efb59826e

how do I set up so that the directory does not swell in size?

Hi @patsevanton,
You can adjust the retention period of the different Gradle caches, see Configuring cleanup of caches and distributions in the Gradle user guide.


[Layers directive] $watch does not handle certain changes to layer object

Layer objects are watched for changes, but certain changes are not handled.
Example: changing the url or bounds of an imageOverlay layer on the controller does not change the image src on the map.
http://plnkr.co/edit/UWrIEa9y30mDMuRtcDWN?p=preview
On the plnkr, click the button at the bottom of the page to swap image layers. It will change the layer object, which will trigger the watch on the layers directive, but will not set the url or the bounds of the image on the map. An alert box will say the angular-leaflet layer url (expected value) and the map layer url (what is actually displayed on the map).
The only way I can dynamically update the image src is using leaflet itself, which seems like a hack:
$scope._leafletLayers.promise
          .then(function(layers) {
            layers.baselayers.image.setUrl('path-to-image');
            layers.baselayers.image._bounds = newBounds;

If this is not a bug, please mention it on the documentation and consider it a feature request.

I investigated the source code and found the doRefresh option. Setting it to true after the changes are made causes the layer to be removed and added back to the map. This solved my problem.
http://plnkr.co/edit/2OGVXLiHwjmCThJbgBgH?p=preview

This issue was moved to angular-ui/ui-leaflet#84

I'm going to rework&redesign angular-leaflet-directive to be compatible with Leaflet v1.0. It will mantain almost all its functionality, and will be compatible with the current features of the directive, but I must start from a fresh point, so I'm going to close this issue. If you think it must be worked with the new version, please reopen it.


用该扩展无法生成正常的图像

I just installed the sd-webui-prompt-all-in-one plugin. The translation works normally, but I found that the quality of the images generated by translating the prompt words with it was extremely poor (low resolution, blurry). Trying to adjust various parameters did not work, including changing the base model and sampling method. However, translating the same English prompt words with other translation software could generate images of normal quality.
Please teach me where the problem is?

Currently no one else has reported this issue, and I am not sure about it either. I need to investigate.

After adding the keyword with this extension, try manually adding another keyword in the input box of the WebUI to see if it takes effect.

Today I tried again. If I only enter a girl without any additional prompt words, the generated image is normal. But after adding other prompts such as walking a dog in the garden, the faces of characters and animals in the generated image will be completely distorted and deformed. Without face repair, the generated image will be unbearable to look at, and it is very blurry.

The current issue is whether the use of plugin input can take effect. If it can take effect, then typing the same prompt in the input box on WebUI will result in the same outcome. However, if you enter "1girl" in the plugin and the resulting image is not that of a girl, it means that the input prompt of the plugin is not effective and there is a problem with the plugin.

用了这个夸张, 从获取png信息哪里生成的信息, 转不了文生图或者图生图


[ISV-4438] Improve static check of metadata.anotations.alm-examples

The current implementation of check_required_fields() performs a very simple check of the metadata.anotations.alm-examples field that does not prevent the submission of a bundle with an incorrect alm-examples (for example when it does not contain a valid json list) and, in cases where the operator does not provide any CRD, it returns a false positive.
Since this check is already performed by operator-sdk bundle validate checks, we can remove the field check from check_required_fields() and let operator-sdk do the validation.

I appreciate you looking at existing sdk instead of implementing the check by ourselves. 👍 Could there be other tests already covered by the sdk?

Possibly. Would have to look at the operator-sdk code to find the overlaps. I will create a spike for that.


Create measurement serializers, views and unit tests

create serializers, views and unit tests for measurement app

 Create measurement serializers, views and unit tests

Measurement serializers, views, urls, and unit tests created and merged to master.


v3 alpha2: consider changing element names

Feature Proposal
Controllers and Scales have a type suffix, e.g. bar -> BarController, category -> CategoryScale. However, elements don't follow this pattern: rectangle -> Rectangle instead of RectangleElement.
Feature Use Case

when guessing the import name to register when creating an error message like bar is not an registered controller, having a default pattern is useful. Moreover, it avoids conflicts as in Line vs LineController.
Possible Implementation

@kurkle do you want to try and squeeze this in too?

The points are valid, I don't really see why not.


Usage of Config.schema_extra causes examples to be overwritten

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
The main issue I have is when creating a parent BaseModel, say MyParentModel, since Config is defined as a class variable, if any class Inherits MyParentModel and changes the schema_extra then it changes for all instances that inherit from MyParentModel specially with something as trivial as example
Let's take this simple example
from pydantic import BaseModel, create_model
from typing import Dict, Any

from abc import ABC, abstractmethod

class ModelOutput(BaseModel, ABC):
    class Config:
        arbitrary_types_allowed = True
        schema_extra: Dict[str, Any] = {}

    @classmethod
    def custom_schema(cls) -> str:
        """Here, we can't use regular .schema_json because of arbitrary types,
        for simplicity, the code that casts arbitrary types to native ones is removed"""
        model = create_model(f"Dynamic{cls.__name__}", __base__=cls)

        model.Config.schema_extra["example"] = cls.example()
        return model.schema_json()

    @classmethod
    @abstractmethod
    def example(cls) -> Dict:
        ...

class MyModelOne(ModelOutput):
    my_pretty_field: str

    @classmethod
    def example(cls) -> Dict:
        return {"my_pretty_field": "this is a test!"}

class MyModelTwo(ModelOutput):
    my_ugly_field: str

    @classmethod
    def example(cls) -> Dict:
        return {"my_ugly_field": "this is a another test!"}

MyModelOne.custom_schema()
MyModelTwo.custom_schema()
print(ModelOutput.Config.schema_extra["example"])

Which the output is
{'my_ugly_field': 'this is a another test!'}
In this example, it sort of fields as I am trap (or perhaps I am missing a different way). Because:

We can't use create_model because it keeps the references of the old class (this may be the root problem here.)
There is no way to explicitly pass the examples field when calling .schema_json
If we do not use .Config.schema_extra["example"] integration with FastAPI breaks (no example shown)

Python, Pydantic & OS Version
pydantic version: 1.10.7
            pydantic compiled: True
                 install path: C:\Users\dmsfa\code\.env\Lib\site-packages\pydantic
               python version: 3.10.1 (tags/v3.10.1:2cd268a, Dec  6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)]
                     platform: Windows-10-10.0.22621-SP0
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[X] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

The problem is here that you're changing the value of model.Config.schema_extra["example"] which is mutating the schema_extra dict which is defined once.
You should either:

copy schema_extra, then change it
call model.schema_json(), then update the returned dict


In case, nghttp is ignoring -a param, skip tests.

e.g. when nghttp is compiled without libxml:
# nghttp -a
[WARNING]: -a, --get-assets option is ignored because
the binary was not compiled with libxml2.

Nice check! Thanks.


Inline loader seems not supporting loader option value in which type is function.

Bug report

Here the doc mentioned that we have to pass a JSON or  aquery string value for loader option when using inline loader
https://webpack.js.org/concepts/loaders/#inline
But it seems both of JSON & query string  do not support  function values, so I suppose this is a bug? Since some loader does have options in which type is function. (for example: html-loader : preprocessor)
In my case, I just need inline loader to defined which loader to use for specific .ejs files, and I am going to use these files in htmlWebpackPlugin as template, so I can't use the module.rules way to set the loaders.
You can check the library I am working on here ( just read the Passing individual values part of README.md)
https://github.com/dc7290/template-ejs-loader
What is the current behavior?
If I pass a function type value as option value to inline loader , it just become undefined.
If the current behavior is a bug, please provide the steps to reproduce.
You can try to pass the option preprocessor of html-loader using  inline loader, then you will get what I am meaning about I guess.

What is the expected behavior?
inline loader must support option values in any type.

Other relevant information:
webpack version:  5.66.0
Node.js version: v14.17.5
Operating System:  macOS Catalina
Additional tools:

Not related to webpack, please open an issue in html-loader

Not related to webpack, please open an issue in html-loader
@alexander-akait
But obviously any loader that have option values in function type will get this problem I guess?


Confidence threshold of predictions

Greetings.
First of all, thanks for your work on this project; second, after training a model and obtaining the predictions, it only shows the predictions that have a very high confidence level (0.9999988675117493) and the rest simply don't appear, so I was wondering if there is a threshold or something in the code that I can tweak to see predictions with lower confidence (like 0.95 or 0.90).
Thanks in advance.

I would also like to achieve this, if you have any progress please tell me.
Thanks!

I would also like to achieve this, if you have any progress please tell me.
Thanks!


anthropic only works through openrouter

I tried anthropic with null base URL, and I also tried the two URLs provided by anthropic. ("complete" and "messages"). I can paste the errors here but I assume you can already see them in your console, otherwise lmk and I'll post them.
It works through openrouter though.
I will submit a PR that adds deepinfra and fireworks to the config providers list.

I'm very glad to see that you like this project! I'm checking each issue you've created one by one, and it may take some time to reply to all of them.
The issue with Anthropic is a special one because it works on my local setup (baseURL=null), so I still need your error information. Could it be due to different versions of Anthropic?


New key-value mapping to simplify header decoding

addresses #60

We now gracefully encourage support :-)

@ThomasKnecht have tested the new key-map logic for all internal test files. We are successful on all, except the new FT-IR remote sensing device.

Currently there is no other workaround than relying on classical pre-commit action instead of bot-like auto-fixing PRs via pre-commit-ci-lite => see also https://github.com/pre-commit-ci/issues/issues/13 and https://github.com/lorenzwalthert/precommit/issues/450

@ThomasKnecht FYI current main is now merged. CI runs now there, but just not yet in this PR. Locally this PR branch passes :100:

FYI I have pushed some more docs into main directly. Now mostly finished with describing return value (parsed and returned OPUS blocks. => see also https://spectral-cockpit.github.io/opusreader2/reference/parse_opus.html . Once this PR is merged I, I would
a) complete the docs of parse_opus() and transfer the description of output list to read_opus().
Then b) Also add support for the FT-IR remote sensing device for greenhouse gas measurements (new block types create_dataset()).
c)  I'd add also some more nice parameter names for Bruker Tango (We cannot yet read all of the report fields from the OPUS QUANT2 module https://www.bruker.com/en/products-and-solutions/infrared-and-raman/opus-spectroscopy-software/quantification.html ; not super important (do own modeling and infrastructure anyways) but I vaguely remember you might have once expanded the header parsing algorithm right ;-)?).
=> Finally, my suggestion is that we bump from currently "dev" <IP_ADDRESS>02 to to version 0.1.0 using "minor" and make a release on GH. @ThomasKnecht anything else to? Does that sound good to you?


Preparation or improvement of the guide for basic operations on objects in PANDAS module (issue #1039 related)

The goal is to prepare or improve a guide or report that is generated by the following code:
from dynpy.utilities.documents.guides import IntroToPandasGuide
IntroToPandasGuide()

Minor changes introduced. The code was checked with the following call:
from dynpy.utilities.documents.guides import IntroToPandasGuide
IntroToPandasGuide()


Support SSL for connecting to consensus node API with --core.ip

What we know works already:
For celestia-appd version 0.11.1 (mocha):
celestia-appd query bank balances celestia1g486scr5t24jywkql8ld2uuw6clws2fckclhlj --node https://rpc-mocha.pops.one:443

It looks like the node client expects to be able to connect to both RPC and gRPC on the same hostname.
To add SSL with a proxy many are now using different hostnames and forward to the correct port, eg:

https://rpc-mocha.pops.one:443 forwards to local port 26657
https://grpc-mocha.pops.one forwards to local port 9090

Currently we can only give one hostname through the --core-ip flag, this looks like to be a part of the issue

From I could figure, I think the celestia-node CoreAccessor client doesn't support SSL.
https://github.com/celestiaorg/celestia-node/blob/main/state/core_access.go#L85-L112

now it also seems the RPC node provider will need to update their infrastructure to also support proxied grpc connection : https://www.nginx.com/blog/deploying-nginx-plus-as-an-api-gateway-part-3-publishing-grpc-services/

closing in favor of https://github.com/celestiaorg/celestia-node/issues/2931


Public review feedback

Notes from the public review period:
Feedback on sections 2.5.2 (Page Fault and Guest-Page Fault Exceptions) and 2.5.3 (Access Fault Exceptions):

Review feedback: Store instructions omitted from the list of permitted memory accesses that imply cache-block management and prefetch instruction permissions

Resolution: Added store instructions to load instructions and instruction fetches

Review feedback: Splitting permissions descriptions across two sections introduced ambiguity about whether permissions from address translation, PMPs, and PMAs were logically ORed or ANDed

Resolution: The two sections describing the two types of faults have been merged, and the behaviors and the priorities between the types of faults have been clarified

Feedback on Section 2.6 (Effects on Constrained LR/SC Loops):

Review feedback: Normative text describes that reservation may be cancelled on other harts but not on the same hart

Resolution: The original text did not intend to constrain or omit behaviors, so the normative text is restated to specify only the additional condition that must be added to the list of events specified in the A extension

Review feedback: Effect of prefetch instructions on reservations not clear in the specification

Resolution: The non-normative comments have been edited to reiterate that the properties of constrained LR/SC loops do not change (with the exception of the new normative text) and to add a few examples to illustrate the point

Feedback on Sections 5.1-5.7

Review feedback: Shorten the text in the Synopsis sections

Resolution: The text in the Synopsis sections has been made more terse

Review feedback: Describe the address calculations for each instruction

Resolution: Address calculations have been added to individual instruction description sections, and general comments on addressing for each extension are provided in the text in sections 4.1-4.3; in addition, the use of x0 in the rd field to encode both HINT and immediate bits for prefetch instructions has been described more explicitly

Other updates:

Section 2.5 has been renamed “Traps” as part of merging sections 2.5.2 and 2.5.3
Text in the introductory section of Chapter 4 (Extensions) has been distributed to the individual extension descriptions in sections 4.1-4.3

Next steps:

Merge PR
Generate final pdf and pdf diffs between v0.6 and v1.0


Correct Tweepy Link

If not from the protocol, GitHub takes the link as relative.

Thanks @tapasweni-pathak! I didn't know that. :-) :+1: :dolphin:

np. :smile:
Are you open for PRs fixing the issues you have opened for this project?

Sure! This is a project I made just for learning about Twitter bots, and I haven't had the time to work on it since my first little commit session. You've probably noticed, for example, that the Twitter account only has 2 tweets because I haven't set it up to run automatically :-)
Feel free to have at it-- I'm sure I'll learn a lot from watching your PRs!
:zap: @tapasweni-pathak :zap:

Sure! This is a project I made just for learning about Twitter bots, and I haven't had the time to work > on it since my first little commit session. You've probably noticed, for example, that the Twitter
account only has 2 tweets because I haven't set it up to run automatically :-)

I wanted to create one, and somehow landed to your project. So, thought I'll learn by contributing to this. :dancer:
Yes, I have noticed that as well as the related issue. :smiley:

Feel free to have at it-- I'm sure I'll learn a lot from watching your PRs!

Awesome :dancers: :+1:


De-link organizations and teams

Lastuser's Organization and Team models are modelled on GitHub's. The assumptions are:

An Organization is a public-facing brand identity and has a username that shares namespace with User account. (There has been a discussion to merge these at the database level in #91).
Organizations contain two or more Teams, Owners and Members (originally one, latter added with #28), which cannot be deleted, and any number of user-added teams.
Teams are private to the Organization. Only members of the Organization can see the list of teams and membership of the individual teams. (Prior to #28, any member of a team was considered a member of the organization. It is unclear if #28 has resolved this appropriately since some notion of "membership" also exists in Flask-Lastuser.)

Under expected use circumstances, an average user will be a member of one organization, their employer, and maybe a few more representing non-profit causes or community groups.
With the benefit of hindsight of the past few years, we now know that (a) organizations are used to represent brandnames, so it's normal for an active user of HasGeek's infra (such as HasGeek staff) to be a part of ten or more organizations, and that (b) any changes to staff require adding or removing them from teams within each of these organizations, which is a pain. We've discussed having parent organizations (#6) as a means to centralise team management, with the caveat that the Owners and Members teams are special-cases that cannot be inherited, so those will instead be virtual teams, representing both their own members and inherited members.
Since #6 (and the related #34) represent tricky architecture – we may have a use case for parents of parents, making team membership lookups recursive – this issue presents an alternative proposal: de-link Team from Organization.

A Team can now be free-standing, having no associated Organization, while an Organization can still require an Owners and Members team to be specified (user selects from existing or makes new).
Since Team management rights are currently inherited from the Organization (you have to be in the org's Owners team), we will instead need membership flags that indicate administrative rights within the team.
As this is an incompatible change, Lastuser's API level 1 will need deprecation. Flask-Lastuser will need to be upgraded and all apps that currently use the Team model will be in limbo.
Writing an Alembic migration will be non-trivial. We will have to set the admin member flag based on whether the member is also present in the Owners team.

Counterpoint: Teams are also useful for creating lists of individuals in which the maintainer of the list is not also a member of the list. Access rights to create such a list is currently granted via the organization's ownership.
If teams have no parent organization, the only way to have edit access to the team is by also being a member and having the appropriate membership flag (admin/owner) set. This makes it impossible to maintain a list of other people.
Why is this required? In #34 we wanted to promote a certain use case for teams up to the level of being an organization. The 2015 edition of The Fifth Elephant had an editorial panel comprised of non-HasGeek staff, but managed by a HasGeek staff member. If the team's membership was meant to be a statement of record on who was in the EP, it can't have a non-member (of the real-life entity) be a member of the team just for the sake of managing it. This brings up another scenario: sometimes the team is archived and membership is for the record, not for current activity, so it should be possible to "archive" a team, making it read-only -- or preventing a user from leaving a team by themselves, requiring the team's admin to do that instead.

As an extension: Teams can optionally be owned by an Organization, allowing the team admin to then be present outside the team.

We can make all this simpler by reversing the assumptions. Specifically:

[ ] Allow users to directly be members of organizations, without being a part of a team.
[ ] Remove the special case Members and Owners teams, converting those into roles (#118), but with roles being present on users rather than teams.
[ ] Allow optional teams (current functionality once Owners and Members are removed). Team members are not organization members unless they are also direct members, thereby allowing guests. This is also current functionality once the Members team becomes a Member role.
[ ] Optional: Allow teams to have roles in the organization. This is potentially problematic in that it introduces complexity with uncertain value. (With this, we reverse the original assumption in #118 that teams have roles, not individuals.)
[ ] Optional: Allow sub-organizations (#6) where the sub-org inherits roles (and teams?) from the parent organization.

With this approach, organizations start out like teams with a simple list of members, but acquire complexity as needed.


[Fluent 2 iOS] NotificationView colors update

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
NotificationView colors were updated to match fluent 2 tokens. There is also a change updating yellow shade 30 hex value.
Verification
the changes were tested on the demo app.
SwiftUI demo

Before
After

UIKit demo

Before
After

Pull request checklist
This PR has considered:

[x] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[x] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

for the subtle messagebar case are we suppose to have divider top and bottom? the screenshot seems like there is 2.

would you please check the text to background color contrast ratio of neutral bar is good?

these changes are significant enough we should call it out on our fluent 2 update annoucements

would you please check the text to background color contrast ratio of neutral bar is good?

All contrast ratios were checked and have passed. The only issue found was with warning style because the hex value of shade 30 was incorrect.


update example

I run the scripts in the example folder. Two of them failed, and they need to be updated.
I got this error when committing new changes:
[extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'

It's likely due the the isort package. I update its version to 5.12.0 and there is no more error.

@sphuber I don't know why the ci/tests failed, because the new changes will not affect the core code. I also run the test locally, all of them passed.

hi @superstar54 , thanks for the fix!
the test failures are indeed weird - either some of the data it's comparing against is coming from somewhere else or the mechanism of comparison may be flaky (perhaps dependent on order of query result / ...)?
____________________________ test_user_get_entities ____________________________

data_regression = <pytest_regressions.data_regression.DataRegressionFixture object at 0x7f1bfc190a90>

    def test_user_get_entities(data_regression):
        """Test ``User.get_entities``"""
<EMAIL_ADDRESS>first_name="Giuseppe", last_name="Verdi").store()
        py_users = models.User.get_entities(order_by=["id"])
>       data_regression.check([replace_dynamic(c.dict()) for c in py_users])
E       AssertionError: FILES DIFFER:
E       /tmp/pytest-of-runner/pytest-0/test_user_get_entities0/test_models/test_user_get_entities.yml
E       /tmp/pytest-of-runner/pytest-0/test_user_get_entities0/test_models/test_user_get_entities.obtained.yml
E       HTML DIFF: /tmp/pytest-of-runner/pytest-0/test_user_get_entities0/test_models/test_user_get_entities.obtained.diff.html
E       ---
E       +++
E       @@ -1,8 +1,8 @@
E       -- email<EMAIL_ADDRESS>E       -  first_name: AiiDA
E       +- email<EMAIL_ADDRESS>E       +  first_name: ''
E          id: int
E       -  institution: aiidateam
E       -  last_name: Plugintest
E       +  institution: ''
E       +  last_name: ''
E        - email<EMAIL_ADDRESS>E          first_name: Giuseppe
E          id: int

If it's urgent, we can merge it as-is; otherwise let's wait until @sphuber has time to have a look

Hi @ltalirz , thanks for looking into it. Not urgent, we can wait.

Thanks @superstar54 . I will have a look at the CI soon and fix it. Then we can merge this.


[CARBONDATA-1872][API] Clean up unused constant in CarbonCommonConstant

Remove unused constant string in CarbonCommonConstant

[X] Any interfaces changed?
NO

[X] Any backward compatibility impacted?
NO

[X] Document update required?
No

[X] Testing done
No logic is modified, it can be tested by existing testsuite

[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/574/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1856/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/628/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2113/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/888/

LGTM

@jackylk I have reverted this commit as SDV tests are compilation failed because of some constants removed. Please fix it. I merge again.


Species guess affected by identifier's locale, and doesn't always use scientific names

Not sure if this is intended or not, but it seems like a bug.

I went to an observation that has one ID at genus level, and of a taxon that has common names in multiple languages. For example, https://staging.inaturalist.org/observations/126164601, an observation with an ID of Genus Tragopogon.
I checked its species_guess on the JSON page, and it's species_guess": "Bocksbärte". That's the German common name for the genus. The observer's locale is de so I guess that makes sense.
Using my account, with a locale of en, I added an ID of Tragopogon dubius. The Obs Taxon is now Tragopogon dubius.
Checked JSON of the observation, and now see "species_guess": "Yellow Salsify". That matches my account's locale's common name for that species.
I changed my account's locale to fr and deleted my species ID.
Checked JSON of the observation and it now says "species_guess": "Salsifis", "user_id": 4985479,, matching my account's locale when I deleted my ID.

Expected behavior: the locale of the identifier (if they're not the observer) should not affect the locale of the observation's species_guess of the observation. I guess I'd prefer species_guess to be only scientific names, but if that's not possible or advisable, I think the species_guess should match the observer's locale if possible. And an identifier's locale shouldn't affect the species_guess when they delete their ID.
Since we use species_guess for things like exports and email updates, these do get surfaced a the user end.

@tiwane - When I just checked this on staging the species_guess was indeed Bocksbärte before I modified anything, but the observer's locale was en, not de. When I followed your steps, at step 6 the species_guess was Salsifies, not Salsifis. That was seemingly correct behavior since the user's locale was en. I then modified the user's locale to de and went through the steps again, and then on step 6 the species_guess was Großer Bocksbart.
I can't say why the initial species_guess was in German if the user's locale was en when the observation was created. The observation was created in the Android App and the species_guess can be customized to be anything on creation. Some of the code for generating names changes with the multiple common names release, so perhaps the problem has since been fixed.
There is an edge case when the user's locale is nil. For context, there are only 11,506 users with a nil locale (only 4,356 with observations), and all of them have an ID at or below 18,738 - so the earliest iNat accounts. When updating observations for users with a nil locale, it will default to using the identifier's locale since it doesn't have a user locale to use.
Could you try these steps again and see if you can replicate the bug? I've since reverted the observation's original species guess, and reset the user's locale to en. If you can still replicate it, let me know if you change any steps, or its working as you described, and I'll take a second look.
In either case, there is still the potential issue on observations from early iNat users with a nil locale. Is it worth addressing that in the context of this ticket? My personal preference would be to address that problem more directly by giving those users a locale (maybe en if that was the default at the time).

OK, let's focus on the nil locale issue. I haven't gotten any complaints about this specific issue like the example in my original post, since that one, so I think it's fine to move on from it.


Delete key does not work in MixedRealityKeyboardBase Unity 2019.3.13f1

Describe the bug
Pressing the delete key when using MixedRealityKeyboardBase does not delete the text entered. Reproduces for all classes that extend MixedRealityKeyboarBase
To reproduce

Build HandInteractionExamples scene  in Unity 2019.3.*
Run on HoloLens 2
Under "keyboard Interaction, press the keyboard button
Type some text
Press delete key

Notice keyboard text does not get deleted
Expected behavior
Keyboard text gets deleted
Your setup (please complete the following information)

Unity 2019.3.13f1
MRTK Version 2.4

Additional context
This does not repro when building with Unity 2018

@julenka Is this a duplicate of https://github.com/microsoft/MixedRealityToolkit-Unity/issues/7813?

Closing as a duplicate of #7813


Make fails when trying to build patterns

$ make
cl.Makefile:8: warning: overriding commands for target `mirror/pr.owl'
Makefile:306: warning: ignoring old commands for target `mirror/pr.owl'
cl.Makefile:16: warning: overriding commands for target `mirror/ncbitaxon.owl'
Makefile:376: warning: ignoring old commands for target `mirror/ncbitaxon.owl'
touch  ../patterns/data/default/abnormalAnatomicalEntity.txt    ../patterns/data/clustering/abnormalAnatomicalEntity.txt &&\
  touch  ../patterns/data/default/abnormalAnatomicalEntity.ofn    ../patterns/data/clustering/abnormalAnatomicalEntity.ofn
cat ../patterns/dosdp-patterns/external.txt | sed 's!.*/!!' | sed 's! !!g' |  xargs -I{} rm -f ../patterns/dosdp-patterns/{}
cat ../patterns/dosdp-patterns/external.txt | sed 's! !!g' | xargs -I{} wget -q {} -P ../patterns/dosdp-patterns
make: *** [../patterns/dosdp-patterns] Error 1

I have fixed this. Will push it tomorrow or Sunday.

I have skipped the external.txt now; it is very brittle and has failed in some other ontologies. I will rework it for all ODK.
The build works again, but I would suggest merging https://github.com/obophenotype/cell-ontology/pull/567 before proceeding; Lets have @dosumis review it first.

All looks done, so I'll close.