Switch sound device in Keyboard Manager

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
In keyboard manager allow a shortcut to be mapped to switching the sound device. I would love be able to cycle through my sound devices using a hotkey.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

/dup #4964

Sorry about that, I searched and didn't fine anything, I obviously didn't search hard enough.
Thanks! Closed.


Are slices supported?

This is what I'm trying to do, works fine for simple types, but fails with slices:
package providers

import (
	"github.com/cheekybits/genny/generic"
)

//go:generate genny -in=$GOFILE -out=gen_$GOFILE gen "T=[]string"

type T generic.Type

type TProvider interface {
	Get() (T, error)
}

thanks

I believe the "[]" can not be used as part of the function name.
type []StringProvider interface {
	Get() ([]string, error)
}

It works to define a type alias.
type StringSlice []string

type StringSliceProvider interface {
	Get() (StringSlice, error)
}


[Feature] New command for "locate island skyblock:BIOME_ID"  needed

This is not a must have but a nice to have.

Maybe should be called locateIsland

Pushed to develop-1.19 (still a WIP) - currently the command is just /locate-island and only locates the closest (provided it's been generated). Will add a biome filter arg in the future.


Subheader into SAS 2 sample t-test for model checking

https://github.com/PSIAIMS/CAMIS/blob/5e19d3d0ac003e46dca043f203b3c844bb8ecca4/SAS/ttest_2Sample.qmd#L60
Please add a Subheader into SAS 2 sample t-test to show we are now talking about "Model checking"

This was completed in the hackathon


[v0.50.x] Bump GRPC Go to 1.56.3 to fix CVE

This addresses CVE-2023-44487 by not allowing more server handlers to be run than the HTTP/2 MAX_CONCURRENT_STREAMS setting.

Changes

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
This addresses https://github.com/advisories/GHSA-qppj-fm5r-hxr3 by not allowing more server handlers to be run than the HTTP/2 MAX_CONCURRENT_STREAMS setting.

/kind security

@vdemeester We need to update GRPC also. It also has same CVE and it uses it's own implementation of HTTP2.

/test check-pr-has-kind-label

/retest


change post parameters

Hello, in create method of controllers I want change posted parameter.how I can change?
I mean I want change attributes of $request before hydrate
public function create(RequestInterface $request)
{

//change
}
this code do not work
$request->getDocument()->getResource()->getAttributes()->set("local_random_payment",strtoupper(str_random(15)));

It's an abstract method in the abstract adapter class.

Closing this as I think I've answered the question! Feel free to re-open if needed.


Publishing checklist - Artifact E

Tool that the admin team would use to verify that opportunities are good to post.

this is included in the Admin team documentation. https://014gc.sharepoint.com/:w:/r/sites/GCDevEx/Shared Documents/User documentation/Admin team documentation.docx?d=wcc5065d02a7b447ba7cb039a78914230&csf=1&web=1&e=XgnpKr


updates to visualize. Counties and states

This gets us this far:

but it looks like something is off with the bounding box. The upper limit should be flush with the top of the plot


rubocop-daemon-wrapper: netcat doesn't exit forever on Ubuntu

On Ubuntu, netcat to talk to the rubocop-daemon server doesn't exit forever.
netcat is also used by rubocop-daemon-wrapper:
https://github.com/fohte/rubocop-daemon/blob/1f14eb779708fc7e837bf144801470cd28fa6a6f/bin/rubocop-daemon-wrapper#L42
So, rubocop-daemon-wrapper doesn't exit forever because of this issue.
I think this issue is caused by the difference from some other versions of netcat in its treatment of EOF on the input.
To give an example, the Ubuntu version of netcat doesn't shutdown the network socket after EOF on the input by default.
But this behavior can change by passing -N or -q option to shutdown as expected.
-N      shutdown(2) the network socket after EOF on the input.  Some servers require this to finish their work.
-q seconds
             after EOF on stdin, wait the specified number of seconds and then quit. If seconds is negative, wait forever (default).  Specifying a non-negative seconds implies -N.

My workaround on Ubuntu is:
diff --git a/bin/rubocop-daemon-wrapper b/bin/rubocop-daemon-wrapper
index 058955d..9a36237 100755
--- a/bin/rubocop-daemon-wrapper
+++ b/bin/rubocop-daemon-wrapper
@@ -39,7 +39,7 @@ run_rubocop_command() {
   PORT="$(cat "$PORT_PATH")"
   COMMAND="$TOKEN $PROJECT_ROOT exec $@"
   rm -f "$STATUS_PATH" # Clear the previous status
-  if echo -e "$COMMAND${STDIN_CONTENT}" | nc localhost "$PORT"; then
+  if echo -e "$COMMAND${STDIN_CONTENT}" | nc -N localhost "$PORT"; then
     if [ -f "$STATUS_PATH" ]; then
       exit "$(cat $STATUS_PATH)"
     else

This workaround works well, but -N option is not supported on macOS.
Therefore, we should wrap netcat command or rewrite the rubocop-daemon-wrapper in Go, Rust or and so on to support each platform.
Environment

OS: Ubuntu 18.04.1 LTS
rubocop-daemon version: v0.3.0
nc version: OpenBSD netcat (Debian patchlevel 1.187-1ubuntu0.1)

Hi @fohte, sorry about that! I've opened a PR to fix that issue and detect the OS: #5
But I agree, we should use Go or Rust for this (and it would be a little bit faster as well.)

Whoa, I just realized that rubocop-daemon could be integrated directly with the vscode-ruby extension. That would make it even faster, because then it wouldn't need to start any client processes. It can just send the TCP packets directly.
Very excited to start working on that!

Many thanks to @ndbroadbent, I've merged #5 to fix this issue!
And directly sending of TCP packets with the vscode-ruby extension seems like a clean solution! :heart_eyes:


Implement windows formating in sway/workspaces

This implementation mimics to some extend the implementation of hyprland

@Alexays anything else you want me to address in this PR?

LGTM, can you also update the Github wiki?

Reverted, freebsd check failed.

../src/modules/sway/workspaces.cpp:250:20: error: no member named 'any_of' in namespace 'std::ranges'
  if (std::ranges::any_of(node["nodes"], [&](auto const &e) { return hasFlag(e, flag); })) {
      ~~~~~~~~~~~~~^

The CI runs FreeBSD 13.2 (still supported) with clang 14.x. It either has no std::ranges support or may need additional includes. Rewriting this line with std::any_of would be better for compatibility (and for the binary size).


slight refactor to setup and teardown to make them invokable when extending

This doesn't change the functionality of RangeSlider at all, but makes it possible to invoke setup and teardown when extending the RangeSlider component.
I have a use case where I want to teardown and setup during other component lifecycle hooks.

not necessary, can just invoke functions directly.


Remove references to personal debian package repo

What does this PR do?
This dockerfile used to pull osslsigncode from a repo hosted
by suse but owned by dividedmind. This is no longer required
as there is now an osslsigncode package in the main debian repo.
This PR removes the reference to the custom repo so the package
is pulled from the main repo.
What ticket does this PR close?
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code changes, or
[x] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[x] This PR does not require updating any documentation

Could someone from @cyberark/community-and-integrations-team test this? I'm not familar enough with it to sufficiently test before merging.


docs: Fixed dead links for multi-platform with Uno tutorial

docs: Fixed dead links for multi-platform with Uno tutorial
cc @alvinashcraft, @lukeblevins

Hi @agneszitte-nventive. Thanks for submitting this PR to fix the broken links. I've already merged a PR to fix them in our private repo. It should be synced to the public repo and the live site soon. I also took the opportunity to add a link to this Uno tutorial from the original Hello World how-to in the ##Related section at the bottom.

Hi @agneszitte-nventive. Thanks for submitting this PR to fix the broken links. I've already merged a PR to fix them in our private repo. It should be synced to the public repo and the live site soon. I also took the opportunity to add a link to this Uno tutorial from the original Hello World how-to in the ##Related section at the bottom.

Thank you a lot @alvinashcraft!


only create conda env when profile enabled.

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs- [ ] If necessary, also make a PR on the nf-core/blobtoolkit branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Close this PR now. this fix is just for the old version of Nextflow, no need the condition for conda env for the latest version


Update

I have go version go1.10.4 linux/amd64
I want switch 1.13 without removing things.
Actually, I install couple of tools on my local machine. It takes a lots of times I don't want to reinstall them.

I probably don't completely understand this, you only need to update go binary, that's all you need to (re)install.
go mod init will handle everything for you.
If you don't want to move to go modules (and it is what you're referring to), switch to 1.12.x and use it with GOMOD111=off.

If you have further questions, please feel free to ask it in any of these forums below:

Stack Overflow with questions tagged "go"

The Go Forum, a web-based forum

Gophers Slack, use the invite app for access. The #general channel is a good starting point.

Go Community on Hashnode with questions and posts tagged with "go"

The golang-nuts mailing list

IRC channel #go-nuts on Freenode

Thanks


GitHub Links

Hi,
I really like your initiative here. Big kudos for taking the initiative.
I saw that you are linking to: https://github.com/librarianphp/librarian and not to https://github.com/erikaheidi/sponsoross/ it looks to me like the LINK_GITHUB ENV isn't set.

Looks like it's change already in the main branch, my bad.

Hi @tomasnorre ! Thank you for bringing that to attention. It seems the variable is not set on the production environment, indeed! At the other hand, I think we don't really need to be using the ENV for that and could just create a static list of relevant links since that would make maintenance easier in the long term, what do you think? In that case if you're up to it, I would really appreciate a PR. Initially I think we could maybe add a link to this repository, and a link to github.com/sponsors for people who want to know more or subscribe to the program.
Let me know what you think :)

Hi.

I think we don't really need to be using the ENV for that and could just create a static list of relevant links since that would make maintenance easier in the long term, what do you think?

I think a static list should do the trick.

In that case if you're up to it, I would really appreciate a PR.

I'll if I can find some time for it.

Sure, no worries!

Hi @erikaheidi
How do you imagine this with the static list. The config.php is in .gitignore so I cannot adjust it there.
I see in your base.twig.html that
{% for title,link in social_links() %}

But I don't find where you fetch social_links().
Do you have a suggestion how you would like this solved?


Always upload eslint.sarif

Merge / deployment checklist

[ ] Confirm this change is backwards compatible with existing workflows.
[ ] Confirm the readme has been updated if necessary.
[ ] Confirm the changelog has been updated if necessary.

@rvermeulen, can I get another review?

This means that it will always upload even if previous steps fail, right? 👍

Yes.
Here's an example of this working: https://github.com/github/codeql-action/pull/2473


Add duplicate custom filter list will cause some unexpected result

Description
Custom Filter List does not have duplicate URL checks.
So when I add the same URL without Name or same Name, Custom filter list has duplicate same Name.
When I disable one, the other still works and I can't disable it
this problem also happens on removed
Version
v0.5.0
Operating System
MacOS Sequoia
Steps to Reproduce

Open the App
Add same name filter or same URL without name to the custom filter list
Press disable or remove

Additional Context
No response

I think I can do it~


Refactor capture feature, fix data race reported by xcode

Use PBO:
capture screen, use PBO, cost: 10.270(ms)
capture screen, use PBO, cost: 9.750(ms)
capture screen, use PBO, cost: 9.045(ms)
capture screen, use PBO, cost: 9.232(ms)

No PBO:
capture screen, no PBO, cost: 17.235(ms)
capture screen, no PBO, cost: 18.457(ms)
capture screen, no PBO, cost: 17.306(ms)
capture screen, no PBO, cost: 16.876(ms)
capture screen, no PBO, cost: 17.132(ms)
capture screen, no PBO, cost: 17.157(ms)
capture screen, no PBO, cost: 18.863(ms)
capture screen, no PBO, cost: 18.560(ms)
capture screen, no PBO, cost: 17.864(ms)


⚠ Bofrost.es has degraded performance

In 0ce56af, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1645 ms

Resolved: Bofrost.es performance has improved in a2c5436 after 6 minutes.


Add caching ObjectStore implementation

Description of change
EDIT: This is now the follow-up to #592 which introduces a caching store implementation.
Still a draft PR to preview the use of the cache:

uses the InMemoryCache, which will be eventually replaced by a disk implementation,
CLI args are only temporary for initial testing.

Relevant issues: #255
Does this change impact existing behavior?
No. All changes hidden under caching flag.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

Replaced by #598


Roll Flutter Engine from 3aa112c75ccb to 2e5b1bf04539 (4 revisions)

https://github.com/flutter/engine/compare/3aa112c75ccb...2e5b1bf04539
2023-02-22<EMAIL_ADDRESS>Updated the wide-gamut constant and added a unit test for it. (flutter/engine#39776)
2023-02-21<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 25mb67G0L_sZ_OQCC... to dj-2XkYHvZUsqlZTc... (flutter/engine#39782)
2023-02-21<EMAIL_ADDRESS>[platform_view] fix overlapping platform view not touchable (flutter/engine#39527)
2023-02-21<EMAIL_ADDRESS>Started using bgr10_xr for opaque surfaces. (flutter/engine#39727)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from 25mb67G0L_sZ to dj-2XkYHvZUs
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Storybook.js returning 'TypeError: Failed to fetch dynamically imported module' when leveraging vite-plugin-svgr

I am attempting to import .svg files for a storybook project and am running into an module import error. I have tried a few alternative solutions but have made no progress. It's throwing an error specifically import statement.

vite.config.ts:
export default defineConfig({
  plugins: [
    svgr({
      svgrOptions: {
        plugins: ['@svgr/plugin-svgo', '@svgr/plugin-jsx'],
        svgoConfig: {
          plugins: ['preset-default', 'removeTitle', 'removeDesc', 'removeDoctype', 'cleanupIds'],
        },
      },
      include: "*.svg",
    }),
    react()],
  resolve: {
    alias: {
      "@public": path.resolve(__dirname, "./public"),
      "@design-tokens": path.resolve(__dirname, "./src/stories/@01-design-tokens"),
      "@atoms": path.resolve(__dirname, "./src/stories/@02-atoms"),
      "@molecules": path.resolve(__dirname, "./src/stories/@03-molecules"),
      "@organisms": path.resolve(__dirname, "./src/stories/@04-organisms"),
      "@templates": path.resolve(__dirname, "./src/stories/@05-templates"),
    },
  }
});

Package.json:
{
  "name": "app",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build",
    "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "preview": "vite preview",
    "storybook": "storybook dev -h ${STORYBOOK_HOST} -p ${STORYBOOK_PORT}",
    "build-storybook": "storybook build",
    "swa": "node node_modules/.bin/swa"
  },
  "dependencies": {
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "storybook": "^7.0.17"
  },
  "devDependencies": {
    "@azure/static-web-apps-cli": "^1.1.3",
    "@storybook/addon-essentials": "^7.0.17",
    "@storybook/addon-interactions": "^7.0.17",
    "@storybook/addon-links": "^7.0.17",
    "@storybook/blocks": "^7.0.17",
    "@storybook/builder-vite": "^7.0.24",
    "@storybook/manager-api": "^7.0.18",
    "@storybook/react": "^7.0.17",
    "@storybook/react-vite": "^7.0.17",
    "@storybook/testing-library": "^0.0.14-next.2",
    "@storybook/theming": "^7.0.18",
    "@svgr/plugin-jsx": "^8.0.1",
    "@svgr/plugin-svgo": "^8.0.1",
    "@types/react": "^18.0.28",
    "@types/react-dom": "^18.0.11",
    "@typescript-eslint/eslint-plugin": "^5.57.1",
    "@typescript-eslint/parser": "^5.57.1",
    "@vitejs/plugin-react-swc": "^3.0.0",
    "eslint": "^8.38.0",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-react-refresh": "^0.3.4",
    "eslint-plugin-storybook": "^0.6.12",
    "prop-types": "^15.8.1",
    "sass": "^1.62.1",
    "typescript": "^5.0.2",
    "vite": "^4.3.2",
    "vite-plugin-svgr": "^3.2.0"
  }
}

import structure: import { ReactComponent as logoIcon } from<EMAIL_ADDRESS>

I have the same issue!
It will be great to get a reliable recipe for usage storybook with vite-plugin-svgr

Did you find a solution ? I just updated vite from 2.9.x to 3.2.7 and storybook from 6.5.x to 7.3.2 and I have the same issue with storybook.

I'm using vite-plugin-svgr just fine in my storybook.  Could someone having an issue create a small reproduction, perhaps using https://storybook.new?


Adding extract_subset_granule

This function iterates continuously for the given job token and downloads it as soon as the job is done.
I am facing an issue after downloading and extracting the zip file

error : zipfile.BadZipfile: File is not a zip file

I tried to remove this error but couldn't I would like to use some fresh perspective. Pardon me if the error was caused by something silly. Ok Thanks. :)

Hi @Omkar20895 can you please shift this new function into the granule_subset function rather than creating yet another function? The idea is to keep the core Podaacpy functions exactly as specified within the Podaac Webservices API Specification. The core fucntion names can be seen on the README.
If you could please update the PR then i will check it out and also implement the test function.
Thank you v much for submitting ht patch Omkar.

@lewismc sure thing!

Done! Don't mind the commits, I will squash them at the end.

@lewismc Done! Apparently I did a silly mistake in my code, it works fine now. Thanks. :)

oh shoot! pardon me, I don't know what's wrong with me 😅  I will update it with a unit test and everything should be fine then. Thanks.

Coverage decreased (-0.2%) to 95.582% when pulling e1d7ddd9a3636e965deef38c705b68bf4c56c831 on Omkar20895:master into 124e499030c5fd51bce1a5e032f3c851776cac71 on lewismc:master.

Coverage decreased (-0.2%) to 95.582% when pulling e1d7ddd9a3636e965deef38c705b68bf4c56c831 on Omkar20895:master into 124e499030c5fd51bce1a5e032f3c851776cac71 on lewismc:master.

+1 Omkar please merge with master. We can release podaacpy 1.5.0 and make the upgrade over in OCW. this is the best functionality yet in podaacpy thank you for working on this.

No problems. Thank you very much! :)


Location was incorrect for BQ datasets

Location was set to US by default instead of eu-west-2

:shipit:


Loop Playlist - Playlists do not loop

Re did repo thats why everything so simple

Actually on second though, we do not want a playlist to loop, as I find it quite annoying to not know if I finished an album or not. Maybe add in settings section once I get that together

Going to make a new issue with an accurate description


how can I tell cargo dist to only publish to my github repo?

Hi,
At the moment, when I run cargo dist patch --execute, the githab workflow fails because publish = false in cargo.toml . I don't want to publish my artifact into crates.io but only in github.com
How can I do this?
thank you

You should be able to do this by adding dist = true to your [workspace.metadata.dist] section of your Cargo.toml.
You can verify this worked locally by running cargo dist plan


Fix typo in Persisten[t]Ets

To reproduce
$ iex
iex> PersistentEts.new(:foo, "table.tab", [:named_table])

You should see
** (ArgumentError) The module PersistenEts.TableManager was given as a child to a supervisor but it does not exist.
    (elixir) lib/supervisor.ex:629: Supervisor.init_child/1
    (elixir) lib/supervisor.ex:733: Supervisor.child_spec/2
    (elixir) lib/dynamic_supervisor.ex:320: DynamicSupervisor.start_child/2
    (persistent_ets) lib/persistent_ets.ex:77: PersistentEts.new/3

Oopses Persisten[t]Ets.
After the change
$ iex
iex> PersistentEts.new(:foo, "table.tab", [:named_table])

The output should look a bit better
:foo

Thank you. I'm not sure how this one got through, I'll add a test and do a release.


feat(prettier): add prettier options

I'm adding prettier options, because nowadays almost everybody uses Prettier.
Pull Request Checklist:

[x] Have you followed the guidelines in our contributing document and Code of Conduct?
[x] Have you checked to ensure there aren't other open for the same update/change?
[x] Have you built and tested the resource in-game after the relevant change?

@GitScorz Please rebase


@@router/LOCATION_CHANGE twice on init

Looking at the sample page (https://react-boilerplate.github.io/react-boilerplate-cra-template/) or generating an example app from scratch, I noticed location event fired twice using Redux tool.

Is there any cause for concern?

Thanks for the warning. It was caused by StrictMode being as a parent. It wouldn't effect the production though. Fixed it in the commit you can just do the same thing if you wanna avoid that.

Thanks for such a quick response. Is there an easy way to "pull" upgrades from this template into my current app that had already snapshotted a particular version in time. I know I can just see what commits have changed since the day I pulled the project, but I'm just wondering if there's a more automated way!

You can use cherry pick in git. I haven't tried on a remote upstream my self but should work in theory I guess :)
Since this is a CRA template there is no way you can download again. I will think of some strategies soon but they will be not super easy so it needs time


unexpected normalized text for Chinese.

Describe the bug
detailed information please refer to https://github.com/NVIDIA/NeMo/pull/7627

Follow up here. Are there any blockers to address this issue?

thanks for the fix. Close this issue since the PR was merged.


[Question] cLion integration

Hey
I'm a bit new to it but how can I load this library in cMake/cLion ?
Regards
Dariusz

I think all you need to do is to add json.hpp to your project.

Do you need further help?


glusterfs: 10.1 -> 10.3

Description of changes
The release notes mention 11.0, but it's probably worthwhile to incrementally move up one minor version before the major version jump.
This PR moves to 10.2, but it seems sort of stuck. This moves up two versions from 10.1 to 10.3 and applies the update to the patch file that applies cleanly onto the 10.3 tag (apologies if I should've collaborated on #174688, this seemed like it may be easier to just close the other and merge this assuming it builds and tests cleanly).
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Thanks! 11.0 changelog looks nice (but indeed let's let this version reach the channels just in case someone needs a rollback option for 11.0)


Make SaaS Boost to create separate database password for each tenant/service

Create separate database password for each tenant/service if database is configured.
Delete all database credentials when tenant is deleted.
Disable database backups for the time being to speed up development (when tenant is provisioning).

[ ] describe how deploy/update SaaS Boost for these changes

apologize, was not intended to raise against this branch


gem excon 0.44.2 fixes nasty bug, please include in next release

see https://github.com/excon/excon/issues/471
How do I tell what versions will be included in the next release of the chefdk?
Is this the right forum to ask for a fix version bump of a gem?
BTW, why is   .kitchen/log  in this repo, something missing in the .gitignore?

The latest release of ChefDK (0.5.0) includes a newer version:
chef gem list | grep excon
excon (0.45.3)


Chrome keeps capturing screen after stream is stopped

Start a stream, hit stop button on 2n.fm (the custom button not Chrome's toolbar at the top).
Similarly, start an audio stream without checking audio and it also gets stuck.

Fixed in ef0dcc83faf2270110f12f1aa41b6ae4a7df0ae0


Fix/sonarcloud bug

Main branch still seems to be failing even if the branch being merged into main passes - using this as a safe option to test the difference in Quality sets on SonarCloud


Exclude build-id links from rpm

For #767.  Resolves installation conflicts for /usr/lib/.build-id links if the signalfx-agent rpm is already installed.

Curious why the build ids collide, but if these aren't necessary and it works that seems good enough.

I think that since the collector and signalfx-agent may contain the same ELF files, the same build-id symlinks are generated.  But from what I understand, these symlinks are primarily for debugging, so excluding them shouldn't be an issue.


Entities are constantly turning unavailable

Describe the bug
A clear and concise description of what the bug is.
After the latest update of the Skodaconnect integration and HA Core (2023.1.0) the entities of my Skoda Superb constantly become unavailable. The only solution is a reload of the integration. Might be an issue at the Skoda server, but not sure about this.
Latest working release
If the problem started after updating to a new release, please state latest working release.
1.1.4 of Skoda Connect and 2022.12.9 of HA Core
Debug logs
If applicable, add debug logs. See README on how to enable debug logs with response debugging.
No logs about the issue
Installation:

Home Assistant variant: [e.g. Hass OS, Docker, Core, Supervised]
Python version [e.g. 3.7, 3.8]
Python library versions ["python3 -m pip list"]
HassOS in VM

Additional context
Add any other context about the problem here.

Describe the bug
I have the same problem. After a while the entities become unavailable.
Latest working release
I switched from HA OS to HA Docker (from 2022.12.9 to 2023.1.0) and from Skoda Connect 1.1.2 to 1.2
The former was fully functional.
Debug logs
Logger: skodaconnect.connection
Source: custom_components/skodaconnect/init.py:907
Integration: Skoda Connect (documentation, issues)
First occurred: 5. Januar 2023 um 21:35:06 (1725 occurrences)
Last logged: 07:09:18
Could not refresh tokens: Failed token refresh
Could not fetch operation list, error: Failed to set token for "vwg": No valid tokens for client "vwg"
Installation
Docker, stable

There seems to be an issue with VW-Group token refresh (the API token for all non Enyaq cars).
The issue was probably always there but weren't noticed before the token handling change.
I have pushed new library version that will hopefully fix this issue.

Update to version 1.2.1 of integration and it will require the new library version to be installed (1.3.2)

Thanky you, i have updated the version. I will update tomorrow if this has fixed the problem.

@Farfar It looks like version 1.2.1 did the trick. Now 4 hours since this update and the car is still available.

Same for me, works perfectly again. Thank you

The "Last connected" is still not handled correctly and sometimes throws errors when invalid value is received from API. Working on a good fix for that.

Duplicate of #157

@all that suffers from sensors that become unavailable:
The last time, when I had a similar issue, the battery state of charge was one of the affected sensors (but not only).
I've checked the Skoda app - and - of the battery information was also not visible there.
So I knew, it was (again) something related to the unstable service provided by skoda / vw.
anyway - even on the next day, the sensors in the integration remained unknown.
Again, I opened the app - but there, all information were available.
So I reloaded the integration, and just after that the information were available again in HomeAssistant.
So... it seems that there is at least some kind of issue that the integration is not able to update the entities, when there was something wrong with the servers.
Because before I opened the app, I've tried to reload the integration which did not help.
Only after opening the app (no consent to confirm, etc.) the states became available again.

maybe, this does help the one or the other as a work around
maybe, it will help to improve the reiability of the integration (althought, I cannot provide any further logs at the moment :-( )

duplicate of #157


Updated ru_RU.lang

Hi, @aidancbrady! I found that some Mekanism items are not translated on russian. Here is my translate for them: https://www.dropbox.com/s/esvegg974vpieox/ru_RU.lang?dl=0

Sorry that I don't use git for this things. They are too small I think to pull them as request.

Is this pulled from the dev branch or master branch?  We have a few localization changes in the workings.


How would I build the docker image locally on Windows?

Hey,
I made some modifications to Liget and want to deploy them to my server as a docker image. I'm using Windows 10 as development system, so how would I build the docker image here?
My idea:
Create a new development docker image based on debian, install git and docker, clone this repo and follow the steps of .travis.yml, but I'm having some problems getting Docker running in Docker.
Is there any easier way to accomplish this?

Hi, I have little experience with using docker on Windows.
I think one of the easy ways to build your fork in this case would be to virtualize linux with virtualbox, where you could have a fully functional docker.  Maybe docker-machine could help with that.
Then install git and dojo and proceed as in travis or GoCD pipeline config.(see also the development in readme).
If you want to skip tests, from linux, it would suffice to run:
dojo "./build.sh --target Build"
./tasks.sh build_docker

If you go a different way. You would have to install dotnet core, FAKE, paket, nodejs and all the testing tools.
But FYI, the docker build is quite simple, it only requires that src/LiGet/bin/Release/netcoreapp2.1/publish folder can been produced. Then docker build -t liget . is enough to build an image.

Alright, I will try to virtualize Linux, thank you.
One problem I had when just building (and then running) the docker image in Windows was an error I could not solve:
/bin/sh: 1: /app/run.sh: not found
I already verified that this file does actually exist in the container (and it's executable)

vincent@debian-dev-pc:~/liget$ sudo ./tasks.sh build
2019/05/31 05:41:12 [ 1]  INFO: (main.main) Dojo version 0.4.0
2019/05/31 05:41:12 [17]  WARN: (main.warnGeneral) Current user is root, which is not recommended
2019/05/31 05:41:12 [17]  INFO: (main.DockerDriver.HandleRun) docker command will be:
 docker run --rm -v /home/vincent/liget:/dojo/work -v /root:/dojo/identity:ro --env-file=/tmp/dojo-environment-dojo-liget-2019-05-31_05-41-12-40914748 -v /tmp/.X11-unix:/tmp/.X11-unix -ti --name=dojo-liget-2019-05-31_05-41-12-40914748 kudulab/dotnet-dojo:stretch-3.1.0 "./tasks.sh _build"
31-05-2019 09:41:13 Dojo entrypoint info: Sourcing: /etc/dojo.d/variables/50-variables.sh
31-05-2019 09:41:13 Dojo entrypoint info: Sourcing: /etc/dojo.d/scripts/20-setup-identity.sh
/dojo/identity/.ssh does not exist. You won't be able to git clone over ssh
/dojo/identity/.ssh/id_rsa does not exist. You won't be able to git clone over ssh
cp: cannot stat '/dojo/identity/.ssh': No such file or directory

There seems to be an issue with dojo, do you have an idea what is going wrong here?

@Anapher sorry, that's a bug in the image. To workaround, on the docker host, create ~/.ssh directory with mkdir -p ~/.ssh.
Also, you should not run with root account using sudo. Just run ./tasks.sh build.
If you cannot access docker as vincent user, add the user to docker group with sudo usermod -aG docker vincent and log-in to a new terminal/ open a new ssh session.

Thank you very much, that worked


We need multiple types of missiles

Right now I only use one as a first step. Each missile will end up with different properties - like different speeds, damage, health, etc.

I’ll work on this tomorrow, starting with having a few different types. Then I’ll work on the different properties like speed

I’ll work on this tomorrow, starting with having a few different types. Then I’ll work on the different properties like speed

Lit. There's three missiles in the assets folder, can start with using those. A separate issue to solve that's related to this is animating the missiles as they fly using the varied images included.


Process errors in batch streaming

Using streams and batches at the same time changes their behaviour a bit. The batch returned will contain a status key for the individual operations and the status code of the response will be 200. This results in errors being hidden while transactions fail.
If it is not a streamed batch the overall status code of the request should work as was expected before and the individual operations should not have codes of their own, that's why it uses 200 (as it did before) on missing statuses.

Any news?


⚠ dev-deces.matchid.io search API has degraded performance

In 5439c16, dev-deces.matchid.io search API (https://dev-deces.matchid.io/deces/api/v1/search?q=pompidou) experienced degraded performance:

HTTP code: 200
Response time: 5182 ms

Resolved: dev-deces.matchid.io search API performance has improved in b6bf18f after 45 minutes.


Fix parsing exception

Fix parsing condition if we have a Release Definition that contains an Environment that has a Condition.
Closes #56
Azure DevOps java sdk pull request template guide
Thank you for your interest in contributing to this project.
Description
Describe your PR in few words.
PR Checklist

[ ] Added help
[ ] Added unit test/s
[ ] Updated Change log

LGTM


Release Google.Cloud.Datastream.V1 version 2.5.0

Changes in this release:
No API surface changes; just dependency updates.

Created release for Google.Cloud.Datastream.V1-2.5.0


dont block controlled prop if decimal separator not present

Closes #214

Codecov Report

Merging #215 (a038521) into master (36950cc) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #215   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines          359       359
  Branches       145       145
=========================================
  Hits           359       359

Impacted Files
Coverage Δ

src/components/CurrencyInput.tsx
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f4cef96...a038521. Read the comment docs.

Apologies for delay in reviewing this PR. Many thanks for raising an issue and fixing!!


[Deepcast] ...Expand the reading window in Deepcast

Extension
https://www.raycast.com/mooxl/deepcast
Description
Hello, thanks for a very handy extension, I use it all the time after noticing how much resources the original DeepL app consumes.
Please widen the active text window width. In Raycast is quite a small window, and the active text window in your extension uses only the center part of it when adding a long text reading is not very convenient.
P.S.:
1.And also add a button to quickly change the translation backwards, this function is available in all translators (for example English German and back German English.)
2.Also noticed that the translation is shown from the end
Who will benefit from this feature?
No response
Anything else?
No response

Please widen the active text window width

This isn't possible. Raycast doesn't offer a way to resize itself

1.And also add a button to quickly change the translation backwards

Do you mean to swap the languages? I could add an action to the action panel that swaps the languages around, ie switching from translating English->German to German->English

2.Also noticed that the translation is shown from the end

What do you mean by this? I don't quite understand

This isn't possible. Raycast doesn't offer a way to resize itself

I mean to expand not the Raycast window itself, but the active area for entering text and translation results into Deepcast. This way it will be more convenient to read, so that you don't have to scroll constantly a small part of the visible text

Do you mean to swap the languages?

Yes, I mainly use two languages and have to open and search for the language I need in the general list every time instead of swapping them with one button.

What do you mean by this? I don't quite understand

When I insert a long text and go down to the translation, the translation is displayed from the end, not from the beginning and I need to scroll up each time.

expanding text area - this also isn't possible.
swap languages - I'll do this sometime in the future
scrolling - I don't believe there's a way to change this either

Actually, there already is an action to switch the language in the action panel.


Update Certificate resource to include issuerRef and group.

Update Certificate resource used for webhook with self-signed issuer to include issuerRef and group. This is to avoid the BadConfig warning that gets logged when CertificateRequest resource is created. Resolves #56
Signed-off-by: Sitaram IYER<EMAIL_ADDRESS>

/assign @JoshVanL

/lgtm
/approve


UI update breaks extension

Problem
The new Twitter UI update deciding to screw around the extension and broke it.
Tweet w/extension

Tweet without extension

Im getting this too.

@Flkalas would love for this to get fixed

Also in feed, it duplicate the like button instead of the share button.
I have a fix ready, doing a PR

It got fixed sorta but the feed is still broken.

 It got fixed sorta but the feed is still broken.

Do you have a screenshot ? Wich browser do you use ?


Release/202412071546

This pull request includes several changes to the deployment process and configuration settings, as well as updates to dependencies. The most important changes include updates to deployment scripts, modifications to buildspec files, and adjustments to the package.json dependencies.
Deployment Process Updates:

Readme.md: Updated deployment instructions to include new scripts for switching stages and clearing CDN cache.
deploy.bash: Modified to include a new STAGE parameter and removed the DISTRIBUTION_ID parameter. Added a call to clear-cdn.bash.
clear-cdn.bash: Refactored to use a single parameter for DISTRIBUTION_ID.
switch-stage.bash: Added a new script to switch CloudFront origin paths based on the stage.
upload-module.bash: Updated to include a new STAGE parameter for S3 bucket paths.

buildspec File Modifications:

buildspec.yml and buildspec.prod.yml: Updated Node.js version to 22 and included the new STAGE parameter in the deployment commands. [1] [2]
buildspec.switchStage.yml and buildspec.switchStage.prod.yml: Added new buildspec files for switching stages. [1] [2]

Configuration and Dependency Updates:

package.json: Updated several dependencies to their latest versions, including three, eslint, and storybook. [1] [2] [3] [4] [5]

Code Adjustments:

src/js/main.ts: Refactored the resource root selection logic for mobile and desktop platforms. [1] [2] [3]

These changes aim to streamline the deployment process, ensure compatibility with updated dependencies, and improve the overall maintainability of the project.

gbraver-burst-switch-stage、gbraver-burst-switch-stage-prodは誤って設定したものなので、エラーとなっていても問題ない。


Update Input Fields look [Fiji]

Zeplin:
Blank
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/styleguide/components?cseid=5e218a805b5b617d8eec7aef
Entering:
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/styleguide/components?cseid=5e218c6773e393a79c640116
Entered:
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/styleguide/components?cseid=5e218cbacf6a85ab00ee4d3b
Error:
https://app.zeplin.io/project/5d088205bff2d15de6a4397b/styleguide/components?cseid=5e218d1b0f5ab5ab7cdca668

You can pay a special attention to numeric keyboard (when entering amount)
a) dai/xdai bridge

b) send coin

c) supply to defi

d) fiat on-ramp

There was a very similar issue on iOS https://github.com/AlphaWallet/alpha-wallet-ios/issues/1742

https://zpl.io/awRP9yN
https://zpl.io/aNg1d4D
https://zpl.io/VqqnGxJ

@ChintanRathod address book can go in on a different PR, make this PR only about the appearance.


feat: support NO_COLOR when emitting diagnostics

fixes #499 by enabling the auto-color feature of the ariadne dependency which supports NO_COLOR and detects if a TTY is attached before coloring the diagnostic output.
I'm happy to put this behind an optional feature in apollo-rs as well if that is desired, though I think enabling it by default is useful enough to leave it around - interested in thoughts.

Yes default is perfect I think. thanks!


xwayland request_minimize signal

some games have the option "Minimizes on focus loss",
this seems broken in non-tiling wlroots compositors,
as it seems to not be implemented in wlroots.

Note: This also affects client side decorate chrome for example.

Fixed in https://github.com/swaywm/wlroots/pull/2337

Fixed in https://github.com/swaywm/wlroots/pull/2337


Missing files

hello
when I run the code, it shows missing files.
The error message is as follows.
ModuleNotFoundError: No module named 'nms._ext.nms._nms'
ModuleNotFoundError: No module named 'layer_utils.roi_pooling._ext.roi_pooling._roi_pooling'
Could you supply me with these two documents?

Hello,you need to compile first.

Dear Yonghuicai,
Thanks for your kind attention to our work!
According to your description, you need to compile some codes by following:
cd ./lib/
make
cd ../
Best Regards,
Keze
On Wed, Aug 29, 2018 at 4:41 PM YONGHUICAI<EMAIL_ADDRESS>wrote:

hello
when I run the code, it shows missing files.
The error message is as follows.
ModuleNotFoundError: No module named 'nms._ext.nms._nms'
ModuleNotFoundError: No module named
'layer_utils.roi_pooling._ext.roi_pooling._roi_pooling'
Could you supply me with these two documents?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yanxp/SSM-Pytorch/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJR_Ah9x_0qhd30bu_tNVvn8uvafQMTOks5uVlPLgaJpZM4WRFpf
.


Add additional license files that had been accidentally omitted

Addresses https://github.com/conda-forge/openmm-feedstock/pull/10#issuecomment-544351862 (accidentally omitted license files).
This PR adds the LGPL and GPL license text that applies to some components of the CUDA and OpenCL platforms.
Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

(Re-opening from a fork after @isuruf pointed out this is the correct conda-forge workflow.)

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

This is great, thanks!


warning: could not find referenced DIE when compiling on macOS

I just did some of my first compiles and I'm getting this error:
  = note: warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o
          warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o
          warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o
          warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o

This was after running cargo run --release --bin build-index -- version in my (proprietary) project on macOS (Big Sur 11.2.1).
djc-2019 IDS-326/build-index-version rust $ cargo version
cargo 1.50.0 (f04e7fab7 2021-02-04)
I suspect this may have something to do with the split debuginfo stuff?

For what it's worth, this workspace has the following configuration:
[profile.release]
debug = true
lto = true

I also see warnings like this:
          warning: inconsistent range data.
          note: while processing emitting debug_ranges
          warning: inconsistent range data.
          note: while processing emitting debug_ranges
          warning: inconsistent range data.
          note: while processing emitting debug_ranges
          warning: inconsistent range data.
          note: while processing emitting debug_ranges
          warning: inconsistent range data.
          note: while processing emitting debug_ranges
          warning: no mapping for range.


The Delegate to generated class

I see the Usage,but I used this lib happened something strange.
  static void onCreateWithCheck(UploadImageActivity target, Bundle savedInstanceState) {
    if (PermissionUtils.hasSelfPermissions(target, PERMISSION_ONCREATE)) {
      target.onCreate(savedInstanceState);
    } else {
      PENDING_ONCREATE = new OnCreatePermissionRequest(target, savedInstanceState);
      if (PermissionUtils.shouldShowRequestPermissionRationale(target, PERMISSION_ONCREATE)) {
        target.showRationaleForCamera(PENDING_ONCREATE);
      } else {
        ActivityCompat.requestPermissions(target, PERMISSION_ONCREATE, REQUEST_ONCREATE);
      }
    }
  }

This method I don't know how to use because it has second parameter.It don't like as  Usage,and it don't delegate the class like the demo.

Do you add @NeedsPermission to onCreate(Bundle) method?

Yes.

@Alex-ZHOU Don't add an annotation to onCreate. You should separate exact process to a method.

I would advice against annotating something like onCreate, since you aren't in control of calling it yourself - the framework is. Therefore, you would have to extract your permission-protected code out of the onCreate and into another method, then annotate that one.

Thx contributors!

Thanks you very much for finish my question and give me suggestion.


Errors from xiaomi_aqara components: "No data in response from hub None" & "Cannot connect to Gateway"

Home Assistant release with the issue:

0.95.4
Last working Home Assistant release (if known):
none, almost all the old versions have this issue.
Operating environment (Hass.io/Docker/Windows/etc.):

Ubuntu Linux, 18.04.2 LTS
Component/platform:

https://www.home-assistant.io/components/switch.xiaomi_aqara/
https://www.home-assistant.io/components/xiaomi_aqara/
Description of problem:
Errors come out frequently, about weekly or daily:
Error: No data in response from hub None (components/xiaomi_aqara/switch.py)
Error: Cannot connect to Gateway (components/xiaomi_aqara/switch.py)
and
Warning: Update of switch.lvmizigbee is taking over 10 seconds (util/async_.py)
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
discovery:
xiaomi_aqara:
    gateways:
        - mac: xxxx
          key: xxxx

Traceback (if applicable):
2019-06-30 16:17:03 WARNING (MainThread) [homeassistant.helpers.entity] Update of switch.lvmizigbee is taking over 10 seconds
2019-06-30 16:17:03 ERROR (SyncWorker_8) [xiaomi_gateway] Cannot connect to Gateway
2019-06-30 16:17:03 ERROR (SyncWorker_8) [xiaomi_gateway] No data in response from hub None

Additional information:
It seems that miio switch also has this issue, but now I'd disabled miio totally.
https://www.home-assistant.io/components/switch.xiaomi_miio/

Same here
Cannot connect to Gateway
Update of binary_sensor.door_window_sensor_158d000XXX is taking over 10 seconds

Same here
Cannot connect to Gateway
Update of binary_sensor.door_window_sensor_158d000XXX is taking over 10 seconds
But last working version for me is 94.4

I haven't meet time out for other sensor, just the switch.
And 94.4 also had this issue for me, although it has been working quite fine.

Sorry, I am wrong. Issue persists in 94.4

I have the same issue. The situation could be assuredly reproduced. When I restart HA many times (for example, due to intensively changing of config) in a short period (f.e. every 30 min), every 4th-5th restart cause the loss of the gateway. Unplugging of the gateway for 15-20 mins and then plugging it on solves the problem. It seems that frequent reconnection to gateway force it to close web sockets (may be due to security logic of gateway firmware).

I have the same issue. The situation could be assuredly reproduced. When I restart HA many times (for example, due to intensively changing of config) in a short period (f.e. every 30 min), every 4th-5th restart cause the loss of the gateway. Unplugging of the gateway for 15-20 mins and then plugging it on solves the problem. It seems that frequent reconnection to gateway force it to close web sockets (may be due to security logic of gateway firmware).

till 0.98.1, this issue still exist.

From HA version 103 I receive another text of message, but still can't connect to the hub:
ERROR (SyncWorker_1) [homeassistant.components.xiaomi_aqara] No gateway discovered
ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Integration failed to initialize.

There is a lot of similar incidents here (seems to be relevant cases):
https://github.com/home-assistant/home-assistant/issues/29866
https://community.home-assistant.io/t/0-103-happy-holidays-service-calls-starline-geonet-nz-and-proxmox/154379/138

Still exist on version 0.103, since HA and the gateway are in the same room and same LAN, I don't think this is because of the network.
btw, it occurs about 5 times per day.

I can't even integrate my Aqara Hub into Home Assistant.
It fails to initialize/connect to the gateway, but I triple checked the MAC/IP/KEY.

@Fusseldieb Which hardware model do you own? How complex is your setup (VM/docker) and network setup (VLANs)? Which version of HA do you use?

@Fusseldieb Which hardware model do you own? How complex is your setup (VM/docker) and network setup (VLANs)? Which version of HA do you use?

I use Docker on a Intel NUC, running Home Assistant 0.103.3 on it. The router runs OpenWRT and every device can see each other and I never had any problem with a device.

Do you use the host mode? Otherwise no multicast traffic is passed to the docker container.

Thanks for the quick help, but I figured out what was wrong...
The ports were closed on the Gateway and to open them I had to disassemble it, hook a TTL on it and type in a command.
Now it works with HA and the ports are open.
I followed this tutorial: https://community.openhab.org/t/solved-openhab2-xiaomi-mi-gateway-does-not-respond/52963/114
A snapshot from the page (If it ever goes offline):

Find specific screw bit like fork to open gateway case.
Find UART cable/board.
Solder 3 wires GND and RX / TX like here

Disconnect RX wire from UART module.
Dont connect Vcc (power) from UART to gateway.
Turn on gateway (220V).
Open putty application, connect to serial port (COM1-30) -select yours one0.
Wait for fully load of gateway, connect RX wire to UART.
You will see all messages of gateway.
Send command psm-set network.open_pf 3, send it few time in case it was spammed by gateway and it can be lost in msgs…
Check your param by command psm-get network.open_pf to be sure its OK.
Turn off gateway.
Turn it ON.
Check your port.
Say thx to this guy - ds2003

@Fusseldieb Thanks for your detailed manual! But the case I mentioned above is different. I didn't update Xiaomi Gateway and didn't make any changes in network settings. Nevertheless sometimes HA can find the gateway, but more often than not it can't.

Bumping this. Persists in 102 and 107. Worked ok in the early 90s, but I haven't reverted to test again. I moved from Hassio on a pi wired directly to my router to HA (not Hassio) in docker on a Ubuntu server which is wired to a wireless repeater but still on the same subnet so there's a pretty good chance my issue is a network problem
My gateways mostly respond and mostly work but throw heaps of errors to the log and periodically ignore instructions or don't return sensor data.
1 of my 3 gateways is connected to the wireless repeater that the Ubuntu server is wired to. My 2 other gateways are connected to the proper subnet router.
Any suggestions?

Have the same problem now from 2 or 3 last update. Now on Home Assistant 0.108.3
Very annoying. Before it is worked without problem. Nothing changed only the home assistant updated. If unplug and replug it is working again for a while. Sometimes after the first trigger stop working, and sometimes after 4th 5th triggers stop working. Must unplug and replug again. :(

Have the same problem now from 2 or 3 last update. Now on Home Assistant 0.108.3
Very annoying. Before it is worked without problem. Nothing changed only the home assistant updated. If unplug and replug it is working again for a while. Sometimes after the first trigger stop working, and sometimes after 4th 5th triggers stop working. Must unplug and replug again. :(

same here i'm on the latest 0.110.2 still having same issues. Sometimes need to restart HA several times a day..


[Feature] Ender IO Storage Block

So, there is no alternative to AE2 for mass storage.
 An upgrade to item conduits to make them into storage buses.
The block itself works as a crafting terminal, and you can access all storages you have attached to the ender io item conduits with the storage upgrade.
Of course balance of the recipes is important :)

Inventory Panel fulfills this


Updated repository location for restlet

The URL for the restlet maven repository seems to have permanently changed and the TLS certificate on the old repo as expired. This blocks building Atlas because the TLS certificate of the repo is not valid. I've added the new location for the repository to pom.xml and this works around the issue.

This PR has become obsolete due to the merge of PR 219
Perhaps Madhan or Jim can close this?
@mneethiraj
@Jimvin

Looks good, closing.


[BUG] Text colour inside search box on home page.

Description
Hi. I have noticed that the text colour inside the search box has no contrast. This makes the written text unreadable.
How it would be useful: This would improve the UX since currently the text is only visible if the eyes are strained beyond measure.
Do assign this to me if you think this should be fixed. Thankyou.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

Someone is already working on the UI part


cross "platformnes" of the cairo/gtk version

Hi Nano,
we are currently working on getting NoteKit on as many as possible distros / OS's working. As we depend on cLaTeXMath we have also created packages (and patches) for it.
home:sp1rit:testing:notekit/clatexmath builds deb packages for Debian and Ubuntu, rpm's for *SUSE, Fedora, Mageia & CentOS, and .pkg.tar.zst for Arch. I think the Debian copyright file (within the debian.tar.xz) should get updated to explicitly mention  the licenses from the fonts (and those xml files :D)
home:sp1rit:mingw/mingw-clatexmath build x86_64 and i686 mingw dlls for use in fedora's mingw space that we use to automatically nightly build notekit for Windows. However building cLaTeXMath on MinGW some issues.
First M_PI is not supported and has to be replaced with the G_PI constant: use_glib_pi_const.diff
Also on newer versions of some *mm package (I think it was pangomm) that fedora 34 carries, the way symbols are exposed on windows changed and that caused clatexmath to stop building. @LyesSaadi solution was just to remove the samples since the offending line was in there (afaik Pango::Init) in the spec file:
rm -rf src/samples/
sed -i '99,104d' meson.build
sed -i '163,167d' meson.build

However that also affects our notekit build on anything newer than f33, until the bug is fixed.
Also regarding MinGW, if you run clatexmath within native MinGW on Windows, the LaTeX::queryResourceLocation( is unable to detect /mingw64/share/clatexmath because it's wraped in an #ifndef _WIN32 by @Xrysnow .
The block
char* xdg = getenv("XDG_DATA_DIRS");
  if (xdg != NULL && strcmp(xdg, "") != 0) {
    stringstream xdg_paths(xdg);
    string xdg_path;
    while (getline(xdg_paths, xdg_path, ':')) {
      paths.push(xdg_path);
    }
  }

would have to be moved of of the ifndef block in order for it to work.
On OS X I have a homebrew tap setup here @sp1ritCS/homebrew-tap, so if you have homebrew installed you can simply type brew install sp1ritCS/tap/clatexmath.

Have you tried compiling on MSVC?

Thank you very much for your contributions to this project.

I think the Debian copyright file (within the debian.tar.xz) should get updated to explicitly mention the licenses from the fonts (and those xml files :D)

I'll add the licenses soon.
Because I'm very busy at present, I don't have much time to maintain this project :sweat_smile: (actually, the development for uni-math support was halted by now). If you have any PR, that is very appreciated.

Have you tried compiling on MSVC?

No, I do not have any microsoft compiler toolchain installed. Also, as you can see from the gh action, our windows built is cross-compiled from fedora 33 mingw.

If you have any PR, that is very appreciated.

will do


Visible fields as re-arrangeable checkmarkable dropdown lists

It would be nice to re-arrange fields for presentation/overlay (see css rule "order" for flexboxes) and to toggle them "on/off" within one dropdown. Clicking would turn on or off the field, clicking outside the dropdown would close the dropdown.
This would greatly cut down on the options within some tabs and allow for them to perhaps be merged together with subheader sections for a single tab.

@saihaj any ideas / thoughts here? it's like the dropdown for vishraams where you can toggle items on / off
and then next step would be to allow re-arranging those items
can be two separate issues, the first combining into one dropdown with checkbox on/off toggling of fields would save a lot of space

Not sure how well this would work on mobile

We are possible looking for something like this (modifying this to just have checkbox and reorder):
Skill section on LinkedIn web

Skill section on LinkedIn mobile app

Slack thread https://shabados.slack.com/archives/CD9QC0XKR/p1595694936112700 where discussion on this design was done https://codesandbox.io/s/shabados-reoder-component-qmdnq?file=/src/index.js


README.md link to AAR broken

The README.md file contains a link for downloading a binary AAR, but the link returns a 404.  The link in the README.md is currently:
https://github.com/watson-developer-cloud/android-sdk/releases/download/v0.5.1/library-release.aar
Please either fix the link or remove it if you no longer provide an AAR file.

This page shows an aar built for 0.5.0 and earlier, but not 0.5.1:
https://github.com/watson-developer-cloud/android-sdk/releases/

If you are no longer providing an AAR file, can you provide build instructions?  It would be appreciated.

I think this is a problem we are looking as part of #84

@germanattanasio Could be.  #84 doesn't really make any sense to me, but that is likely because I don't know enough about the topic.

Sorry about that @smccants. There was an issue with the last release not publishing the artifacts and I didn't catch it. They should be up in the release now.

@lpatino10 I can verify that the link is working now and the artifacts are listed correctly on the release page.  Thanks for the quick fix!


Audio playing/streaming problem with AppImage build

So, with the launch of my music and public radio service, I have been given feedback from users on various problems with Lagrange on platforms other than Windows: Lagrange doesn't seem to play and/or stream the audio on Android or iOS or the AppImage on Linux.
Here is a link you can use to test: gemini://hashnix.club/cgi/radio.cgi
There is also this one: gemini://auragem.letz.dev/music/stream/public_radio (always streams audio/mpeg)

It sounds like a build config issue if the AppImage doesn't play or stream audio on Linux. I will need to check that.
When it comes to the mobile betas, audio playback remains a work in progress and problems with it are covered by the already existing tracker issues (here/BBS).

See also this comment:
gemini://bbs.geminispace.org/s/AuraGem/5388

I can reproduce this issue on XUbuntu. The specific error message is:
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave

It is not immediately clear to how to change the build to fix this.

Fixed for v1.17. Around version 1.16.4 I started using a custom-built SDL in the AppImage, but its build settings were such that the audio dependencies were not being included with the executable. Hence no audio. I fixed changed the settings (SDL_LOADSO) and made sure all the audio drivers are present.


Cannot type 'test(' without arbitrary autocomplete

VSCode Version: 1.35.1
OS Version: Linux x64 4.15.0-50-generic snap

Steps to Reproduce:

Try to type the following text on a new line in a .test.js file : test(
Have the entire line replaced with TextDecoderStream() without prompting

Does this issue occur when all extensions are disabled?: Yes
This is a duplicate of https://github.com/microsoft/vscode/issues/75408 which was closed without responding to the concern raised by the OP.
I too am concerned this is very poor default behaviour for a source code editor and it prevents me from authoring jest test files.
The response to the original issue was to suggest users should read through all the VSCode documentation to find a setting which disables this extremely intrusive default.
This didn't respond to the OPs issue, and my own, which is that this shouldn't be default behaviour and that if it is a new behaviour it is a regression.

This was answered in https://github.com/microsoft/vscode/issues/75408#issuecomment-501661143. That comment both explains why this is happening (commit characters) and how to disable it ("editor.acceptSuggestionOnCommitCharacter": false).
This behavior been the default for a long time and proves helpful in many cases, so we can't just disable it by default.


Refactor locale number

Before, the GiteaLocaleNumber.js was just written as a a drop-in replacement for old js-pretty-number.
Actually, we can use Golang's text package to format.
This PR partially completes the TODOs in GiteaLocaleNumber.js:

if we have complete backend locale support (eg: Golang "x/text" package), we can drop this component.
tooltip: only 2 usages of this, we can replace it with Golang's "x/text/number" package in the future.

This PR also helps #24131
Screenshots:

There is a downside doing this server-side: It won't respect the user's OS configuration for number formatting, which I think the JS implementation would. Not a big issue, though. I guess it's not a "bad" display if number format strictly matches configured locale.


Feature Request: Computed Field Transformers

The idea is to enable extending a type with computed fields. For example firstName and lastName may be combined into fullName ( this already comes natural with graphql but a parallel may be drawn between the redux selectors and reselect system based on composition:
const queryName = gql`{
  user {
    firstname
    lastname
  }
}`

const computeField = <Data>(query: ReturnType<typeof gql>, options: { typeName: string, fieldName: string;  }) => <R>(transformer: (data: Data) => R) => R;

const computeFullName = computeField(queryName, { typeName: 'User', fieldName: 'fullName' })(({ user: { firstName, lastName } }) => `${firstName} ${lastName}`)

I understand that this might be a stretch, nevertheless I wanted to get the idea accross.

You can use additionalTypeDefs and additionalResolvers to add a new field like below;
additionalTypeDefs: |
 extend type User {
   fullName
 }
additionalResolvers: ./user-resolvers.js

in user-resolvers.js
module.exports = {
  User: {
    fullName: user => `${user.firstName} ${user.lastName}`
  }
}


Two methods w/ no return value; breaks build.

There were two methods in the file ./core/io/stream_peer.cpp that did not return a value causing my Scons build to terminate. Not sure if it's something unique to my setup but I don't think adding return values would hurt?

There's already #6239 fixing part of this.

Also note that you had added the file core/io/.vscode/.BROWSE.VC.DB-wal to git, which should only stay on your system, so the PR wouldn't have been accepted. Make sure to check git status before committing.

@akien-mga I didn't see that file added before. I guess that file was added after close this PR by accidently.

@volzhs It shows up in the initial email notification:

Commit Summary
Two methods w/ no return value; breaks build.
File Changes
A core/io/.vscode/.BROWSE.VC.DB-wal (0)
M core/io/stream_peer.cpp (4)
Patch Links:
https://github.com/godotengine/godot/pull/6288.patch
https://github.com/godotengine/godot/pull/6288.diff

@akien-mga maybe my memory had broken. :)

Yup sorry about that, used VSCode to edit that and I guess it created that directory after I saved my changes.


use common utils to persist accessTokens.json

With this PR, access token persisting is consistent with the rest system

//cc @johanste, @burtbiel

There is another related fix coming up about error text formating. That will happen at adal-python side


chore: add full abi coder tests

Relates to #3031

Summary

We've added a feature complete contract (abi-contract) that taking in fixed inputs, and returns an expected value.

We did as @nedsalk mentioned that Sway does some precompiling.

We have added tests for each of the functions of the contract, currently using our current encoding package @fuel-ts/abi-coder.

This will allow us to switch out the Interface for our new refactored package with absolute certainty of no regression.

I have added a new custom vitest matcher toEqualBn to make it easier to check returned BN values.

Couple issues

For the custom vitest matchers, I struggled to get this working with TS so have added a TS ignore (// @ts-expect-error: Custom matcher 'toEqualBn') for now.
I was getting some odd results from some functions whereby the inputs we're being returned as the outputs. These are marked as (Most of these are suffering from the similar issue around returning the input as the output.)

Checklist

[ ] All changes are covered by tests (or not applicable)
[ ] All changes are documented (or not applicable)
[ ] I reviewed the entire PR myself (preferably, on GH UI)
[ ] I described all Breaking Changes (or there's none)

@petertonysmith94 I could fix a validate many cases here with the exception of the following 3:

types_struct_with_array_of_enums
types_struct_with_multiple_struct_params
types_struct_with_complex_nested_struct


Prevent email enumeration

The nice thing about only requiring an email and a password for registration is that you can prevent users from learning what emails are already used.  To do that, you can simply just say "We sent you an email, check your inbox" whether the provided email is taken or not. However, Flask-User doesn't hide that: it says "This Email is already in use. Please try another one." if an email is taken already.
That's often not an issue but I'd really like to be able to set an option like USER_NO_EMAIL_ENUMERATION so that Flask-User applies the trick I mentioned above. It's not really useful is you already ask for a username because those can be enumerated anyway, but when USER_ENABLE_USERNAME = False it would be nice to have that option.  What do you think?

The same applies to the "Forgot password" as it is a public page.

Added a USER_SHOW_USERNAME_EMAIL_DOES_NOT_EXIST setting some time ago.
Fixed in v0.6 and v1.0.


Add error message to NPSP Error Log when Default GAU settings modified

Critical Changes
Changes
When custom settings for Default_Allocations_Enabled__c  are cleared when no GAU exists, display an error message for the users. Also the error message needs to be created in the error logs.
Issues Closed
New Metadata
Custom Labels:
stgGauWithPaymentEnabledError
stgGauWithOutPaymentEnabledError
ApexComponent:
UTIL_SingleToastMessage
Deleted Metadata

**lurch: attach W-035395

Tracking W-035395

@force2b , The changes have been made and ready for review.

@force2b , The changes are done and ready for review.

@force2b , The error messages have been updated and ready for review.

QE testing is complete for this PR. Tests have passed.
For further testing details, see:
https://foundation.lightning.force.com/lightning/r/agf__ADM_Work__c/a2x1E000001C9XhQAK/view
https://salesforce.quip.com/4CdEAblcr2dr
Merging PR and setting corresponding WI status to Closed.


Minor bug fixes for issues

ConvertTo-TppGuid return null instead of an error when search result is empty (part of 170)
Invoke-VenafiCertificateAction always run as verbose (https://github.com/Venafi/VenafiPS/issues/173)
Set-TppAttribute gives error when using $null as value (https://github.com/Venafi/VenafiPS/issues/176)

Okay, both changes have been committed as requested


[question] New release?

Any chance a new release off of master will be done? In particular, support for YAML that was introduced with #256 would be great to have released, especially since the README currently references this feature but anyone installing from PyPi will not be able to use it. Early example of this confusion is in #260.

See also #270


test windows workflow

Codecov Report

Merging #1 (05f07fb) into main (2f86eac) will decrease coverage by 19.72%.
The diff coverage is 33.33%.

@@             Coverage Diff             @@
##             main       #1       +/-   ##
===========================================
- Coverage   76.06%   56.33%   -19.73%
===========================================
  Files          28       29        +1
  Lines        1270     1136      -134
  Branches      391      259      -132
===========================================
- Hits          966      640      -326
- Misses        187      391      +204
+ Partials      117      105       -12

Flag
Coverage Δ

Linux
56.33% <33.33%> (-0.50%)
:arrow_down:

macOS
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

include/cppsas7bdat/column.hpp
46.66% <ø> (-40.18%)
:arrow_down:

src/column.cpp
77.77% <ø> (+18.95%)
:arrow_up:

src/exceptions.cpp
0.00% <0.00%> (-66.67%)
:arrow_down:

src/formatters.hpp
36.23% <0.00%> (-52.51%)
:arrow_down:

src/metadata.hpp
74.05% <ø> (-3.28%)
:arrow_down:

src/page.hpp
85.18% <ø> (-5.30%)
:arrow_down:

src/sas7bdat-impl.hpp
67.07% <ø> (-14.25%)
:arrow_down:

src/types.cpp
0.00% <0.00%> (ø)

src/memory.hpp
80.00% <75.00%> (ø)

src/stream.cpp
75.00% <75.00%> (ø)

... and 25 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f86eac...05f07fb. Read the comment docs.


Update cache-how-to-import-export-data.md

If you are using access key to authenticate to storage account, having firewall exceptions on the storage account may tend to fail the process. Hence adding this as a pointer for customers to review as well

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

@flang-msft
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

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

@Amrinder-Singh29 - I combined all three PRs (patch-50, patch-51 and patch-520 into one PR and moved it through the documentation tooling to verify accessibility etc. You will see these in released to the public this week.
Thanks for your feedback and clarifying my questions. I did not want to continue refining in the public process as it would only delay publication.
#close


Efficient HDF5 chunk iteration via HDF5 1.14, h5py 3.8, and H5Dchunk_iter

Currently, kerchunk iterates over HDF5 chunks by looping over a linear index passed to get_chunk_info. This uses H5Dget_chunk_info from the HDF5 C API.
https://github.com/fsspec/kerchunk/blob/ff16c05e3946d75871c047719d2d0138a724b2ca/kerchunk/hdf.py#L523-L524
Support for H5Dchunk_iter was recently released as part of HDF5 1.14.0:
https://docs.hdfgroup.org/hdf5/v1_14/group___h5_d.html#gac482c2386aa3aea4c44730a627a7adb8
This method iterates through all the chunks contained with a dataset, visiting each chunk once.
H5Dchunk_iter was incorporated into h5py 3.8.0 as h5py.h5d.DatasetID.chunk_iter() when used with HDF5 1.14:
https://github.com/h5py/h5py/pull/2202
Support for H5Dchunk_iter is expected in HDF5 1.12.3 and 1.10.9.
@ajelenak implemented a test which checks the equivalence of that call with the current iteration method implemented here:
https://github.com/h5py/h5py/blob/d2e84badfa5e4d8095bcc5d3db81f8548c340919/h5py/tests/test_dataset.py#L1800-L1826
Kerchunk should take advantage of H5Dchunk_iter so that it can efficiently iterate over chunks with linear scaling.

@mkitti , thanks for the info. Do you know how to implement this on our end? I assume we should wait a while until the new version of HDF becomes standard (and maybe maintain the old behaviour for a while anyway).

You could switch implementations depending on h5py.version.hdf5_version_tuple

PyTables just merged an implementation based on H5Dchunk_iter:
https://github.com/PyTables/PyTables/pull/997

We should probably wait until at least HDF5==1.14 is on conda-forge ( https://anaconda.org/conda-forge/hdf5/files ). @ajelenak , will you have any appetite to implement faster iteration?
@mkitti , do you have evidence that the iteration in the current kerchunk.hdf module is particularly slow?

@ajelenak added H5Dchunk_iter to h5py in https://github.com/h5py/h5py/pull/2202
HDF5 1.14 is due to hit conda-forge on February 5th according to this pull request:
https://github.com/conda-forge/hdf5-feedstock/pull/188
My experience is mainly low-level using the C-API directly. I did do some concrete benchmarks for the Julia interface to HDF5:
https://github.com/JuliaIO/HDF5.jl/pull/1031#issuecomment-1407749686
Essentially, when we are processing 16,384 chunks, retrieving chunk information via dsid.get_chunk_info (H5Dget_chunk_info) takes on the order of 10 seconds. Retrieving chunk information via H5Dchunk_iter takes less than 0.1 second. H5Dget_chunk_info may be faster for a very few chunks, but then we're talking tens of milliseconds in either case.

Here's a table summary of my Julia benchmarks:

Number of Chunks
H5Dchunk_iter (seconds)
H5Dget_chunk_info time (seconds)
H5Dget_chunk_info / H5Dchunk_iter Ratio

4
0.000040029
0.00002.7406
0.7

16
0.000053692
0.000077566
1.4

64
0.000194085
0.000456561
2.4

256
0.000717275
0.004541661
6

1024
0.003004693
0.048780859
16

4096
0.011674653
0.662931619
57

16384
0.064214971
13.353451558
208

I would be happy to attempt a pull request if we determine a path to proceed here.

Since we have extra work that we do for each chunk, and python has generally higher overheads, I bet the difference is nowhere near as dramatic - but your point is taken!

It's the 13 seconds that bothers me the most here. I think that far exceeds any overhead you might see from Python.
Basically, H5Dchunk_iter scales much better. This gets noticeable when we are talking about ~10K chunks.
I have an interest in seeing HDF5, Zarr, and others scaling into that number of chunks.

HDF5 1.14 is now available via conda-forge

Thanks for letting us know

@mkitti Can you share somehow your test file?

@ajelenak I created it via Julia:
https://github.com/JuliaIO/HDF5.jl/pull/1031#issuecomment-1407749686

Here are benchmark results with an h5 file created according to this https://github.com/JuliaIO/HDF5.jl/pull/1031#issuecomment-1407749686 code. chunk_info is the old method and chunk_iter is the new one.

h5py-3.8.0
libhdf5-1.14.0
h5 file is loaded in memory
Each chunk location method is run 10 times and the best (quickest) time is used

4 chunks :: chunk info = 1.31e-05 s
4 chunks :: chunk iter = 4.861e-06 s
4 chunks :: chunk_info / chunk_iter = 2.69
16 chunks :: chunk info = 4.5497e-05 s
16 chunks :: chunk iter = 1.2756e-05 s
16 chunks :: chunk_info / chunk_iter = 3.57
64 chunks :: chunk info = 0.000231134 s
64 chunks :: chunk iter = 4.3405e-05 s
64 chunks :: chunk_info / chunk_iter = 5.33
256 chunks :: chunk info = 0.002054627 s
256 chunks :: chunk iter = 0.000166648 s
256 chunks :: chunk_info / chunk_iter = 12.33
1024 chunks :: chunk info = 0.026394162 s
1024 chunks :: chunk iter = 0.000703572 s
1024 chunks :: chunk_info / chunk_iter = 37.51
4096 chunks :: chunk info = 0.378013247 s
4096 chunks :: chunk iter = 0.003634743 s
4096 chunks :: chunk_info / chunk_iter = 104.00
16384 chunks :: chunk info = 9.026964752 s
16384 chunks :: chunk iter = 0.013217899 s
16384 chunks :: chunk_info / chunk_iter = 682.93

@ajelenak , are you likely to have the time to implement this?

Sure, will add it to my to-do list. Should the new method kick in when a suitable libhdf5 version is detected, or be a user option? I prefer former.

I think it's fine to use it when available without needing a new option.

I gave this a shot in #331.


before_notify_callbacks don't work with Sidekiq

Expected behavior
When an exception is raised in a Sidekiq worker, it should also run the before_notify_callbacks.
Observed behavior
It doesn't. 🤷
Steps to reproduce
I set up a new Rails app and added sidekiq and bugsnag: https://github.com/ad2games/sidekiq_bugsnag_test

Before running, the BUGSNAG_API_KEY environment variable needs to be set.
Sidekiq needs to be started: bundle exec sidekiq
When Bugsnag.notify(StandardError.new('foo')) is being run from the console directly, we end up in the callback.
When FooWorker is run via FooWorker.perform_async from the Rails console, the callback in the initializer is not called.

Version
See Gemfile.lock

Hi @tsujigiri, sorry for the delay.  We're currently considering any further action or API changes we could make to simplify how callbacks work.  We'll keep this thread updated as necessary.

Disappointed to see that this is still unsolved and undocumented besides this issue. Can someone please provide an example of how to set the callback inside the thread?

So if we want consistent callback handling across Rails and Sidekiq we should stop using Bugsnag.before_notify_callbacks, and instead add a middleware that decorates the errors in the same way?

It depends what you want. If during a controller action you want to say before any notify that happens from now until the end of the request, add this information to the report - then you will want to use the documented before_notify_callbacks method. If you just want one constant before notify, then you can use the middleware. The middleware will have no access to any request level context.
Does that help clarify? It really depends what you are trying to do.

That does help. Thank you. The information we need to add to the report is constant so the solution should work for us.


Document user alertmanager

@OlleLarsson @viktor-f I updated the documentation to clarify this. PTAL.

Nice catch @OlleLarsson! I created an issue here so we track it.


Strong-name Assemblies

tl;dr
The assemblies for this library should be strong-named. It doesn't hurt too much. I'd volunteer to do the change.
Long version
The assemblies in this library should be strong-name signed to provide maximum compatibility.
See https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming.
I understand that adding strong-names to this project is a breaking change by definition.
But I claim that now (before referencing this library in Akka and increasing its "market penetration") is the last chance to add strong-names without wreaking too much havoc.
Additional info:
At the moment I maintain a fork of Akka itself (1.3.x at the moment) that has strong-named assemblies, because a project where I use Akka requires strong-naming. This fork is used in a production system for several months now. We did not notice any problems here so I also do not anticipate any major problems when adding strong-names to this library directly.

We have historically resisted strong-naming due to the numerous issues it creates for maintainers. That being said, I raised the subject on Twitter and got some replies back from folks who work on IdentityServer, ProxyKit, and some other large .NET OSS projects and the harm seems to be pretty minimal for users running .NET Core and the MSBUILD15 .*proj format that was introduced along with .NET Core back in 2017, since both of those technologies mitigate the bane of strong naming which is binding redirects.
https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming - based on the guidance here, I think it should be easy for us to program our build scripts to implement this specific piece of guidance:

CONSIDER incrementing the assembly version on only major version changes to help users reduce binding redirects, and how often they're updated.

I.E. I think we'd bump the assembly version each time we do a minor version release, which seems to happen about once every 12-18 months. That'll only affect .NET framework users anyway, but it'll make the .NET framework users who have strong naming requirements happy.
In order to do this, we're going to have to SN Akka.NET, HOCON, Hyperion, and our Akka.Persistence plugins. I think we should consider doing this as a new project after Akka.NET v1.4.0 ships.
Thoughts? cc @akkadotnet/contributors @akkadotnet/core

What does strong naming buy us? Looking at https://docs.microsoft.com/en-us/dotnet/standard/assembly/strong-named, it's not a security feature as per the warning

Do not rely on strong names for security. They provide a unique identity only.

Looking at the common scenarios for SNAs

You want to enable your assemblies to be referenced by strong-named assemblies, or you want to give friend access to your assemblies from other strong-named assemblies.

I fail to see how this is really useful.

An app needs access to different versions of the same assembly. This means you need different versions of an assembly to load side by side in the same app domain without conflict. For example, if different extensions of an API exist in assemblies that have the same simple name, strong-naming provides a unique identity for each version of the assembly.

Using multiple versions of Akka.NET libraries in the same app domain seems like a disaster in the making.

You do not want to negatively affect performance of apps using your assembly, so you want the assembly to be domain neutral. This requires strong-naming because a domain-neutral assembly must be installed in the global assembly cache.

Installing Akka.NET into the GAC seems like a corner case to me better left to the user. Seems like more of a headache than benefit.

You want to centralize servicing for your app by applying publisher policy, which means the assembly must be installed in the global assembly cache.

See above comment about GAC install.

So other than GAC installation, does this buy us anything?
Just my 2c.

So other than GAC installation, does this buy us anything?

Less hassle for and complaints from users who are forced to use strong-naming due to policy* at work.

Policies which likely mistake strong naming as a security feature.

1 - Policies which likely mistake strong naming as a security feature.

As a defense contractor I feel attacked :P
I'll note even though I work in government, our dept doesn't require SNAs.  But if other users need it, then we should accommodate those needs if it's not too much hassle.

But if other users need it, then we should accommodate those needs if it's not too much hassle.

That's what changed my mind when I went asking about this on Twitter the other day - seems like the people who'd be impacted by this most are Akka.NET users on .NET Framework. SN is mostly ignored on .NET Core.

I am one of those users :P So i am biased.
But i agree with everything @sean-gilliam has said thus far.

@Aaronontheweb So there are some small reasons to use strong naming. At least we may think they are small (depends on the number of users with that weird SN requirement).
But on the other side - why not? What do we loose? What are the cons? Just assign this unique token to an assembly, and let it stay there, making some of the users happy. Especially since @cptjazz  is ready to do the PR.
I mean, we do not have a rush to use SN in Akka.NET, and why not to merge PR adding SN here? Mostly for "legacy" full framework users, but still this gives some value.
If only I am not missing some drawbacks of this approach. But this page says "We know you do not like SN very much, guys, but with .NET Core it is slightly better to use them, then not to use - you are not loosing anything anyway". This is how I get it.

I know, SN is disputed.
In my situation we talk about a small application framework dynamically loading "plugins" (don't nail me down on the term here) and we want to make sure that dependency mismatches are detected early.
Most of the widely used NuGet packages are strong-named. We use a few dozen of them and Akka is the only major one I had to "patch".
That said, I know for Akka itself it will take time to make this change (if ever). But since SN is contageous, it doesn't hurt to already prepare the libraries it depends on.


feat: 新增忽略db2数据源依赖包的编译方式

Codecov Report
Patch has no changes to coverable lines.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
:loudspeaker: Thoughts on this report? Let us know!.


http://scratch.mit.edu/projects/14934311/

The program's main list, shown by default on scratch, is not visible when played with phosphorus.
http://scratch.mit.edu/projects/14934311/
http://phosphorus.github.io/#14934311
Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0

See #2.


[Question] how I can add ConfigureHttpClientDefaults for SK Retry logic?

Context / Scenario
I need retry logic for embedding requests, becse for 500 pages pdf I deffenelty will reach TooManyRequest issue, for Azure ADA2 model.
Question
in SK I can do like this:
semanticKernalBuilder.Services.ConfigureHttpClientDefaults(c =>
{
    // Use a standard resiliency policy, augmented to retry on 401 Unauthorized for this example
    c.AddStandardResilienceHandler().Configure(o =>
    {
        o.Retry.ShouldHandle = args => ValueTask.FromResult(args.Outcome.Result?.StatusCode is HttpStatusCode.Unauthorized);
    });
});

how can I do this for KM?

I see I can pass httpClient
.WithAzureOpenAITextGeneration(new AzureOpenAIConfig()
{
    Endpoint = azureOpenAi.GPT3SummarizationModel.Endpoint,
    APIKey = azureOpenAi.GPT3SummarizationModel.ApiKey,
    Deployment = azureOpenAi.GPT3SummarizationModel.DeploymentOrModelId,
    Auth = AzureOpenAIConfig.AuthTypes.APIKey
},
httpClient: httpClient)

and it workds fine.
but any compibantion with passing IServiceCollection into Builder, or add services into build isn't work

i have same issues

@strikene adding configured http client works.


Add Support for Array Types

This pull request introduces support for array types within function definitions.
Changes include:

Added an array case to the formatType function to handle array type properties.
Updated the Prop type to include array definitions.
Added a test case to validate the correct token estimation for functions with array parameters.

Thanks @petrbrzek! 🚀
Released in v0.2.4.


ci: adjust workflows

rename the Packages workflow to Continuous Integration
deactivate the Dashboard workflow on pull request as the dashboard build/test/lint jobs now run in the CI workflow

Codecov Report

Merging #1262 (2be99c0) into main (f6299b5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1262   +/-   ##
=======================================
  Coverage   94.74%   94.74%
=======================================
  Files          48       48
  Lines        6931     6931
  Branches      450      450
=======================================
  Hits         6567     6567
  Misses        364      364

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


arduino-esp8266-alexa-multiple-wemo-switch

hi, i am trying to either add a new switch or rename an existing switch, however whatever i try, the code refuses to compile, and jut returns an undefined reference to the item i m trying to add/alter!
i dont have issues with switching the devices already added, i just want to customise it to my requirements.
please any help would be greatly received, and stop me from actually going insane!!
thank you in advance

Have you tried editing and recompiling something simple, like blink?

Hi,
Thought that maybe you had cracked it!
I made the changes using find replace, and this time the code did compile, however when I load the code to the Wemo device and open the serial monitor I am seeing exception (28):
And a load of hex code and eventually connection failed :(
Sent from my iPhone
Sent from my iPhone

On 26 Apr 2018, at 19:59, Ynot1<EMAIL_ADDRESS>wrote:
Let's leave Adding a new device till later...
Starting with the code you pull from git, and USING THE FIND REPLACE FUCTION, (not your eye) swap "light" to "plug" or something else. Save, recompile.
Rinse and respeat making small changes each time along the way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi, just found that I hadn’t cleaned up my last attempt properly!! Sorry!
That has worked for re-naming!!
Thank you very much :)
Would still like to add a new device though please if you don’t mind helping :)
Sent from my iPhone
Sent from my iPhone

On 26 Apr 2018, at 19:59, Ynot1<EMAIL_ADDRESS>wrote:
Let's leave Adding a new device till later...
Starting with the code you pull from git, and USING THE FIND REPLACE FUCTION, (not your eye) swap "light" to "plug" or something else. Save, recompile.
Rinse and respeat making small changes each time along the way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Assuming the original code you would search for "kitchen" and every time you find it, copy the whole line you found it on to the line immediately below and change your copied line to whatever you want the new device you want to be called.
As you have swapped kitchen to something else already , you will probably be searching for whatever you changed kitchen light to.
This will add about 6 lines of code to the top part of the code. The other change you should make is to tweak the local port number for your new device to 83 in your copy of line 45.
Copy the whole chunk of each of the two 4 line functions around the middle of the code ( lines 77-89 in the original) that mention kitchen several times, and again, change kitchen to whatever every time you find it in your copy.  Also change switch 2 to 3 in your copied functions.
The code as released isn't going to actually close any relays of course, it's up to you to define which processor pins you want to use for that, make them outputs, and then put digital write commands into those on and off functions.
Good luck.