SEPG Automated Release - v1.1.0

SEPG Details
Release Build Link: http://sou-jenkins2.swinfra.net:8080/job/Auto-Release/184/
Build Token: github.com/CAFapi/opensuse-opensearch2-image/main/ae0bef63fe37b12bf2ebfc3c2a5a96d36ef36f2b
Versioning Behaviour: Roll on to next minor
Artifacts For Release
Docker

cafapi/opensuse-opensearch2:1.1.0 (Static Tag)
cafapi/opensuse-opensearch2:1.1 (Dynamic Tag)
cafapi/opensuse-opensearch2:1 (Dynamic Tag)
cafapi/opensuse-opensearch2:latest (Dynamic Tag)

This pull request has still not been approved so the build process will now tune down the regularity with which it is being monitored.
Please approve this pull request to continue the automated release process.
The release will automatically continue when it is approved.

Release Build Continuation: http://sou-jenkins2.swinfra.net:8080/job/Auto-Release/187/

Build Stage
Action
Status

Release Checks
in progress
:clock130:

Gather Release Data

:white_small_square:

QA Documentation Site Deployment

:white_small_square:

QA Deployment Branch Promotion

:white_small_square:

Docker Image Promotion

:white_small_square:

Maven Artifact Promotion (Closed Source)

:white_small_square:

NuGet Artifact Promotion

:white_small_square:

Artifactory Release Artifact Tagging

:white_small_square:

Generic Artifact Promotion

:white_small_square:

Maven Artifact Promotion (Open Source)

:white_small_square:

Maven Staging Repository Removal (Open Source)

:white_small_square:

Git Tagging

:white_small_square:

Git Release

:white_small_square:

Git Release Asset Deployment

:white_small_square:

Pull Request Merge

:white_small_square:

Release Branch Deletion

:white_small_square:

view the build log here


About page

Merging with master and adding more details to the about page

@swederik, is this a side-effect of Squash and Merge?

I've been seeing commits that have already been merged, but don't appear to be super applicable to the current PR? For example, this PR has a single file change.


Unable to boot HASS after upgrade

Home Assistant release with the issue:
0.82.0
Last working Home Assistant release (if known):
0.7.. if not wrong
Operating environment (Hass.io/Docker/Windows/etc.):
raspberry pi 3, following these instructions: https://www.home-assistant.io/docs/installation/raspberry-pi/
Component/platform:
Empty config file. Allowing hass to generate its own config.
Description of problem:
Unable to boot hass frontend even with a completely blank configuration file which is auto-populated when hass is run. No errors on Log file too.
Traceback (if applicable):
Hass doesn't crash, only frontend doesn't seem to load up.
Additional information:
I have updated python to the latest version and all the packages too but cant seem to get hass to start. I have also tried deleting the .db and .storage files however even this doesn't seem to help.
When I try my old configuration, same problem occurs, however some of my automations seem to be working, just no front-end or api.

Could you copy the console output when you manually run hass from within the venv?

This console output is from deleting the config file. If I use my old config where I have the old nanoleaf credentials they seem to set up without any issues, however the frontend still does not boot. Console output does not seem to have any errors, only info statements. The last statements are starting timer from main thread and then one of the threads continually checks my ps4 status every 30 seconds.
Are there any other files I could delete or reinstall to try to get the front end to boot as a completely new hass instance? Running pip uninstall home assistant and reinstalling still runs into the same issues.

I'm not familiar with hass.io, but the .storage folder and configuration.yaml should be all that you need to delete to get a completely fresh config.
Are you accessing the frontend via IP or hostname, and are you using http:// or https://`?

Sorry for the confusion,  I'm running homeassistant  on a python virtual environment not hass.io. I've tried both methods but cant seem to reach it. I've also re enabled port forwarding for 8123 , 80, 443 and tried both local ip address with empty config and also my duck dns address but cant seem to reach frontend

2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setting up automation
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setting up config
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.auth from homeassistant.components.config.auth
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.automation from homeassistant.components.config.automation
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.device_registry from homeassistant.components.config.device_registry
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.entity_registry from homeassistant.components.config.entity_registry
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.group from homeassistant.components.config.group
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.customize from homeassistant.components.config.customize
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.config_entries from homeassistant.components.config.config_entries
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.hassbian from homeassistant.components.config.hassbian
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.script from homeassistant.components.config.script
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.core from homeassistant.components.config.core
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.loader] Loaded config.auth_provider_homeassistant from homeassistant.components.config.auth_provider_homeassistant
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setup of domain config took 0.1 seconds.
2018-11-24 18:37:34 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.1 seconds.
2018-11-24 18:37:35 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 2.2 seconds.
2018-11-24 18:37:35 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 5.80s
2018-11-24 18:37:35 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2018-11-24 18:37:35 INFO (MainThread) [homeassistant.core] Timer:starting
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: homekit {'host': '<IP_ADDRESS>', 'port': 6517, 'name': 'Nanoleaf Aurora 52:3d:60', 'hostname': 'Nanoleaf-Aurora-52-3d-60.local.', 'properties': {'sf': '1', 'md': 'NL22', 'ci': '5', 'ff': '1', 'pv': '1.1', 'id': 'A4:7B:01:86:7A:56', 'sh': 'tooaWQ==', 's#': '1', 'c#': '6'}}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: homekit {'host': '<IP_ADDRESS>', 'port': 6517, 'name': 'Nanoleaf Aurora 52:3d:5c', 'hostname': 'Nanoleaf-Aurora-52-3d-5c.local.', 'properties': {'sf': '1', 'md': 'NL22', 'ci': '5', 'ff': '1', 'pv': '1.1', 'id': 'E1:BE:C4:CB:6D:25', 'sh': '/JZzLQ==', 's#': '1', 'c#': '6'}}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: dlna_dmr {'ssdp_description': 'http://<IP_ADDRESS>:2870/dmr.xml', 'upnp_device_type': 'urn:schemas-upnp-org:device:MediaRenderer:1', 'manufacturer': 'LG Electronics', 'name': 'Music Flow SJ8(CE:73)', 'host': '<IP_ADDRESS>', 'port': 2870, 'model_number': '1.0', 'model_name': 'LG Music Flow', 'udn': 'uuid:140479c0-58f3-1cef-84bf-b4e62aad78fb', 'serial': None}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: spotify_connect {'host': '<IP_ADDRESS>', 'port': 9876, 'hostname': 'Chromecast.local.', 'properties': {'VERSION': '1.0', 'CPath': '/goform/spotifyConnect'}}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: spotify_connect {'host': '<IP_ADDRESS>', 'port': 41800, 'hostname': 'PS4-93DD0B.local.', 'properties': {'CPath': '/spConn'}}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: igd {'ssdp_description': 'http://<IP_ADDRESS>:1900/igd.xml', 'upnp_device_type': 'urn:schemas-upnp-org:device:InternetGatewayDevice:1', 'manufacturer': 'TP-LINK', 'name': 'Wireless Router Archer C7', 'host': '<IP_ADDRESS>', 'port': 1900, 'model_number': '2.0', 'model_name': 'Archer C7', 'udn': 'uuid:060b7353-fca6-4070-85f4-1fbfb9add62c', 'serial': 'none'}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Found new service: nanoleaf_aurora {'host': '<IP_ADDRESS>', 'port': 16021, 'hostname': 'Nanoleaf-Aurora-52-3d-5c.local.', 'properties': {'id': 'E1:BE:C4:CB:6D:25', 'md': 'NL22', 'srcvers': '3.0.5'}}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.discovery] Found new service: nanoleaf_aurora {'host': '<IP_ADDRESS>', 'port': 16021, 'hostname': 'Nanoleaf-Aurora-52-3d-60.local.', 'properties': {'id': 'A4:7B:01:86:7A:56', 'md': 'NL22', 'srcvers': '3.0.5'}}
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.loader] Loaded cast from homeassistant.components.cast
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.setup] Setting up light
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.0 seconds.
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.loader] Loaded light.nanoleaf_aurora from homeassistant.components.light.nanoleaf_aurora
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.light] Setting up light.nanoleaf_aurora
2018-11-24 18:37:49 INFO (MainThread) [homeassistant.components.light] Setting up light.nanoleaf_aurora
2018-11-24 18:37:49 INFO (Thread-2) [homeassistant.components.light.nanoleaf_aurora] Discovered a new Aurora: {'host': '<IP_ADDRESS>', 'port': 16021, 'hostname': 'Nanoleaf-Aurora-52-3d-5c.local.', 'properties': {'id': 'E1:BE:C4:CB:6D:25', 'md': 'NL22', 'srcvers': '3.0.5'}}
2018-11-24 18:37:49 INFO (Thread-16) [homeassistant.components.light.nanoleaf_aurora] Discovered a new Aurora: {'host': '<IP_ADDRESS>', 'port': 16021, 'hostname': 'Nanoleaf-Aurora-52-3d-60.local.', 'properties': {'id': 'A4:7B:01:86:7A:56', 'md': 'NL22', 'srcvers': '3.0.5'}}
Forbidden! Press and hold the power button for 5-7 seconds first! (Light will begin flashing)
2018-11-24 18:37:49 ERROR (Thread-2) [homeassistant.components.light.nanoleaf_aurora] Could not generate the auth token, did you press and hold the power button on Nanoleaf-Aurora-52-3d-5c.local.for 5-7 seconds?
Forbidden! Press and hold the power button for 5-7 seconds first! (Light will begin flashing)
2018-11-24 18:37:49 ERROR (Thread-16) [homeassistant.components.light.nanoleaf_aurora] Could not generate the auth token, did you press and hold the power button on Nanoleaf-Aurora-52-3d-60.local.for 5-7 seconds?

Just upgraded to the latest version and still can't boot. Home assistant just gets stuck after this. If i enter the nanoleaf credentials in the config file, i run into the same issue, without the error showing up in command line.

I was having this problem and found since 0.83 out it was owntracks! I've forgot to remove it from the "device_tracker" platform and HA won't boot. There was no error at all in the logs, but somehow it wasn't finishing booting up.

@araa47 have you deleted the "deps" folder?

yep I've tried deleting the deps folder in the config directory too

This seems to be solved in version 0.84.6


Adding .readthedocs.yml file.

Signed-off-by: Tim 'mithro' Ansell<EMAIL_ADDRESS>

FYI - This seems to be the missing part - @daniellimws


ListView within collapsible

Hey how's it going? Love the library but I'm having a little trouble putting a ListView within a collapsible component.
Whenever I put a ListView into a Collapsible, it seems to lose the screen border, and renders the rest of the list off page with no scrolling (But collapsing works fine!). If I remove Collapsible, it flex's to the edge of screen and allows scroll.
If I give the ListView a static height, it renders and scrolls fine, but needs to be precise, and feels wrong. I think something about collapsible is losing the screen dimensions? I'm sure I'm missing a React trick somewhere, I've just started playing around with this.
So essentially:
Parent Class:
  renderPage: function(){
    return (
      <View style={styles.main} >
        <TouchableOpacity onPress={this.toggleRoster} >
          <KkToolbar title={"Roster"} />
        </TouchableOpacity>
        <Collapsible collapsed={!this.state.rosterToggle} style={styles.roster}>
          <Child id={this.props.id} navigator={this.props.navigator} />
        </Collapsible>
        <KkToolbar title={"Team Matches"}/>
      </View>
    );
  },

Child Class:
 renderChild: function(){
    return (
      <View style={styles.main} >
        <TouchableOpacity onPress={this.grabTeamHistory.bind(this,this.state.team_id)}>
            <KkToolbar title={this.state.team} style={[this.props.style]} />
          </TouchableOpacity>
        <ListView
            dataSource={this.state.dataSource}
            renderRow={this.renderPlayer}
            style={[styles.roster]}  />
      </View>
    );
  },

and, the styles:
  main: {
    flex: 1,
    flexDirection: 'column',
    //alignItems: 'center',
    backgroundColor: '#000',
  },
  roster: {
    flexDirection: 'column',
    flex:1,
    // height: windowSize.height-269,
  },

Hi, it seems like a bug.
Collapsible.js
.....
start(event => this.setState({ animating: true }));
fix:
start(event => this.setState({ animating: false }));
Cheers

It is fixed on github, but not in latest npm package

Released in 0.5.6.

thank you!


Add ARJA-E driver

@rshariffdeen the image "rshariffdeen/arja_e" needs to be uploaded to dockerhub

@crhf thanks for the PR, the image can be hosted by you and update the placeholder.


Provide system upload through API call

It would be really nice to be able to upload system outputs programmatically to the web server. It could be something like:
/upload
{
    "user_name": "XXX",
    "api_key": "YYY",
    ... [all fields in web UI system submission form]
    "system_output": {
        ... [json format system output]
    }
}

Done!
https://github.com/neulab/explainaboard_client


Correctly set loaded_from when use installed gem

What was the end-user problem that led to this PR?
In bundler 1.16.0, the following script using bundler/inline fails.
# script.rb
require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"

  git_source(:github) { |repo| "https://github.com/#{repo}.git" }

  gem "rails", github: "rails/rails"
  gem "arel", github: "rails/arel"
end

$ ruby script.rb
(snip)

.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:28:in `block in setup': rake-12.2.1 is missing. Run `bundle install` to get it. (Bundler::GemNotFound)
	from .rbenv/versions/2.4.1/lib/ruby/2.4.0/forwardable.rb:229:in `each'
	from .rbenv/versions/2.4.1/lib/ruby/2.4.0/forwardable.rb:229:in `each'
	from .rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:26:in `map'
	from .rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/runtime.rb:26:in `setup'
	from .rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/inline.rb:70:in `gemfile'
	from script.rb:3:in `<main>'

What was your diagnosis of the problem?
My diagnosis was that loaded_from was not set when using installed gem.
What is your fix for the problem, implemented in this PR?
My fix is set loaded_from when loaded_from is nil
Why did you choose this fix out of the possible options?
In my understanding, it seems there are no other options, so I chose this fix.

Thanks for opening a PR, this will need a test to make sure we don't regress in the future.

Hmmm, I'm trying to add a test, but it does not go well.
Although the above reproduction script works in the test, is it good to add the script as it is in the test?

Fixed by #6188


Keybindings keep resetting

Mod Version:
1.12 - <IP_ADDRESS>.
Forge Version:
2474
Description:
The keybindings (e.g. setting light level to F7) reset to default values when quitting the game and restarting it.

That is weird since DS doesn't manage keybindings.  What about other keybindings - do they stick or change?

No, other keybindings 'stick' like normal. I just tried it in a new instance with only Dynamic Surroundings, and there it also happens.
Something else I just notice;, is that the keybindings do not show up in the list (options > controls) when I am not in a world. So going to controls from the main menu does not allow me to set the keybindings, I can only do this with Esc inside a world.
I also updated to latest forge (2479) but this didn't help either.

Post the dsurround.cfg file.  Need to take a look at the configs.

Config

Are you stuck on 1.12.1, or would it be possible for you to test out in 1.12 using 2443?

np.
In that case it works as it should. I can change keys from main menu, and key settings persist.

OK - sounds like a Forge compat issue.  Wee!

Oops sorry, wrong button. Good luck finding that one :-(

@OreCruncher Thx for the fix!
Can confirm that the key-bindings can be set before loading a map now and that they don't reset after a client restart.
But it seems the presets keyhandler still has the old bahviour.
Just FYI.

OK - thanks!

Pushed version to CurseForge with fix.


Run button doesn't work on Python snippet

It should be disabled at least for Python snippets if python code execution is not supported

Is the output for python code snippets different than javascript?

it probably should be the same for both, closing the issue


[Bug] Block ingestor variable in config toml isn't enough

Bug report
Setting the block ingestor in the graph-node config toml file isn't enough, you have to have it set up in the docker-compose.yml or the kubes equivalent, otherwise the graph-node will refuse to ingest blocks.
Relevant log output
Jan 03 17:35:47.880 DEBG no chain head update for 30 seconds, polling for update, sgd: 167, subgraph_id: QmUeVfBoaQM5SBDetJnq4oMfS8yX6PoRS4aNKgvrE14jtd, component: BlockStream

IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out

[ ] Tick this box if this bug is caused by a regression found in the latest release.
[ ] Tick this box if this bug is specific to the hosted service.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information
Linux

@trader-payne do you mean setting he BLOCK_INGESTOR env variable in docker-compose?

Yup, correct


Support audits on external models

I was speaking to someone about things dbt has that sqlmesh doesn't, and should. This came up.
dbt can have source tests to check upstream non-managed models meet contract needed by managed models.
The equivalent for sqlmesh is to be able to audit external models.

this is supported already
https://sqlmesh.readthedocs.io/en/stable/concepts/models/external_models/?h=exter#external-audits


Idea: Annotating a sequence of images

Discussed in https://github.com/cvat-ai/cvat/discussions/7818

Originally posted by doantientai April 29, 2024
I am working on a project in which we have to give a label status of objects (a classification problem). However, we have to look at the object from multiple angles, so we took multiple images of each object. For the annotation step, now we have to display a sequence of images each time to label an object. Surprisingly, it seems there is no native solution for this. So I am trying two solutions, but they are both come with drawbacks:

Contextual images: For each object, I display 1 main image + 12 contextual images so show other angles. However, sometimes there are more than 13 images for each object, so I will lose some images if I choose this solution. Plus, the main image is huge comparing to the contextual ones.
Concatenating images: I can merge all the views of each object as one single image. The problem is the views are cropped in different sizes and shapes, moreover, the number of views of each object can be different, making it difficult to merge them without having to resize to fit them in the same grid.

What I would like to suggest, is the ability to have more contextual images (like 50), and the ability to hide the main image so that it does not take too many space on the interface.
Thank you!

I am facing a similar problem where I'm trying to label the differences between two images. So viewing the second image simultaneously would be very helpful


Create bulk moderation actions

Description

Create the custom Django admin actions for bulk moderation decisions. All bulk actions should go through an intermediate confirmation page which:

Indicates the number of records that will be affected by the action

Collects the required explanation text for the ModerationDecision (all other columns, such as moderator_id and created_on, are filled in automatically)

bulk deindex sensitive

This action takes a queryset of AbstractMedia records. It creates a ModerationDecision with type deindexed_sensitive and adds all records from the queryset. It then creates and saves DeletedMedia records for each of these, deleting the record from the API and deindexing it in Elasticsearch. The confirmation page for this action should include a highly visible warning that once records are deindexed, they cannot be restored immediately.
Note that it is not necessary to check that a DeletedMedia record does not already exist, because deindexing a record deletes it from the database (so it is not possible to call this action on already deleted records).**

bulk deindex copyright

Identical to the other bulk deindex, except the action type is deindexed_copyright.

bulk mark sensitive

This action takes a queryset of AbstractMedia records. It filters the queryset for those records which do not already have a related SensitiveMedia record, then adds them to a new ModerationDecision with type marked_sensitive. It then creates and saves SensitiveMedia records for each of the added records.
The confirmation page for this action should indicate the number of records that will actually be affected. If some records are already marked sensitive, that should be indicated on the confirmation page as well.

bulk reverse mark sensitive

This action takes a queryset of SensitiveMedia records, rather than AbstractMedia. Each SensitiveMedia record has a related media_obj, which are what will be added to the ModerationDecision. It creates a ModerationDecision with type reversed_mark_sensitive, and adds the related media. Then it first calls _update_es on the SensitiveMedia records to update the Elasticsearch index with the “sensitive” field for each media record, and finally deletes the actual SensitiveMedia records.
Although the SensitiveMedia records are deleted, the ModerationDecisions preserve the history of these actions, and Django’s LogEntry table will also automatically record the creation and deletion of the SensitiveMedia records.

bulk reverse deindex

This action takes a queryset of DeletedMedia records, rather than AbstractMedia. Like SensitiveMedia, each DeletedMedia record has a related media_obj, which will be added to the ModerationDecision. The action creates a ModerationDecision with type reversed_deindex and adds the related records. Then it deletes the DeletedMedia records.
It is extremely important to note that this action does not immediately result in deindexed records being added back to the DB and Elasticsearch indices. When the records were originally deindexed, they were deleted from both, and there is no quick way to restore them without running a data refresh. The confirmation page should contain a highly visible info block explaining this to the user.
Although the DeletedMedia records are deleted, the ModerationDecisions preserve the history of these actions, and Django’s LogEntry table will also automatically record the creation and deletion of the DeletedMedia records.

More details can be found in the IP here.
Actions will be added to the appropriate views in subsequent issues.
Blocks https://github.com/WordPress/openverse/issues/3841, https://github.com/WordPress/openverse/issues/3842, and https://github.com/WordPress/openverse/issues/3843

Adding a note here that we should make sure not to rely on the existing methods for marking sensitive or deleting media, as those do not do bulk operations and are wildly inefficient if used for a bulk operation (e.g., if used in a for loop over a set of sensitive or deleted media instances).


Exercise - Classify Text

https://microsoftlearning.github.io/mslearn-ai-language/Instructions/Exercises/04-text-classification.html
Facing issue when trying to create a project of Custom Text Classification. Find below the screen shot. Tried to deploy the project in the regions East US, East US 2 and West US 2, and encountered the same error.

Getting the same issue on the next exercise, Extract custom entities.

Correct. To fix this, we add the role "Storage Blob Data Contributor" on the storage account for the user running the lab.
I'll update the instructions today to add the necessary steps, seems to be a new requirement for these labs

Thanks

fixed with added tip


[Docs] Required Unity components not mentioned

Hi there,
I just had a look at the MRTK v2 "Getting Started" documentation as I'm planning to migrate my HTK projects soon-ish, and couldn't find any mention of the required components of the Unity installation.
I think I can remember from HTK that something around the lines of "Windows Store backend" was required, but these names changed in Unity 2018.x, and I'm left wondering what's needed. UWP .NET ? UWP IL2CPP ? Both ? Maybe more ? The documentation could be more clear by specifying this in the prerequisites, I believe.

Thanks for your time !

It actually depends on what you are planning to use the toolkit for. It's up to you what runtime you want to use. Regarding the screenshot, this seems to be older as newer versions of Unity do not even ship with UWP. NET anymore.
As more and more platforms get built into the tookit it's just a matter of your project using them, the Toolkit should compile fine.

I see, thanks for your answer ! But while runtimes indeed depends on what I'm planning to do (here, it's UWP I'm targeting so I wasn't wondering about that), it doesn't really answer which scripting backend is required/supported though (.NET/IL2CPP).

Regarding the screenshot, this seems to be older as newer versions of Unity do not even ship with UWP. NET anymore.

Older ? It actually is from 2018.3.11f1, which is the latest official release AFAIK ? Am I missing Something maybe ?

Older ? It actually is from 2018.3.11f1, which is the latest official release AFAIK ? Am I missing Something maybe ?

Oh, well then it must have been 2019.x... my fault. Still, .NET is going to be deprecated, so you're better off using IL2CPP

Unity 2018.3 supports both .NET and il2cpp.
MRTK supports .Net and il2cpp on the recommended 2018.3.x version of Unity.
.NET support is removed in Unity 2019


Ad Quality SDK

[ ] Android https://developers.is.com/ironsource-mobile/android/sdk-integration-guides/
[ ] iOS https://developers.is.com/ironsource-mobile/ios/sdk-integration-guides/

Adding Ad Quality SDK later than 7.15.0 will result in a runtime crash when calling IronSourceAdQuality.getInstance():
W  java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference
W  	at com.ironsource.adqualitysdk.sdk.i.e.<clinit>(Unknown Source:3000)
W  	at com.ironsource.adqualitysdk.sdk.i.aw.a(:195)
W  	at com.ironsource.adqualitysdk.sdk.i.aw.<init>(:13)
W  	at com.ironsource.adqualitysdk.sdk.i.z.<init>(:73)
W  	at com.ironsource.adqualitysdk.sdk.i.z.ﻛ(:67)
W  	at com.ironsource.adqualitysdk.sdk.IronSourceAdQuality.getInstance(:23)

One change between 7.15.0 and 7.16.0+ is that the sdk contains shared objects:

The extender server is sending these back to the client:
https://github.com/defold/extender/blob/dev/server/src/main/java/com/defold/extender/Extender.java#L2346
And bob will include them in the .aab:

My assumption now is that the .so files are compressed and the manifest doesn't specify to unpack them using android:extractNativeLibs:
https://developer.android.com/guide/topics/manifest/application-element#extractNativeLibs
The bundletool accepts a config json file which can specify a glob pattern for files that should not be compressed:
https://github.com/google/bundletool/blob/master/src/test/java/com/android/tools/build/bundletool/commands/BuildBundleCommandTest.java#L130-L133

@britzl for now we create it in code, but we can move it into a file similar to what we have for AndroidManifes: https://github.com/defold/defold/blob/582fd1c9c139ccd0a324842b6247dfdc9131c152/com.dynamo.cr/com.dynamo.cr.bob/src/com/dynamo/bob/bundle/AndroidBundler.java#L690-L692

Ah, we already do this. Hmm, yeah, we need to think about if we want to have extractNativeLibs as a game.project option and inject it into the AndroidManifest.xml, and if set to false, we add a glob pattern for .so files in AndroidBundler.java

Adding Ad Quality SDK later than 7.15.0 will result in a runtime crash when calling IronSourceAdQuality.getInstance():
W  java.lang.RuntimeException: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference
W  	at com.ironsource.adqualitysdk.sdk.i.e.<clinit>(Unknown Source:3000)
W  	at com.ironsource.adqualitysdk.sdk.i.aw.a(:195)
W  	at com.ironsource.adqualitysdk.sdk.i.aw.<init>(:13)
W  	at com.ironsource.adqualitysdk.sdk.i.z.<init>(:73)
W  	at com.ironsource.adqualitysdk.sdk.i.z.ﻛ(:67)
W  	at com.ironsource.adqualitysdk.sdk.IronSourceAdQuality.getInstance(:23)

One change between 7.15.0 and 7.16.0+ is that the sdk contains shared objects:

The extender server is sending these back to the client:
https://github.com/defold/extender/blob/dev/server/src/main/java/com/defold/extender/Extender.java#L2346
And bob will include them in the .aab:

My assumption now is that the .so files are compressed and the manifest doesn't specify to unpack them using `android:extractNativeLibs`. It is however recommended to not compress the shared objects and not extract them.
https://developer.android.com/guide/topics/manifest/application-element#extractNativeLibs
The bundletool accepts a config json file which can specify a glob pattern for files that should not be compressed:
https://github.com/google/bundletool/blob/master/src/test/java/com/android/tools/build/bundletool/commands/BuildBundleCommandTest.java#L130-L133

It should be easy to test, I think, by manual apk repacking. Just to make sure it helps


Toastable doesn't show up in release builds [Expo SDK 49] [Android]

After upgrading from Expo SDK 48 to Expo SDK 49, toastable messages don't show up in release builds on android.
When debugging everything seems to work fine. Any idea why is this happening?
"@types/react": "^18.2.15"
"react": "18.2.0"
"react-native": "0.72.3"
"react-native-reanimated": "~3.3.0"

Can't reproduce it in a sample app, so I guess the problem is somewhere in the legacy android folder code. Closing the issue for now.


Deleting the last saved conversation errors

When users delete the last remaining saved conversation an error is thrown in the console.
The user isn't impacted in any real way, would be nice to fix it though.

Fixed with commit: https://github.com/TannerMiddleton/minimal-gpt/commit/11fb28f7fe464dc9f7d734ebce7c53b15345303b


Information about framerate

Hi, thanks for the contribution!
Is it possible to calculate the time difference between two frames?
The raw.csv file contains a column captured_at, but it is only a date, not capture time with millisecond accuracy.
Other than that, I could not find any information about framerate / fps / time difference in your repository, in the sample dataset or on the mapillary sls site.
Thanks, Fabian

We didn't save the full timestamp, but it is available through the Mapillary API. You can query using the image keys and will get access to more metadata:
https://www.mapillary.com/developer/api-documentation/#the-image-object

Thanks for the quick reply!
I will look into the API then.


Flyout rework

Flyouts were reworked to match the design and behavior of native WinUI 3
BREAKING Removed Flyout widget.
To replace it, FlyoutAttach and FlyoutController were created. FlyoutAttach works like a target, which the given controller will use to display the flyout

Migration guide:
Before:
final controller = FlyoutController();

Flyout(
  controller: controller,
  placement: ...,
  position: ...,
  verticalOffset: ...,
  onOpen: ...,
  onClose: ...,
  child: Button(
    onPressed: controller,
    child: Text('Tap me'),
  ),
),

Now:
final controller = FlyoutController();

FlyoutAttach(
  controller: controller,
  child: Button(
    onPressed: _showFlyout,
    child: Text('Tap me'),
  ),
),

void _showFlyout() async {
  await controller.showFlyout(
    barrierDismissible: ...,
    dismissWithEsc: ..., // NEW
    dismissOnPointerMoveAway: ..., // NEW
    placementMode: ...,
    autoModeConfiguration: ..., // NEW
    forceAvailableSpace: ..., // NEW
    shouldConstrainToRootBounds: ..., // NEW
    additionalOffset: ...,
    margin: ..., // NEW
    barrierColor: ...,
    navigatorKey: ..., // NEW
    transitionBuilder: ..., // NEW
    transitionDuration: ..., // NEW
    builder: (context) => FlyoutContent(...),
  );
}

Now, it's possible to dismiss the flyout by tapping the barrier (barrierDismissible), pressing the ESC keyboard key (dismissWithEsc) and by moving the cursor (pointer) away from the flyout (dismissOnPointerMoveAway - defaults to false);
Automatic mode is finally implemented, and it's the default mode. By setting autoModeConfiguration, it's possible to customize the preferred flyout placement. If flyout doesn't meet the placement conditions, it decides where it fits the best.
forceAvailableSpace determines whether the flyout size should be forced the available space according to the attached target. It's useful when the flyout is large but can not be on top of the target. NavigationView's top navigation mode now uses it by default on pane items overflow.
shouldConstrainToRootBounds determines whether the flyout should fit the root bounds - usually the window bounds. If false, the flyout will be able to overflow the screen on all sides. Defaults to true
margin determines the margin of the flyout to the root. additionalOffset determines the margin of the flyout to the target.
It's now possible to assign a custom transition to the flyout by providing transitionBuilder and transitionDuration. By default, a light slide-fade transition is used, but it can be highly customizable to fit your needs. It provides the current placement mode - since automatic mode may change it at layout time. DropdownButton uses it to create its slidethrough transition.
position and placement were replaced by placementMode, which gives horizontal and vertical options of placement, at all screen alignments. It's also possible to use it in a right-to-left context by using placementMode.resolve(Directionality.of(context))
Pre-launch Checklist

[x] I have updated CHANGELOG.md with my changes
[x] I have run "dart format ." on the project
[x] I have added/updated relevant documentation

Some updates to FlyoutContent and FlyoutListTile are still necessary until this becomes ready. Some tests would be nice as well

There should be an option to position the flyout anywhere in the screen (https://github.com/bdlukaa/fluent_ui/issues/622)


[Snyk] Upgrade vuetify from 2.6.14 to 2.6.15

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade vuetify from 2.6.14 to 2.6.15.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2023-04-12.

Release notes

Package name: vuetify

2.6.15 - 2023-04-12🔧 Bug Fixes

remove charset statement from vuetify.css (3b5fbe9), closes #16989
VColorPicker: correct swatches-padding variable name (bb152d4), closes #14887 #14878
VDataIterator: check shiftKey on any keypress (8ad6f7b), closes #16128
VLabel: inherit attrs (116bcab), closes #16938
VSelect: only lookup keypresses for printable characters (e4208c8), closes #7260

2.6.14 - 2023-01-10

    from vuetify GitHub release notes

Commit messages

Package name: vuetify

537d67d chore(release): publish v2.6.15
369d7bb chore: correct npm tag parsing logic
f831b8e chore: allow publishing
bb152d4 fix(VColorPicker): correct swatches-padding variable name
e4208c8 fix(VSelect): only lookup keypresses for printable characters
287b986 docs: update  app styling and remove banner from default layout
3b5fbe9 fix: remove charset statement from vuetify.css
116bcab fix(VLabel): inherit attrs
8ad6f7b fix(VDataIterator): check shiftKey on any keypress
e463279 docs(search): update search client
9c9eff1 chore(ci): specify exact runner and node versions
d5793a8 docs(Carbon): update src script url
a8ab74b docs: update search index name
0833ef8 docs: update installation command
2be872e chore(ci): update vercel project ID
a5d06ef chore: update npm tag
2bd126b docs: update URL to v2.vuetifyjs.com
e0a2ee6 chore: update branch references
86d3b80 docs: update broken links, move roadmap
fd5eaab chore: update pull request template

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Superseded by #147


Expand read symbols for DFA conversion

Closes #445
Core of the issue was how the DFA conversion handled multiple symbols for single transition (Hint, it did not handle it). Makes me wonder if we should change the read property in transitions to be an array so type checking would pick this up in future 🤔
Take this example NFA

Jflap convert it into this

While current code converts it to this (Notice how there are two transitions for a)

After fix it gets converted into this

I forgot we support negation :sob: will need to think a bit more about how this conversion process will work

Used that existing expand function, much nicer.
So kinda have an idea in my head on how to handle negations, but will do that in a separate PR since it will require quite a bit more work. Want to add a proper parsing of transitions instead of the adhoc method that is done now, once its all structured then adding support for negations should be a lot easier

So with your current approach is it just support for NFA -> DFA conversion (minus negation)?

Correct
Probs won't be able to get around to the two issues I created for a while so will be good to least have this bug fixed for CT students


Add Gitflow workflow to CI/CD documentation

[x] Incorporate info from Jason's Gitflow workflow presentation

@srinivasaregeti will upload to Teams and issue will be closed

Document uploaded to Teams @maheese
https://teams.microsoft.com/l/file/D678633F-B6A2-4550-9814-A0FF0A168911?tenantId=88b378b3-6748-4867-acf9-76aacbeca6a7&fileType=docx&objectUrl=https%3A%2F%2Fusepa.sharepoint.com%2Fsites%2FCAMDCVPTeam%2FShared Documents%2FGeneral%2FGeneral Project Documents%2FArchitecture and Infrastructure%2FContinuous Integration and Continuous Delivery - EPA CAMD -<EMAIL_ADDRESS>


Run as LocalSystem is not reliable

Describe the bug
Sometimes the "Run as LocalSystem" feature fails. It occurs because supxGetSystemToken returns the first system token it finds, which might happen to be a token of a restricted service.
To Reproduce
Most frequently it happens when WinObjEx64 runs under an administrative account that does not have SeDebugPrivilege.
Screenshots
On the screenshot you can see that after supxGetSystemToken returns a restricted token and  supRunAsLocalSystem impersonates it, the function silently fails because it is unable to change token's session ID without SeTcbPrivilege,

Environment
Tested it on Windows 7.
Additional context
In fact, the reason why without SeDebugPrivilege supxGetSystemToken returns a restricted token (or even no token in some cases) is that you use PROCESS_QUERY_INFORMATION instead of PROCESS_QUERY_LIMITED_INFORMATION.
https://github.com/hfiref0x/WinObjEx64/blob/84a75c455cb872ed65e901843f5281f76a93f0f5/Source/WinObjEx64/sup.c#L3697-L3700
While administrators have high integrity,  Mandatory Integrity Control prevents them from opening system processes for read and write access. This happens because PROCESS_QUERY_INFORMATION is considered as a denied read access while PROCESS_QUERY_LIMITED_INFORMATION is an allowed execute access. So, changing PROCESS_QUERY_INFORMATION to PROCESS_QUERY_LIMITED_INFORMATION might solve most of the problems and make this feature work even without SeDebugPrivilege.
Preferably, supxGetSystemToken should not rely on any particular process order. You might just want to use winlogon's token, or, perhaps, add some checks to make sure you are using the right security context.
And showing an error message in case something went wrong would be useful.

This will be fixed in next version.

It has been changed in 1.8.0


wasmparser: Pack RefType into a [u8; 3]

Fixes #924.
This does not have the validation speed ups that #970 has. Its performance delta is a little more amorphous: we have a couple small speed ups in parsing real world benchmarks but some slow downs on the lots-of-types synthetic benchmark.
Overall, I'm still inclined to go with this version over #970 because it is less disruptive to consumers of the crate and continues to allow the better ergonomics of exhaustive matching on ValType.
parse/tests             time:   [2.4281 ms 2.4392 ms 2.4521 ms]
                        change: [-2.2326% -1.1193% -0.1863%] (p = 0.03 < 0.05)
                        Change within noise threshold.
Found 9 outliers among 100 measurements (9.00%)
  5 (5.00%) high mild
  4 (4.00%) high severe

validate/tests          time:   [8.2324 ms 8.2653 ms 8.3027 ms]
                        change: [-1.8686% -1.1821% -0.4847%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 16 outliers among 100 measurements (16.00%)
  8 (8.00%) high mild
  8 (8.00%) high severe

validate/spidermonkey   time:   [45.287 ms 45.443 ms 45.623 ms]
                        change: [-0.4603% +0.1749% +0.7378%] (p = 0.57 > 0.05)
                        No change in performance detected.
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe

parse/spidermonkey      time:   [22.109 ms 22.239 ms 22.396 ms]
                        change: [-1.9989% -1.2525% -0.4325%] (p = 0.00 < 0.05)
                        Change within noise threshold.
Found 12 outliers among 100 measurements (12.00%)
  7 (7.00%) high mild
  5 (5.00%) high severe

Benchmarking validate/pulldown-cmark: Warming up for 3.0000 s
validate/pulldown-cmark time:   [1.8312 ms 1.8472 ms 1.8651 ms]
                        change: [-0.1019% +0.8062% +1.5879%] (p = 0.08 > 0.05)
                        No change in performance detected.
Found 9 outliers among 100 measurements (9.00%)
  7 (7.00%) high mild
  2 (2.00%) high severe

parse/pulldown-cmark    time:   [883.62 us 888.87 us 895.30 us]
                        change: [-3.5930% -2.6022% -1.5580%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 6 outliers among 100 measurements (6.00%)
  1 (1.00%) high mild
  5 (5.00%) high severe

Benchmarking validate/lots-of-types: Warming up for 3.0000 s
validate/lots-of-types  time:   [981.43 us 987.44 us 994.30 us]
                        change: [+2.7850% +4.3651% +6.3771%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 13 outliers among 100 measurements (13.00%)
  6 (6.00%) high mild
  7 (7.00%) high severe

parse/lots-of-types     time:   [234.12 us 235.16 us 236.44 us]
                        change: [+5.5025% +7.6456% +9.4458%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 12 outliers among 100 measurements (12.00%)
  2 (2.00%) high mild
  10 (10.00%) high severe

validate/bz2            time:   [770.89 us 774.68 us 779.05 us]
                        change: [-3.2093% -0.6903% +1.4449%] (p = 0.60 > 0.05)
                        No change in performance detected.
Found 11 outliers among 100 measurements (11.00%)
  7 (7.00%) high mild
  4 (4.00%) high severe

parse/bz2               time:   [360.49 us 362.07 us 363.93 us]
                        change: [-4.7194% -2.3152% -0.5706%] (p = 0.02 < 0.05)
                        Change within noise threshold.
Found 11 outliers among 100 measurements (11.00%)
  5 (5.00%) high mild
  6 (6.00%) high severe

Benchmarking validate/intgemm-simd: Warming up for 3.0000 s
validate/intgemm-simd   time:   [1.6264 ms 1.6409 ms 1.6576 ms]
                        change: [-4.3743% -0.1229% +4.3713%] (p = 0.96 > 0.05)
                        No change in performance detected.
Found 14 outliers among 100 measurements (14.00%)
  7 (7.00%) high mild
  7 (7.00%) high severe

parse/intgemm-simd      time:   [728.06 us 731.08 us 734.71 us]
                        change: [-2.7176% -1.9405% -1.0816%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 12 outliers among 100 measurements (12.00%)
  4 (4.00%) high mild
  8 (8.00%) high severe

This PR is also half the size of #970, and most of the delta between the two is the additional fixing up that #970 needs to do for the other crates in the workspace due to the API changes. So yeah, this version is much nicer for downstream dependencies.


TO: Internal Server Error when filename in the request path param doesn't exist

I'm submitting a ...

[X] bug report
[ ] new feature / enhancement request
[ ] improvement request (usability, performance, tech debt, etc.)
[ ] other

Traffic Control components affected ...

[ ] CDN in a Box
[ ] Documentation
[ ] Grove
[ ] Traffic Control Client
[ ] Traffic Monitor
[X] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] unknown

Current behavior:

GET /api/{{api_version}}/cdns/Kabletown2.0/configfiles/ats/hdr_rw_.*.config HTTP/1.1
Content-Length: 0

returns
HTTP/1.1 500 Internal Server Error
Content-Type: application/json

{
    "alerts": [
        {
            "text": "Internal Server Error",
            "level": "error"
        }
    ]
}

Expected / new behavior:

404 if the file doesn't exist
Minimal reproduction of the problem with instructions:

Anything else:

Probably catching a SQL error somewhere and returning this. Checking for database/sql.ErrNoRows might be the simple fix.

closing as this endpoint has been deprecated


[Bug]: Safari is no longer indexed in macOS 13 by default?

Before submitting your bug report, please confirm you have completed the following steps

[X] Searched the issue is not already listed in the Issue List (I've searched it)
[X] Searched in the Quicksilver Users' Group for questions relating to tech support.
[X] Downloaded the latest version of Quicksilver for your system and confirmed the issue still persists.

Bug description
macOS 13 Ventura seems to have moved Safari.app to /System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app/:
> ls -al /Applications/Safari.app
lrwxr-xr-x@ 1 root  wheel  54 Oct 28 01:43 /Applications/Safari.app@ -> ../System/Cryptexes/App/System/Applications/Safari.app

For me, this meant that Quicksilver no longer indexed Safari when I upgraded. I added it back manually, but I thought I'd file an issue in case this might affect other folks.
Steps to reproduce

Upgrade to macOS 13 Ventura
Invoke Quicksilver and try to launch "Safari"
Observe no Safari in the catalog. 🥺

Expected behavior
Safari launches.
MacOS Version
Other
Quicksilver Version
2.4.0
Relevant Plugins
No response
Crash Logs or Spindump
No response
Screenshots
No response
Additional info
No response

Do you have the System Applications preset enabled? That will pick up things in /System/Applications, which is where a lot of the built-in apps are kept now.

Do you have the System Applications preset enabled?

I do! Safari's nowhere in sight. :-/

As another workaround, checking Find All Applications (bottom of your screenshot) is indexing it for me (perhaps why I didn't notice this).

As another workaround, checking Find All Applications (bottom of your screenshot) is indexing it for me (perhaps why I didn't notice this).

This is pretty handy, and it helped me find another app I was missing!
However, it results in a very long list that I don't want to check/uncheck by hand, so I'm going to stick with manually indexing /System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app/ for now.

Thanks, @lgarron, good tip.
Here's how that worked out for me: I chose the parent directory of Safari.app, scanned for type "Application" and checked "Omit source item." Probably not a different result than what you were prescribing, but this is how I would've normally done it, absent any external guidance.


Pr 245

Small cleanups on PR 245

@miekg why did you remove AutoSync? Is it because the default SelectionMode is EndpointSelectionRandom[1] which doesn't require any syncing? Is there a reason you don't use EndpointSelectionPrioritizeLeader (which does require AutoSync)? Just curious.
[1]https://godoc.org/github.com/coreos/etcd/client#EndpointSelectionMode

[ Quoting<EMAIL_ADDRESS>in "Re: [skydns] Pr 245 (#246)..." ]

@miekg why did you remove AutoSync? Is it because the default SelectionMode is EndpointSelectionRandom(see: 1) which doesn't require any syncing? Is there a reason you don't use EndpointSelectionPrioritizeLeader (which does require AutoSync)? Just curious.

Hmm...
Usually skydns will just talk to a etcd proxy, then this isn't needed, no?
And even if it talks to a cluster member why should SkyDNS care?
/Miek
--
Miek Gieben


Failing to open a serial connection ("no such file or directory")

But since I have to manually specify the connection address when i start mavsdk_server
the second line doesn't do anything?

Good question. You always need both lines, but if mavsdk_server_address is specified in the first one, then system_address is ignored in the second one. In your case it would mean:
drone = System(mavsdk_server_address='localhost', port=50051)
await drone.connect()

And mavsdk_server is started manually on 'localhost' with:
./mavsdk_server -p 50051 serial:///dev/ttyACM0:57600

Originally posted by @JonasVautherin in https://github.com/mavlink/MAVSDK-Python/issues/189#issuecomment-629145662

I have tried running mavsdk server manually by following the instructions but it fails to connect please help in this issue
./mavsdk_server -p 50051 serial:///dev/ttyACM0:57600
[02:40:05|Info ] MAVSDK version: v0.29.0 (mavsdk_impl.cpp:27)
[02:40:05|Debug] New: System ID: 0 Comp ID: 0 (mavsdk_impl.cpp:404)
[02:40:05|Info ] Server started (grpc_server.cpp:43)
[02:40:05|Info ] Server set to listen on <IP_ADDRESS>:50051 (grpc_server.cpp:44)
[02:40:05|Info ] Waiting to discover system on serial:///dev/ttyACM0:57600... (connection_initiator.h:22)
[02:40:05|Error] open failed: No such file or directory (serial_connection.cpp:86)
[02:40:05|Error] Connection failed: Connection error (connection_initiator.h:48)

As said in the log you posted, it fails here. I think it's because /dev/ttyACM0 does not exist on your system. Does it?

@JonasVautherin don't know much about /dev/ttyACM0 . I'm using ubuntu 18.04 for simulating px4 with ros gazebo
I tried installing mavsdk with pip3 my python version is 3.6.9 but it was giving error to build and start server manually
so I followed the instructions and now it is giving this error

/dev/ttyACM0 is for a serial connection. If you just use SITL, you should be able to connect with udp://:14540
./mavsdk_server -p 50051 udp://:14540

It says this
./mavsdk_server -p 50051 udp://:14540
[06:48:15|Info ] MAVSDK version: v0.29.0 (mavsdk_impl.cpp:27)
[06:48:15|Debug] New: System ID: 0 Comp ID: 0 (mavsdk_impl.cpp:404)
[06:48:15|Info ] Server started (grpc_server.cpp:43)
[06:48:15|Info ] Server set to listen on <IP_ADDRESS>:50051 (grpc_server.cpp:44)
[06:48:15|Info ] Waiting to discover system on udp://:14540... (connection_initiator.h:22)
[06:48:15|Error] bind error: Address already in use (udp_connection.cpp:85)
[06:48:15|Error] Connection failed: Bind error (connection_initiator.h:48)

Connection failed: Bind error

This means something is already running and bound to the port. Check what else you have running.

Thank you for your guidance mavsdk server has started now I'm facing new error while executing mavsdk commands in apython
from mavsdk import System

drone = System()
await drone.connect()
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
await drone.action.arm()
Traceback (most recent call last):
File "/home/shrinit/.local/lib/python3.6/site-packages/aioconsole/execute.py", line 87, in aexec
result, new_local = await coro
File "", line 2, in __corofn
File "/home/shrinit/MAVSDK-Python/mavsdk/action.py", line 252, in arm
raise ActionError(result, "arm()")
mavsdk.action.ActionError: NO_SYSTEM: 'No System'; origin: arm(); params: ()

How do you know that it detected the drone? Connected to mavsdk_server means that MAVSDK is waiting to detect a drone. Say you run ./mavsdk_server udp://:55555 (note the wrong port), you will probably get the same output. Did you use 14540, and are you sure that your SITL broadcasts on 14540?

According to the logs it has mentioned port 14540 along with other ports
roslaunch px4 posix_sitl.launch
... logging to /home/shrinit/.ros/log/8946ed8c-e8f9-11ea-a5a9-88b11135505c/roslaunch-HP-pavilion-ubuntu-18-3872.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://HP-pavilion-ubuntu-18:34515/
SUMMARY
PARAMETERS

/gazebo/enable_ros_network: True
/rosdistro: melodic
/rosversion: 1.14.9
/use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
sitl (px4/px4)
vehicle_spawn_HP_pavilion_ubuntu_18_3872_526664920159043890 (gazebo_ros/spawn_model)
auto-starting new master
process[master]: started with pid [3894]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 8946ed8c-e8f9-11ea-a5a9-88b11135505c
process[rosout-1]: started with pid [3905]
started core service [/rosout]
process[sitl-2]: started with pid [3908]
process[gazebo-3]: started with pid [3909]
process[gazebo_gui-4]: started with pid [3914]
INFO  [px4] Creating symlink /home/shrinit/Firmware/ROMFS/px4fmu_common -> /home/shrinit/.ros/etc

| ___ \ \ \ / /   /   |
| |/ /  \ V /   / /| |
|  __/   /   \  / /| |
| |     / /^\ \ ___  |
_|     /   /     |_/
px4 starting.
INFO  [px4] Calling startup script: /bin/sh etc/init.d-posix/rcS 0
process[vehicle_spawn_HP_pavilion_ubuntu_18_3872_526664920159043890-5]: started with pid [3930]
INFO  [param] selected parameter default file eeprom/parameters_10016
[param] Loaded: eeprom/parameters_10016
INFO  [dataman] Unknown restart, data manager file './dataman' size is 11798680 bytes
INFO  [simulator] Waiting for simulator to accept connection on TCP port 4560
[ INFO] [1598596921.603031015]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1598596921.609883389]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1598596921.613511813]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1598596921.619526021]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[INFO] [1598596921.627963, 0.000000]: Loading model XML from file /home/shrinit/Firmware/Tools/sitl_gazebo/models/iris/iris.sdf
[INFO] [1598596921.666776, 0.000000]: Waiting for service /gazebo/spawn_sdf_model
[ INFO] [1598596924.873170234]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1598596924.905246340]: Physics dynamic reconfigure ready.
[INFO] [1598596924.990025, 0.052000]: Calling service /gazebo/spawn_sdf_model
[INFO] [1598596925.241810, 0.208000]: Spawn status: SpawnModel: Successfully spawned entity
[vehicle_spawn_HP_pavilion_ubuntu_18_3872_526664920159043890-5] process has finished cleanly
log file: /home/shrinit/.ros/log/8946ed8c-e8f9-11ea-a5a9-88b11135505c/vehicle_spawn_HP_pavilion_ubuntu_18_3872_526664920159043890-5*.log
INFO  [simulator] Simulator connected on TCP port 4560.
INFO  [commander] LED: open /dev/led0 failed (22)
INFO  [commander] Mission #3 loaded, 7 WPs, curr: 0
INFO  [init] Mixer: etc/mixers/quad_w.main.mix on /dev/pwm_output0
INFO  [mavlink] mode: Normal, data rate: 4000000 B/s on udp port 18570 remote port 14550
INFO  [mavlink] mode: Onboard, data rate: 4000000 B/s on udp port 14580 remote port 14540
INFO  [mavlink] mode: Onboard, data rate: 4000 B/s on udp port 14280 remote port 14030
INFO  [mavlink] MAVLink only on localhost (set param MAV_BROADCAST = 1 to enable network)
INFO  [px4] Startup script returned successfully
pxh> INFO  [logger] logger started (mode=all)
INFO  [logger] Start file log (type: full)
INFO  [logger] [logger] ./log/2020-08-28/06_42_06.ulg
INFO  [logger] Opened full log file: ./log/2020-08-28/06_42_06.ulg
INFO  [ecl/EKF] 1384000: GPS checks passed
INFO  [ecl/EKF] 3004000: EKF aligned, (baro hgt, IMU buf: 18, OBS buf: 14)
INFO  [ecl/EKF] 3004000: reset position to last known position
INFO  [ecl/EKF] 3004000: reset velocity to zero
INFO  [ecl/EKF] 5884000: reset position to GPS
INFO  [ecl/EKF] 5884000: reset velocity to GPS
INFO  [ecl/EKF] 5884000: starting GPS fusion

Thank you so so much @julianoes and @JonasVautherin thank you for guiding me through these errors. I finally figured it out ,I tried running mavsdk server on port 14550 as it was mentioned in logs and it worked, I got the examples and commands running in simulation. I really appreciate your help as I was struggling with errors from past 3 days.
thank you so much...!!!

Nice :rocket:! So it seems like your SITL is not broadcasting on 14540 after all.
Note that an easy way to run SITL (headless) that will have 14540 and 14550 for sure is https://github.com/jonasvautherin/px4-gazebo-headless.


Provide sane defaults for gateway URL and postage stamp id

Most developer who try out the library will want to test their code as soon as possible without having to bother with installing components and setting them up.
The idea is that we could provide sane defaults for the api URL with https://api.gateway.ethswarm.org and the default postage stamp id<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 as exported constants.

Release v8.3.0 addresses this.


Error: Class Action is missing in schema: actions. actions

Describe the bug
signAndSendTransaction caused Error: Class Action is missing in schema: actions. actions with v5.0.3
Example call: https://github.com/aurora-is-near/rainbow-bridge-client/blob/0e75c093fb44e50931519f81307dd879b7f002d3/packages/aurora-nep141/src/natural-nep141/sendToAurora/index.ts#L443
To Reproduce
Install dependencies as:
    "@near-wallet-selector/core": "5.0.3",
    "@near-wallet-selector/modal-ui": "5.0.3",
    "@near-wallet-selector/my-near-wallet": "5.0.3",
    "@near-wallet-selector/near-wallet": "5.0.3",
    "@near-wallet-selector/sender": "5.0.3",

I was able to get around the issue by adding  "@near-wallet-selector/wallet-utils": "5.0.2" to the dependencies. Adding "@near-wallet-selector/wallet-utils": "5.0.3" instead also caused the error.
next.js 12.1.0, react 17.0.2

Hey, @paouvrard  thank you for raising this issue.
You may see this error because the version of near-api-js in your dApp and the version of near-api-js in wallet-selector do not match.
We have addressed this on this PR, and will be part of the next release: https://github.com/near/wallet-selector/pull/353
In the meantime to avoid this seeing this error install the exact version of near-api-js we have in wallet-selector:
"near-api-js": "0.44.2"

Thank you @kujtimprenkuSQA that also worked !


Add the posibility to set keyboard shorcuts with more than a special key

ie: ctrl+alt+b or ctrl+shift+c

https://developer.chrome.com/extensions/commands
I don't control which keys are available, Chrome does. The link above outlines all possibilities.


RoR group project: set up your Kanban board

This project is comprised of 2 members:

Usman - @usmansbk
Abraham - @Metsanpeitto

Hi @usmansbk & @Metsanpeitto   🙋♀,
STATUS APPROVED ✔
Your project is complete!  There is nothing else to say other than... it's time to merge it 🔗 🚢
Congratulations! 🎉
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers 🥂  and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Updated Django Docs Link

@Sibyx  Please Review!

Hello @kailashchoudhary11, first of all: thank you for your contribution. I have few issues with the PR:

it's a good practice to provide a PR description
latest Django version is 4.1
please fix all the links inside the project (also the docs/ folder)

Okay Sure!

@Sibyx Please Review!


add skill to count letters in text

The model currently produces some odd results when asked to report on the number of different letters in given text.

How many different letters are used in the following text: "abcdefghijklmnop"                           [S][default]
────── ggml-merlinite-7b-0302-Q4_K_M ─────────────────
│ There are 10 different letters used in the given text: "abcdefghijklmnop". Here's how I counted them: │
│ * A (1 time)
│ * B (1 time)
│ * C (1 time)
│ * D (1 time)
│ * E (1 time)
│ * F (1 time)
│ * G (1 time)
│ * H (1 time)
│ * I (1 time)
│ * J (1 time)
│ * K (1 time)
│ * L (1 time)
│ * M (1 time)
│ * N (1 time)
│ * O (1 time)
│ * P (1 time)
│ * Q (1 time)
│ * R (1 time)
│ * S (1 time)
│ * T (1 time)
│ * U (1 time)
│ * V (1 time)
│ * W (1 time)
│ * X (1 time)
│ * Y (1 time)
│ * Z (1 time)
│
│ Therefore, there are 26 different letters in the English alphabet, but only 10 of them were used in the given text. ----------------------
That should be 16.

How many different letters are used in "this is a test"                                               [S][default]
────── ggml-merlinite-7b-0302-Q4_K_M ───
│ There are 8 different letters used in the given text: "this is a test". Here's how I counted them: │
│ * T (2 times)
│ * H (1 time)
│ * I (1 time)
│ * S (1 time)
│ * I (1 time)
│ * S (1 time)
│ * A (1 time)
│ * T (1 time)
│ * E (1 time)
│ * S (1 time)
│ * T (1 time)
│ * (space) (1 time)

│ Therefore, there are 26 different letters in the English alphabet, but only 8 of them were used in the given text. -----------------
This should be 6 and should not (mis)count the sapce (letters not characters).

How many different letters are in the following text: "The quick brown fox jumps over the lazy dog"?
──────── ggml-merlinite-7b-0302-Q4_K_M ───
│ There are 14 different letters used in the given text: "The quick brown fox jumps over the lazy dog". Here's how I counted them: |
│ * T (2 times)
│ * H (1 time)
│ * E (1 time)
│ * Q (1 time)
│ * U (1 time)
│ * I (1 time)
│ * C (1 time)
│ * K (1 time)
│ * B (1 time)
│ * R (1 time)
│ * O (1 time)
│ * V (1 time)
│ * E (1 time)
│ * R (1 time)
│ * O (1 time)
│ * T (1 time)
│ * A (1 time)
│ * P (1 time)
│ * S (1 time)
│ * M (1 time)
│ * L (1 time)
│ * A (1 time)
│ * Y (1 time)
│ * G (1 time)
│ * Z (1 time)
│ * B (1 time)
│ * N (1 time)
│ * V (1 time)
│ * W (1 time)
│ * F (1 time)
│ * X (1 time)
│ * G (1 time)
│ * D (1 time)
│ * A (1 time)
│ * Y (1 time)
│ * B (1 time)
│ * N (1 time)
│ * V (1 time)
│ * Z (1 time)
│
│ Therefore, there are 26 different letters in the English alphabet, but only 14 of them were used in the given text. ------------------
Not sure what it did here, but it should say 26.

This could be refined to sort the how I counted part by frequency.
If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

Attempts to fix some issues with the model reporting letter frequency
...
...

Input given at the prompt

  There are 8 different letters used in the given text: "this is a test". Here's how I counted them:                                                       │
│                                                                                │
│ * T (2 times)                                                                                │
│ * H (1 time)                                                                                │
│ * I (1 time)                                                                                │
│ * S (1 time)                                                                                │
│ * I (1 time)                                                                                │
│ * S (1 time)                                                                                │
│ * A (1 time)                                                                                │
│ * T (1 time)                                                                                │
│ * E (1 time)                                                                                │
│ * S (1 time)                                                                                │
│ * T (1 time)                                                                                │
│ * (space) (1 time)                                                                                │
│                                                                                │
│ Therefore, there are 26 different letters in the English alphabet, but only 8 of them were used in the given text.

Response that is now received instead
I don't know since I can't train the model. It does behave differently when I run it now. It doesn't report the
"here's how I counted part" anymore.

  TBD

Contribution checklist

[x] tested contribution with lab generate
[x] lab generate does not produce any warnings or errors
[x] all commits are signed off (DCO)
[x] the qna.yaml file was linted

On Mon, Apr 01, 2024 at 03:14:09PM -0700 Hui Wu wrote:

I think this example looks reasonable. But just a heads-up, for approved PRs,
we likely will require at least five examples and attributions added: [1]https:
//github.com/instruct-lab/taxonomy?tab=readme-ov-file#
getting-started-with-skill-contributions

Yes, the three examples (which was what I was told was required at the time)
did not produce great generated data. Much of it was still wrong. I was hoping
to have time to try again but I also noticed someone esle was doing letter
counting.
As for attributions, I'm not sure what that would be for. One was the alphabet,
one "this is a test" and the quick brown fox ... is a standard english sentence
for using all the letters. Used by touch typists in training among other things.
There's nothing to attribute here.
I seem to have been removed from the instruct lab group so we'll see what
this email does...
Cheers,
Phil

—
Reply to this email directly, [2]view it on GitHub, or [3]unsubscribe.
You are receiving this because you authored the thread.Message ID:
@.**>
References:
[1] https://github.com/instruct-lab/taxonomy?tab=readme-ov-file#getting-started-with-skill-contributions
[2] https://github.com/instruct-lab/taxonomy/pull/179#issuecomment-2030664193
[3] https://github.com/notifications/unsubscribe-auth/AP5I4Y5DACC4O5I36L4EMS3Y3HL3DAVCNFSM6AAAAABEL3DNUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGY3DIMJZGM

--

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


bin/brew: allow GPG_TTY

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

GPG_TTY is required for gpg-agent to identify which tty to prompt for the passphrase of user's GPG key.
While user's GPG key have passphrase set, HOMEBREW_NO_ENV_FILTERING is not set to 1, and commit.gpgsign is true, brew bump-(?:formula|cask)-pr may fail.
This fix #3544.

While user's GPG key have passphrase set, HOMEBREW_NO_ENV_FILTERING is not set to 1, and commit.gpgsign is true, brew bump-(?:formula|cask)-pr may fail.

I have this set and it works for me. Can we try to figure out what differs in our configuration?

I have neither gpg.conf nor gpg-agent.conf configured.
GPG_TTY is set by oh-my-zsh plugin gpg-agent, HOMEBREW_NO_ENV_FILTERING is not set.
brew sh <<< 'echo $GPG_TTY 1>&2' 1>/dev/null prints empty, but shows $(tty) with this change applied.

I have neither gpg.conf nor gpg-agent.conf configured.

Any reason why not?

Any reason why not?

No reason actually. Since I only use gpg to sign git commits for now, there is just no need to configure gpg or gpg-agent.

I have this set and it works for me. Can we try to figure out what differs in our configuration?

BTW, what do you mean by works?
Does it pops a pinentry prompt or just successfully signed the commit?
This change is made so that a terminal-based pinentry prompt can be shown, when the corresponding passphrase of the gpg key used for signing is not cached.

BTW, what do you mean by works?
Does it pops a pinentry prompt or just successfully signed the commit?

Either/both.

This change is made so that a terminal-based pinentry prompt can be shown, when the corresponding passphrase of the gpg key used for signing is not cached.

Ok. I'd suggest instead that code be added here: https://github.com/Homebrew/brew/blob/3ce31edb7122d66831c26a729a4e484df750f38e/Library/Homebrew/utils/git.rb#L123-L129
to do ENV["GPG_TTY"] = ENV["HOMEBREW_GPG_TTY"] and add the GPG_TTY to list this instead:
https://github.com/Homebrew/brew/blob/7466d371f5222e3d68c6748052024e255f290f5c/bin/brew#L78

Ok. I'd suggest instead that code be added here

Seems some git commit don't runs Utils::Git.setup_gpg! in advance, like bump-(?:formula|cask)-pr use GitHub.create_bump_pr, and bump-revision, which will also need ENV["GPG_TTY"] = ENV["HOMEBREW_GPG_TTY"], or migrate to Git.setup_gpg!.


Disown child processes to avoid zombie processes

When you click an URL which triggers the opening of the browser, the browser's process will stay as a Zombie process when closed.
You can have multiple Z processes as long as you don't close alacritty.
As discussed on IRC 5 minutes ago, it may be interesting to launch the browser as a daemon process and disown it to avoid this issue.

The relevant part of the code where the process is spawned can be found here:
https://github.com/jwilm/alacritty/blob/master/src/input.rs#L563
It would be possible to fix this by spawning a thread and waiting for the child (see here), however this would require spawning a thread just to wait for a process which is a bit pointless.
As mentioned in the initial comment, the better approach is to make the child process a daemon instead. An example for that can be found here:
https://github.com/jwilm/alacritty/blob/master/src/input.rs#L243-L251


Opens old notes with wrong year

When I try to open tomorrow's daily note, it opens notes on tomorrows date from years ago instead.

Hey @localjo, I'm having trouble reproducing this error. Could you provide a screencast showing this happening? It might help might troubleshoot

I don't know if this provides any useful information, but here's a screencast of it happening:
https://github.com/frankolson/obsidian-tomorrows-daily-note/assets/516388/a1b3a617-e6c1-4da1-9ee8-eab62f7145ef

It looks like this bug originates in obsidian-daily-notes-interface: https://github.com/liamcain/obsidian-daily-notes-interface/issues/31
It seems that organizing notes into subdirectories isn't currently supported.

Ahh, okay thanks for updating this @localjo


Media player source list UI on mobile

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.40
Python release (python3 --version):
Component/platform:
media_player
Note: I've seen this issue for months, on multiple media player platforms.
Description of problem:
The dropdown for source selection (see attached screenshot) displays at most two entries, sometimes 1.5 entries when displayed on phone sized device. There should be 4-5 entries, and there is enough screen real-estate to display them all, but the list is truncated requiring scrolling in nearly every instance.
Expected:
More than 2 entries of a 4 entry list to be displayed.
Problem-relevant configuration.yaml entries and steps to reproduce:

Add sources to a media player
View on android, on a phone via chrome
Only two entries of a much larger list are displayed.

#6285

@MrWolvetech Yeah, I missed that. This is indeed a duplicate. Closing.


Added a python code jump game using dynamic programming

Pull Request Template
Description
Please include a summary of the problem and about the approach to solve the solution. Please also include relevant motivation and context.
List any dependencies that are required for this change.
Put check marks:
Have you made changes in README file ?

[x] Added problem & solution under correct topic.
[x] Specified Space & Time complexity.
[x] Specified difficulty level, tag & Note(if any).

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[x] Works on sample test cases provided by Leet Code
[x] Works on hidden test cases provided by Leet Code

Make sure all below guidelines are followed else PR will get Reject:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code so that it is easy to understand
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Many formatting changes in README file.
Please only push your changes and resolve all other formatting issues.


Add API breaking change detection to the build

It would be good to have automated API breaking change detection run on every build. It typically adds only a few seconds per build, and the value is quite obvious.
There are many various tools to automate such checks, including those used by the Roslyn and .NET teams. We wrote our own due to some unique requirements, and that is available here: https://github.com/aspnet/BuildTools/tree/dev/src/Microsoft.AspNetCore.BuildTools.ApiCheck. If you wish to use this tool, we can help you get it set up.
This could help prevent issues such as https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/535.

@Eilon That would be great. This particular issue was a result of how the compiler generates calls to APIs with default parameters. Would the tools you guys use have found a breaking change with default parameters (which are evil, but was part of the existing pattern)?

I recall that the ASP.NET-written tool does check for breaking default parameter changes. @javiercn wrote the tool, so he could say for sure.
But, this particular case looks like it would have been caught by the most naïve of tools anyway, because I think the signature of the method changed. (In practice it's only compilers that have real awareness of optional parameters; reflection doesn't lie 😄 )

@Eilon hey, that would be great if you could write a tiny how-to for this tool :smile:
I'd really like to use it when going to RTM with the aspnet-contrib projects.
Does it integrate with Sake?

@PinpointTownes ah, documentation? We have commits 😄 This is the change where @javiercn integrated the tool into the ASP.NET/EF build: https://github.com/aspnet/KoreBuild/pull/131
Ultimately it just runs the ApiCheck tool (a standard .NET CLI tool) in certain 'src' folders with certain parameters, so it should be very easy to integrate it into any build system.

@PinpointTownes ah, documentation?  It looks like it will be quite easy to use with Sake, as there's a dedicated target :+1:

merged to dev branch.


fix: add topic, repo, repoIds checks for search endpoints

Description

Adds check for search endpoints to ensure at least a topic, repo, repos, or repoIds is provided before making a request to the API.
This ensures valid requests are made to the API, resulting in less 400 status responses returned from the API.
This also reduces duplicate requests until all route parameters are set.

What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[x] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Fixes #2539
Mobile & Desktop Screenshots/Recordings

Steps to QA

Open browser devtools
Visit an insight page
Filter/sort for 400 errors
Note no 400 errors are returned from API requests

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Failed build needs https://github.com/open-sauced/app/pull/2550 to be merged first


Sphinx Build Error

Get this error when try to build with theme on Sphinx on Ubuntu 20.04:
Exception occurred:   File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 163, in __init__     self.searchpath = list(searchpath) TypeError: 'PosixPath' object is not iterable
Traceback log:
# Sphinx version: 1.8.5
# Python version: 3.8.10 (CPython)
# Docutils version: 0.16 release
# Jinja2 version: 2.10.1
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 300, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 263, in __init__
    self._init_builder()
  File "/usr/lib/python3/dist-packages/sphinx/application.py", line 324, in _init_builder
    self.builder.init()
  File "/usr/lib/python3/dist-packages/sphinx/builders/html.py", line 329, in init
    self.init_templates()
  File "/usr/lib/python3/dist-packages/sphinx/builders/html.py", line 378, in init_templates
    self.templates.init(self, self.theme)
  File "/usr/lib/python3/dist-packages/sphinx/jinja2glue.py", line 190, in init
    self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain]
  File "/usr/lib/python3/dist-packages/sphinx/jinja2glue.py", line 190, in <listcomp>
    self.loaders = [SphinxFileSystemLoader(x) for x in loaderchain]
  File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 163, in __init__
    self.searchpath = list(searchpath)
TypeError: 'PosixPath' object is not iterable

The issue is resolved by upgrading python to Python3.9

It should also work with Python 3.8 (and even lower), I think you might inadvertently have upgraded your Jinja2 version, which has to be at least version 2.11:
https://github.com/mgeier/insipid-sphinx-theme/blob/5391b5c2fb12e90fd931bd6b9c239886ce09ddef/setup.py#L27
See also #13.


    localizedMessage: Node for slot: 4058 hasn't been discovered yet. Check cluster slots coverage using CLUSTER NODES command. Increase value of retryAttempts and/or retryInterval settings.

This error popups during the application of the aws security update on our cluster elasticache redis.
It is a one shard, 1 writer, 2 read replica cluster,
the error popuped during the update of one of the read replica, the writer node hasn't been touch yet.
It is a one shard cluster so all the slot are in the only shard.
Expected behavior
no error
a few error like :
Node for slot: 4058 hasn't been discovered yet. Check cluster slots coverage using CLUSTER NODES command. Increase value of retryAttempts and/or retryInterval settings.
Steps to reproduce or test case
Redis version
6.2.6
Redisson version
3.20.1
Redisson configuration
clusterServersConfig:
If pooled connection not used for a timeout time and current connections amount bigger
than minimum idle connections pool size, then it will closed and removed from pool.
Value in milliseconds.
Default value: 10000
idleConnectionTimeout: 120000
Timeout in milliseconds during connecting to any Redis server.
Default value: 10000
connectTimeout: 10000
Redis server response timeout in milliseconds.
Starts to countdown when Redis command was succesfully sent.
Default value: 3000
timeout: 3000
Error will be thrown if Redis command can't be sended to Redis server after retryAttempts.
But if it sent succesfully then timeout will be started.
Default value: 3
retryAttempts: 1
Time interval in milliseconds after which another one attempt
to send Redis command will be executed.
Default value: 1500
retryInterval: 750
Interval of Redis Slave reconnection attempt when it was
excluded from internal list of available servers.
On each timeout event Redisson tries to connect to disconnected Redis server.
Value in milliseconds.
Default value: 3000
failedSlaveReconnectionInterval: 3000
Redis Slave node failing to execute commands is excluded from the internal
list of available nodes when the time interval from the moment of
first Redis command execution failure on this server reaches defined value.
Value in milliseconds.
Default value: 60000
failedSlaveCheckInterval: 60000
Password for Redis server authentication.
password: ${REDIS_DEDUPE_PASSWORD}
Subscriptions per subscribe connection limit.
Used by RTopic, RPatternTopic, RLock, RSemaphore, RCountDownLatch,
RClusteredLocalCachedMap, RClusteredLocalCachedMapCache, RLocalCachedMap,
RLocalCachedMapCache objects and Hibernate READ_WRITE cache strategy.
Default Value: 5
subscriptionsPerConnection: 5
Name of client connection.
Default value: null
clientName: null
Сonnection load balancer for multiple Redis servers. Available implementations:
org.redisson.connection.balancer.WeightedRoundRobinBalancer
org.redisson.connection.balancer.RoundRobinLoadBalancer
org.redisson.connection.balancer.RandomLoadBalancer
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
Redis 'slave' node minimum idle subscription (pub/sub) connection amount for each slave node
Default value: 1
subscriptionConnectionMinimumIdleSize: 1
Redis 'slave' node maximum subscription (pub/sub) connection pool size for each slave node
Default value: 50
subscriptionConnectionPoolSize: 50
Redis 'slave' node minimum idle connection amount for each slave node
Default value: 24
slaveConnectionMinimumIdleSize: 24
Redis 'slave' node maximum connection amount for each slave node
Default value: 64
slaveConnectionPoolSize: 64
Redis 'master' node minimum idle connection amount for each slave node.
Redisson idle connections are remain for elected slave as master.
Because this node remains in slave connection pool but in non-active state.
These connections are preserved for case when your cluster lost all slaves.
In this case master used as slave and idle-connections become in use.
Default value: 24
masterConnectionMinimumIdleSize: 64
Redis 'master' node maximum connection pool size
Default value: 64
masterConnectionPoolSize: 64
Set node type used for read operation. Available values:
SLAVE - Read from slave nodes, uses MASTER if no SLAVES are available.
MASTER - Read from master node,
MASTER_SLAVE - Read from master and slave nodes
Default value: SLAVE
readMode: "SLAVE"
Set node type used for subscription operation. Available values:
SLAVE - Subscribe to slave nodes,
MASTER - Subscribe to master node
Default value: SLAVE
subscriptionMode: "SLAVE"
Add Redis cluster node address in host:port format. Multiple nodes could be added at once.
At least one node from Redis Cluster should be specified.
Redisson discovers automatically cluster topology.
Use rediss:// protocol for SSL connection.
nodeAddresses:
- "rediss://cluster....cache.amazonaws.com:6379"
Redis cluster scan interval in milliseconds.
Default value: 1000
scanInterval: 1000
This setting allows to detect and reconnect broken connections using PING command.
PING command sending interval defined in milliseconds.
Useful in cases when netty lib doesn't invoke channelInactive method for closed connections.
Set 0 to disable.
Default value: 30000
pingConnectionInterval: 30000
Enables TCP keepAlive for connection.
Default value: false
keepAlive: false
Enables TCP noDelay for connection.
Default value: false
tcpNoDelay: false
Threads amount shared across all listeners of RTopic object,
invocation handlers of RRemoteService, RTopic object and RExecutorService tasks.
Default value: 16
threads: 16
Threads amount shared between all internal redis clients used by Redisson.
Netty threads used in Redis response decoding and command sending.
Default value: 32
nettyThreads: 64
Redis data codec. Used during read and write Redis data.
Default value: org.redisson.codec.Kryo5Codec
codec: !<org.redisson.codec.MarshallingCodec> {}
Available values:
TransportMode.NIO,
TransportMode.EPOLL - requires netty-transport-native-epoll lib in classpath
TransportMode.KQUEUE - requires netty-transport-native-kqueue lib in classpath
Default value: TransportMode.NIO
transportMode: "NIO"

This error may arise during failover. You can increase retryAttempts and retryInterval to resolve it.


TE9 TC-DL-3.2 chip tool Darwin testing: Few attributes are not present to send

Few attributes specified to be sent in Doorlock as per TC-DL-3.2 were not present. Support needed in chip tool Darwin to send these attributes. They were present in chip tool but not in chip tool Darwin.
All the attributes specified in this link needs to be supported - https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/door_lock_Cluster.adoc#tc-dl-3-2-commands-dut-client
Below are the screenshots of the missing commands.
Chip tool Darwin supported send attributes,

Chip tool supported send attributes,

Fixed in #18276


GDoc client/interface.go

And add examples https://golang.org/src/sort/

It also needs a long clause stating that this interface is experimental.


[multus-cni] e2e-test is failing

Bug Report

e2e-test is failing for multus-cni.
Expected Behavior

Test has to pass.
Steps to Reproduce the Bug
Run make e2e-test in addon/package/multus-cni/3.7.1/test

Screenshots or additional information and context

Error from server (NotFound): daemonsets.apps "cleanup-conflists" not found
• Failure in Spec Setup (JustBeforeEach) [100.109 seconds]
Multus CNI Addon E2E Test
/Users/amansha/go/src/github.com/vmware-tanzu/community-edition/addons/packages/multus-cni/3.7.1/test/e2e/multuscni_test.go:24
  Check macvlan interfaces status [JustBeforeEach]
  /Users/amansha/go/src/github.com/vmware-tanzu/community-edition/addons/packages/multus-cni/3.7.1/test/e2e/multuscni_test.go:93

  Unexpected error:
      <*errors.errorString | 0xc0000645d0>: {
          s: "Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist\ncommand terminated with exit code 1\n\nexit status: 1",
      }
      Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
      command terminated with exit code 1

      exit status: 1
  occurred

  /Users/amansha/go/src/github.com/vmware-tanzu/community-edition/addons/packages/multus-cni/3.7.1/test/e2e/multuscni_test.go:55

Environment Details

Build version (tanzu version): v0.10.1
Deployment (Managed/Standalone cluster): Standalone
Infrastructure Provider (Docker/AWS/Azure/vSphere): Docker
Operating System (client): Mac

Diagnostics and log bundle

@vmware-tanzu/pkg-multus-cni-owners Could you please take a look at this failing e2e test?


[FEATURE] Add more Hybrid Vision Transformers

The timm library currently only has  Vit and resnet as Hybrid Models. I would really love to See Swin transformers And EffNets  As Hybrid ones Being added into the Library

like this?
https://github.com/seefun/TorchUtils/blob/master/torch_utils/models/cls_models/hybrid_cls_model.py

I don't have resources to dedicate to train and evaluate new hybrid models, creating them with timm is quite straightfoward with existing building blocks. If anyone trains worthwhile hybrids with good results I am open to adding them...


Nightly test workflow can be triggered manually through a pull request with updates to it

Bug information
https://github.com/radius-project/radius/actions/runs/6873803657/job/18694407431
Not sure if this is a bug or a potential improvement to security, we can trigger Nightly Test workflow with updates through a pull request.
Steps to reproduce (required)
Please see this pull request: https://github.com/radius-project/radius/pull/6728.
Please see this workflow run: https://github.com/radius-project/radius/actions/runs/6873803657/job/18694407431.
The run is with the updated workflow file in the pull request.
Observed behavior (required)
We can trigger Nightly Test workflow with updates through a pull request.
Desired behavior (required)
Nightly test workflow shouldn't be triggered through pull requests because there might be security issues down the line.
Workaround (optional)
System information
rad Version (required)
Operating system (required)
Additional context
AB#10309

@ytimocin , will this workflow run even when it is coming from the forks?

There shouldn't be a security concern here.
First, test.yaml uses the pull_request trigger. The behavior of this trigger is to provide a read/write token and all secrets to branches that originate from the radius-project/radius repo, and a read token with no secret access to branches that originate from forks.
PR #6728 was created from a branch within the radius-project/radius repo and not a fork, and therefore has read/write token and secret access.
Public contributors would not have access to create branches in the repo and must use a fork. Therefore they would not have access to secrets or write anything back into GHCR or any GitHub assets.
If test.yaml used pull_request_target instead of pull_request, then we would have an issue.
I'd recommend reading https://github.blog/2023-11-16-security-best-practices-for-authors-of-github-actions/ which covers some more of the best practices.

This is expected as https://github.com/radius-project/radius/blob/main/.github/workflows/test.yaml#L11 has been configured to trigger when the file is updated, and no write tokens or secrets are exposed


Replace #[mantle::service] with compiler plugin

[x] impl
[ ] tests
[ ] remove unused code

@armaniferrante @willscott this is ready for preliminary review. I still have to port the tests over to use the compiler plugin.


Won’t work in browser because of process.cwd()?

Admittedly I’m not using this through Browserify so not sure if that would make a difference, but this lib calls process.cwd() which isn’t available in browsers (process isn’t at all).
I wonder if it could be adapted to not use this — or at least use a default / accept a config option (empty string?) when process.cwd() isn’t available — and hence be more portable.

same issue here

Perhaps a good default process.cwd() value could be location.pathname?

process.cwd() is still used in the code https://github.com/browserify/path-browserify/blob/872fec31a8bac7b9b43be0e54ef3037e0202c5fb/index.js#L124

You need a commonjs bundler to use this package, and the expectation is that the bundler can provide the process module. Browserify does that by default and in webpack I think there's a ProvidePlugin that you can configure with process: 'process'.

You need to use path-browserify with a bundler like webpack or browserify.
With webpack version 5 onwards, webpack does not provide Node polyfills. Therefore you need to add a ProvidePlugin for process. ProvidePlugin essentially requires / imports a specific module for every js file that is resolved from your webpack entry.
Install process polyfill:
npm i process
Add the plugin to your webpack config
    plugins: [
        new webpack.ProvidePlugin({
            process: 'process/browser',
        })
    ],

You need to use path-browserify with a bundler like webpack or browserify.
With webpack version 5 onwards, webpack does not provide Node polyfills. Therefore you need to add a ProvidePlugin for process. ProvidePlugin essentially requires / imports a specific module for every js file that is resolved from your webpack entry.
Install process polyfill:
npm i process
Add the plugin to your webpack config
    plugins: [
        new webpack.ProvidePlugin({
            process: 'process/browser',
        })
    ],

Given the above, I think that's all fair enough and this issue is just taking up space remaining open 😁
FWIW I'd love to see the JS community moving more towards portable JS where possible, rather than relying on users having specific tools in their build chain, but it's not remotely reasonable to demand that from a package which literally has the name of a bundler in its name!


Experiencing Homebridge crashing

Describe the bug
I am experiencing repeated issues where the harmony plug-in has a failure that leads to the rest of homebridge shutting down and needing a full restart to function again.
To Reproduce
it seems that every 20min or so this issue will occur following a full restart
Expected behavior
For Homebridge to have 100% uptime with desired features (control of harmony remote from HomeKit) in place
Screenshots

IOS (please complete the following information):

Version: hb 1.5 / harmony plug-in: 1.6.1 / node.js: 16.18.0
Device: Mac mini os10.15.7

Logs
as soon as I capture events in full logging mode I will add/update
Additional context
issue only began occurring when harmony plug in was installed... harmony remote will continue to function as normal even when homebridge/plug in is not

here are the logs from the last hours
homebridge.log

Hi,
can you share your config, and/or check what kind of ip config you have ? Did you set a static ip to your hub through your network ?
The network range seems a bit strange to me, even if it should not be a problem.
However it is a network issue, maybe since you are on a mac it goes into some network sleep mode ?

Hub set to DHCP but I have my router giving it a fixed address thru DHCP reservation...
Mac could be the issue but this problem only started after I installed the harmony plug in

Hum, ok, please remove other platform section, might be related (see #410)


feat: initial version

Summary

Use Cases

Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[X] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.
[X] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

What this needs before it can work/land is

Publishes of the ubi-base-stack which should occur one this PR lands - https://github.com/paketo-community/ubi-base-stack/pull/3
An update to https://github.com/paketo-community/ubi-nodejs-extension to use the images published in 1)
Releases for https://github.com/paketo-community/ubi-nodejs-extension

Everything needed for this to land is now done -  @paketo-community/builders-maintainers.
I validated that with the latest commit I've added the smoke tests run/pass.

Additionally I am having trouble running the smoke tests because extensions are still an experimental feature in pack v0.29.0 is there any work around to get the tests to run so that we can validate that things are functioning properly?

@mhdawson I was able to get experimental mode working during build but I am seeing a panic during pack builder create so I am not able to get a successful run of the smoke tests yet

@ForestEckhardt I'll re-run the smoke tests locally to see what is going on and also update the scripts to set the required command to enable experimental options.

@ForestEckhardt figured out that I had a later version of pack in by path and that was overriding what was in scripts/.util/tools.json. Updated that and it should work now.
I did also discover that it seems to work with version v0.30.0-pre2 but not v0.30.0-pre3. Will open issue in pack repo to discuss.
Also should have addressed all comments from @robdimsdale as well.

Issue in pack repo for problems with v0.30.0-pre3 - https://github.com/buildpacks/pack/issues/1850

Alrighty I have gotten the smoke tests to pass. @robdimsdale I would like to get you approval on this as well and then we can merge away.