pub serve fails with 'Could not resolve dart:core'

 Issue by joelrich
Originally opened as dart-lang/sdk#22099

What steps will reproduce the problem?

Checkout https://github.com/localvoid/vdom-benchmark (commit f6767ceb04)
npm install
pub serve

What is the expected output? What do you see instead?
Server should start. The following error:
{{{
$ pub serve
Loading source assets...
Loading liquid transformers...
Serving vdom_benchmark web on http://localhost:8080
[Error from Factory on vdom_benchmark|lib/benchmark.dart]:
Unable to resolve asset ID for "dart:core"
Build error:
Transform Factory on vdom_benchmark|lib/benchmark.dart threw error: <rethrow>
Caused by Could not resolve dart:core
#0      AnalysisTask._safelyPerform (package:analyzer/src/generated/engine.dart:6762)
#1      AnalysisTask.perform (package:analyzer/src/generated/engine.dart:6727)
#2      AnalysisContextImpl._cacheDartResolutionData (package:analyzer/src/generated/engine.dart:2414)
#3      AnalysisContextImpl._getDartResolutionData (package:analyzer/src/generated/engine.dart:3046)
#4      AnalysisContextImpl._getDartResolutionData2 (package:analyzer/src/generated/engine.dart:3077)
#5      AnalysisContextImpl.computeLibraryElement (package:analyzer/src/generated/engine.dart:1192)
#6      ResolverImpl._performResolve.<anonymous closure>.<anonymous closure> (package:code_transformers/src/resolver_impl.dart:158)
#7      MappedListIterable.elementAt (dart:_internal/iterable.dart:417)
#8      ListIterable.toList (dart:_internal/iterable.dart:219)
#9      ResolverImpl._performResolve.<anonymous closure> (package:code_transformers/src/resolver_impl.dart:159)
#10     _RootZone.runUnary (dart:async/zone.dart:1155)
#11     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:484)
#12     _Future._propagateToListeners (dart:async/future_impl.dart:567)
#13     _Future._completeWithValue (dart:async/future_impl.dart:358)
#14     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:412)
#15     _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#16     _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:84)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:131)
}}}
What version of the product are you using?
Pub 1.8.0
On what operating system?
OS X Yosemite
What browser (if applicable)?

Please provide any additional information below.

 Comment by nex3

This error is coming from the code_transformers package.

Removed Area-Pub label.
Added Area-Pkg, Pkg-CodeTransformers labels.

 Comment by lrhn

Added Area-Pub, Triaged labels.

 Comment by zoechi

Similar in a Polymer project
uild error:
Transform ScriptCompactor on playground|web/polymer/field_by_string_name/index.html threw error: <rethrow>
Caused by Could not resolve dart:core
#0      AnalysisTask._safelyPerform (package:analyzer/src/generated/engine.dart:6857:7)
#1      AnalysisTask.perform (package:analyzer/src/generated/engine.dart:6834:21)
#2      AnalysisContextImpl._cacheDartResolutionData (package:analyzer/src/generated/engine.dart:2953:33)
#3      AnalysisContextImpl._getDartResolutionData (package:analyzer/src/generated/engine.dart:3728:33)
#4      AnalysisContextImpl._getDartResolutionData2 (package:analyzer/src/generated/engine.dart:3760:36)
#5      AnalysisContextImpl.computeLibraryElement (package:analyzer/src/generated/engine.dart:1771:30)
#6      ResolverImpl._performResolve.<anonymous closure>.<anonymous closure> (package:code_transformers/src/resolver_impl.dart:158:46)
#7      MappedListIterable.elementAt (dart:_internal/iterable.dart:413)
#8      ListIterable.toList (dart:_internal/iterable.dart:219)
#9      ResolverImpl._performResolve.<anonymous closure> (package:code_transformers/src/resolver_impl.dart:159:16)
#10     _RootZone.runUnary (dart:async/zone.dart:1155)
#11     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:484)
#12     _Future._propagateToListeners (dart:async/future_impl.dart:567)
#13     _Future._completeWithValue (dart:async/future_impl.dart:358)
#14     _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:412)
#15     _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#16     _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)
Dart VM version: 1.9.0-edge.43738 (Thu Feb 12 12:05:23 2015) on "linux_x64"

For my project building with pub build --mode=release works, but pub build --mode=debug fails, so I ran:pub --trace 'build' '--mode=debug' which yields:
Loading source assets...
Loading polymer transformers...
Building PSHDL_Poly... (3.1s)
Build error:
Transform ScriptCompactor on PSHDL_Poly|web/pshdl_poly.html threw error:
Caused by Could not resolve dart:core
#0      LibraryResolver.resolveLibrary (package:analyzer/src/generated/resolver.dart:7883)
#1      ResolveDartLibraryTask.internalPerform (package:analyzer/src/generated/engine.dart:10538)
#2      AnalysisTask._safelyPerform (package:analyzer/src/generated/engine.dart:6430)
#3      AnalysisTask.perform (package:analyzer/src/generated/engine.dart:6403)
#4      AnalysisContextImpl._cacheDartResolutionData (package:analyzer/src/generated/engine.dart:2804)
#5      AnalysisContextImpl._getDartResolutionData (package:analyzer/src/generated/engine.dart:3413)
#6      AnalysisContextImpl._getDartResolutionData2 (package:analyzer/src/generated/engine.dart:3442)
#7      AnalysisContextImpl.computeLibraryElement (package:analyzer/src/generated/engine.dart:1692)
#8      ResolverImpl._performResolve.. (package:code_transformers/src/resolver_impl.dart:157)
#9      MappedListIterable.elementAt (dart:_internal/iterable.dart:413)
#10     ListIterable.toList (dart:_internal/iterable.dart:219)
#11     ResolverImpl._performResolve. (package:code_transformers/src/resolver_impl.dart:158)
#12     _RootZone.runUnary (dart:async/zone.dart:1155)
#13     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:494)
#14     _Future._propagateToListeners (dart:async/future_impl.dart:577)
#15     _Future._completeWithValue (dart:async/future_impl.dart:368)
#16     _Future._asyncComplete. (dart:async/future_impl.dart:422)
#17     _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#18     _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#19     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#20     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)
package:analyzer/src/generated/engine.dart 2496            AnalysisContextImpl.recordResolveDartLibraryTaskResults
package:analyzer/src/generated/engine.dart 4866            AnalysisContextImpl_AnalysisTaskResultRecorder.visitResolveDartLibraryTask
package:analyzer/src/generated/engine.dart 10530           ResolveDartLibraryTask.accept
package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform.
package:analyzer/src/generated/utilities_general.dart 150  _PerformanceTagImpl.makeCurrentWhile
package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform
package:analyzer/src/generated/engine.dart 2804            AnalysisContextImpl._cacheDartResolutionData
package:analyzer/src/generated/engine.dart 3413            AnalysisContextImpl._getDartResolutionData
package:analyzer/src/generated/engine.dart 3442            AnalysisContextImpl._getDartResolutionData2
package:analyzer/src/generated/engine.dart 1692            AnalysisContextImpl.computeLibraryElement
package:code_transformers/src/resolver_impl.dart 157       ResolverImpl._performResolve..
dart:_internal/iterable.dart 413                           MappedListIterable.elementAt
dart:_internal/iterable.dart 219                           ListIterable.toList
package:code_transformers/src/resolver_impl.dart 158       ResolverImpl._performResolve.
dart:async/zone.dart 1155                                  _RootZone.runUnary
dart:async/future_impl.dart 494                            _Future._propagateToListeners.handleValueCallback
dart:async/future_impl.dart 577                            _Future._propagateToListeners
dart:async/future_impl.dart 368                            _Future._completeWithValue
dart:async/future_impl.dart 422                            _Future._asyncComplete.
dart:async/schedule_microtask.dart 41                      _asyncRunCallbackLoop
dart:async/schedule_microtask.dart 48                      _asyncRunCallback
dart:isolate-patch/isolate_patch.dart 96                   _runPendingImmediateCallback
dart:isolate-patch/isolate_patch.dart 143                  _RawReceivePortImpl._handleMessage
package:analyzer/src/generated/engine.dart 2496            AnalysisContextImpl.recordResolveDartLibraryTaskResults
package:analyzer/src/generated/engine.dart 4866            AnalysisContextImpl_AnalysisTaskResultRecorder.visitResolveDartLibraryTask
package:analyzer/src/generated/engine.dart 10530           ResolveDartLibraryTask.accept
package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform.
package:analyzer/src/generated/utilities_general.dart 150  _PerformanceTagImpl.makeCurrentWhile
package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform
package:analyzer/src/generated/engine.dart 2804            AnalysisContextImpl._cacheDartResolutionData
package:analyzer/src/generated/engine.dart 3413            AnalysisContextImpl._getDartResolutionData
package:analyzer/src/generated/engine.dart 3442            AnalysisContextImpl._getDartResolutionData2
package:analyzer/src/generated/engine.dart 1692            AnalysisContextImpl.computeLibraryElement
package:code_transformers/src/resolver_impl.dart 157       ResolverImpl._performResolve..
dart:_internal                                             ListIterable.toList
package:code_transformers/src/resolver_impl.dart 158       ResolverImpl._performResolve.
dart:isolate                                               _RawReceivePortImpl._handleMessage
Could not find asset polymer|lib/src/build/html_finalizer.dart.

/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/log.dart 378           progress
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 79  BuildCommand.onRunTransformerCommand..
dart:isolate                                                                                _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async                                                                                _Future.then
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 57  BuildCommand.onRunTransformerCommand.
dart:isolate                                                                                _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
dart:async                                                                                Future.Future.microtask
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart       BuildCommand.onRunTransformerCommand
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/barback.dart 58  BarbackCommand.run
package:args/command_runner.dart 179                                                                                CommandRunner.runCommand.
dart:async                                                                                Future.Future.sync
package:args/command_runner.dart 132                                                                                CommandRunner.runCommand
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command_runner.dart 122  PubCommandRunner.runCommand..
dart:async                                                                                Future.Future.sync
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/utils.dart 107           captureErrors.
package:stack_trace/src/chain.dart 78                                                                                Chain.capture
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/utils.dart 121           captureErrors
/Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command_runner.dart 122  PubCommandRunner.runCommand.
dart:isolate                                                                                _RawReceivePortImpl._handleMessage
---- Log transcript ----
FINE: Pub 1.10.1
IO  : Deleting directory build.
FINE: Loading asset environment...
FINE: Loading package graph...
FINE: Loading package graph finished (0.2s).
FINE: Initializing barback...
FINE: Serving packages on localhost:0.
FINE: Providing sources for pshdl_api|lib.
FINE: Providing sources for PSHDL_Poly|lib.
FINE: Loading source assets finished (0.0s).
FINE: Provided sources.
FINE: Loading transformers...
FINE: Transformer dependencies:
| polymer: -
FINE: Using cached transformer snapshot.
FINE: Loading transformers from [polymer]
FINE: Spawning isolate from /Users/karstenbecker/GDrive/PSHDL_Poly/.pub/transformers/transformers.snapshot.
FINE: Loading polymer transformers finished (0.0s).
FINE: Transformers from polymer: {Instance of 'PolymerTransformerGroup'}
FINE: Loading transformers finished (0.3s).
FINE: Initializing barback finished (0.4s).
FINE: Loading asset environment finished (0.6s).
FINE: Providing sources for PSHDL_Poly|web.
FINE: Bound "web" to localhost:0.
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/res/documentation.html]:
| Took 0.3s (0.1s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/grand_central_dispatch.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/bootstrap_element.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/tutorial.html]:
| Took 0.4s (0.1s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_main_tab.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_modal_createboard.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_modal_createfile.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_modal_createsynsettings.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_modal_createworkspace.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_siminput_button.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_siminput_pulse.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_siminput_reset.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_simoutput_led.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/pshdl_examples.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/pshdl_log.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/pshdl_navigation.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/pshdl_ui_actions.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_siminput_button.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_siminput_pulse.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_siminput_static.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_simoutput_led.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_simoutput_number.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/ui/poly_checkbox_button.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/ui/poly_dropdown_button.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/ui/poly_text_dropdown_button.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_code_files.html]:
| Took 1.0s (0.8s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_tab_results.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_tab_run.html]:
| Took 0.9s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_siminput_reset.html]:
| Took 1.0s (0.7s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_siminput_clock.html]:
| Took 1.0s (0.8s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_tab_code.html]:
| Took 1.2s (1.0s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/sim/poly_sim_input.html]:
| Took 1.2s (0.9s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_tab_simulation.html]:
| Took 1.2s (1.0s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_main_tab.html]:
| Took 1.2s (1.1s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/poly/poly_main_app.html]:
| Took 1.3s (1.1s awaiting secondary inputs).
FINE: [Fine from polymer (Linter) on PSHDL_Poly|web/pshdl_poly.html]:
| Took 1.2s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/modals/poly_modal_copyfile.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/modals/poly_modal_createboard.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/modals/poly_modal_createfile.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/modals/poly_modal_createworkspace.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/modals/poly_modal_createsynsettings.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/modals/poly_modal_renamefile.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_ace.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_code_files.dart]:
| Took 1.1s (1.0s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_files_entry.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_main_app.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_messages.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_modal_copyfile.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_modal_renamefile.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_settings_board.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_settings_synthesis.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_tab_code.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_tab_results.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_tab_run.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/poly_tab_simulation.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_sim_input.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_siminput_clock.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_siminput_static.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/sim/poly_simoutput_number.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/ui/poly_checkbox_button.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/ui/poly_dropdown_button.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/poly/ui/poly_text_dropdown_button.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
FINE: [Fine from Observable on PSHDL_Poly|web/pshdl_sim.dart]:
| Took 1.1s (0.9s awaiting secondary inputs).
ERR : Build error:
| Transform ScriptCompactor on PSHDL_Poly|web/pshdl_poly.html threw error:
| Caused by Could not resolve dart:core
| #0      LibraryResolver.resolveLibrary (package:analyzer/src/generated/resolver.dart:7883)
| #1      ResolveDartLibraryTask.internalPerform (package:analyzer/src/generated/engine.dart:10538)
| #2      AnalysisTask._safelyPerform (package:analyzer/src/generated/engine.dart:6430)
| #3      AnalysisTask.perform (package:analyzer/src/generated/engine.dart:6403)
| #4      AnalysisContextImpl._cacheDartResolutionData (package:analyzer/src/generated/engine.dart:2804)
| #5      AnalysisContextImpl._getDartResolutionData (package:analyzer/src/generated/engine.dart:3413)
| #6      AnalysisContextImpl._getDartResolutionData2 (package:analyzer/src/generated/engine.dart:3442)
| #7      AnalysisContextImpl.computeLibraryElement (package:analyzer/src/generated/engine.dart:1692)
| #8      ResolverImpl._performResolve.. (package:code_transformers/src/resolver_impl.dart:157)
| #9      MappedListIterable.elementAt (dart:_internal/iterable.dart:413)
| #10     ListIterable.toList (dart:_internal/iterable.dart:219)
| #11     ResolverImpl._performResolve. (package:code_transformers/src/resolver_impl.dart:158)
| #12     _RootZone.runUnary (dart:async/zone.dart:1155)
| #13     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:494)
| #14     _Future._propagateToListeners (dart:async/future_impl.dart:577)
| #15     _Future._completeWithValue (dart:async/future_impl.dart:368)
| #16     _Future._asyncComplete. (dart:async/future_impl.dart:422)
| #17     _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
| #18     _asyncRunCallback (dart:async/schedule_microtask.dart:48)
| #19     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
| #20     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)
|
|
| package:analyzer/src/generated/engine.dart 2496            AnalysisContextImpl.recordResolveDartLibraryTaskResults
| package:analyzer/src/generated/engine.dart 4866            AnalysisContextImpl_AnalysisTaskResultRecorder.visitResolveDartLibraryTask
| package:analyzer/src/generated/engine.dart 10530           ResolveDartLibraryTask.accept
| package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform.
| package:analyzer/src/generated/utilities_general.dart 150  _PerformanceTagImpl.makeCurrentWhile
| package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform
| package:analyzer/src/generated/engine.dart 2804            AnalysisContextImpl._cacheDartResolutionData
| package:analyzer/src/generated/engine.dart 3413            AnalysisContextImpl._getDartResolutionData
| package:analyzer/src/generated/engine.dart 3442            AnalysisContextImpl._getDartResolutionData2
| package:analyzer/src/generated/engine.dart 1692            AnalysisContextImpl.computeLibraryElement
| package:code_transformers/src/resolver_impl.dart 157       ResolverImpl._performResolve..
| dart:_internal/iterable.dart 413                           MappedListIterable.elementAt
| dart:_internal/iterable.dart 219                           ListIterable.toList
| package:code_transformers/src/resolver_impl.dart 158       ResolverImpl._performResolve.
| dart:async/zone.dart 1155                                  _RootZone.runUnary
| dart:async/future_impl.dart 494                            _Future._propagateToListeners.handleValueCallback
| dart:async/future_impl.dart 577                            _Future._propagateToListeners
| dart:async/future_impl.dart 368                            _Future._completeWithValue
| dart:async/future_impl.dart 422                            _Future._asyncComplete.
| dart:async/schedule_microtask.dart 41                      _asyncRunCallbackLoop
| dart:async/schedule_microtask.dart 48                      _asyncRunCallback
| dart:isolate-patch/isolate_patch.dart 96                   _runPendingImmediateCallback
| dart:isolate-patch/isolate_patch.dart 143                  _RawReceivePortImpl._handleMessage
|
| package:analyzer/src/generated/engine.dart 2496            AnalysisContextImpl.recordResolveDartLibraryTaskResults
| package:analyzer/src/generated/engine.dart 4866            AnalysisContextImpl_AnalysisTaskResultRecorder.visitResolveDartLibraryTask
| package:analyzer/src/generated/engine.dart 10530           ResolveDartLibraryTask.accept
| package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform.
| package:analyzer/src/generated/utilities_general.dart 150  _PerformanceTagImpl.makeCurrentWhile
| package:analyzer/src/generated/engine.dart 6411            AnalysisTask.perform
| package:analyzer/src/generated/engine.dart 2804            AnalysisContextImpl._cacheDartResolutionData
| package:analyzer/src/generated/engine.dart 3413            AnalysisContextImpl._getDartResolutionData
| package:analyzer/src/generated/engine.dart 3442            AnalysisContextImpl._getDartResolutionData2
| package:analyzer/src/generated/engine.dart 1692            AnalysisContextImpl.computeLibraryElement
| package:code_transformers/src/resolver_impl.dart 157       ResolverImpl._performResolve..
| dart:_internal                                             ListIterable.toList
| package:code_transformers/src/resolver_impl.dart 158       ResolverImpl._performResolve.
| dart:isolate                                               _RawReceivePortImpl._handleMessage
|
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/poly_main_tab.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/poly_modal_createfile.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/poly_modal_createsynsettings.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/poly_modal_createworkspace.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/sim/poly_siminput_button.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/sim/poly_siminput_pulse.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/sim/poly_siminput_reset.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/sim/poly_simoutput_led.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/pshdl_examples.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/pshdl_log.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/pshdl_navigation.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/pshdl_ui_actions.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/poly_modal_copyfile.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: [Fine from Dart2JS on PSHDL_Poly|web/poly/poly_modal_renamefile.dart]:
| Took 0.2s (0.0s awaiting secondary inputs).
FINE: Building PSHDL_Poly finished (3.6s).
ERR : Could not find asset polymer|lib/src/build/html_finalizer.dart.
FINE: Exception type: AssetNotFoundException
ERR : /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart 82  PubPackageProvider._assertExists
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart 76  PubPackageProvider.getAsset.
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                                                                _Completer.completeError
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart 81  PubPackageProvider.getAsset.
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                                                                Future.Future.microtask
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/barback/pub_package_provider.dart  PubPackageProvider.getAsset
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                              Stream.toList
| package:barback/src/graph/static_asset_cascade.dart 45  StaticAssetCascade.availableOutputs
| package:barback/src/graph/package_graph.dart 169        PackageGraph.getAllAssets.
| dart:async                                              Future.wait
| package:barback/src/graph/package_graph.dart 168        PackageGraph.getAllAssets
| package:barback/src/graph/package_graph.dart 152        PackageGraph.getAllAssets.
| dart:async                                              _BroadcastStreamController.add
| package:barback/src/graph/package_graph.dart 257        PackageGraph._tryScheduleResult.
| package:barback/src/utils.dart 241                      newFuture.
| dart:isolate                                            _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                        _Future.then
| package:barback/src/graph/package_graph.dart 152  PackageGraph.getAllAssets
| package:barback/src/graph/package_graph.dart 152  PackageGraph.getAllAssets.
| dart:async                                        _BroadcastStreamController.add
| package:barback/src/graph/package_graph.dart 257  PackageGraph._tryScheduleResult.
| package:barback/src/utils.dart 241                newFuture.
| dart:isolate                                      _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                                                                _Future.then
| package:barback/src/graph/package_graph.dart 152                                                                   PackageGraph.getAllAssets
| package:barback/src/barback.dart 106                                                                               Barback.getAllAssets
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 87  BuildCommand.onRunTransformerCommand....
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                                                                _Future.then
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 85  BuildCommand.onRunTransformerCommand...
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/log.dart 378           progress
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 79  BuildCommand.onRunTransformerCommand..
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                                                                _Future.then
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart 57  BuildCommand.onRunTransformerCommand.
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
| ===== asynchronous gap ===========================
| dart:async                                                                                Future.Future.microtask
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/build.dart       BuildCommand.onRunTransformerCommand
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command/barback.dart 58  BarbackCommand.run
| package:args/command_runner.dart 179                                                                                CommandRunner.runCommand.
| dart:async                                                                                Future.Future.sync
| package:args/command_runner.dart 132                                                                                CommandRunner.runCommand
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command_runner.dart 122  PubCommandRunner.runCommand..
| dart:async                                                                                Future.Future.sync
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/utils.dart 107           captureErrors.
| package:stack_trace/src/chain.dart 78                                                                                Chain.capture
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/utils.dart 121           captureErrors
| /Volumes/data/b/build/slave/dart-editor-mac-stable/build/dart/sdk/lib/_internal/pub/lib/src/command_runner.dart 122  PubCommandRunner.runCommand.
| dart:isolate                                                                                _RawReceivePortImpl._handleMessage
---- End log transcript ----

I observe same problem running https://github.com/angular/angular.dart.tutorial
Dart VM version: 1.13.0-dev.7.12 (Fri Nov 13 15:34:05 2015) on "macos_x64"
[Error from InjectorGenerator on tutorial|web/main.dart]:
Unable to resolve asset ID for "dart:core"
Build error:
Transform InjectorGenerator on tutorial|web/main.dart threw error:
Caused by Could not resolve dart:core
#0      AnalysisTask._safelyPerform (package:analyzer/src/generated/engine.dart:6762:7)
#1      AnalysisTask.perform (package:analyzer/src/generated/engine.dart:6727:7)
#2      AnalysisContextImpl._cacheDartResolutionData (package:analyzer/src/generated/engine.dart:2414:79)
...

Same here

@tadas-subonis see https://github.com/dart-lang/sdk/issues/25009

Any suggestions on how to get around this?  I am trying to study the Angular Dart Tutorial.  Does this mean Angular generally will not work until this is resolved, or is there something particular to how code_transformers are used in the tutorial which causes the trouble.

If you're just starting with Angular, I'd suggest with Angular 2 for Dart instead of Angular.dart which is the predecessor.

Oh, Thanks so much.  This must be what I was missing!
On Sat, Dec 26, 2015 at 11:13 AM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

If you're just starting with Angular, I'd suggest with Angular 2 for Dart
instead of Angular.dart which is the predecessor.
—
Reply to this email directly or view it on GitHub
https://github.com/dart-lang/code_transformers/issues/23#issuecomment-167297410
.


cloud not load video

when i using video for iOS, TypeError: undefined is not an object(evaluating '_reactNative.NativeModules.UIManager.RCTVideo.Constants')

code?

<Video
repeat
resizeMode='cover'
source={{uri:'http://<IP_ADDRESS>/x.mp4'}}
style={styles.backgroundVideo}
/>

You haven't included the native library in your build. See the instructions "Linked Frameworks and Libraries" on the main page of this repo

@martinlockett ok,thanks.


initOAuth

Is it possible to support initOAuth ?
https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/oauth2.md

@Ysj291823 @mkc-yanshijie Reply please

it is 'securityDefinitions' in config, in older version, it has been supported. i will give some example later


issue fixes in cloud_user_run and update notes

issue with "yarn install --production" is clearly a network issue, I wasn't able to run in my laptop but I was able do it in ACG cloud server.


feat(perf): Remove last store in return block if last load is before that store

Description
Problem*
Working towards #4535
Summary*
Small optimization found while working in mem2reg. Now that we have a small per function state we can see which stores/loads that are leftover can be removed.
A place we are potentially missing stores that can be removed is in return blocks. If we have a store inside of a return block that is not loaded from inside that block, we can safely remove that store (given it is not a reference param).
Additional Context
Documentation*
Check one:

[X] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Looking at brillig_loop_size_regression we end up with a bunch of unused stores which are never read from now so we can look at this in a followup.
After Array Set Optimizations:
brillig fn main f0 {
  b0():
    v50 = allocate
    store u1 1 at v50
    v51 = allocate
    store Field 1 at v51
    v52 = allocate
    store u1 0 at v52
    v53 = allocate
    store Field 0 at v53
    v54 = allocate
    store u1 0 at v54
    v55 = allocate
    store Field 0 at v55
    jmp b1(u32 0)
  b1(v10: u32):
    v56 = eq v10, u32 0
    jmpif v56 then: b2, else: b3
  b2():
    v63 = load v50
    v64 = load v51
    constrain v63 == u1 1
    constrain v64 == Field 1
    v70 = add v10, u32 1
    jmp b1(v70)
  b3():
    return Field 2
}

Looking at brillig_loop_size_regression we end up with a bunch of unused stores which are never read from (or only stored and read from once) now so we can look at this in a followup.

Yup that is the plan! Currently trying to get mem2reg to do it during its pass. We only end up with these empty stores after they are removed by DIE. So we need to remove the unused loads during mem2reg and then the stores.


bug: Kakarot precompiles can be abused by malicious contracts by delegate-calling whitelisted contracts[2]

Bug Report
Malicious contracts can exploit users to make arbitrary calls to whitelisted contracts on their behalf via delegatecall
https://github.com/code-423n4/2024-09-kakarot-findings/issues/38
Fix to implement
Make sure that DualVmToken, L2KakarotMessaging, as well as any other future contract using Kakarot precompiles, make extensive use of noDelegateCall modifiers.

@obatirou pls can I be assigned


How to use security on the client

I tried using the method setSecurity, documented in node-soap inside the promise like this:
soap
        .setSecurity(new soap.BasicAuthSecurity(soap_settings.username, soap_settings.password))
        .createClient(soap_settings.wsld)
        .then((client) => {
            client.myAwesomeSoapMethod({param: true});
        })
        .then((result) => console.log(`The result was: ${result}`))
        .catch((error) => console.error(`There was an error! ${error}`));

but i get TypeError: [something...].setSecurity is not a function.
and also i tried like this:
soap.createClient(soap_settings.wsld).then((client) => {
            client.setSecurity(new soap.BasicAuthSecurity(soap_settings.username, soap_settings.password))
            client.myAwesomeSoapMethod({param: true});
        })
        .then((result) => console.log(`The result was: ${result}`))
        .catch((error) => console.error(`There was an error! ${error}`));

Also, trying to emulate what they did in this stack overflow question, i tried this:
soap.createClient(soap_settings.wsld, {
            wsdl_options: {
                username: soap_settings.username,
                password: soap_settings.password
            }
        }).then((client) => {
            client.myAwesomeSoapMethod({param: true});
        })
        .then((result) => console.log(`The result was: ${result}`))
        .catch((error) => console.error(`There was an error! ${error}`));

But in both cases i get the response 401 - Unauthorized: Access is denied due to invalid credentials.. When I try accessing the wsld using the browser, a form pops and ask me for username and password, and after using the same im using in my app, it returns the correct wsld.
What's the proper way to use basic authentication with this library?
Thanks!

Hi @warseph! Thanks a lot for your help!
I got it to work like this:
        const options = {
            wsdl_options: {
                'auth': {
                    'user': soap_settings.username,
                    'pass': soap_settings.password,
                    'sendImmediately': false
                }
            }
        };
        soap.createClient(soap_settings.wsld, options)
            .then((client) => {
                client.setSecurity(new soap.WSSecurity(soap_settings.username, soap_settings.password));
            })
            .then((result) => console.log('SOAP client successfully created!', result))
            .catch((error) => console.error(`There was an error connecting to soap service`, error));

So far, i hadn't issued any request to no method, but my problem was, i think, that the wsld was protected with basic http authentication, so i needed to pass credentials to the createClient function, which then would pass these credentials to the request object it uses underneath. Ill try this approach issuing a couple of requests, and if it works I'll close the issue.
Again, thanks for your help!

Perfecto, buena suerte! 😄

It worked! I'm closing the issue. Gracias! 😄


try-except in inner() in run_simple() leaves exceptions grounds

try-except in inner() in run_simple() leaves exceptions grounds. When use_reloader is set to True, at that point KeyError is raised and in Flask environment, by mysterious reason the exception grounds shall be given to signal handlers, and it is seen as an exception. (Refer https://github.com/mitsuhiko/flask/issues/1694 / this patch may fixes this issue.)

"May" is a bit of a weak statement. Ideally it should fully fix the bug.

ID suggest putting the original Code into a function or clearing theexception state on Python 2

@yoloseem Any update on this?

@untitaker well... so far, no.

Looks like the referenced Flask issue was fixed by pallets/flask#1393.


Chain detection edge cases

Compiling all chain edge cases that do not work as in the classic games here. There's a simple underlying logical pattern that will solve for all of these cases, but we need to assess them all to figure out exactly how that integrates with our current model.
Swap-time abuse chain:

Interrupt falling column with non-falling panel:

Swap falling panel into a static clear:

More to be added as they're identified...

Closing for now, reopening if more edge cases surface


Added locations.

I took them from here: https://improwiki.com/en/wiki/improv/list_of_places

If you want to add items to it, feel free.

I merged it for now cause I need it for a project I'm working on, but feel free to add more data to it!

Okay, will plan to in the next few days.


feat: add auctionLotsEndingSoonRail context module

The type of this PR is: feat

This PR resolves CX-3385
Description
Add missing auctionLotsEndingSoonRail rail to context module

PR Checklist (tick all before merging)

[x] If I've added a new file to the tree I've exported it from the common index.ts
[x] I've added comments with examples for any new interfaces and ensured that they're in the docs
[x] No platform-specific terminology has been used outside of click and tap (platform is inferred by the DB storing events)

:rocket: PR was released in v4.107.0 :rocket:


Publisher should be deleted from the LL teaser view

The publisher should be deleted from the Land Library teaser view.
See below: it unnecessarily clutters the view:

Please only have thumbnail, date, title, description and geographical focus like I mentioned before until Simbiosys can look at a more intuitive design to show this.

Data provider should too, it is looking really cluttered and randomly placed. Please keep it as simple as possible until Simbiosys has taken a look at it:

done in #facdc51
online already


merge from template-arlac77-github

package.json

merge from template package.json

README.md

docs(README): update from template

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
22

Relevant Lines:
24

💛  - Coveralls


Add Maven-esque test logging

This will standardise an improved test output. Here is CivModCore's test output with these settings:
> Task :CivModCore:test

ConfigTests > pseudoConfigTest() PASSED

InheritanceTests > testStaticInheritance() PASSED

ItemMetaTests STANDARD_OUT
    2023-05-25 20:17:46,749 Test worker WARN Advanced terminal features are not available in this environment

ItemMetaTests > testBaseComponent() PASSED

ItemMetaTests > testAdvancedDisplayNameEquality() PASSED

NBTTests > testStringArraySerialization() PASSED

NBTTests > testNBTClearing() PASSED

NBTTests > testMapDeserialisation() PASSED

NBTTests > testNullSerialization() PASSED

NBTTests > testItemStackSerialisation() PASSED

NBTTests > testByteSerialization() PASSED

NBTTests > testLocationSerialisation() PASSED

NBTTests > testStringSerialization() PASSED

TextTests > testComponentOrderEquality() PASSED

TextTests > testComponentArrangementEquality() PASSED

UuidTests > testUuidSerialization() PASSED

This is the FULL output of the test command as it currently stands:
$ ./gradlew clean test

> Task :CivModCore:compileJava
/home/Protonull/Desktop/CivModCore/src/main/java/org/bukkit/pseudo/PseudoServer.java:852: warning: [removal] createVanillaChunkData(World,int,int) in Server has been deprecated and marked for removal
        public ChunkGenerator.@NotNull ChunkData createVanillaChunkData(
                                                 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

BUILD SUCCESSFUL in 10s
11 actionable tasks: 5 executed, 6 up-to-date


add build secret section in the import flow

Fixes

https://issues.redhat.com/browse/HAC-3481
Description

As a user, I want to add my token to the namespace so that I can use it in my build pipeinerun's partner tasks (eg: snyk).
PR contains following changes

Supports only Opaque secrets at the moment.
List the snyk-secret  in the select box, when the user selects the task a predefined token key will be presented to the user and they can enter the token data.
Users can also enter the custom secret name and add one or more key/value pairs.
Drag and drop or Upload a file in value section.

Type of change

[x] Feature

Screen shots / Gifs for design review

https://user-images.githubusercontent.com/9964343/235234038-8c57586f-7e09-4902-b2e0-655e312ebf1a.mov
Error State:

Snyk secret (predefined secret):

After linking the newly created secret in pipelinerun yaml files, the snyk task is executed:

How to test or reproduce?

In Import flow, Add secret option is available under advanced options.

Browser conformance:

[x] Chrome
[x] Firefox
[x] Safari
[ ] Edge

cc: @rohitkrai03 @sbose78 @christianvogt @misjohns

For the secret section:

Secret remove is too far away from the field; use the same placement as the environment variable field placement.
Secret fields are very long. Let's align those with the variable name field.

@Misjohns  I have fixed the width of the secret field and remove button placement.

I rebased this PR with the new Import flow changes https://github.com/openshift/hac-dev/pull/592

/retest

/retest


[WIP] OCPBUGS-32785: Rebase v1.29.4

/jira cherrypick OCPBUGS-32785

/close
Assuming this is superseded by #65 reopen if not


fix network delete; fix EPG keys; code cleanup

fix network delete
fix EPG keys
code cleanup

I see a bunch of deletes related to volumes. Hope those are intentional/ok.
The rest LGTM.

yes, cleaning up code thats not used by netmaster


refactor: action-sheet调整

Coverage increased (+0.07%) to 69.494% when pulling 08f41ddf839ac12aa951842b13f8ec818ff844a4 on Yang03:dev into 1c7068f580aff63ea3a01f6555de4699e22cf6ce on ZhonganTechENG:dev.

Coverage increased (+0.07%) to 69.494% when pulling 08f41ddf839ac12aa951842b13f8ec818ff844a4 on Yang03:dev into 1c7068f580aff63ea3a01f6555de4699e22cf6ce on ZhonganTechENG:dev.


App: drag/drop and direct upload for VRMs not working

drag/drop upload for VRMs appears to be broken - tested with the Default Bot 6 VRM.
No error message and/or upload message
Direct upload does not work - same as above.

We might be killing all free uploads like this, it was never supported and often abused.
FYI uploading avatars to the FE does work.
https://cdn.discordapp.com/attachments/737801646364557394/838407410510332014/2021-05-02_09-25-20.mp4

Makes sense. I was mainly using it for testing - if this pre-mint preview is accurate to the game environment, then it should absolutely suffice


Investigate breaks in experiments for webpack on performance-benchmark.

Fork or clone: https://github.com/TheLarkInn/performance-compare
Add experments.futureDefaults & experiments.lazyCompilation to both babel and swc webpack configurations
Run the individual start command npm run start:webpack
Open the dev server link

Expected Output:

webpack dev mode loads the page just like all the other benchmarks do

Actual Outcome:

Console errors related to lazyCompilation

Console errors related to futureDefaults

I believe since there isn't many integrations that this is caused by: https://github.com/pmmmwh/react-refresh-webpack-plugin

@TheLarkInn Is it broken?

I think this plugin breaks when used with experiments.futureDefaults and experiments.lazyCompilation. We can reduce further if needed but the original repo should be enough to triage I think. cc @pmmmwh

My concern is that this is a very popular plugin for webpack+react users so we should prioritize futureproofing finding the bugs in the plugin for when we enable these future defaults and features.

Yeah, agree

I'm digging this issue to investigate how webpack rebuild can become, and find it's the experiments.css:true and node.global:warn cause the runtime error and warning.
this config works on my machine
module.exports =
{
   node: {
    global: false,
  },
  experiments: {
    css:false,
    futureDefaults:true
  }
}

Bump - I'll try to investigate this soon and hopefully we can figure out what's wrong

bump

@alexander-akait  I investigated it before, it's not related to react-refresh-webpack-plugin, it's caused by futureDefault enable experiments.css by default which conflicts with style-loader, so disable experiments.css could solve this

@hardfist oh, thank you, I think we need to send a fix there


Update index.mdx

Add a slash so that sidebar works properly.

The link already works, what's the problem?

Without the trailing slash the section isn't highlighted in the sidebar

I see, thanks!


WIP: Add windows support

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

This is very interesting. However I think we need to come to a consensus on how new compilers will be used in conda-forge first. The compiler meeting should do that.

So the main problem is how can I install a build dependency from another channel? We cannot use the conda forge cmake because building requires the development version. @jakirkham Any ideas?

Also, this is not doing what you think it's doing. I'm testing to see whether the build will finish within the two-hour time limit.

Also BTW, I think you will find the release notes for the next numpy version to be very interesting. I can only claim partial responsibility though.


Set up Miro

Overview
We need to set up Miro to ensure authorised users have the right access to it.
Action Items

[ ] Set up Miro with correct permissions
[ ] Create guide to show how to set up Miro correctly

Resources/Instructions
Miro

I had a long chat with Thad (which is the CfA Miro person) and he told me that having permissions based access would be expensive (like $10/user/month).
It seems possible to lock objects on the board (but then anyone can unlock them or only Thad could).
I'll investigate a little more but it's not promising.
I received a request to do a Miro training. I'd prefer to do it with more people at once rather than one person every time.

I had a long chat with Thad (which is the CfA Miro person) and he told me that having permissions based access would be expensive (like $10/user/month).
It seems possible to lock objects on the board (but then anyone can unlock them or only Thad could).
I'll investigate a little more but it's not promising.
I received a request to do a Miro training. I'd prefer to do it with more people at once rather than one person every time.

@giosce  will copy existing board into CTI board and write how to set up Miro and provide access for a project.

@giosce  will copy existing board into CTI board and write how to set up Miro and provide access for a project.

@giosce I've created a draft guide for this on the product management board. Can you please take a look and give your comments please? Thanks!

@giosce I've created a draft guide for this on the product management board. Can you please take a look and give your comments please? Thanks!


Inventory interservice relations (#3352)

Pull request opened by the merge tool on behalf of #3352

Merged in be5093c87cf9b5fb9370a081dac5ccca9c05623f


Make secrets api available before the app is ready.

Make secrets api available before the app is ready.
Currently apis in dapr are available only after app has responded on app-port. For some of the apis like secrets, app might need it to do some initialziation, so atlease secret api should be available before the app starts. eg. when using secrets as Aspnet core configuration.
Please see this discussion https://github.com/dapr/dotnet-sdk/pull/262#discussion_r414363850
cc @cmendible

This is really a serious problem when using secrets. If you want to use any secrets for app initialization, e.g. for setting up JWT validation in an auth pipeline/middleware, you can't use the dapr secretstore - classic chicken-and-egg situation.
Ran into this in NodeJS, where you can implement some workarounds for that situation...but in dotnet - no chance.
Would be great, if the secrets api could be available "before" your service endpoint is ready.

@cdennig in the meantime if you need a workaround for .NET check the WaitForDapr method in the PR #262

Is this the right PR? 😊 Can't find a WaitForDapr method in there...

@cdennig I edited the link in the previous comment.

@cmendible I get the workaround, but I hope dapr will implement the secrets api in that way, that it is not depending on your service endpoint being up and running.
Thanks for the help 👍

@cdennig  fyi, until this is fixed in runtime, .net SDK will not ship the Extensions nuget PKG as it doesn't offer the correct experience to users. Once its fixed .net SDK will resurrect the nuget package.

Makes sense. Thank you for the information, @amanbha

@amanbha  I can take this up if it is up for grabs.

Sure @jigargandhi , thanks!

Myself and @youngbupark went through the code flow one more time and these are the conclusions from it.
The ask: Start API servers before app is fully initialized.
Existing runtime init code flow
Enable tracing and metrics
Establish security
Block until app is ready
Create App Channel
Load App Configuration
Init Name Resolution
Register components
Process (and start)components
Init Direct Messaging
Init Actors
Register and Start Http Middleware
Start External and Internal gRPC Servers
Start HTTP server
Dependencies as it exists
AppChannel init depends on app being ready.
DirectMessaging depends on AppChannel.
initInputBinding depends on AppChannel.
Actors need AppChannel.
gRPC, HTTP APIs need directMessaging, appChannel and actors to have been initialized before those structs are initialized.
Change in init flow
Enable tracing and metrics
Establish security
Init Name Resolution
Register components
Process components
Register and Start Http Middleware
Start External and Internal gRPC Servers
Start HTTP server
Block until app is ready
Create App Channel
Set AppChannel for gRPC and HTTP servers
Load App Configuration
Init Direct Messaging
Set Direct Messaging for gRPC and HTTP servers
Init Actors
Set Actors for gRPC and HTTP servers
Start Components(Subscribing, reading from bindings)
@yaron2  thoughts?

LGTM.
@jigargandhi can you change the order as described above?

sure, I will change the order as above and push a commit.


extra: readability mode

Something similar to this might be interesting to try out (click for full-size image):

quick & dirty:
html {
  background: grey;
}

body {
  background: white;
  max-width: 40em;
  padding: 1em 5em;
  margin: 10px auto;
  border-radius: 2px;
  text-align: justify;
}

This should be a separate style (using @include, perhaps?) with its own bookmarklet, or maybe a bookmarklet that applies both unstyle.css and the rules above.


Add tracing to heroic-api

@dmichel1 @hexedpackets made the changes as requested. :)

@lmuhlha I think you might have missed my comment about parsing the incoming HTTP headers. The rest looks good :+1:

@hexedpackets yeah sorry i was just looking at the file changes when going through this. will work on that as well.

@hexedpackets I added the part to parse the headers, not entirely sure how to account for that afterwards.

@lmuhlha You're adding the context to the headers right before the Java method takes over. That isn't going to do anything, the span was already started at that point and you would only want to inject it into headers for a client wrapper. We need to do the inverse - read the context from the headers and start the span as a child of what gets parsed, if there's anything there.

@hexedpackets Minus getting the extract working properly, I think this is good now

!rebuild


vscode intellisense not identical

TypeScript Version:  3.3.0-dev.201xxxxx

Search Terms:
Code
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.

Expected behavior:
p1-on function tip like p1

p2-in function tip like p2

on p1 and p2,this isn't work correct;
my vcode version like

help me thank you
Actual behavior:
Playground Link:
Related Issues:

This is too far from a usable bug report for us to expend effort probing further.


46d5877874a9fb reintroduces error corrected in 3abe881508869a9e

Head again misses the opening parenthesis.
Does nobody work with these headers?
#define USB_OTG_GCCFG_FSVMINUS_Pos               (2U)
-#define USB_OTG_GCCFG_FSVMINUS_Msk               (0x1U << USB_OTG_GCCFG_FSVMINUS_Pos)        /*!< 0x00000004 /
+#define USB_OTG_GCCFG_FSVMINUS_Msk               0x1U << USB_OTG_GCCFG_FSVMINUS_Pos)         /!< 0x00000004 */

Hi @UweBonnes,
Thank you for the heads-up. Indeed, this is an unwanted change. We'll have this fixed as soon as possible.
With regards,

Fixed in commit 48a64b6a00d7627b6c98fcf565cc6cf2b714b659


Added vignette effect docstring and placeholder function

Addresses issue #8

I was planning to experiment a bit and add it next week if it was looking feasible


stack skills not working with youtube-dl

Checklist

[ x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.11.05
[x] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl --username <username> --password <password> https://stackskills.com/courses/200998/lectures/3074589 -vvv
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--username', u'PRIVATE', u'--password', u'PRIVATE', u'https://stackskills.com/courses/200998/lectures/3074589', u'-vvv']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.05
[debug] Python version 2.7.15+ (CPython) - Linux-5.0.0-35-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[Teachable] Downloading stackskills.com login page
ERROR: Unable to download webpage: HTTP Error 503: Service Temporarily Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2237, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 467, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description

youtube-dl --version
2019.11.05
was working up until a few days ago

duplicate of #20652.


useInteractiveGuideline: true not working in ng2admin

it works properly in cli angular2 but im creating my project using ng2admin and i have installed npm package by refering https://www.npmjs.com/package/ng2-nvd3.   and in index.html i have tried both

the graphs are drawn but the effect of   useInteractiveGuideline: true in linechart is not working. plz help
http://akveo.com/ng2-admin/#/pages/dashboard  (ng2admin)

sorry for trouble but its working now


Illagers Wear Armor Compatibility

Describe the Suggestion
"Illagers Wear Armor" together with "It Take a Pillage" are incompatible, the armor is not rendered but they get the attributes, naturally they are not generated either.
It would be interesting to see compatibility between these mods to increase the difficulty and create more things.
Screenshots and Videos

Additional Context
No response

Great suggestion! Though, it might be a bit goofy for the legioner to have two layers of armor...


Update time series tutorial

Currently, our tutorial subsamples the data to 25% of the cells to speed up computations - rather than doing that, we should use our adaptive thresholding scheme, which is currently not used. Would be good to see whether this changes results - it's okay if it does actually, subsampling to 1/4 of the data is quite a reduction in cell number.

The adaptive thresholding only helps when computing the Schur decomposition, macrostates, etc. I reran the tutorial on the entire dataset and this part is fast (<= 1 minute for each). The problem is computing wk.compute_transition_matrix which took over an hour to finish.
The eigengap is now after the fourth eigenvalue (before it was after the first, so this is better)

but the same macrostates are inferred as before.

Thanks a lot @WeilerP for running this, that's great! Good to see we get the same macrostates. You're right, the actual part that computes the transport maps does take a while, of course. Maybe we should pre-compute them and load them from file (I guess they can be cached in the kernel @michalk8 ? ) I think that would be the best solution actually, since we could showcase how to run CellRank on really large data.


Add Nonce

Closes #183

[x] Nonce checking
[x] Nonce querying

For some reason, the Tx nonce is always 0.


Amplify Console - 'craco build' not working

Issue
I wanted to deploy my react-js app to the Amplify Console. Although, I have been getting build errors whenever I try to deploy. Although, when building the app locally, or on Netlify, the build process returns no errors. Even when running npm start, the app starts properly without errors.
Additional details
The main issue starts when the build command runs during the deployment.
I have been using Craco for my react app. So, whenever npm run build is used, it starts craco build. Although, during the very time, Amplify Console throws an error.
What AWS Services are you utilizing?
Currently, the app is independent of any services. Just using Amplify Console. All the required dependencies are already present in the package.json file. So, no issues with that too.
Provide additional details e.g. code snippets
Here are the build settings  (Pretty Default) -
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm install
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: build
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

The Error ----
2021-12-13T09:48:01.717Z [INFO]: # Completed phase: preBuild
                                 # Starting phase: build
2021-12-13T09:48:01.717Z [INFO]: # Executing command: npm run build
2021-12-13T09:48:01.882Z [INFO]: ><EMAIL_ADDRESS>build /codebuild/output/src729230013/src/web-pvt
                                 > craco build
2021-12-13T09:48:03.941Z [INFO]: Creating an optimized production build...
2021-12-13T09:48:23.230Z [INFO]: Failed to compile.
2021-12-13T09:48:23.232Z [INFO]: ./src/index.css
                                 Error: PostCSS plugin autoprefixer requires PostCSS 8.
                                 Migration guide for end-users:
                                 https://github.com/postcss/postcss/wiki/PostCSS-8-for-end-users
2021-12-13T09:48:23.271Z [WARNING]: npm
2021-12-13T09:48:23.271Z [WARNING]: ERR! code ELIFECYCLE
                                    npm ERR! errno 1
2021-12-13T09:48:23.273Z [WARNING]: npm
2021-12-13T09:48:23.273Z [WARNING]: ERR<EMAIL_ADDRESS>build: `craco build`
                                    npm ERR! Exit status 1
                                    npm ERR!
                                    npm ERR! Failed at the<EMAIL_ADDRESS>build script.
                                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-12-13T09:48:23.278Z [WARNING]:
2021-12-13T09:48:23.278Z [WARNING]: npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /root/.npm/_logs/2021-12-13T09_48_23_274Z-debug.log
2021-12-13T09:48:23.278Z [HELP]: Outputting the npm debug log
                                 0 info it worked if it ends with ok
                                 1 verbose cli [
                                 1 verbose cli   '/root/.nvm/versions/node/v12.21.0/bin/node',
                                 1 verbose cli   '/root/.nvm/versions/node/v12.21.0/bin/npm',
                                 1 verbose cli   'run',
                                 1 verbose cli   'build'
                                 1 verbose cli ]
                                 2 info using<EMAIL_ADDRESS>                                 3 info using<EMAIL_ADDRESS>                                 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
                                 5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>                                 6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>                                 7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
                                 8 verbose lifecycle<EMAIL_ADDRESS>PATH: /root/.nvm/versions/node/v12.21.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/codebuild/output/src729230013/src/web-pvt/node_modules/.bin:/usr/local/rvm/gems/ruby-2.4.6/bin:/usr/local/rvm/gems/ruby-2.4.6@global/bin:/usr/local/rvm/rubies/ruby-2.4.6/bin:/usr/local/rvm/bin:/root/.yarn/bin:/root/.config/yarn/global/node_modules/.bin:/root/.nvm/versions/node/v12.21.0/bin:/root/.local/bin:/root/.local/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.dotnet/tools
                                 9 verbose lifecycle<EMAIL_ADDRESS>CWD: /codebuild/output/src729230013/src/web-pvt
                                 10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'craco build' ]
                                 11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
                                 12 info lifecycle<EMAIL_ADDRESS>Failed to exec build script
                                 13 verbose stack Error<EMAIL_ADDRESS>build: `craco build`
                                 13 verbose stack Exit status 1
                                 13 verbose stack     at EventEmitter.<anonymous> (/root/.nvm/versions/node/v12.21.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                                 13 verbose stack     at EventEmitter.emit (events.js:314:20)
                                 13 verbose stack     at ChildProcess.<anonymous> (/root/.nvm/versions/node/v12.21.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                                 13 verbose stack     at ChildProcess.emit (events.js:314:20)
                                 13 verbose stack     at maybeClose (internal/child_process.js:1022:16)
                                 13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
                                 14 verbose pkgid<EMAIL_ADDRESS>                                 15 verbose cwd /codebuild/output/src729230013/src/web-pvt
                                 16 verbose Linux 4.14.252-195.483.amzn2.x86_64
                                 17 verbose argv "/root/.nvm/versions/node/v12.21.0/bin/node" "/root/.nvm/versions/node/v12.21.0/bin/npm" "run" "build"
                                 18 verbose node v12.21.0
                                 19 verbose npm  v6.14.11
                                 20 error code ELIFECYCLE
                                 21 error errno 1
                                 22 error<EMAIL_ADDRESS>build: `craco build`
                                 22 error Exit status 1
                                 23 error Failed at the<EMAIL_ADDRESS>build script.
                                 23 error This is probably not a problem with npm. There is likely additional logging output above.
                                 24 verbose exit [ 1, true ]
2021-12-13T09:48:23.281Z [ERROR]: !!! Build failed
2021-12-13T09:48:23.281Z [ERROR]: !!! Non-Zero Exit Code detected
2021-12-13T09:48:23.281Z [INFO]: # Starting environment caching...
2021-12-13T09:48:23.282Z [INFO]: # Environment caching completed

Note - The repository used for this build is a Github organization's private repository. Although, access was granted to Amplify Console.

Got it sorted out.
The issue was in the Autoprefixer version. I think Postcss supports version 9 and the one I was using was 10. That is why it wasn't  getting deployed.


Bump web apps

Jira-3634
We want to get the performance on par with ECF; during testing we're a bit slower and it seems the web apps are the bottleneck; going to 12 to see if that improves the situation in the short-term until we have time to optimise. Move to 6 workers now we are running 12 web apps.
Bump migration workers to 30 to match migration environment ahead of running migration in production.

Going to re-raise as the review app is stuck 😞


Adjust tests to allow occasional mismatches

I saw you found more tests failing intermittently @nbgl and thought I should do something about it.
Closes #134

These changes look good (we should definitely not be after an exact matching!). However, I worry that the tests will still fail intermittently, only perhaps less often.
How would you feel about seeding the pseudorandom number generator for reproducibility?


Azure Spatial Anchors crashing with Unity XR

Describe the bug
When trying to create an Azure Spatial Anchor through https://docs.microsoft.com/es-es/windows/mixed-reality/mr-learning-asa-02, the app crashes to UnityEngine.XR.WSA.WorldAnchor::GetNativeSpatialAnchorPtr() inside UnityEngine.VRModule.cpp
To reproduce
Steps to reproduce the behavior:

Create the basic demo scene following the tutorial from the web
Switch to the new XR Plug-in system
Use a XRSDKConfiguration profile
Press Start Azure Session
Press Create Azure Anchor

Expected behavior
It should create a spatial anchor where the cube is placed
Your setup (please complete the following information)

Unity 2019.4.4f1
MRTK Version 2.4.0

Target platform (please complete the following information)

HoloLens 2

Looks like this is tracked on the ASA sample repo at https://github.com/Azure/azure-spatial-anchors-samples/issues/212. Going to close this one down in favor of that, as this isn't MRTK related.

Hello, I have the same issue!!


mysql 报错

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)'
Check that mariadbd is running and that the socket: '/run/mysqld/mysqld.sock' exists!

已修复


GraphOverView background

Hello, I tried for quite a while to change the GraphOverView background via the stylesheet.qss and unfortunately came up empty. Would you be able to tell me how to change the background from the white to the dark gray so it matches the rest of the theme? Thanks!

Mh, actually this is supposed to change according to whatever you configure for your regular graph in IDA. This view is custom and doesn't accept any theming via Qt stylesheets, so it's probably just an IDA bug and not an IDASkins issue. What version of IDA are you working with, what platform?

Nope, I don't work with that eyesaw, I chose extreme colors for this screenshot. 😃

Interesting... I'm currently using version 6.5; I know where the setting is for the standard sized graph, but the mini one didn't seem to change :(
I tried various combinations in style sheet with things like:
IDADockWidget > QWidget > GraphOverView {
    background-color: #666;
    border-radius: 3px;
}

...and no change. It probably is a bug then as you say, so maybe time for me to upgrade perhaps. It looks like yours is working properly, which version do you use? Thanks for the quick response!

Stylesheets can't possibly affect IDA custom views (like the graph and the graph preview) because HR decided not to implement theming support via Qt stylesheets for them.
I'm using IDA 6.95 on a Windows 10 VM — that's the latest version. I'm guessing to update your installation is your only option. As this doesn't seem to be an IDASkins issue, I'll close this. Feel free to respond anyways in case you need some more help.


Async await operation on bxcan

Does bxcan implement futures for embassy.
How can I use .await with can.receive().await?

the embassy-stm32 STM32 HAL has support for async bxcan, written on top of this crate.


[firebase_ml_vision] Adding the Object Detection Feature

In the Firebase Ml Package there are the following Detectors : Face , Barcode , Image Labeling , Text Recognition , Landmark Detection. There is a new Detection model called Object Detection and you can find it in this link : https://developers.google.com/ml-kit/vision/object-detection-and-tracking/ . It is part of ML Kit. So can you add it please as a new Feature.

@Loopex2019
The issue at https://github.com/flutter/flutter/issues/34800 has been closed and moved here. Future collaboration on this issue will be done here.

Any news about when this feature will be available?


Rjf/read progress uniformity

this PR makes it so users of the read_utils methods read_raw_file and read_csv do not need to concern themselves with the progress bar.
along the way, the graph|edge|vertex loader files were removed and all of the logic was simplified into the Graph::from_files method.
3 configuration keys are now ignored: "n_vertices", "n_edges", "verbose".
Closes #190.

OK!
i also added a COMPASS_PROGRESS environment variable. if COMPASS_PROGRESS=false (FALSE ok too) then we do not build a progress bar. that way, on HPC, we can use log level INFO + COMPASS_PROGRESS=false, and otherwise, we can just set log level for the usual behavior.

Nice, I like this concept. When testing it out it's not working as expected on my side.
If I run with no environment variables I get:
./target/release/routee-compass --config-file ../docs/examples/denver_co/osm_default_energy.toml --query-file ../py-notebooks/test-query.json

input plugins: 100%|██████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 6964.56it/s]
search: 100%|███████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 85.72it/s]

But, if I try to set COMPASS_PROGRESS to false, nothing changes:
COMPASS_PROGRESS=false ./target/release/routee-compass --config-file ../docs/examples/denver_co/osm_default_energy.toml --query-file ../py-notebooks/test-query.json

input plugins: 100%|██████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 7623.93it/s]
search: 100%|███████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 85.56it/s]

If I add RUST_LOG=info, and don't set COMPASS_PROGRESS I get:
RUST_LOG=info ./target/release/routee-compass --config-file ../docs/examples/denver_co/osm_default_energy.toml --query-file ../py-notebooks/test-query.json
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] finished reading traversal model with duration 0:00:00.074
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] finished reading access model with duration 0:00:00.008
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] finished reading frontier model with duration 0:00:00.000
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::config::termination_model_builder] app termination model: QueryRuntimeLimit { limit: 600s, frequency: 100000 }
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] finished reading graph with duration 0:00:00.024
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] graph size: 0 GB
link geometries: 100%|█████████████████████████████████████████████████████████████████| 48417/48417 [00:00<00:00, 1172621.25it/s]
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] finished loading map model with duration 0:00:00.047
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] finished loading plugins with duration 0:00:00.000
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] additional parameters - parallelism=2
input plugins: 100%|██████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 7398.25it/s]
load balancing: 100%|███████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 152881.83it/s][2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] creating 2 parallel batches across 12 threads to run queries
[2024-12-20T21:20:15Z INFO  routee_compass::app::compass::compass_app] queries assigned per executor: [1, 0]
search: 100%|███████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 86.90it/s]

But if I set both I still see three progress bars:
RUST_LOG=info COMPASS_PROGRESS=false ./target/release/routee-compass --config-file ../docs/examples/denver_co/osm_default_energy.toml --query-file ../py-notebooks/test-query.json
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] finished reading traversal model with duration 0:00:00.072
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] finished reading access model with duration 0:00:00.007
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] finished reading frontier model with duration 0:00:00.000
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::config::termination_model_builder] app termination model: QueryRuntimeLimit { limit: 600s, frequency: 100000 }
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] finished reading graph with duration 0:00:00.022
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] graph size: 0 GB

[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] finished loading map model with duration 0:00:00.045
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] finished loading plugins with duration 0:00:00.000
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] additional parameters - parallelism=2
input plugins: 100%|██████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 7530.57it/s]
load balancing: 100%|███████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 152858.45it/s][2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] creating 2 parallel batches across 12 threads to run queries
[2024-12-20T21:20:32Z INFO  routee_compass::app::compass::compass_app] queries assigned per executor: [1, 0]
search: 100%|███████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 88.05it/s]

Perhaps the COMPASS_PROGRESS isn't getting used correctly for the input plugin bar and the search bar?

ok, whoops, yes, that makes sense. i only changed progress bar behavior at the read_utils functions, so progress bars running elsewhere aren't being managed. i'll look around to see if it seems like a good idea to do that (without adding too much confusion/noise).
also! i was missing the final eprintln!() call after the bar should finish, so, it's possible you aren't seeing the other bars from file loading because they are all getting overwritten by something else. that fix is in.
i'll update here after i review silencing all progress bars.

@nreinicke i started trying to make this feature available to all progress bars across the system, and it got tricky once i got to the deeper function call stack and longer lifetime of CompassApp. i'm not sure how to best implement it. but i did move the bar-building functionality to a util module in the core crate, and wired it into at least one other place (the load balancing function).
maybe i make a fresh issue to dive deeper into wiring this into the rest of the core functionality.
also, maybe this isn't really a problem? if i avoid less on linux and instead read the slurm logs with cat, it actually formats the progress bars correctly.


Support AWS Lambda tiered pricing

AWS announced support for tiered Lambda pricing. We should update the aws_lambda_function resource to support multiple tiers for the Duration cost component.

Reopening this issue as https://github.com/infracost/infracost/pull/1950 did not add full support for tiered pricing

I can take a look at this @aliscott @hugorut

This has now been released in v0.10.14. Thanks @robh007 🙏


Please document portainer logs

Please document how the users + API consumers can get access to the error messages which are validated in the portainer API but I could not find in any portainer logs.
When calling a portainer API there is very detailed input validation which is happening however on the client only a very generic and not helpful error message is coming "An exception occurred: 400 Client Error: Bad Request for url:" this doesn't give any information at all to the API consumer what needs to be corrected in the input request to make the call successfull.
Running 'docker logs 3c6e45883cf9' does not show any portainer error at all, portainer shows everything is green there even if my API calls failed and I got the  "An exception occurred: 400 Client Error: Bad Request for url:" after I called the API.
I checked the portainer documentation and I could not find where to find the portainer application logs (other than the docker logs command where everything is green and shows no error even if there are errors).
I checked the mapped portainer folders and could not find any log file where I could find more information.
Here is a piece of the portainer source code which shows very details input validation but none of this information reaches the public log locations.
func (handler *Handler) stackCreate(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
	stackType, err := request.RetrieveRouteVariableValue(r, "type")
	if err != nil {
		return httperror.BadRequest("Invalid path parameter: type", err)
	}

	method, err := request.RetrieveRouteVariableValue(r, "method")
	if err != nil {
		return httperror.BadRequest("Invalid path parameter: method", err)
	}

	endpointID, err := request.RetrieveNumericQueryParameter(r, "endpointId", false)
	if err != nil {
		return httperror.BadRequest("Invalid query parameter: endpointId", err)
	}

Please document portainer logs

We're aware that our user-facing logging needs improvement and we have an open task around this for an upcoming release. In the meantime, you can often find useful information about errors by checking your browser's developer tools - open the tools, go to the Network tab, then perform the action in the Portainer UI. Locate the failing call (it should be highlighted in red), select it, and go to the Response tab.

For whoever is interested --log-level=DEBUG cli flag will output more useful logs.
It would be helpful to document this flag here.
https://docs.portainer.io/advanced/cli

The DEBUG log level is intended for internal use and for when developing for the application rather than troubleshooting usage of Portainer. As such we document it in our contribution guidelines rather than in our user-facing documentation.

As I mentioned, we're aware of these shortcomings and have an open task around improving this in a future release.


Set Ropsten beacon chain launchpad

WIP config: https://github.com/eth-clients/merge-testnets/pull/9
The chain will be called just ropsten on the beacon chain side.

TODOs:

[x] Add and test Ropsten configuration
[x] Update and release staking-deposit-cli
[x] Set up Ropsten launchpad website

https://ropsten.launchpad.ethereum.org/ in online!


Fix root

Fixes at least part of #46 by setting the expected content root, since this site it served at a subpath of fsharp.github.io.
In addition, I tried to correct the bad urls in index.md by adding the {{root}} parameter for replacement, but that did not work. F#F probably is missing something here.

As an aside, I noticed while trying to work this that F#F parses users parameters pairwise. Is that a meaningful ordering? people don't usually send parameters expected the space-delimited list to be traversed in that way. I could see windows of 2, or requiring <key>=<value> syntax, but the way they're parsed right now is confusing to me.

@dsyme I saw you just did a batch of fixes to F#F, can you check this change too? I think this will be required anyway, since we don't have the site as / in this repo.

@dsyme I saw you just did a batch of fixes to F#F, can you check this change too? I think this will be required anyway, since we don't have the site as / in this repo.

Yes this was an F#F bug , should be fixed

As an aside, I noticed while trying to work this that F#F parses users parameters pairwise. Is that a meaningful ordering?

agreed this is weird. Inherited it from previous code

Fixes at least part of #46 by setting the expected content root, since this site it served at a subpath of fsharp.github.io.

The mistake was that PackageProjectUrl is the correct value for root

Great! Sounds like I can close then then.


Problem with visibility of variables in HA

Hello,
I have problem with integration ESP with HA
in this moment when i giving ip address of HA in MQTT explorer  i see 3 record LWT,LOG,ATTR

but in HA i see only

i use ESP32 with external Power suplly
in setup.h i uncomment #include "def/DEFAULT.h"

in MQTT info in HA i see:

in ATTR i always have "}"
in setup.h:

in default.h

IN HA i have information about wrong JSON

Can you show us what pops under espaltherma/LOG or show what is coming up on the Serial monitor?
Are you sure the grounds of your Esp32 is linked with the ground of the heat pump?

That's it ...
i didn't connect GND with "-"
i`m sorry : P

Good to hear it's now working for you.
I'll emphasise on this in the readme.


Atom crash on load with 'SyntaxError: Unexpected end of input'

after installing https://atom.io/packages/git-plus, after Atom rebooted, I got this:

the error happened in this line:

For reference it loaded ok, on 2nd start

Do you remember how you launched Atom when it failed?

If I remember correctly there something saying 'a restart is needed, click here to restart'

Great, thanks

This is now guarded against via https://github.com/atom/atom/blob/cf6a6fe2b129f676328de1f615c4857f5b56f9d6/static/index.js#L188-L196 so I think this can be closed out. Please comment if you still see it happening on Atom 1.0.3+


Remove tectonic-operators

Took the path of least-resistance for this PR:

Copied over the two parts of operator-client that don't have good tooling in client-go:
Deployments (CreateOrRollingDeployment)
CustomResource interactions
Kept an operatorclient abstraction to hang our test mocks off of

Doing things this way required very few changes to our tests, which was the hard part from last time we attempted this.
I expect that in the future, operator-sdk and/or client-go will make all of this custom client work obsolete, so we should plan to update to the best solution when it's available.

How should I review this?

I'm mainly interested to make sure none of the changes affected the e2e tests. Another thing to check is that this builds on a fresh clone, to verify https://github.com/operator-framework/operator-lifecycle-manager/issues/360 is fixed.


Switch to redoc with custom theme

Pull Request
Description
We'd like to make the public nowcasting docs nicer looking and easier for new users to read. By moving from Swagger UI to ReDoc (also included by default in FastAPI) we get a nicer UI, with a sidebar nav which can have static pages in it in future. This PR is just focused on switching to ReDoc with a custom theme that aligns with our brand.
If we're happy with these new docs, we should change the route from /newdocs to /docs.
Note: I had to made some docker changes to run this repo locally. If docker is used in prod, you may want to throw the commit with those changes away or move them to renamed files for localdev.
Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #155 (0a67fcc) into main (626877f) will decrease coverage by 2.46%.
The diff coverage is 45.45%.

@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   98.90%   96.43%   -2.47%
==========================================
  Files          16       17       +1
  Lines         456      477      +21
==========================================
+ Hits          451      460       +9
- Misses          5       17      +12

Impacted Files
Coverage Δ

src/redoc_theme.py
28.57% <28.57%> (ø)

src/main.py
85.18% <53.33%> (-12.32%)
:arrow_down:

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

Thanks @dctanner I'll take it from here

Actually @dctanner could you have another look at this?
With the old docs I could try the route out, which I thought was a really useful function. Could you see if this can be included here?

This blog seems to imply that Swagger is the better thing to use - https://www.wappalyzer.com/compare/redoc-vs-swagger-ui

This blog seems to imply that Swagger is the better thing to use - https://www.wappalyzer.com/compare/redoc-vs-swagger-ui

Given Swagger UI was made by the creators of OpenAPI, it's the default option for most OpenAPI things, and definitely the most used. It does feel like ReDoc has a more beginner friendly UI, and it aligns more with some of the best API docs like stripe etc.
Let's include /swagger as then there's the option at least.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit b07d7d4:
:clock10: Pending: waiting for processors (25 builds ahead of you)
:warning: Docs Build is busy, currently there are 25 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit b07d7d4:
:clock10: Full build: the average full build time is 7 min(s) 23 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit b07d7d4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

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

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel