install doc (et al): replace all mentions of pip with pip3

Is your feature request related to a problem? Please describe.
The pip command isn't necessarily pointing to a python 3 binary. To avoid any issues, we should update the documentation to use pip3 instead of pip in example commands:

README.md
developer_guide/development_workflow.md
getting_started/installation.md
recipes/creating-a-custom-runtime-image.md

Describe the solution you'd like
A clear and concise description of what you want to happen.
s/pip/pip3/g

I can take this one. :-)

hi @ptitzler, for developer_guide/development_workflow.md, since the active conda environment is already pointing to Python 3, do we still need to change the pip command to pip3?

Done.


Table对于嵌套属性能否生成一列？

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug

如果是直接属性，可以显示，嵌套的就显示不了，是用法错误还是不支持呢？
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response

@yangf85 猜不出来。你数据库服务有问题吧


python3Packages.wandb: 0.13.7 -> 0.13.9

Description of changes

Update to 0.13.9
Disable some tests that attempt network access
Explictly set BOKEH_CDN_VERSION for tests to prevent hitting a NRE when bokeh loads

These changes were encountered when reviewing #207070.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 212848 run on x86_64-linux 1

4 packages failed to build:

python310Packages.dalle-mini
python310Packages.spacy
python310Packages.spacy-transformers
python310Packages.textacy

2 packages built:

python310Packages.spacy-loggers
python310Packages.wandb

Thanks for upgrading and fixing @mattmelling!


About OBDII interfance for 2016 Acura MDX 3.5L AcuraWatch Plus Package

Hello,  I plan to test the NEOS on my 2016 Acura MDX, it has back camera, front has radar detect alarm when too close front of car.
The guide.pdf page14, OBDII, missed pin-4(ignition), 7, 8. I tried to google MDX OBDII code definition, no found yet.  Do you have any kind of troubleshooting comments? or tools/docs sharing? Thanks.

For the 2016 MDX you can follow the pinouts described in the JAE column. However steering control is done differently in the MDX (using a communication protocol called LIN instead of CAN, similar to the Honda Accord) and the NEO hardware will not be able to control it.


Building AppUIBasics, and other samples fails with 2 errors

Environment
Windows 10
VS 2015 Community Edition
Steps to Reproduce

Open AppUIBasics solution
Rebuild solution
Get 2 errors on build

Type universe cannot resolve assembly: System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'	AppUIBasics

Note: The same issues occurs for several other sample solutions that were opened.

Workaround

Create a new C# project for UWP and copy all artifacts from the original AppUIBasics C# project and everything builds and the generated executable runs.

I just did a fresh install of Community Edition and opened the AppUIBasics project and it built and ran. So maybe there is something peculiar to your configuration that is causing the problem. Type resolution problems suggest to me that there was a problem fetching the NuGet packages.

Found an update for NuGet Package Manager for Visual Studio and upgrade from version 3.1.60717.741 to 3.1.60724.766. Still was getting the same error. I will continue looking. Thanks.

Maybe your network has some problem.
I just connect my vpn, and solve the problem.

Closing old issues.


cleanup: new project docs fix-ups

This cleans up the recently added project docs and fixes some minor issues.

remove inline styles where possible
add redirects for renamed/replaced documents
add styles for GitHub labels to match the style on GitHub
fix minor markdown issues causing some code-blocks to be shown as text
wrap the documents to 80-chars
use 4 spaces in stead of tabs for identing and remove
trailing whitespace/redundant blank lines
optimized 'gordon' image

Screenshots of the "labels" (before/after):

ping @moxiegirl @SvenDowideit (for redirects)
Don't be shocked by the large number of changed lines, it's mostly due to formatting and whitespace/wrapping and tabs -> spaces.

Note: I just noticed that the docs-base is not automatically updated. I suspect docs make doesn't always pull the latest image, causing my changes to the CSS to not be in the current documentation on the website.
I'll create a separate ticket for that.

@moxiegirl the bullet-lists should be fixed now (some stray spaces). I updated the PR, but check if you have time.
Unfortunately, due to https://github.com/docker/docker/issues/11230, I agree that merge should be held until we know the CSS is updated. I can temporarily add the styles in a <style> tag if you want this merged before that.

Great stuff @thaJeztah --- I need to get a primer on why I'm getting all these spacing issues. I have all my margins set to 0 and was wrapping religously --- so obviously I missed a setting on spaces or something.   I'm gonna go off for a bit and then I'll come back and see where we are at re the CSS on the tables.  I'd like to get both your CSS fix and this pulled today.

@moxiegirl If the CSS is corrected, are you okay with removing your inline styles, or do you want me to restore them? You can see what it will look like at the http://docs.dockr.nl:8000/project/make-a-contribution/. If not, I'm happy to restore the styling later on.
Sorry for some of the slip-ups I made (all with good intent).
I'll be off for a couple of hours as well, but will check later on.

@thaJeztah If the CSS is corrected, I'm defnitely okay with removing the inline styles.  Don't remove 'em yet --- I'm hoping we can sort out the merge issues and all today.
No need to apologize.  I really appreciate your keen eye and your expertise!

@thaJeztah you rock.

(Thanks, Ahmet!)
@moxiegirl I've taken an unorthodox approach and created a second, alternative PR https://github.com/docker/docker/pull/11231 that re-introduces some inline styles
It's now midnight here, and in case you want to have something merged today, the other PR should allow you to merge even if the docs/base issue isn't fixed.
diff between this and the other PR (couldn't find how to show that with GitHub), is here:
https://gist.github.com/thaJeztah/89594c820fa6aa092379

@jfrazelle is there a problem with waffle.io ? It didn't label this with 0-triage. Maybe we should remove waffle completely :) That way we can remove the 0-triage label altogether.

It is 5:30 here @thaJeztah  I'm just taking a look at this.

@moxiegirl oh goodness, early rising!
Closing this PR because https://github.com/docker/docker/issues/11231 was merged. Will create a follow up PR to remove the temporary styles once the issue with docs/base is resolved.


Implement tests

Tests should:

run as part of every build
validate all links with articles point to a live resource
ensure services are “live”*
ensure site generator has unit testing in place
ensure site generator has code coverage in place
badge tests and coverage
test services for change by providing known input and checking output

This could be tricky. In places we use services hosted on CDNs. In the case that the service is retired or changes URL we should fail the test. However in the case where a service is temporarily down that is overkill. Maybe services should be periodically monitored instead?

Maybe used build artifacts to generate site and pass to a separate workflow for testing.

Testing required services at build time is limited. A service like this one could solve that problem.
It could also be used to alert when the site is down. However we should consider that the site is serverless and repeated pings could impact Azure pricing.

Notification to share results

Interesting discussion Dev.to. We should implement CSS, JS and HTML linting as part of the build pipeline.

Some interesting ideas.

Longing package. Listing Html, js and css probably makes more sense in Node than .net.

This story is too big ⬆⬆⬆.
#82 contains de-scoped items.

New Scope:

Create local dev environment
Use Docker to provide local Azure functions (functions & maybe cosmos)
Use a reverse proxy to simulate auth services (and cosmos if not emulated)

Cosmos db requires a Windows container.  Azure functions and Nginx require Linux.  Compose dropped support for platform in version 2.4.  As of 3.8 it has not returned.
Use a reverse proxy instead.


Add SQL Quiz Question "How to Access All Column Names"

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Hi @johnpatrickanders !
Congrats on your first contribution to our repository. 🎉 We look forward to future contributions. 👍

Thanks so much, @jdwilkin4!


Error: An API error occurred: account_inactive

We are getting error account_inactive after completing each step in: inputs > tokens
I can see from Slack docs the definition of error.
account_inactive | Authentication token is for a deleted user or workspace when using a bot token.
Run<EMAIL_ADDRESS>  with:
    token: xyx
    channels: cypress-results
/usr/bin/docker exec  763dc492a6xxxxxxxxxxxxxxxxx3b0d704a5e9026c42356 sh -c "cat /etc/*release | grep ^ID"
Error: An API error occurred: account_inactive

In your steps you say add permissions: do you mean add Bot Token Scopes permissions and leave User Token Scopes
blank?
Also the permission names do not match the names in your steps, can you confirm if what I selected is correct for Bot Token Scopes?

I got this working today. My Bot Token Scopes are:
chat:write
files:write

Originally I was hardcoding my bot token into the workflow rather than using GH secret (cutting corners). Do use token: ${{ secrets.SLACK_TOKEN }}
Also to add the app to my Slack channel, just use @AppName, no need for /invite . Once I tidied these up the package works great.

This is the only package I found that actually posts the screenshots and videos into Slack, every other package just links back to the (Mochawesome) gh-pages assets folder in git repo.
Well done to the author 👏 also I recommend you update the README token steps.
Here is an example of my Slack:

Sorry for the late response, been AFK for a few days. Sorry for the confusion, glad you got it working, and thanks for the detailed information! I'll update the README so that nobody else has to jump through all those hoops.
Thanks again!


TypeScript error with SharePoint module in SPFx Extension

Category

[ ] Question

I am trying to connect to SharePoint term store using the JavaScript Object Model (JSOM) as explained here. But I am getting the below error:
Any idea?
Feature : SPFx Extension

It looks like the version of the TypeScript compiler isn't compatible with the version of @types/sharpeoint that you're trying to use.
Which version of the build tools (@microsoft/sp-build-web) are you using in your project? Is it GA or is it the latest drop?

@iclanton I am using the latest drop.

To work around this issue you can install an older version of the SharePoint TypeScript typings, which are compatible with TypeScript v2.2.2 used by SPFx, like<EMAIL_ADDRESS>

Yes, this will work until the issue is fixed. Thank you @waldekmastykarz.

Thanks for your feedback. The fix should be available in next drop when we upgrade to TS 2.4. Please reopen if the bug is reproduced.


Corning-Costar 6-well flat-bottom plate integration

Hi everyone,
A small PR to start the PLR resource library expansion again:

I added a new volume function called calculate_liquid_volume_container_1segment_round_fbottom which simply calculates the volume of liquid inside a cylindrical one segment container/well.

I added the definition for the Corning-Costar 6-well flat-bottom plate, Cos_6_Fb, product no.: 3516.

I added a README to the PLR pylabrobot/resources/corning_costar/ folder. I only added the description of the new Cos_6_Fb plate. (I'd recommend that people who use other corning_costar products with PLR make simple, small PRs with just the definition addition in the README to expand the README with verified and actively used labware definitions; it is in everyone's best interest to find these definitions and be able to trust them.)

the information in this definition is not accurate with the manufacturer spec. I updated it in https://github.com/PyLabRobot/pylabrobot/pull/311


Change all instances of cursor to session

Fixes #402.
Cassci results here: http://cassci.datastax.com/view/Dev/view/ptnapoleon/job/connection-rename-dtest/1/testReport/

@knifewine to review.
@aboudreault or @mambocab to look as well

+1 for sure on this. "session" is a better name.

Justification for new name: http://datastax.github.io/python-driver/api/cassandra/cluster.html#cassandra.cluster.Session

CONTRIBUTING.md also altered to reflect this new, hard requirement.

In principle, I love it. However, it looks like there are some problems with the bucketizer right now, so some of the tests aren't getting run:
$ nosetests --collect-only --with-id -vv --test-select-config conf/trunk_test-select.cfg 2>&1 |  wc -l
728

vs. the 502 + 165 + 2 = 669 that actually got run on CassCI. It's up to you if you want to merge now and deal with any potential fallout once the bucketizer starts working correctly on trunk, but if it were me I'd wait until I could run all the tests on trunk.

I'm aware the auth tests didn't run. I'll run them locally?

Also, I'll add a second commit to fix the travis complaints

Sounds good -- if you run the tests that didn't run locally, this gets an unqualified +1 from me (though, are the auth_tests the only ones that didn't run?). And making Travis happy is a nice onus, thanks for taking that on.

Overall looks good to me. What do you guys think about renaming the connection methods in dtest.py as well (I think they all return session objects), so no reason to cling to "connection" either unless I'm missing something.

I don't mind the current method names. There does seem to be no need for cql in the method names anymore, now that the default connection type is native.

+1 with or without the "cql"/"connection" change.

I'm still +1 on this PR without the cql/connection change, but I do think that we should remove cql and change connection to session at some point. We could do that as part of tackling #204, but I don't think it's a priority.

auth_tests are passing

@mambocab to review the nine thousand pep8 fixes I just made

I left some comments about reformatting multi-line strings, which I'm ambivalent about. I won't hoot and holler about the existing changes getting merged, but I'm meh on pretty much every solution to it.
But the rest of the PEP8 fixes are gorgeous.


[#559] refactor: use system stubs to mutable environment variables

What changes were proposed in this pull request?
refactor RssUtils.setEnv with EnvironmentVariables system stub
Why are the changes needed?
Better code quality. This fixes #559
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existed UTs.

Codecov Report

Merging #560 (10c0793) into master (5cba4e7) will increase coverage by 0.80%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #560      +/-   ##
============================================
+ Coverage     60.87%   61.67%   +0.80%
+ Complexity     1796     1663     -133
============================================
  Files           213      200      -13
  Lines         12372    11096    -1276
  Branches       1050      928     -122
============================================
- Hits           7531     6844     -687
+ Misses         4434     3874     -560
+ Partials        407      378      -29

Impacted Files
Coverage Δ

...he/uniffle/server/storage/LocalStorageManager.java
85.87% <0.00%> (-1.13%)
:arrow_down:

...apache/hadoop/mapreduce/v2/app/RssMRAppMaster.java

...java/org/apache/hadoop/mapred/SortWriteBuffer.java

...preduce/task/reduce/RssRemoteMergeManagerImpl.java

...n/java/org/apache/hadoop/mapreduce/MRIdHelper.java

...pache/hadoop/mapreduce/task/reduce/RssShuffle.java

...g/apache/hadoop/mapred/SortWriteBufferManager.java

...pache/hadoop/mapreduce/task/reduce/RssFetcher.java

.../java/org/apache/hadoop/mapreduce/RssMRConfig.java

...n/java/org/apache/hadoop/mapreduce/RssMRUtils.java

... and 4 more

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


about proxy

I read #6
but NotPx.request is not available in search

If possible please guide me through to implement proxies as I described in #27
I really don't understand where do I hardcode proxy, and I don't want to hardcode, that's why I want to add proxy per session

just put ur proxy like this.


Add language selection.

This add the possibility to choose alternates dictionaries.
See the result here : https://mmai.github.io/wordlem/
There is probably a way to make that prettier.

I took a lot of inspiration from your patch and went with a laaaarge refactor of the previous codebase. Unfortunately I couldn't cherry pick your commits as the diff was way too important, but thanks again for the ideas! FWIW I've credited you in the README, hope it's okay for you. Cheers!

Yes, thanks!


[BUG] can't delete printed text correctly.

OS - win10
can't delete any text from the middle of printed text.

Can you provide a few screenshots or a video to describe what's happening?

sry. I described the wrong action

write random text
move the cursor to the middle of the text
type anything
= ???

I think this is due to running the notebook off vscode which might have a bug with the nb input integration... Try just run the jnb server and open the notebook on your browser instead.

i'm launch game from cmd and all is fine. thanks


Fixed not found images on README.md

I completed the 3 steps below:

[x] I've read the Contribution Guide.
[ ] I've updated the documentation. (refer to this for how to do so). (not needed)
[x] I enjoyed my time contributing and making developer's life easier :)

I added the images to the repository itself, so we don't need to deal with external providers.
Of course you first need to merge the Pull Request to the master branch, or the images won't appear.

This PR just disappeared in the dark.
Main logo has been fixed, however the "docs" logo is still missing.


Add support for target page.

Describe the issue:
Currently, upon successful authentication, the SSO agent redirects the user to the page registered in the ACS URL (eg: app/home).
However, if a user tries to access another secured page (eg: app/myAccount) without having an authenticated session with the IdP, the user is first prompted for authentication. Then upon successful authentication, the user is redirected to the app/home where the user should have been redirected to the original page he tried to access; app/myAccount.
Expected behaviour
The Agent should keep track of the original page the user tried to access (target page), and redirect the user to the target page upon successful authentication.

I think this could be done by appending the original URL (e.g. app/myAccount) as a query parameter to the callback URI (e.g. app/oauth2client) in DefaultOIDCManager.java:96, then the query parameter could be used for the redirect in OIDCAgentFilter.java:115.
What do you think? I could potentially create a PR for this.

Hi,
Thank you very much for your suggestion. I think it is a valid approach but I have a minor concern with sending out the target page URI (app/myAccount) as a query parameter. What if the URI in the query parameter is tampered with when it is returned in the callback URI? Couldn't it pose a security vulnerability?
Thinking about this, another way could keep track of the app/myAccount URI would be to store it against the state param in the session storage when sending out the login request at  HTTPSessionBasedOIDCProcessor.java:65. Then we can retrieve the app/myAccount URI when handling the callback URI at OIDCAgentFilter.java:108.
What do you think about the two approaches?
cc: @darshanasbg

@ChamathNS I'm trying to think of whether that scenario is plausible - tampering with the query parameter would require the ability to break TLS and to install a MiTM between the client and the IdP (at least in every scenario I can imagine). If that was achieved, in the worst case it would provide a redirect to a relative path (on the Relying Party site) of the attacker's choice. While not a vulnerability in itself, it would provide a greater attack surface, though if the attacker can break TLS and install a MiTM near the client, there is probably a very large attack surface already (e.g. they could rewrite any request with a redirect to any site).
That being said, there's nothing really wrong with the session approach, either. I think there are some minor edge cases when using multiple tabs, but probably nothing that anyone would complain about.

Hi,
Thank you very much for your suggestion. I think it is a valid approach but I have a minor concern with sending out the target page URI (app/myAccount) as a query parameter. What if the URI in the query parameter is tampered with when it is returned in the callback URI? Couldn't it pose a security vulnerability?
Thinking about this, another way could keep track of the app/myAccount URI would be to store it against the state param in the session storage when sending out the login request at HTTPSessionBasedOIDCProcessor.java:65. Then we can retrieve the app/myAccount URI when handling the callback URI at OIDCAgentFilter.java:108.
What do you think about the two approaches?
cc: @darshanasbg

I prefer to use the state parameter to cater this rather sending through the callback url itself. If we send this on the callback url, now the callback URL will be dynamic and it will be depend on IDPs callback URL validation logic and capabilities which will negatively effects the interoperability of the SDK.

Adding to this, in the spec, <IP_ADDRESS>.  Authentication Request says,

This URI MUST exactly match one of the Redirection URI values for the Client pre-registered at the OpenID Provider, with the matching performed as described in Section 6.2.1 of [RFC3986] (Simple String Comparison)

An exact string matching at the IDP would mean that the callback URIs should be static. And, the current draft recommendation for OAuth 2.0 Best Security Practice confirms that a dynamic redirect_uri must not be used by enforcing the exact matching of pre-registered URIs with the request URI. And it advises against forwarding to URIs obtained from query strings.

Authorization servers MUST utilize exact matching of client redirect URIs against pre-registered URIs. Clients SHOULD avoid forwarding the user's browser to a URI obtained from a query parameter.

Hence, I believe storing the target page to the session with the help of state param would be the more favorable approach.
What do you think?
ref: https://stackoverflow.com/questions/55524480/should-dynamic-query-parameters-be-present-in-the-redirection-uri-for-an-oauth2

Of course! In my head, I was thinking that the query parameter is not part of the matching, but of course it is. Thanks for the SO link, I'll read up on this a bit more.
So we're looking at adding the redirection URI to the request parameters? Something like this? (relevant code)
    public void sendForLogin(HttpServletRequest request, HttpServletResponse response)
            throws SSOAgentException {

        HttpSession session = request.getSession();
        RequestContext requestContext = defaultOIDCManager.sendForLogin(request, response);
        requestContext.setParameter(SSOAgentContants.REDIRECT_URI_KEY, redirectURI); //<-- this line added
        session.setAttribute(SSOAgentConstants.REQUEST_CONTEXT, requestContext);

@codebling Yes. That's the idea. Then, when handling the callback response in the agent filter, we can retrieve the redirectURI from requestContext obj that's in the session storage and redirect to that.


Reduce Googlebot indexing issues

User story
As an MDN user, I want Google search access to all of the publicly available MDN documents and endpoints, so I can more easily find what I'm looking for on MDN.
Acceptance criteria
Time-box work towards eliminating all outstanding Googlebot indexing issues listed as errors here to 5 ideal days.
Tasks

Resolve or document next steps for each of the issues listed as errors here.

The soft-deletion of /en-US/docs/Mozilla/QA/Marionette/WebDriver/status will remove that endpoint from the list of endpoints with a Submitted URL blocked by robots.txt error as shown in the Google Search Console.

To confirm: 0 errors in the "Submitted URL blocked by robots.txt" as of today 😃

That said, paginated search pages are still being indexed and show up as errors in search console, so the changes here didn't have the intended effect. see https://search.google.com/search-console/index/drilldown?resource_id=https%3A%2F%2Fdeveloper.mozilla.org%2F&item_key=CAMYBCAD&hl=en


Undefined method 'html_safe' for nil: cached template.source missing

I'm running into trouble with sharing stache templates between server and client on Rails 4.2.0.  Once the template is rendered on the server, I get this error when calling template_include_tag in the template:
  1) Some example
     Failure/Error: Unable to find matching line from backtrace
     ActionView::Template::Error:
       undefined method `html_safe' for nil:NilClass
     # ./app/views/pages/index.html.erb:3:in `_app_views_pages_index_html_erb__933758841857237125_70177580457500'

It looks like the problem is that when template_include_tag looks up the template and it was cached, template.source is nil.  Based on the template refresh method, I gather this is intended, perhaps to keep the cache leaner.
The refresh method uses lookup_context.disable_cache to ensure the source is present.  Doing the same inside of template_include_tag seems to fix the issue in my test case.
Would you like me to submit a pull request to address the issue that way?  I don't have spec coverage for it within stache yet; I only have an integration test in my rails app that exercises the failure case.

I have a fix here, but no tests within stache yet:
https://github.com/mcary/stache/tree/fix-helper-with-caching


Alternative search keywords

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Internationalization and localization
[ ] Other (please describe):

What is the current behavior?

Issue Number: #351
What is the new behavior?

Improve the user's search experience by providing searchable words.

Other information

Quality check
Before creating this PR, have you:

[x] Followed the code style guideline as described in CONTRIBUTING.md
[x] Verified that the change work in Release build configuration
[ ] Checked all unit tests pass

The current search targets are Description, MenuDisplayName, and SearchDisplayName.
Words are already duplicated in many languages and tools.
Only SearchDisplayName has the ability to highlight the string, but the other fields simply check for the existence of the string.
And this PR is the same specification as the code to search for Description.
To reduce the amount of computation required for searching, duplicate words are removed.
In the future, we may duplicate words that the translator feels are necessary.
Depending on the added words, the test using totalMatchCount may fail.
(I could not find how TotalMatchCount is used.)

Oh right, I forgot this point! It looks good to me then :) Thank you for this contribution!


Update byoh.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thank you, @scjane :)


Place a format descriptor in the output

As part of Archive ops issue 607 @eroux makes a case for an image type descriptor going into the output of volume_manifest_builder.
The fix for this issue will map image types into a controlled dictionary that IIFPRES uses to determine the image type.
At @eroux request, the implementation was updated to only emit the image format discovered from the image when that image format does not match the file name extension. The mappings of image formats to file name extensions is coded as:

Image Format
File suffixes - case insensitive

JPEG
jpg, jpeg

TIFF
tiff, tif

This is sitting in my done Queue, I'm not sure if I asked @eroux if he's ready to see output descriptors appear in dimensions.json If so, does he need the whole backlog's dimensions.json updated?
What do you think? Should I go ahead and put this into production?

At any rate, it's no big deal, I added a clause to emit the compression info if it's a TIF file. This will emit one of the standard COMPRESSION_INFO enums in PIL Image Format

Should have been closed when moved to 'done'


[SPARK-35819][SQL] Support Cast between different field YearMonthIntervalType

What changes were proposed in this pull request?
Support Cast between different field YearMonthIntervalType
Why are the changes needed?
Make user convenient to get different field YearMonthIntervalType
Does this PR introduce any user-facing change?
User can call cast YearMonthIntervalType(YEAR, MONTH) to YearMonthIntervalType(YEAR, YEAR) etc
How was this patch tested?
Added UT

ping @MaxGekk  , have discussed with wenchen, we should have this support.

Test build #140021 has started for PR 32974 at commit 19f2a6b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44547/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44547/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44547/

Test build #140021 has finished for PR 32974 at commit 19f2a6b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

+1, LGTM. Merging to master.
Thank you, @AngersZhuuuu .

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/140021/


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[CMake] Publish swift add_library wrapper for single sdk

add_swift_target_library adds targets for multiple SDKs, so it has options that specify target-SDK dependent values like SWIFT_MODULE_DEPENDS_LINUX.
But these kind of options are not scalable, so this PR extracts function that only adds targets for single SDK.
After this change, we can remove SWIFT_MODULE_DEPENDS_LINUX options and loop SDKs to call add_swift_target_library_single_sdk with each SDK specific values.
I think this would promote BuildManifesto.md project.
cc: @compnerd

CC: @drexin

Nice! I don't think I have anything to add to what @compnerd already said.

Thinking a bit more about this - while the change itself seems like it wont break anything, I don't see how it helps the build problem.
You now have two places where the SDK is referenced.  I think it makes more sense for this to go further and extract the SDK specific handling - the eventual state should have no references to the SDK and so this just increases the work that will need to be done to remove the SDK references.
I also don't follow how this is better than the previous state - it has done nothing for the callers nor does it simplify the implementation.

I intentionally did nothing but extract helper function to avoid big changes. But I agree that this doesn't do anything helpful at this time.
Should I do extract SDK specific handling in this PR? or separated PR to ease reviewing?

@compnerd I posted a draft PR that extract SDK specific handling from add_swift_target_library.
https://github.com/apple/swift/pull/30972
Do you think it's better than the previous state?

I think that you should at least explain that properly in the commit message then.  Right now, your commit message doesn't explain why this change is useful or what you are planning on doing, so it just seems more verbose and not very useful.

@compnerd I added a description of desired state and plan.
BTW what do you think about fat binary in CMake when invoking cmake for each architectures? Is it out of scope of CMake work and it should be done in build-script-impl?

FAT binaries are MachO specific.  CMake only supports that for C/C++ because clang has special modes for that.  That’s best done outside of CMake.

Okay, with the better commit message, this makes sense.  I don’t think that we want the add_swift_target_library to reference the os/arch/platform and rather sink that further as that should really be CMAKE_SYSTEM_NAME/CMAKE_SYSTEM_ARCH

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 5c83121cd9596489adb188d00e07ddcc6564086d

Build failed
Swift Test OS X Platform
Git Sha - 5c83121cd9596489adb188d00e07ddcc6564086d

@swift-ci please test

@swift-ci please test

@swift-ci test

@swift-ci please smoke test


"Healthcheck failed!" error when deploying on Railway

Sometimes, when you deploy or redeploy Ponder on Railway, the healthcheck fails.
Here's an example:

Build Log
Path: /health
Retry window: 5m0s

Attempt #1 failed with service unavailable. Continuing to retry for 4m59s
Attempt #2 failed with service unavailable. Continuing to retry for 4m58s
Attempt #3 failed with service unavailable. Continuing to retry for 4m56s
Attempt #4 failed with service unavailable. Continuing to retry for 4m52s
Attempt #5 failed with service unavailable. Continuing to retry for 4m44s
Attempt #6 failed with status 503. Continuing to retry for 4m27s
Attempt #7 failed with status 503. Continuing to retry for 3m57s
Attempt #8 failed with status 503. Continuing to retry for 3m27s
Attempt #9 failed with status 503. Continuing to retry for 2m56s
Attempt #10 failed with status 503. Continuing to retry for 2m25s
Attempt #11 failed with status 503. Continuing to retry for 1m54s
Attempt #12 failed with status 503. Continuing to retry for 1m24s
Attempt #13 failed with status 503. Continuing to retry for 54s
Attempt #14 failed with status 503. Continuing to retry for 23s

1/1 replicas never became healthy!
Healthcheck failed!

Deploy Logs
$ ponder start
Attention: Ponder collects anonymous telemetry data to identify issues and prioritize features. See https://ponder.sh/advanced/telemetry for more information.
6:06:10 AM INFO  database   Using Postgres database postgres.railway.internal:5432/railway (from DATABASE_PRIVATE_URL env var)
/app/node_modules/pg-pool/index.js:45
Error.captureStackTrace(err);
^
Error: getaddrinfo ENOTFOUND postgres.railway.internal
at /app/node_modules/pg-pool/index.js:45:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at PostgresDriver.acquireConnection (file:///app/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)
at RuntimeDriver.acquireConnection (file:///app/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)
at DefaultConnectionProvider.provideConnection (file:///app/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)
at DefaultQueryExecutor.executeQuery (file:///app/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)
at SelectQueryBuilderImpl.execute (file:///app/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:293:24)
at PostgresIntrospector.getSchemas (file:///app/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.js:11:26)
at Migrator.#doesSchemaExists (file:///app/node_modules/kysely/dist/esm/migration/migrator.js:303:25)
at Migrator.#ensureMigrationTableSchemaExists (file:///app/node_modules/kysely/dist/esm/migration/migrator.js:219:15) {
  errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'postgres.railway.internal'
}
Node.js v18.18.2
error: script "start" exited with code 1 (SIGHUP)
$ ponder start
6:06:17 AM INFO  database   Using Postgres database postgres.railway.internal:5432/railway (from DATABASE_PRIVATE_URL env var)
^
Error: getaddrinfo ENOTFOUND postgres.railway.internal
at /app/node_modules/pg-pool/index.js:45:11
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at PostgresDriver.acquireConnection (file:///app/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js:19:24)
at RuntimeDriver.acquireConnection (file:///app/node_modules/kysely/dist/esm/driver/runtime-driver.js:44:28)
at DefaultConnectionProvider.provideConnection (file:///app/node_modules/kysely/dist/esm/driver/default-connection-provider.js:8:28)
at DefaultQueryExecutor.executeQuery (file:///app/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:16)
at SelectQueryBuilderImpl.execute (file:///app/node_modules/kysely/dist/esm/query-builder/select-query-builder.js:293:24)
at PostgresIntrospector.getSchemas (file:///app/node_modules/kysely/dist/esm/dialect/postgres/postgres-introspector.js:11:26)
at Migrator.#doesSchemaExists (file:///app/node_modules/kysely/dist/esm/migration/migrator.js:303:25)
at Migrator.#ensureMigrationTableSchemaExists (file:///app/node_modules/kysely/dist/esm/migration/migrator.js:219:15) {
  errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'postgres.railway.internal'
}
Node.js v18.18.2
error: script "start" exited with code 1 (SIGHUP)
$ ponder start
6:06:25 AM INFO  database   Using Postgres database postgres.railway.internal:5432/railway (from DATABASE_PRIVATE_URL env var)
6:06:25 AM INFO  server     Started listening on port 7284
6:06:26 AM INFO  realtime   Fetched latest block at 46521820 (network=polygonMumbai)
6:06:26 AM INFO  historical Started sync with 100% cached (contract=EntryPoint 0.6 network=polygonMumbai)
6:06:26 AM INFO  historical Started sync with 100% cached (contract=EntryPoint 0.7 network=polygonMumbai)
6:06:26 AM INFO  historical Started sync with 100% cached (contract=BiconomyAccountFactory 2 network=polygonMumbai)
6:06:26 AM INFO  historical Started sync with 100% cached (contract=BiconomyAccount2 network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521730 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521767 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521777 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521786 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521794 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521804 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521806 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521810 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 2 matched logs from block 46521813 (network=polygonMumbai)
6:06:29 AM INFO  realtime   Synced 4 matched logs from block 46521819 (network=polygonMumbai)
6:06:31 AM INFO  realtime   Synced 2 matched logs from block 46521822 (network=polygonMumbai)
6:06:31 AM INFO  indexing   Indexed 37 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45000552 logIndex=46)
6:06:31 AM INFO  indexing   Indexed 1 BiconomyAccountFactory 2:AccountCreation event (chainId=80001 block=45000552 logIndex=40)
6:06:36 AM INFO  historical Sync is 100% complete (contract=EntryPoint 0.6)
6:06:36 AM INFO  historical Sync is 100% complete (contract=EntryPoint 0.7)
6:06:36 AM INFO  historical Sync is 100% complete (contract=BiconomyAccount2)
6:06:36 AM INFO  historical Sync is 100% complete (contract=BiconomyAccountFactory 2)
fun(...args);
^
TypeError: args is not iterable (cannot read property undefined)
at Timeout._onTimeout (file:///app/node_modules/@ponder/core/src/utils/debounce.ts:26:13)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
Node.js v18.18.2
error: script "start" exited with code 1 (SIGHUP)
$ ponder start
6:06:46 AM INFO  database   Using Postgres database postgres.railway.internal:5432/railway (from DATABASE_PRIVATE_URL env var)
6:06:46 AM INFO  server     Started listening on port 7284
6:06:47 AM INFO  realtime   Fetched latest block at 46521830 (network=polygonMumbai)
6:06:47 AM INFO  historical Started sync with 100% cached (contract=EntryPoint 0.7 network=polygonMumbai)
6:06:47 AM INFO  historical Started sync with 100% cached (contract=BiconomyAccountFactory 2 network=polygonMumbai)
6:06:47 AM INFO  historical Started sync with 100% cached (contract=EntryPoint 0.6 network=polygonMumbai)
6:06:47 AM INFO  historical Started sync with 100% cached (contract=BiconomyAccount2 network=polygonMumbai)
6:06:49 AM INFO  historical Completed sync in 1s (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521767 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521777 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521786 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521794 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521804 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521806 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521810 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521813 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 4 matched logs from block 46521819 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521822 (network=polygonMumbai)
6:06:49 AM INFO  realtime   Synced 2 matched logs from block 46521829 (network=polygonMumbai)
6:07:06 AM INFO  realtime   Synced 2 matched logs from block 46521839 (network=polygonMumbai)
6:07:26 AM INFO  realtime   Synced 7 matched logs from block 46521848 (network=polygonMumbai)
6:07:48 AM INFO  realtime   Synced 2 matched logs from block 46521858 (network=polygonMumbai)
6:07:49 AM INFO  realtime   Synced 3 matched logs from block 46521859 (network=polygonMumbai)
6:08:02 AM INFO  realtime   Synced 3 matched logs from block 46521865 (network=polygonMumbai)
6:08:08 AM INFO  realtime   Synced 2 matched logs from block 46521868 (network=polygonMumbai)
6:08:24 AM INFO  realtime   Synced 2 matched logs from block 46521875 (network=polygonMumbai)
6:08:42 AM INFO  realtime   Synced 2 matched logs from block 46521884 (network=polygonMumbai)
6:08:44 AM INFO  realtime   Synced 2 matched logs from block 46521885 (network=polygonMumbai)
6:08:59 AM INFO  realtime   Synced 6 matched logs from block 46521892 (network=polygonMumbai)
6:09:05 AM INFO  realtime   Synced 2 matched logs from block 46521895 (network=polygonMumbai)
6:09:11 AM INFO  realtime   Synced 2 matched logs from block 46521898 (network=polygonMumbai)
6:09:19 AM INFO  realtime   Synced 2 matched logs from block 46521902 (network=polygonMumbai)
6:09:26 AM INFO  realtime   Synced 4 matched logs from block 46521904 (network=polygonMumbai)
6:09:27 AM INFO  realtime   Synced 2 matched logs from block 46521905 (network=polygonMumbai)
6:09:47 AM INFO  realtime   Synced 2 matched logs from block 46521915 (network=polygonMumbai)
6:10:09 AM INFO  realtime   Synced 2 matched logs from block 46521924 (network=polygonMumbai)
6:10:14 AM INFO  realtime   Synced 5 matched logs from block 46521927 (network=polygonMumbai)
6:10:16 AM INFO  indexing   Indexed 2000 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45019458 logIndex=10)
6:10:18 AM INFO  indexing   Indexed 2000 BiconomyAccountFactory 2:AccountCreation events (chainId=80001 block=46451295 logIndex=1)
6:10:22 AM INFO  indexing   Indexed 3330 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45042366 logIndex=66)
6:10:24 AM INFO  indexing   Indexed 1146 BiconomyAccountFactory 2:AccountCreation events (chainId=80001 block=46521122 logIndex=3)
6:10:29 AM INFO  indexing   Indexed 3330 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45060870 logIndex=20)
6:10:33 AM INFO  realtime   Synced 2 matched logs from block 46521936 (network=polygonMumbai)
6:10:36 AM INFO  indexing   Indexed 4995 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45084412 logIndex=39)
6:10:37 AM INFO  realtime   Synced 3 matched logs from block 46521937 (network=polygonMumbai)
6:10:40 AM INFO  realtime   Synced 3 matched logs from block 46521939 (network=polygonMumbai)
6:10:40 AM INFO  indexing   Indexed 2000 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45097983 logIndex=20)
6:10:46 AM INFO  indexing   Indexed 4995 EntryPoint 0.6:UserOperationEvent events (chainId=80001 block=45127677 logIndex=22)

I think the ultimate root issue is Ponder restarting multiple times due to Error: getaddrinfo ENOTFOUND postgres.railway.internal which I assume is Railway's internal issue. Each subsequent restart resets the 240 second limit, and if the instance kept restarting for more than 1 minute, Railway's heath check will timeout.
Reproduction
Deploy any Ponder graph to Railway (might require a few tries).
Workaround
Redeploying failed instance usually fixes the issue

I fixed a race condition in<EMAIL_ADDRESS>which should resolve this issue. Thanks for reporting


minor bugfixes on aa_export_toBIDS

Took export_to_BIDS out for a test drive. Here's a few bugfixes...

It seems quite all right, but I am not so sure about https://github.com/automaticanalysis/automaticanalysis/blob/6de823ac951b532042eec562bb01228304e591a0/aa_toolbox/aa_export_toBIDS.m#L244
because it deletes src_dummy from which the pipeline  but leaves src, the temporary file.

I could be wrong but don't we want to keep src? In my test pipeline it was the .nii that gets generated at the end of aamod_covert_epi.
I discovered this problem by running export_toBIDS twice. On the second run, the copyfile crashes because src was deleted from aamod_convert_epi in the previous pass.

It depends on the use case:

If there is no dummy scan, then src is indeed the converted epi. In that case, src_dummy will not be created and nothing will be deleted.
If there is any dummy scan, then src and src_dummy point to the temporary file (dummy + epi) and the dummy file, respectively,

Are you able to run export_toBIDS twice on your data? This is what alerted us to the problem.

Yes, I can run aa_export_toBIDS twice on e.g. both the aa demo and the bids114 datasets. However, both requires some tweaking:

aa demo has a short subjectname, which causes https://github.com/automaticanalysis/automaticanalysis/blob/1a68e1d52067c0ad6ad8f08a812158c2f4e462d1/aa_toolbox/aa_export_toBIDS.m#L120 crash, so it has to be omited.
bids114 demo has not got a full header which causes  https://github.com/automaticanalysis/automaticanalysis/blob/1a68e1d52067c0ad6ad8f08a812158c2f4e462d1/aa_toolbox/aa_export_toBIDS.m#L256-L258 crash, so they have to be omited.

However, both issues are irrrelevant regarding the current PR. Still, they should be fixed, of course.

Yes, I can run aa_export_toBIDS twice on e.g. both the aa demo and the bids114 datasets.

Interesting. I'll look into what is peculiar about my data (which crashes)...

Okay, finally got some time to look into this. I think the line in question should actually read:
 copyfile(src,dest); gzip(dest); delete(dest); if (exist('src_dummy','var') && ~isempty(src_dummy)), delete(src); clear src_dummy; end
The hiccup is src_dummy gets created by checking if any of the modules have a "dummyscan" output stream (line 225) -- this will be true for any pipeline that contains aamod_convert_epis even if you don't actual create any dummyscans. So we need an additional check if scr_dummy is empty. That fixed the crash on my machine.

This looks good to me. Do you want to update the PR?

This looks good to me. Do you want to update the PR?

Nah -- it was my screw up.
I'll push a correction...


Divider component stories

What it does, and why
Added the Storybook ports of the following components: Divider, Expandable, Header, Icon, Loading, Notification.
For Header, the syntax for using the component has changed (uses simpler tags).
For Icon, I added the ability to take the onClick property because otherwise  won't work. This was causing a bug in Notification where clicking the "X" icon didn't do anything. All fixed now :)

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

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- lib/components/Header/Header.stories.js  1
- lib/components/Expandable/Expandable.stories.js  1
- lib/components/Loading/Loading.stories.js  1
- lib/components/Icon/Icon.stories.js  1
- lib/components/Divider/Divider.stories.js  1

Clones added
============
- lib/components/Expandable/Expandable.stories.js  6

See the complete overview on Codacy

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

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- lib/components/Icon/Icon.stories.js  1
- lib/components/Divider/Divider.stories.js  1
- lib/components/Expandable/Expandable.stories.js  1
- lib/components/Loading/Loading.stories.js  1
- lib/components/Header/Header.stories.js  1

Clones added
============
- lib/components/Expandable/Expandable.stories.js  6

See the complete overview on Codacy

Reverted Notification changes, will rewrite to use its own internal button so we're not using Icon. :)


Custom scheme

When a configuration file $XDG_CONFIG_HOME/pfio.ini is placed, it provides an injection point to customize FS resolution from scheme ( s3 part of s3://some/path/to/file ). It lets us configure endpoint, secret, arbitrary configurations that's available at the kwargs of each FSes. If you have some s3-compat storage system which is not S3, the configuration file would be like:
[foobar]
scheme = s3
endpoint = https://your-s3-endpoint.example.com

And apps will code like this:
  fs = pfio.v2.from_url('foobar://path/to/a')
  with fs.open('filename') as fp:
      fp.read()

Possible discussions:

The configuration object will be static and unchanged during the process. It can be a global configuration variable
Configuration file name and path (make it configurable with env string?)

Let us load secrets via environmental variables e.g.
[foobar]
scheme = s3
endpoint = https://foobar.example.com/
aws access_key_id = $CUSTOM_ACCESS_KEY
aws_secret_access_key = $CUSTOM_ACCESS_SECRET

Other discussions:

won't do the global configuration variable as like an API
no need for configurable config path

Assigned to 2.5.1 instead as it's yet an experimental feature.


flashplayer: download link broken (404)

Issue description
trying https://fpdownload.adobe.com/get/flashplayer/pdc/<IP_ADDRESS>/flash_player_npapi_linux.x86_64.tar.gz
...
curl: (22) The requested URL returned error: 404 Not Found
error: cannot download flash_player_npapi_linux.x86_64.tar.gz from any mirror
builder for ‘/nix/store/lrqdm648mcgrf8pxgr1p7wjl27q0vw72-flash_player_npapi_linux.x86_64.tar.gz.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/2ql5psqy2zq5mpnws77mg6d0vgf1m5bd-flashplayer-<IP_ADDRESS>.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/fj3x9ksfp5cs3bxr6ar5p294zyxh1n50-firefox-58.0.2.drv’: 1 dependencies couldn't be built

Steps to reproduce
  environment.systemPackages = with pkgs; [
    firefoxWrapper
  ];

  nixpkgs.config = {

      firefox = {
       enableAdobeFlash = true;
      };
  };

as described here: https://nixos.wiki/wiki/Chromium
Technical details

system: "x86_64-linux"
host os: Linux 4.9.86, NixOS, 17.09.3150.c7f415b5225 (Hummingbird)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 1.11.16
channels(davidak): ""
channels(root): "nixos-17.09.3150.c7f415b5225, nixos-hardware"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Same file in chromium.
error: cannot download flash_player_ppapi_linux.x86_64.tar.gz from any mirror
builder for ‘/nix/store/5amdfg30b87gjv0c7qkwh5b5m3w7yicb-flash_player_ppapi_linux.x86_64.tar.gz.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/1sz73bfa0zfhirm0k59in6q35bfklgi0-flashplayer-ppapi-<IP_ADDRESS>.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/r3nak39g2q14gw39bh8wi00wck786jcf-chromium-65.0.3325.146.drv’: 1 dependencies couldn't be built

Backported update to 17.09 in 7ca656d8930864518e48fcc6c5c35560af0c42d5 and to 18.03 in 37b31ea04fef1ad1ef63b4e62b7ae23c96431702 .  Should be in next channel update!

Hmm channel update blocked on busybox fix, somewhat ironically: https://hydra.nixos.org/build/71020865/nixlog/1
:(.

Looks like the build is still stuck...my NixOS upgrade still fails on downloading flashplayer.
In general, how does one see the build status of a package on hydra?

The channel 17.09 is updated and the problem fixed.
Now i can play my favorite flash game again, GemCraft Labyrinth.
Thanks @dtzWill for backporting the fix!

I have a similar problem in 20.09.2106.ae47c79479a (Nightingale), x86_64-linux.
trying https://fpdownload.adobe.com/pub/flashplayer/pdc/<IP_ADDRESS>5/flash_player_ppapi_linux.x86_64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download source from any mirror
error: --- Error ---------------------------------------------------------------------------------------------------------------------------- nix-build
builder for '/nix/store/xbdrnhj7rwschzq69pjbyqsmj8yy2n8p-source.drv' failed with exit code 1


Write a tutorial about using transport parameters with systems

Desired behavior
A new feature was added in https://github.com/gazebosim/gz-transport/pull/305 to declare and use parameters. An interface to this functionality was added for gz-sim systems in https://github.com/gazebosim/gz-sim/pull/1431, with a demo in the parameters-component-wheel-slip-demo6 branch and https://github.com/gazebosim/gz-msgs/commit/e19f8e5dddd27106ef874cccd38590b65acd81f0. This demo should be merged to a release branch along with a tutorial.
Alternatives considered

Implementation suggestion
Demo instructions from #305:
Steps to run the demo:

Build from source ignition fortress checking out the two branches specified above (I can provide PRs for another version if needed).
Launch the trisphere cycle world:ign gazebo trisphere_cycle_wheel_slip.sdf

In another terminal with the workspace sourced:

List available parameters:
ign param -r /world/wheel_slip -l

Expected output

systems.wheel_slip.trisphere_cycle1.wheel_front            [ignition.msgs.WheelSlipParameters]
systems.wheel_slip.trisphere_cycle1.wheel_rear_right            [ignition.msgs.WheelSlipParameters]
systems.wheel_slip.trisphere_cycle0.wheel_rear_right            [ignition.msgs.WheelSlipParameters]
systems.wheel_slip.trisphere_cycle1.wheel_rear_left            [ignition.msgs.WheelSlipParameters]
systems.wheel_slip.trisphere_cycle0.wheel_rear_left            [ignition.msgs.WheelSlipParameters]
systems.wheel_slip.trisphere_cycle0.wheel_front            [ignition.msgs.WheelSlipParameters]

Get the systems.wheel_slip.trisphere_cycle1.wheel_front parameter:
ign param -r /world/wheel_slip -g -n systems.wheel_slip.trisphere_cycle1.wheel_front

Expected output

Getting parameter [systems.wheel_slip.trisphere_cycle1.wheel_front] for registry namespace [/world/wheel_slip]...
Parameter type [ign_msgs.WheelSlipParameters]

slip_compliance_lateral: 1
slip_compliance_longitudinal: 1

Set the systems.wheel_slip.trisphere_cycle1.wheel_front parameter to a different value:
ign param -r /world/wheel_slip -s -n systems.wheel_slip.trisphere_cycle1.wheel_front -t ign_msgs.WheelSlipParameters -m "
  slip_compliance_lateral: 1
  slip_compliance_longitudinal: 2"

Expected output

Setting parameter [systems.wheel_slip.trisphere_cycle1.wheel_front] for world [wheel_slip]...
Parameter successfully set!

Get the systems.wheel_slip.trisphere_cycle1.wheel_front parameter again, its value should have changed:
ign param -r /world/wheel_slip -g -n systems.wheel_slip.trisphere_cycle1.wheel_front

Expected output

Getting parameter [systems.wheel_slip.trisphere_cycle1.wheel_front] for registry namespace [/world/wheel_slip]...
Parameter type [ign_msgs.WheelSlipParameters]

slip_compliance_lateral: 1
slip_compliance_longitudinal: 2

Additional context

Hi @scpeters and @azeey I have made a PR to the Gazebo tutorials repo that resolves this issue: https://github.com/osrf/gazebo_tutorials/pull/175
I'm curious to hear your feedback and improvise!

So just to add on that (@Gaurang-1402 noticed it first on his PR), is that ign param -r /world/wheel_slip -l lists no parameters in this example. I confirm that this is also the case with gazebo harmonic with gz param -r /world/wheel_slip -l
I'm currently trying to build harmonic from source to see if this is still the case on the latest development branch but if this is the case than I assume we need to make an issue on gz-transport github repo right?

The description mentions that the demo is in the parameters-component-wheel-slip-demo6 branch along with a specific commit in gz-msgs. Can you give that a try?

yes... I should really learn to read the whole description in not a hurry. Thanks for notifying me.
Absolutely I'll try that out as soon as I manage to build source without my pc freezing. I'll report back once I do.

wait, it seems that that branch was made from the gz-sim-6 era so that's probably not going to work unless I rebase the changes (if that is still possible).
Perhaps the easiest now is I'll use it as a reference to work on the example for the multicopter velocity control tuning that I've been working on: https://github.com/knmcguire/gz-plugin-multicopter-velocity-tuning. Bit of 2 birds one stone scenario since I'll need to work on this anyway for my work's project

or option 3.... I look in the code of gz_sim8 and find out that most of the branch has already been implemented :smile:
Except for the wheel-slip plugin, of which I made a draft pull request for: https://github.com/gazebosim/gz-sim/pull/2518. There are still some iffy things happening so I'd need some help with that, but once that is merged than we are one step closer of making this tutorial a reality at least.


ID Tables Small Issue?

Hi, i'm a newb and this is my first issue post so please delete if this is wrong.  I suspect your code is fine and that the source data has some bugs, but i'm not sure who to alert to help them out.
I believe there are some slight data issues on the player ID table.
probably some more than listed below, but i have to run for now.  these are pretty small things, doubtful they will be relevant to anything imminent for anyone...  i ran into it on a merge i was doing on gsis_id that didn't like my many-to-one relationship because of it.  i'm happy to share and/or try to help fix if manual edits are an option (i stink at coding though)

gsis_id has four duplications:  00-0020270, 00-0019641, 00-0016098, and 00-0029435.
On further research, each of these same cases also has a duplication of the pff_id.
There are no other pff_id duplications.

espn_ids have some duplication:  17257, 2578554, 2574009, 5774, 5730, 12771, 2516049, 13490, 2574010, 14660, 2582138, 16094, 17101.  i'm not sure the source of all of these - some seem to be extremely similar names but different people and others seem to be typos (e.g. 5774 one of them should simply be 15774).

yahoo_ids have one dup:  33495.  the one from Duke should be 33542

Welcome to the club, @robertryanharrison!
You're correct that it's an issue in the source data. In this case that is sourced from a CSV over here - could you please make an issue in that project?

Yes!  Will do, thanks for pointing me in the right direction!


Open remote files locally in VSCode

closes: https://linear.app/sourcegraph/issue/SRCH-1097/open-in-editor-from-ide
This PR open the remote files listed in the search responses locally in VS Code in readonly mode.
Test plan
https://www.loom.com/share/e177bb19244247cb99627f13d2f8a8a5
Changelog

The old extension showed a notice saying the opened file is in read-only mode. Can we bring that behavior over as well? Not having that notice was a source of confusion to users if I recall properly.


fix (curriculum): added top level label-input pair to challenge

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #41637

Hey @hassaanp welcome back! I hope the family and baby girl are healthy and doing great :)

Hey @hassaanp welcome back! I hope the family and baby girl are healthy and doing great :)

Thank you @raisedadead, yes they are doing great!
Good to be back :smile:


ipptool: Add support for running sub-tests using xxx-supported values

It would be useful to have ipptool support iteration over a series of supported values reported by the printer, e.g.:
EXPECT foo-supported OF-TYPE keyword TEST-VALUES variable "testfile"

or something like that, where ipptool would define the specified variable and then include the specified test file to perform additional tests.

Since we'd likely want to implement a test matrix from multiple attributes, the syntax should probably be something like:
EXPECT foo-supported OF-TYPE keyword TEST-VALUES foo-variable
EXPECT bar-supported OF-TYPE resolution TEST-VALUES bar-variable
TEST-SCRIPT "filename.test"

Tracking as libcups issue 11...


Snackbars and toasts

Snackbars provide brief feedback about an operation through a message at the bottom of the screen.
Specs for Snackbars

Hi and thank you for your excellent work. I wonder when this component will available? Or is there any way to use it before you publish?

Hi and thank you for your excellent work. I wonder when this component will available? Or is there any way to use it before you publish?


Is it something wrong with the training model for CIFAR-10 experiments?

Hi,
I find that the ResNet20 model for CIFAR-10 experiments is not fully correct. The head conv structure should be modified (stride=1 and no pooling,) because the image size of CIFAR-10 is very small.

I'm guessing you need to modify initial conv1 and maxpool  layers following https://github.com/google-research/simclr/blob/3ad6700c1b139ee18e43f73546b7263a710de699/tf2/resnet.py#L551
model = models.resnet50(pretrained=False, num_classes=1)
model.conv1 = nn.Conv2d(3, 64, kernel_size=3, stride=1, padding=1, bias=False)
model.maxpool = nn.Identity()

Thanks. I see.

Fanjie Kong
Ph.D. Student in Machine Learning
Electrical and Computer Engineering Department
Duke University
Durham, NC, 27708
Email: @.***
LinkedIn: https://www.linkedin.com/in/fanjie-kong-9330a6196/

From: Jae Hyun Lim @.>
Sent: Saturday, June 5, 2021 16:16
To: sthalles/SimCLR @.>
Cc: Fanjie Kong @.>; Author @.>
Subject: Re: [sthalles/SimCLR] Is it something wrong with the training model for CIFAR-10 experiments? (#34)
I'm guessing you need to modify initial conv1 and maxpool layers following https://github.com/google-research/simclr/blob/3ad6700c1b139ee18e43f73546b7263a710de699/tf2/resnet.py#L551https://urldefense.com/v3/__https://github.com/google-research/simclr/blob/3ad6700c1b139ee18e43f73546b7263a710de699/tf2/resnet.py*L551__;Iw!!OToaGQ!8YKkFAIy4Cjy7YQIlJEq-ZClwGEgxfGKTusnAUeFW4eoDtu7gn5pjYL5r7sQQcs$
model = models.resnet50(pretrained=False, num_classes=1)
model.conv1 = nn.Conv2d(3, 64, kernel_size=3, stride=1, padding=1, bias=False)
model.maxpool = nn.Identity()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/sthalles/SimCLR/issues/34*issuecomment-855290356__;Iw!!OToaGQ!8YKkFAIy4Cjy7YQIlJEq-ZClwGEgxfGKTusnAUeFW4eoDtu7gn5pjYL56Q7GaHw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AIV7O7ZXY55ZDRKG2Y6SZPTTRKA2VANCNFSM44CAOI7Q__;!!OToaGQ!8YKkFAIy4Cjy7YQIlJEq-ZClwGEgxfGKTusnAUeFW4eoDtu7gn5pjYL5k9fbkH0$.


[Feature Request] Allow user decide a way to convert DateTime object

The current implementation is DateTime.toString().
I prefer to create an annotation to let the generator uses custom method such as toIso8601String() , so we can make it compatible with another JSON decoder such as Jackson (Spring boot)

The new version has been changed to toIso8601String


[5.10] Revert "Only show command output in verbose mode (#7078)"

Cherry-pick of #7130.
Motivation:
With recent changes linker/compiler errors are silently consumed and don't appear in stdout or stderr.
Modifications:
This reverts commit 4c3549144733d8042a0c08d59938b505431cf12c.
Result:
Resolves https://github.com/apple/swift-package-manager/issues/7114.

@swift-ci test

@swift-ci test windows

@swift-ci test windows


Fix #39

It is a simple issue.
just fix it by "remove after traverse commands".

This made absolutely no difference for me

This made absolutely no difference for me

Have you ever try your and my version in Paper-1.20.6?
On your version (2.3.8)，when unload a plugin with bukkit style registered command: https://pastebin.com/2MZKLbM8
My version fix that.

This made absolutely no difference for me

Have you ever try your and my version in Paper-1.20.6?
On your version (2.3.8)，when unload a plugin with bukkit style registered command: https://pastebin.com/2MZKLbM8
My version fix that.

I did test it on the latest paper 1.20.6.
Both versions throw an error, but work just fine in the end for me

This made absolutely no difference for me

Have you ever try your and my version in Paper-1.20.6?
On your version (2.3.8)，when unload a plugin with bukkit style registered command: https://pastebin.com/2MZKLbM8
My version fix that.

I did test it on the latest paper 1.20.6.
Both versions throw an error, but work just fine in the end for me

Can you give me the error StackTrace?
In fact, there two type of error, one is UnsupportedOperation, which will create a fatal error on unload plugin so that it can't unloaded. Another is ConcurrentModification, but it won't effect the unload operation.
Thank you!

Yes, the ConcurrentModification Exception is what I'm getting.
I know that there seems to be an issue with PlugManX, but I cannot reproduce it.
I could just merge and upload, but I'm unsure if I should, if I cannot reproduce the issue

Yes, the ConcurrentModification Exception is what I'm getting.
I know that there seems to be an issue with PlugManX, but I cannot reproduce it.
I could just merge and upload, but I'm unsure if I should, if I cannot reproduce the issue

As the stacktrace I posted,  this issue (ConcurrentModification) is caused by multi-thread operation by paper.
To reproduce it, you can input a command provided by a plugin (don't send it) and reload the plugin from console.
This new version completely fixed it.

Have you also tested executing the command after (un-)loading?
That's also another issue as Paper has changed the command system

After loading is ok, as well as its behavior in 1.20.4
But reloading have some issue, there some issues on vanilla command check (I'm still working on it).

Interestingly, ConcurrentModification is caused by code in unload method (bukkitutil -> update).
In order to avoid from destroy the plugin in legacy version of Paper, I use a nother class to process plugin unload of paper 1.20.5+

I'll do some testing.
I appreciate the help! :)

Direct merge was not possible as I was working on some formatting changes.
Thanks for your help :)


allow to configure:

+UsartInversion
+WordLength
+ParityControl

Hi @msmouni, please be aware that this repository is unmaintained, and I won't merge any new pull requests. Please check out https://github.com/stm32-rs/stm32f7xx-hal/issues/165, if you want to help out.

thank you for all the effort you invested in developing this crate, and good luck for your future projects

Thank you!

Reimplemented in #203


Best way to incorporating Schur complement trick with pypose

🚀 The feature, motivation and pitch
Schur complement trick is often used in SfM or SLAM to solve normal equation in BA more efficiently, and it's supported by the Ceres solver. I am wondering if there is any way (or what is the best way) we can incorporate this trick with pypose.
Thanks
Alternatives
No response
Additional context
No response

That's a good question! We did have an implementation for Schur complement trick but that will need a major change to LM. We are trying to come up with a way that have a minimum change to existing API while incorporating Schur trick. Suggestions are welcomed.


[WIP] DHE-827 service deliveries repository

Codecov Report

Merging #157 into develop will decrease coverage by 0.95%.
The diff coverage is 89.9%.

@@             Coverage Diff             @@
##           develop     #157      +/-   ##
===========================================
- Coverage     93.1%   92.14%   -0.96%
===========================================
  Files           38       47       +9
  Lines         1276     1566     +290
  Branches        70      115      +45
===========================================
+ Hits          1188     1443     +255
- Misses          77      106      +29
- Partials        11       17       +6

Impacted Files
Coverage Δ

datahub/core/viewsets.py
76.92% <ø> (-7.21%)
:arrow_down:

datahub/interaction/views.py
100% <100%> (ø)
:arrow_up:

datahub/v2/urls.py
100% <100%> (ø)

datahub/v2/views/service_deliveries.py
100% <100%> (ø)

datahub/v2/schemas/service_deliveries.py
100% <100%> (ø)

datahub/interaction/serializers.py
100% <100%> (ø)
:arrow_up:

datahub/v2/exceptions.py
100% <100%> (ø)

datahub/v2/parsers.py
41.46% <41.46%> (ø)

datahub/v2/schemas/utils.py
88.23% <88.23%> (ø)

datahub/v2/renderers.py
94.73% <94.73%> (ø)

... and 12 more

Continue to review full report at Codecov.

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

Add more tests to cover the parser class

I'd like to move auth code from korben to leeloo and stop korben komponent


Add an onboarding guide for on first run

ONBOARDING GUIDE
FEATURE

https://github.com/adamalbrecht/ngOnboarding
A little to describe what we want to achieve and greet new users

looks like a very cool feature


.keepCurrentImageWhileLoading not work if  placeholder is nil

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x ] I have read the wiki page and cheat sheet, but there is no information I need.
[ x] I have searched in existing issues, but did find a same one.
[ x] I want to reoprt a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
.keepCurrentImageWhileLoading not works if placeholder argument is nil
Reproduce
Other Comment
    @discardableResult
    public func setImage(with resource: Resource?,
                         placeholder: Placeholder? = nil,
                         options: KingfisherOptionsInfo? = nil,
                         progressBlock: DownloadProgressBlock? = nil,
                         completionHandler: CompletionHandler? = nil) -> RetrieveImageTask
    {
        guard let resource = resource else {
/////!!!!!
            self.placeholder = placeholder // this line call property below that reset current image in
/////!!!!!
            setWebURL(nil)
            completionHandler?(nil, nil, .none, nil)
            return .empty
        }
////.......
     }

    public fileprivate(set) var placeholder: Placeholder? {
        get {
            return (objc_getAssociatedObject(base, &placeholderKey) as? Box<Placeholder?>)?.value
        }

        set {
            if let previousPlaceholder = placeholder {
                previousPlaceholder.remove(from: base)
            }

            if let newPlaceholder = newValue {
                newPlaceholder.add(to: base)
            } else {
////
//// newValue is nil and current image in uiimageview setted to nil
////
                base.image = nil
            }

            objc_setAssociatedObject(base, &placeholderKey, Box(value: newValue), .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        }
    }

@chapayGhub
If you have neither resource nor placeholder set (both are nil), the loading would finished at once and the placeholder be set to nil. .keepCurrentImageWhileLoading will only keep the existing image while loading. But the loading is already finished when you set a resourceto nil.
I guess it should be the correct behavior?

Ok
It wasn't clear for me
Thanks you for assist!


MQTT IN duplicate messages with wildcard subscriptions

Current Behavior
When using MQTT IN nodes, if multiple nodes are subscribed to the same topic using different syntax, like specifying the exact topic and another with a wildcard. Each subscribed node will receive as many copy of the same MQTT message as there is distinct subscriptions.
For example if a node is subscribe to "NR/test" and a another node is also subscribed to the same topic using the same suntax, then no issue only one message will appear on each node.
However if the second node subcribe using a wild card like "NR/test/#" then each node will receive twice the same message.
Expected Behavior
Each MQTT IN node should only receive one message occurence of each topic they are subscribed to.
Steps To Reproduce
Send a single message to a MQTT topic, setup 2 MQTT IN node one with exact topic name and the other using a wild card.
Each MQTT IN node will now receive 2 messages for every sent message.
Example flow
[{"id":"aa2fd116c5fa4f7f","type":"mqtt out","z":"b7998df890ce76f5","name":"NR test","topic":"NR/test","qos":"0","retain":"false","respTopic":"","contentType":"","userProps":"","correl":"","expiry":"","broker":"7c05f96914c79996","x":440,"y":720,"wires":[]},{"id":"48d6bb22bb614592","type":"mqtt in","z":"b7998df890ce76f5","name":"NR test","topic":"NR/test","qos":"0","datatype":"auto-detect","broker":"7c05f96914c79996","nl":false,"rap":true,"rh":0,"inputs":0,"x":250,"y":780,"wires":[["83a6d80f88d7cad5"]]},{"id":"83a6d80f88d7cad5","type":"debug","z":"b7998df890ce76f5","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":400,"y":780,"wires":[]},{"id":"8227f0ce6cd3da69","type":"inject","z":"b7998df890ce76f5","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":260,"y":720,"wires":[["aa2fd116c5fa4f7f"]]},{"id":"860331a711bf1f83","type":"mqtt in","z":"b7998df890ce76f5","name":"NR test","topic":"NR/test/#","qos":"0","datatype":"auto-detect","broker":"7c05f96914c79996","nl":false,"rap":true,"rh":0,"inputs":0,"x":250,"y":840,"wires":[[]]},{"id":"7c05f96914c79996","type":"mqtt-broker","name":"MQTT","broker":"<IP_ADDRESS>","port":"1883","clientid":"NodeRed","autoConnect":true,"usetls":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"userProps":"","sessionExpiry":""}]

Environment

Node-RED version: v3.0.2
Node.js version: 16.16.0
yarn version: 1.22.19
Platform/OS: Linux 6.2.16-3-pve Debian/Proxmox/LXC/Docker
Browser: Chrome Version 114.0.5735.239 (Official Build) (64-bit)

Hi. This is a known condition that cannot be fixed. I dont have the time to write it out or find the previous conversations (both in this repos issues and on the Node-RED forum) at this point in time.  Suffice to say it is a combination of limitations in the MQTT protocol coupled with how we abstract and simplify the MQTT protocol into a simplified user node.
For now, all I can suggest is, if your broker has MQTT V5 capabilities then we add a subscriber ID to the underlying packet so that we know which node is expecting the response. Try switching your config to use MQTT v5 and see if that solves your issue.

@Steve-Mcl , Thanks I did a search on open and closed issues but did not find something similar but nevermind.
I'll try the v5 EMQX seems to be supporting it...
I was also thinking as an alternative of having just a single MQTT In for all Zigbee2MQTT then just reroute them with link as necessary...

For now, I will close this - but feel free to re-open if necessary.

Here is a demo for proof
@Steve-Mcl , Oh great, it is that simple, then that's a good of a solution as I could have hoped.


cloud_msgs/cloud_info.h: No such file or directory

Hi,
I am using ROS Kinect and Ubuntu 16.04. I compile this package using catkin_make and I am obtaining the following error:

/LeGO-LOAM/LeGO-LOAM/include/utility.h:11:35: fatal error: cloud_msgs/cloud_info.h: No such file or directory
compilation terminated.

Anybody with the same issue?

You have to generate a header file from cloud_info.msg

How exactly did you solve this? I am having a similar issue
Thanks

catkin_make -j1

catkin_make -DCATKIN_WHITELIST_PACKAGES="cloud_msgs"


feature request for handling callbacks

I think callback functions are also needed to use semantic-kernel better.
same concept here(link)
This feature will help solving TODOs. example is here
semantic-kernel/python/semantic_kernel/ai/open_ai/services/open_ai_chat_completion.py
    async def complete_chat_async(
        self, messages: List[Tuple[str, str]], request_settings: ChatRequestSettings
    ) -> str:
        ...

        # TODO: tracking on token counts/etc.

        return response.choices[0].message.content

At least i hope SKContext or ContextVariables has callback functions like on_update or on_setitem
If MS doesn't have a plan for this feature or it takes time, I can try.

I like the idea. We'll talk about it amongst the team first and follow up here.
@awharrison-28 @dluc @mkarle

@joowon-dm-snu we're going to track an item on our backlog for this!
If you have the time and bandwidth, we'd be happy to have you try out an implementation!

@stephentoub what do you think if we used this approach as a way to return extra information when calling AI, as opposed to emitting events?

@stephentoub what do you think if we used this approach as a way to return extra information when calling AI, as opposed to emitting events?

I'm not clear on what exactly is being proposed.  I haven't spent much time exploring the python side of the house, so how would this translate into the .NET APIs?  Is the suggestion that various APIs accept e.g. an Action<something> that's invoked by the method in response to various things happening, and if so, is there a concrete example of where that would be employed?

I'm not sure about dotnet because I haven't really looked into it.
By providing callback stuff, it at least opens up the possibility of integration with other LLM monitoring tools.
A prime example is wandb.
Check out the link below for a better understanding.
https://docs.wandb.ai/guides/prompts

It also opens up native integration with AzureML by using the OSS MLflow APIs
here is an example: https://github.com/hwchase17/langchain/pull/4150

happy to provide the implementation / design guidance on it too - you can find me internally on the AML team if you're interested in this feature

@akshaya-a yes we'd love to see an implementation!

@akshaya-a Thank you, I've been busy and haven't had the time. How long do you think it will take?

@alexchaomander  I can try to do this simply, is there anyone in your team who is working on it?

@joowon-dm-snu This is currently being discussed with the team. @akshaya-a was also saying he could implement something too. I'd say if you have the time and can implement a simple version, we can use that to help frame our discussions!

Go for it, I won't get to it until after //build week
Get Outlookhttps://aka.ms/AAb9ysg

From: Alex Chao @.>
Sent: Wednesday, May 17, 2023 10:07:40 PM
To: microsoft/semantic-kernel @.>
Cc: Akshaya Annavajhala (AK) @.>; Mention @.>
Subject: Re: [microsoft/semantic-kernel] feature request for handling callbacks (Issue #693)
@joowon-dm-snuhttps://github.com/joowon-dm-snu This is currently being discussed with the team. @akshaya-ahttps://github.com/akshaya-a was also saying he could implement something too. I'd say if you have the time and can implement a simple version, we can use that to help frame our discussions!
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-kernel/issues/693#issuecomment-1552404785, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7ZDS75MPWRRVO57BF2SQLXGWVBZANCNFSM6AAAAAAXNT3GAI.
You are receiving this because you were mentioned.Message ID: @.***>

Hi, any news on this?
Having a callback system would also help in debugging.
Currently it is impossible to get intermediate prompts/input/output of a long chain of piped functions.

This is a possible structure for a handler, with hooks in the order they will be called:
class CallbackHandlerBase:

    def on_pipeline_start(self, context: SKContext):
        pass

    def on_function_start(self, context: SKContext, func: SKFunctionBase):
        pass

    #only for semantic functions
    def on_prompt_rendered(self, context: SKContext, func: SKFunctionBase, prompt: Union[str, List[Tuple[str, str]]]):
        pass

    #only if there is an error
    def on_function_error(self, context: SKContext, func: SKFunctionBase):
        pass

    def on_function_end(self, context: SKContext, func: SKFunctionBase):
        pass

    def on_pipeline_end(self, context: SKContext):
        pass

Some additional hooks should be added for the planner.
The pipeline has almost no information, perhaps the call to run_async could have an optional legend parameter just to identify a specific pipeline, and pass it as an argument to the handler, to be able to have a clearer trace.
The SKFunctions already have their identification in the definition.
The handlers could be set at the kernel level, and be used as defaults, or at the call level, to override for a specific invocation. All handlers will be invoked in order.
# default handlers
kernel.set_handlers([stdout_handler, thought_process_md])

# call using default handlers
result = await kernel.run_async( sf['func1'], nf['func2'], context=context)

# specific handler for call
result = await kernel.run_async( sf['func1'], nf['func2'], context=context, handlers=[thought_process_html])

If you agree, I could send a PR with an implementation of this approach.
Perhaps later, some general on_error, on_warning, on_info could also be added and use the handler in place of the log parameter, so that more consistent control of messages is possible.
A default logger_handler could be available to just write in the provided logger, and so not break the current behavior

Hi @alexchaomander, any comments on the proposal and PR?
Having no way to track what's going and "debug" is a big stopper for me.

@ianchi Apologies for the late reply! Our Python team has been out on vacation so we haven't been able to get to these.
Overall I like the structure that you propose above. Can you and @joowon-dm-snu possibly collaborate on this? We'd love to see a proposed PR.
And I know @akshaya-a is interested in this too so he can provide a more in-depth commentary.
Once the team gets back, we can dig into this deeper!

Hi, I've already submitted PR #1630 with a draft implementation that I'm using meanwhile.
I'm open to any suggestions to improve and expand it.  @joowon-dm-snu /  @akshaya-a please share your view and use cases.
Adding also @RogerBarreto , as he was mentioned in the PR as also being working on this.

Closing this issue per @shawncal comment on PR #1630.


How to begin

Hello,
Is it possible to have a little how-to use this plugin ?
Thank you.

Heya! Thank you for your interest in this project of mine!
First off, this is one of the first things I've ever put out there, so I am not entirely sure what I'd need to provide in order to help you use this plugin. Secondly, I didn't build this with widespread compatibility in mind, so as far as I know this might only work on Windows. Thirdly, it's been a while since I looked at this project so bear with me while I gather my thoughts and figure out how to clearly communicate what is needed to get this to work.
To begin with, I guess I'd start with asking which version of Godot you want to use this in? 4.0? or 4.1?

Hey,
Thanks for this fast response. I'm working on Linux, I already tryied Godot 3.2.3 to make a space-invader like game. But I think I can migrate the project on godot 4.0 (and publish it on github soon).
I already tested Vosk with python to make a learning game for calculation (in french): https://github.com/Martoni/FaisTesDevoirsAvant/blob/master/python/vosk/multvosk.py
My goal is to make a space invader like game but with some question to respond right by voice to reload the weapon ;)

I just pushed an update in godot_4.1.1 that updates the project to Godot 4.1.1, fixes references to submodules, and includes the required binaries. If you're lucky, you just need to do two things to get the project to run.

First, you'd obviously need to clone the repo. The main branch is currently on 4.1.1 stable, so you can just run git clone git@github.com:edmundmtang/vosk-godot.
Second, you'd need to put in an appropriate vosk language model, which you can download from here. Once downloaded, unzip the language model in project/speech_recognizer/language_models/. I've been using vosk-model-small-en-us-0.15 in my own projects, and that is the default in the project, so if you decide to use a different LM then you'll also have to update the LM path in the GDScript.
Once you've done these things, the project should run, though you might need to adjust some settings like the audio mix rate to match your system. However, since you mentioned that you're working on Linux you might need to recompile all the binaries in order to get the project to run (I'm not to familiar with cross-platform compatibility, so I'm just guessing from here out).

If you need to recompile the binaries, there are up to 3 sets of binary files that may need to be recompiled.

The first is my fork of the Vosk API. I'm actually just going to ignore this one for now because it's a different beast that I hope we won't need to address. Also, I compiled it on a WSL so I'm hoping it won't present a compatibility issue. If everything else fails we might look into this. In any case, the binaries from compiling the Vosk API are libpath/libvosk.lib and project/bin/libvosk.dll. Note that there are 3 dependencies for libvosk that are also included in the project/bin/ directory (libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll). We don't need to ever recompile these; we just take them from Vosk.
The first thing that I'd actually try to recompile is the godot-cpp/ binaries. To begin, you'd need to fetch the files, so in the main directory of the repo run:
git submodule init
git submodule update --recursive
Then navigate to the submodule directory using cd godot-cpp. You can then compile the CPP bindings using the command scons. It should figure out your system settings, but you may need to pass additional arguments like platform=linux.
With godot-cpp and Vosk files, you can then go back to the main directory and compile the vosk-godot binaries by calling upon scons again. That should generate the appropriate binaries and put them in the project/bin folder. At this point, make sure you have an appropriate language model in the correct directory and it should hopefully work.

Before you get too deep into making this work, I would point out this issue that I found with the Godot engine. My current workaround is to periodically restart the microphone from inside the engine. I don't think it's a deal-breaker, but I think it's worth noting.

Thanks for the help, I'll try it.
I just uploaded the upgraded project BrainDefender on github. I hope I'll find time this weekend to test vosk.

I got some time to test the extension installation but, of course, I have to recompile it for Linux :
Error loading extension : res://speech_recognizer/vosk_speech_recognizer.gdextension

Finally, I managed to compile library with scon. I had a problem with -lvosk option solved by unziping vosk-api release so file in /usr/local/lib/ :
$ sudo cp vosk-linux-x86_64-0.3.45/libvosk.so /usr/local/lib/

Then launching scons :
$ scons platform="linux"
scons: Reading SConscript files ...
Auto-detected 8 CPU cores available for build parallelism. Using 7 cores by default. You can override it with the -j argument.
Building for architecture x86_64 on platform linux
scons: done reading SConscript files.
scons: Building targets ...
scons: `godot-cpp/bin/libgodot-cpp.linux.template_debug.x86_64.a' is up to date.
g++ -o project/bin/lib_vosk_speech_recognizer.linux.template_debug.x86_64.so -Wl,-R,'$ORIGIN' -m64 -march=x86-64 -shared src/register_types.os src/vosk_speech_recognizer.os -Lgodot-cpp/bin -Llibpath -lgodot-cpp.linux.template_debug.x86_64 -lvosk
scons: done building targets.

I modified file project/speech_recognizer/vosk_speech_recognizer.gdextension to add linux library version :
[configuration]

entry_symbol = "vosk_speech_recognizer_library_init"
compatibility_minimum = 4.1

[libraries]

windows.debug.x86_64 = "res://bin/lib_vosk_speech_recognizer.windows.template_debug.x86_64.dll"
linux.debug.x86_64 = "res://bin/lib_vosk_speech_recognizer.linux.template_debug.x86_64.so"

Named according to binary file located in :
project/bin/lib_vosk_speech_recognizer.linux.template_debug.x86_64.so

But I've still got the extension error message when I'm loading project with godot :
Error loading extension : res://speech_recognizer/vosk_speech_recognizer.gdextension

Main error message is :
Parser Error: Could not find base class "VoskSpeechRecognizer".

One thing to note about gdextension in its current form is that its error messages are actually quite uninformative. It'll give this same error for a number of different issues. Since you used the .so from the standard vosk distribution I think that may be the issue. I'll look into recompiling my modified version of vosk so that we have a library for Linux use.

I tried recompiling the binaries and putting them in a new branch linux_compatibility. I still need to test it, but I need to figure out how to get Godot on Linux working to test it.

I copied the libvosk.so file in project/bin and godot managed to find the library apparently.
I've still have some error in console :
$
ERROR: Cannot get class 'AudioEffectCaptureExtend'.
   at: instantiate (core/object/class_db.cpp:339)
ERROR: res://default_bus_layout.tres:3 - Parse Error: Can't create sub resource of type: AudioEffectCaptureExtend
   at: load (scene/resources/resource_format_text.cpp:550)
ERROR: Failed loading resource: res://default_bus_layout.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:273)
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:73)
ERROR: Can't open dynamic library: /opt/vosk-godot/project/bin/lib_vosk_speech_recognizer.linux.template_debug.x86_64.so. Error: /opt/vosk-godot/project/bin/lib_vosk_speech_recognizer.linux.template_debug.x86_64.so: undefined symbol: vosk_recognizer_set_timings.
   at: open_dynamic_library (drivers/unix/os_unix.cpp:650)
ERROR: GDExtension dynamic library not found: /opt/vosk-godot/project/bin/lib_vosk_speech_recognizer.linux.template_debug.x86_64.so
   at: open_library (core/extension/gdextension.cpp:455)
ERROR: Failed loading resource: res://speech_recognizer/vosk_speech_recognizer.gdextension. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:273)
SCRIPT ERROR: Parse Error: Could not find base class "VoskSpeechRecognizer".
          at: GDScript::reload (res://speech_recognizer/VoskSpeechRecognizer.gd:1)
ERROR: Cannot get class 'VoskSpeechRecognizer'.
   at: instantiate (core/object/class_db.cpp:339)

You copied libvosk.so, but did you also recompile lib_vosk_speech_recognizer.linux.template_debug.x86_64.so or use the new file from the new branch? I still haven't gotten around to getting Godot in a VM so I haven't tested it myself yet.

Upon further inspection, I am likely compiling the libvosk.so file incorrectly so I will be looking into recompiling it.

I made another push to linux_compatibility. I was able to test whether or not it runs in an Ubuntu VM and I was able to get it to run without errors. Unfortunately, I haven't set up microphone access in my VM yet, so I haven't been able to test its full capabilities. Please let me know if it works now!
I'll figure it out how to test it with microphone access later, if it doesn't work or if you don't get around to testing it.


Add archbius tools to backend

This PR provides an implementation for an Archibus proof of concept, allowing users to make workspace bookings to the archibus dev server

Added french translations, using GPT(best effort)
@kyleaitken  if they're acceptable, github should make it painless to accept the suggestions.

This is closed, this was merged in the dev-update branch since I had other changes to consider (the tools rework).


fix: provide a valid nuxt guide

The current Nuxt example is kinda bad. It doesn't work, and could make some new-comers a bit.
Now the provided code actually works.

@xinnks are you ok if I merge this?

@notrab I am.


mention usage of 'jq' utility to decoded and pretty-print JSON

It is commonly used together with 'curl' and JSON, but it is also
required to decode certain values in responses, e.g an artifact
URI will contain raw values that need to be decoded by a JSON
parses.
Some more background info can be found in MEN-2082.
Changelog: None
Signed-off-by: Mirza Krak<EMAIL_ADDRESS>

Looks good to me.  Once @maciejmrowiec approves we'll get this merged. I think this should also go back to the older docs branches.

There are other references in the doc to use python -m json.tool. I would change those to jq as well then.

Updated, replaced python -m json.tool occurrences with jq. Also added hint on how to install jq in the using the APIs section.

Thanks for the review @drewmoseley , updated.