Underscores - the source of all evil when used, but should work out of the box.

We have a customer openapi.json which we query at runtime to generate our bindings.
In our case we are getting duplicate classes, due to the standard implementation using the underscore as separator, and only giving back the last chunk, which is obviously bad.
Example: https://github.com/RicoSuter/NSwag/blob/master/src/NSwag.CodeGeneration/OperationNameGenerators/MultipleClientsFromOperationIdOperationNameGenerator.cs#L108
This also applies to
#4178 #3450 #1749 #596
Neither we, nor the customer can change those definition file. Manually iterating the definition for replacement is also a huge pain, as we never know where stuff is referenced. And even if we manage to find all references, we cannot rely on removing the underscore, as this might actually generate duplicate identifiers.

Having an underscore in an OperationId should work.
Having an underscore in a schema name should also work.

I would suggest using "/" as separator char, as it is invalid anyway, but an "_" underscore is very likely to occur.

@IceReaper I also ran into this issue and found that there's more than one OperationGenerationMode:

The default one is MultipleClientsFromOperationId so it might work for you to choose any of the other generation modes.
You can specify it via the CLI like this: /OperationGenerationMode:SingleClientFromPathSegments or /OperationGenerationMode:[OperationGenerationMode]

Thank you!
Same issue here when I was trying to generate a client for the jira REST api using Visual Studio's "Connected Services" functionality to "Add a new service seference". To fix it, I added the following in the "Additional code  generation options":
/OperationGenerationMode:SingleClientFromPathSegments
As a result, the .csproj included the Options section in its OpenApiReference element:
  <ItemGroup>
    <OpenApiReference Include="..\JiraSwaggerV3.json" CodeGenerator="NSwagCSharp" Namespace="JiraReleaseMetrics.OpenAPIs" ClassName="JiraRestClientV3" Link="OpenAPIs\JiraSwaggerV3.json" Options="/OperationGenerationMode:SingleClientFromPathSegments" />
  </ItemGroup>


Promise to callback

Fixes #5
only added  "promise-to-callback": "^1.0.0" to deps but npm automatically sorted the devDeps

Coverage remained the same at 100.0% when pulling 104c438187d024621fb34426c0b3f3c6b2bd1e55 on kumavis:promise-to-callback into 30f78395bcf06277dd03de64af1167e45f10950d on ethjs:master.


[7.10] Update default timeout

Description

Changed timeout to 300000
Resize the page on second visit to take screenshot

Issues Resolved

Puppeteer full page not working.

Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #498 (7ae348b) into aes-7.10-Aug-patch (bebf87b) will decrease coverage by 8.98%.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             aes-7.10-Aug-patch     #498      +/-   ##
========================================================
- Coverage                 62.26%   53.28%   -8.99%
  Complexity                  291      291
========================================================
  Files                       100       68      -32
  Lines                      4137     2239    -1898
  Branches                    636      258     -378
========================================================
- Hits                       2576     1193    -1383
+ Misses                     1401      890     -511
+ Partials                    160      156       -4

Flag
Coverage Δ

Kibana-reports
?

reports-scheduler
53.28% <ø> (ø)

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

Impacted Files
Coverage Δ

...r/routes/utils/visual_report/visualReportHelper.ts

...itions/report_trigger/report_trigger_constants.tsx

kibana-reports/server/model/backendModel.ts

...rt_definitions/report_settings/report_settings.tsx

...bana-reports/public/components/main/main_utils.tsx

kibana-reports/public/components/utils/utils.tsx

...a-reports/public/components/main/reports_table.tsx

...report_definitions/delivery/delivery_constants.tsx

...a-reports/server/routes/utils/dataReportHelpers.ts

...ions/report_settings/report_settings_constants.tsx

... and 22 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

do you need to change pdf timeout?

Timeout increase was needed for loading the page. We don't need to change pdf timeout.


update deps

Description
Just updates some deps so we don't fall behind.
resolves #28 - takes tremor up to 1.8.1 (latest)

Resolved in #33


anyway that this code can generate taproot p2rtaddress that start with bc1p?

anyway that this code can generate taproot p2rtaddress that start with bc1p? Thanks

Example https://github.com/karask/python-bitcoin-utils/blob/master/examples/hd_keys.py  shows how you can create a segwit v1 (or taproot) address.


Add action for closing all unfocused panes

This PR introduces a new action for closing all unfocused / other panes within a tab.
The functionality for closing read-only panes is similar to closing a single pane (pop-up confirmation). It is also possible to restore a pane that was closed by this action.
Note: animations for closing panes are (currently) omitted when this action is used.

Validation Steps Performed
The action was manually tested by applying it to various 'compositions' of panes. This includes tests on read-only panes.
Closes #12216

Is it desired to play the closing animation when this action is being used?

Is it desired to play the closing animation when this action is being used?

That might be cool, but I suspect that's Hard, so if you wanna do this without the animation at first, I'd be all for that ☺ We can always add the animations back in post, if we figure out it's possible.

if you wanna do this without the animation at first

Yes, that is the current state of the PR 😉. I'm not sure what would be a good way to perform the closing animation sequentially when multiple panes are being closed. My current guess would be to trigger the removal of the next pane after the animation of the previous pane is finished

Thank you for reviewing @carlos-zamora. To answer your questions:

For read-only panes, you say it's similar to closing a single pane. So like, when you invoke the closeOtherPanes action, you immediately get the pop-up for all of them? Or do you get the pop-up when it tries to delete the read-only pane? I'm wondering if the expected behavior might be to skip over read-only panes?

The pop-up is only shown when trying to close the pane, not immediately after invoking the action. Skipping read-only panes might be a good solution, but you should probably let the user know why some panes were not closed (for clarity).

For animations, this respects the "Pane animations" setting in Settings UI > Appearance right?

Yes, that setting is respected because the existing closing animation that performs the check is reused.

Nice! I'm gonna add the Needs-Discussion tag just to discuss the read-only panes thing with the team at Monday's meeting. Want to make sure we have behavior we're comfortable with. 😊 Other than that, this PR is looking great! Thank you so much for doing this!

I dunno if this really needs discussion - this seems like it makes sense to me

Hey so we finally had team discussion today - consensus was that we've had enough issues in the past of context dialogs popping in the middle of something happening. We should just blanket skip all read-only panes, to just avoid the issue entirely. This sound good to you/?

Hey, thanks for discussing this internally. Changing the behaviour for read-only panes sounds good to me and I will make sure to change it before the end of this week.


New checksum version for CRABCache

We've made a small change in the checksum function in crab as a result of a tarball being recycled too often.
Issue here: https://github.com/dmwm/CRABServer/issues/5153.
1.0.16_crab PR here: https://github.com/dmwm/WMCore/pull/6954

I don't really know if it can badly affect WMAgent, but I trust you did the right thing :)

@emaszs @mmascher 1.0.18.pre3 tagged


Feature/svm

 SVM-based fitness function

 Couple GA & and SVM

Solution is missing your Experiments section. I am fixing this right now on a separate branch.


Make the right hand Markdown Table of Contents sticky

Summary
Make the Right TOC menu for markdown documents sticky so that it is always shown when users scroll down large articles.

Motivation
I feel that this feature is core to this project as it :

enhances consistency across the UI by making menus sticky across the board.
since the screen real estate is lost by it's allocation to the right side TOC, this feature would insure that this area of the screen is always populated/functional and not shown as white space.

Drawbacks
No drawbacks are perceived.

Closing as this is already a feature of the theme.
Please search/review the theme's documentation before requesting features.
https://mmistakes.github.io/minimal-mistakes/layout-table-of-contents-sticky/


Update Kubelet Configuration link to refer to stable v1 release in Configuring a cgroup driver page

The introductory paragraph of the english documentation for "Configuring a cgroup driver" discusses differences between kubelet's systemd and cgroupfs driver usage in the context of kubeadm. Here is an outdated reference to an older beta version of the "Kubelet Configuration" documentation (kubelet-config.v1beta1). Shouldn't we point to the current documentation for the stable v1 release (kubelet-config.v1)?

Page related to issue: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/configure-cgroup-driver
/language en

/retitle Update Kubelet Configuration link to refer to stable v1 release in Configuring a cgroup driver page

the page in question shows v1, which exists as an api but is not a full component config api.
https://kubernetes.io/docs/reference/config-api/kubelet-config.v1/
https://github.com/kubernetes/kubelet/blob/master/config/v1/types.go
we need to understand what to do with this.
@tengqm
/sig node

@ndixita
i see you worked on the kubelet v1, is this a wip api that should not be used by users yet? it has missing fields / structs from v1beta1.
https://github.com/kubernetes/kubernetes/commits/master/staging/src/k8s.io/kubelet/config/v1

The PR for this issue was closed (#41588).
I shouldn't have commented on the PR. This issue is the right place for it. Can anyone shed some light on it, please?

https://github.com/kubernetes/website/pull/41588#issuecomment-1588291086
TL;DR v1 is still WIP and should not be linked to.
/close


build on arm 32 bits

there's no binary release for arch armv7l (raspberry pi 3) 32bit
I don't know how to build it (from raspbian).
I dont want to think that bazelisk uses bazel for building itself, does it? if so, isn't it sort of a circular dependency as long as bazelisk is in charge to download and install bazel?
Thanks

You can build it with go build, too.


[DOC] Adding make clean to contributing guide

Adding information about how and when to clean up your doc building folders using make clean, as discussed with @drammock.

https://output.circle-artifacts.com/output/job/150db16b-fa07-405a-95db-939bf275292a/artifacts/0/dev/install/contributing.html looks good, thanks @britta-wstnr !


Consistency Issue

I have problem with MS SQL Always On Availability. Suppose the connection between primary and secondary replica is broken. The client inserts data to the primary database (replication cannot be done because of disconnection) that committed. Then the connection between client and primary database is disconnected. Now the client should be connected to the secondary database but it has not the last inserted data by the client. How does this problem can be solved?

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

ID: 1c5b4585-159a-6472-140f-8e9439222ab7
Version Independent ID: 03a14cb4-5589-1156-5a4e-938665968ebb
Content: Overview of Always On Availability Groups - SQL Server Always On
Content Source: docs/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server.md
Product: sql
Technology: high-availability
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @ma17961363 , thanks for contacting Microsoft! I'm not sure I understand the scenario you're describing. If the connection is broken between the primary and secondary replica, then how is the client connecting to the secondary replica?
Thanks!
Masha from the SQL Docs team

Hi @MashaMSFT, thanks for the reply. In the mentioned scenario, it is supposed the connection problem is between primary and secondary not secondary and client.

Hi @ma17961363 , just to make sure I understand correctly..

The secondary replica disconnected, meaning that changes from the primary did not make it over to the secondary
The connection between the two replicas was fixed
The client is manually connecting to the secondary replica expecting changes from the primary to be on the secondary, but the secondary has not yet caught up

Is that correct?
Thanks!
Masha from the SQL Docs team

Hi @MashaMSFT, yes exactly but I supposed there is one replica (secondary) server.

The primary has a connection problem with the replica.
The primary and client do not have any problem to reach each other.
The primary has got a connection problem now and the client no longer can connect to it.
The client is manually connecting to the replica (secondary server) expecting changes from the primary to be on the secondary, but the secondary has not yet caught up.

Thank you.

Hi @ma17961363 , thank you for patience as I researched this for you!
This is an expected limitation of the availability group infrastructure. If there is a disconnection between the primary and secondary replica, then changes will not propagate, and therefore data will not be synchronized. This is documented here: https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/active-secondaries-readable-secondary-replicas-always-on-availability-groups?view=sql-server-2017#DataLatency  and here: https://docs.microsoft.com/en-us/sql/database-engine/availability-groups/windows/availability-modes-always-on-availability-groups?view=sql-server-2017#SyncCommitAvMode
Unfortunately, we cannot guarantee data accuracy on the secondary replica until there is a healthy connection between the two replicas, and even then, there may be a slight discrepancy between the visible data on the primary and the secondary, depending on network latency and the speed of the redo thread on the secondary replica. Just because a change has been hardened on the secondary replica (which is what's necessary for the commit to go through on the primary), it doesn't mean that change has been redone yet, so that's where you might see that delay.
I hope that helps and please let me know if we can be of further assistance? If not, I will proceed with closing out this Git Issue in a few business days.
Thanks!
Masha from the SQL Docs team

Thanks @MashaMSFT. It helped completely.


Add support for compose V2

Is your feature request related to a problem? Please describe.
Adding support for compose V2 would open more possibilities through the docker-compose.yml file. For example I wanted to set up a webhook for a stack so that I automatically updated the image when it was built remotely. This would be possible through the "pull_policy" element in compose V2.
Describe the solution you'd like
Allowing user to choose compose V2, or default to it, as it has backwards compatibility. This would involve downloading a different binary, and/or running the compose-switch binary for backwards compatibility.
Describe alternatives you've considered
Allowing users to customize commands when creating/updating stacks
Additional context
More info about compose V2 here Compose V2

We are planning on doing (our internal ref.: EE-2096) - likely in 2.15.

Actually, it will likely be 2.14, i.e. sooner!

@jamest-portainer Thats great! Thanks for the fast response. Is there a timeline for 2.14 release?

@AndersFelde, all being well, end of June.

Would you mind confirming what docker-compose version is used in portainer 2.11.1 - it affects what configuration options are available in the compose.yml and I can't see anything in the docs... thanks!

@richp10 You can determine the version from this file: build/download_docker_compose_binary.sh

@richp10 You can determine the version from this file: build/download_docker_compose_binary.sh

I thought that - but this does not contain the version, it appears to be passed to that file as a param!

Got it - thanks - portainer website shows examples of composer.yml files with version: '3' at the top - which I believe refers to the docker-compose version so it was a bit confusing.
It seems next version will be version 2 which will be a big improvement!  Thanks again.

Closing - we introduced docker compose v2 in 2.14.
Following this there's also a small fix for particular use cases that is in 2.14.1, which will be released imminently.


Fix & speedup of database build process | Update docker containers

The following changes are made to the build process of the database (in python):

The fuzzywuzzy-package is replaced with the much faster levenshtein-package (Speedup ~1.5 hour).
The minimum python version is bumped to 3.8 (due to the levenshtein-package).
The build-in os-module is replaced with the modern built-in pathlib-module. This cleans up the handling of file paths in the all scripts.
Major speed improvements were gained by getting rid of most pandas.concat- and pandas.append-calls. This also removes/future-proofs against the deprecation warning of pandas.append. The speed-up at least ~2 hours.
The suggested workaround is added to fix the fatal error. Closes #138 .
The script which is responsible for parsing Wikipedia for the members of the government is fixed.
A minimalistic progress-bar was added to view the progress of the build, as suggested here. A more refined version could be added.
Closes #141 . Added the AfD party for now. It remains to be seen if this sufficient.
Closes #142 . Added the SPD, GRÜNE and FPD as governing parties of the 20th term.

The docker-files are changed minimally to switch to node-14 and PostgreSQL-14.

There are still some bugs in the build, and I'll also fix #141 and #142, but it would still be nice if someone could explain to me why the database cannot be properly initialized with the yarn command anymore.

Thank you for the PR, it is very much appreciated! :)
I have reserved my working day on monday to work on Open Discourse. I'll try to get the database scripts working again, take a look at your PR and will also do a small refactoring of the setup (Makefile, pyproject.toml, linting, formatting, etc.). That should be a small step in the right direction to improve this (currently) terrible code base :D

I'll continue working here on Friday or next week. Sorry, no time before...

@insalt-glitch No worries, take your time :)
Thank you so much for your work

Okay, the branch is up-to-date with main now. All the things you commented on in review should be fixed. In my opinion, it would be nice to have a linter like pylint with a settings file in the CI such that everyone is on the same page about the code style in this library.
Furthermore, I have noticed that the access of pandas-DataFrame columns is inconsistent in this project. You can find both df_name.col_name and df_name["col_name"]. In my opinion, the second option is to be preferred at all times since the dot-notation may collide with methods on the DataFrame itself, e.g. there could be a column named mean but there is a method is with the same name.

@insalt-glitch Great, thanks! :)

In my opinion, it would be nice to have a linter like pylint with a settings file in the CI such that everyone is on the same page about the code style in this library.

I agree that we definetly need a linter. I have already setup a linter and formatter (ruff) in the refactoring branch which I will update and merge after this PR is completed.

You can find both df_name.col_name and df_name["col_name"]. In my opinion, the second option is to be preferred at all times since the dot-notation may collide with methods on the DataFrame itself

Completely agree.

@insalt-glitch I will do a final review of the PR now. I'll get back to you with that.
Is the PR ready to be merged if there are no change requests?
Also: After the refactoring we'll release open-discourse version 2.0.0 and a new open discourse newsletter. Would you consent to us publishing your name or username, whichever you prefer?

the refactoring we'll release open-discourse version 2.0.0

Sounds good, I prefer my name.

Everything should be good now, I think.
I had to fix some things in 06_contributions/02_clean_contributions_extended.py as the indexing was wrong. Not sure how/if it worked before at all. According to pandas documentation, it was assigning to copied values.
I slightly changed 01_preprocessing/07_create_electoral_terms.py which I think improves readability. However, data format that is stored there still seems completely wild (SQL and pandas both have a type for dates).


Increase coverage for Sub's methods to 50 percent.

Adding tests for Sub type.
Something to touch later: I cannot understand the func (settings LogSettings) Copy() LogSettings. It seems to me that it returns the same LogSettings instance instead of creating a new one.

LogSettings has no pointers, maps, or slices in it and thus a copy is a copy and not linked.

LogSettings has no pointers, maps, or slices in it and thus a copy is a copy and not linked.

Hmm, that's not right with respect to prefill.

LogSettings has no pointers, maps, or slices in it and thus a copy is a copy and not linked.

Hmm, that's not right with respect to prefill.

And prefill is copied.


<EMAIL_ADDRESS>on build #108: Possible to have blur w/ this header in split view?

Feedback from<EMAIL_ADDRESS>: Possible to have blur w/ this header in split view?
CreatedMon Feb 20 2017 02:12:00 GMT+0000 (UTC)CFBundleShortVersion1.1CFBundleVersion11App uptime317.3621Build108Device typeiPad Air 2Device nameBen’s iPadScreen size1024Screen size1024px by 768pxBattery53% UnpluggedMemory free60 MB / 1586 MBDisk free9341 MB / 116397 MBNetwork IP<IP_ADDRESS>
Link to buddybuild feedback from build 108

I think this can be done, but it'll mean making a larger departure from the iPhone code base.

Okay, I think I figured out what was going on here; should be working in PR #93

blur, glorious blur (is in #93)


Build Command Library

Added the CATALOG.md file and updated the README.md file Usage section to link to the new file.

Looks pretty good! Just a few small questions/comments.

Thanks for your review...... I think I got it all as requested!

Please let me know if I need to do something else to move forward...new to this... 😊👍


✨(prefect) add local prefect base configuration

Purpose
Add prefect to our stack to run and orchestrate data pipelines.
Proposal

[x] add local development stack
[x] add first deployment
[x] add prefect.yaml configuration (for deployments)

It seems that we have cache-related issues with the CI. Will wait a bit before merging this. But all tests pass!


Validating/Modifying new input before writing it to varaible from v-model

What problem does this feature solve?
Before I say anything this might be that I am not skilled enough in vue an there is a way to do this already.
Context:
The issue I'm having is that I have a variable price (reactive object)
{ min: 0, max: 0 }
I have two range inputs that each modify those values.
Then I have two normal number inputs that display the value and allow user to modify them if the desired value is too hard to get right with just the slider.
The there is a maximum price (set by the most expensive product) and minimum price (defalult 0)
template:
<input type="number" v-model="price.max">
<input type="number" v-model="price.min">

<input type="range" min="0" max="maximum" v-model="price.max">
<input type="range" min="0" max="maximum" v-model="price.min">

script setup:
const maximum = 1000;

const price = reactive({
  min: 0,
  max: 1000
});

The problem:
First thing that I had coded was only the sliders so the user was limited by the sliders max and min properties from html
But right now when I added the number inputs the user is not limited to anything and everything breaks when they enter too large number.
The solution:
In vue we already have modifications of v-model like v-model.number="targetVar"
What I would like to see is this type of thing but user defined something like v-model.validate(functionFromScript)="targetVar"
This would call the function from script which would return either true or false and that will decide if the value is going to get changed or not.
This could also introduce another thing like v-model.modify(frunctionFromScript)="targetVar"
What this would do is that the value would get processed and modified by user defined function. It would work the same as v-model.number="targetVar" because what I assume is that .number calls the Number() constructor on the input before passing it down the code.
Conclusion:
I know there is a way to kinda do this with writable computed but from what I heard writable computed is not a good thing to use and it cannot be used as cleanly and isn't as reusable as this solution. This solution could also allow the user to stack the functions and reuse them.
This feature would be used every time you want to protect your raw data in script because you cannot assume that user would enter only valid input. Some browsers even ignore the input type for example I think that firefox allows the user to enter characters into number inputs
What does the proposed API look like?
<template>

<input type=number v-model.number.validate(rangeValidation)="validatedNumber">

</template>

<script setup>
const max = 1000;
const min = 0;

const validatedNumber = ref(0);

function rangeValidation(input) {
  if (input > max) return false;
  if (input < min) return false;
  // More test cases
  return false;
}

</script>

It seems that you want to be able to define a verification function when the v-model is updated. If the data verification fails, it will not be updated.
In my opinion, v-model on the native dom does not seem to have this ability, you can do a high-level component package to achieve your needs (https://vuejs.org/guide/components/v-model.html# handling-v-model-modifiers), in vueuse, the v-model of the component can be verified before emit (https://github.com/vueuse/vueuse/pull/2836)

That's why is it a feature request, I think you could say that you can use high level stuff about everything. The thing is (as I pointed out in the request) that vue already almost has this functionality just doesn't allow to make user defined modifiers. And I want to be able to use this without having to use components because I don't want to emit the value because it would be useless unless I was already doing it.

You could add a listener for value changes in your input, that would call the validate function and update your data. Then you could bind your input to your variable. Basically skip v-model (two way binding) and use v-bind (one way bind) instead, with a listener.

@tho-daskalakis That would get messy with multiple validators or modifiers. I'm not looking for alternative ways to do this. You could say we don't need router as we could do v-if on every page and then have a variable which determined on which page are we. I'm requesting it because it already is vue it just cannot be made custom.

You should be having different validators for different inputs anyways. In your requested feature, you would be using multiple validators as well. The example you mentioned with vue-router vs v-if is not accurate, as in vue-router you have extra functionality, like lazy loading.
If you are concerned about a component becoming too complex and bloated, why not break it up to different input components, each one with their own validators? I see this would be a different way of writing a single directive v-model.validate.validateValue="value" instead of two different ones :value="value" @input="validateValue", but the functionality is already there, and the proposed feature doesn't seem to reduce complexity imo.

First of all how do you want to break up one input into multiple ones that's my first question.
And right now this would make it more readable. Right now if you would like to chain those validation methods you would have to make functions that call each other and the last would change the value. With my solution you would just define function that would return either true or false depending if the input passed the validation, or modify the value if it is a modifier not validator.
This would introduce opportunity for libraries with validating functions that you could just import and use in the template.


Add .NET 5.0 to Report Frameworks list.

I was hoping that it was selectable for those who wants an early crack at .NET 5.0.

@AraHaan Thanks for your feedback. We are working on it.

.NET 5.0 is available


Android engine test flaking on failure to fetch dependencies

Feature: Migrate gradle to use --offline mode to not download dependencies dynamically during CI.
In https://ci.chromium.org/ui/p/flutter/builders/prod/Linux Android Debug Engine/20211/overview
ERROR: Failed to fetch maven artifact org.robolectric:android-all-instrumented:4.2.2_r1.2-robolectric-r1-i3

This flake is causing Android build/test times on CI to increase by several minutes due to automatic re-tries.

We should not be fetching dependencies as part of our CI. I am not familiar with this code but it is something my team can make sure gets fixed.
io.flutter.plugin.localization.LocalizationPluginTest > computePlatformResolvedLocale_selectOnlyLanguageLocale_beforeAndroidN[17] STANDARD_ERROR
    ERROR: Failed to fetch maven artifact org.robolectric:android-all-instrumented:4.2.2_r1.2-robolectric-r1-i3
    java.util.concurrent.ExecutionException: javax.net.ssl.SSLProtocolException: Connection reset
    	at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:552)
    	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:533)
    	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:90)
    	at org.robolectric.internal.dependency.MavenArtifactFetcher.fetchArtifact(MavenArtifactFetcher.java:97)
    	at org.robolectric.internal.dependency.MavenDependencyResolver.lambda$getLocalArtifactUrls$0(MavenDependencyResolver.java:80)
    	at org.robolectric.internal.dependency.MavenDependencyResolver.whileLocked(MavenDependencyResolver.java:100)
    	at org.robolectric.internal.dependency.MavenDependencyResolver.getLocalArtifactUrls(MavenDependencyResolver.java:75)
    	at org.robolectric.internal.dependency.MavenDependencyResolver.getLocalArtifactUrls(MavenDependencyResolver.java:65)
    	at org.robolectric.internal.dependency.MavenDependencyResolver.getLocalArtifactUrl(MavenDependencyResolver.java:116)

Links and resources that might be helpful
I think this is the test that failed. https://github.com/flutter/engine/blob/main/shell/platform/android/test/io/flutter/plugin/localization/LocalizationPluginTest.java
Luci python file https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/engine/engine.py
Command that failed to find any mention of localization plugin testing in recipe repo ❯ find . -type f  -exec grep 'LocalizationPluginTest' {} \;

Main entry point for engine tests:
https://github.com/flutter/engine/blob/main/testing/run_tests.py
What I think is the most recent version of the dependencies that are available locally
https://chrome-infra-packages.appspot.com/p/flutter/android/robolectric_bundle/+/
Pull request that migrated android to the current dependency support.
https://github.com/flutter/engine/pull/17116

Current theory android-all-instrumented-4.2.2_r1.2-robolectric-r1-i4.jar is not included in the CIPD cash so gradle is downloading the dependency dynamically. I am working with @ricardoamador to try to prove that if CIPD has an update jar this issue is resolved.
Also note that gradle has an offline mode that will make our tests fail if we do not add the dependency to cipd. We might consider enabling it to see what breaks.
https://docs.gradle.org/current/userguide/dynamic_versions.html#sec:controlling_dependency_caching_command_line

PR to use offline mode
https://github.com/flutter/engine/pull/39465
Failed build
https://ci.chromium.org/ui/p/flutter/builders/try/Linux Android Debug Engine/48013/overview

cipd create -pkg-def=somefile.yaml
Where somefile.yaml has the contents below from a directory that is the current contents of https://chrome-infra-packages.appspot.com/p/flutter/android/robolectric_bundle/+/ with any additional jars that need to be included in a folder named lib
package: flutter/android/robolectric_bundle
description: Dependencies for robolectric android testing
data:
    - dir: lib

CIPD has been update with a robolectric package but I am not sure if that will solve the initial flake on its own.

Another relevant link https://cs.opensource.google/flutter/engine/+/main:DEPS;l=662

We can check in instructions for updating CIPD bundles here https://github.com/flutter/engine/tree/main/tools/cipd

Met with @christopherfujino here are the notes from our meeting.

DEPS files are for built dependencies and CIPD is for prebuilt dependencies, ci.yaml is for dependencies that are part of your source (not sure I follow this)
I am not missing lots of information, finding dependencies is actually this hard and it is not surprising that I have spent hours looking for where dependencies come from.
Chris says "we agree that we don't want to download things during builds but we do because dependency management is so difficult"
We looked through the builds and didn't see anyplace where roboletric is downloaded. 3 Ideas for what could be happening. 1. we missed it, and one of these steps explicitly download robolectric 2. robolectric was already on the bot before the build started

one of these steps was implicitly fetching robolectric

go/luci-users-chat might be a good place to ask if there is a way to see if a build is using a package.
Our best guess is that that the CIPD update we did last week is not affecting the current builds.

Another place dependencies are defined is in the docker image used in ci.
Defined here https://github.com/flutter/flutter/blame/master/dev/ci/docker_linux/Dockerfile

https://github.com/flutter/flutter/issues/121233#issuecomment-1450644236 is another instance of reaching out to the network.

https://github.com/flutter/flutter/issues/121711 another instance

A solution for gradle can probably be broken apart from from the rest of the way dependencies are cached.
We can follow the instructions here to host the gradle files in the correct directory. Then we can modify the dockerfile to have the versions of gradle we depend on (it is a lot).

@gmackall and I paired on this and he will be taking it over.
TLDR the think to know about lockfiles appears to be to cd one level above the build.gradle that needs locks generated then to run echo <FOLDER> | dart run  <FLUTTER_HOME>/dev/tools/bin/generate_gradle_lockfiles.dart
This will generate multiple lockfiles but at least for the correct build.gradle file.
Note that this tool appears to work on gradle 7.3.3 and above.

related #125232

https://maven.apache.org/guides/mini/guide-mirror-settings.html

Could potentially run ./gradlew dependencies as an infra step before to download dependencies

Could potentially run ./gradlew dependencies as an infra step before to download dependencies https://stackoverflow.com/questions/50183848/gradle-task-to-only-download-maven-dependencies/50219857#50219857

That sounds promising. It would also allow scoping retries down to the infra step by itself.

Found a team at google that offer a maven proxy that might solve this for us without needed to standup our own server. Will update with the result of that conversation.

Pr to try to move dependency download to infra step
https://flutter-review.googlesource.com/c/recipes/+/45320

That pr is an example of what to do. Looking at the original report I also need to modify the engine/engine recipe

After Digging into the recipes/engine/engine.py and recipes/devicelab/devicelab_drone.py I could not figure out where android tests were specifically happening. Nor did I see a setup state that could be modified per project.

It sounds like the question is how to add an infra step like in https://flutter-review.googlesource.com/c/recipes/+/45320 to the engine v2 android build configs like in https://github.com/flutter/engine/blob/main/ci/builders/linux_android_debug_engine.json.
I think @godofredoc would know whether that's possible with engine v2.

FWIW I would be happy to pair with someone on infra or engine if we wanted to tackle this together.

@godofredoc is OOO, but maybe @keyonghan knows if it's possible to add something like https://flutter-review.googlesource.com/c/recipes/+/45320 as an optional step to an engine v2 config?

We can put the gradle dependency logics as a recipes module, which can then be used by any other recipes, including existing android_views.py, and to-be-added engine v2 & devicelab_drone.py.
To support as an optional operation (for engine v2), contexts seems a good fit. The above module can be encapsulated as a context, and then from builder config side, add the context if the test needs the gradle dependency.
For android_views and devicelab_drone, we can either use the same contexts property, or directly call the recipes module to add the gradle logic.

Packages now has the ability to mark steps as infra steps and a new command to download dependencies is called and marked is infra.
I need to audit framework for more instances where we do not download gradle but packages should be handled. Engine repo however (one of the cause of this bug) is not done.

This issue also affects the Flutter framework's tests. The tree closed 2+ times due to Gradle network errors:

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux tool_integration_tests_3_4/16981/overview - Exception in thread "main" java.net.SocketException: Connection reset, caused by: https://github.com/flutter/flutter/blob/6193615f90a800ff5623373137bd88ea67d5a1d2/packages/flutter_tools/test/integration.shard/android_gradle_outputs_app_link_settings_test.dart#L318-L326

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux tool_integration_tests_3_4/16954/overview - Exception in thread "main" java.net.SocketException: Connection reset, caused by https://github.com/flutter/flutter/blob/6193615f90a800ff5623373137bd88ea67d5a1d2/packages/flutter_tools/test/integration.shard/android_plugin_skip_unsupported_test.dart#L105-L109

https://ci.chromium.org/ui/p/flutter/builders/prod/Linux tool_integration_tests_3_4/16822/overview -   Could not GET 'https://repo.maven.apache.org/<omitted>.pom'. Received status code 503 from server: Backend unavailable, connection timeout, caused by https://github.com/flutter/flutter/blob/6193615f90a800ff5623373137bd88ea67d5a1d2/packages/flutter_tools/test/integration.shard/android_gradle_outputs_app_link_settings_test.dart#L318-L326
Could we make our tests more resilient to Gradle's/Maven's flakiness? Could we perhaps recognize common networking errors and retry?


ListParts does not set the continuation token correctly

What version of Gateway-ST are you using (gateway version)?

$ gateway version
5175572dcb9c5d20ea6d18cbf38af5a58b13e37c

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (uname -mrsv)?
uname -mrsv Output
$ uname -mrsv
Darwin 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:29:10 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T8101 arm64

What did you do?

I listed the object's parts with a limit.
What did you expect to see?
The next part number marker is set to the last part number in the listing.
What did you see instead?
I didn't get the next part number marker.
The problematic line: https://github.com/storj/gateway-st/blob/5175572dcb9c5d20ea6d18cbf38af5a58b13e37c/miniogw/multipart.go#L259 (but there can be more problems).

Change https://review.dev.storj.io/c/storj/gateway/+/6886 mentions this issue.


Embed multiple python interpreters

Write the main loop of the filters program in C, start multiple threads, and embed one python subinterpreter for each configured PreR. Then, for each received packet send it to each subinterpreter and let it run through different threads. This may help to scale up the monitor when it runs in computers that have multiple cores (think in embedded ARM systems that have a lot of cores).

Any update on this @raticate ?

@raticate told me that python subinterpreters share some state between them, so the GIL affects them too. So, we may need a change in the design.
Buuuut, before that, we need to test if there is a significant change by adding multiple threads to this part. The only way to do this in python (2.7+) is with multiprocessing.

After doing some experiments, we came to the conclusion that we should migrate the codebase to C. That is represented in a new repository: ratadns-fievel. I will close this issue.

.

This repo is completely deprecated.


Add Form component

This PR introduces several enhancements to the @asyncapi/studio-ui package, specifically focusing on the form components.
Changes

New Form Components: Added the following new components along with stories:

Form
Field
Dropdown
TextInput
TextArea
Fieldset

Storybook Updates: Added support for tailwinds in stories for testing the components.

Related issue(s)
Resolves #752

/au

@princerajpoot20 any other suggestions? 🙏

@Amzani can I get an review here?

@Amzani resolved failing tests. 👁

/rtm

I think @fmvilas needs to approve to get this merged, as he requested changes.

@fmvilas the changes have been made.

/rtm

/rtm


[WIP] Created an AUR package for Kapitan

Fixes issue #470
Proposed Changes
As mentioned in the #470 I created a PKGBUILD file to download the latest release archive from GitHub, build it and install it. But there is a small issue, the release archives don't include the reclass git dependency. So Kapitan doesn't compile correctly. There are 2 ways to fix this issue

Update Kapitan CI to include reclass in the release archives
Update PKGBUILD to clone reclass and inject into Kapitan before compiling

I am ok with doing it, either way, I just wanted get your feedback before preceding further

@googlebot I signed it!

Besides Adrians comments, could you also rename the packages/ARU folder to packages/AUR ? As that is the acronym for Arch User Repository?

Yeah, sorry it was a small typo

@uberspot I renamed the directory name and amended commit message of the initial commit. Do you have any idea how to test the my last commit will work or not without doing an actual release?

Hey just wanted to give a quick update, I haven't abanded this PR, it's just my computer got broken and I was unable to get it repaired yet because my country is under lockdown due COVID-19 and none of the repair shops are open. I will complete this PR as soon as I got my computer back.


types: split out SignedUrlResponse

VS code complained of duplicate local variable with the referencing to self in #1119. I think this is a little bit cleaner.

Way better, thank you!


tour: Fix typo in Thai

Context: https://go-tour-th.appspot.com/tour/flowcontrol/8
Fix "เพิ่อดูว่า" to "เพื่อดูว่า"

The translations are not maintained or controlled by the Go Project, please report the issue to the th tour translator. Closing here since we cannot change externally hosted translations.


added other 3 comparison methods

I rewrote https://github.com/Andriamanitra/clash/pull/18 because it became too messy. This way it should be easier for testing. I don't think I'll touch the dissimilar branch again, and I will delete it once the topic is sorted out.
I kept the three alternative functions for outputting the difference of clash run. The last two, using the difference crate are due to @ellnix.
I only adapted it to your previous refactoring, and also removed the abbreviation part of zipped_difference, that now returns a string.

It looks like we did some overlapping work – I've grabbed the useful parts of this pull request and added them to my branch at https://github.com/Andriamanitra/clash/tree/diff-testing


I need an offline USSD code

Description

I need an offline USSD code like 1231# that will be use to convert airtime into cash and transfer it to bank account


Allow field retrieval if not logged in

When trying to set up integration tests for plow protege/plow update, I ran into the problem that apparently on the /v1/artifact/signed-url/<cksum> route, requests without a valid token are not authorized, even for public fields.
Things to do here:

[ ] Adjust backend so that requests for fields without an Authorization header are permitted
[ ] Adjust the logic in plow_cli/src/resolve.rs to not send an Authorization header if the field to be retrieved is public

Looks like this might be doable without backend changes by using the /v1/artifact/signed-url-by-field-hash/<cksum> route.


Use standardized dependency-groups instead legacy dev-depndencies in the pyproject.toml

After PEP 735 was accepted uv started to use dependency-groups.
I advise you to remove legacy dev-depndencies and use suggested by PEP-735 dependency-groups.
The main reason is that it is needed for a packaging your python module for linux distributions.

Hi @dutyrok! Thanks for this, I'll double check it in the next few days 😊


ISIS as an underlay

Issue Type

Template creation/enhancement

Is your feature request related to a problem? Please describe.
Today, it is not possible to configure ISIS as an underlay for deploying an EVPN Fabric.
Describe the solution you'd like
The idea is to offer in the Fabric template a way to declare ISIS as an underlay - Minimum is :
router isis UNDERLAY
   net {{ RANGE }}
   is-hostname {{ hostname }}
   is-type {{ level || default "level-2" }}
   !
   redistribute connected route-map {{ loopback_RM }}
   address-family ipv4 unicast
      maximum-paths {{ number_spines | default 2}}

Describe alternatives you've considered
N/A.
Additional context
This enhancement should consider the use of iBGP as an overlay => another issue:Feature request

Merged in devel branch


Depth camera values are wrong after build.

Overview
When I play in Unity, I can subscribe to the point cloud data as I expect, but I am not getting the correct point cloud that I can subscribe to from the application after I build it.
Environment
Ubuntu 20.04
Unity 2022.3.5.f1
ROS TCP Connector: 0.7.0-preview
UnitySensors: 0.1.1
UnitySensorsROS: 0.1.1
URDF Importer: 0.5.2-preview
Capture Image

Play Mode

After Build

Thanks for the issue report.
We were not able to confirm the operation of the built application.
It is similar to when the depth value is inverted.
Could you try changing line 48 of Color2Depth.shader as follows.
float distance = length(viewPos) / _F;

@Autumn60
Thank you for your response.
I was trying i out right away, but the depth data is still wrong in the build application.
Change code

Capture image

Play Mode

After build

@DaiGuard  @Autumn60 hello, i fix it by copying this shader
https://github.com/Field-Robotics-Japan/UnitySensors/tree/master/Assets/UnitySensors/Runtime/Shaders
into my project assets,
the go to Edit -> Project Settings -> Graphics and include this shader to the always included shaders.
i suppose this shader is not linked in the script but rather using a shader.find method
cheers

This solution must be added to trouble shooting on README.
I will create PR.

I added this discussion into README trouble shooting.
Thank you @panagelak and @Autumn60 !!


[!] No podspec found for pdf_viewer_jk in Flutter/.symlinks/pdf_viewer_jk/ios

I'm getting this error when running project on iOS simulator. I tried run flutter clean but it's not working.
`
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter/engine`
-> Fetching podspec for `FlutterPluginRegistrant` from `Flutter/FlutterPluginRegistrant`
-> Fetching podspec for `contacts_service` from `Flutter/.symlinks/contacts_service/ios`
-> Fetching podspec for `device_info` from `Flutter/.symlinks/device_info/ios`
-> Fetching podspec for `fluttertoast` from `Flutter/.symlinks/fluttertoast/ios`
-> Fetching podspec for `path_provider` from `Flutter/.symlinks/path_provider/ios`
-> Fetching podspec for `path_provider_macos` from `Flutter/.symlinks/path_provider_macos/ios`
-> Fetching podspec for `pdf_viewer_jk` from `Flutter/.symlinks/pdf_viewer_jk/ios`
[!] No podspec found for `pdf_viewer_jk` in `Flutter/.symlinks/pdf_viewer_jk/ios`

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/external_sources/path_source.rb:14:in `block in fetch'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/external_sources/path_source.rb:11:in `fetch'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:901:in `fetch_external_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:880:in `block (2 levels) in fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:879:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:879:in `block in fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:878:in `fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:117:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:410:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:234:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:233:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:156:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error running pod install
Error launching application on iPhone 11 Pro Max.
`

I've done few changes.. Can you check with new version 0.0.3.. I have no access to all tools right now..

I updated to version 0.0.3. Now i getting another error:
`Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/say-something/Downloads/development/flutter/.pub-cache/hosted/pub.dartlang.org/pdf_viewer_jk-0.0.3/ios/Classes/FlutterPluginPdfViewerPlugin.m:1:9: fatal error: 'FlutterPdfViewerPlugin.h' file not found
#import "FlutterPdfViewerPlugin.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.`

Sorry, that looks like the typo in file name. Please update to version 0.0.4.

Now I can build app normally. But I getting another error when tried to reading pdf file:
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════ The following NoSuchMethodError was thrown building Expanded(flex: 1): The getter 'count' was called on null. Receiver: null Tried calling: count
I can read this pdf file well with some pdf plugin.
May be something error when try to get mumber of pages?

Can you show me your code? this looks like you are not creating the document and it is null when you call the viewer. Did you try the code from example?

When my widget init, document is null. After loaded pdf file, i call setState() to update document. Maybe this make error happen?

Now I getting Expcetion when reading file
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Exception: Error reading PDF!

This looks like the issue with your code. Or you have no access to your PDF file / or wrong path.


run.sh: create a temporary folder for Elastic Search ourselves

Fixes: https://github.com/pires/docker-elasticsearch/issues/56
Ref: https://github.com/elastic/elasticsearch/pull/27659

My pleasure :)

@Quentin-M I'm releasing this (and all your other PRs) as part of the 6.2.2 upgrade - cutting it now! Thank you so much, really appreciated.


fix(datepicker): Date picker didnot change calendar when selecting month or year from dropdown

Proposed changes
When you select a different month or year in the date picker dropdown, it does not actually change the calendar to that month or year. This PR fixes that bug. Issue #412
Screenshots (if appropriate) or codepen:
Original: https://jsfiddle.net/SeCrEt_BoY/m50y8Lq3/8/
After Fix: https://jsfiddle.net/abhigyanghosh30/odushvaz/32/
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 change).

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My commit messages follows the conventional commit format
[ ] My change requires a change to the documentation, and updated it accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Awesome, looks good to me! Thank you for your work, let's merge it in :+1:
I send you an invitation to the team. Would be cool if we bring this project forward.
Best greetings.

Awesome, looks good to me! Thank you for your work, let's merge it in 👍 I send you an invitation to the team. Would be cool if we bring this project forward. Best greetings.

Thanks! Would love to meet the team.

Hi guys, any news on when you will roll this out?

Hi guys, any idea when you will roll this out?

This will take a while. If you need urgently, you can always download the build from CI.
https://github.com/materializecss/materialize/suites/17278807484/artifacts/995887051


Home page

📝 Changed routes:

…]/[month]/[day]/[slug]
/categoria/[...slug]

(view full size)
(view full size)

/

(view full size)

Commit 59d47bd159c2c0df59bc41ffa30403d51fd99ad6 (https://ncol-next-myblo13s7-miguelantekera.vercel.app).


Flyspell stopped working

What did you expect to happen?
For Flyspell to show wrong words.
What actually happened?
Flyspell does not mark any wrong words.
Additional details:

Private config (also tested without private config).

Steps to reproduce:

Open a file with Flyspell on
Type a wrong word and save
The wrong word should be marked, but isnt

System information:

```
SYSTEM  type       gnu/linux
	config     x86_64-pc-linux-gnu
	shell      /bin/bash
	uname      Linux 5.8.0-31-generic #33-Ubuntu SMP Mon Nov 23 18:44:54 UTC 2020 x86_64
	path       (/home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/sbin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin ~/.fzf/bin ~/maps/scripts ~/.nimble/bin /usr/lib/emacs/27.1/x86_64-linux-gnu)
EMACS   dir        ~/Dropbox/emacs/emacs-files/.emacs.d/
	version    27.1
	build      set 19, 2020
	buildopts  --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --program-suffix=27 --with-modules --with-file-notification=inotify --with-mailutils --with-harfbuzz --with-json --with-x=yes --with-x-toolkit=gtk3 --with-lcms2 --with-cairo --with-xpm=yes --with-gif=yes --with-gnutls=yes --with-jpeg=yes --with-png=yes --with-tiff=yes --with-xwidgets 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs27-bifpWT/emacs27-27.1~1.git86d8d76aa3=. -fstack-protector-strong -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -no-pie'
	features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
	traits     (batch envvar-file)
DOOM    dir        ~/Dropbox/emacs/emacs-files/.doom.d/
	version    2.0.9
	build      HEAD -> develop 91ced7997 2020-12-12 13:49:05 -0500
	elc-files  1
	modules    (:completion company (ivy +prescient +childframe) :ui deft doom modeline ophints (popup +defaults) :editor (evil +everywhere) file-templates fold lispy multiple-cursors word-wrap :emacs (dired +ranger) electric undo vc :term term vterm :checkers syntax (spell +flyspell) :tools (eval +overlay) (lookup +dictionary +offline) :lang emacs-lisp markdown (org +pomodoro +roam +journal) (racket +xp) sh :config (default +bindings +smartparens))
	packages   ((cycle-buffer :recipe (:local-repo /home/jones/.doom.d/lisp/cycle-buffer)) (targets :recipe (:local-repo /home/jones/.doom.d/lisp/targets)) (typo) (olivetti) (eyebrowse) (caps-lock) (super-save) (engine-mode) (hl-sentence) (lorem-ipsum) (org-web-tools) (better-jumper) (google-translate) (electric-operator) (yasnippet-snippets) (git-auto-commit-mode) (evil-better-visual-line) (aggressive-fill-paragraph) (clipmon :disable t) (elmacro :disable t) (pabbrev :disable t) (evil-lion :disable t) (poet-theme :disable t) (evil-snipe :disable t) (kaolin-themes :disable t) (dracula-theme :disable t) (badwolf-theme :disable t) (fountain-mode :disable t) (url-shortener :disable t))
	unpin      (n/a)
	elpa       (n/a)
```

Cannot reproduce this and have no other leads to go on.

Recently I noticed I had to set (setq ispell-dictionary "en") in my config.el (at top level, not in any (after! ...) block). Previously the value was "english" and that worked for years, but recently it stopped with some ispell or flyspell error complaining about insufficient aspell dictionary files in /usr/lib/aspell-0.60/. "english" is some kind of aspell alias to  "en". aspell wasn't changed on my system since April, so the issue must be in emacs. But I am using native-comp and flyspell is built-in package, so maybe this issue is out of scope for the doom.

Dupe of #4407 ?

Can you @mrbig033 look at echo messages area (view-echo-area-messages on SPC h e) for any errors related to this?

(setq ispell-dictionary "en") had no effect, sadly. No relevant echo area messages either.

Dupe of #4407 ?

Maybe so. I should all that this does happen on markdown mode, now that I think of.

Then this is an issue with what is run in flyspell-mode-hook. I was recently setting up emacs_anywhere and I noticed that flyspell-mode doesn't work in markdown unless I set flyspell-mode-hook to nil

Try git revert 7f99eb7a48e8e95cc3059eda7910cd6aaf7341cc in .emacs.d and see if it fixes the issue.

reverting 7f99eb7a didn't helped but removing flyspell-lazy-load from hook did
(remove-hook 'flyspell-mode-hook #'flyspell-lazy-load)

Please update and see if fc955fa and/or 2e61fbb fixed your issue.


Update link (rooms-deploy.md)

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9533.

Learn Build status updates of commit 636aeb2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/rooms/rooms-deploy.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@dstrome
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@dstrome
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Irrational to Rational Converter

Enter calculator name -
Irrational to Rational Converter
Describe calculator functionality -
The Irrational to Rational Converter takes the input which is irrational and converts it into a rational number of the standard form p/q .
Under which category you wish to place it -

[ ] Computer Science
[x] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[ ] Art
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Games/Sports
[x] Let project owner decide
[ ] Suggest a new category - (Answer here)

Hey! @Vedansh-Keshari I'd like to work on this can I start

Hey @rghvsh,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\mathematical\irrationalRationalConverter
Issue completion deadline - 31st Oct 11:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

@rghvsh,
Since the issue completion deadline is crossed,
Issue has been unassigned.
Kindly do not create a PR for the issue now.

@SarthakKeshari Kindly assign this issue to me.

@SarthakKeshari please assign this issue to me.


add v0.1 of surveillance.yml

First try at mapping surveillance cameras with osm-contributor
This enables mapping of fixed, panning and dome cameras with public, outdoor or indoor type and customizable optional height, angle and direction.

Thanks for the PR, just merged onto master branch ;). Should be available in OSM Contributor starting now.


Update ratatui

Additional context
https://ratatui.rs/highlights/v027/

https://github.com/ymgyt/syndicationd/commit/968c32564b6dd2882da413d88320077989464f8c


[Re-Feature] - Allow assign URL to pages without creating a new module

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[x ] 3.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[ x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
In order to assign URL to specific page a new page module is required.
Expected behavior:

Assign URLS to pages without creating a page module.
Documentation about assigning url to page, what needs to be imported in a module

Steps to reproduce:
Tried to use @IonicPage() in a page component
Related code:
In Ionic 2.3.0 I just had to specify array for links in the appmodule:
IonicModule.forRoot(MyApp, {
      locationStrategy: 'hash',
    },
    /*
      {links: [
        { component: Home, name: 'Home Page', segment: '' },
]}

Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Ionic 3.0

Hello, thanks for using Ionic! You can still use the links array and also you can use @IonicPage without having an NgModule for that page. We have a blog coming out in a few that will explain this a bit more, along with some more info on code splitting if your interested in going that route.


Use "generic test" naming style instead of "schema test"

Schema tests were renamed to generic tests - the readme and folder structures should update to reflect that.

readme headers and anchor links
body of readme (the "this schema test..." text under each test. Even better: drop that part and say something like "Assert the that two relations have the same number of rows"
folder path for the schema tests

Are you interested in contributing the fix?
Yes

Hi @joellabes, I'm interesting in taking a look at working on this issue. I see it was opened in late Jan, just confirming this is still relevant and there's no existing PR addressing this? :)

Fixed by https://github.com/dbt-labs/dbt-utils/pull/521


Removed BadRequestException when FeedOptions.maxItemCount is -1

This PR fixes the issue of SDK throwing BadRequestException when maxItemCount is less than 0.
https://github.com/Azure/azure-cosmosdb-java/issues/261

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests


Security fix for Prototype Pollution in obj-unflatten

📊 Metadata *
obj-unflatten convert flatten objects in nested ones. This package is vulnerable to Prototype Pollution.
Bounty URL: https://www.huntr.dev/bounties/1-npm-obj-unflatten
⚙ Description *
Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects.
JavaScript allows all Object attributes to be altered, including their magical attributes such as __proto__, constructor and prototype. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. Properties on the Object.prototype are then inherited by all the JavaScript objects through the prototype chain.
💻 Technical Description *
Fix implemented by not allowing to modify object prototype.
🐛 Proof of Concept (PoC) *

Create the following PoC file:

// poc.js
const unflatten = require('obj-unflatten')
console.log('Before: ' + {}.polluted)
unflatten({'__proto__.polluted': 'Prototype Polluted!'})
console.log('After: ' + {}.polluted)

Execute the following commands in the terminal:

npm i obj-unflatten # install vulnerable package
node poc.js # run the PoC

Check the output:

Before: undefined
After: Prototype Polluted!

🔥 Proof of Fix (PoF)

👍 User Acceptance Testing

I've executed unit tests.
After fix the functionality is unaffected.

Thank you for the submission @arjunshibu!
Even though your fix was first, #2 creates a nice function and .includes approach to make the code cleaner and more readable.
Nonetheless, great job and keep hunting! 🍰

Sorry arjunshibu, we enjoyed reviewing your fix but it has not been selected this time. If this bounty has not been closed, please feel free to try again with a new pull request!
We appreciate your effort and look forward to reviewing more of your fixes in the future! 🔨😎
Come join us on Discord


Feature/app ticket refactoring

Description
In this PR, I created two new tables and two new seed files for mentor intakes and mentee intakes. The table columns are basically 1:1 with the google form questions:
mentors: https://docs.google.com/forms/d/e/1FAIpQLSf2HvAhpENZs35SDG5wgXjC995p2J1lDASQzuxwZlMtcXJ8Sg/viewform
mentees: https://docs.google.com/forms/d/e/1FAIpQLSdZJopFKLRykj3to4SyXDSOoOH0rQlFy_OFS_Ejjad240OT7w/viewform
A full breakdown of these additions as well as philosophy behind the changes can be found in the loom video at the bottom of this field
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[x] I have made corresponding changes to the documentation if necessary (optional)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

https://www.loom.com/share/092ab2665624415eae93240e573a2398

Awesome jobs with the tables. Keep with the hard work.

Changed application id foreign key on mentor intake and mentee intake tables to instead reference profile id in profiles


[PageView] onPageChanged is unexpectedly called during animation with animateToPage

Steps to Reproduce
Sample app for reproducing this issue:

(source:  https://github.com/YusukeIwaki/flutter_page_view_issue_reproducing/blob/eb187aac9080cdc09893e4451a51150edab6a7d5/lib/main.dart#L67 )

Put a button for calling pageController.animateToPage(299),
Put a PageView with 300 page children and onPageCalled callback function.
Build and execute the app. Then press the button.

Expected behavior: onPageChanged is called just once after the page is scrolled to 299. (like Android ViewPager's behavior)
Observed behavior: onPageChanged is called about 100 times (or more) during scrolling before the page is set to 299.
Target Platform:
Target OS version/browser:
Devices:
I just checked with iOS 13 and Android 6.0.1.
I believe that this issue can be reproduced with any device because PageView is common widget.
Logs
No logs are output during reproducing this issue...

flutter doctor -v
 $ flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15 19A583, locale ja-JP)
    • Flutter version 1.9.1+hotfix.6 at /Users/yusuke-iwaki/dev/flutter
    • Framework revision 68587a0916 (7 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/yusuke-iwaki/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.5.1

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 6.0 (API 23) (emulator)
    • iPhone 8                  • E0F01FC9-746D-407D-B2B4-71F5D1E83F5C • ios         •
      com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)

• No issues found!

Similar issue:
PageView.onPageChanged not called for first Page
https://github.com/flutter/flutter/issues/37656

Thanks for bringing this to our attention. So it isn't called 299 times but something less?

@escamoteur  Thank you for your quick response.

So it isn't called 299 times but something less?

In my observation, onPageChanged is called with throttling.

So never called 299 times.

Workaround is like this: https://github.com/YusukeIwaki/flutter_page_view_issue_reproducing/commit/baa85b3bb1b118c6773aa109570e5f653ba018c5
_isPageViewAnimating = true // just before animation is staring.
_pageController.animateToPage(targetPage, ...).then((_) {
  _isPageViewAnimating = false; // animation is finished.

  handlePageChanged(targetPage);
})

...

         onPageChanged: (int page) {
           if (_isPageViewAnimating) return; // ignore onPageViewChanged explicitly during animation.

           handlePageChanged(page)

Same problem.
I hope i can solve this problem like: _controller.animateToPage(pageIndex, callPageChange: false)

Workaround is like this: YusukeIwaki/flutter_page_view_issue_reproducing@baa85b3
_isPageViewAnimating = true // just before animation is staring.
_pageController.animateToPage(targetPage, ...).then((_) {
  _isPageViewAnimating = false; // animation is finished.

  handlePageChanged(targetPage);
})

...

         onPageChanged: (int page) {
           if (_isPageViewAnimating) return; // ignore onPageViewChanged explicitly during animation.

           handlePageChanged(page)

Workaround is ok when starting animation from button (left or right). But what with sliding screen?

Workaround is like this: YusukeIwaki/flutter_page_view_issue_reproducing@baa85b3
_isPageViewAnimating = true // just before animation is staring.
_pageController.animateToPage(targetPage, ...).then((_) {
  _isPageViewAnimating = false; // animation is finished.

  handlePageChanged(targetPage);
})

...

         onPageChanged: (int page) {
           if (_isPageViewAnimating) return; // ignore onPageViewChanged explicitly during animation.

           handlePageChanged(page)

@YusukeIwaki is this safe? Let's say the duration of the animation is long and before the animation ends, the user puts their finger in the pageView and cancels/stops the animation. I don't know of this is even possible but my concern is that if there is any race conditions which will always make -isPageViewAnimating true?

Workaround is like this: YusukeIwaki/flutter_page_view_issue_reproducing@baa85b3
_isPageViewAnimating = true // just before animation is staring.
_pageController.animateToPage(targetPage, ...).then((_) {
  _isPageViewAnimating = false; // animation is finished.

  handlePageChanged(targetPage);
})

...

         onPageChanged: (int page) {
           if (_isPageViewAnimating) return; // ignore onPageViewChanged explicitly during animation.

           handlePageChanged(page)

This worked in my case, thank you!

code sample
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: PageViewHome(),
    );
  }
}

class PageViewHome extends StatefulWidget {
  @override
  State createState() => PageViewHomeState();
}

class PageViewHomeState extends State {
  final List<String> pageHistories = [];
  int currentPage;

  PageController _pageController;

  @override
  void initState() {
    super.initState();

    currentPage = 20;
    _pageController =
        PageController(initialPage: currentPage, viewportFraction: 0.8);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.amber,
      body: Column(
        children: <Widget>[
          SizedBox(
            height: 240,
            child: ListView(
              children: pageHistories.reversed.map((String item) {
                return Padding(
                  padding: EdgeInsets.all(8),
                  child: Text(item),
                );
              }).toList(),
            ),
          ),
          Expanded(
            child: PageView(
              controller: _pageController,
              children: List.generate(300, (i) {
                return Card(
                  clipBehavior: Clip.antiAlias,
                  child: Text(
                    "[${i}ページ]",
                    textAlign: TextAlign.center,
                  ),
                );
              }),
              onPageChanged: (page) {
                setState(() {
                  pageHistories.add("onPageChanged: => ${page}");
                  currentPage = page;
                });
              },
            ),
          ),
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              FlatButton(
                child: Text("<<"),
                onPressed: () {
                  _pageController.animateToPage(0,
                      duration: Duration(milliseconds: 800),
                      curve: Curves.easeOutQuart,
                  ).then((_) {
                    setState(() {
                      pageHistories.add("animateToPage: completed");
                    });
                  });
                },
              ),
              Expanded(
                child: Text(
                  "[${currentPage}]",
                  textAlign: TextAlign.center,
                ),
              ),
              FlatButton(
                child: Text(">>"),
                onPressed: () {
                  _pageController.animateToPage(299,
                    duration: Duration(milliseconds: 800),
                    curve: Curves.easeOutQuart,
                  ).then((_) {
                    setState(() {
                      pageHistories.add("animateToPage: completed");
                    });
                  });
                },
              )
            ],
          )
        ],
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (12 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

[✓] Flutter (Channel master, 1.26.0-18.0.pre.156, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-18.0.pre.156 at /Users/tahatesser/Code/flutter_master
    • Framework revision 45508985b1 (8 hours ago), 2021-02-02 22:46:04 -0500
    • Engine revision 2c144c3eeb
    • Dart version 2.12.0 (build 2.12.0-282.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

Any hints on when this will be fixed?

Hi everyone
Looks like the cleanest solution to this is issue is just updating your variable on ScrollEndNotification, Instead of adding a parameter to do the same.
Here I update the code sample with ScrollEndNotification listener and update the value when the scroll reaches the end.

minimal code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const PageViewHome(),
    );
  }
}

class PageViewHome extends StatefulWidget {
  const PageViewHome({Key? key}) : super(key: key);

  @override
  State createState() => PageViewHomeState();
}

class PageViewHomeState extends State {
  final List<String> pageHistories = [];
  late int currentPage;

  late PageController _pageController;

  @override
  void initState() {
    super.initState();

    currentPage = 20;
    _pageController =
        PageController(initialPage: currentPage, viewportFraction: 0.8);
  }

  @override
  Widget build(BuildContext context) {
    return NotificationListener<ScrollNotification>(
      onNotification: (ScrollNotification notification) {
        if (notification.depth == 0 && notification is ScrollEndNotification) {
          setState(() {
            pageHistories.add("onPageChanged: => $currentPage");
          });
        }
        return false;
      },
      child: Scaffold(
        backgroundColor: Colors.amber,
        body: Column(
          children: <Widget>[
            SizedBox(
              height: 240,
              child: ListView(
                children: pageHistories.reversed.map((String item) {
                  return Padding(
                    padding: const EdgeInsets.all(8),
                    child: Text(item),
                  );
                }).toList(),
              ),
            ),
            Expanded(
              child: PageView(
                controller: _pageController,
                children: List.generate(300, (i) {
                  return Card(
                    clipBehavior: Clip.antiAlias,
                    child: Text(
                      "[${i}ページ]",
                      textAlign: TextAlign.center,
                    ),
                  );
                }),
                onPageChanged: (page) {
                  setState(() {
                    currentPage = page;
                  });
                },
              ),
            ),
            Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                TextButton(
                  child: const Text("<<"),
                  onPressed: () {
                    _pageController
                        .animateToPage(
                      0,
                      duration: const Duration(milliseconds: 800),
                      curve: Curves.easeOutQuart,
                    )
                        .then((_) {
                      setState(() {
                        pageHistories.add("animateToPage: completed");
                      });
                    });
                  },
                ),
                Expanded(
                  child: Text(
                    "[$currentPage]",
                    textAlign: TextAlign.center,
                  ),
                ),
                TextButton(
                  child: const Text(">>"),
                  onPressed: () {
                    _pageController
                        .animateToPage(
                      299,
                      duration: const Duration(milliseconds: 800),
                      curve: Curves.easeOutQuart,
                    )
                        .then((_) {
                      setState(() {
                        pageHistories.add("animateToPage: completed");
                      });
                    });
                  },
                )
              ],
            )
          ],
        ),
      ),
    );
  }
}

Closing

Thanks @TahaTesser! Both for the update and for exploring solutions to the issue! Your contributions are much appreciated! :)


Consider consolidating backends

We currently support writing data to sql via django, and to elastic. We also support a second elastic / solr index via haystack. I also see that we're talking about an additional search backend in #10. I'm guessing I'm missing some context here, but why is it useful to have all these backend options? Do we have sufficiently different use cases that some users would want postgres full-text search, others postgres + haystack, and others elastic?

For some more context, the application started off only using Elastic Search (no ORM at all); it was also written in Flask :) . Due to technical limitations in our production environment, we had to switch over to Django's ORM + haystack (MySQL + Solr). It was unclear then whether we'd be able to switch back to Elastic Search once the appropriate people deemed it "safe".
Now (2+ years later), I don't think the Elastic Search backend is used by anyone. I think it'd be worthwhile to rip it out and just assume everyone's using the Django ORM + haystack. I know @grapesmoker is working on replacing everything with MongoDB (which, for our needs, is almost identical to Elastic), but he's doing that in a completely different code base.
Re search: we know of two distinct configs (MySQL + Solr and Postgres + Elastic). I think full text search (#10) would be worth investigating as it'd allow us to run without needing a dedicated search index. However, even if it works out, we can't drop support for haystack just yet -- we need it's flexibility. Ideally, we'd have django-haystack/django-haystack#1320 and get support for free.

Just a small clarification: nothing that I'm doing is particularly tied to Mongo, it's just that I picked Mongo because I know it well and it's easy to use. All the same work can be done with Elastic, which I'll probably be working on in the next few weeks.

Definitely in favor of tearing out code that we're not using, especially if we don't expect to use it in the future. Does the work that @grapesmoker is doing have bearing on the data models in the 18f fork--should we adopt that once it's ready and hold off on changes here in the meantime? Or start deleting code sooner?

@jmcarp I don't think that'll have immediate impact here (though the use case is worthwhile to consider). We can start deleting now. That said, I don't think this is a big priority. There's lots of eRegs code I'd love to rewrite :p

Nothing that I'm doing would have any impact on 18f's work in the near future.

@cmc333333: seems like priority depends on how much is going to happen to the data models in the short term. For example, I'm guessing #36 and #37 would've been quicker to write without having to apply parallel changes to the two backends. I'm inferring from your comment that we're not expecting to change models soon.
@grapesmoker: what I'm asking is whether 18f would want to use your rewrite when it's ready. Do cfpb and 18f have sufficiently different use cases that we should use different backends?

@jmcarp I think it's very likely we'd want to do this when FEC's extra legal docs come in. I defer to @tadhg-ohiggins, @anthonygarvan et al. there. I know they're looking a lot at search now.

@jmcarp: I don't see why not. The use case is the same for both organizations. The idea behind the backend that I'm working on is to do away with a lot of the complexity surrounding things like layers and simplify the logic of rendering the frontend. I've already done a lot of this work, which is based on the XML schema that we've developed.
In principle, none of this is backend-dependent. It seems to me that as far as the backend is concerned, the main desideratum is the ability to search. Whether you're using Django's ORM or some other ORM or just pulling raw JSON from Mongo/Elastic is mostly a matter of convenience. I've spoken to people at CFPB about what they would prefer, and the preference is for Elastic because we have that in production and it's supported (as opposed to Mongo, which would be a new service). But the decision about what backend to use is actually not nearly as important as refactoring the rendering logic, which is the main focus of the work that I'm doing right now.
I don't know how long this work will take, although we do have a working demo that we'll be showing CFPB leadership next week. Of course this work is open source and 18F is more than welcome to adopt it for any purpose. I'd like to see it expand and eventually replace the existing core/site framework.


Vendor with dep

Description
Vendoring with dep
Motivation and Context

[x] I have raised an issue to propose this change (required)

See https://github.com/openfaas/faas/pull/460
How Has This Been Tested?
Should be included in https://github.com/openfaas/faas/pull/460 testing
Types of changes

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

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.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I can't reproduce the build error, running make locally it works...

@alexellis there was an openfaas-provider orphan git submodule that was crashing the build. After half a day it finally works 😱

Very well done.. 👍
This PR has 4 commits and +1,116,852 additions of code. Can we rm the vendor directory and resubmit with the Gopkg* changes only in a single squashed commit? Vendored deps can go up subsequently.

Code taken and source history reset in master.


Use github workflow for docker push image

On every pull request, a new docker image will be pushed to our docker hub

This approach ALSO does not work for PRs coming from forks, thus closing.