Database  is not complete or not indexed.

Hello,
I'm getting the error above using the GTDB database from here.
It was indexed according the instructions in the main page, I have these files inside the database folder:
 prot.fa, nucl.*.fa and metadata.tsv
The command I'm running is:
melon T2-C1_filt500.fasta --db /database -o melon

Hi,
After indexing you should have exactly 16 *.mmi and 1 *.dmnd files in the database folder, otherwise the database is considered incomplete.
Please note the following code will index files in ./database not /database. If you save the database under / then you need to move to the path for indexing.
cpu_count=$(python -c 'import os; print(os.cpu_count())')

diamond makedb --in database/prot.fa --db database/prot --quiet
ls database/nucl.*.fa | sort | xargs -P $cpu_count -I {} bash -c '
    filename=${1%.fa*};
    filename=${filename##*/};
    minimap2 -x map-ont -d database/$filename.mmi ${1} 2> /dev/null;
    echo "Indexed <database/$filename.fa>.";' - {}

After indexing you should have exactly 16 *.mmi and 1 *.dmnd files in the database folder, otherwise the database is considered incomplete.

Thanks!, I was missing the *.mmi files, turns out minimap2 wasn't installed in my conda environment.

After indexing you should have exactly 16 *.mmi and 1 *.dmnd files in the database folder, otherwise the database is considered incomplete.

Thanks!, I was missing the *.mmi files, turns out minimap2 wasn't installed in my conda environment.


fix: respect settings in applyTo config(#5885)

Description
Respects the applyTo option in GraphQL Mesh encapsulate transform
Fixes #5885
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can
reproduce. Please also list any relevant details for your test configuration

[x] Unit test

Checklist:

[x] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests and linter rules pass locally with my changes

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

Could you  create a changeset using yarn changeset? Then we can merge and release!


Adds OpenLab Playbooks

Initial playbooks with plain unit and integration test jobs

Seems we need to change the job definitions and support specify multiple versions of ruby and support in-repo format jobs. I have test in PR https://github.com/liu-sheng/misty/pull/4

Replaced with  https://github.com/flystack/misty/pull/125


Docs: Update cypress accessibility testing, remove disabled contrast rules

Remove disabled contrast checking in most doc pages
Stop checking accessibility of LiveEditor (does not play well with the styling of LiveEditor that can't be changed)

Test Plan
Ensuring test suite passes

Should we include scripts/templates/accessibility_ComponentName_spec.js?


make right hand sidebar sticky

@DrDrij knows about this already.
Just documenting here as an open item.
https://epic-agnesi-957267.netlify.app/python_by_example.html

left sidebar as well

@AakashGfude no -- the left sidebar is to be by default hidden

@mmcky I meant once you open the left sidebar, it slides as well with the page.

ah - ok I see what you mean. Thanks @AakashGfude

thanks @DrDrij reverting this in #40


[Web3] Configurability

In order to preserve the outer dynamics of the web3 interface we have to change the representation of token values, state hashes and keys. It would be nice if these adjustments where configurable, with sensitive defaults.

I'm a first-time open source contributor (though I've got a small amount of gRPC/protobuf experience, for what it's worth) - I'd be interested in picking up this issue, if it's a good starter one, although to be honest wrapping my head around the repo seems like a bit of a tall order so it might take me some time to get there.

Hey @rohitkumarWUSTL! Thanks for the interest, I can post a few links which I think may be of help. So when we establish the web3 service here, we should pass in a new config (which can be added here. The service can then check this config before doing things such as the balance conversion here.

Thanks! The links are helpful. Sorry, I just need a little clarification - does the BurrowConfig contain sufficient information already (i.e. the only change that needs to be made is for the config field in the EthService struct to change types from a tmConfig to a BurrowConfig), or do additional fields need to be added to the BurrowConfig struct to reflect configurations of token values, state hashes and keys (with corresponding additions in the DefaultBurrowConfig() function as well)?
(Or are neither of those the case, and I completely misread what you're going for?)

So currently we only pass tmConfig as you've discovered, but we can pass the full BurrowConfig instead since it contains the Tendermint configuration. For this task we'll want to add another set of options to BurrowConfig in a sub-struct - one field of which may be the conversion rate for instance.

I see, that makes sense. So the changes that need to be made are:

Change the tmConfig field in the EthService struct to a BurrowConfig
Add a sub-struct to the BurrowConfig struct for additional configs (what should it be called?)
Implement defaults for this sub-struct (I'll need some guidance this as I don't have any domain knowledge yet, sorry)
(Possibly) refactor anywhere where an EthService is constructed with a custom config object?

Am I missing anything?

Those changes sound good to me! We can name the sub-struct Web3, and start off with a conversion rate field that is either a customizable *big.Int or we can create an enum for ethereum denominations. Once that's done we can discuss other settings.

@rohitkumarWUSTL are you still working on this?


Make menu scrollable on mobile

I've just pull the source. It looks that works on Android but not on the iphone.
I will try a little bite more and I come back to you.

Scroll doesn't works on both platform until  you have focus / select an option.


Feature: Scribble on iPad

iOS 14.0 has a new iPad feature enabling hand-written letters to be converted into text. There's a specific API that requires writing custom code, so it's not clear to me if this is something Flutter can support.

Sample code
WWDC Video

This seems like a duplicate of (certainly related to) #61278

I agree @fbcouch. I think this is a duplicate of #61278

Closing as duplicate: https://github.com/flutter/flutter/issues/61278


Many to many relationships

What is a proper way to define many to many relationships?

Since admin-on-rest provides no special system for it, you'll have to do it in React. This means querying the first table, then, upon reception of the response, query the second table.
You could easily do it in a componentWillMount(). If you're more adventurous, you could also do it with the Redux state. If you happen to go that far, please open a PR to let us benefit from your solution!

I'm looking into how to use the crudGetMany action. I think a good reference is https://github.com/marmelab/admin-on-rest-demo/blob/master/src/commands/Basket.js
Example:
https://marmelab.com/admin-on-rest-demo/#/commands/550?_k=80befq
This implements the basket on the right hand side where products are fetched with crudGetMany action.

Related: #429

How could an editable oneToMany list be implemented?
There are two actions:

Add related item
Delete related item

As I understand - a state of the items (new, deleted, unchanged) should be stored in the redux state (oneToMany). Then after "Save" button, the changes "new" and "deleted" are sent to the backend?
We can represetn the relation (A <-> B) as a separate resource (A_B): { a_id: 1, b_id: 3}
Or as an attribute-array.

ReferenceArrayField and ReferenceArrayInput is as far as we'll get for now. I consider it solved.


[Feature Request] [Touchscreen optimization] Add arrows to Fly out menu

Discussed in https://github.com/EmiyaSyahriel/CrossLauncher/discussions/90

Originally posted by glitch128 May 10, 2024
so, it is kinda difficult to figure out how the flyout menu works with touchscreen. for example, the app flyout menu with [Switch Sort, Launch, App Info, Create Customization Dir, ect.]. adding arrows in the blank spaces could help tell the user how it works and how to navigate that menu.
ex:
      ^

Switch Sort
...
Uninstall

      v
```</div>

@glitch128 I have implemented it in this build, can you try it?
I also added the options to change the side menu navigation on Settings > System Settings > Side Menu Touch Navigation Mode (Still Tap by default), because the current tapping navigation is very disjointed from how other UI component is navigated. And since the side menu code is now untangled from other system code, I can easily add this system without making the code unreadable.

that seems good. it adds better indication of how to use it with a touchscreen


Extending Layerswitcher class

Hi @walkermatt, hope everything's fine.
This is more a question rather than an issue.
I don't expect you to read through all this question, but I think this is the best place (more than SO) to ask it as it's your project.
In my project, I am adding to each HTML "layer" class created by the Layerswitcher:

a zoom and a table icon on the right of each layer title
a slidebar to change layer's transparency
an image with the layer's legend

All these three (actually they're four) operations are performed each by a separate function to which I pass an array of class objects (among other parameters), created with:
var layer_class = document.getElementsByClassName("layer");
Then each function loops through each class and builds those 4 aforementioned elements more or less like how the Layerswitcher is building the input and title of each (operational) layer.
Besides the fact that I can group these functions into one to avoid looping through the classes many times uselessly, I am having difficulty to adapt my code to include the latest neat functionality introduced by the neat PR Merge and enhance group checkboxes.
So, before understanding how to solve my issue, I would like to ask you a suggestion: would it be more reasonable in your opinion to extend the Layerswitcher class (and in particular, the renderLayer_ method) to add the other HTML elements I need? Something similar to what is explained in the SO answer "Extending parent class methods in child class in Javascript ES6"?
If you reach this part, then I really thank you for taking the time to read my question ;)

Decided to close this as per the answers to my question in SO.
Really seems not ideal. Anyway, I think I'll make a PR for #209 as I think it would be crucial for those like me who are using the static renderPanel() method to draw the LayerSwitcher. Hope I'll make it soon and that will meet your interest (I think it will be a minimalistic PR).


Libp2p Host Builder

Description of the Change
Implementation of HostBuilder. For now, it uses a lot of stubbed implementations of the interfaces, but during the development, they are going to be changed to the real default ones.
Benefits
Builder is implemented.
Possible Drawbacks
None.

Codecov Report

Merging #122 into master will decrease coverage by 0.2%.
The diff coverage is 50.48%.

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   71.61%   71.41%   -0.21%
==========================================
  Files         247      259      +12
  Lines        7676     7783     +107
  Branches     3988     4026      +38
==========================================
+ Hits         5497     5558      +61
- Misses       1203     1248      +45
- Partials      976      977       +1

Impacted Files
Coverage Δ

core/common/buffer.hpp
100% <ø> (ø)
:arrow_up:

core/libp2p/security/security_adaptor.hpp
100% <ø> (ø)

...libp2p/crypto/random_generator/boost_generator.hpp
100% <ø> (ø)
:arrow_up:

core/libp2p/crypto/key.hpp
50% <ø> (ø)
:arrow_up:

core/common/buffer.cpp
84.7% <100%> (+0.36%)
:arrow_up:

core/libp2p/discovery/discovery_impl.hpp
100% <100%> (ø)

core/libp2p/routing/routing_adaptor.hpp
100% <100%> (ø)

core/libp2p/muxer/yamux.hpp
100% <100%> (ø)

test/core/libp2p/host_builder_test.cpp
100% <100%> (ø)

core/libp2p/routing/routing_impl.hpp
100% <100%> (ø)

... and 17 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 03d8ca7...99473a5. Read the comment docs.


During migration, different IoGT V1 sites should migrate Pages order in Sections differently

Due to various versions of IoGT V1 currently in use at UNICEF, and outstanding bugs, there are two different ways that Pages were ordered in Sections:
Type 1:
kenya
tanzania
south africa
eucador
IOGT global
Pages in Sections were ordered by Creation Date. That order of Pages should be transferred to V2 during migration. eg
V1 newest creation date = V2 first item
V1 second newest creation date = V2 second item
Type 2:
All others
Pages in Section were ordered via user-selected order - which is NOT the same as order which appears by default in the Admin Panel interface. It is the order which appears after clicking the "Sort" button at the Section level. That order of Pages should be transferred to V2 during migration. eg
V1 first item when sorting Pages = V2 first item
V1 second item when sorting Pages = V2 second item

I think this is no longer Awaiting UNICEF correct?

I thought you wanted to check back with Laurie how to deal with this, because (at least in global, so I assume this is for all of Type 1) the section preview shows the pages in the order from the CMS but when you view the section itself, it shows them by creation date.

For Type 1 sites - we will sort by creation date and output a warning in the migration report that the parent sections will appear in a different order.

@cbunicef
Section page has sections, articles, polls, and surveys as children and for type 1 they all will be sorted by creation date, right?
also, there are a couple of datetime fields (latest_revision_created_at, first_published_at, last_published_at), and which should be used for sorting?
CC: @geoo89

@cbunicef
Section page has sections, articles, polls, and surveys as children and for type 1 they all will be sorted by creation date, right?

Yes

also, there are a couple of datetime fields (latest_revision_created_at, first_published_at, last_published_at), and which should be used for sorting?

We don't need to use any of those for sorting.

I think the question was, which of these fields is the creation date? (There is no field called creation_date.)
It appears to me that it is in fact first_published_at; looking at the earliest entry of the revision history of a page, the date seems to match the first_published_at entry.

Ah I see, thanks. Yes first_published_at would seem to be the best.

We implemented this specification, but now subsections are in the wrong order, while they appeared to be in the correct order before (e.g. see iogt-global-showcase). It appears that this sorting only applies to articles after all? Can you confirm @cbunicef
I also finally realized that the 'related sections' field in articles does something after all: articles can appear in multiple sections, which mimics the proposed PageLink (see #662) functionality. However, it's not clear to me in which order they appear (both between them and relative to other elements of the section). Could we have a specification? Here's an example instance: https://www.internetofgoodthings.org/section/parents-caregivers/

Content within a section is presented in the following order:

articles
articles added to the sections via 'related sections'
subsections
polls
surveys

Subsections, surveys, polls are all shown in the order specified in the CMS.
Articles are shown sorted by first_published_at, with the newest articles first.
For related section articles, the order is not clear. If multiple related section articles come from the same section, then they are ordered in the order from the CMS. If they come from different sections, we don't know the order.
--> For each section containing related section articles, print a warning (Section title, section URL, section Admin URL) with the list of related section articles (Titles only) in that section, to indicate that these might be in the wrong order.


Fix missing commas in excluded_ops list.

Fix missing commas in excluded_ops list.

Thank you for the PR. One minor suggestion please: in the future, please make a commit message, not just "update ". See for example https://cbea.ms/git-commit/

That for the ping @mihaimaruseac, you are indeed right -- will do that next time!


merge bid update

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingAds/scripts/reference/AdGroupBidding.md
:white_check_mark:Succeeded

BingAds/scripts/reference/KeywordBidding.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


bug: enum dynamic singleton methods not inherited the second time

This is a resubmit of #1410, this time I've tested on a new, clean neo4j test-project.
Given this model:
class Role
  include Neo4j::ActiveNode

  enum template: [:sunday, :monday]

  class Template < Role
    class Current < Template
    end
  end
end

Expected Behavior
Role.sunday
#=> #<QueryProxy  []>

Role::Template.sunday
#=> #<QueryProxy  []>

Role::Template::Current.sunday
#=> #<QueryProxy  []>

Actual Behavior
Role.sunday
#=> #<QueryProxy  []>

Role::Template.sunday
#=> #<QueryProxy  []>

Role::Template::Current.sunday
#=> NoMethodError: undefined method `arity' for nil:NilClass

Runtime information:
Neo4j database version: 3.2.1
neo4j gem version: 8.2.1
neo4j-core gem version: 7.2.3

After some digging, I believe this is caused by issue #1413, as Role::Template::Current.sunday is defined dynamically as a scope here.

Should be fixed be #1415 in 8.2.3


Duplicate collection import/create error does not shows on the screen but console error caughted

when we try to import/create the duplicate collection, the alert says imported successfully but in the console the uncaught

+1
Haven't found a way to update a collection initially created via an OpenApi V3 Spec import.
@helloanoop what do we do when the spec changes?

Closing this issue as the pull request (https://github.com/usebruno/bruno/pull/2455) that adds a better error message has already been merged.


[Storage] az storage copy: Add account credentials support and deprecate --source-local-path, --destination-local-path, --destination-account-name

Description

dupe of https://github.com/Azure/azure-cli/pull/14636

refactor the code
will deprecate --source-local-path , redirect to --source
will deprecate --destination-local-path, redirect to --destination
will deprecate --destination-account-name, redirect to --account-name
Add account credential related argument

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

add to S175


pebbless->pebbles

my mistake in renaming software artefacts that affected SSO logins

Fixing my own typo here.


CostManagement RP- Introducing API Version 2019-10-01 plus adding Modern Commerce Account Scopes to Query and Dimension APIs.

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Hi @zikalino do you have any clue what is happening on the python SDK check?

Hi @parisa-naeimi please add a new entry in readme.go.md for this version of SDK.
Because of lack of new tag, the CI check seems to use mock information and crashes. I suppose adding a new entry in readme.go.md would fix this

Automation for azure-sdk-for-go

Hi @parisa-naeimi please add a new entry in readme.go.md for this version of SDK.
Because of lack of new tag, the CI check seems to use mock information and crashes. I suppose adding a new entry in readme.go.md would fix this

@ArcturusZhang I already addressed your comment.

/azp run


Add notice about pre-release

Description
Adding notice to docs per suggestion in https://github.com/opensearch-project/opensearch-net/issues/166
Issues Resolved
N/A
Checklist

[X] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Oh, I was actually thinking you were reading https://github.com/opensearch-project/opensearch-net/blob/main/USER_GUIDE.md. I think we need something more elaborate for all client versions in the opensearch.org documentation to make it clear what the latest is and where the correct docs are, @wbeckler WDYT?

I think this update works for now (if you can address the DCO) and we can take a more thorough sweep of how to express this disparity clearly in the right places.


⚠ ClamAV has degraded performance

In 894dd54, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 85 ms

Resolved: ClamAV performance has improved in f234f7a after 16 minutes.


update to comply with latest interception

I've update it so it can work with latest interception.
release page: https://github.com/oblitum/Interception/releases/tag/1.0.0 (released this on Jul 26, 2015)

Working for me with latest version, ty :)


Slow init/scaling

Hello,
First of all this is a great project! We absolutely love it and it extends the functionality of Lambda really nicely in a relatively simple way.
We are experiencing slow init times however when using this in our environment.
Lambda base image init: 250ms with some spikes up to 2000ms
Lambda base image with lambda-web-adapter starting FastAPI: 5111ms! (This is very consistent for a cold start)
The FastAPI code being started is their very basic hello world getting started example:
test_api/__init__.py
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
async def root():
    return {"message": "Hello World"}

And it's started from the Dockerfile:
FROM aerisweather/geo-base-python3.10:base-v8
WORKDIR /app

RUN pip install fastapi "uvicorn[standard]"

## Enable Lambda triggered web server
COPY scripts/lambda-adapter /opt/extensions/lambda-adapter
ENV PORT=8000

COPY ./test_api ./test_api

ENTRYPOINT [ ]
CMD exec uvicorn --host <IP_ADDRESS> --port=$PORT --forwarded-allow-ips='*' --workers=1 test_api:app

The lambda logs don't seem to reflect the long startup init process:

Any tips on speeding this up?
Thanks a lot!

Hmm, I usually see high cold start times in the first a few cold starts after the function is created or updated. This is because of the cold cache in Lambda Service. However, the cold starts after that are much faster. See the test results here.
Could you deploy the FastAPI example and see the cold time?

That is an awesome analysis in that other thread! Thank you so much for that. I apologize that didn't show up in my search. I think the discussion over there and your tips are enough. Thank you very much!


Add ability to render correct overlay experience based on config

Add ability for Fides.js to fetch the correct overlay experience based on the geolocation, existing user preferences, GPC

WIP gist here, which outlines necessary FE logic to render various components - https://gist.github.com/eastandwestwind/a299e104d52dd92270ed3088d5459165

moving to done


Add dark mode styling

imo it'd be the most straightforward to re-use the built-in django colour variables so elements would match whatever theme was in-use now (and in the future, if the variable names didn't change)


Upgraded docker maven plugin

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/226/
Test PASSed.


Footsteps don't turn off

After going back to "normal" camera mode by pushing F2, the footstep sounds are still there.

No. I just reproduced the bug again.  I hit F2 without any other input, and it still does it.


go: inconsistent vendoring in /build/source/i2ywm

Hello! Found your project from your post and wanted to try it out. Seems like there's a dependency issue somewhere since I get the following when trying to build with Nix:
go: inconsistent vendoring in /build/source/i2ywm:
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt

        To ignore the vendor directory, use -mod=readonly or -mod=mod.
        To sync the vendor directory, run:
                go mod vendor

Closing since this was a skill issue on my part (needed to use sourceRoot).

This is also not well-written, and its very incomplete compared to the original.
https://github.com/Geronymos/desktop-icons

desktop-icons is pretty cool indeed. Would be interesting to see a modern language used with the addition of more features like sorting etc.

desktop-icons is pretty cool indeed. Would be interesting to see a modern language used with the addition of more features like sorting etc.

C is very much modern if you want that (personally, I don't, I like C99 because it is clear and readable), I wanted to rewrite it in Go however because it is easier for others to understand what the code is doing, and to collaborate. + Go is easy to statically link.
Anyways, thanks for trying this out, even if I currently have no time to work on it, it was just a thing I made in an hour and a half


Adding new feature to support test databases to store test results.

Adding new functionality to store test results to the database. (depends on the results_to_db config in settings.json file)
Current support is provided for MONGO DB and TINY DB.
in future, this will be extended to support adding runtime test data to the database.

@lucianopuccio please review

Sorry I did not review this in time and thanks for your interest in the project


Feature Request: Fork Only Default Branch

What feature do you want to see added?
Current Situation
When forking a repository on GitHub, our current process retrieves all branches from the original repository.
Issue
This approach may be inefficient and unnecessary for our use case.
Desired Outcome
We aim to fork only the default branch of the repository, as this is typically sufficient for our work.
GitHub GUI Option
The GitHub web interface provides an option to fork only the default branch (usually the main branch).
Benefits

Efficiency: Reduces unnecessary data transfer and storage.
Simplicity: Maintains a cleaner repository structure in our forks.
Focus: Aligns with our primary need of working with the main branch.

Conclusion
Optimizing our forking process to retrieve only the main branch will streamline our workflow and improve overall efficiency. This change aligns with best practices for managing forks when only the main branch is needed for development or analysis purposes.

I tried with this bash script:
#!/bin/bash
set -eux

GITHUB_TOKEN="my_token"
OWNER="jenkinsci"
REPO="pipeline-graph-view-plugin"
NEW_OWNER="gounthar"

# API endpoint for forking a repository
API_URL="https://api.github.com/repos/$OWNER/$REPO/forks"

# Make the API request to fork the repository
curl -L \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer $GITHUB_TOKEN" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  -H "Content-Type: application/json" \
  $API_URL \
  -d '{"default_branch_only":true}'

and it worked.
I kind of understand why someone chose the two names but... We should probably mark both of these as @Deprecated, have them both call into a new method named createFork() which is a helper for a createFork(String organization, String name, boolean default_branch_only). null, "", or false are ignored, otherwise the parameter is sent. Does this make sense?


Change local server IP addr to <IP_ADDRESS>

Change IP addr to <IP_ADDRESS>

you can't reach the server from other devices if its <IP_ADDRESS>. for example: 192.168.178.xxx or devicename.local

Please explain why

Please explain why
Because I can't run the local server if the ip addr is <IP_ADDRESS>

OS of my computer is Win10.

I have used <IP_ADDRESS> in the past on windows

@3119369616 you should go to <IP_ADDRESS> in your browser, and the HTTP server bound on <IP_ADDRESS> will answer


Embed SVG images into fMRIprep HTML reports directly

What would you like to see added in fMRIPrep?
It would be nice to have an option to embed SVG images into fMRIprep HTML reports as base64 data. It would increase their filesize but make them more portable.
clpipe has a script that creates a zip archive of the html report with all of the images. This improves the portability but still requires an unzipping step to view the report. https://clpipe.readthedocs.io/en/latest/fmriprep.html#getting-quality-control-reports
I have modified a script to directly embed the SVG images into the HTML report. I think this script would just need to be made into a function and a command-line option added, assuming we don't want this to be default behavior. The standalone script is available here: https://gist.github.com/keithcallenberg/6a52f526db2a9d3530b2151ec251ffc7
Do you have any interest in helping implement the feature?
Yes
Additional information / screenshots
No response

Hi, thanks for this issue. We did previously embed all images, and that led to browser-crashingly large files for many datasets, forcing us to make the default linked images.
I think a generic embedding tool is probably the most future-proof, but I do also see the value in having the option to build self-contained HTML reports without a further step.
As you imagine it, would this replace the current figures/ directory in the derivatives, or simply be a change in the HTML construction? I would guess that replacing would be a much deeper revision and probably require more maintenance in the long run.

I take this back. I thought this would be low effort, but I realized from @effigies comment and some further investigation that more would be needed. The approach and script I suggested above is fine for displaying static SVGs, but more would need to be done to get them to alternate on hover as they do currently.


ROS2 integration is somewhere ?

Hi,
I was searching for Autoware.Auto integration for CARLA, but I don't know if it's in the works or is it somewhere to be access?
Can someone tell me?
Thanks a lot

@RDaneelOlivav , I also want to know if CARLA support Autoware.Auto.  Do you have any update?


☎👩💻 August WinUI Community Call (August 19, 2020)

The WinUI team will be hosting our monthly community call on this coming Wednesday, August 19 on YouTube Live!
Watch here: https://youtu.be/0SZWXDJaKYs
Details
Date: Wednesday August 19, 2020
Time: 16:00-17:00 UTC (9:00-10:00am Pacific)
Anyone and everyone is welcome - no pre-registration is required.
This will be an informal interactive live stream directly with members of our engineering team.
Format
In this community call we'll be welcoming two guests from the WinUI team at Microsoft.
At the end of every community call we have a Q&A session where our team and guests answer your questions about all things WinUI.
Ask your questions in the comments of this issue! If any questions come up during the call, you can ask them live in the comments as well.
Agenda
Intro, updates on WinUI
Updates on WinUI 2.5, new features
Roadmap updates for WinUI 3
Updates on open-sourcing WinUI 3 with @adambarlow
Aligning design systems with design tokens with @kikisaints
Q&A

OK my question is - would it be possible to expose ICoreWebView2 in from Microsoft::UI::Xaml::Controls::IWebView2 so we can do things like send web requests.

Are there progress/decisions made in terms of rust support?
Are there partners (internal or external) that are working with WinUI Team to use WinUI 3 in their apps?

Any progress on fixing background acrylic? #2236

@bsld thank you for your feedback. We are planning on having core webview access by our November preview for WinUI. We are also prioritizing local file access, so we certainly haven't forgotten about this. In terms of the binary web messages I'll have to defer to @liminzhu. Perhaps you could ping him for an update on that public issue that you have posted.

Any chance of some progress updates on these issues? Bugs to be fixed in WinUI 3 Preview 2

[cut/paste]
Q: Where is the WinUI 3 dev status document shown during the February WinUI Community Call? Developers still have no idea what's truly landing in WinUI 3 and we're inching closer to preview go-live.

@bsld thanks for reminding us of the arraybuffer issue. Is this something you need, or an example you pick? I'm more than willing to discuss your scenario and see if this needs to be re-prioritized.
I can say that the WebView2 project is ongoing and a high priority to us. We are at the moment working on some of the more pressing issues for GA. As you can see there are ~400 GitHub issues on our feedback repo and we also have a lot of other asks from internal or private conversations. We triage asks as they pop up, but inevitably a good number of them are towards the tail end of backlog and have to be investigated over the years.

@liminzhu Thanks for replaying. Well yes as I've mentioned I would need this features if I want to implement sending back and forth vertex and index data for my render. I would like to use the Windows back-end to parse 3mf files and send them as array-buffers to the WebView2 as requested. Then possibly I would like to send back some data to be processed by the faster native hosting app.
Maybe just maybe if you were to implement proper local file access - I could host the output (and input) as files and then use them to communicate instead of directly sending messages but at this point why not implement messages as well.

What updates are there, related to:

Customizing the window: the ability to create borderless (and transparent) windows (#1247)
Acrylic support in 3.0 or 3.1 (#2236)

@bsld thanks for the details! I will make sure this additional input gets factored in when we're looking at our backlog. Right now, it would still be behind some other items.
Local fs access is definitely way, way up in terms of priority, as this is critical path for a lot of apps. You will likely see support for this sooner than the arraybuffer one. I believe we're aiming to have local fs access in the Nov release. This is engineering plan rather than a customer promise though, as there are things that can affect timelines.

Debugging Difficulties and Guidance
I have now been developing in WinUI for about a month or so.  I started out by writing libraries that could fill in for the missing Window features, compared to those available in WinUI.  Once I had a decent start on those I began porting one part of my rather large WPF application.  Although I really enjoy learning new frameworks and solving technical problems, I am beginning to feel burdened by the amount of effort involved in a WPF to WinUI port.  I believe that this is mainly due to the lack of more specific exception messages from the framework.  I know I have problems with my own XAML as I ported it from WPF, but lord is it difficult to determine what the cause of the exceptions that I hit are.
Example of Error Messages for a simple XAML Error
Take for example the mistake that I made when defining a XAML StaticResource for the type "Double".  I thought that I could add a using for System and and then define the resource with sys:Double.  As you can see from the exception message below, it would be extremely difficult to know what type of XAML parsing error had occurred.  When issues like this occur, I have to start backing out each and every block of XAML until the code runs without exception.  Since it takes much longer to launch a packaged application, its a very tedious, time consuming and error prone process.
Writing raw XAML is error prone, but when porting hundreds of XAML files from WPF, errors are unavoidable.  My mistake was using sys:Double instead of x:Double.
xmlns:sys="using:System"
...
sys:Double x:Key="DoubleKey">.5</sys:Double>

Microsoft.UI.Xaml.dll!7A6F17CF: (caller: 7A471CB9) Exception(1) tid(85cc) 80004005 Unspecified error
Exception thrown at 0x76119862 in Oceanside.VirtualKeyboard.Sample.App.exe: Microsoft C++ exception: wil::ResultException at memory location 0x00D79C40.
Exception thrown at 0x76119862 in Oceanside.VirtualKeyboard.Sample.App.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
Microsoft.UI.Xaml.dll!7A6F2F43: (caller: 7A4CE21A) ReturnHr(1) tid(85cc) 80004005 Unspecified error
    Msg:[Microsoft.UI.Xaml.dll!7A6F17CF: (caller: 7A471CB9) Exception(1) tid(85cc) 80004005 Unspecified error
]
Exception thrown: 'Microsoft.UI.Xaml.Markup.XamlParseException' in winrt.runtime.dll
WinRT information: Could not create a new view because the main window has not yet been created
An exception of type 'Microsoft.UI.Xaml.Markup.XamlParseException' occurred in winrt.runtime.dll but was not handled in user code
WinRT information: Could not create a new view because the main window has not yet been created
XAML parsing failed.

Out of Memory Compile Error
I am also slowed down by Visual Studio running out of memory for what is now only a 9 project solution.  When it happens, a subsequent recompile is successful.  I have not reported this because I have a rather jaded opinion regarding Visual Studio and the effort required to report an issue with them.  I am assuming that this is not a WinUI problem because some of the bugs I have reported to the VS team this year we caused by VS running out of memory.  My point isn't to report this issue here, but anytime you need to recompile with Visual Studio, it leads to a loss in development time.  I need to find a better way to debug WinUI applications and hope that your team has recommendations for all of us that might smooth the transition to WinUI.  The example I gave above is one of many obscure messages that has done little to help me find the cause.  Considering I have hundreds of XAML files to port, this could be time prohibitive to any company that has deadlines.  Fortunately, I do not have any deadlines at this time, my main goal is a quality re-write with the latest Microsoft technologies.
By the way, I do appreciate the fact that the WinUI targets file explicitly mentioned the out of memory error, kudos to the author.
4>D:\OSPOS5\VirtualKeyboard\artifacts\globals\microsoft.winui\3.0.0-preview2.200713.0\build\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(561,9): Xaml Internal Error error WMC9999: Not enough memory resources are available to process this command. (Exception from HRESULT: 0x80070008)
4>Done building project "Oceanside.VirtualKeyboard.Sample.App.csproj" -- FAILED.
========== Build: 3 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

TLDR
I think that everyone would benefit from a list of tips and tricks to help us catch these errors without using process of elimination and recompile.

During the Uno conf, @ryandemopoulos presented a roadmap that yet again changed, now skipping a much needed September preview. Why the constant changes to the roadmap?

@dotMorten thank you for sharing that information.  The sooner I know these things the quicker I will be able to decide if I can continue to hang in there or potentially focus my attention on other parts of my effort.  I think the sure size of their effort must be overwhelming, but I also worry that Microsoft will suddenly switch focus making my plans for Desktop WinUI irrelevant.  Speaking of Uno I went and took a look at it again a couple of days ago due to the battles I have been having trying to port from WPF.  I thought that maybe I could gain an insight to see how the Uno team was using WinUI.  I was really impressed with the amount of progress they have made and the details they provided in their latest release.
I was really looking forward to September's release, but seeing the agenda for this coming meeting I wondered if something had changed.  All I want is the ability to port a WPF Desktop application over to the more modern and performant UWP flavor XAML without the UWP sandbox and the ability to use multiple Windows.  I have waited patiently since 2012 and truly hope the plans to provide this through WinUI 3 have not changed.

First, thank you for this great UI library, its potential is huge. My question is: Are there any plans for more specific UX Guide for using WinUI? Or will be some 1st class Windows applications (Mail, Photos, File Explorer, Office) that would inspire, how to use WinUI and Fluent Design together to make great Windows apps for touch, mouse and ink? Thank you!

After learning from @dotMorten that there was an updated schedule presented at the Uno conference on August 12th, I decided to dig through the 4.5 hour long video to this location where @ryandemopoulos shared that the September preview has been cancelled.  The github roadmap here needs to be updated.
I truly do appreciate the hard work that all developers put in, and I don't mean to make the release of WinUI seem simple.  That stated, it would have been a good idea to share that schedule where it belongs, in the WinUI repo, instead of casually waiting until August 19th to break the news to everyone who has been trying hard to make WinUI work.  I appreciate you all, but its hard enough to plan around a missing production release date than to have previews yanked and learn about it through the Uno team.  An outside viewer might say, "but its all in preview and you shouldn't plan around that".  The problem is, that desktop application developers around the globe have wanted to migrate to UWP flavor XAML since it came out in 2012, but many of us can't.  I won't regurgitate all the reasons why as you have heard them many times before.  WinUI for Desktop seems to be the option where we can finally move our full-trust desktop applications into UWP flavor XAML and for that reason, previews are what we have to live with.
  The best option is still WPF.  If WPF XAML was compatible with UWP XAML, the effort would be easier and for that reason, I don't want to continue to write hundreds of WPF XAML files.  (BTW, now when I joke about all the flavors of XAML I can include Scenic.  That was good information Ryan, I did enjoy the presentation.)

@jtbrower As things currently are, specially given the unclear roadmap on Project Reunion side, where they just ask for what we would like, once again a survey about AOT instead of clear message on .NET Native, I am sorry for the ongoing WinUI team efforts, but from the outside I would rather stay on WPF.
Still too much WPF features missing from WinUI, if you need to use C++ alongside .NET, C++/WinRT tooling is rather poor versus C++/CLI and C++/CX has been shown the door.
As I mentioned on some community feedback, there needs to be a clear statement that we aren't going XNA, Silverlight, WinRT UAP, ...once more, specifically when projects like Skype and Teams drop WinUI for Electron.

Let's forget about Project Reunion and Win Ui 3, What's the future of UWP? Are we going to see performance improvements, New features, etc..

@jtbrower thank you for sharing your difficulties in debugging. Regarding the xaml parse exceptions, this seems to have gotten worse compared to UWP (at least from what I can remember) - can you please file an issue?
As for the xaml compiler running out of memory, that's not something I've seen. How much memory does your machine have? I'm curious if you're running out of machine memory, or if VS is hitting the 4gb limit due to it being 32 bit.

Any news on .net 5 Official support for uwp?

@stevenbrix Hi Steve, thanks for the kind response, you are always so helpful.
Compiler Memory Issue
My laptop has 128 gig of ECC protected memory (Dell was having a sale, LOL).  When I use the process explorer to show live graphing of memory while using Visual Studio, it was only listing 2.5 gig in use when the targets file reports the out of memory condition.  Trying to avoid my love for the memory hungry ReSharper, I recently downloaded and installed a competitor of that tool.  Although I cannot blame their tool just yet, the out-of-memory warnings from the targets file began near the same time I installed that extension.  I disabled it the other day, but need to spend more time compiling before I can see if its related.  Usually when Visual Studio runs out of memory, it goes down instantly.  Hard crash, no warning or anything.
  Out of every XAML error I have caused myself so far, not a single exception message has pointed me in the right direction.  I will log an issue.
I am not sure if I will Continue
At this point, the cancellation of the September preview might be the inflection point that caused me to halt the WinUI migration.  Its a really tough decision and a risky gamble for me to continue to make.  It's just entirely too early for a WPF application developer to move over to WinUI.  IMO the previews should be entitled betas and the WinUI team given the time they need to make a quality product.  I can certainly appreciate what they must be going through trying to develop this out in the open.  Sometimes developers are pushed to release code far before they are ready and when that happens you cannot blame any of the team members for a lack of effort.  It slows development down to a crawl because your addressing issues that make you feel like "of course they reported that, I said it wasn't ready yet".
I knew I was jumping the gun by trying to force this.  Its just that I have wanted so badly to move towards a framework that was being actively developed and improved upon.  If WPF would render faster and some XAML syntactic sugar was added (x:Bind) many of us WPF product developers would be less eager to move a mature application into a preview UI framework.  I think I am leaning 90% chance of dropping WinUI and moving back to WPF today.

Interoperability Question: For extensive 3D applications I would like to know if it is easily possible to use the awesome WinUI GUI features in combination with raw DirectX processing so that e.g. the WinUI controls either overlays the DirectX output or the DirectX output is written to a Panel/Control?

@Manuel637 It is! Jump to the 18:30 point in this presentation to see my demo where I do exactly that! https://channel9.msdn.com/events/Build/2020/INT116?term=winui&lang-en=true
The control I use is the SwapChainPanel control.

@Manuel637 It is via  SwapChainPanel, the caveat is that you will be forced to use C++, as there isn't any MS support to do it from . NET directly.


functions to TransactionsHandle type

Hello, I apologize if this isn't what you were expecting. I just want to confirm if this is the correct approach to address this issue so that I can proceed with my other tasks. Once again, I'm sorry for any inconvenience
https://github.com/paradigmxyz/reth/issues/4651

I have questions about sending full transaction to a peer, the transaction type should be this one https://github.com/paradigmxyz/reth/blob/d846199525f459d1d1d74e9ff50fcb853903d46e/crates/primitives/src/transaction/mod.rs#L54C10-L54C21 please if i'm wrong correct me


"STrace" service not initiating.

Hi,
I compiled the entire project on VS Community 2022 without any errors. I ran the install script as admin, and it was completed successfully. But after rebooting with DSE disabled, the STrace service did not start.

As described in readme, I tried to start it manually but I'm having the following error.

I'm using a Windows 10 VM (Flare VM) on VirtualBox with nested virtualization enabled. Is there anyone else having this issue?

After repeating the entire installation process with the pre-built release binaries, it somehow worked.

The windows system is a bit finicky, I usually have to install, then reboot twice


Error on  Sign in or Sign out

On Sign in or Sign out:
StateError (Bad state: Future already completed)

Strange. Seems like importing the generated authControllerProvider did the trick.


[AzureMonitorDistro] prep release 1.3.0 beta2

Note: Exporter beta 2 is releasing right now. The builds here will fail until this publish is complete.

API change check
API changes are not detected in this pull request.

/AzurePipelines run

/AzurePipelines run net - core - ci (Build Test MacOS_NET60_ProjectRef_Debug_DependencyGroup4)

/AzurePipelines run net - core - ci

/check-enforcer evaluate


Windows: git: 'secrets' is not a git command

I have tried (and tried, and tried) getting git-secrets to work with GitHub Desktop for Windows without luck.
I have put the git-secrets bash script in one location that is now available within the git shell launched from GitHub Desktop (it's also in %PATH%):
curl -o "C:\Program Files\Git\cmd\git-secrets" https://raw.githubusercontent.com/awslabs/git-secrets/master/git-secrets

Running git secrets in cmd, git-bash AND powershell manually all gives me the "usage" output.
However, trying to commit with GitHub Desktop gives me
2017-12-13 16:30:05.7169|INFO|thread: 4|ProcessWrapper|Starting: Process - FileName: 'C:\Users\Stian\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\cmd\git.exe
...
2017-12-13 16:30:06.1735|WARN|thread: 1|StandardUserErrors|Showing user error Failed to create a new commit.
GitHub.IO.ProcessException: git: 'secrets' is not a git command. See 'git --help'.

I get the option to view error log and also "Open Git Shell". When I do Open Git Shell and execute git secrets, that works and gives me the "usage" output again.
Manually running the git.exe file in question with "secrets" also works:
C:\Users\Stian>C:\Users\Stian\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\cmd\git.exe secrets
usage: git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [<files>...]

Have tried setting Default shell in GitHub Desktop to Cmd, Git Bash and Powershell. They all fail.

In-case any other git-bash users come across this problem, save a copy of git-secrets in
C:\Program  Files\Git\usr\bin.
Git scans $PATH for any executable with the naming scheme git-* and will treat them as git sub-commands.

@StianOvrevage Could you try outputting %PATH% during a git invocation from Github Desktop to confirm whether C:\Program Files\Git\cmd is on tis path?


Baseline Update: Multi-tasking Feature added

All the problems we discussed is reflected in the latest commit. We decide
to leave the full evaluation as a whole thing in the next pull&request.
Thanks for your review!
On Mon, Sep 26, 2022 at 12:13 Xujin Chris Liu @.***>
wrote:

@.**** commented on this pull request.
@stephen-ck-zhang
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_stephen-2Dck-2Dzhang&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=_2Twy5NQl9M9l9NCf4thCjizXMbqqBgDN1Y0YKMcYO4&m=ORW3cYzAICWVPvSBrlsT6Is-kZMiESPzMMF4PMtg4Cy03rWdztDgEvb5TqcMzd4Z&s=14gDz6lUX7uYBluIA1eBOxOD8d4P3ySBdvq160yfj3U&e=
They look good to me, can you address Gavin's comments? Unless you two
already agreed to not fix them, then I'll just merge it.
—
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nyuolab_text2table_pull_67-23pullrequestreview-2D1120538725&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=_2Twy5NQl9M9l9NCf4thCjizXMbqqBgDN1Y0YKMcYO4&m=ORW3cYzAICWVPvSBrlsT6Is-kZMiESPzMMF4PMtg4Cy03rWdztDgEvb5TqcMzd4Z&s=ebyBpM1slapQC6qOxpySJ6IjeVaKYRFgZ8GAsQCiwEQ&e=,
or unsubscribe
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AYJAP3VDLVKKS3WESTG6XH3WAHDRVANCNFSM6AAAAAAQSH6CAY&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=_2Twy5NQl9M9l9NCf4thCjizXMbqqBgDN1Y0YKMcYO4&m=ORW3cYzAICWVPvSBrlsT6Is-kZMiESPzMMF4PMtg4Cy03rWdztDgEvb5TqcMzd4Z&s=omXJilj6lZglJW5k2PYJOweNb1xPxfGE481xV-pujCQ&e=
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Stephen (Chenkang) Zhang
646-829-7376 | LinkedIn http://www.linkedin.com/in/stephen-zhang-nyu |
GitHub https://github.com/stephen-ck-zhang
Undergraduate - CS&DS
New York University


Fix '+vi-svn-detect-changes:local:1: not valid in this context'

This is on Linux Mint 17.3, with zsh 5.0.2 (x86_64-pc-linux-gnu).
If you navigate to a SVN directory, it shows something like the following:
+vi-svn-detect-changes:local:1: not valid in this context: Gemfile.lock
  ~/D/D/C/w/qa X=''
X=''
'?'=0
Performing=''
status=0
on=''
external=''
item=''
at=''
Performing=''
status=0
on=''
external=''
item=''
at=''

Per a similar workaround described in this issue https://github.com/zsh-users/zsh-autosuggestions/issues/127#issuecomment-188513043, you can just wrap the call in quotes.

Thanks so much for the bug fix, @mtraynham! We really appreciate it, and nice work tracking that down!


[Service Bus] "Messages" suffix and removal of methods operating on single messages

We are planning to reduce the surface area of the API by completely removing separate methods for operations on the single message and adding them as overloads to the multiple message methods. For consistency, adding "Messages" suffix for all the APIs.
Sender

cancelScheduledMessage -> merged into cancelScheduledMessages [Return type doesn't change]
scheduleMessage -> merged into scheduleMessages [Return type changes to an array]
send -> "Messages" suffix is added - sendMessages

Receiver

receiveBatch -> renamed to receiveMessages
receiveDeferredMessage -> merged into receiveDeferredMessages [Return type changes to an array]

Done with #9678


cli: fetch if commit missing when rad merging

Reduce friction when merging patches by automatically fetching the Patch's commit head if its missing.
The calls git directly due to difficulties fetch the revision anonymously with existing method.  Its important to fetch the commit anonymously to remove dependency on how the local 'git remote's are configured.
Also:

remove unused methods from radicle-cli::git

Merged


In Limbo for Xrm in web resources loaded from Sitemap

"The ClientGlobalContext.js.aspx page is built on the legacy web client infrastructure. As the legacy web client is deprecated and scheduled to be unavailable after December 1, 2020, the ClientGlobalContext.js.aspx page will also be removed along with the legacy web client on December 1, 2020.
Including a reference to ClientGlobalContext.js.aspx does not make the Xrm object available in HTML web resources. Therefore, scripts containing Xrm.* methods aren’t supported in HTML web resources. parent.Xrm.* will work if the HTML web resource is loaded in a form container. However, for other places, such as loading an HTML web resource as part of the SiteMap, parent.Xrm.* also won’t work."
This big disclaimer is alarming for some of my clients, where the Xrm is going to be inaccessible from the webresources loaded from Sitemap. Because the last line is still open ended and there is no alternate approach explained or documented.
Any inputs pls?
Similar concern in Stack Overflow: https://stackoverflow.com/q/63958840/7920473

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

ID: 31f2e23f-87e2-62be-f107-08c2e99b97e5
Version Independent ID: 03aa8ec3-a827-95cf-d7cf-f0a014c3484b
Content: GetGlobalContext function and ClientGlobalContext.js.aspx in model-driven apps - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/GetGlobalContext-ClientGlobalContext.js.aspx.md
Service: powerapps
GitHub Login: @Nkrb
Microsoft Alias: nabuthuk

Came across this library - https://github.com/chnichol/mock-xrm/
Hope this is a supported way to go - https://carldesouza.com/use-mock-xrm-to-upgrade-removed-clientglobalcontext-dynamics-365/

Thanks for this breather :)
"The ClientGlobalContext.js.aspx page is deprecated and scheduled to be unavailable after October 1, 2021. Alternative methods to access global context information will be available before April 1, 2021"

@arunvinoth Closing the issue. If you need further help, please reopen or create a new issue.


[Docs] Update docs sitewide for OpenAI v>1.x

Describe the issue
In earlier versions of OpenAI, users could set the API key using openai.api_key="YOUR_API_KEY". Although, from versions >1.x, they changes it to set the API key directly as an environment variable using os.environ["OPENAI_API_KEY"] = "YOUR_API_KEY" .
When users use Guardrails with OpenAI API v>1.x, and still set the API key in the older format, they see the following error when calling guard():
error: error='The callable fn passed to Guard(fn, ...) failed with the following error: create() takes 1 argument(s) but 2 were given. Make sure that fn can be called as a function that takes in a single prompt string and returns a string.

This does not accurately reflect what the actual problem is.
To Reproduce
Steps to reproduce the behavior:

Follow the current Getting Started page as it is
Set the OpenAI API key using: openai.api_key="YOUR_API_KEY"

Expected behavior
Users will see the above mentioned error.
Library version:
Version (Latest v0.3.1)
Additional context
Not really a bug on Guardrails's side, but the docs need to be refreshed to avoid such issues.
Solution

Reflect the docs with the new way of setting the API key
(If possible) Also update the error messages to be more specific to point users in the right direction.

For openai v0, openai.api_key still works. For v1, instead, passing the api_key as an arg to the openai Client constructor works.
These behaviors are consolidated through the use of the openai helper utils in guardrails.
For docs, we should settle on using openai 1.x everywhere. We should not explicitly call out the api key in majority of docs and notebooks, instead we should mention that the api key is pulled from the env.
We should in one specific 'working with openai' doc, show how a client can be created with a static api key as opposed to one generated using an env var. That doc should be this one -
https://docs.guardrailsai.com/llm_api_wrappers/

Hi, I'm trying to update my code to use guardrails-ai==0.3.2 & openai==1.7.0, and have followed all the recommended constructions from issue #514. Although it works fine when calling the default version, I get the same create() takes 1 argument(s) but 2 were given message when trying to call OpenAI asyncronously.
Any thoughts on how to resolve this? or is this a separate bug?
Here's my [simplified] code:
import os
import openai
import guardrails as gd
import asyncio

os.environ["OPENAI_API_KEY"] = "YOUR_API_KEY"

guard = gd.Guard.from_pydantic(
    output_class=CustomClassPydantic,
    prompt=prompt_text,
    instructions=impersonated_role,
    num_reasks=3
)
async with asyncio.timeout(self.request_timeout):
    raw_llm_output, validated_output, *rest = await guard(
        llm_api=openai.AsyncOpenAI().chat.completions.create,
        model='gpt-4',
        seed=42,
    )

Error message:
PromptCallableException: The callable `fn` passed to `Guard(fn, ...)` failed with the following error: `create() takes 1 argument(s) but 2 were given`. Make sure that `fn` can be called as a function that takes in a single prompt string and returns a string.

Hello @mparker404 , as of now we only support async completion for OpenAI v0.x. In order to use OpenAI v1.x async completion, you can create an AsyncClient and define the completion inside a function which can be passed to the llm_api argument. More details on how to define any custom LLM and use it with Guardrails: https://www.guardrailsai.com/docs/integrations/llm_api_wrappers#using-a-custom-llm-api

We will be soon adding support that will allow passing in any supported completion method (including chat completion) for OpenAI v.1x asynchronous calls. That will precisely solve your issue - you can pass in the corresponding async method to llm_api, and the Guard will figure out whether it's for a AsyncClient or the traditional Client and handle the flow.
Until then, please use the custom LLM way as mentioned in the last comment, and as always if you face any issues, please let us know!

Thanks, Karan! Very helpful. I'll look forward to OpenAI v1.x async support in a coming release.

Hello @mparker404 , as of now we only support async completion for OpenAI v0.x. In order to use OpenAI v1.x async completion, you can create an AsyncClient and define the completion inside a function which can be passed to the llm_api argument. More details on how to define any custom LLM and use it with Guardrails: https://www.guardrailsai.com/docs/integrations/llm_api_wrappers#using-a-custom-llm-api

hi @thekaranacharya  can you reshare the link? The link doesn't exist. I am trying to see if we can use openai>1.0 as well. What's the custom LLM way you are referring to?

It's here now! https://www.guardrailsai.com/docs/how_to_guides/llm_api_wrappers#using-a-custom-llm-api


added DNF_sort sorting code in c++

I have added DNF sort code in c++. Please accept my pull request

happy hacking ⭐ !


Implement richer bookmark display component

Links lead to interesting things, unfurl them. Offer video & audio players, show image thumbnails. Heck, offer to play PICO-8 games and embed other things with iframes. This can enrich curated collections for #36

Have done some of this - maybe this issue can be considered closed? Or, at least, it's an ongoing concern around continuing to support further interesting attachments to bookmarks.


Restrict annotation check of TestClassValidator to nested classes

The TestClassValidator includes a check called validateNestedTestClassCanNotApplyAnnotations, but its implementation doesn't confine the check to only apply to nested classes (as the name implies). This causes problems when @LooperMode or @GraphicsMode is applied to a top-level test class:
@GraphicsMode(NATIVE)
@ExtendWith(RobolectricExtension::class)
class MyTests {
  @Test
  fun test() {
    // This should work, but we get "GraphicsMode annotation cannot be used on a nested test class"
  }
}

This PR adds this restriction to the annotation check and introduces a few unit tests for TestClassValidator.

Summary by CodeRabbit

New Features

Enhanced validation for annotations in nested test classes to ensure they are not incorrectly applied.

Tests

Introduced new test scenarios for validating class annotations in nested and top-level classes using TestClassValidator.
Added new test classes for JUnit Jupiter with Robolectric, including nested and top-level configurations.

Thank you for the fix. Please fix the detekt findings.

Addressed in https://github.com/apter-tech/junit5-robolectric-extension/pull/46/commits/468c06bca81f86e7aeaf309624127fefde985370. ✨


Implement asynchronous TreeIndex::remove_range

Either, 1. directly remove entries while removing sub-trees, or 2. iterate over remaining entries with a strong reference held for each leaf.

-> To be published in SCC 2.1.8.


chore(master): release 1.0.1

:robot: I have created a release beep boop
1.0.1 (2023-02-20)
Bug Fixes

testing versioning (b6a3052)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/builder555/PineSAM/releases/tag/v1.0.1 :sunflower:


Overwrite default edit view

Link to reproduction
https://github.com/payloadcms/payload/compare/main...dkirchhof:payload:custom-edit-view-test
Describe the Bug
Hello,
I want to extend the default edit view of a collection, so first I copied the original edit view and added it to the collection admin config. While opening the edit page of the collection, everything works fine. While opening this view in a drawer, the application will crash.
It seems that the component will be rendered with different props as the original one.
Related issue: https://github.com/payloadcms/payload/issues/4900
To Reproduce
Clone the linked repo and run pnpm dev admin.
Working example:

Open the Test2 collection in the admin panel.
Create a new doc.

Not working:

Open the Test collection in the admin panel.
Create a new doc and select a Test2 doc in the relation field.
See error logs in the console.

Some missing props (like permissions) are causing errors in the DocumentControls and DocumentFields components of my custom edit view.
Payload Version
2.8.2
Adapters and Plugins
No response

@dkirchhof are you able to confirm if this is still an issue in v3?

Didn't have time to check it in payload 3. But its unlikely that there is still a need to overwrite the view in payload 3.


VS 2022 support

Auto Theme Switcher 2022 Beta bdbc38a.zip
I am experimenting Visual Studio 2022 support on the develop branch. Here's an experimental build.
I've tested it on Visual Studio 2019 & 2022 Community. It should work on 2017 too.
Any contribution or feedback is welcome.

There is Releases page in GitHub where you should put it: https://github.com/JasonWei512/releases .
You have to enable it for this repository.

I have submitted v0.8 to Visual Studio Marketplace with Visual Studio 2022 support.

VS 2022 now has a built-in "use system theme" option. But the default light theme is "Blue", not "Light", and you can't change it.


pymongo.errors.OperationFailure: not authorized on admin to execute command { listDatabases: 1 }

My problem is similar to #626 . I keep getting
pymongo.errors.OperationFailure: not authorized on admin to execute command { listDatabases: 1 }
However, I stated my own mongodb server instead of using mLab. Also, I am sure that my account has sufficient permission to act as oplog-reader role, as I could successfully run db.runCommand( { connectionStatus: 1 } ) anddb.runCommand( { listDatabases: 1 } ) with my oplog-reader account
my config json is below and Thanks in advance

    "mainAddress": "mongodb://myconnectionstring/admin",
    "noDump": false,
    "batchSize": -1,
    "verbosity": 2,
    "continueOnError": false

    "logging": {
        "type": "file",
        "filename": "/usr/lib/mongo.log",
        "format": "%(asctime)s [%(levelname)s] [%(threadName)s] %(name)s:%(lineno)d - %(message)s"
    },

    "authentication": {
        "adminUsername": "myaccount",
        "password": "mypassword"
    }

@vincentvc Can you log in with the user you'd like to use mongo-connector with and show the output of db.runCommand({connectionStatus: 1, showPrivileges: 1})?
$ mongo
> db.getSiblingDB("admin").auth('mongo-connector-username', 'password');
1
> db.runCommand({connectionStatus: 1, showPrivileges: 1})
{
	"authInfo" : {
		"authenticatedUsers" : [
			{
				"user" : "mongo-connector-username",
				"db" : "admin"
			}
		],
		"authenticatedUserRoles" : [
			{
				"role" : "backup",
				"db" : "admin"
			}
		],
                "authenticatedUserPrivileges" : [
			{
				"resource" : {
					"cluster" : true
				},
				"actions" : [
					"addShard",
					"appendOplogNote",
					"applicationMessage",
					"authSchemaUpgrade",
					"cleanupOrphaned",
					"connPoolStats",
					"connPoolSync",
					"cpuProfiler",
					"diagLogging",
					"flushRouterConfig",
					"fsync",
					"getCmdLineOpts",
					"getLog",
					"getParameter",
					"getShardMap",
					"hostInfo",
					"inprog",
					"invalidateUserCache",
					"killop",
					"listDatabases",  // listDatabases
					"listShards",
					"logRotate",
					"netstat",
					"removeShard",
					"replSetConfigure",
					"replSetGetConfig",
					"replSetGetStatus",
					"replSetStateChange",
					"resync",
					"serverStatus",
					"setParameter",
					"shardingState",
					"shutdown",
					"top",
					"touch",
					"unlock"
				]
			}, // Omiting the rest ....
                ]
	},
	"ok" : 1
}
> db.runCommand( { listDatabases: 1 } )
{
	"databases" : [
		{
			"name" : "admin",
			"sizeOnDisk" : 131072,
			"empty" : false
		},
		{
			"name" : "blog",
			"sizeOnDisk" : 106496,
			"empty" : false
		},
		{
			"name" : "local",
			"sizeOnDisk" : 32768,
			"empty" : false
		}
	],
	"totalSize" : 270336,
	"ok" : 1
}

@ShaneHarvey
Thanks for the reply. It seems that it is the permission problem, I tried recreate my account with appropriate  permission and it works again.
Thanks.


Support listeners for the connection status

Apollo-Android doesn't support listeners for the connection status, so it's hard to determine whether you're actually connected.
There is a workaround - determine it by listening to the status of individual subscriptions, but this can be improved.
The JS project seems to already support this.
https://github.com/apollographql/subscriptions-transport-ws/blob/896ad1ace1ccef48b09d5143e889cf8462018385/src/client.ts#L71

Thanks @sav007 !


Visible session name outside of the session pane

Is there an easy way to show in the app the name of the session that is currently open (without going to the session pane)?

Lets find a clever way to show the session name outside of the session pane...

See https://github.com/MIT-CAVE/cave_static/pull/250


MLOps for GenAIExamples

@chensuyue

@lvliang-intel please re-review, would like to expedite this process.


create  fix number of vertices

Hi,
Is there any way to create a specific number of vertices? (i.e. 200vertices in total)
Thanks

Did you figure out how to do it ?

Can you be more clear what you are asking for?
Do you mean a specific number of vertices for each convex hull, or all convex hulls in total? At any rate, you can specify a maximum number of vertices per hull already. You cannot easily specify a specific number of vertices as that's an analytical solution based on an approximation of the input data.


Is there anyway to schedule a job for a specific time?

Due to documentations I think the only way for achieving this, is to find the difference from now to the time I want the job to execute? Is it right or is there a better way for this demand?

The way you described - finding the difference from now and the desired execution time - is the best way to meet that requirement.
Given that we can't guarantee any jobs will run by a certain point (that's dependent on whether the job's runtime constraints are satisfied, as well as how busy the system is), we've found this is the most effective way of expressing rough time constraints. Suggestions for improvements are always welcome.


Use gpg to encrypt secrets

Instead of stored plain-text secrets in filesystems, a handy solution is to encrypt it with gpg.

Do you have a more concret plan? Linking to GPG seems to be hard and calling the commandline interface feels fragile. Further, if we use asymmetric encryption, the user needs to choose a keyfile to use and it may be protected by a passphrase. If we use the symmetric encryption, we need to find a way to ask for the key. The only sane method I can think of (and used by gnome-keyring) is to use a pam module to get user's login password and derives the AES key from it, which I feels too complex.

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @010011x, @knewbie, @MahoushoujoMadoka, @rasine, @pylrichard, @catchpig, @hsg2003, @bhaltair, @hongjianliusmic, @ljbin, @yuahc, @dharmatech, @aBlindBoy, @lvgithub, @Tony-87, @Zteng1995, @260716001, @bg4xsd, @YsssLjl, @liuzhenpeng, @twiglau, @heysky, @shtigerfx, @lck671, @SKYHua, @WaitingDJ, @Los-had, @yalina2787, @zeng01, @GabrielHwang, @ha5h6r0wn, @Guazi-cc, @luozb, @androidGG, @moxiaoyutop, @tombh, @lei1996, @leolianger, @webKity, @tuyazuo, @windorz9, @nasawz, @MrTager, @zqxul, @sagilyu, @ct12, @vanderw, @easytrys, @kevin11232, @hanson-young

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

I think it would be a great idea to integrate PASS (https://www.passwordstore.org/) - it solves all the GPG "magic" and integration would be quite simple.

AltLayer Airdrop Season One Update

🚀 Exciting Announcement!
AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 400,000,000 (4% of the total supply)

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 08, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
gregpr07, @Iron-ddup, @samgdf, @jaho87, @zjx172, @jags84, @getGate, @rodrigo-xavier, @jakexchan, @kemblesong, @Minicoolboy77777, @aaron-shu, @darcys22, @alexkubica, @sabago, @bujike, @DSzshine, @srabyanamrod, @antaintan, @ParsaaRezaeii

Hey, I think @sunng87 and @ivoshm might find that interesting:
https://github.com/mdellweg/pass_secret_service
I choose dssd, because is simple and I wanted to have a Secret Service daemon just only for apps that require it (Discord or 1Password for example).


PostProcessor

Hello, is there any way to make an interceptor after the return to establish a global header? Just as there is the Preprocessor, the Postprocessor could also be created. Right now you can not do this unless you set said action on all calls. Neither can the express interceptor be used because the return of the function already returns the result. My problem is that I want to put an interceptor of the answer to put a header but I can not because when doing the return in the function you lose control.

I would also like a post-processor capability.

Will be available in release 2.0


add service block with EuXFEL-VISA link (global) to providers.json

At the moment a global link should be sufficient due to the single example proposal with all open (demo) data.
@jirimajer , @axelboc could you make a mini-review? 😄

@dallanto Looks good! I've resolved the merge conflict. It was caused by providers.json being updated in between.

Thanks a lot!


docs(toh-5): fix typo

This PR fixes a typo in the Tour of Heroes tutorial part 5.

There are 2 schools of thought about "a" vs. "an" before a word beginning with a vowel. I accept your school.


deliver_invitation sends email (possible wiki just needs update)

The wiki explains how to generate a user with an invitation_token
user = User.invite!(:email =><EMAIL_ADDRESS>:name => "John Doe") do |u|
  u.skip_invitation = true
end

It then goes on to explain that invitation_sent_at must be set using user.deliver_invitation but this seems to trigger the email.
possibly a separate bug, but I skipped this step (to see if it was triggering the email) and was still able to accept the invite and create an account.

invite! with skip_invitation skips setting invitation_sent and sending email. Depending in your needs, if you deliver invitation using different system than email, you will have to set invitation_sent_at (if you want to track timestamp when invitation is sent), or use deliver_invitation to send email (if you want to do later).
I don't see what wiki page explains to call deliver_invitation

@scambra
https://github.com/scambra/devise_invitable/blob/e93ced514048db46d8f15de82bb3e4a717354b3d/README.rdoc

When skip_invitation is used, you must also then set the invitation_sent_at field when the user is sent their token. Failure to do so will yield Invalid invitation token error when the user attempts to accept the invite. You can set it like so:
user.deliver_invitation

I thought exactly the same thing  as @d-a-v-e. That paragraph tells me if I use skip_invitation then I can make sure to set the sent_at with this method. I would also assume that the invitation is not sent because I had skip_invitation set.
In this example (https://github.com/scambra/devise_invitable/wiki/Customizing-for-different-Invite-use-cases-(emails-etc.)), you have this:
    class InvitationsController < Devise::InvitationsController
      def create
        @from    = params[:from]
        @subject = params[:invite_subject]
        @content = params[:invite_content]

        @user = User.invite!(params[:user], current_user) do |u|
          u.skip_invitation = true
        end

        NotificationMailer.invite_message(@user, @from, @subject, @content).deliver if @user.errors.empty?
        @user.invitation_sent_at = Time.now.utc # mark invitation as delivered

        if @user.errors.empty?
          flash[:notice] = "successfully sent invite to<EMAIL_ADDRESS>          respond_with @user, :location => root_path
        else
          render :new
        end
      end
    end

I noticed @user is never saved after sitting the invitation_sent_at, how does devise_invitable save it?

I fixed explanation in README. About wiki, I don't think it's saving column so I have changed it, but wiki is contributed by users and I don't supervise it.


Generator expression without parenthesis does not raise SyntaxError

Feature

In CPython, generator expression without parenthesis raises following error
>>> foo(x, z for z in range(10), t, w)
  File "<stdin>", line 1
    foo(x, z for z in range(10), t, w)
           ^^^^^^^^^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized

However, In RustPython, it does not matter
>>>>> foo(x, z for z in range(10), t, w)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'foo' is not defined

Python Documentation

This is allowed only for single-argument function call

I try to change parse_args function in ArgumentList
ArgumentList: ArgumentList = {
    <e: Comma<FunctionArgument>> =>? {
        let arg_list = parse_args(e)?;
        Ok(arg_list)
    }
};

First, I checked whether the generator expression is single-argument or not.
// In parser/src/functions.rs
pub fn parse_args(func_args: Vec<FunctionArgument>) -> Result<ArgumentList, LexicalError> {
    let mut args = vec![];
    let mut keywords = vec![];
<<<< New
    let len = func_args.len();    // read length of FunctionArgument
<<<<
    let mut keyword_names = HashSet::with_capacity_and_hasher(func_args.len(), RandomState::new());
    for (name, value) in func_args {
        match name {
            Some((location, name)) => {
                ..
            }
            None => {
                ..
<<<< New
                if let ast::ExprKind::GeneratorExp { elt: e, .. } = &value.node {
                    if len != 1{
                        return Err(LexicalError {
                            error: LexicalErrorType::OtherError(
                                "Generator expression must be parenthsized".to_string(),
                            ),
                            location: e.location,
                        });
                    }
                }
<<<<
                args.push(value);
            }
        }
    }
    Ok(ArgumentList { args, keywords })
}

But, in this way, we cannot figure out that the comprehension were parenthesized or not.
Following statements all raise errors.
>>>>> foo(x, z for z in range(10), t, w)
SyntaxError: Generator expression must be parenthsized at line 1 column 8
foo(x, z for z in range(10), t, w)
       ^
>>>>> foo(x, (z for z in range(10)), t, w)
SyntaxError: Generator expression must be parenthsized at line 1 column 8
foo(x, (z for z in range(10)), t, w)
        ^

It's because, as we can see in the parsing algorithm of function argument, NamedExpressionTest can be a generator expression itself.
FunctionArgument: (Option<(ast::Location, Option<String>)>, ast::Expo) = {
    <e:NamedExpressionTest> <c:CompFor?> => {
        let mut parenthesized = true;
        let expr = match c {
            Some(c) => ast::Expr {
                    location: e.location,
                    custom: (),
                    node: ast::ExprKind::GeneratorExp {
                        elt: Box::new(e),
                        generators: c,
                    }
            },
            None => e,
        };
        (None, expr)
    },
    ..
}

Hence, I add boolean to result of FunctionArgument parsing, which contains whether the generator expression were parenthesized or not.
FunctionArgument: (Option<(ast::Location, Option<String>)>, ast::Expr, bool) = {
    <e:NamedExpressionTest> <c:CompFor?> => {
        let mut parenthesized = true;
        let expr = match c {
            Some(c) => {
                parenthesized = false;
                ast::Expr {
                    location: e.location,
                    custom: (),
                    node: ast::ExprKind::GeneratorExp {
                        elt: Box::new(e),
                        generators: c,
                    }
                }
            },
            None => e,
        };
        (None, expr, parenthesized)
    },
    ..
}

and change the parse_args function as follows.
<<<< New
type FunctionArgument = (Option<(ast::Location, Option<String>)>, ast::Expr, bool);
<<<<

pub fn parse_args(func_args: Vec<FunctionArgument>) -> Result<ArgumentList, LexicalError> {
    let mut args = vec![];
    let mut keywords = vec![];
<<<< New
    let len = func_args.len();
<<<<
    let mut keyword_names = HashSet::with_capacity_and_hasher(func_args.len(), RandomState::new());
    for (name, value, parenthsized) in func_args {
        match name {
            Some((location, name)) => {
                ..
            }
            None => {
                ..

<<<< New
                if let ast::ExprKind::GeneratorExp { elt: e, .. } = &value.node {
                    if len != 1 && !parenthsized {
                        return Err(LexicalError {
                            error: LexicalErrorType::OtherError(
                                "Generator expression must be parenthsized".to_string(),
                            ),
                            location: e.location,
                        });
                    }
                }
<<<<
                args.push(value);
            }
        }
    }
    Ok(ArgumentList { args, keywords })
}

Question
Question is that, does it seem okay to add new attribute in lalrpop?
Is there any other way to resolve it without adding new structure?
any idea?

More above than ArgumentList.
cpython:
>>> class A(x for x in range(10)): pass
  File "<stdin>", line 1
    class A(x for x in range(10)): pass
           ^
SyntaxError: expected ':'

RustPython:
>>>>> class A(x for x in range(10)): pass
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

This is SyntaxError but RustPython is not catching it.
In CPython, this is handled by t_primary:
https://github.com/python/cpython/blob/3.10/Grammar/python.gram#L823-L824
which not used for class definition. (class_def is using arguments https://github.com/python/cpython/blob/3.10/Grammar/python.gram#L489-L495)
My suggestion is creating one more layer like cpython.


:alembic: Spike: Using ADOT for Observability - Open Telemetry

Investigate using Amazon Distro for OpenTelemetry  for Observability.
The repo.

https://aws.amazon.com/about-aws/whats-new/2023/11/logs-support-aws-distro-opentelemetry/ thanks @jakemulley

Triaged -- keep


[Question]: Back button?

Question
Is there a way to go back to my previous dialog? A regeneration feature might not be useful since aider adopts a temp=0, but I often find myself wanting to backtrack and rephrase the prompt better, without restarting my session.

Hi,
Are you asking about getting the prompt you have previously entered in CLI? If yes, you can press up arrow in empty prompt and you can cycle through your prompt history..

Hi, thanks, it's not that. This when you are 8k tokens in, having already done multiple back-and-forths.
Suppose I feel like the model comprehends things well at 8k. Then, I go off in a tangent chatting with the model until 16k, and now find that it's comprehension is much worse.
I would like to go back to the previous state, without sequencially prompting it back from scratch to 8k.

Thanks for trying aider and filing this issue.
Not currently. You can use the up arrow and control-r to go back and re-send previous messages.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.


Issues trying to compile the mod

I was trying to compile the latest stable branch but failed with some errors
In the log it says something like TileOxygenCharger, TileOxygenVent, TileEntityFuelingStation and TileEntitySatelliteControlCenter are not Abstract, but my log is in chinese and I cannot find a way to let gradle output in english :P
http://pastebin.com/LDe6kCKD
Is there some special requirement to compile the mod?

 Looks like its having issues finding ItemStack or something related. Make sure you have everything required to compile. Which includes according to my workspace LibVulpes, GalacitCraft, NEI, CCLib, CCCore, and IC2.
  Symbol: Methods getStackInSlot (int)
  Location: Class TileEntitySatelliteControlCenter
D: \ Minecraft \ Modding \ AdvancedRocketry-stable \ build \ sources \ java \ zmaster587 \ advancedRocketry \ tile \ Satellite \ TileEntitySatelliteControlCenter.java: 230: error: can not find symbol
ItemStack inv = getStackInSlot (1);

actually I got all of them

Found the issue, looks like zmaster neglected to update LibVulpes with the latest code. Now my local repo has the same issues you stated. Including additional missing references, etc. I'll bug him when he gets on TeamSpeak later today to update.

And how about these class not abstract problems?

Most likley the super class is missing an interface. Sometimes when an error happens its not the class with the error that is the problem.

is there any news ?

Yes, the lib should be synced now according to @zmaster587

compiled with the lateset lib but still failed with the same error :P
tried with jdk7 and jdk8, neither would work
http://pastebin.com/6iQ388F9

I'll bug @zmaster587 first chance I get and see what is going wrongs.

Ohh I found the trick for compiling, gonna close this for now :3

What was the trick?
On Feb 14, 2016 6:40 AM, "wormzjl"<EMAIL_ADDRESS>wrote:

Closed #96 https://github.com/zmaster587/AdvancedRocketry/issues/96.
—
Reply to this email directly or view it on GitHub
https://github.com/zmaster587/AdvancedRocketry/issues/96#event-549848166
.

I was trying to compile AR alone with libvulpes in the libs folder, apparently this won't work like compiling other mods :P

That should work... did you get libvulpes from curse or did you compile it
first?
On Feb 14, 2016 1:25 PM, "wormzjl"<EMAIL_ADDRESS>wrote:

I was trying to compile AR alone with libvulpes in the libs folder,
apparently this won't work like compiling other mods :P
—
Reply to this email directly or view it on GitHub
https://github.com/zmaster587/AdvancedRocketry/issues/96#issuecomment-183944492
.

I compiled it from source

Probably the gradle script, will look into it
On Feb 14, 2016 1:47 PM, "wormzjl"<EMAIL_ADDRESS>wrote:

I compiled it from source
—
Reply to this email directly or view it on GitHub
https://github.com/zmaster587/AdvancedRocketry/issues/96#issuecomment-183948982
.


⚠ Jenkins Plugins Artifactory has degraded performance

In 9c25b1c, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1073 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 9e7f44a after 35 minutes.


cmd/vet, go/types: make it easier to handle architecture-dependent constant values correctly

CL 11252 introduces a vet check for integer comparisons. It has false positives when checking code like u > uint64(^uintptr(0)) where u is a uint64. This expression is always false when compiled for 64 bit machines but not for 32 bit machines. IIRC, something similar occurred for the suspicious shift vet check.
It would be nice if vet checks could inquire about types and values on a per-int-size basis.
go/types uses the host machine's integer size as a default. We could override that in vet and typecheck twice, once with 32 bit ints and once with 64 bit ints, but that would be expensive. Maybe there's a better way?
/cc @robpike @griesemer

In general, such expressions can depend on other constant expressions (possibly via declared constants); some of the expressions are always true or false depending on platform. An easy way around type-checking twice is to provide a flag specifying the target platform (which we may not want). Otherwise I don't see an easy way around type-checking twice, and signaling an error only if it occurs for both platforms.


Top-level await leads to complexity explosion with cyclic imports

Bug report

What is the current behavior?
In a project with cyclic imports, top-level await leads to a massive complexity explosion. On a complete graph of n nodes, the time and memory grows as Θ(n!), which gets very bad quickly.
If the current behavior is a bug, please provide the steps to reproduce.

Create the following file as 0.js:
export const c = await null;

Create the following file as 1.js, and copy it to 2.js, 3.js, 4.js, 5.js, 6.js, 7.js, 8.js, 9.js and src.js:
import "./0.js";
import "./1.js";
import "./2.js";
import "./3.js";
import "./4.js";
import "./5.js";
import "./6.js";
import "./7.js";
import "./8.js";
import "./9.js";

(Note that none of the import cycles pass through 0.js, so this should be fine.)

Run webpack --mode=development --experiments-top-level-await. (No additional configuration file is needed.)

Run 'time' node dist/main.js.
$ 'time' node dist/main.js
7.57user 0.42system 0:07.53elapsed 106%CPU (0avgtext+0avgdata 1271408maxresident)k
0inputs+0outputs (0major+333169minor)pagefaults 0swaps

As you can see, this takes over 7 seconds and 1.2 gigabytes of memory.
If you insert a console.log statement into the whenAll function in dist/main.js, you’ll see that it gets called exactly ⌊10! ⋅ e⌋ − 1 = 9864100 times.
What is the expected behavior?
This should run almost immediately with very little memory.
Other relevant information:
webpack version: 5.72.0
Node.js version: 16.15.0
Operating System: NixOS 22.05
Additional tools:

for me all works as expected

please create a reproducible repo

@vankop Your screenshot shows that you’ve copied the 29-byte file ten times. The recipe I gave above has one 29-byte file, and ten copies of the 170-byte file. Like this:
https://gist.github.com/andersk/0af1a0654516fb53ba7b8e757be4db85

In fact, cyclic imports are not necessary to reproduce this. Here an example with 24 modules taking 12 seconds and 1.9 gigabytes, with 223 − 1 = 8388607 calls to whenAll.
https://gist.github.com/andersk/034cf3103f15f16f7088aae525f15496
$ webpack --mode=development --experiments-top-level-await
$ 'time' node dist/main.js
12.52user 0.72system 0:10.97elapsed 120%CPU (0avgtext+0avgdata 1890260maxresident)k
0inputs+0outputs (0major+536615minor)pagefaults 0swaps

This seems to have been fixed in v5.73.0 by #15899.


OpenSearch OIDC Support

Should Opni directly integrate OpenSearch with OpenID (as done with Grafana)? Since it would be supported (https://opensearch.org/docs/latest/security/authentication-backends/openid-connect/). If i am getting right, currently only the local administrator is created out of the box?

Hey @oliverbaehler, we are actually working on this right now: https://github.com/rancher/opni/pull/1799 :slightly_smiling_face:
This will be available in the 1.0 release.

@kralicky oh thanks, did not spot that one. Hype for the v1 then! :)


Adorners layer shows through other controls?

The adorner shows through slide-in panels - any way to stop this - have played around with a few things but the adorner still show through?
Perhaps you could shed some light on this or a work-around?
Thanks
Daniel

I think this is a WPF bug. I have seen adorners show through other applications. Try sliding in notepad over the app when adorners are visible. Please leave the issue open so we can track this even if there is no easy solution.

I have sort of got round this issue with a bit of a hack - I have attached properties in the code behind to the two adorners in question - when I slide out the panel I set the adorner text to "". Closing the panel i reset the text back. not an ideal situation, but works for me in the is case :)

Hopefully we can find a more elegant way but I can't think of any at the moment.


Fix typo

a -> an

@changeworld : Thanks for your contribution! The author, @KumudD, has been notified to review your proposed change.

Merging the typo fix.


ENH: added new example notebook for selecting different ROI shapes

Can you use a color map which is not jet? I like 'dark2', 'set2' or 'set3' for this sort of thing
http://matplotlib.org/users/plotting/colormaps/lightness_03.png

@tacaswell sure, Thanks I will use a different color map

Can you change the first plot to use the interpolation=None kwarg?

I would also suggest using https://github.com/tacaswell/xray-vision/blob/master/xray_vision/mpl_plotting.py#L90 which is to make plotting labeled masks easier.

At the end of this notebook can you add
import skxray
print(skxray.__version__)

added version  ..., used X-ray_vision.mpl_plotting.roi tools
ready for review

Here is the nbviewer link
http://nbviewer.ipython.org/github/sameera2004/scikit-xray-examples/blob/roi/demos/Generate_ROI_labeled_arrays.ipynb

Thanks for the updates

Typo in cell 8:
Currently says axes.set_title("Differnt sapcing between rings")
Should say axes.set_title("Different spacing between rings")

Thanks I will fix these

It would appear that you are not using scikit-xray master, given that the version string at the end of this notebook is 0.0.4+110.gfdd0b8a.dirty. Is there a reason you are not using scikit-xray master for these?  The version string should be 0.0.4-105-ge27b978 as of tom's merge to master of scikit-xray/scikit-xray#333

@ericdill fixed the typos and the skxray.version ready for review, here's the nbviewer link
http://nbviewer.ipython.org/github/sameera2004/scikit-xray-examples/blob/roi/demos/Generate_ROI_labeled_arrays.ipynb

Looks great! Thanks @sameera2004 !

Thanks Eric


Undefined method

`search_repos': undefined method `filter' for #<Array> (NoMethodError) from bin/github-repos:72:in `search'

I had the same problem, and fixed it by going into the workflow folder, then edit the file lib/github/api.rb. Once you have that file opened edit line 38 and change from
repos_filtered = repos.filter do |i|
to
repos_filtered = repos.select do |i|
I'm hesitant to open a pull request since it seems that filter is the new way of filtering arrays. I hope this helps.
https://apidock.com/ruby/Array/filter

This is fixed in new version 2.1.3


The relationship between the servers need to be visualised. [EN] Feedback for: /web/fundamentals/engage-and-retain/push-notifications/sending-messages?hl=en

It's easy to assume that sending messages must involve building a complex messaging system on the server. That's not quite right. There are actually two servers involved in sending a message: your ? server and a third party messaging server. You keep track of two things: recipients and recipient- specific endpoints on the messaging server. The messaging server handles the routing.

This gets to my previous issue, the flow is not visualised anywhere and it is critical that we have that shown because there are a lot of actors in this dance.

Fixed with DevSite, if not, please reopen and provide suggestions for fixing.