GroupChannel message sender metadata

Hi
I am accessing the metadata of a user in the BaseMessage.message property of each user but this returns an empty map, while if the query is made based on the group channel, members this if it shows me the metadata.
Note: I mean the user metadata for each post, not the channel metadata.

Hi @RicharC293 I'm afraid I understand your situation correctly. Would you please share some code snippet and what you expect to get?

I'm use this code to connect user with server and I set metadata user
https://gist.github.com/RicharC293/1cd483ceae15f37c2fbf185afdae5d52#file-connectuser-dart
In your example code
https://github.com/sendbird/Sendbird-Flutter/blob/master/lib/screens/channel/channel_view_model.dart#L95
Load all messages in current channel
You build all messages in build content
https://github.com/sendbird/Sendbird-Flutter/blob/master/lib/screens/channel/channel_screen.dart#L205
If I try to access that metadata for example
message.sender.metaData ['phone']
This Map gives me empty.
But if I get the metadata from the GroupChannel for example
currentChannel.members.map ((member) => member.metaData) .toList ()
I get the metadata correctly.

I just tested on sample with your scenario, but it works that is I can see sender's metaData is filled with proper data.
Here is what I did,

create metaData on login_view_model.dart (line 28)
send a message in a channel
break at line 255 or around return UserMessageItem(..)
confirm message.sender.metaData is set

Thanks, I was using an old version, I updated it to the new version and all the metadata arrives correctly.


Support for Ixia operator in kne

Hi Marcus,
We have added the kne resource creation / deletion support for IxiaTG nodes.
Thanks,
Anjan

@googlebot I signed it!

Closing this PR, will resubmit with minor update.


Getting Extensions corresponding to primitive and complex data types

In may-2018-ballot IG, there are extensions defined for all the primitive and complex types. For example, http://hl7.org/fhir/us/bci/StructureDefinition/primitive-boolean-extension and http://hl7.org/fhir/us/bci/StructureDefinition/shr-core-CodeableConcept-extension.
Are these necessary? I do see that the CodeableConcept extension is used in http://hl7.org/fhir/us/bci/StructureDefinition/finding-BodyStructurePresent.
No-diff !!

OBE.


Button Segemented Active color not changing text color to white

Framework7 version: 4.0.0
Vue.js version: 2.5
Platform and Target: 'ios'

Describe the bug
when i changing tab the text color active button still color blue not white. so its like   invisible.
Expected behavior
button active text color to white
Actual Behavior
button active text color is blue
Screenshots

by adding this style it solved but still this is still brute force solution.
.tab-link-active{
color: #fff !important
}


Introduces dropdown menu for authenticated users

The menu allows user to click to their profile and log out. It is also a handy indicator that they are authenticated, as it shows the user's profile image, is available.

Made obsolete by https://github.com/solid/mashlib/pull/47.


Update e2e test

The cypress e2e test needs updating to reflect recent form changes.

Linked to #65


"flutter run" doesn't quit when the app is closed on ChromeOS

set up Flutter on ChromeOS
Run flutter_gallery with flutter run from the terminal
Wait for the app to load
Close the app with the X in the corner

Flutter doesn't seem to notice that the app has closed, and flutter run does not terminate.
Same thing happens with the daemon, there's no app.stop sent, so if you close the app this way, it doesn't end the debug session in the editor.

Is this still a valid issue?

I no longer have a Chrome OS device to test this so it may need to be tested by someone else.

This no longer reproduces.


Output ram_resource_share_id

what

Output ram_resource_share_id

why

In case additional principals need to be associated to the ram resource share
At the moment, if var.ram_principal is passed in, the org data source is replaced, and there is no way to pass in multiple ram principals
Easiest solution is to export the ram resource share id and associate from outside the module

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association

/test all

/test all


COR-450 add validation for recipient forms

Added validation for "Recipient" forms
The validation happens in two parts

The static validation, things we can infer without having to make any database calls. That lies in the default "validation" package, where all other validation currently lies.
The dynamic validation, that happens for now in the POST /formdefinitions handler. Here, we must make a DB call to check if the "parent" of a recipient form is also a recipient form.

This PR is based off COR-499 branch, so I set the PR target to the COR-499 branch until the other one gets merged into main

lgtm, but @internetti I'll let you finish before approving

/lgtm

@ludydoo I don't think this is handling the case where there are no key fields.

I guess this is because of root forms where that is the correct validation. I feel validating a recipient form and a root recipient form are different things, and the root flow shouldn't be exposed to the user.

@neb42 I thought we agreed to handle this using access control

Yeah that rings a bell. Something like:
if "super-user" not in userRoles:
    validateRecipientHasKey()


Implement support for attachments

Refer Epic
https://github.com/arunmr1980/greenchalk-admin-dev/issues/4325

This is completed and serverless email application is deployed to UAT.


BarContainerInsetBehavior not able to set through installer.

Hi team! Seems like BarContainerInsetBehavior (and other properties) in TopBarContainer are not able to set through bar installer? I looked through the code and they are indeed public, are there any plans adding these config in a configuration file or in the installer class?
Thanks!!

Hi @Mononster , you should be able to set those properties via the container property of the bar installer, e.g. installer.container?.insetBehavior = …. Let me know if this isn't working for you.

Going to close this issue, feel free to reopen if this isn't working for you.

It worked! Thanks @erichoracek


ERROR: Could not resolve "@create-figma-plugin/utilities"

Hello
I've the same issue #132
I'm using node v18
and using the template  'react-editor'
$ cd react-editor
$ npm run build

> build
> build-figma-plugin --typecheck --minify

info Type checking...
success Type checked in 2.307s
info Building...
error esbuild error
    Build failed with 1 error:
    src/main.ts:1:45: ERROR: Could not resolve "@create-figma-plugin/utilities"

but of course the package is there.
Is still something related to esbuild?
I hope you can reproduce. I've tried on diffrent machines but always with the same result.
Thanks !

@ptesei – I can’t seem to reproduce this issue, unfortunately…
$ node --version
v18.12.1
$ npx --yes --<EMAIL_ADDRESS>--template plugin/react-editor
info Copying "plugin/react-editor" template...
info Resolving package versions...
info Installing dependencies...
success Done

First:
  cd react-editor

To build the plugin:
  npm run build

To watch for code changes and rebuild the plugin automatically:
  npm run watch

$ cd react-editor
$ npm run build

> build
> build-figma-plugin --typecheck --minify

info Type checking...
success Type checked in 1.049s
info Building...
success Built in 0.392s

@yuanqing  do you use nvm or volta to mange node versions? (Ii'm using volta.js)

nvm


Source - soft validation

The source validation should show a warning if it thinks italics have not been added to scientific names.

Required gnrd integration.


HttpUrl#canonicalize() is not escape ;(semicolon) character

I'm using OkHttp for sending html tags (contains style attributes).
In 2.2.0, okhttp is running perfectly.
But I upgrade it to 2.4.0, server received corrupted html.
This server treats '&' and ';' as separator.
(hoge=fuga&foo=bar -> {hoge: fuga, foo: bar} , hoge=fuga;foo=bar -> {hoge: fuga, foo: bar} )
http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
Result of investigation, I found that incompatible changes from 2.2.0 to 2.4.0.
As 2.2.0, value of FormEncodingBuilder.add(key,value) is escaped URLEncoder.encode(value, "UTF-8").
(hoge=fu;ga&foo=bar -> {hoge: fu%3Bga, foo: bar})
But 2.4.0, value is escaped HttpUrl#canonicalize().
This method (or, HttpUrl.QUERY_COMPONENT_ENCODE_SET) is not treated ';'. So value data is still alive semicolon!
(hoge=fu;ga&foo=bar -> {hoge: fu, ga:null , foo: bar})
(sorry, ga:null is no confidences... In any way, hoge's value is corrupted.)
I think, Add semicolon to HttpUrl.QUERY_COMPONENT_ENCODE_SET.
https://github.com/square/okhttp/blob/master/okhttp/src/main/java/com/squareup/okhttp/HttpUrl.java#L262
But I don't try yet and there are no confidences for me :(

OkHttp's behavior is consistent with web browsers.

If OkHttp's behavior is (largely) similar to modern web browsers, I hope it should follow RFC 3986 and W3C HTML5 recommendation.
There are various views about what is escaped ( ( is escaped or not ),
In all documents which I read, semicolon is handled as escape.
Therefore, I think OkHttp's FormEncodingBuilder  should be escape ; just like &.
If you say OkHttp don't treat semicolon as escaped, I want to know why it is.

Try this in your browser's JavaScript console:
  new URL("http://host/path?fun;ga").href

...though reading the HTML spec, it suggests we might want different behavior for FormEncodingBuilder vs. canonicalizing the query of a URL. We can do that.

https://github.com/square/okhttp/pull/1714


Execute cart/sync (1.11) or cart/serverPull (1.10) before redirect

Please do modify the beforeEach.ts in order to make sure the sync process has been fully executed BEFORE redirecting the user to Magento checkout.
Suggested change:
export function beforeEach(to: Route, from: Route, next) {
  const cartToken: string = rootStore.state.cart.cartServerToken;
  const userToken: string = rootStore.state.user.token;
  const externalCheckoutConfig = {...config.externalCheckout};
  const cmsUrl: string = externalCheckoutConfig.cmsUrl;
  const stores = externalCheckoutConfig.stores;
  const storeCode = currentStoreView().storeCode
  const multistoreEnabled: boolean = config.storeViews.multistore

  if (multistoreEnabled) {
    **await rootStore.dispatch('cart/sync')**
    if (storeCode in stores && to.name === storeCode + '-checkout') {
      window.location.replace(stores[storeCode].cmsUrl + '/vue/cart/sync/token/' + userToken + '/cart/' + cartToken)
    } else if (storeCode in stores && to.name === 'checkout' && stores[storeCode].cmsUrl !== undefined) {
      window.location.replace(stores[storeCode].cmsUrl + '/vue/cart/sync/token/' + userToken + '/cart/' + cartToken)
    } else {
      next()
    }
  } else {
    if (to.name === 'checkout') {
      window.location.replace(cmsUrl + '/vue/cart/sync/token/' + userToken + '/cart/' + cartToken)
    } else {
      next()
    }
  }
}

Otherwise there could be a situation when the sync hasn't been fully executed and user getting to the Magento checkout sees some discrepancies between Magento and Vue Storefront carts. For example - product added to the VSF cart hasn't been yet added to Magento cart.
The action to be called:

cart/sync for 1.11
cart/serverPull for 1.10

@Tjitse-E I just wanted to follow up on this issue. Any chances to get it fixed?:)

@pkarw I really don't have time for this at the moment. I've added the 'help wanted' label, hopefully someone else can prepare a PR!

Hi, here is PR that should solve the problem for version 3.0.0: https://github.com/Vendic/vsf-external-checkout/pull/24


Trying to recover tokens

I need help.  I used sollet wallet to send 3,000 USDC to an erc-20 address.  My metamask popped up, but I did not have enough gas, and I canceled the transaction.  The USDC isn't in my wallet.  Is there any way for me to recover the tokens?  I have tried entering the transaction id on the redeem tab in the wormhole, but it says, Cannot read properties of undefined (reading 'replace')
I don't know enough to know what I'm doing.  I think the transaction was through: https://wormholebridge.com/#/
because that is the site my metamask connected to.  Maybe this is wormhole V2 because Interstellar doesn't seem to work.
I should have enough gas in my wallet now, but don't know how to proceed.
Transaction:
https://explorer.solana.com/tx/4MUVaTQj2ctpUbDj65PPKqKJvPvTUKjJQkUVDWTvx2oyrnWKEuyWEz8mzzZrniaocMU9hiuSMYAq2mQHURbJWvQ9
thanks.

Can someone help me?  We need this money to live on.

This transaction was not done using Wormhole, you'll need to contact Sollet/serum to resolve this. Thank you!


Support x86_64-unknown-linux-gnu with a runner using Intel SDE emulation.

Closes #159.

I'm not sure if this should be done in cross or in cross-toolchains, since this technically isn't a target and I don't believe Intel's SDE emulator works on anything besides x86_64, which would interfere with our cross-platform logic. I'm happy to move this over there and close this if desired.

I think this fits better in cross-toolchains, however we could build the image for consumption instead of having the user do it.
I'm fine with either alternative though

The layers are almost entirely shared with the default x86_64-unknown-linux-gnu, just without the Linux image and Qemu build, and the last step is just downloading and unpacking a single file, so I don't think it would be that prohibitive to let the user just make it. Even if the default x86_64-unknown-linux-gnu isn't downloaded, the longest build step is xargo, which really isn't that big of a deal.
I'll move it over there.


Obstacle Avoidance

User Story
As a user I want the car to be able to turn left/right when it encounters an object so it doesn’t collide with said object.
Acceptable Criteria:

The SmartCar will turn left/right and avoid the obstacle when it's within a safe distance to do so.

tied it to its respective milestone

This has been moved to sprint 2 because it needs certain additions to make it more advanced

Sadly, this has to be removed because it's not at a stage where it's ready to be merged to the master. We got distracted with other stuff and didn't have enough time to work on this to the extent we wanted to.


Fix Toggle style

active style should be fixed
the rounded corner causes rendering issues (make the toggle move 1px over the border)

Some thinking behind the look & feel:

Closed with https://github.com/nikgraf/belle/pull/72


image_picker change png to jpg

when i upload file with .png extension , image_picker change to jpg

Please follow the answer from same.

Hi @joharputr
Are you facing this on iOS or Android?
Can you please provide your flutter doctor -v and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


remove addDeployTxn

closes #298
deprecated.

This has been addressed in a previous PR, sorry! https://github.com/NethermindEth/starknet.go/pull/286/files#diff-6f924c6f8589cba281f6b1ed2dacc61223b0e55a7795315f1b59fc508fed6e47


Update stats_hero for statsd support

The new stats_hero has support for sending messages over statsd in addition to estatsd.

cc @chef/lob


testing Fixes #3

Signed-off-by: Paul Bradford<EMAIL_ADDRESS>Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Fixes #3


Signup page bottom whitespace and signup card is not in the center for some screen sizes

Thank you for taking the time to file a Bug report.
Describe the bug
There is some white space at the bottom which does not appear good. Also for some screen sizes, the signup card is not in the center.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://journal-policy-tracker.netlify.app/signup'
Check the bottom whitespace and for some screen sizes the signup card is not in the center.

Expected behavior
There should be no bottom whitespace and the signup card should be in the center for all possible screen sizes.
Screenshots

I am working on this.

I'm not sure if this is needed. @ikayz your thoughts on this?

#126


Emoji Support

Hey @katherinepeterson created this branch to begin working on the emoji support implementation. For now this is just to support the :emoji: syntax. With this, it can be extended to adding emojis directly (in the same way the sections are added just by one click). Please go through and let me know what you think.

Looks great, do you mind resolving conflicts then I'll merge?

Duplicate


Storage: Fixes 10s delay when using VMs with ZFS in snap

This is caused because /dev/zvol appears to not be populated when using the snap.
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

@stgraber I experienced this on a test machine this morning, when using the snap the /dev/zvol directory doesn't appear to be populated in either the host mount namespace or the snap mount namespace.
I assume this is expected due to the workaround already being present, however the TryExists call was causing a guaranteed 10s for each VM mount call (as VM mount now returns the disk path).

Testsuite passed


Can't remove FBSDKCoreKit from my app

I am experiencing some hard crashes related to auth with Firebase in my app during development, and my logs show references to FBSDKCoreKit that is the cause. I have no plans to use Facebook login as part of my app (I only need email login), so I'd like to remove all races of it from my build so that 1) whatever it is doing behind the scenes doesn't trigger crashes and 2) so that the extra weight of its code isn't included as part of my build.
I've attempted to remove all traces of it from my build with the following in my Podfile with what I thought was the proper guidance from the documentation, but I still experience the crash and see references to it in my logs, so I know I'm either not configuring the Podfile quite right (likely!), or somehow frameworks like FBSDKCoreKit are still being drug into the build (unlikely, but possible?)
pod 'Firebase/Core'
#pod 'FirebaseUI' # Remove FBSDKLoginKit and other social frameworks from the build?
pod 'FirebaseUI/Auth' # Only include the essentials like email login?

In my view controller, I am explicitly only including email login, which is the only icon that appears as a button in the FBUI view
   @IBAction func loginTapped(_ sender: UIButton) {

        let authUI = FUIAuth.defaultAuthUI()

        guard authUI != nil  else {
            //...
            return
        }

        authUI?.delegate = self
        authUI?.providers = [FUIEmailAuth()] # Only configuring email. Why is FBSDKKit running code at runtime?

        let authViewController = authUI!.authViewController()

        present(authViewController, animated:true, completion:nil)
    }

To sum all of that up, if I don't want to use Facebook login and don't want any trace of FBSDKCoreKit in my build, could someone point me to the right place to figure that out?

I may have resolved this. I noticed that the FBSDKCoreKit and various other frameworks were still in my Pods directory, and I seem to have figured out that I needed to do an additional pod install from the terminal (after having updated my Podfile to explicitly include a couple of other things like the Email provider) to rebuild the various dependencies in order to fully purge some of the things that I didn't want.


Focusing on media element

The so-called switching does not work. focus on video object.

Repaired


add support to pull image cache from other repo

Issue #, if available:
Description of changes:
This adds support for pulling image cache from additional ecr repos. In our case, this means well pull the cache in prow from the eksa build account, prow jobs.  This should improve the build times slightly, but for a couple of the builds. such as the hook-kernel build, this will greatly improve the time since it will be able to use the cache if nothing change in the code.
That build tho uses multiple build stages.  Our current inline-caching approach only suppports mode=min which means it will only keep the cache for layers that end up in the final image.  There is also a registry option where you can push this cache, and use mode=max to include all stages, to a separate registry/image tag.  When we first implement the inline cache ecr did not support pushing the cache as its own image.  It does now!
This should be pretty safe, worst case is its a cache miss, but I cant think of a case in our flow where this wont continue to work.  Anything building these images that access to the previous latest image with the inline cache should have access to the separate image.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve
/lgtm


Fix wrong urls in document

I think the document contains old ulr (github.com/pfnet/cupy)
Please see following document.
https://docs-cupy.chainer.org/en/stable/install.html#install-cupy
https://github.com/cupy/cupy/blob/e51b311608545870c1ee0bb70a48adcc60b5cbd2/docs/source/install.rst
I fix github.com/pfnet/cupy to github.com/cupy/cupy

jenkins, test this please

LGTM!


frameit ignores title color when background color has (R == G == B)

Somehow the background color used in the background image has an impact on whether or not the title text color config setting takes effect.
For example, background color #ffffff and #000000 do not work, but #feffff and #000001 do work.
I've attached a project that tests frameit with many background colors, and here are my results:
Working: 010000, 000100, 000001, fffeff, feffff, fffffe, 2C2222, 131212, 121213, 121312
Not Working: 000000, 111111, 121212, 141414, 222222, ffffff
I can't say for sure, but it looks to me like it fails whenever R == G == B.
To run the test yourself, grab this project. You'll need to have ImageMagick installed:
frameit-title-color-bug.zip
In the project above you can see that the title is green in the success cases, and gray in the failure cases.
This issue has been opened & closed multiple times:
https://github.com/fastlane/fastlane/issues/16492
https://github.com/fastlane/fastlane/issues/8654
https://github.com/fastlane/fastlane/issues/16067
Curiously in #16067 it was reported in this issue that FFFEFF does not work, but in my tests it did work.

It's frustrating when you can't find any solutions online. To better assist you, could you provide more details about the specific error message you're encountering? That way, I can try to offer a more targeted solution.

@Skyeberry appears to be a bot - that account was created 12 hours ago.

I am also experiencing this issue @andrewagain. Although I am not sure it is related to r == g == b I am trying to make the text blue #0000FF but it appears black. I am using a white background. Here is my framefile.
{
  "default": {
    "keyword": {
      "color": "#0000FF"
    },
    "title": {
      "color": "#0000FF"
    },
    "background": "./background.jpg",
    "padding": 50,
    "stack_title" : true,
    "show_complete_frame": false
  },
  "data": [
    {"filter":"MainList"},
    {"filter":"Details"},
    {"filter":"Add Job"},
    {"filter":"Sankey"},
    {"filter":"Share"}
  ]
}

This seems to be where the coloring happens, so I'm not sure why something like this would not work. Possibly something to do with alpha channels or a bug with imagemagick.
magick mogrify -gravity Center -pointsize 128 -draw text 0,0 'Visualize' -fill #0000FF

Has anyone found any way to make #0000FF work?


Turn off JS deltas by default

Use JS deltas prevents resolving source maps when using remote debugging:
https://github.com/facebook/react-native/issues/18416
This doesn't fix the underlying issue but I don't think a feature that describes itself as experimental should be enabled by default.
Test Plan
Attempt to do remote debugging on an Android device in 0.54.2
Related PRs
None.
Release Notes
[ANDROID] [BUGFIX] [Preferences] - Disable using JS deltas by default.

@rafeca who authored the original PR, and @davidaurelio  who approved.

We just never removed the “experimental” label. It is actually stable.
Instead of disabling it completely, we should either fix it for debugging, or disable it for debugging.
cc @rafeca

@dannycochran the actual issue with remote debugging comes from https://github.com/facebook/react-native/issues/17970
Disabling JS deltas by default won't help much in #18416: in this specific case what is allowing you workaround the issue is the fact that you're switching from one mode to the other (restarting the simulator or restarting Metro Bundler will have the same effect)


Add CarikBot to Projects

added chatgpt on all platforms supported by Carik Bot (telegram, whatsapp, line, facebook messenger, discord, etc).

Thanks @luridarmawan 🙏


Steering Wheel Heater shows wrong state

Region and Brand of car
Europe/Germany/Kia E NIRO
Describe the bug
Steering Wheel Heater shows always on, but the car is in the carport.
Atrributes DATA shows the following:
    ign3: true     hoodOpen: false     transCond: true     steerWheelHeat: 2     sideBackWindowHeat: 0
KIA Connect App show the correct state (off)
I don't think it's possible for the steering wheel heater to be on when the engine is off.
enirodata.txt

It can, I can set my car to control steering wheel heater either automatically as part of climate, or demand it on. Climate is controlled without engine on EV cars.

We found this for seats that we assume wrong for some cars that 0 is off 1 is on. Turns out some have multiple settings.
Most likely this is similar. My current guess:
0: off (legacy cars) 1: One (legacy cars) 2: On (new cars)
I am sure additional values exist on your car. Could you turn it on - rescan and see what number it reports? Play with settings as well. Someone reported here that this value may relate to other items: #279 this is however on the "start" climate instead of the viewing aspect. I would hope they align...
Here is what we found on seats recently: #195 (comment)

Hello, sounds good. i do this today, thx in advance.

I switched on the steering wheel heating, the following value can then be seen:
'steerWheelHeat': 1
When the steering wheel heater is off, the value is
'steerWheelHeat': 0 (when the Car is charging) 'batteryCharge': True
or
_'steerWheelHeat': 2  (when the Car is not charging) batteryCharge': False

Not that it bothers me much, seems for my car the wheel heater is reported as off, it however does not have a wheel heater.
I would put it in the new cars category ;)

Not that it bothers me much, seems for my car the wheel heater is reported as off, it however does not have a wheel heater. I would put it in the new cars category ;)

Yes this has been a struggle.  Finding new and old cars report very different data and we don't know what model, region brand or year should have what.  So if the data exists we show the sensor.  This works 90% of the time.

The integration is not showing the sensor. It makes the sensor available.
Interpretation and usage of the sensor is the task of the user. Except in the cases where there is no doubt.

The integration is not showing the sensor. It makes the sensor available. Interpretation and usage of the sensor is the task of the user. Except in the cases where there is no doubt.

A binary sensor only has the status on and off, I don't know how you can interpret something here yourself.

We will need to switch this from a binary sensor to a generic one with mapping.

tested with 2.46, works now. Thx


Validate required binaries / packages are installed on host

Fixes #1176
Adds simple validation to check for command availability on hosts. Ultimately I think it should be in host configurer and it should install the missing packages.
Also adds an alternative way to validate the localhost address resolves to an address on the local host.

Not good


Turtlebot4 ros 2 navigation does not work no map

Please provide the following information:

OS: Ubuntu 22.04 Humble
ROS Distro: (e.g. Humble)
Raspberry Pi new image Humble
Git repo from manual (did everything with terminal)

Expected behaviour
Normally when I start the ros2 navigation the turtlebot4 should scan the map and with the risview normally we should see the map and where the turtlebot4 is.
Actual behaviour
I have a problem with the turtlebot4 the navigation does not work. So I did exactly what the manual told me to do. Normally you start to make the map and then can drive around to scan it. For visualization there is the command so that I can view where the turtlebot4 is. The problem is the view does not show anything. Just a grey box and a warning that no map received.
So we wanted to make the discovery server so that there is a connection with create 3 and raspberry Pi. Also here we did everything what the manual told. But then after the option where we need to enter the ip and port of the discovery server, we just get this: rtnelink answers: no such process
To Reproduce
Provide the steps to reproduce:
Watch the tutorial from YouTube about the ros2 navigation and see what happens

Is your PC running in a VM?

Yes
Windows 10 and then the Oracle VM

Is there any way to fix it?

@Markyyy55 Can you check that you are able to ping the RPi from your VM? You may need to bridge your network if you cannot.

@roni-kreinin I can ping the raspberry pi. I used the Ip adress of the Turtlebot4 on the display and it worked. But I don’t understand why either the discovery server variant gives me: rtnetlink answers: no such process or why the ros 2 navigation option does not save a map and why I can’t see the map or the bot how he scans the map

@Markyyy55 VM's can cause some issues with networking.
Can you share the output of the following commands from your VM:

ip a
ip route
ros2 topic list

ok here are the outputs:
ip a: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 08:00:27:3f:bc:0f brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic noprefixroute enp0s3
valid_lft 86246sec preferred_lft 86246sec
inet6 fe80::323d:bf6:e3c:6fe7/64 scope link noprefixroute
valid_lft forever preferred_lft forever
ip route: default via <IP_ADDRESS> dev enp0s3 proto dhcp metric 100
<IP_ADDRESS>/24 dev enp0s3 proto kernel scope link src <IP_ADDRESS> metric 100
<IP_ADDRESS>/16 dev enp0s3 scope link metric 1000
ros2 topic list: /parameter_events
/rosout

@roni-kreinin Yet I did not activity the network bridge

Hey @roni-kreinin We did it everything works now. Your suggestions worked all for us. Now we have another Question. We want to write some Scripts in Python. I would like to know how to do it and how can I start them, so that the turtlebot4 does what we write in the script? Could you give me some easy Examples?

@Markyyy55 Try this tutorial https://turtlebot.github.io/turtlebot4-user-manual/tutorials/first_node_python.html.

ok worked fine. Now I have another Question. I found an example for a node from you with following name: followBot. Could you tell me how I can let it run on my turtlebot? In Addition i am Using Humble not galactic. Would there be some Changes?

@Markyyy55 The turtlebot4_examples repo has not been released on Humble, but you can make a workspace and clone it. Build it with colcon build --symlink-install, then source your workspace and launch it:
ros2 launch turtlebot4_python_examples followbot.launch.py

@roni-kreinin Hey so did I understand it right? Can I run it on humble ? And for the case it won't work how can I run it on ros2 Humble? I already tried it like you described it above, but nothing happened or the package was not found. Could you help me out? How to write python code for ros2 humble? or are there any templates I could use?

@Markyyy55 You will have to build the package locally:
mkdir ~/turtlebot4_ws/src -p
cd ~/turtlebot4_ws/src
git clone https://github.com/turtlebot/turtlebot4_examples.git
cd ~/turtlebot4_ws
colcon build --symlink-install
source ~/turtlebot4_ws/install/setup.bash

I would also recommend reading through the ROS 2 tutorials to understand how to write python code for ROS 2.

@roni-kreinin Would be a big Help, because this is the only problem left. I tried to find a solution, but there were so many options, that I did not want to risk to break something.

@Markyyy55 Are you building this on the robot PC? The depthai package should already exist on there. You can try running rosdep install -r --from-paths src -i -y from ~/turtlebot4_ws.

This issue is being closed due to inactivity. If you are still experiencing the issue, feel free to reopen this ticket when you are ready to continue the troubleshooting process.


No validation that credentials are correct when adding Registry

v0.14.2
Steps:

Go to Registries
Add Registry
Add a credential, but put in an invalid password

Results:
Registry is added and you don't know that your password is incorrect until you try to add a container using that credential and it fails.
Expected:
Validate credentials on create registry.

This is not trivial, will require API support.

Duplicate of #300.


Semantic config

Early draft describing the new semantic configuration
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@shmed please reopen this and target the Azure:main branch.

@shmed please reopen this and target the Azure:main branch. Ensure you tag me as the assignee and reference this PR.

Created this new PR -> https://github.com/Azure/azure-rest-api-specs/pull/16642
I can't seem to find how to change the "assignee" though. Can you help? @tjprescott


Container Registry Naming

The example command for Create Container Registry uses a name that has capital letters and I don't think that it should (with my limited knowledge and testing):
az acr create --resource-group myResourceGroup
--name myContainerRegistry007 --sku Basic
I think the 'myContainerRegistry007' should be 'mycontainerregistry007' (all lower case)...

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

ID: 2a23fc33-0447-06f6-c6f0-dd0b4696cc6d
Version Independent ID: 1a1af0e2-5b46-9261-1406-6636ae845c52
Content: Quickstart - Create registry - Azure CLI - Azure Container Registry
Content Source: articles/container-registry/container-registry-get-started-azure-cli.md
Service: container-registry
GitHub Login: @tejaswikolli-web
Microsoft Alias: tejaswikolli

@dsutton-msft
Thanks for your feedback! We will investigate and update as appropriate.


Added survey banner

Guided by Richard Collins, we are going to add an anonymous survey designed to help with the process of cert-manager applying for incubation status. We aim to get insights into the way cert-manager is being used in production Kubernetes environments.
The results will be shared with the community and provided to the CNF to help further cert-manager's journey to becoming a fully Graduated CNCF project.
Link to the survey: https://docs.google.com/forms/d/e/1FAIpQLSfLX4SQEC0phxVLB2shSzv2s__IDCB6GmlnvsqQ06CD0IYOeA/viewform
Screenshot with the banner:

Signed-off-by: Constantin Chirila<EMAIL_ADDRESS>

/ok-to-test

The survey form has been made clearer to say when the results will be shared with the community. We can change the button to say "anonymous" as well.
"cert-manager is a CNCF Sandbox project that is applying for Incubation status. This short anonymous survey is designed to help with that process by providing insights into the way cert-manager is being used in production Kubernetes environments. The results will be publicly shared with the community and provided to the CNCF by the end of June 2022. This will help further cert-manager's journey to becoming a fully Graduated CNCF project. We appreciate your time, thank you!"

Thanks for the clarification and changes!
/lgtm


fix: login page responsive (#1321)

Closes #1321

Hello @narayan954 ,
Could you please review the code at your earliest convenience? Codepeak'23 is approaching its conclusion, and your prompt response would be greatly appreciated. Thank you in advance for your time and consideration.

Hello @narayan954 , Could you please review the code at your earliest convenience? Codepeak'23 is approaching its conclusion, and your prompt response would be greatly appreciated. Thank you in advance for your time and consideration.

Hi @itsmeabhishek03 , apologies for the delay, I had my end sem going on, so couldn't check right away. I've checked it now. Thanks for your patience


Improving documentation for events <-> Annotations

Proposed documentation ehancement
In gitter, I raised a question:
"""
I'm wondering if the API for events_from_annotations and annotations_from_events are intentionally have flip-flopped event_mapping arguments?
E.g. In events_from_annotations, you get event_id which has key/values as description: ID
In annotations_from_events, you must pass in key/values as ID: description.
I had a use-case where I ended up needing to call them in sequence to create a new Annotations object and realized I can't just pass them into each other. I have to invert the event_id I get out of events_from_annotations. If this is undesirable, I can file an issue.
If it is intended, I might be just be overthinking this then.
"""
@larsoner suggested:
"""
@adam2392 I'm not sure if it's intended or not -- it might have been -- but either way it's probably not worth an API deprecation cycle to change either function. Instead I'd recommend a .. note:: in one of them (probably annotations_from_events since it's used less?) noting the difference and suggesting that people can just use {v: k for k, v in event_id.items()} if they need to reverse it
"""
Suggested Soln
I will add a short documentation note to the annotations_from_events to do the swap key/vals.

FWIW, I would guess that this was an intentional design choice, given that the argument in one case is called event_id (and expects what we call event_id elsewhere, i.e., a "description → integer" mapping), and in the other case the argument is called event_desc.

yes it's intentional.

And it's easy to convert between the two in Python 3:
xx = dict(zip(x.values(), x.keys())


Add Save button to camera input component

Works really good

The Code
I exported some of the code from the form to a new file and tested, seems to work just fine


ntpd fails to start on alpine ARM image

The logs say:
Jan  6 12:00:20 monitor daemon.warn openrc[1809]: WARNING: clock skew detected!
Jan  6 12:00:21 monitor daemon.err acpid[1830]: /dev/input/event0: No such file or directory
Jan  6 12:00:21 monitor daemon.err /etc/init.d/ntpd[1855]: start-stop-daemon: failed to start `
/usr/sbin/ntpd'
Jan  6 12:00:21 monitor daemon.err /etc/init.d/ntpd[1837]: ERROR: ntpd failed to start
…
Jan  6 12:00:30 monitor auth.info sshd[1887]: User c3os not allowed because account is locked
Jan  6 12:00:32 monitor auth.err sshd[1887]: error: Could not get shadow information for NOUSER
Jan  6 12:00:32 monitor auth.info sshd[1887]: Failed password for invalid user c3os from <IP_ADDRESS> port 50054 ssh2
Jan  6 12:00:33 monitor auth.info sshd[1887]: Connection closed by invalid user c3os <IP_ADDRESS> port 50054 [preauth]

Is there some configuration to add to cloud-init to enable ntp?

This is using c3os-alpine-arm-rpi-v1.23.5-41.img.tar.xz image.

Hi! thanks for the feedback!
The alpine ARM image ain't yet completely functional, but ntpd should be functional. To configure the arm image see the docs here: https://docs.c3os.io/installation/raspberry/
TL;DR;
You need to copy the cloud-init file inside the cloud-config folder ( cloud-config/<cloud-init>) in the COS_PERSISTENT partition.

Thank you for the quick response.
I indeed followed the install instructions and the cloud-config is present (and taken into account):
name: "Default deployment"
stages:
   network:
     - name: "Configure NTP"
       ntp:
         pool:
           - 0.pool.ntp.org
           - 1.pool.ntp.org

     - if: '[ ! -f "/run/cos/recovery_mode" ]'
       name: "Setup k3s"
       environment_file: "/etc/systemd/system/k3s.service.env"
       environment:
         FOO: "bar"
       systemctl:
         start:
         - k3s
     - commands:
       - |
            chmod 600 /etc/systemd/system/k3s.service.env
   initramfs:
   # Disable password, enable only ssh access
     - name: "Setup hostname"
       hostname: "monitor.clabaut.net"
     - if: '[ ! -d "/home/c3os" ]'
       name: "Ensure home directory is present"
       commands:
       - mkdir /home/c3os
       - chmod 755 /home/c3os
       - chown -R c3os /home/c3os
     - name: "Setup users"
       users:
        root:
          password: "c3os"
       authorized_keys:
        c3os:
        - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICwfZvK1WCxwIlNvVSerMeN52w6DpYMdnTxMUf4LXs6K clabaut@loriot
       commands:
       - passwd -l c3os
     - name: "Ensure PVC dir exists"
       commands:
         -  mkdir -p /usr/local/prometheus-pvc /usr/local/grafana-pvc /usr/local/freebox-pvc
         -  chgrp 65534 /usr/local/prometheus-pvc /usr/local/grafana-pvc /usr/local/freebox-pvc /usr/local
         - chmod g+rwX /usr/local/prometheus-pvc /usr/local/grafana-pvc /usr/local/freebox-pvc /usr/local

I tried with and without the ntp section.
Do you know how  I can enable back the console login (scree+keyboard) for c3os user to better diagnose the problem?

here is the catch: the alpine image doesn't have systemd/systemctl so the ntp block won't work - and at the moment only the initramfs stage is functional (the boot and network openrc service are currently missing), which will be addressed soon.
You should be able to switch tty, otherwise there must be something wrong with the image - do you get the installation prompt with the QR code? that shouldn't happen, but should be enough to press enter in such case

I installed without VPN (no c3os config block) and with k3s only, and I indeed have a login prompt on the console, but according to the log file, the c3os account is locked (presumably because of the date not being set, but I'm not sure). root login doesn't work too.
I will try to inspect the image in order to understand if and how I can enable back root login on the console.
If you have some other ideas in order to connect to the live system I'll take it!
In the meanwhile, I'll probably try with the older opensuze image (I may be wrong, but I didn't find one in the last release).

The c3os account is locked because there is no default password, note that in the cloud-init config you provided:
   initramfs:
   # Disable password, enable only ssh access
     - name: "Setup hostname"
       hostname: "monitor.clabaut.net"
     - if: '[ ! -d "/home/c3os" ]'
       name: "Ensure home directory is present"
       commands:
       - mkdir /home/c3os
       - chmod 755 /home/c3os
       - chown -R c3os /home/c3os
     - name: "Setup users"
       users:
        root:
          password: "c3os"
       authorized_keys:
        c3os:
        - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICwfZvK1WCxwIlNvVSerMeN52w6DpYMdnTxMUf4LXs6K clabaut@loriot
       commands:
       - passwd -l c3os

The passwd -l c3os command here will nuke any password and lock the account, so logging in from terminal won't work either. You should clean up that part and replace it with something like:
stages:
   initramfs:
     - name: "Set user and password"
       users:
        c3os:
          passwd: "c3os"

which sets the user/pass to c3os/c3os.

Ho, you're right, I tried without the passwd -l c3os, but without creating the c3os password (I thought it was a default).
I still have:
Jan  6 12:03:43 monitor auth.warn login[2059]: invalid password for 'c3os' on 'tty1'

I will investigate and keep you informed.

This should be fixed in the next release :slightly_smiling_face:

Looks good now here, please try with the latest release again and reopen if necessary!


Add "first impression" benchmark to bench.sh

Is your feature request related to a problem or challenge?
Many people who use DataFusion for the first time are querying a single CSV file, so we may want to benchmark that scenario (via bench.sh -- see https://github.com/apache/arrow-datafusion/pull/6131)
Describe the solution you'd like
I would like to add a "first impression" performance benchmark -- perhaps based on querying some subset of the ClickBench #6128 in CSV format
Describe alternatives you've considered
No response
Additional context
Suggested by @andygrove  here https://github.com/apache/arrow-datafusion/issues/6127#issuecomment-1523680537

Here is an example first impression: https://www.linkedin.com/posts/matthew-powers-cfa-6246525_the-datafusion-dataframe-library-lets-you-activity-7055885200869740544-dBP-?utm_source=share&utm_medium=member_desktop
it parses a large CSV file

Related: https://github.com/apache/arrow-datafusion/issues/6287
I have thought a lot about this. I plan to start relatively simply;

Only SQL queries (as I think that is dominant way people evaluate DataFusion initially)
Basic TPCH aggregate query (likely Q1 or derivative)
Uses all cores (not restricted at all)
On three different input types: CSV, Parquet (and eventually) JSON

-- I think the ideal first impression of DataFusion is when:

It can read files directly from disk, using as many cores as possible


Fix submodules configuration and bump Litex

Currently we are using LiteEth version from our fork, but .gitmodules misleadingly points to upstream. All the changes in LiteEth could be easily up-streamed, which has been done in https://github.com/enjoy-digital/liteeth/pull/73. In this PR LiteEth has been bumped to the latest upsteam version, so now .gitmodules is correct.
Bumping LiteEth to the version from upstream required updating other submodules from Litex ecosystem. The changes have been tested to work correctly on our supported platforms (Arty, ZCU104, LPDDR4 Test Board).

LGTM


GlobalOpenTelemetry.set has already been called

Expected Behavior
Successful service initialization
Actual Behaviour
Error instantiating bean of type  [io.grpc.ServerInterceptor]

Message: GlobalLoggerProvider.set has already been called. GlobalLoggerProvider.set must be called only once before any calls to GlobalLoggerProvider.get. Previous invocation set to cause of this exception.
Path Taken: new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,ServerBuilder serverBuilder,ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> new GrpcEmbeddedServer(ApplicationContext applicationContext,ApplicationConfiguration applicationConfiguration,GrpcServerConfiguration grpcServerConfiguration,[ServerBuilder serverBuilder],ApplicationEventPublisher eventPublisher,ComputeInstanceMetadataResolver computeInstanceMetadataResolver,List metadataContributors) --> ServerBuilder.serverBuilder(GrpcServerConfiguration configuration,List serviceList,[List interceptors],List serverTransportFilters) --> ServerInterceptor.serverTracingInterceptor([OpenTelemetry openTelemetry])
io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type  [io.grpc.ServerInterceptor]

Steps To Reproduce
I added the following to my build.gradle file:
  implementation("io.micronaut.tracing:micronaut-tracing-opentelemetry-grpc")
  implementation("io.opentelemetry:opentelemetry-exporter-otlp")

And the following config to my application.yaml:
otel:
  traces:
    exporter: otlp
  exporter:
    otlp:
      endpoint: <endpoint_url>

Am I missing something obvious here?
Environment Information

OS: OSX Montery  12.6
Java vendor + version:

openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

Example Application
No response
Version
Tested with both 3.6.2 and 3.7.3

Getting a very similar error when we're trying to use the following two dependencies together:
implementation(mn.opentelemetry.gcp.trace)
implementation(mn.micronaut.tracing.opentelemetry.http)

Using just the gcp-trace exporter works, but having both dependencies causes all of our integration tests to fail with the following error:
Error instantiating bean of type  [io.opentelemetry.instrumentation.api.instrumenter.Instrumenter]

Message: GlobalOpenTelemetry.set has already been called. GlobalOpenTelemetry.set must be called only once before any calls to GlobalOpenTelemetry.get. If you are using the OpenTelemetrySdk, use OpenTelemetrySdkBuilder.buildAndRegisterGlobal instead. Previous invocation set to cause of this exception.

Hit the same with v3.9.0
implementation("io.micronaut.tracing:micronaut-tracing-opentelemetry-annotation")
implementation("io.micronaut.tracing:micronaut-tracing-opentelemetry-http")
implementation("io.opentelemetry:opentelemetry-exporter-otlp")

please attach an example

@n0tl3ss please take a look at the attached example

@graemerocher: any chance to have this (micronaut-tracing >= 4.6.0) included in micronaut core? micronaut core still ships with micronaut-tracing 4.4.1.


Roles fixes

About the PR

Fixed wrong department requirements
Improved roles ID readability
Fixed roles ID inconstancy
Moved JobTimer prototypes

Technical details
replaced old hardcoded Rifleman id with new hardcoded Rifleman id.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
no cl only sadness

ready to review.


Fix: Rooms Homepage

#69  👈
main

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

Join @tamrivera05 and the rest of your teammates on  Graphite

Merge activity

Jul 29, 10:47 PM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.


ai::to_context doesn't respect overloads

In our test database, if you do ext::ai::to_context(Astronomy), it will always grab .content, even though for the subtype Stuff it should do .content ++ .content2

@msullivan This seems to have already been fixed. I've added some tests just in case though.


cosmos-sdk-rs: minimal bip32 integration

Adds basic support for deriving a crypto::secp256k1::SigningKey using a provided BIP32 derivation path.

Can we flesh out this trait definition any more while we're at it? Having a trait that gives the signing key seems less complete than returning a signature of some kind

It does, although perhaps that could be better documented:
pub trait EcdsaSigner: ecdsa::signature::Signer<Signature> {
    /// Get the ECDSA verifying key for this signer
    fn verifying_key(&self) -> VerifyingKey;
}

Notably it's bounded on ecdsa::signature::Signer, which is a re-export of this trait:
https://docs.rs/signature/1.3.0/signature/trait.Signer.html
pub trait Signer<S: Signature> {
    pub fn try_sign(&self, msg: &[u8]) -> Result<S, Error>;

    pub fn sign(&self, msg: &[u8]) -> S { ... }
}

This allows you to plug in whatever signing implementation you like, so long as it returns an ECDSA/secp256k1 signature.
For example, the yubihsm crate provides an implementation of this trait backed by an HSM signer:
https://docs.rs/yubihsm/0.39.0/yubihsm/ecdsa/secp256k1/type.Signer.html

I pushed up some documentation which hopefully better describes how the trait works and how you can use an alternative [EcdsaSigner] implementation.

@jkilpatr hopefully those doc improvements work. gonna merge this and make a release PR, and I can tackle any remaining changes in that


CRMP ping aborts

CRMP ping aborts

ping -c 1 -r 1 <IP_ADDRESS>
IP address: <IP_ADDRESS>
CHIP:IN: TransportMgr initialized
CHIP:IN: TransportMgr initialized
CHIP:IN: local node id is 0x000000000001b669
CHIP:IN: New pairing for device 0x0000000000bc5c01, key 0!!
Establish secure session succeeded

Send echo request message with payload size: 32 bytes to Node: 12344321
CHIP:IN: Secure message was encrypted: Msg ID 0
CHIP:IN: Sending msg from 0x000000000001b669 to 0x0000000000bc5c01 at utc time: 306583575 msec
CHIP:IN: Sending secure msg on generic transport
CHIP:IN: Secure msg send status No Error
CHIP:EM: Rxd Ack; Removing MsgId:00000000 from Retrans Table
CHIP:EM: Removed CHIP MsgId:00000000 from RetransTable
CHIP:EM: Sending Standalone Ack for MsgId:00000000
CHIP:EM: Failed to send Solitary ack for MsgId:00000000:4003
Echo Response: 1/1(100.00%) len=32 time=0.002ms
CHIP:EM: Sending Standalone Ack for MsgId:00000000
Aborted (core dumped)

@cjandhyala , could you provide the stack trace for the crash?

@pan-apple I don't see this issue anymore with ToT. will get stack trace if we see it again


Update notebook kernel metadata when kernel is selected

When a new kernel is selected we need to update the kernel metadata in the notebook file.

My mistake, we already have #8223 filed on this.


refactored out queue and added timeout

Changes:

Fixed 2nd level JSON options (limits.bodySize, queue.batch, queue.entries) from getting completely removed by changing them to 1st level JSON fields.
Refactored queue logic out to separate file.
Added queueTimeout option
Added flush on timeout & unit test

you have to make it backward compatible at least until the next major release

Squashed and removed debug logging
https://github.com/Mashape/analytics-agent-node/pull/16


Week 2 Project Submission

Looks good to me. You may get better results by setting the main query weight to 0 and the rescore query weight to 1.
python week2/utilities/build_ltr.py --xgb_test /workspace/ltr_output/test.csv --train_file /workspace/ltr_output/train.csv --output_dir /workspace/ltr_output --xgb_test_num_queries 200 --xgb_main_query_weight 0 --xgb_rescore_query_weight=1


Add existing keys values when syncing

Wouldn't it be nice when running tolgee sync to push the new strings with their existing values as well?
Currently, it will just push the new keys without translation values.

If I understand correctly, this would be like a mix of the current sync (which only deals with source code and only pushes the default value if it found it) and push, where the sync command would peek values from the i18n/*.json files to push locally added translations in one go, right?
Something like (assuming there's a folder i18n with json files):
tolgee sync --include-translations ./i18n 'src/**/*.ts?(x)'

Ok I just understood what exactly sync is doing then. The issue does not really make sense then.
I thought first that sync replaces the need to use push and pull but I was wrong :) It's just a way to extract the keys it can find in the code.