Release 0.2.1

With the closing of #101, we should do a new release.

Release is underway.

Homebrew PR opened: https://github.com/Homebrew/homebrew-core/pull/42366

Windows package is now available in bintray.

Debian package is available

COPR packages are available.

still waiting on homebrew

Still waiting on homebrew. I'm going to announce the release with a note that homebrew hasn't been made available yet.

release notes are published:
https://www.ponylang.io/blog/2019/07/pony-stable-0.2.1-released/


Switching profiles messes up split view layout

Default profile, open extensions view -> collapse RECOMMENDED view
Switch to another profile -> RECOMMENDED view is expanded as expected
Switch back to Default profile -> RECOMMENDED view is expanded 🐛

Hmm, recommendations view is a bit special. It expands automatically if there are no installed extensions. Since expand/collapse state is workspace specific, view remains expanded after switching profile.

@sandy081 hmm what happened here :)
It is assigned to January, is closed and there is no commit linked. Maybe you closed by accident?

Yeah, it was by accident.

I see this behavior with other views -- view position feels like it is sometimes persisted across profiles.
In my case I'm using --profile-temp in my launch config to give me a clean profile to test the first-user experience of my extension, but it seems that some of the view positions are remembered across runs.
Even if I create a new empty profile from the UI, it doesn't reset view positions to the initial state.
I was at first thinking this was just a bug with the initialSize property on views when webviews are involved (which still might be the case /cc @alexr00) but there are definite issues with profiles not resetting view layout
https://github.com/microsoft/vscode/assets/641685/87ea4876-bcaf-4159-82de-95aef3447824

There are 2 scenarios that I see here (though they are likely the same issue):
Scenario 1 -- create a new empty profile from the UI.

Start in the Explorer view and resize/expand the Timeline and Outline (or other default views) to non-starting positions
Create and switch to a new empty profile
🐛 The view state (positions) of those views is preserved and not reset to their initial state.

Scenario 2 -- debug an extension using the --profile-temp in the launch config

Start a debug session for an extension that uses --profile-temp, e.g. 		"name": "Run (sandboxed)",
 		"type": "extensionHost",
 		"request": "launch",
 		"runtimeExecutable": "${execPath}",
 		"args": ["--profile-temp", "--extensionDevelopmentPath=${workspaceFolder}"],

🐛 Observe that the view state (location, position, etc) of views isn't reset to initial state

FWIW, while testing the Scenario 1 above, where I create a new empty profile, that if I just let that window sit for 30s-1m (or so) the profile gets automatically reset to the previous profile. Feels like something to do with sync'ing maybe? I'll file another issue.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Add RixEngine bid adapter documentation

🏷 Type of documentation

[x] new bid adapter
[ ] update bid adapter
[ ] new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked -> https://github.com/prebid/Prebid.js/pull/11035
[x] For new adapters check submitting your adapter docs

@xiaochang could you post the link to the PR in the description of this docs PR, please ☺

Link to related issue: #5125
Link to relevant documentation: Documentation Link
Changes Made:

Add RixEngine bid adapter documentation.

Testing:

Verified that the new feature works as expected.

Please review and merge this PR. Thank you!

@xiaochang could you post the link to the PR in the description of this docs PR, please ☺

Added https://github.com/prebid/Prebid.js/pull/11035 to the description of this PR @muuki88

@muuki88 We have updated the PR based on your suggestions. Please review again and let us know if more changes are needed. Thanks.

Great 😃 thanks a lot. This PR will be merged, once your prebidjs adapter is released

@muuki88 Our adapter is released https://github.com/prebid/Prebid.js/blob/master/modules/rixengineBidAdapter.js, please merge this PR. Thanks.

Hi @muuki88 still don't see our documentation live in https://docs.prebid.org/download.html or https://docs.prebid.org/dev-docs/bidders.html, can I ask when we can expect the doc release to happen?

That's odd 🤔 I'll take a look. The page deployment went well, but it seems those pages have not been updated for some reason.
The docs are there ( https://docs.prebid.org/dev-docs/bidders/rixengine.html ), even though the table styling is broken. Haven't noticed that in the PR.

That's odd 🤔 I'll take a look. The page deployment went well, but it seems those pages have not been updated for some reason.
The docs are there ( https://docs.prebid.org/dev-docs/bidders/rixengine.html ), even though the table styling is broken. Haven't noticed that in the PR.

@muuki88 Thanks, we will do separate PR for the table styling fix.


reduce $crFound check at AbstractSerializer::getLine()

I disagree with this change. The four distinct conditionals in the while loop are for a reason: to detail the specific carriage return/line feed combinations we scan for, and the impact each has when detecting a line. Moving one part of the conditional inside the other makes understanding the combinations more difficult.


Vulnerability of dependency "golang.org/x/net"

Hello, we are a team researching the dependency management mechanism of Golang. During our analysis, we came across your project and noticed that it contains a vulnerability (CVE-2022-41723). In your project, the golang.org/x/net package is being used at version v0.0.0-20201006153459-a7d1128ccaa0, but the patched version is v0.7.0. To fix the vulnerability, we recommend modifying the go.mod file to update the version to v0.7.0. Thank you for your attention to this matter.

We also came across your project and noticed that it contains a vulnerability (CVE-2022-32149). In your project, the golang.org/x/text package is being used at version v0.3.3, but the patched version is v0.3.8. To fix the vulnerability, we recommend modifying the go.mod file to update the version to v0.3.8 or higher. Thank you for your attention to this matter.


Update craftingActivity.ts

Description:
grammar/spacing
Changes:
Added a space after the .
Other checks:

[x] I have tested all my changes thoroughly.

Change to target oldschoolgg:master since it affects both bots.


Errors when running the project locally，How to solve it?

The err is this
go: -mod may only be set to readonly when in workspace mode, but it is set to "mod"
Remove the -mod flag to use the default readonly value,
or set GOWORK=off to disable workspace mode.

Hey it seems that you have not specified the mod flag correctly, have you tried removing it? Also, it would be useful if you could provide more information regarding what you're trying to do, and the command you are executing etc.

Hi @LXHLeaner! It's been a while since you opened this issue, can we assume it can be closed?
If you are still facing any difficulties, please let us know, we'd be happy to help


helloalgotrading raise exception FileNotFoundError

https://www.backtrader.com/home/helloalgotrading/
Exception has occurred: FileNotFoundError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
[Errno 2] No such file or directory: 'MSFT'
  File "D:\anaconda3\Lib\site-packages\backtrader\feed.py", line 674, in start
    self.f = io.open(self.p.dataname, 'r')
  File "D:\anaconda3\Lib\site-packages\backtrader\feeds\yahoo.py", line 94, in start
    super(YahooFinanceCSVData, self).start()
  File "D:\anaconda3\Lib\site-packages\backtrader\feeds\yahoo.py", line 355, in start
    super(YahooFinanceData, self).start()
  File "D:\anaconda3\Lib\site-packages\backtrader\feed.py", line 203, in _start
    self.start()
  File "D:\anaconda3\Lib\site-packages\backtrader\cerebro.py", line 1210, in runstrategies
    data._start()
  File "D:\anaconda3\Lib\site-packages\backtrader\cerebro.py", line 1127, in run
    runstrat = self.runstrategies(iterstrat)
  File "D:\code\digifinex\backTrader\1.py", line 37, in <module>
    cerebro.run()  # run it all
  File "D:\anaconda3\Lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\anaconda3\Lib\runpy.py", line 97, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "D:\anaconda3\Lib\runpy.py", line 265, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "D:\anaconda3\Lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\anaconda3\Lib\runpy.py", line 194, in _run_module_as_main (Current frame)
    return _run_code(code, main_globals, None,

Seems YahooFinanceData class is out of date. Is BackTrader discontinued?


podman pull does not suspend properly (ctrl-z)

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Attempting to suspend podman pull, using ctrl-z in a shell, does not suspend all processes and leaves the command in a "stuck" state.
Steps to reproduce the issue:

podman pull -q foo/bar:baz

CTRL-Z

Shell is non-respnsive. CTRL-C, etc do nothing

Describe the results you received:
podman command line does not suspend
Describe the results you expected:
podman process is suspended like a typical shell command, allowing subsequent job-control commands such as "bg"
Additional information you deem important (e.g. issue happens only occasionally):
This can be worked around by finding the pid of the podman child process which is suspended and running kill -CONT <pid> on it. The child process will then either continue or die (depending on what else you did in the original shell) and the parent process will exit.
This seems to be some sort of signal handling issue.
This probably effects other podman subcommands but I only checked "pull" as it is frequently where I start a pull, realize its really pulling from the internet and decide I'd rather background it with "bg", but this workflow fails.
Output of podman version:
Version:            1.1.2
RemoteAPI Version:  1
Go Version:         go1.11.5
Git Commit:         a95a49d3038462d033f84ac314ec8a3064a99cff
Built:              Tue Mar  5 13:10:31 2019
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: a95a49d3038462d033f84ac314ec8a3064a99cff
  go version: go1.11.5
  podman version: 1.1.2
host:
  BuildahVersion: 1.7.1
  Conmon:
    package: podman-1.1.2-1.git0ad9b6b.fc29.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.12.0-dev, commit: a95a49d3038462d033f84ac314ec8a3064a99cff'
  Distribution:
    distribution: fedora
    version: "29"
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>0
  OCIRuntime:
    package: runc-1.0.0-68.dev.git6635b4f.fc29.x86_64
    path: /usr/bin/runc
    version: |-
      runc version 1.0.0-rc6+dev
      commit: ef9132178ccc3d2775d4fb51f1e431f30cac1398-dirty
      spec: 1.0.1-dev
  SwapFree:<PHONE_NUMBER>0
  SwapTotal:<PHONE_NUMBER>0
  arch: amd64
  cpus: 8
  hostname: popcorn
  kernel: 5.0.3-200.fc29.x86_64
  os: linux
  rootless: true
  uptime: 29h 24m 59.5s (Approximately 1.21 days)
insecure registries:
  registries: []
registries:
  registries:
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.access.redhat.com
  - registry.centos.org
store:
  ConfigFile: /home/jmulliga/.config/containers/storage.conf
  ContainerStore:
    number: 64
  GraphDriverName: vfs
  GraphOptions:
  - vfs.mount_program=/usr/bin/fuse-overlayfs
  GraphRoot: /home/jmulliga/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 176
  RunRoot: /run/user/1000
  VolumePath: /home/jmulliga/.local/share/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):
Developer laptop, fedora 29, bash shell

Happens exclusively as rootless. Probably something to do with the rootless user namespace. @giuseppe any ideas here?

This probably happens as we have two processes and we don't propagate signals.

We can't really catch and forward SIGSTOP anyways - uncatchable by design. I don't really know what we can do here, then.

Once we land the rootless refactoring, I'd like to redesign the re-exec in a way of not having two processes

can you try if https://github.com/containers/libpod/pull/2915 solves the problem for you?

Yes. That appears to do the trick. Thanks!


Develop upstream sync 230626

https://github.com/ROCmSoftwarePlatform/frameworks-internal/issues/4806

retest Ubuntu-GPU-single please

retest Ubuntu-GPU-single please

retest gpu-pycpp please

retest cpu-pycpp please

retest Ubuntu-GPU-multi please

retest Ubuntu-GPU-multi please
retest Ubuntu-GPU-single please

retest Ubuntu-GPU-single please

retest Ubuntu-GPU-multi please

retest Ubuntu-CPU please

retest Ubuntu-CPU please

retest Ubuntu-CPU please


openfbx: add package

aarch64-linux-musl work fine in first commit, so I don't limit cross platform


Toast notification

Added toast notification component. This will be used with notification list, which I'm working to finish up next -- good place to stop for now.
Setting ViewEncapsulation.None to fix page rendering issue with demo app. I've occasionally seen this in the planner and platform UIs. Might want to try this there as well?
Also fixed an issue where components didn't react to changes properly.

@dlabrecq Re ViewEncapsulation.None I'm using this right now to allow us to compile a global sass stylesheet on app.component.


xcodebuild timed out while trying to read SwiftPackageManagerExample.xcodeproj

I try to integrate realm-cocoa by using Carthage
Each time i run carthage update it will output error
xcodebuild timed out while trying to read SwiftPackageManagerExample.xcodeproj
for Realm version 5.0.2
My Xcode is 10.15
Mac 10.15.5

same
Mac 10.15.3
Xcode Version 11.3.1

The root of the problem seems to be Swift Project Manager and my slow internet connection, it seems SPM dependencies have not enough time to download...
Fixed by opening checkouted project, and waiting for successful dependency downloading.
After that carthage build realm-cocoa --no-use-binaries --platform iOS  works fine

5.0.3 is newest. Still have problem!
You can use Network Link Conditioner tool on Mac to limit network speed and this problem occur.
I think it my network is slow, but why when carthage build, why need buid SwiftPackageManagerExample.xcodeproj this?
Yes, @Sc4pego4t 's suggestion resolve problem.
Only 5.0.0 is OK!

We've seen this happen on our CI setup as well. The problem comes down to that calling xcodebuild -list on a xcode project which uses SPM downloads that project's dependencies, which combines very poorly with the fact that Carthage doesn't give a repo any control over where it looks for xcode projects and instead checks every single one of them.

I've been having the same issue using multiple different versions of Xcode, most recently 11.5.

Also encountered this issue during Carthage update
But it raises question: why this SwiftPackageManagerExample.xcodeproj have to be built in the first place?

It doesn't have to be built. Carthage just doesn't provide any way for us to tell it that.

This issue prevent other want to use lib with carthage. Can we move example prj to other or any thing else?

I have this same issues, how to fix it?
carthage update realm-cocoa --platform iOS --cache-builds --no-use-binaries

*** Checking out realm-cocoa at "v5.2.0"
*** xcodebuild output can be found in /var/folders/hy/7syk08mn7cjc92jfsjl8vh2r0000gn/T/carthage-xcodebuild.eBNDSe.log
*** Invalid cache found for realm-cocoa, rebuilding with all downstream dependencies

xcodebuild timed out while trying to read SwiftPackageManagerExample.xcodeproj 😭

V 5.3.2 same issue ( yet )

Found this issue is reproducing with the latest dev environment:

Xcode 12.3 (12C33)
macOS Big Sur 11.1

*** Downloading realm-cocoa.framework binary at "v10.5.0"
***  Skipped installing realm-cocoa.framework binary due to the error:
	"Incompatible Swift version - framework was built with 5.3.1 (swiftlang-1200.0.41 clang-1<IP_ADDRESS>) and the local version is 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)."

    Falling back to building from the source
xcodebuild timed out while trying to read SwiftPackageManagerExample.xcodeproj 😭

I was able to circumvent the issue by manually deleting the example project after Carthage finished checking out and before Carthage attempted to build the dependency.
I will be transitioning to XCFrameworks soon, but for now I am faced with this issue still.


G910 Counter strike doesn't work

Hi guy !
I made a profil for counter strike, it work fine when i try preview mode,
But in games I just health management ...
an idia ?? thx

I am not quite sure what you are saying, but I am going to assume that my fix for #213 will resolve your problem as well.


improve CLI cwd for linting and for multiproject module development have only one runtime chunk

Codecov Report
Patch and project coverage have no change.

Comparison is base (b244598) 82.03% compared to head (3954e6c) 82.03%.

:exclamation: Current head 3954e6c differs from pull request most recent head 50f14fb. Consider uploading reports for the commit 50f14fb to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #704   +/-   ##
=======================================
  Coverage   82.03%   82.03%
=======================================
  Files          27       27
  Lines         668      668
  Branches      120      120
=======================================
  Hits          548      548
  Partials      120      120

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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fixed the jumping to function definition using 'Ctrl+LMB' (reverted)

Fixes #72353.

Reverted with d405392847149e1620324ac9217952bc51884baf to fix regressions (#73058, #73167).
We'll keep working on this to merge after the 4.0-stable release in #73196.


Cleanup on the URDF tutorial.

It had several problems:

It didn't follow the one-sentence-per-line rule.
Some of the links were wrong.
It pointed to the wiki.ros.org in places, when it really shouldn't.

Signed-off-by: Chris Lalancette<EMAIL_ADDRESS>

@Mergifyio backport foxy


View System Component Data in Second-Level Modal Window - Typo

There word Model in the Model and Version field is miss spelled

This ticket was created from ticket 903

Test Case: TC188 - Passed


Request for Upgrading Keycloak to 22.0.0 and Spring Boot to 3.0.0

Can we upgrade  Keycloak to version 22.0.0 and Spring Boot to version 3.1.1?

Is the project still being maintained?


 We're not really verifying anything other than the fact that they came from the same slab. In fact, we're still incurring a copy from transport pipe into the request body pipe so if a pool implementation wasn't slab based, this test could never pass. I'm not sure if we want to preserve anything from this test, but let me know.
Contributes to #2449

@dotnet-bot test Ubuntu 16.04 Release Build

@dotnet-bot test Ubuntu 16.04 Release Build

Also I see the point about the test being broken today because of the copy from the transport to the body pipe happening within the same array and not being caught. It was indeed an oversight this test wasn't changed when we first moved to having a request body pipe.
We could have caught the issue if we verified the offset and length instead of just verifying Assert.Same(block.Array, await writeTcs.Task);, so we should do that now. This test will pass without slabs once we change it to populate RequestBodyPipe directly.

We could have caught the issue if we verified the offset and length instead of just verifying Assert.Same(block.Array, await writeTcs.Task);, so we should do that now. This test will pass without slabs once we change it to populate RequestBodyPipe directly.

I'm confused, are you saying that this test is valuable? What aspects of it? Given that blocks are being copied even when this test claims they aren't, what value is there? Keeping it around for when we do fix the problem?

Yes. I think there's value. Our benchmarks aren't always the easiest/best way to catch performance regressions. I opened #2458 as an alternative to this PR.

Additionally, do we even have a benchmark that we run regularly and pay attention to that calls CopyToAsync() on the request body stream?

Additionally, do we even have a benchmark that we run regularly and pay attention to that calls CopyToAsync() on the request body stream?

If we don't you should add one 😉

Yes. I think there's value. Our benchmarks aren't always the easiest/best way to catch performance regressions. I opened #2458 as an alternative to this PR.

I'll close this out

If we don't you should add one 😉

I know it exists the question was more of do we track the results?

That won't get it in Power BI, right? I'm not sure the scenario is common enough to go on a graph though. There are too many graphs to keep track of as it is.

That won't get it in Power BI, right? I'm not sure the scenario is common enough to go on a graph though. There are too many graphs to keep track of as it is.

It doesn't need to be in power BI, it's tracked in the database and you can query that if you think it's important to track.


v08 spec alignment - Workflow start no longer a required property

Signed-off-by: spolti<EMAIL_ADDRESS>Fixes: https://github.com/serverlessworkflow/sdk-go/issues/70
Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Special notes for reviewers:
Additional information (if needed):

The tests alignment was done in the previous pr
https://github.com/serverlessworkflow/sdk-go/commit/503471e8c981dff1e0c58651da75f05dd90d5463


Consistency: rename 'moreStyles' to 'componentStyles'

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


About AsyncContext?

nito is awesome.
Is there a detailed blog description explaining how AsyncContext & AsyncContextThread works?
Source code is not very understand.
Thanks a lot.

These are the only docs for AsyncContext / AsyncContextThread right now. Let me know if you have any specific questions!


How to configure plugins

Hi!
I am trying to configure some plugins such as cleanupIDs and prefixIds.
This is my configuration but the loader returns an error
[plugin:svg-loader] Plugin name should be specified
I am using the same SVGs multiple times in the same page but they won't be displayed correctly because of conflicting IDs.
# vite.config.ts
....
       svgLoader({
           svgoConfig: {
               multipass: true,
               plugins: [
                   {
                       prefixIds: {
                           prefix: ({ path }: { path: string }) => basename(path, '.svg'),
                           delim: '-',
                       },
                   },
                   { removeDoctype: true },
                   { removeComments: true },
                   { cleanupIDs: true },
                   { collapseGroups: true },
                   { removeEmptyContainers: true },
                   { removeUnknownsAndDefaults: { keepDataAttrs: false } },
               ],
           },
       }),

Could I get some advice on how to configure plugins? Many thanks!

Hi, when looking at the svgo docs, it looks like you should use the following notation when registering plugins:
{
  name: 'prefixIds',
  params: {
    prefix: ({ path }: { path: string }) => basename(path, '.svg'),
    delim: '-'
  }
}

Could you try if that works?

Thanks - that was helpful. Should have checked the docs myself. My apologies for the noise!

You're welcome


[Mobile] can't use flutter_quill with flutter_inappwebview

My issue is about [Mobile]
I have tried running example directory successfully before creating an issue here.
Please note that we are using latest flutter version in stable channel on branch master. If you are using beta or master channel, or you are not using latest flutter version in stable channel, you may experience error.

use flutter_inappwebview or package using flutter_inappwebview.
android - build errorcom.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Type com.pichillilorenzo.flutter_inappwebview.BuildConfig is defined multiple times:

ios - crashTerminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Duplicate
plugin key: InAppWebViewFlutterPlugin'

Because flutter_inappwebview_quill and flutter_quill has same package name and plugin key, we can't use flutter_quill with flutter_inappwebview.

dependency_overrides:
  flutter_quill:
    git:
      url: https://github.com/balancefriends/flutter-quill.git
      ref: 5.4.1
  flutter_inappwebview:
    git:
      url: https://github.com/CodeEagle/flutter_inappwebview.git
      ref: 06f87e81c4f55b7b251a149ec0db60442bb351c3

Fix the title or it will be removed

Please contact owner of youtube_player_flutter_quill


Add a Gitter chat badge to README.md

DataSketches/sketches-core now has a Chat Room on Gitter
@leerho has just created a chat room. You can visit it here: https://gitter.im/DataSketches/sketches-core.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Coverage remained the same at 97.993% when pulling 827c23d2a7c2f204281485e74946972bacb790da on gitter-badger:gitter-badge into d9d5d2c02e260b8008e9a10759c134feee4fe9ac on DataSketches:master.


Encode Delimited

I'm writing a client application in iOS that uses ProtocolBuffer with this library.
I have a server written with ProtobufJS, there I'm using both encodeDelimited and decodeDelimited which AFAIK write the length of the message before the message.
The problem is I could not find a match methods for length delimited in ProtoBuf-ObjC. Can you help me understand how to do that?

I manage to send a delimited message using the following code:
    PBCodedOutputStream *codedOutput = [PBCodedOutputStream streamWithOutputStream:socketConnection.outputStream];
    [codedOutput writeRawVarint32:msg.serializedSize];
    [msg writeToCodedOutputStream:codedOutput];

I can try to fork this repository and add the functionality.


Js target

How should go2hx proceed in the future with potentially supporting the Js target (including hxnodejs support) with the missing native support of many sys thread systems such as Mutexs/Locks/Threads?
It's completely possible to support but it would require lots of Js only support code in place to just support a subset of Go language features such as goroutines/select/and channels (looking at gopherjs as ref). This requires the complexity of unwinding stacks and restoring them.
From my view point the best way to proceed looks like to not support Js but make it as clear as possible the door is wide open for someone to support this.
Another possibility is that Haxe support for co-routines in the future would make it trivial supporting the Js target, in which case waiting would be preferred over any current implementation, however that really depends on what the Haxe co-routine implementation looks like at release.

Great idea, and I completely agree those targets will now be the supported go2hx targets until first release.


[esp32] Fix build failure with PW_RPC after update to IDF v4.4

Problem
The ESP-IDF SDK for matter was updated to v4.4 days ago, the all-cluster-app example build fails if enable PW_RPC, failure log:
2021-11-15 16:59:58 WARNING CMake Error at main/CMakeLists.txt:125 (target_link_libraries):
2021-11-15 16:59:58 WARNING   Cannot specify link libraries for target "__idf_chip" which is not built by
2021-11-15 16:59:58 WARNING   this project.

Change overview

Move the wrap configuration from example to chip component's cmake file.
Remove unncessary configuration.

Testing
Build pass with PW_RPC enabled.

@rgoliver PTAL

fast track: platform specific change made by a platform maintainer


Fix Waterline tests

I got the tests working in the https://github.com/feathersjs/feathers-waterline/tree/test-fix branch. Some are still failing so I'm fixing those up right now.

So far I got all tests but one passing.


Make relationship registration possible by role

Change relation registration that can be done only by Relation now so that it can also be done in Role.

Solved in v1.5.1


Move Browser Sync into standalone package

BrowserSync brings in a lot of dependencies and now is mostly replaced by vitejs. We should make it opt-in via npm install.

Browsersync removed from main code

Instead of a separate package, we just recommend to use Vite Browsersync plugin https://github.com/Applelo/vite-plugin-browser-sync


Can't resolve 'react-dom/lib/EventPluginHub'

Issue Description
After trying the example with import { GiftedChat } from 'react-web-gifted-chat';
Steps to Reproduce / Code Snippets
Doing example
Expected Results
The example
Additional Information
Got error: import { GiftedChat } from 'react-web-gifted-chat';
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-web-gifted-chat": "0.0.4",
On web

Work in progress, I alread upgraded react version but its not fully functional, I will put it in the new release


fix: detect invalid or corrupted repository

Fixes #2050

I wanted to add E2E tests but I couldn't find a way to interact with native dialogs from Electron.


Debugger freezes when triggering timeout inside a timeout block with Puma server

Your environment

ruby -v: 3.1.3
rdbg -v: 1.7.1

Describe the bug
When the following conditions all match, the debugger has a high possibility to freeze:

Inside a Rails app with Puma web server

The breakpoint is inside a timeout call, like
  def hello
    Timeout.timeout(3600) do
      binding.b
    end
  end

From the breakpoint, executes something that calls Timeout.timeout underneath

To Reproduce
I've documented reproduction steps in this repo.
Expected behavior
The debugger doesn't freeze.
Additional context
It may not be the root cause, but Timeout's thread being stopped by the debugger plays a major role here.
If we somehow modify this method to skip pausing the Timeout thread, like
    private def thread_stopper
      TracePoint.new(:line) do
        # run on each thread
        tc = ThreadClient.current
        next if tc.management?
        next unless tc.running?
        next if tc == @tc
        next if tc.thread.name && tc.thread.name.match?(/Timeout/)

        tc.on_pause
      end
    end

Then the issue doesn't occur.

Thank you for the report.

Is it difficult to repro within a single file? (without puma)
Can you show the backtrace when thread_stopper's TP stoppes?

by modifying like that:
   private def thread_stopper
      TracePoint.new(:line) do
        # run on each thread
        tc = ThreadClient.current
        next if tc.management?
        next unless tc.running?
        next if tc == @tc
        STDERR.puts caller.inspect if tc.thread.name.match?(/Timeout/)

        tc.on_pause
      end
    end

Anyway, I assume that it is difficult to fix in theory.

Is it difficult to repro within a single file? (without puma)

I tried it but didn't succeed. I suspect running it from a thread pool is one criteria and will experiment it later.

Can you show the backtrace when thread_stopper's TP stoppes?

"/Users/hung-wulo/.gem/ruby/3.1.2/gems/timeout-0.3.1/lib/timeout.rb:112:in `block (2 levels) in create_timeout_thread'",
"/Users/hung-wulo/.gem/ruby/3.1.2/gems/timeout-0.3.1/lib/timeout.rb:111:in `synchronize'",
"/Users/hung-wulo/.gem/ruby/3.1.2/gems/timeout-0.3.1/lib/timeout.rb:111:in `block in create_timeout_thread'"

Anyway, I assume that it is difficult to fix in theory.

Yeah I assumed that to be the case.
In the short-term I'll try to skip the Timeout thread pause to workaround it. Because many code paths in our app is wrapped inside a timeout block (from libs), and our devs constantly hang in those code paths.

Sorry for the delay, I managed to reproduce this with a single Ruby file:
# test.rb
def timeout
  Timeout.timeout(3) do
    puts "Something that needs timeout"
  end
end

Thread.new do
  Timeout.timeout(100) do
    binding.b
  end
end

# just to prevent the main thread from existing too early
sleep 100

$ rdbg -n test.rb

[4, 13] in test.rb
     4|   end
     5| end
     6|
     7| Thread.new do
     8|   Timeout.timeout(100) do
=>   9|     binding.b
    10|   end
    11| end
    12|
    13| # just to prevent the main thread from existing too early
=>#0    block in <main> (2 levels) at test.rb:9
  #1    block {|exc=#<Timeout::Error: Timeout::Error>|} in timeout at ~/.gem/ruby/3.1.2/gems/timeout-0.3.1/lib/timeout.rb:199
  # and 5 frames (use `bt' command for all frames)
(rdbg) timeout
Something that needs timeout
nil
(rdbg) timeout
# hangs

It produces like 8 out of 10 times.
And if it helps, here's the output with some debugging messages from my patch in timeout:
$ rdbg -n test.rb
QUEUE_MUTEX locked? false
[Timeout.timeout] acquiring QUEUE_MUTEX
[Timeout.timeout] released QUEUE_MUTEX
QUEUE_MUTEX locked? false
[Timeout thread] acquiring QUEUE_MUTEX
[4, 13] in test.rb
     4|   end
     5| end
     6|
     7| Thread.new do
     8|   Timeout.timeout(100) do
=>   9|     binding.b
    10|   end
    11| end
    12|
    13| # just to prevent the main thread from existing too early
=>#0    block in <main> (2 levels) at test.rb:9
  #1    block {|exc=#<Timeout::Error: Timeout::Error>|} in timeout at ~/.gem/ruby/3.1.2/gems/timeout-0.3.1/lib/timeout.rb:199
  # and 5 frames (use `bt' command for all frames)
(rdbg) timeout
QUEUE_MUTEX locked? false
[Timeout.timeout] acquiring QUEUE_MUTEX
[Timeout.timeout] released QUEUE_MUTEX
QUEUE_MUTEX locked? false
Something that needs timeout
nil
(rdbg) timeout
QUEUE_MUTEX locked? true
[Timeout.timeout] acquiring QUEUE_MUTEX

I think the main cause is that the timeout thread would acquire the QUEUE_MUTEX and never let go, likely because the thread would be frozen by then. So the later Timeout.timeout calls wouldn't be able to acquire the lock for synchronize.
But I don't understand why the first timeout call can still acquire the lock and it only deadlocks in the second call 🤔

The same problem doesn't seem to happen to byebug, even though it stops all threads as well.
It seems to use C-level APIs like rb_thread_stop for thread-control. I wonder if that'll be the solution for debug too?

Now I understand the problem.
Simplified code:
th0 = Thread.new{sleep}
m = Mutex.new
Thread.new do
  m.lock
  sleep 1
  m.unlock
end

sleep 0.5
debugger do: 'm.lock'

In this case,
(1) m is locked by th1
(2) main thread entered the REPL
(3) REPL runs m.lock but th1 doesn't resumed, and m.unlock is not called forever.
(*) Because of th0, deadlock detector doesn't raise an error because th0 can make progress.

Solution 1: Restart all threads for the evaluation on REPL.
Solution 2: Do not stop all threads except the running thread (in this case, main thread).
Solution 3: Make timeout thread exceptional (do not stop)

(Solution 3) doesn't make sense because there are many similar cases.
(Solution 2) maybe make it difficult to debug thread programs.
So Solution 1? In fact the earlier versions restart all threads.

Would you consider making Solution 2 a configurable option?

It should be introduced carefully.
Anyway, please file new issue.


ISSUE-107 - Allowing className to be added to each notification to fa…

…cilitate multiple styles
When dispatching the action, the 'className' property can be specified
to append the given className to the notification div. This allows for
elements to be styled differently in each div, by disabling the
plug-and-play inline stylings and using custom css styles instead

Coverage increased (+0.03%) to 95.62% when pulling c1824bbb9aac8f5d48f66a407539482c1bec49c9 on jamesphilipps:master into 61cf24362a59cf0446caafb53046c9c30b7bca2a on igorprado:master.

We were looking for this functionality as well, thanks for the PR, @jamesphilipps

Is there any way to move this forward, @igorprado?

thank you!


Update code structure.

Codecov Report

Merging #65 (4f1a31b) into main (da148b6) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main     #65      +/-   ##
========================================
+ Coverage   1.53%   1.56%   +0.02%
========================================
  Files         30      30
  Lines        912     895      -17
  Branches      88      86       -2
========================================
  Hits          14      14
+ Misses       898     881      -17

Impacted Files
Coverage Δ

GitTank/App.xaml.cs
0.00% <ø> (ø)

GitTank/Core/GitProcessor.cs
0.00% <0.00%> (ø)

GitTank/Core/ProcessHelper.cs
0.00% <ø> (ø)

GitTank/MainWindow.xaml
0.00% <ø> (ø)

GitTank/MainWindow.xaml.cs
0.00% <ø> (ø)

GitTank/Models/AppSettings.cs
0.00% <ø> (ø)

GitTank/Models/Configuration.cs
0.00% <ø> (ø)

GitTank/Models/Repository.cs
0.00% <ø> (ø)

GitTank/ViewModels/CreateBranchViewModel.cs
0.00% <ø> (ø)

GitTank/ViewModels/MainViewModel.cs
0.00% <ø> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Owner field doesn’t update after transfer

Describe the bug
After transferring ownership of a shared account, the 'Account owner' field doesn’t immediately update to the new owner’s name. (although the account role correctly changes from Owner to Manager). To see the updated name, the UI has to be reopened.
Framework
OX
Resource version
1.0.1
To Reproduce

Create a new account
Convert it to a shared account
Transfer ownership

Expected behaviour
The account owner name should reflect the new owner.
Actual behaviour
The account owner name remains as the old owner.
Screenshots
Before transfer (correct):

After transfer (wrong):

After UI re-open (correct):

Resolved in 8a3773e2654c511c7bd0bb030d6913f57539967e


Undiscovered bad indentation is one of RuboCop's spec files

I stumbled on a case of bad indentation in one of our specs:
https://github.com/rubocop-hq/rubocop/blob/c4e9a4f5f89bbd45b9687354179e211518690b2d/spec/rubocop/cop/style/parallel_assignment_spec.rb#L115-L126
I suspect it is related to the “concatenating strings over multiple lines using \” feature – which makes #4719 related too, I guess.

Expected behavior
RuboCop should have complained about bad indentation.
Actual behavior
RuboCop is silent.
Steps to reproduce the problem
In a checkout of the Rubocop source code:
git checkout c4e9a4f5f89bbd45b9687354179e211518690b2d
bundle exec rubocop spec/rubocop/cop/style/parallel_assignment_spec.rb

RuboCop version
Include the output of rubocop -V. Here's an example:
$ rubocop -V
0.57.2 (using Parser <IP_ADDRESS>, running on ruby 2.5.1 x86_64-darwin15)

@bquorning That has been broken for a long time, but I never found the time to address it. I've seen this problem at several places in the codebase.

I just looked into it.
Interesting thing is how parser count columns for parts of the string:
  'abc' \
  'def' \
  'ghi'

node.children.first.loc.column # ==> 2
node.children.last.loc.column # ==> 10
node.children.last.loc.column # ==> 18

So it seems like parser treats line break as a part of line since it is escaped via \ which is logical (I guess).
We can work this out by using #source_range and so on, but since we cant (or can we?) say where newline char is I cant  find a way to implement this cop. One can write this literals different ways:
'abc' \
'def'

'abc'\
'def'

'abc'      \
'def'

'or' 'even'   'like' \
'this'

I have never worked with rubocop and parser, so maybe I'm missing something.
@bbatsov

Yes, I think parser (or ast?) is currently too limited to fix this issue.


Allowing for multiple values for the same key in IndexSegment

Currently, an IndexSegment can have only value for a particular key which means that delete entries squash put entries if they occur in the same index segment. This commit changes this behavior to allow the IndexSegment to have more than one value for a key

Codecov Report

Merging #920 into master will increase coverage by 0.02%.
The diff coverage is 93.13%.

@@             Coverage Diff              @@
##             master     #920      +/-   ##
============================================
+ Coverage     67.24%   67.27%   +0.02%
- Complexity     4304     4312       +8
============================================
  Files           361      361
  Lines         28277    28324      +47
  Branches       3585     3595      +10
============================================
+ Hits          19015    19054      +39
- Misses         8259     8262       +3
- Partials       1003     1008       +5

Impacted Files
Coverage Δ
Complexity Δ

.../main/java/com.github.ambry.store/HardDeleter.java
81.61% <ø> (-0.33%)
41 <0> (-1)

...ava/com.github.ambry/store/CompactionVerifier.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.store/BlobStoreStats.java
69.85% <ø> (-0.48%)
80 <0> (ø)

...ava/com.github.ambry.store/BlobStoreCompactor.java
93.76% <ø> (+0.22%)
123 <0> (+1)
:arrow_up:

...ain/java/com.github.ambry/store/DumpIndexTool.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...main/java/com.github.ambry/store/DumpDataTool.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...n/java/com.github.ambry.store/PersistentIndex.java
91.1% <77.77%> (-0.07%)
174 <0> (ø)

...main/java/com.github.ambry.store/IndexSegment.java
86.08% <98.78%> (+1.1%)
91 <17> (+10)
:arrow_up:

.../main/java/com.github.ambry.router/EncryptJob.java
92.1% <0%> (-5.27%)
4% <0%> (-1%)

...b.ambry.network/BlockingChannelConnectionPool.java
62.6% <0%> (-0.87%)
7% <0%> (-1%)

... and 8 more

Continue to review full report at Codecov.

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

@pnarayanan Addressed comment and added all the tests I wanted to. Let me know if you have any special cases that you can think of.

Code looks good. Going to look at test.
I am curious about the intention of this change. We can talk offline.

I spend some time to think about replication.
The changes look good. It still work for journal or index based replication.
Some code changes about TTL_UPDATE is needed in replicaThread, this can be done in the future as long as we don't generate TTL_UPDATE record.

@pnarayanan reminder to review

@pnarayanan comments addressed

Reminder to review

@pnarayanan @zzmao Comments addressed

Just a few comments, LGTM overall.


v4: Sort by next

Edit: Not closing this but I will say I tried to write the logic for this and it's a nightmare. Any other sorting option would be sufficient.
This might already be possible in breadcrumbs, I'm not sure.
There could also be a better way to do it that is already baked in.
Is your feature request related to a problem? Please describe.
Sort order is a pain to manage, but I already have next relationships. Functionally this is a linked list and can be used for sort order. The problem is that maintaining sort order and defining it in breadcrumbs is difficult.
Describe the solution you'd like
For code blocks, sorting by the next relationships would be great. That way I don't have to define a numerical order or have it included in the name.
Describe alternatives you've considered
Originally I wanted to do this with dataview and the breadcrumbs API. I guess sort by creation date could work and be useful.
Additional context
I've been messing with the codeblocks and this occurred to me.
I set up an example vault to show this.

The files are linked by next sequentially

They all have 1 common parent

Ideally I could set the sort to be next and it would split out a flattened 'next' list while showing the hierarchy from down.

As a similar ask, it would be nice to be able to do something like
type: tree
dir: down
order-by: next
depth: -1

so that I can see the immediate children of this node, but ordered by those children's own next/prev property.

Tried writing the logic for this and it's a nightmare, both in terms of resources and how things need to be assessed.

Hey, thanks for giving it a try, I appreciate the effort.
I was going to take a look sometime. Perhaps there's a way to acheive this. Will keep it in mind

Hey, thanks for your input.
I've been thinking about this a bit, and I think a simple option is to pass the graph into the sort function, then for each node, fetch the first "next" neighbour, and set that as its sort key. It's a little inefficient to be fetching it more than once for each node. So perhaps the "nexts" can be memoised, but this should work

@SkepticMystic So, you mean you sort all the nodes in the graph? It's a tree, though--there is no single chain of next across everyone; just with a set of siblings.

No, not for all nodes, just the ones in a given list - like it is now when sorting by file path, for example.
So say you've set up a code block to show a tree of edges going down from the current note. The traversal will run as normal, getting the nested list of edges. Then we can sort them, doing something like the following (pseudo-codey for now):
const sort_by_field(graph: Graph, edges: Edge[], field: string) => edges.sort((a, b) => {
    const neighbours_a = graph.neighbours(a).filter(e => a.field === field)
    const neighbours_b = graph.neighbours(b).filter(e => b.field === field)

    if (!neighbours_a.length || !neighbours_b.length) {
        return 0
    } else {
        return neighbours_a[0].path - neighbours_b[0].path
    }
})

This achieves the same result as precomputing a next traversal. But the key here is that we don't need a chain, it can be done for each node in isolation.
If a node doesn't have outgoing neighbours for a given field, the traversal would have ended anyway.
If a node has multiple outgoing neighbours for a given field, there would have been ambiguity in the traversal method as well, so we just take the first.
What do you think? I believe this should work

@soulsynapse @tsbertalan I believe I've got this working!
In 4.0.22-beta, you can now sort by the neighbour of some field using the following syntax:
sort: neighbour:<field> desc

Let me know if it does what you're looking for, or if you run into any issues

WOW!! Works great!!
The reason I was hoping for this is that there's an entire subset of zettelkasten called folgezettel. There isn't really a solution for this in Obsidian right now.
But this makes it possible. What a game-changer!

Glad to hear it :)
I'll close this out for now then, thanks!

@SkepticMystic Do you mean something like this?
type: tree
title: false
dir: down
depth: -1
sort: neighbour:next desc

This seems to still be sorting by path or basename for me.

Now on 3.6.11, I have a block like
type: tree
fields: [down]
sort: neighbour-field:next
mermaid-direction: TB
depth: [0,0]

It almost seems to work, but there is one node C out of place in the order (and another E for which that order is not defined that seems to be arbitrarily slotted in where C should go):
In this example, A-D all have up relationships to the current page, and mutual next and prev to each other. E has up to the current page, but nothing else.
I expect A-D to be listed in order, with E shown anywhere in there, but I get instead C,A,B,E,D


Register API Endpoint to consul

Lets discuss on how useful could it be to register the API GW endpoint to consul as a service so we can use it from other providers like Terraform.
It would be nice to do HealthChecks also as it comes out of the box with consul. But not so sure about it.

Working on it. Will submit the first PR for this now

I merged your PR & did some fix. I'm closing this issue :)


Minor grammatical corrections

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


mixc doc documents nonexistent mixc quota command

The command mixc quota doesn't exist, but is documented here:
https://istio.io/docs/reference/commands/mixc.html#mixc-quota
The correct command should be mixc check -q=xxx or mixc check --quotas=xxx.

Docs are now clean.

Command 'mixc' not found, did you mean:

  command 'minc' from deb mblaze
  command 'mix' from deb elixir

Try: apt install <deb name>

But when I am trying to install it,
$ sudo apt install mixc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mixc

How to fix this issue?

from an istio.io/istio dir, you can type make mixc.

from an istio.io/istio dir, you can type make mixc.

Thanks


Front Page- subpage preview

Build this out according to mockup. Lorem ipsum is fine for now. Doesn't have to link to anything.
However, both desktop and mobile version should exist as per mockup.
Desktop

Mobile

Didn't include arrows in the colored blocks for mobile view as we will be addressing that as part of #6


Bump to Dart SDK 1.23.0-dev.11.6.

Pulls in latest 1.23. cherry picks, including @abarth’s fix to restrict @immutable checks to instance fields (https://github.com/dart-lang/sdk/issues/29290).
@abarth @tvolkert @goderbauer


Stopping tests is not working

Testing #24505

Started running all tests (>2K)
Clicked on Stop action and nothing happened

Hi @sandy081, I heard from others that the stop action just took a minute to finish. Did this happen or did it never finish?

I did not wait that much time, but I see all tests were finished by then.

closing since there is just a bit of a delay to when updating a large number of tests but it finished in the end


Go implementation does not provide SummaryImage/SummaryAudio

System information

Master branch of tensorflow/tensorflow latest. bb49eafc080caf205d5ba4478d9c93552ce46d57
Windows 10

Describe the current behavior
I can not decode bitmap to tensor on Go.
func decodeBitmapGraph() (*tf.Graph, tf.Output, tf.Output, error) {
	s := op.NewScope()
	input := op.Placeholder(s, tf.String)
	output := op.ExpandDims(
		s,
		op.DecodeBmp(s, input, op.DecodeBmpChannels(3)),
		op.Const(s.SubScope("make_batch"), int32(0)))
	graph, err := s.Finalize()
	return graph, input, output, err
}

Describe the expected behavior
This code did work correctly in Go 1.5 or later. But latest tensorflow does not. Probably, you provide SummaryImage to manipulate images for TF_STRING. But Go does not provide APIs for that.
EDIT
Current implementation return

error making input tensor: Malformed TF_STRING tensor; element 0 out of range

@mattn
Could you please verify this on latest version of tf and let us know.

I confirmed latest version fix this issue.


Not compatible with latest release of Scriptable Object Collection

In InitialSetupEditorWindow.cs:
CollectionsRegistry.Instance.TryGetCollectionFromType should be renamed to CollectionsRegistry.Instance.TryGetCollectionOfType
ScriptableObjectCollectionSettings.Instance.SetGenerateCustomStaticFile cannot be found since you refactored the settings on SOC and I don't know how to fix it myself, because I cannot find out what you did with it.

Hey! I'm still working on this UIManager, it should have a new version quite soon, but for now I would suggest that you would not use the updated version of the SCO

Fixed on #4


deps: upgrade to Cosmos v0.44.0

Description
This PR upgrades Desmos to use Cosmos v0.44.0.
Some tests might need some fixes.
Closes #585
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit tests.
[ ] Wrote integration tests (simulation & CLI).
[ ] Updated the documentation.
[ ] Added an entry to the CHANGELOG.md file.
[ ] Re-reviewed Files changed in the Github PR explorer.

I would like to ask both of you @bragaz @dadamu to approve this PR (I can't since I'm the one that made it) to make sure we all agree on the changed before merging it. Please do this after a detailed review


Allow configuring the endpoint for Azure

You can now configure the endpoint. The functionality already exists for AWS. By default, it's formatted like https://{storage_account}.{service_type}.core.windows.net , where service_type in this case is defined here.
Slack thread: https://neondb.slack.com/archives/C033RQ5SPDH/p1732529604254839

I don't think this is needed, so closing. Should we reconsider, we can always reopen.


Issue with k8s.io/docs/setup/production-environment/tools/kubeadm/ha-topology/

Sorry guys,
I wanted to ask a question. The first option the doc suggested: ask Stack Overflow. I did:
https://stackoverflow.com/questions/77270422/what-k8s-components-should-scale-up-on-control-nodes-when-adding-more-control-no
They closed it with 'not programming' question. So I think the feedback section of the docs should be updated.

related page: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/

/kind support

/close
github is also not the place to ask for support. please see:
https://github.com/kubernetes/kubernetes/blob/master/SUPPORT.md
we have k8s slack and support forums like discuss.k8s.io. third party platforms like serverfault and reddit can also be used for questions.

I wasn't asking for support!
I merely tried to suggest to fix the feedback section!

@gergaly
Please raise an issue with what you want add in this page/feedback session.


ControlUp now provides a JSON

https://www.controlup.com/latest-agent-console/
{ "GAed_Version": "v<IP_ADDRESS>8", "Agent" :{ "32bit-.net35": "https://downloads.controlup.com/agent/<IP_ADDRESS>8/ControlUpAgent-net35-x86-<IP_ADDRESS>8-signed.msi", "64bit-.net35": "https://downloads.controlup.com/agent/<IP_ADDRESS>8/ControlUpAgent-net35-x64-<IP_ADDRESS>8-signed.msi", "32bit-.net45": "https://downloads.controlup.com/agent/<IP_ADDRESS>8/ControlUpAgent-net45-x86-<IP_ADDRESS>8-signed.msi", "64bit-.net45": "https://downloads.controlup.com/agent/<IP_ADDRESS>8/ControlUpAgent-net45-x64-<IP_ADDRESS>8-signed.msi" }, "Console": "https://downloads.controlup.com/console/<IP_ADDRESS>8/ControlUp.zip" }

Sweet

@haavarstein there's a 404 on these JSON URLs now. Is there another location?

I've disabled these functions in the latest release until we can find the JSON again #129


BEP is loosing items when combined with flatMap

Regression caused by #2285
Reproducer with Multi:
        final int STREAM_SIZE = 1_000_000;
        ExecutorService exec = Executors.newFixedThreadPool(32);
        assertEquals(STREAM_SIZE, Multi.range(0, STREAM_SIZE)
                .flatMap(it -> {
                    BufferedEmittingPublisher<Integer> flatMapped = new BufferedEmittingPublisher<>();
                    exec.submit(() -> {
                        flatMapped.emit(it);
                        flatMapped.complete();
                    });
                    return flatMapped;
                })
                .collectList()
                .await()
                .size());

Reproducer with Reactor:
        final int STREAM_SIZE = 1_000_000;
        AtomicInteger cnt = new AtomicInteger();
        ExecutorService exec = Executors.newFixedThreadPool(32);
        Mono<?> promise = Flux.range(0, STREAM_SIZE)
                .flatMap(it -> {
                    BufferedEmittingPublisher<Integer> flatMapped = new BufferedEmittingPublisher<>();
                    exec.submit(() -> {
                        flatMapped.emit(it);
                        flatMapped.complete();
                    });
                    return FlowAdapters.toPublisher(flatMapped);
                }, 32, 32) // Same prefetch and concurrency as with Multi.flatMap
                .doOnNext(unused -> cnt.incrementAndGet())
                .ignoreElements();

            promise.block(Duration.of(10, ChronoUnit.SECONDS));
            assertThat(cnt.get(), is(equalTo(STREAM_SIZE)));

MultiRange is able to deliver signals out of order (against the specification). This has been noted in one of the previous issues with the use of flatMap and MultiRange. I have filed an internal ticket with a fix several months ago. Please, see if the race you experience here is still reproducible with it.


Library not loaded: libavcodec

Installation went all fine, but errors when running. Manually installing libav changes nothing.
$ brew install brewsci/science/butterflow
$ butterflow
Traceback (most recent call last):
  File "/usr/local/Cellar/butterflow/0.2.3_1/libexec/bin/butterflow", line 9, in <module>
    load_entry_point('butterflow==0.2.3', 'console_scripts', 'butterflow')()
  File "build/bdist.macosx-10.12-intel/egg/pkg_resources.py", line 356, in load_entry_point
  File "build/bdist.macosx-10.12-intel/egg/pkg_resources.py", line 2476, in load_entry_point
  File "build/bdist.macosx-10.12-intel/egg/pkg_resources.py", line 2190, in load
  File "/usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/cli.py", line 11, in <module>
    from butterflow import ocl, avinfo, motion, ocl
ImportError: dlopen(/usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/avinfo.so, 2): Library not loaded: /usr/local/opt/ffmpeg/lib/libavcodec.57.dylib
  Referenced from: /usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/avinfo.so
  Reason: image not found

Same

anyone solve this??

Same issue on High Sierra
ImportError: dlopen(/usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/avinfo.so, 2): Library not loaded: /usr/local/opt/ffmpeg/lib/libavcodec.57.dylib


feat(build-common): Add ae-undocumented rule to base API-Extractor config

The ae-undocumented rule enforces that items bundled in the package exports rollup contain TSDoc comment content.
For now, the rule is enabled to log violations to the generated API report documents, rather than failing the build. We will consider promoting this to a build failure in the future, and packages can opt into build failure policy as desired in the interim.

Can we switch to relative references for the inherited configs so we don't have to publish a new version? This is especially important now since we know we will want to make changes to the shared config over the next few weeks.

Consider adding the settings to each package individually for now instead of publishing a new version. Once we know the shared settings are stable, we can publish a new version and start using it.

Can we switch to relative references for the inherited configs so we don't have to publish a new version? This is especially important now since we know we will want to make changes to the shared config over the next few weeks.

Yeah, I can start updating packages to start using file: imports for this package and go that route.

Can we switch to relative references for the inherited configs so we don't have to publish a new version? This is especially important now since we know we will want to make changes to the shared config over the next few weeks.

Yeah, I can start updating packages to start using file: imports for this package and go that route.

I meant just changing the "extends" in the api-extractor config to use a relative path, similar to what we've been doing with the shared tsconfigs.

Can we switch to relative references for the inherited configs so we don't have to publish a new version? This is especially important now since we know we will want to make changes to the shared config over the next few weeks.

Yeah, I can start updating packages to start using file: imports for this package and go that route.

I meant just changing the "extends" in the api-extractor config to use a relative path, similar to what we've been doing with the shared tsconfigs.

Oh, sure, that works too.


Add Holzworth HS9008B, General Microwave GM349, and NI DAQ drivers

Slightly modified Holzworth HS900 driver so that it now works properly for Holzworth HS9008B signal generators. Modified National Instrument DAQ driver so that digital output devices can now be properly controlled. Tested with NI PXI-6509.

@ty-zhao May I ask what you had to change to make the driver working with the model HS9008B?

@ty-zhao May I ask what you had to change to make the driver working with the model HS9008B?

Just a minor change. On line 246 of the original HS900 driver, I changed terminator='\n' to termintor=''. The return strings of our HS9008B don't have '\n' as the line terminator. Using the original driver would cause a timeout error.

Just a minor change. On line 246 of the original HS900 driver, I changed terminator='\n' to termintor=''. The return strings of our HS9008B don't have '\n' as the line terminator. Using the original driver would cause a timeout error.

I see. But for that you do not need to change the driver. You could just pass the terminator string (in your case "") in the init-function when you initialize your device, no?

I see. Well then I guess it is complicated to have a single file only.


Problem with disjunction and node prioritization

Background
I have a working solution to a multi-day TSP with time windows. Each day at the end of the day, there is a node with a long service time and a constraint to be visited at a specific time.
I am using PARALLEL_CHEAPEST_INSERTION and GUIDED_LOCAL_SEARCH.
Disjunctions
I also have disjunctions, since the input nodes are sometimes not all visitable within the given timeframe.
    def _add_disjunction(self):
        self.log.info('Adding disjunctions')
        origin_location = self.locations[0]
        base_penalty = 100000
        repeat_nodes = self._nodes_involved_in_repeats()
        for node, location in enumerate(self.locations):
            if (location.is_same_doctor(origin_location)
                    or location in {app.location for app in self.appointments}
                    or node in repeat_nodes
                    or getattr(location, 'is_required', False)
            ):
                self.routing_model.AddDisjunction([node], 100000000)
            else:
                multiplier = getattr(location, 'skip_cost_multiplier', 1)
                penalty = int(multiplier * base_penalty)
                self.routing_model.AddDisjunction([node], penalty)

New features
I am trying to add two new features:

Make a node required
Add the ability to have prioritization through the skip_cost_multiplier seen above.

    def _add_required_constraints(self):
        required_nodes = [node for node, loc in enumerate(self.locations) if getattr(loc, 'is_required', False)]
        for node in required_nodes:
            index = self.routing_model.NodeToIndex(node)
            self.solver.Add(self.routing_model.ActiveVar(index) == 1)

The Problem
The issue is that the solver does not seem to be using the disjunctive cost or objective function in prioritizing its search for the first solution or the guided local search. So, runs end up having high objective cost though a much lower objective cost solution should be easily found, even by removing multiple nodes from the solution and replacing it with one of the high disjunctive cost nodes.
How do I get either the first solution or search strategy to find paths that optimize the objective cost (dominated by the disjunctive cost) more efficiently?
With the above code, similarly, the model will not find a place for the required node that has both high disjunctive cost and the Active constraint.
How do I efficiently require a node to be visited if different from above answer?

With 7.0 and above, only nodes appearing in a disjunction are optional.
All other nodes are mandatory.
Please try with the latest version.


initial: on the way to something

This adds an initial publically visible checkpoint. No where near done.

Not what I wanted. Sigh github.


Add granular UAS to Traffic Router

TR is currently using Java/{version} as its user agent string, I would like for this to be more granular and report that it is a traffic_router

This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:

Traffic Router

Current behavior:

Not descriptive enough, could be any Java client hitting TO
New behavior:

Produces better logs

I want to work on this issue to start contributing as a newcomer. Please assign this to me.

Feel free to submit a pull request, you should be assigned afterwards.

i want to work on this issue ,its really interesting to solve. I request, pls assign me this project.

i want to work on this issue ,its really interesting to solve. I request, pls assign me this project.

Feel free to submit a PR. You should be assigned after the PR is submitted.

Hi there,
I'm new to working on the traffic controller and I've managed to build all the components using the pkg command. However, I couldn't locate documentation on how to run it locally.
I'm eager to contribute and started by exploring this issue. I noticed this line where we could potentially hard code the string as "traffic_router". Is this a feasible approach?
Could someone guide me on running traffic control locally? I'd love to test this change and then create a PR following the community guidelines.
Thanks in advance for any assistance!


Birdseye not available after update from v4.0.0 to v5.0.0-beta.1

Version of the custom_component
V5.0.0-beta.1

Configuration
My Frigate instance (0.12.1-367D724) is running in a LXC container on Proxmox (http://<IP_ADDRESS>:5000), I have 6 cameras, 4 of them configured to show in birdseye, plus I'm also restreaming birdseye.
Both my HA instances (prod/test) run as VMs on the same Proxmox.
Relevant frigate config (let me know if you need anything else)
ffmpeg:
  output_args:
    record: preset-record-generic-audio-copy
  hwaccel_args: preset-vaapi

birdseye:
  enabled: true
  mode: continuous
  restream: true

detectors:
  coral:
    type: edgetpu
    device: usb

Describe the bug
After upgrading the Frigate integration (via HACS) from v4.0.0 to v5.0.0-beta.1 in my production instance, the birdseye camera was no longer available (the entity still existed, but was unavailable). Reverting back to v4.0.0 fixed the issue.
I have then installed v5.0.0-beta.1 as a fresh install in my test instance and when connected to the same Frigate, with the same outcome - the Birdseye device exists, shows the correct thumbnail but doesn't actually stream
v5.0.0-beta.1:

v4.0.0:

Debug log

This is the only possibly relevant entry I can see in my logs, but I say possibly, because I see it even when I'm using v4.0.0 and birdseye actually works... plus even VLC won't open the stream from that IP/port.
Source: components/stream/__init__.py:434
Integration: Stream ([documentation](https://www.home-assistant.io/integrations/stream), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+stream%22))
First occurred: 2:34:12 PM (4 occurrences)
Last logged: 2:35:12 PM

Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://<IP_ADDRESS>:8554/birdseye

it's working as expected for me.
Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://<IP_ADDRESS>:8554/birdseye
is frigate not hosted at <IP_ADDRESS> ? that connection being refused means birdseye can't get a stream

OK.. that lead me down the path I should have explored even before raising the bug.. I was missing port 8554 in the config of the stack in Portainer that runs the Frigate docker, now I can open the stream in VLC plus birdseye now works even in v5.0.0-beta.1
    ports:
      - 5000:5000
      - 1935:1935
      - 8555:8555/tcp
      - 8555:8555/udp
      - 8554:8554/tcp - added
      - 8554:8554/udp - added

Interestingly enough, it worked even without this port until v4.0.0 - did anything change here between the versions?


Ability to manually edit md5 hashes

+1

Just curious - what purpose would manually editing a md5 hash have?
md5 hashes are - what i assume - to ensure a file was downloaded correctly.  Changing even one character in the md5 hash would invalidate that hash and that particular file
Technically a SHA-1 hash would be better but that might put undue overhead on servers hosting files

I think the idea is for large zips to be manually md5'd then inputted into solder without having to manually edit the db.

Correct, currently md5-hashing zips are prone to failure if there are over 64MB due to the default memory_limit set in PHP's configuration. (php.ini).
This is just an easier way to allow mod pack owners to manually md5 the zip and add it, without having to wait for PHP to inefficiently do it.


Sharepoint to Mysql : data randomly pushed to mysql table

Hi,
I have seen during my test phase that the rows are not pushed at every sync
I have attached the different scenarios
cloudquery - TableExistingNoRowsadded.log
cloudquery - TableExistingRowsAdded.log
cloudquery - TableCreatedNoRowsadded.log
cloudquery - TableCreatedRowsadded.log
Is it possible to use the sync to do a daily update ?
Thanks
Fred

I'm not sure I'm following. Are you saying you end up with different results syncing the same source (a single SharePoint list data as I can see from the logs)?
Can you separate it from a potential MySQL destination issue and try to sync to sqlite v2.0.4 for instance?
What's the version of MySQL destination plugin you're using?
The results of the sync when you run first or any upcoming sync should always align destination with source (creating new, deleting removed and updating changed items), and running sync on a schedule basis is the common scenario.
I'm not able to repro, e.g. I have 1000 items in a list.

Initial sync creates 1000 items in a destination
Removing items ends up with -N in a destination
Adding items results with +N in a destination
Updating items effects destination values

Maybe it's something within the destination plugin. I'll check how my sync scenarios effects in MySQL.
If it's destination plugin issue when should be asked to CloudQuery repo.
For the source plugins, the destinations are abstracted behind an interface so no difference is it a PostgreSQL or Snowflake or MySQL.

Going to close the ticket.


feat: add navi user button

adds navi user button
refactoring for avatar

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Editor list - Unable to dynamically set

I need to dynamically set the list options for a field editor like this:
this.derivedSettings.columns.parent_name.editor.config.list.push({ value: element.name, title: element.name});

But this doesn't work. List items only show when explicitly written in when declaring the settings object. Any workaround to force this to work / reload settings?

Something weird when using async behavior. I solved by loading external data in a parent component and feeding it in.


feat (docs): added docs regarding local development for Run services

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

Comparison is base (1d55d3e) 86.85% compared to head (1dab628) 86.85%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2488   +/-   ##
=======================================
  Coverage   86.85%   86.85%
=======================================
  Files          85       85
  Lines        9296     9296
  Branches      481      481
=======================================
  Hits         8074     8074
  Misses       1222     1222

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


加载扩展报错

checkPropTypes.js:20
   Warning: Failed prop type: Invalid prop `messages.gdxfor.getAcceleration` of type `object` supplied to `Blocks`, expected `string`.
in Blocks (created by Connect(Blocks))
in Connect(Blocks) (created by ErrorBoundaryWrapper)
in ErrorBoundary (created by Connect(ErrorBoundary))
in Connect(ErrorBoundary) (created by ErrorBoundaryWrapper)
in ErrorBoundaryWrapper (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by TabPanel)
in TabPanel (created by MediaQuery)
in div (created by UncontrolledTabs)
in UncontrolledTabs (created by Tabs)
in Tabs (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in div (created by Box)
in Box (created by MediaQuery)
in MediaQuery (created by GUIComponent)
in GUIComponent (created by Connect(GUIComponent))
in Connect(GUIComponent) (created by InjectIntl(Connect(GUIComponent)))
in InjectIntl(Connect(GUIComponent)) (created by GUI)
in GUI (created by Connect(GUI))
in Connect(GUI) (created by InjectIntl(Connect(GUI)))
in InjectIntl(Connect(GUI)) (created by CloudManager)
in CloudManager (created by Connect(CloudManager))
in Connect(CloudManager) (created by SBFileUploaderComponent)
in SBFileUploaderComponent (created by Connect(SBFileUploaderComponent))
in Connect(SBFileUploaderComponent) (created by InjectIntl(Connect(SBFileUploaderComponent)))
in InjectIntl(Connect(SBFileUploaderComponent)) (created by VMManager)
in VMManager (created by Connect(VMManager))
in Connect(VMManager) (created by VMListener)
in VMListener (created by Connect(VMListener))
in Connect(VMListener) (created by ProjectSaverComponent)
in ProjectSaverComponent (created by Connect(ProjectSaverComponent))
in Connect(ProjectSaverComponent) (created by TitledComponent)
in TitledComponent (created by Connect(TitledComponent))
in Connect(TitledComponent) (created by InjectIntl(Connect(TitledComponent)))
in InjectIntl(Connect(TitledComponent)) (created by ProjectFetcherComponent)
in ProjectFetcherComponent (created by Connect(ProjectFetcherComponent))
in Connect(ProjectFetcherComponent) (created by InjectIntl(Connect(ProjectFetcherComponent)))
in InjectIntl(Connect(ProjectFetcherComponent)) (created by QueryParserComponent)
in QueryParserComponent (created by Connect(QueryParserComponent))
in Connect(QueryParserComponent) (created by FontLoaderComponent)
in FontLoaderComponent (created by Connect(FontLoaderComponent))
in Connect(FontLoaderComponent) (created by ErrorBoundaryWrapper)
in ErrorBoundary (created by Connect(ErrorBoundary))
in Connect(ErrorBoundary) (created by ErrorBoundaryWrapper)
in ErrorBoundaryWrapper (created by LocalizationWrapper)
in IntlProvider (created by Connect(IntlProvider))
in Connect(IntlProvider) (created by LocalizationWrapper)
in LocalizationWrapper (created by Connect(LocalizationWrapper))
in Connect(LocalizationWrapper) (created by HashParserComponent)
in HashParserComponent (created by Connect(HashParserComponent))
in Connect(HashParserComponent) (created by AppStateWrapper)
in IntlProvider (created by Connect(IntlProvider))
in Connect(IntlProvider) (created by AppStateWrapper)
in Provider (created by AppStateWrapper)
in AppStateWrapper

目前已知不是l10n和vm的锅

这警告不用管


Add support for app factory pattern

Added support for app factory pattern
Updated README to point to correct PyPi package name request-id-flask instead of the Chinese module this appears to be based on
Updated README to reference support for app factory pattern
Updated README to include example of requirements.txt and its usage
Updated setup.py supported Python versions list to show specific version support on PyPi package page. I'm using this module on Python 3.12, so I added support for versions 3.6 - 3.12.
Bumped module version to 0.0.3 in setup.py

Thanks for the contribution!


[Boltz v2] Notes on expected behaviour with v2

Boltz v2 is currently supported in boltz-dart and bullbitcoin-mobile can now update the *V1Swap classes to *V2Swap classes without any major breaking changes. All the existing methods work however there will be some new methods to support stuff like cooperative signing.
With the addition on taproot support, it is now possible for claims and refunds to be signed cooperatively - which has the benefit of the swap looking like a standard single sig taproot. If cooperative signing is not possible, we can use the script path signing, which is like v1 and onchain it will be clear that the transaction is a swap.
The other benefit of the cooperative sign is in the cases of reverse swap refund. We have not faced this issue in dev but in prod it is quite common that for non-malicious reasons, boltz is unable to complete the swap - for example, if their liquidity sees a sudden drop just after the moment the user starts a swap. Boltz has reported that they have had several cases where swaps cannot be completed from their end which leads to a user needing to do a refund. This will be reflected by a transaction status:
transaction.failed - this should trigger a cooperative refund.
In v1, users would have to wait for 2 weeks to refund. Now in v2, with cooperative signing, we can request a refund immediately and boltz can cooperatively sign with us to refund the transaction.
Additionally, for submarine swaps - there is a status transaction.claim.pending - where basically boltz needs to claim the transaction and requires us to support them in creating a cooperative claim. So submarine swap has the additional step of posting cooperative claim details to boltz when we get this status. Boltz will not wait long for us to cooperate. If they don't get a response for a while, they will claim via script path, and thats a chance lost to improve privacy.

TL;DR (please do read though ;)
New methods in *V2Swap, only applicable to submarine swaps

coopRefund() triggered by status transaction.lockupFailed or transaction.invoiceFailedToPay - to request boltz to cooperate in our refund tx
coopClaim() triggered by status transaction.claim.pending - to cooperate with boltz in their claim tx

reverse swaps flow stays unchanged

reverse swap defaults to coopoerative, we need to add a check, incase boltz doesnt cooperate we need to fall back to script path spend - where try_cooperate: false


Canvas support

Added support for Canvas objects in nk_love_checkImage

Closed this because it had a commit that did not belong and I couldn't figure out how to remove it from the PR.


Align name of release files for easier consumption

This PR also split workflows in the attempt to decrease the time required to build/release.
Note that the workflow split between all-libs and libgit2-only is a step stone towards the decommissioning of Managed Transport. Once that takes place we no longer will require all-libs and the compilation times that comes with it.
Relates to https://github.com/fluxcd/source-controller/issues/820 and https://github.com/fluxcd/image-automation-controller/issues/404.

Build seems stuck, do will close and reopen the PR as nothing else seem to get build back.

Closed in favour of https://github.com/fluxcd/golang-with-libgit2/pull/32 due to the issues with GitHub checks.


Add public examples to std.variant + DScanner check

@wilzbach Please version out the symlink tests for Windows.

@wilzbach Please version out the symlink tests for Windows.

Yeah I discovered the same, sorry -> https://github.com/dlang/phobos/pull/6326
(though I still don't know why auto-tester allowed the other PR to be merged)


You can't navigate back from last tab to first on iOS, if the tab has auto width

Current Behavior
When I give a width: 'auto' or width: null, flex: 1 to the tabStyle, I can't navigate back from last page if there is not enough tab to overflow the screen.
Expected Behavior
Either to be able to scroll the tabbar or to not move the selected tab item to the left side of the screen like on android.
How to reproduce
In the demo, on iOS select the Settings2 menu and try to navigate back to Home menu.
A device which is big enough either on portrait or landscape to show all tabs.
Your Environment

software
version

react-navigation
2.18.2

react-native
0.57

node
10.13.0

npm or yarn
yarn

@satya164 - not sure what the expected behavior is for top tabs or if this is supported. @Xyzor it might be helpful if you share a mockup or description of what you're trying to accomplish

My main goal is to use flex: 1 on tabStyle, instead of fixed width, because with fixed width the tab's label either break into new lines or some tabs are unnecessarily wide.
On android the demo is working because when i select a tab, it doesn't move to the left.

The width depends on the width of the tab bar. Dynamic width for the tab items is not supported because it's every complicated to implement. I'm not sure what you're trying to achieve, but you probably need to customize the tab bar itself or use a custom tab bar.

@satya164 Thanks for the info.


feat (167): User Delete Endpoint

What Does The PR do?
This PR is about deleting a user
How should this be manually tested?
Send a DELETE request to /api/v1/users/:user_id
Checklist of what you have just done

[X ] Define API endpoint to soft delete a user.
[X ]  Validate and handle authentication token.
[ X]  Implement logic to soft delete user information from the database.
[ X]  Handle success and error responses.
[ X]  Test Successful response

Test Screenshot

Fix the title (remove the number, its not needed). And also please try to fix your workflow

All fixed!

Your workflow needs to be corrected. Remove modules that were not called

Fixed!

Add a link to your issue


Build Error

Hello. I have A1 and I am trying to set up the environment.
Currently, my catkin_ws is named a1_ws and I have src, devel and build folder within it.
Within the src folder, I have included unitree_ros folder and unitree_legged_sdk.
When I try to run catkin_make, I get the following error about unitree_legged_sdk.h
`dlee640@dlee640-ThinkPad-T580:~/a1_ws$ catkin_make -DCATKIN_WHITELIST_PACKAGES=""
Base path: /home/dlee640/a1_ws
Source space: /home/dlee640/a1_ws/src
Build space: /home/dlee640/a1_ws/build
Devel space: /home/dlee640/a1_ws/devel
Install space: /home/dlee640/a1_ws/install

Running command: "make cmake_check_build_system" in "/home/dlee640/a1_ws/build"

Running command: "make -j8 -l8" in "/home/dlee640/a1_ws/build"

[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target geometry_msgs_generate_messages_lisp
[  0%] Built target sensor_msgs_generate_messages_lisp
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_IMU
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_HighCmd
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_MotorState
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_LowState
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_LED
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_HighState
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_MotorCmd
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_LowCmd
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target sensor_msgs_generate_messages_py
[  0%] Built target geometry_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target sensor_msgs_generate_messages_cpp
[  0%] Built target _unitree_legged_msgs_generate_messages_check_deps_Cartesian
[  0%] Built target std_msgs_generate_messages_eus
[  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_eus
[  0%] Built target sensor_msgs_generate_messages_eus
[  0%] Built target std_msgs_generate_messages_nodejs
[  0%] Built target geometry_msgs_generate_messages_nodejs
[  0%] Built target tf2_msgs_generate_messages_nodejs
[  0%] Built target sensor_msgs_generate_messages_nodejs
[  0%] Built target controller_manager_msgs_generate_messages_lisp
[  0%] Built target tf2_msgs_generate_messages_py
[  0%] Built target tf2_msgs_generate_messages_lisp
[  0%] Built target tf2_msgs_generate_messages_eus
[  0%] Built target tf2_msgs_generate_messages_cpp
[  0%] Built target actionlib_msgs_generate_messages_py
[  0%] Built target actionlib_msgs_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_eus
[  0%] Built target rosgraph_msgs_generate_messages_py
[  0%] Built target actionlib_msgs_generate_messages_nodejs
[  0%] Built target actionlib_msgs_generate_messages_cpp
[  0%] Built target rosgraph_msgs_generate_messages_lisp
[  0%] Built target rosgraph_msgs_generate_messages_nodejs
[  0%] Built target rosgraph_msgs_generate_messages_eus
[  0%] Built target tf_generate_messages_eus
[  0%] Built target tf_generate_messages_cpp
[  0%] Built target rosgraph_msgs_generate_messages_cpp
[  0%] Built target roscpp_generate_messages_lisp
[  0%] Built target roscpp_generate_messages_py
[  0%] Built target tf_generate_messages_lisp
[  0%] Built target roscpp_generate_messages_nodejs
[  0%] Built target roscpp_generate_messages_eus
[  0%] Built target tf_generate_messages_nodejs
[  0%] Built target actionlib_generate_messages_cpp
[  0%] Built target actionlib_generate_messages_eus
[  0%] Built target actionlib_generate_messages_nodejs
[  0%] Built target tf_generate_messages_py
[  0%] Built target actionlib_generate_messages_lisp
[  0%] Built target roscpp_generate_messages_cpp
[  0%] Built target actionlib_generate_messages_py
[  0%] Built target controller_manager_msgs_generate_messages_eus
[  0%] Built target controller_manager_msgs_generate_messages_nodejs
[  0%] Built target controller_manager_msgs_generate_messages_py
[  0%] Built target controller_manager_msgs_generate_messages_cpp
[  2%] Built target unitree_move_kinetic
[  5%] Built target unitree_external_force
[ 18%] Built target unitree_legged_msgs_generate_messages_lisp
[ 33%] Built target unitree_legged_msgs_generate_messages_cpp
[ 46%] Built target unitree_legged_msgs_generate_messages_py
[ 49%] Built target unitreeFootContactPlugin
[ 52%] Built target unitreeDrawForcePlugin
[ 65%] Built target unitree_legged_msgs_generate_messages_nodejs
[ 79%] Built target unitree_legged_msgs_generate_messages_eus
[ 79%] Built target unitree_legged_msgs_gencpp
[ 81%] Building CXX object unitree_ros/unitree_legged_real/CMakeFiles/velocity_lcm.dir/src/exe/velocity_mode.cpp.o
[ 81%] Built target unitree_legged_msgs_generate_messages
[ 82%] Building CXX object unitree_ros/unitree_legged_real/CMakeFiles/position_lcm.dir/src/exe/position_mode.cpp.o
[ 84%] Building CXX object unitree_ros/unitree_legged_real/CMakeFiles/walk_lcm.dir/src/exe/walk_mode.cpp.o
[ 85%] Building CXX object unitree_ros/unitree_legged_real/CMakeFiles/torque_lcm.dir/src/exe/torque_mode.cpp.o
[ 88%] Built target unitree_controller
[ 91%] Built target unitree_legged_control
[ 94%] Built target unitree_servo
/home/dlee640/a1_ws/src/unitree_ros/unitree_legged_real/src/exe/walk_mode.cpp:13:10: fatal error: unitree_legged_sdk/unitree_legged_sdk.h: No such file or directory
#include "unitree_legged_sdk/unitree_legged_sdk.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/dlee640/a1_ws/src/unitree_ros/unitree_legged_real/src/exe/torque_mode.cpp:12:10: fatal error: unitree_legged_sdk/unitree_legged_sdk.h: No such file or directory
#include "unitree_legged_sdk/unitree_legged_sdk.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
unitree_ros/unitree_legged_real/CMakeFiles/walk_lcm.dir/build.make:62: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/walk_lcm.dir/src/exe/walk_mode.cpp.o' failed
make[2]: *** [unitree_ros/unitree_legged_real/CMakeFiles/walk_lcm.dir/src/exe/walk_mode.cpp.o] Error 1
CMakeFiles/Makefile2:2862: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/walk_lcm.dir/all' failed
make[1]: *** [unitree_ros/unitree_legged_real/CMakeFiles/walk_lcm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
unitree_ros/unitree_legged_real/CMakeFiles/torque_lcm.dir/build.make:62: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/torque_lcm.dir/src/exe/torque_mode.cpp.o' failed
make[2]: *** [unitree_ros/unitree_legged_real/CMakeFiles/torque_lcm.dir/src/exe/torque_mode.cpp.o] Error 1
CMakeFiles/Makefile2:3231: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/torque_lcm.dir/all' failed
make[1]: *** [unitree_ros/unitree_legged_real/CMakeFiles/torque_lcm.dir/all] Error 2
/home/dlee640/a1_ws/src/unitree_ros/unitree_legged_real/src/exe/velocity_mode.cpp:13:10: fatal error: unitree_legged_sdk/unitree_legged_sdk.h: No such file or directory
#include "unitree_legged_sdk/unitree_legged_sdk.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
/home/dlee640/a1_ws/src/unitree_ros/unitree_legged_real/src/exe/position_mode.cpp:13:10: fatal error: unitree_legged_sdk/unitree_legged_sdk.h: No such file or directory
#include "unitree_legged_sdk/unitree_legged_sdk.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
unitree_ros/unitree_legged_real/CMakeFiles/position_lcm.dir/build.make:62: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/position_lcm.dir/src/exe/position_mode.cpp.o' failed
make[2]: *** [unitree_ros/unitree_legged_real/CMakeFiles/position_lcm.dir/src/exe/position_mode.cpp.o] Error 1
unitree_ros/unitree_legged_real/CMakeFiles/velocity_lcm.dir/build.make:62: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/velocity_lcm.dir/src/exe/velocity_mode.cpp.o' failed
make[2]: *** [unitree_ros/unitree_legged_real/CMakeFiles/velocity_lcm.dir/src/exe/velocity_mode.cpp.o] Error 1
CMakeFiles/Makefile2:3140: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/position_lcm.dir/all' failed
make[1]: *** [unitree_ros/unitree_legged_real/CMakeFiles/position_lcm.dir/all] Error 2
CMakeFiles/Makefile2:2953: recipe for target 'unitree_ros/unitree_legged_real/CMakeFiles/velocity_lcm.dir/all' failed
make[1]: *** [unitree_ros/unitree_legged_real/CMakeFiles/velocity_lcm.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
`
What am I doing wrong?

This issue has been solved.

Hello, I come up with similar problem, may I ask how do you solve your problem?

Hello, I come up with similar problem, may I ask how do you solve your problem?

@dlee640  what did you do to solve the error am getting the same error ?

Add following to your workspace/src/CMakeLists.txt
include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)

I added the instruction, but still not working any other suggestion please ?

Same problem... I can not solve with suggest above. Please be more elaborate.

So I have the same problem.
As far as I understand, the cpp files in the unitree_legged_real package (from the unitree_ros_to_real repository) include the unitree_legged_sdk.h file.
This file however is located in the unitree_legged_sdk repository and therefore not in the same package..
So my guess wold be to include this repo somehow in the CMakeLists.txt.

Has someone fix this problem ?

Hi @JulienRineau !
You have to include the the "include" directory of the SDK in your CMakeLists.txt file:
https://github.com/JonasFovea/unitree_ros_to_real/blob/61857e62a421ea3dd403ee5a7242c724a4c3b19e/unitree_legged_real/CMakeLists.txt#L29-L37
If you have further build errors, you can have a look into my forks of the SDK and this repo, in the verions I'll link below, the branches are working well for me and the Go1 robot.
https://github.com/JonasFovea/unitree_legged_sdk/tree/fix
https://github.com/JonasFovea/unitree_ros_to_real/tree/chip
If you have further questions, feel free to ask!

Thank you @JonasFovea for your answer.
I have this error when I try to build the a1_cpp package.
Even after making the changes you mentioned (I tried both in unitree_legged_real and my a1_cpp package) I still have the following error:
[ 82%] Building CXX object CMakeFiles/hardware_a1_lib.dir/src/HardwareA1ROS.cpp.o
In file included from /home/parallels/capstone/workspace/src/a1_cpp/src/HardwareA1ROS.cpp:5:
/home/parallels/capstone/workspace/src/a1_cpp/src/HardwareA1ROS.h:40:10: fatal error: unitree_legged_sdk/unitree_legged_sdk.h: No such file or directory
   40 | #include "unitree_legged_sdk/unitree_legged_sdk.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/hardware_a1_lib.dir/build.make:63: CMakeFiles/hardware_a1_lib.dir/src/HardwareA1ROS.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:300: CMakeFiles/hardware_a1_lib.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
<== Failed to process package 'a1_cpp':
  Command '['/home/parallels/capstone/workspace/devel_isolated/unitree_legged_msgs/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2.

Reproduce this error by running:
==> cd /home/parallels/capstone/workspace/build_isolated/a1_cpp && /home/parallels/capstone/workspace/devel_isolated/unitree_legged_msgs/env.sh make -j4 -l4

Command failed, exiting.

Am I doing something wrong ?

@JulienRineau could you give us the link to your fork of the mentioned repository?
Or at least the content of your CMakeLists.txt and your directory tree?
I'm really not sure, what causes your problem.
But I'm definitely no expert on CMake and catkin...


Specify the task1 of TruthTable kata clearly in qsharp and jupyter frontend

Currently, the Truth Tables kata asks learner to define two new truth tables x2 and x3, but the intention is not clearly specified.
Therefore some description can be added, specifying that :
x2 should be true for : 010,011,101,110
x3 should be true for : 100,101,110,111

Would be happy to send in a fix.

I think that this would give away too much information. The task states that x2 and x3 are projective functions for elementary variables, and provides the on-set for x1 as an example. The readers of this task should determine the on-sets should determine the on-sets for x2 and x3 themselves. One might point to the x2 column in the table above as a hint.

Thanks @msoeken for the clarification

Hi, @msoeken @tcNickolas , I was thinking if we could add a couple of new tasks in Truth Tables kata.
Honestly I was confused about the intension of task1. From the example in the explaination of truth table of  (x1 AND x2), I was expecting a similar kind of task, ie ( (x1 AND x2 AND x3), (x1 AND x2 AND x3) or any descriptive task like either one of x1,x2 and x3 is true).
Also, I felt example of x1 to be a bit misleading. In theory we were mentioning projective functions, f as a mapping from n-inputs to a single output. So, I misunderstood first task as the
Given : x1 should be true for : 001,011,101,111
Goal : To specify the truth table for x1 in binary form.
Some of the new tasks which I think can be added

Specify truth table for 3-bit input function (x1 AND x2 AND x3)
Specify truth table for 3-bit input function if exactly 1 bit out of x1, x2 or x3 is true
Specify truth table for 3-bit input function if exactly 2 bits out of x1, x2 or x3 is true

Another suggestion
Also, I think it would be nice if we could explain AND, OR, XOR to the learner by providing the truth tables for 2 bits instead of just asking them to use the bitwise operators. Although, I am not sue whether we wuld want to do this in the Truth Tables kata, since katas are supposed to provide high level implementation. What are your about making a tutorial for the same?

Hi @Manvi-Agrawal. I think the two tasks you are mentioning is interesting. I don't quite agree with explaining AND, OR, and XOR as 2-input truth tables instead of the bitwise operators. These are two different things. For the latter, we perform the AND of the two truth tables, which is essentially performing the 2-input AND on each pair of bits. This can be done efficiently on an int by using bitwise operations.

Hi @msoeken. Thanks for the compliment. Also, got the point of not explaining the truth tables of AND, OR and XOR as it would complicate the things for the learner.

Hi @msoeken @tcNickolas, can I go ahead with adding these new tasks in the Truth Tables kata? Thinking of raising a new issue and raising a new PR for the same.

@Manvi-Agrawal Are you thinking new tasks should be similar to the first task, so that the truth tables would have to be hardcoded rather than obtained by some manipulations from simpler ones like the later tasks? I agree, this could be helpful to practice converting truth tables to integers before we move on to manipulating those integers. Feel free to send a PR (well, probably after the CI build on this one finishes and we merge it - our CI has been slow today so it might take some time...)

Hi @tcNickolas.  I like your suggestion to extend these two tasks so that they can be obtained by some manipulations from simple truth tables. I was thinking of new tasks so that truth tables would have to be hardcoded. So, maybe after the first task, learner can be asked to implement the these truth tables as hardcoded values. After learning the AND, OR, XOR,NOT, and if then else, the learner can be encouraged to do the same tasks using the TTOr operation.
Also, I am hoping to finish this task by the end of month since I have a couple of pending items.

These specific tasks look like they'd be easier done hardcoded than using elementary operations, so I'd probably just keep them hardcoded.
Sure, no rush - I have plenty of reviews to catch up on! (not to mention everything else...)

Sounds good


Can't add firewall rule on MacOS

Azure Data Studio Version: 1.46.0-rc1
OS Version: MacOS 13.5.2

Steps to Reproduce:

Connect to Server that needs a firewall rule added
The Firewall rule dialog gets stuck on the loading screen like below:

When cancel is selected, this error is displayed in the DevToolsConsole:

Something was in a weird state with my settings, Cheena was not able to repro this and after removing the ADS settings folder for a fresh start, this problem went away.