BBT chrashes during Initialization

Report ID: R6IC8BZ4-euc
As per title: BBT seemingly can't finish Initialization, it hangs up at 'Database cleanup 200/252...'.
I'm on Linux, both BBT and Zotero are up to date. The only thing i can think of that changed around the time it stopped working is that i lost my ~/.chache/zotero Directory. If i deactivate BBT Zotero starts up as usual.

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>27 ("add logging for #gh-1326")
Install in Zotero by downloading test build <IP_ADDRESS>27, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Can you get me a new log with 5127?

:robot: this is your friendly neighborhood build bot announcing test build <IP_ADDRESS>28 ("convert number to string for dbUpgrade")
Install in Zotero by downloading test build <IP_ADDRESS>28, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

The log with 5127 is C7SQ2B2X-euc

Thanks. 5128 should fix the problem, if you can verify that, I'll cut a new release.

Yes that fixed it, thanks!

Awesome, thanks for the confirmation. 5.1.159 is building but it'll just be what you have now. You'll be upgraded whenever Zotero checks for new plugin versions regardless.
(only I can close issues on this repo, I keep them open as a reminder to merge stuff into a release)


Implemented members backend (again)

Added a backend API for the memebers page, also fixed a few other things

made a new branch because of conflict hel

Green light (can't review for some reason :/)


fix the missing lock in TSVConnFdCreate api

Since we don't use this api, it is just 8.0.0 only !

updated Document !

[approve ci autest]

ping @jpeach !

Is this a candidate for 7.1.x ?

@scw00 Oops, forgot to ping you. Should we backport this to 7.1.x ?

I think 8.0.0 may be better since we don't use this api.


Allow FilterLabels to process all Label types

Allows FilterLabels() to accept any Label type, including non-list fields like Classification. Previously FilterLabels() would only support list types (e.g., Classifications) and one must use FilterField() to filter Classification labels.
This is more consistent with other stages like MapLabels that support any Label type.
Note that, although this does completely deprecate the need for using FilterField for Label types, it is still useful for filtering non-Label types.
TODO before merging: I would like to update all docs and examples to use the generic filter_labels() stage rather than the dedicated filter_classifications(), filter_detections(), etc. stages, which are now unnecessary (I'd like to schedule them for removal in a future release)
import fiftyone as fo
import fiftyone.zoo as foz
from fiftyone import ViewField as F

#
# filter_labels() with a non-list field type (Classification)
#

dataset1 = foz.load_zoo_dataset(
    "cifar10",
    split="test",
    max_samples=100,
    shuffle=True,
)
print(dataset1)

view1 = dataset1.filter_labels(
    "ground_truth", F("label") == "cat", only_matches=True
)
print(view1)
print(view1.first())  # `cat` sample

#
# filter_labels() with a list field type (Detections)
#

dataset2 = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    max_samples=100,
    shuffle=True,
)
print(dataset2)

view2 = dataset2.filter_labels(
    "ground_truth", F("label") == "person", only_matches=True
)
print(view2)
print(view2.first())  # only contains `person` detections

session = fo.launch_app()

session.view = view1
session.view = view2

Ok, still a couple bugs to fix. Will follow up.

Ok, still a couple bugs to fix. Will follow up.

#793 has fixes related to counting frame labels that are not list labels, and serialization of filter stages so the server can load the stage correctly.
I can work on docs later today and finish this PR.

#793 has fixes related to counting frame labels that are not list labels, and serialization of filter stages so the server can load the stage correctly.
I can work on docs later today and finish this PR.

Hey @benjaminpkane I think something is wrong with the App here. Can you take a look?
If you run the example in the description, session.view = view2 at the end shows an empty view, although the printing statements show that view2 does contain person-only detections as expected.

Hey @benjaminpkane I think something is wrong with the App here. Can you take a look?
If you run the example in the description, session.view = view2 at the end shows an empty view, although the printing statements show that view2 does contain person-only detections as expected.

Hey @benjaminpkane I think something is wrong with the App here. Can you take a look?
If you run the example in the description, session.view = view2 at the end shows an empty view, although the printing statements show that view2 does contain person-only detections as expected.

My previous comment notes this. It is an issue with filter serialization. Things work in #793. I'm not sure it is worth getting it to work in this PR. I'll note that supporting both the deprecated classes and FilterLabels has made things quite messy.

Hey @benjaminpkane I think something is wrong with the App here. Can you take a look?
If you run the example in the description, session.view = view2 at the end shows an empty view, although the printing statements show that view2 does contain person-only detections as expected.

My previous comment notes this. It is an issue with filter serialization. Things work in #793. I'm not sure it is worth getting it to work in this PR. I'll note that supporting both the deprecated classes and FilterLabels has made things quite messy.

Ok, fixed.

Ok, fixed.

Hey @benjaminpkane I think something is wrong with the App here. Can you take a look?
If you run the example in the description, session.view = view2 at the end shows an empty view, although the printing statements show that view2 does contain person-only detections as expected.

My previous comment notes this. It is an issue with filter serialization. Things work in #793. I'm not sure it is worth getting it to work in this PR. I'll note that supporting both the deprecated classes and FilterLabels has made things quite messy.

I'm still seeing the bug after pulling the latest changes, but nvm let's just let https://github.com/voxel51/fiftyone/pull/793 deal with it.

Hey @benjaminpkane I think something is wrong with the App here. Can you take a look?
If you run the example in the description, session.view = view2 at the end shows an empty view, although the printing statements show that view2 does contain person-only detections as expected.

My previous comment notes this. It is an issue with filter serialization. Things work in #793. I'm not sure it is worth getting it to work in this PR. I'll note that supporting both the deprecated classes and FilterLabels has made things quite messy.

I'm still seeing the bug after pulling the latest changes, but nvm let's just let https://github.com/voxel51/fiftyone/pull/793 deal with it.


Fix assets icons

Please upload new icons for assets https://zpl.io/belryQD

It should be correct triangle, not crashed as in current implementation.
Icons should be with gradient inside (the same color as icon border)

Current implementation

Images are with 'crashed' triangle in design. Please fix it in design first. Triangle in red circle is OK, in blue is misplaced

Radial gradient is rendered incorrectly by QT. We cannot fix this. Need to rework image somehow

<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26">
    <defs>
        <radialGradient id="yxlkbuwbka" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
            <stop offset="0%" stop-color="#9F56C2"/>
            <stop offset="100%" stop-color="#103051"/>
        </radialGradient>
    </defs>
    <g fill="none" fill-rule="evenodd">
        <g>
            <g>
                <g>
                    <g transform="translate(-341 -258) translate(90 148) translate(231 85) translate(20 25)">
                        <circle cx="13" cy="13" r="11.636" fill="url(#yxlkbuwbka)" stroke="#D785FF" stroke-width="2"/>
                        <g fill="#FFF">
                            <path d="M5.44 0l5.438 8.962H0L5.438 0v2.817L2.664 7.466l2.775-.001 2.776.001L5.44 2.817V0zM3.72 6.923l1.72-2.952 1.72 2.952-1.72-.003-1.72.003z" transform="translate(7.15 7.54)"/>
                        </g>
                    </g>
                </g>
            </g>
        </g>
    </g>
</svg>

When radialGradient includes cx="50%" cy="50% it is not rendered by QT

As discussed with daria, for now we'll leave icons without gradient. Only #1 should be fixed.

Checked on build 6.0.10849.4036


Add support to Pull and Push zones information with Az.ResourceGraph

Overview/Summary
This PR adds:

Pull and Push support of resources zones information by switching to Az.ResourceGraph, fixes #701.

Improved overall performance during Pull by switching to Az.ResourceGraph for policyassignments, policydefinitions, policysetdefinitions resources.

This PR fixes/adds/changes/removes

Adds new function Search-AzOpsAzGraph
Changes order of resource definition pull
Changes to automated tests to cover zones scenario
Removes unnecessary files

Breaking Changes

N/A

Testing Evidence
Automated tests are used to validate new zone information and remaining tests for policy objects validate remaining changes.
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Updated relevant and associated documentation.

Hi,
Any update on the approval/review stage?
And thanks for fixing the issue

Hi, Any update on the approval/review stage? And thanks for fixing the issue

Sorry for the slow reply. We are currently blocked by https://github.com/Azure/AzOps/issues/737. Should be fixed by end of this week.


Fix CUDA driver type stub definitions

closes https://github.com/rapidsai/kvikio/issues/510

/merge


Logo, title, slogan: escaped chain that must not be

When I try to add a logo to the identity of Website, I have that :

And when my slogan is : "c'est un test", the page return "c'est un test"
All the string were escaped, when a raw string where needed.
to remove this bug you must add to the restitution of fields or function '| raw' in the source file templates / template-parts / header / site-branding.html.twig on lines 12, 17, 19, 25, 33 and 44 (logo, tiltle of site, slogan of site, mai_menu items et social_menu items).
Celtic34fr
Béziers - France

Thank you you are right. I have updated the demo.


Analytical shape edits are not propagated to visualizer

The Cone's direction property has no effect on its orientation. Always points upward (along +Y), regardless.

Changing the cone height or radius had no effect.

This is issue is to do specifically with the Cone. If there are filed issues (and PR's) elsewhere for the different shapes, it would helpful for you to link them here.

PR #871 hides parameters that are not handled yet (needs fix on API side for orientation, similar to cylinders)

Brick: I am able to edit the half_lengths of a Brick ✔ , and the visualizer updates appropriately, and the quadrants property does not appear ✔ .
Ellipsoid: (a) Editing the radii for anEllipsoid has no effect ❌ . (b) The quadrants property is not hidden. ❌
Sphere: Editing radius ✔ ; quadrants property is not hidden ❌ .
Cylinder: Editing radius ✔ and half_height ✔ ; quadrants property is not hidden ❌ .
Cone: Editing height ✔ and base_radius ✔ ; quadrants property is hidden ✔ .

Why was this moved to "Needs Verifying"?

@chrisdembia In the past no changes to Analytical shapes were ever propagated. I agree we should either support or hide quadrants, looking for feedback on that. Elipsoid is implemented as a scaled Sphere, we can hide radii and users modify scale factors. Thoughts?

What do quadrants mean in the context of Geometry? If it is only necessary for wrapping then WrapGeometry should define it.

I don't know why this was moved to "Needs Verifying" if this issue has so far only been addressed for Cone.

An Ellipsoid is not a scaled Sphere! This is confusing trying to visualize joint surfaces. They are defined by radii for a reason. I don't think we should have scale factors for Geometry. If I want a bigger Sphere I should specify a larger radius. If I want a different sized Ellipsoid we should modify its radii, Block its half-lengths, etc... why do we need to confuse it with scale factors?

@aymanhab
On W10, 71c8c385. One check does not pass:

Brick
a) half_lengths changes visualize ✔
b) quadrants hidden ✔
Ellipsoid
a) radii changes does not visualize ❌
b) quadrants hidden ✔
Sphere
a) radius changes visualize ✔
b) quadrants hidden ✔
Cylinder
a) radius and half_height changes visualize ✔
b) quadrants hidden ✔
Cone
a) height and base_radius changes visualize ✔
b) quadrants hidden ✔

Thanks @carmichaelong 👍 Can you send me the model with Ellipsoid that you tested with.

@aymanhab I packed up the 5 models I used to test in the zip attached:
geometry_models.zip

Thanks again @carmichaelong the issue is that the part of the fix on threejs repo side wasn't merged to the opensim-gui repo. Will let you know when I have a build to verify that Ellispoid radii behave as expected.

@aymanhab

What do quadrants mean in the context of Geometry? If it is only necessary for wrapping then WrapGeometry should define it.

@aseth1 the original plan was to use generic geometry start/end-angles to allow creation of partial surfaces for decorations (half a cylinder, or part of cone etc.)  There was a complication that WrapObjects create separate Geometry components so there was a potential of quadrants/angles getting out of sync. or that both end up shown to users causing confusion. I didn't want users to get stuck with the awkward quadrants forever, so the compromise was to leave quadrants with Geometry for now and not expose them until a clear use-case/separation can be made. Hope this explains.

@aymanhab

quadrant is unused by all Geometry and has no implementations for drawing partial geometry
WrapObjects do not derive from Geometry
derived WrapObjects have the specific implementations for handling quadrants which for most users (including myself) have a confusing meaning and somewhat arbitrary effect.  I am happy to leave them in legacy code, but shoving them into a new base class we are introducing in 4.0 is not OK.

I didn't want users to get stuck with the awkward quadrants forever

By baking them into the base Geometry we are enshrining them in the codebase forever.  Since they are unused, it would be appropriate, where design and software maintainability would dictate that they be removed.

I agree that quadrants should not be in Geometry. When the feature is added, it will be fine to add the property at that time. It should be a fairly quick fix to remove the property.

the original plan was to use generic geometry start/end-angles to allow creation of partial surfaces for decorations (half a cylinder, or part of cone etc.)

These should simply be different Geometry types. It is not the job of a base class to foresee all potential uses and conditions, that is why we can derive,

@aseth1 these are NOT different geometry types, and using inheritance here would be a grave mistake and fundamental misuse of inheritance. A half cylinder is not a kind-of-cylinder (as subtype) it's a cylinder with different attributes!

I don't even think it is a kind of Cylinder. It is its own HalfCylinder or PartialCylinder with its own set of attributes. I was disagreeing with:

use generic geometry start/end-angles

But it seems like you agree that these will be very different attributes for different concrete types so it makes no sense having them in the base. Do we agree that quadrants has no current use in Geometry? If and when such a think is necessary we can add it to were it belongs, yes?

Yes, @aseth1 I agree to remove quadrants from Geometry 😃

https://github.com/opensim-org/opensim-core/pull/2263 has been opened to remove quadrants. After it's merged, I'll remove the code that hides quadrants and then any further testing can be done on the PR branch if needed.

@carmichaelong Now all the pieces are there, and you have the models, one more round and we're done and can move it to verified. Thanks

On W10, c73fa614-2018-08-20: all things check out

Brick
a) half_lengths changes visualize ✔
b) quadrants hidden ✔
Ellipsoid
a) radii changes does not visualize ✔
b) quadrants hidden ✔
Sphere
a) radius changes visualize ✔
b) quadrants hidden ✔
Cylinder
a) radius and half_height changes visualize ✔
b) quadrants hidden ✔
Cone
a) height and base_radius changes visualize ✔
b) quadrants hidden ✔

Thank you @carmichaelong 🥇 for the verification again and thanks @aseth1 and @chrisdembia for the review. 🎆


'(TypleClass) => String' is not a subtype of type '(dynamic) => String'

Steps to Reproduce

Execute flutter run on the code sample
There are two type of flows that behaves in a similar way, I've created the project above to represent those scenarios
You will find 2 buttons that in each case will be redirected to a new page that can trigger each failure

Expected results:
In the "widget example" I'm creating a generic stateful widget TypeErrorWidget<T> that has a property of type:
final IdMapper<T> idMapper;

where IdMapper<T> is defined as:
typedef IdMapper<T> = String Function(T item);

later on, this property is accessed inside the state to map an iterable of items and extract the ids with the function provided:
_itemsIds = widget.items.map((e) {
      return widget.idMapper(e);
    }).toList();

I'm expecting to get the ids as a list of List<String>
Actual results:
However, when runtime reaches that line it's failing complaining about the following: '(ExampleListItem) => String' is not a subtype of type '(dynamic) => String' , which doesn't have much sense since dynamic should contain my custom type in any case.

Code sample

lib/presentation/widgets/type_error_widget.dart
class TypeErrorWidget<T> extends StatefulWidget {
  final Iterable<T> items;
  final IdMapper<T> idMapper;

  const TypeErrorWidget({
    Key? key,
    required this.items,
    required this.idMapper,
  }) : super(key: key);

  @override
  State<TypeErrorWidget> createState() => _TypeErrorWidgetState();
}

class _TypeErrorWidgetState extends State<TypeErrorWidget> {
  late List<String> _itemsIds;

  @override
  void initState() {
    _itemsIds = widget.items.map((e) {
      return widget.idMapper(e); <- it throws!
    }).toList();
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        const Text("I'll crash"),
        Text(_itemsIds.toString()),
      ],
    );
  }
}

class WidgetExamplePage extends StatefulWidget {
  const WidgetExamplePage({super.key});

  @override
  State<WidgetExamplePage> createState() => _WidgetExamplePageState();
}

class _WidgetExamplePageState extends State<WidgetExamplePage> {
  bool _makeItCrash = false;
  bool _makeItWork = false;

  final List<ExampleListItem> _items = const [
    ExampleListItem(
      id: "id1",
      title: "Title1",
    ),
    ExampleListItem(
      id: "id2",
      title: "Title2",
    ),
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Widget error")),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            if (_makeItCrash)
              TypeErrorWidget<ExampleListItem>(
                items: _items,
                idMapper: (item) {
                  return item.id;
                },
              ),
            ElevatedButton(
              onPressed: () {
                setState(() {
                  _makeItWork = false;
                  _makeItCrash = true;
                });
              },
              child: const Text("Make it crash"),
            ),
            if (_makeItWork && !_makeItCrash)
              TypeWorkaroundWidget<ExampleListItem>(
                items: _items,
                idMapper: (item) {
                  return item.id;
                },
              ),
            if (!_makeItCrash)
              ElevatedButton(
                onPressed: () {
                  setState(() {
                    _makeItWork = true;
                    _makeItCrash = false;
                  });
                },
                child: const Text("Make it works"),
              ),
          ],
        ),
      ),
    );
  }
}

Logs

The following _TypeError was thrown building KeyedSubtree-[GlobalKey#196d8]:
type '(ExampleListItem) => String' is not a subtype of type '(dynamic) => String'

The relevant error-causing widget was:
  Scaffold
  Scaffold:file:///Users/victor/Documents/personal/development/flutter/type_issues/lib/presentation/pages/widget_example_page.dart:29:12

When the exception was thrown, this was the stack:
#0      _TypeErrorWidgetState.initState.<anonymous closure> (package:type_issues/presentation/widgets/type_error_widget.dart:26:21)
#1      MappedListIterable.elementAt (dart:_internal/iterable.dart:413:31)
#2      ListIterator.moveNext (dart:_internal/iterable.dart:342:26)
#3      new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189:27)
#4      new _GrowableList.of (dart:core-patch/growable_array.dart:150:28)
#5      new List.of (dart:core-patch/array_patch.dart:51:28)
#6      ListIterable.toList (dart:_internal/iterable.dart:213:44)
#7      _TypeErrorWidgetState.initState (package:type_issues/presentation/widgets/type_error_widget.dart:27:8)
#8      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5015:57)
#9      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4853:5)
#10     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3863:16)
#11     MultiChildRenderObjectElement.inflateWidget (package:flutter/src/widgets/framework.dart:6435:36)
#12     Element.updateChild (package:flutter/src/widgets/framework.dart:3592:18)
#13     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5964:32)
#14     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6460:17)
#15     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#16     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#17     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#18     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#19     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#20     StatelessElement.update (package:flutter/src/widgets/framework.dart:4956:5)
#21     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#23     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#24     StatelessElement.update (package:flutter/src/widgets/framework.dart:4956:5)
#25     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#27     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#28     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#29     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#30     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#31     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#32     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#33     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#34     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5904:32)
#35     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6460:17)
#36     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#37     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#38     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#39     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#40     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#41     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#42     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#43     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#44     StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#45     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#47     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#48     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#49     StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#50     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#51     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#52     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#53     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#54     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#56     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#57     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#58     StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#59     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#60     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#61     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#62     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#63     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#64     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#65     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#66     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6307:14)
#67     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#68     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#69     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#70     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#71     StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#72     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#73     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#74     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#75     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#76     StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#77     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#78     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#79     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#80     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#81     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#82     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#83     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#84     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#85     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#86     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#87     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#88     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#89     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#90     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#91     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#92     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#93     StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#94     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#95     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#96     Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#97     ProxyElement.update (package:flutter/src/widgets/framework.dart:5228:5)
#98     Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#99     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#100    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#101    Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#102    StatefulElement.update (package:flutter/src/widgets/framework.dart:5082:5)
#103    Element.updateChild (package:flutter/src/widgets/framework.dart:3570:15)
#104    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4904:16)
#105    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5050:11)
#106    Element.rebuild (package:flutter/src/widgets/framework.dart:4604:5)
#107    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2667:19)
#108    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:882:21)
#109    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#110    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1175:15)
#111    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1104:9)
#112    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1015:5)
#113    _invoke (dart:ui/hooks.dart:148:13)
#114    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
#115    _drawFrame (dart:ui/hooks.dart:115:31)

To workaround that issue I need to pass the widget property down to the widget state through it's constructor:
lib/presentation/widgets/type_error_workaround.dart
...
@override
  State<TypeWorkaroundWidget> createState() => _TypeErrorWidgetState<T>(
        idMapper: idMapper,
      );

...

class _TypeErrorWidgetState<T> extends State<TypeWorkaroundWidget> {
  late List<String> _itemsIds;
  final IdMapper<T> idMapper;

  _TypeErrorWidgetState({
    required this.idMapper,
  });

  @override
  void initState() {
    _itemsIds = widget.items.map((e) {
      return idMapper(e) <-- it won't throw;
    }).toList();
    super.initState();
  }

Aside from this issue which I have found a workaround I'm having a similar issue, in this example I'm using a Freezed union type class:
lib/utils/types/freezed_example_type.dart
@freezed
class FreezedExampleType<T extends Object> with _$ExampleClass<T> {
  factory FreezedExampleType.example({
    required TypedFnExample<T> callback,
  }) = _Example<T>;
}

typedef TypedFnExample<T> = String Function(T item);

The idea is that later on I can push many instances of FreezedExampleType into an array and later I can put some logic to act depending on the class type, in my example I simplified this by just pushing one item:
class FreezedPage extends StatefulWidget {
  const FreezedPage({super.key});

  @override
  State<FreezedPage> createState() => _FreezedPageState();
}

class _FreezedPageState extends State<FreezedPage> {
  bool _makeItCrash = false;
  bool _makeItWork = false;

  List<FreezedExampleType> exampleType = List<FreezedExampleType>.of([]);

  @override
  void initState() {
    exampleType.add(
      FreezedExampleType<ExampleListItem>.example(
        callback: (item) {
          return item.id;
        },
      ),
    );
    super.initState();
  }
...

Later on, we access the type on the array and try to act on it's typed property:
_userType() {
    const item = ExampleListItem(
      id: "exampleId",
      title: "Example Title",
    );
    print(
      exampleType.first.mapOrNull(
        example: (value) {
          return value.callback(item); <- This will throw! =c
        },
      ),
    );
  }

Unfortunately this throws with the same type of error: type '(ExampleListItem) => String' is not a subtype of type '(Object) => String'

Logs
type '(ExampleListItem) => String' is not a subtype of type '(Object) => String'

When the exception was thrown, this was the stack:
#0      _FreezedPageState._userType.<anonymous closure> (package:type_issues/presentation/pages/freezed_example_page.dart:86:24)
#1      _$_Example.mapOrNull (package:type_issues/utils/types/freezed_example_type.freezed.dart:198:21)
#2      _FreezedPageState._userType (package:type_issues/presentation/pages/freezed_example_page.dart:84:25)
#3      _FreezedPageState.build.<anonymous closure> (package:type_issues/presentation/pages/freezed_example_page.dart:51:17)
#4      _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1072:21)
#5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:253:24)
#6      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:627:11)
#7      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:306:5)
#8      BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:239:7)
#9      PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:615:9)
#10     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#11     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#12     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:617:13)
#13     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#14     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#15     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:460:19)
#16     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:440:22)
#17     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:337:11)
#18     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:395:7)
#19     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:357:5)
#20     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:314:7)
#21     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:295:7)
#22     _invoke1 (dart:ui/hooks.dart:167:13)
#23     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:341:7)
#24     _dispatchPointerDataPacket (dart:ui/hooks.dart:94:31)

Handler: "onTap"
Recognizer:
TapGestureRecognizer#90ba6

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Widget error")),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            if (_makeItCrash)
              TypeErrorWidget<ExampleListItem>(
                items: _items,
                idMapper: (item) { // <- your problem is here
                  return item.id;
                },
              ),

I think the problem is that you're not providing a parameter type in the anonymous function you pass to the idMapper parameter of TypeErrorWidget. Because you don't provide a type to the parameter, it defaults to dynamic, and when a parameter has a first class function type, the parameter types must match exactly.
Thanks for filing this issue, however I am going to close as it is not an issue with the Flutter SDK, but rather a bug in your code.

Hi @christopherfujino , thanks for your response, I don't know if I'm not getting you, I've updated the code to force the typing which seems redundat to me but the error stills happening , I've updated the repo so you can give it a try if wanted.
Updated code looks:
TypeErrorWidget<ExampleListItem>(
                items: _items,
                idMapper: (ExampleListItem item /*typing parameter*/) {
                  return item.id;
                },
              ),

I've also tried with the following but not success:
TypeErrorWidget<ExampleListItem>(
                items: _items,
                idMapper: (ExampleListItem item) {
                  return item.id;
                } as IdMapper<ExampleListItem>,

Maybe I'm not following you, so it would be great apreciated if you can provide a better direction. Thank you again!

Hi @christopherfujino , thanks for your response, I don't know if I'm not getting you, I've updated the code to force the typing which seems redundat to me but the error stills happening , I've updated the repo so you can give it a try if wanted.
Updated code looks:
TypeErrorWidget<ExampleListItem>(
                items: _items,
                idMapper: (ExampleListItem item /*typing parameter*/) {
                  return item.id;
                },
              ),

I've also tried with the following but not success:
TypeErrorWidget<ExampleListItem>(
                items: _items,
                idMapper: (ExampleListItem item) {
                  return item.id;
                } as IdMapper<ExampleListItem>,

Maybe I'm not following you, so it would be great apreciated if you can provide a better direction. Thank you again!

Actually I manage to get it solved following this proposed solution comment
I'm still having a pending usecase (freezed) that has a similar excpetion but the implementation is different from the widget example, if you have a suggestion it will be greatly appreciate it.
In any case thank for your time.


Access Violation in Microsoft.Data.SqlClient.SNI build 5.0.0

Describe the bug
Our application - .NET Framework 4.8 - uses Microsoft.Data.SqlClient and this also pulled in Microsoft.Data.SqlClient.SNI build 4.0.0
Checking the NuGet Package Manager for our solution I see there is an upgrade to build 5.0.0 of Microsoft.Data.SqlClient.SNI so I installed that. Upon which the software throws an AccessViolation when opening a connection.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message: Exception thrown: 'System.AccessViolationException' in Microsoft.Data.SqlClient.dll
Stack trace:

To reproduce
As described above

### Expected behavior
No Access Violation?

### Further technical details
Microsoft.Data.SqlClient version: 4.1.0
.NET target: Framework 4.8
SQL Server version: Azure SQL

**Additional context**
I suspect that Microsoft.Data.SqlClient.SNI build 5.0.0 might need to be included with an update to a build 5.something for Microsoft.Data.SqlClient which is not yet available, and that if you run build 5.0.0 against build 4.1.0 of Microsoft.Data.SqlClient the two will not be mutually compatible....

.... or something like that?

You cannot do that and you should never reference the SNI package explicitly

@rozeboosje as @ErikEJ mentioned you should never reference the SNI package explicitly. Each version of MDS has a dependency to to a specific build of SNI, usually they have the same version number. The SNI v5.0 is released to make it accessible for Microsoft.Data.SqlClient v5.0 which is going to be released today or tomorrow.

Yeah that's fair enough and a similar message is shown in the NuGet manager ... but I don't even recall explicitly getting that package. I reckon it automatically got included when I installed the MDS package, but it's presented as a separate package and prompted me to upgrade so I did... would it not be better if MDS and the SNI were released together as part of a single package then? But no worries. I rolled it back and it all came good again.

@rozeboosje  I think it is a point in time issue...


core: add 502 errors to retry logic

Our system tests have been flaking out again. We previously implemented retry logic with exponential backoff to try to resolve the problem. I'm wondering if we need to loosen what triggers the retry logic.
Currently, we check if the status code returned is: 429, 500, or 503. This PR adds 502 to the list, "Bad Gateway", as an attempt to resolve this consistently failing test when run on Travis (but not locally):
1) datastore querying the datastore should select projections:
   Uncaught Error: Bad Gateway
    at Object.parseApiResp (lib/common/util.js:9:5290)
    at Object.handleResp (lib/common/util.js:9:4578)
    at IncomingMessage.<anonymous> (lib/datastore/request.js:9:15948
    at _stream_readable.js:908:16

Do we actually want to retry requests for bad gateways? If we do great, but I'd rather not add this code if it's only to work around Travis.

I don't actually know. We currently support:

500 The server encountered an unexpected condition which prevented it from fulfilling the request.
503 The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay.

And 502:

502 The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

(http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)

@jgeewax any idea if we should we run our retry logic when the server responds with a 502?

I think this is reasonable (to retry when we get a 502) as the request (as far as we're concerned) is perfectly fine, but the server behind the proxy had an issue...

Sounds good. Thanks!


Corrected code comment

Fixes #1754

@bartlannoeye : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Added Syntax highlighting in GENERATED_CODE.md

Thank you!  That's a nice improvement to the docs.

I am very excited about this project!


Deprecate plugins that are implemented by the flutter team in pure dart

Some plugins like shared_preferences have been implemented in pure dart: https://github.com/flutter/plugins/tree/master/packages/shared_preferences/shared_preferences_linux.
We should deprecate those plugins (and all other plugins that are now available this way) in the plugins repository, because it causes a lot of confusion why an app can still remember something while the data has been cleared (happened to me twice).
Also we should maybe promote all plugins that are implemented in pure dart in the readme of the repository, because they also work for us and maybe there are even some that haven't been implemented by us yet.
EDIT: url_launcher isn't implemented in pure dart.

Can you submit a PR on the plugin repo removing the plugins that don't need specific platform implementation ?

I'm not sure if that is the best way, because it will break apps. Is there a possibility we can show a warning when one of those plugins is used and after a while we remove it completely?

Yea, by creating new versions: https://github.com/go-flutter-desktop/plugins/releases
And modifying:
https://github.com/go-flutter-desktop/plugins/blob/a4e7164360e07c729802ff2dec6be484eb1de4cd/shared_preferences/import.go.tmpl#L10-L16

But that would only apply to people who install the plugin the first time, after that the template file won't be updated, right? I think printing the warning at runtime is a better option, because it will warn everyone regardless of their setup.

I did it that way, but maybe I'm wrong? Anyway the solution should work

Be aware that the mechanism by which you are automatically picking up the Dart implementations is temporary. Once that's resolved, you'll get the the method channel implementation by default again unless you implement auto-registration of Dart plugins.


Crashed Sketch when deleting initial state

On Sketch 41, I went to delete the initial state and it caused Sketch to crash. 😦

Version 43.1 the same happen.


Dependencies not shown after env built

Here is a reproduction scenario :

I click on "+" to add a package
I enter the necessary informations
I click "create", the env builds. I keep the tab open and don't do anything else
the env builds, the list of artifacts is updated, the status of the build is updated, all good. But the "packages installed as dependencies" box is missing
If I close and reopen the tab, it appears.

Here is a screenshot after the env is built, with the box missing :

Here is a screenshot after I closed and reopen the env, the box is present :

PR: #182


Fixed eslint errors in Tests

I refactored the error message built during routes creation.
Previously tests were failing with Node 4, but now it is ok for both stable and 4.

Thank you!


Update to Tor Browser 5

New update required to Tor Browser v5.

Tor Browser v5.0 has now been released. Check the release for more information.


[Bug] Select后的字段解析有问题。

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
1.1.2.rc02
What's Wrong?
错误就在第二行，可以看见我month_id之后没有逗号，但是该SQL可以正确执行，而且结果集中没有month字段，这个位置解析应该有问题。当我加上逗号之后，结果集中会出现month_id字段
SELECT
month_id
standard_app_id,
split_part(key_value1, '$', 1) AS avg_uv_name,
split_part(key_value1, '$', 2) AS avg_uv_value
from (
SELECT *
FROM (
SELECT
month_id,
standard_app_id,
concat_ws('$', 'avg_uv01', avg_uv01) as con_avg_uv01,
concat_ws('$', 'avg_uv02', avg_uv02) as con_avg_uv02,
concat_ws('$', 'avg_uv03', avg_uv03) as con_avg_uv03
FROM (
select
substring(day_id,1,6) month_id,
standard_app_id,
avg(    CASE    when    (day_id-concat(substring(day_id,1,6),'00')  )   =     1   THEN  uv  ELSE    null    END )   avg_uv01,
avg(    CASE    when    (day_id-concat(substring(day_id,1,6),'00')  )   <=  2     THEN  uv  ELSE    null    END )   avg_uv02,
avg(    CASE    when    (day_id-concat(substring(day_id,1,6),'00')  )   <=  3     THEN  uv  ELSE    null    END )   avg_uv03
        from
        (select *  from ids.ids_app_rank_product_a4_d where day_id >=DATE_SUB(CURRENT_DATE(),INTERVAL 132 DAY) and day_id <=DATE_SUB(CURRENT_DATE(),INTERVAL 2 DAY) and uv!=0
        union all
        select * from ids.ids_app_game_rank_product_a4_d where day_id >=DATE_SUB(CURRENT_DATE(),INTERVAL 132 DAY) and day_id <=DATE_SUB(CURRENT_DATE(),INTERVAL 2 DAY) and uv!=0
        ) b
        group by 1,2
      ) bb

) bbview lateral VIEW explode_split ( CONCAT_WS( ',', con_avg_uv01, con_avg_uv02,con_avg_uv03), ',' ) tmp1 AS key_value1)xxx
where month_id=202207
What You Expected?
解决涉及到laterview的查询时，Select字段解析的问题。
此前：#13431 ，使用lateral view之后，内层表别名解析有问题。
更前：我发现 lateral view之后的过滤条件无法生效，现在已经修复。
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

when you write
  select month_id
           standard_app_id, xxx

doris will think you want to do that:
  select month_id as standard_app_id, xxx

But this behavior is OK, you can alias 'month_id' to 'standard_app_id', even if 'standard_app_id' is a column name in your table.
The problem does not relate to 'lateral view',  simple queries can also be reproduced, for exapmle

And this behavior is same as mysql, the following picture shows mysql's behavior:


List and explain metric parameters

It would be nice to mention what parameters are able to be set using RiemannianMetric.set_parameters() so that we don't need to refer to petsc code for their correct naming and default values

Duplicate of #31


Rig Builder: added validator checkbox

Added validators checkbox and print statements for more debug info in the Script Editor.
Also rearranged the "Output Folder" selection to be more intuitive like the FBX Exporter, but let me know if you prefer the old way.

This PR also includes all the new commits from the master branch.

Progress for #115


Allow running specific codemod(s)

Fixes #207.
$ djcodemod run --help
Usage: djcodemod run [OPTIONS] PATH...

  Automatically fixes deprecations removed Django deprecations.

  This command takes the path to target as argument and a version of Django
  to select code modifications to apply.

Options:
  --removed-in VERSION            The version of Django where feature are
                                  removed.

  --deprecated-in VERSION         The version of Django where deprecations
                                  started.

  --codemod (see `djcodemod list`)
                                  Choose a specific codemod to run. Can be
                                  repeated.

  --help                          Show this message and exit.

Code looks good! Nice implementation 👍
Do you think you could bump the code coverage back to 100% by checking the error message in case of invalid codemod?
Thanks again for all your recent contributions 🎉

Do you think you could bump the code coverage back to 100% by checking the error message in case of invalid codemod?

Done deal. I changed the iter_codemodders condition code a bit too to avoid the uncovered continue too :)

Thanks again for all your recent contributions 🎉

No problem at all! As you can maybe guess, I've been busy upgrading a project to Django 3.1 lately, so these are scratch-my-own-itch contributions too.


add section for creating projects using api

Why:
Closes https://github.com/github/docs/issues/19096

What's being changed (if available, include any code snippets, screenshots, or gifs):

The PR add a sub-section with an example demonstrating "creating projects (using APIs), under the heading using the API to manage projects (beta),  as there are mutation apis available for ProjectV2 for creating a new project, mutations#createprojectv2, and having an example for its usage would be helpful.
The output (obtained from staging preview) looks as follows:

Check off the following:

[X] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[X] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@Priyankasaggu11929 Thanks so much for opening a PR and linking it to your issue! ✨
I'll get this triaged for review :zap:

Hey @Priyankasaggu11929, thanks so much for adding information about creating projects! ✨
Can you enable the checkbox to allow maintainer edits? We've rearranged the category recently so there's a few conflicts to fix and things to tweak before I can get this merged. Thank you!
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork

Hello @stevecat, apologies for the late response. I was traveling for past days. :)
I just verified that the checkbox for maintainers edit is already checked. Please point me if there's something I should do to help move the PR forward. Thank you!

Hey @Priyankasaggu11929, my apologies, you're absolutely correct! There was an unrelated issue on my end stopping me from pushing to your branch 😄
I've fixed the conflict by moving your changes to the new article's new location (content/issues/planning-and-tracking-with-projects/automating-your-project/) and I've made a few tweaks. I've also moved your work into a new "Managing projects" section that we might expand upon and I've added some instructions for organization owners too; the /users endpoint will return the node ID for organizations and users so it was just a small change.
Thanks again for your contribution! I'll get this approved and merged in shortly ✨ :tada:


'registry_key' resource's values can't be set lazily.

In one of chef recipe , I am reading one of existing registry & trying to set its updated value lazily through 'registry_key' block. However it seems lazy evaluation for values is not working properly & simply gives an error like ArgumentError: Bad type for RegistryKey resource, use Hash or Array
Sample recipe
# Simple Recipe:: rectify-java-param-heapdump

node.default['options_value1'] = []

#Fetching existing registry value of abc service
ruby_block "heapdump - Proceeding for modifying registry" do
      block do
        existing_value = registry_get_values("HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Apache Software Foundation\\Procrun 2.0\\ABC\\Parameters\\Java", :x86_64)
        Chef::Log.info("heapdump existing value is - service is  ")
        Chef::Log.info(existing_value)
        #Checking existing registry value & storing conditionally modified registry object in variable
        existing_value.each{|e|
           if e[:name] == "Options"
            		node.override['options_value1'] = e[:data]
            		node.override['options_value1'].insert(-1, "-XX:+HeapDumpOnOutOfMemoryError")
           end
        }
		Chef::Log.info("here heapdump options node value is ")
		Chef::Log.info(node['options_value1'])  //Here , I get above heapdump jvm param added in node['options_value1']
      end
	  action :run
end

#Setting updated 'Options' param's value for given abc tomcat service in registry
registry_key "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Apache Software Foundation\\Procrun 2.0\\ABC\\Parameters\\Java" do
	 values lazy {[{
        name: 'Options',
        type: :multi_string,
        data: node['options_value1']
      }]}
      action :create
end

This gives
[2021-07-29T14:25:02+05:30] DEBUG: ArgumentError: Bad type for RegistryKey resource, use Hash or Array
C:/opscode/chefdk/embedded/lib/ruby/gems/2.6.0/gems/chef-15.7.32-universal-mingw32/lib/chef/resource/registry_key.rb:86:in `values'

, which is because below block in registry_key resource accepts only these 2 types of values & since 'lazy' is a method , it simply fails at compile time.
https://github.com/chef/chef/blob/1021d5e517c65dabde7902bcad35e439156dcc19/lib/chef/resource/registry_key.rb#L167-L177
I have discussed this in slack chef channel & was suggested a workaround to create a custom chef resource (may be to bypass this lazy thing , IMO) , however filing this issue as reference here , so that people like me troubleshooting these kinda thing know that 'registry_key' resource's value can't be set lazily.

The values method needs to be converted to be a property, while carefully retaining all the type checking, coercion, and validation that the existing method does:
https://github.com/chef/chef/blob/4d471fb960ab2130a856e4b36ab7ce23df5bb563/lib/chef/resource/registry_key.rb#L166-L195

I believe there's an issue for that somewhere. This resource can't be documented right now since it's not a real property.

Fix merged to main branch


openjdk 11.0.13

Actions:

Update source urls and sha256,
Update home, dev urls
Disable popd in build.sh on osx

Added:
  ignore_run_exports:
    - zlib  # [osx]

Added:
  binary_relocation: False
  detect_binary_files_with_prefix: False

But I'm not sure if it's correct to use them

Added:
missing_dso_whitelist:
    - $RPATH/libz.so.1
    - $RPATH/libjli.so
    - $RPATH/libjvm.so
    - $RPATH/libfreetype.so.6
    - $RPATH/libgobject-2.0.so.0
    - $RPATH/libglib-2.0.so.0
    - $RPATH/libnss3.so
    - $RPATH/libdrm.so.2
    - $RPATH/libgbm.so.1
    - $RPATH/libnssutil3.so
    - $RPATH/libsmime3.so
    - $RPATH/libnspr4.so
    - $RPATH/libatk-1.0.so.0
    - $RPATH/libatk-bridge-2.0.so.0
    - $RPATH/libexpat.so.1
    - $RPATH/libxcb.so.1
    - $RPATH/libgio-2.0.so.0
    - $RPATH/libxkbcommon.so.0
    - $RPATH/libdbus-1.so.3
    - $RPATH/libX11.so.6
    - $RPATH/libXcomposite.so.1
    - $RPATH/libXdamage.so.1
    - $RPATH/libXext.so.6
    - $RPATH/libXfixes.so.3
    - $RPATH/libXrandr.so.2
    - $RPATH/libasound.so.2
    - $RPATH/libcups.so.2
    - $RPATH/libatspi.so.0
    - $RPATH/libxshmfence.so.1
    - $RPATH/libjawt.so
    - $RPATH/libXrender.so.1
    - $RPATH/libXtst.so.6
    - $RPATH/libXi.so.6
    - $RPATH/libXxf86vm.so.1
    - $RPATH/libXcursor.so.1
    - $RPATH/libstdc++.so.6
    - $RPATH/libjvm.dylib  # [osx]
    - $RPATH/libjawt.dylib  # [osx]

Fixed tests

An error onlinux-aarch64:
Error: dl failure on line 635

Error: failed /opt/conda/conda-bld/openjdk_1641289608986/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/server/libjvm.so, because /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /opt/conda/conda-bld/openjdk_1641289608986/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/server/libjvm.so)

An error on osx-arm64:
['  ERROR (openjdk,lib/libjcef.dylib): /var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/croot-_5ro4shq/openjdk_1641290515533/Frameworks/JavaNativeFoundation.framework/JavaNativeFoundation not found in packages, sysroot(s) nor the missing_dso_whitelist.\n.. is this binary repackaging?']

Added to missing_dso_whitelist::
    - Library\bin\VCRUNTIME140.dll      # [win]
    - Library\bin\bin\VCRUNTIME140.dll  # [win]
    - Library\bin\MSVCP140.dll          # [win]
    - Library\bin\bin\MSVCP140.dll      # [win]
    - $RPATH/jvm.dll                    # [win]

Skip building on aarch64 for now

Skip building on s390x or ppc64le.

Updated host and run:
  host:
    - zlib                    # [unix]
    - expat                   # [linux]
    - dbus                    # [linux]
    - freetype                # [linux]
    - pango                   # [linux and aarch64]
    - cairo                   # [linux and aarch64]
    - glib                    # [linux]
    - libxcb                  # [linux]
  run:
    - expat                   # [linux]
    - dbus                    # [linux]
    - freetype                # [linux]
    - pango                   # [linux and aarch64]
    - cairo                   # [linux and aarch64]
    - glib                    # [linux]
    - libxcb                  # [linux]

Updated ignore_run_exports:
ignore_run_exports:
    - zlib               # [osx]
    - expat              # [linux]
    - dbus               # [linux]
    - freetype           # [linux]
    - pango              # [linux and aarch64]
    - cairo              # [linux and aarch64]

I reordered dependencies alphabetically


Fat-141: Implement API Karate tests for mod-data-export - PART 2

Jira: https://issues.folio.org/browse/FAT-141
Purpose
Add tests related to creating file definitions, uploading files and exporting the records.

It is not all of the tests, I will push another commit with the second part soon.


AssertionError in Transform.jl (NaNs?)

@rgiordan This log is from a running with ---level=DEBUG but the particular source that caused the problem isn't mentioned. I see some NaN values in the gradient.
This region of the sky may be at the intersection of 4 fields. (It processes 20 bands before the crash.)
I'll post more information shortly...I'm running a lot of these tests and I seem to have misplaced the commands that generated this issue.
got -1.1856831651767843 at [-0.0,-0.0,0.41053708344388096,0.6665306141015759,0.07507302531925193,-3.480180142973772,-0.5214352454880979,-0.9062361012694099,12.772000209753038,13.988704637899467,0.324299592
16452775,0.14386006177556185,0.06006008616367584,0.03390907615489898,0.14915619891513954,0.15357521618696623,0.07022668259806904,0.05244422774246335,-3.2303880357606527,-5.45112759694562,-6.074736657496397
,-6.201570803957329,0.1083329116385043,-3.129492895171235,-4.819055377073362,-3.7355576405005233,-2.566608268947726,-14.35332313696428,-4.592330763099313] after 22 function evaluations (22 Newton steps)

Processing band 1...
Processing band 2...
Processing band 3...
Processing band 4...
Processing band 5...
Processing band 6...
Processing band 7...
Processing band 8...
Processing band 9...
Processing band 10...
Processing band 11...
Processing band 12...
Processing band 13...
Processing band 14...
Processing band 15...
Processing band 16...
Processing band 17...
Processing band 18...
Processing band 19...
Processing band 20...
Done trimming.
f_evals: 1 value: -10.53748750728998
...
f_evals: 18 value: NaN
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1 |
|-----|-----------|------------|-------|
| 1   | "u_1"     | 200.163    | NaN   |
| 2   | "u_2"     | 38.1681    | NaN   |
| 3   | "e_dev"   | 0.985      | NaN   |
| 4   | "e_axis"  | 0.8        | NaN   |
| 5   | "e_angle" | 0.00895981 | NaN   |
| 6   | "e_scale" | 0.2        | NaN   |
| 7   | "r1_1"    | 3.09768    | NaN   |
| 8   | "r1_2"    | 2.16548    | NaN   |
342213256
| 24  | "c2_2_2"  | 0.0420028  | NaN   |
| 25  | "c2_3_2"  | 0.00810894 | NaN   |
| 26  | "c2_4_2"  | 0.0234015  | NaN   |
| 27  | "a_1"     | NaN        | NaN   |
| 28  | "a_2"     | 0.005      | NaN   |
| 29  | "k_1_1"   | 0.00500189 | NaN   |
| 30  | "k_2_1"   | 0.994998   | NaN   |
| 31  | "k_1_2"   | 0.0149274  | NaN   |
| 32  | "k_2_2"   | 0.985073   | NaN   |

=======================================

ERROR: LoadError: AssertionError: all(param .>= lower_bound)
 in unsimplexify_parameter at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:187
 in perform_transform! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:493
 in from_vp! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:670
 in from_vp at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:676
 in array_to_vp! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:709
 in f_objective at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:106
 in f_value_grad at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:124
 in f_grad at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:148
 in f_grad! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:152
 in fg! at /global/homes/j/jregier/.julia/v0.4/Optim/src/types.jl:197
 in __newton_tr#44__ at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_region.jl:331
 in maximize_f at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:226
 in infer at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:213
 in infer_nersc at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:414
 in main at /global/u2/j/jregier/Celeste/bin/celeste.jl:37
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 in process_options at ./client.jl:280
 in _start at ./client.jl:378
while loading /global/u2/j/jregier/Celeste/bin/celeste.jl, in expression starting on line 54

Just because the error was reported in the transform doesn't mean it is a
problem with the transform module.  It's very likely that the image is
corrupted or the source is too faint.
In any case, there is nothing to look into without knowing what source it
is.  In api.jl, there is a line
info("processing source $s: objid= $(entry.objid)")
Could you send the output of that line, as well as the list of fields from
the beginning?
Ryan
On Wed, Mar 23, 2016 at 9:00 AM, Jeffrey Regier<EMAIL_ADDRESS>wrote:

Assigned #177 https://github.com/jeff-regier/Celeste.jl/issues/177 to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/177#event-600499005

Here's a longer excerpt from the end of the log. It's strange debug messages don't appear. I'm also showing the beginning of the log, which contains debug messages:
Beginning of log:
WARNING: Method definition info(Any...) in module Base at util.jl:334 overwritten in module Logging at /global/homes/j/jregier/.julia/v0.4/Logging/src/Logging.jl:61.
WARNING: Method definition warn(Any...) in module Base at util.jl:364 overwritten in module Logging at /global/homes/j/jregier/.julia/v0.4/Logging/src/Logging.jl:61.
22-Mar 21:08:18:DEBUG:root:/global/cscratch1/sd/jregier/celeste/fpm/3900-2
22-Mar 21:08:18:DEBUG:root:/global/cscratch1/sd/jregier/celeste/fpm/3900-2
22-Mar 21:08:18:DEBUG:root:/global/cscratch1/sd/jregier/celeste/fpm/4382-1
22-Mar 21:08:18:DEBUG:root:/global/cscratch1/sd/jregier/celeste/fpm/4382-1

End of log:
=======================================

got -1.1856831651767843 at [-0.0,-0.0,0.41053708344388096,0.6665306141015759,0.07507302531925193,-3.480180142973772,-0.5214352454880979,-0.9062361012694099,12.772000209753038,13.988704637899467,0.32429959216452775,0.14386006177556185,0.06006008616367584,0.03390907615489898,0.14915619891513954,0.15357521618696623,0.07022668259806904,0.05244422774246335,-3.2303880357606527,-5.45112759694562,-6.074736657496397,-6.201570803957329,0.1083329116385043,-3.129492895171235,-4.819055377073362,-3.7355576405005233,-2.566608268947726,-14.35332313696428,-4.592330763099313] after 22 function evaluations (22 Newton steps)

Processing band 1...
Processing band 2...
Processing band 3...
Processing band 4...
Processing band 5...
Processing band 6...
Processing band 7...
Processing band 8...
Processing band 9...
Processing band 10...
Processing band 11...
Processing band 12...
Processing band 13...
Processing band 14...
Processing band 15...
Processing band 16...
Processing band 17...
Processing band 18...
Processing band 19...
Processing band 20...
Done trimming.
f_evals: 1 value: -10.53748750728998
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1     |
|-----|-----------|------------|-----------|
| 1   | "u_1"     | 200.163    | 0.0       |
| 2   | "u_2"     | 38.1681    | 0.0       |
| 3   | "e_dev"   | 0.985      | 0.0       |
| 4   | "e_axis"  | 0.8        | 0.0       |
| 5   | "e_angle" | 0.00895981 | 0.0       |
| 6   | "e_scale" | 0.2        | 0.0       |
| 7   | "r1_1"    | 2.63239    | 0.326443  |
| 8   | "r1_2"    | 2.63031    | -0.161031 |
⋮
| 24  | "c2_2_2"  | 0.01       | 8.5902    |
| 25  | "c2_3_2"  | 0.01       | 3.38256   |
| 26  | "c2_4_2"  | 0.01       | 7.6731    |
| 27  | "a_1"     | 0.8        | -12.2919  |
| 28  | "a_2"     | 0.2        | -8.51989  |
| 29  | "k_1_1"   | 0.5        | -6.98197  |
| 30  | "k_2_1"   | 0.5        | -6.02151  |
| 31  | "k_1_2"   | 0.5        | -1.8577   |
| 32  | "k_2_2"   | 0.5        | -0.915754 |

=======================================

f_evals: 2 value: -50.96670713519113
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1      |
|-----|-----------|------------|------------|
| 1   | "u_1"     | 200.163    | 0.0        |
| 2   | "u_2"     | 38.1681    | 0.0        |
| 3   | "e_dev"   | 0.985      | 0.0        |
| 4   | "e_axis"  | 0.8        | 0.0        |
| 5   | "e_angle" | 0.00895981 | 0.0        |
| 6   | "e_scale" | 0.2        | 0.0        |
| 7   | "r1_1"    | 3.59335    | -0.432381  |
| 8   | "r1_2"    | 3.98097    | -0.0166841 |
⋮
| 24  | "c2_2_2"  | 0.00715104 | 0.347491   |
| 25  | "c2_3_2"  | 0.00907381 | 0.198806   |
| 26  | "c2_4_2"  | 0.00747551 | 0.321057   |
| 27  | "a_1"     | 0.994695   | -52.0184   |
| 28  | "a_2"     | 0.00530545 | -42.2764   |
| 29  | "k_1_1"   | 0.00663649 | -11.6134   |
| 30  | "k_2_1"   | 0.993364   | -47.9947   |
| 31  | "k_1_2"   | 0.762383   | -0.198457  |
| 32  | "k_2_2"   | 0.237617   | -0.289599  |

=======================================

f_evals: 3 value: -8.236056319075395
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1      |
|-----|-----------|------------|------------|
| 1   | "u_1"     | 200.163    | 0.0        |
| 2   | "u_2"     | 38.1681    | 0.0        |
| 3   | "e_dev"   | 0.985      | 0.0        |
| 4   | "e_axis"  | 0.8        | 0.0        |
| 5   | "e_angle" | 0.00895981 | 0.0        |
| 6   | "e_scale" | 0.2        | 0.0        |
| 7   | "r1_1"    | 3.03159    | 0.0469285  |
| 8   | "r1_2"    | 2.36331    | -0.0652206 |
⋮
| 24  | "c2_2_2"  | 0.0106918  | 7.44831    |
| 25  | "c2_3_2"  | 0.0102035  | 2.3784     |
| 26  | "c2_4_2"  | 0.0105996  | 6.54195    |
| 27  | "a_1"     | 0.809676   | -9.94734   |
| 28  | "a_2"     | 0.190324   | -6.21014   |
| 29  | "k_1_1"   | 0.1061     | -6.53265   |
| 30  | "k_2_1"   | 0.8939     | -4.66856   |
| 31  | "k_1_2"   | 0.441954   | -1.41837   |
| 32  | "k_2_2"   | 0.558046   | -0.534236  |

=======================================

f_evals: 4 value: -6.064017969866025
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1      |
|-----|-----------|------------|------------|
| 1   | "u_1"     | 200.163    | 0.0        |
| 2   | "u_2"     | 38.1681    | 0.0        |
| 3   | "e_dev"   | 0.985      | 0.0        |
| 4   | "e_axis"  | 0.8        | 0.0        |
| 5   | "e_angle" | 0.00895981 | 0.0        |
| 6   | "e_scale" | 0.2        | 0.0        |
| 7   | "r1_1"    | 3.11183    | -0.0119207 |
| 8   | "r1_2"    | 2.43278    | -0.01826   |
⋮
| 24  | "c2_2_2"  | 0.0100516  | 1.67619    |
| 25  | "c2_3_2"  | 0.0100944  | 0.604047   |
| 26  | "c2_4_2"  | 0.0100687  | 1.48443    |
| 27  | "a_1"     | 0.960563   | -7.1498    |
| 28  | "a_2"     | 0.0394374  | -4.97473   |
| 29  | "k_1_1"   | 0.0431734  | -6.91159   |
| 30  | "k_2_1"   | 0.956827   | -3.18063   |
| 31  | "k_1_2"   | 0.480844   | -0.301927  |
| 32  | "k_2_2"   | 0.519156   | -0.110658  |

=======================================

f_evals: 5 value: -3.887735705859249
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09769    | -4.46114e-6 |
| 8   | "r1_2"    | 2.3186     | -0.00678675 |
⋮
| 24  | "c2_2_2"  | 0.0110169  | 0.960747    |
| 25  | "c2_3_2"  | 0.0102764  | 0.279387    |
| 26  | "c2_4_2"  | 0.0108763  | 0.83811     |
| 27  | "a_1"     | 0.974411   | -4.91017    |
| 28  | "a_2"     | 0.0255887  | -4.03339    |
| 29  | "k_1_1"   | 0.0235118  | -6.51238    |
| 30  | "k_2_1"   | 0.976488   | -2.64016    |
| 31  | "k_1_2"   | 0.421064   | -0.18774    |
| 32  | "k_2_2"   | 0.578936   | -0.0720157  |

=======================================

f_evals: 6 value: -3.1717331519769725
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09768    | -2.51184e-8 |
| 8   | "r1_2"    | 1.49106    | 1.12698     |
⋮
| 24  | "c2_2_2"  | 0.0874879  | -6.00449    |
| 25  | "c2_3_2"  | 0.0107503  | -14.8153    |
| 26  | "c2_4_2"  | 0.0548854  | -11.8919    |
| 27  | "a_1"     | 0.0352782  | -1.5079     |
| 28  | "a_2"     | 0.964722   | -4.26914    |
| 29  | "k_1_1"   | 0.0157086  | -0.224595   |
| 30  | "k_2_1"   | 0.984291   | -0.0956493  |
| 31  | "k_1_2"   | 0.0114147  | -0.875424   |
| 32  | "k_2_2"   | 0.988585   | -2.15113    |

=======================================

f_evals: 7 value: -1.9177439245874992
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09769    | -4.52335e-8 |
| 8   | "r1_2"    | 3.02001    | -1.47278    |
⋮
| 24  | "c2_2_2"  | 0.0379775  | 1.22214     |
| 25  | "c2_3_2"  | 0.007501   | 4.77673     |
| 26  | "c2_4_2"  | 0.0221981  | 1.08582     |
| 27  | "a_1"     | 0.005      | 0.395342    |
| 28  | "a_2"     | 0.995      | -2.93439    |
| 29  | "k_1_1"   | 0.020238   | -0.0328708  |
| 30  | "k_2_1"   | 0.979762   | -0.0135783  |
| 31  | "k_1_2"   | 0.0115882  | -1.25864    |
| 32  | "k_2_2"   | 0.988412   | -1.4991     |

=======================================

f_evals: 8 value: -1.2612441935165322
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1        |
|-----|-----------|------------|--------------|
| 1   | "u_1"     | 200.163    | 0.0          |
| 2   | "u_2"     | 38.1681    | 0.0          |
| 3   | "e_dev"   | 0.985      | 0.0          |
| 4   | "e_axis"  | 0.8        | 0.0          |
| 5   | "e_angle" | 0.00895981 | 0.0          |
| 6   | "e_scale" | 0.2        | 0.0          |
| 7   | "r1_1"    | 3.09768    | -7.52465e-14 |
| 8   | "r1_2"    | 2.2729     | -0.185137    |
⋮
| 24  | "c2_2_2"  | 0.0422208  | -0.0333735   |
| 25  | "c2_3_2"  | 0.00814041 | -0.0735752   |
| 26  | "c2_4_2"  | 0.023451   | 0.010873     |
| 27  | "a_1"     | 0.005      | 0.486391     |
| 28  | "a_2"     | 0.995      | -2.27505     |
| 29  | "k_1_1"   | 0.0113812  | -0.0303811   |
| 30  | "k_2_1"   | 0.988619   | -0.0135754   |
| 31  | "k_1_2"   | 0.0177194  | -1.65454     |
| 32  | "k_2_2"   | 0.982281   | -1.46345     |

=======================================

f_evals: 9 value: -1.2469508947022043
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09768    | 0.0         |
| 8   | "r1_2"    | 2.16846    | -0.00514025 |
⋮
| 24  | "c2_2_2"  | 0.0420159  | 0.00212437  |
| 25  | "c2_3_2"  | 0.00811179 | 0.0126795   |
| 26  | "c2_4_2"  | 0.0234096  | 0.00433101  |
| 27  | "a_1"     | 0.005      | 0.514126    |
| 28  | "a_2"     | 0.995      | -2.26083    |
| 29  | "k_1_1"   | 0.00769105 | -0.0284447  |
| 30  | "k_2_1"   | 0.992309   | -0.0135939  |
| 31  | "k_1_2"   | 0.0155116  | -1.50435    |
| 32  | "k_2_2"   | 0.984488   | -1.46462    |

=======================================

f_evals: 10 value: -1.2459215896392488
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09768    | 0.0         |
| 8   | "r1_2"    | 2.16548    | -4.31855e-6 |
⋮
| 24  | "c2_2_2"  | 0.0420035  | 0.000146904 |
| 25  | "c2_3_2"  | 0.0081091  | 0.000865482 |
| 26  | "c2_4_2"  | 0.023402   | 0.000294718 |
| 27  | "a_1"     | 0.005      | 0.5243      |
| 28  | "a_2"     | 0.995      | -2.25984    |
| 29  | "k_1_1"   | 0.00609718 | -0.0272897  |
| 30  | "k_2_1"   | 0.993903   | -0.0136019  |
| 31  | "k_1_2"   | 0.0149636  | -1.4676     |
| 32  | "k_2_2"   | 0.985036   | -1.46518    |

=======================================

f_evals: 11 value: -1.245552648139033
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1        |
|-----|-----------|------------|--------------|
| 1   | "u_1"     | 200.163    | 0.0          |
| 2   | "u_2"     | 38.1681    | 0.0          |
| 3   | "e_dev"   | 0.985      | 0.0          |
| 4   | "e_axis"  | 0.8        | 0.0          |
| 5   | "e_angle" | 0.00895981 | 0.0          |
| 6   | "e_scale" | 0.2        | 0.0          |
| 7   | "r1_1"    | 3.09768    | 0.0          |
| 8   | "r1_2"    | 2.16548    | -3.05695e-12 |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 6.51228e-7   |
| 25  | "c2_3_2"  | 0.00810894 | 3.83654e-6   |
| 26  | "c2_4_2"  | 0.0234015  | 1.30646e-6   |
| 27  | "a_1"     | 0.005      | 0.528125     |
| 28  | "a_2"     | 0.995      | -2.25949     |
| 29  | "k_1_1"   | 0.00542892 | -0.0267115   |
| 30  | "k_2_1"   | 0.994571   | -0.0136052   |
| 31  | "k_1_2"   | 0.0149275  | -1.46522     |
| 32  | "k_2_2"   | 0.985072   | -1.46521     |

=======================================

f_evals: 12 value: -1.2454169251232816
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09768    | 0.0         |
| 8   | "r1_2"    | 2.16548    | 0.0         |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 1.16634e-11 |
| 25  | "c2_3_2"  | 0.00810894 | 6.87226e-11 |
| 26  | "c2_4_2"  | 0.0234015  | 2.34006e-11 |
| 27  | "a_1"     | 0.005      | 0.52956     |
| 28  | "a_2"     | 0.995      | -2.25936    |
| 29  | "k_1_1"   | 0.00516252 | -0.0264605  |
| 30  | "k_2_1"   | 0.994837   | -0.0136065  |
| 31  | "k_1_2"   | 0.0149274  | -1.46521    |
| 32  | "k_2_2"   | 0.985073   | -1.46521    |

=======================================

f_evals: 13 value: -1.2453669831514147
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1        |
|-----|-----------|------------|--------------|
| 1   | "u_1"     | 200.163    | 0.0          |
| 2   | "u_2"     | 38.1681    | 0.0          |
| 3   | "e_dev"   | 0.985      | 0.0          |
| 4   | "e_axis"  | 0.8        | 0.0          |
| 5   | "e_angle" | 0.00895981 | 0.0          |
| 6   | "e_scale" | 0.2        | 0.0          |
| 7   | "r1_1"    | 3.09768    | 0.0          |
| 8   | "r1_2"    | 2.16548    | 0.0          |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 4.996e-16    |
| 25  | "c2_3_2"  | 0.00810894 | 1.22125e-15  |
| 26  | "c2_4_2"  | 0.0234015  | -5.10703e-15 |
| 27  | "a_1"     | 0.005      | 0.530094     |
| 28  | "a_2"     | 0.995      | -2.25931     |
| 29  | "k_1_1"   | 0.00506063 | -0.0263609   |
| 30  | "k_2_1"   | 0.994939   | -0.013607    |
| 31  | "k_1_2"   | 0.0149274  | -1.46521     |
| 32  | "k_2_2"   | 0.985073   | -1.46521     |

=======================================

f_evals: 14 value: -1.2453486077333489
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09768    | 0.0         |
| 8   | "r1_2"    | 2.16548    | 0.0         |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 5.82867e-16 |
| 25  | "c2_3_2"  | 0.00810894 | 1.55431e-15 |
| 26  | "c2_4_2"  | 0.0234015  | 5.60663e-15 |
| 27  | "a_1"     | 0.005      | 0.530291    |
| 28  | "a_2"     | 0.995      | -2.2593     |
| 29  | "k_1_1"   | 0.00502255 | -0.0263232  |
| 30  | "k_2_1"   | 0.994977   | -0.0136072  |
| 31  | "k_1_2"   | 0.0149274  | -1.46521    |
| 32  | "k_2_2"   | 0.985073   | -1.46521    |

=======================================

f_evals: 15 value: -1.245341845702283
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1        |
|-----|-----------|------------|--------------|
| 1   | "u_1"     | 200.163    | 0.0          |
| 2   | "u_2"     | 38.1681    | 0.0          |
| 3   | "e_dev"   | 0.985      | 0.0          |
| 4   | "e_axis"  | 0.8        | 0.0          |
| 5   | "e_angle" | 0.00895981 | 0.0          |
| 6   | "e_scale" | 0.2        | 0.0          |
| 7   | "r1_1"    | 3.09768    | 0.0          |
| 8   | "r1_2"    | 2.16548    | 0.0          |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 5.27356e-16  |
| 25  | "c2_3_2"  | 0.00810894 | 1.55431e-15  |
| 26  | "c2_4_2"  | 0.0234015  | -4.94049e-15 |
| 27  | "a_1"     | 0.005      | 0.530364     |
| 28  | "a_2"     | 0.995      | -2.25929     |
| 29  | "k_1_1"   | 0.00500848 | -0.0263092   |
| 30  | "k_2_1"   | 0.994992   | -0.0136073   |
| 31  | "k_1_2"   | 0.0149274  | -1.46521     |
| 32  | "k_2_2"   | 0.985073   | -1.46521     |

=======================================

f_evals: 16 value: -1.2453393349673127
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1       |
|-----|-----------|------------|-------------|
| 1   | "u_1"     | 200.163    | 0.0         |
| 2   | "u_2"     | 38.1681    | 0.0         |
| 3   | "e_dev"   | 0.985      | 0.0         |
| 4   | "e_axis"  | 0.8        | 0.0         |
| 5   | "e_angle" | 0.00895981 | 0.0         |
| 6   | "e_scale" | 0.2        | 0.0         |
| 7   | "r1_1"    | 3.09768    | 0.0         |
| 8   | "r1_2"    | 2.16548    | 0.0         |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 5.82867e-16 |
| 25  | "c2_3_2"  | 0.00810894 | 1.55431e-15 |
| 26  | "c2_4_2"  | 0.0234015  | 5.71765e-15 |
| 27  | "a_1"     | 0.00500001 | 0.530388    |
| 28  | "a_2"     | 0.995      | -2.25929    |
| 29  | "k_1_1"   | 0.00500337 | -0.0263041  |
| 30  | "k_2_1"   | 0.994997   | -0.0136074  |
| 31  | "k_1_2"   | 0.0149274  | -1.46521    |
| 32  | "k_2_2"   | 0.985073   | -1.46521    |

=======================================

f_evals: 17 value: -1.2445480974160357
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1        |
|-----|-----------|------------|--------------|
| 1   | "u_1"     | 200.163    | 0.0          |
| 2   | "u_2"     | 38.1681    | 0.0          |
| 3   | "e_dev"   | 0.985      | 0.0          |
| 4   | "e_axis"  | 0.8        | 0.0          |
| 5   | "e_angle" | 0.00895981 | 0.0          |
| 6   | "e_scale" | 0.2        | 0.0          |
| 7   | "r1_1"    | 3.09768    | 0.0          |
| 8   | "r1_2"    | 2.16548    | 0.0          |
⋮
| 24  | "c2_2_2"  | 0.0420028  | 5.55112e-16  |
| 25  | "c2_3_2"  | 0.00810894 | 1.44329e-15  |
| 26  | "c2_4_2"  | 0.0234015  | -4.94049e-15 |
| 27  | "a_1"     | 0.00528622 | 0.474732     |
| 28  | "a_2"     | 0.994714   | -2.259       |
| 29  | "k_1_1"   | 0.00500197 | -0.0278083   |
| 30  | "k_2_1"   | 0.994998   | -0.0143863   |
| 31  | "k_1_2"   | 0.0149274  | -1.46479     |
| 32  | "k_2_2"   | 0.985073   | -1.46479     |

=======================================

f_evals: 18 value: NaN
32x3 DataFrames.DataFrame
| Row | names     | val1       | grad1 |
|-----|-----------|------------|-------|
| 1   | "u_1"     | 200.163    | NaN   |
| 2   | "u_2"     | 38.1681    | NaN   |
| 3   | "e_dev"   | 0.985      | NaN   |
| 4   | "e_axis"  | 0.8        | NaN   |
| 5   | "e_angle" | 0.00895981 | NaN   |
| 6   | "e_scale" | 0.2        | NaN   |
| 7   | "r1_1"    | 3.09768    | NaN   |
| 8   | "r1_2"    | 2.16548    | NaN   |
⋮
| 24  | "c2_2_2"  | 0.0420028  | NaN   |
| 25  | "c2_3_2"  | 0.00810894 | NaN   |
| 26  | "c2_4_2"  | 0.0234015  | NaN   |
| 27  | "a_1"     | NaN        | NaN   |
| 28  | "a_2"     | 0.005      | NaN   |
| 29  | "k_1_1"   | 0.00500189 | NaN   |
| 30  | "k_2_1"   | 0.994998   | NaN   |
| 31  | "k_1_2"   | 0.0149274  | NaN   |
| 32  | "k_2_2"   | 0.985073   | NaN   |

=======================================

ERROR: LoadError: AssertionError: all(param .>= lower_bound)
 in unsimplexify_parameter at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:187
 in perform_transform! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:493
 in from_vp! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:670
 in from_vp at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:676
 in array_to_vp! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/Transform.jl:709
 in f_objective at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:106
 in f_value_grad at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:124
 in f_grad at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:148
 in f_grad! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:152
 in fg! at /global/homes/j/jregier/.julia/v0.4/Optim/src/types.jl:197
 in __newton_tr#44__ at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_region.jl:331
 in maximize_f at /global/homes/j/jregier/.julia/v0.4/Celeste/src/OptimizeElbo.jl:226
 in infer at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:213
 in infer_nersc at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:414
 in main at /global/u2/j/jregier/Celeste/bin/celeste.jl:37
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 in process_options at ./client.jl:280
 in _start at ./client.jl:378
while loading /global/u2/j/jregier/Celeste/bin/celeste.jl, in expression starting on line 54

It's fishy that the  "processing source..." message doesn't show up in the end of the log, though debug messages are showing up at the beginning. Let me try to recreate this problem before you spend time on it (unless you can guess what the problem is).

Yeah, I have no idea.  Let me know if you can track it down to something
more specific.
On Wed, Mar 23, 2016 at 10:45 AM, Jeffrey Regier<EMAIL_ADDRESS>wrote:

It's fishy that the "processing source..." message doesn't show up in the
end of the log, though debug messages are showing up at the beginning. Let
me try to recreate this problem before you spend time on it (unless you can
guess what the problem is).
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/177#issuecomment-200462555

I'm able to recreate the issue now. This command generates it:
./celeste.jl --logging=DEBUG infer-nersc 200.1 200.2 38.1 38.2 .

I see the INFO statement now, it was just earlier in the log than I expected.
23-Mar 15:57:58:INFO:root:processing source 690: objid=<PHONE_NUMBER>072704465

Let me share the whole log with you. I'm confused by how much optimization appears to happen after the last INFO statement. It's as if multiple processes are writing to the same file, though I'm pretty sure they aren't. I'm going to try to recreate this with fewer sources.
http://tempsend.com/6951B7F06D/5EE7/run23.log.gz

You may consider just wrapping the optimization in a try-catch for now.

Yeah we could go the exception handling route. I was hoping it wouldn't come to that. The weird thing is when I run on subsets of the problematic region I can't recreate the error. So this issue may not be about any one source, but the sequence...a potentially much deeper bug. I'd be more inclined to use exceptions if we understood the problem and knew it was a rare special case.
The problem occurs every time with both Julia 0.4 and Julia 0.5.

I agree.  But the best way to investigate may well be to get a catalog
which includes a small list of failed sources, the pattern of which we can
try to put together in retrospect.
On Thu, Mar 24, 2016 at 10:27 AM, Jeffrey Regier<EMAIL_ADDRESS>wrote:

Yeah we could go the exception handling route. I was hoping it wouldn't
come to that. The weird thing is when I run on subsets of the problematic
region I can't recreate the error. So this issue may not be about any one
source, but the sequence...a potentially much deeper bug. I'd be more
inclined to use exceptions if we understood the problem and knew it was a
rare special case.
The problem occurs every time with both Julia 0.4 and Julia 0.5.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/177#issuecomment-200937541

Is this still happening?

Not with the command line arguments I posted before, at least. Let's close this issue.


[SAGE-396] Alert foundations update

Description

[ ] align Alert with foundations
[ ] update button on the react side

Screenshots

Before
After

Testing in sage-lib

Visit the Alert views and verify alignment with the foundations designs:

Rails
React

Testing in kajabi-products
Will go through QE in the Foundation Epic
Related

Closes SAGE-396

Handled on https://github.com/Kajabi/sage-lib/pull/1349


Add support for multiple items

Add support so that the view can be called with multiple items such as
        .sheet(item: $activeSheet) { item in
            switch item {
            case .photoPicker:
                ImagePicker(selectedImage: $imageBuffer, sourceType: .photoLibrary)
            case ........

@chih98 I just addressed this on ddf43e9fbed9f8d21ceb5a375f024767fca30843
there's now an extra method that accepts a Binding of an optional, Identifiable-conforming, object as a parameter
it should work just like the .sheet() call haha

I don't think it will switch like sheets though... tbh I don't even know how I would even do that

added with 1.1.0!


Improved usability and generations

Added

Added generations
Mouse styles change on different actions
Drag and drop support for file upload
More example files

Changed

People who should be dead, but without any dates, are now marked dead based on a new age estimation through the generations
People in the same generation are now aligned on the same height
Touchscreen support includes more devices
Zoom is now Ctrl + wheel or pinch on touchpads
Improved styling
Small improvements to the favicon
Different CDN for faster loading times
No more floating etc nodes after hiding previously shown nodes

Removed

Zoom on double click

I am now simply allowing double tap on touch screens to happen

One issue I still see is that parents are sometimes stuck below their children


user should know hot to get ssh key

user should know how to get its ssh key to add it in the account (as in wikis)

public ssh key + tool tip


feature request: additional fields in mod details for licence text and URL

It would be handy to be able to manage mod permissions via the Solder interface. To that end I suggest two additional fields. A URL pointing to where the mod's licence is held (if applicable) and a text field where an applicable quote from the licence can be copy-pasted. The URL would be in addition to the existing mod URL, which may or may not be different depending on how the mod's author is organised.
These chould then be displayed in the mods listing on technicpack.net under each mod.

Agreed

If there was a vote up option I would have hit it - even more so for this.
:+1:


SPellcheck: check only changed files

git diff --name-only | npx cspell --file-list stdin
Could make that check a lot faster in builds etc.

Meh, not actually interested -- it takes like 2 seconds to run.