Log shipping restore

Couldn't find it explicitly in the docs - is log shipping supported as a migration path?

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

ID: 28ca1f7f-5a34-0f23-10ce-3ff24c76db97
Version Independent ID: 5c4a22c4-78fc-911d-9fa0-8dfab1653b6e
Content: Azure SQL Database Managed Instance Overview | Microsoft Docs
Content Source: articles/sql-database/sql-database-managed-instance.md
Service: sql-database
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

See https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features - re: log shipping being built in - will add clarity re: not being a supported method

#please-close

Sorry, still not clear.  We want to migrate from on-prem, to managed instance,  by shipping logs, so overall downtime is very low. Since managed instance is proper SQL server, and you say it's "built in", is there any issue with this approach?  Thanks

Log shipping is built in to Azure SQL Database – they edit that I am making is that currently the only two supported migration methods are backup / restore and DMS. Additional methods are possible for GA – I cannot speak definitively about which and when. This is just this initial public preview. Stay tuned. Sorry that I cannot be more precise.
From: nikess<EMAIL_ADDRESS>Sent: Thursday, March 8, 2018 9:09 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Log shipping restore (#5449)
Sorry, still not clear. We want to migrate from on-prem, to managed instance, by shipping logs, so overall downtime is very low. Since managed instance is proper SQL server, and you say it's "built in", is there any issue with this approach? Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F5449%23issuecomment-371554550&data=04|01|carlrab%40microsoft.com|e7ddbc34150a4a28ebdd08d585175796|72f988bf86f141af91ab2d7cd011db47|1|0|636561257669731984|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=KKAY0%2BWw%2FTuOupudCn9hpY1PbibMXqHdfanlTMYmRwM%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBn-SSjY_FzYxatKD9tZaxdSxQMY94ks5tcWXDgaJpZM4SiRyP&data=04|01|carlrab%40microsoft.com|e7ddbc34150a4a28ebdd08d585175796|72f988bf86f141af91ab2d7cd011db47|1|0|636561257669731984|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=psqjEr7cWcLFV0GR3UkkCh7C7HJgApRfX%2BpqHWm8Pk0%3D&reserved=0.

@nikess Have you had a chance to review the following document. It covers the available SQL Server to Azure SQL Server (single instance or pooled) migration options. This could be exactly what you are looking for:
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-cloud-migrate

Thanks Mike.
For option 1, backing up, copying (several) terabytes over the internet and restoring, is going to mean an unacceptable amount of downtime, no matter how you cut it.

Transaction replication is really clunky on massive, busy database, with hundreds of tables.  Limitations, no schema changes, etc. etc.

So unfortunately both options are undesirable to us (which is why we have been holding out for MI).

@nikess
So, I was unable to find any specific documentation or a tutorial that supports your desired migration strategy but, I have found the following (additional) information that details the current lift-and-shift strategy. The Channel 9 video provides a means to offer feedback and ask questions. Perhaps your use case is a good one for the Fast Track Team and there is the MSDN forums, where this question can be presented.
The information be ing proposed here makes use of the Data Migration Assistant which requires an outage period until the migration has complated. I just cannot find any documentation that says Log Shipping is supported/not supported. It could be possible that Log Shipping could be used through a manual set-up with the use of Express Route. This would require building out your VMs with the necessary storage, installing SQL Server, followed by setting up Log Shipping, etc. The Express Route component would allow for a higher bandwidth pipe to get data to your Azure SQL deployment.
Channel 9 - Migrate SQL Server data by using Azure SQL Database Managed Instance
https://channel9.msdn.com/events/Connect/2017/T142?term=Azure SQL Database
SQL Server Migration Tutorial w/ Data Migration Assistant
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-migrate-your-sql-server-database
Azure Express Route
https://azure.microsoft.com/en-us/services/expressroute/
As for the purposes of fixing the exisitng documentation, please let me know if there is anything remaining to be resolved.
Thank you,
Mike

See also: Migrate SQL Server to Azure SQL Database Managed Instance https://docs.microsoft.com/en-us/azure/dms/tutorial-sql-server-to-managed-instance
Log shipping is currently not a supported migration method. This article SQL Server instance migration to Azure SQL Database Managed Instance https://docs.microsoft.com/en-us/azure/sql-database/sql-database-managed-instance-migrate discusses the only 2 currently supported migration methods. Borko may be able to give you additional information.
Carl
From: Mike Ubezzi<EMAIL_ADDRESS>Sent: Friday, March 9, 2018 10:00 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Carl Rabeler<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Log shipping restore (#5449)
@nikesshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnikess&data=04|01|carlrab%40microsoft.com|bfce858c54464bf5643e08d585e79b0d|72f988bf86f141af91ab2d7cd011db47|1|0|636562152154893376|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=LCceEdM4wZ%2Bem7GO8ZQANVZIulMrk5HFtdO6Fh4tC64%3D&reserved=0
So, I was unable to find any specific documentation or a tutorial that supports your desired migration strategy but, I have found the following (additional) information that details the current lift-and-shift strategy. The Channel 9 video provides a means to offer feedback and ask questions. Perhaps your use case is a good one for the Fast Track Team and there is the MSDN forums, where this question can be presented.
The information be ing proposed here makes use of the Data Migration Assistant which requires an outage period until the migration has complated. I just cannot find any documentation that says Log Shipping is supported/not supported. It could be possible that Log Shipping could be used through a manual set-up with the use of Express Route. This would require building out your VMs with the necessary storage, installing SQL Server, followed by setting up Log Shipping, etc. The Express Route component would allow for a higher bandwidth pipe to get data to your Azure SQL deployment.
Channel 9 - Migrate SQL Server data by using Azure SQL Database Managed Instance
https://channel9.msdn.com/events/Connect/2017/T142?term=Azure SQL Databasehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fchannel9.msdn.com%2Fevents%2FConnect%2F2017%2FT142%3Fterm%3DAzure%2520SQL%2520Database&data=04|01|carlrab%40microsoft.com|bfce858c54464bf5643e08d585e79b0d|72f988bf86f141af91ab2d7cd011db47|1|0|636562152154893376|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=6k9GxMRt5QEXOK6j1Bzm2ZbcQEP4WVafdRVCvksl%2FiY%3D&reserved=0
SQL Server Migration Tutorial w/ Data Migration Assistant
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-migrate-your-sql-server-databasehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsql-database%2Fsql-database-migrate-your-sql-server-database&data=04|01|carlrab%40microsoft.com|bfce858c54464bf5643e08d585e79b0d|72f988bf86f141af91ab2d7cd011db47|1|0|636562152154893376|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=VD7N1Q3ECUWsX%2FheVim%2FBbx%2FAkHRkGrb5l%2BsDZGV528%3D&reserved=0
Azure Express Route
https://azure.microsoft.com/en-us/services/expressroute/https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fexpressroute%2F&data=04|01|carlrab%40microsoft.com|bfce858c54464bf5643e08d585e79b0d|72f988bf86f141af91ab2d7cd011db47|1|0|636562152154893376|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=Cm9%2FXpHVsNntYUYhyOwVuEsK2ArETJMMWc7LMMAJm6A%3D&reserved=0
As for the purposes of fixing the exisitng documentation, please let me know if there is anything remaining to be resolved.
Thank you,
Mike
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F5449%23issuecomment-371893827&data=04|01|carlrab%40microsoft.com|bfce858c54464bf5643e08d585e79b0d|72f988bf86f141af91ab2d7cd011db47|1|0|636562152154893376|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=uaXPswwYRTt0Y1TcQuvse2ZlMnsL4%2FYRUyHQrwjaueY%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMCBn57_2AZjKz2WAc7-M3DgG3yux76Iks5tcsMrgaJpZM4SiRyP&data=04|01|carlrab%40microsoft.com|bfce858c54464bf5643e08d585e79b0d|72f988bf86f141af91ab2d7cd011db47|1|0|636562152154893376|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-2&sdata=EFCH5eWr4r5UBEfkEoiULYuP2cADr0lwoFyAr8%2BAves%3D&reserved=0.


Enforce check_parameters for alpha in geometric_adstock

Description

Introduces pymc.distributions.dist_math.check_parameters to validate geometric_adstock's alpha.

I took the idea to use that function from pymc's implementing_distribution.md
Basically a wrapper around @wd60622 idea of using pymc.logprob.utils.CheckParameterValue

Add a test to assert failure with bad alpha values

Related Issue

[ ] Closes #
[x] Related to #918

Checklist

[x] Checked that the pre-commit linting/style checks pass
[x] Included tests that prove the fix is effective or that the new feature works
[ ] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[x] MMM
[ ] CLV

Type of change

[ ] New feature / enhancement
[x] Bug fix
[ ] Documentation
[ ] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--960.org.readthedocs.build/en/960/

Thanks for the suggestions, and having a look at the PR.
Indeed cleaner this way

pre-commit.ci autofix


MS-8722: Do findByHCPartyPatientSecretFKeys in chunks to avoid parame…

…ter becomming to long (V6)

The chunk mechanism is interesting but I think this implementation is way too simple.
The chunk size should be managed at the client side: What if other clients would like to chunk by 5 or not chunk at all ?
Plus, if one request goes wrong (let's say, the second chunk), you will loose all the data you found earlier. It means if you would like to put in place a retry mechanism, you just relaunch all your requests.
If we want to introduce this mechanism inside the library, we need to make certain architecture choices of our own. Therefore, I suggest to discuss it back with Antoine and Damien and see when we could/should develop this new feature in the iCure library.
In the meantime, I suggest you to put the mechanism you created inside Medispring when calling the method instead of inside the library.


isSuper is passed down to reaction

Fixes a small bug where the further reading was incorrectly displaying on superArticles, the isSuper prop was not being passed down to reaction.

LGTM. Adding "Merge On Green" label.


Swap Home and About pages

Change the default landing page from Home (index.html) to About (_tabs/about.md). This will also require changing other theme files and references to 'home'.

Opened this issue on the wrong repo. Closing as this was completed yesterday.


Allow pytorch backend when available in PyMC

The barebones PyTorch backend should be in in the next PyTensor release and subsequent PyMC.
I think the best way to test it out and gather info on what Ops are most needed is to give access from nutpie, as it will:

Feel like experimental on experimental
Be tested by more code-savy people

What do you think?

Coming up soon :-)

Current work is here: https://github.com/pymc-devs/nutpie/pull/144


Specify the difference between Azure Digital Twins and Azure Smart Spaces API?

To be fair - it's unclear - when should we use Azure Digital Twins and Azure Smart Spaces API?
When I will write a guide/instructions for our DevOps people or Global Admins - I should specify exact application name not try this one or try another one. It will not work for big organizations.
Current notes and "explanations" are not enough

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

ID: 40122dc8-6ffa-cc83-102b-e3207f35efad
Version Independent ID: 0e52b26d-c146-1412-f927-d761486f9571
Content: Find available rooms - Azure Digital Twins
Content Source: articles/digital-twins/quickstart-view-occupancy-dotnet.md
Service: digital-twins
GitHub Login: @alinamstanciu
Microsoft Alias: alinast

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

Related to https://github.com/MicrosoftDocs/azure-docs/issues/39230
@SychevIgor   Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Could you specify in a documentation that "The two most common are: Azure Digital Twins (external to Microsoft) and Azure Smart Spaces Service (Microsoft)." (C)

@SychevIgor - I've gone ahead and updated the documentation to more clearly explain which AAD API ID one should search for. External accounts should search for Azure Digital Twins. Test accounts should search for Azure Smart Spaces Services. Thank you!

@KingdomOfEnds "External" , to be fair, it's not the best way to say- "Non-Microsoft". "External" sounds to "MicrosoftCentric/egoistic".
Of course it's just my personal opinion as an external developer

The Azure AD API name and ID that will appear in your Azure account depends on the tenant to which you belong:

Standard accounts should search for Azure Digital Twins.
Development test accounts should search for Azure Smart Spaces Service.

@SychevIgor , @Alberto-Vega-MSFT - I wanted to verify that the issue had been addressed. Thanks!


Netflix One Profile Works, Others Don't

Not even sure this is a netflix-proxy issue, but I have my account with 3 profiles. 2 of the profiles tell me I am using a proxy when I try and watch a show, the other profile can watch the exact same show no problems. The 2 profiles are the default profile and just a regular one. Very weird activity...I don't get it. If I create a new profile, it is able to watch the shows no problem as well. Not such a big deal, but having the main profile say its using a proxy but other profile is working fine baffles me.

Odd.... are all your profiles with the same provider?  I ran into the same issue with two different providers.  Turns out their IP ranges were blacklisted.  Found another provider which hasn't been blacklisted yet.

Maybe it is something to do with stale session cookies. Have you tried a fresh browser session or even a completely different browser. Logging out of all your devices, etc. I would have thought geo blocking would be done at the IP level, well maybe the account level, but certainly not at the profile level..

Yes it's very odd. It's happening on multiple devices all usinch the same dns. Even tried unblockus and same issue. I don't get it. It's happening on a Sony tv, Apple TV, chrome on Mac and IE in Windows. Just tested the one profile Jack and it says I am using a proxy so I deleted that profile and recreated it with the same name and now it's not blocked. Very puzzling. One thing I could think of is I have got the using a proxy error multiple times under these two profiles so I got flagged by Netflix for using unblocking and recreating the one profile removes the flag. Obviously I can't remove the main profile so I guess for now I will have to recreate my profiles if it happens again.

Oooh... three Netflix profiles under one account.  Very weird that two won't work and one will.  Try resetting the app on those devices, and then login again.  With some devices there's an option to reset the Netflix app... have you tried that?

This is baffling, although it is an useful insight into how Netflix handle detection and enforcement of users connecting via proxies.
You should jump onto the IRC channel and ask if anyone else has seen similar behavior. Details in the README..
I'll close this for now.
-- ab1

I know this is closed but just to update, I added the nflxvideo.net to the DNS and now all profiles are working, so strange that only 1 profile would be affected by the new blocking.

I put an update at the bottom of the README [n12] on new-auth, have a read and you'll probably get an idea what is going on..


bert run_classifier key error = '0'

File "run_classifier.py", line 981, in
tf.app.run()
File "C:\Users\Parveen\ishan\bertenv\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "C:\Users\Parveen\ishan\bertenv\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\Users\Parveen\ishan\bertenv\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "run_classifier.py", line 942, in main
predict_file)
File "run_classifier.py", line 490, in file_based_convert_examples_to_features
max_seq_length, tokenizer)
File "run_classifier.py", line 459, in convert_single_example
label_id = label_map[example.label]
KeyError: '0'
I have changed the labels in the colaProcessor class and my training is successful, I am getting this error during testing. Please help

I had the same problem. Training was successful but testing threw KeyError: '0'. I solved the problem by changing labels to a list of stringified integers. ["e","k_1980", "k_1990", "k_2000", "k_2010"]produced the KeyError but ["0", "1", "2", "3", "4"] worked fine.

I had the same problem. Training was successful but testing threw KeyError: '0'. I solved the problem by changing labels to a list of stringified integers. ["e","k_1980", "k_1990", "k_2000", "k_2010"]produced the KeyError but ["0", "1", "2", "3", "4"] worked fine.


Fixes a test failure on Windows

Fixes a test failure on Windows due to a CXSmilesFields enum value overflowing the max int32 limit.
The problem does not show up on other platforms as the enum casting done by the compiler is implementation-dependent.
According to the standard, unscoped enums are implicitly converted to int (https://docs.microsoft.com/en-us/cpp/cpp/enumerations-cpp?view=msvc-160), so a value exceeding the maximum int32 integer will be converted to a negative value, which is exactly what happens with the CX_ALL enum value which is converted to -1 causing one of the Python tests to fail:
2021-08-19T14:53:05.5899376Z ERROR: testCXSmilesOptions (__main__.TestCase)
2021-08-19T14:53:05.5900940Z ----------------------------------------------------------------------
2021-08-19T14:53:05.5902000Z Traceback (most recent call last):
2021-08-19T14:53:05.5903667Z   File "D:/a/1/s/Code/GraphMol/Wrap/rough_test.py", line 6663, in testCXSmilesOptions
2021-08-19T14:53:05.5905176Z     Chem.MolToCXSmiles(m, ps, (Chem.CXSmilesFields.CX_ALL ^ Chem.CXSmilesFields.CX_LINKNODES)),
2021-08-19T14:53:05.5906870Z OverflowError: can't convert negative value to unsigned int

A better fix would be to convert the unscoped CXSmilesFields enum to a strongly typed scoped enum class. This would prevent the implicit cast to int. However, this also means that all bit operations on enum members would require an explicit static_cast<uint32_t>, making the code unnecessary complicated.
So I propose to stick to the unscoped enum, and simply doing without the most significant bit in the enum. Doing so, we can replace std::numeric_limits<uint32_t>::max)() with std::numeric_limits<int32_t>::max)() and avoid the sign issue.

weird, I was aware of the problem and thought the windows CI builds had passed before I did that merge.
Thanks for the the fix


Adding tests for the changes in swagger api spec for patch status in VMInstanceView, properties in AssessPatches API and patch settings in Windows and Linux Configuration in VMModel

…VMInstanceView, properties in AssessPatches API and patch settings in Windows and Linux Configuration in VMModel
PR for related swagger changes: https://github.com/Azure/azure-rest-api-specs/pull/11768

Related swagger PR is now merged

@rane-rajasi I don't see updates in metadata, versions, and so on. Could you please follow the checklist below?

[ ] Swagger review PR(s) link in PR description, and the PR(s) is merged
[ ] Metadata file eng/mgmt/mgmtmetadata_{RP}.txt is updated
[ ] Versions in *.csproj and AssemblyInfo.cs are updated, and follows semver
[ ] Release notes in *.csproj is updated
[ ] If there's a API-version update, the API tags in Az.Sdk.props are updated
[ ] Generated code is not touched
[ ] Proper test coverage

If no updates, will close it in next week. Thanks

Please follow up with Adam Sandor for updates regarding this PR. Since it is in compute-2020-12, Adam will have more details on the PR

Closing for now.

Closing for now.

@Sandido Updated the PR with latest from compute-2020-12. Please review


Corrections: issue #919 dapiName > _dataFeedId

Closes #919
Changes are detailed in #919. Also, should the version of Solidity be changed in all dAPI doc set code examples?
Current > pragma solidity ^0.8.3;
?       > pragma solidity ^0.8.9;

should the version of Solidity be changed in all dAPI doc set code examples?

I suppose?


Update README.md

Update readme with disclaimer around support for the v1 DID Hedera method. The only change is to the Readme file adding 2 lines of text.

Re-submitting with DCO compliant signature


ISPN-15238 Backup write operations should ignore previous value

https://issues.redhat.com/browse/ISPN-15238

Note I have not added a test to assert the removal of the value, but will do so soon. This is more to get test coverage as this could affect many tests.
Also I have not evaluated Tx dist yet as that may behave differently.

Thanks @wburns


feat(vdf): Dynamic VDF and throttling of proofs from testnet to mainnet

Created v5.3 branch with the VDF changes.

Dynamic VDF from testnet to mainnet
Increase VDF difficulty to make it longer to generate proofs.

Steps before merge:

Confirm difficult with sirouk
Run this branch on testnet for 3 consecutive epochs successfully with generating and submitting proofs

99% of the changes are simply my autoformatter removing empty spaces.
The only changes are in Globals line 149, and in TowerState line 431

@hemulin Can you confirm if the Dynamic VDF changes and difficulty have made it to production on V5. And if so, if the migration to V6 is also including them?


[Question] Is 2bit quantization possible?

First I want to say THANK YOU to make this project possible. It's amazing how many possibilities will open thanks to this community :)
I want to run llama2 on my iPhone, however most of the iPhones have 4GB RAM so the even the 7B with 3bit quantization won't fit on it. I've been trying to create a 2bit quantization model by adding this code:
"q2f16_0": QuantizationScheme(
        name="q2f16_0",
        linear_weight=GroupQuantizationSpec(
            dtype="float16",
            mode="int2",
            sym=True,
            storage_nbit=16,
            group_size=40,
            transpose=False,
        ),
        embedding_table="same_as_linear_weight",
        final_fc_weight="same_as_linear_weight",
    ),

so it will fit on the 4GB RAM. However while testing the model I only get gibberish from it:
Loading model...
[13:03:28] /Users/catalyst/Workspace/miniforge3/envs/mlc-llm-build/conda-bld/mlc-chat-cli-nightly-package_1691568383808/work/3rdparty/tvm/src/runtime/metal/metal_device_api.mm:167: Intializing Metal device 0, name=Apple M1 Pro
Loading finished
Running system prompts...
System prompts finished
[INST]: Hi
[/INST]: Initial uniewor on the question of the basics, v’1/ NT. (H)ar-type decision) two M.
 You warm-T, 1, 11SAT, takings of the Sphistic Logs Ponder about the Gov.al the collection justification of the crew)
am Sclich E
The right 'in T QUсковO Philadelphia head-a, the -W cher in 'c mantrack n't w ret
Sale the whole foregrant-iSchуames Th
sigh inCOMIVde Mpos deusted al
-wil on new Sergh Scers of te tangeles^C

Is 2bit quantization possible or this will just produce a so bad quality model that will only produce gibberish?
Thanks!

Doing some research I found this paper https://arxiv.org/pdf/2307.13304.pdf and this related code https://github.com/AlpinDale/QuIP-for-Llama
Is this quantization method possible? (This is beyond of my knowledge)

Hi, thanks for paying attention to the latest 2-bit quantization research and point that out here! On memory consumption perspective, 2-bit is definitely something we want to try.
The paper has some comparisons that show perplexity explodes when we directly apply 2-bit quantization but can get decent results if QuIP is applied. The experiments done in this paper is for OPT model, and according to this issue the performance some folks reproduced are not good yet. If you try 2-bit OPTQ with their open sourced code you might also notice that, 13B-2bit model may not perform as well as 1.3B-4bit model in perplexity.
I think the method definitely can improve over the original 2bit method but there's no guarantee the results would be as good. And it's highly implementation dependent so definitely worth a try to see if that works on llama-2.

Hi, I'm one of the authors of the mentioned QuIP method. Our work presents a new quantization algorithm that is able to achieve sensible quantization down to 2 bits. Based on an analysis of our experiments so far (3 language generation tasks, 4 downstream zeroshot tasks, and OPT models up to 30b parameter), using our method to quantize to 3 (or 4) bits makes the best use of a fixed memory budget when comparing to another quantization algorithm OPTQ and the fp16 models.
rebuttal_quip_neurips23.pdf
The issue you mentioned states they are able to get QuIP on OPT working well, which is the model we've so far conducted experiments on. The commenter stated concerns of a fork of our repo extending to the LLaMa model; I'm still talking with them to understand what the specific issues are.

https://github.com/DD-DuDa/BitDistiller
They've done it using a form of self-distillation


Question: removing CodeMirror

Hi @aristath,  have you ever thought about removing CodeMirror and add it in the form of add-on?

Yes, I've considered it.
A lot...
There are a lot of things to consider here
Why would anyone want to remove CodeMirror from Kirki?
I can only think of 1 reason: embedding it in a theme.
But I am 100% against embedding kirki in a theme. Users can't get security updates and if they happen to install a plugin that also uses kirki - and the plugin uses a newer version, then all hell will break loose. So this is something that should be avoided...
Removing it at this point would be weird as a lot of themes are already using it. I would love to remove a lot of things and offer them as addons, leaving kirki just a core of functions with all controls as external modules.
But for backwards-compatibility reasons that can't happen either. Kirki will continue to be offered as a complete package on wordpress.org as a plugin.
I then thought of building a custom-builder for Kirki that will allow developers to select the modules they need and download a custom build of the plugin. But that would promote the idea that this is something that should be embedded in a theme - which is not the case.
If this were just a library of independent controls then yes, it would be a good idea to do it.
But now? I'm not so sure.
I'm not saying no... But I've been considering this for about a year now and trying to find the best way to approach developers and theme-authors.
I'm assuming the reason you're asking for the removal of CodeMirror is because you want to embed kirki in your theme or plugin? If so, can you please explain why you chose to embed the plugin instead of recommending its installation?
I want to understand the reason why a lot of theme authors choose to do that

by the way, I'm currently rewriting a lot of things and while rewriting things I also changed the structure.
So at some point (I don't know if it will be version 2.4 or 4.0) controls will be self-contained: https://github.com/aristath/kirki/tree/modular/controls
So while we will continue to provide all fields in-core, it will be easy for developers to decouple things and only keep the parts that they want.
There's still lots to do there, but this is what the future will be like.
Other features like reset, tooltips etc will be decoupled and provided as self-contained modules too: https://github.com/aristath/kirki/tree/modular/modules

Closing this one, it will be possible to remove in version 3.0 currently in the develop branch.


Error occured when unchecking "Show EvalText"

Thanks for the report.
I will look into it.

The library has been updated.
Will the new method have the same bugs?

It works fine now. Thanks.


Dark theme inverts YouTube and Vimeo player colors.

Steps to reproduce:

When you activate dark theme in your website and then you go to https://deepthought-theme.netlify.app/docs/welcome-to-deep-thought/ if you reproduce the embedded videos (from YouTube and Vimeo), you can see that actually the colours are inverted.

Expected results:

The embedded videos shouldn't be affected by the dark theme. They shouldn't have inverted colours.

Tested in:

Firefox Nightly 88 and Firefox Stable 86 (I could reproduce it)
Ungoogled Chromium 88 (I could reproduce it)

I am going to fix this in next release meanwhile if you have a fix ready then you can raise a PR for that.

@IngrownMink4 Fixed

@IngrownMink4 Fixed

Hey @RatanShreshtha thanks for fixing that. Unfortunately in Firefox it seems that it's not fixed yet. In Chrome is working great tho (as you can see here)
Firefox

Chromium


Fix webjob repo paths

@JoshLove-msft can you please confirm these? I noticed this while looking at the changelog automation not being able to find the changelog for these libraries (https://dev.azure.com/azure-sdk/internal/_build/results?buildId=943914&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=215dbb79-5a93-5193-6139-e3adc50d8d36&l=14)

Looks correct, though I think we would need a similar update for the Storage webjobs extensions.

That one doesn't look like it is part of the new track 2 packages yet, otherwise it would be grouped with the others. Once it gets the correct metadata then we can update that as well.


Problem with the libglad.a

How can I install libglad.a. It isn't installed with the files from glad website. What configirations should i use

Try compiling glad.c into a library file.
gcc -c glad.c -I ./include/glad/ -I ./include/KHR/ -I ./include/GLFW/ -I ./include/ -o glad.o
ar rcs libglad.a glad.o

Then you can just put that in the lib folder you created.


export component data bug

With the new update (I think), exporting the data from a single component doesn't work (error messga eis 'Export of results failed')
What does still work is to export the data from the results for a full study

Can't be. I have test cases for this. They were all positive. Let me check
later on.
On 25 Mar 2015 18:29, "elisafilevich"<EMAIL_ADDRESS>wrote:

With the new update (I think), exporting the data from a single component
doesn't work (error messga eis 'Export of results failed')
What does still work is to export the data from the results for a full
study
—
Reply to this email directly or view it on GitHub
https://github.com/JATOS/JATOS/issues/69.

Sorry, can't reproduce. Could you tell me with which component this happens!

in all of the ones i've tried, in the server installation. we did the update after collecting the data. Maybe this is the problem?On Do., März 26, 2015 at 10:04 nachm.,  JATOS/JATOS<EMAIL_ADDRESS>wrote:            Sorry, can't reproduce. Could you tell me with which component this happens!
—Reply to this email directly or view it on GitHub.

You mean the export of component results! Not a component! Yes, here you are right. It's a bug. I fixed it.


Path

Hi, guys, how can I find the path /where/to/save/numpy/weights?

Could you provide me more details about how to convert from caffe to tensorflow? Thanks.

/where/to/save/numpy/weights is the file where your numpy weights will be saved. You define it yourself.
For more details refer to this paragraph: https://github.com/DrSleep/tensorflow-deeplab-resnet#caffe-to-tensorflow-conversion and this repository: https://github.com/ethereon/caffe-tensorflow


[Feature] Auto Assign the Project Leads for PRs

Feature :rocket:
Objective :pushpin:
To add the Project Leads as the Reviewers when someone creates a Pull Request.

/assign


Fails on a simple .md with unintelligible error message

MacOS Sonoma 14.4.1, Ruby-3.3.0, Python-3.12.3, current stable kramdown-rfc installed via gem install krandown-rfc.
$ $ kramdown-rfc -V
kramdown-rfc 1.7.11
$ kramdown-rfc -v -3 draft-uri-lamps-pquake.md
*** v2 nil v3 true
*** YAML syntax error: (<unknown>): did not find expected key while parsing a block mapping at line 4 column 1
$ head -10 draft-uri-lamps-pquake.md
---

title: "PQuAKE - Post-Quantum Authenticated Key Exchange"
abbrev: "PQuAKE"
category: info

docname: draft-uri-lamps-pquake-latest
submissiontype: IETF  # also: "independent", "IAB", or "IRTF"
number: 00
date: 2024-04-18

It is unclear what key it expected, nor what it thought it did find. Also, verbosity of the output does leave something to be desired.
Please help if you can.

Can you put in the actual .md file (or mail it to me)?  Not sure that head -10 and the copy/paste preserves any character weirdness that may be present.

When I saw your post, I double-checked the beginning of my file, and noticed that next line after the author: key had a space before -, like
author:
 -
    name: Whoever

instead of
author:
-
    name: Whoever

After taking care of that, the file became compile-able again. Thank you!
P.S. Is there a list of all the keys that kramdown-rfc accepts? I.e., i I want to add mailing address - how can I do it?

Author info is documented here (as well as on the README.md):
https://github.com/cabo/kramdown-rfc/wiki/Syntax2#authors-contributors

P.S. Is there a list of all the keys that kramdown-rfc accepts? I.e., i I want to add mailing address - how can I do it?

See above.  The YAML mostly reflects the RFCXML vocabulary, which also has an element for email:
https://authors.ietf.org/rfcxml-vocabulary#email


Add Saga pattern quickstart in Java

Description
This PR is to add a quickstart for saga pattern support in java.

The implementation of saga pattern is in lasted dapr-sdk-workflows v0.11.0-SNAPSHOT version which is not merged and released yet.

At this time, This PR is a preview edition:

Saga pattern support is still a proposal and under review and discussion.
This PR is to help to understand how to use saga (for solution saga-in-workflow)
This PR is not a final version and will keep updating during the proposal review and discussion
Don't merge this PR before the proposal is accepted and the design is finalized.

Issue reference
TBD: add issue here when the proposal is accepted, and the design is finalized.
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] The quickstart code compiles correctly
[x] You've tested new builds of the quickstart if you changed quickstart code
[x] You've updated the quickstart's README if necessary
[x] If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

@artursouza this PR can merge now.

Are there any plans to make this available for C#/.net sdk?

Hey folks.  I like this content, but it wasn't ready to be a quickstart, and I'm not sure we even want multiplier quickstarts like this.  As David's comment points out it also instantly created a "debt" to do this right for all languages, testing and so on.
@artursouza I'd ask you to revert this.  @msfussell fyi.  Then @skyao we should really talk about a proposal for something like this before coding the PR.  Or you risk me asking you to back it out and redo it.

@skyao what do you think about taking your same content, but submitting it as an "example" under the Java sdk repo?  The bar is very different for that, and we won't lose the good work here.
The very specific folder is right here: https://github.com/dapr/java-sdk/tree/master/examples/src/main/java/io/dapr/examples/workflows


[ADBDEV-2501] Wrong subplan order when a query has a partitioned table

In GPDB, if a query has a partitioned table and subselects for it, subplan copies will be created for each partition in adjust_appendrel_attrs_mutator. Although GPDB creates plan copies for partitions, it doesn't create copies of nested plans in this function, and the plan remains incomplete at this stage.
To fix this, the standard_planner calls fixup_subplans, which intension is to traverse through subplans tree and create nested subplans for each plan of a partitioned table. The problem is that fixup_subplan_walker adds a new copy at the end of a list and it turns out, that more nested subplans appear father in the list, what causes an error when the plan is executed.
This fix makes the Query Planner traverse through a plan tree for a partitioned plan at the moment when a plan for a partitioned table is created in adjust_appendrel_attrs_mutator. It's intention is to make subplan copies in a correct order. Since all the copies are already created at the moment the plan reaches fixup_subplans, so fixup_subplans just marks all the plans as reachable and doesn't alter the plan in any way.

A little messy regression test comment, but generally all is ok.
As Vasiliy mentioned, you'll need one formatted commit message, but it's probably better to modify it as a part of commits squashing when PR will be finally approved.


Allow for pre-existing wrapper

At times it may be desirable to have a pre-existing wrapper for sticky items (e.g. to prevent flashes of content if the wrapper needs an offset).
I don't have time to add a test at the moment, but if it will help a merge, I can work on it when I get time!

Done.

Thanks @timkelty


Add custom path system

This pull request add support to use custom path system

Another thought I had, maybe the interface should have another parameter, boolean relocated to determine relocated paths

What do you mean by "Also since DependencyManagers are meant to be "single use" there could be another constructor that just takes a path provider instead of a Path, and the provider would become immutable (final field and setter removed)." ?
Make DependencyPathProvider with constructor, getter, and setter and add a field of AbstractDependencyPathProvider that it is functionnal interface ?

What I meant is that DependencyManager could be constructed with Path or DependencyPathProvider so instead of needing to do
DependencyManager manager = new DependencyManager(Paths.get("."));
manager.setDependencyPathProvider(new DependencyPathProviderImpl());

you would be able to do
DependencyManager manager = new DependencyManager(new DependencyPathProviderImpl());

(Use DependencyPathProvider directly in the constructor of DependencyManager). Then the dependencyPathProvider field should be final and setDependencyPathProvider should be removed. Sorry if it's hard to understand

Ok, I understand, but what is bester:
Modify actual constructor, or add two option ?
Else, I don't know if it is bester to make an default DependencyPathProvider, so this prevent null, and can be more optimized when we get file path. (A static field in DependencyPathProvider class)

Two constructors would be the ideal way, either the path provider or a path should be available at any given time

I have add constructor and modify actual to always use DependencyPathProvider, but I don't know how I can apply function cleanupCacheDirectory. Are you and idea ?

I'd propose something like this,
Make a implementation of DependencyPathProvider that takes in a Path (and use it in the constructor taking in a path)
public class DirectoryDependencyPathProvider implements DependencyPathProvider {

    private static final String RELOCATED_FILE_PREFIX = "relocated_";
    private final Path cacheDirectory;

    public DirectoryDependencyPathProvider(Path cacheDirectory) {
        this.cacheDirectory = cacheDirectory;
    }

    @Override
    public Path getDependencyPathProvider(Dependency dependency, boolean relocated) {
        return cacheDirectory.resolve((relocated ? RELOCATED_FILE_PREFIX : "") + dependency.getStoredFileName())
    }

    public Path getCacheDirectory() {
         return cacheDirectory;
    }
}

and in cleanup cache directory method do something like
if (!(pathProvider instanceof DirectoryDependencyPathProvider)) {
    // Not sure if "static directory" is the best wording here
    throw new IllegalStateException("Cache directory cleanup is only available when using a static directory");
}
Path = ((DirectoryDependencyPathProvider) pathProvider).getCacheDirectory();
...

(Remember to add the exception to the javadoc and explain that the constructor that uses Path needs to be used)

I think it is better if we create new interface named CleanupPathProvider that implement DependencyPathProvider with new abstract method named getCleanupPathProvider.
DirectoryDependencyPathProvider will be implemnt CleanupPathProvider.
With this sytem, users can make system compatible with cleanupCache system if they implement CleanupPathProvider and not DependencyPathProvider

I'm fine with that

I think it is good


Fix Django 1.10 issues

There are some functions been removed in Django 1.10. This PR will fix those issues and let django-tos works in Django 1.10.

Hello and thanks for the patch! I thought we already had support for Django 1.10 in this package. Did you run into errors while running on 1.10?

@nicholasserra Yes, without these patches, the migration will fail. And the csrf_token is missing because the dictionary and context_instance parameters been removed in render_to_string() function.
https://docs.djangoproject.com/en/1.10/releases/1.10/

Got it. Thank you for this.


bip9-softfork.py unit test fails

bip9-softfork.py is left uncommented in rpc-tests.py yet the test itself fails locally.
Similar to segwit.py in qa/rpc-tests, calling self.nodes[0].getblocktemplate({}) is the cause of the test failure (segwit.py is commented out in rpc-tests.py).
Travis CI most likely didn't fail because for this test to run you have to include the -extended flag after ./rpc-tests.py

similar to segwit.py in qa/rpc-tests, calling self.nodes[0].getblocktemplate({}) is the cause of the test failure.

Seems related to #361


x axis labels are being cut

I use the report plotly function, for plotting the histogram:

and as can see - the long labels are being cut. but this is not plotly problem because when I plot the histogram out side trians I get the desired result (with pycharm - fig.show())

any idea how to fix it?

Hi @assafzam
Hmm, I think this is a by-product of the layout we impose on the plotly object...
If we include the x-axis labels, then the plot itself will be tiny, if we enlarge the plot size, then other plots might get too large.
What do you think?

Closing this due to inactivity. Please reopen if required.


Display validator errors on update - before complete button is pushed

I'd like for it to be possible for validator error messages to be displayed and updated live with the survey, instead of all at once when the 'Complete' button is clicked.

Sure, please set survey.checkErrorsMode to "onValueChanged".
Thank you,
Andrew


WarmupPolyLR

hi,where is the function of WarmupPolyLR

sorry, it might be our mistake.
We update the code, and please check it.


Adding a Service section

🫤 Description

This section will be containing all types of services that  portfolio owner will be giving.

📍 Use Case

It can be used to display the work such as Web Development ,UI/UX Designer , SEO Expert.

✋🏻 Upvotes

If you support this feature request, add a 👍🏻.

🌱 Contribute

[x] I want to contribute

🎉 Hacktoberfest

[X] I want to participate

📌 Prototype

Ook, good luck

Hyy assign this to me

Ok

@divyanshudhruv is this issue resolved ?? if not then plz assign it to me

@divyanshudhruv Please assign this to me, if not resolved yet.

Hi @divyanshudhruv Is this issue still being worked on? If not, I would love to contribute to adding the services section. Please let me know. Thanks!

Hi @divyanshudhruv Is this issue still being worked on? If not, I would love to contribute to adding the services section. Please let me know. Thanks!
@Kawaljeet-943 yes we are looking for contribution. I've added you as assignee

Thank you for assigning this issue to me! I will start working on adding the services section now.

#98


[DRAFT] Adds a title drawn from parent Work to an Item request

Follows: https://github.com/wellcomecollection/catalogue-api/pull/238
For: https://github.com/wellcomecollection/platform/issues/5267
Draft PR Warning
This change shows what the code to add a title from a work on an item request might look like.
Note: This will change the requests API and require front-end changes to pick up the added title value - it should be non-breaking with the existing front-end implementation.

Closing as dead-end.


Annotation color

Annotation resize and recolor toolbox item
Description
Added the Recolor Annotations toolbox item which will change the color of the actively selected type of annotation. Additionally added a vanish mode to the Change Annotation Resize toolbox item. Removed the medium button from the Change Annotation Resize toolbox item because it wasn't being used. Additionally added key-binds for changing the line size.
PR Checklist

[ ] Merged latest main
[ ] Version number in package.json has been bumped since last release
[ ] Version numbers match between package package.json and src/version.js
[ ] Ran npm install and npm run build AFTER bumping the version number
[ ] Updated documentation if necessary (currently just in api_spec.md)
[ ] Added changes to changelog.md

Breaking API Changes
none

LGTM 👍


Unexpected Error Occurred

This issue started happening recently. I've tried resetting ALL data and reinstalling the extension.
On page load, the toaster in bottom left reads "Unexpected error occurred". The console lists an error in:

helper.js:9040
main.tsx:1 (I assume minified)

In main.tsx, the catch is hit:
, Q = () => {
    var l, t, n;
    const e = w( () => b("getUserData"))
      , a = w( () => b("getTagMappings"))
      , [s,i] = f.useState(!1);
    return f.useEffect( () => {
        let o = null;
        return (async () => {
            try {
                const m = await a.mutateAsync()
                  , h = await e.mutateAsync();
                if (h.status !== "ok")
                    throw new Error("No data");
                N(document).forEach(p => E(p, h, m)),
                o = new MutationObserver(p => {
                    p.filter(u => u.type === "childList").flatMap(u => [...u.addedNodes].flatMap(N)).forEach(u => E(u, h, m))
                }
                );
                const y = document.querySelector("body");
                if (!y)
                    throw new Error("Body not found");
                o.observe(y, {
                    subtree: !0,
                    childList: !0
                })
            } catch (m) {
                console.error(m)
            } finally {
                setTimeout( () => i(!0), 2e3)
            }
        }
        )(),
        () => {
            o == null || o.disconnect()
        }
    }

In helper.js, it's this chunk. I assume this just reports an error:
nt = ({reject: h, resolve: p}, b) => {
                    o.runtime.lastError ? o.runtime.lastError.message === a ? p() : h(new Error(o.runtime.lastError.message)) : b && b.__mozWebExtensionPolyfillReject__ ? h(new Error(b.message)) : p(b)
                }

My settings look like this:

I am logged into Steam. Adding my CustomUrl and clicking "Log in" causes the error to occur again. Same with "Retry". However, these errors don't appear in the Console, only the one from page load.
My initial assumption is something going wrong with reading data from Steam and it being unhandled. Opening the settings window looks like it tries to read as well, then errors - which could explain it not displaying my saved details.
Thanks in advance for investigating.

My investigation lead be to jsod.decode() that tries to decode an HTML output, rather than some expected JSON object. I haven't yet pinpointed the exact request, but it seems it's the haaxor proxy return from some steam API.

thanks for reporting, I'll investigate after the holidays, just one question, what's your chrome version?

Version 131.0.6778.205 (Official Build) (64-bit)


Docstring all functions, classes

Required for #1.
These should be descriptive, and it might be worth picking a docstring style now - google is pretty nice:

https://pypi.python.org/pypi/sphinxcontrib-napoleon
http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_google.html
http://google.github.io/styleguide/pyguide.html#Comments

Opting for a different approach to the first round of docs.
While the docstrings will expand over time, they're in a decent place right now and the user guide is mostly decoupled from the exact docstrings of classes and modules.


[SourceList] Warn when adding a git source using the git procotol

Closes https://github.com/bundler/bundler/issues/3448.

Thanks! :blue_heart:
Couple of things :smile:

The tests are failing now
I was thinking we should say something different for people using the github shortcut, since they might not know that it's using a git protocol URL, or that they can redefine the shortcut

So I think the best place to issue the warnings is from dsl.rb, but it will take a bit of refactoring to make it possible to issue different warnings for github vs git.

I don't have the time to do that sort of refactor at the moment, but I think I fixed the test failures.

Maybe in the meantime we should add a github_https option? Basically I would like to deprecate github immediately, but we can't. :(

I'd like to deprecate all built-in shortcuts. I think the translation logic needs to be explicit in the Gemfile, because we can never change it in Bundler without breaking things.

I feel like I'm probably okay with https shortcuts because they seem very unlikely to change in the future, and work for both public and private repos... but famous last words, maybe. :P
Github is such a common case that it seems completely valid to have that one built in, but I think we should drop everything else in 2.0, and document the shortcut DSL better.

Ready to merge this as soon as the tests pass and there is a conflig flag to disable it (and mention the config flag in the warning).

Done

The flags have to be set as true in settings.rb in order to be returned as true. It's fine for true because everything resolves to true but for false it will return "false" which is true.

@indirect it looks like this has been cherry-picked into 1-99-dev already?

Yup, thanks!


uploaded image is not saved when page is saved

Hi,
I am running into an issue with uploaded image. The image is uploaded and correct path is inserted to the editor. I inspect the element to confirm the image tag is inserted. However, when the page goes away, the image tag is not included in the html.
On the other hand, if I type after the uploaded image or go to the view code and back to the WYSIWYG, then the page goes away, the image tag will be included.
I tried doing the following and it does not help.
froalaEditor.image.loaded': function(e, editor, $img, response) {
                    editor.selection.save();
                    editor.events.trigger('save.force');
                }

Any suggestion how to work around it?

You might be using an older version and the image was not saved in the undo stack. Please make sure you're using the latest version (2.2.1).

Thanks. I confirmed that v2.2.2 has fixed this issue.


Added hybrid quantization of UNet for Stable Diffusion v2 text-to-image notebook

Performance boost on my machine is about 1.2x
Ticket: 129143

Waiting for https://github.com/openvinotoolkit/nncf/pull/2475 to be merged

https://github.com/openvinotoolkit/nncf/pull/2475 was merged. This is ready to. NNCF will be used from develop until the next release.


waf-block-bad-behaving doens't remove IP from Auto Block Set

Hello, I did install waf-block-bad-behaving, but it occured that blocked IP were never removed from Auto Block Set. After checking parser.py, I couldn't find in the code where they were removed from this set, and I did fix this issue by replacing:
if total_diff_min > (BLACKLIST_BLOCK_PERIOD):
print "[merge_current_blocked_requesters] \t\tExpired BLOCK %s rule"%k
outstanding_requesters['block'][k] = v
With :
if total_diff_min > (BLACKLIST_BLOCK_PERIOD):
print "[merge_current_blocked_requesters] \t\tExpired BLOCK %s rule"%k
else:
print "[merge_current_blocked_requesters] \t\tKeeping data of BLOCK %s rule"%k
outstanding_requesters['block'][k] = v
Regards

thanks bro.
I didn't see this issues...
just i did fix like you myself..
please please update this problem !!


Getting reliable ("historic") steps information

I noticed that it is only possible to get the total steps of today, but not for anything else than that. For me this causes issues, since the value of the steps is never fully set to the actual steps I performed that day.
For example: my phone stops syncing with Garmin Connect at 22:00, so every step I take after that time, will never be visible in Home Assistant, since when I sync again, it will be the next day (and only the value of today is synced in Home Assistant).
Would it be possible to add a sensor which contains the steps data for (for example) the last 7 days? Much like the activities I guess.

Same here.


not compatible with duplicate tabs remover

https://chrome.google.com/webstore/detail/duplicate-tab-helper/oaceoebbkmkgfjhmngdinoclnionlgoh
Persists on creating a new tab, instead of closing duplicates, non-recognizant

I don't think this would be an issue with New Tab Redirect as the default behavior is to update the new tab using built-in Chrome APIs. There's literally nothing I can change about how my extension works to fix that other extension's behavior.


Support one handler for mulitple GCP services and fixes

Allow one handler handles multiple GCP services
Expand metric support
Minor fixes in reportBuilder

@manlinl: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@manlinl: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
73a5d56d4a9d24de9142a0e9903a07cbeec79352
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@manlinl: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
1f60b23b9370139dbce60aebf99b7fe7f98c74b0
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm

/approve

/test istio-pilot-e2e


UI improvement: replace scrollbars

The scrollbars for setting weight (kg) and age are very unwieldy on the watch screen. It is almost impossible to select specific values since a small displacement of the finger results in a jump of several values.
I suggest replacing them with the "-" and "+" controls that are used to set the work/rest duration.

Changed in https://github.com/micrusa/AmazTimer/commit/c1d9342110f542ca7ec3bbb93c4a60bad04d11ec
Now I'm using a ListPreference instead of a SeekBarPreference, I didn't replace it with + and - controls because I would have to create a new preference and it's easier this way. I will release a new version with this and other changes tomorrow maybe


New package format for WslCompact requires new manifest, simplified Nano manifest.

WslCompact: is now delivered as a zip file. Manifest Update to install it properly. New version.

Nano now has a simplified installer. New version.

[x] I have read the Contributing Guide.

Thanks!


scripts/dts: extract_dts_includes: fix alias creation for subnodes

Heuristic for populating an alias string for a subnode
of an alias node was wrong as there was no check if
alias already existed and string created was not in line
with device tree specfication (allowed chars: [0-9],[a-z], '-').
Fix these two points.
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

@jfischer-phytec-iot this is going to break the recent SSD1306 driver, more because that driver is utilizing the broken behavior that this PR fixes.
Not exactly sure what we should do about the SSD1306 driver.

Codecov Report

Merging #10673 into master will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10673      +/-   ##
==========================================
+ Coverage   53.08%   53.24%   +0.15%
==========================================
  Files         214      214
  Lines       25828    25828
  Branches     5695     5695
==========================================
+ Hits        13712    13753      +41
+ Misses       9807     9760      -47
- Partials     2309     2315       +6

Impacted Files
Coverage Δ

lib/posix/pthread_sched.c
41.66% <0%> (-20.84%)
:arrow_down:

lib/posix/pthread_mutex.c
77.77% <0%> (+1.38%)
:arrow_up:

lib/posix/pthread.c
80.36% <0%> (+12.32%)
:arrow_up:

lib/posix/pthread_cond.c
83.33% <0%> (+20.83%)
:arrow_up:

include/posix/posix_sched.h
100% <0%> (+100%)
:arrow_up:

lib/posix/pthread_barrier.c
100% <0%> (+100%)
: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 61042c3...769132b. Read the comment docs.

@erwango can you see how we might fix the driver, might be adding a fixup file to the testcase dir, and removing the handling for the 'broken' generated defines.

@erwango I submitted PR #10704 to fixup the driver that is failing with this change.


Installed Correctly; Cannot Execute Translation

I installed the deepl-translator-cli according to the instructions. If I type deepl -h the application provides the help instructions. However, if I type deepl translate -h or deepl translate and attempt to translate something, I get the following error message:
`
matt@Matts-MacBook-Air  ~  deepl translate -h                        127 ↵  206  09:18:31
node:internal/child_process:420
throw errnoException(err, 'spawn');
^
Error: spawn ENOTDIR
at ChildProcess.spawn (node:internal/child_process:420:11)
at spawn (node:child_process:757:9)
at Command.executeSubCommand (/Users/mattbowlby/.config/yarn/global/node_modules/commander/index.js:546:14)
at Command.parse (/Users/mattbowlby/.config/yarn/global/node_modules/commander/index.js:471:17)
at Object. (/Users/mattbowlby/.config/yarn/global/node_modules/deepl-translator-cli/deepl.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) {
errno: -20,
code: 'ENOTDIR',
syscall: 'spawn'
}
Node.js v19.6.1
`
Environment
I am using macOS Ventura (13.1).
nodeJS v19.6.1

Repository no longer maintained


Add File creation from io.Reader (fix #137)

Note: I haven't tested if WebHook poller works after this change

Thank you, Kanye, very cool!


Failed to resolve: com.afollestad:material-dialogs:a240bbe

Hi, I'm compiling an app from https://github.com/mendhak/gpslogger,
but I'm having Error:(159, 13) Failed to resolve: com.afollestad:material-dialogs:a240bbe

@bigfoot90 that's not a valid commit hash for JitPack. JitPack uses the first 10 characters of the full commit ID. You should be using the @aar suffix too.

https://github.com/afollestad/material-dialogs/releases/tag/<IP_ADDRESS>

The library is now on jCenter, as an alternative to JitPack.io. jCenter is Android Studio's default Maven repository.
See the README for updated dependency info: https://github.com/afollestad/material-dialogs#gradle-dependency


Heading levels 4 & 5: incorrect line break on LibreOffice

First: THANK YOU for this amazing extension.
I've had this same issue using the previous version and also in the new 3.1.0 release, and I'm guessing it's on my end since I'm not seeing others report it, but maybe you can help? I'm outputting to docx and I don't have Word installed, I use Open Office or Libre Office.
Level 4 and Level 5 headings have appropriate indenting and character formatting (bold/italic respectively) but they both put a line break, and subsequent text is beginning on the next line instead of on the same line as the heading. I just tested it on your template qmd and I'm getting the same behavior.
Any ideas? Is this something I need to adjust in my local LibreOffice styles?
TIA!

Glad you like the extension!
The problem is not yours but that there are MS Word features not implemented in LibreOffice. I did not know this was one of them at the time I implemented the solution I ended up choosing. I will think about finding a solution that works for everyone. In the meantime, implemented a workaround in version 3.1.2. It is not documented, but you can get level 4 and 5 headings like so:
[This Is a Level-4 Heading]{.H4} This is a paragraph after a level-4 heading.

[This Is a Level-5 Heading]{.H5} This is a paragraph after a level-4 heading.

This solution does not make the headings true headings. They are spans with classes that map onto custom character styles in the apaquarto.docx reference template.
Let me know if this works for you.

Wow, thanks for the fast response! I am still seeing the same issue on my end however I may not have 3.1.2 installed correctly yet, so let me circle back again after I've had more time to fiddle with my setup/Quarto etc. Thanks!

Welp something weird is happening now, I may have trashed my environment in attempting to upgrade. I am on 3.2.2 and not only is it not yet showing the Heading Levels 4 or 5 correctly on LibreOffice, but now I also cannot get the BetterBibText citations to render into the docx file at all.

Not sure what might be happening. I am happy to meet over zoom to figure it out. Contact me at<EMAIL_ADDRESS>

That's very generous of you! I rolled back to the old version (trying to get this dissertation done!) but I may return to the new one in a few weeks if I have time to devote to this later. If I hit the same issue again I will reach out then, for now I'll just thank you for the attempts to help, I appreciate it!

I sometimes use LibreOffice and so tried this with v24.2. References work fine but for me the headings produce following paragraphs that are bolded in LibreOffice (Word works fine).
This source:
---
title: "My Title"
shorttitle: "Short Title in Running Header"
author:
  - name: Jane Doe
    corresponding: true
    orcid: 0000-0000-0000-0001
    email<EMAIL_ADDRESS>    affiliations:
      - name: Generic University
        department: Department of Scholarly Studies
        address: 1234 Capital St.
        city: New York
        region: NY
        country: USA
        postal-code: 12084-1234
author-note:
  status-changes:
    affiliation-change: ~
    deceased: ~
  disclosures:
    study-registration: ~
    data-sharing: ~
    related-report: ~
    conflict-of-interest: ~
    financial-support: ~
    gratitude: ~
    authorship-agreements: ~
abstract: "This document is a template."
keywords: [keyword1, keyword2, keyword3]
bibliography: references.bib
format:
  apaquarto-docx: default
  apaquarto-html: default
  apaquarto-pdf:
    documentmode: man
---

# Level 1

Level 1

Citation [@schneiderCattellHornCarrollTheoryCognitive2018]

## Level 2

Level 2

### Level 3

Level 3

#### Level 4

Level 4

[This Is a Level-4 Heading]{.H4} This is a paragraph after a level-4 heading hack.

[This Is a Level-5 Heading]{.H5} This is a paragraph after a level-5 heading hack.

##### Level 5

Level 5

# Level 1 again

Produces the attached file that looks like this (LibreOffice on the left, Word on the right):

So this is a LibreOffice feature and can't really be fixed within apaquarto since it supports only the .docx format and not its interpretations in other apps?
Output file: minimal.docx

@mvuorre, the regular level-4 and level-5 headings do not work in LibreOffice because it does not implement the "Style Separator" like .docx does.  Are the hacks not working as intended?
Can you think of a way to get LibreOffice to recognize the "Style Separator" feature in that Word offers? Is there some other way to get a header and paragraph to appear in the same paragraph?

Hi, sorry that I was not clear: The hacks do work as intended (left picture), and there afaik is no way to make the headings work without this hack in LibreOffice. So I meant that it is unlikely that the Word output of pandoc/quarto can be made to work 100% in programs other than Microsoft Word :( (and so it is unlikely that this issue will be fixed on the apaquarto side)


Removed checks for old unity versions

Changes
Resolves https://github.com/game-ci/docker/issues/220
Checklist

[x] Read the contribution guide and accept the
code of conduct
[x] Docs (If new inputs or outputs have been added or changes to behavior that should be documented. Please make
a PR in the documentation repo)
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

@webbertakken As promised :)
Let me know if any further changes are needed

Looks good to me.
Note that this is just the checks to make sure unity-builder works as expected. We'll still need to do the same for test-runner and other actions that use the images. https://github.com/game-ci/docker/issues/220 is for changing the workflow to no longer even publish these images in the first place.

Codecov Report

Merging #558 (4db47bb) into main (5f78283) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 4db47bb differs from pull request most recent head 6b85123. Consider uploading reports for the commit 6b85123 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff            @@
##             main     #558    +/-   ##
========================================
  Coverage   36.97%   36.97%
========================================
  Files          77       77
  Lines        3032     3032
  Branches      623      623
========================================
  Hits         1121     1121
- Misses       1758     1908   +150
+ Partials      153        3   -150

see 38 files with indirect coverage changes

We'll still need to do the same for test-runner and other actions that use the images.
@webbertakken So just change any reference to a version earlier than 2021.x to use 2022 LTS?

We'll still need to do the same for test-runner and other actions that use the images.

@webbertakken So just change any reference to a version earlier than 2021.x to use 2022 LTS?

Not sure I understand the question to be honest. Also we're supporting all non-EOL versions, not just LTS.
So basically what we have to do is stop publishing EOL images in the game-ci/docker repository (which is done in game-ci/versioning-backend I believe. And the usages of it, like here in builder like you did.

Which is to say you marked this PR as "resolves" the docker issue, but that is to stop publication of EOL images, not just usage. So we need to unlink that resolves-link.

Which is to say you marked this PR as "resolves" the docker issue, but that is to stop publication of EOL images, not just usage. So we need to unlink that resolves-link.

Sure, on it!

Not sure I understand the question to be honest. Also we're supporting all non-EOL versions, not just LTS.
So basically what we have to do is stop publishing EOL images in the game-ci/docker repository (which is done in game-ci/versioning-backend I believe. And the usages of it, like here in builder like you did.

What I meant here is, to change every field that references the EOL versions to 2022.x (2021.x is EOL in April so 2022.x gives us more headroom)
i.e game-ci/unity-test-runner/src/model/docker.test.ts, const image = '....2019.2.11f1...', to const image = '...2022.3.7f1....'

I see. Yes sounds good to me!


Use the code for other dataset for multioutput classification task

Hello,
I hope this message finds you well. I am currently working on a project involving multioutput classification, and I am interested in using your code (specifically the part related to dataset distillation) for my task. However, I have a few questions and clarifications I would like to seek your guidance on.
I am aiming to apply dataset distillation techniques to MAAD_FACE dataset for a multioutput classification task. Your repository has been a great resource, and I believe your code could significantly enhance the performance of my model.
Thank you for your time and assistance. I look forward to your guidance and suggestions on this matter.
Best regards,

Hi, Thanks for your interest in our code. If you can specify your problems about the code, I would try to help you. Thanks.


fix: fixing path of the generated binary in documentation

This PR fixes the documentation error in "Extended Setup Notes", where the path of builded binary is pointed to
./build/bin/foo, but the truly path is ./lake/build/bin/foo.

Closes #3094 (RFC or bug issue number fixed by this PR, if any)

Thanks for your contribution!
I'm not sure if in the long run @tydeu's plan is that somehow users aren't exposed to that directory at all, and use some lake commands to find it, but until then we should certainly update the docs, so 👍


KAFKA-7606: Remove deprecated options from StreamsResetter

Removes deprecated flags from StreamsResetter:
"--zookeeper" flag (deprecated in 1.0 via KIP-198)
"--execute" flag (deprecated in 1.1 via KIP-171)

Some unrelated failures:
kafka.clients.admin.KafkaAdminClientTest.testClientSideTimeoutAfterFailureToReceiveResponse() (failed on all three builds)
kafka.server.RaftClusterTest.testCreateClusterAndCreateAndManyTopics()
kafka.server.ListOffsetsRequestTest.testResponseIncludesLeaderEpoch()
Since this PR had been approved before the things I added and then reverted, I'm going to merge it

Unrelated test failure in InternalTopicManagerTest.shouldOnlyRetryNotSuccessfulFuturesDuringSetup() (filed https://issues.apache.org/jira/browse/KAFKA-12650)


Unify some functions in pkg/agent/route

Signed-off-by: Hongliang Liu<EMAIL_ADDRESS>

Codecov Report

Merging #69 (9cff9f9) into main (422feec) will increase coverage by 0.53%.
The diff coverage is 0.00%.

:exclamation: Current head 9cff9f9 differs from pull request most recent head 3dcf32c. Consider uploading reports for the commit 3dcf32c to get more accurate results

@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
+ Coverage   60.24%   60.77%   +0.53%
==========================================
  Files         291      291
  Lines       42785    42781       -4
==========================================
+ Hits        25777    26002     +225
+ Misses      14884    14654     -230
- Partials     2124     2125       +1

Flag
Coverage Δ

kind-e2e-tests
44.46% <0.00%> (+0.62%)
:arrow_up:

unit-tests
44.82% <ø> (+0.08%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/agent/proxy/proxier.go
60.88% <ø> (+0.39%)
:arrow_up:

pkg/agent/route/route_linux.go
27.54% <0.00%> (ø)

pkg/agent/types/networkpolicy.go
37.83% <0.00%> (-21.63%)
:arrow_down:

.../flowexporter/connections/conntrack_connections.go
72.54% <0.00%> (-4.42%)
:arrow_down:

pkg/agent/flowexporter/utils.go
72.34% <0.00%> (-4.26%)
:arrow_down:

pkg/agent/controller/networkpolicy/priority.go
87.34% <0.00%> (-3.38%)
:arrow_down:

pkg/controller/networkpolicy/status_controller.go
68.54% <0.00%> (-3.23%)
:arrow_down:

pkg/ovs/openflow/ofctrl_packetout.go
71.59% <0.00%> (-2.90%)
:arrow_down:

pkg/controller/ipam/antrea_ipam_controller.go
76.41% <0.00%> (-2.63%)
:arrow_down:

pkg/util/ip/ip.go
76.99% <0.00%> (-1.77%)
:arrow_down:

... and 21 more


Metrics from VirtualKubelet are not being gathered

By setting virtualKubelet.metrics.podMonitor.enabled to true, a PodMonitor would be successfully created, but no metrics would be gathered because the metrics port is absent on the VK Pod's spec
Environment:

Liqo version: v.0.10.1
Liqoctl version: v.0.10.1
Kubernetes version (use kubectl version): 1.26
Cloud provider or hardware configuration: GKE
Node image: COS 105

Hi @EladDolev,
I've just tried. It seems that the port is correctly added, and I'm able to curl it:
k get pods -n liqo-tenant-blue-sound-874edf vk-liqo-blue-sound-77dcbcbd97-k2hbf -o yaml | grep metrics -A 3 -B 3
    - --event-reflection-type=DenyList
    - --annotations-not-reflected=cloud.google.com/neg,cloud.google.com/neg-status,kubernetes.digitalocean.com/load-balancer-id,ingress.kubernetes.io/backends,ingress.kubernetes.io/forwarding-rule,ingress.kubernetes.io/target-proxy,ingress.kubernetes.io/url-map,metallb.universe.tf/address-pool,metallb.universe.tf/ip-allocated-from-pool,metallb.universe.tf/loadBalancerIPs
    - --enable-apiserver-support=true
    - --metrics-enabled=true
    - --metrics-address=:5872
    - --foreign-kubeconfig-secret-name=liqo-identity-g7tk2
    - --create-node=true
    command:
--
    name: virtual-kubelet
    ports:
    - containerPort: 5872
      name: metrics
      protocol: TCP
    resources: {}
    terminationMessagePath: /dev/termination-log

Have you enabled this flag after the vk creation? If so, you should re-trigger the creation of the vk deployment by disabling and re-enabling the peering.

Thank you @aleoli , you're right 😄

@aleoli Would it be useful a patch to the documentation, maybe here?
https://docs.liqo.io/en/latest/usage/prometheus-metrics.html

Hi @frisso! This is more general than metrics: only some fields (very few) are enforced and updated after the VK Pod creation.
This will change with the offloading module refactoring in future releases.


terraform-provider-libvirt: Provider "libvirt" not available for installation

Describe the bug
The Terraform libvirt provider is not found even if it is installed
To Reproduce
I have the following packages installed:
environment.systemPackages = with pkgs; [
wget vim curl pkgconfig pkg-config go git unzip
terraform-providers.libvirt terraform
libvirt libvirt-glib parted tmux
python38Packages.libvirt python38
ruby_2_7 rubyPackages_2_7.ruby-libvirt
nomad consul vault
];
Expected behavior
A clear and concise description of what you expected to happen.
When I run terraform init I get the message that libvirt provider is not found:
terraform init
Initializing the backend...
Initializing provider plugins...

Checking for available provider plugins...

Provider "libvirt" not available for installation.
Notify maintainers

Metadata
nix-shell -p nix-info --run "nix-info -m"

system: "x86_64-linux"
host os: Linux 5.4.76, NixOS, 20.09.1721.896270d629e (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.7
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Package:
terraform-provider-libvirt

terraform plugins shouldn't be added to systemPackages or similar, they need to be specified as part of terraform so they are wrapped correctly.
terraform.withPlugins (p: [ p.libvirt ])

terraform plugins shouldn't be added to systemPackages or similar, they need to be specified as part of terraform so they are wrapped correctly.
terraform.withPlugins (p: [ p.libvirt ])


add installation guide

My bad, the extension for firefox requires the install.rdf file at root level.


[FIX FOR:] Generation from SMC report as 2 (& EFI optimization for 20FA)

If you have enabled verbose so you can see the output of OpenCore when launching the MacOS installer from USB and the operation hangs on "Generation from SMC report as 2"; OR your ThinkPad is rebooting when it gets roughly halfway through loading the installer from OpenCore, then this fix may work for you.
Enabling Verbose
If you don't have verbose mode on, use a .plist editor such as ProperTree, search for 'AppleDebug' and set these values to 'TRUE':

AppleDebug
ApplePanic
DisableWatchDog

And set 'Target' to '67' in that same Dictionary too.
Also, it's advisable to add '-v keepsyms=1' to your 'boot-args' under NVRAM; Add; 7C436110-AB2A-4BBB-A880-FE41995C9F82 to ensure that it properly shows the debugging.
'Generation from SMC report as 2' fix
To fix the 'Generation from SMC report as 2', you need to add USBToolBox.kext, and you also need to map the USB ports on your T460s. You will need to boot into Windows to map the ports with the tool.

NOTE: You ideally need to be on Windows 10 or 11 to map the ports, however you can use Windows 8. WINDOWS 7 AND BELOW WILL CRASH. Alternatively, you can use Windows PE to map the ports, however they will be less descriptive.

You can acquire USBToolBox.kext from here and the tool to map your ports and generate the UTBMap.kext file here.
Once you have mapped your ports, place both the USBToolBox.kext and UTBMap.kext into the kext folder in your EFI. You now need to configure these kexts in the Config.plist file.
Open your Config.plist file with ProperTree (or another plist editor) and navigate to Kernel. Now create two new children under 'Add' and format them as such:

Note: You can use OCAuxilliaryTools to do this for you automatically, just go to 'Kernel, Add' with the Config.plist loaded, right click and select 'Add Item' then navigate to 'USBToolBox.kext' and open it. Repeat this for 'UTBMap.kext', ensuring UTBMap.kext is below USBToolBox.kext.

Note: They do not have to be in position 5 and 6 specifically, however ensure USBToolBox is loaded before UTBMap and ensure they both go below Lilu, VirtualSMC and WhateverGreen.

Once this is done, save your Config.plist and try to boot. If you still get any errors, scroll down to 'Changes to Config.plist' and test changing the variables listed there.
Changes to Config.plist
I had to make a lot of different configurations to my system to fix various issues with the latest release of the EFI (and to fit the hardware difference with my 20FA variant of the T460s as the EFI is based on the T460s 20F9 variant).
What I changed:

SecureBootModel: 'Default' -> 'Off'
boot-args: added '-vsmcgen=1' to the end
PlatformInfo
Generated Serial, UUID, MLB from 'MacBookPro13,3' (more hardware accurate version to base off)
Set ROM to 0016cb ###### (0016CB is a valid Apple, inc. vendor) where # is any valid hex value [0-9 + a-f]

NOTE: You need to generate your own Serial, UUID and MLB which can be done with GenSMBIOS.

Placed 'BridgeOSHardwareModel' to Delete under NVRAM; Delete; 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
Set 'AAPL,ig-platform-id' to '00001619' to match ig-platform-id to Intel HD 520 graphics controller.
Some certain entries may also need to be removed as indicated on boot of OpenCore, or by the plist validator.

These changes will optimize your Config.plist more accurately. These changes are based on the T460s 20FA model and may not all work for you so trial and error these changes.

Note: SecureBootModel is recommended to be left as 'Default' for any OS versions Big Sur (11.0+) and above. Once my system is setup, I will test to ensure it will work when set to 'Default' and update this post as needed.

UPDATE: Intel HD 520 Integrated Graphics Patch
The above listed patch does not work to fix the Intel HD 520 graphics on your Hackintosh system. Below is the guide on what you need:

Load your Config file in ProperTree (or any other plist editor). When loaded, navigate to 'DeviceProperties'.
Locate 'PciRoot(0x0)/Pci(0x2,0x0)' and delete all entries under here (don't worry were going to be replacing these).
Take a note of your current settings so you can place them back into your Config.plist if you need to (unsure if the extra data is needed when updating to macOS 13).
Create 5 new entries/children. Name them accordingly:

- AAPL,ig-platform-id=00001B19` (DATA)
- device-id=16190000 (DATA)
- framebuffer-fbmem=00009000 (DATA)
- framebuffer-patch-enable=1 (NUMBER)
- framebuffer-stolenmem=00003001 (DATA)

Save your changes and boot. You should now see you have 'Intel HD 520 Graphics' with a number around 1500 MB not 7 MB.


ReloadSchema{Keyspace,Shard}, UI fixes

adding vtctl 'ReloadSchemaShard' and 'ReloadSchemaKeyspace' commands.
exposing them in vtctld2 UI.
removing sample workflow data, that makes the Workflows display flicker at startup.
fixing Schema display.

@michael-berlin I will rebuild the app before submit.

All comments addressed, rebuilt doc and UI, squashed. Will merge after travis success.


set_mask does not update nodatas in array

During set_mask, the array is not updated with previous nodata.
Steps to reproduce the behavior:
r = gu.Raster(landsat_b4_path)
r.data.ravel()[0:100]=255
r.set_ndv(255)
np.max(r.data)
Out[22]: 254
np.max(r.data.data)
Out[23]: 255
r.set_ndv(254, update_array=True)
np.max(r.data.data)
Out[25]: 255

All the 255 no data values should have been updated to 254 by the set_ndv(..., update_array=True), which is also the default parameter.

I don't think it's a bug. Maybe we should clarify in the docstring, but looking at the code, it seems like the behavior of set_ndv is meant to be:

update/set self.nodata
if update_array=True, unmask old masked values, mask values currently set to nodata.

This is exactly what is done in your example, i.e. the 255 values are masked, then unmasked.
We just have to agree on what is the typical case in which one would use set_ndv. I don't think the example that you show is something that one would typically want to do, why set a nodata value and then change it later?
It also raises the broader question. With masked_arrays, the masked values are actually not being modified. If one runs self.set_mask, self.data.mask is modified but not self.data.data. This can be an issue with certain rasterio's functions actually that do not use the mask.

Ok, after discussions, I changed my mind.
We need to update the behavior so that it is possible to update the nodata value while keeping the same mask (useful if a certain nodata value is not appropriate, e.g. because it is used).
Also, the current functionality of update_array=True does not make sense to me. Masked pixels can contain any value, so when updating the array, we should make sure that currently masked values are set to the previous nodata value.
In summary, we need to :

update update_array=True so that the previously masked pixels are filled with the previous nodata value (e.g. to reverse an accident in a set_ndv call)
add an option preserve_mask set to True by default, which keeps the previous mask. I'm unsure what to do if values are set to the new nodata. Maybe raise a warning?


Remove second on ready app listener

Really tricky, there was a second on ready listener in our Window thing that didn't create the window until the app was ready.
But we had another bug where we used mainwindow.window before the app was ready, so we had wrap it in an ready listener.
So two ready's do not work well together since the second one will never fire.

lg2m


docs: Update docs for 3 way compose box resizing.

Also,
compose: Fix the calculation of the compose box's max height.
This is a follow up to #30396, to remove consideration of the text box's margin after it's removal in #29953.
Fixes: CZO message
Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[x] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I changed my mind about how this article should work. I think this works well to convey the full details and avoid duplication:

I squashed my changes with the help center commit and pushed here.


Update README link to test file

Last change from spec to test had consequences :P

Good catch. Thanks! :)


Add support to Rails 7 syntax

This fixes #20

Hi @guilhermearaujo, thanks a lot for the PR!
Just a correction:
human_enum_value and self.human_enum_value are exposed as convenience methods, so developers can fetch translated values without needing to set the property in the model instance.

Hi @guilhermearaujo, thanks a lot for the PR!

Just a correction: human_enum_value and self.human_enum_value are exposed as convenience methods, so developers can fetch translated values without needing to set the property in the model instance.

Ok, I can undo that, no problem.
I'm not sure if I understood the use case for them. Tell me if this is correct:
MyClass has my_enum, and you would like to get the text for :enum_value, so, without any instance, you can call MyClass.human_enum_value(:my_enum, :enum_value)
Or if you have an instance, you could call my_instance.human_enum_value(:my_enum, :enum_value)
Is that what you mean? If so, one could easily also call MyClass.human_my_enums[:enum_value]

You're probably correct. It's been so long since the initial design of the gem that I don't really remember lol.
Given my other comment, though, I think it's  still necessary to have this as a method in the module. Maybe we can follow the rails approach of prefixing the method with _?
What do you think about _humanize_enum? That way it's clear what its purpose is and that it's not part of the public API.

@rafasoares is there anything else I could change?

Sorry @guilhermearaujo, I haven't had the time to properly review the new code. I'll do it in the next few days, promise :)

Superseded by #29


Support failure cause

Need a way for event handlers to distinguish between a failure caused by retries exceeded and a failure caused by an exception that did not match the retry policy.
ExecutionContext.isRetryPolicyExceeded
ExecutionContext.isCircuitBreakerOpen
These could be added to a subclass of ExecutionContext that is specific to each handler, such as FailureEvent.
This approach allows the onFailure handler to be used for different types of failures and situations. A failure is a failure - we just need to know the state of our failure handlers when the failure occurred.

Ended up adding onRetriesExceeded since this is nice and clean for a user to use.


FreeType vs fontations path loading in CI

For a variety of scenarios, including VFs with overlaps
For reference, https://skia-review.googlesource.com/c/skia/+/740176/1/gm/fontations_ft_compare.cpp. I believe we already have code that does something similar so really just to confirm we agree on what constitutes a diff. Also shows some potential test strings.
We should be able to share test fonts and strings via https://chrome-infra-packages.appspot.com/ as @drott will update to use https://chromium.googlesource.com/experimental/chromium/src/+/refs/tags/68.0.3404.0/docs/cipd.md so we can use the same (test string, font) pairs. That has value because we have some ideas about how to build a decent smoke test.

This isn’t something we can easily duplicate on our end at the moment.

Naively I would have thought we could either precompute the shaping and freetype result and commit that to compare to or just go get harfbuzz and freetype to run in CI?

The strategy I’ve been using for testing

Aside: we need that committed and documented so others can reproduce; I don't think we did that yet?

Naively I would have thought we could either precompute the shaping and freetype result and commit that to compare to or just go get harfbuzz and freetype to run in CI?

Happy to do something like this if you want to go that direction. ISTM, however, that this particular Skia test is meant to prove that fontations typefaces are producing the correct output to drive SkShaper (and indirectly, HB). I don’t think this is a direct concern on our end?

Aside: we need that committed and documented so others can reproduce; I don't think we did that yet?

Ack. We haven’t. I’ll bump the priority.

The strategy I’ve been using for testing is to compare the resulting paths from FreeType and Skrifa for all glyphs in a font (at some fixed set of sizes/variation positions). This provides better coverage and seems more aligned with our immediate goal.

I think we have several goals, one of them having Fontations generate accurate path results - for this comparing glyph paths against FreeType (module lineTo()/close()) is the best way to test.
For the purpose of achieving rendering results close to FreeType in Chrome we need a measure of accuracy of final rendering output. For that, shaping and actual text runs in multiple languages are needed. For example to see how contours and glyph shapes are drawn when they are overlapping, for testing hinting and antialiasing in multiple configurations.

ISTM, however, that this particular Skia test is meant to prove that fontations typefaces are producing the correct output to drive SkShaper (and indirectly, HB).

The Skia test draft is not intended to test shaping or interaction between Fontations and Skia shaping - the intention there is just to get realistic language and script specific samples and test the path extraction + rasterization in Skia. (I am not even sure which HarfBuzz configuration or metrics backend etc. Skia's shaping uses.)

with a small number of “tricky” fonts for comparison on each run (I’ve been keeping a list).

It's true that we need to test fonts other than Noto ones that follow best practices and have their own QA. Agree that we should add "tricky" ones or ideally test some open source fonts that are not made as part of Noto. What's on your list so far?

we need a measure of accuracy of final rendering output

Maybe we can redirect this issue to focus on how we make that easy.


React.createElement: type is invalid

Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check your code at routes.js:10.
This is my routes.js file
import React from 'react'
import { Route, IndexRoute } from 'react-router'
import Layout from './components/Layout';
import IndexPage from './components/IndexPage';
import AthletePage from './components/AthletePage';
import NotFoundPage from './components/NotFoundPage';

const routes = (
  <Route path="/" component={Layout}>
    <IndexRoute component={IndexPage}/>
    <Route path="athlete/:id" component={AthletePage}/>
    <Route path="*" component={NotFoundPage}/>
  </Route>
);

export default routes;

Row 10 is:
<IndexRoute component={IndexPage}/>

And this is IndePage component source
import React, { Component } from 'react';
import AthletePreview from './AthletePreview';
import athletes from '../data/athletes';

export default class IndexPage extends Component {
  render() {
    return (

          {athletes.map(athleteData => <AthletePreview key={athleteData.id} {...athleteData} />)}

    );
  }
}

really, I've  no idea of what am I doing wrong.

At a first glance, the code you showed me looks correct. Did you also had a look at the other components like Layout to be sure you are correctly exporting all of them?
I look forward to hearing from you

Hey @realtebo, I hope you managed to find the issue. Since I cannot replicate your issue I am closing this for now, but feel free to come back to me with more details or a complete example I can checkout and I'll be happy to reopen this if needed.


feat: ts-rest client throw on error status code

Resolves #520
There are no breaking changes with this new addition. In order to get this behavior of the client to throw on error status code, a parameter of throwOnErrorStatus: true needs to be provided to the initClient options.
Open for changes or feedback to the code. If you don't see this as an addition of the @ts-rest/core client, looking for suggestion how such behavior can be achieved by separate client that can be in separate package/repository.


Create Python package for interfacing with the ENTR warehouse

As of writing this, @jordanperr is working on a Python methods for consuming ENTR data as part a class in OpenOA. Since we want to enable consumption from the ENTR for any Python users, it would be good to make a package with this functionality as part of the ENTR project.

https://github.com/entralliance/py-entr


Shapley Values: Create nice intuitive illustration for bike share

similar to the credit example displayed here: https://www.youtube.com/watch?v=ngOBhhINWb8
Number line: Bike rentals
x-axis: Weather, season, etc.

wrong repository


feat/pending-field

Please review before merging.

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


about nyt preprocessing!

In the paper, you have mentioned you followed the preprocessing step by Kedzie 2018.
Did you concatenate the two gold summaries and dropped words less than 100?
Because I followed it and obtained little bit different scores using BART model.
R-1-F.    R-2-F.    R-L-F
57.75.    38.03.    42.19
The reported scores in your paper are
R-1-F.    R-2-F.    R-L-F
54.13.    35.15.    47.00
I wonder how you preprocess datasets.
Thank you so much!

Hi, sorry that right now I'm not sure about this. I think you can check the oracle ROUGE scores and see which one matches our reported scores?


There is only the option 'Attach Container' in the open direct link dialog for one newly created ADLS Gen2/regular blob container

Storage Explorer Version: 1.32.0-dev
Build Number: 20230815.5
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.5 (Apple M1 Pro)
Architecture: x64/x64/x64
How Found: Ad hoc testing
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Right click it -> Click 'Copy Direct Link to Blob Container'.
Click 'File -> Open Direct Link' -> Paste the direct link.
There is an open direct link dialog.
Check whether there are two options in the dialog.

Expected Experience
There are two options in the dialog.

Actual Experience
There is only one option in the dialog.

Additional Context
This issue also reproduces if open the direct link from Browser.

Verified this issue on the build main 20230824.1. Fixed. So, we are going to close it.


Update zio, zio-macros, zio-streams, zio-test, ... to 2.0.13

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-macros
dev.zio:zio-streams
dev.zio:zio-test
dev.zio:zio-test-sbt

from 2.0.2 to 2.0.13
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (2.0.2).
You might want to review and update them manually.
project/versions.scala

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #191.


fix:  mFooterLocked always true in some case #716

The wrong way, the problem has been solved.

The wrong way, the problem has been solved.

Sleep ok?
| |
wslwno1
|
|
<EMAIL_ADDRESS>|
Signature is customized by Netease Mail Master
On 12/07/2018 00:42, 树朾 wrote:
The wrong way, the problem has been solved.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In my case, LoadStatePresenter will replace SmartRefreshLayout with LoadStateLayout and then cannot reset mFooterLocked because onDetachedFromWindow is called.