intel_adsp_cavs25 and intel_adsp_ace15/20/30: tests/drivers/comparator/shell/drivers.comparator.shell fails.

Describe the bug
The tests/drivers/comparator/shell/drivers.comparator.shell fails with timeout on:

intel_adsp/ace15_mtpm
intel_adsp/ace15_mtpm/sim
intel_adsp/ace20_lnl
intel_adsp/ace20_lnl/sim
intel_adsp/ace30/ptl/sim
intel_adsp/cavs25

To Reproduce
scripts/twister -W -p intel_adsp_cavs25 --device-testing --hardware-map <path_to>/cavs/cavs.map -T tests/drivers/comparator/shell/ -v
Logs and console output
Log attached from run on intel_adsp_cavs25.
*** Booting Zephyr OS build v3.7.0-4463-g03959a20f783 (delayed boot 500ms) ***
Running TESTSUITE comparator_shell
===================================================================
START - test_await_trigger
ASSERTION FAIL [arch_mem_coherent(sync)] @ WEST_TOPDIR/os.rtos.zephyr.zephyr/kernel/work.c:1072
E:  ** FATAL EXCEPTION
E:  ** CPU 0 EXCCAUSE 63 (zephyr exception)
E:  **  PC 0xbe015caf VADDR 0
E:  **  PS 0x60420
E:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:4 CALLINC:2)
E:  **  A0 0xbe012a64  SP 0xbe025ca0  A2 0x4  A3 0x9e02a77c
E:  **  A4 0  A5 0x60020  A6 0x1  A7 0x1b
E:  **  A8 0x1  A9 0xbe025c20 A10 0x1 A11 0
E:  ** A12 0x9e02a0d8 A13 0x25 A14 0x4 A15 0x10
E:  ** LBEG 0xbe01e04c LEND 0xbe01e057 LCOUNT 0
E:  ** SAR 0
E:  **  THREADPTR 0xaaaaaaaa

Backtrace:0xbe015cac:0xbe025ca0 0xbe012a61:0xbe025cb0 0xbe0196f9:0xbe025cd0 0xbe011c2c:0xbe025d00 0xbe016e39:0xbe025d50 0xbe012a53:0xbe025d70

E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x9e02a0d8 (test_await_trigger)
E: Halting system

Environment (please complete the following information):

OS: Linux
Zephyr version: v3.7.0-4463-g03959a20f783

no idea what coherent memory means, but its looks like the intel platform requires the k_work_sync be defined in some special way to make it coherent, see https://github.com/zephyrproject-rtos/zephyr/blob/8c705cabab8ad3eb66949f97b862f3da9f708455/tests/drivers/comparator/shell/src/test.c#L148
maybe someone can propose a solution to make it coherent


Add support for root validators.

Hello! Thank you for the great work.
I was wondering if you were planning on adding support for documenting root validators, like you do field validators.

Hi roguh,
thanks for your feature request. In my opinion it's a useful enhancement and I will add it as soon as I get some spare time. It was not yet planned (simply because it was not needed yet) but it should not be too difficult to implement. Feel free to add a PR yourself if you want. Otherwise you might need to wait a week or two.
If you have some concrete ideas about how root validators should be documented, feel free to share them here. In fact, there is mainly the validator name, doc string, and optional parameters. Additionally, there should be a distinction being made between field and root validators in the documentation. Perhaps root validators should get a custom prefix like root validator.

@roguh I added support for @root_validator. Here is an example of how they are represented along with standard validators validating all fields @validator("*"): documentation preview.
Essentially, root validators are pretty much the same as standard validators which validate all fields. Hence, they are treated the identically within the sphinx documentation. I don't think there is additional value distinguishing them in the documentation (in contrast to what I've had in mind before).
Please feel free to comment.

@roguh I'm closing this issue for now with the current release v1.3.1. Feel free to reopen if you have any additional comments. Cheers.

Thank you so much!


update abuse contact finder to API v2.1

Abuse contact finder has been upgraded/replaced by RIPE with version 2.1

Coverage: 100.0%. Remained the same when pulling 6205b4399fcbc9bd4b66299fae080b7ffea623de on jvoss/abuse_contact_finder_v2.1 into 3d456523740ba2b5040dfb567b2492ba30fcdb3d on master.


Block with assignment with no command

% tests/generate.zsh '{ a=42 }' main block-assignment-no-command
Set copyright year to 2022? y
BUFFER=$'{ a=42 }'

expected_region_highlight=(
  '1 1 reserved-word' # {
  '3 6 assign' # a=42
  '5 6 default' # 42
  '8 8 unknown-token' # }
)

That's a valid command so the final } should be a reserved-word.

Test added.

[ ]

[ ] @danielshahaf


Add test case for AbstractWasmDiscoveryHandler

#5427

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.74%. Comparing base (05d3bf0) to head (757676a).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5453      +/-   ##
============================================
- Coverage     60.98%   60.74%   -0.25%
+ Complexity     8624     8618       -6
============================================
  Files          1259     1263       +4
  Lines         38432    38542     +110
  Branches       3679     3676       -3
============================================
- Hits          23439    23412      -27
- Misses        12877    13011     +134
- Partials       2116     2119       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

why decrease the Coverage?

why decrease the Coverage?

I'll take a look

Does this pr look good to you @loongs-zhang?

Does this pr look good to you @loongs-zhang?

Duplicate of https://github.com/apache/shenyu/pull/5451#issuecomment-1962961971

Does this pr look good to you @loongs-zhang?

Duplicate of https://github.com/apache/shenyu/pull/5451#issuecomment-1962961971

Sorry but I didn't understand is there something wrong with the Java part?

Does this pr look good to you @loongs-zhang?

Duplicate of https://github.com/apache/shenyu/pull/5451#issuecomment-1962961971

Sorry but I didn't understand is there something wrong with the Java part?

I already have made the changes according to comment you just mentioned if you're talking about that?

Incorrect java test.

Does the changes look good ? @loongs-zhang


(docs):created documentation for InstantSearch

Related issue

Summary

Screenshots

Checklist

[ ] I've read and understood contributing guidelines;
[ ] If changing UI, I've tested on most common viewports, desktop and mobile devices;

A picture of a cute animal

Pode colocar os exemplos. Estou fazendo a documentação do Bootstrap


Catch and re-throw w/ CustomError if ErrorABI match detected

Overview
If an error with a contract is encoded using Solidity's custom error feature, currently ape displays this message:
ERROR: (ContractLogicError) custom error e0b4aa5a:00000000000000000000000000000000…00000000000000000000000000030931 (64 bytes)

This is not enough to actually be able to decode into a CustomError object (available from ContractInstance._errors_)
Further, if the data is available, there is not an easy way to decode that exception from bytes back into the custom error type
Specification
Add method to catch a contract logic error and instead generate a CustomError type that gets re-thrown
Dependencies
This may impact/simplify the custom error reverts checking logic that the testing-only reverts manager employs

We should be doing this alredady. What provider are you using?

@wavey0x or @fp-crypto had this issue I think

@wavey0x or @fp-crypto had this issue I think

I try to repro tomorrow with providers i know they use but otherwise that is the most desired info I need as each provider shows the hex different and we have to make sure we are passing expected-styles to compiler.enrich_error for it to work, lots of players in this game!

I have tried on:

foundry
eth tester
geth (dev)
hardhat

using solidity v0.8.24... and I am getting custom errors just fine.
more info please :))) Ill keep trying to repro.

here we encode WRAP_ETH(dev, 1 ether). the first one should work, the second should fail with InsufficientETH().
from ape import Contract, accounts

def main():
    universal_router = Contract('0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD')
    dev = accounts.test_accounts[0]
    for value in [10**18, 0]:
        receipt = universal_router.execute('0x0b', ['0x000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000000000000000000000000000000de0b6b3a7640000'], sender=dev, value=value)
        receipt.show_trace()

ape run bug --network :mainnet-fork


Fix loneop spawnrate by reverting it to not use the shuttle event system.

About the PR
Reverts the LoneOp midround antag to use the old events system instead of the new shuttle one, since the shuttle event system means loneops are INCREDIBLY rare.
Also, I moved the instigator to the hostile table since it is NOT a friendly shuttle.
Why / Balance
I can understand this rarity for for example an instigator shuttle or other niche antag shuttles, but not for loneops which are key antags the game has. So they should now follow their previous rarity and conditions, alongside no longer being limited to a maximum of 2.
If we want to tweak those numbers later on in another PR, thats fine, but since it was essentially a stealth effect of #24490, I believe it should be reverted and possibly later looked at in more detail.
Technical details
Just reverted it to the old system.
Media
Unneccesary
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Changelog
:cl: BramvanZijp

fix: Fixed the Lone Nuclear Operative mid-round antagonist being extremely rare.

Good PR, after this I believe the stranded shuttle events need to be grouped into their own subcategory because right now they're hilariously overpowering all other rolls due to the sheer number of them. Might be good to look at later.

Good PR, after this I believe the stranded shuttle events need to be grouped into their own subcategory because right now they're hilariously overpowering all other rolls due to the sheer number of them. Might be good to look at later.

I think they have their own scheduler.

Now we hope this gets merged before the next stable merge cause I wanna be able to play loneop again.

Now we hope this gets merged before the next stable merge cause I wanna be able to play loneop again.

We can only hope

So this definitely lags the server but with that being said this is probably the highest size that's tolerable to spawn in a single tick, dropping a couple. Any changes to the striker should definitely be blocked at the very least.

is it not possible to load the ship async at all

is it not possible to load the ship async at all

No.
The other shuttle events pre-load them (though this is also becoming a problem of spamming dozens of ships) and all the other grid-loading code uses cpujob.

like would it not be possible to have a separate ecs world load it on another thread then sync merge them or would that be too fucked


Rename library to Pulkovo 4?

:D

@artem-zinnatullin thanks for idea, probably artifact version will help us with it :)


Very slow download speeds on 10Gbps server

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.22. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2018.02.22

 ~/pip/bin/pip install -U youtube-dl
Requirement already up-to-date: youtube-dl in ./pip/lib/python3.5/site-packages
[zeus ~] youtube-dl --version
2018.02.03

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: ['-o', '~/private/youtube/%(uploader)s/%(title)s_%(id)s.%(ext)s', '-w', '--audio-quality', '0']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://youtu.be/n9eZ00bRCGA']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.02.03
[debug] Python version 3.5.0 (CPython) - Linux-4.14.11-feral-x86_64-with-debian-8.10
[debug] exe versions: avconv 11.11-6, avprobe 11.11-6, ffmpeg 3.2.4-static, ffprobe 3.2.4-static
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
When downloading starts off, it shows a high speed, like 50 - 200MB/s, then after a few seconds it drops to a few hundred KB/s.  I am running youtube dl on a debian server hosted by Feralhosting.  I installed it with pip.

Why can't I get the latest version then?

Complain to Debian maintainers or install youtube-dl as instructed in Readme.md.

@Hrxn I did install it as instructed in the readme

But you version is outdated..

[debug] youtube-dl version 2018.02.03

And this is not caused by pip itself. I use the pip package as well...

@Hrxn then why won't it update to the latest version with pip?

How should we know? Maybe ask you hoster if they are running some local cache or proxy or something..
You can check the package version on the pip website itself, it's the correct one.

  1 location(s) to search for versions of 2018.2.22:
  * https://pypi.python.org/simple/2018-2-22/
  Getting page https://pypi.python.org/simple/2018-2-22/
  "GET /simple/2018-2-22/ HTTP/1.1" 404 38
  Could not fetch URL https://pypi.python.org/simple/2018-2-22/: 404 Client Error: Not Found (2018-2-22 does not exist) for url: https://pypi.python.org/simple/2018-2-22/ - skipping

Strange.  If I do pip search youtube-dl it shows the latest version.  But any attempt to download that version doesn't work, so maybe there's a problem with it on there.

I've tried a whole bunch of things.  This is quite strange.
Requirement already up-to-date: youtube_dl==2018.2.22 in ./pip/lib/python3.5/site-packages
[zeus ~] ~/pip/bin/pip install --upgrade youtube-dl==2018.2.22
Requirement already up-to-date: youtube-dl==2018.2.22 in ./pip/lib/python3.5/site-packages
[zeus ~] ~/pip/bin/pip install --upgrade youtube-dl
Requirement already up-to-date: youtube-dl in ./pip/lib/python3.5/site-packages
[zeus ~] ~/pip/bin/pip install youtube-dl -U
Requirement already up-to-date: youtube-dl in ./pip/lib/python3.5/site-packages
[zeus ~] youtube-dl --version
2018.02.03
[zeus ~] ~/pip/bin/pip install youtube-dl==2018.2.22
Requirement already satisfied: youtube-dl==2018.2.22 in ./pip/lib/python3.5/site-packages```

Aaaaaah
[zeus ~] ~/pip/bin/pip install --no-cache-dir youtube-dl==2018.2.22
Collecting youtube-dl==2018.2.22
  Downloading youtube_dl-2018.2.22-py2.py3-none-any.whl (1.7MB)
    100% |████████████████████████████████| 1.7MB 15.6MB/s
Installing collected packages: youtube-dl
  Found existing installation: youtube-dl 2018.2.3
    Not uninstalling youtube-dl at /media/sdh1/home/qwertyspace/python/python3/lib/python3.5/site-packages, outside environment /media/sdh1/home/qwertyspace/pip
Successfully installed youtube-dl-2018.2.22
[zeus ~] youtube-dl --version
2018.02.03


Fix typo on attribute target

Resolves: #16
Can you check my PR? please :pray:

good notice @luixlacrux . thanks for pointing it out.


Add getter for path field in NestedQueryBuilder

Is your feature request related to a problem? Please describe.
The only way now to get path from NestedQueryBuilder is a reflection

@psmagin thanks for opening up the issue. Trying to understand, what is the use case of using path?
Also on a side note, could you contribute the change? (It should be pretty straight forward)[1]
[1] https://github.com/opensearch-project/OpenSearch/blob/main/server/src/main/java/org/opensearch/index/query/NestedQueryBuilder.java

@saratvemulapalli, it could be useful for creating some complicated queries, the path could be used as a key field to combine nested queries in one.


Mechanism for inheritable render layers

What problem does this solve or what need does it fill?
Currently render layers only affect the entity that they are attached to, not their descendants. This is problematic for a number of reasons: for example, if I load a GLTF scene and spawn a SceneBundle, I can add a render layer to the bundle, but it has no effect on the models contained within the scene. While I can manually iterate through the scene bundle and add RenderLayers components, this doesn't help if I have multiple instances of the scene which need to appear in different layers.
What solution would you like?
Because inheritance requires additional calculation, I propose adding a new optional component (or perhaps a new property on RenderLayers) which would cause the layer settings to apply to all descendants, except for descendants which explicitly had their own layer settings. This would operation much like the existing visibility calculations, and probably could be performed in the same tree traversal.
What alternative(s) have you considered?
At the moment I'm manually iterating over descendants and adding render layers, but this adds a lot of extra complexity.

Hopefully this will be solved by #12502 .

In the meantime here's an observer that applies RenderLayers to children on SceneInstanceReady:
use bevy::prelude::*;
use bevy::render::view::RenderLayers;
use bevy::scene::SceneInstanceReady;

/// Currently [`RenderLayers`] are not applied to children of a scene.
/// This [`SceneInstanceReady`] observer applies the [`RenderLayers`]
/// of a [`SceneRoot`] to all children with a [`Transform`].
pub fn apply_render_layers_to_children(
  trigger: Trigger<SceneInstanceReady>,
  mut commands: Commands,
  children: Query<&Children>,
  transforms: Query<&Transform>,
  query: Query<(Entity, &RenderLayers)>,
) {
  let Ok((parent, render_layers)) = query.get(trigger.entity()) else {
    return;
  };
  children.iter_descendants(parent).for_each(|entity| {
    if transforms.contains(entity) {
      commands.entity(entity).insert(render_layers.clone());
    }
  });
}

Usage:

// apply globally
app.add_observer(apply_render_layers_to_children);

// or just per entity
let scene = asset_server.load(GltfAssetLabel::Scene(0).from_asset("models/animated/Fox.glb"));
commands.spawn(SceneRoot(scene))
  .observe(apply_render_layers_to_children);

@mrchantey Thanks for that snippet, it was really helpful. I didn't know about SceneInstanceReady, the implementation I was going for was much uglier.
One small suggestion is to despawn the observer at the end of apply_render_layers_to_children, since it won't be used again:
commands.entity(trigger.observer()).despawn();


File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/composer.py", line 127, in compose_mapping_node
    while not self.check_event(MappingEndEvent):
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key
    if self.check_token(KeyToken):
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/scanner.py", line 116, in check_token
    self.fetch_more_tokens()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/scanner.py", line 173, in fetch_more_tokens
    return self.fetch_stream_end()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/scanner.py", line 377, in fetch_stream_end
    self.remove_possible_simple_key()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/yaml/scanner.py", line 319, in remove_possible_simple_key
    "could not find expected ':'", self.get_mark())
yaml.scanner.ScannerError: while scanning a simple key
  in "<unicode string>", line 5, column 3:
      <gs:my-bucket/my-analysis.json>
      ^
could not find expected ':'
  in "<unicode string>", line 5, column 34:
      <gs:my-bucket/my-analysis.json>
                                     ^
2021-02-08 02:07:43,924 autosynth [ERROR] > Synthesis failed
2021-02-08 02:07:43,925 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at dfbd75c feat(samples): add samples for analyzeIamPolicy and analyzeIamPolicyLongrunning (#433)
2021-02-08 02:07:43,935 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-02-08 02:07:43,944 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Fixed in #452


ScoreInstanceBoost example uses invalid number

The instance score boost threshold must be between 0-1, but the example uses 1.5

@tbillington FYI: The example is in the README.

Fixed in https://github.com/sajari/sajari-sdk-react/commit/b81695863f88617fce770cfd05e2ac1de6e3d438.


Test https://github.com/NixOS/nixpkgs/pull/176681

Test https://github.com/NixOS/nixpkgs/pull/176681

Updated to https://github.com/NixOS/nixpkgs/pull/176696 which subsumes https://github.com/NixOS/nixpkgs/pull/176681


update instructions

Description
update instructions
Checklist

[X] I have tested my changes locally and they work as expected.
[X] I have updated the documentation, if applicable.
[ ] I have added appropriate tests, if applicable.
[ ] I have run the linter and fixed any issues, if applicable.

please create PRs against the dev branch


The hovered playlist title is the same colour as the hover background

Preview of issue:

My config if it matters:

Thanks in advance 👍

Hi there :wave:
This was an issue before, that should be fixed with https://github.com/catppuccin/spicetify/pull/23 from 13 hours ago. Are you using the latest version of the repo?

Ah, sorry for not checking first. I'll give it a try

Perfect, works fine now. Cheers!


Character Controller

Move for fun!
Capabilities
Inhabitable Class
Modular nodes with scripts. Scene tab nodes.
Third Person Character Controller

[x] Wall and floor collision.
[ ] Angle slides and friction.
[x] Jump.
[x] Gravity.
[x] Leaning.
[x] Triggers.
[ ] Moving platforms
[ ] Laser pointer and decals.
[ ] Network sync.

Transferring issue to new repo.


Support negative pattern matches

It would be useful to ask Juggle to exclude certain class or method names from results by specifying a name pattern that must not be matched.
Since there's no way to express negative matches directly within a pattern, it needs to be an operator outside the pattern itself. To align with inversion of modifiers (#69), we'll use a ! prefix on the pattern:
$ juggle '!/Object/'

Have mostly implemented this now, but one interesting quirk has cropped up. Juggle currently tests member name patterns against both the simple member name, and the canonical name (prefixed with package and class). A match is found when either of the two matches succeed.
What should be the behaviour be for negative patterns?


Implement verify_email_address method in ses

While the send_email method in ses is mocked by moto, responses come back with:
botocore.errorfactory.MessageRejected: An error occurred (MessageRejected) when calling the SendEmail operation: Email address not verified
When attempting to use the verify_email_address method to fix this issue, a NotImplementedError gets raised:
moto/core/responses.py:193: NotImplementedError
This makes it very difficult to test the core functionality of ses using moto.

Noted. Pull requests are very much welcome if anyone has time.

Pretty sure this works now, its in the codebase. @JackDanger close please


[C++] Clean interruption of a Acero plan with use_threads=false

Describe the enhancement requested
In internal experiments, we observed that an Acero plan with use_threads=false may not fully respond to an interruption. In this case, even though the signal is handled, the source nodes continue to push batches until done. Part of this issue is to devise testing for this condition.
Component(s)
C++

take


Example code missing referenced DLL(s)

The example code provided uses "Microsoft.IdentityManagement.PhoneServiceProvider" but it does not include which DLL needs to referenced to get this to work.

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

ID: 2c119cf2-34be-b124-c0fa-755adcad7f4b
Version Independent ID: 38e64dab-4233-dbad-3cb5-8445496572b6
Content: Use an MFA provider via an API to activate PAM or in SSPR scenario
Content Source: MIMDocs/working-with-custommfaserver-for-mim.md
Product: microsoft-identity-manager
GitHub Login: @billmath
Microsoft Alias: billmath

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


Harmony(Dot): color API

PR includes

[x] Feature

Related issues

Resolve #830
Related issues https://github.com/taskany-inc/issues/issues/2235
QA Instructions, Screenshots, Recordings

/canary

/canary

/canary


fixes store of handles; closes thegecko/bleat#6

modifies stored handle for bleat.(Service|Characteristic) to be the un-expandUUID'd (service|characteristic)Info.uuid.

Yup, copy/paste error!
Thanks for the PR


Mouse cursor jumps back when moving between monitors

When using /multimon the cursor is jumping back when I move between the two RDP monitors. This isn't happening between my physical monitors (as can be seen in the imgur videos), so I believe it is related to freerdp and not my desktop.
I am using i3-gaps on Debian bullseye. Nouveau driver
I have tried -mouse-motion which allows me to jump between monitors without this issue, but causes other problems due to disabling the mouse motion
To Reproduce
Move cursor between two screens and it jumps back
Screenshots
https://imgur.com/a/IOJ0roi
Two short videos can be seen here. Video 1 shows the xfreerdp window not in line with the physical monitors, video 2 shows when they are in line. Same behaviour
FreeRDP 2.2.0
/gfx:rfx -grab-keyboard /monitors:0,2 /multimon

Output of xfreerdp /buildconfig - its the debian bullseye apt install

OS: Linux 5.10
Version/Distribution: Debian bullseye
Architecture: amd64

I can confirm that this behaviour is still present on the nightly compile

Not a bug, this is normal behavior for (I assume you´re using excel in this spreadsheet example?)
What is happening is that the remote application is repositioning the pointer when crossing the scroll area
(xf_Pointer_SetPosition does execute that remote command locally)
You will not see that with a plain desktop or e.g. notepad, correct?

Not a bug, this is normal behavior for (I assume you´re using excel in this spreadsheet example?)
What is happening is that the remote application is repositioning the pointer when crossing the scroll area
(xf_Pointer_SetPosition does execute that remote command locally)
You will not see that with a plain desktop or e.g. notepad, correct?

It happens without any application there at all, so I dont believe that excel is doing it.
I have also noticed that when moving the cursor onto the edge of the xfreerdp window, it places it to the far left of the current rdp monitor (see video 1 on this example)
video 2 shows the same behaviour without any application
https://imgur.com/a/tNxXewQ

@vatec ok, so can you tell if the function I referenced has been called? That is the only place freerdp manipulates the mouse pointer, otherwise you should check your window manager/extension/whatever of your local desktop.

@vatec ok, so can you tell if the function I referenced has been called? That is the only place freerdp manipulates the mouse pointer, otherwise you should check your window manager/extension/whatever of your local desktop.

Yes the function is being called, looks like this with /log-level:trace | grep xf_Pointer_SetPosition
[09:10:55:874] [129552:129554] [TRACE][com.freerdp.client.x11] - xf_unlock_x11_:	[0] from xf_Pointer_SetPosition [09:11:06:979] [129552:129554] [TRACE][com.freerdp.client.x11] - xf_lock_x11_:	[1] from xf_Pointer_SetPosition

@vatec ok, good. so you need to check why your remote os wants the mouse to appear where it appears.
Just to be sure, if you use a build with this function disabled, does the jumping stop?

Sorry how can I build with this disabled? Is there a build flag I need to set?
Is the function being called by the windows PC the remote desktop is being connected to? And freerdp is just doing what the windows says?

After some investigation i have determined that this issue is related to Windows rather than freerdp
https://superuser.com/questions/1580192/mouse-automatically-reverts-back-to-center-of-my-dual-display-when-i-navigate-fr


CI Pipeline not working

Hi,
I created a test PR (https://github.com/microsoft/spring-data-cosmosdb/pull/387) to see if the CI pipeline was working.  The tests are failing (https://travis-ci.org/microsoft/spring-data-cosmosdb/jobs/558000802) with the following error The input authorization token can't serve the request. Please check that the expected payload is built as per the protocol, and check the key being used. Server used the following payload to sign: 'get colls dbs/testdb-1/colls/PartitionPerson fri, 12 jul 2019 19:40:34 gmt ' ActivityId: 0d54cea0-5fdd-4af2-aed9-d960b19102ca, Microsoft.Azure.Documents.Common/<IP_ADDRESS>, StatusCode: Unauthorized
Looks like it can not connect to Cosmos.
Is there something we can do to help y'all get the pipeline working?
Thanks,
Alana

Thanks for issue this, will investigate soon.

@saragluna could we double confirm that CI is fixed? If so, let's close this issue.
Thanks!

CI's been fixed, close this issue.


Remove rsync dependency

The rsync dependency (which we use to build the static assets for the webview) causes significant trouble for Windows users. We frequently get support requests from users who have not correctly installed rsync and are confused about why the project fails to build.
We're not doing anything super special with it:
    rsync -aR --no-D --delete --delete-excluded \
          "${src}/./" "${_dest}/." \
          --filter='. -'

So it probably make sense to just replace that command with something else (likely from coreutils) that does a similar thing.

Chat discussion: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/Execution.20failed.20for.20task.20'.3Aapp.3AbuildStaticWebviewAssets'.2E/near/1246053

@zulipbot claim


Do not default to mouse position selection when intellisense or dropdowns are spawned by keyboard actions

When the intellisense menu spawns it will normally select the first item. That is my expectation and I sometimes press Tab to accept the first option without even waiting to read it because I know it'll pick the right thing.
However if menu happens to spawn under the mouse cursor the item that the mouse is over will be selected instead of the first item. Because I don't wait to see what is selected the result is unexpectedly triggering functionality, that requires an undo, and moving the mouse cursor out of the way before I can continue coding.
The feature I'd like to see is one of the following:

A) Do not allow the intellisense menu to spawn under a mouse cursor.
B) Add an option to hide the mouse cursor while typing (which should treat it as if the mouse is off-screen and not make it possible to select anything with it).
C) When intellisense is triggered by a keyboard press, do not allow the initial mouse position to select an item until the mouse is moved.

Love VS Code. You guys rock.

Maybe a duplicate of #110594

@gjsjohnmurray Yes it is! Sorry about that. I didn't think of it as a bug so when I searched "features" and didn't see it I figured it wasn't tracked anywhere. Feel free to close this, I'll follow along on that task.

/duplicate


Fix Mixtral ttnn.eq dtype

Due to recent changes to typecast and eltwise operators we saw a major regression on Mixtral MoE.
Specifically the issue started on commit 219c9e5d61852e6b61966165c98779c002ddd755
More information on typecast work can be followed in issue #4858
Mixtral MoE is currently using ttnn.eq() op to compare the expert indices. Thus its inputs are uint16.
After that, the mask is multiplied by the softmax, which seems to convert incorrectly to bfloat16 leading to bad output.
The solution is to specify ttnn.eq() output to bfloat16 which will result in the correct mask in the correct dtype for multiplication later.

Running all t3k pipelines:

https://github.com/tenstorrent/tt-metal/actions/runs/9420323677
https://github.com/tenstorrent/tt-metal/actions/runs/9420324626
https://github.com/tenstorrent/tt-metal/actions/runs/9420327003
https://github.com/tenstorrent/tt-metal/actions/runs/9420328106


[NETBEANS-404] Adjust Javadoc font size to editor's zoom level, and avoid all-monospace font

Any reason not to merge this?

I'm a bit mixed. I had a quick view through the codebase. The default style of the HTMLEditorKit is changed/potentially changed at a lot of places:

autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/PanelBodyContainer.java
autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/DetailsPanel.java
code.analysis/src/org/netbeans/modules/analysis/ui/AnalysisResultTopComponent.java
editor.completion/src/org/netbeans/modules/editor/completion/HTMLDocView.java
java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/BrokenPlatformCustomizer.java
java.navigation/src/org/netbeans/modules/java/navigation/HTMLDocView.java
openide.dialogs/src/org/openide/WizardDescriptor.java
openide.explorer/src/org/openide/explorer/propertysheet/DescriptionComponent.java
openide.loaders/src/org/openide/loaders/TemplateWizard1.java
projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java

all these try to modify the base stylesheet of the HTMLEditorKit, which used for all HTMLEditorKits. Othere places modify the stylesheet of a single document and not for the whole kit:

subversion/src/org/netbeans/modules/subversion/util/NotifyHtmlPanel.java
subversion/src/org/netbeans/modules/subversion/options/SvnOptionsPanel.java
subversion/src/org/netbeans/modules/subversion/client/MissingClientPanel.java
openide.awt/src/org/openide/awt/SwingBrowserImpl.java

They either just set base styles of add a filtering layer (SwingBrowserImpl).
My take on this: If we want to change the base styles of the HTMLEditorKit, this should be done by one module and I think the org.netbeans.swing.plaf (Look & Feel Customization Library) would be the correct place for that. That way we won't get race-conditions for the customizations. If a module needs an individual styling, the stylesheet can be changed on the document level.
@eirikbakke would you be willing to have a closer look at this? I know that I just turned a small problem into a discussion point, but I think bringing it up is the best option.
If a local option is desired, I would check if the stylesheet of the single document that is used, is reset in HTMLDocView#setContent. If the stylesheet stays, I think it would be good to change the document stylesheet. If it is reset, it is IMHO worth checking whether resetting the stylesheet each time is an option.

Matthias, let me see if I can manage to understand your comment. Am I correct that this is an objection to the existing use of  "css.addStyleSheet(htmlKit.getStyleSheet())" that is currently present in HTMLDocView.setBodyFontInCSS?
Is there globally shared state here that that I am not aware of? It seems the HTMLEditorKit instance that is modified in "css.addStyleSheet(htmlKit.getStyleSheet())" in HTMLDocView belongs to that HTMLDocView instance only. But there's a comment in HTMLDocView saying "the style sheet is shared by all HTMLEditorKits". Is that the problem here?
Also note that the stylesheet change here is context-sensitive--depending on which editor the documentation popup is opened for, the font size may be different. Should the tweak still, in your opinion, be located in org.netbeans.swing.plaf ?
I probably do not have enough familiarity with the related code to do a large refactoring here.

I created https://issues.apache.org/jira/browse/NETBEANS-619 and will merge your change. Thank you for looking into this.

Thank you!!


Increase allocation limit for longrun zalesak job

This PR increases the allocation limit for the longrun zalesak job, which seems to be needed based on the 137 error in the last build

I think this run is just unstable. I wouldn't worry too much about it.


use MarkupContent feature for autocomplete

We noticed that autocomplete information isn't rendered as markdown, but LSP added a new MarkupContent feature which we can return from LSP to get it to be rendered as markdown (similar to hover).

This would be awesome to fix!


Stackoverflow Tag

I have just been asking a question on Stack Overflow regarding the integration of vanilla-extract into MUI.
While doing so, I was surprised to find that I was the first one using the vanilla-extract tag.
Did I use the wrong tag? Don't you intend to use SO as a point for answering questions? Or was I just really the first one having a general question about vanilla-extract (one that's not really a but, and therefore might not be a good fit for the issues section)?

We're not actively watching Stack Overflow for questions. Our primary places for support are Github discussions and discord.


DDGS how to set max_result like ddg()

I wonder know DDGS().text() how to set max_results like ddg()
If I use ddg()，I can do as follows.
results = ddg("my query", max_result=5)

But I found DDGS might lose that ability. It can not use max_result parameter. Will max_result be provided for DDGS in the future?

Having the same issue

The generator doesn't aggregate the data, it yields one at a time.
That is, if I add this parameter again, it will just be a counter that will stop the generator when it gives the right number of results.

I migrated our code to new DDGS.text func and use islice to limit the max result for backward comp. In case any interest, please see https://github.com/Significant-Gravitas/Auto-GPT/pull/4383/files.

I migrated our code to new DDGS.text func and use islice to limit the max result for backward comp. In case any interest, please see https://github.com/Significant-Gravitas/Auto-GPT/pull/4383/files.

A good solution！


Update UX for Bootstraping nextAsset liquidity

Problem
Update this message from:

To:

Notes:

Only show this Error where price impact is positive and the pool is overweighted
'GET nextUSDC' links to the bridge link
https://testnet-staging.bridge.connext.network/ETH-from-goerli-to-optimism?receive_next=true
We hide the 'Bridge' tab from the user in the header of the site (this is temporary during liquidity bootstrapping)

please unhide the bridge (#3) - well need to consider this UX more


No 'version' key in the manifest file for custom integration 'ssh'.

Logger: homeassistant.loader
Source: loader.py:802
First occurred: March 4, 2021, 8:49:51 PM (2 occurrences)
Last logged: March 4, 2021, 8:49:52 PM
No 'version' key in the manifest file for custom integration 'ssh'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'ssh'
Looks like we need a version key in the manifest file to allow this component to work going forward.

see
https://www.home-assistant.io/blog/2021/03/03/release-20213/#breaking-changes

+1 - please and thanks!  👍

Is it possible to fix this soon? 2021.6 has just been released, so if I upgrade I can't use the component any more.

ssh add-on stopped to work when upgraded to 2021.6.0 version today.

As a temporary fix, you can add a version attribute to the /custom_components/ssh/manifest.json file

@larserhardsen thanks for th information.
Sorry, I'm not skilled in json files.
What text I need to add to the manifest.json file?
Could you show an example?

You can copy my file in the PR from here: https://github.com/jheizer/sensor.ssh/blob/patch-1/custom_components/ssh/manifest.json

@jheizer It still not working for me.
Copied the tree files to the /custom_components/ssh/ directory, rebooted the HA and it still failing to load.

What error are you getting in the log?  I just fresh copied it into my environment and restarted and it loaded up fine still.

Thanks for the hint!
Found many errors in the manifest.json file.
The corrected one is:

{
"domain": "ssh",
"name": "ssh sensor",
"documentation": "https://github.com/custom-components/sensor.ssh",
"requirements": ["pexpect==4.6.0"],
"dependencies": [],
"codeowners": ["@jchasey"],
"version": "0.1.3"
}


Feat: Workflow for closing Old PRs

Describe the feature
This feature aims to automate the management of open PRs in a repository, ensuring that outdated or abandoned PRs are closed in a timely manner. By doing so, it helps maintain repository hygiene, improves workflow efficiency, and provides a better experience for both maintainers and contributors.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Sayak-Bhunia please assign me this issue

assigned.


Re-enable VT mode on Windows after running command in ConsoleHost

PR Summary
On Windows, some popular native commands (like those shipped with Git) will disable console VT mode and doesn't set it back upon execution.  When the prompt comes back, you see escape sequence characters instead of rendered text.  Fix is to check if VT mode was previously enabled and try turning it back on.
PR Context
Fix https://github.com/PowerShell/PowerShell/issues/14360
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

Any chance this could get a review from someone with write access? This one line change has been waiting for review for a few months now.


docs: Fixed FriendshipType enum typo

I'm submitting a...
[ ] Bug Fix
[ ] Feature
[x] Other (Documentation fixing)

Checklist

[x] Commit Messages follow the Conventional Commits pattern

A feature commit message is prefixed "feat:"
A bugfix commit message is prefixed "fix:"

[x] Tests for the changes have been added

Description
According the code: https://github.com/Chatie/wechaty-puppet/blob/master/src/schemas/friendship.ts#L1
Those enum should be lowercase.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Thanks!


Moves seccomp to separate package

Also fixes static analysis check for ucred package.

lxd/container_lxc.go:37:2: build constraints exclude all Go files in /Users/travis/gopath/src/github.com/lxc/lxd/lxd/seccomp

@stgraber where did you see that error? There is also a spelling error causing tests to fail "lxd/seccomp/seccomp.go:606:23: "recieves" is a misspelling of "receives""

@stgraber I see it, its in the appveyor build on windows.

@stgraber I've added an empty file to the seccomp package without any build tags so there is at least one candidate file that can "compile" on non-linux systems. This is passing the AppVeyor tests now, but I am confused & concerned how the build is succeeding given that functions that LXD relies on are missing in windows builds (this must've been the case before anyhow, I'd like to understand how that works).

@stgraber it looks like appveyor is only testing builds for lxc and client packages, but looks like go get ./... was failing on getting files for seccomp?

Testsuite passed


Add new federated learning method: average the gradients instead of averaging the weights

This method is called (on wikipedia), Federated Stochastic Gradient Descent (FedSGD).
I guess this is the same as the Large Batch method described here by the Edigfy company.

I've just noticed that averaging the gradient is in fact equivalent to averaging the weights. So I wonders if implementing this approach is really worth it. What do you think?

The FedAvg paper provides some comparison between FedAvg and FedSgd

Ok so the FedAvg method is better.

@arthurPignet to make the link with what you started working on today

See also #173 which was marked duplicate, but contains interesting comments

I made two implementations on the library of what I denote gradfusion.
It appears that this technique showns two main advantages on fedavg.
As we are using aggregating the gradients, at the end we use only one optimizer, so we can use state of the art optimizer, which is not the case when using fedavg. It dramatically improve the convergence of the model through the epochs.
Secondly, we are not using get/set_weights methods, so the model is only modified by the optimizer. It increases the speed of training, and allow the use of tf function for a whole epoch. It makes possible an implementation which is equivalent in term of speed with the keras' .fit() method.
The drawback is that the gradient_pass_per_update_count is currently fixed to one. So it increases the number of communication required between server and partners.
One could think of an hybrid method, where several pass_per_update_count can be done locally, and the gradients coming from these updates are summed, and the result sent to the server. I don't know how the optimizer server will react to these summed-over-local-batch gradients.

I made two implementations on the library of what I denote gradfusion.
It appears that this technique showns two main advantages on fedavg.
As we are using aggregating the gradients, at the end we use only one optimizer, so we can use state of the art optimizer, which is not the case when using fedavg. It dramatically improve the convergence of the model through the epochs.
Secondly, we are not using get/set_weights methods, so the model is only modified by the optimizer. It increases the speed of training, and allow the use of tf function for a whole epoch. It makes possible an implementation which is equivalent in term of speed with the keras' .fit() method.
The drawback is that the gradient_pass_per_update_count is currently fixed to one. So it increases the number of communication required between server and partners.
One could think of an hybrid method, where several pass_per_update_count can be done locally, and the gradients coming from these updates are summed, and the result sent to the server. I don't know how the optimizer server will react to these summed-over-local-batch gradients.


Mention this repo or the organization somewhere

It took me a while to find this repo. It would be great if a link to this repo or the organization could be added somewhere, maybe near the footer where facebook and twitter are already mentioned.

A GitHub link was added there in this commit: https://github.com/Libera-Chat/libera-chat.github.io/commit/42619656453eb4196c994f2525f8d89d1977d6db
I suppose this can be closed.


[FR] Allow bootstraping setuptools by running dependencies from source

What's the problem this feature will solve?
setuptools requires wheel to be installed to bootstrap itself, but wheel requires setuptools to build, preventing bootstrapping.
Even though setuptools now bootstraps itself via a PEP 517 builder, not everyone is able to do the same. Linux distributions, for example, need to bootstrap it from scratch.
Describe the solution you'd like
I would like an option, perhaps an environment variable, to skip the dependency checks, and to make the bdist_wheel command always available.
The easiest way to do this bootstrapping is to run everything from source, which trips up setuptools' dependency checks, and also as a consequence makes the bdist_wheel command unavailable.
Alternative Solutions
I have written https://github.com/FFY00/python-bootstrap to help with this task, but currently, I need to run setup.py egg_info on setuptools, copy that to the package directory, in order to trick setuptools to think it is installed, and then do the same for wheel, only after that I can actually build wheels for setuptools and wheel.
https://github.com/FFY00/python-bootstrap/blob/4004fda86bc82470b0ee1b564764f8ba9960b493/bootstrap/build.py#L43
https://github.com/FFY00/python-bootstrap/blob/bf68a5ff74706e348de1f3dddeaf51bc5f37a449/bootstrap/__init__.py#L109
See https://github.com/pypa/setuptools/issues/2088#issuecomment-950233014 for more details.
Ideally, setuptools would actually be able to bootstrap itself without any dependencies.
See https://github.com/takluyver/flit/tree/master/flit_core for example.
Additional context
No response
Code of Conduct

[X] I agree to follow the PSF Code of Conduct

Perhaps indeed wheel could be vendored through git submodules and then added to sdist but not installed or added to final wheel package. backend-path might allow setuptools to consume it while it is creating wheel of itself.

This is btw a huge problem until solved. It means setup.py install must be kept indefinitely for bootstrapping setuptools.

FWIW, it is possible to bootstrap setuptools and wheel without using setup.py install, although it is a bit hacky:

Unpack the setuptools and wheel sdists.
In the setuptools source directory, run PYTHONPATH=../wheel-x.y.z/src python setup.py bdist_wheel. Install the resulting wheel.
In the wheel source directory, run PYTHONPATH=src python setup.py bdist_wheel. Install the resulting wheel.


fix: [pl-31762]: update harness-go-sdk to 0.3.20

Describe your changes
Due to a fix in harness-go-sdk for https://harness.atlassian.net/browse/PL-31762
need to update version of this lib
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck

on which env have we run secret tests?

preQA.
env doesn't matter actually. it's client side fix


Add Gymnasium Wrapper

Lots of other frameworks seem to be switching to gymnasium. It'd be nice to also have a gymnasium wrapper in brax.

Hi @vyeevani, is this what you're looking for or something else?
https://github.com/google/brax/blob/16304037a36b1d9c8c0b3084f57d1159627b636b/brax/envs/wrappers/gym.py#L27

It’s that except using Gymnasium instead of Gym. The imports would change and also the returns are different for the step API. For example, you’d need to also return truncations (that you can get from the EpisodeWrapper). On Nov 10, 2023, at 10:06 AM, btaba @.***> wrote:
Hi @vyeevani, is this what you're looking for or something else?
https://github.com/google/brax/blob/16304037a36b1d9c8c0b3084f57d1159627b636b/brax/envs/wrappers/gym.py#L27
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

https://gymnasium.farama.org

It's a simple enough lift. It seems like OpenAI Gym isn't going to be maintained anymore with the aim of switching everyone over to Gymnasium.

Ok, yeah the APIs are subtly different. Feel free to open up a PR with brax/envs/wrappers/gymnasium.py


Fixing JDK-11 and HighlighterSearchIT::testPostingsHighlighter

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
Fixing JDK-11 and HighlighterSearchIT::testPostingsHighlighter
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

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.

@nknize for HighlighterSearchIT::testWithNestedQuery (and very likely all other), there is more profound issue. The problem is related to org.opensearch.index.cache.bitset,BitsetFilterCache
    private BitSet getAndLoadIfNotPresent(final Query query, final LeafReaderContext context) throws ExecutionException {
        final IndexReader.CacheHelper cacheHelper = context.reader().getCoreCacheHelper();
        if (cacheHelper == null) {
            throw new IllegalArgumentException("Reader " + context.reader() + " does not support caching");
        }
     ...
    }

The UnifiedHighlighter uses MemoryIndexOffsetStrategy with OverlaySingleDocTermsLeafReader as the  LeafReaderContext, and this guy has no caching support:
public class OverlaySingleDocTermsLeafReader extends FilterLeafReader {
 ...
  @Override
  public CacheHelper getCoreCacheHelper() {
    return null;
  }

  @Override
  public CacheHelper getReaderCacheHelper() {
    return null;
  }
}

I don't have solution for now, looking into it (if you have please feel free to share).


Static filter syntax for duckduckgo

If I'm interpreting ublock's Procedural filters right, static filters should be used instead (if possible).
For duckduckgo:
duckduckgo.com##[data-domain$="gitmemory.com"]

instead of
https://github.com/quenhus/uBlock-Origin-dev-filter/blob/9c5e535cb435bb8b5ec930f9a1f798e906aee945/dist/duckduckgo/github_copycats.txt#L14

I don't understand which part of the documentation your are referring to.
However, you're right, your example would optimize the filter, and I will use it from now on.

Resolved by ab4b095f8d0342f1f4876add78db2b621b64ed30


Deprecating isinstance(qr[0], tuple)

This PR deprecates the isinstance for a Bit when checked for a tuple. It is some sort of hack, however, many users are checking for isinstance(qr[0], tuple) and that is not supported after #2414
qr = QuantumRegister(4)

print(isinstance(qr[0], tuple)) # True
print(isinstance(qr[0], Qubit)) # True
print(type(qr[0])) # <class 'qiskit.circuit.quantumregister.Qubit'>

By overwriting __class__, we pretend to be a tuple when isinstance is called in a context that mentions tuple.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This has made Aqua run much slower. for example, test_amplitude_estimation used to finish within 2 minutes; now it would take more than 13 minutes.

I can confim that this is also the reason for the slow down observed in #2489


Flag middle comma SEF operands

Fixes #33646

@typescript-bot test this
@typescript-bot user test this

@RyanCavanaugh it looks like you were intending to simplify this PR. Do you want to try that or should I just close it since it's been quite a while?


MD-1247: change getSchema to protected to allow overriding it with a …

…dynamic approach to expand schema tree when needed, this is for DRILL-5089

+1


Does Not Produce True Centroid if Points Are Not Evenly Dispersed

If you had a polygon with thousands of points on the left side and only several on the right side, the center that gets calculated would not be in the actual center of the shape.
This is what I use to calculate a centroid that solves this problem:
function area(partArr) {
  var area = 0;
  var len = partArr.length;
  for (var i = 0, j = len - 1; i < len; j=i, i++) {
    var p1 = partArr[j];
    var p2 = partArr[i];

    area += p1.x * p2.y - p2.x * p1.y;
  }

  return area / 2;
}

/*
    NH TODO: We are indeed getting the centroid, but ideally we
    want to check if the centroid is actually within the polygon
    for the polygons that bend like a boomarang. If it is outside,
    we need to nudge it over until it is inside...
 */
function centroid(partArr) {
  var len = partArr.length;
  var x = 0;
  var y = 0;
  for (var i = 0, j = len - 1; i < len; j=i, i++) {
    var p1 = partArr[j];
    var p2 = partArr[i];
    var f = p1.x * p2.y - p2.x * p1.y;
    x += (p1.x + p2.x) * f;
    y += (p1.y + p2.y) * f;
  }
  f = area(partArr) * 6;
  return L.point(x/f, y/f);

}

http://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon

we also have turf-point-on-surface now, which guarantees the centroid will be on the polygon. There are hundreds of ways to calculate a centroid, so I think we will leave the rest of them to userland for now.


(Un)mount components less frequently in InformationBox

Closes https://github.com/elsa-data/elsa-data/issues/479

So when a job is running - it starts a 5 (10?) second timeout event - which then forces that status refresh. Can you take a quick look and see if the placement of that is problematic in a mount/unmount sense (I suspect it is unmounting the entire tree - when it probably can just unmount that status bar itself)
But if there is nothing obvious - happy for this is be put through at least as a slightly better ui

I guess one way instead of invalidating all queries here, we might just invalidate the running job only query, and then only invalidate all when running job is done?
  useEffect(() => {
    const interval = setInterval(async () => {
      if (releaseQuery?.data?.runningJob) {
        await utils.release.getSpecificRelease.invalidate();
      } else {
        await queryClient.invalidateQueries();
      }
    }, REFRESH_JOB_STATUS_MS);
    return () => {
      clearInterval(interval);
    };
  }, [releaseQuery?.data?.runningJob]);


Attention Layer

Having an Attention layer in the API like the Bidirectional Layer would be great. It is very difficult to create custom layers in Keras.

This has been widely discussed in #4962, check it out.

Implementing custom layers can be tricky. You can find an example implementation of the Attention Layer here: https://github.com/datalogue/keras-attention/blob/master/models/custom_recurrents.py

I've laid out a API Design suggestion for supporting recurrent attention in core keras: https://github.com/fchollet/keras/issues/7633
Please give feedback!

Bumping this.  There are many threads discussing attention and many disparate code examples on how to implement it Keras.  However, I think the spirit of this issue is to discuss merging an attention layer into the Keras API as a first class citizen, rather than something you can add yourself.


Add php installation requirements

What was missing in my case

php8.x-gmp
php8.x-xml

Did you install the library as a package with composer?

no I cloned the repo and run composer install.
php8.0
phpunit 9^

I am getting strange notice when running tests:
PHPUnit 9.6.4 by Sebastian Bergmann and contributors.

   Warning - The configuration file did not pass validation!
  The following problems have been detected:

  Line 2:
  - Element 'phpunit', attribute 'cacheDirectory': The attribute 'cacheDirectory' is not allowed.

  Test results may not be as expected.

Hmm interesting, I have PHPUnit 10.0.12 and PHP 8.1 locally.
Can't tell if that's the cause of the problem though.

Ok just saw that cacheDirectory is an attribute in phpunit10.Will switch to php8.1 and phpunit10.

PHPUnit 10.0.14 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.1.16
Configuration: ../nostr-php/phpunit.xml.dist

..                                                                  2 / 2 (100%)

Time: 00:00.004, Memory: 6.00 MB

Requirements:
PHP 8.1
phpunit 10^

Does phpunit require 8.1 ? If so, we only need to set a version in require-dev for phpunit
OTOH, php8.0 is already in security modus, so might not be a big problem to up that too.

phpunit10 requires php81 afaik

This should be good right?
diff --git a/composer.json b/composer.json
index eff07a3..5c9f31f 100644
--- a/composer.json
+++ b/composer.json
@@ -4,13 +4,14 @@
     "homepage": "https://github.com/swentel/nostr-php",
     "license": "GPL-2.0-or-later",
     "require": {
-        "php": ">=8.0",
+        "php": "^8.1",
         "ext-gmp": "*",
+        "ext-xml": "*",
         "public-square/phpecc": "^0.1.0",
         "bitwasp/bech32": "^0.0.1"
     },
     "require-dev": {
-        "phpunit/phpunit": "*"
+        "phpunit/phpunit": "^10"
     },
     "autoload": {
         "psr-4": {

tiptop

Alright, done!


Use unstable prefix for MSC3824

Codecov Report

Merging #251 (ca3e9d0) into main (9e3f43f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #251   +/-   ##
=======================================
  Coverage   21.92%   21.92%
=======================================
  Files         132      132
  Lines       10111    10111
=======================================
  Hits         2217     2217
  Misses       7894     7894

Impacted Files
Coverage Δ

crates/handlers/src/compat/login.rs
0.00% <ø> (ø)

Continue to review full report at Codecov.

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


Keyerror when trying to access device data

I just installed pyhomematic and tried to run the examples, i.e. the one at https://github.com/danielperna84/pyhomematic, but when I want to access one device I get an KeyError:
pyhomematic = HMConnection(local="<IP_ADDRESS>", localport=7080,
                           remote="<IP_ADDRESS>", remoteport=2010,
                           systemcallback=syscb)  # Create server thread

pyhomematic.devices['0010D8A990A3B7'].getValue("STATE")

pyhomematic.devices['0010D8A990A3B7'].getValue("STATE")
KeyError: '0010D8A990A3B7'

The address is correct as it is delivered by the script itself:
newDevices
pyhomematic-default
[{'TYPE': 'HmIP-STHO-A', 'SUBTYPE': 'STHO', 'ADDRESS': '0010D8A990A3B7', ....

Running Python 3.8 & 3.7 with the same result.
What do I wrong?

Have a closer look at the example. There's always a channel appended to the device address. :1 in the example. This is with using the devices_all attribute though. When using just the devices attribute the available methods you can use depend on how they are implemented for each device. Here it's the on method that's available for switches.
Which channels and parameters can be used is different for every device. For HmIP devices you can have a look at this documentation.
Please be aware, that pyhomematic is primarily intended for use with Home Assistant. So if you plan on using the module for personal projects, things might break for you unexpectedly.

Thanx for your hint regarding the channel.
def systemcallback(src, *args):
    print(f'-----------------\nFunction: {src}')
    for arg in args:
        print(f'Arg: {arg}')

try:
    pyhomematic = HMConnection(interface_id="myserver",
                               local="<IP_ADDRESS>",
                               localport=7080,
                               remotes={'hmrf': {'ip': '<IP_ADDRESS>',
                                                 'port': 2001},
                                        'hmip': {'ip': '<IP_ADDRESS>',
                                                 'port': 2010}},
                               autostart=True,
                               systemcallback=systemcallback)

except Exception:
    sys.exit(1)

DEVICE3 = 'LEQ0776011'

print(pyhomematic.devices_all[DEVICE3 + ':1'].getValue("STATE"))

This returns:
Function: listDevices
Arg: myserver-hmrf
Traceback (most recent call last):
  File "D:/pydev/source/home_control/demos/pyhomematic-test.py", line 30, in <module>
    print(pyhomematic.devices_all[DEVICE3 + ':1'].getValue("STATE"))
KeyError: 'LEQ0776011:1'

The message remains the same, including the channel number.
How to get this corrected?

Uhm, I think the example is outdated. Didn't notice that at first. Try pyhomematic["hmrf"].devices_all[DEVICE3 + ':1'].getValue("STATE"). The example is from the time where we didn't support multiple hosts. That's why it has to be included now.

When I set a breakpoint and inspect the dict I see that it looks like following
{'hmrf':
    'LEQ0776011':...

Means that there is no channel number in the nested dict.
When I then try:
print(pyhomematic.devices_all['hmrf'][DEVICE3].getValue("STATE"))

it fails if I just run it, it fails with the same KeyError, but:
time.sleep(1)
print(pyhomematic.devices_all['hmrf'][DEVICE3].getValue("STATE"))

returns a False (regardless if with or without a channel number. So does it require the massive use of sleep() and why does it return the same with or without channel?

It does require the sleep because depending on how many devices you have it can take a while to create all the device objects.
Apart from that I'll have to ask you to just have a look at the code to figure it out. I haven't used pyhomematic on that level in ages, so I'd have to lookup everything as well.
I recommend to do what the example does in an interactive shell. There you can use the dir function of python to inspect all the objects at runtime and try out different things without having to re-run the test-script all the time (which puts a lot of load on your CCU btw.).


Demo Branch Used for Testing //// DO NOT MERGE

Testing the full pipeline
Will close and open often

omg it works

Wooooo, alas it is done, I'll be shutting this PR down after everyone has seen the output.
For the presentation, I guess I'll have a fresh PR that is clean to look at.
We also have more time to edit this tool for more functionality as this is kinda a hack move(shhhhh), maybe I parsed the JSON a bit wrong, but we can talk 'bout it later.
See ya in the morning if you're reading this at the time of posting. LOL

Hey. This is amazing! Thanks everyone for the hard work. Talk to you guys soon.

Retesting Something

Private Repo Testing is breaking the Public Version

Yup, it's breaking

This was done with the Node Server

Worked on my private repo too

Testing if it works

Hmm, might be dead ?!?

oh, it works fine

getting real results

pretty hard to capture the image once the thing runs automated

Testing PullRequest


I want create a static website on gogs.

The issue will be closed without any reasons if it does not satisfy any of following requirements:

Please speak English, we have forum in Chinese.
Please post questions or config/deploy problems on our forum: https://discuss.gogs.io, here are bugs and feature requests only.
Please take a moment to search that an issue doesn't already exist.
Please give all relevant information below for bug reports; incomplete details considered invalid report.

You MUST delete above content including this line before posting; too lazy to take this action considered invalid report.

Gogs version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[x] PostgreSQL
[ x] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[x] Yes (provide example URL)
[ x] No
[ ] Not relevant

Log gist:

Description
how to create static page website on gogs?
...

Currently, you can't. But you could use Caddy server with Git extension (https://caddyserver.com/docs/git).

thx

I like how he was too lazy to delete the above lines.


First class support for Markdown and MDX

Enables support (in engine and the app generator) for Markdown pages.
This means that Markdown can be placed in the pages directory of an app
rather than imported into a TSX page.

Partially resolves: #270


FALCON-1821 Update git pull merge script to accept and update JIRA type

I think this information is already there in JIRA and should be fetched from JIRA. Maintaining same information in two places can cause discrepancies. Let's keep JIRA as source of truth and fetch information from there.

The reason this is added is because of the following reasons:

JIRA Type may not directly map to our categorization, for example, backward incompatible changes. Sub-Task can be a "New feature". So, this lets the committer override the default categorization, if required.
It is just part of commit message similar to title, contributor (author) that also can be retrieved from JIRA. It is just making it available in one place as git log.

In view of FALCON-2063 I believe this change should also not be required.

As noticed in my earlier comment, this change is not required any longer as we have started using Apache Yetus. I will be closing this pull request as part of the clean up.


2 Factor Auth - at scanning page scroll bar is required

Issues: When a user enters to 2F auth scanning page not able to see the OTP input box and submit button
Please find the screen - the scroll bar is required for earlier release we have that feature
if the user is 100% of resolution he can't able come down to the OTP input box

**if the user reduces his screen resolution to 80% then he can able see the input and submit buttons **

@chetandg123 can u change the ticket status and reassign to respective developer
And who ever is working, please add the target completion before taking up

@chetandg123 u raised this ticket 20mins before, but the target completion is set on Oct13th hw is this possible?

@chetandg123 can u take a retest this today? If not please add the estimate and change the date

@htvenkatesh @FaizanMohammed326 re-tested the defect it is resolved in the scanning screen we are able to scroll down the screen (scrolling functionality implemented )


Hashtable.GetEnumerator should return type IDictionaryEnumerator

The current type returned is Object. I believe this is a hold-over from experimenting with enumerations when this library was first being written. The return type should be changed to IDictionaryEnumerator to make it strongly typed and match the .NET method.

Fixed in version 4.0.


Flask-paginate shows all results on same page

I am using Flask-paginate for pagination in my app. The results are fetched from database. The problem is that all results show up on 1st page and when I click on the next page number again all results are displayed on that page. The page number in url changes to 2/3/4 etc. I this as reference. Here is my code snippet
from flask.ext.paginate import Pagination
    @app.route('/users')
    def users_page():

        page_size = 25
        limit = 100

        search = False
        q = request.args.get('q')
        if q:
            search = True
        try:
            page = int(request.args.get('page', 1))
        except ValueError:
            page = 1
        with session_scope() as session:
            users = users_dao.get_users(session, limit=limit)
            pagination = Pagination(page=page, total=len(users), per_page=page_size, search=search, record_name='users')
            return render_template("users.html", users=users, pagination=pagination)

The pagination info on html page says displaying 1-25 results of 100. When clicked on page 2, it says displaying 25-50 results of 100. So somehow the pagination has figured out on the basis of total and per_page how many results should be displayed but somewhere it fails to force that on number of rows to show.
The template looks like
{{ pagination.info }}

              User Name
              Phone
              City
              Country

          {% for user in users %}

              {{ user.user_name }}
              {{ user.phone_number }}
              {{user.city}}
              {{user.country}}

          {% endfor %}

  {{ pagination.links }}

Please use Stack Overflow for questions about your own code.  This tracker is for issues with Flask's code.

What if there is an issue with one of the pluggins with Flask? Like in this case flask-paginate?

Should be filed against the repo of the flask extension


curl[tool] fails

It seems like the most recent changes to the curl port has broken the "tool" feature package installation:
==================================
C:\vcpkgtest2>vcpkg install curl[tool] --featurepackages
The following packages will be built and installed:
curl[core,ssl,tool,winssl]:x86-windows
Starting package 1/1: curl:x86-windows
Building package curl[core,ssl,tool,winssl]:x86-windows...
-- Using cached C:/vcpkgtest2/downloads/curl-curl-curl-7_65_0.tar.gz
-- Using source at C:/vcpkgtest2/buildtrees/curl/src/url-7_65_0-51a6e078ba
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Installing: C:/vcpkgtest2/packages/curl_x86-windows/share/curl/copyright
CMake Error at ports/curl/portfile.cmake:137 (file):
file failed to open for reading (No such file or directory):
C:/vcpkgtest2/packages/curl_x86-windows/share/curl/curl-target-release.cmake

Call Stack (most recent call first):
scripts/ports.cmake:71 (include)
Error: Building package curl:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: curl:x86-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.
==================================
We have a nightly build which failed when https://github.com/microsoft/vcpkg/pull/6429 was merged in. Editing the file ports/curl/portfile.cmake file to rename curl-target-release.cmake to CURLTarget-release.cmake fixes this.

@ray42, thank you for report this issue!
My fault, I updated it in #6429, but suddenly removed by following commits, Sorry for the breaks.
Summit a fix https://github.com/microsoft/vcpkg/pull/6649.

Fix merged, please open a new issue if you encounter other issue related to curl 7.65.0.


Label packages as suitable for collecting deps.dev dependencies

#1357 motivates ingesting deps.dev dependencies only for top-level packages. This issue relates to labeling packages as top-level in order to allow collection of dependencies from deps.dev.
The labels themselves
The labels should probably be implemented as evidence trees. There a few options for naming the verb:

by its function (e.g. collectable-dependencies) or what it represents (e.g. “top-level”)
independent of “deps.dev” in order to allow other future collectors or services to depend on this evidence tree.

Assigning labels
There are two approaches to assigning labels to packages: manually labeling specific packages, and automatically determining which packages are “top-level” via heuristics and then labeling them.

The ability to manually label packages as top-level could be added to guacone, similar to the guacone certify command.
It may also be possible to identify packages as top-level via heuristics or via information in SBOMs. Though many of these will be private, some will be present on deps.dev. Doing this identification automatically could be done post-ingestion by a certifier, or it could be done during the ingestion process itself.

This approach to resolve #1357 won't be followed up on.


Implemented logic for issue #162

Coverage increased (+0.03%) to 96.677% when pulling 8aa887a49146ecf7a57632649cd617b41b12b3c9 on ytreister:no_self_extract into 8bfc78b226ee6500eb78e1bdf361fc83bc5005b7 on PUNCH-Cyber:master.

Coverage increased (+0.03%) to 96.677% when pulling 8aa887a49146ecf7a57632649cd617b41b12b3c9 on ytreister:no_self_extract into 8bfc78b226ee6500eb78e1bdf361fc83bc5005b7 on PUNCH-Cyber:master.


Attempt to handle empty FASTQs prior to MultiQC

This aims to resolve an edge case where FASTQs are completely empty - no reads at all. Some experimental libraries may see this and there is no existing switch to handle this. We still want these FASTQs, but the nf-core pipeline fails fatally if no read group is found. Such is the case with empty FASTQs.
Side effect: no multiqc will run on this FASTQs, but who cares, you can't QC an empty file

pending integration testing


Support namespace scoped plans in svcat

Currently svcat get plans is written to work only with cluster-scoped service plans. Now that we support namespace-scoped broker resources, this command should be extended to understand both types ClusterServicePlan and ServicePlan. See #2152 as a reference, where we implemented this for svcat get classes.
$ svcat get classes [--scope cluster|namespace|all] [--namespace NS] [--all-namespaces true|false]

--scope is a boolean flag that needs to be added to this command following the Scoped command interface.
svcat get plans --cluster should retrieve a ClusterServicePlans
svcat get plans --namespace|--all-namespaces should retrieve a ServiceClass in the appropriate namespace. You should be able to modify the call to c.App.RetrievePlans to accept a scope filter with the cluster and namespace flags set. The CLI should not be doing the logic of figuring out how to split out those calls itself, and should delegate that to the svcat package.
The ClusterServicePlan and ServicePlan structs in the pkg/apis/servicecatalog/v1beta1 package will need to be updated to implement a new interface (that you will create) called Plan. See the Class interface as an example.

I would like to give a try on this, if not already taken by someone


Stripping of all credit to original authors (besides your rant) is incomplete.

The string replace you used to replace all mention of "react-router" and @mjackson, @ryanflorence & co's work was incomplete.
You forgot to remove "React Router" as well, so it still shows up in the bottom of the docs.
Sure glad you published an entirely new project instead of properly forking too!

Definitely.
 Hit "fork" and show the world what it is: a fork using other people's work that you don't want to contribute back to.

This was initially a fork. Unfortunately, code search doesn't work on forks; otherwise I would have set it up as such instead of as a source.
Note that I explicitly did not change the listing of authors on the package, nor do I assert any copyright there.

@danteoh @tonyhb Let's clear up some core issues here:
This repo was made to encourage innovation and futurism. As React-Router was, and still is open source, there's no stopping tweaking your repo as your own. @taion is just trying to make routing an even better experience.
I don't really seem to get the point why you obviously are negative to this, based on your syntax composition. How does it help the open source community? Complaining about @taion actually doing hard work seems like something we read about in sarcastic Reddit threads, not in tools made for us to do the opposite.

@ev1stensberg You don't think him publishing a medium post calling a project "dead" negative either?

It's a common phrasal template – I think the epanalepsis works quite well rhetorically. Perhaps it comes off as more severe than it should without that context?

I think that personal opinions of your developer experience should matter. @taion acted accordingly to Facebook's motto : "Move fast, be bold". Clearly some of the sentences could be eased up a bit, but I think this is rather about him trying to reach out through invoking through his frustration rather than seeming angry at React-Router as it is now.

Also, I don't know get it why people are so angry. This is exactly what open source is about, making things, either it's an extension of someone else's work or if it's your own. If people wanted it not to be like this, you would have ended up paying to use 3rd party libraries, just because it needs to satisfy the author. That's 100% bullshit, and we all know it. Tweak, break, build.

This is going to affect people. If you depend on any of the router projects, such as relay support, you're going to have to change the router.

@taion is now going to have to backport fixes from react-router to here. That's double the work. It's already happened in #8, and it's highly ironic considering he's forking an "unmaintained" project.

There's now fragmentation in react router space; instead of contributing and making one router great there's now two competing routers.

The fragmentation and breaking of existing this is the core issue here. JS has a lot of fragmentation as it is. This compounds it.
As an aside, contributing back and becoming a core maintainer of the redux-router repo sounds like a great idea. From the blog post, the only evidence of a slow moving project is a series of messages not cutting a fork, and a knee-jerk reaction from it.

@tonyhb
That's not a backport. It's a bug fix that's not present upstream. Someone can choose to backport that to React Router – or not, it's not really up to me any more, since this entire feature has been reverted.
Keep in mind I've been the most active contributor to React Router by a large, large margin over the past several months: https://github.com/reactjs/react-router/pulse/monthly. It's not an inability to get my code merged that led me to make this fork.
In fact, at the current rate, it's not even a real division of effort, since I've been doing most of the work.

Okay cool. It's totally your prerogative to do this. I just dislike seeing fragmentation and breaking changes to projects; that's the main reason I'd love for there to be a reconciliation.

Right.
Unfortunately, the current lack of direction and movement on the React Router project proper is not acceptable with respect to my objectives at work. That's why I felt the need to fork React Router in the first place.
The point is to avoid large breaking changes (outside of, unfortunately, updating dependencies and library pointing) by updating and releasing on an incremental basis. I no longer have confidence that this is possible with the React Router project with the current project ownership.

TBH I was mostly just trolling because of the medium article.  R-R is not dead, its just stable and slower moving than your needs.  Nowadays when I see "XXX is dead" I generally assume someone is going all left-pad on the open source community.

Of course it's not dead. Like I said, I thought it was cute to follow the "the King is dead, long live the King" template.
And it's not a matter of being slower moving than my needs per se. The issue is that every release of React Router ends up being a major, breaking API change that requires users to rewrite large chunks of their code.
So yes, while React Router moves too slowly on things like bugfixes, performance improvements, and non-breaking feature additions, it also moves far too quickly on API churn.

Is it actually an issue? The files all still blame to the original authors. It's not like @taion has made it look like he wrote all the code, or anything like that.

React router, redux router, react-router-redux, rrtr.
How does one decide to pick a router these days?

How does one decide to pick a router these days?

We could always make a project that uses the best features of every router. It could be called react-rrtr-redux-router-router-historyjs-redux-extreme
I agree though, fragmentation is one of the major problems with JavaScript today. It's really hard to know which projects to use when there's a million different choices and most of them won't even exist any more a year from now. :confused:

Use React Router. Sorry for the inconvenience here.


Error with typeof symbol

https://hegel.js.org/try#MYewdgzgLgBBCeBbARiANgLhgVzAazBAHcwYBeGAZSVTQAoBKAbgCgWBLAMzqngAcApiE5wa6cmQoByBCnRSGMAN4sYamCwC+QA

closed at https://github.com/JSMonk/hegel/pull/164


Add / Delete Rows

Hey,
I want my table component to have add row / delete rows options.
Does the component have these methods.
My goal is that finally I would be able to change my DB according to the changes in the table (insert/ delete/ update {that's by cell editing} )
Thanks,
Nir

Hey guys,
Any ideas,
Thx

Hi, how exactly you want to delete the rows?
Do you want to select one row and then press a button to delete that row? Or you thinking on another way to do that?

Basically yes
Select one row or several rows with boolean field and the hit delete button
בתאריך יום א׳, 27 באוק׳ 2019, 20:58, מאת Ymberê Xavier <
<EMAIL_ADDRESS>
Hi, how exactly you want to delete the rows?
Do you want to select one row and then press a button to delete that row?
Or you thinking on another way to do that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1134?email_source=notifications&email_token=AJCFI6QBI3XX4GQFI5DR5IDQQXQETA5CNFSM4JDWMBG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECLFKYY#issuecomment-546723171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCFI6WNDY5NYE45IFQ3LX3QQXQETANCNFSM4JDWMBGQ
.

Hey,
So what do u think
Is there a way to add rows to the table?

@nirkrumer so far we don't support add/delete row feature, but I think you can still implement a add button and adding new data to table. So it's not very necessary to support a native features for adding/delete.
Actually, in legacy react-bootstrap-table, we have these features but so far I don't have too much time to implement, so it's still minor features for me.  Anyway, PR is welcome, thanks!

Hey Allen,
when you say in legacy react-bootstrap-table, we have these features what
do you mean?
Have a link for an example for me to see?
Thanks
On Sat, Nov 9, 2019 at 8:16 AM Allen<EMAIL_ADDRESS>wrote:

Closed #1134
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1134
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-bootstrap-table/react-bootstrap-table2/issues/1134?email_source=notifications&email_token=AJCFI6TNO46ZBJ3PKOL7MD3QSZITFA5CNFSM4JDWMBG2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUYAVW3A#event-2785106796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCFI6TWJ4C5KQZAXCCVPP3QSZITFANCNFSM4JDWMBGQ
.

--
Nir Krumer
Business Applications Manager
*E-Mail<EMAIL_ADDRESS><EMAIL_ADDRESS>Mobile: +972 (0)50-8248181

@nirkrumer https://allenfang.github.io/react-bootstrap-table/
I highly suggest you don't use this legacy package lol

@AllenFang how would you suggest we go about implementing adding and removing row from the table any code example ?

@AllenFang the documentation would be better if it's include the CRUD operations in the table

It would be really useful if this could be implemented so that the whole table doesn't have to be rerendered in order to add/delete a row

@nirkrumer https://allenfang.github.io/react-bootstrap-table/
I highly suggest you don't use this legacy package lol

If we install this package, we will can use add/delete?

I agree the react-bootstrap-table2 is a great update but you should include add and delete buttons on rows. This is needed in any implementation. The table saves time. Not having this feature costs time in that it has to be implemented by the developer.


Enum support

I've been trying to use this filter with a field that has an enum for its possible values. It half-works... I define an options method to fetch all the allowed values from an enum:
    public function options(NovaRequest $request)
    {
        return \App\Enums\MyEnum::cases();
    }

This creates a pop-up menu with all the possible values, correctly formatted. However, when it actually performs the search it doesn't match anything. It seems that this is because the array of possibilities that ends up in the $value param in the apply method is not the right shape for the search. I figured out how to translate it in the apply method so that the enum works, and I thought others might find it useful, or you could integrate it into this package:
    public function apply(NovaRequest $request, $query, $value)
    {
        $opts = [];
        if (is_array($value)) {
            foreach ($value as $st) {
                $sts = \App\Enums\MyEnum::tryFrom($st);
                if ($sts) {
                    $opts[] = $sts;
                }
            }
            if (!empty($sts)) {
                return $query->whereIn('scans.status', $opts);
            }
        }
        return $query;
    }

@Synchro please use https://github.com/datomatic/nova-enum-field

Yes, I'm using that one now, and it works well, so I'll close this issue.


Use sketch JSON format instead of SVG

New sketch file format is basically a ZIPed json files.
Is it possible to use it instead of SVG files for better quality?
Another ideas is to use control prefix in names in sketch so the engine can understand if its textBox button or regular text. ex: (button-main, textBox-lastName)

+1


Make action bar display more customizable

Some people might prefer a different layout, or less information for less screen clutter

Resolved by e166f1eb016a74410888ef6db1f2d49d0e59b1b0 (ofc I forgot that in the commit again)

Okay, let's do github science


dependencies that should be dev

Shouldn't some of these dependencies be in fact devDependencies?
  "dependencies": {
    "babel-cli": "^6.11.0",
    "babel-core": "^6.13.0",
    "babel-preset-es2015": "^6.13.0",
    "babel-traverse": "^6.13.0",
    "babylon": "^6.8.0"
  },
`
``

Or else `babel-plugin-tailcall-optimization` ends up as a heavy dependency.

Yes I think you are right ;) Thanks, fixing it now.


Disconnected Session Handling

Sessions that have lost their connection do not disconnect and are still listed under sessions -l.  You can run a module against the session and it will just hang, you can ctrl-c out of it.  Also, sessions -k will hang and after ctrl-c they are still visible under sessions -l.

I have also noticed clients will disconnect after and hour or so with no interaction.  I have seen this about three to four times today.
The server was an Ubuntu image on AWS EC2 and the clients were a mix of Windows on EC2 and local virtualbox and Mac OS X.  It is understandable that the local VMs had issues while connected via cell phone AP, however there were still issues between the Amazon EC2 instances.

I'll look into it. I'm not sure if I want the clients to remain connected "forever"


Use latest version of usb-device and usbd-serial

Use the latest version to get implementations of Read and Write from embedded-io for SerialPort.

CI fails. See https://github.com/stm32-rs/stm32f4xx-hal/pull/699/files for how to solve.


History Timout

I can not give more context as it's self explanatory:
2019/06/11 18:24:34 Post https://slack.com/api/conversations.history: dial tcp xx.xxx.x.xxx:xxx: i/o timeout

I open the issue just to know if quitting the app it's the expected behavior or not.
I think it took a while when opening a channel, then I moved up and then down, and the channel messages showed up, so i feel it was a 1st call Timeout even if the 2nd one succeeded (I did not read the code so just guessing). So I ended up with a behavior of quitting the app even if nothing wrong happened hehe.

Don't know if this is perhaps a connection timeout of the client. Spotty internet, wifi connection perhaps?

IDK really :cry: . Also IDK if this happens to everyone, but when it fails the terminal it's messed up, to actually see the errors I have it like slack-term -config .slack-term.json &> error.txt so I can actually get a more "proper" error hehe. IDK if there is a way to have a more "clean" quitting or to maybe have the errors shown somewhere (maybe replacing the content of the channel?) IDK really hehe.

Closing for now, hard for me to get this to actually happen. I'll keep a lookout


Stretched scanning zone

Hello,
I'm getting issues when adding phonegap-plugin-barcodescanner to my ionic app.
The scanning zone is stretched/compressed. The scanning process is working but it's difficult to capture to qr code. Please see the above screenshot.

Is there anything missed or wrong ?
This error is occuring on my Android 5.1.1 device (oneplus 2).
Thanks

Hello, i have the same problem.
Device is Honor 7
Android 5.0.2

Same issue
Samsung galaxy S6 edge+
Android 6.0.1

Same
Moto-G 1st Gen. (falcon)
Android 5.1.1. (non-stock Cyanogenmod)

@stevenroh does the latest version of the barcode scanner fix your issue?

@macdonst We have the same issue here. Samsung Galaxy Tab S2 9". The image looks stretched, our square QR code looks rectangular.
Using the latest version (6.0.8) with Ionic native.

Same issue using Samsung Galaxy S8 and Ionic framework. Please help!!!


ur-move-1@14-0

Press Submit! You don't need to edit this text or do anything else.
Be aware that your move can take a minute or two to process.

GGs ! @1ethanhansen and all.

Well played @BaptisteMartinet & everyone else :D


⚠ Hartman Foundation has degraded performance

In ac846b4, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2702 ms

Resolved: Hartman Foundation performance has improved in 7f9a8a5.