[action][git_submodule_update] documentation improvements

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

git_submodule_update action documentation was slightly off/incorrect 😇

Description

Updated the description
Updated the ConfigItem(s), make them consistent, fixed alignment and added verify_block.
Added example_code

Testing Steps

Nothing changed in functionality.
All existing unit tests are passing i.e in git_submodule_update_spec.rb

One match unit-test failed which is completely unrelated 😇


3D items on glasses darking out

I'm trying to display different icons on the peripheral glasses.
My Code:
p = peripheral.wrap("back")
p.clear()
a = p.addIcon(0,0,"minecraft:dirt")
b = p.addIcon(20,0,"minecraft:apple")
c = p.addIcon(40,0,"minecraft:netherrack")
d = p.addIcon(60,0,"minecraft:dirt")
p.sync()
http://imgur.com/DkK7E93
All 3D items which were created after the 2D items dark out...
CC 1.7.3 and the newest Versions of OpenMods installed (Aug 02)

oops... just noticed I posted the issue on the wrong project... <moved to Openperipheral-Addons #76>


Hint that creating a region from an empty plane is unlikely

This is part of a series of commits authored by @maj160 to improve performance of rav1e.
This commit results in an overall performance improvement of <1% at speed 2 10-bit.

I guess another obvious thing to do is find out where empty planes are even used...

I guess another obvious thing to do is find out where empty planes are even used...

I think empty planes are only used in api::lookahead::estimate_intra_costs to create a cheap rec frame that gets thrown away.
Root cause seems to be that motion estimation takes a TileStateMut, which itself contains a non-optional rec: TileMut.
Solution is probably to decouple the read-only stuff that ME uses (mostly just tile bounds and hres/qres inputs?) from the mutable stuff (MEStats, Reconstructed Frame).
Cursory glance suggested it would be a lot of work to unpick and refactor, so I haven't really touched it.

Codecov Report
Base: 86.77% // Head: 86.80% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (86c61a6) compared to base (0e2c74c).
Patch coverage: 63.88% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3094      +/-   ##
==========================================
+ Coverage   86.77%   86.80%   +0.02%
==========================================
  Files          83       83
  Lines       33105    33104       -1
==========================================
+ Hits        28727    28736       +9
+ Misses       4378     4368      -10

Impacted Files
Coverage Δ

src/tiling/plane_region.rs
88.47% <63.88%> (+0.41%)
:arrow_up:

src/context/mod.rs
91.57% <0.00%> (-1.06%)
:arrow_down:

src/asm/x86/predict.rs
43.29% <0.00%> (-0.39%)
:arrow_down:

src/encoder.rs
86.98% <0.00%> (-0.07%)
:arrow_down:

src/deblock.rs
96.44% <0.00%> (+0.07%)
:arrow_up:

src/rdo.rs
85.62% <0.00%> (+0.50%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

OK. I think having empty planes is a useful thing to have around (also for 4:0:0 etc). It still might be nice to disallow PlaneRegions from them (panic paths will naturally be cold), but that still needs a bit of work too.


bug: I can't inject $element from controller (using ui-router)

Type: bug
Platform: mobile webview
Simple code with injecting $element based on Controller.
angular.module('xyz')
.controller('ArticlesCtrl', function ($element) {
console.log($element);
});

But here cause error:
Error: [$injector:unpr] Unknown provider: $elementProvider <- $element <- ArticlesCtrl
http://errors.angularjs.org/1.3.13/$injector/unpr?p0=%24elementProvider%20%3C-%20%24element%20%3C-%20ArticlesCtrl
    at REGEX_STRING_REGEXP (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:8890:12)
    at file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:12824:19
    at Object.getService [as get] (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:12971:39)
    at file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:12829:45
    at getService (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:12971:39)
    at invoke (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:13003:13)
    at Object.instantiate (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:13020:27)
    at file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:17289:28
    at IonicModule.controller.self.appendViewElement (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:48436:24)
    at Object.IonicModule.factory.ionicViewSwitcher.create.switcher.render (file:///android_asset/www/lib/ionic/release/js/ionic.bundle.js:46630:41)

Greetings @machei!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Codepen or plunker example?

As far as I can tell, you should only inject $element into directive controllers.
Few relevant issues:

https://github.com/angular-ui/ui-router/issues/1657
https://github.com/angular-ui/ui-router/issues/71
https://github.com/angular/angular.js/issues/2289

@mhartington http://codepen.io/machei/pen/jbreoX

Greetings @machei!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.

The bug is still there. The old example is still valid:  http://codepen.io/machei/pen/jbreoX

I'm experiencing this issue as well


s/endpointAuthentication/checkEndpointIdentification/

Deprecates the old name, so should be source compatible.
Fixes #927.

#817 claims another victim

I'm glad it's having its dying gasp.


Unit tests?

The AI's result is unpredictable, so it's a bit tricky to build unit tests, but what do you think about adding some, based on very basic words to test the most important aspects (preserving pluralization, variables, capitalization)? It could be similar to the examples I attached in my PR.

This is what I'm using personally for testing purposes. I hope someone can implement unit tests.
<?php

return [
    'updated_at_short' => 'Updated at :time',

    // 문장으로 번역하면 안됨
    'box_title_read_in_other_languages' => 'Read in other languages which are translated by AI',

    // 기본적인 단수/복수형
    'apple' => 'There is one apple|There are many apples',

    // 복잡한 복수형 규칙
    'orange' => '{0} There are no oranges|{1} There is one orange|[2,4] There are a few oranges|[5,*] There are many oranges',

    // 동사 형태 (원형, 진행형, 과거분사)
    'verb_forms' => [
        'infinitive' => 'to run',
        'present_participle' => 'running',
        'past_participle' => 'run',
    ],

    // UI 요소 (버튼, 레이블 등)
    'ui' => [
        'btn_submit' => 'Submit',
        'btn_cancel' => 'Cancel',
        'label_username' => 'Username:',
        'placeholder_password' => 'Enter your password',
    ],

    // 변수를 포함한 복수형
    'minute_ago' => '{1} :value minute ago|[2,*] :value minutes ago',

    // 내장 :count 플레이스홀더 사용
    'stars' => '{0} There are no stars|{1} There is one star|[2,*] There are :count stars',

    // 복잡한 문장 구조 (현재형과 과거형)
    'welcome_message' => [
        'present' => 'Welcome to our application, :name! You have :count unread message|Welcome to our application, :name! You have :count unread messages',
        'past' => 'You were welcomed to our application, :name! You had :count unread message|You were welcomed to our application, :name! You had :count unread messages',
    ],

    // HTML 태그를 포함한 번역
    'bold_text' => 'This is bold text with a {0} variable|This is bold text with :count variables',

    // 특수 문자와 이스케이프 처리
    'special_chars' => "Don't forget to use the \"pipe\" character: |",

    // 중첩된 배열 구조 (다양한 형태 포함)
    'nested' => [
        'level1' => [
            'level2' => 'This is a nested translation',
            'plural' => 'One item|Many items',
            'verb' => [
                'infinitive' => 'to nest',
                'present' => 'nests',
                'past' => 'nested',
            ],
        ],
    ],

    // 긴 텍스트 번역 (다양한 시제 포함)
    'long_text' => [
        'present' => "This is a very long text that spans
            multiple lines. It's important to test
            how the translator handles this kind of content.

            New paragraph here.",
        'past' => "This was a very long text that spanned
            multiple lines. It was important to test
            how the translator handled this kind of content.

            New paragraph was here.",
    ],

    // 복잡한 복수형과 변수를 결합
    'complex_plural' => '{0} No results of type :type|{1} One result of type :type|[2,*] :count results of type :type',

    // 번역하지 않아야 할 기술 용어
    'tech_terms' => 'Use the `artisan` command to manage your Laravel application',

    // 컨텍스트가 필요한 번역
    'bank' => 'I went to the bank|The river bank was muddy',

    // 지역화가 필요한 날짜 표현
    'season' => "It's :season now",

    // 관용구 (직역하면 안 되는 표현)
    'idioms' => [
        'raining_cats_dogs' => "It's raining cats and dogs",
        'piece_of_cake' => 'The task was a piece of cake',
    ],

    // 약어와 두문자어
    'abbreviations' => [
        'asap' => 'Please complete this ASAP',
        'fyi' => 'FYI: The meeting is at 3 PM',
    ],

    'person_count_cap' => '1 Person|:count People',
    'person_count' => '1 person|:count people',
    'ball_count' => ':count ball|:count balls',

    // Basic singular and plural
    'book_simple' => 'There is one book|There are :count books',

    // Complex pluralization with specific numbers
    'book_complex' => '{0} There are no books|{1} There is one book|{2} There are two books|[3,10] There are :count books|[11,*] There are :count books',

    // Mix of singular, dual and plural in one sentence
    'book_distribution' => 'I have one book, Ahmed has two books, and the library has :count books',
];


Upstream "portable" feature?

Our portability library uses "portable" branch here that sports "portable" feature in HAL and the backends. The number of diffrences is rather small:
https://github.com/kvark/gfx/compare/xcb...gfx-rs:portable
It would be great to have those changes upstreamed. I'm even thinking that we don't need a separate "portable" feature now (that we know we only need a few changes), and just have those super powers (cloning QueueFamily anyone?) available to all, some with unsafe qualifier.
Any objections? @msiglreith

As it turned out, the only thing missing in current master for the portability demands is passing QueueFamily by reference, which has just been merged in #1811. Thus, portable branch/feature is going out.


When Fragment rotates, keyboard hides

Hi!
I'm using SearchView inside my Fragment.
When I open(true) my SearchView, the keyboard is showing.
When I rotate my phone, the SearchView is still shown but the keyboard has gone.
Even using searchView.onSaveInstanceState() and searchView.onRestoreInstanceState(...).
(When restoring the view, searchView.isSearchOpen() is false).
Here is my code:
saving:
outState.putParcelable(EXTRA_KEY_SEARCH_VIEW, searchView.onSaveInstanceState());

restoring:
Parcelable parcelable = savedInstanceState.getParcelable(EXTRA_KEY_SEARCH_VIEW);
searchView.onRestoreInstanceState(parcelable);
if (searchView.isSearchOpen()) {
    searchView.showKeyboard();// not called
}

Thanks!
Denis

I will check it ASAP.

Hi!
I'm using right now the 3.5 version but the keyboard still hides when rotating the screen.

it will be fixed in next version. I hope. I working on it.

Ok thx :D


bots: Add relative path support to virtual_fs.py

For the virtual file system bot, we only currently support absolute paths.
We could extend the bot as follows:

each user has a current working directory
users can say fs cd <foo> or fs pwd
all commands that use paths would support relative paths, computed similar to real Unix FS implementations (we'd possibly do ".." in a separate commit, though)

Working on this. :)

This was completed a while ago.  Thanks, @derAnfaenger!  We should probably do ".." eventually.


Update the prototype kit to use GOVUK Frontend v3.10.1

Closes https://github.com/alphagov/govuk-prototype-kit/issues/969

Don't worry about it in this PR as it'll just push it to the back of the queue, but when we come to do the release the changelog also needs the ## Fixes heading adding.


Consider adding an annotation to switch to entity api

The current read function used for fetching data in chaise switches between entity and attributegroup. Given that the implementation details are hidden from data modelers, we might want to consider adding a way to force the entity API.
The following is why we're using attributegroup:

If the table has dynamic ACLs, we have to use this API to use trs/tcrs APIs to get the proper per-row permissions.
If we need to fetch data for all-outbound foreign keys that are either visible, part of wait-for, or defined in the fkeys property of source-definitions annotation.

So if,

The static users ACLs are known;
There aren't any visible all-outbounds; and
fkeys in source-definitions is set to false.

Then we will switch to entity.
In my opinion, if we want to add a new annotation, we would have to honor it even if there are dynamic ACLs or visible all-outbounds. This way data modelers only need to set one annotation without worrying about other things. Although, this can cause degraded UX since we cannot support dynamic ACL or show data for all-outbounds anymore and it might be even more confusing.
P.S. This requires more thought. I created this issue to document the conversation in slack.

The read function has changed since the creation of this issue. This issue also doesn't have any extra useful information, so I'm going to close it.
We should create a new issue with more information if this is needed.


DevOps Dojo: ROS Node Configuration (Phase 2)

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
DevOps: Ros Node Configuration will address the topic of how ROS nodes are configured. Guidelines, documentation and changes to configuration files will be made, based on best-practices from cloud-native and software defined development methodologies.
Phase 1 - Motivation

https://github.com/autowarefoundation/autoware.universe/issues/2631

Phase 2 - Definition

https://github.com/autowarefoundation/autoware.universe/issues/2636

Phase 3 - Execution

https://github.com/autowarefoundation/autoware.universe/issues/2651

Phase 4 - Integration

https://github.com/autowarefoundation/autoware.universe/issues/2652

Purpose
Phase 2 - Definition

define structure and milestone(s)
identify gaps in current software and developers’ skills
produce actionable items
consensus on solution

Possible approaches
From https://12factor.net/config:

“An app’s config is everything that is likely to vary between deploys (staging, production, developer environments, etc).”

We want to be able to configure any parameter so that the ROS node can be used in different deploys.
Use following ROS nodes to use for evaluation of changes to be made:

lidar_apollo_segmentation_tvm_nodes
...

Autoware ROS Packages
See Autoware.Universe ROS Packages for an extensive list of all ROS packages in Autoware.
ROS Parameters
Parameters are declared using

declare_parameter(...)

Any parameter which has been declared must be listed in the config file to create full visibility for the user. This removes the need to have access to the source code or reading the functions return value.
If a ROS node has multiple backends, e.g., CPU, GPU, DSP, etc, the selection of backend should be done in the configuration file.
Definition of done
Once consensus on how to structure ROS node configurations has been achieved and actionable items produces.

We want to avoid using the default values in the declare_parameter(...) function. This is to ensure that the ROS node configuration file has all the necessary parameters. Is there a way to throw an exception if declare_parameter(...) expects a parameter not existing in the ROS node configuration file?

Two options:

Rule that any configurable parameter exists in the yaml file
Throw an exception if a parameter is not in the yaml file

We don't want to create unnecessary work.

@mitsudome-r, after discussion with @ambroise-arm, we propose that we go with option number 2. That is:

Throw an exception if a parameter is not in the parameter configuration yaml file

This is because declare_parameter(...) states the following:

That is, if default_value is not set and the parameter configuration file does not provide the parameter or the right format for the parameter, an exception will be thrown. This then solves our issue of matching the expected parameters provided and the actual parameters provided.
This gives us a single source of truth for parameter configuration. Can we agree on

not assigning default_value a value
parameter configuration yaml file is comprehensive

I.e., contains all declare_parameter() values

?

If we agree upon having a singe source of truth in the parameter configuration yaml file, we should then decide on a certain format for the yaml file so that it can be parsed and interpreted to an .md file to be used with the documentation.
For example, in ndt_scan_matcher there is a table with Core Parameters. Let's assume the parameter configuration yaml file ndt_scan_matcher.param.yaml was parsed and interpreted as an .md file. We would then have a single source for both ROS node configuration and documentation.
Can we agree upon

using parameter configuration yaml file for both

configuring the ROS node
used in ROS node documentation

?

To give an idea of the yaml to .md, see yaml-to-table/, (I'm not suggesting we use this).

I like the idea of having unique and hierarchical names for each and every parameter in the system. For example, I think the dot notation autoware.module.node.parent.variable can be adopted as other similar applications. Further, it is a good idea to specify certain other attributes next to the implementation.

autoware.module.node.parent.variable.value // Current value of the variable
autoware.module.node.parent.variable.default_value // Default value of the variable
autoware.module.node.parent.variable.type  // Type of the variable -- e.g. bool, number, string, enum, custom
autoware.module.node.parent.variable.range // List of allowed values (if the type is enum)
autoware.module.node.parent.variable.range.min // Minimum allowed value (if the type is number)
autoware.module.node.parent.variable.range.max // Maximum allowed value (if the type is number)

Not sure if ROS gives that flexibility to define parameters in such a hierarchical way but it would be good to explore possibilities under this Dojo. Definitely, it would improve automated documentation generation using any templating engine and speed up overall development.

Autoware.Universe architecture w. nodes: https://autowarefoundation.github.io/autoware-documentation/main/design/autoware-architecture/node-diagram/overall-node-diagram-autoware-universe.drawio.svg

In the documentation, list all possible parameter values as defined by Class Parameter Value. See [Enum ParameterType](Enum ParameterType.
Question: is this list of parameter extensive?

An alternative idea is to use https://github.com/PickNikRobotics/generate_parameter_library which

Pro: good solution which also checks that
Cons: we create a dependency on a 3rd party repo

Action-point: create an example for e.g., https://github.com/autowarefoundation/autoware.universe/blob/main/localization/stop_filter/src/stop_filter.cpp to show how PickNikRobotic's generate parameter library could be used.
Create discussion here: https://github.com/orgs/autowarefoundation/discussions/categories/design
See: https://github.com/orgs/autowarefoundation/discussions/3171#discussioncomment-4597112

@kasperornmeck
It looks like the contribution guide was updated for parameter in https://github.com/autowarefoundation/autoware-documentation/pull/271/files.
It now includes the statement:
It is recommended not to set default values when declaring ROS parameters to avoid unintended behaviors due to accidental use of default values.
Instead, set parameters from configuration files named `*.param.yaml`.

For the future packages that will be added to autoware, the above rule should be applied.
For packages that is currently using default values for parameters, we can fix them through this dojo activity.

@mitsudome-r
This is a good start, we're currently evaluating the PickNikRobotics generate parameter library, see https://github.com/orgs/autowarefoundation/discussions/3260.
This would remove the use of declare_parameter(...) completely.

Update: https://github.com/orgs/autowarefoundation/discussions/3260#discussioncomment-4964594

Find final proposal here: https://github.com/orgs/autowarefoundation/discussions/3288

Find final2 proposal here: https://github.com/orgs/autowarefoundation/discussions/3325

Find final3 proposal here: https://github.com/orgs/autowarefoundation/discussions/3371


Create swap algorithm for compass using curve

Closing as delivered.

https://www.notion.so/volumefi/EPIC-07-16-24-How-to-get-dex-and-payload-for-Compass-update-0bdf7574163340de8720ca3a6738b044


About deformable detr

RuntimeError: "ms_deform_attn_forward_cuda" not implemented for 'Half'
Does deformable detr not support fp16?

We do not support this feature at the moment

We do not support this feature at the moment

Actually, we can use the branch of pure PyTorch implementation for FP16 feature.

Any update on this?

Can I implement 'ms_deform_attn_forward_cuda' part to fp32 alone? And how to do this?

Any update on this?

Can I implement 'ms_deform_attn_forward_cuda' part to fp32 alone? And how to do this?

You can force the forward of deformable DETR to be fp32 by adding @force_fp32() on top of the forward definition.

Can I implement 'ms_deform_attn_forward_cuda' part to fp32 alone? And how to do this?

You can force the forward of deformable DETR to be fp32 by adding @force_fp32() on top of the forward definition.

hi,I met the same problem now and I'm noob in mmdet. Can you tell me which file did you change? I tried to change mask2former_head.py in models/densehead but it didn't works. Thank you!

Can I implement 'ms_deform_attn_forward_cuda' part to fp32 alone? And how to do this?

You can force the forward of deformable DETR to be fp32 by adding @force_fp32() on top of the forward definition.

hi,I met the same problem now and I'm noob in mmdet. Can you tell me which file did you change? I tried to change mask2former_head.py in models/densehead but it didn't works. Thank you!

hi, I find that It doesn't work. I suggest to use PyTorch implementation. '@force_fp32' maybe only force input param of function to be fp32. Dose Someone else have a better solution?

Recast it to float32 by using https://pytorch.org/docs/stable/notes/amp_examples.html#autocast-and-custom-autograd-functions. Not optimal solution but atleast it works.
i.e adding a decorator to the forward and backward method.
class MultiScaleDeformableAttnFunction(Function):

    @staticmethod
    @torch.cuda.amp.custom_fwd(cast_inputs=torch.float32)
    def forward(ctx, value: torch.Tensor, value_spatial_shapes: torch.Tensor,
                value_level_start_index: torch.Tensor,
                sampling_locations: torch.Tensor,
                attention_weights: torch.Tensor,
                im2col_step: torch.Tensor) -> torch.Tensor:
        """GPU version of multi-scale deformable attention.

        Args:
            value (torch.Tensor): The value has shape
                (bs, num_keys, mum_heads, embed_dims//num_heads)
            value_spatial_shapes (torch.Tensor): Spatial shape of
                each feature map, has shape (num_levels, 2),
                last dimension 2 represent (h, w)
            sampling_locations (torch.Tensor): The location of sampling points,
                has shape
                (bs ,num_queries, num_heads, num_levels, num_points, 2),
                the last dimension 2 represent (x, y).
            attention_weights (torch.Tensor): The weight of sampling points
                used when calculate the attention, has shape
                (bs ,num_queries, num_heads, num_levels, num_points),
            im2col_step (torch.Tensor): The step used in image to column.

        Returns:
            torch.Tensor: has shape (bs, num_queries, embed_dims)
        """

        ctx.im2col_step = im2col_step
        output = ext_module.ms_deform_attn_forward(
            value,
            value_spatial_shapes,
            value_level_start_index,
            sampling_locations,
            attention_weights,
            im2col_step=ctx.im2col_step)
        ctx.save_for_backward(value, value_spatial_shapes,
                              value_level_start_index, sampling_locations,
                              attention_weights)
        return output

    @staticmethod
    @once_differentiable
    @torch.cuda.amp.custom_bwd
    def backward(ctx, grad_output: torch.Tensor) -> tuple:
        """GPU version of backward function.

        Args:
            grad_output (torch.Tensor): Gradient of output tensor of forward.

        Returns:
            tuple[Tensor]: Gradient of input tensors in forward.
        """
        value, value_spatial_shapes, value_level_start_index,\
            sampling_locations, attention_weights = ctx.saved_tensors
        grad_value = torch.zeros_like(value)
        grad_sampling_loc = torch.zeros_like(sampling_locations)
        grad_attn_weight = torch.zeros_like(attention_weights)

        ext_module.ms_deform_attn_backward(
            value,
            value_spatial_shapes,
            value_level_start_index,
            sampling_locations,
            attention_weights,
            grad_output.contiguous(),
            grad_value,
            grad_sampling_loc,
            grad_attn_weight,
            im2col_step=ctx.im2col_step)

        return grad_value, None, None, \
            grad_sampling_loc, grad_attn_weight, None


Support SSR without error

The question is, can we tell if it's a SSR only or a rehydration...? If we could, then handling all three situations will work great. Otherwise, we may have some issues. I'm not sure if there's a solid way to check the difference, especially if people use this component without StencilJS. Requiring a property every time may be a pain for people doing SSR. Possibly a global setting could work?


update-regex

fix issues
https://github.com/Azure/azure-sdk-for-python/issues/25143
and
https://github.com/Azure/azure-sdk-for-python/issues/31916

@lmazuel @msyyc I have updated by your comments, please re-review. Thanks a lot.

@danieljurek Could you help merge the fix PR? Thanks!

Serice level overview pages are updated nightly and so these files will have merge conflicts. The automation which updates these runs at ~4pm Redmond time. Fix these merge conflicts and I can have a look again and merge the next morning.

updated to https://github.com/MicrosoftDocs/azure-docs-sdk-python/pull/1818


[SPARK-29531][SQL][TEST]refine ThriftServerQueryTestSuite.blackList to reuse black list in SQLQueryTestSuite

What changes were proposed in this pull request?
This pr refine the code in ThriftServerQueryTestSuite.blackList to reuse the black list of SQLQueryTestSuite instead of duplicating all test cases from SQLQueryTestSuite.blackList.
Why are the changes needed?
To reduce code duplication.
Does this PR introduce any user-facing change?
No
How was this patch tested?
N/A

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17348/
Test PASSed.

Test build #112375 has started for PR 26188 at commit 605194c.

Test build #112375 has finished for PR 26188 at commit 605194c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/112375/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17353/
Test PASSed.

Test build #112380 has started for PR 26188 at commit 7f8841b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/17354/
Test PASSed.

Test build #112380 has finished for PR 26188 at commit 7f8841b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master


college ambassador application

Good job @ForumShah8 💯
Good working on the issue with you apart from your taunts and every wrong conditional I wrote 😆 ... jokes apart, leave a comment and close the issue.

Hahaa, that's how a team works! It was great working with you!!


remove pytz requirement as not used anymore

pytz does not seem to be imported anywhere in the code.

It's used in line_protocol.py, line 12.

You're right.


Halo CE -> Low Framerate when lots of transparent geo on screen

I experience extreme dips when there is a lot of transparant geometry on screen. Wined3d actually keeps up here.
Software information
Name of the game, settings used etc.
System information

GPU: GTX 1060
Driver: 440.44
Wine version: Lutris 4.12.1
DXVK version: 1.5

Apitrace file(s)

https://drive.google.com/open?id=1E73svVPpwVYvdRvsFD5x06C-LO-JWYzN

Log files

d3d9.log: https://pastebin.com/8SN93tJS
d3d11.log:
dxgi.log:

Fixed as per https://github.com/doitsujin/dxvk/commit/b4f2094c02bea9b241f558a1c1888ba28a88d3f0


[PyTorch] Remove fast param getter from modules

Description
https://github.com/NVIDIA/TransformerEngine/pull/1191 added a fast accessor for params to work around CPU overheads from how PyTorch modules store params. This saved <5 us per forward pass (total 115 us) in small benchmarks with the linear layer. However, we have experienced some problems with FSDP since it internally replaces the params with a flattened param and turns the original params into a plain tensor. The fast accessor was very hacky, and this edge case makes me think it might not be worth the CPU overhead savings.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] 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 not work as expected)
[ ] Infra/Build change
[ ] Code refractor

Changes

Remove fast param accessor in TE modules

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/te-ci pytorch

/te-ci pytorch


Fixed 'Uncaught ReferenceError'

When using snabbdom with webpack, the webpack output file is in strict mode, and that would cause error:

Uncaught ReferenceError: requestAnimationFrame is not defined at ...

This pull request fixed it.

Thank you :)


doc: code fixes on saving & getting the photo in TAKING_PHOTOS.mdx

This PR fixes a code error in the sections: Saving the Photo to the Camera Roll & Getting the Photo's data.

The variable path has been renamed to file, as camera.current.takePhoto() always returns a file
CameraRoll.save() method has been updated to use file.path for saving the captured photo.
fetch() method has been updated to use file.path on getting captured photo as blob

Awesome, thank you!


Remove composer.lock file before composer install

Otherwise, composer will use the lock file and the modification
of the composer json file has no effect.
Fixes #112.

@shyim another thought: since the composer.json file is restored after calling composer install, maybe this should be done with the lock file too?

@shyim another thought: since the composer.json file is restored after calling composer install, maybe this should be done with the lock file too?

Its only required for composer install. Shopware does not care about composer.lock

Its only required for composer install. Shopware does not care about composer.lock

Its only required for composer install. Shopware does not care about composer.lock

But it is still packaged, right? Could be confusing... but thanks for merging.

Its only required for composer install. Shopware does not care about composer.lock

But it is still packaged, right? Could be confusing... but thanks for merging.


[V1][VLM] Add V1-rearch image inference support for Qwen2-VL

Separated out from #10699

[x] Placeholder ranges
[x] Embedding generation refactoring
[ ] M-RoPE implementation
[ ] Fix image embedding as input test

Hello @fyabc! We're currently going through re-architecture of vLLM and I'm wondering if it's possible add M-RoPE into the model file instead of the model runner. Do you have any suggestion?

Hi @ywang96 , sorry for late response, any update for this PR?

Hi @ywang96 , sorry for late response, any update for this PR?

@fyabc Hello! I closed this PR by accident, but I haven't really made too much progress on Qwen2 VL (mostly I'm not sure if we can put MRoPE inside the model file instead of the model runner) If it makes things easier feel free to join slack.vllm.ai so we can discuss more offline!


Ensure clang-tidy checks headers, uses clang-format

Two very small tweaks to clang-tidy that did wonders for me locally: enabling analysis of header files & formatting based off our clang-format rules.

Superseded by #93271.


Fix for FindInFiles UI not opening when no file is open  (#14416)

Add null check for editor

Cleanup: Use tertiary operator

Backport of https://github.com/adobe/brackets/pull/14416


fix(release): remove commit-analyser release rules

Self explanatory.

:tada: This PR is included in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Warn users when uploading icons over 100x100

Possibly only warn when over 200x200, for reasons of high density screens? We should warn if they are Very Large, though.
It might be worth figuring out typical filesizes for different resolutions, and warning based on that, especially since that's the main reason we'd want to reduce the resolutions of various images.

Improved by #1174 scaling down images over 400x400


[ocaml5-issue] segfault in 32-bit mode during neg_tests/lin_tests_domain.ml

The merge to main of #438 crashed with a segfault on trunk in 32-bit mode:
https://github.com/ocaml-multicore/multicoretests/actions/runs/8156987450/job/22295610813
random seed: 86271143
generated error  fail  pass / total     time test name

[ ]     0     0     0     0 / 10000     0.0s Lin ref int test with Domain
[ ]     0     0     0     0 / 10000     0.0s Lin ref int test with Domain (generating)
[✓]     1     0     1     0 / 10000     3.7s Lin ref int test with Domain

[ ]     0     0     0     0 / 10000     0.0s Lin ref int64 test with Domain
[✓]     1     0     1     0 / 10000     1.0s Lin ref int64 test with Domain

[ ]     0     0     0     0 / 10000     0.0s Lin CList int test with Domain
[✓]     3     0     1     2 / 10000     5.0s Lin CList int test with Domain

[ ]     0     0     0     0 / 10000     0.0s Lin CList int64 test with Domain
[✓]     3     0     1     2 / 10000     1.8s Lin CList int64 test with Domain

--- Info -----------------------------------------------------------------------

Negative test Lin ref int test with Domain failed as expected (17 shrink steps):

                            |
                            |
                 .---------------------.
                 |                     |
          Sut_int.decr t        Sut_int.set t 1
                                 Sut_int.get t

+++ Messages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Messages for test Lin ref int test with Domain:

File "src/neg_tests/dune", line 73, characters 7-23:
73 |  (name lin_tests_domain)
            ^^^^^^^^^^^^^^^^
(cd _build/default/src/neg_tests && ./lin_tests_domain.exe --verbose)
Command got signal SEGV.

Fixed in https://github.com/ocaml/ocaml/pull/13553


'Font file doesn't exist' error

I'm getting a weird error - looks like the fonts aren't being registered properly? Doing this in my AppDelegate as a workaround as detailed in KnownIssues
#import <FontAwesomeKit/FontAwesomeKit.h>

@implementation IATAppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [FAKFontAwesome iconFontWithSize:1];
  [FAKFoundationIcons iconFontWithSize:1];
  [FAKIonIcons iconFontWithSize:1];

  return YES;
}

@end

2014-08-05 18:41:42.958 Visit[74417:60b] *** Assertion failure in +[FAKFontAwesome registerIconFontWithURL:], /Users/jon/code/Visit/Pods/FontAwesomeKit/FontAwesomeKit/FAKIcon.m:14
2014-08-05 18:41:42.962 Visit[74417:60b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Font file doesn't exist'
*** First throw call stack:
(
	0   CoreFoundation                      0x032781e4 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x02f5a8e5 objc_exception_throw + 44
	2   CoreFoundation                      0x03278048 +[NSException raise:format:arguments:] + 136
	3   Foundation                          0x0115a4de -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
	4   Visit                               0x001c1572 +[FAKIcon registerIconFontWithURL:] + 370
	5   Visit                               0x001a3548 __35+[FAKFontAwesome iconFontWithSize:]_block_invoke + 152
	6   libdispatch.dylib                   0x038264d0 _dispatch_client_callout + 14
	7   libdispatch.dylib                   0x03815e12 dispatch_once_f + 184
	8   libdispatch.dylib                   0x03815d55 dispatch_once + 31
	9   Visit                               0x001a333d +[FAKFontAwesome iconFontWithSize:] + 173
	10  Visit                               0x0000371f -[IATAppDelegate application:didFinishLaunchingWithOptions:] + 2543
	11  UIKit                               0x019e514f -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 309
	12  UIKit                               0x019e5aa1 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1810
	13  UIKit                               0x019ea667 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
	14  UIKit                               0x019fef92 -[UIApplication handleEvent:withNewEvent:] + 3517
	15  UIKit                               0x019ff555 -[UIApplication sendEvent:] + 85
	16  UIKit                               0x019ec250 _UIApplicationHandleEvent + 683
	17  GraphicsServices                    0x04272f02 _PurpleEventCallback + 776
	18  GraphicsServices                    0x04272a0d PurpleEventCallback + 46
	19  CoreFoundation                      0x031f3ca5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
	20  CoreFoundation                      0x031f39db __CFRunLoopDoSource1 + 523
	21  CoreFoundation                      0x0321e68c __CFRunLoopRun + 2156
	22  CoreFoundation                      0x0321d9d3 CFRunLoopRunSpecific + 467
	23  CoreFoundation                      0x0321d7eb CFRunLoopRunInMode + 123
	24  UIKit                               0x019e9d9c -[UIApplication _run] + 840
	25  UIKit                               0x019ebf9b UIApplicationMain + 1225
	26  Visit                               0x00002cfd main + 141
	27  libdyld.dylib                       0x03a5b701 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

I run into the same problem, here is how I solved it.

Build Phases - > Copy Bundle Resources -> '+' -> Add Others -> Select the "FontName.otf" file
Clean Project("CMD + SHIFT + K"), build and run.

I had the same problem.
To solve it, I imported each font resource to my project.
I'm using Cocoapods with use_frameworks!. Because frameworks are dynamic they need a bundle resource. FontAwesomeKit doesn't have yet

@ldong Right way to solve it. BTW, could it be solved when use_frameworks! is set using cocoa pods

Had a similar issue in my another pod.
solved by using this
[[NSBundle bundleForClass:[self class]] URLForResource:@"configuration" withExtension:@"plist"]

And this works for use_frameworks!
So I guess this issue can be fixed by this
// FAKFontAwesome.h
+ (UIFont *)iconFontWithSize:(CGFloat)size
{
#ifndef DISABLE_FONTAWESOME_AUTO_REGISTRATION
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        [self registerIconFontWithURL:[[NSBundle bundleForClass:[self class]] URLForResource:@"FontAwesome" withExtension:@"otf"]];
    });
#endif

    UIFont *font = [UIFont fontWithName:@"FontAwesome" size:size];
    NSAssert(font, @"UIFont object should not be nil, check if the font file is added to the application bundle and you're using the correct font name.");
    return font;
}

actually, going to take back the solution I mentioned in previous post.
not working on real device.

I think this issue can be closed now.
Just checked in last version, it is using bundleForClass now.

@cincas check: https://github.com/PrideChung/FontAwesomeKit/blob/2.2.0/FontAwesomeKit/FAKIonIcons.m
it's still using bundleForClass

@chenyuan I guess you were trying to say "it is still using [NSBundle mainBundle]" right?
check out the master branch. I think they havent released the new version number with this fix.
I'm using pod "FontAwesomeKit", :head as solution atm.

@cincas thanks, your are right, corrected the comment

I've run into this issue as well after switching my project to to use use_frameworks!. My version of the cocoapod is up to date, is the workaround just to manually register the font file?

@Ziewvater you can use pod "FontAwesomeKit", :head as a workaround.
master has been updated to use bundleForClass: instead of mainBundle

@cincas pod "FontAwesomeKit", :head works for me. Thanks a lot!

@cincas When I try code on pod "FontAwesomeKit", :head , compile passes fine, but no string seems to be localized.

pod "FontAwesomeKit", :head used to work for me. But when I update xcode and cocoapods, it stops working.
env
OS X Yosemite
Xcode 7.2.1
cocoapods 1.0.0.beta.4
cocoapods
pod 'TTTAttributedLabel',
    git: 'https://github.com/TTTAttributedLabel/TTTAttributedLabel.git'

NOTE: :head does not work with the latest version of cocoapods.
error
2016-02-29 12:53:25.594 App[38801:229238] *** Assertion failure in +[FAKFontAwesome registerIconFontWithURL:], /path/to/App/ios/Pods/FontAwesomeKit/FontAwesomeKit/FAKIcon.m:14
2016-02-29 12:53:25.618 App[38801:229238] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Font file doesn't exist'

@tomoyuki28jp you should be using the following as of cocoapod 1.0, cheers
pod 'FontAwesomeKit/FontAwesome', :git => 'https://github.com/PrideChung/FontAwesomeKit.git'

Solved:
It was already available in pods bundle I imported the

FontAwesome.otf

file in my main bundle and it worked.


Don't Merge! PR real time test for target branch full build

OPS Build status updates of commit 407925f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details
Dependent Files

:x:Error

Details

Line 386: [Error] Error happened in build.entrypoint.ps1. Please build your target branch first and then reopen this pull request to do another round of verification. If the issue still happens, open a ticket in http://SiteHelp and include the following error message for our team to troubleshoot: Cannot bind argument to parameter 'message' because it is an empty string.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Suggestion to use a more liberal License

Hi there and thanks for providing this skeleton publicly.
In my understanding it is intended as a starting point or as example code.
Unfortunately I cannot use it in my projects as it is licensed with GPL and my projects are either MIT/BSD or proprietary.
Would you consider adopting a different license?
Thanks for your attention!

Done :) Feel free to use it and don't forget to star the repo!

Thanks!


Iterate over an Excel file (.xls/.xlsx) without loading the data into the memory

This is more of a request rather than a call for help I believe, as I think there isn't a way pandas can currently help me with this. Here's my stackoverflow thread relating the issue. http://stackoverflow.com/questions/32523083/iterator-to-iterate-over-excel-file-in-python
I work with large excel files which I use as databases. Most of the time, I need the raw data from the database only once but with read_excel() method, I have to load it all into my memory even though I'll need that data only once. Sad thing is, the amount of time I take for calculations and data arrangement is far shorter than the time my script takes to read excel data.
It would be pretty nice if pandas had a feature which would allow us to have iterator objects that iterate over certain row/column ranges. As I have stated in my stackoverflow thread, people would be able to make their own iterators if pandas had a method to return a single cell value. Or you could just pass a range of columns or rows to it and it could return a generator.
If these are already all there or there are methods for this kind of applications, or anything that can help me deal with large excel files, I would like to know. Thank you.

xref to https://github.com/pydata/pandas/issues/8011
this is a bug, in that specifying chunksize should actually return an iterator rather than materializing the frames. might need some internal refactoring.

so pull-requests to fix are welcome!
and my 2c. using excel is treated ONLY as an input source, generally conversion to an in-memory or other repr provides much better performance and such.


Update game.js

[ ] All tests pass
[ ] I have run npm run doc

Description

References

Irrelevant change but thanks!


flyway: 9.7.0 -> 9.8.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flyway/versions.
meta.description for flyway is: "Evolve your Database Schema easily and reliably across all your instances"
meta.homepage for flyway is: "https://flywaydb.org/"
meta.changelog for flyway is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.8.1 with grep in /nix/store/ab14ymwkjbd8np29gg8w5mjs1g1wfq1k-flyway-9.8.1
found 9.8.1 in filename of file in /nix/store/ab14ymwkjbd8np29gg8w5mjs1g1wfq1k-flyway-9.8.1

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flyway

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ab14ymwkjbd8np29gg8w5mjs1g1wfq1k-flyway-9.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flyway https://github.com/r-ryantm/nixpkgs/archive/bcfef76695011e7159d7b0e01b6ace46669841ce.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ab14ymwkjbd8np29gg8w5mjs1g1wfq1k-flyway-9.8.1
ls -la /nix/store/ab14ymwkjbd8np29gg8w5mjs1g1wfq1k-flyway-9.8.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flyway

Maintainer pings
cc @CMCDragonkai for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flyway/versions.
meta.description for flyway is: "Evolve your Database Schema easily and reliably across all your instances"
meta.homepage for flyway is: "https://flywaydb.org/"
meta.changelog for flyway is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.8.2 with grep in /nix/store/d30l4gqlzd3a1wgaj6wmsmx689jyc5rn-flyway-9.8.2
found 9.8.2 in filename of file in /nix/store/d30l4gqlzd3a1wgaj6wmsmx689jyc5rn-flyway-9.8.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flyway

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d30l4gqlzd3a1wgaj6wmsmx689jyc5rn-flyway-9.8.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flyway https://github.com/r-ryantm/nixpkgs/archive/5c95a2654683b662b6aba54cb2c48bbaf14fb494.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d30l4gqlzd3a1wgaj6wmsmx689jyc5rn-flyway-9.8.2
ls -la /nix/store/d30l4gqlzd3a1wgaj6wmsmx689jyc5rn-flyway-9.8.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flyway

Maintainer pings
cc @CMCDragonkai for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flyway/versions.
meta.description for flyway is: "Evolve your Database Schema easily and reliably across all your instances"
meta.homepage for flyway is: "https://flywaydb.org/"
meta.changelog for flyway is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.8.3 with grep in /nix/store/s0jl3lzqc1nxrbhykmmrvdyyna47jdrq-flyway-9.8.3
found 9.8.3 in filename of file in /nix/store/s0jl3lzqc1nxrbhykmmrvdyyna47jdrq-flyway-9.8.3

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flyway

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/s0jl3lzqc1nxrbhykmmrvdyyna47jdrq-flyway-9.8.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flyway https://github.com/r-ryantm/nixpkgs/archive/1becede5e619a3dce5f4bb9bb6a95eb96e53c99b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s0jl3lzqc1nxrbhykmmrvdyyna47jdrq-flyway-9.8.3
ls -la /nix/store/s0jl3lzqc1nxrbhykmmrvdyyna47jdrq-flyway-9.8.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flyway

Maintainer pings
cc @CMCDragonkai for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flyway/versions.
meta.description for flyway is: "Evolve your Database Schema easily and reliably across all your instances"
meta.homepage for flyway is: "https://flywaydb.org/"
meta.changelog for flyway is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.10.2 with grep in /nix/store/3zi3gaj9gbbx8y68cfvmyh1qcmvjgm3c-flyway-9.10.2
found 9.10.2 in filename of file in /nix/store/3zi3gaj9gbbx8y68cfvmyh1qcmvjgm3c-flyway-9.10.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flyway

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3zi3gaj9gbbx8y68cfvmyh1qcmvjgm3c-flyway-9.10.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flyway https://github.com/r-ryantm/nixpkgs/archive/8ddb229720a3086f98b5dae00d3a9600d8c6a70f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3zi3gaj9gbbx8y68cfvmyh1qcmvjgm3c-flyway-9.10.2
ls -la /nix/store/3zi3gaj9gbbx8y68cfvmyh1qcmvjgm3c-flyway-9.10.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flyway

Maintainer pings
cc @CMCDragonkai for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flyway/versions.
meta.description for flyway is: Evolve your Database Schema easily and reliably across all your instances
meta.homepage for flyway is: https://flywaydb.org/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.12.0 with grep in /nix/store/sbvrjx2175vy9hpw9hdxasbyqch98l4r-flyway-9.12.0
found 9.12.0 in filename of file in /nix/store/sbvrjx2175vy9hpw9hdxasbyqch98l4r-flyway-9.12.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flyway

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sbvrjx2175vy9hpw9hdxasbyqch98l4r-flyway-9.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flyway https://github.com/r-ryantm/nixpkgs/archive/b533ff3d01cfc7dd22a7ead3c73f5929dd55675f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sbvrjx2175vy9hpw9hdxasbyqch98l4r-flyway-9.12.0
ls -la /nix/store/sbvrjx2175vy9hpw9hdxasbyqch98l4r-flyway-9.12.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flyway

Maintainer pings
cc @CMCDragonkai for testing.


Use string_types and not basestring

As I've merged #417 I'm closing this patch. Thanks a lot for taking the time to submit it.
Please read my changelog:
https://github.com/maraujop/django-crispy-forms/commit/2b808e955c74c87b31b8d2d66fb101f35cf15767#diff-4ac32a78649ca5bdd8e0ba38b7006a1eR9
Thanks David for your patch, it was very well done and I hope to see a PR from you in the future.
Cheers,
Miguel


Please add disable filter option and clear all filters option

Please add enable/disable filter(sub filter) per filter option.
Also Clear all filters option will be make program easy to use.

Not going to add an option to disable sub filters right now with how easy it is to copy the filter expression and paste it into the advanced filter and remove the specific sub filter or to add the cached filter without the specific sub filter and to toggle between them.


Set key expiration time during key creation

Currently it is possible to change a keys expiration date by calling
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDate(date, secretKeysProtector)
    .done();

or for a specific subkey
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDate(subkeyFingerprint, date, secretKeysProtector)
    .done();

It would be nice to specify an expiration date during the key creation process, eg.
PGPSecretKeyRing keyRing = PGPainless.generateKeyRing()
                .withSubKey(KeySpec.getBuilder(KeyType.XDH(XDHCurve._X25519))
                        .withKeyFlags(KeyFlag.ENCRYPT_COMMS)
                        .withDefaultAlgorithms())
                .withMasterKey(KeySpec.getBuilder(KeyType.EDDSA(EdDSACurve._Ed25519))
                        .withKeyFlags(KeyFlag.CERTIFY_OTHER, KeyFlag.SIGN_DATA)
                        .withDefaultAlgorithms()
                        .withExpirationDate(date)) // <- like this for example
                .withPrimaryUserId(UserId.onlyEmail("alice@wonderland.lit").toString())
                .withoutPassphrase()
                .build();

Maybe we can rework the generation API once again to be able to set arbitrary subpackets on the key without adding too much complexity to the API.
Was #48

though I don't think this is of high priority right now.

This depends on whether the key/signature structure of the create -> update procedure is different from creating expiring key in a single step.
Are there going to be some additional / old signatures present? Any other difference in structure?
If they end up having the exact same structure, then we'll be ok as it is now - with the idea that ability to create expiring keys directly will be added sometime in the future.
The advantage of having this directly in the keygen API is that we can make some decisions on behalf of the library user. Eg should I be expiring the primary key, the subkey, or both? This shouldn't be something that the library user would have to think about, instead we should do whatever is the most common behavior (or whatever OpenPGP.js does).

though I don't think this is of high priority right now.

This depends on whether the key/signature structure of the create -> update procedure is different from creating expiring key in a single step.
Are there going to be some additional / old signatures present? Any other difference in structure?
If they end up having the exact same structure, then we'll be ok as it is now - with the idea that ability to create expiring keys directly will be added sometime in the future.
The advantage of having this directly in the keygen API is that we can make some decisions on behalf of the library user. Eg should I be expiring the primary key, the subkey, or both? This shouldn't be something that the library user would have to think about, instead we should do whatever is the most common behavior (or whatever OpenPGP.js does).

Are there going to be some additional / old signatures present? Any other difference in structure?

Changing the expiry date will add a new signature to the key, which will contain all the subpackets of the old key, but an altered expiration date. The signature will have the same structure as the old one.

Eg should I be expiring the primary key, the subkey, or both?

The API currently allows for both cases.
Expiring both primary and subkey would look like this:
expiry = new Date();
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDate(expiry, secretKeysProtector)
    .setExpirationDate(subkeyFingerprint, expiry, secretKeysProtector)
    .done();

Are there going to be some additional / old signatures present? Any other difference in structure?

Changing the expiry date will add a new signature to the key, which will contain all the subpackets of the old key, but an altered expiration date. The signature will have the same structure as the old one.

Eg should I be expiring the primary key, the subkey, or both?

The API currently allows for both cases.
Expiring both primary and subkey would look like this:
expiry = new Date();
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDate(expiry, secretKeysProtector)
    .setExpirationDate(subkeyFingerprint, expiry, secretKeysProtector)
    .done();

Would you say that it might be a good idea to have
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDateOfAllKeys(expiry, secretKeysProtector)
    .done();

to expire the whole key ring (all subkeys)?

Would you say that it might be a good idea to have
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDateOfAllKeys(expiry, secretKeysProtector)
    .done();

to expire the whole key ring (all subkeys)?

Changing the expiry date will add a new signature to the key, which will contain all the subpackets of the old key, but an altered expiration date. The signature will have the same structure as the old one.

Does this mean that it results in two signatures on the key? One original, and one expiring? Or is the original signature removed / replaced?

Changing the expiry date will add a new signature to the key, which will contain all the subpackets of the old key, but an altered expiration date. The signature will have the same structure as the old one.

Does this mean that it results in two signatures on the key? One original, and one expiring? Or is the original signature removed / replaced?

Would you say that it might be a good idea to have
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDateOfAllKeys(expiry, secretKeysProtector)
    .done();

to expire the whole key ring (all subkeys)?

I'm not entirely sure what the convention is - exactly what is the most common method of expiring / extending pgp keys. I imagine some people to only expire the encryption subkeys, and then maybe renew signatures for those. I imagine others may be doing it on the whole key. It would be good to know what the consensus / recommended method is. Maybe @wiktor-k will have some thoughts

Would you say that it might be a good idea to have
secretKeys = PGPainless.modifyKeyRing(secretKeys)
    .setExpirationDateOfAllKeys(expiry, secretKeysProtector)
    .done();

to expire the whole key ring (all subkeys)?

I'm not entirely sure what the convention is - exactly what is the most common method of expiring / extending pgp keys. I imagine some people to only expire the encryption subkeys, and then maybe renew signatures for those. I imagine others may be doing it on the whole key. It would be good to know what the consensus / recommended method is. Maybe @wiktor-k will have some thoughts

Does this mean that it results in two signatures on the key? One original, and one expiring? Or is the original signature removed / replaced?

I asked the sequioa-pgp devs and they recommended adding a signature instead of replacing the old one.

Does this mean that it results in two signatures on the key? One original, and one expiring? Or is the original signature removed / replaced?

I asked the sequioa-pgp devs and they recommended adding a signature instead of replacing the old one.

I'm not entirely sure what the convention is - exactly what is the most common method of expiring / extending pgp keys.

Me neither. Apparently the sequoia community is working on a document that describes how to "use" the openpgp specifications building blocks to model certain use cases, but they haven't yet gotten so far.
Having such a document would be very valuable addition to the ecosystem.

I'm not entirely sure what the convention is - exactly what is the most common method of expiring / extending pgp keys.

Me neither. Apparently the sequoia community is working on a document that describes how to "use" the openpgp specifications building blocks to model certain use cases, but they haven't yet gotten so far.
Having such a document would be very valuable addition to the ecosystem.

I asked the sequioa-pgp devs and they recommended adding a signature instead of replacing the old one.

Meaning - the pgp key indeed ends up having contents that are a bit different compared to if the first-ever signature was already expiring. (do not know any better then sequoia-pgp regarding what is the right approach, so I'll take their word for it)
As a result, it's not possible for create + update to be fully equivalent to creating already expiring key - with that in mind, I think the ability to create already expiring key gains some more importance

I asked the sequioa-pgp devs and they recommended adding a signature instead of replacing the old one.

Meaning - the pgp key indeed ends up having contents that are a bit different compared to if the first-ever signature was already expiring. (do not know any better then sequoia-pgp regarding what is the right approach, so I'll take their word for it)
As a result, it's not possible for create + update to be fully equivalent to creating already expiring key - with that in mind, I think the ability to create already expiring key gains some more importance

I'm not entirely sure what the convention is - exactly what is the most common method of expiring / extending pgp keys.

Me neither. Apparently the sequoia community is working on a document that describes how to "use" the openpgp specifications building blocks to model certain use cases, but they haven't yet gotten so far.
Having such a document would be very valuable addition to the ecosystem.

Could you point me to where these discussions were taking place? This would indeed be valuable.

I'm not entirely sure what the convention is - exactly what is the most common method of expiring / extending pgp keys.

Me neither. Apparently the sequoia community is working on a document that describes how to "use" the openpgp specifications building blocks to model certain use cases, but they haven't yet gotten so far.
Having such a document would be very valuable addition to the ecosystem.

Could you point me to where these discussions were taking place? This would indeed be valuable.

The existing documentation can be found here.
The discussion is taking place in #sequoia on freenode irc.

The existing documentation can be found here.
The discussion is taking place in #sequoia on freenode irc.

This is now possible:
        PGPSecretKeyRing secretKeys = PGPainless.generateKeyRing()
                .withPrimaryKey(KeySpec.getBuilder(KeyType.RSA(RsaLength._3072))
                        .withKeyFlags(KeyFlag.CERTIFY_OTHER, KeyFlag.SIGN_DATA, KeyFlag.ENCRYPT_COMMS)
                        .withDefaultAlgorithms())
<EMAIL_ADDRESS>                .setExpirationDate(expiration)
                .withoutPassphrase()
                .build();

I'm thinking of setting a default expiration date in the simplified key generation methods (eg. simpleEcKeyRIng() etc.).
What do you think of an expiration date of 3 years?

Thanks!
I would not do an implicit expiration. I think that could really surprise
folks. There could be a method signature that accepts expiration though.
On Sat, 13 Feb 2021, 12:24 Paul Schaub<EMAIL_ADDRESS>wrote:

This is now possible:
    PGPSecretKeyRing secretKeys = PGPainless.generateKeyRing()
            .withPrimaryKey(KeySpec.getBuilder(KeyType.RSA(RsaLength._3072))
                    .withKeyFlags(KeyFlag.CERTIFY_OTHER, KeyFlag.SIGN_DATA, KeyFlag.ENCRYPT_COMMS)
                    .withDefaultAlgorithms())
<EMAIL_ADDRESS>            .setExpirationDate(expiration)
            .withoutPassphrase()
            .build();

I'm thinking of setting a default expiration date in the simplified key
generation methods (eg. simpleEcKeyRIng() etc.).
What do you think of an expiration date of 3 years?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pgpainless/pgpainless/issues/50#issuecomment-778602859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQDZEIW3IGMHERSLO4MSADS6ZOO3ANCNFSM4WHRF5WQ
.

This is now possible:
        PGPSecretKeyRing secretKeys = PGPainless.generateKeyRing()
                .withPrimaryKey(KeySpec.getBuilder(KeyType.RSA(RsaLength._3072))
                        .withKeyFlags(KeyFlag.CERTIFY_OTHER, KeyFlag.SIGN_DATA, KeyFlag.ENCRYPT_COMMS)
                        .withDefaultAlgorithms())
<EMAIL_ADDRESS>                .setExpirationDate(expiration)
                .withoutPassphrase()
                .build();

It looks good as it is now - if this has been released, I suppose this issue can be closed? Thanks!


target: mbedos5: Improve setInterval and setTimeout

In setInterval and setTimeout there must be a reference increase to the given function.
If you use jerry_acquire and you want to cleanup the engine,
you get an assertion, because this value is released nowhere in the code.
In my opinion it is better to set the function as a property, so it is released automatically.
In launcher.cpp there is wrong error handle. If returned_value has error flag, parsed_code is not released.
JerryScript-DCO-1.0-Signed-off-by: Marko Fabo<EMAIL_ADDRESS>

cc @janjongboom

@akosthekiss updated

@janjongboom may we land this patch?

@janjongboom ping :)

@LaszloLango LGTM

@janjongboom thank you for checking it.


Understanding memory requirements

I'm trying to do video inpainting on a 1920x1088 video. I'm using the Docker container.
Here's the log:
root@7a0025c336df:/inpainting# python3 tools/video_inpaint.py --frame_dir ./demo/frames --MASK_ROOT ./demo/masks --img_size 1920 1088 --FlowNet2 --DFC --ResNet101 --Propagation
This Video has 399 Images
The optical flow list has been generated: ./demo/video_flow.txt
====> Loading ./pretrained_models/FlowNet2_checkpoint.pth.tar
[                              ] 0/796, elapsed: 0s, ETA:/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:1749: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 796/796, 1.4 task/s, elapsed: 578s, ETA:     0s
FlowNet2 Inference has been finished~!
Extracted Flow has been save in ./demo/Flow
Flow start number 1201
Zero flow 001201.rflo
Generate datalist for initial step
Flow Completion in First Step
Freezing BatchNorm2D.
Load Pretrained Model from ./pretrained_models/resnet101_movie.pth
[                              ] 0/797, elapsed: 0s, ETA:/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py:1749: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
  "See the documentation of nn.Upsample for details.".format(mode))
[>>>>>>>>>>>>>>>>>>>>          ] 550/797, 1.4 task/s, elapsed: 391s, ETA:   176sERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
[>>>>>>>>>>>>>>>>>>>>          ] 552/797, 1.4 task/s, elapsed: 392s, ETA:   174sException ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7ff5551adc80>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 108, in remove
    def remove(wr, selfref=ref(self)):
  File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 178, in handler
    _error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 1542) is killed by signal: Bus error.
[>>>>>>>>>>>>>>>>>>>>>         ] 560/797, 1.4 task/s, elapsed: 395s, ETA:   167sERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).

As you can see, it appears I'm running out of memory. My computer has 32GiB of DDR4 and my GTX 1080Ti has 11GiB of GDDR5X.
My question is: how much memory would you expect it to take to process a 1080p video. Also, how come it's able to get to 550/797 without issues, but then suddenly runs out of memory? I was expecting the memory usage to be fairly constant.
Really impressed by the sample results, thanks for all your work in this exciting area.

Are you using a docker?
When you create docker container, you can set shared memory with the --shm-size command option.
I solved the problem with this command.

Wow, the default is only 64MiB!
My use case for this algorithm has passed now, but I'm sure this would've fixed my issue.


chore: update github workflows

Updated the githb workflows to push images to quay.io/lvmo. Added a weekly-build workflow which calls a manual workflow which will allow us to add a similar workflow in red-hat-storage/topolvm.
Signed-off-by: N Balachandran<EMAIL_ADDRESS>

/hold

/hold


File type ANY crash in iOS

Set file type: FileType.ANY make app crashes in iOS devices

Post your logs please, thank you.

@miguelpruivo :
[✓] Flutter (Channel dev, v1.2.1, on Mac OS X 10.14.3 18D109, locale en-US)
    • Flutter version 1.2.1 at /Users/nambuivu/flutter
    • Framework revision 8661d8aecd (7 days ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/nambuivu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/nambuivu/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 33.1.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] IntelliJ IDEA Community Edition (version 2017.2.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 17.0
    • Dart plugin version 172.4155.35

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

[✓] Connected device (1 available)
    • Nam's • 1695d1cc093892d852e9d6409af6ecaec66e980e • ios • iOS 10.0.2

@nambv I was referring more to the crash log but that's welcome too.

@miguelpruivo btw, can you tell me what min iOS version that your lib is supporting?

@nambv iOS 8+

@nambv any news on this?


Trying to define color 256 causes temporary hang

Environment
Windows build number: 10.0.18362.0
Windows Terminal version: 0.7.3291.0

Steps to reproduce
Trying to redefine the exact RGB value for color index 256:
echo -ne '\e]4;256;rgb:ab/cd/ef\e\\'

Expected behavior
Nothing, because the index is out of range.
Actual behavior
The next shell prompt and the command as I type it doesn't appear. It takes a newline or so to get out of this state.
Note: This issue only occurs with exactly 256. With bigger numbers there's no hang.

Note that this is not a conhost issue - it only fails in Windows Terminal. The exact source of the error is in the Terminal::SetColorTableEntry method:
https://github.com/microsoft/terminal/blob/99a833718525214aeb8846ec8a88b5551b80df21/src/cascadia/TerminalCore/TerminalApi.cpp#L401-L405
That test should be >=. It might even be safer to drop the test and rely on the at checking, but just make sure the exception is handled properly. Because even if we fix this particular test, it doesn't seem right that an exception would cause the parser to get into such a weird state.

Ooh, good catch. Thanks for finding that @j4james!


Add cavlc_bframe and cabac_bframe bitstreams to openh264/res

Does this commit change 2 of the existing cavlc+bframes sample files?

@mstorsjo No, these 2 b-frame bitstreams are generated by JM, and they are new.

Oh, I misread the commit - this removes two of the existing ones, renames one of the existing ones and adds one new.
I'm not sure how good test sample this is though; there's almost literally no motion at all in these test clips, only the blinking cursor changing from each frame to the next?

Hi,
Yes, it is a still photo with 9 frames. With cabac+b frame to decode, it could decode, but with cavlc+b frame to decode, it failed. Probably, it's the problem of not supporting cavlc+b frame, and there is no problem with test cases.
Br,
Chen Zhang -X (chezhan3 - CIIC at Cisco)
[https://www.cisco.com/c/dam/m/en_us/signaturetool/images/logo/Cisco_Logo_no_TM_Medium_Gray-RGB_43px.png]
Chen Zhang
Intern
chezhan3<EMAIL_ADDRESS>Tel:
Cisco Systems, Inc.
China
cisco.com
[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]
Think before you print.
This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click herehttp://www.cisco.com/c/en/us/about/legal/terms-sale-software-license-agreement/company-registration-information.html for Company Registration Information.
From: Martin Storsjö<EMAIL_ADDRESS>Sent: 2018年8月24日 16:02
To: cisco/openh264<EMAIL_ADDRESS>Cc: Chen Zhang -X (chezhan3 - CIIC at Cisco<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [cisco/openh264] Add cavlc_bframe and cabac_bframe bitstreams to openh264/res (#3015)
Oh, I misread the commit - this removes two of the existing ones, renames one of the existing ones and adds one new.
I'm not sure how good test sample this is though; there's almost literally no motion at all in these test clips, only the blinking cursor changing from each frame to the next?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/cisco/openh264/pull/3015#issuecomment-415684124, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ak-j7nI1tq4OWOCnyBpVlOCFL5jrIzy3ks5uT7MBgaJpZM4WIsHT.


There's something wrong with the data set

"id": "3R2PKQ87NW7M2JUHD1FZY696IOVIM8" ,fact:“the seismometer will check for seismic activity”，
"id":"3AAJC4I4FGRIW1D6A8QTI9KFA8JZJ1",fact“:dehydration preserves foods by removing moisture”，they are not in corpus

Thanks a lot for pointing this out. I am not sure how these facts got dropped from the final corpus but I will take a look.


Could the date-of-creation, the year, when balloon .css was created, be added? Just a short line perhaps?

Hello Claudio and others,
Could a tiny section be added to say in which year balloon.css has been created?
I am merely curious but perhaps others are too, so perhaps that could be added to
the main README if you have the time to do so.
Cheers!

My first commit dates back from Mar 1, 2016. Balloon is a little more than 2 years old as of today.
I'm not sure if "creation date" is much relevant, but perhaps we can add it to README someday.


Issue with tls

1. What version of Caddy are you using (caddy -version)?
Caddy 0.9.5
2. What are you trying to do?
I'm trying to host off a non-standard port (8001) with https
Port 80 and 443 are already in use and I can't shut them down, not even temporarily
https://srv1.botstack.host:8001
3. What is your entire Caddyfile?
localhost:8001
tls<EMAIL_ADDRESS>
4.  Please paste any relevant HTTP request(s) here.
https://srv1.botstack.host:8001

6. What did you expect to see?
I expected to see the files on the server
7. What did you see instead (give full error messages and/or log)?
This site can't provide a secure connection error
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
Start caddy with https on a port other than 80 or 443

I think the problem is not with the port number but with localhost.
You cannot get a certificate for that hostname. However, you can use the insecure-localhost CLI switch for Chrome with a self-signed certificate

I actually did try
srv1.botstack.host:8001
tls<EMAIL_ADDRESS>```text
But that ends with
```text
srv1.botstack.host] failed to get certificate: [srv1.botstack.host] error presenting token: Could not start HTTPS server for challenge -> listen tcp :443: bind: address already in use
```text

I can't shut down what's running on 443 since it's a business server

I think you could try running the command with -port 8001 to force that port. I'm not sure.

If you want to use Caddy's automatic HTTPS, you need to give it ports 80 and 443, because that's how the ACME protocol is defined: https://caddyserver.com/docs/automatic-https
If you can't use ports 80 and 443, you'll have to use the DNS challenge. That's the only way. Or proxy the HTTP and TLS challenges through your server that's running on ports 80 and 443. Or provide your own certificates. But the DNS challenge is usually the preferred way to do it as it doesn't require connecting to your machine.
Your Caddyfile listens on localhost:8001 so it won't be accessible through any hostname other than localhost... you have to give the address you want the site to be served on. It's really quite simple. :)
Also, please update your version of Caddy. ;)

@mholt can't we make this configurable? Docker, IPtables, external Firewalls can map ports from the outside very well to other internal maps without having to deal with nasty system capabilities or run Caddy as root.
This is a real pain in the butt for no obvious reason. A simple warning message "you have to map the ports on yourself or ACME won't work" should be enough IMHO.
I understand you probably do not use Docker or such environments yourself, hence the lack of an official docker image. But if you would, you would see the issue. Even the most popular user-contributed docker image runs as root user…

Found an explanation in https://github.com/mholt/caddy/commit/e3f2d96a5ef3b3696c1424ff0a2f645551eae913


Missing or Wrong Info for Microsoft Copilot for M365

Hello,
please check the Identifier for Microsoft "Copilot for Microsoft 365"
We have licenses in our tenant and we see SKUID  (GUID)  639dec6b-bb19-468b-871c-c5c441c4b0cb
and SKU PartNumber (String ID) "Microsoft_365_Copilot"
According to this page it is supposed to be "a809996b-059e-42e2-9866-db24b99a9782" and "M365_Copilot"
Thanks

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

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Microsoft Entra ID
Content Source: docs/identity/users/licensing-service-plan-reference.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @Nicholak-MS
Microsoft Alias: nicholak

@joergrenn
Thanks for your feedback! We will investigate and update as appropriate.

I have made this update to correct the value. It will publish later today.
Thanks
#please-close


ReferenceError: Promise is not defined  on Ubuntu 14.04 and node v0.10.25

When I try to launch structor, it opens and tell me there's a problem about current directory, and when I check the terminal, I got plenty of
ReferenceError: Promise is not defined
    at e._createClass.value (/usr/local/lib/node_modules/structor/server/FileManager.js:1:4496)
    at e._createClass.value (/usr/local/lib/node_modules/structor/server/StorageManager.js:1:8458)
    at e._createClass.value (/usr/local/lib/node_modules/structor/server/api.js:1:4064)
    at /usr/local/lib/node_modules/structor/server/api.js:1:3507
    at Layer.handle [as handle_request] (/usr/local/lib/node_modules/structor/node_modules/express/lib/router/layer.js:95:5)
    at next (/usr/local/lib/node_modules/structor/node_modules/express/lib/router/route.js:131:13)
    at /usr/local/lib/node_modules/structor/node_modules/body-parser/lib/read.js:129:5
    at invokeCallback (/usr/local/lib/node_modules/structor/node_modules/body-parser/node_modules/raw-body/index.js:262:16)
    at done (/usr/local/lib/node_modules/structor/node_modules/body-parser/node_modules/raw-body/index.js:251:7)
    at IncomingMessage.onEnd (/usr/local/lib/node_modules/structor/node_modules/body-parser/node_modules/raw-body/index.js:308:7)

is it because my node version is too old ?

Yes, definitely.

@allan-simon did you resolve this issue ?

not yet, I think when I will get some times I will try to create a dockerfile, that will ease things.

Do you mean that upgrading node.js to version > 12.2 didn't solve your problem ?

no it's just that I currently have other things that i need on a daily basis that works fine with my current version of node and my previous experiences upgrading node version have been chaotic (random packet which stop working) so I'm a bit reluctant to upgrade it fully, and i would prefer so to have all of that in a container so that to be sure to not have side effects :)

OK. Thanks


Minor updates: improve README and add comment for dynamic configuration

What changed?
Add comment for dynamic configuration so that every one is aware of syncing documentation for dynamic config

Why?
I tried to maintain the documentation manually myself https://github.com/uber/cadence-docs/pull/25 . But it's too much work...It's better to maintain by everyone whenever adding/removing the configuration.

How did you test it?

Potential risks

Coverage decreased (-0.02%) to 66.768% when pulling 90f56485a9bdf946fe48a3e7c63522d3672f4962 on longquanzheng-patch-1 into 1de8cd411c79c4b869a5cf83a51b576818e5f85c on master.


Building a native image inside a container environment with Java 21 fails

Setup:
Image: quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21
Project java version: 21
Quarkus version: 3.10.2
Lucene version: 2.3.0
Error:
undefined reference to `Java_jdk_internal_misc_ScopedMemoryAccess_closeScope0'

Hello @argo1089,
I ran into the same issue and the only workaround I found is to disable the usage of Memory Segment API:
quarkus.native.additional-build-args=-Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
MMapDirectory use the MemorySegment API on Java 19 and later.

On exactly Java 19 / 20 / 21 this class will use the modern MemorySegment API which allows to safely unmap (if you discover any problems with this preview API, you can disable it by using system property ENABLE_MEMORY_SEGMENTS_SYSPROP)

https://lucene.apache.org/core/9_7_0/core/org/apache/lucene/store/MMapDirectory.html

Yes disabling the memory segment api is a workaround


use default generic type automatically

Suggestion
🔍 Search Terms
use default generic type automatically
✅ Viability Checklist
My suggestion meets these guidelines:

✅ This wouldn't be a breaking change in existing TypeScript/JavaScript code
✅ This wouldn't change the runtime behavior of existing JavaScript code
✅ This could be implemented without emitting different JS based on the types of the expressions
✅ This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
✅ This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
type A<X = 1, Y = 2, Z = 3> = { x: X, y: Y, z: Z }

type B = A<10, "use default", 5> // { x: 10, y: 2, z: 5 }

📃 Motivating Example
Make it safer to use default without creating extra type:
usually we do:
type two = 2

type A<X = 1, Y = two, Z = 3> = { x: X, y: Y, z: Z }

type B = A<10, two, 5> // { x: 10, y: 2, z: 5 }

but this is prone to mistake
type two = 2
type three = 3

type A<X = 1, Y = two, Z = 3> = { x: X, y: Y, z: Z }

type B = A<10, three, 5> // { x: 10, y: 3, z: 5 }, accidentally assign the wrong type

Duplicate of https://github.com/microsoft/TypeScript/issues/26242


PlayCanvas host

It would be nice to add a PlayCanvas host.
The core package has the interfaces that need to be implemented to make this work with other engines. See Integrating with other 3D engines.

cc @willeastcott

100% agree. Since Sumerian is extremely similar to PlayCanvas, I'm surprised it wasn't the first engine/framework to get a host! 😄

I may find some time to circle to this once I finish the Babylon update. Sumerian's Babylon animations break with latest Babylon (5+), which I need to fix in order to get

#183

out of the door. The three.js examples are working fine. Love having no build! It's gonna be so much easier to maintain the code without relying on a particular bundler (we'll leave it to app authors to bundle their apps however they want, while they import the ESM from here).
Looking forward to PlayCanvas support so I can also dive into PlayCanvas itself. 😃


Layout responsive events list and event details pages

As part of #138 two new pages are being added to laddr:

Browse Events: http://laddr-v2-dev.poplar.phl.io/events
Event Details

Upcoming event we'll be promoting: http://laddr-v2-dev.poplar.phl.io/events/city-as-a-service-2016
Recent event with full schedule input: http://laddr-v2-dev.poplar.phl.io/events/sustainability-2015

Here's a fully-featured event on the old site we're deprecating: Almost fully-features event page from past hackathon on the appsforphilly site we're deprecating: http://appsforphilly.org/events/transportation-2015
The most immediate use case will be using the direct link to the upcoming hackathon for promoting it. Key elements include:

Prominent date, location
Long markdown content area with multiple headlined main sections
Detailed one-day or multi-day schedule
Small list of subpages with detailed information about the event
Gallery of sponsor logos
Idea board or preview with link to full idea board page
Gallery of RSVPd attendees
List of links to projects founded for the event

If it sounds like a party flyer, it kind of is... but maybe could be less so

@themightychris could you give me permissions to edit this event on http://laddr-v2-dev.poplar.phl.io/events/sustainability-2015 ? Username is "schlos"
How do you add segments? On Code for Croatia Staging, when adding new/editing existing event I dont see Segments option.