[top] Pinout and chip-level synthesis updates

This draft PR contains several changes that carry over the chip-level synthesis scripts from Bronze, and the planned pinout (both these things are intertwined due to the I/O SDC constraints).
There are still several things that need to be fixed before this PR is ready for review:

[x] A dummy spi_host design has to be added for integration purposes, see #5178
[x] The UART pin mapping needs to be fixed for FPGA emulation since the UART has become an MIO now (instead of a DIO)
[x] The chip-level simulation environment needs to be adjusted in order to reflect the updated pinout.

I'll ping this PR again once I am done with the opens.
Note that this is only a preparatory step for the actual pinmux/padctrl overhaul.
There are still several Bronze items I will need to clean up after this PR went in.
However, putting the pinout in place now (even if it is in a slightly Bronzish way) allows us to deliver an early Silver pre-release to Nuvoton to get PD and DFT insertion going.

Note that this is currently in a messy state.
I'll ping you again when this has become stable.

Good to have SPI change here :) I was working on it but the changes look same as mine. Thanks!

Good to have SPI change here :) I was working on it but the changes look same as mine. Thanks!

Great, thanks for giving this a look @eunchan!

Last force push rebases this onto the freshly merged pinmux updates, and a couple of other changes on master.
Still working on FPGA and DV alignments...

CI should pass now with the latest changes.
@vogelpi, can you do me a favor and check whether englishbreakfast still works after this change?
PS: I am going to squash some of the commits once this is approved.

@dsandrs FYI: this one needs to land before we can do a pre-release.

I've tested this on the CW305 FPGA board (top_englishbreakfast). It doesn't work at the moment. I get the boot ROM output and can transfer a binary over SPI, but then it stops. I need to do some more debugging. Anyway, it would be nice if you could rebase this PR on top of lowRISC/OpenTitan#5255 (which does some required re-alignment). Doing the rebase will lead to some confilcts but they are easy to solve.

@eunchan @tjaychen can you take a look as well?

@msfschaffner do you need any help tracking down some of the FPGA / simulation errors? just let me know if you want a second pair of eyes.

Hey @tjaychen, thanks giving this a thorough look.
Most of these pending items are part of the planned pinmux/padctrl/padring overhaul which I started to track here: https://github.com/lowRISC/opentitan/issues/5221
This is PR is mainly carrying over the current Bronze configuration such that we can get Nuvoton started, and will need further alignments.
As for the CI failures - I'm about to take another look.
I had them all debugged and got them passing, but the latest rebase onto the current master seems to have introduced new issues...

Looks like I found the culprit: I used the wrong UART peripheral index in pinmux.c. It should have selected the 33rd peripheral input and output, for the UART RX/TX pins, and I accidentally used the value 33 in the code instead of 33-1=32.

The last force push aligns the SDC constraints with the current state on master.

Thanks @vogelpi!
I'll merge this once CI is green.


Chainable queries should not use global state

Right now, ContentfulModel accomplishes chainable queries by tracking the request parameters within a class variable on the model class being queried. This is not thread safe, and can lead to subtle but problematic bugs within client apps.
Instead, ContentfulModel should use a QueryBuilder pattern, like what ActiveRecord has with it's Relation class.
Simplest test case:
MyModel.params(abc: 123)
puts MyModel.all.load.length

Expected result: Should output the length of the loaded entries.
Actual result: Exception because abc is not a valid parameter to the Contentful API.
I've implemented this change on my fork in the feature/safe-chainable-queries branch. This breaks compatibility, and I've also changed find_by to be called where and implemented a new find_by in terms of where and limit(1) and adjusted all the tests to match. I can PR this but it will require a major version tick. While I'd love to see these changes in the mainline, I think instead a new minor version of the gem needs to be released as per #92 before merging in any incompatible changes.
See my branch at: https://github.com/rezonant/contentful_model/tree/feature/safe-chainable-queries

Hey @rezonant,
I'm back into working in this gem, and this is currently the task I'm working on.
I've just checked your branch and looks quite similar to the approach I was going to go for.
I've added a few new things already in master which makes your branch incompatible, but I'll take inspiration on it and adapt it to what I have now.
Thanks!


Missing option from SMTP config - "Force TLS"

Hi,
as I am forced to use this option by my mail provider, I've noticed that this is missing from the chart. Every time (when I need to make a new deployment) I need to enable the admin interface and despite I have all options that I need in the chart values, I have to go and enable this particular one: Force TLS.
From official docs, I saw that:
To run SMTP in explicit mode, set SMTP_EXPLICIT_TLS to true (SMTP_SSL has to be set to 'true', too)
So my request here is to add support (expose this option to be configurable) in values.yaml file.
Thanks!

Thanks for raising this point, indeed I missed SMTP_EXPLICIT_TLS somehow. For the moment, please set bitwardenrs.smtp.ssl to true and, under bitwardenrs.extraEnv, add "SMTP_EXPLICIT_TLS: true" as a workaround. I'll add the smtp.explicitTLS option in the next release of both bitwardenrs and vaultwarden charts.

Thanks!

Hi @sgissi -  since from some time version 1.22.2 is the latest, do you plan to update the chart with latest version + the option that I found missing from above?
Thanks!

Thanks for the reminder, an update is overdue for sure. I'll carve out some time this weekend to update the chart and include the SMTP TLS setting too.

Hi, the latest version was just released with the Explicit TLS option. Can you give it a try please?

@lord-kyron I'm closing the issue as the new charts were released with the Explicit TLS option. Feel free to reopen in case of any issues. Thanks for raising the issue!


Periodic parent search unnecessary parent changes

From the code analysis it looks to me that periodic parent search can cause unnecessary back and forth parent changes. This would not happen in a stable network but my real life tests are showing that network is hardly ever stable.
If we are below the parent search threshold (-65 by default) we are doing a parent search every 9 minutes (increasing +9min when none better was found).
Better parent is picked basing on multiple comparisons that can change over time

link quality
number of link 3 connections to other routers
number of link 2 connections to other routers
number of link 1 connections to other routers
RSSI

I would say that there should be an extra comparison called "is a current parent" in the middle to favor current parent over potential one. Probably this comparison must be a bit more complex.
Currently there is a chance that having parent A with RSSI -73, we change to Parent B because its RSSI is -72.
In 9 minutes we will get back to Parent A because it has 9 instead of 8 link 1 neighbors.
In 9 minutes we will go to Parent C because our parent B lost a link 2 neighbor.
In 9, 18 or 27 minutes ....
While searching for any parent - a best pick is obvious, but when searching for a better parent (which has an effect of RLOC change) it should be taken into consideration what is really better for that network.
What are your thoughts?

Agree with @mwilniewiec that the Child should favor the current Parent if the benefit of switching Parent does not exceed some threshold.

Changing the logic for parent selection when device is attached (searching for a better parent) vs. when device is not attached (searching for any parent) sound ok to me.  However, its impact may not be significant, mainly since we don't expect the actual parent switch to happen frequently:

The 9 minute OPENTHREAD_CONFIG_PARENT_SEARCH_CHECK_INTERVAL is how often a child would check whether to perform a parent search or not, i.e., child would check if the running average RSS of its current parent is below a threshold or not. If it is not, the chod does not perform a parent search and checks again in 9 minute.

If the parent average RSS is below the threshold, we do perform a parent search. After this we don't allow a parent search again within a backoff interval OPENTHREAD_CONFIG_PARENT_SEARCH_BACKOFF_INTERVAL (with default value being 10 hours).

This backoff wait happens after a parent search, independent of whether the child stayed with its current parent, or found a better parent.

So a parent switch from "periodic parent search" feature should happen at most every 10 hours.

Note that "parent search" process is rather energy-consuming for an SED (since the child needs to stay in RX mode for few seconds to receive "ML Parent Response" msgs from any potential parents). So we cannot in general perform it often on an SED.

There is  bit more logic (which we added later) on how parent search backoff is handled where under certain situation we allow backoff wait time to be canceled (at most once within each backoff interval).
This was added to handle a practical situation when a router is going through sw update (and may is offline for some time).

Child is attached to parent A.
Child earlier did parent search and is currently in backoff wait mode of 10 hours.
Device A is going through a sw update (thus it is off for some time)
This causes the child to detach from A find a less desirable parent B.
In this situation, we allow the backoff wait time to be canceled, so that after 9 min we can check again and perform a parent search and go back to A.
Without this, child can stay with less the desirable parent B for up to 10 hours before it does parent search again and find A.
Note that we allow the canceling of backoff wait to happen only once within a backoff interval.
It is explained a bit more here in this comment in the mle.cpp:
https://github.com/openthread/openthread/blob/a58163c9a312f6504c5a4564ed69a3f4cca97366/src/core/thread/mle.cpp#L4227-L4240

@abtink thanks for explanation. Must admit I was more focused on HandleParentResponse and IsBetterParent functions and didn't get the real point of HandleParentSearchTimer.
My previous understanding was that 10 hours backoff is for the situation when our parent is above the threshold. "My parent it good enough, dont bother with parent searching for 10 hours".
9 minutes for a check and 10 hours for a parent search sounds like huge numbers :)
In the 140 nodes network where I make tests I have a feeling that nodes never keep the same RLOC for 10 hours (detailed tests are in progress) so we have bigger problems than this one for sure.
Still ... I believe that there is some room for improvement in this area but changing a parent back and forth in special circumstances every 10 hours sounds like a minor issue.
As long as we keep default DEFINEs its not an issue for me and can be closed. Up to you, thanks.

@mwilniewiec , closing issue for now. Feel free to reopen if you have new thoughts.


Very strange problem, do you think you can help?

I've been trying to port my vue.js application to nuxt.js for a few days now and I've got to be honest, I've ran into a lot of problems so far. Problems that never happened when my website was a normal vue.js app.
So, right now I've ran into another problem. I'll try to explain.
When I load my website, it loads in a VideoPlayer component that I've made my self, the video player works perfectly fine, when I was using it with my normal vue.js app there were no bugs and also the many unit tests I've wrote for the player all pass as well.
Now this video player that I made, for some reason gets generated twice on page loads. The first time that it generated the video player, it gets put into the DOM (I think) but right  after it, it gets replaced with a new video player instance.
Now the problem is this, when the first video player gets removed, all of the events are still attached and it still tries to load the video. Even though the video player isn't in the DOM anymore, the video still gets played in the background.
What ends up happening is that we end up with two videos playing at the same time, one in background and one from the actual player.
@manniL and I are very confused about this problem, we've been trying to debug it for a few days but we're getting no where with it.
I have a feeling that its something to do with how nuxt.js handles the recycling of components. I've done some debugging and saw that the component gets remounted many times, and so does the page component as well. When it gets remounted, I believe it doesn't destroy the video player properly and still leave the video element running background + the events.
Nuxt.js shouldn't be creating new instances of the elements on the page, what it should be doing is recycle the elements it already has there. Otherwise you end up with 5 different video elements running background, all that have the same video cached in background as well. That's a lot of memory used for no reason.
There's no special event that tells me that the DOM is finally done generating and that it won't be generated again so I can't listen for any of the Vue lifecycle, Vue Router or nuxt events to control that either.
no-ssr isn't option either, I've been spending a lot of time trying to implement it using no-ssr and that just creates more bugs then it removes.
There's a similar issue over here as well, the fix for it was really hacky and its not appropriate solution I believe since older video objects remain in background. https://github.com/nuxt/nuxt.js/issues/2391

This question is available on Nuxt.js community (#c2707)

This is happening for me also. I see mounted for my components getting called twice. I am on nuxt 4.1.0. Any solution to this?

@nallown There are some SSR adaptations that may be required. It gets tricky sometimes. But we can't help you debugging it unless a sample repo is provided. Closing this issue for now.


Passes the tileset 'shadows' property to PointCloud3DTileContent

Part of #5435

Works perfectly. Thanks @AnimatedRNG.


I love vscode but the codelens drives me nuts

Version 1.33.1 (1.33.1)
OS Version: MAC OS 10.14.4

Steps to Reproduce:

select goto definition of a typescript symbol and it shows the horrible codelens viewer with the index.d.ts file as an option

For example:

I have tried disabling every conceivable codelens setting:
  "javascript.referencesCodeLens.enabled": false,
  "typescript.referencesCodeLens.enabled": false,
  "editor.codeLens": false,
  "merge-conflict.codeLens.enabled": false,
  "typescript.implementationsCodeLens.enabled": false,

I absolutely love VSCode but I cannot disable this thing no matter what I try.

That is NOT CodeLens

This is.

That is called "peak view", and can be turned off by "editor.gotoLocation.multiple": "goto", but I'm not sure Code will goto which definition by default for that.

It's caused by your specific coding style: when you write

interface Invokeable {
    (): number;
}

const func: Invokeable = () => 42;

func();

And invoke Go To Definition on func(), Code will search definitions for both func itself and func() function call. As Code can find both, it will provide you multiple results to choose.

@yume-chan thank you. this really ruins vscode and I am not alone in thinking this.
What I would really like is for it to ignore definition files, it is like a zombie I cannot slay.  It just appears time and time again and never when I want it.

this is just the latest incarnation of me trying to disable this annoying code window.

"editor.gotoLocation.multiple": "goto" should solve your problem.


PostSolrConnection: Bad parameter design?

Hi,
I try to switch from GET to POST when querying a solr collection and fell over an already existing implementation called "PostSolrConnection". Now, when using this class (replacing it in DI breaks multiple object creations, etc.), it expects two parameters: one ISolrConnection and serverUrl as string. Why does it need the serverUrl as string parameter when ISolrConnection also expects a serverUrl?
What's the purpose?

The PostSolRConnection class is unrelated to what you are trying to achieve. It is an internal class for connecting to SolR instance.


(In Prog): File Embedding Complete

Current commit demonstrates ProteinEmbedding capabilites and skbio I/O on embeddings. Vector search through TM-Vec functional, but not currently implementing skbio for loading (Waiting for flag implementation in TM-Vec CLI).
Please complete the following checklist:

[x] I have read the contribution guidelines.

[ ] I have documented all public-facing changes in the changelog.

[ ] This pull request includes code, documentation, or other content derived from external source(s). If this is the case, ensure the external source's license is compatible with scikit-bio's license. Include the license in the licenses directory and add a comment in the code giving proper attribution. Ensure any other requirements set forth by the license and/or author are satisfied.
It is your responsibility to disclose code, documentation, or other content derived from external source(s). If you have questions about whether something can be included in the project or how to give proper attribution, include those questions in your pull request and a reviewer will assist you.

[x] This pull request does not include code, documentation, or other content derived from external source(s).

Note: This document may also be helpful to see some of the things code reviewers will be verifying when reviewing your pull request.

Let's merge for the moment.


How many tokens should be trained when pretraining the text-to-image generation in the paper?

Do you mean the max-sequence-length? we use 512 length (400 image tokens + up to 112 text tokens). I think the other hyperparams can be found in the paper, except for learning rate, which I need to check the codes after work, but I think any values around 1e-4 with warmup is okay.

I mean the training hyperparameters such like training steps, the training tokens per batch. In the CogView paper, it gave us the relevant parameters.

Hi, please refer to section 3.2 of CogView2 paper~

Thanks a lot! Also, I had a question.  when the model can generate the visible image, the loss could be what level. I mean could you give me some training logs so that I can do the experiments as a reference?


Add metrics namespace

This allows for better identification of metrics originating from rpm2docserv in monitoring environments collecting metrics from a variety of services.
Solves https://github.com/thkukuk/rpm2docserv/issues/13.

Result:
db9c24406588:/ # more /srv/docserv/metrics.txt

# HELP rpm2docserv_packages_total The total number of binary packages processed.
# TYPE rpm2docserv_packages_total gauge
rpm2docserv_packages_total 415

# HELP rpm2docserv_packages_extracted Number of binary packages from which manpages were extracted.
# TYPE rpm2docserv_packages_extracted gauge
rpm2docserv_packages_extracted 130

# HELP rpm2docserv_manpages_rendered Number of manpages rendered to HTML
# TYPE rpm2docserv_manpages_rendered gauge
rpm2docserv_manpages_rendered 5970

# HELP rpm2docserv_manpage_bytes Total number of bytes used by manpages (by format).
# TYPE rpm2docserv_manpage_bytes gauge
rpm2docserv_manpage_bytes{format="man"} 34396150
rpm2docserv_manpage_bytes{format="html"} 162826456

# HELP rpm2docserv_index_bytes Total number of bytes used for the auxserver index.
# TYPE rpm2docserv_index_bytes gauge
rpm2docserv_index_bytes 257184

# HELP rpm2docserv_runtime Wall-clock runtime in seconds.
# TYPE rpm2docserv_runtime gauge
rpm2docserv_runtime 49

# HELP rpm2docserv_last_successful_run Last successful run in seconds since the epoch.
# TYPE rpm2docserv_last_successful_run gauge
rpm2docserv_last_successful_run<PHONE_NUMBER>


ArgoCD: Write a user guide to use a gitops CI/CD system for Crossplane infra and app repositories, for the 3 cloud providers

What problem are you facing?

epic #631
How could Crossplane help solve your problem?

Closed by #1025


Fix cell resolution type

The cell resolution type must allow leading zeros.

The fix is based on the proposal by Zoltan Kozma.

This fixes #7.

@frans-ebu I can not request a review from @nigelmegitt or @EyalLevi. I can only request a review from EBU folks. Is there away to add members of the EBU working group?

@tairt please try again. I changed the settings. I am not sure, but it seems the team admin access is not working as expected.

I've managed to add myself as a reviewer, so that seems to work. Thanks @frans-ebu .

@frans-ebu I can add now @nigelmegitt as reviewer but not others. You may try it out with an issue. I can also assign it to people @nigelmegitt  and the EBU team.


main advantage of using AGE

I've currently implemented graphs (sans vertex properties) in Postgres using Recursive CTEs, without any real issue or restriction.
Is the main advantage of using AGE the query language being specialty focused on graph querying?
In looking at the docs, it seems like the extension is primarily focused on providing functions for interacting with the data. Under the covers, are the data stored as blobs? How is typing enforced if it's not using the native Postgres type system?
Sorry I'm making assumptions based on examples, and I could be totally wrong. I'm asking out of curiosity, not being critical.

Original Post in r/postgreSQL
https://www.reddit.com/r/PostgreSQL/comments/lv9u7s/postgresql_with_graph_database_features/

I'm also want to ask about the compliance between bitnine-oss AgenGraph and AGE, are they using the same core components or somewhat different? And is there any good reason not using bitnine-oss at the start?

AGE is based on openCypher implemented in PostgreSQL (version 11 atm) as an
extension. This makes it more flexible to use, for example, in a current
PostgreSQL environment/shop. However, due to it being an extension, it has
some limitations (due to limitations common to all extensions) as to how
well it can integrate into PostgreSQL. An example of this is the lack of
hooks for modifying the grammar, you can see this in the form of the
openCypher commands.
AgensGraph is based on Cypher (it wasn't openCypher at the time of
implementation) implemented in PostgreSQL (version 9) as a fork. This
anchors it in a very specific version of PostgreSQL and makes it difficult
to migrate both the code and the data. However, due to being more
integrated, it has the advantages of modifying whatever needs to be
modified. An example of this is the grammar, which is nicely integrated
along the side of SQL.
Which is better depends on what you value more. Both are implementations of
Cypher in PostgreSQL. AGE is still in the alpha stage so, not all
functionality has been implemented as of yet. As implementations of Cypher,
they are both focused specifically on representing and querying graphs.
As for the  AGE (agtype) data type, it is based off of a PostgreSQL data
type and is built into the PostgreSQL system. You can look at the code to
see how, if you like.
I'm not going to comment much on the "debate" or "merit" of a using SQL
commands to create a "similar" functionality. Sure, you can contort many
other tools to work for a particular purpose that they may not have been
intended for. However, I have always found it best (less cumbersome, less
confusing) to use the most appropriate tool for the job.  Cypher is a
language for representing and querying a graph.
I hope this is helpful.
John
On Tue, Mar 16, 2021 at 8:49 AM Anh Tu Nguyen @.***>
wrote:

I'm also want to ask about the compliance between bitnine-oss AgenGraph
and AGE, are they using the same core components or somewhat different? And
is there any good reason not using bitnine-oss at the start?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-age/issues/29#issuecomment-800380067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALPO4G6VVNXPITSB35TGGLTD54ZBANCNFSM4YN7BKZA
.


Use static output folder names

hyp3-isce2 creates unique 4 character output folder suffixes for each processing run so that results would never be overwritten:
https://github.com/ASFHyP3/hyp3-isce2/blob/71482140bde97ed36a9d681b4baee5486a68ad16/src/hyp3_isce2/burst.py#L371
For the fufiters workflow there are some advantages to having consistent product names, in particular you avoid accidental duplicate datasets and STAC catalogs don't have to be updated if products are re-processed. So we can just remove the token string:
S1_023790_IW1_20230621_20231218_VV_INT20_B6F2 -> S1_023790_IW1_20230621_20231218_VV_INT20

closed by https://github.com/relativeorbit/hyp3-isce2/commit/0615095226a341a8b070c295a12f4e022dc790b2

Turns out other libraries expect this specific naming structure from hyp3:
https://github.com/insarlab/MintPy/blob/0c74de929d6656954fe7b1c127b7bd1ca67f8e7d/src/mintpy/prep_hyp3.py#L32
So sticking with a fixed 4 digit code (FFTS) instead of a random code:
S1_023790_IW1_20230621_20231218_VV_INT20_B6F2 -> S1_023790_IW1_20230621_20231218_VV_INT20_FFTS


[WIP] Add view to get_summary_fields

get_summary_fields needs a view argument to be able to compute user_capabilities (permissions) in the model

user capabilities are not planned now, and the concept may change, closing for now


Is tls async mode full duplex or simplexes ?

https://github.com/openssl/openssl/blob/33b4f731451bcd7321ddae002c7945cd83d52f78/crypto/async/async.c#L178-L187
https://github.com/openssl/openssl/blob/33b4f731451bcd7321ddae002c7945cd83d52f78/crypto/async/async.c#L205-L223
SSL mode is SSL_MODE_ASYNC

SSL_read return -1， SSL_get_error return SSL_ERROR_WANT_ASYNC
SSL_write-->ssl_write_internal --> ssl_start_async_job --> ASYNC_start_job,  ssl->job != NULL,  ctx->currjob->funcargs->type is READFUNC, At this moment,  last time  read is done，but  the  user has  not   call  the  SSL_read，also， can‘t   get  the readbuf.

SSL_read return -1， SSL_get_error return SSL_ERROR_WANT_ASYNC
SSL_write-->ssl_write_internal --> ssl_start_async_job --> ASYNC_start_job, ssl->job != NULL, ctx->currjob->funcargs->type is READFUNC, At this moment, last time read is done，but the user has not call the SSL_read，also， can‘t get the readbuf.

If you get SSL_ERROR_WANT_ASYNC returned from an IO function then the next IO function you call must be exactly the same one, with the same arguments, i.e. if you call SSL_read() and get SSL_ERROR_WANT_ASYNC, then you must not call SSL_write() next.

then you must not call SSL_write() next.
yes, I understand you,  and  when should I call SSL_write()?  Wait until SSL_read returns the correct number of write bytes.？

yes, I understand you, and when should I call SSL_write()? Wait until SSL_read returns the correct number of read bytes？

Yes.

ok， The tls async  mode is processed  as treats   nb-io socket，    The only difference is that the returned value of SSL_get_error is different.  the  non-blocking BIO  is SSL_ERROR_WANT_READ, SSL_ERROR_WANT_WRITE， the  async  is  SSL_ERROR_WANT_ASYNC.

int SSL_async_job_args_types(SSL* ssl)
{
    return ssl->job->funcargs->type;
}

In a single thread, three SSL objects ssl_1 ssl_2 ssl_3, call SSL_read(ssl_1, ..) to get SSL_ERROR_WANT_ASYNC and exit SSL_read(ssl_1, ...). , and then
Call SSL_write(ssl_2, ..) ,SSL_write(ssl_2, ..) get SSL_ERROR_WANT_ASYNC and exits SSL_write(ssl_2, ..) , and then call
The SSL_read(ssl_3, ..) get SSL_ERROR_WANT_ASYNC.
If the SSL_write(ssl_1, ..) interface is called, the SSL_write(ssl_1, ..) is incorrect. I should exit. I can encapsulate the SSL_async_job_args_types(ssl_1) == READFUNC and return -1 exit. Then call SSL_read(ssl_1, ...) The read buffer of ssl_1 is sucess when the SSL_async_job_args_types(ssl_1) == READFUNC.

Question：Do you think this is  right  to the preceding operations?

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Share flags and building between commands for consistency

Update the git_repo building to have a shared selectors for querying cluster objects. These are now shared between flux-local commands get, diff, and build and shared across resource types.

Codecov Report

Merging #60 (7ae73a8) into main (09f7fce) will decrease coverage by 0.25%.
The diff coverage is 93.05%.

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   91.45%   91.20%   -0.25%
==========================================
  Files          14       15       +1
  Lines         737      807      +70
==========================================
+ Hits          674      736      +62
- Misses         63       71       +8

Impacted Files
Coverage Δ

flux_local/manifest.py
79.42% <80.00%> (-0.11%)
:arrow_down:

flux_local/tool/get.py
91.04% <88.23%> (-5.68%)
:arrow_down:

flux_local/tool/diff.py
91.07% <89.65%> (+0.63%)
:arrow_up:

flux_local/tool/selector.py
90.00% <90.00%> (ø)

flux_local/git_repo.py
98.34% <100.00%> (+0.28%)
:arrow_up:

flux_local/tool/build.py
98.03% <100.00%> (+0.21%)
:arrow_up:

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


Don't abandon AngularDart, don't give up on AngularDart

Don't abandon AngularDart, don't give up on AngularDart, me and my company are investing heavily in AngularDart, we are migrating all our web applications to AngularDart, I love Flutter for Mobile, but Flutter is not WEB-productive. WEB, we can't use many existing HTML and CSS templates, because in Flutter we can't use HTML and CSS.

[x] Dart SDK 2.5.2
[x] AngularDart 5.3.0
[x] Windows 1903
[x] Chrome 77

My company is investing heavily projects using AngularDart too. We are really fan this powerful framework and the possibility to use all html and css features necessary to complex web app.
Long life to the AngularDart and Components!

the documentation site still updated daily ^1,
but the framework has no more updates since August 2019. ^2

good news, the framework ^1 get updates :laughing:

good news, the framework ^1 get updates laughing

Really good news, I was really worried about the inactivity of repo. I hope Flutter will take the developers to try AngularDart

@DevAlves1993
I totally agree with you

I hope Flutter will take the developers to try AngularDart

I see AngularDart as a much cleaner, nicer, organized and simple version of Angular. I particularly see TypeScript syntax very ugly and dirty. There are some areas of AngularDart that can improve, especially the router part and simpler forms of serialization.

I started learning Angular with TypeScript using some Udemy tutorials but I didn't even understand anything. So I had to give up on Angular. But After Flutter announces Flutter for Web I started learning Dart. It is really easy to learn. Since Flutter for Web is not yet ready for production, I moved to AngularDart. I learned everything using Documents. I was not able to find any Video Tutorials. Documentation is perfect for a beginner to learn it. I would really need Angular Dart to be added with some more features without giving it up.

Long life to the AngularDart and Components!

We need an official status update.
I heard Google uses AngularDart for AdWords and other teams also prefer Dart version. Is it still true?

We need an official status update.
I heard Google uses AngularDart for AdWords and other teams also prefer Dart version. Is it still true?

Problem that AdWords was on GWT and we know what happened(

@Bellski

Problem that AdWords was on GWT and we know what happened

What happened?

@Bellski

Problem that AdWords was on GWT and we know what happened

What happened?

Google moved from GWT to Dart. And stopped support GWT.

@Bellski

Long life to the AngularDart and Components!

I really hope Google will not abandon AngularDart, otherwise my organization and I will be greatly damaged.
If Flutter is successfully ported to the Web.
I think AngularDart runs on Flutter, because the angular templates HTML can be compiled for Flutter widgets. I've seen some projects here on github that use compiled XML for Flutter widgets, so this is very possible.

Hi there -- thank you for your passion for AngularDart! It's always exciting to see others who are getting value out of this project. It's encouraging to see this issue get a ton of thumbs up.
Firstly, let me (partly) reassure you. AngularDart is not going away and is as actively developed as ever, although we have shifted our focus a little.
As you have noticed, our activity on GitHub has become more bursty in recent months. Because of the heavy usage of AngularDart internally within Google, we moved the primary source of truth to google3, our internal mono-repo. Our goal is to push out new code to GitHub periodically, and we're in the process of automating this so that we’re able to improve the frequency of these syncs. And as you've seen, in the past few days, a large number of changes have landed from a broad set of contributors that bring GitHub up to date.
But yes: we also want to be honest that our focus has shifted somewhat, recognizing the heavy internal usage of AngularDart and comparatively low external developer base. AngularDart is ideal for large-scale data-heavy apps like AdWords with millions of lines of code, but there just aren't that many of this kind of app externally, and we've gradually recognized that. Externally we have a loyal but relatively small following, but AngularDart is probably never going to be a broad general-purpose web framework. Conversely, we have a growing audience of thousands of Google engineers using AngularDart internally, and so most of the features we build are with that audience in mind, knowing that what they need will likely also be of value to external developers.
Lastly, we want to recognize that with the emergence of Flutter’s support for the web, we have other motivations to continue to develop Dart web scenarios - from improved IDE tooling to compilers. In fact, our level of investment in web tooling for Dart is higher than ever, with more engineers working in this space than at any previous point in the project's history.
So, to summarize:

We're continuing to develop AngularDart, although our orientation has slightly shifted towards our internal audience, where it's proven very successful.
We will continue to release AngularDart builds externally to GitHub. Success for the project isn't measured by us in how many millions of external web developers adopt it, but we are delighted to have you as a customer if it suits your needs.

Hahahahahahahahahahaha.

AngularDart the best fraemwork in the world and it can become mega popular for this you need to start writing normal documentation, which would be supplemented, what is this tutorial where there is no word about the output of images on the site? how do I make friends with DjangoRestFramework or PHP? there are not so many server languages, you can write how to make friends with them, we noobs also want to be part of the team ANGULARDART

AngularDart is ideal for large-scale data-heavy apps like AdWords with millions of lines of code, but there just aren't that many of this kind of app externally

Another use case for AngularDart is sharing the business logic layer from a flutter app with a web app. As flutter for web matures, this probably isn't a long-term use case, but flutter web maturity seems a long way out especially with plugin compatibilities.

@timsneath, I think it is very important to have information about the next steps of Google products.
First, it is a gratitude that we have Google sharing its technologies. As a company admired for its audacity, business models and technology many seek to mirror and use what is available to it, especially when open source.
I have been following and using Dart Lang for several years. It is a wonderful technology. However, one point has always made me apprehensive and anxious about the future: Lack of clear communication about the next steps, especially about the scope of development and release milestones.
As an open source product, in which many use and would also like to contribute to development, I see as important an additional effort to clearly manage communication, thereby aligning the expectations of both Google's internal team and external community.
An improvement in this sense, in addition to aligning expectations, would cause the community in general to create greater confidence about the future and thus generate greater adoption of Dart Lang, AngularDart, etc.
The technology is fantastic, I think adding a dash of management would make it even better.

Is the version of Angular targeted by AngularDart internally at Google keeping up with the latest regular Angular releases (i.e. the 9.0 version)?  The version on github seems to be a bit behind the main Angular releases.  I am almost more inclined to use the regular Angular only to take advantage of the new Ivy capabilities versus those in the 5.0 Angular version targeted by AngularDart.  In general, though, thanks so much for your work on this product!

Is the version of Angular targeted by AngularDart internally at Google keeping up with the latest regular Angular releases (i.e. the 9.0 version)?

Hey @levinem – while both flavors of Angular (JS/TS vs Dart) share a history, they have diverged in many ways – mostly to align better with features in their respective platforms and to address issues with their core customers.

Is the version of Angular targeted by AngularDart internally at Google keeping up with the latest regular Angular releases (i.e. the 9.0 version)?

Hey @levinem – while both flavors of Angular (JS/TS vs Dart) share a history, they have diverged in many ways – mostly to align better with features in their respective platforms and to address issues with their core customers.

Thanks @kevmoo , I had thought that AngularDart was a Dart interface to the Angular main compiler, but it sounds like the underlying compiler infrastructures are not fundamentally connected and that AngularDart will try to keep the main interfaces and concepts similar to those in the JS/TS Angular project to enable a familiar interface for existing JS/TS Angular developers.

AngularDart will try to keep the main interfaces and concepts similar to those in the JS/TS Angular project to enable a familiar interface for existing JS/TS Angular developers.

@levinem – I wouldn't go that far. The engineering teams are friendly, but they are separate teams. There is no explicit goal to keep things aligned – but there is no incentive to diverge either, unless there is a good reason.

@timsneath I worked for 2 years on a project that was angularjs, in the last 8 months I was on the project, the team migrated to AngularDart. We rebuilt everything in AngularDart.
We also created Dart-based command line tools to ease our development workflow.
We created a generator tool to build our domain classes based on whatever client we were developing for.
Lastly, we created our own version of Pub to host our internal code.
The team was sold on the migration due to A) Dart's capabilities, B) Ease of taking existing web elements (HTML, CSS, and JS) into AngularDart variations, and C) Google's own investment and use of AngularDart for its Adwords, and other internal products.
The project is within the government space, so I cannot share details. But the product we developed consisted of over 15-20 microservices.
I hope this can tell you that it is absolutely an enterprise application. We needed Dart's strong type system so that we reduce the ambiguity within our logic.
AngularDart has a space externally from Google, but Google HAS to be public with its support.
My last point, AngularDart and the Dart platform itself, should allow dart:html to exist so that other frameworks and/or smaller apps can be built.
If Google doesn't show support and love for Dart and AngularDart like it does for Flutter, then it's all going to fall apart. That would be a shame, because there's real gold here.
And I concur with @supermuka about next steps for Dart and Angular Dart. These need to be public, even if short-term. Otherwise, no one will engage with what appears to be a ghost town run by ghosts.

@timsneath
First of all, I would like to thank you for your words and feedback.
@Stargator

If Google doesn't show support and love for Dart and AngularDart like it does for Flutter, then it's all going to fall apart. That would be a shame, because there's real gold here.

I totally agree with you, I am also working on several AngularDart projects for the Government of Brazil, I love AngularDart, I love the dart, we cannot let this wonderful tool die.

We're actively working to onboard someone to start the external rolls of angulardart. We're blocked by some paperwork, but we're working through it.
Thank you all for your interest and patience!

AngularDart is ideal for large-scale data-heavy apps like AdWords with millions of lines of code

@timsneath
Sorry about non-subject question. Please, could you tell me how you develop such large-scale apps if there is no even data-tables in angular_components? Do you develop any internal Google UI Kit for that?
Because now we are developing an Angular Dart application (it was customer's choice) and we have a lot of question about angular_components. Our UI/UX architect makes mock ups according to https://material.io/design/ but we can not found some material components (data-tables or grid system, for example) in angular_components for design implementation.
Could you recomend something for us? Thank you!

@anton-marchenko
Google has its own data table components,
that's planned to release to angular_components since Q4 2018, but still not happening till today.
there are several open-source components that you can use from pub.dev.

This video series is a great intro to AngularDart for complete beginners:
https://www.youtube.com/watch?v=9X88k6kTuNw&list=PL3UwowPBo8XHbU4llLYZKY-FOofDLMv8S
Works thru an app from scratch, all the way to a working app with a firebase backend.

@anton-marchenko We have build a number of Material Components that were missing from the official Angular Components library (data table included). See the gallery at https://skawa-universe.github.io/skawa_components_example/, the sources https://github.com/skawa-universe/skawa_components, and the published packages at https://pub.dev/packages?q=skawa+components

@anton-marchenko We have build a number of Material Components that were missing from the official Angular Components library (data table included). See the gallery at https://skawa-universe.github.io/skawa_components_example/, the sources https://github.com/skawa-universe/skawa_components, and the published packages at https://pub.dev/packages?q=skawa+components

@szepeshazi Thank you for your feedback.  Unfortunately we have a limit time budget for our project. Because of this we decided to rewrite the whole our project to Angular TypeScript.
Moreover, we did NOT found  that skawa table is component that completely satisfying our humble needs.

Hi there -- thank you for your passion for AngularDart! It's always exciting to see others who are getting value out of this project. It's encouraging to see this issue get a ton of thumbs up.
Firstly, let me (partly) reassure you. AngularDart is not going away and is as actively developed as ever, although we have shifted our focus a little.
As you have noticed, our activity on GitHub has become more bursty in recent months. Because of the heavy usage of AngularDart internally within Google, we moved the primary source of truth to google3, our internal mono-repo. Our goal is to push out new code to GitHub periodically, and we're in the process of automating this so that we’re able to improve the frequency of these syncs. And as you've seen, in the past few days, a large number of changes have landed from a broad set of contributors that bring GitHub up to date.
But yes: we also want to be honest that our focus has shifted somewhat, recognizing the heavy internal usage of AngularDart and comparatively low external developer base. AngularDart is ideal for large-scale data-heavy apps like AdWords with millions of lines of code, but there just aren't that many of this kind of app externally, and we've gradually recognized that. Externally we have a loyal but relatively small following, but AngularDart is probably never going to be a broad general-purpose web framework. Conversely, we have a growing audience of thousands of Google engineers using AngularDart internally, and so most of the features we build are with that audience in mind, knowing that what they need will likely also be of value to external developers.
Lastly, we want to recognize that with the emergence of Flutter’s support for the web, we have other motivations to continue to develop Dart web scenarios - from improved IDE tooling to compilers. In fact, our level of investment in web tooling for Dart is higher than ever, with more engineers working in this space than at any previous point in the project's history.
So, to summarize:

We're continuing to develop AngularDart, although our orientation has slightly shifted towards our internal audience, where it's proven very successful.
We will continue to release AngularDart builds externally to GitHub. Success for the project isn't measured by us in how many millions of external web developers adopt it, but we are delighted to have you as a customer if it suits your needs.

So in essence, do you plan on making any sorts of releases anytime soon? This is a dead serious question since we have an extremely large project at work, which by all means is comparable to AdWords. We have reached a point where we need to re-do a lot of the frontend, and while I rarely do anything there, I would like to use anything other than javascript(or typescript, which still lives within the Stephen King realm of horror that is the npm ecosystem: fun to read, not so much to live in). With this in mind, AngularDart seems like the only viable alternative. New releases and updates,

Come on @axegon, soldier on. Microsoft just acquired npm and will finally make it super reliable.
/s
What do you currently miss from AngularDart apart from UI comps ? The framework is a bit rough on the edges, but surely nothing is a deal breaker ?
Personally I don't get the enthusiasm for Flutter web. Correct me if I am wrong but it will make apps run on a canvas, the same way Flash worked ? If so performance will never be amazing.

@stanislasdrg even if an alien species acquires npm, it is far beyond repair(assuming there was something to repair, considering it's js). To be fair I don't miss anything from AngularDart. But much like anything else, you don't want to use something that isn't supported in any way, do you? It's all fun and games until everything stops working.
Flutter web, while promising is not a viable solution for anything other than mobile web I'm afraid. I played around with it some time ago - great performance, 0 usability on desktop(you can check my github.io for an example).

We are actively working to bring on the resources needed to continue releasing this package.
Sadly, timing aligned with global events to slow everything down.
Please know this is important to the team and we continue to make progress – just at a pace we all wish was quicker.

@kevmoo
First of all, I would like to thank you for your words and feedback.

@kevmoo @timsneath Thank you for reassuring us that you intend to keep the framework going. I was wondering whether to keep making AngularDart tutorials so your responses tell me to continue doing so. @mmcc007 Thanks for sharing the playlist 😉

The flutter is inspired by React. I know redux is pretty good pattern but it has limits on any web architectures, and not friendly web than Angular.
Cheer AngularDart, you should attract nest, ivy, karma or many developers. I hope really to activate this project.

Looks like we're getting another sync soon! https://github.com/dart-lang/angular/pull/1892

Looks like we're getting another sync soon! #1892

that pr seems quite big

sdk: ">=2.8.1 <3.0.0", that should solve many dependencies constraints errors

@kevmoo @timsneath I recommend you pin this issue so folks find it easier and hopefully avoid creating new issues on the same topic.

Very good to know that there is work behind the scenes.
https://github.com/dart-lang/angular/pull/1892

I think this tweet from the Group Product Manager for Flutter and Dart makes it clear

I think this tweet from the "Group Product Manager for Flutter and Dart" from Google makes it clear.
Flutter Web is the priority for Google

Guess I'll be cutting down on the AngularDart tutorials then.

I think this tweet from @timsneath "Group Product Manager for Flutter and Dart" from Google makes it clear.
Flutter Web is the priority for Google

This is too bad... you don't have to draw everything on canvas. Angular Dart has so much potential... . Dart is getting fame because of Flutter, people start learning it,... Angular Dart is good for anyone familiar with Angular TS, and this is the right tool to use. Imagine... Angular Dart, Aqueduct, Flutter... we are kicking Javascript left and right... (as someone with background of .net C#, words can't describe how much I dislike Javascript) Come on.

I think this tweet from @timsneath "Group Product Manager for Flutter and Dart" from Google makes it clear.
Flutter Web is the priority for Google

This is too bad... you don't have to draw everything on canvas. Angular Dart has so much potential... . Dart is getting fame because of Flutter, people start learning it,... Angular Dart is good for anyone familiar with Angular TS, and this is the right tool to use. Imagine... Angular Dart, Aqueduct, Flutter... we are kicking Javascript left and right... (as someone with background of .net C#, words can't describe how much I dislike Javascript) Come on.

Absolutely! Granted that the sync goes through sometime in the near future, I think someone should fork it and try to build a community around it and hopefully keep it alive. Personally, I'd be more than happy to contribute, despite having some time constraints.

I think this tweet from @timsneath "Group Product Manager for Flutter and Dart" from Google makes it clear.
Flutter Web is the priority for Google

This is too bad... you don't have to draw everything on canvas. Angular Dart has so much potential... . Dart is getting fame because of Flutter, people start learning it,... Angular Dart is good for anyone familiar with Angular TS, and this is the right tool to use. Imagine... Angular Dart, Aqueduct, Flutter... we are kicking Javascript left and right... (as someone with background of .net C#, words can't describe how much I dislike Javascript) Come on.

Absolutely! Granted that the sync goes through sometime in the near future, I think someone should fork it and try to build a community around it and hopefully keep it alive. Personally, I'd be more than happy to contribute, despite having some time constraints.

Sometimes, I think, because AngularDart is so fantastic and Google uses it a lot internally, Google may not want to share with the community this powerful structure that allows to develop in a pleasant way, magnificent, robust and complex applications.
I've been hoping to see updates for a long time, but it's becoming increasingly clear in the leaders' messages that the focus is different. Unfortunately!
Perhaps there will be two ways to see the evolution of AngularDart: working at Google :) or the community fork and evolve the framework itself.

You might want to stop copying that image into every reply, since it makes it harder to follow the thread :)
I know that this is a nuanced message, which therefore runs the risk of misinterpretation, so let me reiterate a few things:

We're continuing to actively develop AngularDart
Our primary audience is more Google-centric than it used to be, because we're seeing heavy usage in critical projects that pay our salaries
We're continuing to ship new builds externally, and we have one on the way when we've resolved various sync issues
We know AngularDart is fantastic: and we're glad you know, @supermuka :)
Flutter's web support isn't ready yet, we know. We're investing there because we are excited about it's long-term potential and we want to give it the very best shot at success.
No need for the community to fork AngularDart, since we're continuing to release new builds -- although of course you're welcome to do so as you always have been -- it's open source, after all!

so,
have you checked the new merge on master branch? :+1:
angular 6.0.0-dev
did anyone try it?

@timsneath can you share with us a road map for flutter web support, it is crucial information that I think Google must share with the community.

We're pretty open about our roadmap and progress, @bshlomo. Most recently, we posted this:
https://medium.com/flutter/going-deeper-with-flutters-web-support-66d7ad95eb52
Our focus right now is getting web support into the Flutter stable channel, which means completing work on CanvasKit support, accessibility, performance and plugins.  That will give us a solid foundation for further feature development work.

angulardart for creating sites (full-fledged sites) is the best choice, flutter now has a number of disadvantages that not everyone is ready to accept, as an example, not being able to copy text

Thank you @timsneath for the link abut flutter-web-support, very professional, and it seems that Google is doing a wonderful job.
Still, the unavoidable question is when?
We are in a situation that we need to make a decision with which technology to port & enhance a huge application that needs to be run in a browser & mobile from Java to Dart the alternatives are dart:html package, AngularDart or to wait for Flutter on the web
Road map information will help us to make the right decision.
No one can ignore Google's investment in Flutter, and it is pretty clear where the efforts are, and what will be in the future, but it will preferable if Google will be more clear about when we can start using Flutter on the web, even some rouge estimation will be most valuable to a lot of teams out there

@bshlomo as someone that's built & launched app on both Angular Dart & Flutter I would strongly recommend flutter for any new project. I can elaborate if you need but I don't want to derail this topic. Gitter is probably a better place to discuss, feel free to ping me.

@bshlomo as someone that's built & launched app on both Angular Dart & Flutter I would strongly recommend flutter for any new project. I can elaborate if you need but I don't want to derail this topic. Gitter is probably a better place to discuss, feel free to ping me.

Could we have a Discussions tab as to https://github.com/dear-github/dear-github/issues/44?

@bshlomo as someone that's built & launched app on both Angular Dart & Flutter I would strongly recommend flutter for any new project. I can elaborate if you need but I don't want to derail this topic. Gitter is probably a better place to discuss, feel free to ping me.

You could create an article in medium or some other blog system.
We are very interested in your story and arguments to use flutter web for new projects.
In a few months ahead we will be in the same position as @bshlomo and this would help a lot in the decision.

Thank you for your interest in this subject
I am sure that this issue (Web/Desktop development with Dart) is a "must clear" and the responsibility is on Google's.
Google must share with us more information about Flutter and or Angular Dart directions, milestones, dates, etc..
You can't pull thousands of developers after you, while they are asking (and not getting) some relevant information that is a standard in this industry and we call it "product's road map"
The effort, difficulty, challenge, and risk (and we all appreciate the wonderful job Google is doing on this) can't cause Google to ignore our needs as users for valuable information that will help us make our own decisions, I am sure that Google doesn't want that we lose money and time by making wrong decisions that result from a lack of basic but committed information.
Why send someone to start development with a dead product?
A development cycle can take years, why let us start a project with the wrong tools.
We don't want to guess, and this is not a quiz, we truly need answers and commitment, I sure that Google can supply them both.
About @jodinathan suggestion - article in medium - a very good idea
About @Sunbreak  suggestion - I don't know how to do it
About @jimmyff offer - I don't have Gitter, I will try to install it and ping you

@bshlomo Thumbs up https://github.com/dear-github/dear-github/issues/44 may help a lot
And it seems that GitHub prefers frontend frameworks/libs than any than repos:

https://github.com/zeit/next.js/discussions
https://github.com/cuelang/cue/discussions
https://github.com/cuelang/cue/discussions
https://github.com/pikapkg/snowpack/discussion

I use AngularDart extensively in a multitude of projects, in the company where I work, and particularly I love AngularDart.
I also use Flutter a lot for mobile applications and I love that too.
I think that Flutter has potential on the WEB for some scenarios, but not for all scenarios. I think that a WEB tool / framework for all scenarios has to support HTML and CSS and that AngularDart does very well.
I see that in the long term in the future if Flutter was executed in WebAssembly and using WebGPU this would bring high performance that would allow to port the html template language from Angular to Flutter this would bring the possibility of using Flutter with and without HTML, it already has some projects on GitHub that show that it is very possible to do this, for example there are some projects that show HTML rendering for Flutter widgets that would bring the best of both worlds.

Please add tutorial, Angulardart + gRPC and shelf or aqueduct(dart for backend) mmmm?

As far as I know, we need to route GRPC request through a proxy, and certain things are still not supported for example streamed input and streamed output.
The grpc-web example which I already looked through requires a GRPC web capable server, and currently the only working implementation of such server is written in node.js I was unable to find an example that makes us of Golang server.
GRPC must be implemented as a protocol in the web browser similar to HTTP to make it work without hacks.

You can use grpcwebproxy or Envoy for this which I've used in a pure Dart stack before. That being said, this is getting rather off-topic for this issue and further discussion related to GRPC in particular should probably be elsewhere...

Closing issue to avoid it becoming a suggestion box for all new feature requests :)
We have a new release coming imminently; our commitment to AngularDart is solid, albeit with a more pronounced focus on Google's large scale apps like Google Ads and Play Console.

Please see https://groups.google.com/a/dartlang.org/g/announce/c/Kz84KNBcf3U !


Vectortile label flicker

The goal of this pull request is to fix #10169.
First of all, this pull request fixes a bug: some declutter groups were previously added more than once, and empty declutter groups were also added to the list of declutter items. That issue caused some flickers during panning.
Also to reduce flickers during panning, we now consider an area around the viewport for decluttering. We start with the renderBuffer of the layer, and then we look at the width and height of the boxes of declutter candidates and increase the buffer dynamically.
To make decluttering more stable also during zooming, we now look at individual boxes of combined declutter items (i.e. text along lines, images combined with text). This leaves more options for declutter item placement, because no-go boxes more closely resemble the rendered content. This is especially true for streets that are not straight in horizontal or vertical direction.
There was also a fix in ol-mapbox-style, which caused labels to disappar. That issue is fixed with v6.1.2, which we also use in ol since yesterday.

This is now ready for review.
mapbox-vector-layer example before this change:

mapbox-vector-layer example after this change:


Allow custom extensions gallery set via environment variable

Would you accept a PR that allows a user to set an extension gallery via an environment variable based off this patch?

I am sorry that this change will not be accepted.
CC @isidorn


Develop upstream sync 180903

Weekly sync with upstream.

@jeffdaily @sunway513 how far are we getting this PR merged

After @deven-amd 's fixes and my fix to the cuda build, these are the remaining failures:
//tensorflow/python/estimator:keras_test                                TIMEOUT in 1215.0s
  /root/.cache/bazel/_bazel_root/86706540226bed5af3f7ba9c1699e357/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/estimator/keras_test/test.log
//tensorflow/python:init_ops_test                                        FAILED in 9.5s
  /root/.cache/bazel/_bazel_root/86706540226bed5af3f7ba9c1699e357/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/init_ops_test/test.log
//tensorflow/python/debug:debugger_cli_common_test                       FAILED in 4.9s
  /root/.cache/bazel/_bazel_root/86706540226bed5af3f7ba9c1699e357/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/debug/debugger_cli_common_test/test.log
//tensorflow/python/kernel_tests:list_ops_test                           FAILED in 9.8s
  /root/.cache/bazel/_bazel_root/86706540226bed5af3f7ba9c1699e357/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/kernel_tests/list_ops_test/test.log
//tensorflow/tools/api/tests:api_compatibility_test                      FAILED in 7.4s
  /root/.cache/bazel/_bazel_root/86706540226bed5af3f7ba9c1699e357/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/tools/api/tests/api_compatibility_test/test.log

Please verify if they are regressions or newly introduced tests and modify white lists accordingly and log at confluence

@jeffdaily ping

The test //tensorflow/python/kernel_tests:list_ops_test is failing.  I copied out a simple reproducer, replacing the asserts with print statements but leaving the asserts to show what the expected values had been.
# pylint: disable=g-bad-name
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import numpy as np  # pylint: disable=unused-import

import tensorflow as tf
from tensorflow.python.eager import backprop
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
from tensorflow.python.ops import list_ops

tf.enable_eager_execution()

with tf.device('/gpu:0'):
  with backprop.GradientTape() as tape:
    c0 = constant_op.constant([1.0, 2.0])
    tape.watch(c0)
    print("c0")
    print(c0)
    l = list_ops.tensor_list_scatter(
        c0, [1, 0], ops.convert_to_tensor([], dtype=dtypes.int32))
    t0 = list_ops.tensor_list_get_item(l, 0, element_dtype=dtypes.float32)
    print("t0")
    print(t0)
    t1 = list_ops.tensor_list_get_item(l, 1, element_dtype=dtypes.float32)
    print("t1")
    print(t1)
    #assert(t0 == 2.0)
    #assert(t1 == 1.0)
    loss = t0 * t0 + t1 * t1
  dt = tape.gradient(loss, c0)
  print("dt")
  print(dt)
  #assert(dt == [2., 4.])

If the device is /cpu:0, the result is correctly [2.,4.].  If the device is unset, the result is incorrectly [2.,1.].  If the device is /gpu:0, the result is incorrectly [2.,0.].

@jeffdaily thanks for the efforts :)


Weird problem with String

This works:
/* @flow */

class Person<A> {
  constructor(name: A) {
    this.name = name;
  }
}

type T = Person<String>;
var p: T = new Person(41);

If I change the type T definition to Person<string> (lowercase) flow complains:
This type is incompatible with
  /foo/bar.js:9:17,22: string

Or to Person<Stringgg>:
/foo/bar.js:9:17,24: identifier Stringgg
Unknown global name

Also works:
type T = Person<Person>;

but:
type T = Person<Array>

doesn't with:
/foo/bar.js:9:17,21:
Incorrect number of type parameters (expected 1)

should be fixed in 0.12!
thanks for the report


ui: bug in select all checkbox in authors

'select all' checkbox in authors didn't highlight selected papers checkboxes because of missing checked prop. Added missing prop to PublicationsSelect component

ref: cern-sis/issues-inspire#16

@karolina-siemieniuk-morawska thank you! could you please write some tests cases to make sure that it works?


fix: add Cargo.lock file

According to the official Rust documentation, including Cargo.lock in version control is generally not necessary for libraries, as their dependencies are resolved by the consuming application. However, since we are building a package (not a library), where dependencies are self-contained and cannot be inherited from external sources, maintaining Cargo.lock ensures reproducibility.
This is particularly important when packaging with tools like Nix (in fact, this PR is just for this, for allowing this package to be build with nix), where you must say where the cargo.lock lives (since, if this file doesn't exist, we don't really know the revision of the dependencies and each build could be nondeterministic).

Thank you, I was not aware!


Reactivity issue with l-marker options prop

Description

Maybe I don't understand how Vue2Leaflet wraps the leaflet library, but some expected practices don't seem to work properly with some features. Notably, the options prop, wherever it exists, doesn't seem to allow for reactivity. I can set an initial value to options, but whenever I try to bind it to a changing property, the changes don't seem to be applied to the related object. I have given a fiddle with an example for l-marker and the interactive option.
Live Demo

http://jsfiddle.net/0snpjgbe/
Steps to Reproduce
See fiddle.
Expected Results

When the option object given as prop changes, it should be applied. (In the given fiddle, when toggling Interactivity, the markers should not be interactive anymore)
Actual Results

The pins stay interactive.
Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari 9
[ ] Safari 8
[ ] IE 11

Versions

Leaflet: v1.3.2
Vue: v2.5.3
Vue2Leaflet: v1.0.2

@Carnid reactivity works on the properties which have a matching set / getter function in leaflet, so that we can update the property without having to redraw the whole element ( or chain of elements )
in this case the interactive options come from interactive layer and interactive layer does not have a setInteractivity method to update the property 'on the go' , but maybe you use case has a point and we should add a method to interactive layer to address this.
I will think of a change in this sense but is going to be done on the next branch, you can install it with:
"vue2-leaflet": "git+https://github.com/KoRiGaN/Vue2Leaflet.git#next",

@Carnid any contribution is welcomed, feel free to fork and checkout the master branch, at the end of the readme you will find the contribution guide.
The master branch is quite active since we are working on some bugfixes after a major refactor but we are happy for another set of hands!

@Carnid are you still interested in working on this? Closing for now but feel free to re-open


边缘服务运行正常，删除所在边缘节点，服务显示未完成，但服务仍然能正常访问

In GitLab by @cuiaq123 on Jul 16, 2020, 01:56

In GitLab by @luotian-github on Jul 16, 2020, 02:44
It is acceptable, will fix it in the next release

In GitLab by @luotian-github on Sep 4, 2020, 05:51
I'm fixing it


[3.1.0] kwmrc parse errors

In 3.0.7 this config works fine; however, in 3.1.0 it I get parse errors.
Parse error: Unknown token 'space'
Parse error: Unknown token '-'
Parse error: Unknown token 'fExperimental'
Parse error: Unknown token 'left'
Parse error: Unknown token 'rcmd'
Parse error: Unknown token '-'
Parse error: Unknown token ','
Parse error: Unknown token 'space'
Parse error: Unknown token '-'
Parse error: Unknown token 'fExperimental'
Parse error: Unknown token 'right'
Parse error: Unknown token 'rcmd'
Parse error: Unknown token '-'
Parse error: Unknown token '.'

Note that trying to start kwm via brew services didn't make me privy to these errors, I had to run kwm from the command line.  Are errors logged somewhere as part of the launchd process?

Not sure why that would parse properly in 3.0.7
The commands below are not valid
kwmc space -fExperimental left mod1-,
kwmc space -fExperimental right mod1-.

I suspect you wanted the following
kwmc bindsym mod1-, space -fExperimental left
kwmc bindsym mod1-. space -fExperimental right

for launchd to log, you need to specify that in the .plist file. You also have to be running a debug build of Kwm. (The homebrew version is a release build and does not include these logs).

Thanks! Unfortunately, even with those fixes, the 3.1.0 release build doesn't seem to work for me. It exits with a non-zero status without anything put on stderr.  Luckily there's was a 3.0.7 binary in the bin/ dir of the repo in a previous rev, so I'm using that for now (since I can't seem to get old versions of kwm from brew).
I've been having trouble building kwm from source, but I'll open a separate issue for that.

Probably related to #456
try adding the following to your config:
kwmc config border focused on
kwmc config border color 0x00000000

The following sufficed, thanks!
kwmc config border focused on


SARAALERT-1110: Vaccine Table

Description
Jira Ticket: SARAALERT-1110
This PR adds a new feature to the application for tracking vaccinations of a monitoree. It includes the following:

New vaccinations table on the monitoree's page
New Vaccine model, controller, and table in the database for tracking/handling vaccine records
Appropriate handling of vaccine data (purging, filtering)
Tests for all of the above
NOTE: There are two stub files (app/javascript/tests/patient/vaccines/VaccineModal.test.js and app/javascript/tests/patient/vaccines/VaccineTable.test.js) for the needed frontend tests. I will be filling those in before this is merged. Everything else, however, is ready for review.

For some context, the available data options for vaccine data need to be based on CDC values for vaccine group and product name. We eventually will likely need to CVX codes for vaccines as well (again from the same source), as a result we decided to maintain the data we currently support in a configuration file that we will need to maintain and update accordingly.
Support for export/import will be done in a separate PR.
Demo
https://user-images.githubusercontent.com/11698457/108736477-a80f7580-74ff-11eb-86c4-f5b79264a05f.mov
Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
config/vaccines.yml

New vaccine configuration data.

config/application.rb

Loading vaccines configuration file in as rails custom configuration. Access in Vaccine model.

app/models/patient.rb
app/models/vaccine.rb

Vaccines belong to patients.
Included validation for all fields on the vaccine model.

db/migrate/20210204191950_create_vaccines.rb

Migration for new vaccine table.

app/javascript/components/patient/vaccines/VaccineTable.js
app/javascript/components/patient/vaccines/VaccineModal.js

Frontend components for vaccines feature.

app/helpers/vaccine_query_helper.rb
app/controllers/vaccines_controller.rb
config/routes.rb

Handles loading the vaccines table data as well as creating, and updating vaccine records.

app/views/patients/show.html.erb

Added the vaccine table frontend component to patient page.

app/models/user.rb

User permissions relating to vaccines.

app/jobs/purge_job.rb

Vaccines will be purged in the purge job.

config/initializers/filter_parameter_logging.rb

Filtering vaccine data in logs.

app/models/history.rb

Vaccine history items.

app/javascript/packs/stylesheets/custom_table.scss
app/javascript/components/layout/CustomTable.js

Adding new custom-table class to handle vertical overflow in custom tables with dropdowns inside of them.

app/javascript/components/assessment/AssessmentTable.js

Noticed a small inconsistency relating to modal bools that wasn't causing any actual issues but was confusing.

lib/tasks/demo.rake

Generating demo dummy data.

Testing
This fix was tested on the following browsers (submitter must check all those that apply):

[x] Chrome
[x] Firefox
[x] Safari
[ ] IE11

Please describe the tests needed to verify your changes. Provide instructions for reproducing these tests. List any relevant details for your test configuration.
It's best to test with more options in the vaccines configuration file. This is easily done by adding more dummy data to vaccines.yml like so:
'COVID-19':
  name: 'COVID-19'
  vaccines:
    - product_name: 'Moderna COVID-19 Vaccine'
    - product_name: 'Pfizer-BioNTech COVID-19 Vaccine'
'TestGroup':
  name: 'TestGroup'
  vaccines:
    - product_name: 'TestVaccine'

Additionally, please test the following (and anything else you can think of):

Creating a vaccine record
Editing a vaccine record
Viewing vaccine records
Trying to do all of the above as different users (only some users have vaccine permissions)
Sorting vaccine columns
Searching in the vaccines table
Verify that the appropriate history items are created when vaccines are created/updated
Running the purge job and verifying vaccine data is purged

Working on addressing failing tests.

@hackrm

I see that the Jira ticket mentions an Administration Date 2 which is not included in this PR. Did the PO team decide to only have one Admin Date associated with a Vaccination record since you included the Dose Number field?

Yes, it went through many iterations before a decision was made. I will update the ticket.

Should a selectable blank option be available for the Dose Number field? With the current behavior, once a user selects an option from the drop down, they can't clear it out and are forced to select a value from the drop down.

Yes, there is a selectable blank option at the bottom.
For all your other points - great catches and I will investigate & address! Thank you!

@hackrm Fantastic catches - thank you! All have been fixed, see details below.

For the search box, for the most part it seems to work. But as soon as a user types in a search term that doesn't appear to return any vaccination records, the table does not display the "No data available in table" label and instead keeps displaying the set of records from the most recent successful search. For example, if you type in "COVID-19", all vaccinations with group "COVID-19" display as expected, but if you then search for "COVID-19test", the results displayed in the table will remain the same even though they no longer match the search term.

Ah, this was due to a bad check for the existence of the total value on the returned table data. If it was 0, nothing was being updated. Fixed here: 02fae9c

History entries seem to be created correctly, but the "Vaccination" and "Vaccination Edit" history type filters don't appear to work. When I filter for the "Vaccination" type history entries, no history entries are displayed even when I would expect to see some.

This was because apparently the HistoryComponent expects the key names of the HISTORY_TYPES objects to match the displayed labels exactly. Fixed here: 02fae9c

If the user is not on page 1 of the table and they search for a term, the table doesn't automatically set the table back to page 1.

Just needed to do a page reset in this handler. Fixed here: 02fae9c

I noticed some strange behavior with sorting columns when there are blank notes. I believe the expected behavior for sorting the "Notes" column is that all records with blank notes will always appear at the bottom of the sorted list regardless of what order the column is sorted in. But I found a way to break that behavior: (1) create a vaccination record with some text in the notes field (2) edit that new record and clear out the notes field so it is now blank and save it (3) sort the Notes column in the table in both ascending & descending order & observe the record you just updated with a blank notes field unexpectedly still displays in the top part of the sorted list with records that do have text in their Notes fields.

This was because it was an empty string and not nil in these cases. Fixed here: 02fae9c

When updating the Number of Entries to display in the table, the warning in the screenshot below appears (same thing happens when updating the Number of Entries in the Symptom Assessments table).

So this warning was actually being thrown by any component using the CustomTable. It's because the entries select dropdown returns a string which we then need to parse as an integer. Fortunately, it didn't actually affect functionality because the backend can parse it fine, is just a React prop warning. Fixed here: 02fae9c

@hackrm Blank dose number option now shows up first in modal: a6e3459

@timwongj @sgober @holmesie All comments should have been addressed. Let me know if I missed anything.


Fixes #295, Default securityContext and replicas settings were not copied over

Configuration merging seems a bit brittle.  This is the second occasion
where a default setting was not properly merged in.  I’ve also added a
reflective method to help merge over simple fields to try to get this
robust.

LGTM [merge]


using Template.subscriptionsReady ?

I need to wait the end of a subscription. I handle a subscription about 2000 items in a Leaflet heatmap. I want the heatmap displays after the subscription is complete.
I tried to use MeteorSubscribe.then() promise, but it fires before the end. So my heatmap is incomplete.
Template.subscriptionsReady is the perfect thing to handle that but how I use it in angular-meteor ?

Can you show how you're using MeteorSubscribe in the controller? The only time I've had issues with subscription data not binding to the template is when using ng-controller in index.html

Sure, here it is.
$scope.traces = $scope.$meteorCollection(Traces);

$meteor.autorun($scope, function(){
	$scope.getReactively('trackersIds',true);
	$scope.$meteorSubscribe('traces', {trackersIds:$scope.trackersIds}).then(function(){
	  	$scope.tracesCount = $scope.$meteorObject(Counts ,'numberOfTraces', false).count;
	});
});

I found a work around comparing the total number of items tracesCount in a reactive loop at each traces change.
$meteor.autorun($scope, function() {
	$scope.getReactively('traces',true);
	if($scope.traces.length == $scope.tracesCount && heat != null){
		var promise = makeTraces(); // A function that extract lats longs
								// from $scope.traces and put them in tracesCoords[]
		promise.then(function(finished) {
			heat.setLatLngs(tracesCoords);
			heat.redraw();
		});
	}
});

In your first example looksl ike your trying to get a collection without subscribing to it.
$scope.traces = $scope.$meteorCollection(Traces);

should be
$scope.traces = $scope.$meteorCollection(Traces).subscribe('traces');

Or combine it in the counts object subscription.

A trace has a trackerId property.
My first autorun re-subscribe to the traces when the list of trackersIds change. This works well.
The problem is that the subscribe promise doesn't wait the end of loading to resolve.
So my then() script start to handle an incomplete collection of traces.
It does:

subscribe
begin to load the collection
resolve the promise and continue the script (so with incomplete collection)
finish to load the collection

And I want:

subscribe
wait the end of the datas loading
handle my complete collection.

Hey @dagatsoin,
That is an interesting issue that I encountered a while back as well but haven't resolved yet. I suspect that this may be a Meteor issue but I am not sure. Can you try just using Meteor.subscribe and add a callback as the last parameter for when the subscription is ready?
From my previous trials I think that the ready event of the publication gets to the client before all the items in the publication actually get to the client.
Try it and share with us what happens

According to this post It seems that the this.ready() on the server is fired independently to the end of the data sending.
So client receive a "ready" event (which resolve the $meteorSubscribe promise) while documents are still loading.
So I have to do dome modification on my publish function on the server. I will do some test with added then this.ready() and share the result.

So. I am back to my issue. For now I try to not use the $meteorSubscribe callback but orignial Meteor.subscribe callback. But this does not work
I have in my client:
$meteor.autorun($scope, function(){
	$scope.getReactively('trackersIds',true);
	Meteor.subscribe(
		'traces',
		{
			trackersIds:$scope.trackersIds
		},
		{
			onReady:function(){console.log("rezdy")}
		}
	);
});

And on the server I use:
Traces.find({trackerId: { $in : trackersIds}}).forEach(function (trace) {
	self.added( "traces", trace._id);
});
self.ready();

But my client onReady callback never runs. I know the self.ready() is fired because it works when I use $meteorSubscribe callback. Does Meteor Angulart support takes clare of the onReady onStop callback ?

I think I will close this issue. It is not a real Angular Meteor issue but more a Meteor behavior.
Finally my workaround with the autorun works well. Even if Template.subscriptionsReady implementation in Angular Meteor could be more elegant.

It made me think that if the subscription is an observable - does it really "finishes"?

I would say yes. Because "dead" could be a state.

Le 19 juin 2015 à 18:27, Tally Barak<EMAIL_ADDRESS>a écrit :
It made me think that if the subscription is an observable - does it really "finishes"?
—
Reply to this email directly or view it on GitHub.


Decode spider logs self.body return none error

from kafka import KafkaConsumer
from frontera.contrib.backends.remote.codecs.msgpack import Encoder as MsgPackEncoder, Decoder as MsgPackDecoder
from frontera.core.models import Request, Response

dec = MsgPackDecoder(Request, Response)

consumer = KafkaConsumer(
   'frontier-done',
   bootstrap_servers=['localhost:9092'],
   auto_offset_reset='smallest',
   value_deserializer=lambda x: dec.decode(x))

for message in consumer:
   message = message.value
   print('{}'.format(message))
   print('\n\n\n')

Traceback (most recent call last):
  File "temp.py", line 25, in <module>
    print('{}'.format(message))
  File "/opt/anaconda3/lib/python3.7/site-packages/frontera/core/models.py", line 168, in __str__
    str(self.body[:20]), str(self.headers))
TypeError: 'NoneType' object is not subscriptable

I have modified the frontera/core/models.py
def __str__(self):
    if self.body is None:
        self._body = ''
    return "<%s at 0x%0x %s %s meta=%s body=%s... headers=%s>" % (type(self).__name__,
                                                                  id(self), self.status_code,
                                                                  self.url, str(self.meta),
                                                                  str(self.body[:20]), str(self.headers))

Because sometime the self.body return none, but I am not sure this is the best way to solve the problem.

You're overwriting body with empty string, which is not the same as None. So may be a better way is to create a local variable body = None if body is not None else body[:20] and use it in final result

@sibiryakov I think this is a bug, what do you think?
why i overwriting body with an empty string is that it should be an empty string.
frontera/core/models.py
https://github.com/scrapinghub/frontera/blob/5762a2658ee1d8c57a8edb3aa0cf4ac8df1b7a4e/frontera/core/models.py#L100
Traceback (most recent call last):
  File "temp.py", line 44, in <module>
    print(message)
  File "/opt/anaconda3/lib/python3.7/site-packages/frontera/core/models.py", line 168, in __str__
    self.body = None if self.body is not None else self.body[:20]
TypeError: 'NoneType' object is not subscriptable

Fixed by #375


feat: support RsaPrivateCrtKeyParameters being resolved from key pem

What does this PR do?
Adds switch case to determine if read object is actually AsymmetricCipherKeyPair or RsaPrivateCrtKeyParameters instead of hard casting it to AsymmetricCipherKeyPair.
Why is it important?
Tutorial of protecting socket results in pem key type which resolves as RsaPrivateCrtKeyParameters object type. Same outputs come from many other tutorials too so it is reasonable to support it.
Related issues

Closes #813

How to test this PR
Configure TLS protection to docker daemon according to tutorial and write simple hello-world usage.

Thanks for the pull request 🙏. Do you think we can cover the changes with a test?

Seems that if I replace DockerVersion with newest 24.0.5, object is resolved as RsaPrivateCrtKeyParameters.
If you give me a green light I'll do some refactoring to ProtectDaemonSocket fixture to make version overrideable and add duplicate test with other version including some verification that different type of object was actually resolved?

Seems that if I replace DockerVersion with newest 24.0.5, object is resolved as RsaPrivateCrtKeyParameters.

Ah, that is fortunate.

If you give me a green light I'll do some refactoring to ProtectDaemonSocket fixture to make version overrideable and add duplicate test with other version including some verification that different type of object was actually resolved?

Of course, certainly 👍. Couldn't we just verify if the generated key (inside _hostCertsDirectoryPath) matches the type we expect? This won't validate our internal resolution, but I think it's fine as long as we confirm that both types are working and not throwing an exception.

Couldn't we just verify if the generated key (inside _hostCertsDirectoryPath) matches the type we expect? This won't validate our internal resolution, but I think it's fine as long as we confirm that both types are working and not throwing an exception.

Sounds good. I'll write and commit it tomorrow along with fixture refac.

Great, take your time. There's no rush at all. Enjoy the rest of the weekend 🥳.

Here you go. Lot of patterns to go with but decided to use IClassFixture pattern. Naming is bit off after realising this is all from IETF TLS deprecation and therefore OpenSSL has been updated at some point. Of course open for suggestions.

Thank you for making the changes. For your information: I will be able to do the review earliest by the end of this week (possibly at the beginning of next week).

Thanks again. PR looks good.

Just tested it, working great now. Thanks guys!


ng update is failing to update build-angular dependency

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [x] update

Versions
v6 -> v7 update
before:
Angular CLI: 6.1.5
Node: 10.11.0
OS: linux x64
Angular: 6.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.7.5
@angular-devkit/build-angular     0.7.5
@angular-devkit/build-optimizer   0.7.5
@angular-devkit/build-webpack     0.7.5
@angular-devkit/core              0.7.5
@angular-devkit/schematics        0.7.5
@angular/cdk                      6.4.7
@angular/cli                      6.1.5
@angular/material                 6.4.7
@ngtools/webpack                  6.1.5
@schematics/angular               0.7.5
@schematics/update                0.7.5
rxjs                              6.3.2
typescript                        2.9.2
webpack                           4.9.2

after:
Angular CLI: 7.0.0-rc.3
Node: 10.11.0
OS: linux x64
Angular: 7.0.0-rc.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.7.5
@angular-devkit/build-angular     0.7.5
@angular-devkit/build-optimizer   0.7.5
@angular-devkit/build-webpack     0.7.5
@angular-devkit/core              7.0.0-rc.3
@angular-devkit/schematics        7.0.0-rc.3
@angular/cdk                      6.4.7
@angular/cli                      7.0.0-rc.3
@angular/material                 6.4.7
@ngtools/webpack                  6.1.5
@schematics/angular               7.0.0-rc.3
@schematics/update                0.9.0-rc.3
rxjs                              6.3.3
typescript                        3.1.3
webpack                           4.9.2

Repro steps

clone and yarn: https://github.com/StephenFluin/angular-update-guide
ng update --next @angular/cli @angular/core @angular/angular-material

The log given by the failure
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><7.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><7.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><7.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><7.0.0 || >6.0.0-beta <7.0.0".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS><7.0.0 || >6.0.0-beta <7.0.0".
warning "@angular-devkit/build-angular ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ~2.5.0 || ~2.6.0 || ~2.7.0 || ~2.8.0 || ~2.9.0".
Cannot read property 'parseJson' of undefined

The update of CLI and Core succeeds despite the red error, but build-angular is not updated to the correct version and Angular Material and the CDK are not update.
Desired functionality
ng update succeeds

This didn't work for me in one of my projects: https://github.com/alfaproject/rs-progress/tree/v6
P.S.: It also didn't remove the reflect polyfill.

This was also mentioned in https://github.com/angular/angular-cli/issues/12646#issuecomment-431317797.

@Splaktar this is was due to a very specific underlying issue that manifested in the following output: Cannot read property 'parseJson' of undefined.
What you are experiencing is most likely this: https://github.com/angular/angular-cli/issues/12647

@clydin thank you for the clarification. I've moved some of the comments over to that issue.

It might be helpful to update the topic of this issue to ng update: Cannot read property 'parseJson' of undefined to avoid more people posting that they are seeing issues with build-angular.


Dynamic coloring on all styles

Please see the description on linear.

Codecov Report

Merging #1251 (dd68c2c) into master (4d7d6b6) will decrease coverage by 0.63%.
The diff coverage is 94.82%.

@@            Coverage Diff             @@
##           master    #1251      +/-   ##
==========================================
- Coverage   97.28%   96.65%   -0.64%
==========================================
  Files          67       85      +18
  Lines        4235     5733    +1498
==========================================
+ Hits         4120     5541    +1421
- Misses        115      192      +77

Impacted Files
Coverage Δ

tests/test_binary.py
100.00% <ø> (ø)

httpie/output/lexers/common.py
25.00% <25.00%> (ø)

httpie/compat.py
31.11% <27.90%> (-68.89%)
:arrow_down:

tests/conftest.py
77.14% <58.33%> (-9.82%)
:arrow_down:

httpie/output/lexers/http.py
59.09% <59.09%> (ø)

tests/test_ssl.py
91.01% <66.66%> (-3.93%)
:arrow_down:

httpie/output/lexers/metadata.py
78.57% <78.57%> (ø)

httpie/manager/__main__.py
82.35% <82.35%> (ø)

httpie/uploads.py
98.68% <83.33%> (-1.32%)
:arrow_down:

httpie/models.py
94.94% <88.88%> (-2.42%)
:arrow_down:

... and 66 more

Continue to review full report at Codecov.

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


Preprocess colab

I've added the colab notebook which does all of the pre-processing parts.
Now, instead of labeling the data inside the Google Cloud bucket, I'm downloading it inside colab and then dividing them into its respective folders. When we talk to Dan next, it would be easier to throw the files into its respective pod folder.
Just a heads up, the last step in the notebook for converting audio chunks to images works, but is pretty slow. I'm looking for ways to fasten it up.

The looks like this commit needs to be rebased.  Can you do that and then we'll merge the notebook into the repo.


need new option to set PutObjectRequest Property DisablePayloadSigning to true

I am using Cloudflare R2 and they support few of the S3 APIs. But Cloudflare R2 does not currently support the Streaming SigV4 implementation used by AWSSDK.S3.
So, it would be nice to have an option to pass DisablePayloadSigning = true in PutObjectRequest
https://developers.cloudflare.com/r2/examples/aws/aws-sdk-net/#upload-and-retrieve-objects

Fixed by https://github.com/serilog-contrib/Serilog.Sinks.AmazonS3/issues/56


fixed update statement for accept/reject

this enables accept/reject on active entities on HANA/CF. Accept/Reject on drafts needs some further investigation, though.


Fix a typo in variable name

Fixed a typo. :)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Optimize record value class

Purpose
This also removes the locks from map implementation.
Times for 2B operations:

Value
Operation
Before (ms)
After (ms)

Record
Create
4091
1391

Get
1490
429

Set
2920
1408

Map
Create
4834
2808

Get
1584
360

Set
3201
2026

Sample code used:
type PersonRecord record {
    string fname;
    string lname;
    int age;
};

PersonRecord pr = {fname : "John", lname : "Doe", age: 25 };

function recordGet() {
    _ = pr.age;
    _ = pr["fname"];
    _ = pr["lname"];
}

function recordSet() {
    pr.age = 30;
    pr["fname"] = "Jane";
    pr.lname = "Doe";
}

function createRecord() {
    PersonRecord pr = { fname : "John", lname : "Doe", age: 25 };
}

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/19654
Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19811 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #19811   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

Continue to review full report at Codecov.

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


Resolved Bug 670 : Storybook > Component > Blog Post > Small, Large Mobile view Cover Image alignment issue.

Description

Added bootstrap class to handle responsiveness for small and large mobile in Blog Post Component in File Uploader element

Large Mobile reference

Small Mobile reference

Fixes # (issue)

#670

Type of change

Bug fix (non-breaking change which fixes an issue)

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 commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Changes Reviewed and PR Approved


Is looping through a variable array possible within a pipeline?

I have a text file with name1 and name2 in it.
I also have a Powershell script made $clientvariable = Get-Content -Path {FilePath}/{File};Write-Host "vso[task.setvariable variable=clientname]$clientvariable
The variable clientname has values name1 and name2 associated to it after running the script.
In my pipeline is it possible to use clientname = name1, pass that variable value through for overriding parameters in my ARM template, then loop back and run clientname = name2 and repeat?
I am trying to essentially take each name and create resources for it with a certain naming convention. My ARM template can pass through a single name fine and create resources. Once I include a second name in the array the pipeline run returns an empty key value error and this is most likely due to the fact that clientname = name1 name2 as a concatenation.

+1

@ranjitk92 Thank you for the question.
Please see if this post or this post can help offer solutions for variable looping.
Otherwise, for addional support, please move this issue to one of the following support channels:

Azure DevOps community
Azure DevOps support
Azure DevOps on Stack Overflow


added prettier-vscode to formating tools section

Name of an extension you are adding
prettier-vscode
Why do you think this extension is awesome?
Easily integrates the prettier formating tool into VScode for best experience of JavaScript writing.
Make sure that:
[ ] Screenshot/GIF included (to demonstrate the plugin functionality)
[X] ToC updated

Hi, thanks for the PR! Two things:

Conflicts
This PR also removes another extension from the list, is this intentional?

Fixed both the issues.

Just double checked, Prettier is already a part of a collection.