Added Profile Page, My Orders Page, User & Product Details Modification Pages

Added Profile Page, My Orders Page, User & Product Details viewing & Modification Pages

hvhgvh


No need to write a const_assert RFC (at most it would be syntactic sugar)

The future section in Multiple of 8 const assertion talks about creating a const_assert rfc.
The already accepted rfc for assertions in constants is this one,
which combined with const_wildcard would allow doing const assertions outside of any item.
Example of how it will look once both RFCS are fully implemented:
const _:()=assert!(SIZE % 8 == 0, "total size is required to be a multiple of 8 bits");

Thanks for bringing this up. From skimming those two RFCs, I don't get the impression that const _: () = assert!(...) would be a sufficient solution. I think it would hit the behavior described under First attempt of consts not being evaluated during cargo check.

Doing cargo check with this code:
#![feature(underscore_const_names)]
macro_rules! require_multiple_of_eight {
    ($e:expr) => {
        const _: () = [()][$e % 8];
    };
}

require_multiple_of_eight!{10}

Causes this error message (in both stable and nightly Rust):
error: any use of this value will cause an error
  --> src/lib.rs:4:23
   |
4  |           const _: () = [()][$e % 8];
   |           --------------^^^^^^^^^^^^-
   |                         |
   |                         index out of bounds: the len is 1 but the index is 2
...
8  | / require_multiple_of_eight!{
9  | |     10
10 | | }
   | |_- in this macro invocation
   |
   = note: #[deny(const_err)] on by default

Are you saying that it might stop producing that error at some point?
Also,const_assert is one of the motivations for the const_wildcard RFC.

Please see #6. Let's reopen if the compiler implementation goes in the right direction to make const _ usable for this purpose.


Supporting floating IP for Secondary CA of the VM Interface in Load Balancer

There seems to be a limitation that Floating IP only works with the Primary IPconfig of the Network Interface of the VM and not for the secondary ones. The documentation mentions only about the Outbound SNAT flows in the limitation but it doesn't really work with the inbound flows as well. Request you to add this limitation in the documentation for reference.

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

ID: 18af85d1-49ae-b6ba-dee9-56d5aff977b2
Version Independent ID: c14ce560-9cdd-e4af-a0d8-f8541a6c3659
Content: Multiple frontends - Azure Load Balancer
Content Source: articles/load-balancer/load-balancer-multivip-overview.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

@harryvinod2608 , thank you for your feedback. We'll review this and get back to you shortly.

@harryvinod2608 , thank you for your suggestion. I have researched on some support cases and backend team updates and it seems to be correct that if the customers need the floating IP behaviour for inbound flows, they need to use primary IPconfig for now. Hence, we have assigned this to the content owner/author for review.
@asudbring , I have sent you an email with all the relevant details. Could you please review the suggestion and provide your inputs?

Please use: http://aka.ms/lbuservoice for feature asks.
#please-close


Fix broken asset links

Carrie got an email from Accounts Payable reporting some broken links on their page. After digging into it, I found a few more. I figured I would make an issue to discuss around if further work should need to occur around the topic.
There is a full list of the previously broken links below, and their new locations, which have been updated in the CMS. These three links were not able to be recovered, since they were still pointing at the old risd.edu file structure.

http://www.risd.edu/uploadedFiles/RISD_edu/Students/Public_Safety/ncpc.pdf
http://www.risd.edu/uploadedFiles/RISD_edu/Students/Policies/Conduct/EthicsPoint-FAQ-020912.pdf
http://www.risd.edu/uploadedFiles/RISD_edu/Students/Policies/Conduct/RISD_Whistleblower_Process.pdf

Successful links created.
previously broken link: http://info.webhook.org/webhook-uploads/1462891464401/sade_course_catalog_list_2016_2017.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508550116240_sade_course_catalog_list_2016_2017.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1458305290813/risd_final_2016ss.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434822660_risd_final_2016ss.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1485444299690/risd_rides_route_1.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434830189_risd_rides_route_1.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1485444355871/risd_rides_route_2.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434831123_risd_rides_route_2.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1484933200810/wyndham.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434829410_wyndham.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1485986924715/partner_hotel_quick_reference_sheet_for_distribution_with_travel_portal_instrs_2017.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434831918_risd_partner_hotels_quick_reference_sheet_9_13_17.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1473438354305/uhcg_scholastic_insurance_id_card_risd.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434828454_uhcg_scholastic_insurance_id_card_risd.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1467815626104/how_to_proactively_safeguard_your_apple_mac_computer.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434824890_how_to_proactively_safeguard_your_apple_mac_computer.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1467815737347/how_to_proactively_safeguard_your_windows_computer.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434825778_how_to_proactively_safeguard_your_windows_computer.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1442598540096/Pantry2U.xlsx
new active link: https://cdn.risd.systems/webhook-uploads/1508435077374_Pantry2U.xlsx
previously broken link: http://info.webhook.org/webhook-uploads/1462204605508/honorarium_request_domestic_112315-2.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508550568949_honorarium_request_domestic_112315-2.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1441987278311/RISD Independent Contractor Checklist FINAL.doc
new active link: https://cdn.risd.systems/webhook-uploads/1508434806520_RISD%2520Independent%2520Contractor%2520Checklist%2520FINAL.doc
previously broken link: http://info.webhook.org/webhook-uploads/1453475237701/14-15_facultystaffguide_rev.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434814891_14-15_facultystaffguide_rev.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1453478508298/newaaweb_brochure.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434815919_newaaweb_brochure.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1453993915863/accommodation_request_timeline.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434816784_accommodation_request_timeline.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1453994332693/application_for_services.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434817652_application_for_services.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1453994624450/support_animals.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434819349_support_animals.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1486571055384/parking_appeals.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434837667_parking_appeals.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1486571366849/parking_spaces_map.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508435033790_parking_spaces_map.pdf
previously broken link: http://info.webhook.org/webhook-uploads/1486572492211/risd_parking_permit_rates.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434838573_risd_parking_permit_rates.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1443018344010/BEB MODEL SHOP AND LASER CUTTER SCHEDULE  2015.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434873238_BEB%2520MODEL%2520SHOP%2520AND%2520LASER%2520CUTTER%2520SCHEDULE%2520%25202015.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1504709642491/travel_and_expense_form_9_6_17.xlsx
new active link: https://cdn.risd.systems/webhook-uploads/1508434841256_travel_and_expense_form_9_6_17.xlsx
previously broken link: http://info.risd.edu/webhook-uploads/1441734335142/RISD Campus Basemap (3)-1.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508550768435_RISD%2520Campus%2520Basemap%2520(3)-1.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1492001315671/sade_course_list_2017_2018.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434823819_sade_course_list_2017_2018.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1442600108281/Pizza Delivery Menu.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508435013401_Pizza%2520Delivery%2520Menu.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1472734272010/alcohol_use_and_regulations_form.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434827432_alcohol_use_and_regulations_form.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1478030625432/installation_permit_4_22_15.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508550972948_installation_permit_4_22_15.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1457314222049/e-procurement_shopping_guide.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434821805_e-procurement_shopping_guide.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1504804392756/risd_rides_map.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434849143_risd_rides_map.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1507308949612/insurance_requirements_for_vendors_10_6_17.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434851655_insurance_requirements_for_vendors_10_6_17.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1502721723044/risd_international_assistance_insurance_id_card.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434847397_risd_international_assistance_insurance_id_card.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1504273247624/student_work_authorization_form_instructions.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434848247_student_work_authorization_form_instructions.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1506353785559/final_catering_menu_2017_9_25_17.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434849987_final_catering_menu_2017_9_25_17.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1442597925778/cake_orderform.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508435076152_cake_orderform17-18.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1440792763597/Student Employment Handbook 15-16.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508551599128_Student%2520Employment%2520Handbook%252015-16.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1475261507451/100116.Menu for Web.pdf
new active link: https:https://my.risd.edu/pre_college/dining_locator/index
previously broken link: http://info.risd.edu/webhook-uploads/1474076453861/risd_code_of_conduct_2017_final.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434810879_risd_code_of_conduct_2017_final.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1478703506127/independent_contractor_form_updated_11_8_16.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434807377_independent_contractor_form_updated_11_8_16.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1498486467934/list_of_vendors_6_26_17.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434820977_list_of_vendors_6_26_17.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1508420780804/504_grievance_policy_updated_10_17_2017.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434818491_504_grievance_policy_updated_10_17_2017.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1486180847412/personal-alarms.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434832749_personal-alarms.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1486570544191/bicycle_scooter_registration.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508435107535_bicycle_scooter_registration.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1486183398245/operation_id.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434834394_operation_id.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1486183448570/national_crime_prevention_council.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434835212_national_crime_prevention_council.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1486183503872/redcross-training.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434835993_redcross-training.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1494251349862/payment_request_form_5_8_17.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434843060_payment_request_form_5_8_17.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1493835231853/honoriarium_payment_request_form.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434808149_honoriarium_payment_request_form.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1491405029348/tax_exempt_certificate_ri.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434840193_tax_exempt_certificate_ri.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1493832473776/tax_exemption_ma.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434843868_tax_exemption_ma.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1493832570020/tax_exemption_ny.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434844670_tax_exemption_ny.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1442252859831/tax_exemption_certificate_multi-jurisdictional.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508435089759_tax_exemption_certificate_multi-jurisdictional.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1493833259759/risd_w_9.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434845460_risd_w_9.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1493833352335/501c3.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434846545_501c3.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1491400365991/contract_authorization_form_final_april_2017.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434839410_contract_authorization_form_final_april_2017.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1506612306432/the_allied_group_stationery_ordering_guide.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434850823_the_allied_group_stationery_ordering_guide.pdf
previously broken link: http://info.risd.edu/webhook-uploads/1505318573869/risd_partner_hotels_quick_reference_sheet_9_13_17.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434831918_risd_partner_hotels_quick_reference_sheet_9_13_17.pdf
previously broken link: http://www.risd.edu/uploadedFiles/RISD_edu/Students/Public_Safety/bike-registration.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434833572_bike-registration.pdf
previously broken link: http://www.risd.edu/uploadedFiles/RISD_edu/Students/Public_Safety/operationID.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434834394_operation_id.pdf
previously broken link: http://www.risd.edu/uploadedFiles/RISD_edu/Students/Public_Safety/redcross-training.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508434835993_redcross-training.pdf
previously broken link: http://www.risd.edu/uploadedFiles/RISD_edu/Students/Public_Safety/parking_spaces_map.pdf
new active link: https://cdn.risd.systems/webhook-uploads/1508435033790_parking_spaces_map.pdf

I went through each link here - verifying that it was currently, purposefully, being linked to on info.risd.edu. Any links pulling up out-dated versions of forms, documents, etc. were deleted from GCP. This can now be closed.


Feature request: service lookup & Singleton

1: Does this framework ensure singleton instance?
2: Support service lookup:
There is scenario that we just want to get a service when in a function call but I dont want to new a new instance of the target service.
in java ecosystem the famous springboot support above features.
I am choosing a DI framework for my project and find I need above two features. the case is
** source code**
interface A {
  M1()
  M2()
}
var _ A = (*ImplA)(nil)
struct ImplA {
}

func NewImplaA() {
}
....

but right now I want to test another function which depends on the interface(ImplA) with Mock.  if this framework can supply above  features than I can inject a mocked implementation and then the tested method can looup the mock object.

1- You can call Invoke[ImplA](injector) many times, and the same instance will be returned (singleton)
2- See https://github.com/samber/do#cloning-injector


Acknowledge required?

Do I require some formal acknowledge for using this template for presentation inside the university?, and if that is the case what would be the correct format?
By the way, I will mention during the presentation the usage of this awesome template. I just want to know if there is a formal way for doing so.
PS: Thank you very much for this great work

Do I require some formal acknowledge for using this template for presentation inside the university?, and if that is the case what would be the correct format?
No. Just follow the template (cover page, title page, and don't change the color scheme).
By the way, I will mention during the presentation the usage of this awesome template. I just want to know if there is a formal way for doing so.
Nah, just put the link :P Thanks for using and share  :)


Remove failing checks from acceptance tests

We need to wait until the Stackit guys are back to see how the API should work, as the spec currently looks inconsistent. For now, it doesn't seem necessary to fail acceptance tests because of these checks.

Johann is working on a PR that incorporates these changes.


[BUG] SemanticsNode tried to set a non-finite rect

Hello,
i'm receiving the following error when attempting to animate a button inside a CustomScrollView with slivers.
The following assertion was thrown during a scheduler callback:
SemanticsNode#5(Rect.fromLTRB(1.0, 1.0, 392.0, 18.0), tags: [RenderViewport.twoPane], label: "hello", textDirection: ltr) (with SemanticsOwner#0852b) tried to set a non-finite rect.
'package:flutter/src/semantics/semantics.dart':
Failed assertion: line 1605 pos 12: 'value.isFinite'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack:
#2      SemanticsNode.rect= (package:flutter/src/semantics/semantics.dart:1605:12)
#3      _SwitchableSemanticsFragment.compileChildren (package:flutter/src/rendering/object.dart:4223:11)
#4      _SwitchableSemanticsFragment.compileChildren (package:flutter/src/rendering/object.dart:4235:16)
#5      RenderObject._updateSemantics (package:flutter/src/rendering/object.dart:3159:25)
#6      PipelineOwner.flushSemantics (package:flutter/src/rendering/object.dart:1221:16)
#7      RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:518:21)
#8      WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:884:13)
#9      RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#10     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#11     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1104:9)
#12     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#13     _invoke (dart:ui/hooks.dart:148:13)
#14     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
#15     _drawFrame (dart:ui/hooks.dart:115:31)
(elided 2 frames from class _AssertionError)
====================================================================================================

Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.2, on macOS 12.6.1 21G217 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.74.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
Steps to Reproduce
I've created a gist here that reproduces the exception:
https://gist.github.com/hhoang/2c54c8b13d9a88d0c74972cdb05869ea
Screen recording of the issue:
https://user-images.githubusercontent.com/482679/222529254-9bc8b02d-539e-4af0-9538-2c9b93c6351a.mov

Thanks for the report @hhoang
Running your code sample on latest master gives me same exception as reported. Although if you see the log, it says
`label: "hello", textDirection: ltr) (with SemanticsOwner#0e769) tried to set a non-finite rect.
'package:flutter/src/semantics/semantics.dart':
Failed assertion: line 1712 pos 12: 'value.isFinite'

So looking at your code implementation, you are passing cacheExtent: double.maxFinite, which seems to be causing the exception. If you pass cacheExtent: double.minPositive, then the exception doesn't occur which satisfies the assertion 'value.isFinite' and see if it helps to serve the purpose.
You may read about the usage and working of cacheExtent here for further reference https://api.flutter.dev/flutter/rendering/RenderViewportBase/cacheExtent.html

thanks @darshankawar  setting it to minPositive resolves the exception. However I am confused since maxFinite seems to imply that the value is finite, which should also satisfy the assertion value.isFinite.
My concern is that changing this would negatively impact the scrolling behavior of my list.

Thanks for the feedback. Considering that the error log prompts to file an issue, I'll reopen it and label for team's attention, as, I do see the same assertion failure on latest versions per my earlier comment.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c07f788888 (7 days ago), 2023-02-22 17:52:33 -0600
    • Engine revision 0f359063c4
    • Dart version 2.19.2
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.9.0-1.0.pre.49, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.9.0-1.0.pre.49 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 95387c6621 (28 hours ago), 2023-03-04 16:59:14 -0800
    • Engine revision de724e2632
    • Dart version 3.0.0 (build 3.0.0-290.0.dev)
    • DevTools version 2.22.2
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I agree that this should probably work. On the other hand, making the cacheExtent essentially infinite torpedoes the advantages of using a customScrollView. It implies that the entire list should be laid out. If that's really whats intended then it would be simpler to just create a SingleChildScrollView with a Column child.

I have a similar issue but nowhere have I set cacheExtent. I'm working on making a minimal example, but meanwhile is there anything that I should be looking at?


The fine-tuning training process

Hello, it's a great work. The paper mentions several mask schemes in training processes could you open-sourced training process? Thanks.😀

@xiaobingbuhuitou: I have the same question, but found that the thread was closed with no further feedback. Have you been able to figure out how to acquire the codes of finetuning process?
Many thanks!


Activity LED always solid green?

I noticed on my BliKVM, the ACT LED is always solid green; it doesn't seem to correctly indicate any status on the board. On other CM4 boards and the IO board, it seems to flash to indicate eMMC/microSD card access, but on the BliKVM it's always green when running the PiKVM image.
I noticed on the image it sets:
dtparam=act_led_gpio=13

Does that parameter need to be changed to make the LED work correctly?

Delete this code
dtparam=act_led_gpio=13
to make the LED work correctly

Hello, geerlingguy we receive many person test it ok. So we decide to close this issue.

@ThomasVon2021 - So the process for me was to log in via SSH as root, then:

rw to set read write mode
Edit /boot/config.txt
Delete dtparam=act_led_gpio=13 from the file and save
reboot to reboot immediately

Should this be added maybe on the Wiki under the Activity LED section?


Writing a empty line causes an error

Writing a empty line causes an error - something about putc() having an invalid character which looks like the \n.

Currently the system silently ignored the empty line

fixed in f0022


TypeScript 5.0 and decorators

seems promising https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators

Should I subscribe to this task to know when I can safely update to TS5?

my guess is you can update to TS5 and be fine but I've not looked into it.
The new decorator API seemed promising enough that I could change how custom graphql worked and make TS 5 a requirement at some point...


[Java] Add JDK 22 support

JDK 22 was released in March but the feature ghcr.io/devcontainers/features/java:1 with version set to latest only goes up to 21.

@prathameshzarkar9 Can you help take a look at this?  Thanks!

Hi @samruddhikhandale ,
Created a PR https://github.com/devcontainers/features/pull/1102
I have removed the get_jdk_distro function from install.sh as it was not being used correctly in the sequence of installing distro specific version until JDK_DISTRO is not passed as an argument with any specific value like: ms,tem etc.

Hi @samruddhikhandale ,
kindly review the changes done in this PR to install the latest jdk 22


Incompatibility issue of v1-config because of multilined array/hash format

In v1-config, we support multilined parameters for JSON array or hash format like:
param_array [
  "a",
  "b"
]
param_hash {
  "a":"a",
  "b":"b"
}

which is implemented at https://github.com/fluent/fluentd/blob/b20602b84e3eabc6cf97597bf2fff1916ec9df0a/lib/fluent/config/literal_parser.rb#L56-L59.
Yes, this is useful, but the new syntax makes plugins listed followings be broken (I looked all plugins at http://www.fluentd.org/plugins) because they use their own syntax starting by { or [ chars.

https://github.com/ephemeralsnow/fluent-plugin-eval-filter
https://github.com/y-ken/fluent-plugin-geoip
https://github.com/fukuiretu/fluent-plugin-json-nest2flat
https://github.com/haracane/fluent-plugin-pgdist
https://github.com/tomity/fluent-plugin-map (Added)

Hello,
Sorry to re-open this issue, but I don't know if it's only related to geoip plugin, or if there is a fix somewhere ?
Anyway, I'm still having an issue with it : https://github.com/y-ken/fluent-plugin-geoip/issues/16#issuecomment-103177819
I tried to put {...} but it fails to parse the json, and quoting or trying to escape doesn't work too.
I'm using td-agent 2.2.0.
Thanks

I commented on geoip issue and this case is your configuration uses wrong quote for json string.


Implementation of Reduced Model Analysis: Dynamics, Bifurcations.

Frameworks to calculate dynamics of the reduced model via numerical integration.
Fixed points - finding, stability analysis.
Periodic trajectory analysis.

Very nice work @evaisd
I made some adjustments to the figure aspect ratio. Other than that I think we are ready to merge.


Unable to remove a team

I'm unable to remove a team from my account using now teams rm <name>.
> Error! Please specify a valid subcommand: ls | add | rm | set-default

I've also been experiencing this for some time now. If you look at https://github.com/zeit/now-cli/blob/master/bin/now-teams.js#L128, you can see that there is not even a case (nor file) to handle rm or remove subcommands.
Tried searching git history for a bin/teams/remove.js or rm.js etc - looks like it has never existed? 😕 Or I'm guessing at the wrong file names.

@OlliV do you know the status of this?  Unable to now teams rm with version 7.3.0.

It's currently WIP.

Great, I'll watch this issue for updates.  Thanks much.

Hi guys. How is this going? Anyone knows?

This functionality is not yet supported, but coming 🔜!

Great, because I accidentally created an innecessary and duplicated name team, I have one in minus and one Capitalized, which sucks.
Thanks for fixing this soon @leo

Someone created 4 teams and it is hell to figure out WTF is going on. Where is this feature?

Yes, please let us remove teams!!

Yeah also wondering here, i have a few stale teams id like to get rid of

This is now possible from the dashboard.


Skip files with no-default-lib when '--skipDefaultLibCheck' and '--noLib' are used

Addresses #5510.

@DanielRosenwasser can you update please. i think this is blocking @alexeagle

No, not blocking, we have a workaround (return the ES5 stdlib from CompilerHost#getDefaultLibFilename)

@mhegazy check out my recent changes.

:+1:


Source the X509_CA_ENV_FILE in trafficops

What does this PR (Pull Request) do?
When I start up my TO container with trafficvault, the ssl keys aren't added correctly because the environment variables aren't sourced. Every other run file sources the env variables correctly, so I'm using them as a reference.
Which Traffic Control components are affected by this PR?

CDN in a Box

What is the best way to verify this PR?
rm -rf trafficops/ca
Make sure volumes are removed by checking docker volume ls
docker-compose build trafficops
variables.env:96: AUTO_SNAPQUEUE_ENABLED=false
docker-compose up -d trafficops trafficvault
docker-compose logs -f trafficops
The trafficops logs should output exec tail -f /dev/null and stop. If the logs loop forever it didn't start up correctly.
I am running a limited stack, but running the whole stack should also work the same.
If this is a bug fix, what versions of Traffic Ops are affected?

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary

I am doing what the other run files are doing, which should be sufficient. There isn't a "test" per-se, but there is a conditional to test if the env var was set.

[x] Documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3584/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3585/
Test FAILed.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/3588/
Test PASSed.

Closing because this PR solves the same issue: https://github.com/apache/trafficcontrol/pull/3508


prevent publish workflow from running on windows

if:  gets evaluated before matrix is applied, so this can't work


Update Teams ScubaGear code to align to revised baseline

💡 Summary
We made significant structural changes to the Teams baseline during Emerald. The ScubaGear code the policies  needs to be revised to align with the new baseline document. The order of couple policies have changed, while another policy has been divided into sub-policies. This issues to align the structure (policy IDs, group titles, etc.) with the baseline document.
Any new policies or policies that need a change of logic in the Rego code would be addressed through separate issues.
Implementation notes

[ ] Review the new Teams baseline
[ ]  Update code to place the policies into their appropriate new groups
[ ]  Reorder and Renumber the policies to match the baseline
[ ]  Delete any policies in the code that are no longer in the baseline document

Acceptance criteria
ScubaGear output for the Teams product should align with Teams baseline document - in terms of policy number, order, IDs, titles etc.

Impact to ScubaGear code - section 5 policies
Now that we've identified that there are some policies in section 5 that have multiple dependent configuration settings (namely the third-party apps and custom apps settings), we need to ensure that this is reflected in the ScubaGear code (if possible). Both AAD and Sharepoint/OneDrive have similar policy interdependency scenarios that are coded in some Rego policies.

For third party apps we've identified that in order to be able to configure a value for the "Global (Org-wide default)" Third-party apps setting, the "Org-wide app settings" Third-party apps must be configured to On. I believe if the "Org-wide app settings" Third-party apps is configured to Off, then the policy will automatically Pass and there is no need to check the "Global (Org-wide default)" configuration since it cannot override the other setting.
The same applies for the custom apps configuration settings.

Pinging @ahuynhMITRE as FYI.


Getting Failed prop type: Invalid prop children supplied to MenuItem, expected a ReactNode.

"material-ui": "^1.0.0-beta.41",
const questions = securityQuestions.map((q) =>
    <MenuItem
      key={q.id}
      value={q.id}
    >
      {q.question}
    </MenuItem>
  );

 <Select
       value={user.securityQuestion1.id}
       onChange={handleChange}
       inputProps={{
         id: 'security-question1',
       }}
  >
       {questions}
 </Select>

This was not happening in older version

OK, Closing this. I found what was wrong. Thanks.

And what was wrong? @iohcidnal

Please post the solution you found @iohcidnal


testground: experiment with celestia-app/celestia-node

After finishing #5 , we need to apply gained knowledge to our app/node products

Done with #23


[dy] Update server routes

Summary
Add routes

Tests

cc:

Can we add a route for /images as well?


{Perf} Delay importing MSIAuthenticationWrapper and check_version_compatibility

Description
Fix regressions introduced by

#14180, which unconditionally imports check_version_compatibility and requests
#14187, which unconditionally imports MSIAuthenticationWrapper and azure.core.credentials

This PR delays the imports and brings az version to its normal speed.
Testing Guide
> Measure-Command {az version}

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 627
Ticks             : 6275202
TotalDays         : 7.26296527777778E-06
TotalHours        : 0.000174311166666667
TotalMinutes      : 0.01045867
TotalSeconds      : 0.6275202
TotalMilliseconds : 627.5202

add to S173


*: Add golinter

Close #64
Signed-off-by: Ce Gao<EMAIL_ADDRESS>

I migrated the golint check from Kubernetes, and it allows some packages in .golint_failures fails the check.
Another option is gometalinter, and kubeflow uses this way. But I found that kube-arbitrator follows the k8s style gofmt check then I think gometalinter is not our first choice.
PTAL

/lgtm

overall, we follow k8s style for tools, as I'd like to get it merge to k8s/upstream in future :).


small tweaks to get it working under GNU/Linux

small tweaks to get it working under GNU/Linux

Quick question - I wrote it to work on MacOS/GNU/Linux (as native code). It's extremely easy to use C/Make on Linux; why bother patching the Python wrapper?

sorry, keep this on your version


Please add italian translation option on Crowdin

I'ld like to translate bch.info in italian

Option added https://crowdin.com/project/bchinfo, closing


Submission controller

Controller and views for submissions.

@ctlong Please review

@ggharry Reviewed and modified.

The rest looks good. Remember to rebase after merging #7 and merge.


Cannot find module 'follow-redirects'

Question
i get cannot find module 'follow--redirects' is there any way to fix it?

https://pastebin.com/UtwKJKkV pastebin of error
2019-06-26T14_12_52_299Z-debug.log

Hello @Karthik-MA,
I'm currently taking holidays, that explains my late answer. It seems your setup was not complete.


Suport of dimmer and self learning devices

In your Shop you describe the support of multiple devices, including dimmer and self learning devices.
Please support those in NodeRed.
Regards
Tim

Latest commit of RaspyRFM enables dim values via API. As of this version a JSON value can be injected to a RaspyRFM node in Node-RED, e.g.
{"command": 50}


Fix for setting and removing focus when using mouse.

Ensure focus is always sent up the chain of subviews.
Ensure that removed focus is sent down the chain of subviews.

Thanks for the patch!


Cannot use with multiple google accounts

Like others have mentioned, this has been my main app to handle multiple google accounts in mail, calendar and contacts. However, trying the workaround offered in this issue #2 with a customized app, I can only login to one google account at a time unlike the soon-to-be deprecated version.
Is there any update on whether the google authentication issues are prioritized or not?! I would hate to give up on an otherwise amazing tool!

Same issue here, is there any update?


Installing plugins fails since 6.2.x

Since trying to bake a 6.2.x version of of this container I can no longer install plugins, it fails with a mktemp: Invalid argument error.
FROM quay.io/pires/docker-elasticsearch-kubernetes:6.2.2

ENV NODE_NAME=""

RUN /elasticsearch/bin/elasticsearch-plugin install https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/<IP_ADDRESS>/elasticsearch-prometheus-exporter-<IP_ADDRESS>.zip

All ElasticSearch themselves all they have to say about this is that they do not support Alpine: https://github.com/elastic/elasticsearch/issues/28561
However it worked fine on version 6.1.3 of this container. The base docker-elasticsearch image inherits from quay.io/pires/docker-jre:8u151_cpufix for both versions, so it doesn't seem the version of Alpine has changed. Here's the Dockerfile that does work:
FROM quay.io/pires/docker-elasticsearch-kubernetes:6.1.3

ENV NODE_NAME=""

# Install Prometheus plug-in
RUN /elasticsearch/bin/elasticsearch-plugin install https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/<IP_ADDRESS>/elasticsearch-prometheus-exporter-<IP_ADDRESS>.zip

Any ideas what causes this and how it can be fixed?

I just saw in the elasticsearch issue that setting ES_TMPDIR should circumvent usage of mktemp. This works indeed:
FROM quay.io/pires/docker-elasticsearch-kubernetes:6.2.2

ENV NODE_NAME="" \
    ES_TMPDIR="/tmp"

# Install Prometheus plug-in
RUN /elasticsearch/bin/elasticsearch-plugin install https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/<IP_ADDRESS>/elasticsearch-prometheus-exporter-<IP_ADDRESS>.zip


Allow params attribute in decorators

To mimick the new feature introduced in click 8.1.0 can we allow cloup.command and cloup.group to accept a params argument?
See:

https://github.com/pallets/click/issues/2131
https://github.com/pallets/click/pull/2203

Actually this is already supported as long as you use click >= 8.1.0. But you'd probably get a mypy error. For some reason, all the overloads for cls: None do not include **kwargs. I  think there was a reason for that but I can't remember it now.

Thanks @janluke for the update. With the release of Cloup v1.0.0 I managed to refactor click-extra to use the declarative params= argument.


Display long title for divisions in backend relations instead of title

Division selector drop-down

Associating a match with a division or playoff group, requires you to select the correct one out of multiple similarly named divisions or groups. Specifying a season would resolve this problem for regular season games.
However for Championship and Cup matches this wouldn't solve much. E.g: You'd still need to guess which "Group A" belongs to the Championship or the Cup.
Potential future tournaments will also not have a season that they're associated with and probably run into similar problems as mentioned above with the groups from the Cup and the Championship.

May or may not be possible with the framework

For starters on creating a match, could you change nameFrom: title in plugins\rikki\heroeslounge\models\match\fields_on_create.yaml to something like the new nameFrom: overview_display_title and it would do what you want?  As in, will that be populated appropriately?  Or is there some way to reference a calculated field on the model rather than a db field?  And the calculated field be some method on the model plugins\rikki\heroeslounge\models\Match.php somehow?

Changing to nameFrom: overview_display_title would not work as not every division has this defined. You'd get a long list of blanks with two named Standings for the division S divisions. The OctoberCMS Documentation has the various things that would be possible. I think the best way to go about this is to probably create a custom dropdown instead of relying on the relation.


'NpzFile' object has no attribute 'zip'

I have processed the data, kaggleAdDisplayChallenge_processed.npz is generated,
Now I am trying to follow the instruction below
"The processed file (.npz) can be used for subsequent runs with --processed-data-file=<path/.npz>"
I am not sure if I correctly understand the meaning of this step. Anyway, I run it  with --processed-data-file=./input/kaggle/kaggleAdDisplayChallenge_processed.npz and got the following error.
python dlrm_s_pytorch.py --arch-sparse-feature-size=16 --arch-mlp-bot="13-512-256-64-16" --arch-mlp-top="512-256-1" --data-generation=dataset --data-set=kaggle --raw-data-file=./input/kaggle/train.txt --processed-data-file=./input/kaggle/kaggleAdDisplayChallenge_processed.npz --loss-function=bce --round-targets=True --learning-rate=0.1 --mini-batch-size=128 --print-freq=1024 --print-time --use-gpu | tee kaggle_pt.log
Traceback (most recent call last):
File "dlrm_s_pytorch.py", line 557, in
Using 4 GPU(s)...
Reading pre-processed data=./input/kaggle/kaggleAdDisplayChallenge_processed.npz
dp.make_criteo_data_and_loaders(args)
File "/root/dlrm/dlrm_data_pytorch.py", line 485, in make_criteo_data_and_loaders
args.memory_map
File "/root/dlrm/dlrm_data_pytorch.py", line 200, in init
with np.load(file) as data:
File "/root/miniconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 444, in load
pickle_kwargs=pickle_kwargs)
File "/root/miniconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 193, in init
_zip = zipfile_factory(fid)
File "/root/miniconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 119, in zipfile_factory
return zipfile.ZipFile(file, *args, **kwargs)
File "/root/miniconda3/lib/python3.7/zipfile.py", line 1258, in init
self._RealGetContents()
File "/root/miniconda3/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
Exception ignored in: <function NpzFile.del at 0x7efd349e3dd0>
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 230, in del
self.close()
File "/root/miniconda3/lib/python3.7/site-packages/numpy/lib/npyio.py", line 221, in close
if self.zip is not None:
AttributeError: 'NpzFile' object has no attribute 'zip'
I have no idea. Thanks for help.

I have not see this error before. I suspect that for some reason you have a corrupted .npz file.
The easiest way to run the code starting from raw data is to execute the following command ./bench/dlrm_s_criteo_kaggle.sh --test-freq=1024
Please make sure you remove all previously generated intermediate files prior to running it, and just have train.txt in your ./input directory. Let me know if it works for you.

I followed your suggestion to execute the following command. The training works.
./bench/dlrm_s_criteo_kaggle.sh --test-freq=1024
So seems like it is not necessary to do the data preparation as below.
"Please do the following to prepare the dataset for use with DLRM code:
First, specify the raw data file (train.txt) as downloaded with --raw-data-file=<path/train.txt>
This is then pre-processed (categorize, concat across days...) to allow using with dlrm code
The processed data is stored as .npz file in <root_dir>/input/.npz
The processed file (.npz) can be used for subsequent runs with --processed-data-file=<path/.npz>"
I looked at the code of dlrm_s_criteo_kaggle.sh, it does not have --use-gpu parameter. Will this cause the training too slow?

These command line arguments are passed to the model in the ./bench/dlrm_s_criteo_kaggle.sh, and the code will do the pre-processing automatically for you.
The shell script accepts an extra argument, so to run the model on GPU you can always write
export CUDA_VISIBLE_DEVICES=0
./bench/dlrm_s_criteo_kaggle.sh "--test-freq=1024 --use-gpu"

I'm assuming this is resolved. Closing.


Why Linux distros aren't ported to phones or tablets?

delete
Edit by @DenysVitali
The original question was the following (I don't know why the author decided to remove it):

Nice work man! With this project.
I wanted to know for quite some time why linux operating systems are not ported to phones or tablets with android like on they are on desktops and laptops. I know linux can run on various devices with different CPU architectures, I use linux daily, but why it is so hard to run some linux OS natively on android based device with linux kernel?
I know you can run linux on android with linux deploy, but not natively. Is it just because companies are not interested in porting linux to phones and tablets?
thx for reply

Why did you remove the question? It was interesting! I re-added the text you removed, there is nothing to be afraid of when asking such a nice question 😃

Why Linux operating systems are not ported to phones or tables (that normally ship) with Android like on the desktop and laptops

Well, there are many reasons behind that, and I don't think I still got them all, but here are a few:
Architecture
The most common Linux distros are made for i386 / amd64 (x86 / x64 processors), only a few of them decided to actively develop (or keep a branch) for mobile / other processors (namely, arm processors like the armv8 used in the Google Pixel C)
Whilst some distros are available for such processors, sometimes they are specifically made for specific devices (like the Raspberry Pi 3, which uses the same architecture). Unfortunately the mainline kernel doesn't yet contain the necessary Tegra (Tegra X1 is the chip used for both CPU and GPU, the same chip is used in the Nintendo Switch console) hacks / drivers. That's why Android keeps a Linux/Tegra repository, as well as other chip-specific repositories.
Wide diversity in the kernels
Unfortunately the Tegra chip isn't the only one that has got a custom repository with its own sources. This unfortunately is the result of having a ton of architectures / manufacturers and only a few upstreamed changes. Therefore, the mainline linux kernel (the one from where the various flavoured kernels come from) doesn't include these changes, thus distros don't have them.
That's the same reason on why your newly-updated Android O device still rocks a 3.10 kernel, instead of a mainline 4.13 one.
Marketing problems
Unfortunately, as of today, there isn't really a good alternative to Android.
There were and are some goods project to "port" or at least have a Linux distro running on a mobile device. Unfortunately none of them, except for maybe PostmarketOS, made it to the public / had a great success. Apparently, as of today, no one cares about having a Linux distro running on a smartphone / tablet, or simply they're not used to since big companies develop their own OSs without making them Open Source / by using a mainline kernel.
As of today, the only two "distros" I know of, that are quite compatible with any mobile device are Android and Chrome OS. Both of them still use Java for their apps, and don't provide a serious desktop experience as you would expect from any other distro
Then there is this project, which aims at providing a basic linux distro, based on Arch Linux for ARM, to be able to run anything on the powerful hardware of the Google Pixel C. Unfortunately there are still some problems and this goal may not be achieved without more help from the community / vendors / Google / whatever.

I use linux daily, but why it is so hard to run some linux OS natively on android based device with linux kernel?

For the previously exposed reasons 😞

I know you can run linux on android with linux deploy, but not natively. Is it just because companies are not interested in porting linux to phones and tablets?

I really suspect it is a marketing strategy. Unfortunately we still live in a "not-so-opensource world". I understand the reasons, but innovation isn't all made of proprietary software and licenses.
I hope in the future, we will be able to run anything on our OWN devices, without having to port / fix anything by ourself, but instead by simply dropping a CI generated img file from the distro providers.
This won't likely happen until the vendors won't start thinking outside the box by providing some help to the community: if the device can be used with anything - the sales of the HW itself will certainly blow up.
The only thing we can do is to hope this will change in the future...
If anyone wants to add something to this discussion, or argue with some of my points, go ahead, I'll keep this issue open since it is a nice discussion.
Have a wonderful day

I forgot to mention KDE Plasma-Mobile

Thank you for detailed answer. This is best explanation I have seen on the internet.
If I knew deleted posts could be read, I would not delete it.
So, what do you do to make hardware work properly? You download drivers from internet? Or code your own drivers?  Are drivers the only problem?
(As you can see, I made a new account, this time I will keep login details..)

You might be interested in Linux on Galaxy, it made the headlines today :)
The problem itself is with vendors, and with who produces the drivers (most of the time they are developed by the manufacture themselves).
Currently the kernel-mess situation w/ Android is getting on the right track thanks to Project Treble.
Most of the driver problems are caused by incompatibilities with most recent kernels. If all the changes made by Google (or any other manufacturer) on their own repositories were upstreamed (sent to the mainline repository), any future kernel version will be one config away - and thus the drivers compatibility is ensured.
Unfortunately this isn't the case. Every manufacturer works on their own kernel branch, and eventually pulls some changes from upstream, without contributing.

Once upon a time linux distros weren't ported because there wwere many divergences between the-only-standardized-platform-on-this-earth (x86) and arm world.. That even if you had the most motivated developers, they'd have been already struggling to get even with the massive changes and reinvention of the wheel (e.g. switch to ION memory allocator, CMA, bluedroid..)
(also, I'd arrive to say that in 2010, gnu/linux situation was as much desperate on desktops, as it is today on mobile)
Situation is now at least conceptually better, but it's still mainly blocked by one thing if you ask me: graphics drivers.
There are two school of thoughts:

get to work android (closed) blobs with vanilla linux
compile the shit out of source code

The first approach has been mostly hampered by tens of different takes on the matter across the years, finally and hopefully converged into Project Halium. It's also the only realistically viable one for older devices.
The second is remotely a thing on just the newest devices (only with Adreno, Vivante, Mali and maybe VideoCore) and only if you haven't serious pretensions for now.
Oh, also Tegra of course.

To provide updated info: there is linux on:
Nokia N900
Motorola Droid4
Pinephone 64
This project has done nice work: https://maemo-leste.github.io/

There is actually linux on a fuckton more phones
http://postmarketos.org/
Since 4 years ago, open gpu drivers have far more improved.


Feature: Support unidirectional dataflow syntactic sugar

Similar to Angular 2's "banana in a box" syntactic sugar to support adding a one-way binding and an expression to set that one-way binding all in one shot, how would you feel about supporting something like:
<my-component ng-banana-foo="bar> which would expand internally to <my-component foo="bar" foo-changed="bar=$event">?
While the proposed syntax isn't quite as nice as the Angular2 one, I thought it might be important to not use the same syntax in order to avoid confusion between the two frameworks.  With the push towards components and unidirectional dataflow since 1.5, this would be a really nice enhancement to reduce some of the verbosity associated with actually following those ideas.

I generally like the idea. (Maybe ng-bindon- would be a more suitable name though :smiley:)
Without giving it much thought, one thing that I am not excited about is that this will require a little extra work (sme as we do for ngAttr) for every attribute we process.

Yea, naming is hard.  I couldn't think of an ng-bind variant that was both succinct and clear.

ng-autobind
ng-two-way

Are the two best I've got so far.  Wasn't too concerned about the name in the proposal since we can bikeshed that while implementing the actual meat of the feature.
As far as any perf implications, I think that with a fairly simple modification to NG_ATTR_BINDING and collectDirectives in $compile, we can get this feature without any additional iteration of the attributes and with minimal overhead.  I'll see about throwing together a proof of concept when I have some time over the next few days.


Update the dropdown version

I also think we may not have updated the dropdown version?

we should get that into the patch release too
Originally posted by @choldgraf in https://github.com/pydata/pydata-sphinx-theme/issues/684#issuecomment-1150244324

Looks good to me too now as well, I wonder if something in my cache didn't get removed or something? Either way, I'll close this one now!

@choldgraf I thought the problem was that the pull-down menu is dark text on light background. Shouldn't it be light text on a dark background?

Ah no i just meant that the version was wrong in my version, but I can confirm it was just because of a cache thing

@choldgraf But shouldn't the pull down also change when you switch to the dark theme?

ahhh I see - yeah I think that this would probably look better with "dark theme" as well, +1 on opening up an issue for that


Update RenderHTML to Support Themes

see https://github.com/Expensify/App/issues/32188
https://github.com/Expensify/App/blob/1b22f59fd874fcc4297ee8f4350ae34d02f74aeb/src/styles/styles.ts#L207
This line is not affected by theme switching? You can see an example with the concierge messages

cc @chrispader

A few examples of renderHTML for easier QA:

archived chat message

transaction description

@grgia it seems that the reason that some colors weren't displayed correctly was that HTMLEngineProvider was passed earlier in the components array for ComposeProviders. After moving it after ThemeProvider and ThemeStylesProvider looks like the colors are correct
before

after

but I'm not really familiar with the reason why these providers were in such order and if we can move the HTMLEngineProvider just simply like that without any regressions?

@koko57 thank you so much! I wonder if we should just create a PR and move the style providers instead?
diff --git a/src/App.js b/src/App.js
index 2caa6b9ffc..ef5b778189 100644
--- a/src/App.js
+++ b/src/App.js
@@ -53,6 +53,10 @@ function App() {
             <ComposeProviders
                 components={[
                     OnyxProvider,
+                    ThemeProvider,
+                    ThemeStylesProvider,
+                    ThemeIllustrationsProvider,
+                    CustomStatusBarContextProvider,
                     SafeAreaProvider,
                     PortalProvider,
                     SafeArea,
@@ -65,10 +69,6 @@ function App() {
                     ReportAttachmentsProvider,
                     PickerStateProvider,
                     EnvironmentProvider,
-                    ThemeProvider,
-                    ThemeStylesProvider,
-                    ThemeIllustrationsProvider,
-                    CustomStatusBarContextProvider,
                 ]}
             >

@grgia if we can change the order freely, I think we can move them up

@koko57 I think that works, I've been testing locally and it seems to work

I think this may be no QA. As for testing, so long as the App is rendering on all platforms without error, I think we can assume that the remaining providers are working as normal.

yea, no problem moving the theme switching providers up 👍🏼

@adelekennedy could you help make sure that the $500 C+ review payment is paid to @fedirjh for https://github.com/Expensify/App/pull/32366

@fedirjh hired you here

paid!

closing as complete!


Rename "Accounts" in left menu to "Chart of Accounts"

Accounts in Nav bar and title have been renamed to "Chart of Accounts"


Pydantic validators raise a pydantic.Validation error instead of raising a tyro.Instantiation error

Pydantic has strong property validation capabilities that go beyond the capabilities of type Annotations.
Consider the following pydantic model which has a custom validator included:
class Model(BaseModel):
    a: int

    @field_validator("a")
    def below_ten(cls, v):
        if v > 10:
            raise ValueError("Must be below 10")

Tyro doesn't take them into account during model validation which is -I think- taking place somewhere here: https://github.com/brentyi/tyro/blob/a47b2f88e5f5508185d8cc45f0aa6ff97ac47916/tyro/_calling.py#L99
Pydantic does the above validation at model instantiation, which is happening here: https://github.com/brentyi/tyro/blob/a47b2f88e5f5508185d8cc45f0aa6ff97ac47916/tyro/_calling.py#L217
It would be great to leverage the validation rules inside tyro.

Thanks for the suggestion @sander76!
This is mostly an aesthetics/user-friendliness thing, right? We get an error message either way, we just want it to be formatted as a tyro error instead of a pydantic one?
The easiest solution here would be to drop a try/except pair around the model instantiation line (return unwrapped_f(...)). We can catch pydantic.ValidationError, and then form a cleaner error message.
If there's a way to pull out the individual validator for a field we could also do it on the output of value = arg.lowered.instantiator(value), but this is more involved and I'm not sure it'd be worth it.

Yes it is. I like the way tyro does the output. And I see the pydantic validators as a powerful way to validate the arguments.

Okay, I like it! This seems like an easy way to add a lot of argument validation flexibility to tyro, which is nice. :)
No worries if not, but if you have time to take a stab at a (even partial) PR I'd appreciate it, otherwise I can experiment with these errors as soon as I catch up on some other responsibilities.

I will come up with something! :+1:


apps.yaml: add DARTS/qemu-web-desktop

Add a cloud service that provides data treatment and simulation environments to run e.g. ASE, QE, etc... Any system can be instantiated as a virtual-machine.
This is a simple infrastructure service that can be installed in a few minutes, and still can distribute the work-load onto a farm of distributed servers. It does not require any OpenStack/K8. The service is highly configurable (server load, authentication, load-leveler, environment configuration scripts, mounts, etc).
It could be useful as a way to make Big-Map APPs available to users, as custom environments.
The project Git is https://gitlab.com/soleil-data-treatment/soleil-software-projects/remote-desktop. We use it at synchrotron SOLEIL for data analysis, as well as simulation.

Thanks for your reply. I have approved the changes.

Your app is now listed on the BIG-MAP App Store (https://big-map.github.io/big-map-registry/).


[test/integration] Fix flaky batch.Job restore test.

What type of PR is this?
/kind bug
/kind flake

What this PR does / why we need it:
[test/integration] fix flaky batch.Job restore test.
Which issue(s) this PR fixes:

Fixes #1265
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cherry-pick release-0.5

/milestone v0.6


Various Bootstrap 4 variant issues/suggestions

I've only just begun using the plugin in a new project, but I wanted to open an issue already to keep track of my findings, especially since I don't know exactly how long it will take for the project to finish.
I'll extend the following list over time and will report when I'm done.
Form Helper

[x] Labels get the col-form-label class injected for non-horizontal forms.

[x] Checkbox wrappers in non-horizontal forms are missing the is-invalid class.

[x] Labels/inputs for checkboxes and radiobuttons are missing the form-check-label/form-check-input class.

[x] In horizontal forms, checkboxes and radiobuttons are wrapped in a div with a checkbox class, this should be form-check instead.

[x] Horizontal forms are missing the row class on the control wrapper div.

[x] Horizontal forms use a column width of 6 for inputs, the default should be 10. The right configuration of the grid option that eats the remaining column width of 4, is never used.

[x] The offset class used in horizontal forms uses the Bootstrap 3 name col-%-offset-%, it should be offset-%-% instead.

[x] Disabling nested inputs via the nestedInput option causes no inputs to be generated.

[x] Maybe submit buttons (those created via FormHelper::submit()) could use the btn-primary class by default. At least personally I've found myself to always switch to that.

Breadcrumbs Helper

[x] BreadcrumbsHelper should implement the additional core helper's crumb insertion methods (prepend, insertAt) in order to ensure that classes are added.

Bake templates

[x] Baked add.ctp and edit.ctp files seem to miss newlines in the tb_actions block (before and after actions for associations to be specific).

Other

[x] AppView class in the test app pollutes the App namespace (can confuse IDEs).

@ADmad Are you (or anyone else for that matter) already working on the nested input problem? If not, I'll give it a shot.

@ndm2 I am not and pretty sure no one else is either :slightly_smiling_face:.

Yeah, I had a quick look at it, and I can totally understand that no on wants to touch it :slightly_frowning_face: Well, I'll give it a try, maybe it's going to be less of a hassle than it looks like.

Actually, it's even more hassel-ish. Cakes internal handling of nested inputs seems to make it more complicated than it needs to be, and I'm not even sure if CakePHP is doing things "correctly" here.
When using 'nestedInput' => true for a radio control, I would expect to get the default HTML, ie as if nestedInput isn't set, but instead it generates weird HTML like this:
<div class="input radio">
	<label>
		<input type="hidden" name="Radio (nested)" value="">
		<label for="radio-nested-1">
			<input type="radio" name="Radio (nested)" value="1" id="radio-nested-1">
			foo
		</label>
		<label for="radio-nested-2">
			<input type="radio" name="Radio (nested)" value="2" id="radio-nested-2">
			bar
		</label>
		<label for="radio-nested-3">
			<input type="radio" name="Radio (nested)" value="3" id="radio-nested-3">
			baz
		</label>
		Radio (nested)
	</label>
</div>

where the nested radios are using the radioWrapper as well as nestingLabel templates, and the wrapping <label> uses the nestingLabel template too.
That's ultra double plus non-helpful :grimacing:

The wackiness in core could be fixed in 4.0 if you can make a PR.

As for BUI I am personally fine with overriding whatever is needed and simply not supporting nested inputs for boostrap 4.

The wackiness in core could be fixed in 4.0 if you can make a PR.

Yeah, but that's something for another day :)

As for BUI I am personally fine with overriding whatever is needed and simply not supporting nested inputs for boostrap 4.

I'll try to get both working, if it turns out to be too problematic, then I'll put in it on the backburner and stick with non-nested all the way, and maybe someone else will give it a try later on.

I'm slowly getting somewhere, it's a little message with sharp edges, but it's something. I've stumbled over quite some other additional problems, like missing classes, errors not being displayed, , etc. I'm trying to fix all of this, as it also dictates a bit how this is going to be solved overall, ie how the templates look like, where to inject classes, etc...
Before: https://imgur.com/OqVbSXo
Now: https://imgur.com/FBbJJ2e
I'll also try to take inline alignment into consideration, not sure though how far I'll get with this. Two questions for that, first of all, how is inline alignment supposed to work? Should setting the alignment option to inline be all that is required? I saw there's inline options on FormHelper::control()/input() too, supposedly to generate inline checkboxes and radio controls, and I'm wondering whether this is supposed to be used actually ment to be used outside of an actual inline alignment form, or if one needs to use these options in inline forms?
And then I'm wondering how error messages are supposed to be displayed in inline forms. The docs do not show an example of that, only one with help text, which is also inlined. Error messages however are block elements by default, causing things to stack vertically. Would that be acceptable for now, ie layout changes from "input + help inlined" to "input + error + help" stacked?

So it looks like the the stacking isn't caused by the block display of the error message element, but because it's set to have 100% width, combined with the parents flexbox settings. It seems that except for input groups and checkboxes/radios there shouldn't be any wrappers, especially no form-group ones.
Maybe controls in inline forms (not inline controls in non-inline forms) should not display error messages, and leave it up to the user to output them explicitly using FormHelper::error() if needed?

Maybe controls in inline forms (not inline controls in non-inline forms) should not display error messages, and leave it up to the user to output them explicitly using FormHelper::error() if needed?

Fine by me. I personally have never generated inline form using BUI.

For curiosity I checked the markup used by Foundation for forms and upcoming v6 does the opposite of Bootstrap v3: for checkbox / radio the input and label tags are adjacent while for all other inputs the input tag is nested inside label :laughing:. https://foundation.zurb.com/sites/docs/forms.html
But at least they don't seem to required using a ton of css classes for various layouts like Bootstrap.
Bootstrap v4 has done nothing to change my dislike for it :disappointed:.

Well, if people cared more about style-agnosticism and extensibility, then Foundation would have a much larger userbase by now, but oh well, here we are :)
Speaking of having fun with Boostrap, I just ran into the next small problem, input groups with feedback are problematic  (https://github.com/twbs/bootstrap/issues/25110), it causes the border radius to get lost, however when the feedback is placed outside of the input group (which is what BUI currently does), then the feedback is not being displayed.
There's some kind of workaround needed to display feedback anyways (for example adding a d-block class to it to force it to be displayed), as its display state depends on .form-control.is-invalid siblings, which aren't always present. I'm wondering what approach should be taken here, producing the documented markup, or breaking with it and relying on the workaround?

I'm wondering what approach should be taken here, producing the documented markup, or breaking with it and relying on the workaround?

It's your call, I have no opinion. If possible I would prefer keeping the generated markup closer to what's generated by Cake's helper by default.

I have to think about that a little bit, and check out some of the popular bootstrap extensions to see whether the bootstrap eco-system relies on the documented markup...

FYI, I'm still working on it, I'm just very busy currently, and things are progressing slowly...

I think all controls are now processed to the point where taking care of error/validation feedback makes sense.
As mentioned, for many controls the error messages are not being displayed, because the element isn't a sibling of an invalid control element (check for example the test app), the relevant bootstrap CSS selectors look like this:
.custom-control-input.is-invalid~.invalid-feedback
.custom-control-input.is-invalid~.invalid-tooltip
.custom-select.is-invalid~.invalid-feedback
.custom-select.is-invalid~.invalid-tooltip
.form-control.is-invalid~.invalid-feedback
.form-control.is-invalid~.invalid-tooltip
.was-validated .custom-control-input:invalid~.invalid-feedback
.was-validated .custom-control-input:invalid~.invalid-tooltip
.was-validated .custom-select:invalid~.invalid-feedback
.was-validated .custom-select:invalid~.invalid-tooltip
.was-validated .form-control:invalid~.invalid-feedback
.was-validated .form-control:invalid~.invalid-tooltip

I can currently only think of three options:

Adding a b-block class in the error template to force the elements to be displayed.
Adding a hidden dummy element with form-control and is-invalid classes to the error template.
Placing the error element in a way that it's always a sibling of a control element.

The d-block solution ist the most simple one, however it uses !important, which will not be overly appreciated by people using JavaScript, as it will break libraries that trigger the display state without the usage of !important. It will also require additional work when combining frontend and backend validation, as changing the validation state of the control wouldn't affect the error element.
Using a dummy control element would be less intrusive with regards to CSS, but... it's dummy markup. I'm not necessarily opposed to it, it's just that it feels pretty hackish. And again, changing the validation state of the actual control wouldn't affect the error element.
Relocating the error element, well, that would the best option with regards to compatibility, but it would also be tricky here and there, especially for input groups, date/time selects, multi checkboxes and radios I guess, and with the latter the question would be where to put it exactly, after the last checkbox/radio? After every checkbox/radio? For date/time selects, both wouldn't work, it would look awful in any case. And let's not forget the border radius problem with input groups.
On a related note, there's also validation tooltips (not to be confused with the regular tooltips already implemented, which also need to be looked at, after all these changes, I'm pretty sure they're not yet working everywhere), something that would be of great use for inline forms. And let's not forget the "valid" state (valid-feedback), that would be nice to have too :P
@ADmad @dereuromark @burzum @julianpollmann :boom: bam, now you're all in this with me... suggestions? use cases? ideas? preferences? anything?

This now all implemented except for valid state feedback, but that's something that might require changes in the core, so that it would be possible to figure whether the data of an entity has been validated, unless of course one would want to rely on assuming validation having been applied on POST/PUT/PATCH requests.
It would also require either a bunch of new templates, eg xxxValid smiliar to the xxxError templates, or adding variables to the existing templates, kinda deviating from the core's convention. There's pros and cons to either approach, and I don't really feel like wanting to deal with it right now 🙃
If anyone has any input on that feature, please let me know.

...valid state feedback

I haven't had the need for it, so don't really have any opinion on it.


Preset icons not work with icon-sets:icon-name

Like this i-ant:design-home-twotone not work, but i-ant-design-home-twotone works.

应该是 i-ant-design:home-twotone

对 i-ant-design:home-twotone 不生效，i-ant-design-home-twotone 才会生效

对 i-ant-design:home-twotone 不生效，i-ant-design-home-twotone 才会生效

试了下 i-ant-design:home-twotone 是没问题的，请提供复现。


Kubernetes documentation - not good default recommendations

Relates to documentation here: https://crate.io/docs/crate/guide/en/latest/scaling/kubernetes.html
I could not find that documentation in the sources, so I added an issue instead of a PR.

The default configuration should not set it up with LoadBalancer, as a new Kubernetes user might not understand that he would expose the database on the external ip (public). I would say type=NodePort
Using memory volume is not recommended, as a service restart at configuration update could (and most probably will) get crate into a bad state. I tested a few times, and shards were lost etc. I persistent volume claim would probably be better. This creates a new persistent volume for each node. Note that for performance there are different options of the type one can use, ssd, local ssd etc, depending on cluster provider.

Diff of how I changed it to function in GKE (Google Kubernetes Engine).
diff --git a/crate.yml b/crate.yml
index 4612ada..43423c8 100644
--- a/crate.yml
+++ b/crate.yml
@@ -12,7 +12,7 @@ spec:
     name: cluster
   - port: 5432
     name: postgres
-  type: LoadBalancer
+  type: NodePort
   selector:
     app: crate
 ---
@@ -54,7 +54,7 @@ spec:
           - -Clicense.enterprise=false
         volumeMounts:
             - mountPath: /data
-              name: data
+              name: crate-persistent-storage
         resources:
           limits:
             memory: 2Gi
@@ -73,7 +73,12 @@ spec:
           value: "3"
         - name: CLUSTER_NAME
           value: "spine-cratedb-cluster"
-      volumes:
-        - name: data
-          emptyDir:
-            medium: "Memory"
+  volumeClaimTemplates:
+  - metadata:
+      name: crate-persistent-storage
+    spec:
+      accessModes:
+        - ReadWriteOnce
+      resources:
+        requests:
+          storage: 10Gi

cc @Autophagy @turbo-ele @christianbader

@chaudum I don't mind doing a PR, but where if so? :)

@peterlauri If you'd like to create this as a PR, it currently exists wtihin our CrateDB guide repository https://github.com/crate/guide/blob/master/docs/scaling/kubernetes.txt
I agree with your points, especially about switching out the memory storage for a persistent volume claim. I think the usage of memory was just to get users up-and-running, but that isnt very useful.

hi @peterlauri, when you create the pr, please also sign our cla: https://crate.io/community/contribute/cla/.

@peterlauri Do you need any help contributing to the CrateDB guide? /cc @Autophagy


Override for TLS Authentication Path Ignored

Problem:
The path option available for vault authentication methods is not used when configuring the certificate authentication client.
Context:
We have a deployment where we mount the certificate authentication method to a path different from the default ("cert") and need our applications to use the path we have chosen.
Relevant links:
https://github.com/spring-cloud/spring-cloud-vault/blob/99f49bec23b63e18b826d6442ae991be1c7456a9/spring-cloud-vault-config/src/main/java/org/springframework/cloud/vault/config/ClientAuthenticationFactory.java#L120-L121
https://github.com/spring-projects/spring-vault/blob/86dbf474bb9f10114148b125ad948266c06442c3/spring-vault-core/src/main/java/org/springframework/vault/authentication/ClientCertificateAuthentication.java#L58-L59
https://github.com/spring-projects/spring-vault/blob/86dbf474bb9f10114148b125ad948266c06442c3/spring-vault-core/src/main/java/org/springframework/vault/authentication/ClientCertificateAuthenticationOptions.java#L74
I am worried about what my employer considers theirs so sorry for being a bit vague. I also don't know how to fix the other links so it does the pretty inline code preview thing /shrug

Thanks for reporting the issue. The path for the TLS auth backend has never been considered, VaultProperties.Ssl.getPath() is never read. Since you've started looking into the code, do you want to submit a pull request that assembles ClientCertificateAuthenticationOptions in ClientAuthenticationFactory?


lease: acquire BatchTx lock in fakeDeleter

Revoke expects the BatchTx lock to be held when holding the TxnDeleter
because it updates the lease bucket. The tests don't hold the lock so
it may race with the backend commit loop.
Fixes #7662

proxy-ci failing on unrelated issue #7598; merging


Add requirement of 10+ npm to docs

based on #2128 it appears you need NPM 10+ for sharp to work

https://oer.hax.psu.edu/bto108/sites/haxcellence/ fixed


Cannot download the pixiv fanbox image when the viemo post appear

I am downloading the image from the creator 蜜桃まむ id:532989
The program stop the download when it goes to the viemo post
I see the error here
Processing 532989, page 10
Getting posts from https://fanbox.pixiv.net/api/post.listCreator?userId=532989&maxPublishedDatetime=2019-02-28 21%3A01%3A54&maxId=302683&limit=10
Empty content_id for embed provider = vimeo for post = 302683, please update content_provider.json.
press enter to exit.
Is there anything that I need to input in the content_id please?

can you upload the json from https://fanbox.pixiv.net/api/post.listCreator?userId=532989&maxPublishedDatetime=2019-02-28 21%3A01%3A54&maxId=302683&limit=10 ?

can you upload the json from https://fanbox.pixiv.net/api/post.listCreator?userId=532989&maxPublishedDatetime=2019-02-28 21%3A01%3A54&maxId=302683&limit=10 ?

I get the following thing on this website only
{"error":"general_error"}

Hmm, can you upload the log file then? There should be a file named pixivutil.log in the pixivutil folder. Compress it if possible.

Hmm, can you upload the log file then? There should be a file named pixivutil.log in the pixivutil folder. Compress it if possible.

pixivutil.zip
Is this one ok?


Copy assets with @angular-devkit/build-angular:server

Command
build
Description
@angular-devkit/build-angular:browser has the ability to copy assets with the assets array in the options.
But @angular-devkit/build-angular:server doesn't have the ability.
My use case is that we build the app with angular universal support, and we want to deploy both the client and server files together. We have some custom server files to be copied over (when building and serving). But since @angular-devkit/build-angular:server doesn't support that, we have to use some workarounds. The options we have currently are:

use a custom script to do the job
separate the server side rendering from the API server, so that we can use a different stack for the server code.

Describe the solution you'd like
Add the assets support to @angular-devkit/build-angular:server.
Describe alternatives you've considered

use a custom script to do the job
separate the server-side rendering from the API server, so that we can use a different stack for the server code. but we don't want to separate them at the beginning since it makes the deployment more complex.

As a workaround you can also copy the assets using the browser builder (@angular-devkit/build-angular:browser).

@alan-agius4

As a workaround you can also copy the assets using the browser builder (@angular-devkit/build-angular:browser).

Thanks. That works but it's a bit strange if the client and server are in different directories (managed by nx for example).


fix: pass autodial config thorugh in connection manager init

Title

fix: options in connection manager init should be passed to autodial
Description

autoDialPeerRetryThreshold and autoDialDiscoveredPeersDebounce should be passed from connection manager to auto dial, otherwise it won't work
Notes & open questions

Change checklist

[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation if necessary (this includes comments as well)
[ ] I have added tests that prove my fix is effective or that my feature works

Thanks!


Fix deadlink on log-analyzer.md

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Slack part is somehow down. :P


DataInputStream.readUTF Bug

Malformed UTF byte error in DataInputStream.readUTF().  Patch forthcoming.

I have create a pull request that fixes this issue.
https://github.com/konsoletyper/teavm/pull/101


Update wording on subsites

Communication based sites do not support sub web pages, team sites do.

Verbiage is off.

Verbiage is off.


feature request: blend mode

+1

https://docs.midjourney.com/docs/blend
/blend is the same as using multiple image prompts with /imagine, but the interface is optimized for easy use on mobile devices.

https://github.com/erictik/midjourney-api/blob/main/example/imagine-uri.ts

https://github.com/erictik/midjourney-api/blob/main/example/imagine-uri.ts

I got it, it has been tested successfully, thanks

https://github.com/erictik/midjourney-api/blob/main/example/imagine-blend.ts


year field does not appear

please help me :)

Sorry, can't help here.
I think this must be a css issue.


Fix bluesky upgrade typing

Add a bunch of type: ignores linked to https://github.com/bluesky/bluesky/issues/1809
When upstream issues are resolved there may still be things to fix here, e.g. the EigerDetector.stop()

Yeah, at least they're all identical so they'll be easy to remove for testing the fixes in bluesky and when we're done


Engage visitors to become contributors

Now that this is on GitHub, we should encourage visitors of
https://vim.reversed.top/
to engage and become contributors as well!
I can imagine:

Add link to the repo on the about page
Add a "Fork me on GitHub" banner, that projects do to signal that they are welcome to contribute to what they see.

For 2., I looked at a few options

https://forkmeon.github.io/
https://whatthefoo.github.io/fork-me-on-github/
https://simonwhitaker.github.io/github-fork-ribbon-css/

and  think the last one would be easiest to integrate!
(I tried the last one but I was not having the right PHP version on my system, so I could not view the result)

I actually dislike those "Fork me on GitHub" stripes. Always worry that they point to forking URL and have to check them. They also look out of place.
I've already added "contribute" link that doesn't add this ad-like visual noise and that should be prominent enough for anyone interested in submitting changes.

Makes sense. Thx!
I'll start sharing this website with my Vim-friends now :)


System-webview apk

$ cordova build --release -- --minSdkVersion=21
used above command and it builds "android-debug-unaligned.apk" and "android-debug.apk" in this path = /platforms/android/build/outputs/apk
logcat output:
I/Choreographer(20642): Skipped 30 frames!  The application may be doing too much work on its main thread.
W/InputMethodManager(20642): Ignoring onBind: cur seq=681, given seq=680
I/art     (20642): Explicit concurrent mark sweep GC freed 1742(130KB) AllocSpace objects, 0(0B) LOS objects, 48% free, 4MB/8MB, paused 714us total 138.950ms

Maybe a question for Cordova itself do not you think?

now i started from installation again,, this time i avoid to install cordovas all plugins.. and at the time of build error comes that "failed to find ANDROID_HOME envairmental variable" ,,

First of all update your app to Beta02 and the error you have is pretty well known, you have not installed android correctly. You will find a lot of resource about this on Google

im using beta02,,, dose the problem is occurring because of i have not istalled cordovas plugins?

From what I can see your android SDK is not correctly installed. ANDROID_HOME MUST be defined.

sorry im using v2.0.0-alpha2 ... and android sdk is properly installed .. when i run command "android" its execute well..

run the command yourself cordova build android --device --release and see the result but it is gonna be the same

so what should i do now? and thanks for all you are really good

switch to beta02
git fetch --all
git checkout v2.0.0-beta02

re install:
rm -rf platforms/ plugins/ node_modules/
npm install && npm run restore

then retry: cordova build android --device --release
You can also come talk on the chat if that's easier for you https://gitter.im/shprink/wordpress-hybrid-client

hahahahahahaha sir finally .... i used this command to remove crosswalk plugin
"sudo npm run cordova plugin rm<EMAIL_ADDRESS>and then crosswalk is removed.
and app is build with system webView..
love you sir..  happyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

Congrats!!!
On Jan 27, 2016 04:45, "Prabhat"<EMAIL_ADDRESS>wrote:

hahahahahahaha sir finally .... i used this command to remove crosswalk
plugin
"sudo npm run cordova plugin rm<EMAIL_ADDRESS>and then crosswalk is removed.
and app is build with system webView..
love you sir.. happyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
—
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/154#issuecomment-175547345
.

authers image is not displaying in app?

Works for me

FOR BUILDING  system webView APP USE MY BELOW CODE..


LightningModule should support Dataclass like LightningDataModule

🚀 Feature

In issue https://github.com/PyTorchLightning/pytorch-lightning/issues/8272 we can see that LightningDataModule is compatible with dataclass. LightningModule should also be compatible alo
Motivation

reduce number of lines of codes (when assigning attributes)
be able to export hyper configuration

Code example

@dataclass
class SimpleModel(pl.LightningModule):
    num_class: int = 10
    pixel_side_length: int = 28
    num_heads: int = 28

    def __init__(self):
        super().__init__(self)
        # Layers
        self.attn = nn.MultiheadAttention(embed_dim=self.pixel_side_length, num_heads=self.num_heads, batch_first=True)
        self.norm = nn.LayerNorm(self.pixel_side_length)

        # A very tight ffn
        self.ffn = nn.Sequential(nn.Linear(self.pixel_side_length*self.pixel_side_length, self.pixel_side_length),
                                    nn.ReLU(),
                                    nn.Linear(self.pixel_side_length, self.num_class))
        self.softmax = nn.Softmax()

    def forward(self, x):
        x = torch.squeeze(x, 1)
        attn_out, _ = self.attn(x, x, x)
        norm_out = self.norm(x + attn_out)

        ffn_out = self.ffn(norm_out.reshape(-1, self.pixel_side_length*self.pixel_side_length))
        return self.softmax(ffn_out)

    def training_step(self, batch, batch_idx):
        x, y = batch
        out = self(x)
        loss = F.cross_entropy(out, y)
        acc = (out.argmax(dim=-1) == y).float().mean()
        self.log("train_loss", loss)
        self.log("train_acc", acc)
        return loss

    def validation_step(self, batch, batch_idx):
        x, y = batch
        out = self(x)
        loss = F.cross_entropy(out, y)
        acc = (out.argmax(dim=-1) == y).float().mean()
        return acc

    def validation_epoch_end(self, outputs):
        self.log("val_acc", torch.stack(outputs).mean())

    def configure_optimizers(self):
        return torch.optim.Adam(self.parameters(), lr=0.001)

Alternatives

Additional context

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.

Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.

Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

🐛 Bug

When add dataclass to a lightning module, it becomes unhasable
Global seed set to 0
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[<ipython-input-12-2363c7c2ca1d>](https://localhost:8080/#) in <module>()
      2 simple_model = SimpleModel()
      3 trainer = Trainer(max_epochs=1, gpus=1)
----> 4 trainer.fit(simple_model, mnist_train, mnist_val)

10 frames
[/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py](https://localhost:8080/#) in named_modules(self, memo, prefix, remove_duplicate)
   1685         if memo is None:
   1686             memo = set()
-> 1687         if self not in memo:
   1688             if remove_duplicate:
   1689                 memo.add(self)

TypeError: unhashable type: 'SimpleModel'

To Reproduce

https://colab.research.google.com/drive/1aqHDBUaEf7DWKWIo86uoTtxPqCybLLb9?usp=sharing
Environment

CUDA:

GPU:

Tesla K80

available:         True
version:           11.1

Packages:

numpy:             1.21.5
pyTorch_debug:     False
pyTorch_version:   1.10.0+cu111
pytorch-lightning: 1.5.10
tqdm:              4.63.0

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.7.13
version:           #1 SMP Tue Dec 7 09:58:10 PST 2021

Additional context

There are this post on PyTorch. When using @dataclass, __hash__ is overridden hence the program yield TypeError: unhashable type: 'SimpleModel' from PyTorch files, not PyTorch lightning.
So should I close this issue?

Hi, Have you tried with
@dataclass(eq=False)?
Other than that, I think it's very unlikely that we will support this if it does override __hash__ since both PyTorch and we (explicitly and implicitly through PyTorch) require the model to be hashable and we cannot say which parts of PyTorch would be influenced and have to be patched. So IMO this is to dangerous.

@justusschock I have tried it with @dataclass(eq=False). The model is trained as normal.
I understand what you are saying.

@justusschock I would like to propose something else. It's not off title. It's still about LightningModule working with dataclass .The users can write their config for the Lightning module derived class as follows
from dataclasses import dataclass

@dataclass
class HyperConfig:
    feature_in: int = 10
    feature_out: int = 2

then they can define their model
class BoringModel(LightningModule):
    def __init__(self, hyper_config: HyperConfig = HyperConfig()):
        super().__init__()
        self.hyper_config = hyper_config
        self.layer = torch.nn.Linear(hyper_config.feature_in, hyper_config.feature_out)
        self.save_hyperconfig() # a new function to not conflict self.save_hyperparameters()

When defining like this, Code Hint/Code Suggestion/Intelisense of Jupyter/Vscode will be able to know what self.hypter_config possesses unlike self.hparams.
self.save_hyperconfig() should use OmegaConf or YAMLWizard to handle nested dataclass.
so what do you think?