GHC-9.6 fgl and warp

Description of changes
Fix build for GHC-9.6 for fgl and warp
Things done

Built on platform(s)

[x] x86_64-linux

@np Could you rebase this on the haskell-updates branch?  We generally ask that all Haskell-related changes go to the haskell-updates branch.
Other than that, this LGTM.

Thanks for the review, I hope it's good now.

Rebased again.

@ofborg build haskell.packages.ghc96.fgl haskell.packages.ghc96.fourmolu haskell.packages.ghc96.servant haskell.packages.ghc96.warp_3_3_28

Looks good, thanks!


*TFR obj data attribute documentation?

The docs for the TFR objects do not specify how to get at the data. Should this not be included in the docstring?
Colleagues of mine have complained to me MNE is "sparsely documented" here :)
@agramfort @palday

on an AverageTFR ?
https://martinos.org/mne/dev/generated/mne.time_frequency.AverageTFR.html
yes a good docstring would help and also we should document attributes not
just parameters

Yes, and https://martinos.org/mne/dev/generated/mne.time_frequency.EpochsTFR.html#mne.time_frequency.EpochsTFR
I can go about it once the other PRs are merged :)

ok convince a less experienced person to do this change as it's only a
documentation update.

@nbara do you want to do it? Or is it not enough of a challenge? :)

@jona-sassenhagen it's not about the challenge, but I'm afraid my hands are full at the moment, sorry...
I was giving a thumbs up because a colleague whom I've slowly managed to convince to try MNE has been complaining about the same thing :)

@sappelhoff maybe you wanna try your hands at this one though?

@jona-sassenhagen, I haven't worked with time frequency data in MNE yet. I wouldn't really know where to start looking up information that should go into the docstring ...

I would say that it should minimally just include that AverageTFR and EpochsTFR have an attribute (data) that includes the data, and the format (which depends on which kind of object it is). There is an Attributes section in the docs, but it does not include that info.

So for the EpochsTRF first ... given the code below, you would want a description of

'ch_names', 'comment', 'compensation_grade', 'data', 'freqs', 'info', 'method', 'times'

in the docstring, where currently only 'ch_names' is implemented?
In [1]: import mne
In [5]: import numpy as np

In [10]: data = np.random.random(100, 64, 100, 1000)
In [11]: times = np.arange(1000)
In [12]: freqs = np.linspace(1,100,100)
In [16]: info = mne.create_info(32,1000)

In [17]: mne.time_frequency.EpochsTFR(info, data, times, freqs)

In [18]: epochsTFR = mne.time_frequency.EpochsTFR(info, data, times, freqs)

In [19]: dir(epochsTFR)
Out[19]:
['__abs__',
 '__class__',
 '__contains__',
 '__delattr__',
 '__dict__',
 '__doc__',
 '__format__',
 '__getattribute__',
 '__hash__',
 '__init__',
 '__module__',
 '__new__',
 '__reduce__',
 '__reduce_ex__',
 '__repr__',
 '__setattr__',
 '__sizeof__',
 '__str__',
 '__subclasshook__',
 '__weakref__',
 '_data',
 '_pick_drop_channels',
 '_size',
 'add_channels',
 'apply_baseline',
 'average',
 'ch_names',
 'comment',
 'compensation_grade',
 'copy',
 'crop',
 'data',
 'drop_channels',
 'freqs',
 'info',
 'method',
 'pick_channels',
 'pick_types',
 'preload',
 'save',
 'times']

First and foremost data, but if you can do a few others, that'd be good too. Refer to the Evoked and Epochs objects. Does that work for you?

yep, looking at the other objects helped. After that it was just copy pasting and little adjustments e.g., for the data shape. see the PR.


Filter items with optional originalList

If original list is not provided, then the filter copies the original list internally before starting the filter.
Clearing the filter, it will restore the original list.
The committed deleted items after the undo will also be removed from this internal list during the filter.

This improvement will be available from the next snapshot.


ircevent should support SOCKS proxies

For parity with goirc: https://github.com/fluffle/goirc/blob/v1.1.1/client/connection.go#L62

We should just take a Dial callback, or a Dialer interface, rather than introducing a hard dependency on a proxy library.
I found this snippet on SO: https://go.dev/play/p/l0iLtkD1DV

I implemented this in the issue64_proxies branch. It's a little messy so merging this isn't a priority for 0.2.0.


daemon: Add KubeProxyReplacement to cilium status cmd

This PR adds kube-proxy replacement configuration to the cilium status cmd. E.g.:
$ cilium status
KVStore:                Ok   Disabled
Kubernetes:             Ok   1.17 (v1.17.2) [linux/amd64]
Kubernetes APIs:        ["CustomResourceDefinition", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "core/v1::Endpoint", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:   Strict   [NodePort, ExternalIPs, HostReachableServicesTCP, HostReachableServicesUDP]
Cilium:                 Ok   OK
NodeMonitor:            Disabled
Cilium health daemon:   Ok
IPAM:                   IPv4: 4/65535 allocated from <IP_ADDRESS>/16,
Controller Status:      17/17 healthy
Proxy Status:           OK, ip <IP_ADDRESS>, port-range 10000-20000
Cluster health:       0/1 reachable   (2020-02-05T14:02:54+01:00)
  Name                IP              Reachable   Endpoints reachable
    ceuse (localhost)   <IP_ADDRESS>       true        false

Reviewable per commit.

This change is

test-me-please

Coverage decreased (-0.04%) to 44.662% when pulling 456a4addc5cfa22a0f85b8b76ed2026227fe62da on pr/brb/kubeproxy-free-status into 951d85e7b7004f732da2a19b00c25c9bc8338242 on master.

test-me-please

test-me-please

provisioning error

test-me-please

Btw, one more thought. We should also dump the used node-port port-range and whether we use snat or dsr for node-port services. Can also be follow-up, but we should do this as well for 1.7.

Perhaps makes sense to slightly adapt the output for above case, for example:
$ cilium status
KVStore:                 Ok   Disabled
Kubernetes:              Ok   1.17 (v1.17.2) [linux/amd64]
Kubernetes APIs:         ["CustomResourceDefinition", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "core/v1::Endpoint", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:    Strict
- NodePort:              Enabled [SNAT, 30000-32767]
- ExternalIPs:           Enabled
- HostReachableServices: Enabled [TCP, UDP]
Cilium:                  Ok   OK
NodeMonitor:             Disabled
Cilium health daemon:    Ok
IPAM:                    IPv4: 4/65535 allocated from <IP_ADDRESS>/16,
Controller Status:       17/17 healthy
Proxy Status:            OK, ip <IP_ADDRESS>, port-range 10000-20000
Cluster health:          0/1 reachable   (2020-02-05T14:02:54+01:00)
  Name                IP              Reachable   Endpoints reachable
    ceuse (localhost)   <IP_ADDRESS>       true        false

Perhaps makes sense to slightly adapt the output for above case, for example:

Makes sense, will do it as a follow-up.

test-me-please


display message : "No search found"

When we search for a book or an author then if the book is not there in our library then an error message "No search Found " should be displayed .

Hey, I can take this one, please assign to me. Thanks.


\n removed from regex

closes #13

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (001b3c7) 58.24% compared to head (b544baf) 58.24%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #20   +/-   ##
=========================================
  Coverage     58.24%   58.24%
  Complexity       23       23
=========================================
  Files             9        9
  Lines            91       91
  Branches          4        4
=========================================
  Hits             53       53
  Misses           35       35
  Partials          3        3

Impacted Files
Coverage Δ

src/main/java/ru/l3r8y/fake/FakeClass.java
62.50% <100.00%> (ø)

...in/java/ru/l3r8y/rule/MethodContainsAssigment.java
100.00% <100.00%> (ø)

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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@AndyWynham Thanks!


Outdated

Document appears out of date.

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

ID: f78b9024-9b93-51d0-2c37-de829bd43423
Version Independent ID: d0c40630-1219-eed1-67be-f22365aa7f00
Content: Azure SQL Auditing for Azure SQL Database and Azure Synapse Analytics - Azure SQL Database
Content Source: azure-sql/database/auditing-overview.md
Service: sql-database
Sub-service: security
GitHub Login: @sravanisaluru
Microsoft Alias: srsaluru

Hi @amhaugen , thanks for your feedback! I see the last time the article was updated was earlier this year. Would you mind clarifying what appears outdated?
Thanks!
Masha from the SQL Docs team

@MashaMSFT @amhaugen - Andy, thanks for the feedback! We're making updates to this document at the moment, and it should be released later this week or next.
#assign:VanMSFT

#close


Tiles  -Support for OPOP: ST-581v9 Premium unit and maybe for other controllers which are using the same tiles

Support for OPOP: ST-581v9 Premium unit
I have to mention that I'm not a developer. I'm sure that the code can be optimized... This variant is working fine for my controller from a couple of months.
It is not supporting any setting update or value change for tiles - it's more like for monitoring.

Curious why was it closed? Was it abandoned as not working?

The whole project is abandoned, just try to find active fork.

Those features #7 and #15  are finally done in dev branch. @jaanek @nepozs @alevike  please test it out and report any issues. I will marge is to master hopefully soon.
Few words of explanations it took so long. During the development of this feature I was trying to get some simple support from Tech (answer on their APIs), but they didn't provide it although they promised it. After long time of reminding myself to them, winter was over and I lost both time and motivation. This winter I found out how many people were interested in this integration and even some people put effort for further development of this integration and so I regained bit of motivation. Anyway I don't have anything against forking this repo and moving forward if I lost it again :)

I have a ST-581v9 Premium unit and it's working now. Thank you.
However I have a valve for which it does not show a temperature, only shows "openingPercentage". There is a tile named "Built-in valve" with the following content:
{
      "id": 1012,
      "parentId": 0,
      "type": 23,
      "menuId": 2229,
      "orderId": null,
      "visibility": true,
      "params": {
        "description": "Built-in valve",
        "workingStatus": true,
        "valveNumber": 1,
        "currentTemp": 325,
        "returnTemp": 68,
        "setTempCorrection": 0,
        "openingPercentage": 11,
        "valvePump": 1,
        "boilerProtection": 0,
        "returnProtection": 0,
        "setTemp": 34,
        "txtId": 992
      }
    },

There is a "currentTemp" and "setTemp". I am mostly interested in "currentTemp" to extract that into a temp entity. If you have a chance could you please give me some pointers in code where I could add code for that?
Also as a second question, I suppose you are already familiar with emodul api, do they have an api way to start, stop pid operation? The way you can do it via their UI interface app with "Firing up" and "Dumping" actions?

@mariusz-ostoja-swierczynski To add to my last message ... or whether you might to know also if their api supports changing "Operation modes" also? as it's possible via their app UI.


fp8: add calibration scale for decode attention operators

@comaniac

Looks super clean lol
It'd be better to have a test to verify the correctness

I feel we can directly use fp16 for query (but use fp8 for kv) to avoid possible accuracy loss, but let's merge this first.


Is it possible to show bounding boxes stored in a JSON file?

I am wondering if it is possible to show bounding boxes on the image that are stored in a JSON file.

@tofighi Check the add_entry() method.
https://github.com/kyamagu/bbox-annotator/blob/master/bbox_annotator.coffee#L228
editor.add_entry({
    "top": 0,
    "left": 0,
    "width": 100,
    "height": 100,
    "label", "object"
})

Thanks but it does not work for me, probably because I am not using the right way to call the function. Let's say I am going to change the behavior of reset button in your demo example as follows:
  // Initialize the reset button.
  $("#reset_button").click(function(e) {
    annotator.clear_all();
  })

I would like to click on reset botton and the following label is desired to be added to the figure:
{
    "top": 0,
    "left": 0,
    "width": 100,
    "height": 100,
    "label", "object"
}

The following solution will not work, could you please help?
  // Initialize the reset button.
  $("#reset_button").click(function(e) {
    annotator.add_entry({
    "top": 0,
    "left": 0,
    "width": 100,
    "height": 100,
    "label", "object"
     })
  })

@tofighi You need to clear all first then add a desired one.
  // Initialize the reset button.
  $("#reset_button").click(function(e) {
    annotator.clear_all();
    annotator.add_entry({
      "top": 10,
      "left": 10,
      "width": 100,
      "height": 100,
      "label": "object"
    });
  });
  // Force initialization here by clicking the reset once at the beginning.
  $("#reset_button").click();

@kyamagu Worked perfectly.


V2 - Request Authorization email content issues

Prerequisite

Create a CLA group with CCLA enabled
Add github repository for the CLA group
Generate template
Company should have signed CLA for the project

Steps to Follow

Login to Github as individual contributor
Navigate to the repository used in prerequisite
Create PR
CLA check fails
Click on CLA NOT SIGNED
Contributor is redirected to Contributor Console
Click on Proceed as a Corporate Contributor
Search and Select the Company
Click Proceed
Click on Request Authorization for the CLA Manager
Request is submitted and email is sent to the CLA Manager
Observed below issues in email content

Links in the email are pointing to V1 url's
Contributor message is displayed, however there is no option in the contributor console for the contributor to enter message. Is the message harcoded?
Steps to be followed to add contributor to approved list for V1 and not V2 UI

@nirupamav will investigate. I searched the code and didn't find anything hard-coded with the message text.

@rinkeshbhutwala can you coordinate with @nirupamav to determine if this issue is still valid?

@rinkeshbhutwala
I observed that email format has been changed and above issues are fixed. However observed below issues

CLA group name is displayed instead of project name
Contributor email Id is not displayed (Contributor email is not public in Github. But how can the CLA Manager add the contributor to approval list? In this case will the CLA Manager be forced to add by github username?)

Try to include the user's email, if available.

This API call seems to be called by the v2 Contributor Console.  At this point, the contributor console only has access to the CLA Group Name - not projects attached to this CLA Group.  I am updating the email content, the API, and the UI clearly indicate it's the CLA Group.
Created PR: https://github.com/communitybridge/easycla/pull/1566
and
v2 Corporate Console PR: https://github.com/communitybridge/easycla-contributor-console/pull/75
The email will contain as much information as we can gather from the user record. If we were able to extract the email, then the email will be added to the UI. @nirupamav LMK what you think about this: getUserFormattedDetails: https://github.com/communitybridge/easycla/pull/1566/files#diff-a86df26658aee4920dd2c86606e16c64R886

Merged PR's

Verified and observed that contributor emails are displayed in the email notification irrespective of whether github user emails is public or not
Github user with public email

Github user without public email

QA confirmed - closing issue.


Attribute values

You have some nice examples for defining a tree structure in your code. However, your code does not allow certain attribute values. The examples in your code use age where ages can be positive are negative(?) but do not allow a value of 0 -- Why? Suppose I wished to have an attribute at each node that represents the number of bytes for each node, e.g. Node("c",bytes=0,parent=root). When a node has 0 bytes your code will display the name of the node but not the value of 0. And why are integer values of ages converted to float values?
In general, I am very impressed by your bigtree package -- I use it quite often for zipping complex directories and encryption/decryption.  Keep up the good work :-)

There isn't any restrictions on the attribute values or data type conversions - can you provide examples where you cannot set the age attribute as 0 and when the integer value attributes get converted to float values?
For the conditional printing (i.e., print node name if byte=0, else display the byte value), you can use yield_tree for this. For example,
from bigtree import Node, yield_tree

# Construct tree
root = Node("a", byte=1)
b = Node("b", byte=0, parent=root)
c = Node("c", byte=1, parent=root)
d = Node("d", byte=-1, parent=b)

# Conditional printing
for branch, stem, node in yield_tree(root):
    if node.byte:
        print(f"{branch}{stem}{node.node_name} [byte={node.byte}]")
    else:
        print(f"{branch}{stem}{node.node_name}")

This will result in the output
a [byte=1]
├── c [byte=1]
└── b
    └── d [byte=-1]

Hope this helps!


Describe permitted styles for Python imports.

This is intended as a stop-gap until RFC-34 is implemented.

@jdswinbank I don't get the connection to RFC-45 here?

Offset by one key to the left...!

Reference discussion at https://lsstc.slack.com/archives/C2JPL8U78/p1542743358082100.

It's not clear to me whether this text rules out a third style:
from lsst.foo import Bar

That's also in common use (and is my current favorite for new code), so I'd at least like to avoid accidentally disallowing it.

Thanks @ktlim. I tweaked the wording a bit based on your suggestions (I like the idea to be consistent with the package, but some of our packages area already not consistent, so I tried to word around that), and will now merge.

Ah, but "statments" still leaked in 😄

Rats! I'd fix, but I see you're way ahead of me.


Typescript: silent is boolean

Just noticed a small error in Typescript. In Logger, the silent option is boolean (as it should be), but in LoggerOptions, it is declared as string. This small PR corrects the problem.

@DABH , if you have time to review… Thanks!

Merged, thanks for catching that!


Missing translation for saved destinations Work and Home in CarPlay display

ABRP v4.3.6 (2076)
iPhone 12 Pro iOS 16.3.1
Despite the words Work and Home in saved destinations on the iPhone display are translateable into user language (screenshot 1), the same words Work and Home in saved destinations at the CarPlay display (screenshot 2) are only in english language and not translateable.

Since ABRP v4.3.9 the words Home and Work in CarPlay Display are translated in user language.


Documentation: Clarify Lack of OOTB DITA-OT Support for PDF Changebar Flagging

Expected Behavior
The DITA-OT documentation for flagging suggests that the OT supports PDF changebar flagging in PDFs.
Users expect it to work with the default FOP processor.
Actual Behavior
If no version of the FOP processor supports changebar flagging and FOP is the default PDF processor for DITA-OT, the documentation should clarify that the OOTB DITA-OT does not support changebar flagging.
Possible Solution
Simply qualify the docs to note that FOP does not support changebar flagging.
Steps to Reproduce

Detach the attached files (below)

dita-ot-feature-tests.zip
.
2. Run the following command:
c:\dita-ot\bin\dita --input=test_001_pdf-changebars.ditamap --format=pdf --filter=test_001_pdf-changebars.ditaval --output=output\pdf

Review PDF output.

Copy of the error message, log file or stack trace
N/A
Environment

DITA-OT version: OOTB 3.2.1
Operating system and version: Windows and MacOS
How did you run DITA-OT?
See Steps to Reproduce above
Transformation type:
FOP PDF

dita-ot-feature-tests.zip

I added revision bar support to FOP and the patch was accepted but it doesn't appear to be in the 2.3 release and I have no idea when it will be released.
It is possible to compile FOP from the current development code and get revision bars (I'm using this with the client who funded the FOP fix).


Update app-service-plan-manage.md

Effect of moving a web app to a different subscription, hasn't been mentioned any where in the doc. I've added following for clarification.
'When you move an app to a different subscription, location of the app remains the same but its policy will be changed. For example, if your app is in Subscription1 located in Central US and has Policy1. And Subscription2 is in the UK South and has Policy2. If you move the app to Subscription2, the location of the app remains the same (Central US) however it will be under the new policy which is policy2.'

@msangapu-msft
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@msangapu-msft
Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. If the changes no longer apply, add an explanation and a #please-close comment to close the PR.
@MicrosoftDocs/public-repo-pr-review-team

Thank you for your feedback. We haven't seen too many issues surrounding policies, but will keep this in mind in case we expand the article to include more details. #please-close


Allow setting fake bold/strike/italic (and other Paint flags) via XML attributes

Note, that this issue has nothing to do with using different fonts or font glyphs, it is strictly about text-related Paint flags.
Right now one have to either use spans or manually set Paint flags in code to accomplish things like cheap fake bolding or strike-through. This makes for very messy code, just like manual management of Typefaces did before Calligraphy came to be. I believe, that this feature is also in scope of this library, and Calligraphy is the best place for implementing it.
I imagine, that implementation could look like
textPaintFlags="fakeBold|subPixel"

This is not in scope for Calligraphy, but there is something else I'm working on which would make this applicable.


[Bug] Apply an explicit style to an Entry using TextValidationBehavior with InvalidStyle

Description
from https://github.com/xamarin/XamarinCommunityToolkit/discussions/748
It seems impossible to apply an explicit style on an Entry which is using the InvalidStyle of TextValidationBehavior, you may say just append/add the explicit style to the InvalidStyle definition, but the issue is that the latter is only triggered upon text changed event I believe, thus the style won't be applied all the time.
Any ideas?
If I remove the Behaviors, SomeEntryStyle is applied, if I put back, only InvalidEntryStyle style will be applied when conditions met. the issue here is that SomeEntryStyle  should be applied regardless.
I am not sure if I am missing something or something needs to change/improve in xct that why I have put it as a bug for now.
Steps to Reproduce
      <Entry Text="text"
                   Placeholder="palceholder"
                   Style="{StaticResource SomeEntryStyle}">
                <Entry.Behaviors>
                    <xct:EmailValidationBehavior DecorationFlags="Trim"
                                                 InvalidStyle="{StaticResource InvalidEntryStyle}"/>
                </Entry.Behaviors>
            </Entry>

    <ContentPage.Resources>
        <Style x:Key="SomeEntryStyle"
               TargetType="Entry">
            <Setter Property="TextColor" Value="White"/>
            <Setter Property="PlaceholderColor" Value="Blue"/>
            <Setter Property="BackgroundColor" Value="Purple"/>
            <Setter Property="Visual" Value="Material"/>
        </Style>

        <Style x:Key="InvalidEntryStyle"
               TargetType="Entry">
            <Setter Property="TextColor" Value="Red"/>
        </Style>
    </ContentPage.Resources>

Basic Information

Version with issue: 1.0.2
Last known good version: -
IDE: vs2019
Platform Target Frameworks: All

Hi
The problem is that InvalidStyle overrides Style, right?
you can set Valid style instead of setting Style property

Hi
The problem is that InvalidStyle overrides Style, right?
you can set Valid style instead of setting Style property

@AndreiMisiukevich it will not work because only one style will be applied at a time either valid or invalid.
In my example I want that PlaceholderColor, BackgroundColor and Visual properties are always applied from SomeEntryStyle weather is it valid or no.
It will be nice if invalidstyle will only override concerned properties (in example TextColor) not overwrite the whole style. A solution would be to define styles like this (but it is duplicate and ugly):
        <Style x:Key="InvalidEntryStyle"
               TargetType="Entry">
            <Setter Property="TextColor" Value="Red"/>
            <Setter Property="PlaceholderColor" Value="Blue"/>
            <Setter Property="BackgroundColor" Value="Purple"/>
            <Setter Property="Visual" Value="Material"/>
        </Style>

        <Style x:Key="ValidEntryStyle"
               TargetType="Entry">
            <Setter Property="TextColor" Value="White"/>
            <Setter Property="PlaceholderColor" Value="Blue"/>
            <Setter Property="BackgroundColor" Value="Purple"/>
            <Setter Property="Visual" Value="Material"/>
        </Style>

      <Entry Text="text"
                   Placeholder="palceholder">
                <Entry.Behaviors>
                    <xct:EmailValidationBehavior DecorationFlags="Trim"
                                                 InvalidStyle="{StaticResource InvalidEntryStyle}"
                                                 ValidStyle="{StaticResource ValidEntryStyle}"/>
                </Entry.Behaviors>
            </Entry>

@AndreiMisiukevich it will not work because only one style will be applied at a time either valid or invalid.
In my example I want that PlaceholderColor, BackgroundColor and Visual properties are always applied from SomeEntryStyle weather is it valid or no.
It will be nice if invalidstyle will only override concerned properties (in example TextColor) not overwrite the whole style. A solution would be to define styles like this (but it is duplicate and ugly):
        <Style x:Key="InvalidEntryStyle"
               TargetType="Entry">
            <Setter Property="TextColor" Value="Red"/>
            <Setter Property="PlaceholderColor" Value="Blue"/>
            <Setter Property="BackgroundColor" Value="Purple"/>
            <Setter Property="Visual" Value="Material"/>
        </Style>

        <Style x:Key="ValidEntryStyle"
               TargetType="Entry">
            <Setter Property="TextColor" Value="White"/>
            <Setter Property="PlaceholderColor" Value="Blue"/>
            <Setter Property="BackgroundColor" Value="Purple"/>
            <Setter Property="Visual" Value="Material"/>
        </Style>

      <Entry Text="text"
                   Placeholder="palceholder">
                <Entry.Behaviors>
                    <xct:EmailValidationBehavior DecorationFlags="Trim"
                                                 InvalidStyle="{StaticResource InvalidEntryStyle}"
                                                 ValidStyle="{StaticResource ValidEntryStyle}"/>
                </Entry.Behaviors>
            </Entry>

@AndreiMisiukevich is this to be considered as a verified bug or an enhacement ?

@AndreiMisiukevich is this to be considered as a verified bug or an enhacement ?

Actually, I am not sure that such behavior can be implemented at all...

@AndreiMisiukevich I believe the VSM approach will be a solution to this issue.

Closed in https://github.com/xamarin/XamarinCommunityToolkit/pull/955


add support for a logging callback in unity server plugin

debugging the unity server plugin is really complicated. This improves the situation by enabling an easy way to emit logging data from within the plugin, and handle this data in our unity scripting. 🐛 😸

/sigh looks like my editor using the wrong tab/spacing. will fix. blocking on that.

unblocking - fixed spacing

LGTM. I just have one minor suggestion and this PR doesn't have any null context issue.

@phongcao re: null context issue, thanks for checking. i'm wondering if some of my recent pain has been due to that stale lib we discovered today - i'll try this again and see if perhaps the issue is resolved on my machine as well!


257 request metrics

Close #257. Merge #318 first.
To Do:

[ ] Aggregate and show no. of highlighted messages
[ ] Aggregate and show no. of contributors that received a request
[x] Rename RequestMiniStats to RequestMiniMetrics
[x] Use Metric component for RequestMiniMetrics
[x] Move card styles from Box into separate Card component

In order to keep the scope of this PR smaller, I decided not to include changes necessary to aggregate additional stats (total no. users that received a request, no. of highlighted messages). I’ve created a new issue #322 for these two metrics.

Agreed

That of what I wanted to do. I versteif a separate issue for the remaining tasks.


This Month in Rust OSDev (February 2022)

it's time for our monthly newsletter again! Please add all the content you want to include by opening a pull request against the next branch in the next few days.
There is one small change to the template this month. To make it clearer that this organization is a community effort, I would like to list the maintainers for all rust-osdev projects. I hope this is fine with everyone.
cc @rust-osdev/all

I have an update for February, pls hang on - i will try to submit it tonight.

I have an update for February, pls hang on - i will try to submit it tonight.

@berkus I plan to publish the post in a few hours, so if you still want to submit something, please do that as soon as possible.

I'm going to merge and release this now. @berkus We can still add your February update after publishing if you like, just file your PR against main instead of next.

Published at https://rust-osdev.com/this-month/2022-02/.

Ok, sorry, I got dragged into all sorts of other stuff meanwhile :(
I guess I will just submit it to the March update instead.

Ok, no worries!

@phip1611 Yes, of course! Sounds like a great candidate for this newsletter!

@phip1611 I think, as an OSdev forum we want to highlight (aka propaganda) things that people did themselves, for themselves, in the OSdev area, and hope it will be useful for others or at least give them interesting ideas. So you're definitely welcome!


Fix ability to build release builds

Also fixed a typo in big_red_button script where
we were passing 'gn' to the 'gn' script.
<EMAIL_ADDRESS>

LGTM


Completely rewrite provider login with new architecture

Built on top of #1188

@samtstern This is going to be the biggest PR by far since it requires major refactors across a large portion of the FUI API surface. The basic ideas are as follows:

Providers are now middlemen to talk between the UI layer and their "handlers".
Each handler is in charge of processing whatever work needs to be done in the background or otherwise to generate an IdpResponse which is then reported back to the provider middleman who then reports it back to the activity scoped provider handler who's then in charge of signing the user in and reporting that result back to the activity. Whew! It's quite a long chain, but it makes sure everything is cleanly separated and no memory leaks can occur.
IdpSignInContainer is dead! 👏 It's been replaced with a dead-simple activity inspired from the credentials one you wrote.

@SUPERCILEX well this is up next, after merges are resolved.  Right?

@samtstern Yep, I'm working on tests right now.

@samtstern Alrighty!
The next PR is only a few hundred lines of code so once we get passed this, we'll be on a roll! 🥂 (My poor attempt at a motivational speech and apology for making this PR so big. 😆)

Thanks for the great feedback, I don't mind at all! 😊 I'll address your flow questions here. Things should hopefully seem much clearer now:

ProviderBase holds the context related stuff plus a LiveData with an IdpResponse so people can subscribe to "provider responses."
ProviderResponseHandler takes in an IdpResponse and converts it to a Firebase Auth sign-in, then simply flushes the response through (though that can certainly change if need be in the future).
ProviderHandlerBase is in charge of getting a response for a specific provider implementation from their backend.

I'd recommend looking at these classes from a package perspective:

ui -> ProviderBase
viewmodel -> ProviderResponseHandler
remote -> ProviderHandlerBase

Once everything clicks, I think you'll appreciate the clean separation we have rockin! 😁

Ok I have spent an hour staring at things and I think we can beat a little more sense into the class hierarchy still.  Here are the bits that still seem somewhat off to me.
ProviderBase

This class does a few somewhat unrelated things.  The first thing it does is serve as a holder for a StringRes and a LayoutRes.  These are constants per-provider.  We could move these out into a separate class called ProviderView and store them in a simple static map somewhere from String --> ProviderView so you could just do map.get(PROVIDER_ID).getNameRes() and be done with it.

The second thing this class does is hold a ProviderHandlerBase, at least for IDPs.  The fact that the class holds one of these is not evident from reading the ProviderBase class definition (small problem in itself) but in practice, that's what it does.  It seems that the startLogin, onActivityResult and getResponseListener methods are little more than dumb proxies for the same methods in the ProviderHandlerBase.

The two classes that act differently here are EmailProvider and PhoneProvider, since rather than talking to a Handler they kick off some other activity and wait for the response.  So maybe this is the justification for the whole abstraction?

ProviderHandlerBase

This is only used for social providers (Google, Facebook, etc) whereas Phone and Email are handled locally.  However this is not clear from the class hierarchy because ProviderBase does not make any distinction and the class names don't either.

Could the phone and email logic be pushed into a ProviderHandlerBase?  Or would it not fit that model?

ProviderResponseHandlerBase

This is basically an AuthViewModel with an extra sign in method.
Has only two subclasses, SimpleProviderResponseHandler and LinkingProviderResponseHandler.
There's only one place where we use the base class as either an argument or a return type (in `AuthMethodPickerActivity.populateIdpList)
I'm wondering if we can just remove the base layer of abstraction here at the expense of an extra if block in the auth method picker?

Thanks for the really thoughtful feedback!
ProviderBase
TBH, this was just around because it was there before. I've looked at where some of the methods are being used and just inlined stuff. I've also moved the sign-in start process to the handler with a HUGE warning not to use the activity outside of that method.
ProviderHandlerBase has been squishified into ProviderBase.
ProviderResponseHandlerBase Yup, I did that in an earlier commit.
Ok, what do you think of https://github.com/SUPERCILEX/FirebaseUI-Android/commit/e9470309dbfb68caf0b45216afed3f13d6abe17b? I think we've finally reached critical mass and there's nothing left to remove. 😆

@SUPERCILEX wooo!  I have to head out a bit early today but on first pass :+1:
I think this is really clear now, and also more lines deleted than added!  Not bad for a refactor that makes everything work better.

Alrighty, SGTM! Thanks!

@SUPERCILEX thanks for all the back and forth, all of this code is really clear now (or as clear as the tangled auth mess that is the AuthUI flow will ever be!).
I am going to merge this PR now, if you had any TODOs we can add them to your next one.
Congrats on making this happen, get yourself a beer (or two, or orange juice, or whatever, do you).

YASSSSSSSS!


Custom triggers

This is a first attempt to support custom triggers. Now custom triggers can be set up using the configuration. I tried to make it as easy as possible to get any information and so far I've reduced it to two lines to get anything, which I think is okay.
Any feedback and suggestions are welcome :-)

This is looking good!

I don't have a particular opinion on a global config. But I do prefer having a config table passed to each call (such as the get_commits one), such that the global config can be easily overwritten without restoring and changing it every call.
But for now I'll clean some things up.

From my side this is done. If you (@petertriho) don't have anything to add, I'll squash the commits and merge it. I have some refactoring ideas which I would like to do after this, but this is quite large already

Everything looks ready to merge from me


question of the python version when compiling

should I compile it with python2.7 and then train/test with python3.6 ?
what about the version of torch when compile the code？

i compile and train in the same conda env
my torch version is 1.0

what is the python version when you compile, python 3.6 or python 2.7? @bigbigdinosaur


Improve msg to user api

Codecov Report
Patch coverage: 43.54% and project coverage change: -0.53% :warning:

Comparison is base (8d1aa62) 96.05% compared to head (21ca3af) 95.52%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   96.05%   95.52%   -0.53%
==========================================
  Files          84       84
  Lines        6209     6259      +50
==========================================
+ Hits         5964     5979      +15
- Misses        245      280      +35

Flag
Coverage Δ

unittests
95.52% <43.54%> (-0.53%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

spacepackets/cfdp/tlv.py
91.78% <35.18%> (-6.07%)
:arrow_down:

tests/cfdp/tlvslvs/test_msg_to_user.py
100.00% <100.00%> (ø)

tests/cfdp/tlvslvs/test_proxy.py
100.00% <100.00%> (ø)

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


Script fails when run

Multiple errors when running script in Powershell.
PS C:> .\Windows10Debloater.ps1 -Start-Debloat -Remove-Keys -Protect-Privacy -Stop-EdgePDF
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Windows10Debloater.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): R
At C:\Windows10Debloater.ps1:132 char:19

              ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:136 char:19

              ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:141 char:19

              ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:146 char:19

              ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:150 char:19

              ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:2508 char:227

... g:0;display:inline"><input name="utf8" type="hidden" value="✓" ...

                                                            ~

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\Windows10Debloater.ps1:2511 char:10

     ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:2527 char:24

© 2018 <span title="0.15683s from unicorn ...

                   ~

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string.
At C:\Windows10Debloater.ps1:2527 char:36

© 2018 <span title="0.15683s from unicorn ...

                               ~

The '<' operator is reserved for future use.
At C:\Windows10Debloater.ps1:2527 char:42

...  2018 GitHub</sp ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'title="0.15683s from unicorn-2504035863-4s1t0">GitHub' in expression or statement.
Not all parse errors were reported.  Correct the reported errors and try again.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : RedirectionNotSupported
PS C:>

Hi Shufty,
The Windows10Debloater.ps1 file does not use any of those parameters, but the Windows10SysPrepDebloater.ps1 file does.
The parameters that the Windows10SysPrepDebloater.ps1 uses are as follows:
-SysPrep, -Debloat, and -StopEdgePDF
Please try again with the other file and let me know how it works.

Any update on this?

Downloaded script today and got multiple errors.
PS C:\WINDOWS\system32> f:\Windows10SysPrepDebloater.ps1 -SysPrep -Debloat -StopEdgePDF
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. If you trust
this script, use the Unblock-File cmdlet to allow the script to run without this warning message. Do you want to run
F:\Windows10SysPrepDebloater.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): R
At F:\Windows10SysPrepDebloater.ps1:132 char:19

              ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:136 char:19

              ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:141 char:19

              ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:146 char:19

              ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:150 char:19

              ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1479 char:227

... g:0;display:inline"><input name="utf8" type="hidden" value="✓" ...

                                                            ~

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to
pass it as part of a string.
At F:\Windows10SysPrepDebloater.ps1:1482 char:10

     ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:24

© 2018 <span title="0.24799s from unicorn ...

                   ~

The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to
pass it as part of a string.
At F:\Windows10SysPrepDebloater.ps1:1498 char:36

© 2018 <span title="0.24799s from unicorn ...

                               ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:42

...  2018 GitHub</sp ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'title="0.24799s from unicorn-1384281968-3f9rq">GitHub' in expression or statement.
Not all parse errors were reported.  Correct the reported errors and try again.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : RedirectionNotSupported

Did you run it as an administrator?
On Wed, Mar 7, 2018, 7:47 AM vaidotaskia<EMAIL_ADDRESS>wrote:

Downloaded script today and got multiple errors.
PS C:\WINDOWS\system32> f:\Windows10SysPrepDebloater.ps1 -SysPrep -Debloat
-StopEdgePDF
Security warning
Run only scripts that you trust. While scripts from the internet can be
useful, this script can potentially harm your computer. If you trust
this script, use the Unblock-File cmdlet to allow the script to run
without this warning message. Do you want to run
F:\Windows10SysPrepDebloater.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
At F:\Windows10SysPrepDebloater.ps1:132 char:19

             ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:136 char:19

             ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:141 char:19

             ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:146 char:19

             ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:150 char:19

             ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1479 char:227

... g:0;display:inline"><input name="utf8" type="hidden" value="✓"
...

                                                           ~

The ampersand (&) character is not allowed. The & operator is reserved for
future use; wrap an ampersand in double quotation marks ("&") to
pass it as part of a string.
At F:\Windows10SysPrepDebloater.ps1:1482 char:10

    ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:24

© 2018 <span title="0.24799s from unicorn ...

                  ~

The ampersand (&) character is not allowed. The & operator is reserved for
future use; wrap an ampersand in double quotation marks ("&") to
pass it as part of a string.
At F:\Windows10SysPrepDebloater.ps1:1498 char:36

© 2018 <span title="0.24799s from unicorn ...

                              ~

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:42

... 2018 GitHub</sp ...

           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'title="0.24799s from unicorn-1384281968-3f9rq">GitHub'
in expression or statement.
Not all parse errors were reported. Correct the reported errors and try
again.

CategoryInfo : ParserError: (:) [], ParseException
FullyQualifiedErrorId : RedirectionNotSupported

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Sycnex/Windows10Debloater/issues/9#issuecomment-371181518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHCc4HHf_nMlhDen0vN3l6ZadNqrBX9vks5tcADbgaJpZM4SQRIy
.

Yes.
Win+X
WindowsPowerShell (Admin)
OS build 16299.251
On Wed, Mar 7, 2018 at 6:17 PM, Richard Newton<EMAIL_ADDRESS>wrote:

Did you run it as an administrator?
On Wed, Mar 7, 2018, 7:47 AM vaidotaskia<EMAIL_ADDRESS>wrote:

Downloaded script today and got multiple errors.
PS C:\WINDOWS\system32> f:\Windows10SysPrepDebloater.ps1 -SysPrep
-Debloat
-StopEdgePDF
Security warning
Run only scripts that you trust. While scripts from the internet can be
useful, this script can potentially harm your computer. If you trust
this script, use the Unblock-File cmdlet to allow the script to run
without this warning message. Do you want to run
F:\Windows10SysPrepDebloater.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
At F:\Windows10SysPrepDebloater.ps1:132 char:19

~
The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:136 char:19

~
The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:141 char:19

~
The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:146 char:19

~
The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:150 char:19

~
The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1479 char:227

... g:0;display:inline"><input name="utf8" type="hidden" value="✓"
...

~
The ampersand (&) character is not allowed. The & operator is reserved
for
future use; wrap an ampersand in double quotation marks ("&") to
pass it as part of a string.
At F:\Windows10SysPrepDebloater.ps1:1482 char:10

~
The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:24

© 2018 © 2018 https://github.com/notifications/unsubscribe-auth/AHCc4HHf_
nMlhDen0vN3l6ZadNqrBX9vks5tcADbgaJpZM4SQRIy>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Sycnex/Windows10Debloater/issues/9#issuecomment-371192262,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Agc7nvVzTDu7q4W926VsBKb0wr89nq8dks5tcAgUgaJpZM4SQRIy
.

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:42
+ ...  2018 GitHub</sp ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'title="0.24799s from unicorn-1384281968-3f9rq">GitHub' in expression or statement.

It looks like you downloaded some HTML page instead of the PS1 script

Thanks,
it was my mistake.
Downloaded html page instead of copy/pasting source to a new file.
--
Vaidotas
On Mon, Mar 12, 2018 at 1:01 PM, SBF<EMAIL_ADDRESS>wrote:

The '<' operator is reserved for future use.
At F:\Windows10SysPrepDebloater.ps1:1498 char:42

...  2018 GitHub</sp ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unexpected token 'title="0.24799s from unicorn-1384281968-3f9rq">GitHub' in expression or statement.
It looks like you downloaded some HTML page instead of the PS1 script
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Sycnex/Windows10Debloater/issues/9#issuecomment-372270657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Agc7ntItIIBskrqhCJNs5KgAikUaJuXIks5tdlWigaJpZM4SQRIy
.

Yes sorry! I ended up using the other script Windows10SysPrepDebloater.ps1 and it seems to work well! Only problem is that it seems to skip some apps, but that's a different problem I guess. You can close this thanks.


bugfix: sealos run error

root@lmaster:~# sealos run docker.io/labring/kustomize:v4.5.6
Error: master ip(s) must specified
master ip(s) must specified

such errors will happen

'sealos run' the first time and more should be differentiated.
root@lmaster:~/install/sealos/cmd/sealos# kubectl get nodes
NAME      STATUS   ROLES           AGE   VERSION
lmaster   Ready    control-plane   15h   v1.24.0
root@lmaster:~/install/sealos/cmd/sealos# sealos run --nodes <IP_ADDRESS>
Error: image can not be empty
image can not be empty
root@lmaster:~/install/sealos/cmd/sealos# cd ..
root@lmaster:~/install/sealos/cmd# cd ..
root@lmaster:~/install/sealos# grep -r "image can not be empty"
pkg/apply/run.go:               return fmt.Errorf("image can not be empty")
grep: bin/linux_arm64/sealos: binary file matches
root@lmaster:~/install/sealos# cd cmd
root@lmaster:~/install/sealos/cmd# cd sealos
root@lmaster:~/install/sealos/cmd/sealos# go build -o sealos main.go
root@lmaster:~/install/sealos/cmd/sealos# mv sealos /usr/bin
root@lmaster:~/install/sealos/cmd/sealos# sealos run --nodes <IP_ADDRESS>
2023-01-12T10:41:48 info start to scale this cluster
2023-01-12T10:41:48 info Executing pipeline JoinCheck in ScaleProcessor.
2023-01-12T10:41:49 info checker:hostname [<IP_ADDRESS>:22 <IP_ADDRESS>:22]
2023-01-12T10:41:49 info checker:timeSync [<IP_ADDRESS>:22 <IP_ADDRESS>:22]
2023-01-12T10:41:49 info Executing pipeline PreProcess in ScaleProcessor.
2023-01-12T10:41:49 info Executing pipeline PreProcessImage in ScaleProcessor.
2023-01-12T10:41:49 info Executing pipeline RunConfig in ScaleProcessor.
2023-01-12T10:41:49 info Executing pipeline MountRootfs in ScaleProcessor.
2023-01-12T10:42:13 info Executing pipeline Bootstrap in ScaleProcessort/s)
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:13] >> check root,port,cri success
<IP_ADDRESS>:22: Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /etc/systemd/system/containerd.service.
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:16] >> Health check containerd!
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:16] >> containerd is running
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:16] >> init containerd success
<IP_ADDRESS>:22: Created symlink /etc/systemd/system/multi-user.target.wants/image-cri-shim.service → /etc/systemd/system/image-cri-shim.service.
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:16] >> Health check image-cri-shim!
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:16] >> image-cri-shim is running
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:16] >> init shim success
<IP_ADDRESS>:22: <IP_ADDRESS> localhost
<IP_ADDRESS>:22: ::1 localhost ip6-localhost ip6-loopback
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-console-messages.conf ...
<IP_ADDRESS>:22: kernel.printk = 4 4 1 7
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-ipv6-privacy.conf ...
<IP_ADDRESS>:22: net.ipv6.conf.all.use_tempaddr = 2
<IP_ADDRESS>:22: net.ipv6.conf.default.use_tempaddr = 2
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-kernel-hardening.conf ...
<IP_ADDRESS>:22: kernel.kptr_restrict = 1
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-magic-sysrq.conf ...
<IP_ADDRESS>:22: kernel.sysrq = 176
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-network-security.conf ...
<IP_ADDRESS>:22: net.ipv4.conf.default.rp_filter = 2
<IP_ADDRESS>:22: net.ipv4.conf.all.rp_filter = 2
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-ptrace.conf ...
<IP_ADDRESS>:22: kernel.yama.ptrace_scope = 1
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/10-zeropage.conf ...
<IP_ADDRESS>:22: vm.mmap_min_addr = 32768
<IP_ADDRESS>:22: * Applying /usr/lib/sysctl.d/50-default.conf ...
<IP_ADDRESS>:22: kernel.core_uses_pid = 1
<IP_ADDRESS>:22: net.ipv4.conf.default.rp_filter = 2
<IP_ADDRESS>:22: net.ipv4.conf.default.accept_source_route = 0
<IP_ADDRESS>:22: sysctl: setting key "net.ipv4.conf.all.accept_source_route": Invalid argument
<IP_ADDRESS>:22: net.ipv4.conf.default.promote_secondaries = 1
<IP_ADDRESS>:22: sysctl: setting key "net.ipv4.conf.all.promote_secondaries": Invalid argument
<IP_ADDRESS>:22: net.ipv4.ping_group_range = 0<PHONE_NUMBER>
<IP_ADDRESS>:22: net.core.default_qdisc = fq_codel
<IP_ADDRESS>:22: fs.protected_hardlinks = 1
<IP_ADDRESS>:22: fs.protected_symlinks = 1
<IP_ADDRESS>:22: fs.protected_regular = 1
<IP_ADDRESS>:22: fs.protected_fifos = 1
<IP_ADDRESS>:22: * Applying /usr/lib/sysctl.d/50-pid-max.conf ...
<IP_ADDRESS>:22: kernel.pid_max = 4194304
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/99-cloudimg-ipv6.conf ...
<IP_ADDRESS>:22: net.ipv6.conf.all.use_tempaddr = 0
<IP_ADDRESS>:22: net.ipv6.conf.default.use_tempaddr = 0
<IP_ADDRESS>:22: * Applying /usr/lib/sysctl.d/99-protect-links.conf ...
<IP_ADDRESS>:22: fs.protected_fifos = 1
<IP_ADDRESS>:22: fs.protected_hardlinks = 1
<IP_ADDRESS>:22: fs.protected_regular = 2
<IP_ADDRESS>:22: fs.protected_symlinks = 1
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/99-sysctl.conf ...
<IP_ADDRESS>:22: * Applying /etc/sysctl.d/k8s.conf ...
<IP_ADDRESS>:22: net.bridge.bridge-nf-call-ip6tables = 1
<IP_ADDRESS>:22: net.bridge.bridge-nf-call-iptables = 1
<IP_ADDRESS>:22: net.ipv4.conf.all.rp_filter = 0
<IP_ADDRESS>:22: * Applying /etc/sysctl.conf ...
<IP_ADDRESS>:22: net.ipv4.ip_forward = 1
<IP_ADDRESS>:22: Firewall stopped and disabled on system startup
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:18] >> init kube success
<IP_ADDRESS>:22:  INFO [2023-01-12 10:42:18] >> init rootfs success
2023-01-12T10:42:18 info Executing pipeline Join in ScaleProcessor.
2023-01-12T10:42:18 info [<IP_ADDRESS>:22] will be added as worker
2023-01-12T10:42:18 info start to get kubernetes token...
2023-01-12T10:42:21 info start to join <IP_ADDRESS>:22 as worker
2023-01-12T10:42:21 info start to copy kubeadm join config to node: <IP_ADDRESS>:22
<IP_ADDRESS>:22: 2023-01-12T10:42:23 info domain apiserver.cluster.local:<IP_ADDRESS> append success
<IP_ADDRESS>:22: 2023-01-12T10:42:23 info domain lvscare.node.ip:<IP_ADDRESS> append success
2023-01-12T10:42:23 info registry auth in node <IP_ADDRESS>:22
<IP_ADDRESS>:22: 2023-01-12T10:42:24 info domain sealos.hub:<IP_ADDRESS> append success
2023-01-12T10:42:24 info run ipvs once module: <IP_ADDRESS>:22
<IP_ADDRESS>:22: 2023-01-12T10:42:24 info Trying to add route
<IP_ADDRESS>:22: 2023-01-12T10:42:24 info success to set route.(host:<IP_ADDRESS>, gateway:<IP_ADDRESS>)
2023-01-12T10:42:24 info start join node: <IP_ADDRESS>:22
<IP_ADDRESS>:22: W0112 10:42:25.004669 2291338 initconfiguration.go:120] Usage of CRI endpoints without URL scheme is deprecated and can cause kubelet errors in the future. Automatically prepending scheme "unix" to the "criSocket" with value "/run/containerd/containerd.sock". Please update your configuration!
<IP_ADDRESS>:22: [preflight] Running pre-flight checks
<IP_ADDRESS>:22:       [WARNING FileExisting-socat]: socat not found in system path
<IP_ADDRESS>:22:       [WARNING SystemVerification]: missing optional cgroups: blkio
<IP_ADDRESS>:22: [preflight] Reading configuration from the cluster...
<IP_ADDRESS>:22: [preflight] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -o yaml'
<IP_ADDRESS>:22: W0112 10:42:25.146736 2291338 utils.go:69] The recommended value for "healthzBindAddress" in "KubeletConfiguration" is: <IP_ADDRESS>; the provided value is: <IP_ADDRESS>
<IP_ADDRESS>:22: [kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
<IP_ADDRESS>:22: [kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
<IP_ADDRESS>:22: [kubelet-start] Starting the kubelet
<IP_ADDRESS>:22: [kubelet-start] Waiting for the kubelet to perform the TLS Bootstrap...
<IP_ADDRESS>:22:
<IP_ADDRESS>:22: This node has joined the cluster:
<IP_ADDRESS>:22: * Certificate signing request was sent to apiserver and a response was received.
<IP_ADDRESS>:22: * The Kubelet was informed of the new secure connection details.
<IP_ADDRESS>:22:
<IP_ADDRESS>:22: Run 'kubectl get nodes' on the control-plane to see this node join the cluster.
<IP_ADDRESS>:22:
2023-01-12T10:42:39 info succeeded in joining <IP_ADDRESS>:22 as worker
2023-01-12T10:42:39 info start to sync lvscare static pod to node: <IP_ADDRESS>:22 master: [<IP_ADDRESS>:6443]
<IP_ADDRESS>:22: 2023-01-12T10:42:40 info generator lvscare static pod is success
2023-01-12T10:42:40 info succeeded in scaling this cluster
2023-01-12T10:42:40 info
      ___           ___           ___           ___       ___           ___
     /\  \         /\  \         /\  \         /\__\     /\  \         /\  \
    /::\  \       /::\  \       /::\  \       /:/  /    /::\  \       /::\  \
   /:/\ \  \     /:/\:\  \     /:/\:\  \     /:/  /    /:/\:\  \     /:/\ \  \
  _\:\~\ \  \   /::\~\:\  \   /::\~\:\  \   /:/  /    /:/  \:\  \   _\:\~\ \  \
 /\ \:\ \ \__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/__/    /:/__/ \:\__\ /\ \:\ \ \__\
 \:\ \:\ \/__/ \:\~\:\ \/__/ \/__\:\/:/  / \:\  \    \:\  \ /:/  / \:\ \:\ \/__/
  \:\ \:\__\    \:\ \:\__\        \::/  /   \:\  \    \:\  /:/  /   \:\ \:\__\
   \:\/:/  /     \:\ \/__/        /:/  /     \:\  \    \:\/:/  /     \:\/:/  /
    \::/  /       \:\__\         /:/  /       \:\__\    \::/  /       \::/  /
     \/__/         \/__/         \/__/         \/__/     \/__/         \/__/

                  Website :https://www.sealos.io/
                  Address :github.com/labring/sealos
                BuildVersion: latest-

root@lmaster:~/install/sealos/cmd/sealos# kubectl get nodes
NAME      STATUS     ROLES           AGE   VERSION
lmaster   Ready      control-plane   15h   v1.24.0
node2     NotReady   <none>          8s    v1.24.0


Feature Request: Create and remove locks within a jenkinsfile

It would be ideal to create an arbitrary lock and use it for a period of time, and optionally delete it. Having a self-creating and self-deleting lock would give the ability to lock resources which definitions change frequently but is already tracked in code.
Example usage could look like:
def app_name = 'my-awesome-app'
// ...snip...
lock(resource: "${app_name}:staging", ephemeral: true) {
   // ... lock created and acquired... deploy this app to the staging environment
}
// by this point the lock is released and destroyed

where the lock name my-awesome-app:staging would be created and reserved by the pipeline, and once the lock is out of scope it is deleted. Maybe even allow someone the ability to control create and delete actions: lock(resource: ..., create: true, delete: false) { ... }
I realize this is very similar to #103 but didn't want to hijack that conversation for something that has clearly different features (but also a lot of overlap).

I have implemented this in #124

So this issue can be closed?

Will be in the next release, see #138.

@TobiX : When is the next release, I am waiting for this change.


Create art.txt

@aelzyat15 First stage of verification passed, official domain is sohag-univ.edu.eg as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://staffsites.sohag-univ.edu.eg/yasser_saleem

@aelzyat15 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Move pre-specializations of popular types away from the stdlib

Pre-specializations were only used by Onone builds, but were kept inside the standard library dylyb anyways. This commit moves all the pre-specializations into a dedicated Swift module and a dynamic library, which are only used by Onone builds.
This reduces the code size of libswiftCore.dylib by 4%-5%.
This PR fixes some problems discovered when trying to merge the PR #1392:

There were some issues with debug builds

The new library was not using -parse-stdlib
CMake rules for Swift files were not making sure that they always depend on SwiftOnoneSupport

Not all pre-specializations available when Prespecialized.swift was part of the stdlib were available in this new dedicated library for Onone.

@swift-ci Please test

@phausler @parkera I'm ready to merge on my side. But I still need your corresponding foundation changes to be committed, otherwise the Linux build will fail. Please see my email for details.

@swiftix can you provide a pull request with the appropriate changes to the build scripts?

@phausler Will do.

@phausler I provided a PR you asked for. You can review it at https://github.com/apple/swift-corelibs-foundation/pull/266

@phausler Please let me know when you are ready to merge, so that we can do it in sync to avoid any broken builds.


📖 Extend packaging.md

Summary
This PR tries to fill out the description of the OCM status addon, and discovers that there is not much ready to say about the OCM transport plugin.
Related issue(s)
Fixes #

/cc @pdettori
/cc @nirrozenbaum
/cc @ezrasilvera

@MikeSpreitzer This is a very detailed explanation of the package relations. I assume we will also have a simpler guide just explaining how to publish the images and what to be aware of when creating when creating images or releases - taking into account all the dependencies mentioned in this doc.

@ezrasilvera : I am not sure about a doc focused on just how to build images. Frankly, I have open questions about how images should be built. I expect there will be a doc about how to make a release. I am not sure how interconnected things, and thus doc about them, will be. Do not yet want to promise that building an image is a meaningful thing to doc on its own.

More generally about other documentation: we have open design questions to settle about our operations, and documentation to write about that after or as part of resolving those questions. All that needs to be informed by the information about the packaging and dependencies and the existing procedures for building and publishing. I am starting with documenting that.

The force-push to 49a9b404f updates the description of the versions in the ocm-status-addon-chart.

The force-push to bb63972d0 recognizes that helm enforces the equation that the OCI tag of a chart image equals the "version" in Chart.yaml.

/cc @francostellari

I think we need to decide/standardize the container images to have or not have the v in front of the version.
So do, some don't.
For example the text mentions a helm:v3.14.0 but we have a helm:3.14.0

my preference is to leave out the v.

I vaguely recall that something relevant insists on the "v" prefix, but do not recall what that is right now.

The force-push to a8aa77211 makes changes responding to the review above.

Regarding starting with "v", here's a biggie: https://go.dev/ref/mod#versions

@clubanderson , @francostellari : the question of what we should do what not my intent to address here, this was only intended to document the present truth. Let's continue to discuss what we should do under #1732 .

/approve


Make sure we open a new instance of a custom chrome chrome tab

This PR ensures that when we call .open(uri) on Android we are opening a fresh instance of Chrome Custom Tab.
Currently, when the user navigates back to the app using a deep link, the Chrome Custom Tab instance is not destroyed and when the user wants to launch a new instance they will find  themself inside an outdated instance with a wrong URL.

I have added singleInstance boolean option for the Android ChromeSafariBrowser implementation to launch a different activity that extends the base one. This way the launch mode is not a constraint for other people that don't want always singleInstance.


Question: does fair locking work when used from within multiple Java VMs?

Hi,
I'm interested in using the fair locking feature from Reddison. But it looks like it doesn't work properly when used from within multiple Java VMs. Unless I'm missing something.
The reason: Reddison uses the thread ID when acquiring a lock. A thread ID in Java is not a UUID, but an integer that's unique only within a single VM:
public void lockInterruptibly(long leaseTime, TimeUnit unit) throws InterruptedException {
  long threadId = Thread.currentThread().getId();
  Long ttl = tryAcquire(leaseTime, unit, threadId);
  ...
}

Could anyone clarify this please?

RFairLock object could be used by multiple JVMs. threadId is used to enforce unlock method invocation. According to Java Lock specification only thread acquired lock can unlock it.

Ok, thanks. Will look into this.


Error producing PDF. ! LaTeX Error: Missing \begin{document} in Windows

Template works perfect in Linux environment. In Windows (7) unfortunately I get only the error message
Error producing PDF.
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.384   \kvsetkeys{mdf}{framemethod=default,}

Pandoc works fine with other templates. I tried the examples from github folder here with same result.

By generating tex code through pandoc, I found that the problem results from the blockquote definition.
If I remove this part from the tex file it compiles:
%
% blockquote
%
\definecolor{blockquote-border}{RGB}{221,221,221}
\definecolor{blockquote-text}{RGB}{119,119,119}
\usepackage{mdframed}
\newmdenv[rightline=false,bottomline=false,topline=false,linewidth=3pt,linecolor=blockquote-border,skipabove=\parskip]{customblockquote}
\renewenvironment{quote}{\begin{customblockquote}\list{}{\rightmargin=0em\leftmargin=0em}%
\item\relax\color{blockquote-text}\ignorespaces}{\unskip\unskip\endlist\end{customblockquote}}
```

This seems to be a very recent problem with the package etoolbox: https://tex.stackexchange.com/questions/414079/mdframed-broken-in-texlive2017. You can update your packages via the MiKTeX package manager and the problem should go away.

Unfortunately that dies not help. But putting the most recent toolbox files directly in the project folder works. Also manually updating the etoolbox package in the minted folder does not help.
Problem only occurs in Windows though. No problems with texlive installation in Ubuntu.


Remove

It is impossible to remove the module. And does not change the permissions on the directory. What to do?

You can remove module from your composer.json and then run composer update and composer will completely unistall the module.


added environments/development

What does this PR do?
added environments/development

sorry ment to use my fork


Feature request: output  elements as tables

What do you think of the idea ?
Maybe this could be enabled through a CLI flag.
It could be done relatively easily using tabulate, PrettyTable or Pylsy.

That's an interesting idea. I have been using a bookmarklet to extract tables from webpages as CSV files.
A command line tool for this have crossed my mind a few times.
The default output format for tq is till plain text, but I am pretty sure that most people that script tq, use the json options as the provide the ability to properly consume the extracted data. For example with jq.
We could define a flag to enable table parsing and throw an error if the selected element is not a table. The output could be by default in json lines. An json array of strings per line. This would be the bare minimum functionality as one can always pipe to another command for formatting. jq can do this, for example: https://stackoverflow.com/questions/39139107/how-to-format-a-json-string-as-a-table-using-jq
Although that migt be to intricate. An extra switch to format the ouput can also be added.

I checked prettytable.   No dependencies. To the point.
Posting the link in here for future me :)
https://github.com/jazzband/prettytable

Ahaha, maybe we have been using the same bookmarklet ^^
Mine is here: https://github.com/Lucas-C/dotfiles_and_notes/blob/master/languages/web-d3/bookmarklets.md#table2csv
Glad you like the idea :)

Ok, let's get the ball rolling on this one.
UI
Activate this feature with a CLI flag. Perhaps ''-T'' or ''--table''. I'm tempted to support only the latest as ''-t'' is already taken for tex,t and having -T and -t doing two very different things may be difficult to remember. Although there's already ''-J'' and ''-j''.
It might be useful to include an extra flag to omit the table headers.
Behavior
Is there any use in being able to select the html inside table cells? I am not sure may people, if any would have an use for this. Supporting innerText only feels like the way to go. Which is to say that, if we do choose ''-T'', it would imply ''-Tt''.
Select just one table element. If more than one matches, pick the first. This is not how tq behaves otherwise, but I don't see much of a use case for extracting many tables at once. Now that there i support for fancier css selectors, it's possible to use for example ''nth-match'' to get the desired table.
How strict should we be with selection?
It might introduce a bit of confusion, but I've been thinking about relaxing selection a little bit and look for the first table element inside the selected node. For example, one could pass ''body'' as a quick efortless way to retrieve the data from the first table in the page.
Output
This is the trickiest. Pipeline composability is an important goal. This is a command line tool in the tradition of classic unix principles. ASCII art formats such the one from pretty-table are suboptimal for this purpose, so I think that they should not be the default.
I'm leaning towards json lines for the default. Composability is retained to an extent trough other tools like jq.
Perhaps a format that outputs the text of each row in a single line could be useful for simple tables that contain numerical data, in the sense that they can be easil processed with awk or similar. Bu json  lnes feels like the least brittle in  my opinion.
What do you think @Lucas-C ?

IMHO:

--table sounds great !
I'm totally Ok with the behaviour you described :)
I'd vote for a dedicated option for JSON output, maybe --to-json, but have the default behaviour being a nicely formatted ASCII table. Because it would be more user-friendly, espcially for newcomers to the tool, while allowing the to-json "composable" output to be also enabled in other situations (e.g. extracting <ul> / <ol> elements one day maybe ?)

Examples of possible test data:
Premier League standings:
https://www.espn.com/soccer/table/_/league/eng.1
Downjones top movers:
https://money.cnn.com/data/dow30/
Plenty of per-country data on GDP, wikipedia. plenty of clean tables
https://en.wikipedia.org/wiki/List_of_countries_by_past_and_projected_GDP_(PPP)

example of using lynx to render html
$ curl -s "https://www.espn.com/soccer/table/_/league/eng.1" | tq ".Table__Scroller > table:nth-child(1)" | lynx -stdin -dump
    [1]GP [2]W [3]D [4]L [5]F [6]A [7]GD [8]P
    34    25   5    4    71   24   +47   80
    33    19   10   4    64   35   +29   67
    34    19   6    9    61   39   +22   63
    34    17   10   7    53   31   +22   61
    34    17   7    10   55   44   +11   58
    34    16   8    10   60   38   +22   56
    33    15   9    9    55   39   +16   54
    33    15   7    11   45   42   +3    52
    34    14   7    13   46   37   +9    49
    33    14   6    13   48   38   +10   48
    34    14   5    15   50   52   -2    47
    34    11   9    14   33   46   -13   42
    33    10   8    15   34   56   -22   38
    34    8    13   13   35   39   -4    37
    33    10   7    16   41   59   -18   37
    34    9    9    16   31   47   -16   36
    34    9    9    16   36   56   -20   36
    34    5    12   17   25   45   -20   27
    34    5    11   18   31   65   -34   26
    34    5    2    27   18   60   -42   17

References

   1. file:///soccer/standings/_/league/ENG.1/sort/gamesplayed/dir/desc
   2. file:///soccer/standings/_/league/ENG.1/sort/wins/dir/desc
   3. file:///soccer/standings/_/league/ENG.1/sort/ties/dir/desc
   4. file:///soccer/standings/_/league/ENG.1/sort/losses/dir/asc
   5. file:///soccer/standings/_/league/ENG.1/sort/pointsfor/dir/desc
   6. file:///soccer/standings/_/league/ENG.1/sort/pointsagainst/dir/asc
   7. file:///soccer/standings/_/league/ENG.1/sort/pointdifferential/dir/desc
   8. file:///soccer/standings/_/league/ENG.1/sort/points/dir/desc

i think this is good enough for my use case

Yes, such usage has always worked, but it is brittle if the data contains
spaces, or generally speaking whatever is used as a separator.
What we are discussing is treating it as a special case so it can be output
in a reliably parseable format. Specifically json.
The html is already parsed with beautifulsoup, so we have acess to the data
element by element.
I forgot about this ticket. I guess I haven't needed this lately.
On Tue, May 4, 2021 at 6:20 PM rachmadani haryono @.***>
wrote:

example of using lynx to render html
$ curl -s "https://www.espn.com/soccer/table/_/league/eng.1" | tq ".Table__Scroller > table:nth-child(1)" | lynx -stdin -dump
[1]GP [2]W [3]D [4]L [5]F [6]A [7]GD [8]P
34    25   5    4    71   24   +47   80
33    19   10   4    64   35   +29   67
34    19   6    9    61   39   +22   63
34    17   10   7    53   31   +22   61
34    17   7    10   55   44   +11   58
34    16   8    10   60   38   +22   56
33    15   9    9    55   39   +16   54
33    15   7    11   45   42   +3    52
34    14   7    13   46   37   +9    49
33    14   6    13   48   38   +10   48
34    14   5    15   50   52   -2    47
34    11   9    14   33   46   -13   42
33    10   8    15   34   56   -22   38
34    8    13   13   35   39   -4    37
33    10   7    16   41   59   -18   37
34    9    9    16   31   47   -16   36
34    9    9    16   36   56   -20   36
34    5    12   17   25   45   -20   27
34    5    11   18   31   65   -34   26
34    5    2    27   18   60   -42   17
References

file:///soccer/standings/_/league/ENG.1/sort/gamesplayed/dir/desc
file:///soccer/standings/_/league/ENG.1/sort/wins/dir/desc
file:///soccer/standings/_/league/ENG.1/sort/ties/dir/desc
file:///soccer/standings/_/league/ENG.1/sort/losses/dir/asc
file:///soccer/standings/_/league/ENG.1/sort/pointsfor/dir/desc
file:///soccer/standings/_/league/ENG.1/sort/pointsagainst/dir/asc
file:///soccer/standings/_/league/ENG.1/sort/pointdifferential/dir/desc
file:///soccer/standings/_/league/ENG.1/sort/points/dir/desc

i think this is good enough for my use case
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/plainas/tq/issues/17#issuecomment-832069663, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHRBGO7SF2S7TGED42QNJDTMANDDANCNFSM4JAN6NMQ
.


pagination controls text missing on window resize in v4

Same issue as https://github.com/carbon-design-system/carbon-components-angular/issues/2664 but in v4 version of carbon angular.

Not needed anymore


Version 2.1.2

Hello @andpor, when will you deploy version 2.1.2 on npm ?

I will give it another check and try deploy tonight or tomorrow.

@andpor  Nice !

2.1.2 is on npm


sv2v: remove stack version upper bound

stack version 2.5 doesn't support the default version of GHC now used to build sv2v. This change attempts to fix the build of sv2v by removing the included stack version upper bound.

@mithro When you get the chance, could you please approve the workflow run here?


Upgrade poison dependency

Unfortunately 4.0 removes the contract that Ecto uses, which is calling encode_to_iodata, so I am afraid we can't allow it. If you want to try it though, you can always specify it at the root of your project with override: true. Thanks!


Suggestion: Add a color for combat XP drops with prayer activated

So you can easily indicate whether you have the correct prayers are on or not.

That's is what the settings Xp drop color melee, Xp drop color mage, Xp drop color range are for.


[IOTDB-1578] IoTDBLoadExternalTsfileIT.loadUnsequenceTsfileTest CI Fix

IoTDBLoadExternalTsfileIT.loadUnsequenceTsfile fails on CI for unix(16, ubuntu-latest) sometimes,
make this branch to find what leads this results.

Thanks for your contribution.
but this hava a little question.

" "  + "subsequenceTime: "     ====       "       subsequenceTime:"

i see, thanks for reminding


[bug] can't revive "it's beeing carried"

Version: 0.11.1.C
Mods: CBA, TFAR ACE no medical
Environment: MP dedi
.rpt attatched? Nothing on it
have you edited the missionfile?: Yes
Issue:
We took mortar fire, one player in my group went unconscious, my AI tried rescue and died after carry begin.
We couldn't get him up because he was "beeing carried" nor the AI, once revived, managed to get him back up.

broke my head but I cannot find any reason to this bug,

Well is there a way to reset the thing manually? Maybe a Y menu button that reset the carry status so.. just in case, we've the antidote.. (i'll think about the button no worries)

found a possible reason and we will see in the next patch

solved


Handle leak during scan

Jar file scanning leaves an open handle to the jar file.  On Windows, this prevents the jar file from being deleted until the JVM exits.  The leak happens in Reflections.scan(URL), which calls Vfs.fromURL without ever closing the returned Vfs.Dir instance.

@actong good catch my friend. You've saved me a considerable amount of headache and you have my gratitude.
The changes below were made in accordance with actong's observations. It ended up solving some dynamic-library-update issues that I was having.
@Override
public void scan(URL url) {
	Vfs.Dir dir;

	dir = Vfs.fromURL(url);

	try {
		for (final Vfs.File file : dir.getFiles()) {
            String input = file.getRelativePath().replace('/', '.');
            if (configuration.getInputsFilter() == null ||
            		configuration.getInputsFilter().apply(input)) {
                Object classObject = null;
                for (Scanner scanner : configuration.getScanners()) {
                    try {
                        if (scanner.acceptsInput(input)) {
                            classObject = scanner.scan(file, classObject);
                        }
                    } catch (Exception e) {
                        if (log != null && log.isDebugEnabled())
                            log.debug("could not scan file " +
                            			file.getRelativePath() + " in url " +
                            			url.toExternalForm() + " with scanner " +
                            		scanner.getClass().getSimpleName(), e.getMessage());
                    }
                }
            }
        }
	} finally {
		dir.close();
	}
}

Those who are looking for a bandaid until the proper changes are incorporated into the repo may want to use the below subclass I have made using above changes. You can use this subclass in place of the regular Reflections object to bypass the aforementioned resource issues.
package com.vzw.agent.util;

import java.net.URL;

import org.reflections.Configuration;
import org.reflections.Reflections;
import org.reflections.scanners.Scanner;
import org.reflections.vfs.Vfs;

public class ResourceClosingReflections extends Reflections {

	public ResourceClosingReflections(Configuration configuration) {
		super(configuration);
	}

	@Override
	public void scan(URL url) {
		Vfs.Dir dir;

		dir = Vfs.fromURL(url);

		try {
			for (final Vfs.File file : dir.getFiles()) {
	            String input = file.getRelativePath().replace('/', '.');
	            if (configuration.getInputsFilter() == null ||
	            		configuration.getInputsFilter().apply(input)) {
	                Object classObject = null;
	                for (Scanner scanner : configuration.getScanners()) {
	                    try {
	                        if (scanner.acceptsInput(input)) {
	                            classObject = scanner.scan(file, classObject);
	                        }
	                    } catch (Exception e) {
	                        if (log != null && log.isDebugEnabled())
	                            log.debug("could not scan file " +
	                            			file.getRelativePath() + " in url " +
	                            			url.toExternalForm() + " with scanner " +
	                            		scanner.getClass().getSimpleName(), e.getMessage());
	                    }
	                }
	            }
	        }
		} finally {
			dir.close();
		}
	}
}


Last operation API invoked with stale broker credentials

Thanks for submitting an issue to cloud_controller_ng. We are always trying to improve! To help us, please fill out the following template.
Issue
Looking at the latest cloud_controller_ng code, the client's credentials are retrieved at instantiation of the async_job and never retrieved again:  https://github.com/cloudfoundry/cloud_controller_ng/blob/master/app/actions/services/service_instance_create.rb#L42  I see the same behavior for service_instance_update and service_instance_delete.  Async job code found here https://github.com/cloudfoundry/cloud_controller_ng/blob/master/app/jobs/services/service_instance_state_fetch.rb  Credentials have to be retrieved prior to each call to the service broker.
Context
see steps to reproduce
Steps to Reproduce
We have test automation that verifies asynchronous provisions verified the following flow:

Issue an asynchronous provision (ie, the broker PROVISION API returned a 202)
Wait for the last operation to be invoked 1 time
Timed out after 10 minutes
At this point we deemed the provision failed (it was still in a "in progress" state)
Other testing updated the broker credentials and invoked "cloud-cli update-service-broker" with new credentials
Some time later the last operation for the instanced created in 1 was invoked on our broker
Broker returns a 401

Expected result
Scenario should work
Current result
Scenario doesnt work
Possible Fix
[not obligatory, but suggest fixes or reasons for the bug]
name of issue screenshot
[if relevant, include a screenshot]

Hello @smoser-ibm,
We tried reproducing this issue, but were unable to do so. We're a bit unsure what your instructions mean. What we tried was:

Have a service broker with an async plan.
Start creating a service instance with that async service plan.
Update the service broker with a new username/password before the above request completes.

However, for us the service instance finished creating successfully. Is there some step we're missing?
Best,
@jberkhahn @michaelxupiv

The linked commit should prevent this from happening. We're going to close this issue, please feel free to reopen if you continue to experience this.
Thanks,
@jberkhahn & @michaelxupiv
CF CAPI Team


GBIF quality indicators in download

Can these be put in a separate field in downloads, rather than part of the dynamic properties string?

VDS downloader keeps them in a separate column (except in dwca files)


HTML available in annotations

Hey!
The docs page says that markdown is supported, but most of the examples in the page show HTML. I suspect that the reason HTML is supported is because you can put basic tags into markdown, but maybe it would be good to highlight this to readers?
Should the supported tags be listed?

Hey @benschwarz 👋🏻 Thanks for taking the time to PR!
I love the idea of giving people more info about what's supported in annotations! I've added a bit more to your PR to mention CommonMark and link to their spec. Because their HTML parsing is a bit different to usual, I've also added a note about how it treats newlines.

Yay! This is good.


New: adds calendar glyph to date picker fields

Provides visual cue for date input fields, which improves the UX
Adds calendar glyph (SVG) to date picker fields
Trello: https://trello.com/c/PEdodUIi/756-styling-of-form-controls
Before:

After:

Nice one @nao360, looks slick!


Split invalidly processed exit from unchallenged exit events

Coming from #1275, which in the end opted to take a different approach to solve.

separate the conflated unchallenged_exit from invalidly_processed_exit and have things called by their name. The conflating of those events is too much of a stop-gap solution to continue with.
Then things get easier - when an exit processes invalidly (which was Gerhard's case) we'll get a dedicated event invalidly_processed_exit.
And as a consequence, we'll have more freedom in setting exit_processor_sla_margin, which drives unchallenged_exit. This is because we'll then set it to something larger than min_exit_period, which matters in cases where min_exit_period is really small.

This has its own merit, since conflating of the notions of an unchallenged exit and of an exit that processed invalidly under a single report (unchallenged_exit) and logic is messy and hard to understand by someone who's looking.

Note that #671 will benefit from this too. Those two issues must be done in coordination.
Also, I'm assigning myself here as I've done some thinking on how to solve. If I don't get to do this I'll post what I've got here.

@pdobacz pdobacz closed this in #1372 4 days ago

no I didn't, github-fail


Should we exclude Dark objects and objects with catkey from the Hydrus migration?

Are there other known categories that we should exclude?

If so, we can run this query to filter out items with a catkey:
Hydrus::Item.where('catkey_id_ssim' => '')

This would eliminate 1788 items from the migration:
 Hydrus::Item.where("catkey_id_ssim:*").count
 => 1788

If so, we can run this query to filter out items with a catkey:
Hydrus::Item.where('catkey_id_ssim' => '')

This would eliminate 1788 items from the migration:
 Hydrus::Item.where("catkey_id_ssim:*").count
 => 1788

Yes, we want to filter out items with catkeys.
Do not filter out items just because they are dark. I know of at least one dark item that the user intends to publish later.


Creating git tags fails

Problem
I'm using changesets in this repo: https://github.com/UNDataForum/components. When running yarn changeset publish (on Debian) I get this error:
🦋  info npm info @undataforum/components
🦋  info npm info @undataforum/tokens
🦋  info @undataforum/components is being published because our local version (0.44.0) is ahead of npm's (0.43.0)
🦋  info @undataforum/tokens is being published because our local version (0.4.1) is ahead of npm's (0.4.0)
🦋  info Publishing "@undataforum/components" at "0.44.0"
🦋  info Publishing "@undataforum/tokens" at "0.4.1"
🦋  error SyntaxError: Unexpected token > in JSON at position 1
🦋  error     at JSON.parse (<anonymous>)
🦋  error     at internalPublish (/home/google/Projects/undataforum/components/node_modules/@changesets/cli/dist/cli.cjs.dev.js:661:19)
🦋  error     at processTicksAndRejections (internal/process/task_queues.js:93:5)

The packages are published to npm, but creating git tags fails. Line 661 in cli.cjs.dev.js is
let json = JSON.parse(stdout.toString());

I will console log stdout next time I'm publishing and amend this issue. For now I'm tagging manually.

I logged stdout.toString() and it looks like the logs of my prepublishOnly task end up in the JSON. This is what is see when I log stdout.toString() (I added the ========== separators):
==========
><EMAIL_ADDRESS>prepublishOnly .
> npm run build

><EMAIL_ADDRESS>build /home/google/Projects/undataforum/components/packages/tokens
> rm -rf ./dist && cross-env NODE_ENV=production babel ./src -d ./dist --ignore 'src/**/*.stories.js'

Successfully compiled 4 files with Babel.
{
  "id": "<EMAIL_ADDRESS>  "name": "@undataforum/tokens",
  "version": "0.5.0",
  "size": 13528,
  "unpackedSize": 35601,
  "shasum": "82757a685fdf4ca45f8947a6896497430f615ee2",
  "integrity": "sha512-l7wup7ad8ySzO2LTBlr2kTF35AHTfbb91+ULhTxqBw+rsPwn4UbYVtblqhbvyB/rj385MhItv2cAvO8xxch3MQ==",
  "filename": null,
  "files": [
    {
      "path": "dist/index.js",
      "size": 356,
      "mode": 420
    },
    {
      "path": "dist/Logo/index.js",
      "size": 359,
      "mode": 420
    },
    {
      "path": "dist/Logo/Logo.js",
      "size": 31618,
      "mode": 420
    },
    {
      "path": "dist/types.js",
      "size": 389,
      "mode": 420
    },
    {
      "path": "package.json",
      "size": 1639,
      "mode": 420
    },
    {
      "path": "CHANGELOG.md",
      "size": 374,
      "mode": 420
    },
    {
      "path": "README.md",
      "size": 866,
      "mode": 420
    }
  ],
  "entryCount": 7,
  "bundled": []
}
==========

Good catch! Looks like we haven't tested it with prepublish scripts in packages (we tend to have a build script we call from the root before running publish)
The file is npm-utils - I'll try and find some time to dig into what we should do when there are prepublish scripts.

Related post from the npm forums. Solution will be to try and parse the json, stripping the string before the { - I'll also likely add some better logging/error handling when we fail to parse.

Should be fixed in 2.1.2 - let me know if you're still have struggles.

Awesome, works like a charm! Thanks for the fixing this so quickly, @Noviny.


setTranslateNamespace

Hi,
having a look at source code, I've found a directive, translate-namespace, that is the perfect companion of "namespaces", "part" and "keepContent".
Now I can use a json like this:
{
  "Page1": {
    "10": "text",
    "20": "another text",
    "22": "a longer text with some more words",
    "25": "and son on"
  }
}

Use addPart to load a different json for each page, on $routeChangeSuccess:
$translatePartialLoader.addPart(pageCode);
Use keepContent to show default text inside element instead of the id:
$translatePartialLoader.keepContent(true)
and have page views like so, without repeat namespace string (pageCode) for every translate:

some default text

.....

How about add a new method, setTranslateNamespace, in order to change namespace on need?
By this way, it could be possibile to add a call to setTranslateNameSpace on each $routeChangeSuccess, as we just did with addPart.
Thanks,
Filippo

It does not make sense setting the namespace globally on the service. This would be a state which cannot and should not shared with all others (like filter, directive).
The namespace is particular useful only in context of a directive and its usage within hierarchic/contextual tag structure.

You are right, "it does not make sense setting the namespace globally on the service", without changing it when needed.
What if each page has a different namespace, each page one and only one namespace? Or, module speaking, what if each module has only one page? A developer should add the directive, translate-namespace, on each page. Adding setTranslateNamespace is the only way to avoid this boilerplate code in each page.
Furthermore, the same applies using modules with more than one page, the standard way. It could be possibile to automate namespace changes, intercepting navigation between modules, without adding the directive on each page of module.
Filippo


Required core overrides in 1.76d2?

Thanks for the PlayableUMA! It's much appreciated.
Installed tonight on 1.76d2 and ran into the a few errors that needed fixing to get it to compile.

in PlayableCharacterModel, changed Start() from private to protected virtual
in AnimatorCharacterModel, changed ConvertToPlayableCharacterModelImplement() from public to public virtual
in AnimatorCharacterModelUMA, commented out ConvertToPlayableCharacterModelGeneric in ConvertToPlayableCharacterModelImplement (could not find that method in my codebase)

Not sure if these are required or a bad install on my part?

I've written some note about it here: https://github.com/insthync/UnityMultiplayerARPG_UMA/releases/tag/1.18

Aha! Yup, I should have checked. Just pulled master.


Client.read input

Input checking for ts is a bit too strict. Input ts is not required for read types snapshot and raw.
Also there is no need to
raise ValueError(                 "ts needs to be either a None, timedelta or and integer (number of seconds)."                 f" Given type: {type(ts)}"             )
just because inputtype is float. A conversion from float to int is nicer.
Also in same function, are you sure that input end is required for snapshots? If not, should this line be indented one more level?
        if end:             end = ensure_datetime_with_tz(end, tz=self.tz)

Hi @asmfstatoil,
Thanks for notifying us. I'll allow float converted to int for timedelta and release it ASAP.
I'm not sure if I understand you correctly for the last part. End is not required, so it should be Okay with respect to snapshot. Or am I mistaken?


Update telemetry role to deploy Kepler

Depends-On: openstack-k8s-operators/openstack-operator#1034

recheck

recheck
Error during connting VM to fip
TASK [dataplane_adoption : verify connectivity to the existing test VM instance using Floating IP] ***
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "ping -c4 <IP_ADDRESS>\n", "delta": "0:00:13.063327", "end": "2024-09-03 10:53:16.858523", "msg": "non-zero return code", "rc": 1, "start": "2024-09-03 10:53:03.795196", "stderr": "", "stderr_lines": [], "stdout": "PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.\n\n--- <IP_ADDRESS> ping statistics ---\n4 packets transmitted, 0 received, 100% packet loss, time 3053ms", "stdout_lines": ["PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.", "", "--- <IP_ADDRESS> ping statistics ---", "4 packets transmitted, 0 received, 100% packet loss, time 3053ms"]}

PLAY RECAP *********************************************************************
localhost                  : ok=192  changed=155  unreachable=0    failed=1    skipped=23   rescued=0    ignored=0

/test rdoproject.org/github-check

recheck

/lgtm


Upload TFJOB Using GPUs example output & Job Scheduling API verison

I want to Upload `TFJOB using GPU example and outout, and Job Scheduling  API verison.

This change is

/ok-to-test

/assign @amygdala
Thanks, this looks great!
@amygdala I know you're looking at this page already. Please would you verify this PR?

/cc

Hi @sarahmaddox  this PR be merged? or need to test ?

Hallo @yylin1 Thanks for this PR. I've assigned @amygdala to review it. She's planning to look at it soon.

The yaml specifies --batch_size=32 but the status output specifies --batch_size=4 --seems they should be consistent?

Hi @amsaha , they should consistent. My testing run --batch_size=4, so I change --batch_size=32 match the original example, should user   know setting batch sizes.

I see that on line 303: https://github.com/kubeflow/website/pull/458/files#diff-0f7b82550dec419c0244d601d2b1a38cR303 batch of 32 is used, and here: https://github.com/kubeflow/website/pull/458/files#diff-0f7b82550dec419c0244d601d2b1a38cR362 batch of size 4 is used.

Thanks, @amygdala You can verify this PR again.

Looks like @sarahmaddox and @amygdala have it covered
/unassign @jlewi
/unassign @IronPan

/lgtm

/lgtm
/approve