[az fleet] Added and updated identity related commands & parameters

This checklist is used to make sure that common guidelines for a pull request are followed.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

az fleet

We are closing this PR as the design guidelines do not quite have the adoption or consideration that works for our APIs ATM.


Thanks

Thanks for the great package, It would be better if we can go to the next week like previous week. Also modifying month name would be nice...
Thanks again...

Thanks for your great suggestion!


[1.0.1] CPU load between 6-10% when table view is selected

When the table view is selected the CPU load keeps beetween 6-10% even if there is no action in progress (no progress dialog nor other indicators that signal a background action).
When switching from table view to tree view View -> Show tree the CPU load goes down to 0%.

The issue is caused by repeating repaint requests. The table view has a table summary that uses the same TableColumnModel, but the table summary component's width is not the same as the data table's width. So when the data table repaints itself it layouts the table header and therefore resizes the TableColumn objects of the TableColumnModel. This resize causes an property change event and because the summery table uses the same TableColumnModel it receives this event and causes a repaint.


Add caching to http transport

For at least Github client it makes sense to do local caching to avoid excessive API calls.
https://github.com/gregjones/httpcache can be used and is recommended by https://github.com/google/go-github

Fixed.


hover effect on header button

Hover Effect on Header Button
Type of Hover Effect : Zoom In Hover effect
Try to add file in CSS on landing page with transform function 👩🏻💻

Hey @padmajabhol Can you please assign me this issue

hmmm, I think it might be good to see this before we promise to merge, but please do go ahead and take a stab at it, @harshit-paneri !

I did Little zoom effect : zoom_effect_video

Hi @harshit-paneri, sorry for the delay and thanks for opening this, but we encourage people to help us understand what they intend to do before attempting and opening an PR. It could either be through visuals or figma representations?

Hi @padmajabhol , I also send video with PR , you can visit it for visuals .
zoom effect : zoom_effect_video


Update service-admin-premium-multi-geo.md

You can't migrate workspaces between regions. I believe there's a mistake in the doc saying you can, while it intended to say you can migrate workspaces from one capacity to another. The screenshot that follows shows exactly this.
Thank you for contributing to Microsoft Fabric documentation
Fill out these items before submitting your pull request:
If you are working internally at Microsoft:
Provide a link to an Azure DevOps Boards work item that tracks this feature/update.

Who is your primary Skilling team contact? @mention them individually tag them and let them review the PR before signing off.

For internal Microsoft contributors, check off these quality control items as you go

[ ] 1. Check the Acrolinx report: Make sure your Acrolinx Total score is above 80 minimum (higher is better) and with no spelling issues. Acrolinx ensures we are providing consistent terminology and using an appropriate voice and tone, and helps with localization.

[ ] 2. Successful build with no warnings or suggestions: Review the build status to make sure all files are green (Succeeded).

[ ] 3. Preview the pages:: Click each Preview URL link to view the rendered HTML pages on the review.learn.microsoft.com site to check the formatting and alignment of the page. Scan the page for overall formatting, and look at the parts you edited in detail.

[ ] 4. Check the Table of Contents: If you are adding a new markdown file, make sure it is linked from the table of contents.

[ ] 5. #sign-off to request PR review and merge: Once the pull request is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the Pull Request. If you need to cancel that sign-off, type #hold-off instead. Signing off means the document can be published at any time. Note, this is a formatting and standards review, not a technical review.

Merge and publish

After you #sign-off, there is a separate PR Review team that will review the PR and describe any necessary feedback before merging.
The review team will use the comments section in the PR to provide feedback if changes are needed. Address any blocking issues and sign off again to request another review.
Once all feedback is resolved, you can #sign-off again. The PR Review team reviews and merges the pull request into the specified branch (usually the main branch or a release- branch).
From the main branch, the change is merged into the live branch several times a day to publish it to the public learn.microsoft.com site.

#signed-off

#sign-off


wrong release link for cdn installation in documentation

Actually getting started doc show 4.0.6-rc.0 release instead of rc.1
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>

@zb2oby Send us a PR with this fix. I will be glad tor review that.


TypeError: init() got an unexpected keyword argument 'desired_capabilities'

The error appears when I run the command python main.py
C:\Users\Admin\Desktop\WPF TCT\my-bose-project>python main.py Task Started Creating Driver with window_size=1920,1080 and user_agent=Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Traceback (most recent call last):   File "C:\Users\Admin\Desktop\WPF TCT\my-bose-project\main.py", line 7, in <module>     t.begin_task()   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\base_task.py", line 144, in begin_task     return run_task(False, 0)   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\base_task.py", line 110, in run_task     driver = self.create_driver(config)   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\base_task.py", line 43, in create_driver     return create_driver(config)   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\create_driver.py", line 195, in create_driver     driver = retry_if_is_error(   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\utils.py", line 87, in retry_if_is_error     raise e   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\utils.py", line 80, in retry_if_is_error     created_result = func()   File "C:\Users\Admin\AppData\Roaming\Python\Python39\site-packages\bose\create_driver.py", line 184, in run     driver = BossDriver( TypeError: __init__() got an unexpected keyword argument 'desired_capabilities'

@bft24h Selenium Version?

git clone https://github.com/omkarcloud/google-maps-scraper
cd google-maps-scraper
python -m pip install -r requirements.txt
python main.py
I use this script.

have the same problem!

@bft24h Selenium Version?

Chromedriver 114.0.5735.90
Version google chrome  114.0.5735.110

pip show selenium  Output?

Name: selenium
Version: 4.10.0
Summary:
Home-page: https://www.selenium.dev
Author:
Author-email:
License: Apache 2.0
Location: c:\users\admin\appdata\roaming\python\python39\site-packages
Requires: certifi, trio, trio-websocket, urllib3
Required-by: bose, undetected-chromedriver

Run this Command and issue will be resolved. python -m pip install selenium==4.5.0 --force

Run this Command and issue will be resolved. python -m pip install selenium==4.5.0 --force

it works. thanks bro.

@bft24h I am a full stack developer, professional web scraper. Please see my portfolio at https://dev.to/chetanan/chetan-jains-portfolio-cl6 and let me know if you need help in regard to your projects. I would be happy to help.


Clarify subnet deletion remarks for storage accounts

This clarifies the behavior when a subnet used in a virtual network rule is deleted and re-created, and moves the remarks to the appropriate section of the doc.

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

#sign-off

@tamram: I'm sorry - only the author of this article, @normesta, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Acknowledge TLS ports has TLS on the front-end

I'll have a look at in in a seccond...

Error produced:
Upgrade/Upgrade steps:
rm -r node_modules
git pull
git checkout master
npm install

TypeError: Cannot read property 'key' of undefined
    at new module.exports (/home/redacted/z-nomp/libs/website.js:336:67)
    at Object.<anonymous> (/home/redacted/z-nomp/init.js:80:13)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:423:7)
    at startup (bootstrap_node.js:147:9)

After some tweaking its confirmed working & in production at https://zpool.it
Apache2 config will be posted in a bit.

What I meant is that the frontend doesnt say if ports have TLS or not

Frontend still loads insecure resources.


Cannt find dataset

First,it is a great job!
But ,the dataset web site is closed. I can not download the dataset. Can you send me some dataset?

@zy486at189cn
We cannot share the dataset with anyone according to the rules we have agreed on when we signed up for the challenge:

The downloaded datasets or any data derived from these datasets, can not be given or redistributed under any circumstances to persons not belonging to the registered team.

Normally they release the dataset after the conference; you can access their 2015 dataset publically available at https://rdm.inesctec.pt/dataset/nis-2017-003
This dataset is smaller than 2018 challenge, however, images are with the same modality and the class scores are publically available!


Make base16_shell work for all uses of base16-vim, and rename accordingly

The base16_shell theme adapts to match the selected base16-vim colorscheme, but only if base16-shell is used to configure the underlying terminal. This restriction is unnecessary: base16-vim can be used without base16-shell (either in gvim, or with termguicolors set), and the color palette is always exposed. This PR makes the theme work in all contexts, and renames it accordingly to base16_vim. Backward compatibility is retained by keeping base16_shell as an alias for base16_vim.
I also renamed the g:airline_base16_solarized option to g:airline_base16_monotone, since it has nothing to do with solarized in principle. (I actually prefer it for most, if not all, base16 themes.) Here, too, backward compatibility is retained.

On a related note, there is a long list of static base16 themes that were autogenerated at some point. It seems quite stale compared to the present state of the base16 collection; some schemes are gone and many more have been added. Would it be a good idea to remove these from the repo? It looks like they were all made from the same template for mapping palette colors to airline elements, so we could just add an option for base16_vim to use this template instead of the default one.
It may be a good idea to keep the ones that are no longer part of the official base16 collection, though, since they wouldn't be available any other way.

Thanks looks good.

It looks like they were all made from the same template for mapping palette colors to airline elements, so we could just add an option for base16_vim to use this template instead of the default one.

Yes, as far as I remember, those were some how auto generated. I fixed some wrong colors and commited them. However if they are not used, I am fine with removing at least the ones that no longer exists. If people complain, we can restore them (but I really doubt it).

OK, I might take a look at it later. I think it would make things a little less confusing and overwhelming. It did take me a while to figure out how to make the themes and colorschemes work together (hence this PR). But hopefully, the rewritten docs help make things a little clearer already.


Additional files

What additional files need to be created in the project and what is their content
I would be happy to list a file tree for the project files
For example, the files behind the code:
AFFECT_DATA_DIR=ALL_DATA_DIR#+'AffectNet/'
AFFECT_TRAIN_DATA_DIR = AFFECT_DATA_DIR+'full_res/train'
AFFECT_VAL_DATA_DIR = AFFECT_DATA_DIR+'full_res/val'
AFFECT_IMG_TRAIN_DATA_DIR = AFFECT_DATA_DIR+str(INPUT_SIZE[0])+'/train'
AFFECT_IMG_VAL_DATA_DIR = AFFECT_DATA_DIR+str(INPUT_SIZE[0])+'/val'
AFFECT_TRAIN_ORIG_DATA_DIR = AFFECT_DATA_DIR+'orig/train'
AFFECT_VAL_ORIG_DATA_DIR = AFFECT_DATA_DIR+'orig/val'

Most of these directories are created in train_emotions.ipynb. Here is the output of my ls -1 AffectNet:
224
emotion_labels.csv
faces
full_res
full_res_aligned
Manually_Annotated_Images
orig
other_classes
training.csv
training_filtered.csv
training_va.csv
validation.csv
validation_filtered.csv
validation_va.csv
In addition, there is new script to work with recent format of AffectNet dataset in train_affectnet_march2021_pytorch.ipynb

Thank you very much for the quick reply.
The project I downloaded from GitHub does not have these files
What do they contain?
are they needed for a model for facial emotion recognition?
The model looks really suitable for me and I would love to use it, I just want to figure out how to use it as best as possible

Most of these folders is created by my script, as I told before. The original files and folder are disctibuted by the authors of AffectNet, and I cannot share their data. However, if you do not need to train your own models with my code, you could just use my models. For simplicity, I creted two libraries, hsemotion that works with PyTorch models and hsemotion-onnx that needs ONNX. These repositories contains demos in their demo folder that you could use to work wit my models

Closing due to inactivity


Contributor not showing

contributors are showing in github page but not showing in contrib rocks

Did you create this against the wrong repo @paribeshdangal ? Shown img is not openebs?

of this is a mistaken post, it should be closed & removed.


Staircase Of Recursion

Before jumping into Pr first comment for assign.
Problem statement: Write a function that returns the number of ways a person can climb n stairs, where the person may only climb 1 or 2 steps at a time.
Problem Link:  https://edabit.com/challenge/JR3T5o6PwzvuGnRge
Choose one Category - Very Easy, Easy, Medium, Hard, Very Hard, Expert
question category :

Before submitting a PR please Check some details.

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Choose label for Problem , example- "good first issue", "easy"
[ ]  In file there should be problem statement and link to problem

/* Problem-Task : This program will add two numbers
 * Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
*/
int main() {
    int bla;
    return 0;
}

This repository is valid for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

Please assign it to me.

Assign it to me please

hey can i contribute on this


Update best-practices-for-sql-server-in-a-sharepoint-server-farm.md

the sentence "The SharePoint databases either use a stored procedure that maintains the statistics (proc_UpdateStatistics) or rely on SQL Server to do this."
is not clear enough since the approaches are totally different between versions 2013 and 2016

It does look like the HA rule was removed. I would just remove references to that rule altogether from the 2016 text, e.g. "SQL statistics are automatically updated for SharePoint 2016" or something like that.

since the article try to address Sharepoint Server 2013 and 2016 we should really split how this part is managed in both version. we adopted a new approach that, in my opinion, should be share with our customers

We did do an 'evergreen' so one article applies to multiple versions. With that said for areas where it should be split it out is totally fine to do that.
Let me loop in @MikePlumleyMSFT to see if he knows who can check this one. @tseward let's make sure your concerns are addressed too and we can loop in product team if needed.

The health analyzer rule still exists/performs work if required in SharePoint 2016/2019 and this change should not be made.

as already mentioned the job is still existing but there is no action in SQL side due to the logic that has been changed:
based on the internal RFC : New SEV 3 RFC : 618862 -  OnPrem: changes in proc_UpdateStatistics related to SPS2016 + SQL Issue - SQL Server CPU 100%
it was confirmed that i should request documentation update
CREATE PROCEDURE dbo.proc_UpdateStatistics
AS
SET NOCOUNT ON

#ifdef WSS
IF SERVERPROPERTY('EngineEdition') <>   V_STORE_SQLAZURE_EDITION
BEGIN
RETURN 0
END
#endif

DECLARE @ret int
EXEC @ret =   proc_UpdateStatisticsInternal
RETURN @ret
GO

you see in this logical we only call proc_UpdateStatisticsInternal when  == V_STORE_SQLAZURE_EDITION
otherwise we do a return 0 !!!
because we have decide to rely on SQL "AUTO_UPDATE_STATISTICS"
then cxs that "trust" the health rule are not having the statistics checked and updated.

Here's the sproc from SharePoint 2016, which doesn't match your RFC. SharePoint 2019 is similar, although it now has 3 UpdateStat sprocs that do work (proc_UpdateStatistics is just a stub to call proc_UpdateStatisticsInternal).

    OPEN statsToDrop
    FETCH NEXT
    FROM
        statsToDrop
    INTO
        @objectname,
        @statname
    WHILE @@FETCH_STATUS = 0
    BEGIN
        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Dropping autostats named ' + @objectname +'.' + @statname
        SET @command = N'DROP STATISTICS ' +  @objectname + '.' + @statname;
        EXEC (@command)
        FETCH NEXT
        FROM
            statsToDrop
        INTO
            @objectname,
            @statname
        END
    CLOSE statsToDrop
    DEALLOCATE statsToDrop
    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Updating statistics on user tables (indicies and columns)'
    DECLARE tablesToRestat CURSOR FORWARD_ONLY READ_ONLY FOR
    SELECT
        o.object_id,
        quotename(o.name)
    FROM
        sys.objects AS o
    WHERE
        o.type = 'U'
    OPEN tablesToRestat
    FETCH NEXT
    FROM
        tablesToRestat
    INTO
        @objectid,
        @objectname
    WHILE @@FETCH_STATUS = 0
    BEGIN
        SELECT @bNeedFullScan = 0
        -- Lookup the name of the index
        SELECT
            @schemaname = quotename(s.name)
        FROM
            sys.objects AS o
        JOIN
            sys.schemas AS s
        ON
            s.schema_id = o.schema_id
        WHERE
            o.object_id = @objectid
        IF ((@objectid = object_id(N'[dbo].[AllDocs]')) OR
           (@objectid = object_id(N'[dbo].[AllUserData]')) OR
           (@objectid = object_id(N'[dbo].[AllLinks]')) OR
           (@objectid = object_id(N'[dbo].[AllUserDataJunctions]')))
        BEGIN
            SELECT @bNeedFullScan = 1
        END
        IF (@bNeedFullScan = 1)
        BEGIN
            PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with fullscan.'
        END
        ELSE
        BEGIN
            PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with default sampling.'
        END
        SELECT @command =
            ' UPDATE STATISTICS ' +
                @schemaname + '.' + @objectname + ' WITH ALL, NORECOMPUTE '
        IF (@bNeedFullScan = 1)
        BEGIN
            SELECT @command += ', FULLSCAN'
        END
        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Rebuilding'
        EXEC (@command)
        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done'
        FETCH NEXT FROM tablesToRestat INTO @objectid, @objectname
    END
    CLOSE tablesToRestat
    DEALLOCATE tablesToRestat
    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done updating statistics'
    RETURN 0
GO

And the proc_UpdateStatisticsInternal makes no mention of V_STORE_SQLAZURE_EDITION.

    OPEN statsToDrop
    FETCH NEXT
    FROM
        statsToDrop
    INTO
        @objectname,
        @statname,
        @schemaname
    WHILE @@FETCH_STATUS = 0
    BEGIN
        BEGIN TRY
            PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Dropping autostats named ' + @schemaname + '.' + @objectname +'.' + @statname
            SET @command = N'DROP STATISTICS ' + @schemaname + '.' + @objectname + '.' + @statname;
            EXEC (@command)
        END TRY
        BEGIN CATCH
            PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Failed to Drop ' + @schemaname + '.' + @objectname +'.' + @statname + 'Exception: ' + ERROR_MESSAGE()
        END CATCH
        FETCH NEXT
        FROM
            statsToDrop
        INTO
            @objectname,
            @statname,
            @schemaname
        END
    CLOSE statsToDrop
    DEALLOCATE statsToDrop
    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Updating statistics on user tables (indicies and columns)'
    DECLARE tablesToRestat CURSOR FORWARD_ONLY READ_ONLY FOR
    SELECT
        o.object_id,
        quotename(o.name)
    FROM
        sys.objects AS o
    WHERE
        o.type = 'U' AND
        SCHEMA_NAME(o.schema_id) NOT IN ('pjpub', 'pjdraft', 'pjver', 'pjrep')
    OPEN tablesToRestat
    FETCH NEXT
    FROM
        tablesToRestat
    INTO
        @objectid,
        @objectname
    WHILE @@FETCH_STATUS = 0
    BEGIN
        SELECT @bNeedFullScan = 0
        -- Lookup the name of the index
        SELECT
            @schemaname = quotename(s.name)
        FROM
            sys.objects AS o
        JOIN
            sys.schemas AS s
        ON
            s.schema_id = o.schema_id
        WHERE
            o.object_id = @objectid
        IF ((@objectid = object_id(N'[dbo].[AllDocs]')) OR
           (@objectid = object_id(N'[dbo].[AllUserData]')) OR
           (@objectid = object_id(N'[dbo].[AllLinks]')) OR
           (@objectid = object_id(N'[dbo].[AllUserDataJunctions]')))
        BEGIN
            SELECT @bNeedFullScan = 1
        END
        IF (@bNeedFullScan = 1)
        BEGIN
            PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with fullscan.'
        END
        ELSE
        BEGIN
            PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with default sampling.'
        END
        SELECT @command =
            ' UPDATE STATISTICS ' +
                @schemaname + '.' + @objectname + ' WITH ALL'
        IF (@bNeedFullScan = 1)
        BEGIN
            SELECT @command += ', FULLSCAN'
        END
        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Rebuilding'
        EXEC (@command)
        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done'
        FETCH NEXT FROM tablesToRestat INTO @objectid, @objectname
    END
    CLOSE tablesToRestat
    DEALLOCATE tablesToRestat
    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done updating statistics'
    RETURN 0
GO

Of course, my T-SQL knowledge isn't super great, but from what I read here, we're still doing work on both 2016 and 2019.

Hi Trevor,
The important here is not the function and code run in it but the logical to call this code and how the code is implemented in 2016 and >
We will never run the proc_UpdateStatisticsInternal :
#ifdef WSS
IF SERVERPROPERTY('EngineEdition') <> V_STORE_SQLAZURE_EDITION – this condition is always true for OnPrem farms
-- then we will always go in the Return 0 and never call proc_UpdateStatisticsInternal
BEGIN
RETURN 0
END
#endif
DECLARE @ret int
EXEC @ret = proc_UpdateStatisticsInternal
RETURN @ret
GO
Then is for this that is important that we update the documentation with the diff between 2013 and 2016
Best regards,
Miguel Godinho
From: Trevor Seward<EMAIL_ADDRESS>Sent: Thursday, September 27, 2018 4:54 PM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Miguel Godinho<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] Update best-practices-for-sql-server-in-a-sharepoint-server-farm.md (#250)
Here's the sproc from SharePoint 2016, which doesn't match your RFC. SharePoint 2019 is similar, although it now has 3 UpdateStat sprocs that do work (proc_UpdateStatistics is just a stub to call proc_UpdateStatisticsInternal).

OPEN statsToDrop

FETCH NEXT

FROM

    statsToDrop

INTO

    @objectname,

    @statname

WHILE @@FETCH_STATUS = 0

BEGIN

    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Dropping autostats named ' + @objectname +'.' + @statname

    SET @command = N'DROP STATISTICS ' +  @objectname + '.' + @statname;

    EXEC (@command)

    FETCH NEXT

    FROM

        statsToDrop

    INTO

        @objectname,

        @statname

    END

CLOSE statsToDrop

DEALLOCATE statsToDrop

PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Updating statistics on user tables (indicies and columns)'

DECLARE tablesToRestat CURSOR FORWARD_ONLY READ_ONLY FOR

SELECT

    o.object_id,

    quotename(o.name)

FROM

    sys.objects AS o

WHERE

    o.type = 'U'

OPEN tablesToRestat

FETCH NEXT

FROM

    tablesToRestat

INTO

    @objectid,

    @objectname

WHILE @@FETCH_STATUS = 0

BEGIN

    SELECT @bNeedFullScan = 0

    -- Lookup the name of the index

    SELECT

        @schemaname = quotename(s.name)

    FROM

        sys.objects AS o

    JOIN

        sys.schemas AS s

    ON

        s.schema_id = o.schema_id

    WHERE

        o.object_id = @objectid

    IF ((@objectid = object_id(N'[dbo].[AllDocs]')) OR

       (@objectid = object_id(N'[dbo].[AllUserData]')) OR

       (@objectid = object_id(N'[dbo].[AllLinks]')) OR

       (@objectid = object_id(N'[dbo].[AllUserDataJunctions]')))

    BEGIN

        SELECT @bNeedFullScan = 1

    END

    IF (@bNeedFullScan = 1)

    BEGIN

        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with fullscan.'

    END

    ELSE

    BEGIN

        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with default sampling.'

    END

    SELECT @command =

        ' UPDATE STATISTICS ' +

            @schemaname + '.' + @objectname + ' WITH ALL, NORECOMPUTE '

    IF (@bNeedFullScan = 1)

    BEGIN

        SELECT @command += ', FULLSCAN'

    END

    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Rebuilding'

    EXEC (@command)

    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done'

    FETCH NEXT FROM tablesToRestat INTO @objectid, @objectname

END

CLOSE tablesToRestat

DEALLOCATE tablesToRestat

PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done updating statistics'

RETURN 0

GO
And the proc_UpdateStatisticsInternal makes no mention of V_STORE_SQLAZURE_EDITION.

OPEN statsToDrop

FETCH NEXT

FROM

    statsToDrop

INTO

    @objectname,

    @statname,

    @schemaname

WHILE @@FETCH_STATUS = 0

BEGIN

    BEGIN TRY

        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Dropping autostats named ' + @schemaname + '.' + @objectname +'.' + @statname

        SET @command = N'DROP STATISTICS ' + @schemaname + '.' + @objectname + '.' + @statname;

        EXEC (@command)

    END TRY

    BEGIN CATCH

        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Failed to Drop ' + @schemaname + '.' + @objectname +'.' + @statname + 'Exception: ' + ERROR_MESSAGE()

    END CATCH

    FETCH NEXT

    FROM

        statsToDrop

    INTO

        @objectname,

        @statname,

        @schemaname

    END

CLOSE statsToDrop

DEALLOCATE statsToDrop

PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Updating statistics on user tables (indicies and columns)'

DECLARE tablesToRestat CURSOR FORWARD_ONLY READ_ONLY FOR

SELECT

    o.object_id,

    quotename(o.name)

FROM

    sys.objects AS o

WHERE

    o.type = 'U' AND

    SCHEMA_NAME(o.schema_id) NOT IN ('pjpub', 'pjdraft', 'pjver', 'pjrep')

OPEN tablesToRestat

FETCH NEXT

FROM

    tablesToRestat

INTO

    @objectid,

    @objectname

WHILE @@FETCH_STATUS = 0

BEGIN

    SELECT @bNeedFullScan = 0

    -- Lookup the name of the index

    SELECT

        @schemaname = quotename(s.name)

    FROM

        sys.objects AS o

    JOIN

        sys.schemas AS s

    ON

        s.schema_id = o.schema_id

    WHERE

        o.object_id = @objectid

    IF ((@objectid = object_id(N'[dbo].[AllDocs]')) OR

       (@objectid = object_id(N'[dbo].[AllUserData]')) OR

       (@objectid = object_id(N'[dbo].[AllLinks]')) OR

       (@objectid = object_id(N'[dbo].[AllUserDataJunctions]')))

    BEGIN

        SELECT @bNeedFullScan = 1

    END

    IF (@bNeedFullScan = 1)

    BEGIN

        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with fullscan.'

    END

    ELSE

    BEGIN

        PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Statistics for ' + @schemaname + '.' + @objectname + ' are now being updated with default sampling.'

    END

    SELECT @command =

        ' UPDATE STATISTICS ' +

            @schemaname + '.' + @objectname + ' WITH ALL'

    IF (@bNeedFullScan = 1)

    BEGIN

        SELECT @command += ', FULLSCAN'

    END

    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Rebuilding'

    EXEC (@command)

    PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done'

    FETCH NEXT FROM tablesToRestat INTO @objectid, @objectname

END

CLOSE tablesToRestat

DEALLOCATE tablesToRestat

PRINT CONVERT(nvarchar, GETDATE(), 126) + ': Done updating statistics'

RETURN 0

GO
Of course, my T-SQL knowledge isn't super great, but from what I read here, we're still doing work on both 2016 and 2019.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SharePoint%2Fpull%2F250%23issuecomment-425123614&data=02|01|Miguel.Godinho%40microsoft.com|d30852aab6ba46a3e6bb08d624891da0|72f988bf86f141af91ab2d7cd011db47|1|0|636736568694778920&sdata=Ku%2FrDgTTBOqAuFvq9YVJN7uPEKNumbX5mUkm%2B%2BORNZk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApQw2PYnYiM74lYUKXdq4F6yq-wTdWckks5ufOaggaJpZM4WrsMS&data=02|01|Miguel.Godinho%40microsoft.com|d30852aab6ba46a3e6bb08d624891da0|72f988bf86f141af91ab2d7cd011db47|1|0|636736568694778920&sdata=k3fnHBVFhORLHLS5tSZ2UQfFanqf7z0pHrvEvYrkL5A%3D&reserved=0.

I appreciate what you're saying, but the sprocs on SharePoint 2016/2019 on content databases don't match the sproc T-SQL you're providing here.

there is the pro_updatestatistics in a SPS 2016 content database :
USE [WSS_Content_158b4fa7a3f045949750c989eae574d0]
GO
/****** Object:  StoredProcedure [dbo].[proc_UpdateStatistics]    Script Date: 9/27/2018 6:16:17 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[proc_UpdateStatistics]
AS
SET NOCOUNT ON
IF SERVERPROPERTY('EngineEdition')  <> 5
BEGIN
RETURN 0
END
DECLARE @ret int
EXEC @ret = proc_UpdateStatisticsInternal
RETURN @ret
before you call  proc_UpdateStatisticsInternal there is a test and this test is never true for OnPrem Farms

Hi just my 2cents, I disable after setup the SharePoint based jobs for sql maintenance and use this:  I prefer ola‘s sql maintenance solution https://ola.hallengren.com. This will work in all environments. Cheers Lars

@bentoncity --  Steve, this one is beyond my knowledge.. :)

Ola Hallengreen's scripts are well known and customer talk to me about them but we are talking about what we are provide like information to our customers. could you suggest to use Ola's scripts ?

i mean in a TechNet article

In my years with SharePoint Server since Version 2001 i‘l take a Deep look into the sql side. All the time there are runtime issues in sql server. If you like to have a performance Backend you need to review the sql stats Updates , the Index rebuild / reorg and ofcourse the Backup. All this topics are covered by ola Solution. Il suggest ola in all cases. also for stretch and hybrid scenarios.

actually it s not really the point in this pull request. previously many of the customer relies on the fact that in SPS 2010 and 2013 we have a timer job that is supposed to take care of statistics and fragmentation.
but it's no more true in SPS 2016 while the timer job still exist but it doesn't do anything. It's clear that this change can confused some of our customer and for this we should be more clear in our article

@bentoncity review this please and then merge.

I shot an email to Steve @bentoncity so he can take a look.

any update ?

Miguel, as per the earlier "New SEV 3 RFC" thread you were in, I don't see what I need to revise in this article. According to Sean, they aren't going to create a KB article for it. When I updated this topic for SharePoint 2016, SQL PMs advised me to state "or rely on SQL Server to do this".

the point is that we maintain so approach during 2 SPS versions (2010 and 2013) and suddenly we change our approach and we are not informing our customers. We bring some confusing in our customers because we just write "either use a stored procedure that maintains the statistics (proc_UpdateStatistics) or rely on SQL Server to do this."
but which version is using SQL server and which one is using proc_UpdateStatistics.
it's fair enough to provide this information to our customers and let them now what they should care about, let SPS doing the job or implement maintenance plan.

@MigueGo - this discussion is out of my area of expertise.. I am not sure what to do with this one.. leave it open and see if @bentoncity can do anything with the doc or close it? What do you want to do with it?

Let me wrap-up my request: the current statement is confusing:
"The SharePoint databases either use a stored procedure that maintains the statistics (proc_UpdateStatistics) or rely on SQL Server to do this."
I suggest to replace it by making explicit what should be done depending on the SharePoint version.
I just updated the changes in the PR to reflect this.

@MigueGo - thanks for the updates and getting this to a closed out state. @bentoncity - OK to merge now?

any update in this ?

@bentoncity is it okay to merge this now?

@AndreaBarr yes, go ahead and merge this.

well done !


Update google_riscv-dv to 215e064

Update code from upstream repository https://github.com/google/riscv-
dv to revision 215e0646ae9909aa0e78d6e91f4f33ed77f95e43

LGTM,  merged.


Activity Log Alert Naming

Please include support for Activity Log Alerts :
Length : 1-260
Valid Characters :
Can't use  <>*%{}&:\?+/#
Can't end with space or period.
Ref :
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_activity_log_alert

Closing as implemented in #92


Install process hangs on void credentials file

I intentionally cleared (not removed) the credentials file and the process hanged at Select an AWS profile for your project:

I could PR something like that: if the credentials file exists, adding another choice below the profile to create another profile.
JAWS: Select an AWS profile for your project:
  > default
  > create a new profile

Hmm it should prompt for API Keys instead.  I think it's a simple fix @remicastaing


Problems of ploting ERPs of different groups with different subject numbers

Dear all,
Now, I met a problems, that in my study, I have two conditions: 1 is within subject and 1 is between subject factor. Now I want to plot the ERPs with group comparsion, so how to do it? I know how to do in within subject.
I would appreciate it a lot if anyone can suggest.
Please make the issue title a succinct description of your proposed change.
For example: "add 'foo' to the glossary" or "add my favorite visualization to
the ERP tutorial".
Proposed documentation ehancement
Describe your proposed enhancement in detail. If you are requesting a new
glossary term, please include a proposed definition.

This question has been cross-posted on the forum and will be addressed there:
https://mne.discourse.group/t/how-to-plot-erp-results-of-comparing-groups-with-different-subject-numbers/3818


Init Julia with custom image?

Firstly thanks for your work here!
The Julia C API allows you to init with a specific image (jl_init_with_image), I was wondering if this is currently possible in this crate?

Thanks! It's currently not possible but I'll include it in the next version.

I've just published jlrs 0.5 which provides (among many other changes) Julia::init_with_image. I've tested it with the example provided for PackageCompiler, please let me know if it works for you too.

I'm going to assume this issue is resolved. If you run into any issues, feel free to open another issue :)


Update peerDependencies so MAI can be installed along with any 4.x Mongoose version

As per #40 .

Also change version in devDependencies.

See #45


sc-2354 add contact email to audit log on GDS RPCs

This makes some changes to the GDS RPCs to add the contact email as the "source" for the audit logs. Also, new audit log entries are created for verified contacts.

Codecov Report

Merging #251 (2afdfa6) into main (671713e) will increase coverage by 0.06%.
The diff coverage is 48.00%.

:exclamation: Current head 2afdfa6 differs from pull request most recent head c27b8cf. Consider uploading reports for the commit c27b8cf to get more accurate results

@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
+ Coverage   43.78%   43.84%   +0.06%
==========================================
  Files          53       53
  Lines        6052     6071      +19
==========================================
+ Hits         2650     2662      +12
- Misses       2926     2931       +5
- Partials      476      478       +2

Impacted Files
Coverage Δ

pkg/gds/gds.go
61.82% <48.00%> (+0.09%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 671713e...c27b8cf. Read the comment docs.


Cine dialog remains on screen after dragging SR/DOC thumbnails

Bug Report
Describe the Bug
If user opens de CINE dialog and loads a different type of file on the viewport (SR or DOC thumbnails), the dialog will remain displayed and the user can't close it.
Steps to reproduce

Open Patient Study: Dummy
Open CINE dialog
Drag into the viewport SR or DOC thumbnail
Verify that the dialog remains displayed and cornerstone toolbar is not available anymore

Expected Result

Once user loads a new file on viewport that doesn't support cornerstone toolbar, the CINE dialog should not be displayed.

Related PR: #1301

resolved in #1540


[Bug]: autodocs using svelte-csf v5 does not render individual story within docs

Describe the bug
I have been using this addon on a toy project. Its been observed that when autodocs is used, docs page does not render individual stories.
Steps to reproduce the behavior
Here's the reproduction of the issue.
For some unknown reason, stackblitz does not save .storybook folder. Hence, storybook init will have to be run to render storybook
Expected behavior
docs page for stories/Button component that uses this addon should render individual stories such as Primary, Secondary etc.
Screenshots and/or logs

Environment

OS: OSX
Node.js version: 22.3
NPM version: pnpm

Thanks again for testing and reporting the issue.
Based on your reproduction, I've forked with the .storybook/ directory being present.
https://stackblitz.com/edit/sveltejs-kit-template-default-132muy
I've added it manually. I was able to reproduce the issue, but please do let me know if the setup matches what you have.
@JReinhold It looks like we have regression here. Not sure yet if the issue is on svelte side or storybook. I'm quickly leaving a note for further inspection, but this is what I see in the web browser dev tools console:
chunk-URGNVH7N.js?v=738dfb0b:1094 Uncaught TypeError: Cannot read properties of undefined (reading 'rawCode')
    at skipSourceRender (@storybook_addon-svelte-csf_internal_create-runtime-stories.js?v=738dfb0b:640:77)
    at emitCode (@storybook_addon-svelte-csf_internal_create-runtime-stories.js?v=738dfb0b:621:7)
    at $effect (@storybook_addon-svelte-csf_internal_create-runtime-stories.js?v=738dfb0b:712:5)
    at update_reaction (chunk-URGNVH7N.js?v=738dfb0b:1111:23)
    at update_effect (chunk-URGNVH7N.js?v=738dfb0b:1229:21)
    at flush_queued_effects (chunk-URGNVH7N.js?v=738dfb0b:1283:7)
    at flush_queued_root_effects (chunk-URGNVH7N.js?v=738dfb0b:1270:9)
    at process_deferred (sveltejskittemplatedefaultbxes-hfev-s5fx0lx2--6006--60a75bde.local-credentialless.webcontainer.io/node_modules/.cache/storybook/1c3385a5d25e538d10b518b310c74d3ca2690b6aaffeadccd74da79736171f86/sb-vite/deps/chunk-URGNVH7N.js?v=738dfb0b:1301:3)TypeError: Cannot read properties of undefined (reading 'rawCode')
    at skipSourceRender (@storybook_addon-svelte-csf_internal_create-runtime-stories.js?v=738dfb0b:640:77)
    at emitCode (@storybook_addon-svelte-csf_internal_create-runtime-stories.js?v=738dfb0b:621:7)
    at $effect (@storybook_addon-svelte-csf_internal_create-runtime-stories.js?v=738dfb0b:712:5)
    at update_reaction (chunk-URGNVH7N.js?v=738dfb0b:1111:23)
    at update_effect (chunk-URGNVH7N.js?v=738dfb0b:1229:21)
    at flush_queued_effects (chunk-URGNVH7N.js?v=738dfb0b:1283:7)
    at flush_queued_root_effects (chunk-URGNVH7N.js?v=738dfb0b:1270:9)
    at process_deferred (chunk-URGNVH7N.js?v=738dfb0b:1301:3)

For some reason __svelteCsf became undefined.
Also, a screenshot with expanded show code:

please do let me know if the setup matches what you have.

Looks good to me. It matches with mine.

Ok, I found that there has been a breaking change in<EMAIL_ADDRESS>which I've missed.
PR: https://github.com/sveltejs/svelte/pull/12479
Now the parser returns a single ExpressionTag instead of an array of ExpressionTag | Text[]. I'll provide a fix soon.

:rocket: Issue was released in v5.0.0-next.2 :rocket:


datePart(value, "weeks"/"week"/"w") apparently returning week of month

but it is documented to return week of the year as per https://github.com/OpenRefine/OpenRefine/wiki/GREL-Date-Functions

I'll update and fix our reference on the wiki.
Yes, it has historically returned week of month starting on a Sunday with minimum of 1 day for the week defined.  See https://github.com/OpenRefine/OpenRefine/blob/master/main/src/com/google/refine/expr/functions/date/DatePart.java#L100
In this issue however, are you asking to have an additional function for week of year?  Would that be useful to you?

AH!  Capital W is not recognized!  That's a bug.
The syntax that we have has historically followed the SimpleDateFormat abbreviations.
But looks like we failed to have better testing for some of these.

Is that a bug or a documentation error? Changing the code will mean any existing use of this function would be broken and lead to different results for re-running old edit histories

@ostephens Its both.
lowercase w should be week in year.
uppercase W should be week in month.
I understand changing this would lead to broken histories, but this is something we should have caught long ago and fixed.
I would hate to have it vice versa, since so many other programs are written and use this same convention, like https://momentjs.com/docs/#/parsing/string-format/

My feeling is we need versioning on histories so we can ensure that older histories are not just run on 3.4+ without some warning to the user that this may not result in the same results as running on previous versions of OR

@ostephens yeah, that would help.  And further would could actually do some conversion of them to make them forward compatible, as I mentioned before.  An OpenRefine upgrade tool (Python, Javascript, whatever) that can be run and doesn't have to be fancy or we can make it fancy.  Our upgrade steps have alway been fairly rudimentary and not the easiest for our users.  We should put more work into making that easier for them.

Until we have that, I'd be in favour of preserving the behaviour of the current values (it's fine to add support for other values though).

Related question on SO

Wow, looks like a lot of SimpleDateFormat patterns do not work (L, M, W, G, F, y, Y...)

Okaayy... It seems the issue comes from datePart(), since a construction like this (undocumented) works:
"2020/05/11".toDate('y/m/d').toString('W')
while this not:
"2020/05/11".toDate('y/m/d').toString('W')
--> Error: Date unit 'W' not recognized.
But in both cases, the pattern 'w' is not "week in year" as it should be.
(OR 3.3, Windows 10)

Thanks @ettorerizza for doing the leg work to trace this problem. Kudos!

@ettorerizza datePart() uses it's own patterns for common usage (which is now based on java.time). They are mapped in our code here) and documented here: https://github.com/OpenRefine/OpenRefine/wiki/GREL-Date-Functions#datepartdate-d-string-unit
Whenever there was a need for some datePart to extract, we would add to that... like when I added milliseconds a few years back in this commit https://github.com/OpenRefine/OpenRefine/commit/f2c4e3ab486207412ff9ac8678f0237e3828d2ca

@thadguidry yep, but in this case I don't quite understand the usefulness of the datePart() function, since the undocumented trick @arky found makes it possible to use the whole range of SimpledateFormat patterns.
Example with G (era designator), which is not implemented in datePart():

toString() will always output A STRING when supplying it with a Date object.
datePart() MIGHT output A STRING or it might output A NUMBER depending on which Date Part Unit you ask for... see the Returned data type column: https://github.com/OpenRefine/OpenRefine/wiki/GREL-Date-Functions#datepartdate-d-string-unit

All this discussion and no one fixed the bug? I've corrected the documentation so that it matches the code (and also fixed the examples which were returning two different values for different abbreviations of weeks).
@japerron Thanks for the bug report.
@ostephens versioning the operation history is a good idea. Please create a ticket for it if you haven't already done so.
@ettorerizza I would hardly characterize a simple documentation error as a "serious bug" as you did on StackOverflow.

@tfmorris To @ettorerizza and other's defense... that was the context here... to have just 1 of our senior developers jump in and characterize this as a bug or doc improvement.  Glad you or Antonin finally jumped in, made a decision, and closed it.  We can now rest peacefully.

@thadguidry I'm comfortable with you (or anyone else) making that call based on your research of the git history. If the code's been like that for 10 years, it's the documentation that's wrong, not the code. @wetneb already made the call that we're not going to make an incompatible change to datePart(), which I agree with, so we don't have a good way to extend it to do week of the year due to our initial choice. That's unfortunate, but not the end of the world. We can have a separate discussion about how to introduce that functionality, if it's needed.

GREL could offer an alternative method like simpleDatePart which would extract variant-type property values from its GREL date/time object - using the format selectors of SimpleDateFormat doc9.
That would allow its users of the legacy datePart method to continue to use that method and continue to get the results they have come to expect and rely upon while allowing new users or themselves to have access to a convenience method to get the parts of dates that correspond to the SimpleDateFormat conventions.
Offer A and B not A or B.

Yup, that's what I meant by:

We can have a separate discussion about how to introduce that functionality, if it's needed.

@lonniev Feel free to create an issue with a proposal if you feel it's important (although there are a bunch of problems with the date support that may cause it to get significantly reworked).

Thank you for the offer to get really engaged but, for now, I have no pain
here.
On August 8, 2020 at 3:18:34 PM, Tom Morris<EMAIL_ADDRESS>wrote:
Yup, that's what I meant by:
We can have a separate discussion about how to introduce that
functionality, if it's needed.
@lonniev https://github.com/lonniev Feel free to create an issue with a
proposal if you feel it's important (although there are a bunch of problems
with the date support that may cause it to get significantly reworked).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OpenRefine/OpenRefine/issues/2406#issuecomment-670964186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQXP2EIOXHIJCG4QWXSXUTR7WQIVANCNFSM4LHFYHMQ
.


Is there a way to start devenv-up of something other than the default shell?

Hi! For context I'm using devenv with flakes, here's an MRE of my situation:
{
  description = "Basic MRE";

  inputs = {
    nixpkgs.url = "github:cachix/devenv-nixpkgs/rolling";
    systems.url = "github:nix-systems/default";
    devenv.url = "github:cachix/devenv";
    devenv.inputs.nixpkgs.follows = "nixpkgs";
  };

  nixConfig = {
    extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
    extra-substituters = "https://devenv.cachix.org";
  };

  outputs = {
    self,
    nixpkgs,
    devenv,
    systems,
    ...
  } @ inputs: let
    forEachSystem = nixpkgs.lib.genAttrs (import systems);
    postgresHost = "<IP_ADDRESS>";
    postgresPort = 5566;
  in {
    packages = forEachSystem (system: {
      devenv-up = self.devShells.${system}.default.config.procfileScript;
      devenv-up-ci = self.devShells.${system}.ci.config.procfileScript;
    });

    devShells =
      forEachSystem
      (system: let
        pkgs = import nixpkgs {inherit system;};
        dbInitFile = "CREATE DATABASE db_test;";
      in {
        ci = devenv.lib.mkShell {
          inherit inputs pkgs;
          modules = [
            {
              packages = with pkgs; [
                oxlint
              ];

              languages.javascript = {
                enable = true;
                yarn.enable = true;
              };

              process = {
                process-compose = pkgs.lib.mkOptionDefault {
                  tui = "false";
                };
              };

              processes = {
                # Start the backend...
                backendApi = {
                  exec = "tail -f /dev/null";
                  process-compose = {
                    depends_on = {
                      postgres = {
                        condition = "process_started";
                      };
                    };
                  };
                };
              };

              services.postgres = {
                enable = true;
                listen_addresses = postgresHost;
                port = postgresPort;
                initialScript = dbInitFile;
              };
            }
          ];
        };

        default = devenv.lib.mkShell {
          inherit inputs pkgs;
          modules = [
            {
              packages = with pkgs; [
                dprint # Javascript formatter
                oxlint # Javascript linter
                act # run github actions locally
              ];

              languages.javascript = {
                enable = true;
                yarn = {
                  enable = true;
                };
              };

              services.postgres = {
                enable = true;
                listen_addresses = postgresHost;
                port = postgresPort;
                initialScript = dbInitFile;
              };
            }
          ];
        };
      });
  };
}

How would I go about starting the services defined in the ci shell? I tried running:
nix develop --impure .#ci --command bash -c "devenv up"

But this still runs only the postgres service thats defined in the default shell.
I also tried running:
nix run .#devenv-up-ci

But this fails with:
error:
       … while evaluating the attribute 'devShells.x86_64-linux.ci.config.procfileScript'

         at /nix/store/2r2766i4xifvn5s2wwysw6k9gz3d6c3i-source/flake.nix:38:9:

           37|       in {
           38|         ci = devenv.lib.mkShell {
             |         ^
           39|           inherit inputs pkgs;

       … in the left operand of the update (//) operator

         at /nix/store/zslv4c6fawyd1bj84a2i4x14gblz3h1w-source/flake.nix:165:24:

          164|           in
          165|           config.shell // {
             |                        ^
          166|             ci = config.ciDerivation;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Failed assertions:
       - devenv was not able to determine the current directory.

         See https://devenv.sh/guides/using-with-flakes/ how to use it with flakes.

Duplicate of #1172.
The correct name for the package would be ci-devenv-up, but the devenv up script is currently broken for multiple shells. See https://github.com/cachix/devenv/issues/1172#issuecomment-2082475080.

What's the motivation to have two shells?

when I tried setting tui = false as a boolean the process-compose command generated failed,

Will be fixed as part of https://github.com/cachix/devenv/pull/1161.


methylation call on different strand

Dear developer,
We are currently working on a set of Arabidopsis DNA data for methylation calling. We realised that nanopolish has provided us both "cpg" and "gpc" model. Without much detail given, we assumed that the "cpg" results refers to the CpG mordification on the positive stand, while the "gpc" outputs the methylation calls on the negative strand. However, it seems both reads from postive stands and negative strands are counted when it comes to calculation of the methylation frequnecy, as well as counting the depth per position.
Could you please give us some suggestion on the frequency calculation? Do we have to separate the output by strand before calculating the frequency? And which exact position it represents when the result is negative strand in CpG and GpC model?
Thanks a lot.

Hi,
The CpG and GpC models both call on the positive and negative strands. For clarity:
CpG will call in:
5'-----CG-----3'
3'-----GC-----5'

GpC will call:
5'-----GC-----3'
3'-----CG-----5'

The coordinates reported by calculate_methylation_frequency are always on the positive reference strand. If you split the output by strand you can calculate per-strand frequency - I'll make a note to add this to the frequency script but will be away on vacation for a few weeks. Let me know how it goes.
Jared

Dear Jared,
So if in CpG model, it reports a position, let's say pos a, with negative strand, it actually means position (a+1) on negative strand has a methylation. And in GpC model, it means position (a-1) on negative strand is methylated? May I know if I understand correctly?
Thanks a lot.

That is correct.
Jared
On Thu, Jul 18, 2019 at 10:09 PM XINYAN2<EMAIL_ADDRESS>wrote:

Dear Jared,
So if in CpG model, it reports a position, let's say pos a, with negative
strand, it actually means position (a+1) on negative strand has a
methylation. And in GpC model, it means position (a-1) on negative strand
is methylated? May I know if I understand correctly?
Thanks a lot.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jts/nanopolish/issues/628?email_source=notifications&email_token=AAC7DH4WNTW2SVZN5IFCFLTQAEO53A5CNFSM4IE66PM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2KLEKQ#issuecomment-513061418,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC7DH5FEKO2WRZJQBHWONDQAEO53ANCNFSM4IE66PMQ
.

Hi,
The CpG and GpC models both call on the positive and negative strands. For clarity:
CpG will call in:
5'-----CG-----3'
3'-----GC-----5'

GpC will call:
5'-----GC-----3'
3'-----CG-----5'

The coordinates reported by calculate_methylation_frequency are always on the positive reference strand. If you split the output by strand you can calculate per-strand frequency - I'll make a note to add this to the frequency script but will be away on vacation for a few weeks. Let me know how it goes.
Jared

That is correct. Jared
…
On Thu, Jul 18, 2019 at 10:09 PM XINYAN2 @.***> wrote: Dear Jared, So if in CpG model, it reports a position, let's say pos a, with negative strand, it actually means position (a+1) on negative strand has a methylation. And in GpC model, it means position (a-1) on negative strand is methylated? May I know if I understand correctly? Thanks a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#628?email_source=notifications&email_token=AAC7DH4WNTW2SVZN5IFCFLTQAEO53A5CNFSM4IE66PM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2KLEKQ#issuecomment-513061418>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC7DH5FEKO2WRZJQBHWONDQAEO53ANCNFSM4IE66PMQ .

That is correct. Jared
…
On Thu, Jul 18, 2019 at 10:09 PM XINYAN2 @.***> wrote: Dear Jared, So if in CpG model, it reports a position, let's say pos a, with negative strand, it actually means position (a+1) on negative strand has a methylation. And in GpC model, it means position (a-1) on negative strand is methylated? May I know if I understand correctly? Thanks a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#628?email_source=notifications&email_token=AAC7DH4WNTW2SVZN5IFCFLTQAEO53A5CNFSM4IE66PM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2KLEKQ#issuecomment-513061418>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC7DH5FEKO2WRZJQBHWONDQAEO53ANCNFSM4IE66PMQ .

Thank you, Jared.

Got it. Thanks.
amy

Hi Jared,
You mentioned that the coordinates reported by calculate_methylation_frequency are always on the positive reference strand. So is it possible to get the strand information at either read-level or genome-level(methylation_frequency)?
Thank you so much for your help!

As mentioned by @jts , CpG will call in:
5'-----CG-----3'
3'-----GC-----5'

The script calculate_methylation_frequency.py summarized meth freqs. But it doesn't calculate frequency by different strands!
Here are 10 reads, 5 are + and 5 are -.  If I calculate methylation freq of this site together, what I got is the average meth level of both plus C base at 1:356 and minus C at 1:357 !  @jts I wonder if I am correct?
I think to detect methylation levels of either strands, we should calculate meth freqs by seperating results of different strands, rather than calculating them together!


Adding -o option to 'mbed test'

This PR addresses #272 by adding the -o option to the mbed test command. From here you can set options like debug-info when building tests.
FYI @bremoran @screamerbg

@bridadan Cool, but can you align naming, e.g. all options are compile_ prefixed? This includes README.md. Also I've added the following help to this option, which gives pretty good idea about the supported functionality - https://github.com/ARMmbed/mbed-cli/pull/310/commits/4ae3dcd6be730f0c51e94344d7589e6d08630bf8#diff-dad37ed6e3ea3a963df6ff7090c2562fR1963

@screamerbg Thanks for the feedback, I made those changes you requested!

Thanks. LGTM!


Ratify v1.2.0 announcement blog post

Rough draft of the announcement blog post, please leave feedback. :)

@duffney looks like one of the commits was not signed. Can you sign the commits?

@binbin-li @susanshi @akashsinghal @duffney   Just to confirm that Ratify is compliant with OCI 1.1 spec as oras-go v2.5.0 library was bumped up. If yes, I think OCI 1.1 support is worth mentioning in the blog post.

@binbin-li @susanshi @akashsinghal @duffney Just to confirm that Ratify v1.2.0 is compliant with OCI 1.1 spec as oras-go v2.5.0 library was bumped up. If yes, I think OCI 1.1 support is worth mentioning in the blog post.

@yizha1 I found oras-go v2.5.0 in the go.mod on the main branch. I'll add that it as a bullet under the key features section.


[Breaking] Enhancement: Simplify the regex property

To answer  https://github.com/jgclark/vscode-todo-highlight/issues/35#issuecomment-913971250 I propose the following roadmap:

Implement a solution that allow both, the old and the new syntax, but only autocompletion for the new syntax in a PR or a commit that mention this issue.
Unfortunately you can't write a deprecation warning  ("markdownDeprecationMessage": "...",) to the pattern property itself according to VSCode autocompletion. But I would write one to todohighlight.keywords saying that the property is simplified to regex: "..." and mention this issue. (I don't know how aggressively it will be pointed out then, but hopefully a few users will get it that way.)
Also, put a note at the top of the readme pointing this out and adjust the readme.
You can pin issues on Github. I would pin this issue, so that it is seen more quickly.
Release that Version.
Depending on how aggresive the deprecation warning points out, I would wait a few months. Thus, many can already switch the syntax.
Finally remove support for the old syntax in the code. Remove the deprecation warning. Maybe add another note to the readme.
I don't know what versioning scheme is followed here, but for breaking changes I would increase to 3.0.0.
Release that Version and that closes this Issue.

Many thanks for breaking this out to a separate issue, as it's a significant one.
The roadmap makes sense. I was hoping you might say there was a way of doing something slightly more sophisticated that popped up some warning to users, offering to 'simplify' the regex settings for them. But perhaps neither of us the VSC architecture well enough to know if this is possible or not.

Since this is my first touch with VSCode extensions programming, I have there unfortunately no idea of whether you can do something like that.
I would make the transition that allows both syntax versions in such a way that the old syntax is converted locally in one place in the code. Theoretically we could write a comment to it and just leave it there, then there is no breaking change.

I think there is a valid use for the current object implementation of regex and don't think that it should be deprecated.
For example, a flags property could be forwarded to a RegExp constructor, allowing different patterns to target single lines, multiple lines, one match, all matches, etc.

I think there is a valid use for the current object implementation of regex and don't think that it should be deprecated.
For example, a flags property could be forwarded to a RegExp constructor, allowing different patterns to target single lines, multiple lines, one match, all matches, etc.

Thanks. Yes, this might be the mechanism to use to help implement request #12.

I've looked again at this, in particularly attempting to see if its possible to allow both the original style, and the simpler one suggested here.  In short, it's easily possible with something like this in extension.js::init():
let p = (assembledData[v].regex && typeof assembledData[v].regex === 'string')
                    ? assembledData[v].regex
                    : (assembledData[v].regex.pattern)
                        ? assembledData[v].regex.pattern
                        : v;

However, doing this (rightly) triggers warnings about incorrect type in the PROBLEMS output, even when both syntaxes are allowed in the package.json file. I don't want to release something that will trigger PROBLEMS reports, so I'm closing this, until someone can come up with a better solution.


Add a couple missing init.py files

Any ideas how we could change our travis config to detect those?

If we start testing against python 2.7 we'll see errors in those modules.


Month Start Week Date 20 to 19 (like: June 20 to July 19)

Clear and concise description of the problem
Good Day!
I need to modify calendar Frist Week date 20 start and end week 19 every month other date disable anyone solve my issue!

@Tabish221 I'm afraid it is unclear as to exactly what it is you are asking for here...


beacon: add domain to VRF signatures to distinguish between beacon messages

Motivation
Closes https://github.com/spacemeshos/go-spacemesh/issues/4274
Changes

Signatures of different messages can now not be verified any more if the message is decoded for the wrong domain
This should prevent messages like FirstVotingMessage accidentally be parsed and validated as FollowupVotingMessage

Test Plan

Added tests for new domains
Updated existing tests to check if the correct domain is used

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors merge

bors cancel

There is something up with the coverage job, but apart from that it looks good to me!

@dshulyak the reason seems to be this line here: https://github.com/spacemeshos/go-spacemesh/blob/266048c6814c66a636b0aadb84fb5906f8e89da5/tortoise/trace/main.go#L15
If I remove this line make cover works without issues. Alternatively we can also update https://github.com/spacemeshos/go-spacemesh/blob/266048c6814c66a636b0aadb84fb5906f8e89da5/Makefile#L5 to
UNIT_TESTS ?= $(shell go list ./...  | grep -v systest/tests | grep -v tortoise/trace)

which is probably the correct approach anyway. I'll create a PR

PR to fix code coverage job: https://github.com/spacemeshos/go-spacemesh/pull/4463

bors merge

bors merge


Add Composer plugin dependnecies to allow_plugin

Description
Add the allow_plugin setting for some dependencies.
Motivation and context
It can avoid following exception messages when running the composer update command:

  phpro/grumphp contains a Composer plugin which is blocked b
  y your allow-plugins config. You may add it to the list if you consider it
  safe.
  You can run "composer config --no-plugins allow-plugins.infection/extension
  -installer [true|false]" to enable it (true) or disable it explicitly and s
  uppress this exception (false)
  See https://getcomposer.org/allow-plugins

  infection/extension-installer contains a Composer plugin which is blocked b
  y your allow-plugins config. You may add it to the list if you consider it
  safe.
  You can run "composer config --no-plugins allow-plugins.infection/extension
  -installer [true|false]" to enable it (true) or disable it explicitly and s
  uppress this exception (false)
  See https://getcomposer.org/allow-plugins

How has this been tested?
N/A
Screenshots (if appropriate)
N/A
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

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

Checklist:
Go over all the following points, and put an x in all the boxes that apply.
Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our continuous integration server to make sure your tests and code style pass.

[X] I have read the CONTRIBUTING document.
[X] My pull request addresses exactly one patch/feature.
[X] I have created a branch for this patch/feature.
[X] Each individual commit in the pull request is meaningful.
[X] I have added tests to cover my changes.
[X] If my change requires a change to the documentation, I have updated it accordingly.

Do you want to add the Hacktoberfest tags?

Do you want to add the Hacktoberfest tags?

The hacktoberfest topic has been added. And I think it's noe necessary to add the label on this PR :).


syntax error "(" expected

i cloned the code onto my machine , gave +x permissions for the kubernable.go file, typed in ./kubernable.go -h and got the below error:
$./kubernable -h
./kubnerable.go: 1: package: not found
./kubnerable.go: 3: Syntax error: "(" unexpected

Hey @Acemampz 👋🏻
Go scripts should be either compiled or run through the go run command.
On the kubnerable/src folder, try running go run . -h.
Cheers.

hi,
i ran the go run . -h command and got the below response.

The readme file states that, Out-cluster resource vulnerabilities scanning -Needs a valid Kubeconfig file with read access. i dotn have direct access to the k8 cluster. but i have the kubeconfig file with me. how do i use your application against the yaml file. i tried go run ./kubernable.go -f  and got an error,

could you provide a small tutorial or something, sorry but mega noob here.


Keep Crashing

I don't understand why but my game keep crashing but only when i put the mod in my files and i would like to know the recipes of a mod that doesn't show one their wiki but i can't because of this bug

I think I don’t have it but what version do I need ?
Le mer. 6 juill. 2022 à 11:49, AlexMinecraft2012 @.***>
a écrit :

I don't understand why but my game keep crashing but only when i put the
mod in my files and i would like to know the recipes of a mod that doesn't
show one their wiki but i can't because of this bug
Did you miss CodeChickenCore.
—
Reply to this email directly, view it on GitHub
https://github.com/Chicken-Bones/NotEnoughItems/issues/415#issuecomment-1176387050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ5ZLFOUTQHAHLXOXRP65L3VSWTILANCNFSM52XIX7ZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks!
Le mer. 6 juill. 2022 à 11:52, AlexMinecraft2012 @.***>
a écrit :

The latest.
—
Reply to this email directly, view it on GitHub
https://github.com/Chicken-Bones/NotEnoughItems/issues/415#issuecomment-1176391290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ5ZLFP5K7TSUAU66DG4MTDVSWTT3ANCNFSM52XIX7ZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have both CodeChickenCore and Not enough items but no matter what i do minecraft keeps crashing


Data download issue with San Mateo, California

The original file download link was invalid, as was the path to the file within the zip file. Fixed both.

Actually, this might not be a bug Machine. Can you update your PR with this on line 18:
         "file": "SAN_MATEO_COUNTY_ACTIVE_PARCELS.shp",

Thanks, I did see the output log and the sample output.  I found this closed issue from earlier, #252, that looks like a similar issue was run into in the past.


Fixed parsing of data that is Transfer-Encoding chunked

Hi Dave,
Here are the changes for chunked encoding.
Thanks,
Jim

Thanks Jim.
I realised after we made those changes the other day that the httpParseResponse function is not the right place to be putting these changes.
What we ran into with multi-chunked data in the body wasn't actually a bug. The httpParseResponse function is working correctly. It's job is to take HTTP responses in string form and build out a httpResponse object which represents the HTTP response as it is.
In the case of passing a string that contains a HTTP response with multi-chunk data in the body the httpResponse object parameter ends up with a .body member containing the multi-chunk data.
The correct thing to do (I feel) would then be to first parse the incoming HTTP string into a httpResponse object using httpParseResponse and then check if the httpResponse object contains a 'Transfer-Encoding' header with the value 'chunked'. If so, the data in the body can be de-chunked.
I'm going to add a couple of extra methods to the http.axi include file to make this process easier such as a function to quickly check if the data is chunked and unchunk the data using the code we created the other day.
Thanks for your help with this!

Hi Dave,
Sounds good. I disagree that the httpParseResponse function is working correctly. It currently removes the end of the chunked message from the body at line 529. This means even if you wanted to handle de-chunking yourself, the end of the chunk would be removed. I would recommend the current chunk handling code be removed.
Thanks,
Jim M

Do you mean this line:
tempResponse.body = remove_string(workingBuffer,"$0D,$0A,'0',$0D,$0A,$0D,$0A",1);
This isn't just removing the "$0d,$0a,'0',$0d,$0a,$0d,$0a" part from workingBuffer.
It's removing everything in workingBuffer starting from index 1 up to and including "$0d,$0a,'0',$0d,$0a,$0d,$0a" and assigning everything that was removed to tempResponse.body. So this should be assigned all the chunked data and the trailing "$0d,$0a,'0',$0d,$0a,$0d,$0a" to tempResponse.body.
I will test it to make sure but it looks right to me.

Hi Jim,

I disagree that the httpParseResponse function is working correctly. It currently removes the end of the chunked message from the body at line 529.

I have tested the httpParseResponse function and confirmed that it does not remove the end of the chunked message from the body.
For example, this is the output when calling httpResponseToDebug on the HttpResponse structure after parsing a HTTP response containing chunked-encoded data with httpParseResponse:
----- BEGIN HTTP RESPONSE -----
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: text/plain
Connection: Closed

23$0D$0AThis is the first chunk$0D$0A24$0D$0AThis is the second chunk$0D$0A0$0D$0A$0D$0A
----- END HTTP RESPONSE -----

You can see that the body of the parsed HTTP response contains the 2 x chunks and their preceding lengths 23$0D$0AThis is the first chunk$0D$0A and 24$0D$0AThis is the second chunk$0D$0A followed by the terminating chunk 0$0D$0A and then the final carriage return line feed $0D$0A.


Remove type="text/css" from stylesheet links

MDN directly recommends this in https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link, since "CSS is the only stylesheet language used on the web."
Like https://github.com/rust-lang/rust/pull/101023, but for docs.rs.

Thanks!


passt: 2024_07_26.57a21d2 -> 2024_08_21.1d6142f

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for passt is: Plug A Simple Socket Transport
meta.homepage for passt is: https://passt.top/passt/about/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024_08_06.ee36266 with grep in /nix/store/2i9amvygm9ys2s8yfs2v049i16djxycw-passt-2024_08_06.ee36266
found 2024_08_06.ee36266 in filename of file in /nix/store/2i9amvygm9ys2s8yfs2v049i16djxycw-passt-2024_08_06.ee36266

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

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath

ansible-navigator
apx
apx-gui
buildah
krun
krunvm
out-of-tree
passt
podman

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2i9amvygm9ys2s8yfs2v049i16djxycw-passt-2024_08_06.ee36266 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/7f827fab9c463c5632852e7cd4c04d070728c89c#passt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2i9amvygm9ys2s8yfs2v049i16djxycw-passt-2024_08_06.ee36266
ls -la /nix/store/2i9amvygm9ys2s8yfs2v049i16djxycw-passt-2024_08_06.ee36266/bin

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

12 packages built:

ansible-navigator
ansible-navigator.dist
apx
apx-gui
buildah
buildah.man
krun
krunvm
out-of-tree
passt
podman
podman.man

Maintainer pings
cc @8aed for testing.

Add a :+1: reaction to pull requests you find important.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for passt is: Plug A Simple Socket Transport
meta.homepage for passt is: https://passt.top/passt/about/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024_08_21.1d6142f with grep in /nix/store/700fqq02l7f1c7pl1xlpgcknlrj15ksb-passt-2024_08_21.1d6142f
found 2024_08_21.1d6142f in filename of file in /nix/store/700fqq02l7f1c7pl1xlpgcknlrj15ksb-passt-2024_08_21.1d6142f

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

10 total rebuild path(s)

10 package rebuild(s)

First fifty rebuilds by attrpath

ansible-navigator
apx
apx-gui
buildah
krun
krunvm
out-of-tree
passt
podman

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/700fqq02l7f1c7pl1xlpgcknlrj15ksb-passt-2024_08_21.1d6142f \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/38bc2c471a017931009dbafbc4380a342b92810e#passt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/700fqq02l7f1c7pl1xlpgcknlrj15ksb-passt-2024_08_21.1d6142f
ls -la /nix/store/700fqq02l7f1c7pl1xlpgcknlrj15ksb-passt-2024_08_21.1d6142f/bin

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

2 packages failed to build:

ansible-navigator
ansible-navigator.dist

10 packages built:

apx
apx-gui
buildah
buildah.man
krun
krunvm
out-of-tree
passt
podman
podman.man

Maintainer pings
cc @8aed for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

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

12 packages built:

ansible-navigator
ansible-navigator.dist
apx
apx-gui
buildah
buildah.man
krun
krunvm
out-of-tree
passt
podman
podman.man


Non-printable characters debug log ("Finding component for...")

I encountered non-printable characters in the log file generated by SuperElastix, for example in a file named "G:\selx-data\SuperBench\TeamElastix\ITKv4_SyN_CC\DIRLAB\Case10Pack\moving50_to_fixed00_result_image.log":

[2018-10-30 11:04:30.629660] [thread 27376] [debug] Finding component for 'DisplacementFieldMeshWarper': 36 component(s) satisfies { 'Dimensionality' : '3, ' }  and previous criteria.

Looks like something's wrong with NetworkBuilder::ApplyComponentConfiguration(), at
https://github.com/SuperElastix/SuperElastix/blob/f030f50f07007104686873d2e367f41fa5ee1aad/Modules/Core/include/selxNetworkBuilder.hxx#L153

Now I understand: these non-printable characters are backspaces!
selxLoggerImpl does out << "\b\b" and out << "\b\b}" (twice), for example at:
https://github.com/SuperElastix/SuperElastix/blob/f030f50f07007104686873d2e367f41fa5ee1aad/Modules/Logger/detail/selxLoggerImpl.h#L78
@kaspermarstal Did you see this working properly? (I mean, did it remove the previous two characters.)  Interesting! It does not work with Visual C++!

Branch for this issue: https://github.com/SuperElastix/SuperElastix/tree/SELX-311-Backspace-characters-in-log

Nice you found out. I noticed the issue too #178


Chaingunners drop Maulers instead of Nailguns

max-welp

This is why:
https://github.com/XaserAcheron/eriguns/blob/45ea3b04a8e930939d542cb75a7abc56bac6900b/eriguns2/zscript/eriguns2/weapons/mauler.txt#L7

Finally got back around to this -- all fixed.
As a note, Maulers are supposed to replace chaingun pickups; the chaingunguy and backpack are meant to spawn Nailguns. This used to work as intended, but at some point I removed the mod's ChaingunGuy redefinition, and with it, the "DropItem Nailgun" line. Whoops! :P


add options hash to modify getScanResults level

tested pretty extensively. try:
no options object—
javascript
WifiWizard.getScanResults(function(results} {
console.log(results);
}, function() {
console.log('fail :(');
});
// returns [{..., level: -54}, ...]

set false for raw signal level—
```javascript```
WifiWizard.getScanResults({numLevels: false}, function(results} {
  console.log(results);
}, function() {
  console.log('fail :(');
});

// returns [{..., level: -54}, ...]

set true for default calculated signal level (as before)—
javascript
WifiWizard.getScanResults({numLevels: true}, function(results} {
console.log(results);
}, function() {
console.log('fail :(');
});
// defaults to previous behaviour
// returns [{..., level: 2}, ...]

set an integer to calculate signal level with that numLevels—
```javascript```
WifiWizard.getScanResults({numLevels: 20}, function(results} {
  console.log(results);
}, function() {
  console.log('fail :(');
});

// runs calculateSignalLevel(level, numLevels)
// returns [{..., level: 19}, ...]

Beautiful! I will merge this tonight.

:grinning:

Thanks! I am writing that up in the README now

awww, i don't get commit credit? :stuck_out_tongue:

Oops! Sorry! I didn't know that was a thing. How can I credit you?

Usually happens when you merge the commits. Looks like you imported this manually, vs. merging / resolving any conflicts?

Weird!  Let me know if that's good with you. Thanks for adding the feature!

Lol, thanks Matt :)
On Mon, Feb 2, 2015 at 5:52 PM Matt Parsons<EMAIL_ADDRESS>wrote:

Alright, you're now credited with a commit. Let me know if that's good
with you. Thanks for adding the feature!
--
Reply to this email directly or view it on GitHub
https://github.com/parsonsmatt/WifiWizard/pull/16#issuecomment-72556120.


irisdown-remoteshowcontrol

Request to add command Enable/Disable Laser pointer
This is a much needed feature, please add

Is this a feature for irisdown-remoteshowcontrol?  I don't believe there is a laser pointer in Powerpoint to enable/disable.


Refactor IoPath FileLister and FileLoader

Fixes #52
This PR is going to add all existing PathHandlers from iopath to make sure it can handle the following data sources:

Local File Path
HTTP Url
OneDrive Url
S3 Url (will be included in iopath next release)

Before this PR, these two DataPipes only work with NativePathHandler, which would handle the local file.

Re-create PR to use ghstack.


GSE109816 GSE121893 - HeartReconstructionPostHF

Project short name:
HeartReconstructionPostHF
Primary Wrangler:
Ida
Secondary Wrangler:

Associated files

Google Drive: folder

Published study links

Paper: Single-cell reconstruction of the adult human heart during heart failure and recovery reveals the cellular landscape underlying cardiac function

Accessioned data:

GSE109816 healthy samples
GSE121893 disease samples

Ingest
Key Events

[ ] Convert published metadata to HCA spreadsheet
[ ] Manually curate dataset to meet HCA metadata standard
[ ] Collect any matrix and cell-type annotation files
[ ] Are the analysis files suitable for CellxGene? If something is missing get in touch with the authors to request it
[ ] Upload sheet to validate metadata
[ ] Transfer raw files to ingest to validate data files
[ ] Check linking using ingest graph validator
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

Data
I tried to download the data but it failed, I've asked for help to the SRA help desk to solve the error

Ida tried to download the data but it failed, she asked for help to the SRA help desk to solve the error
Enrique tried to download both accessions and failed
Wei tried to download just one accession and failed

Arsenios tried to download just one accession and failed.
We will try another strategy, to download individual donors by searching donor name in the Run Selector search bar.
If healthy donor N2 works, I will continue with other donors and track the progress here.
Healthy Donors

[ ] N2 (requested on 1/5/24)

The submission is too large to upload to ingest - I've generated uuids for all the entities and I will need Enrique's help to generate the submission

generating the submission with a script is not feasible (it takes 3+ days of monitioring the script) so this dataset is stalled until we can address the reason for the timeout (?)or otherwise make sure that ingest can process large submission


Find a new logo

I don't think it's appropriate for us to be using the logo from another project. Flaticon has a bunch of potential options worth looking at:
http://www.flaticon.com/packs/kitchen-8
http://www.flaticon.com/packs/kitchenware-2

100% agree. I'll start shopping around as well to see if I can find something. Let me know if you find a few you like.

One pack I like is the kitchen 14 one. The chef would make a good logo, and we could use a few of the dish icons (1, 2, 3, 4, and 5) as placeholders (ie: generate 5 placeholders and pick a random one every time we need to display a placeholder. We could also use the chef hat or cutlery.

Thoughts, @RyanNoelk?

Thats amazing! Thanks for the awesome work!

Cool! I've got some details to iron out and then I'll make a PR.


Plugin integration with verification workflow

Spec : https://github.com/notaryproject/notaryproject/blob/main/specs/plugin-extensibility.md#verification-extensibility
Signed-off-by: rgnote<EMAIL_ADDRESS>
Closes https://github.com/notaryproject/notation-go/issues/95

Build failures will be resolved once https://github.com/notaryproject/notation-go/pull/85 is merged

@qmuntal This PR is integrating plugins in the verification workflow. Appreciate if you can review this.

Codecov Report

Merging #101 (a489203) into main (f3bae83) will increase coverage by 0.54%.
The diff coverage is 82.27%.

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   72.14%   72.68%   +0.54%
==========================================
  Files          36       36
  Lines        2265     2471     +206
==========================================
+ Hits         1634     1796     +162
- Misses        506      539      +33
- Partials      125      136      +11

Impacted Files
Coverage Δ

plugin/plugin.go
0.00% <0.00%> (ø)

verification/types.go
95.23% <62.50%> (-4.77%)
:arrow_down:

verification/helpers.go
92.50% <72.72%> (-2.05%)
:arrow_down:

verification/verifier_helpers.go
72.12% <73.52%> (-6.71%)
:arrow_down:

verification/verifier.go
87.02% <97.22%> (+10.94%)
:arrow_up:

signature/plugin.go
68.50% <100.00%> (ø)

signature/signer.go
51.80% <100.00%> (ø)

verification/errors.go
20.00% <0.00%> (+20.00%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


jwt-auth-bundle v5 development thread

This thread is to provide updates and centralize discussion around the forthcoming 5.0 major release of jwt-auth-bundle, currently in development. As conversations had begun to splinter across a few separate issues on the subject, I thought it in our best interest to have a central place to bridge these discussions.
The 5.x-dev branch is the in-development branch representing this work. Feedback, PRs, and testing are greatly appreciated. As this branch approaches what we consider beta ready, we'll merge it into main and begin cutting pre-production releases for testing. (Until then, it should be considered experimental, unstable and has not undergone a security review yet.)
Goals for 5.0 include:
🟢 Support for the new SF 5.1+ authenticator-based security, as contributed by @mcsky
🟢 Support for SF 6, as contributed by @mkilmanas
🚧 Migration to Auth0-PHP SDK 8.0 by @evansims
Note that the new 5.x bundle release will not include support for SF versions before 5.2 or PHP versions before 7.4.
Auth0 does not currently have a timeline for a stable release on this major, but will keep you informed.

I'll be commencing work on migrating the library to the new version of the underlying Auth0 SDK sometime this week

@evansims how is the Auth0 SDK upgrade progressing?

@evansims is this feature ready for release?
I have tested this branch with Symfony 6.0 and PHP 8.1, didn't find any issues.

Hi @michielkalle 👋 Thanks for testing the development branch. There's a bit more work to be done before we're ready to release this, but you are welcome to continue using the test branch meanwhile. I'm unable to provide a firm timeline right now, but this is on my radar and will receive attention soon.

Am I missing something about trying out the development branch? None of it will run because of conflicts with the Lcobucci\JWT bundle as the 7.9.2 version of the auth0-php that the current dev version requires, because it uses a temporary fork and composer won't install properly.

@evansims I have almost everything working but I keep getting an error from the Auth0 decode service.
In the Auth0 PHP SDK, it gets here and throws an error:
        if ($alg === Token::ALGO_RS256) {
            $kid = $this->headers['kid'] ?? null;

            if ($kid === null) {
                throw \Auth0\SDK\Exception\InvalidTokenException::missingKidHeader();
            }

I'm not sure how we're supposed to be generating the kid header from the libraries or how that was handled before. Any ideas?


Improve ADLSToAzureSQL flow to support parquet files

Hi @Nadiath-Waidi,
right now ADLSToAzureSQL flow supports only csv files. We need to improve this flow or create a separate one to be able to use parquet files from DL Gen2.

This would require using AzureSQLBulkInsert instead of BCPTask

Marked as good first issue as the likely solution is already sketched in detail (depending on point 1. of the TODO), so not much knowledge of viadot is required. However, it may require intermediate Python skills to finish.

This is not supported by Azure SQL. The solution is somewhat outside the box: it's to not use Azure SQL at all, but an SQL engine running on top of the lake, eg. Databricks SQL.


[WIP]Set desired state for rescheduled container

Fixed #1891
Currently in container rescheduling, Swarm will start all rescheduled container to Running state.
While In reality, before rescheduling, container can have several kinds of state: paused, starting, dead, exited as well.
And I think Swarm should take this fact into consideration and set the desired state.
This PR did:

Add PauseContainer in interface type Cluster interface;
Add set desired state in the logic rescheduleContainers;
Implement PauseContainer both in swarm/cluster and mesos/cluster;
Implement PauseContainer in engine.go.

Signed-off-by: allencloud<EMAIL_ADDRESS>

This PR still needs reviewed. Since when service docker stop, docker engine will stop all the running containers. And these events will be received by Swarm, then Swarm updated container state in memory. It will make every container as a state of Exited, so reschedule container to another as a state of Paused.
Changed the title into WORK IN PROGRESS.


The Margin of ContentPresenter in MetroListBoxItem

The Margin of ContentPresenter in MetroListBoxItem should inherit {TemplateBinding Padding}, and let developer use the Padding the change the Margin of ContentPresenter

@ye4241 thx

@punker76 :smirk:


One Azure client to rule them all.

Hi @boumenot, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Part of the changes needed for #94

LGTM otherwise...


VictoryAxis is not aligning tick labels correctly

Greetings,
Numbers on the dependent axis is not aligning properly as shown below. Problem does occur with letters aswell.

<VictoryBar
    data={this.props.data}
    x="date"
    y="value"
/>
<VictoryAxis />
<VictoryAxis dependentAxis tickFormat={x => `${x}`} />

Having the same issue, it seems to just be the 1 for me... all other numbers are fine

Work around by setting a custom tickLabelComponent with the prop textAnchor set to "start"
  <VictoryAxis     dependentAxis     tickLabelComponent={<VictoryLabel textAnchor="start" />} />

this issue is resolved in<EMAIL_ADDRESS>+<EMAIL_ADDRESS>


Setup-associations

Highlights

[ ] set up school libraryr associations
[ ] ensure all linters pass

Thank you for approval of the PR @rotimiazeez


fix(links): update storybook react links

Description
Fixes links to Storybook React component examples
Changelog
Changed

update links for Storybook React

oops @kennylam the last commit failed to build. Do you know how to fix?

Didn't get a chance to comment yet, but both WC and React links to Leadspace are broken.
Was going to try to check the others

Oh Lead space web component one is broken. Sorry!

Taking another look at this PR, realized the goal was to update React links. There are still some web comp links not working, but we will address in separate PR. Thanks @kennylam !


Exec tachikoma update<PHONE_NUMBER>5905

:hamster::hamster::hamster:   Strategy bundler
Powered by Bundle Update as a Service - Tachikoma.io

Coverage remained the same at 51.25% when pulling b104ea894a3f6a45c935df567edb5c17f056dcd8 on tachikomapocket:tachikoma/update-20150326005905 into<PHONE_NUMBER>44ea6771365554be9a023a1f3ad060 on Tomohiro:master.


install git in the dockerfile

Signed-off-by: Guy Margalit<EMAIL_ADDRESS>

Codecov Report

Merging #105 (14740dc) into main (bde90e5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   66.88%   66.88%
=======================================
  Files           7        7
  Lines         625      625
=======================================
  Hits          418      418
  Misses        188      188
  Partials       19       19

Help us with your feedback. Take ten seconds to tell us how you rate us.


Make ReactContext abstract

Summary:
Context
Prior, ReactContext used to implement bridge logic.
For bridgeless mode, we created BridgelessReactContext < ReactContext
Problem
This could potentially lead to silent failures: It is possible to accidentally call bridge implementations of apis in bridgeless mode.
Also, we can't tell if Bridgeless replaces all the APIs it should! (spoiler: it doesn't!)
Proposal
Have ReactContext implement only the APIs common to bridge and bridgeless mode. Make all other APIs declared abstract.
Then...
[New] Bridge mode: Introduce BridgeReactContext to:

Hold the Catalyst Instance
Implement those abstract APIs with the CatalystInstance.

Bridgeless mode: In BridgelessReactContext:

Hold the new react instance
Implement those abstract APIs with the new react instance.

Learnings
Thanks to this diff, we learned that BridgelessReactContext doesn't implement ReactContext.destroy()!
Changelog: [Android][Breaking] Make ReactApplicationContext, and ReactContext abstract. If you were creating the ReactApplicationContext, please instead create either BridgeReactContext or BridgelessReactContext instead!
Reviewed By: cortinico
Differential Revision: D53145010

14fb1cc335b900666ef4fe6cec6a23a7a95bcf76


Reporting method, thoughts about storing 'samples', and better path in notebook

The last part of this PR is in response to #29 (Binder needs python setup).

Experimental binder build is here...

... success! SLTimer tutorial now works fine in binder. Thanks @jchiang87 ! :-)

Hmm. Tests pass fine on my command line, but we must be importing things badly, as travis is having a hard time. Here's its error message:

Traceback (most recent call last):
File "/home/travis/build/DarkEnergyScienceCollaboration/SLTimer/tests/test_SLTimer.py", line 23, in test_download_and_read_in
self.timer.download(url)
File "/home/travis/build/DarkEnergyScienceCollaboration/SLTimer/python/desc/sltimer/SLTimer.py", line 25, in download
self.read_in(format=format)
File "/home/travis/build/DarkEnergyScienceCollaboration/SLTimer/python/desc/sltimer/SLTimer.py", line 29, in read_in
if format == 'rdb':  self.lcs = read_in_rdb_data(self.datafile)
File "/home/travis/build/DarkEnergyScienceCollaboration/SLTimer/python/desc/sltimer/IO.py", line 3, in read_in_rdb_data
import pycs
ImportError: No module named pycs

But the log from pip install -r requirements.txt shows no errors. I'm going to merge anyway, and issue the more general problem of how we import libraries...