build failing in foundation image

Building in foundation Docker image is failing as of Lean fb8bd124b (current master):
"/home/me/lean/Launcher/QuantConnect.Lean.Launcher.csproj" (default target) (2) ->
"/home/me/lean/ToolBox/QuantConnect.ToolBox.csproj" (default target) (17:2) ->
(CoreCompile target) ->
  CoinApi/CoinApiDataQueueHandler.cs(20,7): error CS0246: The type or namespace name 'CoinAPI' could not be found (are you missing a using directive or an assembly reference?) [/home/me/lean/ToolBox/QuantConnect.ToolBox.csproj]
  CoinApi/CoinApiDataQueueHandler.cs(21,7): error CS0246: The type or namespace name 'CoinAPI' could not be found (are you missing a using directive or an assembly reference?) [/home/me/lean/ToolBox/QuantConnect.ToolBox.csproj]
  CoinApi/CoinApiDataQueueHandler.cs(252,45): error CS0246: The type or namespace name 'Trade' could not be found (are you missing a using directive or an assembly reference?) [/home/me/lean/ToolBox/QuantConnect.ToolBox.csproj]
  CoinApi/CoinApiDataQueueHandler.cs(276,45): error CS0246: The type or namespace name 'Quote' could not be found (are you missing a using directive or an assembly reference?) [/home/me/lean/ToolBox/QuantConnect.ToolBox.csproj]
  CoinApi/CoinApiDataQueueHandler.cs(38,26): error CS0246: The type or namespace name 'CoinApiWsClient' could not be found (are you missing a using directive or an assembly reference?) [/home/me/lean/ToolBox/QuantConnect.ToolBox.csproj]

    968 Warning(s)
    5 Error(s)

Note same setup was producing successful builds some 48-60hours ago.
Reproducing the Problem
Build the project (in foundation container):

cd to Lean source root dir;
build via msbuild QuantConnect.Lean.sln

System Information

Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

Turned out to be dependency issues on my part, closing.


The game crashed because of EnderIO

Issue Description:
I have no idea why, but my game crashed. In the crash log there was
	EnderIO: Found the following problem(s) with your installation:                   * An unknown AE2 API is installed (rv3 from appliedenergistics2-rv3-beta-5.jar).                     Ender IO was build against API version rv2 and may or may not work with a newer version.                   * The RF API that is being used (1.7.10R1.1.0 from <unknown>) differes from that that is reported as being loaded (1.7.10R1.0.2 from IC2NuclearControl-2.3.4a.jar).                     It is a supported version, but that difference may lead to problems.
Should I remove IC2NuclearControl and go back to the rv2 version of Applied Energistics?
What happens:
???
What you expected to happen:
???
Steps to reproduce:

I moved in Minecraft
The game crashed

Affected Versions

EnderIO: <IP_ADDRESS>4_beta
EnderCore: <IP_ADDRESS>_beta
Minecraft: 1.7.10
Forge: <IP_ADDRESS>4

Your most recent log file where the issue was present:
https://paste.ee/p/lkkuR

Please look at the crash, not the diagnostics that is printed out below the crash to help developers determine the state of your installation.
Which is in your case full of stuff interfering with each other. Try removing mods until it no longer crashes to find what is causing this. I'd start with LiteLoader.


[5.0] Change "\n" to PHP_EOL in 3 tests to make them pass on windows.

These 3 tests are not passing in windows. This commit fixes it.

I'd argue doing it like this is actually better, because it should work no matter what Git's core.autocrlf setting is set to.

I actually changed them to \n a while ago. I have windows set to use unix style newline endings. I'd recommend everyone to do this.

While I would totally recommend that, too, people will obviously not change their Git settings just so that Laravel's unit tests pass. core.autocrlf = true is pretty useful for most projects.
So why not put the line endings in the strings verbatim as you did for some of the other tests?


fix fw slash problem

Hi
I wanted to fix the fw slash problem, which can be escaped.
I also tried to fix the window resizing issue. If you can also check it out. Going aggressive with resizing causes issues, however, maximizing to full screen appears to work.

Thanks! I'll give it a try. I noticed that on Linux resizing works much better than on Windows (even before your changes).


Use problem information in build failure message

Fixes https://github.com/gradle/gradle/issues/31376
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test RFR

I've triggered the following builds:

Ready for Release (Trigger) (Check)

Build Scan

The following builds have failed:

Ready for Release (Trigger) (Check)

Build Scan

@bot-gradle test QFL

I've triggered the following builds:

Quick Feedback - Linux Only (Trigger) (Check)

Build Scan

The following builds have passed:

Quick Feedback - Linux Only (Trigger) (Check)

Build Scan

@hegyibalint Thanks for the review, I'll clean up the items. Some of the issues come from cherry-picking changes from another (wip) branch.

@bot-gradle test RFR

I've triggered the following builds:

Ready for Release (Trigger) (Check)

Build Scan

The following builds have failed:

Ready for Release (Trigger) (Check)

Build Scan

@bot-gradle merge

WARN: Based on labels, this pull request addresses notable issue but no changes to release note found.

@tresat @wolfs The changes addressing your review items are here:  https://github.com/gradle/gradle/pull/31450


Find component that will allow code entry on page

Need to find a component that can be loaded that will format JS code and allow things like tabbing, colour formatting etc in the text area (or other element) so we can manage the code.
Will also need to export the raw code out with no styling etc so it can be evaled

Try this: https://github.com/WebCoder49/code-input

code-import + highlightjs looks like a good combination

Closed by #12


[Storage] Parallelize live tests.

Fixes: https://github.com/Azure/azure-sdk-for-net/issues/6905
In this PR:

introduce LiveParallizable attribute.
changed scope of DiagosticScopeInterceptor as it's not thread safe, see:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=649697&view=results
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=649767&view=results

First green run arrived https://dev.azure.com/azure-sdk/internal/_build/results?buildId=650015&view=results . @mikeharder FYI. numbers are looking good.


KO database error, FileNotFoundError: [Errno 2] No such file or directory: 'KO database and its category.keg'

Here is the enquiry email sending from a current user which might help those who have similar concerns.

I tried for one dataset, KO database error, Suggestions please.
head user_ko.txt
g51641.t1 K17407
g32469.t1
g7221.t1
g47147.t1 K02433

python3 /home/sunn/data/softwares/HSDFinder/HSD_to_KEGG.py -i C.rhen.species.txt -k user_ko.txt -n C.rhen -o C.rhen.species.out.txt
Traceback (most recent call last):
  File "/home/sunn/data/softwares/HSDFinder/HSD_to_KEGG.py", line 40, in <module>
    infile=open('KO database and its category.keg','r')
FileNotFoundError: [Errno 2] No such file or directory: 'KO database and its category.keg'

If you check the error message, KO database and its category.keg file is missing. Make sure you download all the file from GitHub. and run the
HSD_to_KEGG.py and KO database and its category.keg  in the same directory.  I was wondering why not use the web server which has user-friendly interface and have the python script HSD_to_KEGG.py built-in if you have tested out the heatmap drawing option.
~Xi

If you check the error message, KO database and its category.keg file is missing. Make sure you download all the file from GitHub. and run the HSD_to_KEGG.py and KO database and its category.keg in the same directory. I was wondering why not use the web server which has user-friendly interface and have the python script HSD_to_KEGG.py built-in if you have tested out the heatmap drawing option.
~Xi

I was running the script from another directory, that's why HSD_to_KEGG.py unable to locate the KO db file.
Problem solved.


Can I use monacode as an alternative to monaco-editor?

First a lot thanks for authoring this great package. It's really much easier to use than monaco-editor 🤣
I'm trying to migrate monaco-editor to monacode because I just cannot build up monaco-editor with esbuild. However I met some problems.

Can I get access to all monaco apis directly? For now I have to do something like import { Uri } from 'monacode/src/monaco/editor/editor.main.js', and that's a little bit annoying.
It seems that some actions are missing. eg. editor.action.goToDefinition

I wouldn't say you can use it as a drop in replacement, monacode is essentially a fork of monaco-editor with an opinionated build step and thus output. You could dig into the code (and commit history) in this repo though and probably enable or expose the stuff you want!


Round Robin drive access

Load balance via round robin different copies of the files from google drive, meaning one gdrive doesn't get hit for transfer limits.

You mean for playing back files? Or for cache building?

playback of files.. so we can can use plexdrive across multiple google drive

This would be a wonderful feature but I don't see it being a priority at the moment. Imagine having Onedrive, Google Drive and other cloud drives "merged" with round robin load balancing. I can dream... Keep up the good work @dweidenfeld

What I do is I have a UnionFS folder that has the drive mounted to it, along with my staging directory for writes.  I have both gdrives mounted to this unionfs folder, and then when I find that one has had too many api calls, I switch to the other like this:
original mount:
unionfs $STAGING=RW:$GDRIVE1=RO:$GDRIVE2=RO
then when I flip it, it does this to flip it:
unionfs $STAGING=RW:$GDRIVE2=RO:$GDRIVE1=RO
The flip happens almost instantaneously, so Plex doesn't really care.  I have had it stop a video on me before, but I've also had it run straight through the change with no issue.  Not sure why I had it stop that one time...
In theory, if yours works well for your server (eg, your server's faster than my 10 year old rig), you could cron this to happen every minute.
anyways, do with this as you wish :-)


Criteo Returns 400 Bad Request When StoreID is Included

Hello Criteo Team,
In the new version (6.0.0), we've encountered consistent failures whenever the storeId is included. Are there any concerns regarding this issue?
Regards,

Update: For us this was fixed by a server side fix by Criteo and works now. Apparently the issue was in the matching of the app id to the account from the request.


Foundation overlay: include <pthread.h>

Found by -Wsystem-headers. Apparently nothing that was already included was actually defining 'pthread_main_np'.

@swift-ci Please test


2018 US ethnicity

I'm not sure what to do with https://github.com/softwaresaved/international-survey/blob/2018-survey/survey_creation/2018/answers/countries/us/ethnicity.csv
Current US government practice is to ask 2 separate questions, one for race and one for ethnicity:
1 How do you define your race (checkboxes, not radio buttons, so that respondents may report
multiple races):

White
Black or African American
Asian
American Indian and Alaska Native
Native Hawaiian and Other Pacific Islander
some other race
do not wish to answer

2 Do you consider yourself Hispanic or Latino

yes
no
do not wish to answer

You can add a new question that will be specific to US and having both of them.
If you want to have the checkbox, just specify "MULTIPLE CHOICES"

I'm not sure how to do that - can you either explain, or if it's easier, you could just add it :)
Also, it really is 2 questions, one with checkboxes and one with radio buttons.

Added: c9da60a0f0e1ce65782776f1c6672c8e8323f6f7

In the US survey, I only see question 102 which is the the latino one, but I don't see the race question.

Fixed


PR for new api-version: Microsoft.Cache/redis/stable/2020-12-01 [rebased + refactored]

(This PR is a redo of https://github.com/Azure/azure-rest-api-specs/pull/13937 )
This is to document the latest REST API version for redis cache.
Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
Answer: [Already deployed.]
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
Answer: [When new api-version is approved.]
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR
[x] No, not an update to an existing version

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s): [No]
Adding a new API version [Yes]
[x] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service [No]

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

-[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them. [Not blocked, addressing swagger completeness]
Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[x] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Why would I still get this warning when I'm using OperationListResult from common-types?
'The response schema of operations API '/providers/Microsoft.Cache/operations' does not match the ARM specification. Please standardize the schema.
Location: Microsoft.Cache/stable/2020-12-01/redis.json#L37'

Hmm. How come prettier fails even though I processed it with prettier?

@raych1 Is this ready to merge?
All the remaining cross-version breaking change errors flagged by CI are intentional.

We added 'int32' format on an integer array where there was none
We made redisVersion a read-write property, to support redisVersion 6
We refactored to use common-types Resource type definitions, which is more strict about marking properties read-only than before

❌ 1023 - TypeFormatChanged
The new version has a different format than the previous one.New: Microsoft.Cache/stable/2020-12-01/redis.json#L2262:11Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2317:11

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'false' to 'true'.New: common-types/resource-management/v2/types.json#L343:9Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2568:9

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'false' to 'true'.New: common-types/resource-management/v2/types.json#L356:13Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2575:13

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'false' to 'true'.New: common-types/resource-management/v2/types.json#L366:13Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2579:13

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'false' to 'true'.New: common-types/resource-management/v2/types.json#L361:13Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2583:13

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'false' to 'true'.New: common-types/resource-management/v2/types.json#L371:13Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2587:13

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'false' to 'true'.New: common-types/resource-management/v2/types.json#L409:9Old: Microsoft.Cache/stable/2020-06-01/redis.json#L2598:9

❌ 1029 - ReadonlyPropertyChanged
The read only property has changed from 'true' to 'false'.New: Microsoft.Cache/stable/2020-12-01/redis.json#L1830:9Old: Microsoft.Cache/stable/2020-06-01/redis.json#L1922:9

@TimLovellSmith , please get ARM review approved.

Thanks for following the review checklist, I was able to review changes. Changes looks good, marking ARM_Signedoff.

Please resolve warning and please  the process given @ https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/212/Swagger-PR-Review

@chiragg4u Just to make sure, did you mean to add suppression rules for the remaining warnings?

@raych1 OK to merge?

@msyyc , can you check if any potential breaking change to python sdk?

@msyyc Do the python SDK changes look like good ones, or do we need to scope down the changes to something more conservative?

For python, the breaking change is ok

@TimLovellSmith , please resolve the branch conflicts.

@raych1 Resolved the conflicts by rebase.


very large queries plans or error messages prevent the queries page from loading

@jortiz16 submitted a query that somehow received a 331MB error message from Postrgres. (Presumably a runaway INSERT statement).
This in turn meant that the QueryEncoding in the master database was ~331MB, and that the webapp couldn't download it in the time allotted. Yikes.
Suggest we fix in a few ways

When storing encodings to the Catalog, we limit the size of the various strings.
We also limit the size of the entire serialized string.
We also need to decouple the loading time of the webapp from the performance of the backend. Perhaps we really need to push all that rendering to the frontend via AJAXy stuff?

Fixed by 2964dac5adda924da550e22c54383f9af1b833ab, which uses querySimpleStatusHelper to not include the actual Physical plan.


Active buttons looks disabled

In this case, the save button looks disabled.

Yes! I was unable to articulate this. But I also suffer from this bug.

I have the same issue.


refactor

removed unnecessary and sometimes faulty return type definitions
improve window typing in update_benchmarks and replace groupBy with reduce
Remove T and I prefixes from types (see https://stackoverflow.com/questions/31876947/confused-about-the-interface-and-class-coding-guidelines-for-typescript/41967120#41967120 for reasons)
fix issue where a mac could be detected as an iphone (when amd processors arrive)
add isIOS to deviceInfo
turn off explicit-module-boundary-types eslint rule
remove all // @eslint-ignore comments

Other than that LGTM!


SourceMap class didn't export at magic-string.cjs.js

SourceMap class didn't export at magic-string.cjs.js

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.


fix(diff): pin migra image to version 3.0.1663481299

What kind of change does this PR introduce?
Bug fix
What is the new behavior?
Pin migra image version instead of using pip install every time.
Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 58.36%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6021

Relevant Lines:
10317

💛  - Coveralls


Implementation Near Cache Object/Data Stores With Eviction

Implementation Near Cache Object/Data Stores With Eviction of near cache.
Features to be done:

NearCacheLoader
Eventually consistent near cache (i.e. implementation of StaleReadDetector)

Test PASSed.


Issue 771 secondary broadcast

Description
Reformat broadcasting to make sure it's always done in the right order and get rid of hacks
Fixes #771
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

yep, this looks great thanks. the notebook is very clear!


How to inject my "DAL layer" without big change in serenity

I have a rich-client project(WPF), now I want create a web site to access my original system without change my server site code, Is it possible to do that in serenity?
Client side UI (WPF, User.xaml, UserControl.cs .....)   //Here is where I want to replace with serenity
Client side Framework( UserClient.cs)
Server side Application Service(UserAppservice.cs)
Server side Domain(UserDomain.cs)
Server side Repository(hibernate)
It looks similar to serenity architect, now I want to reuse serenity's row, repository, controller and all things, seems the inject point is ServiceEndpoint or repository.
    public SaveResponse Create(IUnitOfWork uow, SaveRequest<MyRow> request)
    {
        //return new MyRepository().Create(uow, request);
         UserClient uc = UseClientManger.CreateUser(request.xxxxxxx)
         var userRow = TransferToViewModel(uc)
         return new SaveResponse(userRow)
   }

The problem is serenity always inject unit of work, in my project, web is only a client, no transaction and database. ignore it or remove the parameter? is there any other place to inject my "DAL layer"?

Yes it is possible, we have done it for more than 3 WPF application

@samdubey, if you do not mind，could you
introduce your way? do we have to remove the uow parameter?

do not use Serenity's CRUD, just call your services to do the job...
or better yet, for trivial CRUD use Serenity, for you legacy code just call it as webservice.

@ga5tan ,thank you


Support guard clause exclusion for ThrowsCount rule

PR for #2006.

Codecov Report

Merging #2025 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master   #2025      +/-   ##
===========================================
+ Coverage     80.68%   80.7%   +0.02%
- Complexity     1985    1991       +6
===========================================
  Files           329     329
  Lines          5591    5597       +6
  Branches       1021    1022       +1
===========================================
+ Hits           4511    4517       +6
  Misses          539     539
  Partials        541     541

Impacted Files
Coverage Δ
Complexity Δ

...itlab/arturbosch/detekt/rules/style/ThrowsCount.kt
100% <100%> (ø)
11 <3> (+6)
: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 d99550d...66bebf9. Read the comment docs.


Add support for custom AzureQuantumTokenCredential

This PR adds support for a custom AzureQuantumTokenCredential type that will be used for seamless auth in hosted notebook scenarios.
The credential will only be successful if:

AZUREQUANTUM_TOKEN_FILE environment variable is set to a valid path
Token file exists
Token file contains json with access_token and expires_on in milliseconds
Token has not expired
Scope requested is for https://quantum.microsoft.com/.default

In all other cases, the credential will fall back to other methods in the chained credential.

My only feedback would be to name the class TokenFileCredential instead of AzureQuantumTokenCredential.

Done!

@anpaz, I removed the scope validation, if you can take another look! Thanks so much for reviewing!

/azp run

@xinyi-joffre will there be an example or documentation that shows an example of a token credential file or steps on how to generate it?

@xinyi-joffre will there be an example or documentation that shows an example of a token credential file or steps on how to generate it?

@guenp, the token credential file should only be generated and used by service in hosted notebook environment, so I don't think we want to have any examples/public documentation around this path. For engineers continuing to maintain/support it, the best place to look is probably the unit tests!


stats: escape map keys containing dot (.)

LGTM

This creates invalid json. I believe you need to doubly escape them, that is escape the \ as well:  \\. instead of \. Here's a go playground link which shows it failing to be parsed using go encodings/json:
https://play.golang.org/p/yjseLuMwc7


vscode: refactor

Reasoning
This is an effort to refactor VS Code extensions and create a common overlay that other packages can based on. More over, metadata and passthrough are now sources-dependent, meaning that anything you want to expose to the final package should be within the sources. No more hacky workarounds to make meta parsing with nvfetcher work (https://github.com/divnix/devos-ext-lib/blob/118c751d68b2cd7ccf6504d52288aaafaaf0b0b6/src/vscode/meta.nix), and no more second-guessing which one comes from Open-VSX or VSMarketplace.
Extension naming
By default, all extensions are exported as ${pname} (i.e how you package your extension sources via nvfetcher toml).
To export them as ${publisher}.${name} (nixpkgs-style), you can use pkgs.vscode-utils.pkgBuilder' when overriding vscode-extensions-builder. Note that they are all in lowercase.
Migrating from older commit

Sources that are passed to vscode-extensions-builder (and/or other) must now passthrough a publisher and a name.

Refer to https://github.com/danielphan2003/nixpkgs/blob/0fffaf27270d1d424b9e07fd8982a84eb2ef8dc0/pkgs/default.nix#L12-L35 on how to package vs code extension sources. Also check out how to auto-generate Open-VSX extensions there.

Pinging @GTrunSec for feedback and suggestions.

Thanks. The makeExtLib could be very lovely changing. Maybe I will do some small modify for the next few days. But most commits look good to me.

You should update the Readme as well. Thanks

Sure, should the doc be published at devos-ext-lib.divnix.com @blaggacao? I will publish the doc later.


The emulator is showing multiple renderings of the code

For some reason the emulator keeps rendering multiple instances once I start writing code.

Closing as duplicate of #2706
Please see https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Searching-for-Your-Issue-on-Github


Remove manual .NET 8 installation in AppVeyor

Is your feature request related to a problem? Please describe.
Remove the manual installation of .NET 8 from appVeyor.yml file when AppVeyor releases a new image with built-in support for the .NET 8
Describe the solution you'd like
Remove lines 28 and 29 from the appVeyor.yml file when AppVeyor releases an official.NET 8 image.

I'm new to .NET in general so I'm trying to learn by contributing to this repository and others I saw from you, so I have a question about this issue:
Is there already an image with built-in support for .NET 8 or we need to wait to release? (I understood as we need to wait). If my assumption is correct, where can I find information to wheter it will be release or if it has already?
Thanks in advance

HI @joaovaladares,
No, there is not an available image for this yet. They usually take a few weeks/months to release it.
I just raised this issue to keep track of it, so when it is released, I or someone else can take it and revert the recent changes I did.
AppVeyor keeps track of the latest changes on this blog: https://www.appveyor.com/updates/
And also on this tool’s table: https://www.appveyor.com/docs/windows-images-software/#net-framework
As soon as .NET SDK 8.x.x is present there, these two lines can be removed from the code.
Thanks for the last updates and also for your support,

Thanks for the answer @guibranco,
I will try to keep track of any updates so I can come back to this issue and solve it when the time comes.
Also, as I stated before I'm new to .NET and C# in general, but I have experience in other languages. If it's not much to ask, would you recommend any specific open-source project of yours to contribute to and learn from, or a priority list to take a look at and learn more about .NET?


Make the proximity ranking rule less precise

An idea to (potentially significantly) reduce the size of the index and speed up indexing tasks: store a less precise proximity between words.
Currently, we index all pairs of words that are separated by either 0,1,2,3,4,5,6 words from each other. This is 7 proximities to keep track of. I’d like to investigate whether we could instead group some proximities together: 0, 1, (2+3), (4+5+6). This is now only 4 proximities to keep track of. The advantage is that the implementation of phrase search won’t be impacted, and we still distinguish between words that are very close to each other and those that are far from each other. But the real impact on relevancy and index size/indexing time need to be evaluated.
Furthermore, we also have other databases for backward proximities. That is, given the words hello world  in a document, we store:

forward proximity: hello world 0
backward proximity: world hello 0

We could consider being less precise in the backward proximity, for example by grouping the following proximities together: (0+1), (2+3+4+5+6).
We also have the prefix proximities database, which currently store the proximities 0,1,2,3. We could also consider grouping some proximities here: (0+1), (2+3). And for the backward prefix proximity DB: (0+1).

The team think about better solutions than this one (like reducing the maximum proximity and changing the format of the database)
@Kerollmops will write a new issue related to these new solutions


Can't change cursor on Linux when using touch input

v0.9.0 preview1
If I set the cursor to a cross on Linux target (Raspberry PI) it still shows an arrow cursor if I am using touch input only.
As soon as I plug in a mouse and move the cursor it changes to a cross cursor.

BTW, is that with EnableMultiTouch = true or with default configuration?

Yes, X11PlatformOptions with EnableMultiTouch = true.
ATM the cursor tracks the primary touch position.
Auto hide is probably the best solution.


Re supervised android launch

Description

This pull request addresses the issue described here: N/A

In this pull request, I have introduced again the changes of #4205, previously reverted in #4209. In this round, I've already applied at least one improvement, and I'm aiming at better inspecting the effects (i.e. in Wix-internal projects).

For features/enhancements:

[ ] I have added/updated the relevant references in the documentation files.

For API changes:

[ ] I have made the necessary changes in the types index file.

@igorgn Buildkite doesn't seem to start following my last few commits. Could you assist?

https://buildkite.com/wix-mobile-oss/detox/builds/3001 🤷🏻


Can't issue cert using metamask - Ropsten test network

I try to issue cert using metamask - Ropsten test network but there is no popup to confirm the transaction.
Refer to screenshot.
I have no issue when using windows - chrome but have problem in  Mac - chrome
macOS 11.6, Chrome - Version 97.0.4692.99
store id : 0x061aFcFF60b90E0F633F8ef157e01BaB9b2FfDD3
merkleRoot: 0xbc529b177128ad741a2583cea1d91e3cf6a0da06e64b8f81df56c836b6958085
I noticed that after I installed the metamask, it worked for the first time and after that it does not work.
I have tried uninstalled and reinstalled again, but it did not work.
Please advise.

HI Team,
Any update on this ?

It seemed on the windows we are getting the same issue.

same issue with Firefox on the admin.opencerts.io and newadmin.opencerts.io

Any update ?

not sure what's needs to be done. in the later screenshot, the error message -> Only hashes that have not been issued can be issued
referring to https://ropsten.etherscan.io/address/0x061aFcFF60b90E0F633F8ef157e01BaB9b2FfDD3#events, 0x43e6a0fc3a21ebcc986f04ab783946185bf074e3 has already issued merkleRoot 0x7bef9c1ef96de75281abe9546e09dfc674448a1292539b32bbf0539d371b067e

Thank you for the explanation.

I have verified it is working now


Improve core logic and useResolvedExtensions hook

Notable changes

update resolveCodeRefValues function to never reject and use onResolutionErrors callback instead
add options to useResolvedExtensions hook for better control over code reference resolution errors
remove "disable associated plugins on code reference resolution errors" logic in useResolvedExtensions hook

Overall looks good to me and should allow applications to decide if a plugin should be disabled :shipit:


spo-add-app-catalog : Created sample using SPO management shell

Implemented Add App catalog to site collection script using SPO management shell.

Hiya @chandaniprajapati, sorry for the delay, thank you for the sample!! 👏😊 This should be live shortly 😊


Trickled responses are cacheable

With http://web-platform.test:8000/images/blue.png?pipe=trickle(d5) included as an image, Firefox will take 7s (as expected) to load initially; it will thereafter load instantly from cache. This is problematic. Trickled responses must not be cacheable.

This issue has been moved to https://github.com/w3c/web-platform-tests/issues/8375; please continue all discussion there.


Fix ISO number from 8061 (Alpine ski-bindings) to 8601 (Data elements and interchange formats)

Hi @frntn, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@frntn - Thanks for the update. @tamram - could you review?

#sign-off
Thanks for the fix!


[Metrics] MetricTelemetry stats don't appear

The statistics properties of MetricTelemetry don't show up in the Application Insights events. Complicating matters is that the documentation related to MetricTelemetry is a mess. Let's walk through the issues.
Problem 1: Pressing F1 on MetricTelemetry gives a useless result.
Problem 2: Googling "MetricTelemetry" gives two top results, one on MSDN and one on docs, neither of which make clear what code they apply to or provide a hint about where other relevant documentation might live. In this case, neither of the online docs match the actual type in the NuGet package: the MSDN version doesn't have nullable types, and the "docs" version has an extra Sum property.
Problem 3: The IntelliSense docs on MetricTelemetry don't say what to do with Value when using statistics. Presumably, it should be the mean, but it would be nice if the intent were documented.
Problem 4: There's no support for calculating the statistical properties, or if there are, the IntelliSense or other docs in MetricTelemetry don't link to it, so it's not discoverable.
Problem 5: Even if you calculate the statistics, they don't show up when you view the metric in Application Insights. Only Value is displayed.
--
Here's the code I used to generate the statistics. If a helper like this isn't already in the SDK, it would be good to add it and mention it in the MetricTelemetry docs.
public static class TelemetryExtensions
{
	/// <summary>
	/// Sets the count, min, max, average, and standard deviation of the metric based on a sequence of values. The average is stored in <see cref="MetricTelemetry.Value"/>.
	/// </summary>
	/// <remarks>If the count is zero, only <see cref="MetricTelemetry.Count"/> is set.</remarks>
	public static void SetStatistics(this MetricTelemetry telemetry, IEnumerable<double> values)
	{
		int n = 0;
		double min = double.MaxValue, max = double.MinValue, mean = 0, sum = 0;
		foreach (double value in values) {
			if (value < min) min = value;
			if (value > max) max = value;
			double delta = value - mean;
			mean += delta / ++n;
			sum += delta * (value - mean);
		}

		telemetry.Count = n;
		if (n > 0) {
			telemetry.Min = min;
			telemetry.Max = max;
			telemetry.Value = mean;
			telemetry.StandardDeviation = Math.Sqrt(sum / n);
		}
	}
}

cc: @macrogreg

This looks to me like 3 separate issues:

Improve docs on TrackMetric
Feature requests related to metrics UI.
Feature request for something like the MetricManager

None of it is blocking for 2.4-beta1, correct?

I think there are 5 separate issues. My guess is that they should be reported to various places, although I don't know where. I'll elaborate:

Problem 1: Pressing F1 on MetricTelemetry gives a useless result.

This is a bug in the binding between source code and the website that gets loaded when you press F1. It should be strongly correlated based on assembly and fully qualified type name, but it's not.

Problem 2: Googling "MetricTelemetry" gives two top results, one on MSDN and one on docs, neither of which make clear what code they apply to ...

This is a problem with the templates for the documentation websites. They need to make clear what assembly and version they're talking about.

Problem 3: The IntelliSense docs on MetricTelemetry don't say what to do with Value when using statistics. Presumably, it should be the mean, but it would be nice if the intent were documented.

This is about improving docs in TrackMetric.

Problem 4: There's no support for calculating the statistical properties, or if there are, the IntelliSense or other docs in MetricTelemetry don't link to it, so it's not discoverable.

This is a feature request. IIRC, when I went digging, it seemed like the functionality may already be implemented, but not in a way that is available to the developer.

Problem 5: Even if you calculate the statistics, they don't show up when you view the metric in Application Insights. Only Value is displayed.

This is a consistency issue between the app insights library and website. One would expect the members on the class to handle stats to be rolled out at the same time as the support for displaying them. At the very least, if the feature isn't fully baked, comments on the stat properties to that extent would help avoid confusion.

I realize that having the issues broken down individually is the most helpful for addressing them, but I thought it was worth reporting them together to provide a sense of how they all added up in this use case into a very poor developer experience. That DX factor is something to consider when determining priority of fixing the individual issues.

This does not just relate to MetricTelemetry, it is symptomatic for AI as a whole.

Lack of real useful reference documentations (No, click guides are not documentation).
No architectural or conceptual overview, so impossible to know how AI is intended to be used in larger more complicated enterprise scenarios.
No in-depth documentation on the "lifecycle" of things tracked by AI
No clear definition of the terms, names and concepts used.
No real documentation on the Telemetry Initializers, Telemetry Modules, Telemetry Processors and how they interact with each other and in what way why handle things like threads, application domains and other more intricate environments and situations.
No real documentation on what kind of applications that are supported, only web applications with browser clients?  what about webjobs? WorkerRoles? Azure Batch? Windows Services?  WPF? Xamarin? Stored Procedures? scripts running in CosmosDB?. How would you go about using AI any of those?
No real documentation on the client script for browsers and how it interact with AI-servers and the web server. How well does it interact with ad-blockers and other privacy and integrity protection plugins in web browsers? In which scenarios is there need for client side code for AI?
No clear vision on how to use AI in larger more complex scenarios where you need segmentation to separate data (for example, the data for the web-api that handles B2B should not interfere with the data generated from the B2C webpages).

I could go on, but I think you get the point...There need to be real in depth documentation for developers and solution architects, as well as the more abstract overview documentation needed by Enterprise architects.

Closing this as I cannot find anything actionable for this repro.  There were general comments about poor state of docs  - but its more than 2 years and docs are in better state. Please open specific issues as applicable.

Hi, I am running into an issue with MetricTelemetry and TrackMetric for the .net version of Application Insights SDK (v2.11). It seems to be similar to the originator's concerns with setting value properties. To reproduce, create a MetricTelemetry object and set Name, Min, Max and MetricNamespace. The Max will show correctly but not Min. Happy provide screenshots or recordings if this will help.
Thank you,
Ali Youssefi (alyousse)


monthly task update devcontainer.json

used tag 1-debian-12 which pointing to the latest sha for cpp

I was digging into the updates of the base image and had a question about them.
It looks like the image changes in https://github.com/devcontainers/images/tree/main/src/cpp that flow into this involved updating vcpkg to more recent commits, but the different variants seem to be pointing at different commits, which seems unusual to me. See https://github.com/devcontainers/images/blob/main/src/cpp/history/dev.md

Variant
vcpkg commit
commit date

bookworm
1daec834f2095a800631df5d86a7f9075222aebe
2024-04-02

bullseye
1daec834f2095a800631df5d86a7f9075222aebe
2024-04-02

buster
a164ace504d8fe6f50aeec7e235d22b9089ad0d5
2024-04-01

jammy
ba5364d24ea72b11d8aafc2566e524d064016988
2024-04-02

focal
a164ace504d8fe6f50aeec7e235d22b9089ad0d5
2024-04-01

Maybe this was intentional, but I just wanted to confirm either way and make sure that the rationale was sound.  Tagging @ras0219-msft for FYI.

Hi @samruddhikhandale ,
things to try section is tested successfully and attached is the snapshot to validate the test scenario is working as expected after the bump in basic image version:

@prathameshzarkar9 @samruddhikhandale did you have thoughts on @michaelbprice's comment above? https://github.com/microsoft/vscode-remote-try-cpp/pull/33#issuecomment-2040170081

{hello}

@michaelbprice Looking at vcpkg installation, we don't pin to a certain git commit. Our release process for the images can vary (releasing all images vs single image) which can result into different latest commits during the cloning process. On top of that, not all image variants are released together, some happens in parallel but others are in sequence which is another cause for the mismatch.

@bamurtaugh would you be able to help approve as part of Community PR Approvals? Thanks!


[xpt] Navigation

In the navigation panel, the user can see links to:

Motorcycles/doctors/classes/items that you selected as a theme.
Reserve form.
My reservations.
Add motorcycle/doctor/class/item that you selected as a theme (the link is visible to everybody).
Delete motorcycle/doctor/class/item that you selected as a theme (the link is visible to everybody).


Intermittant CSP problem

Describe the bug
Occasionally I see what looks to be a CSP error in the console:

(index):1 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://js.stripe.com') does not match the recipient window's origin ('https://www.freecodecamp.org').
rn @ (index):1
value @ (index):1
value @ (index):1
value @ (index):1
value @ (index):1
r @ (index):1

To Reproduce
As yet, I'm not sure, sorry!  I've seen it a few times, but not consistently.  When I encountered it most recently I was here.

has this been resolved?

I'm not sure, since I never knew what caused it.  However, no one else seems to have have plus oned, so I guess it's not a problem.


sliding window algorithm

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM]
About:
Propose a new algorithm to be added to the repository

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[ ] Contributor in GSSoC-ext
[ ] Want to work on it

I want to add sliding window algorithm implementing 'Longest Substring Without Repeating Characters'.


Crash with permissions error

Observed behaviour
fontbakery hangs indefinitely after the final check ("Font contains unique glyph names") when called from Python
Expected behaviour
fontbakery should correctly finish.
Resources and exact process needed to replicate
When running https://github.com/simoncozens/fontbakery-ui/tree/c2c923 on Ubuntu Linux, the progress bar gets to 100% but the distribute_generator call never terminates. Confirmed by placing print statements before and after the call to distribute_generator.

OK, it's weirder than that. It's not hanging, but terminating if it can't write to the directory where the font lives. So this:
from fontbakery.checkrunner import (
    get_module_profile,
    CheckRunner,
    distribute_generator,
)
from fontbakery.commands.check_profile import get_module, log_levels
from fontbakery.reporters.html import HTMLReporter

paths = ["/usr/share/fonts/truetype/mononoki/mononoki-Bold.ttf"]
loglevels = [log_levels["INFO"]]

profile = get_module_profile(
    get_module("fontbakery.profiles.googlefonts")
)
runner = CheckRunner(profile, values={"fonts": paths})
hr = HTMLReporter(runner=runner, loglevels=loglevels)
reporters = [hr.receive]
status_generator = runner.run()
print("Starting")
distribute_generator(status_generator, reporters)
print("Done")

says "Starting" and then exits, with no exception/error message. But replace the path with something where the user can write to, and it works fine.

I just found one case where Font Bakery creates a file where it should not in the universal profile com.google.fonts/check/ttx-roundtrip:
https://github.com/googlefonts/fontbakery/blob/0e672ee0bbb56311794d7bff57ff26d272938625/Lib/fontbakery/profiles/universal.py#L836-L838
Maybe that's related, in any case, I strongly believe Font Bakery should not just write to disk, using the tempfile module instead.

When you try the opentype profile it should work, as that profile does not include universal, which e.g. googlefonts includes. As a side note: the universal profile should also be selectable in the ui.

We now do use tempfile, so I'm guessing this is now OK.


PubSub: Bidirectional RPC unexpectedly exited

Debian GNU/Linux 8
Python version == 2.7.9
google-cloud==0.32.0
google-cloud-pubsub==0.35.4
From our logs we see the following error message:
The bidirectional RPC unexpectedly exited. This is a truly exceptional case. Please file a bug with your logs.
Followed by:
[2018-08-06 07:29:27,347 - ERROR - Thread-CallbackRequestDispatcher - helper_threads] Error in queue callback worker: 'NoneType' object has no attribute 'is_paused'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub_v1/subscriber/_protocol/helper_threads.py", line 112, in __call__
    self._callback(items)
  File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py", line 101, in dispatch_callback
    self.ack(batched_commands.pop(requests.AckRequest))
  File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py", line 124, in ack
    self.drop(items)
  File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py", line 133, in drop
    self._manager.maybe_resume_consumer()
  File "/usr/local/lib/python2.7/dist-packages/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py", line 224, in maybe_resume_consumer
    if not self._consumer.is_paused:
AttributeError: 'NoneType' object has no attribute 'is_paused'
[2018-08-06 07:29:27,368 - INFO - Thread-LeaseMaintainer - leaser] Thread-LeaseMaintainer exiting.
[2018-08-06 07:29:27,413 - INFO - Thread-Heartbeater - heartbeater] Thread-Heartbeater exiting.```

This is a clear race condition:  StreamingPullManager.close sets self._consumer = None (while holding the self._closing lock).  However, other methods access self._consumer without checking that it could be None:

StreamingPullManager.maybe_pause_consumer
StreamingPullManager.maybe_resume_consumer

One method, StreamingPullManager.is_active, does check.


Fullnode should not download signed effects from 2f+1 validators

Downloading evert signed effects from 2f+1 validators can take a huge amount of network resources, especially if we have 6000+ fullnodes.
Through signed batches (which contains both tx and effect digest), a fullnode should already be able to know that 2f+1 validators have executed the tx. From there, the fullnode should be able to just execute the tx locally and cross-compare the effects digest.

From what I can tell it is not meant to be downloading them from all right now. But there might be a bug in node_follower that results in this?

It doesn't download from 2f+1.
It waits for 2f+1 to claim the same execution digests, then it downloads the cert + effects from 1 validator. (It may contact multiple validators if the first times out, but the usual case would be 1 download).
It always needs to download the cert. (of course). Technically it can do without the effects unless it is a shared object tx, but I'm not sure that is worth optimizing right now.

I think on this basis (and unless we think there is a bug here) we can close this. (I also looked quickly at this code, and nothing obvious jumps up).

Agreed - closing.


failed to register OOBEComplete callback. Error: The system cannot find the file specified

Description
17.04.0-ce-rc1 docker daemon fails to start on Windows Server 2016 AWS AMI with the following error:
time="2017-03-24T19:51:20.289248900Z" level=debug msg="Listener created for HTTP on npipe (//./pipe/docker_engine)"
Error starting daemon: failed to register OOBEComplete callback. Error: The system cannot find the file specified.

Steps to reproduce the issue:

Install 17.04.0-ce-rc1 on Windows Server w/ Container on AWS
docker -D

Describe the results you received:
time="2017-03-24T19:51:20.289248900Z" level=debug msg="Listener created for HTTP on npipe (//./pipe/docker_engine)"
Error starting daemon: failed to register OOBEComplete callback. Error: The system cannot find the file specified.

Describe the results you expected:
docker service starting as expected
Output of docker version:
C:\> docker version
...
Client:
 Version:      17.04.0-ce-rc1
 API version:  1.28
 Go version:   go1.7.5
 Git commit:   d2532c6
 Built:        Sat Mar 18 00:00:21 2017
 OS/Arch:      windows/amd64
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.28/version: open //./pipe/docker_engine: The system c
annot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to
 connect. This error may also indicate that the docker daemon is not running.

C:\> dockerd -v
...
Docker version 17.04.0-ce-rc1, build d2532c6

Additional environment details (AWS, VirtualBox, physical, etc.):
AWS Windows Server w/ Container AMI
Windows Version
Major  Minor  Build  Revision
-----  -----  -----  --------
10     0      14393  0

ping @jhowardmsft

Introduced by https://github.com/docker/docker/pull/31054
I'm looking into this further


PR correction as suggested on spigot

Hello there,
I saw your message on spigot and your proposal to do a PR to improve the article. I made two comments:

The first one corrects an inaccuracy about stripe (the fact that stripe doesn't require accounts to buy, unlike paypal) and details the problems with cryptomoney.

The second adds my name and that of two of my developer friends, who were banned from Paypal without further explanation. I think this could give a broader perspective.

If you have any suggestions or special requests, please do not hesitate, I would be happy to help you.
Sincerely,
Thomas

Thanks for the ideas, but won't merge.
Main reason is mentioned in my change request, which is that your text sounds like as if Stripe is the ultimate solution to use and literally perfect, while in reality it suffers from issues such as it being in less countries available (Compared to PayPal), apparently allows minors to buy stuff online, therefore encouraging possible illegal purchases (They just need to get a hold of their parents debit card) and it overall is just not sounding good.
Again, thanks for the changes, but no.

Thanks for the ideas, but won't merge.
Main reason is mentioned in my change request, which is that your text sounds like as if Stripe is the ultimate solution to use and literally perfect, while in reality it suffers from issues such as it being in less countries available (Compared to PayPal), apparently allows minors to buy stuff online, therefore encouraging possible illegal purchases (They just need to get a hold of their parents debit card) and it overall is just not sounding good.
Again, thanks for the changes, but no.

Thanks for the ideas, but won't merge.
Main reason is mentioned in my change request, which is that your text sounds like as if Stripe is the ultimate solution to use and literally perfect, while in reality it suffers from issues such as it being in less countries available (Compared to PayPal), apparently allows minors to buy stuff online, therefore encouraging possible illegal purchases (They just need to get a hold of their parents debit card) and it overall is just not sounding good.
Again, thanks for the changes, but no.

Indeed, I think stripe is a good solution. It's not perfect but to put things in context:

the objective is not to replace paypal but to propose an alternative.
a very large number of spigot users are under the age of 18 and currently have to use their parent's account, when they could simply pay with their own debit card
stripe is available in some countries where paypal is not, the reverse is also true, but this is not a concern since you don't want to remove paypal
several developers have offered to help with the integration of stripe to make it as simple as possible

I am not asking you to accept my PR but at least to correct the false statement you make: "buying plugins with stripe would require an additional account". I understand that you are angry with people who have not been respectful with you on the spigot thread. Even if I agree, like them, with the addition of stripe, I do not endorse their messages. Here it is no longer about opinions but about facts.
Thank you,
Thomas

Thanks for the ideas, but won't merge.
Main reason is mentioned in my change request, which is that your text sounds like as if Stripe is the ultimate solution to use and literally perfect, while in reality it suffers from issues such as it being in less countries available (Compared to PayPal), apparently allows minors to buy stuff online, therefore encouraging possible illegal purchases (They just need to get a hold of their parents debit card) and it overall is just not sounding good.
Again, thanks for the changes, but no.

Indeed, I think stripe is a good solution. It's not perfect but to put things in context:

the objective is not to replace paypal but to propose an alternative.
a very large number of spigot users are under the age of 18 and currently have to use their parent's account, when they could simply pay with their own debit card
stripe is available in some countries where paypal is not, the reverse is also true, but this is not a concern since you don't want to remove paypal
several developers have offered to help with the integration of stripe to make it as simple as possible

I am not asking you to accept my PR but at least to correct the false statement you make: "buying plugins with stripe would require an additional account". I understand that you are angry with people who have not been respectful with you on the spigot thread. Even if I agree, like them, with the addition of stripe, I do not endorse their messages. Here it is no longer about opinions but about facts.
Thank you,
Thomas


explore research storage and move makeda's zip file into research storage

Research Storage is full, it seems. I put in a ticket. Please mount the drives onto your own computers


Marker object has no attribute s

  File "lexibank/pylexibank/src/pylexibank/lingpy_util.py", line 66, in test_sequence
    bipa_analysis = [BIPA[s] for s in segments]
  File "lexibank/local/lib/python2.7/site-packages/pyclts/models.py", line 47, in __getitem__
    return self.resolve_sound(sound)
  File "lexibank/local/lib/python2.7/site-packages/pyclts/transcriptionsystem.py", line 282, in resolve_sound
    return self._parse(string)
  File "lexibank/local/lib/python2.7/site-packages/pyclts/transcriptionsystem.py", line 254, in _parse
    sound += base_sound.s
AttributeError: 'Marker' object has no attribute 's'

I'll take a look.

Can you give the value of segments which is causing this?

[u'r\u0292', u'_\u0329', u'd']

somewhere in the cals dataset.

While CLTS should fail in a proper way, the logic is correct: there is no base sound for a Marker -- that is why it is a marker. The logic is fine in the previous line (transcriptionsystem.py:252), when we are adding the marker representation to the grapheme, but there is nothing to add here.
The most obvious way to solve the bug is to only add base_sound.s if we have, in fact, a Sound; either passing silently in case of Markers or throwing a nice ValueError exception. I am not entirely sure what is the intended behavior here; pinging @LinguList on the matter

@tresoldi maybe the segmentation is already a bit off - it's lingpy.sequence.sound_classes.clean_string. Maybe I should try switching to a bipa orthography profile first.

@tresoldi the originall form is "rʒ ̩d", and the space is interpreted as word boundary in clean_string, I guess. This introduces the _, to which the diacritic then gets attached?

I'd be very curious to see how well bipa-ortho-profiles work anyway. One could also feed the profiles all the data that is segmented already (and int eh wild, with errors) within the BDPA database (in fact: BDPA is already linked to CLTS). So we're talking about some huge 8000 segment profile. I'm really curious to see how well it behaves.

@xrotwang it makes sense phonologically, even though the lone /d/ is a bit strange.
clean_string() is apparently at fault here (even though I wouldn't blame it -- as a human I'd probably throw an exception here ;) ), but we still need to decide what to do when we receive such marker: fail with more information or pass silently? I'd vote for the second (better to have some partially wrong data which comes from an unusual input than fail) for general behavior, but the first when cleaning/preparing datasets (I do want to find all problems).

As to the bigger issue of clts: I would say the following: the behavior is clearly a bug in clts. A marker is a limited set of symbols, I'd say, for which we should not do any parsing, but apparently, the algorithm tries to parse, so this should be captured from within the parse code.

This case is even more complex, because the grapheme for Marker actually has a diacritic of its own (maybe this is supposed to actually be a null phoneme?).
If you are ok with it, I can add an if isinstance(sound, Marker): raise ValueError test, so we at least fail more properly.

Since we assume that Markers are all defined and never generated, adding an if-statement after lines 228, namely (transcriptionsystem.py)
        pre, mid, post = nstring.partition(nstring[match[0].start():match[0].end()])
        base_sound = self.sounds[mid]
        if base_sound.type == "Marker":
            return UnknownSound(grapheme=nstring, source=string, ts=self)

this would just render the Marker plus diacritic as an unknown sound, which would be fine with me.

sorry: if base_sound.type == 'marker'

As markers are usually only one symbol in length, they should not be parsed further. Or am I missing something here?

Using sounds.tsv as orthography profile without further knowledge of whether this is applicable, doesn't make too much sense, I guess - although it does something.  Second question: shouldn't we at least warn that this is unexpected?

Is that the 8000 lines sounds.tsv? this IS interesting, as it shows the problems of obvious ambiguity of orthoprofiles: we have kk similar to k: and k+superscript_j, but no kkj, etc. Although it SHOULD find ʤigar and the like.
Maybe, you should use graphemes.tsv instead (reducing identical ones).

@LinguList your example would then appear in the profile as
sch-ei-b-ə

yes!

This is another example for the usefulness of the new proposal.

I've just hit this problem in grollemundbantu..

I like how optimistic you are that this is the worst case scenario! I'm sure we'll find worse...


add Simplified Chinese lang support

src/Lang/zh/ directory added

I am not sure about this 	55ddb9a, can you please explain more what you did there?

I'm sorry. I should fork a new branch to issue this pull request. I didn't intend to pull 55ddb9a, which is my own customization for my own purpose.
I will close this request and issue a new pull again.


ForwardRef annotations and non-global context breaks models resolution

If both of the following conditions are met, the PydanticUserError exception is raised during function call:

ForwardRef annotations for arguments (e.g. with from __future__ import annotations or, even, just with string annotations)
Usage of non-global context. For example in attempt to dynamically create inject in wrapped function.

My particular case was from usage of faststream, where I needed dynamically attach broker to different handlers. It all works well, but I have to be careful not to switch forward refs by accident.
Reproduction:
from __future__ import annotations  # all is working if you comment this line

import asyncio
from pydantic import BaseModel

from fast_depends import inject

def container_function():
    class Model(BaseModel):
        num: int

    @inject
    async def main(a: Model):
        pass

    return main

main = container_function()
asyncio.run(main({"num": 1}))

PS. Nice libraries, keep up great work!

@Nnonexistent great job! I found not only FastDepends, but FastAPI bug too 😃
I'll take a look, what I can do with it
FastAPI in this case hase the same error
from __future__ import annotations

from fastapi import FastAPI
from fastapi.testclient import TestClient
from pydantic import BaseModel

def main():
    app = FastAPI()

    class M(BaseModel):
        m: str

    @app.post("/")
    async def handler(m: M):
        print(m)

    with TestClient(app) as client:
        r = client.post("/", json={"m": "Hi!"})
        print(r.json())

main()

pydantic.errors.PydanticUndefinedAnnotation: name 'M' is not defined


screen rotation

I have a secondary monitor that I run length wise and would like to rotate the screen. Is there anything in the WM that would prevent this action or anyway to maybe even invoke this in the config? I looked up a couple xrandrish clones that worked on wlroots such as wdisplays and wlr-randr. Both of those work for positioning/resolution/frequency but using the transform rotation it's a complete no go. It doesn't shoot an error or anything it just does nothing in regards to that. Has anyone achieved this that could shed some light?

next time I need to just RTFM LOL sorry about that

I stand corrected transform still don't work even in config:
monitor=DP-1,1360x768,1200x0,1
monitor=DP-2,2560x1440@144,0x768,1
monitor=HDMI-A-2,1920x1080,1
monitor=HDMI-A-2,transform,1
workspace=DP-2,1

oops its because I forgot the pos in my HDMI line shoot

final bit if anyone cares (use case is 32 inch tv above main monitor and rotated display to the right of me)
monitor=DP-1,1360x768,1200x0,1
monitor=DP-2,2560x1440@144,0x768,1
monitor=HDMI-A-2,1920x1080,2560x1920,1
monitor=HDMI-A-2,transform,3
workspace=DP-2,1


Update splunklogging SplunkHandler class with new grains on refresh

The main review will take place at #915 (pr against the develop branch). Head over there for longer comments and discussion.


Autumn cleaning part 1 - move transactron

Hi,
The new semester is coming so it is good time to start cleaning our repository. This is the first commit to implement #446. I have moved transactron from coreblocks/transactions to transactron directory to allow in future for the easier separation of transactron to its own project/repository. This move required to update all transactron imports in coreblocks and tests directories.
When this MR will be accepted my next step will by to split transactron/lib.py to smaller parts.

If you're already moving this out of the coreblocks directory tree, why not go all the way through and split it into a separate submodule?

If you create separate submodule, then you have to crate separate review for transactron and its lib and for coreblocks. Whats more it will be hard to manage dependencies between them. So as long as transactron is developed rapidly I would prefer to leave it in coreblocks.

There are still dependencies from Transactron to Coreblocks.

Yes this is expected. I wanted to use small steps principle to allow for easy review of code. Here I simply drag and drop transactron code, only with changes which are required to don't have regression. Whole cleaning will be in next PRs.

Is it though? @tilk what do you think?

Ultimately, I want it to be a separate lib outside of Coreblocks. I have nothing against a small steps approach: let's first prepare for this separation, and later separate using one simple commit.


New method request: Series.value_counts and pd.value_counts

pd.value_counts is a highly used pandas functionality that should be high priority.
This overlaps with Series.value_counts, which should be implemented at the same time.
Marking as Help Wanted.

Close in favor of #1332


Temporary Workaround for GGUF v3 Support

Addresses the problem raised in Issue #877.
This pull request introduces a temporary workaround to support the GGUF container specification version 3 by treating it as version 2 within the switch case block in llm/gguf.go. This change ensures that the new models utilizing version 3 can be processed correctly in the interim.
I am hesitant to even suggest that such workarounds be merged. However, this branch could serve as a temporary solution for others until a more robust fix is deployed. I intend to use this branch to work with models quantized by TheBloke in the meantime.
I have tested it against new v3 models and v2 models:
$ ollama run agentlm-7b:Q4_K_M "Hi"
Hello! How can I assist you today?

$ ollama run samantha-1.2-mistral-7b:Q4_K_M "Hi"
Hello! I'm glad you decided to say hello. What would you like to talk about today? I'm here for a friendly conversation and to provide support whenever you need it.

$ ollama run zephyr-7b-alpha:Q4_K_M "Hi"
Hello! How can I assist you?

Thanks for this PR. I've added GGUFv3 support in #881


Ranger theme does not work

Hi,
Somehow I can't manage to get my ranger theme to work with st and I don't know why? Have anyone experience that? Thanks !

How have you created themes/set colors in ranger specifically? How does it look in other terminal emulators?

Hi Luke,
In a similar way I downloaded your fork of st right after installing Arch and xorg (more or less the basic packages you recommended in your video on the topic). I understood that I could define the colors in the .Xresources file so I made those two files in my home directory:
.xinitrc:
#!/bin/sh
exec i3
[ -f ~/.Xresources ] && xrdb -merge  ~/.Xresources

.Xresources:
! The colours I try to put in
*,color1:#000000
*.color2:#ff4d83
...

And so on with 16 colours for dark and bright versions. Yet my terminal colours does not change. I also tried to replace the default colours in the config.h file without any other results. I suspect I'm not the only one in this situation. Any suggestion?
Regards.
Btw, I switched from Debian to Arch thanks to you and my old machines gained a significant improvement in speed without DE taking all the resources. Thanks for the tutorials.


DailyMotion Videos don't work

DailyMotion videos do not work anymore.
Example Url's:
https://dai.ly/x6xaldv
https://www.dailymotion.com/video/x6x4shm
How to reproduce:
https://sandbox.dereuromark.de/sandbox/media-embed
Entering them there gives an error in parsing URL.

Amy idea how to fix?

@dereuromark
Check out my PR. hope is cool. ;)


Lua highlight bug after comments

After comment in the code all the other lines are displayed as a comment

Any update on this issue?

I've found the source of the issue, at least on our end. Our forum software (Simple Machines Forums) inserts
 tags into the end of each line of code, which causes highlightjs to not match $ in the COMMENT regex. This is likely fixable on the SMF end, but is there any way to make highlightjs ignore
? I'm assuming that it should be reasonable to do, as anything in code would have to be escaped anyway.

THis is still not fixed

Pull request welcome 🙏

Have you tried:
hljs.configure({useBR: true})

Closing as asked and answered if the problem is indeed
 tags as confirmed by @Lemmmy .  If you have any other questions, feel free to ask.  If your software is going to insist on adding br tags then you should be able to get proper results with usrBR.


Tracking Issue for Moving Source of Docs to the Site Repo

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
Mailing thread: https://lists.apache.org/thread/89wl112cflvtoyfg3l7kglr1dozsljm9
What is your suggestion?

Move the website's content to the root level, then we have a first-class Docu&yarn-based JS project layout. It's more convenient and familiar to related developers.
Host the source of docs in the site repo (apache/pulsar-site) instead of under site2 folder in the main repo and do content sync.

[x] #19186
[x] #19091
[x] #19092
[x] #19090
[x] #19103
[x] #19111
[x] #19185
[x] #18026
[ ] Re-evaluate navbar. Certain topics deserve to be more prominent, like the security, use cases, and ecosystem.

Any reference?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Closed as all subtasks are done.
@michaeljmarshall I think the navbar issue is not strongly related to this movement; maybe I will create a new issue later.


The player does not load on saved live streams

Whenever I go to a page that contains a recorded live stream, the player just doesn't load at all. All I get is a black rectangle of the proper size, but no YouTube player (and no video of course). I tried disabling YouTube Center, the player with the video appeared and played back ok.

Theres now several 24/7 music channels available on youtube livestreaming plattform and it seems if you open up a "video" with YTCenter enabled, you won't be able to watch the livestream.
Turning YTCenter off (with the Help of i.e Tampermonkey Chrome Extension) and reloading that page will instantly show the video/livestream.
Example links: (Currently working as of today, dont know if they persist in future)
https://www.youtube.com/watch?v=9sYkyUeRjI8
https://www.youtube.com/watch?v=DAfGFprK39s (german live lets play channel, almost 24/7)


Bug: Improving UI whats-happening btn

Fixes #82  Improve the UI of input btn of what's happening Now when we click on btn then it raised 1px border which show our cursor points to input bar.
Behaviour:
https://github.com/user-attachments/assets/26596915-0366-4158-a769-160671c58048
@SwanandD121 Please review it and merge accordingly!

@SwanandD121  Please review??

This issue was not assigned to you


Sorting rule sets according to selector specificity

Input:
.title {
  color: #69c;
}

.post .title {
  font-weight: 700;
}

.title {
  line-height: 2;
}

Currently all rule sets are preserved after minification. Actually we can safely transform this into:
.title {
  color: #69c;
}

.title {
  line-height: 2;
}

.post .title {
  font-weight: 700;
}

And the first two rule sets can be merged into one, utilizing current optimization for adjacent rules:
.title {
  color: #69c;
  line-height: 2;
}

.post .title {
  font-weight: 700;
}

PR still welcome for this. 👍
https://github.com/ben-eb/postcss-merge-rules/issues/7

The problem is not that simple on a second thought :(
If we have a style rule with grouped selectors, sorting become quite complicated:
.post {
  font-size: 1.5rem;
}

#title, a {
  color: #ccc;
}

.post {
  color: #69c;
}

In this case rules with .post selector cannot be safely merged because #title, a has both a higher and lower specificity than .post.

https://github.com/Justineo/postcss-sort-style-rules
I may need more test cases for this one.

Oh, nice! 😄
Yeah, this kind of thing could be potentially unsafe so it would need a lot of testing.

Any word on this? cssnano already has "destructive" rules, couldn't this just be another one?

@ShimShamSam We're currently working on getting version 4 out the door. We'll be working on further optimisations in the future. That includes non-adjacent merging.

Sorting by specificity is safe, but doing so correctly requires splitting rulesets that have selectors of differing specificity -- and that will cause a size increase. Doing this just to merge rules, isn't really worth it -- the mergeRules strategy for cssnano is basically dead-on-arrival, the minification win after compression is dubious and the likelihood of breaking a document is very high.
For more information on aggressive minification strategies see: https://github.com/ben-eb/cssnano/issues/424

doing so correctly requires splitting rulesets that have selectors of differing specificity

That is not necessary. I'm just aiming to do as much re-ordering as possible, instead of sort all individual selector. The granularity is not down to per selector, but per ruleset, so it'll be absolutely safe and with no increase in size. We can even dig deeper if we utilize a selector parse which can tell two selectors can never match on the same element like ... p vs ... div, ... :disabled vs ... :not(:disabled) or ... :valid vs ... span.

@Justineo it's just so much complex and time-consuming code to write for an optimization that rarely benefits the post-compression output size. cssnano is a minifier, and this is an optimization task it's not well suited for. See issue #424 where I describe how that class of problems will be addressed.

This issue is just an idea to possibly squeeze the total size a little bit more and I've already implemented the naïve version. It's totally fine that cssnano doesn't integrate this feature, I was just clarifying that the approach is absolutely safe.

is absolutely safe

It is not possible to properly sort a stylesheet by specificity without introducing duplication. You can't safely sort a stylesheet's rulesets unless you introduce that duplication, otherwise you are changing the cascade in a way that can result in a different resolution.
Anyways, you don't even need to sort rulesets in order to merge rules, you just need to know what the cascade would sort to ;) This is all stuff that the other project I mentioned in #424 does. It's a very complex problem and since I'm maintaining both projects now, I'm not going to build it twice.
cheers.

By saying “absolutely safe” I mean the stylesheet doesn't have to be completely sorted. It can be partially sorted in order to not introducing duplication.
Looking forward to your new project. 😃


Feature request: sync and better search with readline ui

Thanks for the cool project!  New user from HN here.
Even with a 1-line display set, I find it distracting to have my point-of-attention jump around with atuin.  Could you add an option to leave ctrl-r and arrow keys behaving like normal readline does (i.e. pulling the top result into my current terminal's prompt), and just feed better results to it?

Hey! Thank you for the kind words
There are a few scripts people have written that we need to centralise, but honestly that isn't really something we will be implementing any time soon.
I personally find the normal readline experience to be terrible, which is why I made this :)


fix D1 driver implementation using stmt.raw({ columnNames: true })

What
close: #106
Motivation

@zztkm This fix has been released as v0.26.0. Thanks!


Support for even more Unicode Symbols?

Currently using a non-alphanumeric unicode character results in an error.
For example

let Mass_H₂O=18.0057 grams
error: while parsing
┌─ input:1:1:11
│
1 │ let Mass_H₂O=18.0057 grams
│           ^ Unexpected character: '₂'

How much trouble would allowing a broader range of unicode characters cause?
let ⟦H₃O⁺⟧ₓ=1.2 moles/liters

Thank you for the detailed answer. I discovered the part of Unicode that was compatible with numbat after my message. I find the Unicode subscript and superscript characters very useful for typesetting symbols, in general. My use case here is to show calculations with units for the chemistry classes I teach. We often have multiple symbols with the same dimensions. Snake case should be adequate, in principle for this purpose, but I find that a lot of my students find it confusing to learn yet another way to represent a symbol. “Extremely useful?” Probably not. “Kind of nice and cool?” Yeah. Numbat is fantastic, by the way. Thanks!-David TalagaSent from my iPhoneOn Sep 20, 2023, at 2:23 PM, David Peter @.***> wrote:
Thank you very much for the feedback.
We do support Unicode identifiers. We even use the official XID_START / XID_CONTINUE classes from Unicode annex #31 which was written for this exact purpose ("specifications for recommended defaults for the use of Unicode in the definitions of general-purpose identifiers").
But ⟦ and some other code points of your example are neither in XID_START, nor in XID_CONTINUE. The cited annex also has a Customization chapter, noting:
Each programming language standard has its own identifier syntax; different programming languages have different conventions for the use of certain characters such as $, @, #, and _ in identifiers. To extend such a syntax to cover the full behavior of a Unicode implementation, implementers may combine those specific rules with the syntax and properties provided here.
Each programming language can define its identifier syntax as relative to the Unicode identifier syntax, such as saying that identifiers are defined by the Unicode properties, with the addition of “$”. By addition or subtraction of a small set of language specific characters, a programming language standard can easily track a growing repertoire of Unicode characters in a compatible way.
In Numbat, we actually do this, and add certain additional characters like currency symbols ($, €, £, ¥), fractions (½, ¾, …), etc. But to be honest, I'm not sure if we can cover all use cases here. Do you think it would be extremely valuable to have something like ⟦H₃O⁺⟧ₓ as an identifier?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Understood. Thank you for your feedback. I'm always interested to hear about new use cases of Numbat.
Do you have a suggestion for Unicode code point ranges that we should allow in addition?

Superscripts and subscripts? I’ll play around with numbat a bit more to see if anything else would be useful. Thanks!
-David
https://www.unicode.org/charts/PDF/U2070.pdf￼
U2070
PDF Document · 121 KB

On Sep 26, 2023, at 8:33 AM, David Peter @.***> wrote:
Understood. Thank you for your feedback. I'm always interested to hear about new use cases of Numbat.
Do you have a suggestion for Unicode code point ranges that we should allow in addition?
—
Reply to this email directly, view it on GitHub https://github.com/sharkdp/numbat/issues/163#issuecomment-1735453695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSPHCG7VKUDRWHHEM3FCCTX4LDQJANCNFSM6AAAAAA47ZBOFY.
You are receiving this because you authored the thread.

Superscripts are already out of the question, I'm afraid. We currently parse something like m⁴ as meter^4.

I think subscripts at a minimum would be pretty useful. @sharkdp are you fine with adding support for them?

I think subscripts at a minimum would be pretty useful. @sharkdp are you fine with adding support for them?

Sounds good to me!

Tentatively closing this, as we now have support for subscript characters in identifiers with #277


Simpler studio plugin

The central problem in designing this plugin has been how to get Studio to work nicely with totally abstract entities: ones completely divorced from the normal Roblox DOM. A major premise of the library is that data flows from Lua to the Roblox data model, and not the other way around.
But I think this marks one place this premise should be gone against. The entire point of the plugin is to integrate with existing Studio workflows - and we'll probably have to do the same thing for streaming and probably in other cases too.
My original idea was to use IntValues to represent abstract entities and create a GUI for working with them (as in #61). This way, it can provide specialized actions for interacting with entities (being able to right click for a context menu, querying entities, adding sets of components at once, etc.).
That's a lot of machinery, and creating so many additional Roblox instances is less than ideal.
My new idea is to set an Entity attribute on any existing instance to describe the Instance -> entity mapping. We can integrate with CollectionService to leverage tools like Tiffany's tag editor.
When a tag matching a component name is added to an instance, we transparently create a new entity (if needed), set the instance's Entity attribute, and initialize any additional attributes to represent the component's data. When a tag matching a component name is removed, we check if it is the last component on the entity (destroying the entity if this is the case) and set the relevant attributes to nil.

There is still the problem of components containing instance references.

I think this works. It's a bit ugly and cumbersome but it's probably the best we can do right now.


Custom blocklist support

Hi, I'm enjoying this magisk module and works well on my device. Does it have the option to add a custom blocklist URL and update automatically? Thanks!

Won't that make us the CLI version of AdAway? :eyes:


New version: ImageMagick.ImageMagick version <IP_ADDRESS>

Created by 🥟 Dumplings in workflow run #7601.

Log
Updated: <IP_ADDRESS> → <IP_ADDRESS>
Submitting WinGet manifests
Found existing pull requests:
New version: ImageMagick.ImageMagick.Q8 version <IP_ADDRESS> - https://github.com/microsoft/winget-pkgs/pull/169298
New version: ImageMagick.ImageMagick.Q16 version <IP_ADDRESS> - https://github.com/microsoft/winget-pkgs/pull/169299
New version: ImageMagick.Q16-HDRI version <IP_ADDRESS> - https://github.com/microsoft/winget-pkgs/pull/169327
Creating manifests
Uploading manifests and making commits
The manifests for the last version <IP_ADDRESS> will be removed. Reason: This task is configured to remove the last version
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Executable C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick.exe returned exit code: 1

(Automated response - build 888.)


feat: improve Fox Page / network calls performance

Description
This PR improves the overall Fox Page / performance of APR hooks and similar utils calling Infura/Boardroom/Tokemak, effectively protecting against overfetching. It does so by:

Moving the APR (LP, Farming, Foxy) and governance fetching logic into a <FoxPageContext /> context and <FoxPageProvider /> provider
Changing the provider-getting methods to be variable-assigned singletons/IIFEs. The current functions are effectively adding a stack trace that could be avoided and bring the potential for more calls, as the language-level module resolution specification clearly states that all exports of a module are evaluated once, effectively making variable assignments singletons of sorts. Ref: https://262.ecma-international.org/6.0/#sec-moduleevaluation)
Add a new href property to the Route to differentiate between a matchPath path (which isn't exactly a route, but rather a path-to-regexp compliant path) and the actual link to that route. That allows us to remove the sub-routing of the FoxPage, which currently causes a full re-render on tab switch

Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

partially tackles #2028 (there are still too many useFoxyBalances calls in the Fox Page. Making it a shared context across consumers in a similar fashion in a follow-up will help reduce the high amount of calls we have currently)

Risk

Mainly isolated to Fox Page, although the <FoxPageProvider /> is also wrapped around the DeFi provider

Testing

Full Fox Page regression testing
DeFi regression testing, but the whole flow doesn't need to be completed up to an actual Tx, what's to test here is that it doesn't whitescreen nor misses the FOXy APR

Screenshots (if applicable)

Still failing, huh? 🤔

Putting this in draft until we work out what's going on with CI.

Putting this in draft until we work out what's going on with CI.

Looks like context's going to rug Cypress because of Infura farming APR requests, I'll go with a lighter, alternative refactor not using context provider!


scan queue

Probably not within current scope. However, it would be convenient to have the ability to queue up multiple branches for consecutive scans. This might be helpful when doing scans on multiple repos within an organization.

At this time this is outside the scope of our Use Cases, however this would be possible on some type of cronjob or as specified in our wiki, it could be used as an automatic server and several repos can be queued up.


Rename random_state to random_seed in EvalML

PR 1727 removed support for np.random.RandomState and set everything to use an int seed instead. As stated here, it might be confusing if we continue to internally call the seed the random_state, so changing this to instead be called random_seed and changing the args to reflect this would maintain transparency with users.

Plan:

This issue tracks adding random_seed as an additional arg, keep random_state, add deprecation warning when random_state is used
File issue to track removing the deprecation warning, and we'll put it in a sprint 1mo out.

We did this for the rename of max_pipelines to max_iterations in AutoMLSearch. You can dig up that PR to find an example.

Plan:

This issue tracks adding random_seed as an additional arg, keep random_state, add deprecation warning when random_state is used
File issue to track removing the deprecation warning, and we'll put it in a sprint 1mo out.

We did this for the rename of max_pipelines to max_iterations in AutoMLSearch. You can dig up that PR to find an example.


added EFL (2019-2020)

Thanks again for helping out and the EFL update. Keep it up. Stay home. Wash hands (with soap). Stay healthy. Cheers.

@kivanccakmak You're welcome to join the football team / org here on github so can edit in-place without pull request.  Just let me know if you're interested and I send you an invitation (via GitHub) per email. Cheers. Prost.

@kivanccakmak You're welcome to join the football team / org here on github so can edit in-place without pull request. Just let me know if you're interested and I send you an invitation (via GitHub) per email. Cheers. Prost.

Thanks again for helping out and the EFL update. Keep it up. Stay home. Wash hands (with soap). Stay healthy. Cheers.

thanks! I'm doing all and recommend you some of my other practices: ventilate frequently, have vitamin C (mostly by green pepper and orange) and D. take care!

@kivanccakmak You're welcome to join the football team / org here on github so can edit in-place without pull request. Just let me know if you're interested and I send you an invitation (via GitHub) per email. Cheers. Prost.

@geraldb I would like to..

First, thanks for the extra stay healthy tips.  //   Welcome.  Note: You will get an invitation (by email from GitHub) to join the openfootball org as a member or if I can remember the inivitation should also show-up on github itself on your home page. If you accept, you can update the football.json pages with write access directly - no longer any need for a pull request  and you will show up in the people page too (if you set your preference to public - default is private; change the setting in the github org people page). Cheers. Prost.


⚠ Fetchers has degraded performance

In 6b9c1b9, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 385 ms

Resolved: Fetchers performance has improved in 73eea56.


WSL terminal - more command - navigation with space, b, q does not work

Environment
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce
open Winodws Terminal (Preview)
open a WSL terminal
cat [a text file] | more
navigation with keys "space", "b", or "q" does not work
Expected behavior

Actual behavior

don't know why.  after a restart of Windows, keys "space" and "q" work with command "more", but key "b" is till not working.

As far as I am aware, more doesn’t support b, only space and q. You may want to use less if you need support for scrolling backwards in history?

Does this work in a normal WSL window (outside of Windows Terminal)?

@DHowett-MSFT thanks for reply.
"b" is on man page of "more".  I just tried in a normal WSL window.  It does not work.  It is not a big problem to me, I will use "less" instead.  What strange was that on first launch after I installed Windows Terminal, even "space" and "q" does not work with both "man" and "more" command.
The issue disappear now after a restart, though I am not sure if it relates to the restart.

From the man page:

b or ^B   Skip backwards k screenfuls of text.  Defaults to 1.
Only works with files, not pipes.

Note the last bit. If you want to be able to skip backwards, you can't pipe the output from cat into more - you need to open the file directly, e.g. more filename.txt

A-ha!


Every 6 months starting from a particular date

I am not able to express the following criteria. Every 6 months starting from '2013-03-21T11:30:00'.
So the next two occurrences would be at '2013-09-21T11:30:00' and ''2014-03-21T11:30:00''.
Maybe I am missing some easy way to do this.

Use the startingOn(val) function chained after every(val) function. So for your case you can do...
// every 6 months starting on the 3rd month
later.parse.recur().every(6).month().startingOn(3)

See here for more info. Hope this helps!


Fix cosmos query metrics no longer logged

As title.
Fixes https://github.com/Azure/azure-sdk-for-java/issues/31238

API change check
APIView has identified API level changes in this PR and created following API reviews.
spring-cloud-azure-autoconfigure

/azp run java - spring - tests


TypedReducer: A value of type '(dart.core::bool, dynamic) → dart.core::bool' can't be assigned to a variable of type '(dynamic, dynamic) → dynamic'

After upgrading my project to flutter-redux: 0.5.0 and dart-redux: 3.0.0 I’m having this issue.
The code rising the error is:
final hasInternetReducer = combineReducers([
  TypedReducer<bool, LostInternetAction>((bool state, LostInternetAction action) => false),
  TypedReducer<bool, RecoveredInternetAction>((bool state, RecoveredInternetAction action) => true),
]);

The complete error is:
lib/redux/reducer.dart:83:7: Error: A value of type '(dart.core::bool, dynamic) → dart.core::bool' can't be assigned to a variable of type '(dynamic, dynamic) → dynamic'.
Try changing the type of the left hand side, or casting the right hand side to '(dynamic, dynamic) → dynamic'.

I'm using dart 2 with flutter v0.2.7-pre.1
No issues found by flutter doctor

Hey @AxelMarquez, wow, that's a crazy message haha. In any case, it's basically saying you need to provide a bit more type information to combineReducers, e.g.:
final hasInternetReducer = combineReducers<bool>([
  TypedReducer<bool, LostInternetAction>((bool state, LostInternetAction action) => false),
  TypedReducer<bool, RecoveredInternetAction>((bool state, RecoveredInternetAction action) => true),
]);

You're right!
I though flutter's type inference would catch that, sadly it didn't :(
Many thanks for the help

Yah, it's been a little rough in that regard... I don't think the IDE warnings have caught up with the language implementation, so I've noticed a lot of runtime errors as well


After API post server not store changes

Which version are you using?
v0.17.6
Which operating system are you using?

OS

[x] Linux
[ ] Windows
[ ] macOS

Architecture

[x] amd64
[ ] arm64
[ ] arm7
[ ] arm6

Describe the issue
After changing config with API endpoints and restart the server, every change has gone.
Describe how to replicate the issue

enable API in config
start the server
change something with API or add new paths
restart the server

result: config file not changed, old config loaded

At the moment the server API is stateless and doesn't save any change to disk. This was done since saving these changes to the configuration file would be a problem since

contiuously writing to a file is slow (a DB would be ideal)
YAML comments and general formatting (spaces, additional newlines, key ordering) of the configuration file would be dropped during updates

At the moment i can't think about a better solution (sorry!).
If you want to implement retention, you can save paths, users, etc in a DB of your own, and apply this state when the server starts through API.


feat(git): add "categories" option for filtering commits by category

Same as the title, I think it's good for monorepos. #39

@ShinyLeee why this one is not merged?

@robinjoseph08 Do u have time to check this merge request~
Sorry for bother


OSM Bright theme rendering black roads

I have a problem with the mapbox osm-bright theme when rendered with a carto generated mapnik xml  file. In the bridges layer, the bridges are rendered black instead of their normal colors.
Ive attached a picture below, in which I deactivated the roads layers to show just the bridges. When I generate a mapnik xml directly from TileOven, the rendering is fine.
Carto: v0.17.2
NodeJS: 4.8.2
Mapnik version: 3.0.13
Command used: carto project.mml > project.xml
Carto XML Rendering

TileOven XML Rendering

Thanks for the report, I'll investigate.

Git bisect tells me that 9be4e86806b0baa50b76cf70e9096a5a24877453 introduced this behaviour.

Fixed in v0.17.3.