Matching episodes of series with the library

When watching series, the following problem often began to arise: if there are separate subtitle files in the torrent, then when watching, you have to choose a series each time, although they have the correct names. The idea is to ignore non-video files in files.
example: e1s01.avi, e1s02.avi ext is correct
example2: e1s01.avi, e1s01.srt ext is problem
in my other project I solved a similar problem like this:
EXT_CORRECT = ['.avi', '.flv', '.mp4', '.mkv', '.wmv', '.ts']
def extension_check(path):
correct = False
extension = os.path.splitext(path)[1].lower()
for item in EXT_CORRECT:
if extension == item:
correct = True
break
return correct
It will be good if you implement something similar in your project.
I apologize for English; I know it badly.

Small files are filtered by Elementum, it can be controlled in the settings. By default - anything less then 100mb is filtered.
That is done to filter all surrounding files, like audio, subtitles, texts and so on.
@Nosperatos  Maybe you have modified that setting? I don't know how you can see small files in other way.

Thank you I’ll study the settings more closely.

Напишу так без переводчика. Действительно в настройках стояло значени 0 мб на минуту сериала. Поставил 2 мб и проблема исчезла. Спасибо за замечательный проект, успехов!


v0.0.2-dev

@toncho11 @qbarthelemy @sylvchev
We finished the Qiskit migration (plus a couple of PRs), and I think we can release v0.0.2-dev.
What do you think?
I would like also to suggest submitting the code base to JOSS. It is a journal specialized in software review. It takes the form of a Github review where the reviewers directly create issues in the repo. Besides a publication, I think it can be a good idea to bring new contributors to the project. What is your opinion on this?

Sounds good :)

Yes, good idea!

Yes, good idea!

Super! Thanks for the feedback :) I will start working on this then.


What is the meaning of the number in the name of the result folders?

Hello sir, would you mind telling me the the meaning of the number in the name of the result folders?

And it is apprieciated for you to explain the detail about what does the metric like PSNR、SSIM calculate specificly in your work? Does it derived form the input images and the novel view images?

Hello, sorry for the late reply.
Let's first review the setup for the evaluation. Given N views of a scene, we first divide them into working sets and test sets. During testing, our goal is to synthesize the target view at the test viewpoint. We will select 2 or 3 nearby views from the working set as the input source view and then output the target view. Metrics such as PSNR and SSIM are calculated by comparing the synthesized views with the Ground-Truth views from the test set.

When running the command to synthesize the video, {scene_name}_{test_view_id}_0.mp4 will be generated, which represents the video centered at the test_view_id viewpoint. Accordingly, the folder {scene_name}_{test_view_id} contains all the generated images, that is, all the frames of the above video.

Thank you for the detailed explanation of the evaluation setup. I appreciate the clarity in outlining the process of dividing the views into working sets and test sets, and the steps involved in synthesizing the target view. The information about the metrics calculation and the generation of the video and image frames is very helpful. Thanks again for your thorough explanation!

Hello sir, can you explain the train_dataset and test_datase in the colmap_eval.yaml?

And I wonder why it does not display the traning process and the ssim and psnr?

train_dataset and test_dataset represent the setup for training and test, respectively, such as data path, image resolution, and so on.
The reason the training is not executed is because the loaded checkpoint ./trained_model/mvsgs/dtu_pretrain/latest.pth has reached the predefined number of epochs.

train_dataset and test_dataset represent the setup for training and test, respectively, such as data path, image resolution, and so on. The reason the training is not executed is because the loaded checkpoint ./trained_model/mvsgs/dtu_pretrain/latest.pth has reached the predefined number of epochs.

So how can I realize for each new scene, I can see its training iterations in the log files, and save its evaluation indicators？
Do you mean I have to delete the trained_model .pth files to realize my goals?

You can modify the exp_name in the configs/mvsgs/dtu_pretrain.yaml.
Before training, the code will first check whether there is checkpoint in trained_model/mvsgs/exp_name, and if so, the latest checkpoint will be loaded. During training, the tensorboard log will be save in record/mvsgs/exp_name, the trained checkpoint will be save in trained_model/mvsgs/exp_name, and the rendering results will be saved in result/mvsgs/exp_name.

 That is a proper way to avoid the dilemma.


I've been experimenting with the examples before I start creating my own version, and I'm having difficulty with the filter

I'm still very new to coding, especially in this language. I can get the basic sorting to work, but when I try the code for filtering, no items appear, even though the checkboxes do. And clicking the checkboxes doesn't do anything. What should I do?

Hey! Did you figure out the error? I'm happy to help if you're still having issues.

It was a copy and paste mistake on my part, embarrassingly.
Although I would like advice as to give each option multiple roles, like say, 'lawyer' and 'male', as well as to have multiple "X only" options (like "Recurring characters only" or "One-shot characters only)

You can combine as many conditions as you like in the shouldIncludeItem function by using && (and). For example, if you want a 'One-shot characters only' checkbox in addition to 'Recurring characters only' (assuming a one-shot character is simply any character who isn't recurring), you can use (!settings.recurringOnly || item.recurring) && (!settings.oneshotOnly || !item.recurring). Note the exclamation mark before item.recurring; that negates it.
I don't think you want multiple roles in that example; surely you'd want role: 'lawyer', gender: 'male'. But if you definitely wanted multiple roles, you'd want roles: ['lawyer', 'defendant']. Filtering on that is a little more complex; in modern browsers you can use item.roles.some(function(role) { return settings.roles.indexOf(role) !== -1; }).
Let me know if that's not clear enough and I'll give a more complete example.

Your advice was very helpful, thank you.
I could use help with adding a reset button next to the "undo," "redo,", and "pass" buttons

To add a static reset button, you can simply add an HTML button with a class or ID wherever you want in the document:
<button class="reset">Reset</button>

And then, where you define the Picker object, include reset under elements, with an appropriate selector:
elements: {
    pick: "#pick",
    pass: "#pass",
    undo: "#undo",
    redo: "#redo",
    reset: ".reset",
    evaluating: "#evaluating",
    favorites: "#favorites"
}

For filtering, I'm using getFilteredItems.
I used your advice of having more the one tag for organizing items. However, I still want to give some items multiple of the same type of tag.
The thing I'm working on is a picker from Fire Emblem Characters. One of the things I'm organizing them on is by game, but some characters appear in multiple games.
For example: games: [Awakening, Fates]
So how do I impliment that in getFilteredItems?

Are you sure you need getFilteredItems? Do you also have something like the example with removing duplicates?
If you do need it, in any case, then you'll want to implement the check I suggested above while looping through the items:
if (item.games.some(function(game) { return settings.games.indexOf(game) !== -1; })) continue;

I did implement a system to remove duplicates.
The current version uses this to filter:
           if (settings.roles.indexOf(items[i].role) === -1 || settings.games.indexOf(items[i].game) === -1 || settings.Classes.indexOf(items[i].Class) === -1) continue;
roles, games and Classes are the main tags.
I tried to implement the multiple roles system in this way:
   {id: 'Gangrel', name: 'Gangrel', image: 'Gangrel_Portrait.png', game: 'Awakening', Class: 'Thief', role: ['Antagonist', 'Ally']},
           if (item.games.some(function(game) { return settings.games.indexOf(game) !== -1; }) || settings.games.indexOf(items[i].game) === -1 || settings.Classes.indexOf(items[i].Class) === -1) continue;
It did not work. I'm pretty sure I misinterpreted something or made a mistake, and I would like to know what that mistake was.
There is probably at least one character that needs more then one of each tag as well

I finally finished it. What web hosts would you recommend?

I don't really know what's available right now in terms of simple hosting - I've got a virtual server, but you don't need anything of that scale to host a picker.
You could just use GitHub pages, though, since you're already on GitHub! There are instructions here: https://pages.github.com/

It's been a long time. I've used it quit a bit now, I'd say it's a bit of an odd hobby. How to you create a counter that show how many need to be eliminated until you find the next favorite?

I did it like this:
    onUpdate: function(updateType) {
        var totalPokemon = this.picker.state.items.length;
        var favorites = this.picker.state.arrays.favorites.length;
        var eliminated = this.picker.state.arrays.eliminated.length;
        var remaining = Math.max(0, totalPokemon - favorites - eliminated - 1);

        $("#remaining").text(remaining);
    },

with a span with id="remaining" on the page where the counter should be.

I put this code inside the options for PickerUI in the picker HTML file - you don't need to edit the actual picker Javascript files. Like this:
var pickerUI = new PickerUI(myPicker, {
    elements: {
        pick: "#pick",
        pass: "#pass",
        undo: "#undo",
        redo: "#redo",
        reset: ".reset",
        evaluating: "#pokemon",
        favorites: "#favorites"
    },
    onUpdate: function(updateType) {
        var totalPokemon = this.picker.state.items.length;
        var current = this.picker.state.arrays.current.length;
        var favorites = this.picker.state.arrays.favorites.length;
        var eliminated = this.picker.state.arrays.eliminated.length;
        var evaluating = this.picker.state.arrays.evaluating.length;
        var remaining = Math.max(0, totalPokemon - favorites - eliminated - 1);

        $("#remaining").text(remaining);
    },
});

I can't seem to get the number to actually appear.
Maybe I made a mistake with the HTML:

Characters remaining to be eliminated before next favorite is found:

Do I need to add #remaining to the pickerUI?

The code I gave above and the span with id="remaining" should be enough. If you like, you can send me your files in full and I can try to figure out what's going wrong.

Here it is: https://github.com/redtutel/Fire-Emblem-Favorites-Picker/blob/master/index.html

You put the onUpdate function in the wrong place - inside the options for the sortable favorites instead of the options for PickerUI. You want it to go right after the element definitions, like in the example above.

Oh man, I always get tunnel vision on the littlest things. Thank you so much. It's working now.


Command /v /vanish doesnt work

V1.10
Pocketmine 3.14.1
When i Type /vanish nothing happens!
BlazinFly and Scorehud Addon is installed but nothing happens

do /pl in game and send me a screenshot
Le dim. 12 juill. 2020 2 h 04 p.m., MonoAdrian23<EMAIL_ADDRESS>a écrit :

V1.10
Pocketmine 3.14.1
When i Type /vanish nothing happens!
BlazinFly and Scorehud Addon is installed but nothing happens
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/superbobby2000/VanishV2/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALOPMIM5BJ5ABYHUYUO4GV3R3H3KJANCNFSM4OX5CGBQ
.

 Your just sped, If that doesn’t work the why r u the only one with this comment. Me and Bobby own a server and it’s working.
                               - Lucky in super toxic mode

I have nothing changed in Plugin

The plugin is red, that mean he's disabled have you tried checking your console before creating an issue the plugin is probably disabled because your configuration file is outdated you have to delete it to get the new one


[Feature request] Add support for --security-opts

Docker run can get --security-opts (see here). Those are needed e.g. if you want to use group managed service accounts in Windows Containers. I would like to be able to set those during run as well as in templates. If you can point me in the direction, I'd be happy to try to create the PR myself

Ping me on Slack if you need some instructions to contribute on this.

Re-opening this issue based on requests in #597

Re-opening this issue based on requests in #597

I could really use something like --security-opt="seccomp=profile.json" if possible. Cheers!


Add main-oasst to clean directive

Would be nice to enable Issues/Discussions on your fork so we can chat about other things...

Also, Issues and Discussions have been enabled.


Support using a custom Gradle distribution

With a gradle-distribution input that can point either to a local or a remote distribution.
I don't have the need for it yet, if you do, please add a 👍 .

The gradle-build-action can now be used to setup the Gradle User Home so that any arbitrary Gradle invocations will benefit from enhanced caching and build-scan integration. This should make it relatively straightforward to use a custom Gradle distribution if required (although a downloading, installing and caching a remote distribution would need to be managed by the user).


Reify nix expressions to cas

Best reviewed commit by commit.
This was initiated by the impossibly long nix command lines that are spawned by putting the expressions in argv.
I noticed that this change finally required the refactors I’ve been wanting to do for over a month now, so those are in here.

With the CAS store, this starts begging questions like how do we GC this store? For several of the use cases, it might be nicer to figure out how to ship files with the binary instead of inlining them to the binary. What do you think?

With the CAS store, this starts begging questions like how do we GC this store?

Not necessary, since we only use it to reify static strings from the binary to the file system, into the user cache dir. Should not be more than a few kilobytes.

For several of the use cases, it might be nicer to figure out how to ship files with the binary instead of inlining them to the binary. What do you think?

I evaluated the atomicwrites module pretty in-depth before using it here, to make sure it works as intended. In the process, I submitted a documentation PR upstream, but it being merged is not a precondition for this PR.


SageMaker Endpoint - Validations

System Info
The SageMaker Endpoint validation function currently throws a missing credential error if the region name is not provided in the input. However, it is crucial to perform input validation for the region name to provide the user with clear error information.
GitHub Issue Reference:
For the code reference related to this issue, please visit: GitHub Link
Who can help?
@3coins
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
This can be reproduced by creating a SageMaker Endpoing LangChain without specifying region name. Please ensure that you have valid AWS credentials configured.
Expected behavior
The error message must state
Region name is missing. Please enter valid region name. E.g: us-west-2.

For implementing input validation on the region name, an additional root validator can be introduced within the SageMakerEndpoint class. The validator will verify the presence of the region_name, and if it's absent, it will trigger a ValueError containing a precise error explanation.
@root_validator() def check_region_name(cls, values: Dict) -> Dict: """Ensure that a valid region name is supplied.""" region_name = values.get("region_name") if not region_name: raise ValueError("Please provide a valid region name, such as 'us-west-2'.") return values

For implementing input validation on the region name, an additional root validator can be introduced within the SageMakerEndpoint class. The validator will verify the presence of the region_name, and if it's absent it will trigger a ValueError containing a precise error explanation.
''' @root_validator()
def check_region_name(cls, values: Dict) -> Dict:
"""Ensure that a valid region name is supplied."""
region_name = values.get("region_name")
if not region_name:
raise ValueError("Please provide a valid region name, such as 'us-west-2'.")
return values '''


fix: bash script copy not work

Fix the bash script copy not work in docs website.

Had to close this now due to a massive rewrite, but thanks for contributing!


Update README.md 1

This pull request includes a small change to the README.md file. The change adds a horizontal rule to improve the visual separation of sections.

README.md: Added a horizontal rule to improve the visual separation of sections.

xx


Fix race condition in non-container transactions

Minor cleanup to some of the Transaction logic.  However, it looks like this cleanup might have also inadvertently fixed the race condition that was being investigated here:
https://github.com/knex/knex/pull/3665
cc: @maximelkin + @kibertoad

At a high-level, it seems like Knex is blurring the lines between:

The Transaction
The Transactor.  (The thing that looks like a Knex Client, but it's actually scoped to a single transaction)
The operational logic around the Transactor.  ("If the callback to knex.transaction(..) returns a Promise, then automatically commit or rollback the Transactor depending upon the outcome.  Otherwise, assume that the caller will be responsible for committing/rolling back the Transactor")

In the current version of the Knex code, the Transaction class is responsible for instantiating the Transactor and handling the Transactor's operational logic as well.  I suspect that we should extract these responsibilities into a higher layer of the code, such as here:
https://github.com/knex/knex/blob/72886086b65583b395d2c34851ef60a5a6d5fd75/lib/util/make-knex.js#L39-L50

@maximelkin + @kibertoad : This current PR seems to fix the "unresolved Promise" issue that we were observing.  However, I've actually done some additional cleanup/fixing as well:
https://github.com/briandamaged/knex/pull/1/files
This builds upon the existing PR and untangles the Transaction / operational logic.  So, the Transaction class no longer needs to change its behavior depending upon how it was called.  But, I'm keeping this as a separate PR for now just in case we want to merge things more incrementally.

This looks great, thanks a lot!

@briandamaged Can you also create the second PR?

@kibertoad : Sure!


internal/graphicscommand: optimize prependPreservedUniforms

Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] PlayStation 5
[ ] Xbox
[ ] Web Browsers

What feature would you like to be added?
prependPreservedUniforms tends to be a hot spot for performance, especially when rendering a lot of sprites. Here is the profiling result of examples/sprites with 10000 sprites:

atlas.Image.drawTriangles is the heaviest process, but this does a little complicated things. Let's focus on prependPreservedUniforms.
There are some ideas to optimize this.

What if callers are responsible to allocate the head elements to fill, instead of prependPreservedUniforms moves the data?
Can we do BCE? (See https://go101.org/optimizations/5-bce.html)

Why is this needed?


IDVA5-1484 remove hard coded verification documents

Updated the verification documents to match the values expected by the verification api
Updated the payload send to the verification api on confirming identity to match the new verification evidence structure

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


Dependencies

nicolopignatelli/valueobjects has some requirements that just don't really make any sense like mathiasverraes/money (which is afaik, an example implementation for VOs).
Additionally the Enum thing is not supported by PHPStorm. I'd like deprecate that for simple constants. With that we would only have a dependency to guzzle. Then use rhumsaa/uuid directly for UUID generation.
Not saying that the valueobjects package is bad btw! Just a lot of unnecessary dependencies :)
If you guys agree I'd provide a PR soonish.

@nicolopignatelli if you agree we might just copy as few classes as possible from valueobjects to this project moving to the right namespaces

that, or just code the minimum needed to accomplish whatever we want here

thanks for looking into this :)

did a couple of spike, but it's not that easy to do keeping the bar green, I will give another try next weekend

sorry for postponing again

done with dependency removal, php-enum stuff still to address, but I don't have time :cry: and I'll give priority to #23

Cool! thanks for your work :D #23 sounds nasty


Feat(email) Contact us email sending done

There are conflicts only because of some line gaps and space
No code has been modified
Please check If it is fine

@prateekmohanty63 just remove the space before and after   of
EMAIL_BACKEND

@prateekmohanty63 actually your branch is 13 commits behind the master
Please resolve the merge conflicts


[Hub Generated] Review request for Microsoft.Cache to add version stable/2020-06-01

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] 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)
Adding a new API version
Adding a new service

[ ] 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.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API 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
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

@mechandr Please also update the Create example to show usage

/azp run automation - sdk

@MECHANDR Please also update the Create example to show usage

Updated example. Thanks.

Don't we need to change 'redisVersion' in redis cache properties to read-only = false? And also I think there was a way to specify that its only settable at create time.

'redisVersion' in 'RedisProperties'  is used in responses and it can have full version like '4.0.14', so didn't reuse this for create request and kept the read-only = false.

/azp run automation - sdk

I believe Swagger BreakingChange failure is false positive. I had removed 'redisVersion' from 'RedisProperties', but it should still be present in 'RedisProperties' as it includes 'RedisCreateProperties' which has 'redisVersion'


test: update imports in system tests

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/3ec8a997-6287-4049-9d29-bcba78de1be3/targets

fixed in #163


BUG-000169079 The ArcGIS Instant Apps Public Notification template search bar result selects all the adjacent features touching the main feature if the search source layer is duplicate of the input layer in ArcGIS Online.

Describe the bug
The ArcGIS Instant Apps Public Notification template search bar result selects all the adjacent features touching the main feature if the search source layer is duplicate of the input layer in ArcGIS Online.
Salesforce ID: BUG-000169079
Salesforce Submitter: Sanat Shetye
Salesforce Submit Date: 7/11/2024 4:22 PM
Salesforce Bug Type: Usability
Salesforce Severity: Medium
Steps to Repro:
Steps to Reproduce:
·      Create a web map with any data ideally with Polygons with common boundaries.
·      Create a duplicate of the same layer in the web map.
·      Layer1 will be used as the Input layer and Layer2 used as the Search source layer. Both have the same feature layer with the same source.
·      Create a public Notification Instant app from the web map.
·      Enable layer1 under layers to include option for Public Notification and keep the layer2 toggled off.
·      In Search Configuration, click on Add Source and use the layer2 as the source. ArcGIS Online Geocoding service can be removed.
·      Configure the search/display fields and click on Done.
·      Publish and launch the app. Click on create new list.
·      Search for any attribute with input layer as layer1 and search source as layer2.
Expected Behavior
It should select only the searched feature
Reproduction Steps & Sample
Test App: https://arcgis4localgov2.maps.arcgis.com/apps/instant/notification/index.html?appid=74e2864b51084609a03013ceb4b047ce
Test Map: https://arcgis4localgov2.maps.arcgis.com/apps/mapviewer/index.html?webmap=b6ec0d8093964c54b03184f1609d2ec0

Launch the test app.
In the search box, select TaxParcels-Copy as search source. search for parcelid<PHONE_NUMBER>, notice that two records are showing in the suggestion

Notice that adjacent parcels are selected.

Other Relevant Info
@jmhauck are we using spatial query in this scenario? If yes and if we are not doing any geometric comparison, can we switch to use OID instead? reference issue : https://github.com/Esri/solutions-components/issues/148

@azizaparveen this should be ready to test

@jmhauck the fix looks good, noticed another unrelated issue though, the image is not loading in the preview or at runtime
Here is the app: https://solutions.mapsdevext.arcgis.com/apps/instant/notification/index.html?appid=bdbd9a4587cd4e2d95bfae2c09b783bb
.

@azizaparveen this should get that icon issue:
https://devtopia.esri.com/WebGIS/arcgis-portal-app-templates/pull/10513

@azizaparveen finally got to the bottom of the icon/assets issue...should be good now.

Icon and the bug fix looks good in devxet


feat: Support annotations beyond the top-level of meltano.yml

Annotations can now go within any dictionary in meltano.yml except for the env dictionaries, and the plugins dictionary. The former because it wouldn't make sense, and the latter because of technical difficulties with supporting annotations in that location in particular (because ProjectFiles has special handling for it).
Closes #7215

@WillDaSilva - This looks really good. Just one request above re: excluding from config: blocks.
Thanks for putting this together!

@WillDaSilva can you add a docs update to https://docs.meltano.com/concepts/project#annotations indicating where annotations is/isn't allowed?

can you add a docs update to docs.meltano.com/concepts/project#annotations indicating where annotations is/isn't allowed?

@tayloramurphy Thanks for reminding me to do that. Updated in 0ab36ec

One think is just to confirm that you were able to regenerate the sample files after metaclass update, and that they passed a manual spot check similar to pre-metaclass refactor.

@aaronsteers What sample file are you referring to? The integration test?

One think is just to confirm that you were able to regenerate the sample files after metaclass update, and that they passed a manual spot check similar to pre-metaclass refactor.

@aaronsteers What sample file are you referring to? The integration test?

Sorry for the confusion. Was referring to these sample files generated from squared and shared in slack: https://meltano.slack.com/archives/C03GKHWS0HM/p1676061575297269?thread_ts=1675995126.993639&cid=C03GKHWS0HM

To enable a clearer review, I'm going to open a follow-up PR to address this issue:

https://github.com/meltano/meltano/issues/7330


use pydantic schemas of current api data in a front to

build schema from api json when build front container. Use this


fix: Change delimeter for flatten to underscore

Updated invocation of flatten to define options for changing delimeter from the default . to an underscore _ to appease Slack's requirements for variable keys to "only contain a combination of letters, numbers, hyphens, and underscores." #9

@stevengill Firstly, great app! Thanks 🙏
Any chance we can get this PR merged?  Currently the app cannot be used with the latest version of Slack Workflows, as it doesn't support variable names containing a dot (#9) 🤞

We would love for this to be deployed. We will use it right away!!

@cookbr @mattsims @Fuller-P I have maintainer status, so I can help merge and deploy this PR for everyone 🙂 Thanks for adding comments to show your interest and support, it always helps bring attention to the right PRs 🙇🏻
@cookbr I agree with your compatibility suggestion, if you have a moment to update this PR, that would be appreciated! Otherwise, I'll loop back later this week and see what I can do on my side.

I am also highly anticipating a deploy, would be extremely useful!

@cookbr @mattsims @mwbrooks We are excited for this feature to get deployed so we can use this tool! Would it be easiest to create a clone site that handles the underscore? The clone could be linked from the main/original page? That seems like it would be the easiest. Hoping we can get this updated soon! Thanks

Just adding my voice to those following this one closely. This will be extremely helpful in our workflows.

Awesome, thank you @mwbrooks & others!!
Now I just need to wait for GitHub to have an 'incident' to test (trying to leverage the webhooks of https://githubstatus.com). Appreciate the work!


Update index.html

practice

@aldiagrace Thanks for the PR. I'll review and merge it soon.

You may look into a few good first issues which are up for grabs.

:white_check_mark: Link to the repository


Fix code scanning alert - Remote property injection

Tracking issue for:

[x] https://github.com/webrtc-org/make/security/code-scanning/2

blurred lines


[#3] [iOS] Update app to follow iOS template structure

Close #3

What happened 👀
Adding the iOS-template as a submodule of the KMM template to maintain the consistent project structure for iOS module.
Insight 📝

Add iOS-template  as a submodule of KMM-template
Add a new make.sh which calls the make.sh in iOS folder and add the shared pod to pod file of iOS project.
Add build configurations to build.gradle of the shared module. The build configuration of shared.podspec must match with the build configuration of iOS module.

Proof Of Work 📹

@markgravity One more approval? 👋

@phongvhd93 it's ready for merging now. Let's go faster :rocket:


Create an Interface to customize ConfigProducer

Create the ConfigProducerInterceptor interface, which allows the implementing connector to perform custom actions on the generated configuration.

Added PreConfigProducerInterceptor (which can implement custom logic for loading a configurationmodel) and PostConfigInterceptor (which can change the loaded configuration before the ConfigContainer is provided as a bean)


Skills declared with version > 0 are not visible in Progress And Rankings view

Skills declared with version > 0 are not visible in Progress And Rankings view; the reason is that embedded SkillsDisplay component is not configure with a version. We need a way to configure version for a project.

add optional configuration to the project settings page - current skills version
if configured use that version in all SkillDisplay component (whether it's in the Dashboard or embedded in client app)
remove version param from SkillDisplay and emit an error

https://github.com/NationalSecurityAgency/skills-service/pull/568


Since v0.40.0, touch event MoveUpdate cannot be called continuously after tap

Hi, thanks to your awesome chart package.
Since v0.40.0, touch event MoveUpdate cannot be called continuously after tap(= required longPress).
Difference in behavior is here.

v0.36.4
v0.40.0~

Is the behavior expected?
I think, it's change is not good for users.
Some users cannot aware that the chart enable for them to trace line and show tooltip because of need to wait for certain amount of time.
Therefore, I would like to revert to v0.36.0 behavior.
To Reproduce
Just use line_chart_sample_1.dart
https://github.com/imaNNeoFighT/fl_chart/blob/master/example/lib/line_chart/samples/line_chart_sample1.dart
Thanks.

I suggest we have a flag for this, to set the long press to be true or false.
user are not mostly aware that they need to longPress

Found a fix for it,
Not the best practice but you'll need to edit the package.
Goto lib/src/chart/base/base_chart/render_base_chart.dart
then update line 71 to this:

_longPressGestureRecognizer = LongPressGestureRecognizer(duration: const Duration(milliseconds: 0));
The trick is, it sets the LongPressGestureRecognizer.duration to be 0 milliseconds instead of 500 from kLongPressTimeout.
Suggestion to the dev team is to make this a feature flag so people can enable or disable LongPress feature

@Divinoart
Hi, thanks for your response.

I suggest we have a flag for this, to set the long press to be true or false.

Your approach is better, so I agree with you.

@Divinoart

_longPressGestureRecognizer = LongPressGestureRecognizer(duration: const Duration(milliseconds: 0));
The trick is, it sets the LongPressGestureRecognizer.duration to be 0 milliseconds instead of 500 from kLongPressTimeout.

Good Job👍
Your solution works expected behavior.
_longPressGestureRecognizer = LongPressGestureRecognizer(duration: Duration.zero);

Duration.zero（v0.55.1）

@Divinoart

_longPressGestureRecognizer = LongPressGestureRecognizer(duration: const Duration(milliseconds: 0));
The trick is, it sets the LongPressGestureRecognizer.duration to be 0 milliseconds instead of 500 from kLongPressTimeout.

Good Job👍 Your solution works expected behavior.
_longPressGestureRecognizer = LongPressGestureRecognizer(duration: Duration.zero);

Duration.zero（v0.55.1）

Great!

Added longPressGestureDuration property.
https://github.com/HTsuruo/fl_chart/tree/feature/tsuruo/enable-customize-longpress-duration
I hesitated that optional property should take a boolean true/false, but decided that Duration property because it's better for flexibility.

Resolved by #1128

Resolved by #1128

Thank you for contributing.
It will be available in the next version soon.

0.60.0 is just released. Check it out!


[chore] updated pr template

Description
Updated Pull request template to the new one without long checklists that were almost never used.
Motivation and Context
Our current pull request template sucks – almost nobody was using this checkbox lists.
Also these lists were really long and not suitable for 99% pull requests.
How has this been tested?
I have took a look into https://github.com/stevemao/github-issue-templates and picked the most pleasant one (subjectively)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

It there will be no rejections I will merge PR on Aug 10

Let's try


Validation tables

Adds the ability to produce the validation tables.
Still some missing data to add to the validation, notably per-beam PSF information.
Will also need to link into artefact creation.

Added table artifacts

I am going to merge this in now as it is becoming a little too much of a single change.
The to-dos are:

correct the place holder psf holders
update the MSSummary class to hold the items that the field panel  expects

The second option should be straight forward, and should allow the measurement sets to be self-cal'd and zipped again without having to wait for the validation plots / tables,


[Rancher2] Request to improve the doc about fluentd buffer config and memory usage

Request Summary:
Improve documentation regarding the buffer size and its effect on memory usage.
Details:
Current documentation on fluentd is missing sufficient information regarding the effects of memory usage and details on buffer configuration. The liveness probes fail because the memory is growing too fast and the pod is overloaded as buffer is too large.

@vincebrannon I know this is an old issue, but I recently joined the team and saw the Jira in our backlog.
Since I can't view the linked Salesforce page, could you add the information here in a comment?
Thanks!

Page this concerns: https://ranchermanager.docs.rancher.com/pages-for-subheaders/logging

@martyav
Well the information is spread over many entries in the ticket and will need to be curated if you don't have access that will be hard.
But here you go this is fir the recent logging v2.
Documentation on Logging v2 in Rancher v2.5 can be found at https://rancher.com/docs/rancher/v2.x/en/logging/v2.5/ and details on migrating from the Logging in <=v2.4 to this can be found at https://rancher.com/docs/rancher/v2.x/en/logging/v2.5/migrating/
By default a buffer is not configured on outputs in Logging v2, which uses the Banzai Cloud Logging Operator. However, users are able to configure a buffer plugin, as well as all available buffer options, per the documentation at https://banzaicloud.com/docs/one-eye/logging-operator/configuration/plugins/outputs/buffer/ The fluentd documentation on buffering can be found at https://docs.fluentd.org/buffer
Having disabled the old Logging configuration and enabled the new Logging in v2.5, the below ClusterOutput and ClusterFlow resources show an example of an elasticsearch logging configuration, with a maximum 2GB simple file buffer (file buffers in Logging v2 are written to an empty-dir volume mounted in the fluentd container at /buffers).
The elasticsearch ClusterOutput would require some alteration to align this with your own Elasticsearch configuration. Please note also that due to minor format differences in output with the earlier logging, you will need to use a new index or wait until the index date rollover for logs to forward to Elasticsearch successfully with the new configuration.
apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterOutput
metadata:
name: "cluster-es"
namespace: "cattle-logging-system"
spec:
elasticsearch:
host: <IP_ADDRESS>
port: 9200
include_tag_key: true
reload_connections: false
reconnect_on_error: true
reload_on_failure: true
scheme: http
logstash_prefix: custom
logstash_format: true
logstash_dateformat: "%Y-%m-%d"
type_name: container_log
buffer:
type: file
total_limit_size: 2GB

apiVersion: logging.banzaicloud.io/v1beta1
kind: ClusterFlow
metadata:
name: "all-logs"
namespace: "cattle-logging-system"
spec:
globalOutputRefs:
- "cluster-es"


SSKW-10 Code of Conduct

[ ] I have followed the Contributor guideline.
[ ] Tests are included
[x] Documentation is changed or added
[x] Related issue has been created
[x] Commits messages follows commit guideline

resolves #10

@jhnemogap and @rulo-code please not that points 1 and 2 do not apply for this PR as they are in another PR and they depends on this one.


Sign message for a Trezor wallet is asking for a password

If you have a Trezor plugged in the 'Sign message' is asking for a password (which you don't know for a Trezor wallet) rather than asking the Trezor to sign it.
Marked as Beta 8 but we might want to slip it to the Release 0.1

This should be relatively straightforward to implement. If it takes more than a morning then I'll bump it to Release 0.1.

I've added preliminary support for Trezor message signing. To verify do the following:

Unlock a hard wallet
Use Payments/Request Bitcoin to obtain an address
Enter short text message
Click Sign message
Confirm on the device
Observe "signing was successful" message

There are some limitations:

there is no separate panel view providing a Trezor display which is a break away from the standard UX
only address 0/0 is supported regardless of what is entered
there may be an upper limit on the length of the message to be signed which I haven't explored yet
the PIN support is currently untested

Ready for interim review.

Added support for PIN (usual re-attach to trigger) and for arbitrary receiving address. Both panel views will now suggest the current receiving address for signing to save complex lookup operations but can be overridden if necessary.
I've verified long messages are OK with the Trezor and result in a truncated screen display so I'll add a display panel for UX consistency.

It all works except if you detach and reattach you can get a 'Trezor is invalid' in the log. (And nothing on the screen). This is a bit of an edge case so am closing.

'Old yer 'orses!  :-)
Still have some more to come with the display screen...

Ha Ha

OK, I've added the confirm panel now.
Ready for review and close.

Works all very nicely.
Closing.


How to Donate/Sponsor the project?

Overview
I own an NFT Project called AlgoFreaks  that makes quarterly donations to Algorand-related Open-Source projects and it turns out our first donation goes to you.
Unfortunately I cannot find any way to either send ALGO or actual money to support the project.
I would appreciate if you could either turn on the Sponsoring section for your repo or provide the best way to donate to the project in your README.

We definitely appreciate the sentiment, however, it just wouldn't be right to accept donations. The majority of the team that's currently maintaining the repo works at DEPT. While anyone can use Algomart because it's open source, it has helped us win some customers as well. And since it's being use for commercial purposes, it simply doesn't seem ethical to take donations.
We're also not looking for any sponsorships at the moment, largely so that we can make the right decisions for the product that aren't influenced by third-parties. There are a lot of great projects in the Algorand ecosystem, however, and poking through the /r/AlgorandOfficial subreddit will turn up a lot of interesting work. Thank you though :)


image v0.22.0

Coverage remained the same at 93.5% when pulling d5184fd286a0fa91742b809dc4f1a6f1e4e03494 on jbg:master into ddb9d3f0f75cdf3517650a2fa1d7e195a7b528a8 on kennytm:master.

Coverage remained the same at 93.5% when pulling d5184fd286a0fa91742b809dc4f1a6f1e4e03494 on jbg:master into ddb9d3f0f75cdf3517650a2fa1d7e195a7b528a8 on kennytm:master.

Coverage remained the same at 93.5% when pulling d5184fd286a0fa91742b809dc4f1a6f1e4e03494 on jbg:master into ddb9d3f0f75cdf3517650a2fa1d7e195a7b528a8 on kennytm:master.

Coverage remained the same at 93.5% when pulling d5184fd286a0fa91742b809dc4f1a6f1e4e03494 on jbg:master into ddb9d3f0f75cdf3517650a2fa1d7e195a7b528a8 on kennytm:master.


need to change coefficients

The waste experts need to update coefficients. How can we do that? Best to push a new excel (then I need permission)?

Do get push access you simply need to respond to the invitation to be a collaborator on the repository. This has been sent out last year, so you should just click on "accept".

Just finished the excel but when I try to push I get the following error:
git.exe push --progress "origin" master:master
remote: Permission to xapple/waste_flow.git denied to SarahBetoulMubareka.
fatal: unable to access 'https://github.com/xapple/waste_flow.git/': The requested URL returned error: 403
git did not exit cleanly (exit code 128) (2343 ms @ 15/02/2021 14:56:07)

On the settings page of the repository I still don't see you as a collaborator.

Once that is done you probably want to switch your access method to the repository from HTTP to SSH.
This is done by editing a configuration file on your PC to specify the connection method:

edit the .git/config file under the repository directory.
find url=entry under section [remote "origin"]
change it from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>that is, change all the texts before @ symbol to ssh://git
Save the config file and quit. Now you could use git push origin master to sync your repo on GitHub.

Thanks a lot! I thought I had accepted yesterday but I must not have hit the button hard enough! All is ok, the new coefficients are there.Thanks a lot!


Skipping log_retention.test.py because it is flaky in CI

$ ./autest.sh --ats-bin ~/build/ts_os_7x_disable_log_test/bin/ --sandbox /tmp/sbskip -f log_retention
...
Environment config finished. Running AuTest...
Running Test log_retention: Skipped
Warning: Skipping test log_retention because:
 This test is sensitive to timing issues which makes it flaky.

Generating Report: --------------
1 Tests were skipped:
--------------------------------------------------------------------------------
 Test "log_retention" Skipped
    File: log_retention.test.py
    Directory: /home/bneradt/repos/ts_os_7x_disable_log_test/tests/gold_tests/logging
  Reason: This test is sensitive to timing issues which makes it flaky.

Total of 1 test
  Unknown: 0
  Exception: 0
  Failed: 0
  Warning: 0
  Skipped: 1
  Passed: 0

[approve ci autest]

Cherry-picked to v9.0.x branch.


implement redaction filters

Implement a new field filter type, the redaction filter. Redaction filters use regular expressions to suppress sensitive information in string fields in Tetragon events. When a regular expression in a redaction filter matches a string, everything inside of its capture groups is replaced with *****, effectively censoring the output. For example, the regular expression (?:--password|-p)(?:\s+|=)(\S*) will convert the string "--password=foo" into "--password=*****".
In some cases, it is not desirable to apply a redaction filter to all events. For this use case, redaction filters also include an event filter which can be used to select events to redact. This event filter is configured with the same syntax as an export filter. As a more concrete example:
{"match": {"binary_regex": ["^foo$"]}, "redact": ["\W(qux)\W"]}

The above filter would redact any occurrences of the word "qux" in events with the binary name "foo".
Due to the sensitive nature of redaction, these filters are applied as configured in the
agent, regardless of whether an event is exported via gRPC or the JSON exporter. In other
words, redaction filter configuration always happens at the agent config level, not in the
gRPC client CLI.
Introduce redaction filters for censoring sensitive string data in process events.

Fixes: #2241

marking as draft while I fix an oversight with empty redaction filters


rotate list

Problem Link
https://leetcode.com/problems/rotate-list
Coding platform
leetcode
Programming language

[ ] C
[x] C++
[x] Java
[x] Python

Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.

would like to submit solution in c++ under crosswoc

@Nivedita967 can I work using Java??

I want to solve it in python, please assign me this issue as a part of Cross Woc

if it is open, will do it in C


Using access_friends

I have permissions granted for the access_friends settings, but in what way are they used? I have not found any way to access their friend list.
Thanks!

Solved: https://api.venmo.com/v1/users/1261606428213248925/friends?access_token=XXXXXXXXX
I am not a smart man...


Add Delicious Logo

Delicious is a new database client I'm working on. Would love to see the logo up there! Thanks :smile:
Website, SVG Logo Link

Nice logo, thanks!
Added 4b308cb3a171cc0ee09ae3ebcf37688ff5ce28cd

:heart: thanks!


Improvement Use hash shuffle for 1-phase Agg/Analytic operator

Proposed changes
For 1-phase Agg/Analytic operator, we prefer to use hash shuffle instead of bucket shuffle which is restricted by bucket distribution.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


path problem ?

Env: osx
golang 1.5.2
AWS credentials on env.
But am getting:
gof3r_0.5.0_amd64_darwin get -b appdif.dev -k test/f2/log2.txt | tar -x: No such file or directory

the file is on this s3 path:
https://console.aws.amazon.com/s3/home?region=eu-central-1&bucket=appdif.dev&prefix=test/f2/
Any ideas ?

I was able to download the file but it is only 15 bytes and tar does not recognize the format of the file. It may be corrupted. One thing to remember when uncompressing a tar stream is that the compression format needs to be specified explicitly as in tar -xzf rather than tar -xf since tar can not determine the compression type from the first few bytes of the stream.
This doesn't look like a gof3r issue so I'm closing it for now. Please reopen if there's still an issue.


hostname wildcard bug fix

https://github.com/rancher/rancher/issues/7145
so the refactored LB wildcards are treated the same way as "old style" haproxy:
https://github.com/alena1108/cattle/blob/haproxyreload/resources/content/config-content/haproxy/content/etc/haproxy/haproxy.cfg.ftl#L56

LGTM

@alena1108 I think this is wrong again now.. **.domain.com will match DifferentDomain.com, which is not desirable.
HasPrefix(*):

Slice off one char and use EndRule.
If the user enters "*.domain.com" the effect is the same as the current code
If they actually want "*domain.com" this does something useful and reasonable instead of never matching because * isn't a valid char in a hostname.

HasPrefix("**."): You'll need to generate 2 entires...

Slice off 2 chars and add an EndRule (ends with ".domain.com")
Slice off 3 chars and add an exact match (is exactly "domain.com")
(So this shouldn't match "SomethingElseThatEndsInDomain.com")

(then flip everything for the HasSuffix-es)
Also, all the string compares should be case-insensitive/lowercase everything beforehand if that's not already done.

re-LGTM


After close Nested Modal, page scroll at top

I use the version 6.4.4 from npm, when i open two modals in a same time or open a nested modal, then close it. The scroll offset will be at the begin of page.
I think the reason of this problem is calculating top offset of html tag is wrong. When I open the second modal, the style="top:negative px" is removed from html tag. But I suggest you remove the negative top offset, because will break a sticky function is working with top offset.

@anvucodespot would you please provide a codepen to reproduce the issue?


[bangla] : Can I add some bangla books ?

try

Yes, obviously you can. There might be few readers intrested to read books in bangla.


perf: improve vanity address matching

Motivation
the previous impl was a regex match on the address in hex format, which required additional allocs

Solution
this will try to match against the address bytes directly if the (start, end) are valid hex,
this means however, that odd patterns are still parsed via regex. this is probably faster for longer patterns than left|right padding
it accepts all combinations of --starts-with (hex|regex) --ends-with (hex|regex)
Example
cast wallet vanity --starts-with "0000"
Starting to generate vanity address...
Successfully found vanity address in 10 seconds.
Address: 0x00009AaB527c82E0ac9B53EB83DbBdd87aDeff14
Private Key: 0x637cbf8de182f697447b06bb2de563584b04b346500d140dbd25dc2d223366c1

was this a meaningful perf improvement?

hard to say, since the iterator always uses a new random key, but matching by comparing bytes of the address directly instead of comparing the allocated string via regex is definitely faster


Weird colors in success notice after animation

Is this a bug ? Or as designed ?

I would rather see this:

cc @nilshoerrmann

Buggg.

;) Let's wait for the designer's comment hahaha

I also noticed this in webkit browsers.

That's by design of course! You should never be forced to create another entry ;)
No, seems like an old Webkit bug is popping up again when transitioning from dark to light colours …

:) Ok thanks Nils I'll try to fix this up without breaking anything else ;)

I am so a lame designer (even, not a graphical designer at all), I really wanted to check with you first :P

Maybe a way to do it is through js.

Maybe a way to do it is through js.

? Everything is done in css right now... Should be pretty easy to fix.

Finally @jurajkapsz was right: we must do it in js... this is the bug: http://stackoverflow.com/questions/8490828/css3-color-transition-not-working-in-chrome
:visited links can't be animated...

yeah, js will be a sure thing.

Adding a cache buster (?cache=) would solve the problem. But it ain't pretty.

Is this a bug ? Or as designed ?

Bug.

Adding a cache buster (?cache=) would solve the problem. But it ain't pretty.

Agreed, I don't like this.
Is another solution to use JS to add classes? I notice the current implementation is quite elegant in that it uses an infinite CSS transition, but if it's not working then it's not totally useful to us :) Perhaps we could listen to the transitionend event and add the appropriate class for better compatibility?

transitionend

Good idea. But still, the css animation won't work.

It looks like transitions work, even though animations don't. Codepen demonstration – can anyone else confirm this is working in Chrome?
Would it be acceptable to rely on the .js-active class on the html element to trigger this?
If so, the following could work:
.js-active .notice.success a {
  color:#bdc3c3;
  border-color:#7c7c7c;
  transition: .5s ease-out 10s;
}

Sadly, it does not works. The link always stay red. :(

How strange. Working for me on Chrome.
Animation doesn't, but transition does...

I am on windows right now... Latest version. Always red before and after clicks.

Ok. I'm on OS X. The inconsistency is perhaps not too surprising given that it's a bug...

Oh, hang on. If it stays red that's maybe a specificity issue, not an animation issue? Does adding !important to the .visited color declaration help?

Indeed.

Same result :(

Two thoughts:
– you are waiting a few seconds after clicking, right?
– what happens if you delete the transition?

you are waiting a few seconds after clicking, right?

No I was not! It DOES works! Yeah!!!

:scream_cat:
OK, that's good! Seems like a relatively non-hacky solution. Does rely on javascript, but that's where the discussion was heading anyway, and it doesn't rely on writing any new javascript which seems convenient.

Yup, I'll patch this up right now!

Assuming .js-active is being added on DOM ready (or after) it should work!

Hey @nitriques, how'd the patch go? Wouldn't mind collating together a couple of fixes and pushing through 2.6.3 :)

Yes! As you know, I've been quite busy this week. Might have the time to properly test it on Monday.

There you go.
@johnpuddephatt  I did not used .js-active since those classes (.js-*) should not be in the css files.

I can confirm this fixes the behaviour in this ticket, but can anyone also confirm that in Chrome all the hover styles are totally ignored for notices? If I 'disable' the transition, hover effects work a treat, but with the transition it's like Chrome totally ignores hover!

Yep I can confirm seeing the same problems with hover.
Moving the transition delay from CSS into Javascript seems to sort it – as @nitriques fix relied on using setTimeout in JS I couldn't see any harm in doing this.
I've also added in a hover style for the anchor when it's dimmed as this seemed to be missing.
I've only tested this in modern Chrome/FF/Safari, but it seems to be working as expected, be good if someone can confirm!

but can anyone also confirm that in Chrome all the hover styles are totally ignored for notices?

Damn...

I've also added in a hover style for the anchor when it's dimmed as this seemed to be missing.

Could you please share this code with us :)

This can be closed following the 2.6.3 release.

Hmm, that PR doesn't seem to have any effect in Chrome. Surprising how strange this is. I can get very weird and mixed results in Chrome by hover over the link during the transition and then waiting for the dimmed state to be added.
I've assembled our 'desired' (most elegant) setup with a Codepen. For me, Firefox is the only browser that performs correctly. Webkit seems to fail in that once that transition is done, no other states will work.
Even with the current patch, and the proposed #2479, the behaviour is still inconsistent and hover/focus states are cobbled. What a curious bug.

Yes is it pretty strange.
My PR was based on this Codepen which is working for me in Chrome/FF – let me know if that's working for you.

@brendo did you check that Codepen?
I've also just realised that adding animation: none to the :hover state in your example seems to do the trick. See here.

Hey @johnpuddephatt. Yep! I tried the Codepen, still doesn't work correctly in Chrome. The animation: none allows the hover effect to work, but when you hover away from the link, the animation restarts. So you'll notice the link goes back to white, and then 4s later it becomes blue again.
It should be:

Link is white for 4s (during this time :hover should make the text yellow)
Link fades to blue at the same time the background fades
Hovering over the blue link should change the text colour to yellow
On hover out/mouse away from the link, the text should remain blue

The crux seems to be once the animation has occurred, Blink/Webkit cannot override the link colour with hover. Firefox can though.

Oh yes, the animation is restarted :/
What problem(s) are you having with the JS triggered one http://codepen.io/anon/pen/zGXVLp? That’s working for me in Chrome + OS X… hover states working before and after the alert is ‘dimmed’.

On 19 Aug 2015, at 00:14, Brendan Abbott<EMAIL_ADDRESS>wrote:
Hey @johnpuddephatt https://github.com/johnpuddephatt. Yep! I tried the Codepen, still doesn't work correctly in Chrome. The animation: none allows the hover effect to work, but when you hover away from the link, the animation restarts. So you'll notice the link goes back to white, and then 4s later it becomes blue again.
It should be:
Link is white for 4s (during this time :hover should make the text yellow)
Link fades to blue at the same time the background fades
Hovering over the blue link should change the text colour to yellow
On hover out/mouse away from the link, the text should remain blue
The crux seems to be once the animation has occurred, Blink/Webkit cannot override the link colour with hover. Firefox can though.
—
Reply to this email directly or view it on GitHub https://github.com/symphonycms/symphony-2/issues/2466#issuecomment-132388081.

Ah ha, yep can confirm that pen works!

So have we found a fix ? :D

@johnpuddephatt Is this fix the same that's in #2479?

Should be yes!

This is now merged into 2.6.x


Updated the translation file template.

A followup of https://github.com/PintaProject/Pinta/pull/121.

Updated this with make updatepot which generates a much smaller diff. Sorry for the junk.


Large connected dream blocks cause a lot of lag

Having large connected dream blocks causes a lot of rendering lag, as can be seen here:
https://discord.com/channels/403698615446536203/908809001834274887/1191797084169437224
This is mostly related to particle rendering, which is currently not camera-culled at all. Would be nice to add some here, using Celeste.Mod.Helpers.CullHelper.IsRectangleVisible
https://github.com/CommunalHelper/CommunalHelper/blob/c2c6bde9f20dd2bcf77b9483c7fd561d74cccacf/src/Entities/DreamBlocks/ConnectedDreamBlock.cs#L442-L502

i love you


Test against Python 3.7

Also, remove sudo: false because TravisCI has
migrated to their VM-based infrastructure:
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Coverage remained the same at 92.079% when pulling 6c9ff987404bdcd45a8f39a7f537b35218ccfba4 on sloria:py37 into 98c83bee0900751d37fd70c1a048cdd85ca034c4 on un33k:master.

Coverage remained the same at 92.079% when pulling 6c9ff987404bdcd45a8f39a7f537b35218ccfba4 on sloria:py37 into 98c83bee0900751d37fd70c1a048cdd85ca034c4 on un33k:master.


Unable to properly showcase the effect of Cesium in the repl

I want to load Cesium content in the REPL, but I found that I can't display the full content of Cesium. The correct display should show the appearance of the Earth, but it is not rendered in the REPL

correct display：

I have a small demo source code here:
https://github.com/JensonMiao/repl-cesium-demo

Please use ESM dependency and configure import maps https://github.com/WICG/import-maps


[LB policies] fix handling of UpdateLocked() result

This fixes some TODOs added in #30809 for cases where LB policies lazily create child policies.  Credit to @ejona86 for pointing out that simply calling RequestReresolution() in this case will ultimately result in the exponential backoff behavior we want.
This also adds some missing plumbing in code added as part of the dualstack work (in the endpoint_list library and in ring_hash) to propagate non-OK statuses from UpdateLocked().  When I first made the dualstack changes, I didn't bother with this plumbing, because there are no cases today where these code-paths will actually see a non-OK status (EndpointAddresses won't allow creating an endpoint with 0 addresses, and that's the only case where pick_first will return a non-OK status), and I wasn't sure if we would stick with the approach of returning status from UpdateLocked() due to the aforementioned lazy creation case.  However, now that we have a good solution for the lazy creation case, I've added the necessary plumbing, just so that we don't have a bug if in the future pick_first winds up returning non-OK status in some other case.
I have not bothered to fix the propagation in the grpclb policy, since that looked like it would be slightly more work than it's really worth at this point.

It isn't really observable from the outside, because these cases can't happen today.  I am adding the plumbing just as a defense against potential future changes that could introduce such cases.


DSC resource to configure Visual Studio Code workspace settings

Description of the new feature / enhancement
I'd like a DSC resource so I can configure Visual Studio Code workspace settings.
Proposed technical implementation details
No response

Hi @denelon,
I have been experimenting with Visual Studio Code workspace settings and have opened a PR that covers approximately 80-85% of the settings. I tried adding enums to make things more configurable.
Although VSCode offers many ways to configure and sync settings, exporting through DSC v3 can potentially help users discover available settings and configure them consistently.
Lastly, this was also to kickstart the idea to see if it is feasible for this repository. If it is not, I understand. Could you please let me know if that’s the case? Thanks in advance.
P.S.: For the record, I'm lazy in writing. I'm grabbing all available settings from the settings.md. I have created two functions that parse the output and return the whole class with enum as script content. It goes something like:
$settings = Get-VSCodeSettings

$groups = $settings | Sort-Object -Property Setting -Unique | Group-Object -Property Category
$filter = $groups | Where-Object { $_.Name -notin @('_os', '_vscode') -and $_.Name -notlike '`[*' -and $_.Name -notlike '`**' }
foreach ($group in $filter)
{
    $class = New-VSCodeSettingClass -settings $group.Group
    $filePath = "C:\Source\winget-dsc\output\$($group.Name)Setting.ps1"
    try {
        $class | Out-File -FilePath "C:\Source\winget-dsc\output\$($group.Name)Setting.ps1" -ErrorAction Stop
    } catch {
        Write-Host "Error writing $($group.Name)Setting.ps1"
        Write-Host $_.Exception.Message

        continue;
    }
    try {
        . $filePath

        $content = Get-Content $filePath -Raw
        $content | Add-Content -Path C:\Source\winget-dsc\resources\Microsoft.VSCode.Dsc\test.psm1
    } catch {
        Write-Host "Error loading $($group.Name)Setting.ps1"
        Write-Host $_.Exception.Message

        continue;
    }
}

If you want, I can always share the script.


proto3 no-longer generates pointers to fields

In proto2 fields were generated as pointers, which allowed us to check if a field was specified or not.  This no longer seems to be the case.  For example:
proto2:
syntax = "proto2";

message Foo {
  required int32 ID = 1;
  optional int32 SortOrder = 2;
}

gives
type Foo struct {
    ID               *int32 `protobuf:"varint,1,req" json:"ID,omitempty"`
    SortOrder        *int32 `protobuf:"varint,2,opt" json:"SortOrder,omitempty"`
    XXX_unrecognized []byte `json:"-"`
}

proto3:
syntax = "proto3";

message Foo {
  int32 ID = 1;
  optional int32 SortOrder = 2;
}

gives
type Foo struct {
    ID        int32 `protobuf:"varint,1,opt" json:"ID,omitempty"`
    SortOrder int32 `protobuf:"varint,2,opt" json:"SortOrder,omitempty"`
}

Is this the expected behavior, and if so how are we supposed to differentiate a client making a call with SortOrder = 0 vs one making a call and not specifying the SortOrder?

That's working as intended, and a deliberate choice for proto3. You simply aren't supposed to differentiate fields explicitly set to their zero value from fields not touched at all.

@dsymonds - unless I'm missing something, the README still refers to the generation of pointer fields. Is there somewhere with updated documentation for proto3?

This seems the most relevant.

I'll update the README to mention the difference.

@dsymonds - thanks

Documentation still says "Non-repeated fields are pointers to the values; nil means unset. That is, optional or required field int32 f becomes F *int32."
It it possible to specify that pointers be used.  It really saves a lot of pain.

The documentation could be clearer, but below the bullet point list it says:
When the .proto file specifies syntax="proto3", there are some differences:
    Non-repeated fields of non-message type are values instead of pointers.

I would love to hear an explanation of the design decision to no longer allow primitives to be expressed as pointers.  There are many real world cases in which (for let's say, an int64) a 0 does not mean unset.

I would love to hear an explanation of the design decision to no longer allow primitives to be expressed as pointers. There are many real world cases in which (for let's say, an int64) a 0 does not mean unset.

The Go team is not responsible for the protobuf language design. As such, we are unable to answer questions about motivation. Please redirect questions towards https://github.com/protocolbuffers/protobuf/issues/1606


auto-snooze on a soft proof error after a successful check

simple implementation with a reasonable test

r? @patrickxb

LGTM


Rendering issues with Normal Maps and Lights

Hey there,
I'm running into some issues with normal maps where at certain angles the lighting calculation seems to break down / being cut off, here the left side of the spot light seems to be missing:

This is the normal texture that I used:

Digging around in the shader code of the physical material it seems that changing this line:
normal = tbn * ((2.0 * texture(normalTexture, (normalTexTransform * vec3(uvs, 1.0)).xy).xyz - 1.0) * vec3(normalScale, normalScale, 1.0));

To this one (i.e. subtracting 0.5 instead of 1.0 seems to fix(?) things:
normal = tbn * ((2.0 * texture(normalTexture, (normalTexTransform * vec3(uvs, 1.0)).xy).xyz - 0.5) * vec3(normalScale, normalScale, 1.0));

However, from reading the documentation and looking at the code this doesn't really make sense since the 2.0 multiplication should take precedence here?
Is there something wrong with the format I'm using for the normal maps?

Can be closed, it was may (sleep deprived) fault after all. Turned that out somewhere during loading the normal map got converted into srgb space - which messed things up.

Can be closed, it was may (sleep deprived) fault after all. Turned that out somewhere during loading the normal map got converted into srgb space - which messed things up.

Oh, that is also a tough one to figure out, glad you succeeded 👍


Fixes #704 : Bottom navigation bar added

#704 Bottom navigation bar implemented
Related issues and discussion
#704

@teolemon @Karljoones Please review this PR #1265

closed waya #1265


Example-Forum GraphQL error: Unknown type "MultiPostInput" on deployed app

Hi,
My Example-Forum app run well in local mode (using the latest build of VulcanJS and Vulcan-Starter). I deployed it to my server with Mup version 1.4.5. The deploy went well and I have my app running on my test server at https://nova.adalidda.com/
However, I got the following GraphQL error:
Error: GraphQL error: Unknown type "MultiPostInput". Did you mean "PostsInput"?
GraphQL error: Cannot query field "posts" on type "Query".
at new t (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at n.currentResult (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at s.dataForChild (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at s.render (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at s (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at beginWork (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at r (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at i (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at a (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
at T (762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7)
Unhandled (in react-apollo) Error: GraphQL error: Cannot query field "locale" on type "User".
at new t (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:587400)
at n.currentResult (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:589541)
at s.dataForChild (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:552763)
at s.render (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:553603)
at s (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:965417)
at beginWork (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:967123)
at r (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:979250)
at i (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:979571)
at a (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:979807)
at T (https://nova.adalidda.com/762733c3583714b50ce1c07ee75b907a0df22751.js?meteor_js_resource=true:7:983336)
What is wrong ?
Thank You
Adalidda

Is it possible that somehow your server is not properly updated? I would try to redeploy.

It looks like your schema is still using the pre-1.12 way to do graphql :

See the PostsList query instead of the posts query.

Thank You @Apollinaire . I just realize that I miss @SachaG latest blog https://medium.com/@sachagreif/vulcan-js-1-12-a-better-graphql-api-for-crud-operations-fae82e03a7e9
Adalidda


PropertyInfos for inherited properties retrieved from reflection and retrieved from Expressions do not equal

Actual Behavior
PropertyInfo defines an equality operator and normally when applied to two instances pointing at the same property this operator returns true.
However, when one instance is gotten via reflection and the other from a member expression and the target property is inherited, then the operator returns false.
Expected Behavior
The operator should return true in this case, too.
Observations
Looking at both instances in the debugger, all fields inspectable there seem to be exactly the same.
Platform
NET Core 3.1, OS Windows 10
Repro Unit-Test
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using FluentAssertions;
using NUnit.Framework;

[TestFixture]
public class Repro
{
    public class Parent
    {
        public string Name { get; set; }
    }
    public class Child : Parent{}

    [Test]
    public void PropertyInfo_for_inherited_property_retrieved_via_reflection_does_not_equal_PropertyInfo_for_same_property_retrieved_from_Expression()
    {
        var propertyInfoFromReflection = typeof(Child).GetProperties()
            .Single(p => p.Name=="Name");

        Expression<Func<Child, string>> accessor = s => s.Name;
        var propertyInfoFromExpression = accessor?.Body switch
        {
            MemberExpression m => (PropertyInfo) m.Member,
            _ => throw new NotImplementedException(accessor?.GetType().ToString())
        };
        (propertyInfoFromExpression == propertyInfoFromReflection).Should().BeTrue(); // fails
    }
}

moving this to the runtime repo, sorry


plugins/telescope: fix project-nvim extension

Telescope extension option being toggled independently will throw an error in config trying to load a non existent plugin.

I'd rather add a warning than toggling it explictely

I'm not sure why, though. If I enable the extension manually I expected it to enable the plugin that it's dependent on for me.
It's a bug currently to try and load an extension that doesn't exist and breaks your init.lua just enabling this alone. The other instances of extensions fetch the package for you, as well.

I wrote the warning around the concept of you possibly supplying the project-nvim outside of the nixvim options, if that was  what you were thinking.
{ lib
, config
, ...
}:
with lib; let
  cfg = config.plugins.telescope.extensions.project-nvim;
  project-nvim-cfg = config.plugins.project-nvim;
in
{
  options.plugins.telescope.extensions.project-nvim = {
    enable = mkEnableOption "project-nvim telescope extension";
  };

  config = mkIf cfg.enable {
    plugins.telescope.enabledExtensions = [ "projects" ];

    warnings =
      optional
        (
          cfg.enable && (!project-nvim-cfg.enable)
        )
        ''
          You have enabled the `project-nvim` extension in telescope.
          You need to provide the project-nvim plugin itself otherwise this option will break your config.

          - To enable this extension, set `plugins.project-nvim.enable` to `true`.
          - If you've supplied the plugin outside of Nixvim, to silence this warning, explicitly set the option to `false`.
        '';

    plugins.project-nvim.enable = true;
  };
}

Well if it breaks I'd suggest adding an assertion (so an error) instead of a warning, but I'd prefer we avoid having too much magic.
Ultimately I think I'd prefer having an option in the project.nvim plugin options called enableTelescope that would do this, and avoid using the config.plugins.telescope.extensions.project-nvim option, maybe even deprecating this way to enable telescope extensions.
I feel like it is more appropriate to have project.nvim manage this (and maybe warn the user if enableTelescope is set to true but telescope is not enabled)

I feel like it is more appropriate to have project.nvim manage this (and maybe warn the user if enableTelescope is set to true but telescope is not enabled)

I agree with this sentiment. I'll go this direction.

In testing, I noticed telescope is automatically enabled in yanky. So I had to mkForce disable to test the warning. Should that be removed to get rid of the magic you were talking about?
I also saw that harpoon is doing an assertion instead of a warning for the telescope integration. Should we change that to a warning like this or make this one an assertion?


threads directive of a rule not taken into account when running through slurm

Software Versions
$ pip list | grep snakemake
snakemake                                 8.19.0
snakemake-executor-plugin-cluster-generic 1.0.9
snakemake-executor-plugin-slurm           0.10.0
snakemake-executor-plugin-slurm-jobstep   0.2.1
snakemake-interface-common                1.17.3
snakemake-interface-executor-plugins      9.2.0
snakemake-interface-report-plugins        1.0.0
snakemake-interface-storage-plugins       3.3.0
$ sinfo --version
slurm 23.02.6

Describe the bug
In a rule having threads set to 2, a shell command built to display {threads} reports only 1 thread when snakemake is run through slurm using sbatch.
Minimal example
Here is a short example meant to compare the above with what happens when setting ncpus_per_task to 2 in resources.
$ cat src/workflow/test.smk
rule all:
    input:
        "test/test_threads.out",
        "test/test_resources.out"

rule test_threads:
    output: "test/test_threads.out"
    threads: 2
    run:
        cmd = f"echo {threads} > {output}"
        shell(cmd)

rule test_resources:
    output: "test/test_resources.out"
    resources:
        cpus_per_task = 2
    run:
        cmd = f"echo {resources.cpus_per_task} > {output}"
        shell(cmd)

I run it through sbatch using the following script:
$ cat src/run_test.sh
#!/bin/bash

source .venv/bin/activate

profile="src/profile/slurm"
snakefile="src/workflow/test.smk"
snakemake --version

mkdir -p test

cmd="snakemake -s ${snakefile} \
    --executor slurm
    --profile ${profile} \
    $@"

>&2 sbatch --qos="hubbioit" --partition="hubbioit" --parsable \
    -J run_test \
    --mem=10G \
    -o test/test.o \
    -e test/test.e \
    ${cmd}

exit 0

Running it:
$ ./src/run_test.sh
8.19.0
20715805

Looking at the output:
$ cat test/test_resources.out
2
$ cat test/test_threads.out
1

If I run the workflow without sbatch and slurm, both output files contain "2".
Additional context
This looks like something similar to what is described here: https://github.com/snakemake/snakemake-executor-plugin-slurm/issues/113#issuecomment-2299153497
However, if I understand correctly, this aspect of https://github.com/snakemake/snakemake-executor-plugin-slurm/issues/113 is supposed to be solved by https://github.com/snakemake/snakemake-executor-plugin-slurm/pull/137 which is included in 0.10.0
In case this is relevant, here is the config.yaml of the slurm profile given to --profile:
$ cat src/profile/slurm/config.yaml
# Manually edited according to https://github.com/Snakemake-Profiles/slurm/issues/117#issuecomment-1906448548
cluster-generic-sidecar-cmd: "slurm-sidecar.py"
#cluster-sidecar: "slurm-sidecar.py"
#cluster-cancel: "scancel"
cluster-generic-cancel-cmd: "scancel"
restart-times: "3"
jobscript: "slurm-jobscript.sh"
#cluster: "slurm-submit.py"
cluster-generic-submit-cmd: "slurm-submit.py"
#cluster-status: "slurm-status.py"
cluster-generic-status-cmd: "slurm-status.py"
max-jobs-per-second: "10"
max-status-checks-per-second: "10"
local-cores: 1
latency-wait: "240"
use-conda: "False"
use-singularity: "False"
jobs: "144"
printshellcmds: "False"
# end with comments only

#137 sadly never worked to fix the issue for us
If you try running the sbatch command with 2 (or greater) cpu's specified (assume your default is 1 cpu) both threads should be 2.
We have been setting both cpus_per_task and threads in the slurm config file (matching the totals) for the moment as a workaround. It's a bit of a duplication but can't find a reliable way to link the totals together.  As long as the cpus_per_task are the same or greater than threads than the threads command works for the correct total. You need to specify both as snakemake rules run on threads, the dry run totals are also incorrect so have to check the logs or slurm logs for correct threads/totals.
If you run from head node the threads will work correctly but we don't like doing this and prefer using sbatch.

@blaiseli I think your --profile may be interfering with the plugin. Did you try running without it? Or at least removing everything above the max-jobs-per-second: "10" line.

@tdido I just saw you suggestion and tried not using --profile on a workflow I'm currently setting up, and this didn't work.


#42 - added gray color for slider

Fixes #42

Your code does not actually compile, even when I fix it, it doesn't actually change the color of the slider. I'm gonna close this as the issue bounties are meant to encourage good contributions and help me, but PRs with this little effort just takes more of my time than doing the actual work myself.


Error: "The stub received bad data"

Version
Microsoft Windows [Version 10.0.22000.258]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu
Other Software
No response
Repro Steps
When I install "Windows Subsystem for Linux Preview" from Microsoft Store，the following problems will appear when running wsl.
$ ubuntu
The stub received bad data.

Press any key to continue...

There is no problem before "Windows Subsystem for Linux Preview" is installed，and if I uninstall it, wsl is normal again.
Expected Behavior
"Windows Subsystem for Linux Preview" and wsl that have been installed can coexist.
Actual Behavior
wsl can't start.
Diagnostic Logs
$ wsl.exe --status
Default Distribution: Ubuntu
Default Version: 1
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.29
Windows version: 10.0.22000.258

$ wsl -l -v
  NAME         STATE           VERSION
* Ubuntu       Stopped         2
  ArchLinux    Stopped         2

/logs

This is interesting, I can see that the VM successfully started, then the distro successfully starts, but then we fail to create a process because of this RPC error.
@sirius-fan: Couple questions:

Does reinstalling the app from the store help ?
Where do you start wsl from ? (cmd / windows terminal / ..)
Does wsl start if you run wsl.exe instead of calling ubuntu.exe ?

The problem still exists after reinstalling, I tried three times.
windows terminal , I just tried to start wsl with cmd, the same problem appeared.
Nope

Additional information
I used LxRunOffline to change the installation location of the distribution， I don't know if this has any effect.

@sirius-fan or @asqw6677 - if you run wsl.exe directly (not ubunu.txt) does the shell launch?

Nope
in terminal
$ wsl
The stub received bad data.

win+R to run wsl.exe will open the window and then crash

Hello, I can reproduce the issue in Windows 11 insider beta (22616.1) using Windows Subsystem for Linux Preview.
When I uninstall wsl preview and use Nolsp.exe, things run normally.
But after I run wsl --update and update to the latest wsl preview, it shows 'The stub received bad data' when starting wsl.
I cannot use the winsock reset method because my proxy software (ProxyCap) will stop working after doing that, and ProxyCap does not offer an update.
Can you try to solve the issue in Microsoft's side?

Thanks for reporting this @xsm1997.
Can you try following these instructions but instead of calling NoLsp.exe for C:\windows\system32\wsl.exe, can you try calling it for store wsl.exe instead ?
For the latest version of WSL that should be C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemforLinux_<IP_ADDRESS>_x64__8wekyb3d8bbwe\wsl.exe  (adjust the path to match the version of WSL you have installed)

@OneBlue I managed to get it working.
I need to call NoLsp.exe with wslservice.exe in the WindowsStore wsl2 folder additionally along with the wsl.exe.
After a reboot, wsl2 works normally.
Thanks!

Awesome, thanks for the update @xsm1997.
Closing.

@OneBlue I managed to get it working.
I need to call NoLsp.exe with wslservice.exe in the WindowsStore wsl2 folder additionally along with the wsl.exe. After a reboot, wsl2 works normally.
Thanks!

This only works for me temporarily.  Every time WSL updates via the store I need to run the same NoLsp command again.  Are there plans for a fix?

How I managed to solve the problem:
> cd "C:\Program Files\WindowsApps\"

Search for some folder that looks like "MicrosoftCorporationII.WindowsSubsystemForLinux ... x64 ...". For me, it was "C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_<IP_ADDRESS>_x64__8wekyb3d8bbwe"

Go in and list its files. It should contain "wsl.exe" and "wslservice.exe".

Download https://web.archive.org/web/20220728095911/http://www.proxifier.com/tmp/Test20200228/NoLsp.exe

Open a windows terminal with admin priviledge.

Kill WSL with
> taskkill -IM "wslservice.exe" /F

Run NoLsp.exe on both "wsl.exe" and "wslservice.exe". For me, it was like
> .\NoLsp.exe "C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_<IP_ADDRESS>_x64__8wekyb3d8bbwe\wsl.exe"

> .\NoLsp.exe "C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_<IP_ADDRESS>_x64__8wekyb3d8bbwe\wslservice.exe"

@OneBlue You said Winsock reminds me. I think I already know where the problem is， This question originated from #4177 This is why this problem only appears for non-English speaking users, because we need proxy.🥲
Cause of problem
I used Nolsp.exe to solve the issue #4177 ，and about Nolsp.exe see #4177 (comment) This issue may have re-triggered when I installed "Windows Subsystem for Linux Preview" from Microsoft Store.
The solution
Open an administrative command prompt or powershell，run
netsh winsock reset

For me, this has solved the problem and it still works after restarting the system，If it is only temporarily effective for other computers with this problem, recommended to try Nolsp.exe. I can't reproduce this problem now.

Thanks. This solved my problem.

@OneBlue You said Winsock reminds me. I think I already know where the problem is， This question originated from #4177 This is why this problem only appears for non-English speaking users, because we need proxy.🥲
Cause of problem
I used Nolsp.exe to solve the issue #4177 ，and about Nolsp.exe see #4177 (comment) This issue may have re-triggered when I installed "Windows Subsystem for Linux Preview" from Microsoft Store.
The solution
Open an administrative command prompt or powershell，run
netsh winsock reset

For me, this has solved the problem and it still works after restarting the system，If it is only temporarily effective for other computers with this problem, recommended to try Nolsp.exe. I can't reproduce this problem now.

If anyone is here because Proxifier automatically configured Winsock for you, this is the solution that reverts the changes that Proxifier made.

This problem still exists

Well, while the problem still exists, the solution works. I recently add an "Easy Connect VPN"，and may be its port conflicts.


errors when I use "make -j"

![image](https://user-images.githubusercontent.com/82691272/160127741-4b05670a-3323-4c31-b5de-a75c5cf38de8.p

Hi, thank you for your reading, when I type "make -j”, some errors occurs

Thanks for your reply. I have solved this problem, then I was doing step 2 , The error occurs when I have percepNet_run, but don't have nnet_data.cpp. So this error does not affect subsequent steps.


OPT2018: Update alignment json serializer

Description
There is an existing JSON serializer for the pecha.org website, but a few updates are needed

Include book category information in the JSON file.
Combine versions and translations into a single JSON file.
Add source and target aspects to the commentary when converting it to a JSON format.

Important Notes:

For book titles, include the language name at the end, such as "Book Title[fr]" for French, except for Tibetan and English.
Include the book's metadata in the last category along with the book details. This category will be used for mapping with commentaries.
In versions and translations, the Tibetan root text and version should be placed in the target, while all other translations and versions should be in the source.
Each commentary should be in a separate JSON file. The content should be in the target, while the source should contain details of the root text, but the content should remain empty.

Expected Output
Input
Root json output
Commentary json output
Implementation Steps

[ ] script to get book's category
[x] build alignment framework
[x] develop translation serializer
[x] develop commentary serializer

@tenzin3 all above details looks good for me except Combine versions and translations into a single JSON file.
As we discuss before we need to keep version and translation text in seperate json file.

This card tasks has been completed in different cards.
Script to get the book category would be made in a new card.


[WIP] Use osa/run-playbooks in rpc deploy script

Reduce duplication by making use of osa/run-playbooks in rpc/deploy.
Related: #691

recheck - failed on cirros image not becoming active

recheck stuck on ssh to horizon container

recheck

recheck failed on join rabbit cluster

recheck failed on image not active

image not active failures were due to lack of swift :see_no_evil:

recheck - failed on syntax error in jenkins job script

recheck

recheck - curl timed out on curl http://<IP_ADDRESS>/latest/meta-data/public-ipv4


Expose/Add RegularExpressions.Regex.Replace

Hello,
I saw there is method called IsMatch in the Codeunit 10.
Can you also expose or add in Replace method in Codeunt 10?
The method will be,
Replace(string input, string pattern, string replacement) : Text  // Ignore case sensitive by default
Thanks,

We've already exposed two functions in COD10:
RegexReplace@55(Input@1000 : Text;Pattern@1001 : Text;Replacement@1002 : Text) : Text;
RegexReplaceIgnoreCase@52(Input@1000 : Text;Pattern@1001 : Text;Replacement@1002 : Text) : Text;
Those should meet your needs :) If not, please reopen issue.


Implement Container V2 for std::unordered_set

Summary
First take at implementing Container V2 for std::unordered_set. This PR can be duplicated for other unordered containers.
The computation for the size of the overhead needs to be carefully reviewed using a verbose allocator to log the actual size of buckets and nodes. See https://godbolt.org/z/5P3frrvYh
Closes #302.
Test plan
$ build/test/integration/integration_test_runner --gtest_filter='OilIntegration.std_unordered_set_custom_operator_a' --verbose

Codecov Report

Merging #329 (b5fdb25) into main (1459433) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #329   +/-   ##
=======================================
  Coverage   68.02%   68.02%
=======================================
  Files         114      114
  Lines       11072    11072
  Branches     1853     1853
=======================================
  Hits         7532     7532
  Misses       2578     2578
  Partials      962      962

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


samples: add Video Stitcher samples and tests

Please enable the API in the test project
b:202972981
Part 1 of 4: Slates (see https://cloud.google.com/video-stitcher/docs/how-to/managing-slates)

The API has been enabled for our test project


readall: allow readall-ing multiple taps at once

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Current behavior:
$ brew readall homebrew/core homebrew/dev-tools

processes homebrew/core only
This PR "improves" readall's behavior so that all specified taps are processed

Thanks again @maxim-belkin!


TypeError: Cannot read properties of undefined (reading 'length')

Hi, firstly great work. I am trying to use sample usage 5 (multiple language) on js for a very simple short json. It gives me an error:

Translation error: TypeError: Cannot read properties of undefined (reading 'length')  at _callee$ (translate/node_modules/@parvineyvazov/json-translator/dist/json-translator.cjs.development.js:513:36).

I fixed the issue by adding a ? to the given line
 if (!(global.proxyList?.length > 0 && global.proxyIndex != -1)) {.
But  couldn't understand why global.proxylist is undefined. Any recommendations on how to proceed? Thanks

Hi @emres8 , Thank you for your comment.
First I would like to ask, are you using a proxy or the default one (without any proxy)?

default one

I am using the default one (without any proxy), should I use one?

Hi again @emres8 , I just released a new patch version v1.4.1 to fix this issue. Can you please try now?


PyPI release 1.1

Includes PR #10 which installs pyserial dependency on install.

This is the version that I have just pushed up to PyPI: https://pypi.org/project/oatmeal/1.1/


Write out more explicit steps for cutting a release

@brettcannon a unit test is failing, that's been fixed in another PR awaiting merge (removed, as its unnecessary)


MatDrawer: Have to tap list-item in sidenav twice on mobile when opened with HammerJS gesture

I have a material sidenav in my web-app which I can also open with the HammerJS swipe-right gesture. However, when openend with the gesture, I have to tap twice on a list-item in the sidenav to perform the attached action (click, routerLink).
Reproduction
I tried to reproduce this problem on stackblitz with a similar setup, but for some reasons it seems to work in the stackblitz.
Stackblitz
But maybe someone has a similar setup and experienced the same problem.
Steps to reproduce:

Import MatDrawerModule
Import HammerJS
Create mat-sidenav
Attach swipe-right gesture to mat-sidenav-content
Swipe the mat-sidenav open and tap on a list-item with a click-event or routerLink

Expected Behavior
Performing the action on the list-item with a single tap, even when the sidenav is opened through gestures
Actual Behavior
Having to tap twice on the list-item to perform the attached event
Environment

Angular: 10.0.1
CDK/Material: 10.0.0
Browser(s): Chrome, Chrome-Android
Operating System (e.g. Windows, macOS, Ubuntu): Windows, Android

This problem occurs on Android phones with Chrome as well as on Chrome for Windows when simulating phone behaviour in the developer tools.

I wasn't able to reproduce it on an iOS device, but the fact that it doesn't fail for you on Stackblitz makes me think that there might be something else (CSS or JS) in your app that's interfering with it. The problem also sounds like it could be an issue with sticky :hover or :focus styling. Does it happen if you replace the mat-list-item instances with plain a tags? Another possibility is that the styles which are set by Hammer.js could be messing with it.

It never happens when I open the sidenav with the menu-button, only when I open it with a gesture from HammerJs.
I updated the stackblitz (link) and managed to reproduce it.

Open the application url of the stackblitz with Chrome (link)
Open developer tools (F12)
Enable responsive mode (see image below)

Swipe to the right and select an item after the sidenav is opened
Repeat multiple times until there is no console output and the sidenav doesn´t close

Can't repro on my desktop. I tried swiping right 20 times.
macos version 12.1 (21C52)
chrome Version 97.0.4692.71 (Official Build) (x86_64)
I also tried on my phone but the demo never loads.
iPhone SE (1st gen)
iOS 15.2

Closing as we have been unable to reproduce this and there has been no follow-up since Jan 7


Tweaks to conform to Shipengine-API simengine implementation

We adjust the test suite for the validate_address RPC call to conform to the new Simengine implementation. I've commented inline for each change. All of these changes are fair game for discussion, so please let me know!

@JamesMessinger Latest changes based on your feedback. https://github.com/ShipEngine/shipengine-js/pull/117/commits/704c2dc56aa13dc09e1f489a8ce82211842d365e Thanks!


[e2e]: generic workflow_dispatch main large-subjects slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/11511128880
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.large-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.large-subjects.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Fri Oct 25 03:10:07 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/11528362467
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.large-subjects.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.large-subjects.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sat Oct 26 03:07:33 UTC 2024
Tests are passing now. Closing this issue.


doc: fix one typo in README_cn.md

PR types

Others
PR changes

Docs
Description

fix one typo in README_cn.md
Python百余被 -》 Python百余倍

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.