Fresh conda install, no dask.config found

I created a fresh conda environment today:
conda create -n pangeo -c conda-forge     python=3.6 dask distributed xarray jupyterlab mpi4py
dask.config does not exist
In [1]: import dask

In [2]: dask.config
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-e3a3f5484e99> in <module>()
----> 1 dask.config

AttributeError: module 'dask' has no attribute 'config'

Correct.  The dask.config module is only in the development version.  If
you've found dask.config through documentation then I recommend that you
read the stable docs:  http://dask.pydata.org/en/stable/
On Thu, May 24, 2018 at 2:17 PM, sridge<EMAIL_ADDRESS>wrote:

I created a fresh conda environment today:
conda create -n pangeo -c conda-forge python=3.6 dask distributed xarray
jupyterlab mpi4py
dask.config does not exist
In [1]: import dask
In [2]: dask.config---------------------------------------------------------------------------AttributeError                            Traceback (most recent call last) in ()----> 1 dask.config
AttributeError: module 'dask' has no attribute 'config'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/3531, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszEi8D4XfXRE5Qm0DnRTOLHQUsCD7ks5t1vkmgaJpZM4UMvky
.


Tween#follow_* method documentation confusing

I'm trying to figure out what the documented follow_* methods do, but some non-standard terminology is being used that makes it unnecessarily hard.
The only usages of "follow" I'm familiar with are 1. follow as in an object following a path, or 2. "follow" as in Twitter. What does it mean to follow a method? I've tried mentally replacing "follow" with "subscribe", but that doesn't make sense either. "Monitor" might also work, provided it can't possibly be confused with the synchronization construct.
And then...what does it mean to animate a method?
Lastly there are a couple spelling mistakes -- s/consequitive/consecutive/ and s/begining/beginning/).

I'm really just trying to figure out what this method does. If, for example, I have this code:
tween.follow_method(get_node("foo"), "calculate", 3, get_node("bar"), "pos_x", 5.0, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)

then that's is equivalent to the following pseudocode, right?
bar_node.pos_x(foo.calculate(3))
for i in 5 seconds:
    var tweened_value = 3 + calculate_tween(i, 5.0, TRANS_LINEAR, EASE_IN_OUT)
    bar_node.pos_x(foo.calculate(tweened_value))

Actually, I'm reasonably sure this is incorrect -- I'm not sure how to incorporate the Methods are animated by calling them with consequitive values. statement. Would appreciate some help 😄

For some reason follow_property does that the target object "jumps" to the place my "main" object was, I was expecting something like a smooth movement towards the "main" object.

We now have description of follow_property method in the docs, which I believe should be less confusing:
http://docs.godotengine.org/en/3.0/classes/class_tween.html?highlight=tween#member-function-description


Strange behavior of geom.removeCollisonPair

I don't understand what happens here:
p=gmodel.collisionPairs[1]
print(p)    # display    collision pair (4,0)
gmodel.removeCollisionPair(gmodel.collisionPairs[0])
print(p)   # display collision pair (6,0)
print( gmodel.collisionPairs[0]) # display collision pair (4,0)
print(gmodel.collisionPairs[1]) # display collision pair (6,0)
Is p a fake index on the collision-pair array?

Did you check that pair (4,0) is not duplicated in the beginning ?

It is not (the first is (0,3)). Even if it was, I don't see how this would explain the behavior.

The problem is in the way the bindings of collisionPairs are implemented. When you do
p=gmodel.collisionPairs[1]

p is a pointer to the location of gmodel.collisionPairs[1].
 Internally, it stores its data in an array. To execute this operation, it shifts all elements of the array back one position.
print(p) # display collision pair (6,0)

Here, p is still pointing at element 1 of the array. This position is now filled by what used to be element 2, before removeCollisionPair was called. In this case, (6,0)
print( gmodel.collisionPairs[0]) # display collision pair (4,0)

Element zero now holds what used to be element 1, before removeCollisionPair was called, i.e. (4,0).
print(gmodel.collisionPairs[1]) # display collision pair (6,0)

Element 1 now holds what used to be element 2, before removeCollisionPair was called, i.e. (6,0).
It gets worse: after a certain number of removals, the std::vector could decide to completely reallocate the array in order to free some memory. In this case, any previously-taken pointer would be pointing at garbage.
To make this clearer: what you are doing in Python is equivalent to the following C++ code
CollisionPair & p = gmodel.collisionPairs[1] // notice the reference
cout << p << endl; // display collision pair (4,0)
gmodel.removeCollisionPair(gmodel.collisionPairs[0])
cout << p << endl; // display collision pair (6,0)
cout << gmodel.collisionPairs[0] << endl; // display collision pair (4,0)
cout << gmodel.collisionPairs[1]) << endl; // display collision pair (6,0)

while what you want is
CollisionPair p = gmodel.collisionPairs[1] // WITHOUT reference - makes a copy
cout << p << endl; // display collision pair (4,0)
gmodel.removeCollisionPair(gmodel.collisionPairs[0])
cout << p << endl; // STILL display collision pair (4,0)
cout << gmodel.collisionPairs[0] << endl; // display collision pair (4,0)
cout << gmodel.collisionPairs[1]) << endl; // display collision pair (6,0)

I don't think there is an easy fix to this unwanted behavior. The return-by-pointer policy is desirable, in order to be able to easily write inside the array. In order to avoid problems in Python, you should always explicitly make a copy, like this
p=pin.CollisionPair(gmodel.collisionPairs[1].first,gmodel.collisionPairs[1].second)
print(p) # display collision pair (4,0)
gmodel.removeCollisionPair(gmodel.collisionPairs[0])
print(p) # display collision pair (4,0)
print( gmodel.collisionPairs[0]) # display collision pair (4,0)
print(gmodel.collisionPairs[1]) # display collision pair (6,0)

I will make CollisionPaircopyable so you can replace the first line with
p=gmodel.collisionPairs[1].copy()
```

So, it was decided in #782 to maintain the current behavior.
My recommendation is to always explicitly make a copy when retrieving collision pairs, using the copy() method introduced by #769, as in
p=gmodel.collisionPairs[1].copy()

@jcarpent can we close this issue?


[Feature Request] Add support for Forwarded emails

Is your feature request related to a problem? Please describe.
I've setup a separate Imap account for this integration and am having Gmail forward messages too it. I don't want to enable IMAP on my gmail.
The problem is:
Gmail adds the Fwd: prefix to the emails though and looking through the code it seems that will break the subject search.
Describe the solution you'd like
I think two fixed would help.

To lower all text before string matching. This will help ensure we don't get caught by fwd vs FWD.
Search for and remove common forward prefix's on subjects. The list isn't that long gmail uses Fwd: and I've seen FW:

Another approach for two would be to do a regex match on the subject after it has be switched to lower case.
Additional context
How the email looks in my IMAP account.

Love this integration and am excited to get it working!

I looked through the code of the project and now understnad that my idea won't work as the python IMAP library simply don't work in the way my original comment expects.
What if we switched it, so during setup you asked for the forward prefix then added that to all searches?

You can setup multiple emails for the integration to check so you don't need to forward emails.

@firstof9, at least for me, the problem is that I'd rather not give access to my main email account. I like receiving USPS updates to my main account so that I get notified of them, but then I forward those to a separate email account that HomeAssistant has access to.
I'm hesitant to give HomeAssistant access to my main account for security concerns.

@degan6 The thought I had was to make the email subject line and sender strings that are defined in const.py configurable in each user's configuration.yaml.

@firstof9, at least for me, the problem is that I'd rather not give access to my main email account. I like receiving USPS updates to my main account so that I get notified of them, but then I forward those to a separate email account that HomeAssistant has access to.
I'm hesitant to give HomeAssistant access to my main account for security concerns.

I think @moralmunky does something similar, except he has it reversed. Email to a Home Assistant allowed email account, and fwd to his main.

@firstof9, at least for me, the problem is that I'd rather not give access to my main email account. I like receiving USPS updates to my main account so that I get notified of them, but then I forward those to a separate email account that HomeAssistant has access to.
I'm hesitant to give HomeAssistant access to my main account for security concerns.

I think @moralmunky does something similar, except he has it reversed. Email to a Home Assistant allowed email account, and fwd to his main.

That's a really good idea!! Thanks!

The reason the proposed fix wouldn't work is that we use a combination of the sender email address and subject line to identify shipping emails. This two term system helps in cases where the subject line term could be used for more than one shipper.
I use a dedicated email account in my home's domain for all things home server related to receive and send emails.
I would agree with @firstof9, forward from your other account if you still need the emails to show in your personal account. The only one that neither of these methods work for is Amazon. I don't see a way to have notification sent to an email address different from the account.

@moralmunky , Couldn't a prefix be added to the search term like:
(rv, data) = account.search(             None,             '(FROM "' + email + '" SUBJECT "' + prefix + subject + '" SENTON "' + today + '")',         )
This prefix could be configured in the config flow or YAML and if blank it would not change the search result.

I'm not saying a search term couldn't be added. What you state would be perfectly adequate but would fail to return results.
The emails being forwarded are not from the carriers notification email address used in the search. In addition to adding the prefix, you would also have to change all of the email addresses from the list of addresses in the How it works section that are used to find emails to the personal email address that you are forwarding from to get matches.
This also decreases the confidence levels because it is 100% confident that, regardless of the subject line<EMAIL_ADDRESS>is UPS. You run the risk of different carriers using identical subject lines which would then require additional search criteria in the body of the message.
In order to make accepting forwarded messages

Add logic to remove the prefix or add the prefix for the subject line
Allow overriding of all FROM addresses for the carriers to a single email address
Add in a body text search to look for the carriers email address or name in the body of the forwarded message
Support all of this in the functional code and in the front end integration settings
Answer the question if it should be an over all setting or allow it for individual carriers

Alternatively, if you were to make each of the list of addresses in How it works (as well as the subject lines and search terms for those addresses) configurable by the user, you could defer the risk of identical subject lines to those users who chose to override the default configuration.
That way, by default, users get the confidence that each carrier is correctly parsed from their corresponding email address. However, more advanced users are able to extend the component to behave in more customizable ways.
Users who forward emails would need to override the defaults. But those users may also mitigate the risk of getting matching subject lines by changing the subject of the email before they forward it. They could, for example, prefix 'ups' to the subject line of any email that came from<EMAIL_ADDRESS>One could imagine the following config where a user configures the component to correctly parse forwarded emails from UPS:
mail_and_packages:
  - carrier: ups
    email<EMAIL_ADDRESS>    delivering_subject_lines:
      - "FWD: UPS Update: Package Scheduled for Delivery Today"
      - "FWD: UPS Update: Follow Your Delivery on a Live Map"
   delivered_subject_lines:
      - "FWD: Your UPS Package was delivered"

This config lets the user forward messages that come from UPS, but keep the default behavior for all the other carriers. And I think it's fair to assume that if the user is willing (and knows how) to set up the config this way, then they'd also be willing to take on the risk of having to update the carrier configs themselves if the carriers were to change their email structure.
I'm, admittedly, not very familiar with the code base, but I imagine not much of the core logic would change. It would just require pulling values from the configuration and accepting the default if nothing is specified in the config.
Also, I just want to add a thank you for putting in the time on this project! It's super useful to me and many others, I'm sure.

Technically you could just as easily modify the const.py file to make those adjustments.

You certainly could. But to do that, you'd have to fork the project, and it would take a little extra work to keep the fork up to date with the main branch. My plan was to do something like that, but it seemed like others might benefit from having exposed that functionality as a feature through the config, so I thought I'd reply here first.

The goal is the keep it simple really, and the integration uses config flow, no yaml config, and the honestly simplest path would be to have the email going to a 'Home Assistant' mailbox and then forwarded to your main email from there.

Keeping it simple makes sense to me. I'm not sure forwarding from the Home Assistant mailbox completely fixes the problem though, due to Amazon only sending to the account email.
I think keeping it simple is a valid rule this change would break, so I agree for that reason that this change likely doesn't belong in this project.

Setting the shipper email to a HA email account works great for dedicated shippers. I do this already.  (I then POP it over to my personal) .  Where this breaks is Amazon which is the unique case of an identity provider, retail storefront, media services, and shipper all in one. Since it is not feasible to change the Amazon email account info, the choice comes down to not using Amazon tracking or opening up a potential security issue with personal account access. As Walmart and other heavy weights start to replicate this model, I imagine this will also be an issue for them as well.
The original email headers are still contained MIME header.   So if it is an issue of reliable parsing, the original sender info is usually still there. I can see it adding complexity to the parser (check header if FWD, then check MIME), as well as issues if other email systems that may not keep the headers intact.

I just came across this great integration and would really love to use it!
However, while I trust Home Assistant and its components in many ways, I don't want to give it access to my main mail account. At the same time, like already mentioned, I don't want to or cannot let all my shipping mails be delivered to secondary mail account (especially Amazon).
So this feature is kind of a deal breaker to me and I'll rather look for other solutions even if it means to have some providers in between which support me redirecting my mails to them.
I also wonder why the issue was closed so quickly. I agree that it's not an easy task, but it's technically doable. But having this closed on the day it was opened feels like this feature is not wanted...?


RenderEditable.delete is racy

i suppose this was introduced in https://github.com/flutter/flutter/pull/79973/
when framerate is low, spamming delete key may throw
note: example in code sample exaggerated to achieve low framerate on the emulator. on my redmi note 5 this happens all the time in debug mode even with much more trivial examples

logs
  ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
The following RangeError was thrown during a platform message callback:
Value not in range: 7
When the exception was thrown, this was the stack:
#0      _StringBase.substring (dart:core-patch/string_patch.dart:399:7)
#1      TextRange.textBefore (dart:ui/text.dart:2750:17)
#2      RenderEditable.delete (package:flutter/src/rendering/editable.dart:1119:37)
#3      _DeleteTextAction.invoke (package:flutter/src/widgets/default_text_editing_actions.dart:88:45)
#4      ActionDispatcher.invokeAction (package:flutter/src/widgets/actions.dart:517:21)
#5      ShortcutManager.handleKeypress (package:flutter/src/widgets/shortcuts.dart:366:36)
#6      _ShortcutsState._handleOnKey (package:flutter/src/widgets/shortcuts.dart:708:20)
#7      FocusManager._handleRawKeyEvent (package:flutter/src/widgets/focus_manager.dart:1678:43)
#8      RawKeyboard._handleKeyEvent (package:flutter/src/services/raw_keyboard.dart:682:69)
#9      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:73:49)
#10     BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:72:47)
#11     _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:284:33)
#12     _invoke3.<anonymous closure> (dart:ui/hooks.dart:223:15)
#16     _invoke3 (dart:ui/hooks.dart:222:10)
#17     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:520:7)
#18     _dispatchPlatformMessage (dart:ui/hooks.dart:90:31)
(elided 3 frames from dart:async)
════════════════════════════════════════════════════════════════════════════════════════════════════

code sample
import 'dart:math';
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  List<double> list;

  @override
  void initState() {
    super.initState();
    _update();
  }

  void _update() {
    setState(() {
      list = List.generate(10000, (index) => Random().nextDouble());
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'System nav back button bug',
      home: SafeArea(
        child: Scaffold(
          body: Center(
            child: Column(
              mainAxisSize: MainAxisSize.min,
              children: [
                TextField(
                  onChanged: (_) {
                    _update();
                  },
                ),
                Expanded(
                  child: ListView(
                    children: list
                        .map((el) => ListTile(title: Text(el.toString())))
                        .toList(),
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 2.1.0-13.0.pre.574, on Microsoft Windows [Version 10.0.19041.867], locale ru-RU)
    • Flutter version 2.1.0-13.0.pre.574 at c:\dev\src\flutter
    • Framework revision 02efffc134 (33 hours ago), 2021-04-10 03:49:01 -0400
    • Engine revision 8863afff16
    • Dart version 2.13.0 (build 2.13.0-222.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\danya\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.55.1)
    • VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft Windows [Version 10.0.19041.867]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 89.0.4389.114
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 89.0.774.63

• No issues found!

https://user-images.githubusercontent.com/39104740/114315386-74b49480-9b07-11eb-9578-881cc91c6307.mp4

Hi @nt4f04uNd
Thanks for filing the issue, I can confirm it as regression

flutter doctor -v
[✓] Flutter (Channel master, 2.1.0-13.0.pre.574, on Microsoft Windows [Version 10.0.19042.870], locale en-US)
    • Flutter version 2.1.0-13.0.pre.574 at C:\Users\Taha\Code\flutter_master
    • Framework revision 02efffc134 (2 days ago), 2021-04-10 03:49:01 -0400
    • Engine revision 8863afff16
    • Dart version 2.13.0 (build 2.13.0-222.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31112.23
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin version 55.0.5
    • Dart plugin version 211.6693.108

[✓] VS Code (version 1.55.1)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • RMX2001 (mobile)  • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • Windows (desktop) • windows          • windows-x64    • Microsoft Windows [Version 10.0.19042.870]
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 89.0.4389.114
    • Edge (web)        • edge             • web-javascript • Microsoft Edge 89.0.774.68

! Doctor found issues in 1 category.

cc @justinmc

CC @LongCatIsLooong

This is a known issue (and predates #79973) I think.
RenderEditable can't handle 2 key events well in the same frame. Reading the plain text (or the selection) from RenderEditable (which represents the TextEditingValue from the previous frame), and directly overwriting TextEditingController.value is dangerous.
RenderEditable should probably never directly talk to the text editing controller.
I'm considering exposing a widget that has a TextSpan builder (like what we have in TextEditingController) and an onChanged field (somewhat similar to _Editable but I think it would be nice to make it a public class), to avoid direct communication between the controller and RenderEditable, and also fill the missing link of TextSpan <=> TextEditingValue conversion.

@LongCatIsLooong Is this one fixed? Looks there have been some PRs submitted for this one.

Looks like RenderEditable.delete is gone. I suspect we still have the same kind of problems in RenderEditable but we should be able to close this one.


Benchmarking guide

Signed-off-by: Andy Grove<EMAIL_ADDRESS>This PR adds a new benchmarking guide.
This closes https://github.com/NVIDIA/spark-rapids/issues/794
Note that this doc will need updating with instructions on using spark-submit to run the benchmarks once https://github.com/NVIDIA/spark-rapids/pull/904 is merged.

build

build


Describe the solution you'd like
Implement the getContributors()  function using the GitHub API get the list of contributors of a particular repository
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context (Optional)
Add any other context or screenshots about the feature request here.

Can I go ahead with this?

Can I go ahead with this?

Can I go ahead with this?

Go for it @meta-boy

@C-Harshul Can you clarify how I would get input (repo name and account name)? Or should I not be bothered about it and just write the function.

It will the the repo that the user chooses from the search page. That part hasn't been done yet so maybe for now just add a temporary parameter which would change based on what the user chooses.

It will the the repo that the user chooses from the search page. That part hasn't been done yet so maybe for now just add a temporary parameter which would change based on what the user chooses.

Yes for now it's hard-coded, also can you check the PR and merge it if its fine? I switched to TabBarView in homepage for performance reasons so it'll be better for others to work with.


How to annotate attribute of multiple continuous frames in track mode?

I have a task to annotate the behavior of person in video. I annotate the behavior of person as a attribute. I must annotate the attribute every frame, It takes me lots of time. Is there a way to annotate attribute of multiple continuous frames at once in track mode, for example:
frame 1-100, behavior of  person 1 is sitting
frame 100-200, behavior of person 1 is standing

Hi, you need to create a label with mutable attribute (I think select type will be ok for your case) and use tracks, i.e. :
go to 1 frame and set attribute to sitting
go to 100 frame and set the attribute to standing
https://openvinotoolkit.github.io/cvat/docs/manual/basics/vocabulary/

@xqfone070 Please provide exact steps to reproduce your issue


README needs a project description

Add a few words at the top of the README explaining what this is (a demo or example) and what it does, so that a user finding the repo without any other context can understand where they are and what they've found! Add a link to sign up with Aiven (use some query params as well so we know it's your GitHub project driving all the traffic! e.g. https://console.aiven.io/signup?utm_source=github&utm_medium=organic&utm_campaign=k8s-logging&utm_content=signup) and mention the free trial.
When we publish the blog post related to this repo, add a link to that too.

@lornajane Thank you for opening this as otherwise I would forget.
I added the description and links to Aiven. I will leave this open until the blog is created so I can create a link to it.


Music Key

Hi,
My Android Play Music has just been updated and now includes Music Key music videos. You have the option now to play or queue the song or the video. Pretty sweet actually. I know it is hot off the press, but do you think it will be possible to get this added?

Returning links in track metadata might be all we need, actually.


Always call the resource limiter for memory allocations

Previously the memory64 support meant that sometimes we wouldn't call
the limiter because the calculation for the minimum size requested would
overflow. Instead Wasmtime now wraps the minimum size in something a bit
smaller than the address space to inform the limiter, which should
guarantee that although the limiter is called with "incorrect"
information it's effectively correct and is allowed a pass to learn that
a massive memory was requested.
This was found by the fuzzers where a request for the absolute maximal
size of 64-bit memory (e.g. the entire 64-bit address space) didn't
actually invoke the limiter which means that we mis-classified an
instantiation error and didn't realize that it was an OOM.

Sure happy to add a test! FWIW this didn't panic before, it was still correctly handled, Wasmtime just didn't send a request to the ResourceLimiter which meant we'd otherwise have to parse error mesages while fuzzing which I'd prefer to avoid doing if possible


Port to firefox

Hi. I would like to build and port it to firefox, if you don't mind, I would like to release it with all the reference to your original repo.

That suits me fine, thank you! 🙇♀ I've taken to using Safari myself recently over Chrome, so I definitely support expanding to more browsers.
If you learn anything while developing the Firefox version that you think could improve this Chrome extension, feel free to let me know via an issue. You're welcome to open a PR to port over any learnings, too, if you'd rather!


[Bug]: Creating WindowsDriver with AppiumOptions throws exeption

Description
Could not create WindowsDriver to start session with Windows applicaction. The code below throws exception: "OpenQA.Selenium.WebDriverArgumentException : Bad capabilities. Specify either app or appTopLevelWindow to create a session"
Environment
Windows, Desktop
Appium.WebDriver" Version="5.0.0-rc.2"
Details
It works with version 4.4.5
Code To Reproduce Issue
var appiumOptions = new AppiumOptions
                    {
                        App = "Notepad.exe",
                        DeviceName = "WindowsPC",
                        PlatformName = "Windows"
                    };

var driver = new WindowsDriver(new Uri(WindowsApplicationDriverUrl), appiumOptions);

Try to add 'automationName' capability as well

Try to add 'automationName' capability as well

It still does not work.

If you are trying to use this client without Appium itself then it won't work as WAD does not support the W3C protocol.

But it worked with version 4.4.5 🤔

Which appium version are you using?

WinAppDriver v1.2.1 but also tried v1.3

I meant appium server driver

Yes, using Appium instread of WinAppDriver directly resolved that problem.
However, I got stuck with other issues for now e.g. https://github.com/microsoft/WinAppDriver/issues/1886
Thanks for help!

@Pegieo, Can I close this issue?


Add new required permission to Microsoft Graph Search API

Hi @yiwenwang-ms, we do not edit the permissions files directly through this process. We receive the files (v1.0 and beta) from a different team that scraps the permissions from the Microsoft Graph docs and hands them over to us to update here. If your permissions are in docs then they will eventually get here, since we update the files frequently (at least once a week). If it's already in the docs and you can't see it in GE, you can let us know so that we request for an updated file and update it here for it to reflect in GE.

Hi @irvinesunday, thanks for taking your time to review the PR. Have one question if you able to answer, do you have any sample for where I can add these permission in docs repo? I think you are saying https://github.com/microsoftgraph/microsoft-graph-docs. But still not find a suitable place to replace it.

@millicentachieng are you able to point @yiwenwang-ms to where in the microsoft-graph-docs repo permissions can be updated?

The permissions table in this file needs to be updated. Here's the link to the file on GitHub https://github.com/microsoftgraph/microsoft-graph-docs/blob/main/api-reference/v1.0/api/search-query.md.

The permissions table in this file needs to be updated.
Here's the link to the file on GitHub: https://github.com/microsoftgraph/microsoft-graph-docs/blob/main/api-reference/v1.0/api/search-query.md.

Help a lot! Thank you very much!


trying out loading non lazy modules with loadChildren

Hi Deborah,
I watched your talk on youtube yesterday and gave loadChildren a try.  It's not working for non-lazily loaded modules.  I made the code change in my forked branch, after you build it with aot or prod mode and serve it; and when you click on the movie list.  You will see
``
main.440ba87a312053b1a4a8.bundle.js:1 ERROR Error: Uncaught (in promise): Error: Runtime compiler is not loaded
Error: Runtime compiler is not loaded
at wt (main.440ba87a312053b1a4a8.bundle.js:1)
...
I have opened an issue here: https://github.com/angular/angular/issues/21170

Do you know if loadChildren for non lazily loaded modules was ever supported in angular-cli?

I'm not sure that you meant to ... but you committed these changes to my project, not your branch.
I just tried this code again (with your changes for non-lazy loaded children), and it is running fine for me.
Have you tried stopping and restarting npm start?
Did you make any other changes to use any other command that would make it different from my experience?

Thanks for looking into this.  The commit might be a github thing.  What I did is that I forked your project to my repo and did a commit there: https://github.com/dereklin/MovieHunter-routing/tree/loadChildren-non-lazy-modules
If you look over there you see 29 commits (1 is mine): https://github.com/dereklin/MovieHunter-routing/commits/loadChildren-non-lazy-modules
I think you would need to accept my pull request to get my commit to your project.  I created the pull request to show the difference only.  Please don't accept it.
I am not an expert in git.  I apologize if I made any mess.
To see the problem I am describing.  You need to run this using the code from my branch:
ng serve --prod

When you go to http://localhost:4200 the site shows up as expected.  Click on Movie List, you will see these errors:
RROR Error: Uncaught (in promise): Error: Runtime compiler is not loaded
Error: Runtime compiler is not loaded
    at we (main.e379cc6b503ad7dea3d2.bundle.js:1)
    at e.LMZF.e.compileModuleAsync (main.e379cc6b503ad7dea3d2.bundle.js:1)
    at t.project (main.e379cc6b503ad7dea3d2.bundle.js:1)
    at t._tryNext (main.e379cc6b503ad7dea3d2.bundle.js:1)
    at t._next (main.e379cc6b503ad7dea3d2.bundle.js:1)
    at t.E9/g.t.next (main.e379cc6b503ad7dea3d2.bundle.js:1)

May I ask why you don't want to use lazy loading? (I really only showed the loadChildren with the first syntax as a learning path to get to lazy loading.)

In my case, My feature1 and feature2, etc, all need some session info from the server.  To get the session info, I write an resolver for them.  But since they are the same resolver, I don't want to resolve multiple times.
So I put them into CoreModule.  So now Feature1 and Feature2, etc become children of CoreModule.  I can now resolve the session info only once in CoreModule.
So My AppModule loads CoreModule first, and CoreModule loads the others.
I don't want to lazily load CoreModule.
I was importing CoreModule in AppModule in my code.  And then I saw your talk about using loadChildren for non-lazily loaded modules.  That was new to me and I gave it a try.  And that's how and why I reached out to make sure I am not missing anything.

Great idea for sharing a resolver!
When I've used this technique it was only temporary and we always moved to lazy loading before production, so I didn't know that it wouldn't work in a production build. And when I built this talk it seemed like a great way to "step up" to the syntax for lazy loading.
After my talk one of the googlers suggested I remove that part of the talk. Now I know why. :-)
Since your message I've been doing some research on the issue and found a suggestion here: https://github.com/angular/angular-cli/issues/4192#issuecomment-274775116
It uses the lazy loaded syntax yet due to the function doesn't actually lazy load. You could give that a try.

Thanks for looking into this.
I guess the short answer is loadChildren can't be used with eagerly loaded modules for now.
I read through the comments and it seems the workaround you pointed out is no longer working.
In my case, I'll just import my CoreModule into my AppModule to eagerly load it.
In my case, CoreModule is basically my whole app.  I can lazily load some routes inside it, but I don't want to lazily load everything.

Thank you for notifying me about this. It is definitely going to be removed from this talk if I give it again in the future!
I'm closing this item.


Experimental models link broken

The link mentioned in the Readme to experimental models seems broken or with restricted access: https://github.com/Helsinki-NLP/Opus-MT-train/tree/master/work-spm/models

Good catch. I didn't update that list for a long time and decided to remove those sub-directories to make the repository a bit more easy to handle. Is there a specific model that you would need?

I was wondering if there was a German-Slovak model.

I can check but I could also start a job to train one. Maybe a German --> Czech + Slovak would be a good choice?

Thanks, that would be great! I'm not an expert on these languages but I believe this combination makes sense.

@erickrf: I have uploaded a model for de-sk now: https://object.pouta.csc.fi/OPUS-MT-models/de-sk/opus_transformer-align_2022-02-19.zip. The multilingual model with Czech is still running. More info about the de-sk model is here: https://object.pouta.csc.fi/OPUS-MT-models/de-sk/opus_transformer-align_2022-02-19.yml

Thanks! How can I create a huggingface transformers configuration from the checkpoint? Is it by the way much less efficient than using Marian directly?


Verification of stop/start GPS buck

Do a simple script. Verify the internal pull-up/down.

Done with a simple script called: Test_GPS_Buck_U4_Psoc


add support for functions having other functions as properties

For example the AxAssets widget service is a function itself, but additionally has three other functions as properties. It should be possible to have it documented that way.
In particular the @return tag is ignored for types.

Implemented on master (v2.0.0).


ci: E2E github action

This PR adds a E2E github action that will run on PRs to main branch.

cc @devigned


Fix fairseq-generate score printing (fixes #2355)

I think .format() should be added to the return line as the latest sacrebleu.corpus_bleu() now returns an object not a string

Any updates on this?


Support for Nitter?

Could it be possible to add a domain name and path for Nitter links, for those of us who avoid the main Twitter interface please?

good point, maybe under /n or n.fxtwitter.com

You can now set a custom base_redirect to automatically redirect incoming fxtwitter.com links to nitter.
https://fxtwitter.com/set_base_redirect?url=https://nitter.net
Note: At the time of writing this, nitter.net is down. But you can redirect it to another instance if you prefer.


BUG[Stage]: Request Individual Signature API throws 502 Internal Server Error

Steps:

Have a Github repo with EasyCLA enabled.
Login with a github user and create PR.
The PR is gated, click on the cross mark and click on 'Proceed as an Individual Contributor' button
Open the Developer Tool and check the Network tab

Actual Result: The request individual signature API throws 502 error
Expected Result: Error should not be thrown and user should be able to proceed to sign the ICLA.

related to #2035

Should be resoled now.

@dealako @wanyaland Verified on Stage and its working fine now. Thanks!
Screenshot from 2020-11-03 13-08-01.png


render static placeholder without edit mode

I think it makes sense to add an option to the static_placeholder tag to render the placeholder without the edit capabilities, in other words disable the edit mode for this one static placeholder.
@yakky @mkoistinen  thoughts ?

What would be the use-case?

Probably a permission based approach is more sensible here, if I understand correctly the underline use case

well the use case at the moment is we use the static placeholder to render a menu bar (completely customized) and we display this menu in mobile and desktop and so need to render this static placeholder twice in the same template but on different html containers (one hidden by default), problem is that on edit mode both static placeholders will render the toolbar thus causing conflicts and results in neither of the two being modifiable.

Looks like a valid use-case to me

@ojii @evildmp what's your opinion?

It's easy to switch off front-end editing for a CMSPlugin. Give the frontend_edit_template the same value as the render_template. Probably this makes changes to the placeholder redundant.

use case sounds sane.

We already have a related capability with {% render_placeholder ... as ... %}, this allows us to render a placeholder to a var, which can then be displayed without edit capabilities. Can this not be used?

I think this is about static_placeholder. Also render_placeholder ... as disables edit mode?

Yes this is about static_placeholder and afaik render_placeholder ... as does not disable edit mode :)

I'm pretty sure it does. And I think this should be implemented in a consistent manner manner.

We've exactly the same use case as described in https://github.com/divio/django-cms/issues/3757#issuecomment-70160006 .
My current workaround is to just hide the second instance for logged in users. This is surely not the right thing to do in every case, but maybe it will help somebody else stumbling on this:
{% if not request.user.is_authenticated %}
  {% static_placeholder "main-navigation" %}
{% else %}

    Due to a bug this navigation is only visible when you're
    not logged in.

{% endif %}

It's easy to switch off front-end editing for a CMSPlugin. Give the frontend_edit_template the same value as the render_template. Probably this makes changes to the placeholder redundant.

Side note; this advice is marked as deprecated in v3.4 :
          warnings.warn(
                "Attribute `frontend_edit_template` will be removed in django CMS 3.5",
                PendingDeprecationWarning
            )

FWIW here's my eventual solution: I figured that the render_placeholder does have a editable attribute but I couldn't overwrite it from the template level, I ended up having a separate render template tag that disables editing:
from cms.templatetags.cms_tags import RenderPlaceholder
from django import template

register = template.Library()

@register.tag('render_placeholder_noedit')
class RenderPlaceholderNoEdit(RenderPlaceholder):
    """
    Render the content of the plugins but without editing functionality.
    """
    name = 'render_placeholder_noedit'

    def _get_value(self, context, editable=True, **kwargs):
        return super(RenderPlaceholderNoEdit, self)._get_value\
            (context, editable=False, **kwargs)

# template
{% render_placeholder_noedit "placeholder_name" language "en" %}

Thank you very much for your contribution to the django CMS project. The django CMS project has recently joined forces under the banner of the newly founded django CMS Association to revive the development of django CMS. For this reason we have analyzed all pull requests and issues in detail and decided which ones fit the product vision we want to go with django CMS.
Due to the age of this issue we are unable to safely accept the contribution. If you feel this issue is still required please inform a member of our technical committee<EMAIL_ADDRESS>Nevertheless we thank you for your participation and would like to emphasize that we do not want to discourage you in your contribution to the django CMS project. On the contrary, we encourage everyone who is interested in the success of django CMS to join us!
If you want to learn more about the work of the technical committee, our product vision and how you can become a member of the dCA, you can find all information here:

The Technical Committee of the django CMS Association
Technical Roadmap and Product Vision for django CMS
How to become a member of the django CMS Association

We are looking forward to every companion who would like to shape the future of django CMS together with us!
If you have any questions, feel free to reach out to Nicolai, our Community Manager<EMAIL_ADDRESS>Sign up for the Association now!


DeviceChan silently fails if there is an error during EpollWait

Specifically these lines in monitor.go are the problem:
			// Poll the file descriptor
			nevents, e := unix.EpollWait(epfd, events[:], epollTimeout)
			// Ignore the EINTR error case since cancelation is performed with the
			// context's Done() channel
			errno, isErrno := e.(syscall.Errno)
			if (e != nil && !isErrno) || (isErrno && errno != syscall.EINTR) {
				return
			}

So if there is ever an error, this loop is terminated silently. I believe I'm seeing this happen occasionally in the field because suddenly udev events are no longer captured, even when I can see them with udevadm
@jochenvg I have a non-invasive fix if you give me permissions to create a PR for the repo. I don't have a solid verification of the fix because the problem itself is so spurious, but I did programmatically instigate an error and was able to recover.

@jochenvg I understand this repo doesn't have much activity, so I'm just giving you a heads up that if I don't hear anything by Monday, I'm planning to fork this repo (at least temporarily) and put my fix in the new repo. I'd prefer not to do that, but I just have to get a fix implemented pretty soon.

Happy to merge a PR @jeffadamsc

@jochenvg could you make me a contributer so I can push a branch and create the PR?

Apologies for the delay. Had a stomach bug.
https://github.com/jochenvg/go-udev/pull/11


Save and load auto white balance settings

Required Info

Camera Model
D435

Firmware Version
pyrealsense2.version = "<IP_ADDRESS>73"

Operating System & Version
Ubuntu 18.04.3 LTS

Kernel Version (Linux Only)
5.4.0-58-generic

Platform
PC

SDK Version

Language
python

Issue Description
In our project we want to have an ability to save settings set by auto white balance and load them afterwards to accurately set previous white balance state in new conditions. We tried to do this using the following approach with librealsense for python:
# auto white balance
rgb_camera.set_option(rs.option.enable_auto_white_balance, True)
sleep(8)
rgb_camera.set_option(rs.option.enable_auto_white_balance, False)
wb_value = rgb_camera.get_option(rs.option.white_balance)
# snap frame

# set white balance settings
rgb_camera.set_option(rs.option.white_balance, wb_value)
# snap frame

Unfortunately, this approach gives incorrect results:
auto white balance

manually set white balance

We would be most grateful for your support.

Hi @BobrG  As the current value of RGB auto-exposure cannot be read whilst auto-exposure is enabled - as described in https://github.com/IntelRealSense/librealsense/issues/7267#issuecomment-688295655 -my expectation would be that the same is true for trying to read the RGB auto white-balance value (though I do not have a documentation or reference source to confirm this).
In the same way that setting a manual exposure value automatically disables auto-exposure, setting a manual white-balance value will disable auto white-balance automatically.

Hi @MartyG-RealSense Thank you for your answer! Actually, I wanted to know is it possible to copy the parameters that were set by a device after auto-white-balance property was activated, save this parameters and apply them after the auto-white-balance setting was turned off?
In our setup we want to tune camera parameters for specific lighting conditions using auto-white-balance, fix and use this parameters for other lighting conditions for a long period of time but in case our RealSense device requires reconnection from the machine it sets all the parameters to the default so we have to repeat the tunning again. We would like to have an ability to save and load this parameters to address the issue.

There is a camera metadata parameter called RS2_FRAME_METADATA_WHITE_BALANCE, so potentially you could read the white-balance metadata a single time after auto white-balance is activated and store the retrieved value in a custom-named variable, such as last_white_balance for example.
I could not find a specific Python example for retrieving RGB white-balance from metadata, but a script provided in the link below may be modifiable for that purpose.
https://dev.intelrealsense.com/docs/high-dynamic-range-with-stereoscopic-depth-cameras#section-2-4-manual-vs-auto-exposure
I believe that it would need the line sensor = profile.get_device().query_sensors()[0] to have the '0' in the end brackets changed to '1' to access the RGB sensor instead of the depth sensor.
The ir definition to access the infrared frames could potentially be changed from this:
ir = frames.get_infrared_frame(1)
to:
color = frames.get_color_frame
References to ir. in the next couple of lines at the bottom of the script would then have to be changed to color.

An alternative approach would be to pick a fixed white-balance value and create a json camera configuration file to store the value in, and then load that json file after the reset to apply the custom value to he white-balance setting.

@MartyG-RealSense I have tried your first proposed approach, but it frames.supports_frame_metadata(rs.frame_metadata_value.white_balance) returns False and as I understood in my case device supports only metadata parameters described here https://github.com/IntelRealSense/librealsense/blob/master/unit-tests/live/options/test-rgb-options-metadata-consistency.py ; Also, I didn't find how can I load the metadata that was set for specific state.
regarding the second option with json file -- do you mean that I should follow the approach from this file https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/python-rs400-advanced-mode-example.py ?

There is a Chinese-language article at the link below where another RealSense user was using Python to check the status of metadata parameters such as white balance and also found that it could not be read.
https://www.codetd.com/article/8653498
I have attached an English translation of the article below as a PDF document.
white-balance-metadata.pdf
In regard to loading a json: whilst python-rs400-advanced-mode-example.py can be used to load a json, a simpler approach may be the Python script shared by a RealSense user at https://github.com/IntelRealSense/librealsense/issues/6075#issue-582592683 that allows the loading of a specifically named json filename, such as 'Custom.json'.
Another approach to loading a json with a specific filename is at https://github.com/IntelRealSense/librealsense/issues/6902#issuecomment-793433287

@MartyG-RealSense I have tried to check json files that can be saved via realsense-viewer, I suppose the situation is save for python wrapper.  Then I set auto white balance on, some tuning happens but after I save new json file I see that it is equal to the previous one, no parameter was changed. So I am afraid that saving and loading json files through Python won't work as well, or I am incorrect?

I tested json saving and loading thoroughly with the RealSense Viewer and also had problems with setting the status of Auto White-Balance.  So let's try setting the status with Python code instead.

import pyrealsense2 as rs
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)
profile = pipeline.start(config)
color_sensor = profile.get_device().query_sensors()[1]
color_sensor.set_option( rs.option.enable_auto_white_balance, False)

@MartyG-RealSense yep, this code sets the auto white balance mode off, however this is not what I have troubles with. I need to save the white balance value which was set by auto white balance. However this value doesn't change in the metadata nor in the json no matter is auto mode on or off. It only changes when I set it with set_option but I don't want to do it by hand while there is this auto mode.

I extensively researched the subject further but the available options to create such a mechanism seem to me to be limited.  The best idea that I had was to use the json serialize function to write a json file containing the current settings (similar to how the RealSense Viewer can export a json during active streaming) and then load that json file back in to your program to apply the snapshot of the configuration that was taken at the moment of serialization.
The SDK's Python example Advanced Mode program python-rs400-advanced-mode-example.py has a code block about this:
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/python/examples/python-rs400-advanced-mode-example.py#L71-L74

Hi @BobrG  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.

@MartyG-RealSense after following the approach with saving and loading json file with camera parameters, we didn't manage to restore camera state with white balance which is set by auto-white-balance setting. I wanted also to add here that it is not possible to obtain the same image by manual tuning the white balance parameter, not by set_option method, not through advance_mode and json, not by realsense-viewer. White balance tuning gives either purple, blue, or orange image or smth in between but it is not similar to an image obtained after turning on the auto white balance option.
Regarding this issue, we now have another question -- can we get some clarification, what do such parameters from json as aux-param-colorcorrection* mean for the camera? we found that they might affect the white balance manual tuning but we cannot understand how can we tune them to improve the quality of image.

Color correction can be used to remove the IR dot pattern on the D415 camera model, as described in the section of Intel's camera tuning guide linked to below.
https://dev.intelrealsense.com/docs/tuning-depth-cameras-for-best-performance#section-use-the-left-color-camera
Color correction is typically not referred to other than for the purposes of IR pattern removal.
In general, Advanced Mode parameters are not documented by Intel because they interact with each other in complex ways and so Intel chose to control them with machine learning algorithms instead.  RealSense users are free to perform experimentation with Advanced Mode settings to see how it affects the image though.

@MartyG-RealSense and can we get description for all the parameters of the advanced mode? We want maybe to understand what else can be tuned to obtain a correct white balance manually.

There are no plans to create descriptions for the Advanced Mode parameters.  The vast majority are never used manually by RealSense users.
As a general rule, decreasing the white balance setting below its default value shifts the color tinting of the RGB image towards the blue range, whilst increasing it above the default brightens the image and makes the colors more intense (for example, a pale red becoming an intense red like a rosy apple).
Below are examples of low white balance (blue tinted) and high white balance (warm colors).

Okay, and why is it then auto-white-balance can achieve the correct white balance quality and manual setting gives this blue or pink colors depending on decreasing or increasing?

@MartyG-RealSense and what other parameters from advanced mode can possibly contribute in the quality of white balance?

If you are experiencing a pink shade when manually increasing white balance above the default (for example, 5260 like the image below) then I wonder whether it is because of low lighting conditions in the location that the camera is in.  This image was taken around 2.45 pm.

Here is the same scene at 2.45 pm correctly colored with auto white-balance enabled.

As the white balance setting's value does not visibly update when auto white-balance is enabled, it is not possible to see what values are updating to produce the correctly colored image when auto white-balance is enabled.
As Advanced Mode is part of the stereo depth options, as far as I am aware the RGB image would not be affected by changes to Advanced Mode, and so white balance would not be affected as it is an RGB option.

Hello! I am working with @BobrG on the issue, and I would like to clarify what problem we're facing. On our rig, we use a white calibration board for white balance setting. The lighting in the room is fully controlled by us, it has no windows or other auxiliary light sources. We have chosen an area on the image on which we were evaluating the Color of the board as seen by the RealSense. After the automatic white balance setting, the R, G and B values were very close to each other (not more than 10 points difference between channels), that meant that the RealSense managed to achieve good white. After that, we iterated over all values of manual white balance while evaluating the very same area on its color, using the distance to the grey line (r=g=b) as a metric to evaluate the quality of setting. However, even the best result during this iteration was much worse than the automatic one (more than 30 points difference in one of the colors). Because of this, we are looking for the ways to improve the results by changing other available options. The problem with automatic white balance is that it cannot be saved between sessions, and it is crucial for our experiment that all the settings remain exactly the same. Is there any information on what other parameters are changed during the automatic white balance setting, that we can also alter to get the same results manually?

Hi @pkarpyshev   I researched your question deeply.  Whilst I could not find a conclusive answer, my best guess from a careful analysis of the SDK code and official documentation is that when auto white-balance is enabled, it is checking the auto white-balance temperature (measured in Kelvins) to determine the appropriate color temperature value to use.
Auto white-balance temperature is a metadata attribute that can be accessed with RS2_FRAME_METADATA_AUTO_WHITE_BALANCE_TEMPERATURE
Line 67 of a script at the link below provides an example of accessing this metadata attribute.
https://www.programmersought.com/article/72064349875/
auto_white_balance_temperature = frame_metadata_value.auto_white_balance_temperature


Support for AWS session tokens broken

Report
Support for AWS session tokens (introduced in #2573) was inadvertently broken in https://github.com/kedacore/keda/commit/1d6d0f100d06e9fdb1e42275fc1e03160af09a72, when credentials.NewStaticCredentials(metadata.awsAuthorization.awsAccessKeyID, metadata.awsAuthorization.awsSecretAccessKey, metadata.awsAuthorization.awsSessionToken) was replaced with credentials.NewStaticCredentials(metadata.awsAuthorization.awsAccessKeyID, metadata.awsAuthorization.awsSecretAccessKey, ""). This prevents AWS scalers from authenticating to AWS when session tokens are in use.
Expected Behavior
AWS scalers should function as expected.
Actual Behavior
KEDA fails with the following event text: InvalidClientTokenId: The security token included in the request is invalid. status code: 403
Steps to Reproduce the Problem
Attempt to use an AWS scaler (e.g. the SQS scaler) with AWS credentials that require session tokens, with the awsSessionToken field set as expected.
Logs from KEDA operator
No response
KEDA Version
2.10.1
Kubernetes Version
None
Platform
Amazon Web Services
Scaler Details
AWS SQS
Anything else?
No response

See https://github.com/kedacore/keda/pull/5155 (draft) for fix.

Good catch, thanks!


Script Error client.lua

i have a error in the console:
SCRIPT ERROR: @Cx_RealSync/server.lua:35: attempt to index a nil value (field '?')
ca you please help with this?

Im having the same issue only mine is client.lua:258 same error

The script has been continued here: https://github.com/Cx-Developments/Cx-RealSync-Reborn


Integration Test - Release - 2019/08/01 14:54:57

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@lamebrain : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Dark theme (spacenation edition)] How to change colors in my own custom hud?

How hard would it be for me to change the blues to purples in this HUD?

question was answered on discord
check the plugin's wiki page for more info: https://github.com/melkypie/resource-packs/wiki/Creating-your-own-resource-pack


[ALLUXIO-1575] Replace toUpperCase() and equals() calls with a single…

This is to fix ALLUXIO-1575 where toUpperCase() and equals() calls are replaced with a single equalsIgnoreCase() call in Format.java. Thanks.

Can one of the admins verify this patch?

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9064/
Test PASSed.

LGTM. Thanks for the improvement!


Godot seems to cause coreaudiod to use excessive CPU time.

Godot version:
3.2.2
OS/device including version:
macOS Catalina (10.15.4), 2020 MacBook Air i7 16gb RAM.
Issue description:
Godot seems to cause coreaudiod to use excessive CPU time. This happens even in the project manager and editor which don't need to be using Audio. This is an issues as it causes Godot based software to burn more battery than they need to.
Steps to reproduce:
Just start Godot editor and look at the activity monitor, the coreaudiod CPU usage will jump from 0% to ~10%
Minimal reproduction project:
N/A

On my 2013 Mac Pro, macOS 10.15.4 (19E287), Godot cause some constant (about 1.2%) coreaudiod CPU usage, usage from the typical app playing sound is about 2 - 3%.
Audio I/O processing is started on driver init and is always running. You can disable audio completely by setting audio driver to "Dummy" (--audio-driver Dummy) or in project settings, it this case coreaudiod CPU usage is zero.

This happens even in the project manager and editor which don't need to be using Audio.

The editor uses audio when you play back AudioStreamPlayers in it :slightly_smiling_face:
I agree we should set the project manager audio driver to Dummy though.

Also, it might be helpful to make it easier to disable audio... It's not obvious in the project settings, a simple check box would be nice.

@h5n1xp Due to how audio driver swapping is implemented, I don't think it'd make sense to add a separate checkbox to disable audio.

I have the same problem (Godot 3.2.2, macOS Catalina, version 10.15.6). Why is Godot loading coreaudiod so much when no sound is playing / no audio player is active? It causes the computer to heat up unnecessarily.

@ArdaE Can you try using a profiler?

coreaudiod so much when no sound is playing / no audio player is active?

With the current audio driver implementation, Godot is constantly outputting audio as long as driver is loaded, it's just 0-level if there's no audio stream is active. Probably we should not start output callback loop if there is no active streams, like it's done with the audio capture.
Output callback loop is activated in driver init:
https://github.com/godotengine/godot/blob/aada93afc0ecc699440805ad2574d3e94b7c0abd/servers/audio_server.cpp#L944
instead of stream start:
https://github.com/godotengine/godot/blob/aada93afc0ecc699440805ad2574d3e94b7c0abd/servers/audio/audio_stream.h#L43
Input callback loop is started in the stream start, and stopped when stream is stopped:
https://github.com/godotengine/godot/blob/aada93afc0ecc699440805ad2574d3e94b7c0abd/servers/audio/audio_stream.cpp#L194

Can you try using a profiler?

Profiler won't help much, on the Godot side audio stream usage is negligible, it's coreaudiod daemon usage getting high (probably it depends on specific audio output hardware how high it is, and caused by resampling it's doing).

For anyone who wants to use the --audio-driver Dummy option: Note that the project manager launches a new instance of Godot when a project is loaded, and doesn't forward the audio-driver option to it; so be sure to use the --editor and --path options too in the command line to directly launch the editor for the project you want to open. I.e. skip the project manager; otherwise the audio driver will switch back to the default CoreAudio one when you open your project.

coreaudiod so much when no sound is playing / no audio player is active?

With the current audio driver implementation, Godot is constantly outputting audio as long as driver is loaded, it's just 0-level if there's no audio stream is active. Probably we should not start output callback loop if there is no active streams, like it's done with the audio capture.

I think this is the solution to fixing the bug! Audio is a relatively demanding, no need to start the output if there are no active streams! Well don’t @bruvzg 👍🏻

Assuming audio would be turned off when the last active audio stream ends playing, which would be ideal, it might be worthwhile to add optional manual control over this in consideration for apps that play audio streams intermittently without any ongoing background audio.
This would be especially important when Bluetooth devices are involved, as they tend do turn on and off as needed, and can have a significant delay whenever audio starts getting streamed after some inactive period. Further, operating systems like macOS and iOS enable audio in a smooth way, which ends up cutting off the beginning of sounds if an audio session is not already active at the time audio starts getting streamed.
Therefore it would be ideal for games/apps to be able to activate the audio session when they know sounds will follow soon, and to be able to shut down the audio session when they know they won't need the audio system for awhile.
The manual control shouldn't be the default, as it would add unnecessary complexity for the average user, but should be there for proper control over the sound system for the best user experience.

Would it be reasonable to stop the coreaudio playback stream in the editor only after 15 seconds of inactivity by default? Restarting the playback stream seems like it takes a few milliseconds so I would strongly oppose shutting the stream off without waiting a bit. But I really don't think there's an argument to be made that this is a problem in the editor.
The next question is would it be okay to do the same in an exported game? I don't have strong feelings one way or the other here, but I think it may be worth considering as a configurable option.
I care more about #28039 than this issue but I believe the fix for #28039 will mitigate this issue as well, and @Calinou suggested that they may in fact be the same problem (I have not confirmed this though). If this seems like a reasonable thing to do for the editor I can send out a PR.

I care more about #28039 than this issue but I believe the fix for #28039 will mitigate this issue as well, and @Calinou suggested that they may in fact be the same problem (I have not confirmed this though). If this seems like a reasonable thing to do for the editor I can send out a PR.

If CoreAudio is active the Mac won’t sleep (because MacOS thinks the machine is playing audio), so I agree that these issues are likely  related.

I think it's a good idea to suspend CoreAudio in the editor after ~10-15 seconds of silence, but not in exported projects by default. Those who need CoreAudio suspension in exported projects should enable it with a project setting instead.

Cool, I wrote the fix against the 3.2 branch because that's what I use, but I'll rebase to master after work and create the PR.

Is there some way to set --audio-driver=Dummy for exported projects?
It's a shame to see 6-10% of my CPU get used for nothing when I don't have sounds in some projects.


fixes for task 727398: swagger description update

Once the RP is updated to send the matching Swagger, lets send the PR to azure/azure-cli

@skkestrel @SajayAntony  - I quickly reviewed your updated description strings. Excellent improvements. Couple of small feedback comments:

Response descriptions are better but could have more specifics around what "successful" requests are.
For registryName description, perhaps add detail about requirements (contain letters and numbers only). Do these have to be globally unique, or unique within a subscription?
Description of storage account: Suggest changing the first sentence to "The properties of the storage account for the container registry..."
Please feel free to include me on review of future pull requests with updated description strings.

Thanks for the comments - I wonder about how we should go about registryName. Currently it must be globally unique, but in the future it will need to be unique only within the tenant. Should we just state global uniqueness for now?

Kevin, I recommend documenting the current behavior, then modifying the doc when it changes. Thanks!
From: ☆Kevin<EMAIL_ADDRESS>Sent: Friday, November 4, 2016 10:46 AM
To: AppPlatPerf/azure-rest-api-specs<EMAIL_ADDRESS>Cc: Dan Lepow<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [AppPlatPerf/azure-rest-api-specs] fixes for task 727398: swagger description update (#13)
Thanks for the comments - I wonder about how we should go about registryName. Currently it must be globally unique, but in the future it will need to be unique only within the tenant. Should we just state global uniqueness for now?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAppPlatPerf%2Fazure-rest-api-specs%2Fpull%2F13%23issuecomment-258500745&data=02|01|Dan.Lepow%40microsoft.com|142454d6d0ea41d7492008d404da760f|72f988bf86f141af91ab2d7cd011db47|1|0|636138783716903623&sdata=Wek3F5GvihV8RLCGsU1ylUP4BwujgmCeRSEc9j8tMUY%3D, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAColHRP-HSORsHmmZ8lwwmxWMDwMacuOks5q629fgaJpZM4Ko_RL&data=02|01|Dan.Lepow%40microsoft.com|142454d6d0ea41d7492008d404da760f|72f988bf86f141af91ab2d7cd011db47|1|0|636138783716913622&sdata=R%2FokECnG0OmkFI5Tr1E%2BwQUkcwA3lykAKWGntavFHCE%3D.

Descriptions updated as per previous comments. PR submitted to azure/azure-rest-api-specs: https://github.com/Azure/azure-rest-api-specs/pull/675
Will merge XML description changes (that match these description changes) into the main RP branch when the main PR goes through.

Merged to azure/master, closing.


Custom Shader - detect material.alpha instead of isTranslucent flag?

Right now, when using a CustomShader with ModelExperimental, material.alpha only affects the translucency when CustomShader.isTranslucent is set true in the constructor.
This seems to be non-obvious. Another way this could be addressed is to check for the presence of material.alpha in the shader text (this should already be parsed in customShader.usedVariablesFragment.materialSet and if set, change the pass to translucent. This would replace the check in CustomShaderPipelineStage to something along the lines of this:
  if (materialSet.hasOwnProperty('alpha')) {
    alphaOptions.pass = Pass.TRANSLUCENT;
  } else {
    alphaOptions.pass = undefined;
  }

Note that this would not be able to detect that material.alpha = 1.0 would be opaque since in general the result will be an expression evaluated on the GPU.

Tangentially related (though if this should be its own issue that's fine too), when #10549 fixed the improper handling of translucency in ModelExperimental, it exposed that custom shaders wouldn't work if they resulted in both opaque and translucent colors. We might need to mimic how styling works and use one opaque command and one translucent, with some extra work to avoid drawing opaque / translucent parts in the commands they don't belong to.

The one tricky thing about opaque and translucent for custom shader is it's harder to tell when to apply each, since the final color is the result of user-defined GLSL code (whereas CPU styling can expect a feature color to determine the translucency)
Certainly possible to do the pass filtering with the result, though whether that's a good idea (GPU divergence-wise) probably depends on the user's shader

Certainly possible to do the pass filtering with the result, though whether that's a good idea (GPU divergence-wise) probably depends on the user's shader

That's a fair caveat; if we ever support both opaque and translucent rendering in the same CustomShader we should definitely warn the user about the performance implications.


fix(protocol-designer): fix EditInstrumentsModal issue

Overview
This PR fix some issues in EditInstruments modal.
before
after
close RQA-3275 RQA-3276

Test Plan and Hands on Testing

Changelog

Review requests

Risk assessment

[ ] add a function to cut a specific text from pipette name


Java Frontend: EnumDeclarations do not get any content other than entries

Hello CPG team,
the de.fraunhofer.aisec.cpg.frontends.java.DeclarationHandler ignores the members of enumDecl in the method handleEnumDeclaration, so any new EnumDeclaration does not get any fields, methods, constructors that it may need.
Import statements are also not considered, unlike for records.
I copied and adapted the relevant parts of handleClassOrInterfaceDeclaration (lines ~227-303) over to handleEnumDeclaration, and that seemed to work quite well as a start, but I could not get it to work completely in the end.
I hope you can have a look into it.

Hi :) Thanks for reporting the Issue. I will look into it and find out what the best option is there. I assume you mean in the Java language Frontend?

If you have a specific piece of code that shows the issue I'd love to test it out.

Thanks for that :) if you already have something that is not finished but shows an approach that you would follow you can submit a draft PR and signal what is missing or still not working.

It turned out my approach did work, it was only my test that was wrong. Have a look :)


Use command config for documentation

Removes previously hard coded list of commands from the README.md in favor of a generated docs/commands.md.

👀 @blankenshipz

:clap: :shipit:


GB with or without space?

In some places there is for example "5 GB", but in some places it's "1GB". Not consistent.

Good catch! Personally, I usually do without the space. But I'm indifferent as long as we're consistent.

I'm going to change this to "incomplete". OP, can you be specific about where the discrepancy is?
Just from a quick look, Dell and Apple are both using no space.

886.0 MB (for PC or Mac)
512 MB of system memory (RAM)
5 GB of disk space
1 GB of system memory (RAM)
Begin with a spare USB flash drive with at least 1GB of free space.

officially it should be "1 GB", it also looks more right to me.
http://www.tuaw.com/2010/12/16/32-gb-versus-32gb-almost-everyone-is-writing-it-wrong/

Great article!
I think that this article covers it all and that there should be a space between a number and an unit.

Translators should be notified since the changes were committed.


Revert "fix: Use new ResolveDuplicates when approver is resolving duplicates"

Straight revert of Expensify/App#48522
Fixed Issues

$ https://github.com/Expensify/App/issues/49900
PROPOSAL: N/A
Tests
https://github.com/user-attachments/assets/0d70c53e-f426-4b3e-8092-920994c5fb9b

This is a straight revert

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


KEEP Token Dashboard v1.13.0 release

~Depends on: #2447, #2446~
KEEP Token Dashboard v1.13.0 release branch. This release will bundle the work from https://github.com/keep-network/keep-core/milestone/48?closed=1.

Not sure that this helper text is giving enough context as to what an address is:

Maybe this should read "Enter an Ethereum address to preview its read-only version of the dashboard."
So then it hits the points:

what do I need to put in here (eth address)
what will it do (read-only version of dashboard)
why (preview that eth address's version of the dashboard)

I also wonder if we shouldn't just write this in the modal vs. hiding it in helper text.
@sashatanase thoughts here?

+1 on changing the text to: `Enter an Ethereum address to preview its read-only version of the dashboard.`
Another small nit, it would be great to have the tooltip over above the input instead of over it.

These features are already shipped right? Should be merged in after conflicts are resolved.

These features are already shipped right? Should be merged in after conflicts are resolved.

We do not merge release branches, all fixes should be backported to master separately and master should stay as -pre-version bumped.
The approach is:

We create a release branch, bump up versions there, create PR, the action uploads the code for preview.
We create another PR that increases the-pre version in master.
Once we release, we merge the -pre version bump to master.
We leave the release branch PR until the next version is released. Once we are there, we close the PR without merging and without deleting the branch.


Update tremor to the latest source with modern patches

There has been some development of this library since 2007 when it was ported to PSP. Most notably: using external libogg instead of the bundled one and support for pkgconfig. The master branch however doesn't play nice with modern autotools, but there is a fork sezero/tremor with fixes.

Looks good to me, thanks!


Rename layouts according to their maximum column-widths

☝

I know what you mean, but being so prescriptive as to limit the type of content based on column width feels like too much to me.

@davidpmccormick can we close this in favour of the chats we had?


add places and places2 datasets for real estate use cases

http://places.csail.mit.edu/m.html

defer


Change Unmaintained note to point to new repo.

Updated the note in the readme to point to the librespot-org repo

Please merge this.

@plietar The note would be great to gave, people are still landing here

@plietar

@plietar Please merge this, it would be really useful for people arriving on this page to know which is the successor


How to Add Custom Labels to Sender Pods with K6?

Feature Description
We would like to be able to add arbitrary labels to the sender workloads ( Pods ) generated for load testing by K6. This can be beneficial for cost analysis in specific operation environments. ( ex. GKE cost allocation )
As a reference, the current implementation seems to assign fixed labels to the generated Pods.
app: k6 # given by k8s controller
batch.kubernetes.io/controller-uid: 8f751b6d-a97a-4393-840f-af6c56125c3d # given by job
batch.kubernetes.io/job-name: k6-operator-example01-1 # given by job
controller-uid: 8f751b6d-a97a-4393-840f-af6c56125c3d # given by job
job-name: k6-operator-example01-1 # given by k6
k6_cr: k6-operator-example01 # given by k6
runner: "true" # given by k6

https://github.com/grafana/k6-operator/blob/f737f896054a3ac4918e727e13b044351d058872/controllers/common.go#L38-L40
Is there a way to label the sender Pods using the K6 custom resource manifest? If this operation cannot be natively supported, what workarounds are available?
Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
No response

Hi @GotoRen, sorry for the delay! I believe you're looking for spec.runner.metadata.labels:
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
  name: k6-sample
spec:
  parallelism: 1
  script:
    configMap:
      name: "test"
      file: "test.js"
  runner:
    metadata:
      labels:
        foo: bar

I'm closing this issue for now, but feel free to re-open if needed!

Thank You for your comment ! I'm try it !


[libmysql] add missing find_dependency

The targets INTERFACE_LINK_LIBRARIES contains \$<LINK_ONLY:Threads::Threads>, but there was not find_dependency for this target.
This fixes the build of poco[mysql]

Host Environment：

Ubuntu 22.10
gcc version 9.5.0

Failure logs

configure: WARNING: unrecognized options: --disable-silent-rules
configure: error: 'autoconf-archive' is missing

When i install on linux64 I get the error. Do you have the same error?

configure: error: 'autoconf-archive' is missing

When i install on linux64 I get the error. Do you have the same error?

@jimwang118 No. You must install (at least) the autoconf-archive system package:
sudo apt-get install autoconf-archive

sudo apt-get install autoconf-archive

I installed a warning message locally. Do you think it needs modification?
CMake Warning at installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:314 (message):
  The following variables are not used in CMakeLists.txt:

      BUNDLE_RUNTIME_LIBRARIES
      ENABLE_DOWNLOADS
      LINK_STATIC_RUNTIME_LIBRARIES
      MYSQLX_ADDITIONAL_TESTS_ENABLE
      WITH_NDBAPI_EXAMPLES
      WITH_NDB_NODEJS_DEFAULT
      WITH_NDB_TEST
      WIX_DIR

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  ports/libmysql/portfile.cmake:37 (vcpkg_cmake_configure)
  scripts/ports.cmake:147 (include)

-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /data/mysql/vcpkg/packages/libmysql_x64-linux/share/libmysql/vcpkg-cmake-wrapper.cmake
-- Installing: /data/mysql/vcpkg/packages/libmysql_x64-linux/share/libmysql/usage
-- Installing: /data/mysql/vcpkg/packages/libmysql_x64-linux/share/libmysql/copyright
-- Performing post-build validation
Stored binary cache: "/home/vwangjim/.cache/vcpkg/archives/5a/5ab8e59975e4b77be7c2d8cc851a4ebef74f657fb2216158c08e11ff4cf7757a.zip"
Elapsed time to handle libmysql:x64-linux: 1.848 min
Total install time: 4.363 min
The package libmysql provides CMake targets:

    find_package(libmysql REQUIRED)
    target_link_libraries(main PRIVATE ${MYSQL_LIBRARIES})

@jimwang118 I have added a warning that autoconf-archive must be installed


Disappearing comments in stored procedures

I noticed that when I edit stored procedure (in MariaDB) all comments (begining with #) would disappear.
For me it's a bug.

I can't reproduce that. Comments inside procedure declaration (between BEGIN and END) are saved and loaded fine.
You can't use comments before CREATE operator and after last END (it is server-side limitation).

Well, I can't reproduce that anymore too. I think it can be closed


GH-4482 Replace Datatype IRI to CoreDatatype in AbstractLiteral

GitHub issue resolved: #4482
Briefly describe the changes proposed in this PR:
I replace the IRI by CoreDatatype, I hope it is fine without any test knowing how trivial it is.

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[ ] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits where necessary
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

The fix looks good to me. Given that this is a bug fix could you rebase your fix on the main branch so we can merge it into main instead of develop?

done :)

I understood the issue. It's a good fix. I was just mentioning a possible performance implication, but the alternative is to compare the datatype IRI instead, and that typically results in a string comparison. So I think sticking to CoreDatatype is the best, just like what you have done :)


Add anchor-js

Configure it so that it applies to h1, ..., h6 and similar look and feel as before
Fixes #1100
Signed-off-by: Fabian Rodriguez<EMAIL_ADDRESS>https://user-images.githubusercontent.com/715229/199064363-d74633b0-c4ea-459e-94c8-e1fb3f0ed13b.mov

Thx!


This more of an idea than issue ... SQL

Ever consider a SQL like matcher?
select * from entries where sec='' and amount > 100
or something like that?

Hey @aktxyz thanks for the idea. I did think about a SQL syntax for matching these, but then we'd need to write/import a SQL parser with a custom grammar.  It would also require teaching non-engineering folks how to write SQL. YAML was a lot easier to get started.
Appreciate the suggestion and if you have more questions or feedback let us know!

I had just read somewhere about a company that took unstructured data and stuff into a in memory sql lite ... just so they could run nice queries against it ... and for some reason I thought ACH !
adding a sqlite dependency I am sure is a not starter ... and the few sql'ish go things out there are probably not ready
anyhoo thanks for commenting

I can totally see an ACH warehousing project that allows you to run SQL-like queries across millions of indexed files. That would be really useful!


BZ1241358 SingleSessionCommandService Interceptor stack is lost when …

…rollback

Keep the Interceptor stack and just recreate TransactionInterceptor

Proposal fix. Please review.

fixed it slightly different and added test case. jBPM test case will  be included as well, thanks @tkobayas


settings: Add permission to enforce unique names in realm.

Previously users were allowed to signup or change their names to those which already existed in the realm.
This commit adds an Organization Permission, that shall enforce users to use unique names while signing up or changing their names. If a same or normalized full name is found in realm, then validation error is thrown.
Fixes #7830

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@timabbott Do you want to do the first round of review on this one? Please feel free to reassign.

We'll want to play with the error text, but I don't have an immediate suggestion, so we can do that later.

Did the design thread come to a clear conclusion on what sort of unicode normalization we should be using here?

Yep, as suggested in the #design thread, I updated the pr to follow NFKC normalization.

lgtm aside from https://github.com/zulip/zulip/pull/29265#discussion_r1542011650, DM me when you have that fixed so I can merge this and make it easier for others to rebase their PRs that have migrations to renumber.

I added tests for deactivated user. However, for imported users, I am not sure what's the right way to write tests for it.

I made the tweaks noted above since it was convenient to do while I was doing a pass on it, and have marked this to merge once CI passes. Thanks for doing this @roanster007!
And yeah, it'd be much appreciated to do a pass through your other PRs for these types of little issues -- will save a lot of review time if I don't need to be catching them. :)


Remove shadowed import, rather than shadowing import, in F811

Summary
Today, in F811, if you have code like:
import datetime
from datetime import datetime

We flag a violation on the second line (the line of the redefinition), and the fix we generate is a removal of the second import. In #10387, I removed the fix in these cases, when the imports map to different symbols.
It seems "more correct", though to remove the first import, since the second import is the one that will actually be used in practice. This PR changes that behavior.
However, I'm sure if this is actually correct, because we're now changing code that's far away from the violation itself. There's an example in our test suite that shows why this isn't ideal:
from typing import (
    Sequence  # noqa
)

from typing import (
    Sequence
)

In this case, we'd remove the Sequence  # noqa line, since the # noqa isn't on the line containing the F811 violation. (I'm not really interested in parsing out the # noqa violation from the Sequence  # noqa line, because it risks breaking a bunch of assumptions about how # noqa works.)
Anyway, interested in feedback.

I think this isn't a great idea.


The function fail if the user is not a member of any group

Compare-Object : Cannot bind argument to parameter 'DifferenceObject' because it is null.
At \\domain.name\username\Data\foldername\Get-ADGroupDifferences.ps1:137 char:97
+ ... fferenceObject $CurrentUserGroups -IncludeEqual:$IncludeEqual)
+                    ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Compare-Object], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.CompareObje
   ctCommand

If the user is only the member of Domain users group - as is after the user creation - this group is assigned a primary group. The primary group is not returned by Get-ADUser as a part of MemberOf
More information here:
http://www.thomas-franke.net/about-active-directory-primary-group/

Issue resolved by 3790bc3129f2a4bec9e7da99c4450775c79f4bf0


introduce simulation-equivalence based abstraction

Simulation equivalence based abstractions are in general much less conservative than bisimulation-based abstractions for LTL synthesis as discussed here. Would be nice to change the default abstraction method in TuLiP (which is based on a bisimulation algorithm) with a simulation-equivalence based one.

Implementing new abstraction algorithms is an opportunity to try a different design, using networkx to represent the abstraction itself, as mentioned some time ago https://github.com/tulip-control/tulip-control/issues/62#issuecomment-36207297. The graph is more natural a data structure, especially given than nodes are being created and removed dynamically. I am not in favor of using a sparse matrix anymore, because it involves index-based reasoning.
The runtime is mainly confused in performing concrete operations (linear programming for polytopic reasoning). So, the sparsity shouldn't play an important role, but rather the readability and practicality of the data structure for the task at hand. Only profiling could justify a complicated choice, and still I support dual implementation: a simple, readable, short one used to teach and also to test (possibly) another that is optimized (the latter probably won't be needed).
Also, I recommend not using transys anywhere. If the algorithm is independent of transys, and uses networkx, then it's easy to create a small interface at the boundary, and update that interface in the future, if and when transys is replaced by a simpler version.

I agree that it would be very interesting to have more than one abstraction algorithm and to start generalizing TuLiP (if needed) to allow for that.

done in 19da152d868914da475428839481d64bb6acaadc (namely  dual-simulation)


ci: MVP for our continuous benchmarks

Related

RFC
Related Issues: fixes #000, closed #000
Related docs PR

Checklist

[ ] The RFC, if required, has been submitted and approved
[ ] Any user-facing impact of the changes is reflected in docs.tremor.rs
[ ] The code is tested
[ ] Use of unsafe code is reasoned about in a comment
[ ] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[ ] The performance impact of the change is measured (see below)

Performance

Coverage increased (+0.009%) to 83.819% when pulling 2ba03844582408629da85dd9482b54788a163977 on humancalico:bench-ci into f3d0bc6a5d11097ba1cf4de7a860588aaa5e1a84 on tremor-rs:main.

We've moved to a API triggered model


[FLINK-5151][Documentation] Add discussion about object mutations to …

What is the purpose of the change
Add discussion about whether it is safe to reuse objects for different state backends to state backend docs.
Brief change log

Add discussion in The HashMapStateBackend and The EmbeddedRocksDBStateBackend of state_backends.md.

Verifying this change
This change is trivial without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? no

Thanks for creating the PR. I think we also need to update related chinese documentation.

Thanks for the remind. I have also updated the related chinese documentation.


Use Ruby 2.3.0 on travis

Hmm, this looks good but the test fails. We can merge this after resolving the problem.

Okey, I added the specified patch version.  http://rubies.travis-ci.org/

@tyabe Oh, makes sense. Thank you for the patch!  :christmas_tree:


JDK 7 Support Broken

See build 1 from the external verification project. Compiler configuration is incorrect, and class files have version 52.0.

Fixed with build 2 from the external validation project.


Fix Rendering a page or piece as an HTML fragment example

Fix incorrect use of apo.area instead of apos.area

Thank you for the fix, @Adrien-D