Search now filters on vacancy status

Context
This is the story to filter on vacancy status. Here is the card: https://trello.com/c/gTojHJdh/512-filter-courses-by-vacancies-in-find
Changes proposed in this pull request
A new filter box has been added to the filter/s view. The results and details page have been changed to surface the vacancy status field.
Guidance to review
Note: Defaults to courses with vacancies.

@MartinBentley  https://www.nuget.org/packages/DFE.SearchAndCompare.Domain
missing dependency...


clarifications

updated to clarify what machine to clone the images to

Changes overridden by subsequent PR and incorporated, where remaining


[BUG]3 high severity vulnerabilities

Describe the bug
path-to-regexp  2.0.0 - 3.2.0
Severity: high
path-to-regexp outputs backtracking regular expressions - https://github.com/advisories/GHSA-9wv6-86v2-598j
No fix available
node_modules/path-to-regexp
@ant-design/pro-layout  <=4.3.2 || 4.7.3 - 7.20.0
Depends on vulnerable versions of path-to-regexp
node_modules/@ant-design/pro-layout
@refinedev/antd  *
Depends on vulnerable versions of @ant-design/pro-layout
node_modules/@refinedev/antd
3 high severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Steps To Reproduce
Install @refinedev/cli
Expected behavior
Installation uses a newer, more secure version.
Packages
"@ant-design/icons": "^5.0.1",
"@refinedev/antd": "^5.37.4",
"@refinedev/cli": "^2.16.21",
"@refinedev/core": "^4.47.1",
"@refinedev/devtools": "^1.1.32",
"@refinedev/inferencer": "^4.6.4",
"@refinedev/kbar": "^1.3.6",
"@refinedev/react-router-v6": "^4.5.5",
"@refinedev/supabase": "^5.7.4",
"@uiw/react-md-editor": "^3.19.5",
"antd": "^5.0.5",
"dayjs": "^1.11.11",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.8.1"
Additional Context
"overrides": {
"ink-markdown": {
"marked":"^4.0.10"
},
}

Hey @warden38202 thank you for the report! This is similar to #6321, we'll also provide an update for @ant-design/pro-layout in our next release to avoid these warnings. 🙏


backout lint-staged to 8

Coverage decreased (-0.02%) to 77.125% when pulling 0a75ac75b1fa1a09829bfc0d69a1649588be05ff on feature/backout-lint-stage into 6cc3a9a637c82f353b390ca3d5645ac93d90584d on develop.


Save As - Select Output - KML - is followed by "Choose Location to create KMZ file" diaglog

@jmccausland @dhagens
Perhaps use  KMZ  throughout the work flow since we don't offer a straight KML file save.

Updated labels to read 'KMZ' instead of 'KML' pull request: https://github.com/Esri/distance-direction-addin-dotnet/pull/186

@nfeuerstein fixed this... Updated labels to read 'KMZ' instead of 'KML' pull request: #186

Save As dialog now reads as KMZ and not KML


The plugin has been deployed, but what is the reason for the account failure?

The plugin has been deployed, but what is the reason for the account failure?
Is it something I did wrong？

The plugin has been deployed, but what is the reason for the account failure?
Is it something I did wrong？

Where are you getting account failure?

The plugin has been deployed, but what is the reason for the account failure?
Is it something I did wrong？

Where are you getting account failure?

There is one thing I don't understand. How do I get the user ID back to pollfish? Is this plugin already passed automatically?

Hi @corey-wu
It looks like they've not approved your account. Unless you have an approved account, the plugin won't work.
Regards
Vinay Jain


⚠ Bofrost.at has degraded performance

In 184135f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1226 ms

Resolved: Bofrost.at performance has improved in ab5b3bb.


Router example fix burger

Description
Centers the burger

Checklist

[ ] I have run cargo make pr-flow
[ ] I have reviewed my own code
[ ] I have added tests

I still have the same issue as described here :(
On both chrome and firefox with empty caches 🤷.
Using the button class helps with a bump of bulma version but it still seems like you have to manually override the background-color to match the nav menu colour. I will admit I don't know bulma that well so maybe I'm missing something.

I still have the same issue as described here :( On both chrome and firefox with empty caches shrug.
Using the button class helps with a bump of bulma version but it still seems like you have to manually override the background-color to match the nav menu colour. I will admit I don't know bulma that well so maybe I'm missing something.

How did you test it? DId you build it locally?

@mc1098 Looks good on chromium now aswell:

LGTM :)
Is it intended for the burger menu to be open by default? I don't really mind either way just checking it is intentional :)

LGTM :)
Is it intended for the burger menu to be open by default? I don't really mind either way just checking it is intentional :)

No clue, but does not hurt either way


Missing argument propagation

I found this and added those changes directly before seeing this pull request. Everything should be good now.


improve debugging for nodes with many classes

If there are slots that produce large amounts of classes, for example when using @rules and several selectors, debugging can get quite tiresome since the DOM is cluttered with classes and when looking at one Node one sometimes has to work through quite a lot of classes to find what they are looking for. I have no real feasable solution at this point for this. Maybe allowing disabling the atomic aspect for development builds could work.

Devtools are publish in Chrome store. Please check it and feel free to leave feedback in discussions.


Question about libDFUZZPASS.so

Hi, I'm now studying your awesome work. But it seems that there is no source code for libDFUZZPASS.so. Could you share some details for it please, or maybe I made a confusion.

Check https://github.com/cuhk-seclab/SelectFuzz/issues/2


chore: updates all deps and adds types

Updates to the latest version of all deps and adds types.
BREAKING CHANGE: There are now types where before there were none

Adding types is breaking? 🧐

Only in that people who use a given module may find that the API they’ve coded against isn’t the actual API after all. It’s generally safer to release as a major..

Can this be merged & released please?  I think you're the only one with npm perms for this module..

@hugomrdias is a maintainer also - added you too @achingbrain.

Ah, thanks - only your name came up with npm owner ls cid-tool


Common usage of variables in views

SingleObjectMixin for base modal model views.
Function for changeable description.
non_field_errors in template of form.

Thanks you. I will review your PR soon.


Check compatibility with different Laravel versions

The library was updated to Laravel 5.4 but since then Laravel 5.5, 5.6 and 5.7 are out as well.
We should test if it is working properly with these versions as well.

I did some testing with Larvel 5.7 and so far it is working.


Add Qualys for image scanning

Once not in preview anymore, could be useful to add a small paragraph in Deploy App > Image Vulnerability Scanning and Management, to say that we have "embedded" image scanning within ACR.
If we quote every product on the market except "our" solution... :)

Agreed. The goal of this repo is to have recommendations around what is production ready today. We talk about future stuff in the Azure Security Center + AKS + ACR section in the thought leadership section.


Bug when there are free vaccination dates

Hi,
I'am running this software since this morning. From time to time I get this:
03.05 11:59:09 INFO ReportJob - Found free vaccination dates in location  **********:https://002-iz.impfterminservice.de/impftermine
Ten minutes left to choose a date.

But when I go to the chrome Windows I see this:

Whats going on here?

Sometimes, after you enter the Vermittlungscode and click on "Termin buchen", the system just forwards you back to the home page - for whatever reason, I also couldn't figure it out yet. It even happens sometimes if you click the official "Termine buchen" link from the email that contains your Vermittlungscode.
Can probably fixed inside of searchForVaccinateDate(), by checking if the button that we want to click exists at all, and throw an exception if not.

Hmm......
The code is running since around 9 oclock this morning and I had about 5 of those events happen so far.
I know nothing about Kotlin, so I am going to leave this for someone more experienced to fix :)

check on devtools if you got HTTP 429 back, sometimes you get blocked radomly

Um möglichen Limits entgegen zu wirken, habe ich einige Timing Einstellungen in den Properties konfigurierbar gemacht. Außerdem wird nun auch der "Virtueller Warteraum" erkannt. Und dank dem Fix von @ncface auch noch das Fehlerfenster berücksichtigt.


Add different flour types for edible barks

Maple and Larch bark are edible and could have their own bark flours/breads

Maple has been added as an edible bark, gonna leave it at that for now


Custom morph2

Brief Information
This pull request is in the type of:

[x] bug fixing
[x] new feature
[ ] others

What does this PR do?
feature: custom series support transition: ['shape', 'style', 'extra']
feature: custom series shape morphing storytelling

Support custom series morphing with split/merge effect.
Add setOption API to indication how to map old data and new data and perform transition animation.

setOption(option, {
    transition: {
        from: { seriesIndex: 0, dimension: 'SOME_A' },
        to: { seriesIndex: 0, dimension: 'SOME_B' }
    }
    // Then the old data dimension SOME_A will be mapped to new data dimension SOME_B,
    // and the transition animation will happen.
    // If there is "many-to-one" or "one-to-many" mappping, relative transition animation will happen.
});

enhance: data transform enhancement

Clarify the rule of when need to return a new dimension definition in a transform.
If the dimension changed, a transform need to return a new dimension definition.
Otherwise, do not need to return it. echarts will inherit dimension from the upstream.

Try to freeze the raw data exposed to data transform.
If a third-party transform modify the raw data of its upstream, it will bring about uncertain unexpected behavior if multiple transform are combined.
This PR resolve it by call Object.freeze to freeze the raw data if possible.

Clarify the API method name and behavior of data transform.
.

fix: underlying schedule framework bug
When setOption at the second time and change data, there is a bug in dispose task instance.
Show cases
test/est/custom-shape-morphing2.html

How a user expresses data mapping for transition?
Issues
First and foremost, we need to consider those issues below:
ISSUE_I: If we need to "auto detect the change of dimensions" between old data and new data, how to implement it?
We should consider:

We have never been forcing users to specify dimension names. User can only specify certain dimensions by dimension index, which is probably convenient in some scenario in practice.
If we implement "data mapping for transition animation" via "auto detection of the change of dimensions", probably we can force the users to specify dimension names if they want to have a "correct transition animation", and perform mapping by the rule of MAPPING_ON_THE_SAME_DIMENSION_NAME, which means that if there is any equality on oldData.dimensions[i].name and newData.dimensions[j].name, we can perform mapping of data items by the values on oldData.dimensions[i] and newData.dimensions[j]. Is there any flaw if applying that rule?

ISSUE_II: The issues of "mapping by index":
The default data mapping implementation is provided by List['diff'], where if the names of data items are not specified, they will be mapped by data index. "mapping by index" is not a big deal in scenarios that the meaning of transition are not noticed. But in some scenario that the meaning of transition need to be noticed, like storytelling, any incorrectly data mapping is probably inappropriate. For example:
dataA is the raw data, where the dimensions are ['Year', 'Income', 'Population', 'Sex', 'Country'].
dataB is calculated by:
select avg(`Population`), avg(`Income`) from `dataA` group by `Sex`;

dataC is calculated by:
select avg(`Population`), avg(`Income`) from `dataA` group by `Country`;

Suppose there are only two values in dimension Country ('France', 'Germany'), which are just the same as the value count of dimension Sex ('Woman', 'Man').
Consequently the count of dataB and dataC are exactly the same.
Having these data above, when dataB is switched to dataC via setOption, the data mapping should not be performed by index. Otherwise there will be misleading mappings from 'Man' to 'France' or from 'Women' to 'Germany'. In this case, no transition animation is probably better than misleading transition animation.
ISSUE_III: The issues of "when dimensions not changed":
Suppose there is no changes before and after setOption called:
Dimensions of dataA is ['Income', 'Population', 'Country'],
Dimensions of dataB is ['Income', 'Population', 'Country'], exactly the same.
But dataB is calculated by:
select sum(`Income`), avg(`Population`) from `dataA` group by `Country`;

Have these data above, the dimensions are not change, but obviously it should be mapped neither by index, nor by the first same dimension (Income). The appropriate mapping should be performed on dimension Country, which, nevertheless, can not be auto-detected.
That is, even though the dimensions are not changed, it hardly auto-detect how to make a totally correct data mapping. User input about transition is still needed in this case.
ISSUE_IV: Issues about "user specifies a dimension (also say, key below) to perform mapping":
Suppose there are requirements:

dataB(seriesB)  ---transition1(on 'Country')--->  dataA(seriesA)
dataC(seriesC)  ---transition2(on 'Income')--->  dataA(seriesA)
We say the data before the "transition arrow" as from, and the data after the arrow as to.
transition1 needs user to input a key 'Country', and transition2 needs user to input a key 'Income'.
That is, the "user specified key" is not only related to to but also related to from.
That is, the "user specified key" only work for this calling of setOption, and should be discarded after setOption called.
That is, the "user specified key" should better be set on the params of setOption rather than series option.

If we intend to make the "user specified key" on series option, probably we need to lift the concept of that "key", making it not describe this transition but describe the feature of the data itself. For example, describe that it is the unique key of the data, and make a auto-mapping rule based on unique key). We will discuss it below in detail.
ISSUE_V: Issues about "data totally not changed but need transition animation".
Like transition from bar to pie chart with the same data.
For example, there is dataA, which dimensions are ['Income', 'Population', 'Country', 'Sex'] and no dimension is suitable for itemName.
The current default rule that mapping by index can handle that.
But if we disable the rule that "mapping by index" for transition animation scenario, how to handle it?
A possible solution can be:
option = {
    dataset: [{
        dimensions: ['Income', 'Population', 'Country', 'Sex'],
        source: dataA
    }, {
        // Generate an extra dimension as id.
        transform: {
            type: 'id',
            dimensionIndex: 4,
            dimensionName: 'Id'
        }
    }],
    series: {
        type: 'custom',
        encode: { itemName: 'Id' },
        datasetIndex: 1
    }
};

Solutions
Based on the scenarios listed above, I summarized to two designs about how a user expresses data mapping for transition.
SOLUTION_A: Dimension key about data mapping is set in the parameter of setOption.
That is, user is responsible for the setting of "from dimension" and "to dimension" of data mapping when intending to have transition animation.
The advantages:

The API is more "atomic" relatively. Users can control everything about transition, which might avoid some bad cases that haven't thought of.
It's not hard for users to configure it in the "linear scene changing" (that is, optionA -> optionB -> optionC, be a linked list rather than a directed graph).

The disadvantages:

It's not easy for users to configure it in the "directed-graph scene changing", where users might need upper layer to manage transition settings.

SOLUTION_B The "key" about transition is set in series option.
The key points of this strategy:

Apply MAPPING_ON_THE_SAME_DIMENSION_NAME.
User is responsible for specifying the "unique key" of data, which is used subsequently to select the transition key.

The term "unique key" follows the same concept of unique key in database.
PENDING_I: how to specify unique key?

We can use the existing setting series.encode.itemName to specify the unique key. At present, series.encode.itemName is used to specify the value of which dimension should be used as the name of each data item, and List['diff'] will use it to perform data mapping. But series.encode.itemName is also responsible for displaying in the default tooltip. If we generate a extra dimension containing unintelligible ids (see ISSUE_V), it should better not to be displayed in the default tooltip. Consider this case, should we do not use series.encode.itemName to express unique key?
Or we can add a new setting series.encode.itemId (or series.encode.uniqueKey?) to take charge of this job, whose only different from series.encode.itemName is that it will not be displayed in the default tooltip. And it might be more semantically correct.

Considering the compatibility with the current mapping strategy, when setOption happen, we have the rule as follows:

Get UNIQUE_KEY_DIMENSION_NAME: if series.encode.itemId (or series.encode.itemName, see PENDING_I) is specified and has its dimension name specified, we have UNIQUE_KEY_DIMENSION_NAME.
If there is newData.UNIQUE_KEY_DIMENSION_NAME, check it in oldData. If there is any dimension having the same name, we got the transition mapping dimension from and to.
Else if there is oldData.UNIQUE_KEY_DIMENSION_NAME, check it in newData. If there is any dimension having the same name, we got the transition mapping dimension from and to.
Else if there is newData.UNIQUE_KEY_DIMENSION_NAME, do not apply transition animation.

This is to provide a way to disable unexpected transition.

Else apply the existing mapping rule.

User usage hints:
Scenario in (ISSUE_II):
Expect no transition animation.
chart.setOption({
    series: {
        encode: { itemId: 'Sex' },
        dimensions: ['Population', 'Income'],
        data: dataB_aggregate_by_Sex_from_dataA
    }
});
chart.setOption({
    series: {
        encode: { itemId: 'Country' },
        dimensions: ['Population', 'Income'],
        data: dataC_aggregate_by_Country_from_dataA
    }
});

Scenario in (ISSUE_III):
Expect map by dimension country.
chart.setOption({
    series: {
        encode: { itemId: -1 }, // Means no item name.
        dimensions: ['Income', 'Population', 'Country'],
        data: dataA
    }
});
chart.setOption({
    series: {
        encode: { itemId: 'Country' },
        dimensions: ['Income', 'Population', 'Country'],
        data: dataB_aggregate_by_Country_from_dataA
    }
});

Scenario in (ISSUE_IV):
chart.setOption({
    series: {
        encode: { itemId: -1 }, // Means no item name.
        dimensions: ['Income', 'Population', 'Country', 'Sex'],
        data: dataA
    }
});
chart.setOption({
    series: {
        encode: { itemId: 'Country' },
        dimensions: ['Income', 'Population', 'Country'],
        data: dataB_aggregate_by_Country_from_dataA
    }
});
chart.setOption({
    series: {
        encode: { itemId: 'Sex' },
        dimensions: ['Income', 'Population', 'Sex'],
        data: dataC_aggregate_by_Sex_from_dataA
    }
});

Scenario in (ISSUE_V):
Expect transition between bar and pie with the same data.
chart.setOption({
    dataset: [{
        dimensions: ['Income', 'Population', 'Country', 'Sex'],
        source: dataA
    }, {
        // Generate an extra dimension as id.
        transform: {
            type: 'id',
            dimensionIndex: 4,
            dimensionName: 'Id'
        }
    },
}, { lazyUpdate: true });

chart.setOption({
    series: {
        // render pie
        type: 'custom',
        renderItem: renderBar,
        encode: { itemId: 'Id' },
        datasetIndex: 1
    }
});
chart.setOption({
    series: {
        // render bar
        type: 'custom',
        renderItem: renderPie,
        encode: { itemId: 'Id' },
        datasetIndex: 1
    }
});

Summary
At present I think SOLUTION_B probably better.
But it might reduce the capability then SOLUTION_A. I am not sure is there any meaningful scenario that SOLUTION_B do not cover?
And I am not sure about the PENDING_I.
What's your opinions @pissang ?

Update:

Support "combine" with different colors.

Add parameter dividingMethod: 'split' | 'duplicate' to transition option in setOption.

Add API combine separate in https://github.com/ecomfe/zrender/tree/custom-morph2.


what does the -l argument do and why is it not in --help

I use youtube-dl with aria2c with -c -j 16 -x 16 -s 16 -k 1M and sometimes if I don't use the -l argument aria2c is unable to download the youtube video.
-l is not listed in --help. what does it do?

Example, please.
However we can take a guess as to what's happening.
-l/--literal and -t/--title are obsolete (hence no help) ways of saying --output '%(title)s-%(id)s.%(ext)s' (POSIX quotes: Windows '' -> ""). They are deprecated because this has been the default for ages.
By putting -l you are resetting whatever output template was previously specified, and which led to an invalid filename (probably regardless of --external-downloader aria2c), to the default, which didn't.


forEach returns a Null Error for a DataSnapshot but the datasnapshot has no null values in it

Steps to Reproduce
I try to get a DataSnapshot from a firebase database. I get the snapshot. The snapshot looks normal and for 3 similar tables it works without a problem. But for one of the tables I get a problem as soon as it hits forEach. The DataSnapshot looks normal in the debugger and I can view all entries.
DataSnapshot snapshot =
    await getSnapshots.getDatasnapshotfromSelection(selection);

snapshot.value.forEach((d, e) {
  List<String> innerlist = new List();
  var name = e['Name'];

  innerlist.add(name);
 [...]
  _nameList.add(innerlist);
});

Logs
E/flutter ( 3284): type '(dynamic, dynamic) => Null' is not a subtype of type '(dynamic) => dynamic' of 'f'
E/flutter ( 3284): #0      List.forEach (dart:core/runtime/libarray.dart)
E/flutter ( 3284): #1      GetLists.getNameandVideoListFromSelection (package:turn_app/communication/GetLists.dart:51:22)
E/flutter ( 3284): <asynchronous suspension>
E/flutter ( 3284): #2      GetLists.isSelectionLoaded (package:turn_app/communication/GetLists.dart:119:15)
E/flutter ( 3284): <asynchronous suspension>
E/flutter ( 3284): #3      ApparatusButtonStage.checkifIsloaded (package:turn_app/ui/Apparatus_Button.dart:110:42)
E/flutter ( 3284): <asynchronous suspension>
E/flutter ( 3284): #4      ApparatusButtonStage.initState (package:turn_app/ui/Apparatus_Button.dart:135:5)
E/flutter ( 3284): #5      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3751:58)
E/flutter ( 3284): #6      ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
E/flutter ( 3284): #7      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
E/flutter ( 3284): #8      Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
E/flutter ( 3284): #9      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
E/flutter ( 3284): #10     Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
E/flutter ( 3284): #11     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
E/flutter ( 3284): #12     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
E/flutter ( 3284): #13     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
E/flutter ( 3284): #14     Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
E/flutter ( 3284): #15     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:4654:14)
E/flutter ( 3284): #16     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
E/flutter ( 3284): #17     Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
E/flutter ( 3284): #18     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
E/flutter ( 3284): #19     Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
E/flutter ( 3284): #20     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
E/flutter ( 3284): #21     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
E/flutter ( 3284): #22     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
E/flutter ( 3284): #23     Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
E/flutter ( 3284): #24     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
E/flutter ( 3284): #25     Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
E/flutter ( 3284): #26     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
E/flutter ( 3284): #27     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
E/flutter ( 3284): #28     ParentDataElement.mount (package:flutter/src/widgets/framework.dart:3955:11)
E/flutter ( 3284): #29     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
E/flutter ( 3284): #30     Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
E/flutter ( 3284): #31     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3653:16)
E/flutter ( 3284): #32     Element.rebuild (package:flutter/src/widgets/framework.dart:3495:5)
E/flutter ( 3284): #33     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3622:5)
E/flutter ( 3284): #34     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:3769:11)
E/flutter ( 3284): #35     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3617:5)
E/flutter ( 3284): #36     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2907:14)
E/flutter ( 3284): #37     Element.updateChild (package:flutter/src/widgets/framework.dart:2710:12)
E/flutter ( 3284): #38     SliverMultiBoxAdaptorElement.updateChild (package:flutter/src/widgets/sliver.dart:744:36)
E/flutter ( 3284): #39     SliverMultiBoxAdaptorElement.createChild.<anonymous closure> (package:flutter/src/widgets/sliver.dart:729:20)
E/flutter ( 3284): #40     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2222:19)
E/flutter ( 3284): #41     SliverMultiBoxAdaptorElement.createChild (package:flutter/src/widgets/sliver.dart:722:11)
E/flutter ( 3284): #42     RenderSliverMultiBoxAdaptor._createOrObtainChild.<anonymous closure> (package:flutter/src/rendering/sliver_multi_box_adaptor.dart:254:23)
E/flutter ( 3284): #43     RenderObject.invokeLayoutCallback.<anonymous

[√] Flutter (Channel dev, v0.5.5, on Microsoft Windows [Version 10.0.17134.112], locale de-DE)
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
[√] Connected devices (1 available)

• No issues found!

What's the code of getSnapshots.getDatasnapshotfromSelection()?

Future<DataSnapshot> getDatasnapshotfromSelection(Selection selection) async {
    final String reflink = getReflinkFromSelection(selection);
    DatabaseReference reference = 'element/' +
        selection.bundesland +
        '/' +
        selection.gender +
        '/' +
        selection.apparatus;
        globalFBInstanceSingleton.databaseRef.child(reflink);

    DataSnapshot snapshot = await reference.once();
    return snapshot;
  }

Is the code for getDataSnapshot. Only Strings (which correspond to tables items)

The problem is that the callback passed to forEach only supports one parameter not two
snapshot.value.forEach((d, e) {

should be
snapshot.value.forEach((d) {

I don't think this is the case, as I use this for all tables and normally it iterates through the snapshot with the key as d and the value in e. Only in this specific table it breaks. Another table with a different key but the same structure and type of data works without a flaw.

I seem to have found the error and I think this is kind of a error with the flutter firebase implementation?
My keys in the first table started with 0 and went further to 20. Because of this the snapshot for the first item with the Id 0 was nested differently. If I removed the item with 0 as the key the first Item with the key 1  was nested differently. This only happened for the first table from 0-20. The second table starting with 21~ didn't have this problem. I was able to change this by uploading my tables with push and letting firebase choose unique keys for me.

Sounds like this is solved.

@Jasonthefirst
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/786. Any further collaboration will be done there.


Proposal: move examples and guidance to /docs

Proposal:
Restructure app so that examples fall within the /docs/ folder.
More broadly, app would be for all user files, docs for all our docs and examples.
We'd end up with:
app
   |
   +-> assets
   +-> views
   +-> routes.js
   +-> config.js
docs
   |
   +-> assets
   +-> views
       |
       +-> docs
           |
           +-> getting-started
           +-> documentation
           +--> examples
   +--> rotes.js
   +--> config.js

Benefits of doing this:

We cleanly separate user files from our docs. This helps our future upgrade path.
The user app space is cleaner.
Maintenance of docs (within the docs space) is cleaner.

Potential downsides:

Users may not find the examples - we'd need to clearly signpost them.
Examples get nested a fair bit.

looks good, does a config make sense in docs?

For clarity - our broad idea for upgrades is that users download the new kit and copy across their old app folder. Whilst this keeps their prototype, it means we have no way to upgrade the docs or guidance which currently sit in app. Since this is an area very likely to change, it makes sense to move them outside of the app scope.

Config - we don't need it. I was figuring we might have config for the docs. But it could also come from routes I guess.

Hmm this presents an issue. Ideally we want our views to be scoped to either app or docs. So a call to  {% extends "layout.html" %} searches for layout.html in app OR docs.
Looks like this could be done by having sub-apps (which can have their own views directories), but from a bit of googling I'm not sure nunjucks supports that. Thoughts welcome.

so won't it work with a layout.html in app? What issues does that create?

It means we can't update layout.html if we want an upgrade path using the app folder...

would a relative path work? like ./layout.html or ../layout.html

No, I don't think so. We're already relative. Views contains both directories, and the same relative path exists in both.

It's a problem we have with other assets as well - how to separate the ones we want to be able to update from those the user creates.

yeh good point about assets, maybe that scuppers this approach

With some help from @glenjamin at DWP, it looks like we can scope with apps. This introduces a bit of duplication of templates, but means we're free to update the ones in docs, etc and users can always update their files as they like.

Minimally working version: https://github.com/alphagov/govuk_prototype_kit/tree/split-docs-app
In that branch templates in docs are correctly scoped to docs.

Tricky one with assets - we can scope, but the more I think about it, the weirder it seems that we put so much assets in app at all. Should they go in lib instead? That's essentially what they are.


Submission_Gruoup 41_2352294_2352554_2352520_2352100_2352002

Two-Dimensional Cutting Stock Problem Optimization📚 Project DescriptionThis project addresses the Two-Dimensional Cutting Stock Problem (2D-CSP), a classic optimization problem in operations research. The goal is to minimize material waste (trim loss) while fulfilling specific cutting demands efficiently.We implemented two distinct solution policies to tackle this problem, leveraging advanced techniques in optimization:Policy ID = 1: Branch and PriceCombines Branch-and-Bound with Column Generation.Generates additional cutting patterns (columns) during the branching process to optimize solutions at each node of the tree.Provides a comprehensive, globally optimal solution but requires significant computational resources.Policy ID = 2: Column GenerationFocuses solely on generating cutting patterns iteratively to minimize costs and reduce waste.Terminates upon convergence without exploring the entire search space.Offers faster results with lower complexity but may not guarantee global optimality.📊 Results Comparison

Metric
Policy ID = 1 (Branch and Price)
Policy ID = 2 (Column Generation)

Filled Ratio
0.14
0.22

Trim Loss
0.224165
0.149117

Processing Time
309.16 seconds
111.19 seconds

Complexity
High (combines multiple techniques)
Lower (relies on one technique)

Exhaustiveness
Comprehensive, globally optimal
Fast convergence, not exhaustive

Practical Use Case
Suitable for cases requiring maximum accuracy
Suitable for fast, acceptable solutions

Key ObservationsPolicy ID = 1 (Branch and Price): Best suited for scenarios where achieving a highly accurate, optimal solution is critical, but computational cost is less of a concern.Policy ID = 2 (Column Generation): Ideal for practical use cases requiring faster processing times and efficient results, though it may sacrifice global optimality.🔧 Tools & TechniquesProgramming Language: Python (modify based on your implementation).Optimization Libraries: PuLP, Gurobi, or custom-built solvers.Techniques Used: Branch-and-Bound, Column Generation, Linear Programming.👥 Team MembersLý Quốc Hào (Leader): 2352294Đỗ Đăng Khoa: 2352554Lê Điền Vinh Khánh: 2352520Nguyễn Phước Quý Bảo: 2352100Đàm Hoài An: 2352002📚 ReferencesOperations Research techniques for the Cutting Stock Problem.Optimization with Branch-and-Bound and Column Generation.Linear Programming applications in material cutting.
🎥 Demo GIFs
Policy ID = 1: Branch and Price  (speed x2 )

Policy ID = 2: Column Generation  (speed x1.5)

Sorry, teacher. Our group accidentally deleted the repository after closing it, so we couldn't reopen it even after attempting to restore it, as it doesn't match anymore. This is our new PR. Hope you accept it. We sincerely apologize for this mistake.

My first submission was #213, but I mistakenly deleted it and cannot recover it. I apologize for the error and kindly request you to merge this new PR. I assure you that this will be the only PR submitted by my group, so there is no risk of duplication.


Error: DirectLineJS: It is connected, we cannot set user id.

Screenshots

Version
<meta name="botframework-directlinespeech:version" content="4.12.1">
<meta name="botframework-webchat:bundle:variant" content="full">
<meta name="botframework-webchat:bundle:version" content="4.12.1">
<meta name="botframework-webchat:core:version" content="4.12.1">
<meta name="botframework-webchat:ui:version" content="4.12.1">

Describe the bug
Just updated from 4.10.1 to 4.12.1
Before the update we could pass userID into the ReactWebChat and in 4.12 we can call setUserID on the DirectLine object aswell.
Doing both, either or neither of those, results in the error.
Steps to reproduce

Make a class that extends React.Component
In the render method return a ReactWebChat with relevant props:

Expected behavior
No error.
Additional context
This error may be due to idiosyncrasy but I'd like to get to the bottom of that if it's the case.
[Bug]

To clarify, there wasn't a problem in v4.12.0. But, with v4.12.1 the problem manifested itself? Do you have "Enhanced authentication" enabled in the Direct Line channel settings?

There wasn't a problem in v4.10.1. The problem manifested itself after updating to v4.12.1 and also occurs in v4.12.0.
The "Enhanced authentication" setting is disabled.

@felixvanleeuwen can you check if userId has changed after initial render?
For example, you can add console.log and see.
render() {
  // Console log the user ID
  console.log(`Rendering Web Chat with user ID "${this.getValuesFromQueryString().userId}"`.);

  const md = getConfiguredMarkdownIt();
  return this.loading ?
  (
Loading...
)
  : (
    <ReactWebChat
      directLine={ this.directLine }
      userID={ this.getValuesFromQueryString().userId }
      styleOptions={ xxxStyleOptions }
      activityMiddleware={ this.xxxActivityMiddleware.Middleware() }
      attachmentMiddleware={ this.xxxAttachmentMiddleware.Middleware() }
      groupTimestamp={ false }
      renderMarkdown={ md.render.bind(md) }
      cardActionMiddleware={ createXxxCardActionMiddleware() }
      adaptiveCardsHostConfig={ xxxAdpativeCardsHostConfig }
      />
  );
}

Starting from Web Chat 4.12 (PR #3544), when directlinejs connect, we will pass the userID to it (this line of code).
I am curious why Web Chat is trying to ask DLJS to connect twice. This line of code is where Web Chat tells DLJS to connect. Wonder if it hit this line more than once.
Particularly, if DLJS object changed, user ID changed, or username changed, it will ask DLJS to connect.
BTW, the new feature in DLJS will send conversationUpdate event to your bot as soon as Web Chat is connected. So firing an event (such as webchat/join event) is no longer needed. This feature also requires service side update, which is slowly rolling out.

It does print it twice but the first pass should render the "Loading" div, not webchat.

Here's how this.loading becomes false:

@felixvanleeuwen, are you able or willing to share a copy of your project so I can take a look at the flow and possibly repro?

@stevkan unfortunately I am unable to share our code, can we set up a teams/zoom/googlemeets to show it via screenshare?

@felixvanleeuwen, I'm happy to meet up. I'm available this Thursday, April 1st, from 11:30 am to 4:30 pm (PST). Teams or Zoom will work for me. You can send an invite to my email.

I am guessing, the sendJoinEvent function will trigger this.directLine to establish a connection.
Then, when Web Chat is mounted on the page, it will call connect on this.directLine. Since it has already connected before Web Chat is loaded, setUserId will log the warning.

@stevkan Where can I find your email?
@compulim I'm going to see if I can Change the ordering around and see if that helps.

@compulim I rearranged the rendering and the event sending.
However, it still produces the same error:

I had a hunch that rearranging didn't do much.
So undid my change but left the print in, same result:

@stevkan I found your email in your profile.
Our team operates in the CEST timezone, any chance you have a co-worker in that zone?

@compulim even when I never send the join event the error occurs:

@felixvanleeuwen, I spoke with a member of the Web Chat team and it was recommended that you try assigning the userId via the method shown here.
They were also wondering if you are passing in the userId with the secret with generating a token from the Direct Line API call. As I don't remember from our online call, can you tell me if this is happening or not?

Closing due to inactivity. If the problem persists or you have new details to provide, please feel free to reopen the issue.


ids

Add method to list plugin IDs. This is usefull for autocompletion on the CLI.
Addresses part of: https://github.com/calyptia/go-fluentbit-config/issues/55

By ID is this the (super unsafe - fun times with non-determinism in config maps for me!) tail.0 style IDs?

I also agree... I think we should add some level of determinism by tagging inputs by name in the cli and/or core-ui before we try and actually linked to this sort of thing in the CLI. Where is it going to be used @nicolasparada?

@pwhelan there is a function in Cloud that can make use of it: https://github.com/calyptia/cloud/blob/536435cb62556ffb2bf7ddba770acec50d47d388/config_parser.go#L471
Also in the CLI was a TODO to change using the name of the plugin, for the ID: https://github.com/calyptia/cli/blob/dba6ed005df11bfe17d6c5cd6a8b3f7c3b6f5d13/completer/completer.go#L286

I think we should add some level of determinism by aliasing (adding an alias property)

Can you raise an issue for this @pwhelan ? It's a very important requirement I think - without aliases it's pretty useless I found for any large scale deployment as metrics cannot be relied on, alerts cannot be fired and it just is confusing between even pods sharing the same config map getting different ids.


Parser

Implementation of a full parser will enable a number of desired features:
New features

Completion
Semantic navigation

Improved features:

TextMate-free outlining/folding + structure guides
Semantic colorization

Pushed initial bits of parser. Currently only parses package foo declarations and doesn't yet run in the IDE.


Koa example using swagger

Would be nice if there was an example using Koa. The middleware for koa-swagger seems to be using the older version.

+1 for this

Yes please!

Indeed +1

+1

+1

+1

+1

+1

+1

+1

+1


Question - license: smp core utils

Hello,  I've got a question regarding one of the dependcies you are using. The smp-core-utils
What licence does this project have? The picker it self seems to be MIT.  But your dependcy, which you seems to be the author as well, is not clear.
Could you shed some light regarding the licensing issue?

Hi,
smp-core-utils is freely usable, but simply it's not open source.
Hope this helps.
T.


Inconsistency in insulation calculation

The insulation weight is estimated by assuming that some fraction (defaults to 55%) of the fuselage circle is part of the cabin and is insulated but the remaining 45% is part of the cargo hold that is not insulated.
The existing calculation looks like this:
https://github.com/MIT-LAE/TASOPT.jl/blob/90a11ce611b7dee323d2b4dab7c57c618baf11e1/src/structures/fuseW.jl#L220-L224
Firstly, the 0.55 default factor implies it should be $2.2*\theta$ not $2.0*\theta$:
Winsul = Wppinsul*((1.1*pi+2.2*thetafb)*Rfuse*lshell + 0.55*(Snose+Sbulk))
Secondly, this does not actually take the perimeter correctly if there is a downward bubble shift.
Proposed fix is something like:
  p = get_perimeter(layout.cross_section)
  A = p * layout.l_shell + S_nose + S_bulk
  W = weight_per_area * insulated_fraction * A

  shell_centroid = 0.5 * (layout.x_pressure_shell_fwd + layout.x_pressure_shell_aft)

  insulation = Weight(W = W, x = shell_centroid)

Fixing in #57

@ngomezve does this make sense to you?
A more "thorough" fix (probably later) would use the actual floor height and only add insulation for the portion of the cabin above the floor.

This is an improvement over the existing model. I agree that the insulated fraction parameter could be eliminated by using the actual cabin layout, but this is probably OK for now.


pip install git+https://github.com/ageitgey/face_recognition_models  failed

face_recognition version:
Python version:3.7
Operating System:mac

Description
when I run pip install git+https://github.com/ageitgey/face_recognition_models
it is failed and show:
pip install git+https://github.com/ageitgey/face_recognition_models
Collecting git+https://github.com/ageitgey/face_recognition_models
Cloning https://github.com/ageitgey/face_recognition_models to /private/var/folders/l6/ghttnwh12dz1mwwgrh36k96c0000gn/T/pip-req-build-bt_0t6ii
Running command git clone -q https://github.com/ageitgey/face_recognition_models /private/var/folders/l6/ghttnwh12dz1mwwgrh36k96c0000gn/T/pip-req-build-bt_0t6ii
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
ERROR: Command errored out with exit status 128: git clone -q https://github.com/ageitgey/face_recognition_models /private/var/folders/l6/ghttnwh12dz1mwwgrh36k96c0000gn/T/pip-req-build-bt_0t6ii Check the logs for full command output.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

try use pip3

It is now solved ,still showing the same error .if anyone solved the error.kindly let us know


feat: add support node is an alias for the latest version

https://github.com/nvm-sh/nvm#usage
https://github.com/actions/setup-node/pull/279

@bluelovers this should also add stable as an alias.
@bahagia97 any idea when this will be released? We go to production on the latest LTS but also want to test with the latest version to know ahead of time what our compatibility will be with the next LTS, so we currently use a node-version matrix like:
matrix:
  node-version: ['lts/*', '17']

but this would require updates to hundreds of repos when we get versions 18 and 19. This change will allow us to use
matrix:
  node-version: ['lts/*', 'node']

(or preferably stable) and then we won't have to update the configs when new versions are released.

Hi @bluelovers,
This branch has conflicts with the main branch, so could you please resolve it. Also, you need to run npm build, to update the content of the /dist folder. There are some small spacing mistakes in the version.yaml workflow so can you please fix that as well.
Cheers

Hi @bluelovers,
This branch has conflicts with the main branch, so could you please resolve it. Also, you need to run npm build, to update the content of the /dist folder. There are some small spacing mistakes in the version.yaml workflow so can you please fix that as well.
Cheers

i can't build it from my env, so if can, can u build it afiter merge?

Hi @bluelovers,
Right now I am working on this feature. My PR will be really similar to yours, with some additional stuff added, so I will prepare everything.
Cheers

Hello everyone. Support for node alias was added. For now I'm going to close the issue. If you have any concerns feel free to ping us.

Same error if node-version: [current]

Hello @zdm. I've tried to use this snippet, but it works as expected.
    - name: Setup Node
      uses: actions/setup-node@v3
      with:
        node-version: current
        architecture: x64

Could you please share a link to the public repository to reproduce the issue.

try matrix, pls

error is when node-version: current used in matrix

@zdm I've tried this one and everything works as expected:
jobs:
  test-setup-node:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
        version: [current, latest, node]
    steps:
    - name: Checkout repository
      uses: actions/checkout@v3
    - run: node --version
    - name: Setup Node
      uses: actions/setup-node@v3
      with:
        node-version: ${{ matrix.version }}
        architecture: x64
    - run: node --version

ah, sorry, this is my mistake, array is required, i was confused by your example
sorry again


SourceMapDevToolPlugin  does not cause hash changes

Adding a sourceMapping URL does not cause hash changes

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


daemon error

It is showing error when I try to connect phone in my termux terminal
Error:
daemon not running. starting it now at tcp:5038 *
error: could not install smartsocket listener: Address already in use
ADB server didn't ACK

failed to start daemon *
Pls help

refer to #5


Move container CI into a separate workflow

Container CI moved to separate workflow
Container CI now triggers on push to master

The container workflow will trigger on a push to master, which I think covers:

Changes pushed to master
PR merged with master
I suppose we could add a badge to show that the containers are working? I don't know whether other repos are set up this way.


Inference with  Llama 2 70B 8bit eetq causes entire server/operating system to crash

System Info
Command:
model=/data/Llama-2-70b-chat-hf
volume=$PWD/models
docker run --gpus all --shm-size 50g -p 8888:80 -v $volume:/data ghcr.io/huggingface/text-generation-inference:latest --model-id $model --num-shard 4 --quantize eetq --max-input-length 3500 --max-total-tokens 4096 --cuda-memory-fraction 1.0
OS
CentOS Stream 9
kernel 5.14.0-344.el9.x86_64
Hardware
4x NVIDIA 4090

CPU: AMD Epyc 7542 32 cores
RAM: 256GB
Current version being used
Latest docker image with eetq fixed
https://github.com/huggingface/text-generation-inference/pull/1081
Information

[X] Docker
[ ] The CLI directly

Tasks

[ ] An officially supported command
[ ] My own modifications

Reproduction
It seems that the entire system crashes if the context length is above a certain threshold. For example, I tried around 1500 tokens context, and it worked fine, however after increasing it to > 2000, the entire system crashes and the server shuts down. With other models (like 34B codellama), everything works as expected with no crashes with longer context length.
Expected behavior
The entire operating system does not crash, and the image fails gracefully...

Do you have any kernel logs anywhere ?
The entire system crash seems to point to:

Kernel bug
Driver bug

Both would be pretty bad anyway.
If you can provide any sort of log that might help.

There was nothing useful in the journal log, and no crash coredump available. I'm certain the issue only occurs after a certain input sequence length is exceeded. Unfortunately I can't afford to keep crashing the system, but if I have some time later this week I will try to investigate further. Perhaps this can be replicated with the same GPU configuration by someone else?


fix: unit tests

Q
A

Branch?
3.0

Bug fix?
no

New feature?
no

Deprecations?
no

Tickets

License
MIT

Doc PR
N/A

thanks ! Cherry-picked it!


[HIVE-STRUCT] result error from catalog.db.tbl when struct contains date and timestamp columns

Steps to reproduce the behavior (Required)

create hive table and insert data:

create table hdfs_orc_nocompress_struct_datetime(
 col_int int,
 col_struct struct<c_date:date,c_timestamp:timestamp>
)
row format delimited fields terminated by ':'
collection items terminated by ','
stored as orc
tblproperties("orc.compress"="none");
insert into hdfs_orc_nocompress_struct_datetime select 2,named_struct("c_date",cast("9999-12-31" as date),"c_timestamp",cast("9999-12-31 23:59:59" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 3,named_struct("c_date",cast(null as date),"c_timestamp",cast(null as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 5,named_struct("c_date",cast("1000-10-10" as date),"c_timestamp",cast("2000-12-12 12:12:12" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 6,named_struct("c_date",cast("2022-02-30" as date),"c_timestamp",cast("2022-02-30 24:00:00" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 7,named_struct("c_date",cast("9999-13-13" as date),"c_timestamp",cast("9999-12-33 00:00:01" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 8,named_struct("c_date",cast("10000-10-13" as date),"c_timestamp",cast("10000-12-30 00:00:01" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 9,named_struct("c_date",cast("9999-02-30" as date),"c_timestamp",cast("9997-13-33 00:00:01" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 10,named_struct("c_date",cast("2222-02-02" as date),"c_timestamp",cast("0099-09-09 03:60:01" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 11,named_struct("c_date",cast("0012-11-11" as date),"c_timestamp",cast("0099-09-09 03:59:61" as timestamp));
insert into hdfs_orc_nocompress_struct_datetime select 12,named_struct("c_date",cast("" as date),"c_timestamp",cast("" as timestamp));

select from hive table:

hive> select * from hive_extbl_test_struct_map.hdfs_orc_nocompress_struct_datetime where col_int>9 order by col_int;
WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
Query ID = hadoop_20221116180206_64a0e2de-80e9-4ff4-9e4f-e390e416ba32
Total jobs = 1
Launching Job 1 out of 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapreduce.job.reduces=<number>
Starting Job = job_1655710334658_89632, Tracking URL = http://emr-header-1.cluster-49091:20888/proxy/application_1655710334658_89632/
Kill Command = /usr/lib/hadoop-current/bin/hadoop job  -kill job_1655710334658_89632
Hadoop job information for Stage-1: number of mappers: 1; number of reducers: 1
2022-11-16 18:02:13,231 Stage-1 map = 0%,  reduce = 0%
2022-11-16 18:02:19,430 Stage-1 map = 100%,  reduce = 0%, Cumulative CPU 3.33 sec
2022-11-16 18:02:25,619 Stage-1 map = 100%,  reduce = 100%, Cumulative CPU 5.24 sec
MapReduce Total cumulative CPU time: 5 seconds 240 msec
Ended Job = job_1655710334658_89632
MapReduce Jobs Launched:
Stage-Stage-1: Map: 1  Reduce: 1   Cumulative CPU: 5.24 sec   HDFS Read: 16886 HDFS Write: 200 SUCCESS
Total MapReduce CPU Time Spent: 5 seconds 240 msec
OK
10	{"c_date":"2222-02-02","c_timestamp":"0099-09-09 04:00:01"}
11	{"c_date":"0012-11-11","c_timestamp":"0099-09-09 04:00:01"}
12	{"c_date":null,"c_timestamp":null}
Time taken: 22.183 seconds, Fetched: 3 row(s)

select from catalog.db.tbl:

mysql> select * from hive_extbl_test_struct_map.hdfs_orc_nocompress_struct_datetime where col_int>9 order by col_int;
+---------+-------------------------------------------------------------+
| col_int | col_struct                                                  |
+---------+-------------------------------------------------------------+
|      10 | {"c_date":"2222-02-02","c_timestamp":"0099-09-07 04:05:44"} |
|      11 | {"c_date":"0012-11-09","c_timestamp":"0099-09-07 04:05:44"} |
|      12 | {"c_date":null,"c_timestamp":null}                          |
+---------+-------------------------------------------------------------+
3 rows in set (0.02 sec)

Expected behavior (Required)
result from catalog.db.tbl consistency with hive table
Real behavior (Required)
result from catalog.db.tbl inconsistency with hive table
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

mysql> select current_version();
+----------------------------+
| current_version()          |
+----------------------------+
| BRANCH-2.5-RELEASE 512d9ca |
+----------------------------+
1 row in set (0.01 sec)

The result from Trino is the same as SR
Trino:
 col_int |                        col_struct
---------+----------------------------------------------------------
      10 | {c_date=2222-02-02, c_timestamp=0099-09-07 04:05:44.000}
      11 | {c_date=0012-11-09, c_timestamp=0099-09-07 04:05:44.000}
      12 | {c_date=NULL, c_timestamp=NULL}
(3 rows)

SR
+---------+-------------------------------------------------------------+
| col_int | col_struct                                                  |
+---------+-------------------------------------------------------------+
|      10 | {"c_date":"2222-02-02","c_timestamp":"0099-09-07 04:05:44"} |
|      11 | {"c_date":"0012-11-09","c_timestamp":"0099-09-07 04:05:44"} |
|      12 | {"c_date":null,"c_timestamp":null}                          |
+---------+-------------------------------------------------------------+

HIVE
10      {"c_date":"2222-02-02","c_timestamp":"0099-09-09 04:00:01"}
11      {"c_date":"0012-11-11","c_timestamp":"0099-09-09 04:00:01"}
12      {"c_date":null,"c_timestamp":null}


Added a convenient api for removing all constraints from the view

For details, plz check out the Commits.

Hi Tong,
Thanks for submitting this PR!
The new API you're suggesting is actually quite similar to the constraint removal methods that used to exist, but were deprecated and recently removed altogether. Please take a look at those for more context.
The reason these have been removed is because they encourage bad practices. Apple specifically recommends retaining a reference to only the specific constraints you need to change or remove later on. PureLayout already makes this very easy to do.
Your suggested implementation is also not as robust as these methods were -- specifically, removing self.constraints ignores the fact that where constraints actually get added is an implementation detail, and removing self.constraints often removes many more constraints than what you expected. Apple specifically warns against removing self.constraints.
So unfortunately this is not something that will be added back to PureLayout. Thanks again for taking the time to put it together though, and let me know if you have any questions!

Well, your consideration is very comprehensive, I agree with you. Thank you for your reply! 😃


check for github action for pr

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

will test github action with a fresh PR


Create main.yml

This builds with Cmd-B in the Xcode UI. I can reproduce this problem building locally with xcodebuild.

Filed https://github.com/apple/swift-package-manager/issues/6074


Add a friendly readable name on user's auth

Make it so that users can have a read-only name.

It is easier to have developer send a 'name' key on the userPayload on the GT.join method.


Conflict in tutorial page is resolved

[x] broken translation is fixed

@samundrak Could you please review this PR


Commissions: UI components

As proposed by @nick and described in his document.
These are the general requirements:

For v1, we are not going to allow buyers and sellers to negotiate the commission rate
DApps will set a suggested or default rate, and the sellers may change that (similar to how Ethereum gas works)
Commissions will be earned by the DApp the services the final transaction.
To qualify for commissions, DApp partners will stake Origin token (see #286)

This task tracks the UI component work.

Related
https://github.com/OriginProtocol/origin-dapp/issues/424
(will list more as they get added)

Closing in favor of the following, more granular issues:
https://github.com/OriginProtocol/origin-dapp/issues/424
https://github.com/OriginProtocol/origin-dapp/issues/432
https://github.com/OriginProtocol/origin-dapp/issues/434
https://github.com/OriginProtocol/origin-dapp/issues/435
https://github.com/OriginProtocol/origin-dapp/issues/436
https://github.com/OriginProtocol/origin-dapp/issues/437


text-align in android device

If there is no issue for your problem, tell us about it
Hello
When I'm running on Android - I set Label the text-align to the right. Posts go to the left.
Play.nativescript.org link
https://play.nativescript.org/?template=play-ng&id=Yjrr3x&v=3
The language is Persian.

Which platform(s) does your issue occur on?

Android
emulator or device. Both

Please, provide the following version numbers that your issue occurs with:

CLI: 4.2.3
Cross-platform modules: 4.2.0
Runtime(s): 4.2.0

Hi @aminghe,
Thank you for the provided sample project.
I reviewed your case, and it seems that a similar issue has been already logged here. You can also check the provided solutions (solution 1 solution 2).


python311Packages.griffe: 0.36.0 -> 0.36.1

Diff: https://github.com/mkdocstrings/griffe/compare/refs/tags/0.36.0...0.36.1
Changelog: https://github.com/mkdocstrings/griffe/blob/0.36.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 253804 run on x86_64-linux 1

1 package marked as broken and skipped:

netbox_3_3

9 packages built:

griffe (python310Packages.griffe)
griffe.dist (python310Packages.griffe.dist)
netbox
python310Packages.mkdocstrings-python
python310Packages.mkdocstrings-python.dist
python311Packages.griffe
python311Packages.griffe.dist
python311Packages.mkdocstrings-python
python311Packages.mkdocstrings-python.dist


Clearer command line arg docs

Thank you for a such great software.
I spent some time trying different things to get the proxy recording working correctly in the end.
Please make the command line arg documentation clearer, providing sample input.
I found myself guessing what you meant, for example, what format is the -remoteProxyHost? I orignally tried http://localhost but got a long stacktrace with the actual descriptive error half way down, host name unresolved, so I tried localhost and it worked.
Please also use punctuation.

I have added an example in the usage output, I have also added argument validation.
However, I have no idea what you refer to when you say please also use punctuation, perhaps you could explain with a little detail.

Thanks for looking at this. Now I am afraid I sound like a grammar Nazi.
It was just hard to read because of the line wrapping without clear grammar.
specifies the HTTP, HTTPS, SOCKS and HTTP
CONNECT port for proxy, port unification
supports for all protocols on the same port

specifies the HTTP and HTTPS port for the
MockServer port unification is used to
support HTTP and HTTPS on the same port

Could be updated to something like
Specifies the HTTP, HTTPS, SOCKS and HTTP
CONNECT port for proxy. Port unification
is used to support all protocols on the same port.

Specifies the HTTP and HTTPS port for the
MockServer. Port unification is used to
support HTTP and HTTPS on the same port.

I agree with you punctuation suggestions making it clearer.  I have now updated it.  Both changes are in the current SNAPSHOT and will be in the next RELEASE.


Quiz: allow students to view feedback

This is stacked on the other two PRs; but is pretty much ready to go I think.

I am happy with the code decisions here.
There are two small bugs picked up through usage relating to this and the previous PR:

When completing a quiz, after pressing finish I get directed to the start page but I don't see the button to submit until I refresh.
After submitting a quiz attempt, when I then click view feedback and follow links through to the feedback for each question part, I am not able to see the feedback until I refresh.

Thanks Meurig. I think I have fixed these two bugs now.


Email Server Tutorial

How do I understand how to create the email server and how to access the service on the AWS console?

https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html#smtp-credentials-console

You can view a list of existing SMTP credentials that you've created using this procedure by going to the IAM console at https://console.aws.amazon.com/iam/. In the navigation pane, under Access management, choose Users. Use the search bar to find all users that you've assigned SMTP credentials.

Make sure you choose the right region for the AWS console metrics. The deployment used us-west-2 which was not default

Delivered-To<EMAIL_ADDRESS>Received: by 2002:a05:622a:24c:0:0:0:0 with SMTP id c12csp4419127qtx;
Tue, 17 Nov 2020 12:00:06 -0800 (PST)
X-Google-Smtp-Source: ABdhPJwrSjwRJlsKmSvuIKDBXkzkliwbsMfTMOY12XXNLI/W7of88H+KdZZE0Vga1aivj6gaNWca
X-Received: by 2002:a17:90a:12cc:: with SMTP id b12mr652028pjg.150.1605643206484;
Tue, 17 Nov 2020 12:00:06 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1605643206; cv=none;
d=google.com; s=arc-20160816;
b=X6Al7TTeABIIFKn/IKh8rICbp3bt3rEuWdC8ug0ovS0n056W9znWIBbFy2GwUMXT0B
jDDOiT2Qwi7AQr5atAVlwQh+6eRTRbp9G/Q8lL5MA9tOtX08d2OoL5MxJd2w4EJqIYTN
+ItYecl56Gm+TDdiutOu6SD1jVff6rvfSKSYo3XYY6WD/Px4afAn+i9UwcDrDCXhIrtb
zO33nzhOVlyMNeTCRWC3x72bmZyniEmi3NmYIsjVdieg6v72wdeiB+xrPuPpGosD7Z18
jkIlSE7FjzohE5t9pYxi0fqY8BNFQKVyWM92pGaDXF22f/DbEGQVTdwHUuGOb6v7DXda
CWcw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=feedback-id:date:message-id:to:from:subject:mime-version
:dkim-signature;
bh=OSHUFiH9/KVDQzYiyV9YiMVNiwitD85QNk/G+S4gjp0=;
b=OH7HQImiSuonix4ThrimQBn4Sitqey4zdo2xbfy44xUvNEfF068c7uwqEBmGia2ePY
ayxV67qO1tp0MHnbzzLHOW+ZoHNvqWTclTntGp1lZ/oRQXgwQ2mF1zFu6c0qOXJj9j+z
+ofhLqL482exwya3CtBJ5Wl8kata617dHCTsIw/OtC7ogzukiBDSjIiGh/rT+J+kaP3B
noC+plQJWNWXfvucVO8dF1zEcxAG9nnsFJz16BCY97nQ2NR5PNduWdHrfDka7cW32s/Q
PfnXkBanOkMqIyWCDGNPpxOmQVNK1SBW207uC4wwaPLxHN5aGUGlTFUvpB79BG4RvtMQ
XF+g==
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass<EMAIL_ADDRESS>header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=RcojjQoG;
spf=pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender<EMAIL_ADDRESS>Return-Path<EMAIL_ADDRESS>Received: from a27-123.smtp-out.us-west-2.amazonses.com (a27-123.smtp-out.us-west-2.amazonses.com. [<IP_ADDRESS>])
by mx.google.com with ESMTPS id a187si18130109pgc.153.2<IP_ADDRESS>.00.06
for<EMAIL_ADDRESS>(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128);
Tue, 17 Nov 2020 12:00:06 -0800 (PST)
Received-SPF: pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender) client-ip=<IP_ADDRESS>;
Authentication-Results: mx.google.com;
dkim=pass<EMAIL_ADDRESS>header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=RcojjQoG;
spf=pass (google.com: domain of<EMAIL_ADDRESS>designates <IP_ADDRESS> as permitted sender<EMAIL_ADDRESS>DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1605643206; h=Content-Type:MIME-Version:Subject:From:To:Message-ID:Date:Feedback-ID; bh=pDSuxAwD6f01uvlvZGFp9MHjjM7kgyvA4HRfKFju7JU=; b=RcojjQoGXLXQHWruqWlEN4WSSLLLHZRqYIJpzefR4bof6REAr8mQLnmyAJhlbCwp zZfl3e1nEwIRyzROrr62pYMG6+v04Y/7n2fIujW0RLz1UB/aUOe+IyaTL6DFORWTzFz PxyEFY9WZbr4ib9jW8P+C/k34OdyJd8eUTQwcCs0=
Content-Type: multipart/alternative; boundary="===============1853473996570134587=="
MIME-Version: 1.0
Subject: Amazon SES Test (Python smtplib)
From: Hurricane AI<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>Date: Tue, 17 Nov 2020 20:00:05 +0000
X-SES-Outgoing: 2020.11.17-<IP_ADDRESS>
Feedback-ID: 1.us-west-2.HTjlhEsmS1isqiioLO3PIAY3iNkR2CaMm+AkKwwrHxo=:AmazonSES
--===============1853473996570134587==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Amazon SES Test
This email was sent through the Amazon SES SMTP Interface using the Python smtplib package.
--===============1853473996570134587==
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

Universal Output
AL312020 (Iota)

          Time
          Wind (mph)
          Coordinates (Decimal Degrees)

          2020-11-18T12:00:00+00:00
          58.51
          22.30, 61.05

          2020-11-19T12:00:00+00:00
          54.52
          21.06, 58.23

          2020-11-20T12:00:00+00:00
          50.93
          19.93, 55.70

          2020-11-21T12:00:00+00:00
          47.81
          18.96, 53.49

          2020-11-22T12:00:00+00:00
          34.32
          14.74, 43.96

--===============1853473996570134587==--

The simplest and best solution is to just use an enterprise account with email, such as Google G Suite and use its smtp credentials


Add progressive JPEG support

https://discourse.gohugo.io/t/progressive-jpeg-defaults-to-baseline-after-image-processing/21432/4

Click to see Hill for issue #1

Click to see Hill for all issues

created by Async

Addressed.


Feature idea & discussion: sql integration

It would be useful to store signed certificates in a sql database. This could be used for generating revocations, as well as auditing.
Would there be any interest in this?

I spent some time thinking about this and I'm not convinced that a SQL backend is the right approach.
Generally I think the next major feature for the project should be something to enable high availability. And to enable that, the daemon should probably become stateless with an HA backend.
We could use ~any major SQL backend and achieve this goal.
However, the next problem is trying to keep it safe. For most of the installations I'm aware of the ssh-cert-authority is a root of trust in the environment. If we stick a database behind this with a simple username & password the new root of trust is the network-accessible database server and that doesn't feel like a strong authentication mechanism.
I'm also not entirely sure how practical it is to ask that for users to achieve HA they need to deploy an HA RDBMS, which isn't exactly a trivial exercise.
I don't have a great suggestion, but I think we can find a better keeper of state.

Yea, I totally get that.
basically, my current use case is to use the signing daemon to secure my infrastructure. No democratic request signing (NumberSignersRequired = -1).
I plan to use stunnel w/ a pre-shared-key to secure transportation. Future idea is to maybe use kerberos. Something w/ a one-time key that is immediately void after using. Future signed certificates can be done over SSH.
I was actually just testing this out, and it works great, albeit theres a few code paths I had to comment out to prevent having to know the "AuthorizedUsers" in advance.
My next idea was to either save each issued certificate on the filesystem, or add the record to a sqlite database as it happens. This is important to me so I can audit issued certificates.
if any of these changes sound useful, I would be interested in maybe figuring out a way they can be upstreamed without altering the fundamental behavior. No idea when I'll get them to a reasonable place hah.


Don't write a 0-length buffer in flush()

Ends up fixing some cases when the underlying writer doesn't handle a
0-length write well, and also hopefully a nice operation to skip!

This was done in https://github.com/hyperium/hyper/commit/fc5003125201b0d6cc476cd470a2070061da724e, thanks though!


Error: no writecb in Transform class

Sometimes, randomly, running gulp fails with the following exception:
$ nvm use 0.10
$ npm install
$ [...]
$ gulp
[14:20:13] Using gulpfile ~/git/getkong.org/gulpfile.js
[14:20:13] Starting 'clean'...
[14:20:13] Finished 'clean' after 38 ms
[14:20:13] Starting 'default'...
[14:20:13] Starting 'javascripts'...
[14:20:14] Starting 'images'...
[14:20:14] Starting 'fonts'...
[14:20:14] all files 34.82 kB
[14:20:14] Finished 'javascripts' after 138 ms
[14:20:14] all files 815.07 kB
[14:20:14] Finished 'fonts' after 63 ms
[14:20:14] all files 1.47 MB
[14:20:14] Finished 'images' after 150 ms
[14:20:14] Starting 'build'...
[14:20:14] Starting 'jekyll'...
[14:20:16] Configuration file: jekyll.yml
            Source: app
       Destination: ./dist/
      Generating...
                    done.
 Auto-regeneration: disabled. Use --watch to enable.

[14:20:16]
[14:20:16] Finished 'jekyll' after 2.27 s
[14:20:16] Starting 'html'...
[14:20:16] all files 1.78 MB
[14:20:16] Finished 'html' after 118 ms
[14:20:16] Starting 'styles'...
[14:20:17] Plumber found unhandled error:
 Error: no writecb in Transform class

Fixed after upgrading to node v4.1.1


Set Up a Workflow With Extended Employee Onboarding

Tutorial URL: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-3-workflow.html
Please specify the step you are referring to
Hello, on following tutorial at this specific step => Step 5: Build and deploy the sample application, if you use the new Build MTA, there's an error occuring stating this
10:59:20 (Executor) line 33: the "acceptworkplace" module does not contain the mandatory "supported-platforms" and "build-result" build configurations; see "https://sap.github.io/cloud-mta-build-tool/migration/#features-that-are-handled-differently-in-the-cloud-mta-build-tool"
10:59:20 (Executor) Error: could not build the MTA project: could not execute the "make -f Makefile_20191124095921.mta p=cf mtar= strict=true mode=" command: exit status 2
10:59:20 (Executor) line 38: the "appro
10:59:20 (MTA BUILD) The "Task for mta build" process finished with code 1
10:59:20 (MTA BUILD) Build of "sample.onboarding.mta" failed.
But if you use the old deprecated one, it's working fine.
Please be aware of it.

Thanks for bringing this up. We will improve the tutorial


Bumped ccx-rules-ocp version

Codecov Report
Patch and project coverage have no change.

Comparison is base (cefc7fd) 73.46% compared to head (c9861dd) 73.46%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #486   +/-   ##
=======================================
  Coverage   73.46%   73.46%
=======================================
  Files          11       11
  Lines         603      603
=======================================
  Hits          443      443
  Misses        135      135
  Partials       25       25

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Headless CMS page - adding H1/H2 sections

https://kfg6bckb-dev.webengine.zesty.io/solutions/headless-cms/
Please add the following (content already loaded in schema):

Remove H1 above main title and change main title to H1 (per SEO team)
Add CMS summary text as H3 right below header (style centered)
Add feature list H2 above feature list (section with orange check marks)
Change header of features list "customize it to last code bracket" to read as an H3
Add testimonials header above quote

Please also make "powerful digital solutions" H1 grey: #677788 to match homepage.

@Katiemoser can you provide picture for each item thanks

Remove H1 above main title and change main title to H1 (per SEO team) - Done

Add CMS summary text as H3 right below header (style centered)

Add feature list H2 above feature list - this field is in schema already as "feature_list_h1" (don't make an H1, sorry for the confusing schema name. we can change if need be)

Change header of features list "customize it to last code bracket" to read as an H3 (keep CSS styling)

Add testimonials header above quote - already in schema as "testimonials_h1" - please make an H2, sorry for the confusing naming

@Katiemoser
Add CMS summary text as H3 right below header (style centered)
I align it center like this

@Katiemoser I retain the left align


Circuit Viz: Display the original config of components using nested circuit

Checklist

[x] Tested in playground or other setup

Summary by CodeRabbit
Release Notes
Refactor:

Introduced a new function NewNestedCircuitAndOptions for creating nested circuits and their options, replacing the previous ParseNestedCircuit function.
Refactored various component parsing functions to return both a runtime.ConfiguredComponent and a policylangv1.NestedCircuit.
Removed the name and short_description fields from the NestedCircuit message in the protobuf file.

New Feature:

Added support for arbitrary configuration of nested circuit components using google/protobuf/any.proto.
Included original configuration of components in nested circuits for better observability.

Chore:

Updated documentation to reflect changes in the nested circuit component configuration.

🎉 Changes abound, code refactored round,
Nested circuits now with config found.
No more name or short description,
Just pure functionality in this rendition! 🚀


feature: Always freeze by default

BREAKING CHANGE: always freeze by default, even in production mode. Use setAutoFreeze(process.env.NODE_ENV !== 'production') for the old behavior. See https://github.com/immerjs/immer/issues/687#issuecomment-728881754 for the rationale. Fixes #649, #681, #687

:tada: This PR is included in version 8.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add ELMI 2022 workshops

Adding ELMI 2022 into events.
cc @jburel

staged at https://snoopycrimecop.github.io/www.openmicroscopy.org/events/workshops-elmi-june-2022.html


version bump to v0.2.2

You forget to bump in sources :)

Good catch! Thank you for this.
LGTM.

I am the one who should be thankful for creating such a great software.

:) thank you for the kind words!


cheat: "could not locate config file"

Cheat is now erroring out with: "could not locate config file"
Initial search points to https://github.com/cheat/cheat/issues/501. Apparently we now have to generate a cheat config file:
cheat --init > ~/.dotfiles/cheat/conf.yml

Initial experiments show that the file is generated, but it's unclear where the community cheats are now located.
As of now, looks like there was a major breaking change to cheat, without warning. Shame :/

Side note, when this is fixed, add https://github.com/cheat/cheat/blob/master/scripts/fzf.bash

Community repo is at https://github.com/cheat/cheatsheets.git
Looks like v3 is a golang rewrite (yay!) with some Nifty new features.

look into better syntax tags, update my personal cheats


fix page search queries

This contains the parts of divio/django-cms#5032 and divio/django-cms#5048 that don't cause backwards incompatibility, but do fix bugs related to working around the problem (so you can manually set related_name on your plugins).

Page.objects.search() dynamically queries all the plugins that define
search_fields. The old code did not handle cases where the related_name
of cmsplugin_ptr was changed, omitted or did not match its
related_query_name.
This changes makes the method ignore any plugins that have removed
related_name and handles different related_query_names correctly.

testsuite is failing on Django 1.6 and 1.7. It seems the example models I added for the tests don't work like this.

test models fixed, commits squashed, tests pass.


Not able to save a single tag with multiple words in it

When you use Tagging feature for Pages (as in http://wagtail.readthedocs.org/en/v0.8.3/core_components/pages/model_recipes.html#tagging) you can't save a page with only a single tag containing multiple words in it.
Steps to reproduce:

Start editing a page in Wagtail admin.
Ensure tags field is empty.
Start typing a single tag with a double quote and enter multiple words, then close it with double quote.
Save the page.
Edit the page again—you will see multiple tags instead a one with multiple words.

The problem is with tag-it.js which doesn't put a comma after a single tag (neither double quotes it by default) when POSTing to Wagtail so django-taggit treats it as multiple tags.
Fix is coming soon with a pull request from Tivix team.

Seems that this is broken again.
I wonder if you should set allowSpaces to true in tagit plugin config?

To not to hotpatch existing version I've ended up with this class:
class AdminMultiTagWidget(widgets.AdminTagWidget):
    def render_js_init(self, id_, name, value):
        return "$('#' + {0}).tagit({{autocomplete: {{source: {1}}}, allowSpaces: true}});".format(
            json.dumps(id_),
            json.dumps(reverse('wagtailadmin_tag_autocomplete')))

And it nailed it.

@dchaplinsky This is working for me on the current version when I follow the exact steps given by @sbast. Are you doing the same, or something different?
Personally I'm against setting allowSpaces: true - it breaks the "classic" tagging behaviour of being able to enter lots of single-word tags quickly as a space-separated list.

Re-closing, as I can't reproduce the problem as stated on the current version - please reopen if you have more info on how to reproduce.


AsyncLookupEditor and Cascade

Dear @volkanceylan,
there is a way to use both the AsyncLookupEditor and the Cascade functionality?
I really like the performance of a deferred loading of the lookups, but I miss the cascade funcionality...there is a way to emulate that behaviour (like the getItems() override in the dialog I mean).
Thank you very much
Bye

Currently i am not even sure if AsyncLookupEditor works correctly. I tried once to make everything, including dialogs etc. async, but it caused too much backward compability problems so gave up.

Copy that!
Thank you very much!
Bye

@marcobisio I think the problem is the LookupEditorBase.CascadeFrom setter which is calling the sync version of UpdateItems method instead of checking if the widget is async. So one solution is to override the CascadeFrom setter and to check for other similar issues.
I've taken a quick fix instead and solved the issue by overriding the UpdateItems() method because it will route all the wrong calls of the sync version to the async one.
        protected override void UpdateItems()
        {
            if (IsAsyncWidget())
            {
                UpdateItemsAsync();
                return;
            }

            base.UpdateItems();
        }

Thank you very much @florin-nitulescu!
I'll try this way :-)
Bye


Generator: Update SDK /services/mongodbflex

Generated from GitHub run<PHONE_NUMBER>0

new PR is available https://github.com/stackitcloud/stackit-sdk-go/pull/770


Interaction model build fails

Following your setup with ask-cli, I get to ask deploy and get the error below.  Any idea what I am missing?  Thanks!
Uploading the entire skill package and building the models. Normally it takes a few minutes...
  ✖ Retrieving skill id...
    → [Retrieving skill id...] task stopped polling for status.
  ✔ Importing skill using import id: amzn1.ask-package.import.xxxxxxxxxxxxxx
  ✖ [Interaction Model] build has failed.
    → [Interaction Model] build has failed.
[Warn]: [Interaction Model] build has failed.
[Error]: {
  "skill": {
    "resources": [
      {
        "action": "CREATE",
        "errors": [
          {
            "message": "String instance with value \"ask-custom-how-to-default\" at property path \"$.manifest.apis.custom.endpoint.uri\" does not match the regular expression: \"^(arn|https://)\"."
          }
        ],
        "name": "Manifest",
        "status": "FAILED"
      }
    ]
  },
  "status": "FAILED"
}

You need to replace ask-custom-how-to-default in skill-package/skill.json with your Lambda arn.


UHF-10944: Add sentry logger back

UHF-10944

Raven README.md asks to disable message_placeholder and filter_backtrace processors. However, these cause Monolog Lineformatter::format to consume excessive memory when processing log messages with long stack traces.
Adding these back don't seem to cause any problems, and the processors seem to drastically reduce logger memory usage.
Other PRs

https://github.com/City-of-Helsinki/drupal-module-helfi-api-base/pull/186

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.96%. Comparing base (b64e178) to head (88dd5c2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #187      +/-   ##
============================================
- Coverage     89.08%   88.96%   -0.12%
  Complexity      522      522
============================================
  Files            77       77
  Lines          2079     2085       +6
============================================
+ Hits           1852     1855       +3
- Misses          227      230       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: invalidate counter visual (#338)

Keep the same implementation as CommitRefsPresenter to avoid displaying the number of the previous DataContext

CommitRefsPresenter depends on DataContext to draw contents. But CounterPresenter only depends on its own property CountProperty to draw contents.
static CounterPresenter()
{
    AffectsMeasure<CounterPresenter>(
        FontSizeProperty,
        FontFamilyProperty,
        ForegroundProperty,
        CountProperty);

    AffectsRender<CounterPresenter>(
        ForegroundProperty,
        BackgroundProperty,
        CountProperty);
}

The issue #338 still exists about this control?

The issue #338 still exists about this control?

The current situation is that after switching repo, the number of the previous repo may be displayed instead of 0. After making this change, I cannot reproduce the problem here.

CommitRefsPresenter depends on DataContext to draw contents. But CounterPresenter only depends on its own property CountProperty to draw contents.
static CounterPresenter()
{
    AffectsMeasure<CounterPresenter>(
        FontSizeProperty,
        FontFamilyProperty,
        ForegroundProperty,
        CountProperty);

    AffectsRender<CounterPresenter>(
        ForegroundProperty,
        BackgroundProperty,
        CountProperty);
}

It seems that OnDataContextChanged can be removed.

Since you have added the InvalidateVisual in the end of MeasureOverride, I suggest you to remove the CountProperty from AffectsRender call.

Confirmed that AffectsRender can be all removed.


[BUG] no term for Sex = "Other" in docs

Is there an existing issue for this?

[ ] I have searched the existing issues

Expected Behavior
BIDS allows "Other" as a value for Sex. We're using SNOMED for "Male" and "Female". I want a term for "other"
Current Behavior
Docs don't say anything. Snomed doesn't have a term for "Other". There is "Indeterminate Sex"<PHONE_NUMBER>0036106), but I find that difficult as a term. The definition is clearly more targeted towards describing observable findings in a clinical context.
i.e. here are several synonymous terms in SNOMED:
32570681000036106 | Indeterminate sex (finding) |
  en   Indeterminate sex (finding)
  en   Indeterminate sex
  en   Outer genital organs are not visually male or female.

That's likely not what's meant by "Other" in 99% of datasets.
I see two solutions:

drop SNOMED as the ontology of choice for "Sex"
drop "Sex" as the variable and move to "Gender" to clarify that we are encoding what the participant answers to the question.
use the above SNOMED term internally and use the label of "indeterminate" for now, until we find a better solution

Error message
No response
Environment
No response
How to reproduce
No response
Anything else?
No response

@alyssadai since you did the work to align terms across the tools:

any repo that's better suited for this issue?
do you have any thoughts on this?

I think this is probably the best repo for this issue.
Aha, I remember seeing that SNOMED term used in your query for the one-off OpenNeuro annotation for "Other" sex. Was wondering what that actually was.
Agree that the definition of "Indeterminate sex" doesn't sound right for our purposes. From my understanding we want an option to represent "not male and not female".
I don't think I have a great idea regarding this unfortunately, but here are my thoughts on your suggestions

drop SNOMED as the ontology of choice for "Sex"

I'would be in favour of this only if there is another ontology that includes "Other sex" or some other term representing "not exclusively male or female"...which may be difficult to find.

drop "Sex" as the variable and move to "Gender" to clarify that we are encoding what the participant answers to the question

I don't think this is a good idea, because 1) a question that asks about sex can't be assumed to be about gender (even if a participant is supplying the answer), especially if "male"/"female" are the primary options 2) I don't think we can guarantee that all values for sex across different datasets are obtained directly from the user, and not taken from medical intake forms/records (which further lowers the likelihood of it being about gender)

use the above SNOMED term internally and use the label of "indeterminate" for now, until we find a better solution

Hrm, yeah. It's not ideal but may be a fair option for now. I wonder if this might also be a use case for a custom "nb:Other" term, lol.
Just to double check, "other" sex would also be distinct from "missing" (unknown) sex, right?


Spyder crashes on Mac 10.11.2

Description of your problem
What steps will reproduce the problem?

Spyder is installed through MacPorts

What is the expected output? What do you see instead?
Spyder is crashing when opening
Please provide any additional information below
Message from command line :
2016-03-03 10:50:44.125 Python[83875:155440741] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 2331, in main
mainwindow = run_spyder(app, options, args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 2215, in run_spyder
main.setup()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 734, in setup
message=_("Spyder Internal Console\n\n"
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/plugins/console.py", line 74, in init
self.find_widget.set_editor(self.shell)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/widgets/findreplace.py", line 260, in set_editor
from spyderlib.qt.QtWebKit import QWebView
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/qt/QtWebKit.py", line 10, in
from PyQt4.QtWebKit import *  # analysis:ignore
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtWebKit.so, 2): Symbol not found: _SSLv2_client_method
Referenced from: /opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
Expected in: /opt/local/lib/libssl.1.0.0.dylib
in /opt/local/libexec/qt4/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
Versions and main components

Spyder Version: 2.3.8
Python Version: 2.7.11
Operating system: Mac El Capitan 10.11.2

This is problem with how Qt4 was compiled in MacPorts, and not with Spyder itself. I say it because of this part in your error message:

ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyQt4/QtWebKit.so, 2): Symbol not found: _SSLv2_client_method

So please open an issue in the MacPorts issue tracker instead :-)


Yaml cheatsheet

Hi @Suryansh1720001  ,
I'd like to add Yaml cheatsheet to your  repository so please assign me this issue under Hactoberfest.
Thank you.

Hello @GitBatra
Go for it. And go through the readme and contributing file first before sending the pull request.
( Also please keep this in mind - don't send any Plagiarized content. )
Thank you


Rotate bar value uvchart

How can i rotate the values of bar chart in uvchart?
i´d like to values show like this:

Not sure what uvchart is but sounds like you have the wrong repo.


Error: invalid_client

I created a new OAuth 2.0 client ID, selected web application, and set the Authorized JavaScript origins to http://localhost:3000
I then copied the newly created OAuth 2.0 client ID into the placeholder {YOUR CLIENT ID} as instructed, but when I click the google sign-in button I get the following error:

Any suggestions? Should I be using an API key also?

It looks like you still have the curly braces in the client ID which is causing the problem. Is there a way I can make it more clear that they are part of the placeholder and should be removed?

It's working now, thanks for the quick response! You could remove the curly braces, but I just should have realized they don't belong.


Final Capstone Project. Book car

With the app, you can book an available car for one day or more. To book a car you must log in or sign up and there are two simple validations for booking a car, the start date cannot be less than the end date, and all the past days are disabled so that the user cannot choose them. There is also an admin panel you can see admin's credentials in the seed and login to add cars, types of car, and manufacturer.
What the app can do currently:

log in and sign up user
check if the user logged in
display available cars
display details of a car
book a car
upload logo of the manufacturer
upload image of the car
If you log in as admin
add manufacturer
add category
add car
What it cannot:
edit details of car/manufacturer/category/user
display bookings
proper validations for booking
display the error messages

Also, there is a problem with the deployment of API. Since I used Active Storage for image uploads I should use the cloud. But I wasn't able to do so since I don't have any card to indicate, all of the cloud services ask for the card details even if they provide free usage for some time. However, I still deployed it but you cannot add manufacturers and cars since both of them have an image to be uploaded. You can only add a category and see the signed-up users on the live version but if you run locally all the can-do functionalities listed above will work.
The link for the backend repo: car-rental-api
Live link backend: car-rental-api
Front end live link: car-rental-client
Thank you for your review and understanding.

Hello reviewers!
Please run the app locally. I'm facing some hardware issues and I wasn't able to deploy the latest changes both for backend and frontend.
Thank you for understanding and for your review.