[FEv2]: Evaluate template for missing components

Summary
This issue is part of the front-end redesign of the Human Essentials app.
We've chosen to implement the admin dashboard template Mosaic for the redesign. First, we must go through all the current pages in our app and ensure all the components we need are included in Mosaic. If not, that's okay! We have a wonderful designer who has volunteered to create any components that are missing, however, we need to identify what exactly these are.
Steps
The goal of this meta issue is to break up the work amongst several people to make this front-end redesign go as smoothly as possible. You'll need to access the app on the staging environment for this issue.
Access the Staging Environment
Navigate to: https://staging.humanessentials.app/
Login as a Sample User
To login to the web application, use these default credentials:
Super Users
username<EMAIL_ADDRESS>password: password!

Bank Users
Organization Admin
  Email<EMAIL_ADDRESS>  Password: password!

User
  Email<EMAIL_ADDRESS>  Password: password!

Partner Users
Verified Partner
  Email<EMAIL_ADDRESS>  Password: password!

Invited Partner
  Email<EMAIL_ADDRESS>  Password: password!

Unverified Partner
  Email<EMAIL_ADDRESS>  Password: password!

Recertification Required Partner
  Email<EMAIL_ADDRESS>  Password: password!

Pick a View
This meta issue consists of multiple checkboxes, listing different pages. Choose an item from the View/Partial Listings section below and navigate to a page that contains that view/partial. Compare the elements on the page in our current app against the Mosaic Demo admin dashboard template.
If Mosaic's admin dashboard template can reproduce all components in the view/partial...
Great! Mark the checkbox next to the view/partial so everyone knows it's been assessed, then move on to the next one.
If the view/partial contains components not included in Mosaic's admin dashboard template...
Now it's time to open a new issue, a process we've made incredibly easy for this project. Just navigate to the New Issue Form: Missing Components for Redesign to get started. Change the title of the issue to reflect the current view/partial you're assessing. From there, you'll give the following information:

Is it part of Human Essentials or Partner Base?
Its name (the file path listed next to the checkbox in this issue)
The URL of the page where you see it rendered in staging
A description of the components missing from the Mosaic template
Screenshots of the page where you see it rendered in staging
Any other relevant information

View/Partial Listings
Follow the documentation in the links above and check off the boxes below. If you have questions on something, leave a comment on this issue and tag @meg-gutshall.
Account Request Mailer

[ ] account_request_mailer/approval_request.html.erb
[ ] account_request_mailer/confirmation.html.erb
[ ] account_request_mailer/rejection.html.erb

Account Requests

[ ] account_requests/index.html.erb
[ ] account_requests/new.html.erb
[ ] account_requests/confirm.html.erb
[ ] account_requests/confirmation.html.erb
[ ] account_requests/invalid_token.html.erb
[ ] account_requests/received.html.erb

Active Storage
Blobs

[ ] active_storage/blobs/_blob.html.erb

Adjustments

[ ] adjustments/index.html.erb
[ ] adjustments/new.html.erb
[ ] adjustments/show.html.erb

Admin

[ ] admin/dashboard.html.erb

Account Requests

[ ] admin/account_requests/_open_account_request.html.erb
[ ] admin/account_requests/_rejection_modal.html.erb
[ ] admin/account_requests/for_rejection.html.erb
[ ] admin/account_requests/index.html.erb

Barcode Items

[ ] admin/barcode_items/_barcode_item_row.html.erb
[ ] admin/barcode_items/_barcode_modal.html.erb
[ ] admin/barcode_items/_form.html.erb
[ ] admin/barcode_items/edit.html.erb
[ ] admin/barcode_items/index.html.erb
[ ] admin/barcode_items/new.html.erb
[ ] admin/barcode_items/show.html.erb

Base Items

[ ] admin/base_items/_base_item_row.html.erb
[ ] admin/base_items/_dropdown.html.erb
[ ] admin/base_items/_form.html.erb
[ ] admin/base_items/edit.html.erb
[ ] admin/base_items/index.html.erb
[ ] admin/base_items/new.html.erb
[ ] admin/base_items/show.html.erb

Organizations

[ ] admin/organizations/_list.html.erb
[ ] admin/organizations/_organization_row.html.erb
[ ] admin/organizations/edit.html.erb
[ ] admin/organizations/index.html.erb
[ ] admin/organizations/new.html.erb
[ ] admin/organizations/show.html.erb

Partners

[ ] admin/partners/edit.html.erb
[ ] admin/partners/index.html.erb
[ ] admin/partners/show.html.erb

Questions

[ ] admin/questions/_question_form.html.erb
[ ] admin/questions/edit.html.erb
[ ] admin/questions/index.html.erb
[ ] admin/questions/new.html.erb

Users

[ ] admin/users/_user_form_fields.html.erb
[ ] admin/users/edit.html.erb
[ ] admin/users/index.html.erb
[ ] admin/users/new.html.erb

Audits

[ ] audits/_form.html.erb
[ ] audits/edit.html.erb
[ ] audits/index.html.erb
[ ] audits/new.html.erb
[ ] #3162

Barcode Items

[ ] barcode_items/_barcode_item_lookup.html.erb
[ ] barcode_items/_barcode_item_row.html.erb
[ ] barcode_items/_barcode_modal.html.erb
[ ] barcode_items/forms.html.erb
[ ] barcode_items/edit.html.erb
[ ] barcode_items/index.html.erb
[ ] barcode_items/new.html.erb
[ ] barcode_items/show.html.erb

Base Items

[ ] base_items/_dropdown.html.erb

Consolidated Logins

[ ] consolidated_logins/new.html.erb

Dashboard

[ ] dashboard/_distribution.html.erb
[ ] dashboard/_donation.html.erb
[ ] dashboard/_getting_started_progress_stepper.html.erb
[ ] dashboard/getting_started_prompt.html.erb
[ ] dashboard/_itemized_partial.html.erb
[ ] dashboard/_manufacturer.html.erb
[ ] dashboard/_product_drive.html.erb
[ ] dashboard/_purchase.html.erb
[ ] dashboard/index.html.erb

Distribution Mailer

[ ] disribution_mailer/_distribution_changes.html.erb
[ ] disribution_mailer/partner_mailer.html.erb
[ ] disribution_mailer/reminder_email.html.erb

Distributions

[ ] distributions/_daily_item_row.html.erb
[ ] distributions/_distribution_item_row.html.erb
[ ] distributions/_distribution_item_total.html.erb
[ ] distributions/_distribution_row.html.erb
[ ] distributions/_distribution_total.html.erb
[ ] distributions/_form.html.erb
[ ] distributions/_pickup_day_row.html.erb
[ ] distributions/edit.html.erb
[ ] distributions/index.html.erb
[ ] distributions/new.html.erb
[ ] distributions/pickup_day.html.erb
[ ] distributions/print.html.erb
[ ] distributions/schedule.html.erb
[ ] distributions/show.html.erb

Donation Sites

[ ] donation_sites/_donation_site_row.html.erb
[ ] donation_sites/_form.html.erb
[ ] donation_sites/edit.html.erb
[ ] donation_sites/index.html.erb
[ ] donation_sites/new.html.erb
[ ] donation_sites/show.html.erb

Donations

[ ] donations/_donation_form.html.erb
[ ] donations/_donation_item_row.html.erb
[ ] donations/_donation_row.html.erb
[ ] donations/_scale_fields.html.erb
[ ] donations/add_item.html.erb
[ ] donations/edit.html.erb
[ ] donations/index.html.erb
[ ] donations/new.html.erb
[ ] donations/removw_item.html.erb
[ ] donations/show.html.erb

Errors

[ ] errors/403.html.erb
[ ] errors/404.html.erb
[ ] errors/500.html.erb
[ ] errors/insufficient.html.erb
[ ] errors/internal_server_error.html.erb
[ ] errors/not_found.html.erb

Forecasting
Distributions

[ ] forecasting/distributions/index.html.erb

Donations

[ ] forecasting/donations/index.html.erb

Purchases

[ ] forecasting/purchases/index.html.erb

Help

[ ] help/_bank_questions.html.erb
[ ] help/show.html.erb

Item Categories

[ ] item_categories/_form.html.erb
[ ] item_categories/edit.html.erb
[ ] item_categories/new.html.erb
[ ] item_categories/show.html.erb

Items

[ ] items/_forms.html.erb
[ ] items/_header.html.erb
[ ] items/_item_categories.html.erb
[ ] items/_item_list.html.erb
[ ] items/_item_row_quanitity_and_storages.html.erb
[ ] items/_item_row.html.erb
[ ] items/_items_quantity_and_location.html.erb
[ ] items/_kits.html.erb
[ ] items/_storage_column.html.erb
[ ] items/edit.html.erb
[ ] items/index.html.erb
[ ] items/new.html.erb
[ ] items/show.html.erb

Kaminari

[ ] kaminari/_first_page.html.erb
[ ] kaminari/_gap.html.erb
[ ] kaminari/_last_page.html.erb
[ ] kaminari/_next_page.html.erb
[ ] kaminari/_page.html.erb
[ ] kaminari/_paginator.html.erb
[ ] kaminari/_prev_page.html.erb

Kits

[ ] kits/_form.html.erb
[ ] kits/_table.html.erb
[ ] kits/allocations.html.erb
[ ] kits/index.html.erb
[ ] kits/new.html.erb

Layouts

[ ] layouts/_devise_shared.html.erb
[ ] layouts/_lte_admin_navbar.html.erb
[ ] layouts/_lte_admin_sidebar.html.erb
[ ] layouts/_lte_navbar.html.erb
[ ] layouts/_lte_sidebar.html.erb
[ ] layouts/application.html.erb
[ ] layouts/devise.html.erb
[ ] layouts/mailer.html.erb
[ ] layouts/partner.html.erb

Action Text
Contents

[ ] layouts/action_text/contents/_content.html.erb

Navigation

[ ] layouts/navigation/_footer.html.erb
[ ] layouts/navigation/_header.html.erb
[ ] layouts/navigation/_layout.html.erb
[ ] layouts/navigation/_sidebar.html.erb

Partners

[ ] layouts/partners/application.html.erb

Navigation

[ ] layouts/partners/naviagtion/_navbar.html.erb
[ ] layouts/partners/naviagtion/_sidebar.html.erb

Line Items

[ ] line_items/_line_item_fields.html.erb

Manufacturers

[ ] manufacturers/_form.html.erb
[ ] manufacturers/_manufacturer_row.html.erb
[ ] manufacturers/_new_modal.html.erb
[ ] manufacturers/edit.html.erb
[ ] manufacturers/index.html.erb
[ ] manufacturers/new.html.erb
[ ] manufacturers/show.html.erb

Organization Mailer

[ ] organization_mailer/partner_approval_request.html.erb

Organizations

[ ] organizations/_details.html.erb
[ ] organizations/_header.html.erb
[ ] organizations/edit.html.erb
[ ] organizations/show.html.erb

Partner Groups

[ ] partner_groups/_form.html.erb
[ ] partner_groups/edit.html.erb
[ ] partner_groups/new.html.erb

Partner Mailer

[ ] partner_mailer/application_approved.html.erb
[ ] partner_mailer/recertification_request.html.erb

Partners

[ ] partners/_documents.html.erb
[ ] partners/_form.html.erb
[ ] partners/_partner_groups_table.html.erb
[ ] partners/_partner_row.html.erb
[ ] partners/_partners_table.html.erb
[ ] partners/_show_header.html.erb
[ ] partners/_statuses.html.erb
[ ] partners/_uninvited_header.html.erb
[ ] partners/edit.html.erb
[ ] partners/index.html.erb
[ ] partners/new.html.erb
[ ] partners/show.html.erb

Authorized Family Members

[ ] partners/authorized_family_members/_form.html.erb
[ ] partners/authorized_family_members/edit.html.erb
[ ] partners/authorized_family_members/new.html.erb
[ ] partners/authorized_family_members/show.html.erb

Children

[ ] partners/children/_form.html.erb
[ ] partners/children/_list.html.erb
[ ] partners/children/edit.html.erb
[ ] partners/children/index.html.erb
[ ] partners/children/new.html.erb
[ ] partners/children/show.html.erb

Dashboards

[ ] partners/dashboards/_family_details.html.erb
[ ] partners/dashboards/_requests_in_progress.html.erb
[ ] partners/dashboards/show.html.erb

Distributions

[ ] partners/distributions/_distribution_section.html.erb
[ ] partners/distributions/index.html.erb

Families

[ ] partners/families/_form.html.erb
[ ] partners/families/_list.html.erb
[ ] partners/families/edit.html.erb
[ ] partners/families/index.html.erb
[ ] partners/families/new.html.erb
[ ] partners/families/show.html.erb

Family Requests

[ ] partners/family_requests/_list.html.erb
[ ] partners/family_requests/new.html.erb

Helps

[ ] partners/helps/_partner_questions.html.erb
[ ] partners/helps/show.html.erb

Individual Requests

[ ] partners/individual_requests/_item_request.html.erb
[ ] partners/individual_requests/new.html.erb

Profiles

[ ] partners/profiles/edit.html.erb
[ ] partners/profiles/show.html.erb

Edit

[ ] partners/profiles/edit/_agency_distribution_information.html.erb
[ ] partners/profiles/edit/_agency_information.html.erb
[ ] partners/profiles/edit/_agency_stability.html.erb
[ ] partners/profiles/edit/_attached_documents.html.erb
[ ] partners/profiles/edit/_diaper_pick_up_person.html.erb
[ ] partners/profiles/edit/_executive_director.html.erb
[ ] partners/profiles/edit/_media_information.html.erb
[ ] partners/profiles/edit/_organizational_capacity.html.erb
[ ] partners/profiles/edit/_population_served.html.erb
[ ] partners/profiles/edit/_sources_of_funding.html.erb

Show

[ ] partners/profiles/show/_agency_distribution_information.html.erb
[ ] partners/profiles/show/_agency_information.html.erb
[ ] partners/profiles/show/_agency_stability.html.erb
[ ] partners/profiles/show/_attached_documents.html.erb
[ ] partners/profiles/show/_diaper_pick_up_person.html.erb
[ ] partners/profiles/show/_executive_director.html.erb
[ ] partners/profiles/show/_media_information.html.erb
[ ] partners/profiles/show/_organizational_capacity.html.erb
[ ] partners/profiles/show/_population_served.html.erb
[ ] partners/profiles/show/_sources_of_funding.html.erb

Requests

[ ] partners/requests/_error.html.erb
[ ] partners/requests/_history.html.erb
[ ] partners/requests/_item_request.html.erb
[ ] partners/requests/_request_options_card.html.erb
[ ] partners/requests/_success.html.erb
[ ] partners/requests/index.html.erb
[ ] partners/requests/new.html.erb
[ ] partners/requests/show.html.erb

Users

[ ] partners/users/index.html.erb
[ ] partners/users/new.html.erb

Product Drive Participants

[ ] product_drive_participants/_form.html.erb
[ ] product_drive_participants/_new_modal.html.erb
[ ] product_drive_participants/_product_drive_participant_row.html.erb
[ ] product_drive_participants/edit.html.erb
[ ] product_drive_participants/index.html.erb
[ ] product_drive_participants/new.html.erb
[ ] product_drive_participants/show.html.erb

Product Drives

[ ] product_drives/_form.html.erb
[ ] product_drives/_new_modal.html.erb
[ ] product_drives/edit.html.erb
[ ] product_drives/index.html.erb
[ ] product_drives/new.html.erb
[ ] product_drives/show.html.erb

Profiles

[ ] profiles/_show.html.erb
[ ] profiles/edit.html.erb

Purchases

[ ] purchases/_purchase_form.html.erb
[ ] purchases/_purchase_item_row.html.erb
[ ] purchases/_purchase_row.html.erb
[ ] purchases/edit.html.erb
[ ] purchases/index.html.erb
[ ] purchases/new.html.erb
[ ] purchases/show.html.erb

Reminder Deadline Mailer

[ ] reminder_deadline_mailer/notify_deadline.html.erb

Reports
Annual Reports

[ ] reports/annual_reports/index.html.erb
[ ] reports/annual_reports/show.html.erb

Request Mailer

[ ] request_mailer/request_cancel_partner_notification.html.erb

Requests

[ ] requests/_calculate_product_totals.html.erb
[ ] requests/_request_row.html.erb
[ ] requests/_status.html.erb
[ ] requests/index.html.erb
[ ] requests/show.html.erb

Cancellation

[ ] requests/cancellation/new.html.erb

Requests Confirmation Mailer

[ ] requests_confirmation_mailer/confirmation_email.html.erb

Shared

[ ] shared/_csv_import_modal.html.erb
[ ] shared/_date_range_picker.html.erb
[ ] shared/_deadline_day_fields.html.erb
[ ] shared/_flash_tailwind.html.erb
[ ] shared/_flash.html.erb
[ ] shared/_highcharts.html.erb
[ ] shared/_logo_line.html.erb
[ ] shared/_table_row_form.html.erb

Static

[ ] static/index.html.erb
[ ] static/privacypolicy.html.erb

Storage Locations

[ ] storage_locations/_form.html.erb
[ ] storage_locations/_inventory_item_row.html.erb
[ ] storage_locations/_line_item_row.html.erb
[ ] storage_locations/_source.html.erb
[ ] storage_locations/_storage_location_row.html.erb
[ ] storage_locations/edit.html.erb
[ ] storage_locations/index.html.erb
[ ] storage_locations/new.html.erb
[ ] storage_locations/show.html.erb

Transfers

[ ] transfers/_transfer_row.html.erb
[ ] transfers/index.html.erb
[ ] transfers/new.html.erb
[ ] transfers/show.html.erb

Users

[ ] users/_add_user_modal.html.erb
[ ] users/_organization_user.html.erb
[ ] users/_organization_users_table.html.erb
[ ] users/index.html.erb
[ ] users/new.html.erb

Confirmations

[ ] users/confirmations/new.html.erb

Invitations

[ ] users/invitations/edit.html.erb
[ ] users/invitations/new.html.erb

Mailer

[ ] users/mailer/confirmation_instructions.html.erb
[ ] users/mailer/email_changed.html.erb
[ ] users/mailer/invitation_instructions.html.erb
[ ] users/mailer/password_change.html.erb
[ ] users/mailer/reset_password_instructions.html.erb
[ ] users/mailer/unlock_instructions.html.erb

Passwords

[ ] users/passwords/edit.html.erb
[ ] users/passwords/new.html.erb

Registrations

[ ] users/registrations/edit.html.erb
[ ] users/registrations/new.html.erb

Sessions

[ ] users/sessions/new.html.erb

Shared

[ ] users/shared/_account_management_menu.html.erb
[ ] users/shared/_links.html.erb

Unlocks

[ ] users/unlocks/new.html.erb

Vendors

[ ] vendors/_form.html.erb
[ ] vendors/_new_modal.html.erb
[ ] vendors/_vendor_row.html.erb
[ ] vendors/edit.html.erb
[ ] vendors/index.html.erb
[ ] vendors/new.html.erb
[ ] vendors/show.html.erb

Resources

Mosaic
Mosaic Demo

@meg-gutshall do you think this could be a good thing to work on in RfG coming up?

Hey @meg-gutshall, does this one still require discussion before someone can work on it (still has the NOT READY label and [WIP] in the title)?

There's one TODO that I left in there but I think I'm going to take it out and open up this issue for work today to avoid scope creep on the issue.

Note: Removing Help Wanted ahead of Hacktoberfest. Might re-label afterward.

Hey @meg-gutshall and everyone else watching this issue. I'm thinking about this and moving it forward in terms of Hacktoberfest since we tend to get a lot folks coming around wanting to contribute and help.
I'm wonder if we want to keep it as a meta issue as I imagine that by the time we'd finish it that October will be over and we'll lose all the folks who could do the implementation :)

If we do want to keep it as a Meta issue do we have a template for folks to follow or are they just supposed to be using their best judgement? I could see this going two ways for people: ie - Current page X has a table and it looks like the new system has table templates so this page is good to go? or Looks like current page X has a table with buttons in it but the new template has tables but I don't see any with buttons in it so it looks like it is missing stuff.
Does anyone know there have been any spikes or has anything been done to start/test doing any of the implementation work with any pages being converted?
My thought is to create some issues and just say "convert page X", use page Z on this branch as a template.

Hey @seanmarcia ! I'm going to work on this over the weekend to break down the meta issue into smaller ones.
Yes, it will be comparing the current site with the new template site to see if it can be reproduced using the template alone. I have an issue template for those pages that cannot be reproduced using the template alone that the contributor will open.
After I clean this up and break out the issues, it will hopefully be an easier-to-follow workflow.

Closing this issue as per the ADR regarding not going with TailwindCSS - https://github.com/rubyforgood/human-essentials/pull/3217. I know not everyone was on that call so please ask any questions in the slack channel about why this choice was made.


fix: NAC install validation

Why the changes were made
Only allow one NAC install per cluster.
Related to https://github.com/migtools/oadp-non-admin/pull/107
Also, add validation for only allowing one DPA per OADP installation namespace.
How to test the changes made
Deploy 2 (or more) OADP operators (make deploy-olm) in different namespaces. Create 2 (or more) DPAs in those namespaces with NAC enabled. Only one NAC should be deployed and DPAs should have error in their statuses.

/hold

/unhold

@shubham-pampattiwar it's not clear to me we've come to a conclusion on 1 NAC per cluster vs. a NAC married to a particular OADP deployment.  If this is a temporary measure until we can put in the code to pair an oadp deployment with a NAC than I think this is fine.

This is not a temporary measure. The current PR implements the behavior that:

Only one NAC exists per cluster
you can install multiple OADP Operators in the cluster but only of them can deploy/enable NAC feature

Upon installing OADP in another namespace w/ NAC enabled.. A user gets the following error message.
 lastTransitionTime: '2024-11-13T01:54:18Z'
      message: only a single instance of Non-Admin Controller can be installed across the entire cluster. Non-Admin controller is also configured to be installed in openshift-adp namespace
      reason: Error

/test ci/prow/4.18-dev-preview-e2e-test-aws

/test 4.18-dev-preview-e2e-test-aws

/hold as discussed offline NAC controller check should be moved to validations to ensure there won't be situation where "wrong" DPA will allow velero pod to be running and then fail DPA reconcile with error.

/unhold

Changes worked for:
  snapshotLocations:
  - velero:
      config:
        profile: default
        region: us-east-1
      provider: aws
  unsupportedOverrides:
    tech-preview-ack: "true"
status:
  conditions:
  - lastTransitionTime: "2024-11-19T06:41:53Z"
    message: only a single instance of Non-Admin Controller can be installed across
      the entire cluster. Non-Admin controller is already configured and installed
      in openshift-adp namespace
    reason: Error
    status: "False"
    type: Reconciled

Have one question tho: https://github.com/openshift/oadp-operator/pull/1577#discussion_r1847725411

/lgtm

/lgtm


Refactor/revise llvm branch

WIP

I think we could now merge this into feature/llvm-pfeil-master to fix test regressions there.


Error using mosquitto_pub on Raspberry Pi and playing simulator.js

I am watching and following a Youtube video and tutorial.
https://www.youtube.com/watch?v=kgXYO5Iqklo&t=1894s
https://docs.aws.amazon.com/solutions/latest/smart-product-solution/deployment.html
However
I got a issue follow..
pi@raspberrypi:~/aws_SmartProductSolutionsSample $ mosquitto_pub --cafile root.cert --cert deviceCertAndCACert.crt --key deviceCert.key -p 8883 -q 1 -t foo/bar -i anyclientID --tls-version tlsv1.2 -m "Hello" -d -h a1inzd6lczlz6f-ats.iot.us-east-1.amazonaws.com
Client anyclientID sending CONNECT
OpenSSL Error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Error: Success
So I can't running simulator.js below..

Did I do something wrong?

I did reinstall mosquitto latest version. so I got same message on your video.
$ mosquitto_pub --cafile root.cert --cert deviceCertAndCACert.crt --key deviceCert.key -p 8883 -q 1 -t foo/bar -i anyclientID --tls-version tlsv1.2 -m "Hello" -d -h a1inzd6lczlz6f-ats.iot.us-east-1.amazonaws.com
Client anyclientID sending CONNECT
Error: The connection was lost.
But when I run simulator I got same issue.
~/simulator $ sed -i -e 's/REPLACE_HERE/123456789-abcde/g' config.js
~/simulator $ npm start

<EMAIL_ADDRESS>start /home/pi/simulator
node simulator.js

Connecting to AWS IoT...
????? Stopping........

Um..
I tried that make key and certificate on AWS IoT web console.
And then I copied files to Raspberry Pi.
also attached policy & thing using web console.
At result...
Working well!! :)

@nbc-pet-task I'm sorry for your inconvenience. I think the implementation guide one step to change HOSTNAME to the actual AWS IoT endpoint in config.js file.
sed -i -e 's/HOSTNAME/'$HOST'/' config.js

HOST can be a1inzd61czlz6f-ats.iot.us-east-1.amazonaws.com in your case.
I'm happy that you succeeded to connect to the simulator, but I would like to make sure that you have changed host configuration.

Just hard coding [host] in config.js file :)
thanks!!


Broken link

[Enter feedback here]
In step 1 of Close your account the Sign in to close your account link send you to Bing, and not to the Portal blade where should take you

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

ID: 84276ec1-e345-25fd-1ca6-a5e2dd407963
Version Independent ID: c8b3495d-1c71-ea8f-6e0c-99453596b88d
Content: Close a work or school account in an unmanaged Azure AD organization
Content Source: articles/active-directory/enterprise-users/users-close-account.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @rolyon
Microsoft Alias: rolyon

@v-videba
Thanks for your feedback! We will investigate and update as appropriate.

@v-videba
Thank you for pointing this out! I've reached out to our engineering team for the correct link and will update as soon as possible.
Thank you for your time and patience throughout this issue.

@v-videba
Thank you for pointing this out! I worked with the author who updated the broken link, therefore I'll go ahead and close out this issue.
Please allow some time for the changes to reflect.
Thank you for your time and patience!


#2231 make sure watchProjectInfo is there

cc @amasad

I haven't run into any errors for this, is there an issue matching to solve this? Ping me with the info and I will reopen!


Enhancement: expose libvips' "centre" option to mimic *magick's +0.5px convention

Requires libvips v8.4.x.
See https://github.com/jcupitt/libvips/issues/504 and https://github.com/jcupitt/libvips/commit/d3cafb3a9f32f733bc2cb189fbb253c0a2c843dd

Commit 9911863 exposes this feature - will be in v0.17.0.

v0.17.0 now available (with a libvips dependency of v8.4.2+).


Performance counters part 2

New stuff marked red:

ps git diff shows changes in CM. Ignore all the changes inside perf counter's usings- nothing changed there except for adding a tab.

Minor commnets fix and lets push

@dangershony @fassadlr fixes applied.


[firebase_auth]: Using Google Sign in on iOS 18 Simulator returns blank screen

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
The Sign in with Google works perfectly on iOS 17 but looks like there is an issue with iOS 18 simulator. Actual device running iOS 18 is fine though.
Reproducing the issue
To reproduce, simply tap on the Sign in with Google button on an iOS 18 simulator and you can see the native sheet goes beyond the normal setting and shows a blank screen. Interestingly, there were no errors or exceptions thrown in the Flutter Console. However, I did find there was an error message "Unknown client: appname" when running using Xcode.
Firebase Core version
3.6.0
Flutter Version
3.24.3
Relevant Log Output
Unknown client: appname

Flutter dependencies
  firebase_auth: ^5.3.1
  firebase_auth_platform_interface: ^7.4.7
  firebase_core: ^3.6.0
  firebase_core_platform_interface: ^5.3.0
  google_sign_in: ^6.2.1

Additional context and comments

As you can see after the alert box, instead of opening the native sheet normally, it goes all the way up and shows blank.

I've just tested the the firebase auth example app on the simulator and it worked fine:
https://github.com/user-attachments/assets/f46cf409-dbf0-4f0c-ba5b-f7381a5242d1
Please try the firebase auth example app and see if it works 🙏

Thanks @russellwheatley
I did try the example project and it is working fine. Now I got more questions:

My app has had any change related to auth in months and it is working perfectly fine for iOS 17 Simulator but the same code is not working on iOS 18.

There are no console message except when running using Xcode. But the app goes blank and unresponsive, which seems not normal at all. Usually, if there is an error, the google auth will return some exceptions.

The same code is working fine on iOS 18 actual device.

I will do some more investigation and update this thread.

Since it's working on a real iOS 18 device, I guess it's something related to the Simulator and nothing that can be done directly by FlutterFire. I'll close this.

Sure, does not seem to be an issue on the real device.
I have copied a snippet of the code and created a new project. To my surprise it works perfectly on the same simulator. This is going to be a hard one and I am guessing this is something related to multiple flavour setup.
I am not using Flutterfire and relying on the .plist file setup. Plus this is an old project so might be some configuration issues.


Complete migration from shark_turbine to iree/turbine namespace

https://github.com/iree-org/iree-turbine/tree/main/shark_turbine remove (set up forwarding?)
https://github.com/iree-org/iree-turbine/tree/main/iree/turbine move files here
https://github.com/iree-org/iree-turbine/blob/main/setup.py update strings in here
migrate in-tree and out-of-tree samples/tests/etc. to use the new namespace

We've had plenty of time to migrate gracefully, but this is going to be a hard blocker for various packaging workflows very soon, so we might need to do a more abrupt cut over instead.
For example:

The package name is still set to shark_turbine: https://github.com/iree-org/iree-turbine/blob/e0a8fdf6b50a3b66faad752cc9aaef9ed459aee0/setup.py#L18-L19

https://pypi.org/project/shark-turbine/
https://pypi.org/project/iree-turbine/

Documentation and samples across other repositories still use import shark_turbine: https://iree.dev/guides/ml-frameworks/pytorch/

Let's do the rename and beef up a couple of tests to ensure that the old namespace still works while we propagate.

Nice, I see a few commits landed across various repositories. How much is still left to do here, @Hardcode84 ?

https://iree.dev/guides/ml-frameworks/pytorch/#ahead-of-time-aot-export code samples still use import shark_turbine.aot as aot
https://github.com/iree-org/iree/tree/main/samples/colab sample Colab notebooks also use shark_turbine still
https://github.com/iree-org/iree-turbine/blob/main/shark_turbine/__init__.py has a temporary redirect in place. Is that working?

Oh and https://github.com/iree-org/iree-turbine/actions/workflows/test_shark.yml has been failing. That's using this workflow file: https://github.com/iree-org/iree-turbine/blob/main/.github/workflows/test_shark.yml. That clones https://github.com/nod-ai/SHARK-Studio and installs from https://github.com/nod-ai/SHARK-Studio/blob/ec75e08a2dc28684649cba639a9a4ea7cb17013e/requirements.txt#L10 (shark-turbine @ git+https://github.com/iree-org/iree-turbine.git@main)


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=521392648
https://github.com/Azure/azure-cli-extensions/commit/0ea64d05e8d632244a2682cf4b95b17a7ed4e1b1

Docs Build status updates of commit 21b2c5c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Run script failed with no detailed information. Please retry building your content again. If the issue still happens, open a ticket in http://SiteHelp and include the error report for our team to troubleshoot

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.

Docs Build status updates of commit 21b2c5c:
:clock10: Full build: the average full build time is 12 min(s) 46 sec(s), this is based on the last 12 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 21b2c5c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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.


Bubble sort , Binary search for dart language

What a great code 😄 !
Just a little tip, its good to always put a description on your PRs to make it more understandable.
Thank you for contributing! 🚀


Create merged editor for handling both rapid and full reviews

Since we are merging both styles of reviews, we need to be able to handle them both in concert when reviewing a preprint.

Hooked up and completed, opening a new issue for new wireframes.


method getSellerByAddress is failing to retrieve LENS tokenIds owned by the specified address

The implementation of getSellersByAddress() needs to be reworked, as previously was using an IERC721Enumerable method (tokenOfOwnerByIndex()) that does not exist anymore in the updated LENS contract.
relates to https://github.com/bosonprotocol/interface/issues/928

A first, naive, implementation is fetching all LENS tokenId referenced in the Boson subgraph.
Then, for each of them, check if the specified address owns it (on-chain call).
A second version will optimized the change, keeping track of the LENS tokenId owners in the BOSON subgrph (listen to transfer events from the LENS contract). This will prevent too much on-chain call for the client.


JavaScript IntelliSense missing on recreated file

From @gregvanl on May 5, 2016 20:0

VSCode Version:1.1.0-alpha, 1.0-stable
OS Version:Windows 10, OS X, Ubuntu 14.04

Steps to Reproduce:

Create an empty folder and create a new file, app.js
Type console. - you get IntelliSense for Console methods.
Delete app.js and recreate it.
Type console. - no IntelliSense

Need to restart VS Code for IntelliSense to be active again for app.js.
Another workaround is to change the language (ex. C) then change back to JavaScript manually.
Copied from original issue: Microsoft/vscode#6139

From @bpasero on May 6, 2016 6:11
Unsure who to ping, @jrieken @dbaeumer @egamma fyi, should this be always filed against TypeScript?

From @jrieken on May 6, 2016 7:18
I'd say TypeScript. Looks like thy miss a file event

@gregvanl can not reproduce an code-alpha which contains a new version of the tsserver (in comparison of 1.0).

@gregvanl can you give it another test with latest.

From @gregvanl on May 9, 2016 17:29
Still repros on latest code-alpha on Windows 10.

Still not for me :-(. Do you have additional steps info ?

From @gregvanl on May 10, 2016 17:32

Here's a repro on another machine Windows 7.

From @gregvanl on May 10, 2016 17:35
The .gif above was done with 1.1 stable but it also repros with latest code-alpha

@gregvanl what does the code assist show when you press ctrl+space
And I would like to ask you to enable TS trace. Add the following workspace setting
"typescript.tsserver.trace": "messages"

open the output window and switch to the TypeScript channel and attach the provided log.

From @gregvanl on May 11, 2016 15:59
Here's the log from the output window TypeScript channel when I press '.' after "console":
Sending request: projectInfo (36). Response expected: yes. Current queue length: 0
Response received: projectInfo (36). Request took 0 ms. Success: true
Sending request: change (37). Response expected: no. Current queue length: 0
Sending request: completions (38). Response expected: yes. Current queue length: 0
Response received: completions (38). Request took 0 ms. Success: false . Message: Error processing request. Cannot read property 'lineCount' of undefined
Sending request: geterr (39). Response expected: no. Current queue length: 0
Event received: semanticDiag (0).

From @gregvanl on May 11, 2016 16:0
Code Assist (ctrl+space) just shows:
[abc] console

@gregvanl do you by any change have a tsdk setting which points to a different tsserver. The problem is an exception in the tsserver in your case which I don't get.

From @gregvanl on May 12, 2016 17:56
Not that I know of.  I've seen this on several different machines including CDias' OS X machine. I'll see how widespread the repro is on the team here in Redmond.

From @gregvanl on May 12, 2016 17:59
Can you see if anyone else in Zurich can repro the issue?  It's a simple repro.
I think the issue is worth investigating since it could happen when a newbie is trying out VS Code or JavaScript or Node.js for the first time.  They create a simple "Hello World" app and then decide to start over recreating the empty file.

From @gregvanl on May 12, 2016 19:3
Just repro'd on Wade's OS X machine as well.

OK. We have a trace and @gregvanl can easily repro. I will forward to the TS team then. The are in Redmond as well and can easily drop by. The issue is like the trace shows in the tsserver (might be timing related).

@zhengboli can u take a look

This looks like the same issue with https://github.com/Microsoft/TypeScript/issues/7668, which was fixed in master. Can you try using the latest nightly? I tried on my windows machine and it seemed fixed for me.


only supports OpenSSL 1.1.1+,

I'm installed openssl version 3.1.1 but still this error in below.
Traceback (most recent call last):
File "enhance_image.py", line 4, in
from torchvision.transforms import Resize, CenterCrop, ToTensor, Normalize
File "C:\Python37\lib\site-packages\torchvision_init_.py", line 5, in
from torchvision import datasets, io, models, ops, transforms, utils
File "C:\Python37\lib\site-packages\torchvision\datasets_init_.py", line 1, in
from .optical_flow import FlyingChairs, FlyingThings3D, HD1K, KittiFlow, Sintel
File "C:\Python37\lib\site-packages\torchvision\datasets_optical_flow.py", line 12, in
from .utils import read_pfm, verify_str_arg
File "C:\Python37\lib\site-packages\torchvision\datasets\utils.py", line 22, in
import requests
File "C:\Python37\lib\site-packages\requests_init.py", line 43, in
import urllib3
File "C:\Python37\lib\site-packages\urllib3_init.py", line 42, in
"urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i  14 Aug 2018'. See: https://github.com/urllib3/urllib3/issues/2168

The reason why the error message mentioned OpenSSL 1.1.1+ and LibreSSL 2.8.3 is that urllib3 v2.0 (the version you've installed) requires OpenSSL 1.1.1+ to work properly, as it relies on some new features of OpenSSL 1.1.1.
You can try to install a newer version of OpenSSL or you can downgrade the version of urllib using pip install 'urllib3<2.0'.


[Bug]: RecursionError: maximum recursion depth exceeded in comparison thrown with DocumentSummaryIndex

Bug Description
Hi, not sure why but when I run the code below that queries a query_engine created with DocumentSummaryIndex, I get a following error RecursionError: maximum recursion depth exceeded in comparison.
It looks like that it depends on the provided text length. Can someone take a look? Thanks.
import nest_asyncio
nest_asyncio.apply()

a = SummarizeHandler()
b = await a.query("Efficient and effective content creation. Generative AI could significantly reduce the time required for ideation and content drafting, saving valuable time and effort. It can also facilitate consistency across different pieces of content, ensuring a uniform brand voice, writing style, and format. Team members can collaborate via generative AI, which can integrate their ideas into a single cohesive piece. This would allow teams to significantly enhance personalization of marketing messages aimed at different customer segments, geographies, and demographics. Mass email campaigns can be instantly translated into as many languages as needed, with different imagery and messaging depending on the audience. Generative AI’s ability to produce content with varying specifications could increase customer value, attraction, conversion, and retention over a lifetime and at a scale beyond what is currently possible through traditional techniques.")

import logging

import tiktoken
from llama_index import ServiceContext, StringIterableReader
from llama_index.callbacks import CallbackManager, TokenCountingHandler
from llama_index.indices.document_summary import DocumentSummaryIndex
from llama_index.llms import OpenAI

class SummarizeHandler():
    def __init__(self):
        self.model_name = "gpt-3.5-turbo"
        self.token_counter = TokenCountingHandler(
            tokenizer=tiktoken.encoding_for_model(self.model_name).encode,
            verbose=True,
        )
        self.service_context = ServiceContext.from_defaults(
            llm=OpenAI(model=self.model_name, user=user, temperature=0, max_retries=3),
            chunk_size=1024,
            callback_manager=CallbackManager([self.token_counter]),
        )
        self.prompt = """
        Please provide a summary and analysis of these important elements, explaining their significance in an understandable and user-friendly manner.
        Assume the reader has no background knowledge on the topic.
        """

    def query(self, query: str) -> str:
        self.create_query_engine(query)
        response = self.query_engine.query(self.prompt.replace("\n", " "))

        logging.info(
            f"▶ Embedding Tokens: {self.token_counter.total_embedding_token_count},\n"
            f"▶ LLM Prompt Tokens: {self.token_counter.prompt_llm_token_count},\n"
            f"▶ LLM Completion Tokens {self.token_counter.completion_llm_token_count},\n"
            f"▶ Total LLM Token Count: {self.token_counter.total_llm_token_count}"
        )

        return response.response

    def create_query_engine(self, data: str) -> None:
        document = StringIterableReader().load_data(texts=[data])
        documents = []
        documents.extend(document)
        doc_summary_index = DocumentSummaryIndex.from_documents(
            documents, service_context=self.service_context
        )
        self.query_engine = doc_summary_index.as_query_engine(
            response_mode="tree_summarize", use_async=True
        )

Version
0.7.6
Steps to Reproduce
Run the code snippet above
Relevant Logs/Tracbacks
---------------------------------------------------------------------------
RecursionError                            Traceback (most recent call last)
Cell In[8], line 5
      2 nest_asyncio.apply()
      4 a = SummarizeHandler()
----> 5 b = await a.query("Efficient and effective content creation. Generative AI could significantly reduce the time required for ideation and content drafting, saving valuable time and effort. It can also facilitate consistency across different pieces of content, ensuring a uniform brand voice, writing style, and format. Team members can collaborate via generative AI, which can integrate their ideas into a single cohesive piece. This would allow teams to significantly enhance personalization of marketing messages aimed at different customer segments, geographies, and demographics. Mass email campaigns can be instantly translated into as many languages as needed, with different imagery and messaging depending on the audience. Generative AI’s ability to produce content with varying specifications could increase customer value, attraction, conversion, and retention over a lifetime and at a scale beyond what is currently possible through traditional techniques.")

Cell In[2], line 41, in SummarizeHandler.query(self, query)
     39 async def query(self, query: str) -> str:
     40     self.create_query_engine(query)
---> 41     response = self.query_engine.query(self.prompt.replace("\n", " "))
     42     logging.info(
     43         f"▶ Embedding Tokens: {self.token_counter.total_embedding_token_count},\n"
   (...)
     47         f"▶ Total LLM Token Count: {self.token_counter.total_llm_token_count}"
     48     )
     49     return response.response

File /usr/local/Caskroom/miniconda/base/envs/strat/lib/python3.8/site-packages/llama_index/indices/query/base.py:23, in BaseQueryEngine.query(self, str_or_query_bundle)
     21 if isinstance(str_or_query_bundle, str):
     22     str_or_query_bundle = QueryBundle(str_or_query_bundle)
---> 23 response = self._query(str_or_query_bundle)
     24 return response
...
--> 138 y = memo.get(d, _nil)
    139 if y is not _nil:
    140     return y

RecursionError: maximum recursion depth exceeded in comparison

+1

+1 but happening with a regular vectorstore index with tree summarizer

+1

+1


Issue: 874:  Implement a ComposerArtifactCoordinates

Adding a ComposerArtifactCoordinates class

Closes #874

Would you mind signing the ICLA, as described in the Contributing page?
Also, please, feel free to join our chat channel, if you'd like to learn more about the project and/or like to find out what else you could help with.

Reopening pull request agains branch composer-layout-provider


Issue on velocity process(?)

Issue
The visualizations have returned me strange value of water velocity.
Even though my hycom data has m/s units velocity, all of outputs respond like in m/hour scale.
Because of this, the travelling distance also gave me back ridiculously huge number of around 80000 km in 10 days travels.
Could anyone have a look at some results below?
I am not sure what part is causing this issue, or whether the hycom data itself is needed to be changed the units.
Code and Results
filenames = {'U': "hycom_glb_911_2016*uv3z.nc",              'V': "hycom_glb_911_2016*uv3z.nc"}
variables = {'U': 'water_u', 'V': 'water_v'}
dimensions = {}
dimensions['U'] = {'lat': 'lat', 'lon': 'lon', 'depth': 'depth', 'time': 'time'}
dimensions['V'] = {'lat': 'lat', 'lon': 'lon', 'depth': 'depth', 'time': 'time'}
vmin = -2000
timestamps = np.expand_dims(np.array([np.datetime64('2016-01-%.2d' % m) for m in range(1, 11)]), axis=1)
fieldset = FieldSet.from_netcdf(filenames, variables, dimensions,       timestamps=timestamps, allow_time_extrapolation=True)
pset = ParticleSet.from_line(fieldset=fieldset, pclass=JITParticle, size=5, start=(-130, 25), finish=(-140, 25), time=datetime(2016, 1, 1))
output_file = pset.ParticleFile(name="hycom_particles.nc",                                 outputdt=timedelta(hours=6))
pset.execute(AdvectionRK4,              runtime=timedelta(days=10),              dt=timedelta(minutes=5),              output_file=output_file)
output_file.export() plotTrajectoriesFile('hycom_particles.nc',                      tracerfile='hycom_glb_911_2016010100_t000_uv3z.nc',                      tracerlon='lon',                      tracerlat='lat',                      tracerfield='water_u');

pset.show(field=fieldset.U, vmin=-10.0, vmax=10.0, show_time=datetime(2016, 1, 1, 0))

pset.show(field=fieldset.V, vmin=-1500, vmax=1500, show_time=datetime(2016, 1, 1, 0))

It seems you haven't actually added the vmin to the creation of the FieldSet, so the high velocities are likely because of interpolation near land

@erikvansebille
Dear Erik, thank you for giving it a look!
I've done with having 'vmin=-10.0' in a fieldset statement before, but it also didn't work and gave me the pretty much same result as you can see below.
fieldset = FieldSet.from_netcdf(filenames,                                 variables,                                 dimensions,                                 timestamps=timestamps,                                 allow_time_extrapolation=True,                                 vmin=-10.0)
This gives me back,

pset.show(field=fieldset.U, vmin=-2.0, vmax=2.0, show_time=datetime(2016, 1, 10, 0))
The result is,

I think this is irrelevant but I also gave it a try using "halo" statement for interpolation, but it also gave me the same results after running.
I'm sorry to take your time but could you possibly have a look again?
I want to visualize them in a right scale.

Utilizing global HYCOM data, I am experiencing the same problems as described above. My apologies for exhuming this old thread but I hesitate to start a new issue and this discussion is highly related. Setting vmin=-2000 in the generation of the Fieldset does not fix the problem.
For me this problem is unique to HYCOM; no such issues exist with NCOM data.
The velocity fields as interpreted by parcels (shown via fieldset.U.show()) are about 1000 times larger than in the netCDF file (shown via xarray.dataset.water_u.plot()). See the pictures below.
The velocity as shown in xarray (with default masking and scaling):

The velocity as shown in parcels has magnitudes ~1000 greater:

Note the HYCOM encoding information (per xarray) contains masking and scaling information:
{'zlib': False,
 'szip': False,
 'zstd': False,
 'bzip2': False,
 'blosc': False,
 'shuffle': False,
 'complevel': 0,
 'fletcher32': False,
 'contiguous': False,
 'chunksizes': (1, 1, 276, 226),
 'source': '/home/james.polly/repos/driftpredict/data/hycom_glby_930/hycom_glby_930_2022030212_t021_uv3z_clip.nc',
 'original_shape': (1, 1, 276, 226),
 'dtype': dtype('int16'),
 'missing_value': -30000,
 '_FillValue': -30000,
 'scale_factor': 0.001,
 'add_offset': 0.0}

If xarray loads the HYCOM data without the automatic masking and scaling, the data is loaded as shown in the image below:

Is there a scaling step that I am missing when create Fieldsets in parcels? This smells like a meters/kilometers conversion problem but I can't seem to pinpoint it.
I have tried to set vmin=-2000 and vmin=-30000 in generating the Fieldset and this does not change fact that the parcels-interpreted velocity fields differ by a few orders of magnitude.
Any help is greatly appreciated!

I'll separately add that applying the following "improves" the parcels simulation using HYCOM in that the particle trajectories are much more believable. This is after fieldset generation but before particleset.execute():
fieldset.U.set_scaling_factor(0.001)
fieldset.V.set_scaling_factor(0.001)

In doing this, a parcels simulation using HYCOM is similar to that of NCOM.
How does one know that these scaling factors need to be applied? I chose the 0.001 scaling factor due to it being listed in the NetCDF encoding information per xarray (see above post) as  'scale_factor': 0.001.
I did not have to do this for NCOM simulations, which also have a scale_factor present in their NetCDF encoding data.

Hi @jpollygda, thanks for your messages. Indeed, when you set decode_times=False, then no decoding is applied, so also not on the velocities. Hence, you will indeed need to apply the conversion factor yourself. Your solution above is thus the right way to go:
fieldset.U.set_scaling_factor(0.001)
fieldset.V.set_scaling_factor(0.001)

Hi @erikvansebille, I really appreciate your consideration and time in responding to my messages here!


auto-completion for all the autoloaded providers

Environment (please complete the following information):

OS: Manjaro 20.0
(Neo)Vim version: Vim 8.2.510
vim-clap version: 14e003f8
Have you reproduced with a minimal vimrc: no
Have you updated to the latest plugin version: yes
Have you upgraded to/compiled the latest Rust binary: yes

Describe the bug
After installing the coc-clap plugin, the new providers (coc_*) are not auto-completed after :Clap coc<Tab>. They correctly appear in the output of :Clap providers though.
Clap debug

            has cargo: 1
            has maple: /home/ipkiss/dotfiles/.vim/bundle/vim-clap/target/release/maple
           maple info: version 0.1.15 (git v0.15-3-g14e003f), built for x86_64-unknown-linux-gnu by rustc 1.43.1 (8d69840ab 2020-05-04).
         has +python3: 1
has py dynamic module: 0
     Current FileType: rust
Third Party Providers: []
       Global Options:
    let g:clap#autoload_dir = '/home/ipkiss/dotfiles/.vim/bundle/vim-clap/autoload'
    let g:clap#popup#display = {'shrink': function('186'), 'open': function('<SNR>171_create_display'), 'shrink_if_undersize': function('185')}
    let g:clap#popup#input = {}
    let g:clap#popup#preview = {'line_count': function('<SNR>170__line_count'), 'show': function('187'), 'hide': function('188'), 'add_highlight': function('189'), 'get_lines': function('<SN
R>170__get_lines'), 'getbufvar': function('<SNR>170__getbufvar'), 'setbufvar_batch': function('<SNR>170__setbufvar_batch'), 'setbufvar': function('<SNR>170__setbufvar'), 'win_is_valid': func
tion('<SNR>170__win_is_valid'), 'goto_win': function('<SNR>170__goto_win'), 'set_syntax': function('190')}
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
    let g:clap_disable_bottom_top = 0
    let g:clap_disable_matches_indicator = v:false
    let g:clap_disable_optional_async = v:false
    let g:clap_disable_run_rooter = v:false
    let g:clap_enable_icon = 0
    let g:clap_forerunner_status_sign = {'done': '•', 'running': '!', 'using_cache': '*'}
    let g:clap_insert_mode_only = v:false
    let g:clap_multi_selection_warning_silent = 0
    let g:clap_no_matches_msg = 'NO MATCHES FOUND'
    let g:clap_open_action = {'ctrl-v': 'vsplit', 'ctrl-x': 'split', 'ctrl-t': 'tab split'}
    let g:clap_popup_border = 'rounded'
    let g:clap_providers_relaunch_code = '@@'
    let g:clap_search_box_border_style = 'nil'
    let g:clap_search_box_border_symbols = {'nil': ['', ''], 'curve': ['', ''], 'arrow': ['', '']}
    let g:clap_theme = 'material_design_dark'
  Provider Variables:
    let g:clap_provider_coc_blink = [2, 100]

To Reproduce
See description above. It is straightforward.
Expected behavior
All the providers are listed.

Thanks for the quick turnaround and the great plugin, it's very promising!


Robots.txt

I've added logic to pull and cache robots.txt files for each host the crawler reaches.  Each request verifies the URL against the host's robots.txt file.  This adds a dependency on the https://github.com/temoto/robotstxt project.
A new flag was also added to the Collector in order to IgnoreRobotsTxt.  Setting this to true skips the robots.txt validation.

I'll have these changes back to you soon.

@vosmith thank you for your fast response. There are still some minor issues, please fix those and the PR is ready to be merged.


cl/cd azure data factory ci/cd life cycle

[Enter feedback here]

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

ID: 10b66e25-c091-9c59-c878-8e5b52493a76
Version Independent ID: fd3c9c97-3186-7b05-db36-82407fa3572b
Content: Overview of CI/CD data pipelines on Microsoft Azure - Azure Pipelines
Content Source: docs/pipelines/apps/cd/azure/cicd-data-overview.md
Product: devops
Technology: devops-cicd-apps
GitHub Login: @juliakm
Microsoft Alias: jukullam

@suri1925 Thank you for contacting Microsoft Docs.
Please add further context to the issue so that we can assign an author for further review.

@suri1925 Thank you for contacting Microsoft Docs.
Please add further context to the issue so that we can assign an author for further review.

Assigning this to the author for review.
As per issue https://github.com/MicrosoftDocs/azure-devops-docs/issues/10083, this also includes an implementation with code.

Assigning this to the author for review.
As per issue https://github.com/MicrosoftDocs/azure-devops-docs/issues/10083, this also includes an implementation with code.

Closing because I do not see any details on the issue.


update target framework

Android build is failing because the wrong target framework is being used. Android 9.0 is required for Xamarin.Forms Material.

Just saw the other PR from sthewissen which also upgrades the target framework and adds some needed permissions. If that one goes in, then this one can be cancelled.

Thanks @marius-bughiu, I think I also updated this earlier today. I'm ashamed I hadn't noticed it earlier!


Embedded iframe

Little Window needs to embedded in an iframe on the Chayn website

[ ] Test out embedding Little Window in a Siteground site
[ ] Write necessary code for Chayn to use in their site (else arrange meeting to do together)

This code might work for embedding and styling:
<iframe src='https://little-window.herokuapp.com' style='position: fixed; bottom: 0; right: 0; max-height: 90vh; z-index:1000; margin-top:6%'></iframe>

Currently available as a test site:
https://chayn.co/lw-test/
Password: littlewindowislearning


SourceLocation should be serialized as object

SourceLocation, as a NamedTuple, is serialized by json.dumps() to an array instead of an object. Graphql.js keeps SourceLocation as and object, so it just works for them.
Reproduction:
from graphql import SourceLocation, GraphQLError, format_error, Source
import json

print(json.dumps(format_error(GraphQLError(message="test", source=Source('{ test }'), positions=[2]))))

Expected result: {"message": "test", "locations": [{"line": 1, "column": 3}], "path": null}
Actual result: {"message": "test", "locations": [[1, 3]], "path": null}
Should SourceLocation be changed to something that serializes correctly? Or would it make more sense to convert it to dict in format_errors?

Good point. Yes, I think it makes totally sense to return locations as a list of dicts in format_error - that's why we have this function. Feel free to send a PR, or otherwise I can change this.

This is now included in v3.0.0b1.


Use other libs

Hi, I see that your requirements.txt file only contains tensorflow based libraries.
How can I use other libs like pytorch?
Can you provide an example to use torch instead of tf. I just checked maml_torch but it doesn't work.

Hello!
The requirements has been updated and now has the higher (second order optimization library required by maml_torch). The maml_torch baseline should now work with the conda environment.
Everything you need to know to use torch models instead of TF is inside this baseline. More specifically, you only need to implement the torch data wrapper in order to use any torch models you want.
Let me know how it goes!

Hi @ebadrian ,
I have another question about how to get exactly the total number of meta class in meta training phase.

Hi!
We plan to release this feature soon, I'll keep you updated.

Hi @ebadrian , are there any updates on this problem? Because I cannot use 'batch' mode with CE Loss if total_meta_class is not known.


Segmentation fault when running rviz on wsl2 in Windows10

Your environment

OS Version: Ubuntu 18.04 LTS
ROS Distro: Melodic

Hi i have a problem very similar to #1438
I am using wsl2 ubuntu on win10 and VcXsrv as X server i can use rqt_graph etc.
When i run rviz it gives these outputs:
[ INFO] [1593348825.014098400]: rviz version 1.13.12
[ INFO] [1593348825.014161600]: compiled against Qt version 5.9.5
[ INFO] [1593348825.014196400]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1593348825.018004200]: Forcing OpenGl version 0.
Segmentation fault

and when i try LIBGL_ALWAYS_INDIRECT= as the solution in #1438
it gives:
[ INFO] [1593348979.559661800]: rviz version 1.13.12
[ INFO] [1593348979.559721800]: compiled against Qt version 5.9.5
[ INFO] [1593348979.559765300]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1593348979.564390700]: Forcing OpenGl version 0.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Segmentation fault

how can i run rviz in wsl2 ubuntu (18.04 LTS) ?
Thanks in advance.

The errors hint at issues regarding OpenGL usage in wsl2. Can you run any other OpenGL program, e.g. glxgears?

The errors hint at issues regarding OpenGL usage in wsl2. Can you run any other OpenGL program, e.g. glxgears?

Without LIBGL_ALWAYS_INDIRECT=  :
~$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
29315 frames in 6.8 seconds = 4300.342 FPS
17850 frames in 6.0 seconds = 2952.822 FPS
18993 frames in 6.2 seconds = 3070.950 FPS
17980 frames in 6.4 seconds = 2799.104 FPS

With  LIBGL_ALWAYS_INDIRECT= :
~$ glxgears
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
60977 frames in 7.9 seconds = 7676.433 FPS
35410 frames in 13.7 seconds = 2591.643 FPS
37528 frames in 12.5 seconds = 2997.748 FPS
38136 frames in 12.8 seconds = 2971.624 FPS

Solved the problem! with both adding
LIBGL_ALWAYS_INDIRECT= to bashrc and
-nowgl to VcXsrv as parameter.

Great.

Thank you

Solved the problem! with both adding
LIBGL_ALWAYS_INDIRECT= to bashrc and
-nowgl to VcXsrv as parameter.

Thank you so much. I solved the problem.

Solved the problem! with both adding
LIBGL_ALWAYS_INDIRECT= to bashrc and
-nowgl to VcXsrv as parameter.

Exactly same problem solved, thank you.


Clone system-chart repo with master branch

Problem:
We use git clone in package to get system charts repo and we will
get the default branch dev instead of master. We need master
branch for building release.
Solution:
Using git clone with --branch master
Related issue: https://github.com/rancher/rancher/issues/18747

Updated

LGTM


flashx.tv Not retrieve the url correctly.

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.08.12. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2016.08.12

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.08.12
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.flashx.tv/j2p2t8sp7s1s.html

Description of your issue, suggested solution and other information
My S.O is Linux, and browser is Firefox.
I am making an extractor to flashx.tv.
When I pass to youtube-dl the url http://www.flashx.tv/j2p2t8sp7s1s.html, which contains the fields for http post. This http post request the url http://www.flashx.tv/dl?j2p2t8sp7s1s, where it is the url true, really, the different pieces that form the url. But, however, I get the same url containing the next message "You try to access this video with Kodi / XBMC or TV BOX.", "This is prohibited!"
However, when previously, I open with the browser the url http://www.flashx.tv/j2p2t8sp7s1s.html, and then run again youtube-dl it works.
I hope I explained well.
Regards and thanks.

Most likely you don't pass some headers or don't follow some checkpoints the browse does.
Closing since it's not related to youtube-dl.

I can put here the self._download webpage?

What for?

To display the headers.
Sorry, if this is not the place to ask this.

This is the place yo ask questions about youtube-dl not about how particular website implements its protection. What you should do is to analyze what a browser sends and implement the same sequence of actions in code.

Ok, thanks


Pinning islandora_fits

GitHub Issue: https://github.com/Islandora/documentation/issues/1405
What does this Pull Request do?
Pins islandora_fits to the last known working version.
How should this be tested?
Original Behaviour
Create a resource node and give it an original file.  You'll whitescreen with this in /var/log/apache2/error.log
[Tue Jan 21 14:27:43.053575 2020] [php7:notice] [pid 814] [client <IP_ADDRESS>:48366] Uncaught PHP Exception Drupal\\Core\\Entity\\EntityStorageException: "Field field_fits_file is unknown." at /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php line 847, referer: http://localhost:8000/media/add/image?edit%5Bfield_media_of%5D%5Bwidget%5D%5B0%5D%5Btarget_id%5D=2

Behaviour with this PR
Save an Original File to a resource node and you'll have no whitescreen and nothing but your derivatives and happy times :rainbow:
Interested parties
@Islandora-Devops/committers

This is no longer needed.


Add quicksy, blabber.im, and monocles chat for android

Quicksy provides an easy entry and contact discovery for users based on phone number.
blabber.im is a fork of conversations with some nice additions to improve user experience.
monocles chat is a fork of blabber.im with some insecure ciphers removed offering better connection security.

I've added monocles, just one, so we don't overwhelm newcomers

The fork of a fork of Conversations? An odd choice...

There is another fork called Conv6ations (from sum7.eu)
There're three others to consider:

Kontalk https://www.kontalk.org/
Snikket Chat https://snikket.org/
Stork IM https://stork.im/ (from Tigase, Inc.)

I'll replace monocles with Snikket, then.
I think Kontalk is a good option, due to it's focus on phone numbers, even though we, the savvy Jabber users, care the least about this.
What do you think?
More clients at https://search.f-droid.org/?q=xmpp&lang=en

a good option, due to it's focus on phone numbers

quicksy.im - based on Conversations, from the same dev, but easy for phone number lovers

Do you want to replace Conversations by Quicksy?
To do so, I think we better as @ge0rg, because this is not an addition.

Not what I've said. Since you offer more options, that's one option.

I know you didn't.  I was just asking another question.
Do you think it's reasonable to include more than five options?
If you do, we will add Quicksy, if not, we wil ask George to replace Conversations.

Dunno, too many options hurt too :)

Yes, indeed.
Personally, I want to include all Conversations forks, especially monocles which I use, but the is a political issue we are dealing with, hence we must use our resources in the most efficient manner.
We stil have the link to the bigger list at xmpp.org ;)

I don't think Snikket can replace monocles chat. Snikket needs an invite or an existing xmpp account, it does not support new sign ups. I suggest blabber.im instead of monocles chat as monocles is a fork of blabber.im focusing on monocles service mainly, but blabber.im has unique features compared to conversations.

Kontalk don't work with other xmpp services last time I checked due to incompatible selection of xeps. Kontalk uses gpg but does non standard key sharing so no other client can talk to kontalk.

So if you don't want to add more choices, I suggest adding Quicksy and blabber.im.

Snikket needs an invite or an existing xmpp account

Oh, right, I forgot about that

I'm not sure adding two addition, which wil make it 6, is a good idea.
Please make it just one.
So, which one, blabber.im or Quicksy?
@pravi and @licaon-kter I'll act in accord to a common position by the both of you.

If you insist on two, then I'll add both of them.
P.S.
I'm using monocles and it's not specifc to or locked its network.
monocles is surely branded, along with other products and services, similarly to Disroot.

Friends, please make up yor mind and pick a client.
Pull request #32 is ready and now I'm waiting for your input.

If the options are too much, may be drop xabber ? May be Bruno too? I never like xabber and I never recommend that to anyone.

Bruno stays.
I also don't recommend on Xabber, but it was the first XMPP client to offer ease of use.
For this PR, please select one client.
After this PR, we are going to add more clients (maybe 30) that web admins will be able to select from, so please understand that the list is flexible.

On May 21, 2022 5:14:15 AM UTC, Pirate Praveen Arimbrathodiyil @.***> wrote:

If the options are too much, may be drop xabber ? May be Bruno too? I never like xabber and I never recommend that to anyone.

Since the list is arbitrary and biased, just take what you want.

On Sat, 21 May 2022 20:07:56 -0700
Pirate Praveen Arimbrathodiyil @.***> wrote:

Since the list is arbitrary and biased, just take what you want.

Alright, I'll revert back to monocles.
Once the PR is made, we'll start with DOAP for a customized list.

Since the list is arbitrary and biased, just take what you want.

We can populate the .json files with more than 5 items.
We then limit the list to 5 while we push items randomly.
This is the code responsible for appending items fron json:
function show_clients(client_array) {
	var list = document.getElementById('client_list');
	for (var id = 0; id < client_array.length; id++) {
		var item = document.createElement('div');
		item.innerHTML = client_array[id];
		list.appendChild(item);
	}
}

Here is what I've in mind: (I didn't test the code)
function show_clients(client_array) {
	var check = []
	var list = document.getElementById('client_list');
	for (var id = 0; id < client_array.length; id++) {
		var item = document.createElement('div');
		num = Math.floor(Math.random()*client_array.length);
		if (!check.indexOf(num)) {
			check.push(num);
			item.innerHTML = client_array[num];
			list.appendChild(item);
		}
	}
}

Whta should we use to verify that we have already used an index of client_array?
!check.indexOf(num) or !check.includes(num) or what else?

Currently, we present a fixed selection of clients (up to 5 clients).
The following code selects random clients (3 at most).
function show_clients(client_array) {
	var check = []
	var list = document.getElementById('client_list');
	for (var id = 0; id < client_array.length; id++) {
		var item = document.createElement('div');
		while (check.length < id && check.length < 3) {
			var num = Math.floor(Math.random()*client_array.length);
			if (!check.includes(client_array[num])) {
				check.push(client_array[num]);
				item.innerHTML = client_array[num];
				list.appendChild(item);
			}
		}
	}
}

If the options are too much, may be drop xabber ? May be Bruno too? I never like xabber and I never recommend that to anyone.

@pravi I need your feedback, please.
When the items are random upon every page reload, do you think we should include Bruno & Xabber?

@sjehuda I would prefer excluding unmaintained apps. I think both xabber and bruno are unmaintained. xabber seems even removed from google play store. Last update on Bruno was in October 2020. Badly maintained apps give a very bad impression to new users.

On Thu, 09 Mar 2023 05:25:52 -0800
Pirate Praveen Arimbrathodiyil @.***> wrote:

@sjehuda I would prefer excluding unmaintained apps. I think both
xabber and bruno are unmaintained. xabber seems even removed from
google play store. Last update on Bruno was in October 2020. Badly
maintained apps give a very bad impression to new users.

The impression argument is important.
What about Xabber Classic which is the F-Droid store?
@ge0rg, what do you think?

https://f-droid.org/en/packages/com.xabber.android.classic/ is last updated on 2015-07-18

If we use compliance suites to filter out clients https://xmpp.org/software/ If we choose core for base compliance, instant messaging, mobile and calls. Only Cheogram, conversations, blabber.im and monocles are listed. if other clients gain compliance later, we can add them back at that time. If we choose advanced compliance, only cheogram fits.

Remove Bruno, Kontalk and Xabber
https://github.com/ge0rg/easy-xmpp-invitation/pull/51/commits/95ffeb9f0e95cd83fcd5496e7c8839193f344936

It may be a good idea to remove clients that don't even have core compliance on mobile.

if other clients gain compliance later, we can add them back at that time.

Should we just comment these clients instead of removing them.
@ge0rg did you look into the recent commits?
I want to begin working on page customization #59, but not before we finish the recent commits.


Fix Mail::send() method return type

Reference: Swift_Mailer::send @return int The number of successful recipients. Can be 0 which indicates failure

Thanks, but these were intentionally like this. This has, however, been improved in L5.3.

Reference: Swift_Mailer::send @return int The number of successful recipients. Can be 0 which indicates failure

Note that our mailer contract does not have anything to do with swiftmailer, and we can return what we want there.

How obtain result of mail send? Like:
$result = Mail::to($user)->send(new OrderMail($inputs));


not able to use json: MethodNotFoundException

try to use application/json payload on Rest POST. tried with Jackson and Gson Library.
Camel 3.5.1
Camel-K 1.2.0
kamel run routes.xml --dev  -d camel-jackson -d camel-gson
    <route id="add" >
        <from uri="rest:post:add"/>
        <log message="got request Camel K ${body}"/>
        <to uri="log:fo1?showAll=true"/>
        <!--<to uri="dataformat:json-jackson:unmarshal"/>-->
        <to uri="log:fo2?showAll=true"/>
        <to uri="dataformat:json-gson:unmarshal"/>
        <to uri="log:fo3?showAll=true"/>
        <log message="got request Camel K ${body.get('docName')}"/>
    </route>

[2] 2021-01-15 08:49:00,255 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.5.1.fuse-jdk11-800007-redhat-00001 (camel-1) started in 0.096 seconds
[2] 2021-01-15 08:49:00,620 INFO  [io.quarkus] (main) camel-k-integration 1.2.0 on JVM (powered by Quarkus 1.7.5.Final-redhat-00007) started in 3.628s. Listening on: http://<IP_ADDRESS>:8080
[2] 2021-01-15 08:49:00,621 INFO  [io.quarkus] (main) Profile prod activated.
[2] 2021-01-15 08:49:00,621 INFO  [io.quarkus] (main) Installed features: [camel-bean, camel-core, camel-dataformat, camel-endpointdsl, camel-k-loader-xml, camel-k-runtime-core, camel-k-runtime-quarkus, camel-log, camel-main, camel-platform-http, camel-rest, camel-support-common, camel-xml-io, cdi, mutiny, smallrye-context-propagation, vertx, vertx-web]
[2] 2021-01-15 08:49:04,333 INFO  [add] (vert.x-eventloop-thread-1) got request Camel K {  "docName":"camel-k-document", "docContent":"from Camel K secret content" }
[2] 2021-01-15 08:49:04,340 INFO  [fo1] (vert.x-eventloop-thread-1) Exchange[Id: EB212E2B1E69FF2-0000000000000000, ExchangePattern: InOnly, Properties: {CamelToEndpoint=log://fo1?showAll=true}, Headers: {Accept=text/plain, CamelHttpMethod=POST, CamelHttpPath=/add, CamelHttpQuery=null, CamelHttpRawQuery=null, CamelHttpUri=/add, CamelHttpUrl=http://routes-camelk.apps.ocp4.openshift.freeddns.org/add, Content-Length=77, Content-Type=application/json, Forwarded=for=<IP_ADDRESS>;host=routes-camelk.apps.ocp4.openshift.freeddns.org;proto=http, Host=routes-camelk.apps.ocp4.openshift.freeddns.org, User-Agent=curl/7.61.1, X-Forwarded-For=<IP_ADDRESS>, X-Forwarded-Host=routes-camelk.apps.ocp4.openshift.freeddns.org, X-Forwarded-Port=80, X-Forwarded-Proto=http}, BodyType: byte[], Body: {  "docName":"camel-k-document", "docContent":"from Camel K secret content" }]
[2] 2021-01-15 08:49:04,342 INFO  [fo2] (vert.x-eventloop-thread-1) Exchange[Id: EB212E2B1E69FF2-0000000000000000, ExchangePattern: InOnly, Properties: {CamelToEndpoint=log://fo2?showAll=true}, Headers: {Accept=text/plain, CamelHttpMethod=POST, CamelHttpPath=/add, CamelHttpQuery=null, CamelHttpRawQuery=null, CamelHttpUri=/add, CamelHttpUrl=http://routes-camelk.apps.ocp4.openshift.freeddns.org/add, Content-Length=77, Content-Type=application/json, Forwarded=for=<IP_ADDRESS>;host=routes-camelk.apps.ocp4.openshift.freeddns.org;proto=http, Host=routes-camelk.apps.ocp4.openshift.freeddns.org, User-Agent=curl/7.61.1, X-Forwarded-For=<IP_ADDRESS>, X-Forwarded-Host=routes-camelk.apps.ocp4.openshift.freeddns.org, X-Forwarded-Port=80, X-Forwarded-Proto=http}, BodyType: byte[], Body: {  "docName":"camel-k-document", "docContent":"from Camel K secret content" }]
[2] 2021-01-15 08:49:04,350 INFO  [fo3] (vert.x-eventloop-thread-1) Exchange[Id: EB212E2B1E69FF2-0000000000000000, ExchangePattern: InOnly, Properties: {CamelToEndpoint=log://fo3?showAll=true}, Headers: {Accept=text/plain, CamelHttpMethod=POST, CamelHttpPath=/add, CamelHttpQuery=null, CamelHttpRawQuery=null, CamelHttpUri=/add, CamelHttpUrl=http://routes-camelk.apps.ocp4.openshift.freeddns.org/add, Content-Length=77, Content-Type=application/json, Forwarded=for=<IP_ADDRESS>;host=routes-camelk.apps.ocp4.openshift.freeddns.org;proto=http, Host=routes-camelk.apps.ocp4.openshift.freeddns.org, User-Agent=curl/7.61.1, X-Forwarded-For=<IP_ADDRESS>, X-Forwarded-Host=routes-camelk.apps.ocp4.openshift.freeddns.org, X-Forwarded-Port=80, X-Forwarded-Proto=http}, BodyType: com.google.gson.internal.LinkedTreeMap, Body: {docName=camel-k-document, docContent=from Camel K secret content}]
[2] 2021-01-15 08:49:04,394 INFO  [add] (vert.x-eventloop-thread-1) got request Camel K camel-k-document
[2] 2021-01-15 08:49:04,397 WARN  [org.apa.cam.imp.eng.DefaultReactiveExecutor] (vert.x-eventloop-thread-1) Error executing reactive work due to org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.google.gson.internal.LinkedTreeMap to the required type: java.nio.ByteBuffer with value {docName=camel-k-document, docContent=from Camel K secret content}. This exception is ignored.: java.lang.RuntimeException: org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: com.google.gson.internal.LinkedTreeMap to the required type: java.nio.ByteBuffer with value {docName=camel-k-document, docContent=from Camel K secret content}

I had a look at this and I think there may be an issue with the underlying Camel component. Having a quick look at the code, it seems the dataformat is creating a Map with the unmarshal operation. Then, the Vert.x components is trying to force the conversion from a Map to a ByteBuffer, and here it fails as I suppose there is no available converter.

Working to a resolution with https://issues.apache.org/jira/browse/CAMEL-16906

Fixed on Camel 3.11.3 and 3.12.0. We should be able to get this working when moving to those versions.

Fixed jackson json in 1.7. Tested with:
// camel-k: language=java dependency=camel-jackson

import org.apache.camel.builder.RouteBuilder;

public class Route extends RouteBuilder {
  @Override
  public void configure() throws Exception {

    this.getContext().getGlobalOptions().put("CamelJacksonEnableTypeConverter", "true");

    from("platform-http:/hello?httpMethodRestrict=GET").
         setBody(simple("{\"hello\": \"world\"}"))
         .unmarshal().json()
         .log(" ${body.get('hello')}");
  }
}
...
[1] 2021-11-16 10:51:36,173 INFO  [io.quarkus] (main) camel-k-integration 1.7.0 on JVM (powered by Quarkus 2.4.0.Final) started in 5.172s. Listening on: http://<IP_ADDRESS>:8080
[1] 2021-11-16 10:51:36,173 INFO  [io.quarkus] (main) Profile prod activated.
[1] 2021-11-16 10:51:36,174 INFO  [io.quarkus] (main) Installed features: [camel-attachments, camel-bean, camel-core, camel-jackson, camel-java-joor-dsl, camel-k-core, camel-k-runtime, camel-platform-http, cdi, smallrye-context-propagation, vertx]
[1] 2021-11-16 10:51:54,123 INFO  [route1] (executor-thread-0)  world

@squakez I think it would be helpful to show how to enable the CamelJacksonEnableTypeConverter in the YAML DSL. I know it would be for me ;)

Please, feel free to open a new issue with any new request.


refactor(package): change distribution to support main, module, es201…

…5 keys in package.json
The structure created by the build_all in this PR is different from the current one. There's now directories by language/package format. Everything gets built into dist as it already did, but then instead of publishing the cjs folder, we will now publish the package folder.
In here you will find folders for cjs, esm5, and esm15. The esmX folders represent ECMAScript Modules and the language level (es5 or es2015). cjs is exactly as it used to be (CommonJS format in es5 language level).
There is also a global folder (same as before) holding the UMD bundles. And a src directory with the TypeScript sources.
In order to support deep imports in all language levels, every file in the package has it's own package.json file that's dynamically generated in the .make-packages.js file.

We do have scoped package https://www.npmjs.com/package/@reactivex/rxjs for shipping all packges at once, while it currently doesn't have native ES module packages yet. (We did once and stopped, will do again with refined codes)
I don't think we'll going to change pkg publishing in rxjs. It was intentionally created for CJS only and it'll be.

@kwonoj So the point on this PR is to distribute different formats, while keeping support for deep imports. This way tools like Webpack will pick up the ESM files and will produce significantly smaller application bundles. CJS format is great for Node obviously, but Webpack and Rollup have a hard time optimizing it, therefore this format will allow both to co-exist.
I probably should have given a bit more background. I've been working with @benlesh to come up with some way to distribute Rx where we don't break existing applications (deep imports), but also supports optimizations through ESM format. This seems to be the solution that works.

thx for explanation. I'll leave this to @benlesh for primary review and will try to have some more context in core metings.

@kwonoj I've worked with @jasonaden to try to get this PR right. The outcome is the best we can hope for with current technology stacks/build systems, I think. People should experience some decent code size reductions if they're using Rollup or Webpack properly with this new way of distributing the code.
Merging this (dispite the dangerjs complaints) ahead of the 5.5 release.

@benlesh yeah I'm fine, 👍


Error types

When would an error happen? what is the situation and what are the chances for it to happen? In which cases?

An error can occur if the user doesn't give access to the clipboard or the browser doesn't support it.


Accept SSH options from environment variable

tmt starts with a default, hardcoded set of SSH options. Then, user may now use environment variables to provide additional SSH options, possibly overriding the default ones. And, finally, provision step phases may provide additional SSH options, specific for the given guest.
Pull Request Checklist

[x] implement the feature
[x] write the documentation
[x] extend the test coverage
[x] mention the version
[x] include a release note

Might help with #2744

This patch works for me:
export TMT_SSH_ServerAliveInterval=60
-oServeraliveinterval=60 appended to the ssh options :
Run command: ssh -oForwardX11=no -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oConnectionAttempts=5 -oConnectTimeout=60 -oServerAliveInterval=5 -oServerAliveCountMax=60 -oServeraliveinterval=60 .....


pdns-recursor: 4.1.13 -> 4.1.14

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pdns-recursor/versions.
meta.description for pdns-recursor is: '"A recursive DNS server"'.
meta.homepage for pdns-recursor is: '"https://www.powerdns.com/"

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 4.1.14 with grep in /nix/store/7254k7csrpvwabbi1figvngq0k48ra11-pdns-recursor-4.1.14
directory tree listing: https://gist.github.com/76c05e2fd46be9e10604bf17b31e1f67
du listing: https://gist.github.com/72e26ec27bdf76b647e99bcf7e8bd6a9

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pdns-recursor

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7254k7csrpvwabbi1figvngq0k48ra11-pdns-recursor-4.1.14 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A pdns-recursor https://github.com/r-ryantm/nixpkgs/archive/7f794bca5b4989f01074bac9c852ef9fbd179a6a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7254k7csrpvwabbi1figvngq0k48ra11-pdns-recursor-4.1.14
ls -la /nix/store/7254k7csrpvwabbi1figvngq0k48ra11-pdns-recursor-4.1.14/bin

cc @rnhmjoj for testing.

@GrahamcOfBorg test pdns-recursor


Cannot use it in Xcode13, macOS 12

ld: warning: Could not find or use auto-linked library 'ssh2'
Undefined symbols for architecture x86_64:
"_libssh2_agent_connect", referenced from:
_$s5Shout5AgentC7connectyyKF in Agent.swift.o
"_libssh2_agent_disconnect", referenced from:
_$s5Shout5AgentCfd in Agent.swift.o
"_libssh2_agent_free", referenced from:
_$s5Shout5AgentCfd in Agent.swift.o
"_libssh2_agent_get_identity", referenced from:
_$s5Shout5AgentC11getIdentity4lastAC9PublicKeyCSgAH_tKF in Agent.swift.o
"_libssh2_agent_init", referenced from:
_$s5Shout5AgentC8cSessionACs13OpaquePointerV_tKcfc in Agent.swift.o
"_libssh2_agent_list_identities", referenced from:
_$s5Shout5AgentC14listIdentitiesyyKF in Agent.swift.o
"_libssh2_agent_userauth", referenced from:
_$s5Shout5AgentC12authenticate8username3keySbSS_AC9PublicKeyCtF in Agent.swift.o
"_libssh2_channel_close", referenced from:
_$s5Shout7ChannelC5closeyyKF in Channel.swift.o
"_libssh2_channel_free", referenced from:
_$s5Shout7ChannelCfd in Channel.swift.o
"_libssh2_channel_get_exit_status", referenced from:
_$s5Shout7ChannelC10exitStatuss5Int32VyF in Channel.swift.o
"_libssh2_channel_open_ex", referenced from:
_$s5Shout7ChannelC16createForCommand8cSessionACs13OpaquePointerV_tKFZ in Channel.swift.o
"_libssh2_channel_process_startup", referenced from:
_$s5Shout7ChannelC4exec7commandySS_tKF in Channel.swift.o
"_libssh2_channel_read_ex", referenced from:
_$s5Shout7ChannelC8readDataAA18ReadWriteProcessorO0E6ResultOyF in Channel.swift.o
"_libssh2_channel_request_pty_ex", referenced from:
_$s5Shout7ChannelC10requestPty4typeySS_tKF in Channel.swift.o
"_libssh2_channel_send_eof", referenced from:
_$s5Shout7ChannelC7sendEOFyyKF in Channel.swift.o
"_libssh2_channel_wait_closed", referenced from:
_$s5Shout7ChannelC10waitClosedyyKF in Channel.swift.o
"_libssh2_channel_wait_eof", referenced from:
_$s5Shout7ChannelC7waitEOFyyKF in Channel.swift.o
"_libssh2_channel_write_ex", referenced from:
$s5Shout7ChannelC5write4data6length2toAA18ReadWriteProcessorO0H6ResultO10Foundation4DataV_Sis5Int32VtFs0J0OySiAA8SSHErrorVGSWXEfU in Channel.swift.o
"_libssh2_init", referenced from:
_$s5Shout7SessionC10initResult33_E47B0AB8180088EC3B1503AA6C6E936FLL_WZ in Session.swift.o
"_libssh2_scp_send64", referenced from:
_$s5Shout7ChannelC12createForSCP8cSession8fileSize10remotePath11permissionsACs13OpaquePointerV_s5Int64VSSAA15FilePermissionsVtKFZ in Channel.swift.o
"_libssh2_session_free", referenced from:
_$s5Shout7SessionCfd in Session.swift.o
"_libssh2_session_get_blocking", referenced from:
_$s5Shout7SessionC8blockings5Int32Vvg in Session.swift.o
"_libssh2_session_handshake", referenced from:
_$s5Shout7SessionC9handshake4overy6SocketAFC_tKF in Session.swift.o
"_libssh2_session_init_ex", referenced from:
_$s5Shout7SessionCACyKcfc in Session.swift.o
"_libssh2_session_last_errno", referenced from:
_$s5Shout8SSHErrorV15mostRecentError7session13backupMessageACs13OpaquePointerV_SStFZ in SSHError.swift.o
"_libssh2_session_last_error", referenced from:
_$s5Shout8SSHErrorV4kind7session13backupMessageA2C4KindO_s13OpaquePointerVSStc33_36A87DA783DEB00A06E7AF49F9616525LlfC in SSHError.swift.o
"_libssh2_session_set_blocking", referenced from:
_$s5Shout7SessionC8blockings5Int32Vvs in Session.swift.o
"_libssh2_sftp_close_handle", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLCfd in SFTP.swift.o
"_libssh2_sftp_init", referenced from:
_$s5Shout4SFTPC7session8cSessionAcA0D0C_s13OpaquePointerVtKcfc in SFTP.swift.o
"_libssh2_sftp_mkdir_ex", referenced from:
$s5Shout4SFTPC15createDirectoryyySSKFs5Int32VSPys4Int8VGXEfU in SFTP.swift.o
"_libssh2_sftp_open_ex", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC8cSession04sftpL010remotePath5flags4mode8openTypeAFs13OpaquePointerV_ANSSs5Int32VA2PtKcfc in SFTP.swift.o
"_libssh2_sftp_read", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC4readAA18ReadWriteProcessorO0M6ResultOyF in SFTP.swift.o
"_libssh2_sftp_readdir_ex", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC7readDiryAA18ReadWriteProcessorO0N6ResultOSo09_LIBSSH2_B11_ATTRIBUTESVzF in SFTP.swift.o
"_libssh2_sftp_rename_ex", referenced from:
$s5Shout4SFTPC6rename3src4dest8overrideySS_SSSbtKFs5Int32VSPys4Int8VGXEfU_AiLXEfU in SFTP.swift.o
"_libssh2_sftp_rmdir_ex", referenced from:
$s5Shout4SFTPC15removeDirectoryyySSKFs5Int32VSPys4Int8VGXEfU in SFTP.swift.o
"_libssh2_sftp_shutdown", referenced from:
_$s5Shout4SFTPCfd in SFTP.swift.o
"_libssh2_sftp_unlink_ex", referenced from:
$s5Shout4SFTPC10removeFileyySSKFs5Int32VSPys4Int8VGXEfU in SFTP.swift.o
"_libssh2_sftp_write", referenced from:
$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC5writeyAA18ReadWriteProcessorO0N6ResultO10Foundation4DataVFs0P0OySiAA8SSHErrorVGSWXEfU in SFTP.swift.o
"_libssh2_userauth_password_ex", referenced from:
_$s5Shout7SessionC12authenticate8username8passwordySS_SStKF in Session.swift.o
"_libssh2_userauth_publickey_fromfile_ex", referenced from:
_$s5Shout7SessionC12authenticate8username10privateKey06publicF010passphraseySS_S3SSgtKF in Session.swift.o
ld: symbol(s) not found for architecture x86_64

ld: warning: Could not find or use auto-linked library 'ssh2'
Undefined symbols for architecture x86_64:
"_libssh2_agent_connect", referenced from:
_$s5Shout5AgentC7connectyyKF in Agent.swift.o
"_libssh2_agent_disconnect", referenced from:
_$s5Shout5AgentCfd in Agent.swift.o
"_libssh2_agent_free", referenced from:
_$s5Shout5AgentCfd in Agent.swift.o
"_libssh2_agent_get_identity", referenced from:
_$s5Shout5AgentC11getIdentity4lastAC9PublicKeyCSgAH_tKF in Agent.swift.o
"_libssh2_agent_init", referenced from:
_$s5Shout5AgentC8cSessionACs13OpaquePointerV_tKcfc in Agent.swift.o
"_libssh2_agent_list_identities", referenced from:
_$s5Shout5AgentC14listIdentitiesyyKF in Agent.swift.o
"_libssh2_agent_userauth", referenced from:
_$s5Shout5AgentC12authenticate8username3keySbSS_AC9PublicKeyCtF in Agent.swift.o
"_libssh2_channel_close", referenced from:
_$s5Shout7ChannelC5closeyyKF in Channel.swift.o
"_libssh2_channel_free", referenced from:
_$s5Shout7ChannelCfd in Channel.swift.o
"_libssh2_channel_get_exit_status", referenced from:
_$s5Shout7ChannelC10exitStatuss5Int32VyF in Channel.swift.o
"_libssh2_channel_open_ex", referenced from:
_$s5Shout7ChannelC16createForCommand8cSessionACs13OpaquePointerV_tKFZ in Channel.swift.o
"_libssh2_channel_process_startup", referenced from:
_$s5Shout7ChannelC4exec7commandySS_tKF in Channel.swift.o
"_libssh2_channel_read_ex", referenced from:
_$s5Shout7ChannelC8readDataAA18ReadWriteProcessorO0E6ResultOyF in Channel.swift.o
"_libssh2_channel_request_pty_ex", referenced from:
_$s5Shout7ChannelC10requestPty4typeySS_tKF in Channel.swift.o
"_libssh2_channel_send_eof", referenced from:
_$s5Shout7ChannelC7sendEOFyyKF in Channel.swift.o
"_libssh2_channel_wait_closed", referenced from:
_$s5Shout7ChannelC10waitClosedyyKF in Channel.swift.o
"_libssh2_channel_wait_eof", referenced from:
_$s5Shout7ChannelC7waitEOFyyKF in Channel.swift.o
"_libssh2_channel_write_ex", referenced from:
$s5Shout7ChannelC5write4data6length2toAA18ReadWriteProcessorO0H6ResultO10Foundation4DataV_Sis5Int32VtFs0J0OySiAA8SSHErrorVGSWXEfU in Channel.swift.o
"_libssh2_init", referenced from:
_$s5Shout7SessionC10initResult33_E47B0AB8180088EC3B1503AA6C6E936FLL_WZ in Session.swift.o
"_libssh2_scp_send64", referenced from:
_$s5Shout7ChannelC12createForSCP8cSession8fileSize10remotePath11permissionsACs13OpaquePointerV_s5Int64VSSAA15FilePermissionsVtKFZ in Channel.swift.o
"_libssh2_session_free", referenced from:
_$s5Shout7SessionCfd in Session.swift.o
"_libssh2_session_get_blocking", referenced from:
_$s5Shout7SessionC8blockings5Int32Vvg in Session.swift.o
"_libssh2_session_handshake", referenced from:
_$s5Shout7SessionC9handshake4overy6SocketAFC_tKF in Session.swift.o
"_libssh2_session_init_ex", referenced from:
_$s5Shout7SessionCACyKcfc in Session.swift.o
"_libssh2_session_last_errno", referenced from:
_$s5Shout8SSHErrorV15mostRecentError7session13backupMessageACs13OpaquePointerV_SStFZ in SSHError.swift.o
"_libssh2_session_last_error", referenced from:
_$s5Shout8SSHErrorV4kind7session13backupMessageA2C4KindO_s13OpaquePointerVSStc33_36A87DA783DEB00A06E7AF49F9616525LlfC in SSHError.swift.o
"_libssh2_session_set_blocking", referenced from:
_$s5Shout7SessionC8blockings5Int32Vvs in Session.swift.o
"_libssh2_sftp_close_handle", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLCfd in SFTP.swift.o
"_libssh2_sftp_init", referenced from:
_$s5Shout4SFTPC7session8cSessionAcA0D0C_s13OpaquePointerVtKcfc in SFTP.swift.o
"_libssh2_sftp_mkdir_ex", referenced from:
$s5Shout4SFTPC15createDirectoryyySSKFs5Int32VSPys4Int8VGXEfU in SFTP.swift.o
"_libssh2_sftp_open_ex", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC8cSession04sftpL010remotePath5flags4mode8openTypeAFs13OpaquePointerV_ANSSs5Int32VA2PtKcfc in SFTP.swift.o
"_libssh2_sftp_read", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC4readAA18ReadWriteProcessorO0M6ResultOyF in SFTP.swift.o
"_libssh2_sftp_readdir_ex", referenced from:
_$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC7readDiryAA18ReadWriteProcessorO0N6ResultOSo09_LIBSSH2_B11_ATTRIBUTESVzF in SFTP.swift.o
"_libssh2_sftp_rename_ex", referenced from:
$s5Shout4SFTPC6rename3src4dest8overrideySS_SSSbtKFs5Int32VSPys4Int8VGXEfU_AiLXEfU in SFTP.swift.o
"_libssh2_sftp_rmdir_ex", referenced from:
$s5Shout4SFTPC15removeDirectoryyySSKFs5Int32VSPys4Int8VGXEfU in SFTP.swift.o
"_libssh2_sftp_shutdown", referenced from:
_$s5Shout4SFTPCfd in SFTP.swift.o
"_libssh2_sftp_unlink_ex", referenced from:
$s5Shout4SFTPC10removeFileyySSKFs5Int32VSPys4Int8VGXEfU in SFTP.swift.o
"_libssh2_sftp_write", referenced from:
$s5Shout4SFTPC10SFTPHandle030_A805FF59DB65CB363C18C7BCF30A7K1ELLC5writeyAA18ReadWriteProcessorO0N6ResultO10Foundation4DataVFs0P0OySiAA8SSHErrorVGSWXEfU in SFTP.swift.o
"_libssh2_userauth_password_ex", referenced from:
_$s5Shout7SessionC12authenticate8username8passwordySS_SStKF in Session.swift.o
"_libssh2_userauth_publickey_fromfile_ex", referenced from:
_$s5Shout7SessionC12authenticate8username10privateKey06publicF010passphraseySS_S3SSgtKF in Session.swift.o
ld: symbol(s) not found for architecture x86_64

Do u fix it ? Because i have the same problem

Likewise, any luck?

This is likely caused by compiling with headers from one libssh2 version, then linking a different one. I saw similar errors when my libraries were compiling with headers from Conan, then linking libraries installed by brew.
To solve this, I removed the brew-installed version.


Prevent crashes at shutdown by cleaning up pools

At shutdown there are sometimes crashes as some code somewhere is trying to check connections into a pool that is no longer alive. Removing pools in the terminate handler resolves this issue.

Good catch!


CSS

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

Story is complete and meets acceptance criteria.


fix chart nil issue

Signed-off-by: yxxhero<EMAIL_ADDRESS>
What this PR does / why we need it:
fix https://github.com/helm/helm/issues/9912
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

closed by https://github.com/helm/helm/pull/1349


Variable details can not be retrieved, if variable value is record id,

Describe the bug
Variable details can not be retrieved, if variable value is record,
To Reproduce
Steps to reproduce the behavior:

use the following queries, and variables

{
    "man1":"manufacturer:man1"
}

insert into manufacturer [
    {
        "id":"manufacturer:man1",
        "name":"man1",
        "product":"Amoxicillin"
    },
    {
        "id":"manufacturer:man2",
        "name":"man2",
        "product":"Diclofenac"
    },
    {
        "id":"manufacturer:man3",
        "name":"man3",
        "product":"Metoprolol"
    }
];

select name, product from "manufacturer:man1";

select name, product from $man1;

The first two queries work, 3rd query returns null.

Expected behavior
the query must return the result, when the variable value is a record id,
Environment (you can view the current version under Settings):

Operating System [e.g. Windows]: 11
Surrealist Version [e.g. 1.2.0]: 1.10.1
SurrealDB Version [execute "surreal version"]: 1.0.0

same here, variables seem not work in my latest version
I recompile surrealist right now with current code from this repository and now it works flawless :)
Version 1.10.1 by Starlane Studios
you can rebuild or download latest version
and try with a simple query only with variable
$user
and
add in variables
{ "user": "koakh" }
result will be
[   "koakh"  ]
in the past here we don't have any result
this app is awesome, I love it

still, it is not resolved. variables returns null if it is a record id

I confirm variables returns null if it is a record id
even when query $man1; returns `[ "manufacturer:man1" ]