is it possible to make a matter bridge with esp32 and control other devices with it ? (CON-1261)

for example: ı want to add my two light to a matter bridge and add others to another mather bridge and ı want to control them with bridges.
lights should be any company.

May be for general information about Matter bridge please check this medium article.
Back to your original question: Yes, it is possible to make Matter bridge with ESP32, few bridge examples here: blemesh-bridge, esp-now-bridge, and zigbee-bridge.
You will have to develop the firmware as per your Light, eg: if you have a blemesh light then you can start with blemesh-bridge, and start customising as per your need.
Or, not sure if you are looking for Matter Controller, which can control any Matter accessory(eg: any Matter enabled Light), then you can find that example here: https://github.com/espressif/esp-matter/tree/main/examples/controller

Closing as the questions are answered and references provided


daprd.exe and node.js process stay running after running dapr stop

Expected Behavior
if I run dapr stop, then the node.js process that is running should stop.  If I run dapr uninstall, daprd.exe should stop.
Actual Behavior
node.js process continues running so a subsequent dapr run will throw errors because the port is in use.  If I spin up a kube version and daprd is already running then I can't communicate to the docker service because the dapr port is still in use (i.e. if I am trying to port forward into the dapr sidecar etc.)  It doesn't matter if I run as administrator or not.
Steps to Reproduce the Problem
Windows 10 Pro18362.592
Node.js v12.14.1
dapr 0.3.0
run sample 1.  run dapr stop node.  run dapr start node.  Notice error and old node process still running.

@genbod This issue should fix in the next release (v0.4.0) by https://github.com/dapr/cli/pull/246

@genbod This must be fixed. please reinstall Dapr cli 0.4.0 using one liner install script


usage in effects / ofRoute operator

Would something like this be a bad idea? And is there some built-in function that would be able to check if route matches pattern (I imagine link active has to be doing something like that).
private action$ = createEffect(() => this._router.url$.pipe(
  // url is /products/detail/123
  filter((url) => ofRoute('/products/detail/:id', url)),
  tap(console.log)
);

There isn't a built in function that does this for the entire route, as each segment is parsed at each level in the component hierarchy. Maybe if the effect was tied to the component?
The ofRoute() would match as soon as the location changes, but would potentially happen before the component is rendered. If you're keeping things reactive if should be fine though.

The ofRoute() would match as soon as the location changes, but would potentially happen before the component is rendered. If you're keeping things reactive if should be fine though.

yea that would be fine in this case, you visit product/123 and you want to check if 123 data already exists and dispatch load action otherwise, I could always dispatch the action from the page component, but I'd rather leave it to the effect

With implementation of custom route matched (currently in PR) this would be possible even with the service, but you would have to manually run the checks that components do.
As Brandon said, it's best to use components. We didn't implement public route change events yet.


Bump gem version from 2.0.8 to 2.0.9

Going to release 2.0.9 once we've got https://github.com/alphagov/tech-docs-gem/pull/155 in


feature: support xsky object storage

这个 PR 实现什么功能/修复什么问题:
支持xsky管理API（设置桶配额）
是否需要 backport 到之前的 release 分支:

release/2.11
release/2.12

/area region

Codecov Report

Merging #2965 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2965      +/-   ##
=========================================
+ Coverage    7.06%   7.06%   +<.01%
=========================================
  Files         477     477
  Lines       76430   76430
=========================================
+ Hits         5396    5398       +2
+ Misses      70582   70581       -1
+ Partials      452     451       -1

Flag
Coverage Δ

#aFlag
7.06% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/util/seclib2/seclib.go
95.74% <0%> (+4.25%)
:arrow_up:

Continue to review full report at Codecov.

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

/hold

/hold cancel

/approve
/lgtm


Enable loki.source.journal so systemd logs can be read

Loki source journal must be enabled (CGO_ENABLED=1 and promtail_journal_enabled) at build time so that the agent can collect the systemd logs.
If not enabled, configuring loki to collect journalD logs will fail at startup.

I tried to use the new version after this PR got merged, and it seems that the agent is still complaining about promtail being disabled.
If we look into the logs we can see:
2024-04-19 15:24:06.362 :: 2024-04-19 15:15:10.492 :: + export USE_CONTAINER=0
2024-04-19 15:24:06.362 :: 2024-04-19 15:15:10.493 :: + USE_CONTAINER=0
2024-04-19 15:24:06.362 :: 2024-04-19 15:15:10.493 :: + export 'GOFLAGS=-mod=readonly -tags=promtail_journal_enabled'
2024-04-19 15:24:06.362 :: 2024-04-19 15:15:10.493 :: + GOFLAGS='-mod=readonly -tags=promtail_journal_enabled'
2024-04-19 15:24:06.362 :: 2024-04-19 15:15:10.493 :: + make agent agentctl
2024-04-19 15:24:06.362 :: 2024-04-19 15:15:11.454 :: GOOS=linux GOARCH=amd64 GOARM= CGO_ENABLED=1 go build  -ldflags "-X github.com/grafana/agent/pkg/build.Branch=HEAD -X github.com/grafana/agent/pkg/build.Version=v0.40.4 -X github.com/grafana/agent/pkg/build.Revision=477a074cb -X github.com/grafana/agent/pkg/build.BuildUser=root@snapcraft-grafana-agent-on-amd64-for-amd64-44042628 -X github.com/grafana/agent/pkg/build.BuildDate=2024-04-19T13:15:11Z" -tags "" -o build/grafana-agent ./cmd/grafana-agent

The  -tags "" remains empty.
So the GOFLAGS set doesn't seem to have an impact, at least on the tags.
Setting  export GO_TAGS="promtail_journal_enabled" instead should work.


Add service detail configuration tab

⚠  WIP: Tests missing for many of the components and I'm unhappy with the sub list rendering

Introduce a service detail configuration tab.
AC

[x] Service detail configuration tab
[x] Handle service versions data in DCOSStore
[ ] Tests for all components
[ ] Proper config (sub) list styling

/cc @leemunroe

Reviewer: @mlunoe

Nice one @orlandohohmeier. Just confirming you only want feedback on what is in the configuration tab for this PR (i.e. ignoring that the action buttons are missing and "Running" vs "Healthy")?
This is this view.

The "compare versions" feature is missing - we've talked about that being a nice to have and assuming it's a different effort, just noting it here for transparency
If we're not going to compare versions, we'll still need a way to view historical versions and rollback to - can you confirm that is on the roadmap?
Some of the formatting and visual hierarchy needs some style tweaking - maybe we can work on that together in SF e.g. it's not quite clear what is a heading at the minute
What do we want to do about fields that have no value? I know this is something we've chatted about in the past, whether to leave empty, N/A, "Unspecified" or not show that row /cc @philipnrmn @pierlo-upitup
We could maybe cut down some spacing so the key:value pairs are closer together - chatted with @aldipower about this too, where we could use column-2 instead of 3 (Sidenote: the styles and format we use here should be the same as what we use on the task detail view)
For any JSON blobs, would love to see similar <pre> formatting carried through from what we have in Marathon today. Not in the mockup but I was definitely a fan of that.

Let me know once the tests are ready I'll be happy to give this another pass.

I'll split this into two separate PRs as it grew into a beast...

I've splitted the PR into smaller chunks. Please review #220, #221, and #222 instead.


easy transfer of submissions

Take a submission from a RAMP and execute it as is on another. Of course, assuming that the workflow and the data format are the same.

Not really sure what you meant but I can imagine that you can create a local worker and put a submission and launch it from now on.


feat: allow limiting system resources in compilation processes

This change is

crates/starknet_sierra_compile/src/resource_limits.rs line 17 at r2 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
Partway through writing this, I partially regretted that.  I am leaving the comment more as a discussion than a suggestion.
If I understand the use case correctly, the Resource is implied.
The method set can have two parameters. &self, resource: Resource.
You can even define an iterator over ResourcesLimits that returns tuples (Resource, ResourceLimits).

I don't fully understand your suggestion. How can I limit a resource without knowing what resource it is? How would I know what units this resource is counted in?
The point of this struct is to hold all the information needed for using setrlimit() and for displaying a short log message indicating what happened.

crates/starknet_sierra_compile/src/resource_limits_test.rs line 22 at r2 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
Will the test still be substantial that way? It would take less resources.
Make sure it takes as few resources for CI.

This gives the process 100 bytes of memory. The process can't start with this limitation in place. 1KB is also not enough. With 10KB it works locally for me, but fails in the CI.

crates/starknet_sierra_compile/src/resource_limits.rs line 91 at r2 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
Did this block of text pass through Grammerly/ ChatGPT? Looks good to me.

I think the more important question is whether my explanation is easy to understand and whether it justifies using an unsafe block.

crates/starknet_sierra_compile/src/resource_limits.rs line 91 at r2 (raw file):
Previously, avi-starkware wrote…
I think the more important question is whether my explanation is easy to understand and whether it justifies using an unsafe block.

I agree the question you raise is more important. I asked another, less important question :)

crates/starknet_sierra_compile/src/resource_limits_test.rs line 22 at r2 (raw file):
Previously, avi-starkware wrote…
This gives the process 100 bytes of memory. The process can't start with this limitation in place. 1KB is also not enough. With 10KB it works locally for me, but fails in the CI.

Got it.

crates/starknet_sierra_compile/src/resource_limits.rs line 17 at r2 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
The point is that in the context of the struct ResourcesLimits (Plural), it is clear from the context that cpu_time.resource = Resource::CPU. Thus, it is redundant as a member of ResourceLimits (Singular).

The name cpu_time is the name of the field I made up. Resource::CPU is the enum value to be passed to setrlimit(). I can have a match to resolve the correct resource entry, or I can just remove the struct ResourceLimits entirely if you think it is not needed.

crates/starknet_sierra_compile/src/resource_limits_test.rs line  at r2 (raw file):
Previously, ArniStarkware (Arnon Hod) wrote…
Add a test case for a simple CI command, with all resources limited, but not blocking the command.

Done.

crates/starknet_sierra_compile/src/resource_limits_test.rs line 23 at r7 (raw file):
Previously, noaov1 (Noa Oved) wrote…

I just check that running an infinite loop fails at some point.

Is there a way to check the failure reason of a spawned thread?
I think that using  sysinfo may be too much.

I found a way to do it without using sysinfo.


'non-existing' -> 'nonexistent'; misc cleanup

Pull Request Test Coverage Report for Build 1179

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

Totals

Change from base Build 1177:
0.0%

Covered Lines:
2145

Relevant Lines:
2437

💛  - Coveralls


Fix unstable RCTAppDelegate podspec

Summary:
This change should fix #39971, computing the relative path from the App path to the pod installation root and using that instead of the absolute path to the react-native.config.js file
Changelog
[Internal] - Stabilize RCTAppDelegate podspec
Differential Revision: D50323710

There's another ENV['APP_PATH'] on line 127 that also needs to be replaced with relative_path_from


[$250] Chat - Endless loading spinner appears when sending a .ps/mp3/.rar formats file and no error message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Launch App as login user
Select any chat
Sent attachment file with .ps

Expected Result:
File should be sent or if the file type is not supported proper error message should appear.
Actual Result:
Endless loading spinner appears and after a while attachment disappeared.
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.66-1
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers<EMAIL_ADDRESS>/ Qwerty123
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

https://user-images.githubusercontent.com/43996225/170150411-6881cf61-065e-486d-bb98-646d3883a539.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

I think this can be external!

This will be internal as the backend needs to add the file upload support. That's all.

Testing mp4 on desktop - uploads successfully into chat
Testing m4a on desktop - throws same error as mp3 on desktop
Testing mp3 on desktop app - I'm getting an error

testing mp3 on mobile - I'm able to reproduce @kbecciv video - loading spinners - no fail message

This will be internal as the backend needs to add the file upload support. That's all.

So should we keep this internal for part of the fix or for the entire fix? I can create an Expensify/Expensify GH if we're keeping this internal.

@Gonals and @parasharrajat Created an Internal GH here - https://github.com/Expensify/Expensify/issues/212254
Going to make this weekly - while we wait for the internal update

Deployed internal update to staging - https://github.com/Expensify/Expensify/issues/212254

Looks like the Internal update is complete - https://github.com/Expensify/Expensify/issues/212254#event-6773641340
What do you think @parasharrajat and @Gonals - should we make this an Upwork job?

Then we are good. We should able to upload the file now.

Posted in Upwork
Internal Job  - https://www.upwork.com/ab/applicants/1535157989620789248/job-details
External Job - https://www.upwork.com/jobs/~0152c8b41284651e68

I meant to say we don't need the Upwork job. It should be fixed already. Next step should be QA testing it. @Christinadobrzyn

@Christinadobrzyn, What @parasharrajat said is right. This isn't reported by an external contributor and is fixed internally.  Hence we don't need any Upwork jobs here.

@mananjadhav @Gonals @Christinadobrzyn @parasharrajat   Here is the list of formats files where endless loading spinner appears: .rar, .webp, .epub, mp3 and .ps.

.rar, .webp, .epub, mp3 and .ps.

I guess we can request more files to be added from backend cc: @aldo-expensify

Sorry, just catching up here. I'm understanding that we just have to fix this on the API, right?
If any of you have been playing with files with these formats, can you upload them to the GH issue? (only if GH allows it, I don't know if it allows it :P)

@mananjadhav @Gonals @Christinadobrzyn @parasharrajat Here is the list of formats files where endless loading spinner appears: .rar, .webp, .epub, mp3 and .ps.

is it enough to just change the extension of the file? like.. if you have .txt, change it to .rar and then you get an infinite spinner?

I'm understanding that we just have to fix this on the API, right?

Yes, we only need to allow these files from backed and they will start working. Previously we had an issue for svg and Marc suggested to enable the support for files that we encounter issue.
But my suggestion was to add error handling from frontend when a file is not supported, fronted should error out.

First, add proper file extensions that are allowed to be uploaded to the file upload config.
Second, Add another check is file is not supported throw error. I guess backend already throws error.
If possible, allow the file to be uploaded. In many cases, we won't want to allow the file to be uploaded. Such as rar file could be a virus. So unless we scan the file or add a clause somewhere that we are not responsible for content shared. It is a security hole and we should not allow the file to be shared.

There are a huge number of extensions out there and the approach of allowing them one by one doesn't seem to scale well. It doesn't make sense for me to block files just because we don't have the extension in our list. If we care about blocking some extensions, I would do a list of blocked extension and allow the rest.
The approach of allowing the through a list made more sense to me in the context of the Old Expensify app, because it was just used to share receipts (afaik). I'll ask for other opinions in slack.
Regarding 2), I think it makes some sense to duplicate the check in the front end and block the user before sending the request with the file... this is similar to form validations done in the front and back, but I see it as low priority.
Regarding 3), my guess is that we will never be able to prevent 100% someone sending a "virus", so it should be always good to have some "clause somewhere that we are not responsible for content shared" (no matter if we try to scan for virus or not). Scanning for virus is nice to have I would say, but I'm don't know if we already have some of that implemented or if it is difficult to implement.

What @parasharrajat said is right. This isn't reported by an external contributor and is fixed internally. Hence we don't need any Upwork jobs here.

Ah, thank you for confirming! Sorry for the confusion. I removed the job in Upwork.

I asked for opinions in slack here. I'll try to put some work on this later this week

Issue not reproducible during KI retests. (Second week) for original file formats

Haven't got time to work on this again yet

I'm going to close this issue because the original upload problems related to the specific file types .mp3/.ps was solved in the backend.
Improving the front end feedback on failure will be done with the refactoring that is happening here: https://github.com/Expensify/Expensify/issues/211241 / https://github.com/Expensify/App/pull/9556
I don't think it is worth doing it now because it will probably have to be undone.
I created a new GH issue for updating how we handle file types in the back.


Added tracking usage of comment and description in spo storageentity …

Added tracking usage of comment and description in spo storageentity set solving #133

Coverage remained the same at 100.0% when pulling 3f6761e78e4d1ff52eaa8e981dda0d821f9e3e75 on waldekmastykarz:fix133 into 7cc3fd461b175caa96acddbb63efa399fdd8affb on SharePoint:dev.

Merged manually


Service Connection Schema - Prepare Azure JSON

Prepare Azure JSON Schema for the auth provider

Added fix for Azure sso in #3989


Support for reactions

Messenger just added reactions, looking at the variables in the request it looks like it may be possible to use emojis other than the 7 that they give:

Try it!  Would definitely be funny if we could support that.

Omg yes! That would be so much fun :) a PR that adds this will get lots of hearts!

sadly, I don't have reactions yet :(

sadly, on slovakia reactions doesn't work, I can't implement it.
Please, implement it someone, I wanna try it :rofl:

is there any way to "force" api to use some specific facebook server? maybe then it would be possible to use all new features instantly after their updates :(

@ravkr I don't think it's about Facebook Server. It's about scripts which Facebook send you.
For sample, in Messenger the feature is available before the officialy launched, but it's available only for some people.

@GAMELASTER

@magnotec thank you, but now delete your image for security reasons

Merged!  Thanks guys.


Label-supervised model from Blog post?

Hey,
Thanks for your great work on DINO, our group loves this backbone and its helped our research tremendously. I was wondering if there were pre-trained weights for the "label-supervised" version of dino in the running dog video below:
https://ai.facebook.com/blog/dino-paws-computer-vision-with-self-supervised-transformers-and-10x-more-efficient-training/

Maybe this? https://github.com/facebookresearch/dino#self-attention-video-generation


Deployment event command

This PR supports pf deployment event <DEPLOY_ID>

@kdh0102 Could you add simple test codes for event command?

@kdh0102 Could you resolve conflicts?

@pigbug419 Done


Unhandled Exception Error

Whenever I attempt to run the Ds game maker ide, it comes up with:
Microsoft .NET Framework
Unhandled exception has occurred in your application. If you click
Continue, the application will ignore this error and attempt to continue. If
you click Quit, the application will close immediately.
Illegal characters in path.
Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Illegal characters in path.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.Net.WebClient.GetUri(String path)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at DS_Game_Maker.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
DS Game Maker
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Program%20Files%20(x86)/DS%20Game%20Maker/DS%20Game%20Maker.exe
Microsoft.VisualBasic
Assembly Version: <IP_ADDRESS>
Win32 Version: 14.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
System.Windows.Forms
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
Accessibility
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/Accessibility.dll
System.Runtime.Remoting
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Runtime.Remoting.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
The Ide still opens when continued, but the same error occurs when you try to make a new project, and that fails.

DS Game Maker is not a IDE.
DS Game Maker is not longer maintaned.
Are you using the VM Version? (https://dsgamemaker.online/vmrelease.html) It is a virtual machine with all the dependecies and the program installed.

So that download is a functional version of the software?


Use swift_version instead of xcode overrides

Cocoapods supports setting the swift version directly using the swift_version configuration parameter.
I was working on a project that used Interpolate but I was getting weird compiler errors about code that was recently updated for Swift 4.2. It turns out the xcconfig for the swift version wasn't getting properly set on the Pod target. Once I changed that setting to use swift_version the target built without errors.

Thanks @farktronix.


change import from '../reducers' to './reducers'

React Boilerplate
Thank you for contributing! Please take a moment to review our contributing guidelines
to make the process easy and effective for everyone involved.
Please open an issue before embarking on any significant pull request, especially those that
add a new library or change existing tests, otherwise you risk spending a lot of time working
on something that might not end up being merged into the project.
Before opening a pull request, please ensure:

[ ] You have followed our contributing guidelines
[ ] Pull request has tests (we are going for 100% coverage!)
[ ] Code is well-commented, linted and follows project conventions
[ ] Documentation is updated (if necessary)
[ ] Internal code generators and templates are updated (if necessary)
[ ] Description explains the issue/use-case resolved and auto-closes related issues

Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the MIT License.

I was following the pluralsight course and when I ran the linter I got an issue complaining about ../reducers not being a valid path. This is my fix for the issue

It seems that once you do a npm run clean, the ../reducers path becomse valid. Closing this pull request since it is not an issue once you get rolling with the clean project. might be something to be fixed only for the intro part of the tutorial, when we are instructed to run the linter.


Crop Image in Circular mode

Is there any way such that we can crop image of circular shape ?
Right now we specify the width and height of the div containing this CSS class("cropit-image-preview").
If i provide a property of border-radius:50% then the shape of the div changes to circular but the image I get after croping is rectangular in shape.

I use cropit to do images in a circle shape. As you said you can make the container look like a circle, but it will be a square. My question is why do you want the image to be a circle when you can use border radius to give circle shape to any image with CSS?

@dhiman252 No AFAIK there is no easy way to do that, but what @Dazag suggests should work.


Nick: Watch +91-9211752002

Nick requests the watch of the watch_number +91-9211752002. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Spevacus in Charcoal HQ


After I run "pip install .",I try to  verify installation,so I try "python3 -m mlc_llm.build --help",and there is a problem

❓ General Questions
the command line report: ImportError: cannot import name 'relax' from 'tvm'
my python version is Python 3.8.18
so have others meet this problem? I would appreciate it if you could tell me how to solve this problem

You might install the wrong version of TVM, mlc-llm requires TVM Unity

This should be helpful to your case https://mlc.ai/mlc-llm/docs/install/tvm.html

@Hzfengsy thank for you response! I will try this method soon.

I solved that problem I met before.However there is a new problem.I try "make -j4" in my "path/to/tvm-unity/build",and it reports that :
"
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
CMakeFiles/tvm.dir/build.make:1916: recipe for target 'libtvm.so' failed
make[2]: *** [libtvm.so] Error 1
CMakeFiles/tvm_allvisible.dir/build.make:1916: recipe for target 'libtvm_allvisible.so' failed
make[2]: *** [libtvm_allvisible.so] Error 1
CMakeFiles/Makefile2:259: recipe for target 'CMakeFiles/tvm_allvisible.dir/all' failed
make[1]: *** [CMakeFiles/tvm_allvisible.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
CMakeFiles/Makefile2:176: recipe for target 'CMakeFiles/tvm.dir/all' failed
make[1]: *** [CMakeFiles/tvm.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
"
I don't know why I will meet such problem.
cmake version 3.27.5
GNU ld (GNU Binutils for Ubuntu) 2.30
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Python 3.6.9

TVM Unity requires Python 3.7+ and a cpp compiler with full support of CXX17 standard.
BTW, ubuntu 18.04 has ended its life, and we will not officially support it

@Hzfengsy thx,I try to install a new virtual machine now,I hope my problem can be solved this time 55

@ChenJY1221  Do you fix this issue at final ?


Problem with ddollar buildpack(s)

Hi, pursuant to https://github.com/progrium/buildstep/blob/master/builder/config/buildpacks.txt the multipack https://github.com/ddollar/heroku-buildpack-multi is supported. I want to use it to run https://github.com/benbalter/word_diff This worked fine when testing on heroku, but I want to move it to Docker. I have a very basic Dockerfile, as http://blog.tutum.co/2014/04/10/creating-a-docker-image-from-your-code/ says that buildstep will automatically detect what to install. However, it seems buildstep only installs java stuff (maybe even more then it has to) and no libreoffice or ruby stuff.
docker-build output: http://pastebin.com/XxgRhXRL
Dockerfile: http://pastebin.com/0AGGLZmD
Probably I am  just missing something obvious ... but anyway, any help appreciated.

I think are using a different buildstep, probably this one: https://github.com/tutumcloud/buildstep
The tutum buildstep works a bit different.

Well, I am using a prebuilt docker-image as a base image, that is true. But as far as I know the actual buildstep included in the image is the same. As you can see at the link above, they link to progrium/buildstep and the list of supported buildpacks. So no, it is the same buildstep. But run from a docker image prebuilt by tutum, yes.

The root of the problems seems to be that due to shell globbing the detection for the java buildpack gets run before the multi buildpack. As the java buildbacks detects an appropriate app no further detection is being executed.
The workaround for the time being is defining the multi-buildpack as a custom buildpack, this will get run instead of any other buildpack. See the README on how to do that.
@progrium What's your take on the problem. I see two solutions. The easy way out - remove the multi buildpack and treat it like any other custom buildpack (since it never worked as intended) - or maybe add a counter to the buildpack installation so that the installation directories get prefixed with a number. Then the globbing of the buildpacks honors the installation order. Doing the latter in the current setup would be rather complicated, to the best of my knowledge xargs doensn't provide a way to have a counter. Looking at https://github.com/gliderlabs/herokuish/blob/master/include/buildpack.bash#L11 it seems feasible with herokuish.

Well even though it's arguable this is terrible design, I think it's a
reasonable solution to hardcode the multi buildpack to run first if it
exists:
https://github.com/gliderlabs/herokuish/blob/master/include/buildpack.bash#L84
An improvement on this design is to have configurable buildpack hoisting,
where multi is the default value.
Anyway, if that's the issue, then this shouldn't be an issue in Herokuish...
On Mon, Feb 16, 2015 at 7:14 AM, Morton Jonuschat<EMAIL_ADDRESS>wrote:

The root of the problems seems to be that due to shell globbing the
detection for the java buildpack gets run before the multi buildpack. As
the java buildbacks detects an appropriate app no further detection is
being executed.
The workaround for the time being is defining the multi-buildpack as a
custom buildpack, this will get run instead of any other buildpack. See the
README on how to do that.
@progrium https://github.com/progrium What's your take on the problem.
I see two solutions. The easy way out - remove the multi buildpack and
treat it like any other custom buildpack (since it never worked as
intended) - or maybe add a counter to the buildpack installation so that
the installation directories get prefixed with a number. Then the globbing
of the buildpacks honors the installation order. Doing the latter in the
current setup would be rather complicated, to the best of my knowledge
xargs doensn't provide a way to have a counter. Looking at
https://github.com/gliderlabs/herokuish/blob/master/include/buildpack.bash#L11
it seems feasible with herokuish.
—
Reply to this email directly or view it on GitHub
https://github.com/progrium/buildstep/issues/137#issuecomment-74506349.

--
Jeff Lindsay
http://progrium.com

Sounds good to me.


add openshift view role so we can check if environments have already been created in pipelines

[merge]


Add endpoint option to authenticate by client tls cert.

I have added authentication by client certificate as per #402
I haven't added any tests yet.

Does this pullrequest look all right?
I did not add an option for ClientAuthType. I just picked and hardcoded the most sensible default value: RequireAndVerifyClientCert
Should I add tests by basically duplicating the TestWithSNIConfigHandshake and TestWithSNIConfigRoute and then add client certification + client cert and CA cert in fixtures?

Hi @andersbetner, thanks for your contribution :)
I have few comments:

as we are in the process of releasing the 1.0.0 version, this PR will land in the 1.1.0 version (in few weeks).
I think we need to be able to have multiple client SSL certs. It would be interesting to change type of ClientCAFile.ClientCAFile from string to Certificates (and rename it then):

type TLS struct {
  	Certificates          Certificates
 	ClientCertificates    Certificates
}

WDYT?
/cc @vdemeester @samber

@emilevauge
Actually the cert-file can contain multiple certs.
I have added tests and clarified the documentation. (and changed the config parameter to ClientCAsFile).
The name ClientCAs is a bit of a misnomer, it doesn't hold client certificates. It contains the public key of one or more certificate authorities that you trust to sign client certs.
The client has to present a certificate that is signed by one of the CA:s in the ClientCAsFile.
I created two test cases where one has two CA:s in the ClientCAsFile.
Since this PR involves security it would be great if more than my pair of eyes could have a look at the code.

Seems good to me :wink:
I kinda agree with @emilevauge on the fact that we should allow multiple values for ClientCAs (that each could have more public key in each :stuck_out_tongue:).

@andersbetner

The name ClientCAs is a bit of a misnomer, it doesn't hold client certificates. It contains the public key of one or more certificate authorities that you trust to sign client certs.
The client has to present a certificate that is signed by one of the CA:s in the ClientCAsFile.
I created two test cases where one has two CA:s in the ClientCAsFile.

True, we cannot reuse Certificates type here.

Actually the cert-file can contain multiple certs.

Even if a file can contain multiple keys, I think it would be simpler to not force users to do that. Besides, the std library as been designed to with that in mind: CertPool.AddCert https://golang.org/pkg/crypto/x509/#CertPool.AddCert. A slice of keys would be allow both use case :)

Since this PR involves security it would be great if more than my pair of eyes could have a look at the code.

As soon as we agree on design, we will make a deep code review :)

@emilevauge , @vdemeester
I have no problem with a slice, I just didn't think of it. I was so colored by how Nginx ssl_client_certificate and Apache SSLCACertificateFile wants all CA:s in one file.

Just to make sure I understand.
Is this what you meant?
type TLS struct {
	Certificates  Certificates
	ClientCAFiles []string
}

[entryPoints.https]
address = ":443"
ClientCAFiles = ["ca1.pem", "ca2.pem"]
[entryPoints.https.tls]
  [[entryPoints.https.tls.certificates]]
    CertFile = "integration/fixtures/https/snitest.com.crt"
    KeyFile = "integration/fixtures/https/snitest.com.key"

It is a pity that the authentication is forced on all SNI-certs on the same listener (by the go library), but I guess we are not alone there: Caddy issue #849

@andersbetner: Seems good.
You will also have to modify the entryPoints command line parser to include these client certs:
--entrypoints Entrypoints definition using format: --entryPoints='Name:http Address::8000 Redirect.EntryPoint:https' --entryPoints='Name:https Address::4442 TLS:tests/traefik.crt,tests/traefik.key' (default "map[]")

Hi @andersbetner, I'm planning to get this PR in the 1.1 releases. Do you think it's possible ?

@emilevauge
Sure, I was waiting for the 1.0 release.
I will rebase and make the changes to the config and command line.
Should I squash all changes into just two commit one for the changes to the code and one for the documentation? (that it should I sqash my future changes into the existing commits or does it not matter?

@andersbetner it would be better to squash your commits yes :)

@emilevauge
Added support for multiple CA-files as discussed earlier.
Tell me if you would like anything changed.

@emilevauge
I managed to get the config right for the tests but not in the documentation...

Fixed according to your comments.
Squashed the commit.
Rebased on top of master.

Thanks @andersbetner !
Maybe we will change a bit https://github.com/containous/traefik/pull/461/files#diff-bee1b19602a9f84a06f44e111f79a479R96 in a futur PR. I'm not totally convinced by how we manage flags with entrypoints...
LGTM!
/cc @containous/traefik

@emilevauge
Great, yeah I just made my addition to the flag syntax up. I have no problem with it being changed to something clearer.

@emilevauge
Rebased

/cc @containous/traefik

LGTM 🐯


strange behaviour with stdJson.serialize: Error: Yul exception:Variable ... is ... too deep in the stack

Hi,
First of all, I am sorry, that I did not dig into the problem and can not address it better than showing the case where I faced a mem stack limit in comparison to where the error is not occurring during the sol compilation of the Foundry script.
The strange behavior is about how I hack the issue.
Requirement
I am using Foundry and work with the solidity code, thus Foundry should be installed. Also I am used to use makefile.
Reproduce Bug
To face with issue:

Clone the repo https://github.com/fluencelabs/deal and git checkout show-stack-problem
Run make build-contracts
it throws with Error: Yul exception:Variable _1 is 1 too deep in the stack during compiling the foundry script file: https://github.com/fluencelabs/deal/blob/show-stack-problem/script/Deploy.s.sol (do not waste your time nd start to analyse the script code, merely continue read below, as I believe it could give you better overview of the issue)

From here it seems that I have a standard exception of exiting the limit of a stack of solidity EVM. But, let me show the below hack:

Strange Dirty Hack Solution

Checkout to branch with the hack: git checkout show-no-stack-problem

on that moment here is the  diff: https://github.com/fluencelabs/deal/compare/show-no-stack-problem...show-stack-problem?expand=1

Run make build-contracts
Compiled successfully.

Compiled successfully but at what price?
PS. As I did not give a good amount of attention to the bug during the work, it is possible that I addressed the issue in the wrong place (https://github.com/foundry-rs
/forge-std). Please, patiently address me in that case and take my apologies.

This is a solidity issue, not a forge-std issue, so going to close this. There are various ways to resolve stack too deep errors, such as scoping with { } braces, moving variables into structs, breaking things into smaller functions, or using via-ir


Document Wrapper checksum verification

@pledbrook @eskatos PTAL

Instead of documenting "here's how to validate the wrapper" why not just add it to the Gradle standard project structure.
Add a verify-wrapper and a verify-wrapper.bat script by default to the gradle/wrapper directory.
I don't think that relying upon manual verification is enough. Not enough people read through all of the Gradle documentation to accidentally stumble across this one particular page.
Don't get me wrong, I think this is definitely a step in the right direction. But I don't think it's enough.

@pledbrook @eskatos PTAL


support for 3D?

This is really a nice package, thanks for your work! Currently, we already have Mocha.jl, MXNet.jl. It looks that Mocha.jl support 3D convolution by cuDNN, and MXNet.jl have a 3D branch merging to master. However, none of them support dilated 3D convolution. Since Caffe already support 3D dilated convolution and max-filtering, it would be nice if this front-end could inherit these functionality. do you have such a plan in roadmap?

Hey jingpengwu,
thanks for your message! I'm mostly using Python these days, so I probably won't implement it myself at the moment, but if you are interested in helping, I'm happy to point you to the steps necessary for the modification.
Best,
Philipp.

Thanks for the suggestion. currently, I am focusing on inference. For GPU training, not quite sure which platform to use. Might consider this as a training plan in the future.

@pcmoritz I am going to do training and considering the platform to use. could you point to me the modification of 3D convolution and pooling? I also need 3D deconvolution and upsampling.  Dilated convolution would be a big plus.

I'm glad to hear the project could be useful for your work!
First you will need to update the version of Caffe that is included in Strada. It needs to be a version that includes this PR: https://github.com/BVLC/caffe/pull/2049
I'd recommend just using the latest master of Caffe.
Then you'll need to update https://github.com/pcmoritz/Strada.jl/blob/master/deps/src/jlcaffe/jlcaffe.cpp to match any changes in the Caffe API between the version that is currently included in Strada and the current caffe master. This should be pretty fast. You might also need to update the makefile: https://github.com/pcmoritz/Strada.jl/blob/master/deps/src/CMakeLists.txt
You can then generate Julia protocol buffers for the new caffe version with https://github.com/pcmoritz/Strada.jl/blob/master/src/gen-protobuf.sh
And then update the layer definitions here/include the new layers
https://github.com/pcmoritz/Strada.jl/blob/master/src/layers.jl
It should be possible to add all the layers that caffe supports.
Let me know if you run into problems!

should I start from the dev or master of Strada.jl ?
I checked the documentation, it was developed for julia 0.3. does it works for julia 0.4/0.5


V8 beta 1 : "Replace" is displayed twice in file manager drop down options

"Replace" is displayed twice in file manager options.

Go to the file manager
Click on an image to select it
Click the drop down to show the list of options

👍 this is fixed in github


Fix contexts attribute name in examples documentation

Fix names of retrieved_contexts and ground_truth_contexts attributes from Dataset in "examples" documentation.
This makes it ISO with the quickstart.

:rocket: This description was created by Ellipsis for commit 306ffe3623273a3c6500a80fce2ede9e354c9dcb

Summary:
Updated attribute names in the example documentation to match the Dataset class definitions.
Key points:

Corrected attribute names in 1_evaluation_on_dataset.md from retrieved_context and ground_truth_context to retrieved_contexts and ground_truth_contexts.

Generated with :heart: by ellipsis.dev

@LucasLeRay Thank you for the fix!


(S6) 4.01 Task: Create DB migration to add user agreement records from transfer agreement

Fixed by #8


OSX install fastlane failed

OSX: 10.11.5
ruby: ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]

➜  ~ sudo gem install fastlane
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: fastlane_core requires commander (= 4.3.5)

seem like fastlane require commander>= 4.4 bug fastlane_core requires commander = 4.3.5?

See https://github.com/fastlane/fastlane/issues/3966#issuecomment-202917773 Let's track the convo there.


save progress

A button? a login system?

there is a save game option on Twine - someone please implement it?


[DEVOPS-960] Clean up mechanism for streaming test output in CI logs

Description
Test output is very sparse in CI logs:
running tests
Running 1 test suites...
Test suite test: RUNNING...
Test suite test: PASS

In nix we have a mechanism for enabling streaming log output with more details. This was introduced in DEVOPS-274, and it was somewhat of a hack.
To enable streaming test output, we still need to explicitly apply addRealTimeTestLogs to the relevant derivations in the cardanoPkgs overrides in default.nix. As part of DEVOPS-960 I'd like to see it automatically applied to all Haskell package derivations coming from this repo or prefixed by cardano, but this is a start. After manually enabling it, e.g. by adding cardano-sl-infra = addRealTimeTestLogs super.cardano-sl-infra; to default.nix, I get output like this instead:
...
[12 of 12] Compiling Main             ( test/test.hs, dist/build/test/test-tmp/Main.o )
Linking dist/build/test/test ...
running tests
Running 1 test suites...
Test suite test: RUNNING...
Test suite test: PASS
Test suite logged to: dist/test/cardano-sl-infra-1.3.0-test.log
1 of 1 test suites (1 of 1 test cases) passed.

Subscription
  Status
    state change consistency
      +++ OK, passed 100 tests.
  Exception handling
    networkSubscribeTo squelches synchronous exceptions
    networkSubscribeTo does not squelch asynchronous exceptions

Finished in 0.0130 seconds
3 examples, 0 failures
━━━ Test.Pos.Infra.Bi ━━━
  ✓ golden_HandlerSpec_ConvHandler passed 1 test.
  ✓ golden_HandlerSpec_UnknownHandler passed 1 test.
  ✓ 2 succeeded.
━━━ Test.Pos.Infra.Bi ━━━
  ✓ roundTripHandlerSpecBi passed 1000 tests.
  ✓ 1 succeeded.
haddockPhase
...

Linked issue
https://iohk.myjetbrains.com/youtrack/issue/DEVOPS-960
Type of change

[~] 🐞 Bug fix (non-breaking change which fixes an issue)
[~] 🛠 New feature (non-breaking change which adds functionality)
[~] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[x] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[~] 🔨 New or improved tests for existing code
[~] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[~] I have read the style guide document, and my code follows the code style of this project.
[~] If my code deals with exceptions, it follows the guidelines.
[~] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This is a refactoring for optional test output behavior which will be self-evident in CI.
QA Steps

Identify which derivations have addRealTimeTestLogs applied in ./default.nix
For each of those derivations, verify that logs in Hydra are showing detailed test output like the example shown in the PR description.
Optional: to test locally, run nix-build -A all-cardano-sl.

Screenshots (if available)

Thanks @erikd & @jmitchell for tracking this down. The new output looks better. Is there a time delay on seeing the new changes on Hydra? On a recent PR I'm still seeing only:
Linking dist/build/test/test ...
running tests
Running 1 test suites...
Test suite test: RUNNING...
Test suite test: PASS
Test suite logged to: dist/test/cardano-sl-infra-1.3.0-test.log
1 of 1 test suites (1 of 1 test cases) passed.

Infra test logs, from build, from PR.

@mhuesch, only nix derivations for Haskell packages that explicitly have addRealTimeTestLogs applied in ./default.nix, e.g. https://github.com/input-output-hk/cardano-sl/blob/cc54d8b3fdb47249123743c5f8961cf8447d4b7c/default.nix#L62-L63, will have CI log test output. The scope of this PR was to eliminate the implementation of that addRealTimeTestLogs nix function, and there are plans to dynamically apply that function either to all derivations for Haskell packages from this repo or those with cardano as a prefix in their names.

@jmitchell got it, thanks for the explanation.


color support

Any possibility of color support for the ZDC lights?

I don't own those lights so I'm unable to observe the protocol interaction (and not particularly motivated). I'd accept a PR.


feat: Use waitForTappable in scrollUntilVisible method

Resolves #301

thank you!

fyi: v1.9.0 uses scrollUntilTapable for this waitForTappable. Instead, scrollUntilVisible uses waitFor

Hello KazuCocoa, how can I add latest version to use by maven in Java ?

This driver is available via npm in NodeJS, not Java. If you mean client's Finder, then https://github.com/appium-userland/appium-flutter-driver#java-implementation may help

Thanks


feat: participants summary

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

Project coverage is 91.47%. Comparing base (aa635d3) to head (9819cca).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
+ Coverage   91.39%   91.47%   +0.07%
==========================================
  Files         304      306       +2
  Lines        4534     4552      +18
  Branches      687      689       +2
==========================================
+ Hits         4144     4164      +20
+ Misses        388      386       -2
  Partials        2        2

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


HTTP 500 for processCitationList on non-breaking whitespace string

This is a pretty obscure corner case (parsing a mangled string), so may not be a priority to reproduce and fix. But it did come up in real use of GROBID and resulted in an internal error (HTTP 500) instead of a 4xx or 2xx status code.
The source of this citation string is the Crossref DOI reference metadata for the DOI 10.5817/cz.muni.m210-9541-2019. The JSON metadata can be fetched from https://api.crossref.org/v1/works/http://dx.doi.org/10.5817/cz.muni.m210-9541-2019. In the references[] array, the reference with key ref127 has the following JSON structure:
{
  "key": "ref127",
  "unstructured": "               "
}

If parsed in to Python and printed:
{'key': 'ref127', 'unstructured': '\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0\xa0'}

it is easier to see that this is not a simple space, it is Unicode character \uA0, which is "NO-BREAK SPACE".
When this string is submitted as a citation to parseCitationList, GROBID returns a 500 error. The stack trace looks like:
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ERROR [2021-11-03 06:57:32,569] org.grobid.service.process.GrobidRestProcessString: An unexpected exception occurs.
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! java.lang.NullPointerException: null
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at org.grobid.core.data.BiblioItem.cleanTitles(BiblioItem.java:1784)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at org.grobid.core.engines.CitationParser.processingLayoutTokenMultiple(CitationParser.java:175)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at org.grobid.core.engines.CitationParser.processingStringMultiple(CitationParser.java:92)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at org.grobid.core.engines.Engine.processRawReferences(Engine.java:168)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at org.grobid.service.process.GrobidRestProcessString.processCitationList(GrobidRestProcessString.java:316)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at org.grobid.service.GrobidRestService.processCitationListReturnXml_post(GrobidRestService.java:581)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Nov 03 06:57:32 wbgrp-svc096.us.archive.org GROBID[400404]: ! at java.lang.reflect.Method.invoke(Method.java:498)
[...]

As a workaround, clients can simply not submit weird wihtespace strings for parsing.

Thank you @bnewbold, intere-string!
Let's add a bit more well-formed tests for the input.

There was at least one NullPointerException in cleanTitles, but after handling that I think there is an underlying issue which is how to handle the case of one or more all-whitespace reference string as part of a batch of reference strings which are not all all-whitespace. For example, one string which is just a space character (" ") followed by 5 normal reference strings submitted to processCitationList.
I haven't fully debugged, but it seems like in some situations empty citations in such a list are returned as a stub/empty biblioItem, and in some situations there is an HTTP 500. Here is an example curl command that fails with an HTTP 500 error:
curl -X POST -H "Accept: " -d "citations=Graff, Expert. Opin. Ther. Targets (2002) 6(1): 103-113" -d "citations=Groff, Expert. Opin. Ther. Targets (2002) 6(1): 103-113" -d "citations= " https://grobid.qa.fatcat.wiki/api/processCitationList


fix DLP Risk snippet tests

the tests in dlp/snippets/risk_test.go do not work properly, and have been disabled.
This problem has been masked by a captured loop variable that surfaced in a go vet check recently, but it has been causing the test suite to run only one of the tests, which works correctly. The others fail, even when run individually.
vet failures can be seen in these vet results
i'll add a link for test failures shortly.

Test errors: https://source.cloud.google.com/results/invocations/b194681b-7484-4802-9c40-ace473023276/targets

@annadata @realjordanna is this something your team can help with?

@kweinmeister I've requested our TVC to look into this.


Fix error for get temperature on OpenBSD

If there is no sensors.temp sysctl, return with no output
Tested on OpenBSD-current VM with VirtualBox
Signed-off-by: Laurent Cheylus<EMAIL_ADDRESS>

This will fix the issue indeed if there are no sensors present. This is OK.
Thanks for fixing this @lcheylus!


fix: properly resolve types when using TypeScript's latest module resolution strategy

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
This PR fixes the bug described in https://github.com/prismicio/prismic-typescript-template/pull/27
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

Codecov Report

Merging #70 (5ca602f) into main (92a02dc) will decrease coverage by 3.49%.
The diff coverage is 94.16%.

:exclamation: Current head 5ca602f differs from pull request most recent head 2502702. Consider uploading reports for the commit 2502702 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              main      #70      +/-   ##
===========================================
- Coverage   100.00%   96.51%   -3.49%
===========================================
  Files           13       14       +1
  Lines          740     1004     +264
  Branches        39       71      +32
===========================================
+ Hits           740      969     +229
- Misses           0       34      +34
- Partials         0        1       +1

Impacted Files
Coverage Δ

src/redirectToPreviewURL.ts
92.52% <87.09%> (-7.48%)
:arrow_down:

src/enableAutoPreviews.ts
91.96% <88.75%> (-8.04%)
:arrow_down:

src/PrismicPreviewClient.tsx
92.45% <92.45%> (ø)

src/cli/index.ts
96.42% <96.42%> (ø)

src/PrismicNextImage.tsx
100.00% <100.00%> (ø)

src/PrismicNextLink.tsx
100.00% <100.00%> (ø)

src/PrismicPreview.tsx
100.00% <100.00%> (ø)

src/exitPreview.ts
100.00% <100.00%> (ø)

src/index.ts
100.00% <100.00%> (ø)

src/setPreviewData.ts
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Default constructor of Expando missing from autocomplete suggestions

// Copyright (c) 2017, Luke Church. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

import 'package:dart_mini_tests/dart_mini_tests.dart' as dart_mini_tests;

main(List<String> arguments) {
  print('Hello world: ${dart_mini_tests.calculate()}!');

  Expando<List<int>> exp = new E^

}

class A {

}

Code completion at ^ request results in no completion UI being displayed.

intelliJ version:
IntelliJ IDEA 2016.2.5
Build #IU-162.2228.15, built on October 14, 2016

using Dart v1.21.0

This shows up in the list of completion suggestions for me (at least when using dart_language_server but I'd assume intelliJ behaves the same).


Feature/read api

Pull Request Description
🎉 This PR adds several new functions to enhance the functionality of the project. The following functions have been implemented:
1. readAPI 🌐

Description: Fetches data from an API and creates a local object with the information.
Location: readapi.js

2. filterTopMovies 🔝

Description: Filters the top 10 most rated movies from the local object.
Location: filtertopmovies.js

3. showCards 🎥

Description: Dynamically displays movie cards with details, including images, names, and ratings.
Location: showcards.js

4. MovieDetailsPopup 🎞

Description: Creates a popup window to show detailed information about a selected movie.
Location: moviedetailspopup.js

5. Event Listener for Movie Images 🖼

Description: Adds an event listener to the movie images to trigger the MovieDetailsPopup function when clicked.
Location: showcards.js

6. CSS Styling for Movie Popup 💅

Description: Adds CSS styles to customize the appearance and positioning of the movie details popup.
Location: popup.css

🚀 These new functions significantly improve the user experience by allowing them to view movie details, filter top-rated movies, and display visually appealing movie cards.
Please review and merge this PR to incorporate these exciting features into the project.

Thank you @Braingenius2


Trying to export car object or interior that is a prefab throws error

Need to add extra handling for when exterior or interior are already prefabs

Fixed by #51


Can't resolve 'date-fns/addDays'

./node_modules/material-ui-pickers/utils/date-fns-utils.js
Module not found: Can't resolve 'date-fns/addDays' in 'C:\FrontEnd\node_modules\material-ui-pickers\utils'
getting this error when trying to compile

Hey, did you fixed this issue? I had the same error.

@Peretz30 use date-fns 2.x, instead of 1.x


What is a draft release?

I know what it sounds like, I want to know for sure.

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

ID: 8f3fff1a-f727-649e-fe35-5a2a879b4c19
Version Independent ID: 99485814-29e5-76a4-0d1d-7637ef5907d2
Content: Understand releases and deployments - Azure Pipelines
Content Source: docs/pipelines/release/releases.md
Product: devops
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

Creating a draft release allows you to edit some of the settings for the release and the tasks, depending on your role permissions, before starting the deployment. The changes apply only to that release, and do not affect the settings of the original pipeline . Create a draft release using the "..." ellipses link in the release pipeline definition screen.
Thank you for your feedback, I will add this information to the appropriate topic.


App Transport Security

It looks like the Apple App Transport Security list of ciphers are not supported currently. By default App Transport Security is enabled and requires the following list of ciphers that support PFS.
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

I built a Kitura-1.6.1 service on Ubuntu-14.01 and using nmap probe I get the below list of ciphers. Trying to connect using URLSession reports a "no shared ciphers available" error.
|   TLSv1.2:
|     ciphers:
|       TLS_RSA_WITH_3DES_EDE_CBC_SHA (rsa 2048) - C
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_128_CBC_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_128_GCM_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_GCM_SHA384 (rsa 2048) - A
|       TLS_RSA_WITH_CAMELLIA_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_CAMELLIA_256_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_DES_CBC_SHA (rsa 2048) - C
|       TLS_RSA_WITH_RC4_128_MD5 (rsa 2048) - C
|       TLS_RSA_WITH_RC4_128_SHA (rsa 2048) - C
|       TLS_RSA_WITH_SEED_CBC_SHA (rsa 2048) - A

I can't seem to find any stack overflow or github issues related to this. Is this a new bug or am i just missing something obvious ?

Fixed in 0.12.22.  There was bug that was overriding the default cipher suite.  This is fix.  Actual setting of the cipher suites on macOS is currently not supported pending a rework of the way macOS cipher suites are handled.

One other thing to be aware of, the cipher suites on macOS and Linux are named differently making them somewhat difficult to map.  It's possible that you did not enable the proper cipher suites when configuring on Linux.  Try setting the SSLService.Configuration.cipherSuite variable to ALL to enable all ciphers when configuring the SSLService.  On Linux, the current default is DEFAULT.

Within Kitura, this same thing as above can be accomplished by passing ALL as the value for the cipherSuite: parameter on the SSLConfig initializer you're using.

I had tried a number of different cipher names. None of them seemed to work.
Since i was running Kitura on Ubuntu, i am assuming any string that works with the openssl cipher command should work as input to ciperSuite
eg:
openssl ciphers -v 'TLSv1.2'
I am going to test again with your latest patch.

Your patch only changes the macOS side of things. The problem i am seeing is on the Linux path of the code base.
I ran a fresh set of tests and i have the same problem. Only the following ciphers are supported by BlueSSL for TLSv1.2
|   TLSv1.2:
|     ciphers:
|       TLS_RSA_WITH_3DES_EDE_CBC_SHA (rsa 2048) - C
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_128_CBC_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_128_GCM_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_GCM_SHA384 (rsa 2048) - A
|       TLS_RSA_WITH_CAMELLIA_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_CAMELLIA_256_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_DES_CBC_SHA (rsa 2048) - C
|       TLS_RSA_WITH_RC4_128_MD5 (rsa 2048) - C
|       TLS_RSA_WITH_RC4_128_SHA (rsa 2048) - C
|       TLS_RSA_WITH_SEED_CBC_SHA (rsa 2048) - A

I tried multiple cipher strings like "ALL", "TLSv1.2" and "DEFAULT" all failed with the same results

The actual ciphers that are supported by BlueSSLService is limited to the ones that are supplied by your installation of OpenSSL.  BlueSSLService does nothing more than call the relevant OpenSSL API to set the cipher suite depending on the setting past.  What you are seeing is probably what the version of OpenSSL on your Linux box supports.
Yes, the patch covered only macOS.  It was made as a result of your initial issue.  It turned out that on macOS, BlueSSLService was not setting the proper default cipher suite.

After a little more reading. It looks like BlueSSLService needs to implement the Diffie Hellman key exchange function API calls for those ciphers to become available to the server.
Take a look at the following:
Link 1
Link 2 - Look at the section on Eliptical curve Diffie Hellman
The OpenSSL library on the Ubuntu system supports Perfect Forward Secrecy and the related ciphers. I have tested this using
Server
openssl s_server -accept <port> -cert <certfile> -key <private key>
Client
nscurl --ats-diagnostics https://server:port

I'll take a look.  No sure when I'll have time to get to it...  In the meantime, I'll re-open this issue so I don't forget.

After some testing, adding the following line to SSLService.main: prepareContext() function does enable the necessary ciphers to work with App Transport Security
SSL_CTX_ctrl(context, SSL_CTRL_SET_ECDH_AUTO, 1, nil)
One caveat is that this function is only available in OpenSSL v1.0.2+ , so this does not work with ubuntu-14.04
You can add this to prevent the function from executing on earlier version of OpenSSL
let ver: String = OPENSSL_VERSION_TEXT
if ver.contains("1.0.2") {
    SSL_CTX_ctrl(context, SSL_CTRL_SET_ECDH_AUTO, 1, nil)
}

Thanks for the research and the code snippet.  I added the change to the latest version (0.12.23).

The functionality has been added to version 0.12.26 however it must be enabled using a switch when building.  See the README.md for more details.


featureprune runtime filter by ndv

Proposed changes
rf prune
suppose we have a join: A join B on A.x=B.y
we create a runtime filter RF(B.y->A.x).
The selectivity of rf could be estimated according to the  ndv of A.x and B.y as following:

assume the intersection of range (x.min, x.max) and (y.min, y.max) is S
the ndv of y in S is denoted as SyNDV = (S.max-S.min) / (y.max - y.min) * y.ndv
the selectivity of RF is 1-(SyNDV / x.ndv)

if the selectivity is lower than threshold, the RF will be ignored.
tpch sf500 test
improved by 1.3 to 2.3 second
prune
q8 4085 4069
q9 21702 20954
q10 5121 5074
q13 8832 8850
q20 446 442
no prune
q8      3896    3899
q9      23250   22062
q10    5131    5021
q13    9267    9272
q20    464     481
RF prune benefit q9/q10/q13, but not good for q8 and q20.
q8: RF(N>C) is effective but pruned, because N is filtered by RF(R->N). we will improve RF cascading in future.
q20: RF(ps_suppkey->l_suppkey) is effective but pruned, ps is filtered by ps_partkey, but ps_suppkey.ndv is not updated. we will improve this in future.
stats derive
T1 join T2 on T1.a = T2.b
in result stats, T1.a.ndv should be equal to T2.b.ndv. In this pr, we fixed this problem.
memo
after we do statsJob on a groupExpression, we will record the stats if the new stats's row count is smaller than that of original stats.
In this pr, we will update columnStats.ndv. that is resultStats.columnA.ndv = min(newStats.columnA.ndv, originStats.columnA.ndv).
consider
 gp1 (T1 join T2 on T1.a=T2.b) join T3 on T2.b=T3.c where T3.d=1
suppose the ndv of a/b/c are 10. after filter T3.d=1, T3.c.ndv becomes = 5.
in current algorithm, ndv for a in result stats is 10, but it should be 5.
gp2 T1 join ( T2 join T3 on T2.b=T3.c ) on T2 on T1.a=T2.b where T3.d=1
after stats derive, ndv for a is 5.
So we need to merge column's ndv of gp1 and gp2
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Snags on markets suspended by governance

The Chore
Markets suspended by governance have a couple of issues.
First; there is no banner .. I feel like these should have the banner as we have these for liquidity / price suspensions right?

Second, when the market is suspended your position disappears.

It is presumably getting filtered out because if you click to show closed markets it appears

Tasks

[ ] Add a banner, only if suspended by governance, I guess whatever banner we have for other price / liquidity related suspensions
[ ] Follow whatever pattern we have in the text but I would assume it would mention the suspension and link to the governance proposal that suspended it.
[ ] Filters on positions should only filter out settled / terminated markets .... not suspended ones.

Additional details / background info

We do not have a banner for markets that are suspended for Liquidity or Price Monitoring. All the info is in trading mode and status in the trade header.
Most probably this is because we still want to allow users to place limit orders.
I can change the logic for "Hide/Show closed markets" to filter out only settled/terminated markets and not the suspended ones.

Have agreed no bannr needed ... I was confused in my initial statement


Observation components and panel members not showing up in data dictionary export

Example: systolic and diastolic blood pressure.

I think you already know this, but it sounds like the data dictionary is missing the includes type constraints on elements.
@garypgryan - Includes type constraints allow the author to constrain an array of a base type to contain specific numbers of subtypes.  Non-clinical example: A Zoo might have 0..* Animal.  A PettingZoo that is based on Zoo can say that the 0..* Animal must include 2..* Goat, 1..* Pony, and 5..* Duck.
Rute's clinical example is for BloodPressure.  BloodPressure is based on Observation, so it constrains 0..* Component to include 1..1 SystolicPressure and 1..1 DiastolicPressure.
In the code, the BloodPressure DataElement's Component field (an instance of IdentifiableValue) has constraints.  Two of those constraints are IncludesTypeConstraint (source) constraints.  Each IncludesTypeConstraint has an isA property indicating that is included (in this case, one will be the identifier for SystolicBloodPressure and the other will be _DiastolicBloodPressure).

Moved to CIMPL-33


Button components

Before you submit, please check that:

[ ] You labeled the PR with appropriate labels, if any.
[ ] You mentioned a related issue if this PR related to it, e.g. Fixes #22 or Related #17.
[ ] You performed a self-review of your own code
[ ] You commented on code, particularly in hard-to-understand areas
[ ] You asked any particular reviewer to review. If you aren't sure, ask.
[ ] Your PR adheres to our CONTRIBUTION GUIDELINES

After you've read this notice feel free to remove it.
✄ -----------------------------------------------------------------------------
What does this PR do?
Implements Button Components to be used across the platform
How should this be manually tested?
go to /marketplace
Screenshots(optional)
If applicable, add screenshots to help to explain the problem/solution.

I just realized, a Button will also accept a clickHandler.

I just realized, a Button will also accept a clickHandler.

Right, can you add that? and continue your work.
Also, you said all buttons are {link} so shall we wrap the button as well with the link?

Right, can you add that? and continue your work.
Also, you said all buttons are {link} so shall we wrap the button as well with the link?


Added bus reservation project. Fixes #202

added bus reservation project to the website
https://github.com/user-attachments/assets/d1039670-4b66-4593-8f46-b0ace40dadaa

hey @iamrahulmahato,
i have added the project to this pr.
can you please check this pr?

#202


SAK-40118 Printing from Sign-up tool displays the profile change phot…

…o option

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

See the complete overview on Codacy


Docs modification (admin)

Improve the language in admin manual

Coverage remained the same at 34.237% when pulling b76c3f6d03985972aac22d3798551f6b53489acc on Starmys:master into 2c605389abb5d7fb63fa54fa1e1bc0f47afef612 on microsoft:master.

Improve the language in admin manual

Can you check also the README.md file in the root folder ?

Rebase operation error, will create a new one.


Could the ego car be the scene center?

Hi, thanks a lot for sharing the nice work. I am wondering whether the ego car could be the scene center as the BEVFormer defined. It seems that the current center is defined in the front camera.
And another tiny question is that, in the code, there have some customized operations such as:
merge_intrinsics, split_intrinsics, safe_inverse.
I am wondering that would it cut down the performance if used common libraries such as PyTorch and NumPy, like torch.inverse()， np.linalg.inv().
Thanks again!

Yes, the scene_centroid parameter in vox_util defines the centroid of the 3D/BEV coordinate system, so you can shift that around as you like.
Those merge/split functions don't really do anything computational, they just slice and concatenate.
I like safe_inverse because it takes advantage of the fact that the 4x4 matrix is a rigid transformation, and guarantees that the output is rigid also, whereas the basic torch/numpy inverse ops don't assume anything and can occasionally do something unstable.

I see. Thanks a lot!


STAT-83 ⁃ p2p authenticate peer on handshake #505

github #505
One of the security enhancements identified as part of #291
ATC, Test Plan
Introduction
This issue adds functionality to eosd and launcher.  eosd can now optionally authenticate connecting peers in the p2p network via public key.  eosd has a new config file setting called allowed-connection.  Valid values for this setting are none, producers, specified, and any.  If the setting is not present, it defaults to none.  launcher defaults to generating config files with allowed-connection = any.  launcher has a new command line option to control this setting: -m.  Valid values for this option are identical to those used on the eosd config file.
The repository currently includes a tests/p2p_tests/sync directory with a test.sh script that is run by Travis during every GitHub-initiated build.  This script currently tests only the default launcher setting.
Tests
All tests below assume a successful build of the repository.  Test commands illustrated below must be run from the top level build directory.
Note: Any or all of the tests described below could be and probably should be automated.
launcher-driven Tests
Verify producer-only authentication (positive validation)

Run programs/launcher/launcher -p 3 -n 3 -i now -m producers
Allow eosd to run for at least 2 minutes.
Run programs/launcher/launcher -k 2
Verify each of tn_data_0/config.ini, tn_data_1/config.ini, and tn_data_2/config.ini contains allowed-connection = producers.
Verify each of tn_data_0/stderr.txt, tn_data_1/stderr.txt, and tn_data_2/stderr.txt does not contain Peer not authenticated.  Closing connection.

Verify producer-only authentication (negative validation)

Run programs/launcher/launcher -p 2 -n 3 -i now -m producers
Allow eosd to run for at least 2 minutes.
Run programs/launcher/launcher -k 2
Verify each of tn_data_0/config.ini, tn_data_1/config.ini, and tn_data_2/config.ini contains allowed-connection = producers.
For the two instances which contain producer-name = lines in config.ini verify either of the corresponding stderr.txt s contains Peer localhost:9878 sent a handshake with an unauthorized key: EOS1111111111111111111111111111111114T1Anm. and Peer not authenticated.  Closing connection.
For the instance which does not contain producer-name = lines in config.ini verify the corresponding stderr.txt does not contain any chain_controller.cpp:235      _push_block lines and does contain repeated Peer localhost:9876 sent a handshake with an unauthorized key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV. lines.

Verify specified authentication

Run programs/launcher/launcher -p 3 -n 3 -i now -m specified
Allow eosd to run for at least 2 minutes.
Run programs/launcher/launcher -k 2
Verify each of tn_data_0/config.ini, tn_data_1/config.ini, and tn_data_2/config.ini contains allowed-connection = specified, and entries for peer-key = and peer-private-key =.
Verify each of tn_data_0/stderr.txt, tn_data_1/stderr.txt, and tn_data_2/stderr.txt does not contain Peer not authenticated.  Closing connection.

Verify none authentication

Run programs/launcher/launcher -p 3 -n 3 -i now -m none
Allow eosd to run for at least 2 minutes.
Run programs/launcher/launcher -k 2
Verify each of tn_data_0/config.ini, tn_data_1/config.ini, and tn_data_2/config.ini does not contain any allowed-connection = lines.
Verify each of tn_data_0/stderr.txt, tn_data_1/stderr.txt, and tn_data_2/stderr.txt contains Peer not authenticated.  Closing connection.

Manually Configured Tests
Verify producer and specified authentication

Run programs/launcher/launcher -p 2 -n 3 -i now -m producers -m specified
Run programs/launcher/launcher -k 2
Run programs/eosc/eosc create key three times.
In a text editor in tn_data_0/config.ini, change the line peer-key = "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV" to include the first public key generated in the preceding step by pasting the value between the double quotes, overwriting the existing value.  Be sure to preserve the double quotes.
In tn_data_0/config.ini add a second peer-key = "" line containing the second public key generated in the step above.
In tn_data_0/config.ini, change the line peer-private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] to include the third key pair generated in the step above by pasting first the public key between the first pair of double quotes and second the private key between the second pair of double quotes.
In a text editor in tn_data_1/config.ini, change the line peer-key = "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV" to include the first public key generated in the step above.
In tn_data_1/config.ini, add a second peer-key = "" line containing the third public key generated in the step above.
In tn_data_1/config.ini, change the line peer-private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] to include the second key pair generated in the step above.
In a text editor in tn_data_2/config.ini, change the line peer-key = "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV" to include the second public key generated in the step above.
In tn_data_2/config.ini, add a second peer-key = "" line containing the third public key generated in the step above.
In tn_data_2/config.ini, change the line peer-private-key = ["EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV","5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3"] to include the first key pair generated in the step above.

#* The distribution of keys to config files described above is summarized in the following table:
#* ||config.ini||peer-key||peer-private-key||
|----|----|----|
|tn_data_0|1 ^st^ and 2 ^nd^|3 ^rd^|
|tn_data_1|1 ^st^ and 3 ^rd^|2 ^nd^|
|tn_data_2|2 ^nd^ and 3 ^rd^|1 ^st^|

Run programs/eosd/eosd --skip-transaction-signatures --data-dir tn_data_0 > tn_data_0/stdout.txt 2> tn_data_0/stderr.txt &
Run programs/eosd/eosd --skip-transaction-signatures --data-dir tn_data_1 > tn_data_1/stdout.txt 2> tn_data_1/stderr.txt &
Run programs/eosd/eosd --skip-transaction-signatures --data-dir tn_data_2 > tn_data_2/stdout.txt 2> tn_data_2/stderr.txt &
Allow eosd to run for at least 2 minutes.
Run pkill eosd
Verify each of tn_data_0/stderr.txt, tn_data_1/stderr.txt, and tn_data_2/stderr.txt does not contain Peer not authenticated.  Closing connection.

┆Attachments: config.ini | config.ini | config.ini

➤ Kevin Heifner commented:
[~jonathan.giszczak] [~phil.mesnier] It seems to me this is out of scope for STAT but it is what Jonathan is currently working on. Should we stop work on this and move to something in scope of STAT?

➤ Phil Mesnier commented:
Jonathan is working on this now because Dan specifically directed him to do so. He is nearly done anyway.

➤ Kevin Heifner commented:
[~jonathan.giszczak] What is your estimate for completion, in terms of story points?

➤ Jonathan Giszczak commented:
All issues addressed.  Merge conflicts addressed.  All automated tests pass.  Ready for peer review and merging.

➤ Kevin Heifner commented:
[~matias.romeo] Why did you mark this as blocked?

➤ Corey Lederer commented:
No problem [~matias.romeo].  I'll move it back.

➤ Matias Romeo commented:
My bad, It was unintentional! I can't move it back to where it was!

➤ Corey Lederer commented:
Placing this back in "Code Review" after is was marked as blocked by accident.

➤ Bezwada Satyapravin commented:
The ATC is very descriptive but it is not clear to me if I should use the launcher to start nodes locally or on testnet. Please advise.

➤ Jonathan Giszczak commented:
The instructions were written for a local testnet, since the daemons will be started and stopped a lot.  No need to interfere with the operation of the testnet.

➤ Bezwada Satyapravin commented:
Following commands don't work:
MacBook01:build pravin$ programs/launcher/launcher p 3 n 3 i now m none
unrecognized connection mode: none
MacBook01:build pravin$ programs/launcher/launcher -p 2 n 3 i now m producer m specified
unrecognized connection mode: producer

➤ Bezwada Satyapravin commented:
Jonathan Giszczak, [Nov 17, 2017 at 8:41:41 PM]:
With two notes: reverse priority of producer and peer-private keys.
Please attach the three config.ini files.
And the other note...
non-producing node is not sending the correct authorization key.

➤ Dhanesh Valappil commented:
Can you please update ATC for 21 nodes?

➤ Jonathan Giszczak commented:
The ATC requires a "broken" configuration to verify functionality, and so should be executed as written on local nodes.

➤ Andrianto Lie commented:
Fail for the fourth test case.
andrianto@MacbookPro build ((HEAD detached at STAT-2017-11-27)) $ programs/launcher/launcher -p 3 -n 3 -i now -m none
unrecognized connection mode: none

➤ Andrianto Lie commented:
The other test cases pass

➤ Jonathan Giszczak commented:
Launcher enhanced to support the remaining test case.

Verified by QA.

➤ Corey Lederer commented:
Moving to finished, this was moved to closed-withdrawn by mistake.


Adds GitHub action stale bot

What this PR does / why we need it
Adds stale label to PRs and issues after 30 days
and closes them after 15 days.
Avoids the stale label for PRs with milestones attached.
Ref GitHub stale action: https://github.com/actions/stale
Details for the Release Notes (PLEASE PROVIDE)

Added github actions stale bot to label / close stale issues and PRs

Which issue(s) this PR fixes
Fixes: #2876
Describe testing done for PR
N/a
Special notes for your reviewer
n/a

Up to feedback on messaging and length of time we plan to close issues and/or PRs 👀

There is the ability to provide a exempt-milestone with a list of milestones that the stale action should ignore. Not great since we'd have to keep a list in the config of the milestones we have and are using. I don't think there's an elegant way to do a ! icebox milestone type of logic so I opened:

[ ] https://github.com/actions/stale/issues/657

Per a discussion with Josh, updated this to label issues/PRs stale after 60 days and close after another 30 days; 90 in total. This also ignores the upcoming milestone for long running issues and PRs.


PLT-5458: use channel_mention hints

Summary
Uses the "channel_mention" hints generated by https://github.com/mattermost/mattermost-server/pull/7833 when users aren't in the linked channel.
Before the repo split this was part of https://github.com/mattermost/mattermost-server/pull/7324
Ticket Link
https://mattermost.atlassian.net/browse/PLT-5458
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

@hmhealey updated.


Strange behaviour when plotting with groups

I realized a strange behaviour of scanpy when using plotting with groups (e.g. sc.pl.umap(adata, color='blobs', groups='Zero'))
Take the following example:
import scanpy.api as sc
adata = sc.datasets.blobs()
sc.pp.neighbors(adata)
sc.tl.umap(adata)

# this works
sc.pl.umap(adata, color='blobs', groups='0')
adata.obs['blobs'] = adata.obs['blobs'].cat.rename_categories({'0': 'Zero'})

# this also works
sc.pl.umap(adata, color='blobs', groups=['Zero'])

#this does not
sc.pl.umap(adata, color='blobs', groups='Zero')

which gives as an output
... storing 'blobs' as categorical

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-47-a9cdfcb56f9d> in <module>()
     13
     14 #this does not
---> 15 sc.pl.umap(adata, color='blobs', groups='Zero')

~/software/scanpy/scanpy/plotting/tools/embedding.py in umap(adata, color, use_raw, edges, edges_width, edges_color, arrows, arrows_kwds, sort_order, alpha, groups, components, projection, legend_loc, legend_fontsize, legend_fontweight, color_map, palette, frameon, right_margin, size, title, show, save, ax)
    290         show=False,
    291         save=False,
--> 292         ax=ax)
    293     if edges: utils.plot_edges(axs, adata, basis, edges_width, edges_color)
    294     if arrows: utils.plot_arrows(axs, adata, basis, arrows_kwds)

~/software/scanpy/scanpy/plotting/anndata.py in scatter(adata, x, y, color, use_raw, sort_order, alpha, basis, groups, components, projection, legend_loc, legend_fontsize, legend_fontweight, color_map, palette, frameon, right_margin, left_margin, size, title, show, save, ax)
    104             show=show,
    105             save=save,
--> 106             ax=ax)
    107     elif x is not None and y is not None:
    108         if ((x in adata.obs.keys() or x in adata.var.index)

~/software/scanpy/scanpy/plotting/anndata.py in _scatter_obs(adata, x, y, color, use_raw, sort_order, alpha, basis, groups, components, projection, legend_loc, legend_fontsize, legend_fontweight, color_map, palette, frameon, right_margin, left_margin, size, title, show, save, ax)
    409                     raise ValueError('"' + name + '" is invalid!'
    410                                      + ' specify valid name, one of '
--> 411                                      + str(adata.obs[key].cat.categories))
    412                 else:
    413                     iname = np.flatnonzero(adata.obs[key].cat.categories.values == name)[0]

ValueError: "Z" is invalid! specify valid name, one of Index(['Zero', '1', '2', '3', '4'], dtype='object')

The last call sc.pl.umap gives and error but I would expect it to work. It seems that scanpy iterates over the string 'Zero' in the last call of sc.pl.umap. Of course, it is easy to work around by explicitly passing a list with one element as in the second call, but it took me a while to figure this out.
sc.logging.print_versions() prints scanpy==1.2.2+96.g28f5034 anndata==0.6.4 numpy==1.15.0 scipy==1.1.0 pandas==0.23.0 scikit-learn==0.19.2 statsmodels==0.9.0 python-igraph==0.7.1 louvain==0.6.1

Hm, very strange.
Generally: groups is somehow reminiscent of times when AnnData didn't have views. Today, I'd say one should simply pass a subsetted AnnData (by default a view). What about deprecating the groups parameter?

For me the difference between passing a subsetted AnnData to using groups would be that when using groups all other cells are plotted but greyed out. I find that usefull sometimes. So I would like to retain the feature.

Thanks, Fidel. The automatic conversion was indeed missing. I've added it here: https://github.com/theislab/scanpy/commit/9ad11aa4911bd3665b27e32b5a822f3c41274b5a

umap expects a list as group, so it will work if you do:
sc.pl.umap(adata, color='blobs', groups=['Zero'])

the improvement that I would consider is to automatically convert a string into a list to avoid the error message.

hi, I wonder how could I get the pca figure with the sample marked by different color.
my previous code related is as following :
adata001 = sc.read_10x_mtx(
adata002=...
...
adata = adata001.concatenate(adata002, adata003, batch_key='sample')
...
sc.pl.pca(adata, color='CST3', save='-6.png', components='1,3', groups='sample)
However, the figure of this code has no difference compared to "sc.pl.pca(adata, color='CST3', save='-6.png', components='1,3')", which means the different samples are not marked by different colors. could you please help me?


chores: move all events in transfer module to events.go

Description

closes: #6369

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

Hi @hastur199. You can actually open the PR against main for this. Thanks!


Runtime Error: Error at GBitVec

After your suggestion on Biostars regarding the Runtime Error:
'Error at GBitVec: index 7 out of bounds (size 7)'

I updated StringTie to version 1.1.1, but the error keeps happening. After using the parameter -v the following lines are the last before StringTie crashes:
[11/08 14:57:59]>bundle 6:1383650-1383656(1) (0 guides) loaded, begins processing...
[11/08 14:57:59]Number of fragments in bundle: 1 with sum 7
^bundle 6:1383650-1383656(1) done (0 processed potential transcripts).
[11/08 14:57:59]>bundle 6:1383790-1389117(31) (1 guides) loaded, begins processing...
Error at GBitVec: index 7 out of bounds (size 7)

Maybe I misunderstand the parameter -c, I increased the default value to 10 but the error stays.

Sorry about that, I guess we missed a particular case where such an error may still surface.
We'd really like to take a look at that particular bundle -- if possible, please extract the alignments in that bundle 6:1383790-1389117 (using samtools view -b after indexing the .bam file) and send the resulting bam file and the annotation file to us.

I created the region (and removed some additional reads) and uploaded my bam file for that bundle to my google drive:
https://drive.google.com/file/d/0B4X48NnBh1acc0Z0SVpxLUowZWM/view?usp=sharing
I'm using the GTF from ensembl 80:
ftp://ftp.ensembl.org/pub/release-80/gtf/homo_sapiens/Homo_sapiens.GRCh38.80.gtf.gz
The reads never went through quality control or any other type of pre-processing. They are just a bunch of test reads straight from the sequencer into the aligner.
Thx

Thank you a lot for this example, it allowed us to quickly locate and fix the problem.The fixed version is the just-released v1.1.2 of stringtie.

Thank you. Works like a charm.


docs: change clientId type on kafka operation to schema

clientId on kafka operation should be a schema"
following the discussion in #647, the kafka example should follow the bindings specification.

@smoya no, it is definitely not fix as it is related to docs and not spec itself.

@KhudaDad414 please adjust the PR title and pink one of the Kafka-binding maintainers so they are aware of this PR

/rtm

@allcontributors please add @KhudaDad414 for example, bug


Missing py.typed file

Trying to use the example in the docs:
from datetime import datetime

from aql import table
from aql.column import AutoIncrement
from aql.engines.sql import SqlEngine
from aql.types import PrimaryKey, Text, Unique

@table("objects")
class Object:
    id: PrimaryKey[AutoIncrement[int]]
    name: Unique[str]
    description: Text
    created: datetime

query = Object.select().where(Object.id >= 25).order_by(Object.name).limit(5)

sql, params = SqlEngine.prepare(query)

mypy says:
❯ ./.venv/bin/mypy --config-file=mypy.ini .
main.py:3:1: error: Skipping analyzing 'aql': found module but no type hints or library stubs
    from aql import table
    ^
main.py:3:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
main.py:4:1: error: Skipping analyzing 'aql.column': found module but no type hints or library stubs
    from aql.column import AutoIncrement
    ^
main.py:5:1: error: Skipping analyzing 'aql.engines.sql': found module but no type hints or library stubs
    from aql.engines.sql import SqlEngine
    ^
main.py:6:1: error: Skipping analyzing 'aql.types': found module but no type hints or library stubs
    from aql.types import PrimaryKey, Text, Unique
    ^
main.py:17:9: error: "Type[Object]" has no attribute "select"
    query = Object.select().where(Object.id >= 25).order_by(Object.name).limit(5)
            ^
Found 5 errors in 1 file (checked 1 source file)

rel: https://www.python.org/dev/peps/pep-0561/#packaging-type-information

Thanks for catching that, I'll have a new release out shortly.


Disabled Tools Do Not Remain Disabled After Restarting Software

Microsoft PowerToys version
0.53.1
Running as admin

[X] Yes

Area(s) with issue?
Settings
Steps to reproduce

Update PowerToys from an older version to 0.53.1, or possibly install 0.53.1 directly (direct install instead of upgrade untested).
Start PowerToys.
Disable all PowerToys tools except for FancyZones, File Explorer add-ons, and Mouse utilities.
Close the PowerToys window (should still be running in background).
Right-click on PowerToys taskbar icon and click Exit.
Start PowerToys.

✔ Expected Behavior
All PowerToys tools except for FancyZones, File Explorer add-ons, and Mouse utilities remain disabled after setting to disabled and restarting the software.
❌ Actual Behavior
All PowerToys tools are enabled after restarting software, despite disabling most of the tools before restarting.
Other Software
No response

This bug is a duplicate.

/dup #15450