[Snyk] Upgrade autocannon from 7.10.0 to 7.11.0

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

The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago, on 2023-05-03.

Release notes

Package name: autocannon

7.11.0 - 2023-05-03What's Changed

doc: change recomendation to wrk2 instead wrk by @ RafaelGSS in #469
chore(deps-dev): bump bl from 5.1.0 to 6.0.0 by @ dependabot in #470
chore(deps-dev): bump sinon from 14.0.2 to 15.0.0 by @ dependabot in #475
Add missing param docs. Fuller docs on worker mode by @ milesnash in #484
fix Cannot access 'connection' before initialization by @ moty66 in #486
Defer aggregating results until after the instance returns to allow multi-instance load tests by @ milesnash in #488

New Contributors

@ milesnash made their first contribution in #484
@ moty66 made their first contribution in #486

Full Changelog: v7.10.0...v7.11.0

7.10.0 - 2022-09-23What's Changed

chore(deps-dev): bump sinon from 13.0.2 to 14.0.0 by @ dependabot in #449
chore(deps): bump actions/setup-node from 3.1.1 to 3.2.0 by @ dependabot in #450
chore(deps): bump actions/setup-node from 3.2.0 to 3.3.0 by @ dependabot in #452
fix: Sync --help output with README by @ silverwind in #453
chore(deps): bump actions/setup-node from 3.3.0 to 3.4.0 by @ dependabot in #455
chore(test): remove metadata from j5 image by @ Fdawgs in #460
ci!: update workflow by @ Fdawgs in #454
fix verifyBody documentation by @ madflow in #461
Accept host header case-insensitively by @ silverwind in #463

New Contributors

@ madflow made their first contribution in #461

Full Changelog: v7.9.0...v7.10.0

    from autocannon GitHub release notes

Commit messages

Package name: autocannon

b3ade76 Bumped v7.11.0
64ab521 Defer aggregating results until after the instance returns to allow multi-instance load tests (#488)
fd8e8c3 fix Cannot access 'connection' before initialization (#486)
1f78c82 Add missing param docs. Fuller docs on worker mode (#484)
b198514 chore(deps-dev): bump sinon from 14.0.2 to 15.0.0 (#475)
26bbf6f chore(deps-dev): bump bl from 5.1.0 to 6.0.0 (#470)
2e3d947 doc: change recomendation to wrk2 instead wrk (#469)

Compare

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

:tada: This PR is included in version 5.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add dexie.space to offer share dialog

https://dexie.space is a new Chia offer file exchange. This pull request adds a button for dexie to the offer share dialog.

Would love to see Dexie in the Chia GUI. It is the DEX I use most often and I think it has the best UX

@denisu would love to see this merged. Could you ping the devs on Keybase to show this PR some love?

Should this be closed as #766 has been merged?

Yes, I will close this one. Great to see it merged! 🙂


mman: fix AAarch64 version check

Noticed this when working on Android stuff; untested, but everything else spells it AArch64.

thanks!


Address TODO for sort order in the output of unique()

Closes gh-40

This one is very straightforward, I'll merge it.

This one is very straightforward, I'll merge it.


Describe work-around for negative observations

Interestingly, we had documented the problem here already (but at a
location where users of the instrumentation libraries probably won't
find it easily – I'll add links to here from the instrumentation
libraries later).
The only thing I want to add now is at least a hint towards a
work-around.
Signed-off-by: beorn7<EMAIL_ADDRESS>

Thanks!


Generic data primitives TreeState

Describe the feature
Make TreeState generic over data primitives as TreeState<N: NodePrimitives = reth_primitives::EthPrimitives. Generic N should be passed to ExecutedBlock. Fix the TreeState impl accordingly if possible (may return some types that are yet to be made generic over all data primitives or a subset thereof).
https://github.com/paradigmxyz/reth/blob/47245642ca481c58da60e698381981c1edcbb264/crates/engine/tree/src/tree/mod.rs#L86-L388
Additional context
No response

@htiennv do you want to do this?

Thanks!


update conda build config

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] 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.

Updates the build config to target CUDA 10.1 through CUDA 11.2

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.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


adding @XmlRootElement for ModsDocument

Hi Matt,
I've hit a small issue that requires the @XmlRootElement annotation on the ModsDocument if I remember that you're not using these libraries anymore, what's the best process for updating the published jar?  I'm happy to take ownership.
thanks,
adam

Yeah, since pretty much everything we do is Python now we aren't doing anything with this. The maven repository (ASU-LIB-MVN) in the pom no longer exists, so at minimum that would have to be changed to publish the jar. I'd probably be best to transfer ownership of this to you somehow.
This was extracted as a shared utility from our early repo code for use in tDAR and I don't know of (or can even imagine) any other users of this so, depending on your project's current structure, you may just want to take what you need and pull it into your codebase. In that case I can just indicate that this is a deprecated/non-maintained repo. If you want to keep it as a separate dependency I'll go ahead and start the Github transfer process.

Hi Matt, I think that's probably easiest for all. I'll pull it into our
codebase (either as it's own thing or as part of the tdar pom).
thanks,
adam
On Sun, May 17, 2015, at 10:49 AM, Matt Cordial wrote:

Yeah, since pretty much everything we do is Python now we aren't doing
anything with this. The maven repository (ASU-LIB-MVN) in the pom no
longer exists, so at minimum that would have to be changed to publish
the jar. I'd probably be best to transfer ownership of this to you
somehow.

This was extracted as a shared utility from our early repo code for
use in tDAR and I don't know of (or can even imagine) any other users
of this so, depending on your project's current structure, you may
just want to take what you need and pull it into your codebase. In
that case I can just indicate that this is a deprecated/non-maintained
repo. If you want to keep it as a separate dependency I'll go ahead
and start the Github transfer process.

— Reply to this email directly or view it on GitHub[1].

Links:

https://github.com/cordmata/repo-metadata/pull/1#issuecomment-102826895

Which are you saying is easier? Me marking this deprecated and you pulling it into your code or transferring ownership of this repo on Github?

I think both are easy for us. Probably easiest for you would be to just
transfer ownership.
thanks,

adam

On Mon, May 18, 2015, at 07:56 AM, Matt Cordial wrote:

Which are you saying is easier? Me marking this deprecated and you
pulling it into your code or transferring ownership of this repo
on Github?

— Reply to this email directly or view it on GitHub[1].

Links:

https://github.com/cordmata/repo-metadata/pull/1#issuecomment-103086027

I don't have admin rights on the digital-antiquity org so I'll have to transfer it to your personal account.

that's fine. Thanks.
On Mon, May 18, 2015, at 08:06 AM, Matt Cordial wrote:

I don't have admin rights on the digital-antiquity org so I'll have to
transfer it to your personal account.

— Reply to this email directly or view it on GitHub[1].

Links:

https://github.com/cordmata/repo-metadata/pull/1#issuecomment-103089294


A normal sized bottom taskbar has an empty line below it when on maximized window when switch back to Default on maximized window is turned on.

Describe the bug
A clear and concise description of what the bug is.
A normal sized bottom taskbar has an empty line below it when on maximized window when switch back to Default on maximized window is turned on.
To Reproduce
Steps to reproduce the behavior:

Use a regular size taskbar (not small)
Go to TaskbarX Configurator
Click on Style
Choose Transparent style
turn on "Switch back to Default on maximized window
go to a maximized window
See a slim transparent line below the taskbar

Expected behavior
A clear and concise description of what you expected to happen.
No transparent line below the taskbar
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10
Version: 21H1

Additional context
Add any other context about the problem here.
I was using a laptop.

Update to <IP_ADDRESS>, this is patched there.

this was fixed in v1.71. try it

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Fix compressed texture skybox issue.

Use compressed texture in cubemap and not applied to  skybox.
(Use easy texture compression).

IMHO, compressed textures need to be flipped in advance. That's what our server pipeline does.

If the PR introduces change to logic or some additional functionality, and it is not related to any existent Issue, then it is better to first make an Issue for a discussion, and there we can come up together with some good design and talk about a change in first place to ensure all things are in check.

Hi @guycalledfrank
Use easy texture compression and output flipped texture(Y axis).
So, need need to Y flip the image in the shader.

Flipping the texture in advance is the way to go.

Oh...
I look forward to future support.


Apollo 3.0 ros bridge NOT WORK

Hi I am using Ubuntu 18.04 on docker. I am using Apollo 3.0
Steps to reproduce the issue:
I followed this tutorial: https://www.svlsimulator.com/docs/system-under-test/apollo3-0-instructions/
I am trying to build Apollo 3.0 alongside the SVL simulator. I have already set the Apollo 3.0 custom ROS Apollo bridge inside SVL according to @hadiTab:

Following this tutorial: https://www.svlsimulator.com/docs/archive/2020.01/apollo-instructions/
Speciffically in step:
git clone --recurse-submodules https://github.com/lgsvl/apollo.git
If I clone this repo I am going to have just the cyber folder/ cyber briged, and not the ros_pkgs folder and the rosbridge which is required later for a subsequent step present in his tutorial:

I have found in @hadiTab repo the ros_pkgs folder: https://github.com/lgsvl/apollo-3.0
This repo is different from the tutorial repo: https://github.com/ApolloAuto/apollo
Then I have cloned both repo inside my Apollo 3.0 created folder:

However to start the images:
./docker/scripts/dev_start.sh
I must be inside apollo or apollo-3.0-simulator folder. And as the first does not contain the ros bridge and the second does not contain the cyber bridge. I ask myself which one I must run this command, in order to have a correct connection on Dreamview- SVL simulation ?
Trying the first option (start sh from apollo folder) Dreamview does not receive info from the simulator
Trying the second option (start sh from apollo-.0-simulator folder)  I get the error below:

"Linking CXX executable  /apolloros_pkgs/devel/rosauth/ros_mac_authentication
rosbridge_websocket.launch is neither a launch file in package (rosbridge_server) nor is (rosbridge_server) a launch file name.
I guess that should exist just one repo (merged of apollo and apollo3-0-simulator) to be cloned and used.
Could someone assist me how to propely build apollo 3.0 along SVL?
As a solution could I copy and past the ros_pkgs folder from this repo https://github.com/lgsvl/apollo-3.0 to this repo folder https://github.com/ApolloAuto/apollo ? Would this work?
The tutorial is wrong and need to be updated!
If is not an error which Tag, release must I dowload from github to make this work?
The files inside the ros_pkgs folder are not dowloaded automatically for some reason:
https://github.com/lgsvl/apollo-3.0/tree/simulator/ros_pkgs/src
The folders rosbridge_suit and lgsvl_msgs come empty . Then I needed to dowload them manually from repo. Afterwards I have built the workspace again with catkin_make. Now ROS says that I do not have the geometry_msgs pkg installed. However it is not possible install anything inside Apollo container.
Always when I issue some cmd line, such as "sudo apt-get install ros-indigO-..." I get errors...
Is not possible to install ROS pkgs inside Apollo Docker?
Thanks in advance

Hello @marcusvinicius178 I advise you to review your approach/execution procedure with the first link https://www.svlsimulator.com/docs/system-under-test/apollo3-0-instructions/ because it is the same one I used and it works for me.
You should also know that the docker image used by LGSVL is not the same as that of apollo, so you cannot copy and paste the rosbridge_suit and lgsvl_msgs packages into the Apollo repo to try to make it work.
Follow the procedure, download the LGSVL repo git clone --recurse-submodules https://github.com/lgsvl/apollo.git and execute the instructions of the LGSVL simulation platform.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Review section 8

Mostly disambiguation between Datadog agent and the client library (Datadog java agent)

Thank you @PerfectSlayer 👍🏼


little change after failed import

I just made the change I need for my import -avoid '~'-, since I don't know what are valid darcs tag names but invalid git tag names,
Reading man git-check-ref-format could give you the final improvement to this conversion
Thanks for the tool

Thanks! - I ended up making a change which more extensively follows the git-check-ref-format rules.
-Steve


Wrong return from line intersection

https://github.com/EngoEngine/engo/blob/master/math.go#L214-L231
minimum return NaN NaN

@clebs Feel free.
I'll definitely accept the PR for this.

Hi @paked, I already created a PR for this.
It would be great to get feedback on it.
Thanks!

Closed by #397


added logging for debugging purposes

[Current coverage][cc-pull] is 34.21%

Merging [#8][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #8   diff @@
==========================================
  Files             1          1
  Lines            38         38
  Methods           3          3
  Messages          0          0
  Branches         13         13
==========================================
  Hits             13         13
  Misses           25         25
  Partials          0          0

Powered by Codecov. Last updated by [64855b0...098f415][cc-compare]
[cc-base-branch]: https://codecov.io/gh/watson-developer-cloud/conversation-simple/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/watson-developer-cloud/conversation-simple/compare/64855b029d5c37b2501908d84b2239574ebe2091...098f415fff0e840b91cddeea4269cbbb4cf1947e
[cc-pull]: https://codecov.io/gh/watson-developer-cloud/conversation-simple/pull/8?src=pr


Add this package as slack support for meteor-link-accounts

FYI.  Good package

@yubozhao what was the purpose of this issue? Just tried to get this package and your package to work with 1.3 and there was require issues.


Config changes

One of the fish.yml mentions there being an issue with "EFFECT:HARM" - "HEALTH:-1" now exists so I might as well show that in the config.

This was implemented a while back but the issue was never closed.


Getting currently fetching keys list

Hi,
Is there any place in the code where we can see the currently fetching keys? or currently active fetchers?
(even if it's private and not public)
Thanks

My current workround is generate a string file which contains all the keys, and cache this file under the same directory.


Remove singleton lockers from dependencies on destruction

Codecov Report

Merging #20 into master will increase coverage by 0.06%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   95.82%   95.89%   +0.06%
==========================================
  Files          20       21       +1
  Lines         551      560       +9
==========================================
+ Hits          528      537       +9
  Misses         23       23

Impacted Files
Coverage Δ

src/spike/meta/typelist.hpp
100% <100%> (ø)

src/spike/singleton.hpp
100% <100%> (ø)
:arrow_up:

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 9fb58a9...5ab5e1c. Read the comment docs.


Topic controller deployed by cluster controller

Type of change
Select the type of your PR

Enhancement / new feature

Description
It's about deploying the topic controller from the cluster controller (see #119).
Create and deletion operations are implemented up to now.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[x] Write tests
[x] Make sure all tests pass
[x] Check coding style
[x] Update documentation
[x] Check RBAC rights for Kubernetes / OpenShift roles
[x] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[x] Reference relevant issue(s) and close them after merging

@scholzj @tombentley it's not a WIP anymore, I'm checking last things but this should be the PR.

@tombentley @scholzj I made other requested changes. The missing point is around how we want to modify or get rid of the topic controller YAML in order to have the STRIMZI_CONFIGMAP_LABELS set with [cluster-name] label (other than the current "topic" as kind). The same for the cluster controller on how to provide a way for configuring the topic controller; for now the related field in the ConfigMap is fixes with empty JSON (so deploying topic controller with default configuration).

The missing point is around how we want to modify or get rid of the topic controller YAML in order to have the STRIMZI_CONFIGMAP_LABELS set with [cluster-name] label (other than the current "topic" as kind).

Regardless whether we keep it or not ... the person deploying TC through the TC template instead of through CC will be probably not using it with our cluster. So the "cluster-name" label cannot be hard-coded. You would need to give simply the option to edit the labels freely.

@scholzj are you saying that the "labels" parameter should be exposed through the JSON configuration ? At this point should be it the same for the Kafka bootstrap servers and Zookeeper connect which are not exposed now because they are well-known by the CC that can inject them into the TC ?

I though that with "topic controller YAML" you meant the standalone TC template.

You would need to give simply the option to edit the labels freely.

@scholzj you are referring to the YAML TC with template and not the JSON in the cluster CM as provided in the current PR right ? In that case currently the labels aren't exposed as template parameter but they are fixed.

@scholzj @tombentley I have just notice that both of you approved the PR but @scholzj few days ago already (but then new comments came). Is now "approved" to be merged ?

Well ... I haven't reviewed it today again. Only the docu. But I'm not sure I want to go through the whole thing again :-o. So if you want to merge it, feel free to do so.

But merge it quickly ... after I merge my PR you will have to rebase :-)


[Bug]: 0.4.48 not work

What happened?
0.4.48 Lack  main.js
What OS are you using?
Windows, iOS (iPhone, iPad)
What remote cloud services are you using?
webdav
Version of the plugin
No response
Version of Obsidian
No response
Using password or not

[ ] Yes.

Ensure no sensitive information

[X] I ensure that no sensitive information is submitted in the issue.

Aha, that makes so much more sense now. Thank you for pointing this out. We'll have to wait for @sboesen.

Sorry about that, added.

I have this problem, too

This issue should be resolved, can you clarify what problem you are seeing?

same to me.
Tell me preparing, bug never sync

Hi @hidakafinzelz, is this still happening?
If so, could you please press Ctrl + Shift + I in Obsidian and checking for any errors related to Remotely Sync. If the errors don't contain anything private (like your file names) please send a screenshot.
Thank you!

Hi @hidakafinzelz, is this still happening?
If so, could you please press Ctrl + Shift + I in Obsidian and checking for any errors related to Remotely Sync. If the errors don't contain anything private (like your file names) please send a screenshot.
Thank you!

Still Happens.
Console Pannel

It says wrong password, but when i check in the setting pannel, It can connected

It looks like this is because the encryption password doesn't match. Make sure they're the same on both devices and press confirm.
If it still doesn't work it might be that your remote files were encrypted with a completely different password than is set on your devices. In that case you should delete the files on the remote and try syncing them back again with the right password. (make a back up first)

It looks like this is because the encryption password doesn't match. Make sure they're the same on both devices and press confirm.
If it still doesn't work it might be that your remote files were encrypted with a completely different password than is set on your devices. In that case you should delete the files on the remote and try syncing them back again with the right password. (make a back up first)

Successfully solved. Thank you.

No worries!


ACR task logs trackV2 error fixed

Fixes #19332

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Please refer to this doc format-pr-title to modify your PR title

Could you add some related tests?

@zhoxing-ms is there a way I can make the pr run the tests again?

@huanwu I have rerun the CI for you. Could you add some tests for this case?

@zhoxing-ms I have an item. I'm working on expanding our test coverage across all our commands. I'll submit them all in another PR. Can we merge this for now, please?


Add link to Signalilo in integrations page

This is just a small change adding our tool "Signalilo" which converts received notifications into Icinga2 services to the list of webhook-based integrations.

You're taking secrets on the command line, which is not secure.

We're aware of that and pass the secrets as environment vars from a Kubernetes secret in the Helm chart. Unfortunately kingpin doesn't seem to allow using only the envvar to provide secret arguments, so I've opened an issue to address the problem: https://github.com/vshn/signalilo/issues/17

Let me know when that's resolved, our policy is not to list integrations with obvious security issues.

Can you elaborate on what you consider obvious security issues when it comes to handling secret arguments?

You're allowing secrets on the command line.

I was asking more generally as to what practices you consider obvious security issues, since I wasn't able to find any guidelines after a quick look in the repository.
For example, Is it OK to pass secrets in environment variables? In config files?

Both those methods are okay (though environment variables have their risks).

Maybe we should also wait for https://github.com/vshn/signalilo/issues/15 to be resolved to people can use this effectively?

There's no documentation requirement, as long as the code isn't obviously broken that's good enough in that regard.

https://github.com/vshn/signalilo/blob/master/webhook/icinga.go#L20 -> is that an internal repo?

$ go get github.com/vshn/signalilo
# cd .; git clone -- https://git.vshn.net/appuio/signalilo.git /home/roidelapluie/go/src/git.vshn.net/appuio/signalilo
Cloning into '/home/roidelapluie/go/src/git.vshn.net/appuio/signalilo'...
fatal: could not read Username for 'https://git.vshn.net': terminal prompts disabled
package git.vshn.net/appuio/signalilo/config: exit status 128
package git.vshn.net/appuio/signalilo/gc: cannot find package "git.vshn.net/appuio/signalilo/gc" in any of:
        /home/roidelapluie/godist/go/src/git.vshn.net/appuio/signalilo/gc (from $GOROOT)
        /home/roidelapluie/go/src/git.vshn.net/appuio/signalilo/gc (from $GOPATH)
package git.vshn.net/appuio/signalilo/webhook: cannot find package "git.vshn.net/appuio/signalilo/webhook" in any of:
        /home/roidelapluie/godist/go/src/git.vshn.net/appuio/signalilo/webhook (from $GOROOT)
        /home/roidelapluie/go/src/git.vshn.net/appuio/signalilo/webhook (from $GOPATH)

@roidelapluie no idea how we missed this during the opensourcing process, the only reason why the github build works is that go.mod wasn't updated.

The description still needs to be removed. Thanks.

@roidelapluie Can you elaborate on which description needs to be removed? I don't quite follow.

Thanks. now only pending https://github.com/vshn/signalilo/issues/17

I actually missed my last comment when merging. I hope that you will soon be able to address https://github.com/vshn/signalilo/issues/17


(Question) What Sounds go to Which Audio Group

You mentioned that there are 3 audio groups that have to be used, but what sounds go to which audio groups? (especially audiogroup_special)

I left a comment in fmod.gml for this:
In the port, SFX audio files are assigned to audiogroup_sfx, music audio files are assigned to audiogroup_default,
and audiogroup_special exists so John pillar's Meatphobia track can be turned up while the music is turned down.
I don't remember why it's done like this, probably for a good reason.

@D-Official
Should specified
What was the file name for John Pillars Meatophobia track?

mu_dungeondepth, the event is "event:/music/pillarmusic"

Thanks
Also sorry for wasting more of your time
But last question
Is that the only track in audiogroup_special?

Yes


[Feature Request] expose "build" method on server, that returns attrs from a factory but does not persist them

FactoryGirl has the "build" method which is distinct from "create" in that it does not persist the record to the db. (see http://www.rubydoc.info/gems/factory_girl/file/GETTING_STARTED.md#Using_factories)
This is useful for things like generating example attrs for a new user on a signup form.
I am not sure if there is a good way to do this already, such as importing and using a factory within an acceptance test.

459 closes


highlight.js not detected!

Describe the bug
I'm trying to use this package. even though I import it after highlight.js, it keeps throwing highlight.js not detected!
To Reproduce
Steps to reproduce the behavior:
First of all I'm using Webpack with this config:
const path = require("path");

module.exports = {
    devtool: "source-map",
    entry: path.join(__dirname, "js/index.js"),
    output: {
        filename: "bundle.js",
        path: path.join(__dirname, "../public/js"),
    },
    watch: true,
    mode: "development",
};

I installed highlight.js and highlightjs-line-numbers.js using npm.
I imported them this way (using es6 import/export):
import hljs from "highlight.js";
import "highlightjs-line-numbers.js";
hljs.initHighlightingOnLoad();
hljs.initLineNumbersOnLoad();

and it throws:

I also tried to import highlight.js this way. still throws the same error
import "highlight.js";

Expected behavior
To detect highlight.js
Desktop (please complete the following information):

OS: Ubuntu 20.04
Browser firefox
Version 76.0.1 (64-bit)

webpack version:  4.44.1
highlight.js version:  10.2.1
highlightjs-line-numbers.js  version: 2.8.0

because of import is  asynchronous，you can use like this:
const hljs = require('highlight.js') window.hljs = hljs require('highlightjs-line-numbers.js')
because of 'highlightjs-line-numbers.js' check window.hljs is exist，so you need to set window.hljs = hljs，or it will be show error message like 'highlight.js not detected! '

@qinchao888 Thanks, it did fix it. but apparently import in ES6 modules is async and cannot be used for this package and we're restricted to use  CommonJs!

I was only able to get line numbers to work like this.
import markdownStyles from './markdown-styles.module.css';
const hljs = require('highlight.js');

export async function highlightJSLoad() {
    return await import('highlight.js');
}
export async function highlightLineNumbersLoad() {
    return await import('highlightjs-line-numbers.js');
}

const PostBody = ({ content }: any) => {
    useEffect(() => {
        highlightJSLoad().then((hljs_arg) => {
            window.hljs = hljs;
            hljs.highlightAll();
            highlightLineNumbersLoad().then(() => {
                const blocks = document.querySelectorAll('pre code');
                blocks.forEach((block) => {
                    hljs.lineNumbersBlock(block);
                });
            });
        });
    }, []);
    return (
        <div className="max-w-2xl mx-auto">
            <div
                className={markdownStyles['markdown']}
                dangerouslySetInnerHTML={{ __html: content }}
            />
        </div>
    );
};

export default PostBody;


Enum support for JSON schemas

Feature request
Description

JSON schemas is often used to provide a wide range of utilities like docs, data validation and type checking for restful and other web-based applications, one solution to obtain json schemas for rmf data models and apis is to convert it from ros message. It works in most cases, but an important missing component is the support for enums.
Ros definitions does not support enums, instead, it uses constants to define fixed values. The problem is that there is no mapping between the constants and which field they are meant for, so there is no way to generate json schemas which contains enum values.
Implementation considerations
A simple solution is to introduce a style guide that enforces a certain naming pattern for constants in a way that can be mapping to enum values for a field. Extra tests can be run on CI to ensure that new PRs do not break the rules.

Alternatives
A more advanced approach is to define a custom definition format that is superset of ros definitions, a tool will then compile them to ros definitions. The json schema generators will use this custom definition instead of the generated ros definitions.
Another alternative is to do nothing, the need to convert ros definitions to json schema is because rmf does not currently support any web facing public apis. In the future, rmf is expected to have first class support for rest and websockets so there is no need for a web app to generate it's own schemas. However, the approach rmf uses to create it's json schema is still up for debate.

Additional information

Closing since we migrated to the new APIs quite some time ago.


Fix to handle multiple classical registers when submitting QIR

Fixes #199 .

The integration test runs were cancelled because they were running for too long, but this one seems to have got as far as running the tests test_multireg and test_classical, which were the ones throwing this error, and they passed. So I will merge this.


Fix double dots in data files

As mentioned in https://github.com/huggingface/transformers/pull/17715 data_files can't find a file if the path contains double dots /../. This has been introduced in https://github.com/huggingface/datasets/pull/4412, by trying to ignore hidden files and directories (i.e. if they start with a dot)
I fixed this and added a test
cc @sgugger @ydshieh

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Integration naming issues with numbers in them

If you create integrations with the same name but ending in a number the number is ignored and identical integrations are created linked to the same deployed Pod.
For example:
~/camelk/kamel run Sample.java --name=looknoeap1
Results in a deployment occurring with the name 'looknoeap'. If I then do:
~/camelk/kamel run Sample.java --name=looknoeap2
I get - integration "looknoeap" updated
For some reason the naming convention is dropping numbers at the end - it also ignores '-', i.e. --name=looknoeap-2 resolves to 'looknoeap' as well.
However, if I then do:
~/camelk/kamel run Sample.java --name=looknoeap-two
It creates an integration called 'looknoeap-two.

It's because of this that any non letter characters are trimmed from the start & end of the name.
I think this is a bit too strict. IIRC Pod, Deployment & Container names validate to the DNS naming rules outlined in RFC 1123. So starting or ending the name with a numeric value should be allowed.

Yup, agreed - I only found it because I have a tendency to use xxxxy for demos and noticed that one integration was created and every other test I did updated that one :-)


H2 unknown reserved word

UNKNOWN is a reserved word in H2

name: Pull Request
about: Liquibase fails to execute change referring to a column named UNKNOWN as it is a reserved word.  This is a newly added reserved word as it works on older (1.3.x) versions of H2.
title: 'Adding 'UNKNOWN' to H2 reserved word list
labels: Status:Discovery
assignees: '?'

Environment
Liquibase Version:  tried 3.5.1, 3.9.0
Liquibase Integration & Version: maven
Liquibase Extension(s) & Version: None
Database Vendor & Version: H2 1.4.200
Operating System Type & Version: Windows 10
Pull Request Type

[x] Bug fix (non-breaking change which fixes an issue.)
[ ] Enhancement/New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Liquibase fails to execute changes for H2 if a column is named 'UNKNOWN'.
Example error:
  Reason: liquibase.exception.DatabaseException: Syntax error in SQL statement "ALTER TABLE data_type ADD unknown[*] BOOLEAN DEFAULT FALSE NOT NULL"; expected "identifier"; SQL statement:

Steps To Reproduce
Execute liquibase with a changeset referencing a column named 'UNKNOWN'.
Here is a live example from the Waltz project.
Actual Behavior
Errors as described above
Expected/Desired Behavior
Executes database change on H2 Correctly
Screenshots (if appropriate)
n/a
Additional Context
n/a
Fast Track PR Acceptance Checklist:

[ ] Build is successful and all new and existing tests pass
[ ] Added Unit Test(s)
[ ] Added Integration Test(s)
[ ] Documentation Updated

Need Help?
Come chat with us on our discord channel
┆Issue is synchronized with this Jira Story by Unito

Reason for not running build before submission:
I tried to build the liquibase-core and liquibase-base modules in maven.  The first gave this error:
[INFO] 4 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/dev/repos/liquibase/liquibase-core/src/main/java/liquibase/resource/FileSystemResourceAccessor.java:[211,49] reference to newFileSystem is ambiguous
  both method newFileSystem(java.nio.file.Path,java.lang.ClassLoader) in java.nio.file.FileSystems and method newFileSystem(java.nio.file.Path,java.util.Map<java.lang.String,?>) in java.nio.file.FileSystems match
[INFO] 1 error
[INFO] -------------------------------------------------------------

the second didn't seem to do a full compile.

Hi @davidwatkins73
Thanks for your pull request!
Here’s what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest:

Changes based on guidelines for PR submission
Additional tests (unit and/or integration)
Provide other feedback, like requesting changes.

The PR will be prioritized according to our internal development and testing capacity.
We’ll let you know when it’s ready to move to the next step or if any changes are needed.

@damienbiggs , would you be interested in expanding the unit test for this file?
https://github.com/liquibase/liquibase/blob/master/liquibase-core/src/test/java/liquibase/database/core/H2DatabaseTest.java
Thanks!
Ronak

Set Risk to Low since it looks like a defect fix.

Hi Ronak
I haven't used liquibase in a long time so wouldn't feel confident making
changes for it at the moment.
On Thu, Jun 11, 2020 at 9:58 AM Ronak Rahman<EMAIL_ADDRESS>wrote:

@damienbiggs https://github.com/damienbiggs , would you be interested
in expanding the unit test for this file?
https://github.com/liquibase/liquibase/blob/master/liquibase-core/src/test/java/liquibase/database/core/H2DatabaseTest.java
Thanks!
Ronak
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/liquibase/liquibase/pull/1201#issuecomment-642671947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKH3JCKWIBRURSADNG75P3RWDPJVANCNFSM4NYXI5CQ
.

@damienbiggs , sorry I called out the wrong user earlier.  No prob, it I sized it with some time to look at it on our side.  Thanks for the quick reply!

The change is against master, so has to be cherry picked back into 3.10.x

This change has already been made in 3.10.x, so closing this PR


Experience/fix release notes nav

Fixing sidenav for release notes.

@etanb Should the frontend-react/src/content/product/release-notes.md page be deleted?

@jpandersen87 recommended we cull ALL .md files at the very end. and keep all content around for posterity until then.


Add Betwixt.app v1.6.1

Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download betwixt is error-free.
[x] brew cask style --fix betwixt left no offenses.
[x] brew cask install betwixt worked successfully.
[x] brew cask uninstall betwixt worked successfully.

Thank you.


Fix the cleanup of Falco development release packages (CI)

What type of PR is this?
/kind cleanup (literally lol)
/kind feature
Any specific area of the project related to this PR?
ALL
What this PR does / why we need it:
Fixes the cleanup process for the Falco development release packages.
Which issue(s) this PR fixes:
NONE
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leodido
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: e40c0c4281346c81bd17e27518eb9b0d3cc63a8f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.26.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


how to use multithreading or multiprocessing with multiple article urls

I crawled some news portal sites and got some news article urls from that sites.
After that I want to crawl that news articles using newspaper library.
I think Article class in newspaper doesn't provide that function.
I don't know how to implement crawling codes that can use multithreading or multiprocessing with multiple article urls efficiently.
Is there any function or examples that I can use?

I did by using a array to store the url's and then running it through for loop to scrap the data and store in the format required.
Couldn't find the function for this as such.

This might help
http://newspaper.readthedocs.io/en/latest/user_guide/advanced.html#multi-threading-article-downloads

@jigarjit Yeah I found this issue. I want newspaper merge this thread early :)

@awiebe This doesn't work on article urls (Article(url)) , does it? Since download_articles isn't available on Article object but only available on Source object.

Not sure if I understand your problem but can you try (recursively) using the Source functionality on that URL (via newspaper.build('your url') instead of the article object? Article objects are meant to abstract operations only related to a singular URL, like download html, parse full-text, get title, etc.


Fix #4210: Throw an IllegalArgumentException in j.u.Date.from(Instant).

When a java.time.Instant cannot be represented as a Long value of milliseconds, its method toEpochMilli() throws an ArithmeticException. The method java.util.Date.from(Instant) must however throw an IllegalArgumentException.
We now catch the ArithmeticException thrown by toEpochMilli() to throw an IllegalArgumentException instead.

To test that, we first introduce some infrastructure to be able to test methods of the core that rely on classes provided by JDK extensions.

All this infrastructure might seem overkill for two little methods, but my plan is to leverage that to be able to confidently implement more complex methods like String.to{Lower,Upper,Title}Case(Locale).

testSuiteExJVM fails on the CI because of https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8074032. I have asked Fabien to upgrade our JDK 8 to get the fix.


SegFormer baseline

Hi, is it possible to get the code base for reproducing the baseline (SegFormer) results ?

Hello, thanks for you interest. Sorry for the late reply. For segformer baseline, you can simply run the configs of CFFM, but you need to change the loss in this place. From line 543 to line 552, change them to
loss['loss_seg'] = self.loss_decode(
            seg_logit_ori,
            seg_label_ori,
            weight=seg_weight,
            ignore_index=self.ignore_index)

This means to comment out the loss for our video module, while only keeping the the original losses (for each separate frame). In this way, all the training settings for the baselines are kept the same as CFFM. Thus the comparisons are fair. Please let me know you have more questions.


sync in batches

Perform sync in batches the same as the process

Please note the SELECT LIMIT OFFSET won't work as expected if there is no ORDER BY.


support data option of node-sass;

Support for data option of node-sass

Thanks and sorry for the long time before I could take a look at this

This doesn't seem such a good idea after all and has been reverted. It's not following the node-sass behavior and conflicts with the lazy loading in meteor 1.7.1


Tidy and failedButOk status

ReportNG support for SuccessPercentFail.  Removed tabs / trailing spaces from some files.

Hi thanks for the pull request but I am no longer maintaining this project (I have just updated the website to make this clear). You are better off using your own fork or finding something better. Sorry if you've wasted any time because I didn't make this clear before.


color of nodes reflect their status.

by the way i created for you cloudmesh-flow, if you accept the invitation you have direct access and do not have to do pull requests. You and rob will move your code there so that it is better visible to the rest of the community


Code Review: Add esdoc comments to the existing JS API code (#9532)

Code review for Add esdoc comments to the existing JS API code (#9532):

As new API code is written, esdoc comments should always be added as part of the process.
However, we also need to run through the existing API code and add comments to it.

Connect to BohemianCoding/Sketch#9532.

Made a small comment, but looks good to merge


Linkifying URLs in summary tables

Requires the merging of PR 192 on frontend toolkit.
If there's a URL, people should be able to click on it.

Is there a story for this?
I'm not sure what's the value of linking the supplier to their own website. And whether we have any rules about external links (eg "nofollow" or special styling) that apply to supplier pages.

I'm not sure we want to be linking off to random sites at all from a gov.uk domain. I'd want to double check with the GOV.UK content team.

It’s from a URL that only suppliers can see, to a URL that they have inputted, so I don’t have any objection on that front.
We should mark it as an external link though, there are mixins in the GOV.UK frontend toolkit for doing this.

That's a fair point that they are the only ones that can see it.

Which makes you wonder, why do we ask for it at all? We never show it to buyers.

There's no story for it - it just seems very strange that we have a bare URL on the supplier page so I submitted a simple fix for it. If we present a link, people should be able to click on it, otherwise that's a usability fail.

I think the "why do we ask for it" comes down to the will-they?/won't-they? get a supplier information page on the marketplace stuff from a way back.  We now have the supplier A-Z pages, but I think it was felt that giving them a link to their sites from GOV.UK would be a bit too much.

The build fails at the moment, but once the PR on frontend-toolkit gets merged and released, it should merge.

Merged the toolkit PR and rebased.


Create missing upgrade and RHP components

Part of Add Workspace Plan Downgrades to NewDot
Doc section: https://docs.google.com/document/d/1GDPmbvV47VVxucr-tHYjH80VylcJptP0RfGMVy3zanY/edit?tab=t.0#bookmark=id.8wdgvm83nqu6
Steps to complete:

Locked Plan Type RHP for Subscriptions
Upgrade Confirmation RHP
Upgrade Success RHP

@jayeshmangwani Thought I'd create an issue that would gather the final FE aspects of the project, maybe split the PRs a bit in a way that makes sense :)
Let me know if there are any questions!

@jayeshmangwani all good here? Need help with anything?

All good! I'll raise the PR over the weekend. Nothing needed for now, but I'll reach out if anything comes up

Hey @DylanDylann, are you planning to add the Plan Type row in your PR? If you haven’t started on it yet, I can handle it in this issue. While working on the Upgrade Confirmation and Upgrade Success RHP UI, I went ahead and added the route page for Plan Type. Let me know if you’d like me to include it in my PR!

@carlosmiceli Update on this issue: I've created two components:

Upgrade Confirmation RHP
Upgrade Success RHP (reusing the existing UpgradeConfirmation component)

The Locked Plan Type RHP is currently in progress.but I’ll wait on merge this issue https://github.com/Expensify/App/issues/51494 first, as it includes the Plan Type page, and they’re very similar.
https://github.com/user-attachments/assets/17e8428c-1b50-4e66-829f-ca9f24d2bbbd
https://github.com/user-attachments/assets/031e29a4-8e1a-45b1-a891-be60e4794a5e

@jayeshmangwani Oke, please do it to unblock your PR

@jayeshmangwani Any updated here?

@DylanDylann No updates from my side. Could you raise a PR for this issue?

@jayeshmangwani Could you include the upgrade component to this PR?

Hi @carlosmiceli  @garrettmknight , I have a question regarding the workspace upgrade header title and footer button:
In the doc, the header states Upgrade your workspace and the footer button says Upgrade Workspace. However, we already have an existing Upgrade Workspace page that simply uses Upgrade (screenshot attached below).
Should we use the copies from the design document for the header and footer, or stick with the existing page's text and use that same page with the new upgrade component and benefits bullet points added?

Existing Upgrade:

Design doc:

@jayeshmangwani good questions, I think Garrett will give you the best answer :)

@jayeshmangwani let's use the existing 'Upgrade' button instead of the 'Upgrade Workspace' proposed in the doc.

Great, we'll use the existing Upgrade, Thanks!

Final BE PR has been merged :)

@jayeshmangwani can you please propose regression steps here and the I'll post the payment summary?

@bfitzexpensify I’m not sure if this issue is ready for payment, as it’s part of the ongoing "Workspace Plan Downgrade" project. The PR is still in progress, and additional PRs will also be part of this project.

Gotcha. @carlosmiceli, how are we handling payment for this project?

Mmm, I'm not sure, we'll have to ask @garrettmknight 😅

@jayeshmangwani once we launch the project we can comb through different issues and PRs and pay out all at once to keep things simple.


[Device Support Request] Tuya TS0601 by _TZE200_nklqjk62 - Zigbee Garage Door Opener

This device is picked up immediately through ZHA, but comes through with only two entities; LQI and RSSI.  And has no controllable state or switches associated with it.
There is a sensor with wire that runs from this device to the wall near the garage door, with the other side (not on the wire) simply stuck on the door.  It's really like any other door sensor, but one side is powered via wire, by the main device.
To be useful, ZHA needs to pick up the fact that there is a sensor, and then there needs to be a state (open/closed) associated with it, just like a normal door sensor.  Then, ZHA would also need to recognize and control the electronic switch within the device.  I don't know the name of the type of switch, but it literally is just like a button press that sends a signal.  Just like a normal garage door button on a wall, the electronic switch in this device would act like, activate once, door goes up, activate another time, door goes down.

Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZE200_nklqjk62",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Diagnostic information
There is no diagnostic information available.

Additional logs
None
![Screenshot](https://user-images.githubusercontent.com/92334235/192830138-f45725e6-91ca-4e20-a046-06ce6227b80b.png)

Additional context
Add any other context or screenshots about the feature request here.

Duplicate of https://github.com/zigpy/zha-device-handlers/issues/1260
Thanks for the detailed description, but the device has been already reported.

Thank you for by he response! Just a question of process… if the device has already been reported, does that mean it’s on a list and may get worked? Or does it mean it’s been looked at and nothing can be done?
Many thanks!
Sent from Proton Mail for iOS
On Wed, Sep 28, 2022 at 5:18 PM, javicalle @.***> wrote:

Duplicate of #1260
Thanks for the detailed description, but the device has been already reported.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I the comment https://github.com/zigpy/zha-device-handlers/issues/1260#issuecomment-1170017766 the user is writing all is working OK.
Hi is having the same devices as you (MODELS_INFO) so if you reading the thread and doing the same config of local quirk and adding the code posted your device shall working if all is being OK.
Sadly no one have making one PR for adding it in ZHA so must using local quirk for getting it working.

Mainly it is marked as duplicate so as not to disperse the information and so that everyone reads and contributes the information in a single place.
In this particular case, work has been done on the device to integrate it into HA and for some users it appears to be working (at least 'partially').
Normally, in order to integrate all the functionalities, it is necessary for someone with the device to test and (if they cannot implement the solution) provide the evidence so that the functionalities can be implemented.
A functional version was not reached for this device for various reasons.
On the one hand, the entity to manage the motor is not the most appropriate (a switch when the best would be a button). This depends more on HA than on the quirk.
On the other hand, there has been no more feedback from users, so the tasks are falling to the bottom of the priorities... it's not pretty, but it's reality.
If you want to continue trying a working version, you can try the version from the other post and continue the conversation there.
PS: Hi @MattWestb 😄

Closing in favor of https://github.com/zigpy/zha-device-handlers/issues/1260


Avatar generation without head

I tried to generate a Superman using Text to 3D (MVDream), but the result only had a torso, without a head or limbs.

What hyperparameters need to be adjusted to generate a complete character? I tried increasing the number of iterations, adjusting the fovy, and increasing the radius, but it didn't seem to have much effect.

And this is another result of 1200 iterations with radius=10

No head or legs.

maybe try add prompt "full body"

@KevinXu02 Thanks for your advice and it works.


Function Expose] Codeunit 5940 ServContractManagement - functions: CreateServiceLedgerEntry, CreateServLine

Dear Team,
Please set as external functions in Codeunit 5940 ServContractManagement:
CreateServiceLedgerEntry

CreateServLine

Thank you in advance.
Best regards,
Krzysztof

Both functions were marked as external as part of a bigger effort to expose safe, public functions. Your issue will be resolved in a future update.


Goto definition goes to stub files

Enivronment data

Language Server Version: v2021.10.2
OS and version: win10 21h1(19043.1288)
Python version: 3.9.5-64bit

Expected behaviour
goto definition goes to the actual source file (.py)
Actual behaviour
hover show annotation from source file(.py)
but goto definition still goes to stub file(.pyi)

Originally posted by @cloud-yu in https://github.com/microsoft/pylance-release/issues/949#issuecomment-948594018

Same here on MacOS:
Pylance: v2021.10.3
VSCode: 1.61.2
Python: 3.7.9

it doesn't repro with the latest release. it looks like it is fixed. please reopen if it still repro


fix build bug come from 8041c54

For bugs/issues, please fill in the following.  The more information you
provide, the more likely we can help you.
Environment info
Operating System: OSX
If installed from sources, provide the commit hash: 8041c54
tensorflow/contrib/linear_optimizer/BUILD
linkopts = [
     "-Wl,-Bsymbolic",
     "-lm",
],

should change to:
linkopts = select({
    "//conditions:default": [
     "-Wl,-Bsymbolic",
     "-lm",
    ],
    "//tensorflow:darwin": [],
}),

Thanks for the report, we'll get in a change tomorrow!

Fixed in c3c40b7a8950bba876b92456824e5b6a9505c0a7.  Still one more error to fix.


Some refactoring and updates of back-end methods

Coverage increased (+0.2%) to 34.753% when pulling bd18710f9eb0a3e360c87d50f626e6c1769b50c3 on enrollments_refactoring into 869ce2876b56ba80b4498b7f3d8e8016b6980c86 on master.


Updated compliance logging (eval stop, bn span, warmup steps)

Updated mlperf-compliance lib to version 0.0.10

Corrected comment for EVAL_STOP

Added OPT_LR_WARMUP_STEPS for ResNet, GNMT and SSD

Added new tag INPUT_BN_SPAN (ResNet,SSD)

Moved to tags.py.

Ah sorry I missed that. thanks!


bitnami/mongodb does not support ARM64

Summary
if you are using MAC M1 you will not be able to run bitnami/mongodb image locally, since bitnami/mongodb has no ARM64 support yet. https://github.com/bitnami/charts/issues/16247
The solution I use is to change mongodb image to mongo:latest before running docker-compose file and then revert it back before making any commit.
I wonder if there's more elegant solution for mac users.

any update here? Could we use mongo's official arm images to deploy the bitnami charts?

+1


[opendistro-1.5][backport] Add validation for null elements in JSON array (#1157)

(cherry picked from commit 960d4209282027adedc0b37b28d74df8913dfafe)
opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Github Issue # or road-map entry, if available:

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1353 (380060c) into opendistro-1.5 (2f1b648) will increase coverage by 0.20%.
The diff coverage is 79.84%.

@@                 Coverage Diff                  @@
##             opendistro-1.5    #1353      +/-   ##
====================================================
+ Coverage             62.72%   62.93%   +0.20%
- Complexity             2950     2975      +25
====================================================
  Files                   229      231       +2
  Lines                 16321    16392      +71
  Branches               3056     3068      +12
====================================================
+ Hits                  10238    10316      +78
+ Misses                 4506     4492      -14
- Partials               1577     1584       +7

Impacted Files
Coverage Δ

...arch/security/ssl/OpenDistroSecuritySSLPlugin.java
82.05% <0.00%> (ø)

...ort/OpenDistroSecuritySSLTransportInterceptor.java
0.00% <0.00%> (ø)

...lasticsearch/security/support/ConfigConstants.java
90.00% <ø> (ø)

...rch/security/setting/OpenDistroDynamicSetting.java
60.00% <60.00%> (ø)

...ticsearch/security/configuration/CompatConfig.java
38.23% <66.66%> (+10.64%)
:arrow_up:

.../security/setting/TransportPassiveAuthSetting.java
80.00% <80.00%> (ø)

...ecurity/configuration/ConfigurationRepository.java
74.54% <80.39%> (+4.84%)
:arrow_up:

...ty/transport/OpenDistroSecurityRequestHandler.java
69.06% <83.33%> (+1.09%)
:arrow_up:

...arch/security/filter/OpenDistroSecurityFilter.java
64.96% <88.88%> (+3.78%)
:arrow_up:

...asticsearch/security/OpenDistroSecurityPlugin.java
82.35% <100.00%> (+0.11%)
:arrow_up:

... and 17 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 2e23920...380060c. Read the comment docs.


upload nupkg with github release

reorganized sln config files
renamed paket template for FSharp.Compiler.Service

There's an AppVeyor buid error here: https://ci.appveyor.com/project/fsgit/fsharp-compiler-service/build/6.0.2-b1027#L2600

It looks like it might be because the version number of the netcore package didn't get get incremented
https://ci.appveyor.com/project/fsgit/fsharp-compiler-service/build/6.0.2-b1027#L992


styled-system has been deprecated?

@jxnblk hasn't been replying to, or merging, PRs, so I'm guessing so?

Looks pretty shitty when someone dumps a open source project and starts working for a company (gatsbyjs) without assigning additional maintainers or giving any official news on whats going on. This was such a nice touch to react css-in-js.
Any alternatives? Forks?
Guess we can just use Chakra's system but we don't want the components, just the style system.


Take version suffix into account for label

Signed-off-by: Arnaud Porterie<EMAIL_ADDRESS>

Ping @thaJeztah @cpuguy83 :innocent:

LGTM

Thanks! I'll merge this, we'll probably refine with experience :+1:


Update documentation to show what roles are required to perform this.

Currently, it states that you use the $credential = Get-Credential to get Global Administrator credentials.
Can we add the two roles an account can have to perform the password reset?
As AD Connect can be configured using Global Administrator or Hybrid Identity Administrator, this document can be utilized via an Hybrid Identity Administrator to reset the AAD Connector account password.

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

ID: 101c9adb-b728-e73d-369d-fc69bf9c2672
Version Independent ID: d3380cfe-d76e-5147-9c49-0ea0c3c6bfc5
Content: Change the Microsoft Entra Connector account password - Microsoft Entra
Content Source: articles/active-directory/hybrid/connect/how-to-connect-azureadaccount.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@centrology
Thanks for your feedback! We will investigate and update as appropriate.

@centrology
Thank you for bringing this to our attention.
I've delegated this to content author @billmath, who will review it and offer their insightful opinions.

Thank for submitting this. I have created a work item for it and will reviewing this in the coming weeks. I am not sure what the timeline will be, so I am going to close this for now. But once I have an update I will drop it in here and let you know.
Thank you!
Bill
#please-close


hover effect on the contributors page

hover effect on the contributors page to the circular images.please assign this under jwoc 2024

@thesri , go for it

https://github.com/Jagroop2001/AcmeRockets/pull/80


Integrate with rust-semverver to detect API changes between PRs

We can use https://github.com/rust-lang/rust-semverver to make our public API not changed by mistake.

Not needed now, closed.


Alternately color the spaces between the grids

Question: (Ask your question here)
After directly modifying GridStyle.cs and confirming that the filled rectangle was drawn, I modified three files. I created IsVisibleHorizontalSpan and IsVisibleVerticalSpan in DefaultGrid.cs and changed the properties using the calling code in DraggableAxisLines.cs, but it does not work. The code for drawing the rectangle is in GridStyle.cs. What went wrong? Please understand that this is not a well-made code.
This is my first time writing an issue, so I don't know if it's right to write like this. Please let me know if there are any mistakes.
ScottPlot Version: (What NuGet package are you using?)
5.0.34
Code Sample: See http://scottplot.net/faq/repro/ for tips about creating reproducible code samples
GridStyle.zip

I tried to write this in ScottPlot 5.0.36.
I modified Render() in GridStyle.cs.
I added RenderGridBackground(rp, xTicksMajor, axis.Edge); before RenderGridLines(rp, xTicksMajor, axis.Edge, MajorLineStyle);
private static void RenderGridBackground(
    RenderPack rp, float[] positions, Edge edge)
{
    var starts = new List<Pixel>();
    var ends = new List<Pixel>();

    var pos = new List<float>(positions)
    {
           edge.IsHorizontal()
               ? rp.DataRect.Left
               : rp.DataRect.Bottom,
           edge.IsHorizontal()
               ? rp.DataRect.Right
               : rp.DataRect.Top
    };

    pos.Sort();
    for (int i = 0; i < pos.Count; i++)
    {
        float px = pos[i];

        starts.Add(edge.IsHorizontal()
            ? new Pixel(px, rp.DataRect.Bottom)
            : new Pixel(rp.DataRect.Left, px));

        ends.Add(edge.IsHorizontal()
            ? new Pixel(px, rp.DataRect.Top)
            : new Pixel(rp.DataRect.Right, px));
    }

    for (int i = 1; i < starts.Count; i++)
    {
        if (i % 2 == 0)
        {
            continue;
        }

        Drawing.FillRectangle(
            rp.Canvas,
            new PixelRect(starts[i - 1], ends[i]),
            Colors.Yellow.WithOpacity(0.3));
    }
}

The result is like this

I tried being able to select horizontal, vertical or none, but it didn't work. What I really need is a horizontal background.

The code of DraggableAxisLines.cs was modified and implemented as follows.

``
formsPlot1.Plot.Grid.IsVisibleVerticalSpan = false;
formsPlot1.Plot.Grid.IsVisibleHorizontalSpan = true;
formsPlot1.Plot.Grid.SpanColor = ScottPlot.Color.FromColor(System.Drawing.Color.FromArgb(10, 0, 0, 255));
``

@CoderPM2011
I didn't know you had given me the full answer, so I was looking for an easy way, but I couldn't, so I tested the code you posted and it works fine. Thank you.

I'm merging in #4201 now so things like this will be possible in the next release:
// add a green data line
var sig = myPlot.Add.Signal(Generate.SquareWaveFromSines());
sig.LineWidth = 3;
sig.Color = new("#2b9433");
sig.AlwaysUseLowDensityMode = true;

// give the plot a dark background with light text
myPlot.FigureBackground.Color = new("#1c1c1e");
myPlot.Axes.Color(new("#888888"));

// shade regions between major grid lines
myPlot.Grid.XAxisStyle.FillColor1 = new Color("#888888").WithAlpha(10);
myPlot.Grid.YAxisStyle.FillColor1 = new Color("#888888").WithAlpha(10);

// set grid line colors
myPlot.Grid.XAxisStyle.MajorLineStyle.Color = Colors.White.WithAlpha(15);
myPlot.Grid.YAxisStyle.MajorLineStyle.Color = Colors.White.WithAlpha(15);
myPlot.Grid.XAxisStyle.MinorLineStyle.Color = Colors.White.WithAlpha(5);
myPlot.Grid.YAxisStyle.MinorLineStyle.Color = Colors.White.WithAlpha(5);

// enable minor grid lines by defining a positive width
myPlot.Grid.XAxisStyle.MinorLineStyle.Width = 1;
myPlot.Grid.YAxisStyle.MinorLineStyle.Width = 1;


Math routes

What's new :question:

Use React Routes to navigate the app pages.
Add Basic styles
Update README file

@hiromataba Thanks for your review ^^!,
Nice catch !! the optional changes have been implemented :+1:


AuthorizationError: Missing or invalid 'refresh_token' field in v2.2.0

When upgrading from version 2.1.0 to 2.2.0 of remix-auth-oauth2, I encountered an error during the OAuth callback process. The error message states: "AuthorizationError: Missing or invalid 'refresh_token' field". Importantly, no changes were made to our Auth0 configuration or our application code; the only change was updating the library version.

After further investigation, I've identified the root cause and have some insights to share.

Missing 'offline_access' Scope:
The problem stems from the 'offline_access' scope not being automatically included in the authorization request. While I haven't confirmed this yet, it's possible that in previous versions of oslojs, this scope might have been added by default.

As a test, I tried explicitly adding the 'offline_access' scope, which resolved the issue:
const scopes = new Set(['offline_access', ...(this.options.scopes || [])]);
authorizationURL.addScopes(...Array.from(scopes));

This ensures that the 'offline_access' scope is always included, along with any other scopes specified in the options. However, I want to emphasize that this was just a test, not a proposed resolution.

Temporary Fix - Manual Scope Addition in Auth0Strategy:
As a temporary decision to fix the problem for those who need it immediately, I've found that manually adding the 'offline_access' scope when initializing the Auth0Strategy works:

new Auth0Strategy(
  {
    // ... other options
    scopes: ['openid', 'email', 'profile', 'offline_access'],
  },
  // ... callback function
)

It's crucial to note that this issue is causing significant problems for Auth0 applications. Without the refresh token, these applications are now unable to complete the login callback process successfully. This raises an important question: Is this behavior intentional? In previous versions, we didn't need to explicitly set this scope.

I encounter this as well. The TokenRequestResult should be updated to conform to the oauth2 spec where the refresh_token and possibly other fields are optional.


Rotate circle and create half/quarter of the circle

Hi I am using mapbox-gl-circle library to create circle on mapbox-gl map in my Angular application providing center of the circle and radius in metres.
Two simple questions:

Can I create half or quarter the circle (something looking like pizza slice) with center coordinates of the circle. So I need exactly the same functionality like creating circle with center coordinates just I don't want full circle, rather than this it would be awesome if I can create half or quarter of the circle?
Can I somehow rotate circle after it is created?

Best regards.

Hi there @sharkee89.
Right now this library only supports creating the full circle. You're more than welcome to fork the repo and create that feature based on the circle one that we have and open a PR for it. We'll review it as quick as possible.
Best regards.


Update compose-multiplatform project wizard samples to use latest versions.

The Compose-Multiplatform plugin generated samples are still using the older versions of the plugin and doesn't contain js as part of the common module.

The wizard is a part of IDEA and therefore it's updated with new IDEA versions. IDEA 2022.3 contains an updated wizard.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


How Do I Use The Script

Do I Need To Curl -LO

It is designed for quick installation as VirtualBox guest. Download it any way and execute. curl works as well. Fork and change script for your needs.


Add Automated Build/Tests

As part of the JOSS review (openjournals/joss-reviews#6138) I think this repository should have an automated build, preferably with some tests.

agreed, thank you for the feedback!

I will try to find time to work on this soon. Any chance you could help out here a little @cmower? Or are you too occupied? No worries if not.

automatic builds are already added for Ubuntu 24.04 and 22.04. Currently missing are tests

I think automated builds alone should be sufficient as this repository primarily contains bindings.

thanks for the feedback @CameronDevine, I am in the process of writing an emulator for the robot to mimic its behavior. This should allow for simple testing by the end of the week.

maybe in the interest of time, is it possible to treat the procedural tests with virtual hardware separately from this review? I would then open new issues and reference this but keep JOSS untagged

I don't think closing this issue is required for me to recommend acceptance. @adi3 is this correct?


Rework test for taxonomy:untag to avoid intermittent failure

This task exits early which works oddly in Rake. Previously used return which is not valid (but worked by accident, because it caused a runtime error). abort appeared to work but fails intermittently in CI, perhaps due to test ordering? Stack Overflow recommends next instead. Then the test can just ensure that the untagger is never called rather than checking for a SystemExit.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Superseded by #1345 because I accidentally created this one in a fork(thanks GitHub cli)


Sp23 sprint1 shireen

Package.json file, linting and test scripts changes

Only conflict was in .gitignore which has been resolved


Remove legacy implementation of uniflow, refactor config, add README, and fix server deadlock issue

remove legacy implementation of uniflow after README is added.
refactor config
add README
fix server deadlock issue
lint

LGTM!


[as2_keyboard_teleoperation] window crash while selecting drone if the behavior window is opened

ROS2 Version
humble
Version
main
What happened?
Crash when selecting drone in the interface while the behavior window is opened.
Relevant log output
No response

Solved #130


Added support for ECS Provider + AWS EC2 pkcs7 auth + Test Provider

I like the idea of supporting ECS! I don't want to speak for @nemosupremo, but I think there will need to be some discussions around documentation, naming, and references, before this proceeds. I'll volunteer my time if we want to put together a plan.

Thanks aantono. A short while after building this project I realized I should have architected it in such a way that didn't marry the design to mesos, so platforms like ECS or k8s could be supported as well. I've meant to rework the basic design, but I've never gotten the time.
Essentially, as you may have come across, the mesos architecture could be abstracted out to support any type of "custom" token authorization schemes. As you probably discovered, there is a gatekeeper frontend and potentially multiple provider backends (currently there is only one provider - mesos). The Provider interface should have

Initialize - Initialize the provider with required settings (hostnames, certs)
Unseal - Provide the necessary tokens required for making authorized requests to the backend (ex. Mesos Root Token)
Seal
Authorize - This function given some sort of identifier, checks the identifier to make sure a token can be released. (ex. a task id, which the authorize function would check that the task exists and has  been running for <X minutes).

The goal should be that its very simple to add & test new provider backends, while separating out the actual Vault concerns from them.
However, in the mean time I'll look into merging this. I generally believe perfect is the enemy of good, and this project is small enough that we can live with some technical debt until the rewrite is complete. In the mean time, we can certainly discuss an architecture for a plan to support more providers that is also easy to extend. I'm currently on a business trip to Europe (for the past 4 weeks 😓), but I'll keep track of that progress in #14

Thanks @nemosupremo.  I've tried to create a light layer of abstraction for the Provider (not a full-blown interface), so not sure if this is up to par with what you were expecting.  I've basically noticed that you were already creating a different function binding for gMT function, which returns the task data.  I took that and created 3 different functions, one for mesos, ecs and test that call the appropriate backends to extract the data for the provided taskId.
Maybe we can use this as a basis foundation to pull things further apart and introduce the other concepts as we go?
Let me know what you think and would like to hear your feedback on the PR.
Looking forward working on making this library more powerful!

Any updates on this PR?


tests/kernel/common fails to build on xtensa / ESP32

commit 43553da9b2bb9e537185695899fb5184c3b17ebe
Toolchain: ZEPHYR_GCC_VARIANT=espressif
...
[ 63%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/pinmux/pinmux_esp32.c.obj
[ 64%] Building C object zephyr/CMakeFiles/zephyr.dir/drivers/timer/sys_clock_init.c.obj
zephyr.git/tests/kernel/common/src/intmath.c:50:30: error: enumerator value for '__build_assert37' is not an integer constant
zephyr.git/tests/kernel/common/src/intmath.c:52:30: error: enumerator value for '__build_assert41' is not an integer constant
 ROLLOVER_CHECK(int,<PHONE_NUMBER>, -2147483648);
                              ^

What's happening is that the we have a test where on GCC 4.x+, we use the C99 _Static_assert() feature instead of our own preprocessor hack.  But on ESP32, something in the toolchain headers is redefining STDC to say that it's C90, not C99 (I checked: the compiler emits C99 by deafault, so we don't use the builtin.
And of course our own macro is bitrotten and broken and produces that error.


MAJOR memory leaks

The engine has constant leaks that do not come to a halt, seems its the render()
Create a window
compile and run

This issue is being fixed, almost have it solved

Problem Resolved


[Feature Request] Multiple Groups/Prefixes

It may be a bit late for feature requests but I have recently converted from GM from 1.7.10 to PermissionsEx and so far things are going good. I appreciate the hard work you put into your plugin!
One thing I have ALWAYS wanted for the old GM and now am wishing for with PEX is the ability to add multiple permission ranks to a user. It feels like it might be not very complex to add but this is me, a non programmer, on this side of the plugin.. Idk .
So, in a bit more detail.
In your config, it would just list the permissions like normal but if you do a certain command, it could compound two separate permission groups.
The only issue to consider is priorities. With this, could always add an option to add a priority to the rank in the config. Or.. Make it more granular and make it per permission.

This sort of thing is handled by the Chat Management plugin you're using on your server, not by PEX.  PEX only provides a convenient place to store a custom prefix and suffix for a group.  PEX doesn't actually do any of the displaying of these in-game.  I'd recommend this to whomever may be in charge of the chat plugin I used on my server.

After re-reading that, it looks like you're also asking for a feature to add a bulk number of permissions to a group with a single command.  If that's true, it's something @zml2008 would have to respond to.

It could in theory definitely be handled via a chat management plugin and I had thought about that but it's really more of a permission based thing.
I guess I'm looking for it to be possible to add more than one group onto one player and making all prefixes visible in chat with priorities on permissions.
A lot of that is reliant on the permission plugin rather than the chat plugin since there would be a decent number of backend gears that need to be moving.
Idk. Apparently this isn't as heavily sought after as I thought it was as it appears this is the first request for it. I do think that the feature would be enjoyed though by PEX's user base esp since it is such a powerful permission plugin. Adding something like this would be a killer new feature for Sponge based PEX.

I'm pretty sure what you're talking about has been supported basically the entire time PEX has existed. Any user and any group can inherit from multiple groups. However, multiple prefixes has to be handled by a chat plugin -- Simple-Prefix handles this (just remember to enable Vault and multiple prefix support).

@jsnbrown1989 : Don't forget there's already weight values in the current system too, though these also won't enable multiple prefix/suffix use.

Thank you guys for your assistance with researching this out then. I know you guys could have just closed this without an after thought. Really is great of you guys. Since I will be running a sponge server and I do not see a version or related plugin of the suggested chat plugin already existing. It looks like it's off to see if I can get a custom one created.
Thanks again!


Publish event messages for meaningful actions in Wolverine

Publishing messages will allow users to easily register handlers for big events. Thinking:

circuit tripped off
circuit resumed
endpoint paused
endpoint restarted
endpoint failed?
endpoint too deep?

All of these are available for the tracker too? The observable path is beneficial too maybe.

Do 100% of this with Otel now.


Redis - Unhandled 'error' event

It seems like i still don't safely handle any error events thrown from the Redis module.
Meaning that when the NodeJS Express web server loses it's connectivity to redis backend it will thrown and error and the application dies. I will have to figure out what i'm doing wrong and catch the error event properly.
We need for the application to continue and not throw an error. So that the "re-connection" part of the Redis module kicks in.
Redis thrown error event:

SocketClosedUnexpectedly
Error: Socket closed unexpectedly

node:events:490
      throw er; // Unhandled 'error' event
      ^

SocketClosedUnexpectedlyError: Socket closed unexpectedly
    at Socket.<anonymous> (/opt/tpotce-fullscreen-attackmap/node_modules/@redis/client/dist/lib/client/socket.js:195:118)
    at Object.onceWrapper (node:events:627:26)
    at Socket.emit (node:events:512:28)
    at TCP.<anonymous> (node:net:316:12)
Emitted 'error' event on Commander instance at:
    at RedisSocket.<anonymous> (/opt/tpotce-fullscreen-attackmap/node_modules/@redis/client/dist/lib/client/index.js:395:14)
    at RedisSocket.emit (node:events:512:28)
    at RedisSocket._RedisSocket_onSocketError (/opt/tpotce-fullscreen-attackmap/node_modules/@redis/client/dist/lib/client/socket.js:218:10)
    at Socket.<anonymous> (/opt/tpotce-fullscreen-attackmap/node_modules/@redis/client/dist/lib/client/socket.js:195:107)
    at Object.onceWrapper (node:events:627:26)
    at Socket.emit (node:events:512:28)
    at TCP.<anonymous> (node:net:316:12)

Node.js v19.7.0

I am currently trying to figure out a way for me to reproduce this error in a way so that i can generate it constantly while i'm testing my code.

I have now figured out that this error is indeed thrown when the map_redis docker container is either crashed or just simply restarted. So i can now without problems re-generate this error on demand.

Looks like i finally narrowed it down, i was doing the "error handling" on the wrong connection variable.
As this is Redis subscriber based, we run it async and by duplicating the connection so that we handle subscriber on a thread on it's own. That also means that any error handling should be done on that const and not the main connection as that is never initiated via .connect()
After moving the error checking down into the subscribe section, it worked like i had hoped for ! Now i just need to polish the log output and so on.


HTTPS support

Is HTTPS support planned?  Boost::asio supports SSL, so it seems to me HTTPS is not really out of reach.

A little web search leads to https://github.com/eidheim/Simple-Web-Server , which is a similar project with HTTPS support.  It's implemented by having socket_type as a template parameter.

I met Simple-Web-Server and then served
served is more attractive for me, because of its more higher level APIs.
That's great for developers who know little about HTTP protocol details and want just a quick integration of REST web API.
But served development seems not quite active. That's another concern.

I recently had a problem serving large images with served.  The problem disappeared after I switched to Simple-Web-Server, so I didn't botther to debug.  I agree that the API of Simple-Web-Server is of a lower level.  I've coded up a little wrapper for it. https://github.com/aaalgo/Simple-Web-Extra

A wrapper is great.
What size of your picture and the type?
I'm going to server RGB png pictures of 2592 x 1944, maybe the same issue would be encountered.
Have you open a detailed issue about the large images serving?
Maybe it can be fixed.

Why not just run served behind a nginx reverse proxy? All in nice docker containers to boot.

+1 for feature.
Embedded SSL support would be great for service-to-service communication.


Use set for shard routings in batch check.

Description
PrimaryShardsBatchAllocator and ReplicaShardsBatchAllocator both use list data structure to check if a unassigned shard is a shard from the batch being executed. This is in-efficient way and can make recovery significantly slow for clusters with higher shard count. Using set data structure will be more efficient to have constant performance.
Reroute duration reduced by 14.5 minutes for a cluster with 500K unassigned shards
Performance before fix for reroute:
[2024-06-24T17:46:18,646][DEBUG][o.o.c.r.a.AllocationService] [c7b768cc312193a718de31bd65dc23c7] ASF-AS reroute started, unassigned shards: 502366, initializing shards: 0, ignored shards: 0
[2024-06-24T18:04:33,158][DEBUG][o.o.c.r.a.AllocationService] [c7b768cc312193a718de31bd65dc23c7] ASF-AS after primaries before replica, unassigned shards: 254178, initializing shards: 248188, ignored shards: 0
[2024-06-24T18:04:33,158][DEBUG][o.o.c.r.a.AllocationService] [c7b768cc312193a718de31bd65dc23c7] ASF-AS replica, unassigned shards: 254178, initializing shards: 248188, ignored shards: 0
[2024-06-24T18:07:45,037][DEBUG][o.o.c.r.a.AllocationService] [c7b768cc312193a718de31bd65dc23c7] ASF-AS reroute finished, unassigned shards: 0, initializing shards: 248188, ignored shards: 254178

Performance after fix for reroute:
[2024-06-25T15:17:11,584][DEBUG][o.o.c.r.a.AllocationService] [cce76896e008802de8384c1a0cea2d6a] ASF-AS reroute started, unassigned shards: 502366, initializing shards: 0, ignored shards: 0
[2024-06-25T15:21:04,918][DEBUG][o.o.c.r.a.AllocationService] [cce76896e008802de8384c1a0cea2d6a] ASF-AS after primaries before replica, unassigned shards: 254178, initializing shards: 248188, ignored shards: 0
[2024-06-25T15:21:04,918][DEBUG][o.o.c.r.a.AllocationService] [cce76896e008802de8384c1a0cea2d6a] ASF-AS replica, unassigned shards: 254178, initializing shards: 248188, ignored shards: 0
[2024-06-25T15:22:41,146][DEBUG][o.o.c.r.a.AllocationService] [cce76896e008802de8384c1a0cea2d6a] ASF-AS reroute finished, unassigned shards: 0, initializing shards: 248188, ignored shards: 254178

Related Issues
Resolves #[Issue number to be closed when this PR is merged]
https://github.com/opensearch-project/OpenSearch/issues/14532
Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌ Gradle check result for 007fc64: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Build failure reason:
FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':distribution:bwc:staged:buildBwcLinuxTar'.

> Building 2.15.0 didn't generate expected file /var/jenkins/workspace/gradle-check/search/distribution/bwc/staged/build/bwc/checkout-2.15/distribution/archives/linux-tar/build/distributions/opensearch-min-2.15.0-SNAPSHOT-linux-x64.tar.gz

❌ Gradle check result for b061035: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant
Flaky test: https://github.com/opensearch-project/OpenSearch/issues/14585

❌ Gradle check result for 8eff3fe: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Results:
org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant
org.opensearch.action.admin.cluster.node.tasks.ResourceAwareTasksTests.testTaskResourceTrackingDuringTaskCancellation
Flaky https://github.com/opensearch-project/OpenSearch/issues/14293 https://github.com/opensearch-project/OpenSearch/issues/14585

❌ Gradle check result for 7ec84d7: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Failed test org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant
Flaky https://github.com/opensearch-project/OpenSearch/issues/14585

❌ Gradle check result for 475da7b: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Flaky tests:
org.opensearch.qa.verify_version_constants.VerifyVersionConstantsIT.testLuceneVersionConstant
org.opensearch.action.admin.cluster.node.tasks.ResourceAwareTasksTests.testTaskResourceTrackingDuringTaskCancellation
org.opensearch.index.remote.RemoteSegmentTransferTrackerTests.testComputeTimeLagOnUpdate
https://github.com/opensearch-project/OpenSearch/issues/14585
https://github.com/opensearch-project/OpenSearch/issues/5329
https://github.com/opensearch-project/OpenSearch/issues/14325

❌ Gradle check result for 0b471e4: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

https://github.com/opensearch-project/OpenSearch/issues/14585

❌ Gradle check result for 053face: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Flaky test: https://github.com/opensearch-project/OpenSearch/issues/13820


Fix display issues on older Firefox

Regression introduced in f9de00729998225a.
Tested on Firefox 45 (old, was broken), 49 (previous, still works), 50 (latest, still works) and Chrome 54 (current, still works).
Closes: https://github.com/graphql/graphiql/issues/250

👍  thanks for the fix!


Quick start guide

Hi and thanks for your work!
Would you be able to write up a little quick start guide for people like myself who are new to Kubernetes and may have limited experience with Google Cloud / AWS / Azure?
I am running a machine with Proxmox and a Plex VM, but CPU resources are very limited on this machine. I feel like elastic transcode could be my savior.

Hey mate !
Thanks a lot for your answer. Sorry for the late reponse I was on holiday.
I'm going to try this.
Thanks for your support  !
Le lun. 8 janv. 2018 à 11:27, James Munnelly<EMAIL_ADDRESS>a
écrit :

I've now updated the repo with new instructions and new code that should
make it easier to get started, provided you already have a functioning
Kubernetes cluster! I'm afraid I can't go into detail here as to the best
way to provision Kubernetes, but there's a number of pointers on the official
kubernetes docs https://kubernetes.io/docs/home/.
Please let me know how you get on, either by commenting here or opening
new issues for any issues you might run into!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/munnerz/kube-plex/issues/4#issuecomment-355929883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSWLlMTBylHafxBEzxFw1JKySsYRFDvks5tIe2OgaJpZM4P9BKd
.

--
Tolron Sébastien
Ingénieur études et développement
+33 6 62 84 07 66
<EMAIL_ADDRESS>


Ask background blur error on chrome

hello, I want to ask something, how do you implement backdrop-filter blur on your navbar? I use backdrop-filter blur and my navbar gets bug but only happens on chrome browser.
https://user-images.githubusercontent.com/25787603/147182121-34a34d0d-34bb-4c0e-9bb9-0c60cce46d12.mov

Hi, the blurred background is just CSS. You can check my implementation using TailwindCSS in components/Header.tsx. If you are still unsure where to fix the problem on your side, check these resources:

Official TailwindCSS: https://tailwindcss.com/docs/backdrop-blur
https://braydoncoyer.dev/blog/build-a-glassmorphic-navbar-with-tailwindcss-backdrop-filter-and-backdrop-blur

A note: I'd rather keep GitHub issues for the actual issues related to this repo, so in the future, if you want to reach out for implementation questions, DM me on Twitter. I'm @thanghvu . I'll be happy to help there!


Fix typo and add bzip2-devel to yextend requirements

to: @chunyong-lin
cc: @airbnb/binaryalert-maintainers
size: tiny
Background
#79 added yextend and instructions for how to build it. However, there is a typo in the README.
Changes

Fix autoconf typo
Proactively add bzip2-devel to the list of yum packages in order to compile the latest version of yextend

Testing

Compiled yextend (both v1.5 and latest master commit) using these install instructions verbatim from a fresh EC2 instance

Coverage remained the same at 95.784% when pulling ab0263cdef3ec1da78402f56554bbea66a1ddff1 on austin-yextend-deps into 19d04ccf5ef78fc383c6d0b47f32df1eac212a43 on master.


ModuleNotFoundError: No module named 'blocksim'

After running the code, I get this error: ModuleNotFoundError: No module named 'blocksim'. How can I solve it, please?

Could you tell me more about your setup?
What command did you run? did you install any of the dependencies and cd to the right folder?


Exception during [Enable Automatic Expert Delivery] and [Entrust Duplicates]

This problem only occurs in versions v<IP_ADDRESS> and v<IP_ADDRESS>; previous versions did not have this issue.
When I check the [Enable Automatic Expert Delivery] button, it does not work properly, and the checkbox cannot be ticked. The error message in the log is as follows (However, my computer only has a Disk C, and there is no Disk D.):

[2024/6/16 21:51:09 +08:00] Seals: 17846/90000, for item 1180 | 征服衬裤: True
[2024/6/16 21:51:09 +08:00] Handing in item 征服衬裤 for 1180 seals (index=0)
[2024/6/16 21:50:34 +08:00] The type initializer for 'ECommons.Automation.Callback' threw an exception.
at AutoRetainer.Modules.GcHandin.AutoGCHandin.InvokeHandin(AtkUnitBase* addon, Int32 which) in D:\VS\AutoRetainer\AutoRetainer\Modules\GcHandin\AutoGCHandin.cs:line 284
at AutoRetainer.Modules.GcHandin.AutoGCHandin.HandleGCList() in D:\VS\AutoRetainer\AutoRetainer\Modules\GcHandin\AutoGCHandin.cs:line 176

Additionally, when the retainer enables the [Entrust Duplicates] option, they will halt at the retainer's backpack interface without any actions, and the error message in the log at this time is as follows:

[2024/6/16 22:07:39 +08:00] Starting to execute task: b__2_3
[2024/6/16 22:07:39 +08:00] Firing callback: InventoryRetainerLarge, valueCount = 1, updateStatte = False, values:
[2024/6/16 22:07:39 +08:00] The type initializer for 'ECommons.Automation.Callback' threw an exception.
at ECommons.Automation.Callback.FireRaw(AtkUnitBase* Base, Int32 valueCount, AtkValue* values, Byte updateState) in D:\VS\AutoRetainer\ECommons\ECommons\Automation\Callback.cs:line 80
at ECommons.Automation.Callback.Fire(AtkUnitBase* Base, Boolean updateState, Object[] values) in D:\VS\AutoRetainer\ECommons\ECommons\Automation\Callback.cs:line 137
at AutoRetainer.Scheduler.Handlers.RetainerHandlers.ClickEntrustDuplicates() in D:\VS\AutoRetainer\AutoRetainer\Scheduler\Handlers\RetainerHandlers.cs:line 205
at AutoRetainer.Scheduler.Tasks.TaskEntrustDuplicates.<>c.b__2_3() in D:\VS\AutoRetainer\AutoRetainer\Scheduler\Tasks\TaskEntrustDuplicates.cs:line 44
at ECommons.Automation.LegacyTaskManager.TaskManager.Tick(Object _) in D:\VS\AutoRetainer\ECommons\ECommons\Automation\LegacyTaskManager\TaskManager.cs:line 141

Hello! please make sure that you have "release" selected in /xlbranch, if you do, please attach full dalamud.log file

Duplicate issue of https://github.com/PunishXIV/AutoRetainer/issues/70


Spike: evaluate expo SecureStore component

expo securestore might be a good candidate for replacing react-native-keychain

There's a lot expo tools/libraries that could simplify this project. Secure store is really nice to use.
I think consideration should be made on making upgrading react native and getting on expo a priority.
For instance to use push notifications without expo we would need to use https://www.npmjs.com/package/react-native-push-notification library that hasn't had a release in ~2 years. About the same age as react native 0.66.
I'm unaware of the complications with bifold but there has been major advances in expo recently and don't think there's a reason why this project can't be on it.