metrics results of test dataset

After I run the code eval_davis_2016.py, I only get the mask file in the output file. how could I get the value of metrics such as J, J&F?  and how could we test the model on personal datasets to get those metrics after using interactive_gui.py?
Thanks for your suggestions

Use DAVIS's official tool: https://davischallenge.org/
You cannot unless you have the ground truths.

Yes, I have the ground truths. Is it means I need to write my own code to evaluate the metrics or I can referee the DAVIS official tool?

You can map your data into DAVIS format and use DAVIS's tool.

Thanks for your reply! It works well.


Access to log event during custom mapping

Ability to enrich the ECS from the log event
This is a breaking change but not sure if anyone was using this

Would close issue #20

Hi @alaw-emoney,
Thank you for your contribution, makes complete sense to pass the LogEvent to the Func. Would you mind signing our contributor agreement first, so that I am able to merge in this PR?
https://www.elastic.co/contributor-agreement
Thanks

Hi @alaw-emoney, we have found your signature in our records, but it seems like you have signed with a different e-mail than the one used in your Git commit. Can you please add both of these e-mails into your Github profile (they can be hidden), so we can match your e-mails to your Github profile?

I have requested someone from eMoney sign the agreement for the whole company

Hi @alaw-emoney - how are you getting on with the CLA signature? I was hoping to release a new package this week and would really like to include this PR change as I believe its very useful. Despite us being in pre-release I would prefer to limit the number of breaking changes if possible.


Diff ignores arrays

Hi,
When calling Diff.diff() to generate deltas between states, arrays properties are always cloned in the result, even if there is no change in the array. This method seems to support diffing between arrays, so this is probably an unexpected behavior.
Arrays are objects, but Object.prototype.toString.call() returns [object Array] for them, not [object Object], so this check fails and the arrays content is always cloned. Changing the condition from if (origPType !== '[object Object]') to if (origPType !== '[object Object]' && origPType !== '[object Array]') makes it possible to diff between array properties and significantly reduces the deltas size on my tests (up to x10 on some games).
Also, I have a question: why deltas are not used for saves? This could reduce the localStorage space usage, and maybe remove the need for lzstring (or at least speed it up as the data to compress would be smaller).

Also, I have a question: why deltas are not used for saves? This could reduce the localStorage space usage, and maybe remove the need for lzstring (or at least speed it up as the data to compress would be smaller).

Ignore that part please: deltas are used for saves, but they are created after the call to stateMarshal() instead of during that call.

I know that it used to handle arrays.  I don't recall at the moment if array handling was purposefully removed for some reason or it was accidentally dropped during a revision.  At a guess, it's probably the latter.
I'll look into it when I get my workstation up and running again.

FYI, it probably stopped working when you added code to filter out unknown non-generic objects (r1617 from the old mercurial repository). The commit message does not mention arrays explicitly, so probably a mistake indeed.


Update components.json

Updated stars for STWUI

Due to an error cause by fffedf4 the CI was broken.
Can you please rebase your branch with staging to get the fix.

closing due to inactivitiy. plus there's a PR pending to add a script to update all stars, which would be better than handling these as one offs


Callout for Supabase rate limits

and ~may~ does have rough edges

Might have to do with the default eventsPerSecond param of 10. If you don't instantiate the Supabase client with that at something higher it might feel a bit laggy. I'd go with 40, as the closest you'll be to a hosted region is a ~20ms ping. Example is on the Quickstart: https://supabase.com/docs/guides/realtime/quickstart#cursor-positions
Also, for hosted Supabase, there is a server side messages per second limit. Currently, projects start out at 100 per second across the whole project. There is a limit of the monthly messages on the free plan but we're not enforcing that yet. A little more info: https://supabase.com/docs/guides/realtime/rate-limits
Wanted to make sure you, and others, were aware just in case!

That's great, I'll definitely add this to the README. Thanks!


Introduce PR and issue templates

This PR introduces issue and PR templates. If you are wondering what is looks like check out gitter channel.
I've used the templates from MvvmCross and i hope that @CheeseBaron is ok with it, if not i'll make my own.

Just for transparency. I gave my consent to use those templates in a private chat 👍


Isolate script plugins from target's classloader

Script plugins were unintentionally using the classloader scope of their target
as their parent scope. This means that types were leaking in the wrong direction
and that these script plugins were loaded many times (once per target) instead of
once.
In an especially severe situation this caused the script plugin to force resolution
of the parent scope too early, leading to a wrong script classloader cache key and
thus reloading that script on every single build. This increased configuration time
of a 250 project build by several seconds.
Script plugins now use the base scope of their target as their parent scope,
properly isolating the two and fixing the performance issue above.

Is registry.bin.lock file being added on purpose?

Thanks for the review @adammurdoch and good catch @thc202!


Discussion: handling bugs in live smart contracts

As we work toward mainnet launch, we should figure out what mechanisms to put in place to mitigate issues caused by buggy smart contract logic. In other words, what happens if already created smart contracts have serious bugs in them?
We could, for example, make Origin smart contracts upgradable. There are various ways to write these. As @DanielVF points out, the greater challenge may be political, since being able to upgrade existing contracts opens up various cans of worms.
Let's discuss!
cc @joshfraser @matthewliu @DanielVF @tyleryasaka @wanderingstan @nick @crazybuster

We should have a way to upgrade our smart contracts and fix any bugs. It's highly unlikely that we're going to get everything perfect on our first try. That said, our goal should be to remove ourselves from having that much power. We should have a function we can call to close that backdoor once we're sufficiently convinced that our code is safe and stable.

It seems to me the political issue may be initially limited.
What really matters now and for at least a year is that it works and no one can expect perfect code from the start.
It will certainly become an issue later on, when real money is involved, but I think you guys have some time before politics kick in.
Just my personal perspective of course.

As I understand the political/ethical point of view, the ideal system on ethereum is a DAO. That's on one extreme, where the other extreme would be centralized oligarchy, like 19th century robber baron with cigar and monocle style centralization.
Historically, movements away from central power have happened: Magna Carta, American Revolution. What differentiates the American system from an oligarchy is the system of checks and balances. Even though there are 100 individuals with the power to create and change how every person living in the country goes about their lives, they can be veto'd and are also elected by the populace. Even though there is an individual which is the head of the armed forces, he/she is also elected and can be impeached. Similarly for the arbitration arm of the government, the supreme court.
Of course, there are criticisms of the system as it currently exists, as the world of 2018 is very different than that of the mid 18th century. But it does seem to me like the mutability/evolutionary capabilities of something like the logic underlying a protocol for decentralized commerce is a governance question. Who can change that logic? Under what circumstances? Whose approval?

@tyleryasaka I have some questions:

If I'm understanding correctly, the smart contract logic and origin.js would have to be able to handle any version of the data prior to and including the version that was current at the time they were released. Is that true?
According to this article, there are "potential security vulnerabilities" with the proxy pattern. I couldn't find more information on that. Do you know anything about this?
How would this handle removal of contract data fields? Or maybe we don't allow removals and instead deprecate fields over time?

Supporting an unbounded number of versions of the data adds unbounded bloat to the code. We'd need a way to somehow manage that. Maybe we'd have periodic major releases that would allow us to get rid of some backward compatibility code. This could work well with short-lived contracts.
A half-baked idea I was that of "in-memory migrations." They'd be like database migrations (which take the DB from v1 to v2 to ...) and would allow you to, in memory, migrate contract data to the current format so that most of the application code needs to only understand one data format. For example, there'd be a lower-level part of origin.js that performed these "migrations" on smart contract data before passing it on to the rest of origin.js.
Also, there may be useful ideas to borrow from how Stripe does API versioning.

I also think it's possible that we go with a simpler, more centralized approach for v1 and transition to something more decentralized over time. You learn a whole lot with any v1, and it'd be unfortunate to lock ourselves into pre-v1 decisions prematurely.

Cardstack has a blog post that describes their upgradable smart contract system. They use a separate storage contract that holds a bunch of mappings and can stay in place indefinitely. Also, they use ENS to point to the latest version of contracts and have a contract upgrade system (as well as a way to freeze the token or specific accounts). This strategy involves less "magic" than other approaches I've seen.
Openzeppelin also has a proxy contract approach, but it has some pitfalls:

Using delegatecall means that any contracts that inherit from a base upgradable contract class must respect a specific inheritance order to maintain the same storage layout
The inheritance hierarchy seems deep. I'm personally a fan of flatter inheritance hierarchies.
delegatecall requires more care than mappings do. This may just be paranoia on my part, but I prefer less magic in delicate parts of the system.

Love the idea of using ENS. We already have a few relevant ENS names reserved.
I do not think we should give ourselves the power to freeze specific accounts.

I think we decided to punt on this. Removing my own assignment.


Introduce blog

Ported the infrastructure from jest.

Nooo it will break the mobile layout :((
On a more serious note, should we move Newsletter somewhere else since the top bar is getting a bit crowded. It seems like the less important tab and is an external link. It is also pretty similar to the blog.

Agreed it is crowded. Idea: we can move the newsletter as part of showcase. I would see
[featured]
[newsletter embed]
[rest of them]

It would fit nicely but it doesn't feel related to showcase. Maybe a link in the blog sidebar before/after recent posts? There is also the footer but it isn't visible at all on the home page.

:shipit:

@facebook-github-bot shipit


Two fixes - implementation of SoTextureCoordinateObject and draggers working with moving cameras

Original pull request by Gerhard R (Bitbucket: gerhardr, GitHub: gerhardr).

The two commits fix two things:

implemented SoTextureCoordinateObject for linear texture functions
fixed draggers so that interaction works correctly even if the camera is moving while a
user moves the dragger

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).

Gerhard,
I see that sometime ago you raised this pull request. I have been looking at your proposed changes to the SoDragger file. Can you explain what the problem was and why the change you propose works?
Thanks,
Roy

Original comment by Gerhard R (Bitbucket: gerhardr, GitHub: gerhardr).

Hi Roy,
Good to see that someone is again interested in Coin3D :). Are you becoming an active maintainer ?
About the SoDragger.
SoDragger stores a SbViewVolume data structure to compute the projection of the 2D mouse pointer onto the dragger geometry. This includes the projection information from the current camera, the camera transformation and any other transformation along the path to the dragger. However, the dragger computes this information only once, at the beginning of the interaction (mouse down event). After that it is assumed to be fixed.
We were using Coin3D in a large virtual reality/augmented reality framework and for us the camera usually represented the head mounted display of a user. So the camera was tracked by some real-time tracking device and would move also during dragger interaction. Therefore the above information would be wrong and the interaction would become difficult or even impossible.
My fix changes that so that the dragger always updates this view volume data structure. basically, I only had to add the code to the SoDragger::getViewVolume(void) method. However to make various symbols visible, I also had to move them before the getViewVolume implementation. That is the second part of the change.
It is not the most efficient way, but should not be so expensive as it only happens on an interaction event. As the FIXME comment by pederb states, it would be better and more efficient if the SoHandleEventAction would already compute the transformations along the paths.
let me know, if you have any other questions. I would be happy if the fix goes into some publicly used version of Coin3D.
cheers,
Gerhard

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

I can confirm that SoDragger has this problem. I don't have a head mounted display (yet) but we do work with 3Dconnexion Space Navigator, which allows us to change the view direction during dragging.
However, I think (haven't tried it but just by looking at it) that testing for vvdata and the dbaction can stay where they were, and only do
#!c++
  if (PRIVATE(this)->draggercache && PRIVATE(this)->draggercache->path) {
    PRIVATE(this)->cbaction->setViewportRegion(PRIVATE(this)->viewport);
    PRIVATE(this)->cbaction->apply(PRIVATE(this)->draggercache->path);
    PRIVATE(this)->viewvolume = vvdata->vv;
 }

inside getViewVolume(). Would you agree, Gerhard?
Bastiaan.

Original comment by Gerhard R (Bitbucket: gerhardr, GitHub: gerhardr).

Hi,
I am not sure, but I just looked at the full code of SoDragger.cpp and I
see that the implementation in getViewVolume was moved from setCameraInfo().
So I think it needs to be as it is, because otherwise the vvdata struct and
the callback action are not initialised.
cheers,
Gerhard

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

I assumed that getViewVolume() would only be called after picking the dragger, which would cause the initialisation. But this may not always be the case, I don't know. So it is safer to do it your way.
Bastiaan.

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

While at it, could you explain a little about the second fix? (Next time maybe make separate pull requests for each fix.)

Does this make the implementation complete? Then the FIXME note by pederb can go.
dummy_object is not dummy anymore? -> name change.
Would you be able to fill in the gaps in the documentation? (I have no idea how and where this is used...)

Original comment by Gerhard R (Bitbucket: gerhardr, GitHub: gerhardr).

Hi,
yes, the second fix for SoTextureCoordinateObject just adds the missing implementation. Basically it allows to set a generic 4x4 matrix for texture coordinate computation. See the OpenGL docs for details: http://www.opengl.org/sdk/docs/man2/xhtml/glTexGen.xml
We used this for projective texture mapping, then the 4x4 matrix is the projection matrix into the "virtual camera" that projects the texture onto the geometry.
To your questions:

yes, I think it is complete that way
well, it is still pretty much a dummy just to be able to return a const & Vec4. So name change is maybe not necessary
Not really. I currently don't have time to work on this anymore. I stopped working with Coin3D several years ago. This pull request was the last attempt to contribute to it :)

Do you have more plans with it? I have a bunch of general extension nodes that could easily be added.

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

OK thanks.
Well, since Kongsberg gave up Coin3D it is now up to its users to keep it alive. Luckily Roy stepped up as the new maintainer. We are still organising ourselves, but I think there is enough interest to keep it going; I certainly hope it will.
You are very welcome to share your extension nodes. If not in Coin, they could find a home in SmallChange. It would be best if you can adopt the same license (but you can keep the copyright) in order to keep legalities as simple as possible.
This is the mailing list: https://groups.google.com/forum/#!forum/coin3d-discuss
Thanks,
Bastiaan.

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).

Thanks for all the comments, Gerhard and Bastiaan. I will test your code changes in my application and let you know.
While we are considering draggers can I also ask you to glance at issue #28 which I raised some time ago. Maybe one of you could test the code change for me.
Gerhard, if you are willing to share your extension nodes then please let us know what they are.  I will start off a forum thread on the topic, with a list of ones I could share.
Thanks
Roy
Roy

Original comment by Gerhard R (Bitbucket: gerhardr, GitHub: gerhardr).

Hi Roy,
I posted a list of nodes on the google group. I didn't know this existed, very nice to still see so much interest in Coin3D.
I won't have time in the next month to help with anything at all, but might be able to help with some integration work after that.
cheers,
Gerhard

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).

Gerhard,
I have implemented both these fixes in my viewer application. I was able to test the dragger change and that is OK. I don't have a model to really test your SoTextureCoordinateObject change. Is it possible, or practical, for you to supply me with one?
Roy

Original comment by Gerhard R (Bitbucket: gerhardr, GitHub: gerhardr).

Hi Roy,
Here is an example IV file. The image in the Texture2 node can be any image you want. The idea is that the texture should be projected onto the cube as if it is thrown by a video projector onto the geometry. so the front of the cube will have a smaller image than the back etc.
I am not sure what the resulting image will look like for this file, I fixed this several years ago and I don't have a running Coin3D installation for over a year on my machine.
cheers,
Gerhard
#Inventor V2.1 ascii

Texture2 {
    filename "portal_home_color.png"
    wrapS CLAMP
    wrapT CLAMP
}

TextureCoordinateObject {
    factorS 1 0 0 0
    factorT 0 1 0 0
    factorR 0 0 0 0
    factorQ 0 0 1 0.5
}

Cube {}

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).

Hi Gerhard,
I tested your file with my own image. It all worked OK. I am happy to accept the pull request now.
Many thanks for your assistance
Roy


Ensure a client certificate is used by clients to authenticate to Kubernetes Engine Clusters

Possible check to target the following resource

[ ] google_container_cluster

closing, tracking in spreadsheet


After login always sends me to Dashboard

All roles must have redirections. According to their role redirections, we can send them to a particular path.
Right now, all user logins are sending me to Dashboard whereas seems dashboard permissions are not given to the particular user.
We are using the same approach in our of our project.

Yes for that you need to do customization and after login needs to check role and accordingly send to different places or dashboard. you can check the example of admin and frontend user.


Need comprehensive list of Data Entity loading order - templates do not cover enough

[Enter feedback here]
The loading order for Data Entities is critical. Even though Microsoft indicates that the default templates contain the loading order for Data Entities, many entities are missing and some have the wrong loading order.
The reports section of this page should list a report that comprehensively presents the Unit, Level, and Sequence for each Data Entity and this needs to be kept up to date by Microsoft. This missing piece of information is critical for smooth data migration and governs data integrations as well when multiple Data Entities are involved.

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

ID: 3d5216b9-6405-4bfc-04ad-dd9e8ec43a02
Version Independent ID: c32d61d8-87b9-071c-d402-fcc74e21ddb7
Content: Find information about standard data entities - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/data-entities/data-entities-report.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @RobinARH
Microsoft Alias: rhaertle

@ronsonntag54, thank you for providing this feedback.
@RobinARH, please review.

Bug 588194 has been logged to track this issue.

I opened this in May and it is now November. The best that Microsoft can do on this issue in 5 months is close a duplicate item?

@Sunil-Garg, please review and address the feedback.

@@.> pls have @@.> as the owner for Data management areas.
Thanks.
From: Sally Erickson @.>
Sent: Monday, November 29, 2021 11:19 AM
To: MicrosoftDocs/dynamics-365-unified-operations-public @.>
Cc: Sunil Garg @.>; Assign @.>
Subject: Re: [MicrosoftDocs/dynamics-365-unified-operations-public] Need comprehensive list of Data Entity loading order - templates do not cover enough (#3369)
Assigned #3369https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-unified-operations-public%2Fissues%2F3369&data=04|01|sunilg%40microsoft.com|365f8fcac57f4e401c5b08d9b36d11af|72f988bf86f141af91ab2d7cd011db47|1|0|637738103298237268|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=LaC7rMfC365JUqiBazlSLlHjrrTkU1c1jhGywYKFy%2FQ%3D&reserved=0 to @Sunil-Garghttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSunil-Garg&data=04|01|sunilg%40microsoft.com|365f8fcac57f4e401c5b08d9b36d11af|72f988bf86f141af91ab2d7cd011db47|1|0|637738103298237268|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2BL6B7IH%2FTRbSlW7EaqQG%2BTlsYqU9Z6j04QDp6yu2BqU%3D&reserved=0.

You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fdynamics-365-unified-operations-public%2Fissues%2F3369%23event-5687145480&data=04|01|sunilg%40microsoft.com|365f8fcac57f4e401c5b08d9b36d11af|72f988bf86f141af91ab2d7cd011db47|1|0|637738103298247230|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=hYKz7HyRx33Cm3Qxe87%2FNavqWoPgHge6uOqJUVtky60%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHNKDW3PZX544PKHLQNH5ILUOPGZPANCNFSM45QCAPSQ&data=04|01|sunilg%40microsoft.com|365f8fcac57f4e401c5b08d9b36d11af|72f988bf86f141af91ab2d7cd011db47|1|0|637738103298247230|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=taOeEydl5wGzVn6LomXbMXb30QynBiXvXV9nE5oRtlg%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|sunilg%40microsoft.com|365f8fcac57f4e401c5b08d9b36d11af|72f988bf86f141af91ab2d7cd011db47|1|0|637738103298257177|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=XPdf8FmIxv1TWeGZ5yKPp1Q0o7bbrTF6aFnmbbgXfoU%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|sunilg%40microsoft.com|365f8fcac57f4e401c5b08d9b36d11af|72f988bf86f141af91ab2d7cd011db47|1|0|637738103298257177|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=HKIuiZvvH2tzNc%2F96T4URa9s2juZ3wxFoQbodP%2FjBSc%3D&reserved=0.

@peakerbl, please review and address this feedback.

Closed as won't fix.


Added travis.

<=2.4 do not have KernelTestCase, so we can test only with symfony 2.5+
You need to do that http://docs.travis-ci.com/user/getting-started/

https://travis-ci.org/kuczek/router-bundle - results.


UltraPro WFD7103 RGBCW Downlight

Product: https://www.amazon.com/gp/product/B09LMN8HHC/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
itchiptool Storage data: ultrapro_downlight.txt
I got 3 of these with different firmware.
1.2.7
1.2.16
1.2.21

Added a schema/profile for each version.
Only storage dump of a cut device, profiles were hand-generated from compatible profiles.


Allow multiple mobile numbers under each name

A user can have multiple phone numbers associated with him.
Add a functionality to allow the addition of more than one number under same name.
In case a record with that name already exists, ask the user if he/she wishes to merge both the contacts or create a new one.

Hey @sakshi2912 , I would like to work on this!

Hey @sakshi2912 , I would like to work on this!

Sure , I've assigned you to this issue.

Isn't this already done...Can we do it again??

Isn't this already done...Can we do it again??

You can do it


fix: remove fixed error message check

A new version of pandoc-ruby was recently released that changes the behaviour of how the pandoc executable is invoked. source. This caused one of the tests in the default branch to start failing.
The change introduced in this PR makes the minimal change necessary to fix the failing test while preserving the desired behaviour to unblock merging into the main branch.
/cc https://github.com/dependabot/dependabot-core/pull/2849

Re-running build because of:
     # Dependabot::SharedHelpers::HelperSubprocessFailed:
     #   Creating virtualenv meine-stadt-transparent-DpO8lN-q-py3.10 in /home/dependabot/.cache/pypoetry/virtualenvs
     #   Updating dependencies
     #   Resolving dependencies...
     #
     #     SolverProblemError
     #
     #     Because textract (rev 0776b86cd01fbad5b2518f75a659a1e5b614a5bd) depends on SpeechRecognition (3.7.1) which doesn't match any versions, textract is forbidden.
     #     So, because meine-stadt-transparent depends on textract (rev 0776b86cd01fbad5b2518f75a659a1e5b614a5bd), version solving failed.
     #
     #     at /usr/local/.pyenv/versions/3.10.0/lib/python3.10/site-packages/poetry/puzzle/solver.py:241 in _solve
     #         237│             packages = result.packages
     #         238│         except OverrideNeeded as e:
     #         239│             return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
     #         240│         except SolveFailure as e:
     #       → 241│             raise SolverProblemError(e)
     #         242│
     #         243│         results = dict(
     #         244│             depth_first_search(
     #         245│                 PackageNode(self._package, packages), aggregate_package_nodes
     #   ./lib/dependabot/python/update_checker/poetry_version_resolver.rb:324:in `run_poetry_command'

Not you too Bundler. 😞
Failures:

  1) Dependabot::Bundler::UpdateChecker#latest_resolvable_version_with_no_unlock given a gem from rubygems with a version conflict at the latest version
     Failure/Error:
       SharedHelpers.run_helper_subprocess(
         command: command,
         function: function,
         args: args,
         env: {
           # Bundler will pick the matching installed major version
           "BUNDLER_VERSION" => bundler_version,
           "BUNDLE_GEMFILE" => File.join(helpers_path, "Gemfile"),
           # Prevent the GEM_HOME from being set to a folder owned by root
           "GEM_HOME" => File.join(helpers_path, ".bundle")

     Dependabot::SharedHelpers::HelperSubprocessFailed:
       undefined method `name' for "Gemfile":String
     # /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:120:in `run_helper_subprocess'
     # ./lib/dependabot/bundler/native_helpers.rb:44:in `block in run_bundler_subprocess'
     # ./lib/dependabot/bundler/native_helpers.rb:40:in `run_bundler_subprocess'
     # ./lib/dependabot/bundler/update_checker/version_resolver.rb:82:in `block (2 levels) in fetch_latest_resolvable_version_details'
     # ./lib/dependabot/bundler/update_checker/shared_bundler_helpers.rb:54:in `block in in_a_native_bundler_context'
     # /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:48:in `block in in_a_temporary_directory'
     # /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:48:in `chdir'
     # /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:48:in `in_a_temporary_directory'
     # /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:37:in `in_a_temporary_repo_directory'
     # ./lib/dependabot/bundler/update_checker/shared_bundler_helpers.rb:50:in `in_a_native_bundler_context'
     # ./lib/dependabot/bundler/update_checker/version_resolver.rb:81:in `block in fetch_latest_resolvable_version_details'
     # /home/dependabot/dependabot-core/common/lib/dependabot/shared_helpers.rb:164:in `with_git_configured'
     # ./lib/dependabot/bundler/update_checker/version_resolver.rb:77:in `fetch_latest_resolvable_version_details'
     # ./lib/dependabot/bundler/update_checker/version_resolver.rb:43:in `latest_resolvable_version_details'
     # ./lib/dependabot/bundler/update_checker.rb:53:in `latest_resolvable_version_with_no_unlock'
     # ./spec/dependabot/bundler/update_checker_spec.rb:1451:in `block (3 levels) in <top (required)>'
     # ./spec/dependabot/bundler/update_checker_spec.rb:1466:in `block (5 levels) in <top (required)>'
     # ./spec/spec_helper.rb:54:in `block (2 levels) in <top (required)>'
     # /home/dependabot/dependabot-core/common/spec/spec_helper.rb:49:in `block (2 levels) in <top (required)>'
     # ./.bundle/ruby/2.7.0/gems/webmock-3.14.0/lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'

Finished in 6 minutes 13 seconds (files took 1.4 seconds to load)
753 examples, 1 failure, 18 pending

Failed examples:

rspec ./spec/dependabot/bundler/update_checker_spec.rb:1466 # Dependabot::Bundler::UpdateChecker#latest_resolvable_version_with_no_unlock given a gem from rubygems with a version conflict at the latest version


browser as a device for webgpu (proof of concept)

run webgpu on an actual browser
single TCP connection
can scale to multiple remote browser connections

https://github.com/user-attachments/assets/c6f71094-30a8-45f4-9839-f900df3e920e
Essentially turning the browser into a server that can take request from the python program, thought this would be fun to explore, Let me know what y'all think

Hmm, interesting. Distributing training?

Browser is more ubiquitous than any other webgpu library that require additional installation, you can train on almost any internet connected devices if they have chrome installed
Also chrome will likely be the most performant because all the serious graphics web app will target it? (this is just speculation)
If I or someone else get webgpu compiler done I can better evaluate this approach, for now it's just an idea lol


Message list anna

Description
Please provide a short summary explaining what this PR is about.
I am working on : List of message components #9
I have made two components MessageList which should display the messages and Message .
I have also made a story for Message component.
Fixes # (issue)
How to test?
npm run storybook
Please provide a short summary how your changes can be tested?
Checklist

[ 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] This PR is ready to be merged and not breaking any other functionality

that's what I see in storybook

Working on this issue and will create another PR for merging


⚠ MineVN Website has degraded performance

In cfe19ab, MineVN Website (http://minevn.net) experienced degraded performance:

HTTP code: 200
Response time: 12180 ms

Resolved: MineVN Website performance has improved in b28344b.


Implement windowsDiff.Compare to allow outputting OCI images

This builds on #4395 to implement the Compare side of the differ and similarly to Apply, adds a redirect for WCOW to archive.WriteDiff.
With this change, (and a bunch of buildkit hacks), I can now export an image I built with buildkit to any of the types oci, docker, or image.
Fixes: #4394

I've speculatively enabled the snapshot tests on Windows, in case I've fixed them as part of this. If that's not the case, I'll back that enablement out for later.

There's a bunch of refactoring opportunities I saw from this work.
Particularly, it seems that the APIs for archive.WriteDiff and archive.Apply are somewhat nonsensical when applied to windows layers, as we use the Opts to smuggle the real parameters through them, and ignore the code in favour of complete Windows-specific implementations. I think these two methods might need more insight into the thing they're being called on, to actually do their job without so much hand-holding.
Apart from tests, WriteDiff only appears to be used from the walkingDiff, and windowsDiff implementations of Compare, and for taking task checkpoints. The latter is always diffing against "", and does not interact with Windows Container layers.
Apply is used more-widely, but again only windowsDiff knows about Windows Container layers.
I suspect it would be cleaner to not involve archive in the Windows Container layers, but to directly implement those functions in windowsDiff. Particularly if we lean more on hcsshim and go-winio for the actual implementations.

@kevpar / @jstarks - PTAL

@ambarve

@ambarve - PTAL

Marked as draft pending rebase on updated #4395, which will remove the winio_tar aspect of this change.

@ambarve / @kevpar - PTAL so we can get these in

Once #4395 lands, this can be trivially rebased to get rid of the vendor.conf conflict (which comes from #4395, not this PR's changes)

🎉 Looks like the other PR is merged.

Yup. I'll try and rebase this soon (ideally one evening this week) and I believe it'll be ready-for-review.

That was a trivial rebase, and a much shorter diff to read. This should be ready-to-go now.

@ambarve - Can you please take a look. Especially at the places where ociwclayer.Export was duplicated. I'm concerned that we dont actually want to expose that internal package and we should instead do this via the hcsshim public api. Or we should promote ociwclayer functionality outside of just the wclayer.exe tool. What do you think?

The idea of exposing internal/ociwclayer from hcsshim as pkg/ociwclayer instead of duplicating it here has been favourably received by the hcsshim developers in https://github.com/microsoft/hcsshim/pull/916. So I'm hoping that will land soon (once everyone's back from end-of-solar-year holidays) and then I can rebase this work upon that new build of hcsshim.
I also wouldn't mind if this went in as-is, as I could refactor the duplication away later. There are other (more-essential) PRs in hcsshim and go-winio that have come out of this work, and I'd like to see them merged, and then pull those into containerd to support #4419, the current end-point of this PR chain.
I don't particularly want those to block landing this PR.

The idea of exposing internal/ociwclayer from hcsshim as pkg/ociwclayer instead of duplicating it here has been favourably received by the hcsshim developers in https://github.com/microsoft/hcsshim/pull/916. So I'm hoping that will land soon (once everyone's back from end-of-solar-year holidays) and then I can rebase this work upon that new build of hcsshim.
I also wouldn't mind if this went in as-is, as I could refactor the duplication away later. There are other (more-essential) PRs in hcsshim and go-winio that have come out of this work, and I'd like to see them merged, and then pull those into containerd to support #4419, the current end-point of this PR chain.
I don't particularly want those to block landing this PR.

Marking as "Draft" as I plan to rebase this onto https://github.com/microsoft/hcsshim/pull/916 this weekend. It'll basically be deleting a bunch of code we no longer need to duplicate, and should not affect the structure of this PR, so current reviews remain valid.
Except the concerns about duplicating code out of hcsshim, of course.

Marking as "Draft" as I plan to rebase this onto https://github.com/microsoft/hcsshim/pull/916 this weekend. It'll basically be deleting a bunch of code we no longer need to duplicate, and should not affect the structure of this PR, so current reviews remain valid.
Except the concerns about duplicating code out of hcsshim, of course.

Current Windows test failure is some flakiness elsewhere; possibly inside HCS, but I currently think it's an API miuse in the test suite.
The failure was
2021-01-16T09:52:57.8675958Z signal arrived during external code execution
2021-01-16T09:52:57.8676542Z
2021-01-16T09:52:57.8683433Z syscall.Syscall(0x7ffda670d430, 0x2, 0x1b40f30, 0xc0195c6780, 0x0, 0x0, 0x0, 0x0)
2021-01-16T09:52:57.8684502Z 	C:/hostedtoolcache/windows/go/1.15.6/x64/src/runtime/syscall_windows.go:188 +0xe9
2021-01-16T09:52:57.8694631Z github.com/Microsoft/hcsshim/internal/wclayer._destroyLayer(0x1b40f30, 0xc0195c6780, 0xc0195c6780, 0x26)
2021-01-16T09:52:57.8696440Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/internal/wclayer/zsyscall_windows.go:236 +0x172
2021-01-16T09:52:57.8698028Z github.com/Microsoft/hcsshim/internal/wclayer.destroyLayer(0x1b40f30, 0xc01959a660, 0x25, 0x1, 0x0)
2021-01-16T09:52:57.8699453Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/internal/wclayer/zsyscall_windows.go:229 +0xbc
2021-01-16T09:52:57.8701005Z github.com/Microsoft/hcsshim/internal/wclayer.DestroyLayer(0x1e4ce40, 0xc0000960d0, 0xc01959a660, 0x25, 0x0, 0x0)
2021-01-16T09:52:57.8702700Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/internal/wclayer/destroylayer.go:20 +0x205
2021-01-16T09:52:57.8704252Z github.com/Microsoft/hcsshim.DestroyLayer(0x0, 0xc0195dc0c0, 0x1b, 0xc00024652c, 0x9, 0x2310ba0, 0xc0195cb220)
2021-01-16T09:52:57.8705604Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/layer.go:34 +0xe5
2021-01-16T09:52:57.8706975Z github.com/containerd/containerd/sys.ForceRemoveAll(0xc000246510, 0x25, 0xc0195cb220, 0x1d26e29)
2021-01-16T09:52:57.8708204Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/sys/filesys_windows.go:267 +0xaf
2021-01-16T09:52:57.8709334Z github.com/containerd/containerd.TestMain(0xc000135f00)
2021-01-16T09:52:57.8710417Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/client_test.go:168 +0xe05
2021-01-16T09:52:57.8711228Z main.main()
2021-01-16T09:52:57.8711936Z 	_testmain.go:153 +0x272

It's happening during clean-up after the tests via sys.ForceRemoveAll. I've been looking into this is #4419 which seems to reproduce it more-often, and I haven't seen this crash since I changed sys.ForceRemoveAll to not try and call DestroyLayer on random folders. This is the first time I've seen it without the Snapshot testsuite enabled, suggesting it takes a lot of HCS wclayer activity to reproduce, and possibly only happens if the test suite tears down while the layers are still being unloaded.
The code-identical commit https://github.com/containerd/containerd/commit/eb1adede03a990e220fad95cd2614fb8af7edddc passed CI.

Current Windows test failure is some flakiness elsewhere; possibly inside HCS, but I currently think it's an API miuse in the test suite.
The failure was
2021-01-16T09:52:57.8675958Z signal arrived during external code execution
2021-01-16T09:52:57.8676542Z
2021-01-16T09:52:57.8683433Z syscall.Syscall(0x7ffda670d430, 0x2, 0x1b40f30, 0xc0195c6780, 0x0, 0x0, 0x0, 0x0)
2021-01-16T09:52:57.8684502Z 	C:/hostedtoolcache/windows/go/1.15.6/x64/src/runtime/syscall_windows.go:188 +0xe9
2021-01-16T09:52:57.8694631Z github.com/Microsoft/hcsshim/internal/wclayer._destroyLayer(0x1b40f30, 0xc0195c6780, 0xc0195c6780, 0x26)
2021-01-16T09:52:57.8696440Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/internal/wclayer/zsyscall_windows.go:236 +0x172
2021-01-16T09:52:57.8698028Z github.com/Microsoft/hcsshim/internal/wclayer.destroyLayer(0x1b40f30, 0xc01959a660, 0x25, 0x1, 0x0)
2021-01-16T09:52:57.8699453Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/internal/wclayer/zsyscall_windows.go:229 +0xbc
2021-01-16T09:52:57.8701005Z github.com/Microsoft/hcsshim/internal/wclayer.DestroyLayer(0x1e4ce40, 0xc0000960d0, 0xc01959a660, 0x25, 0x0, 0x0)
2021-01-16T09:52:57.8702700Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/internal/wclayer/destroylayer.go:20 +0x205
2021-01-16T09:52:57.8704252Z github.com/Microsoft/hcsshim.DestroyLayer(0x0, 0xc0195dc0c0, 0x1b, 0xc00024652c, 0x9, 0x2310ba0, 0xc0195cb220)
2021-01-16T09:52:57.8705604Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/Microsoft/hcsshim/layer.go:34 +0xe5
2021-01-16T09:52:57.8706975Z github.com/containerd/containerd/sys.ForceRemoveAll(0xc000246510, 0x25, 0xc0195cb220, 0x1d26e29)
2021-01-16T09:52:57.8708204Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/sys/filesys_windows.go:267 +0xaf
2021-01-16T09:52:57.8709334Z github.com/containerd/containerd.TestMain(0xc000135f00)
2021-01-16T09:52:57.8710417Z 	D:/a/containerd/containerd/src/github.com/containerd/containerd/client_test.go:168 +0xe05
2021-01-16T09:52:57.8711228Z main.main()
2021-01-16T09:52:57.8711936Z 	_testmain.go:153 +0x272

It's happening during clean-up after the tests via sys.ForceRemoveAll. I've been looking into this is #4419 which seems to reproduce it more-often, and I haven't seen this crash since I changed sys.ForceRemoveAll to not try and call DestroyLayer on random folders. This is the first time I've seen it without the Snapshot testsuite enabled, suggesting it takes a lot of HCS wclayer activity to reproduce, and possibly only happens if the test suite tears down while the layers are still being unloaded.
The code-identical commit https://github.com/containerd/containerd/commit/eb1adede03a990e220fad95cd2614fb8af7edddc passed CI.

@TBBle do you have any plans to work on the LCOW version of Compare as well?

I have no specific plans for LCOW work. The motivating case (and initial test-case, before I noticed recently that there were a couple of integration tests disabled due to lack of this code) is BuildKit, who have been specifically disinterested in LCOW support, so it never go particularly high on my list.
I also don't currently know how LCOW layer storage works, as I've been particularly focussed on WCOW, (and specifically, if WSL2 or Windows 2004 have affected LCOW, I'm not going to be in a position to test RS5 personally) so all I've been looking for here is to not break LCOW for some future person.
Of course, once WCOW is landed and working, idle curiosity might bring me back to LCOW. It's not clear to me how important LCOW is in the Windows Containers ecosystem these days, versus Linux-Docker-in-WSL2 for example. k8s mixed-OS Pods might make that more interesting, if they want to go that way.

It's not clear to me how important LCOW is in the Windows Containers ecosystem these days, versus Linux-Docker-in-WSL2 for example. k8s mixed-OS Pods might make that more interesting, if they want to go that way.

I may be a bit biased there😋 but that's fine to not implement if there's no use case for it right now.

Oops, somehow this fell off my 'unread' list with unaddressed feedback. I'll try and get the comments resolved this week, so I can try and land this, and rebase-and-land #4415 early in the 1.6.0 containerd cycle, so hopefully I can get #4419 delivered for 1.6.0.

I've rebased to resolve some conflicts, and addressed one comment with a clear and simple resolution, but I don't at this time have resolutions for the other comments that I'm satisfied with, or at least more-satisfied with than "punting it to later".

Latest rebase hit #4924 in the WIndows Integration stage at the end of the first integration test suite run, which otherwise passed.

@kevpar or @jterry75 could one of you take another look?

WIndows CI test-run failure was in TestConvert and appears to be caused by a temporary HTTP 500 error from mcr.microsoft.com, unrelated to my changes:
2021-03-13T00:40:11.9550601Z     log_hook.go:40: time="2021-03-13T00:40:11.952829500Z" level=debug msg="fetch response received" digest="sha256:c2a53c300c9474f1d971aed19c441933a295d19fbc5f45fa1f39d3a2edd0bcfc" mediatype=application/vnd.docker.container.image.v1+json response.header.content-length=26 response.header.date="Sat, 13 Mar 2021 00:40:11 GMT" response.header.x-azure-internalerror=0x830a1919 response.header.x-msedge-ref="Ref A: 80BE0FA83B6D44D38700D7479D7D590F Ref B: ASHEDGE1309 Ref C: 2021-03-13T00:40:11Z" response.status="500 Internal Server Error" size=393 url="https://mcr.microsoft.com/v2/windows/nanoserver/blobs/sha256:c2a53c300c9474f1d971aed19c441933a295d19fbc5f45fa1f39d3a2edd0bcfc"
2021-03-13T00:40:11.9649875Z     convert_test.go:50: failed to copy: httpReadSeeker: failed open: unexpected status code https://mcr.microsoft.com/v2/windows/nanoserver/blobs/sha256:c2a53c300c9474f1d971aed19c441933a295d19fbc5f45fa1f39d3a2edd0bcfc: 500 Internal Server Error

TestExport and TestExportAndImport, the newly-unskipped tests in this PR, passed.

@TBBle - This looks good to me. Do you have any more work to do on this one?

Well, looks like I have a conflict to resolve, but apart from that, I reckon it's ready-to-go.

@katiewasnothere @jterry75 Looks good to me! Can you folks take a look once again and merge the change if that looks good?

This looks good to me. @jterry75  can you please merge this?

Hmm. Rebasing showed a random bunch of HTTP-related failures. The Windows Integration run showed:
2021-04-05T04:02:48.2118915Z     convert_test.go:50: failed to copy: stream error: stream ID 9; HTTP_1_1_REQUIRED
2021-04-05T04:02:48.2120056Z --- FAIL: TestConvert (5.78s)

which is clearly unrelated to my changes here. The Linux suite are all failing on CRI tests, getting '403 forbidden' from GCR for some image or images.

@TBBle - Should we just re-run the tests are are you going ot rebase on some master change that is clean?

I can't retrigger the tests AFAIK, but if you can, that'd be fine. I had a poke around, and the failures looked more like infrastructure issues than code issues, so I am not specifically waiting on a fix to rebase on-to.
I only rebased this time because I needed to rebase #4419 to verify a change, and figured I'd do the whole stack to keep my git show-branches output rational.

Gah. The rebase to current mainline branch passed: https://github.com/containerd/containerd/actions/runs/725556015
And then a comment-only fix failed in unrelated tests on Windows: https://github.com/containerd/containerd/actions/runs/725563341
2021-04-07T10:00:33.8681308Z === CONT  TestContainerKill
2021-04-07T10:00:33.8694170Z     container_test.go:620: failed to mount container storage: hcsshim::PrepareLayer - failed failed in Win32: The system cannot find the path specified. (0x3): unknown
2021-04-07T10:00:33.9335940Z --- FAIL: TestContainerKill (2.32s)

2021-04-07T10:01:33.7263019Z === CONT  TestContainerNoBinaryExists
2021-04-07T10:01:33.7264655Z     container_test.go:759: failed to create task failed to mount container storage: hcsshim::PrepareLayer - failed failed in Win32: The device is not ready. (0x15): unknown
2021-04-07T10:01:33.7552071Z --- FAIL: TestContainerNoBinaryExists (62.14s)

It's green-enough for me, since this PR doesn't actually change any of the on-disk layer data, and these look suspiciously like the HCS-was-busy-and-reported-success-too-early issue I speculated in #4419.
Notably, the two tests this PR enables, TestExport and TestExportAndImport, had passed before this point in the run
2021-04-07T09:59:53.0784565Z --- PASS: TestExport (5.86s)
2021-04-07T10:00:30.3192956Z --- PASS: TestExportAndImport (15.25s)

@TBBle - This looks to be a longstanding bug with the containerd shim here: https://github.com/microsoft/hcsshim/blob/master/cmd/containerd-shim-runhcs-v1/delete.go#L29. The code properly handles the vm/container not found but I believe unintentionally re-uses the err defined when the span status is set here: https://github.com/microsoft/hcsshim/blob/master/cmd/containerd-shim-runhcs-v1/delete.go#L36. I believe this is truly unrelated to your change and will sign off.
Thanks!

@fuweid - I looked at the Windows error and agree this is unrelated to this change. Are you ok taking it with the transient error while @ambarve can get a fix out?

@TBBle would you mind to rebase? Your change might be not related to the error. Please rebase and retry it again. Thanks

All green!


Avoid extracting comments when parsing domain names

When moving from my old nginx config, I had comments of the following form in my config file.
ssl_certificate_key /etc/letsencrypt/live/my_domain.com/privkey.pem; # hello world
The current parsing script extracts hello world as a domain.
+ echo 'running certbot ... https://acme-staging-v02.api.letsencrypt.org/directory hello<EMAIL_ADDRESS>running certbot ... https://acme-staging-v02.api.letsencrypt.org/directory hello<EMAIL_ADDRESS>+ certbot certonly --agree-tos --keep -n --text --email<EMAIL_ADDRESS>--server https://acme-staging-v02.api.letsencrypt.org/directory -d hello --http-01-port 1337 --standalone --preferred-challenges http-01 --debug

(note the hello as the domain name. One also appears for # and world)
I've solved this by ensuring anything following the semicolon, if it includes a #, is caught in the sed parsing.

Good catch!  Thanks!


Terrascript-Google Cloud Platform

Does python-terrascript work for Google Cloud Platform?

Hi @iamdaaniyaal. Yes. Here the resources for Google Cloud Plataform.
https://github.com/mjuenema/python-terrascript/tree/develop/terrascript/google

Hi @nielsonsantana. Thanks for helping out with the GCP resource.
Is there some documentation / guide to use the GCP module of Terrascript as I am unable to understand its usage?

@iamdaaniyaal Is your question specific to Google Cloud Platform or how Terrascript works generally? Have you used Terrascript with other providers, for instance Amazon Web Services?

Hi @iamdaaniyaal, I will be closing this issue in the next few days for lack of activity.

Closed for lack of activity.


Bug with file generation in the multi-step plan-apply workflow

There's a bug when

Plan with files generation containing file path
Apply with plan, but at the apply stage there's no more those files because it's the new reconciliation round.

How to fix:

Make sure that we got the same dir name (no random) for each commit
Make sure that at the apply stage, we download, extract the blob and use the same dir name.

After an investigation into this bug, we found that the current behavior was optimized to "apply" the "plan" without refreshing resources. This optimization was good as there were no extra calls needed after planning.
Adding spec.refreshBeforeApply would be a solution to this problem.
It would work only in the manual mode. The auto mode would ignore this flag.


diesel print-schema output disagrees with rustfmt

Setup
Versions

Diesel:

$ diesel --version # from `cargo install diesel_cli`
diesel 1.4.0

Problem Description
Steps to reproduce

$ cargo new test && cd test
$ diesel setup
$ diesel migration generate test
$ cat > migrations/*_test/up.sql <<EOF
CREATE TABLE foos ( id SERIAL PRIMARY KEY );
CREATE TABLE bars ( id SERIAL PRIMARY KEY, foo_id INTEGER NOT NULL REFERENCES foos );
EOF
$ diesel migration run
$ cat src/schema.rs
$ cat src/schema.rs
table! {
    bars (id) {
        id -> Int4,
        foo_id -> Int4,
    }
}

table! {
    foos (id) {
        id -> Int4,
    }
}

joinable!(bars -> foos (foo_id));

allow_tables_to_appear_in_same_query!(
    bars,
    foos,
);
$ echo "pub mod schema;" > src/lib.rs
$ cargo fmt
$ cat src/schema.rs
table! {
    bars (id) {
        id -> Int4,
        foo_id -> Int4,
    }
}

table! {
    foos (id) {
        id -> Int4,
    }
}

joinable!(bars -> foos (foo_id));

allow_tables_to_appear_in_same_query!(bars, foos,);

Ideally the content of schema.rs would already be in a format acceptable to rustfmt, so that I don't end up generating a bunch of VCS file modified noise every time one of them changes the output of the other.

I'm not sure if it's even possible to fix that, because this marco will be split into several lines as soon as you add more tables. The exact point where this split happens depends on table name length, table name count and rustfmt settings (max line length)

We could theoretically generate #![rustfmt(skip)], but I'm not sure if it's really worth it since this can be done with schema.patch and the overwhelming majority of folks will have enough tables that this doesn't matter (if we ever do really substantially disagree with rustfmt in more substantial cases we probably want to find out about it)

This was addressed in https://github.com/diesel-rs/diesel/pull/2462
(However, the new version of diesel_cli with these changes is not yet available on crates.io)


Coref.get_most_representative fails on type error

Running the server per readme, get an error when trying the sample curl.
Running python algorithm.py to trigger __main__ produces the following output.
[I, many friends, around me, me, many friends, around me received it, it, It, almost everyone, almost everyone received this SMS, this SMS]
[Yes, I noticed that many friends, around me received it. It seems that almost everyone received this SMS.]
['Yes, I noticed that many friends, around me received it. It seems that almost everyone received this SMS.']

The error when called from server is
algorithm.py line 347
coreferences[self.data.mentions[key]] = mention
raises TypeError: unhashable type: 'Mention'

Mention class is defined in document.py. It inherits from spacy.tokens.Span but does not implement hash().

falcon: 1.4.1
spacy: 1.8.1
numpy: 1.14.2
python: 3.5.2
On Thu, Apr 5, 2018 at 2:21 PM, thomwolf<EMAIL_ADDRESS>wrote:

Can you tell me more about the version of python, numpy, spacy and falcon
you are using ?
I tried reproducing your bug on a python 2 and 3 installation and couldn't.
It is working fine for me...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/neuralcoref/issues/26#issuecomment-379048235,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALWdqP7KdjjdXFRC7Aq04RE7GDOpkRrtks5tlm7CgaJpZM4TI4Oy
.

We are now on release v3.0 so I am closing this old issue.
Feel free to open it again (or a new one) if you are experiencing some issues with the new release.


Support label descriptions for github_issue_label resource

Github allows users to create labels with descriptions. This functionality is missing from the issue_label resource.
https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue

Update: it looks like this will be blocked until the public API is released:
https://github.com/google/go-github/issues/856
https://blog.github.com/2018-02-22-label-improvements-emoji-descriptions-and-more/

Yep, I subscribed to that upstream issue (google/go-github#856),  will keep an eye on it, thanks for bringing this up.

Just a note that it looks like this has now been implemented in go-github :)

Yep, we'll need to update the vendored version, but this is ready to be added!


Jeff Schaller: Watch onlinemarketing-leben.de

Jeff Schaller requests the watch of the watch_keyword onlinemarketing-leben\.de. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

onlinemarketing-leben\.de has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Logout bug

If you logout, app shows login screen. If you press back button at that point, it goes to home screen and shows loading forever.

Can confirm. Although if you close the app and open it again you will see the login screen again.


[Bug] Previously loaned items can not be loaned once returned

Issue is likely "on_loan?" logic.

request hotfix actually - I need to send out a loan and can't add objects to the loan until this is fixed. Need fixed ASAP.

To replicate all you should have to do is create two loans with the same objects, but return all the ones from the first loan, then try to add them to the second loan

Can't be hotfixed, sorry.


API major Hierarchy refactor

This PR breaks out the stateful components of Hierarchy into a new MarkedSet for marking and rendering hierarchal tree of nodes.
I've removed the LeftAndMain_TreeNode class completely, and have moved the logic to the CMS module, and into a template.
All linked PRs must be merged AFTER these dependent sets of stories, as they are dependencies of this work:

https://github.com/silverstripe/silverstripe-cms/issues/1510 (refactor of CMS routing). The framework part of this story is https://github.com/silverstripe/silverstripe-framework/pull/6781 which should be merged first (and upon which this PR is rebased on).
https://github.com/silverstripe/silverstripe-framework/pull/6790 (fix template parser)

After these are merged, you can test this feature via the changes linked in this (and the following) pull requests:

[ ] #6792 (self)
[ ] https://github.com/silverstripe/silverstripe-cms/pull/1787
[ ] https://github.com/silverstripe/silverstripe-assets/pull/7
[ ] https://github.com/silverstripe/silverstripe-admin/pull/27

Updated @chillu


Merge release/8.2 branch into main

Merging changes from release/8.2.2 into main.
This needs to be merged and not squashed.
Microsoft Reviewers: Open in CodeFlow

@eerhardt we'll want to take these changes into release/9.0 as well


[iOS] Frame drops / stuttering on fresh install

Description
We're using the Rive player for a fancy Intro/Welcome animation, but we're seeing that on a fresh install of the app, the animation skips frames and stutters. If the app is restarted, it works fine.
I can only imagine that the Rive Runtime is caching the values somewhere on the device after the first run (but I could not find this in the codebase)
Provide a Repro
https://github.com/dragoncodes/rive-intro-repro
The most basic RN project (I created it with Expo for easier setup, but the issue is not related to Expo)
To run the project
nvm use 18.14.2
yarn install
yarn ios

Source .riv/.rev file
Attached
Expected behavior
We expect the first run of the app to behave the same as the subsequent runs
https://github.com/rive-app/rive-react-native/assets/7829270/fedd736a-08d6-4742-b6a1-113de91dada7
Screenshots
https://github.com/rive-app/rive-react-native/assets/7829270/30830cc6-1c43-4d9d-b4ff-8747ed2e06a6

Tested on iOS [14, 16]

Device & Versions (please complete the following information)

Device: iPhone Device and Simulator 14 Pro, 12 Pro, 12 Max, SE (3rd gen)
OS: iOS 14, 15, 16
NPM Version: Tested with 9.5.0 and 7.15.1
Rive RN Version: Tested with 4.0.1 and 4.1.0 (latest)

Additional context
We found that if we let the animation run behind the splash screen and then reset the state machine, the problem is not reproduced, but this means that the user waits an additional 2 seconds for the whole animation to finish
files.zip

Hi @dragoncodes thanks for the detailed report and provided sample.
We'll investigate and get back to you.

Hi @dragoncodes , I'm able to reproduce your issue. It's not an issue with ReactNative, nor an issue with the Rive iOS runtime. The problem is with Skia, the underlying renderer we use on iOS.
I was able to confirm that the same animation will stutter on our Flutter runtime when the target renderer is Skia on iOS, but the problem is resolved when using Flutter's new renderer Impeller.
To give you some background context, the first time that an animation runs on Skia it might perform a lot of shader compilation that it then caches on disk to reuse for later runs. That is why you see the extreme stuttering the first time (as these shaders are being compiled) and then subsequent runs are smooth. Flutter has written on the topic here if you're interested: https://docs.flutter.dev/perf/shader
Similar to Flutter's finding we're also transitioning away from Skia with our own custom renderer, that you can read about here: https://rive.app/renderer
I don't have a timeline for when we will replace Skia entirely with our Renderer, unfortunately. But when that happens you'll see significant improvements.
Unfortunately non of the above solves your immediate problem. I gave the above for context, but I think your issue can be resolved by optimising your animation.
At this time I'm not able to do a thorough investigation, as I'm having difficulties importing the files you shared in our editor (which indicates a problem with the file 😄 ). One of our engineers was able to do it in a testing environment and they confirmed that there aren't any large images being used.
That indicates that the majority of the .riv file size is animation related data (path points, animations, key frames, etc). 5mb is quite a lot, as this animation isn't that complex visually.
Did you design the whole animation in Rive, or was this imported from a Lottie animation? It could be that something went wrong with that process, and very often those types of imports adds a lot of additional keys and animations that aren't necessary.

Short term, I'd ask you to investigate if you can reduce the amount of keyframes you're using. If there are any complex paths you're using it may even be better to flatten them to an image, and then animating the image.

You can also check to make sure that snap keys are not set to an unreasonably high number (not larger than 60)

Make sure there aren't any unused animation timelines, artboards, etc.

You can optimise your animations by keying bones, instead of individual path points (which will also reduce file size).

Confirm that you're not using really large images for your animations

I was able to review your animation in the editor.
And I see now that the animation is much more complex than the initial start screen!
After a very quick look I think the majority of the initial startup complexity is as a result of the Fractional Shares Planet group, and then as the transition input changes you zoom into that group and expand more and more component.
It will be better if you can setup the animation in such a way that it does not perform any unnecessary calculations. Instead of animating the whole Fractional Shared Planet group at the start, you could instead use an image, or a less complex object.
Then once you start zooming in only then swap it out for a more complex version with all the components. The most efficient way to toggle certain components on/off (or swapping between values) is by using Solos.
Another way of thinking about this is a DOP (Depth of Field). Where you only add more detail as you zoom in closer, instead of drawing all these positions/images at the start and animating them when not needed.

Thank you for your prompt and thorough response! You guys are awesome! Keep up the good work!
Your advice in regard to the file is actionable, and we will start experimenting.
The undertaking of switching to your own renderer sounds exciting, and we're eager to try it out!
That being said, I am curious, would it be possible to wait out the Skia initialization before starting the animation?
In SDK terms, if I set autoplay to false and have an onLoad method from Rive (one that is called after shader compilation is finished), I can then, theoretically, call play without the defects 🤔
I understand this conflicts with your plans/schedules, but if pointed in the right direction, we're more than willing to submit a PR.
Note: This suggestion is based on the assumption that the shader compilation does not take ~2 seconds.
Again, thank you for your response <3

We don't handle the caching, instead Skia does. Using Flutter as an example again, they provide tooling to allow you to pre-compile the shaders and package in the SkSL shaders with the app. I don't believe it's possible to wait for Skia to compile the shaders. The shaders are compiled on the fly as you run the animations - and there may be a variety of factors at play here.
I'd need to speak to our team whether something like this is feasible/possible for us. I have limited experience in this domain, but I expect this won't be easy to do, and it also won't align with our plan to switch out renderers at this stage.
Not a great solution, but you could play the animation (hidden behind a black screen) and then simply replay it. First time you open the app that would mean there will be a longer "startup time".
I think for this particular case, I would still suggest trying to reduce the complexity of the animation. Keeping in mind that older devices may struggle more with complex animations that have a lot of moving parts.


S3 - Allow for keyname that is just an empty space

Fixes #4077
Strange as it looks, an empty space ( ) is a valid keyname according to AWS.
The delete_object already behaved as it should, but for delete_objects, the xmltodict lib converted the keyname into None by default.

Codecov Report

Merging #4244 (3bdf6c0) into master (07bb843) will increase coverage by 40.22%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4244       +/-   ##
===========================================
+ Coverage   54.91%   95.13%   +40.22%
===========================================
  Files         485      485
  Lines       54129    54182       +53
===========================================
+ Hits        29723    51547    +21824
+ Misses      24406     2635    -21771

Flag
Coverage Δ

servertests
54.90% <ø> (-0.01%)
:arrow_down:

test_responses
32.89% <ø> (?)

unittests
95.04% <ø> (?)

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

Impacted Files
Coverage Δ

moto/s3/responses.py
95.59% <ø> (+33.81%)
:arrow_up:

moto/ec2/responses/route_tables.py
100.00% <0.00%> (+1.23%)
:arrow_up:

moto/ec2/responses/network_acls.py
100.00% <0.00%> (+1.40%)
:arrow_up:

moto/ec2/responses/elastic_ip_addresses.py
98.41% <0.00%> (+1.58%)
:arrow_up:

moto/rds/responses.py
90.59% <0.00%> (+1.70%)
:arrow_up:

moto/dynamodb2/parsing/validators.py
97.93% <0.00%> (+2.06%)
:arrow_up:

moto/ec2/responses/internet_gateways.py
100.00% <0.00%> (+2.22%)
:arrow_up:

moto/sqs/utils.py
95.34% <0.00%> (+2.32%)
:arrow_up:

moto/ec2/responses/vpn_connections.py
89.74% <0.00%> (+2.56%)
:arrow_up:

moto/ec2/responses/security_groups.py
89.05% <0.00%> (+3.64%)
:arrow_up:

... and 247 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 07bb843...3bdf6c0. Read the comment docs.


Adapt useful stuff from Vaadin 23.3

https://github.com/vaadin/platform/releases/tag/23.3.0

Tooltip and Tabs
https://vaadin.com/blog/vaadin-23.3-kubernetes-cloud-new-ui-components?utm_campaign=Product release&utm_medium=email&_hsmi=237891687&_hsenc=p2ANqtz-9BnY_ugPvWhIv81Ciq4eqjGbpd31Nm636Cu-iEGVkAblWLQmGq7pluZgJ4Fnx3TCjG8o417d2SmTMZAQTk2QJ5VehYKQ&utm_content=237894149&utm_source=hs_email

Planned to use Tabs at profile page and tooltip at login page. Both covered with #998


feat(node): split the installer script guide

Why this should be merged
Users often find it hard to navigate through the entire Installer script guide because it covers multiple different aspects of a node like installation, network/advanced configuration, management, and maintenance.
How this works
This PR splits the single tutorial into four different guides each corresponding to their specific task. The with-installer.md file is removed and redirects are added to avoid any 404s.

Need to fix broken links, will send a commit. Meanwhile, feel free to share your feedback @meaghanfitzgerald 🙌

still some broken links. https://github.com/ava-labs/avalanche-docs/actions/runs/6849689375/job/18622380897?pr=1553
i recommend resolving these locally and once they are fixed i can demo how to carry the changes over to the spanish translations

still some broken links. https://github.com/ava-labs/avalanche-docs/actions/runs/6849689375/job/18622380897?pr=1553
i recommend resolving these locally and once they are fixed i can demo how to carry the changes over to the spanish translations

Yeah, that's what I was referring to initially. Those are links in the translated version of the docs.

/gt docs/nodes/run/with-installer/.md i18n/es/docusaurus-plugin-content-docs/current/nodes/run/with-installer/.md spanish

/gt docs/nodes/run/with-installer/installing-avalanchego.md i18n/es/docusaurus-plugin-content-docs/current/nodes/run/with-installer/installing-avalanchego.md spanish

My last commit changing ci.yml should've fixed our vale issues according to this issue, but the version isn't found by the github runner. The release does exist so I am unsure why it isn't found.

/gt docs/nodes/run/with-installer/installing-avalanchego.md i18n/es/docusaurus-plugin-content-docs/current/nodes/run/with-installer/installing-avalanchego.md spanish


Add Mirror actions for HPv2

Issue #1464
Signed-off-by: Nathaniel Clark<EMAIL_ADDRESS>

This change is

Rebuild in: https://build.whamcloud.com/job/manager-for-lustre/1785/


Add in auto page updates

For epicenter/rankings, add in a toggle for live updates that will continuously update the page's data

Solved in #245


Code splitting: chunk request priority

Issue Type

[x] Bug (https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md#bug-reports)
[ ] Feature (https://github.com/react-boilerplate/react-boilerplate/blob/master/.github/CONTRIBUTING.md#feature-requests)

Description
Code splitting implies that, when rerouting to a page you didn't visit, you need to request some chunks from the server and wait for them to be loaded before the user is effectively redirected. Meaning that if the request takes 2 seconds to come back, your user will effectively see an unresponsive UI for that amount of time. Considering modern browsers logic regarding requests (see https://developers.google.com/web/tools/chrome-devtools/network-performance/understanding-resource-timing#viewing_in_devtools), this may be a problem when a page makes a good number of simultaneous requests that may block a redirection from happening in a decent amount of time.
Steps to reproduce

Create a page that asks for a reasonable number of items (in my case, 40).
Each item return should have a thumbnail image to load that creates as many request to the server, this should look like this in the network tab:

While these images are being loaded, click on a link that would direct you to another page of your app (i.e. that imply fetching some split code)
Look at the queuing time of those chunk, which can be pretty enormous:

Suggestion
Is there a way to increase the priority of the chunks request ? Does this MDN article offers some insight about a possible solution ?
Versions

React-Boilerplate (see package.json): 3.4.0
Node/NPM: v7.7.2/4.1.2
Browser: Chrome Version 58.0.3029.81 (64-bit)

I'd post this question to webpack repo or even better to stackoverflow.

Have a look at this article: https://medium.com/@apostolos/server-side-rendering-code-splitting-and-hot-reloading-with-react-router-v4-87239cfc172c

@yantakus Thanks for the link, the presentation was very interesting. I guess this issue is no longer a concern if the boilerplate moves to react-router v4.

We're now on v4, should be solved.


chore(deps): update common-dev-assets digest to aab307f

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
9925b6c -> aab307f

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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


Can you please add some more sample code in the documentation?

Can you please add some more sample code in the documentation on how to call different methods?
Specifically I want to create a full file listing of my Dropbox files recursively as an output e.g.:
/File.txt
/Folder1/File2.txt
/Folder1/File3.txt
/Folder2/File4.txt
That would mean that I need to get the listing, detect what is folder or file and call different(?) functions to get the location and filename.
Thanks a lot!

Absolutely.

I have solved this like this
  if (get_class($item) === 'Kunnu\Dropbox\Models\DeletedMetadata') { } if (get_class($item) === 'Kunnu\Dropbox\Models\FileMetadata') {}
So I can know the type of the file and use it's special functions.

@fkhateeb This is a duplicate of #19

In case anyone else is looking a way to list the folder recursively (for example if upgrading from the V1 API getDelta method), the solution is to pass an addition param through to the request, like this:
$listFolderContents = $dropbox->listFolder("/", ['recursive' => true]);


Is there a way to Set State based on what is visible in the Table component?

I'm trying to set state what is currently viewable in my Table component.
For example in this codesandbox: https://codesandbox.io/s/dark-sun-chgwj?file=/src/App.js
Each cell of the Table component is a date for a month, based on what is currently visible I'd like to set the month and year for the current page. Each cell has access to this information but is there a way to use that to then set the state of the page?

sorry should have read the docs more thoroughly, realized there is a onRowsRendered method. closing!


[Issue 7050][python] Limit enum34 installation via environment markers

Fixes #7050
Motivation
To prevent installing enum34 on systems where it is not needed, declare the dependency with environment markers. Installing certain versions of enum34 on systems where it is not needed at all, might result in compile time issues. This is the recommended approach discussed here:
https://github.com/python-poetry/poetry/issues/1122
Modifications

setup.py: use environment markers for enum34 instead of custom logic that is not preserved in pypi metadata for the wheel

Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as all python tests
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): no
The public API: no
The schema: no
The default values of configurations: no
The wire protocol: no
The rest endpoints: no
The admin cli options: no
Anything that affects deployment: don't know

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable
If a feature is not applicable for documentation, explain why? Only packaging change

Can't see how the failing test is related to this pull request

/pulsarbot run-failure-checks

This enum34 dependency is causing major issues for our projects, and this environment marker would fix that.  I see people have been having issues with enum34 for over a year now.  Can we not just get rid of it, or at minimum only use it as a dependency when using an old python version?  I'm happy to help get this moving in any way possible, as we have already lost many man hours dealing with the fallout.

@rosejn If you have a better solution than this pull request, feel free to submit one. So the community can take a look at the change and merge it if it solves the problem.

@rosejn If you have a better solution than this pull request, feel free to submit one. So the community can take a look at the change and merge it if it solves the problem.

Is there anything wrong with this PR that would require a different solution? According to @rosejn the marker that I introduced would solve the problem.

@languitar I don't think so. I wasn't sure what does his comment mean. So I was asking if he is thinking about a different solution than this PR.

Hi guys, after my team just waisted way too much time battling with this issue I was frustrated and trying to encourage forward motion on this PR, so my comment wasn't very clear.  I was just hoping to encourage movement on this PR, and if there was a problem with this is I wanted to volunteer to do whatever was needed to help get a fix merged.

Thanks guys!  I'm happy to test this out to double check that things work as hoped for.  I've just pulled the latest on master and run the docker-build.sh script in pulsar-client-cpp, where it successfully built.  Anyone know how to then try this out as a poetry dependency?


feat: Running completely offline

Is your feature request related to a problem? Please describe:
Is it possible to run speech recognition completely offline?
Describe the solution you'd like:
I have an app usecase where it will be used in remote areas where not even an internet mobile data works. need to still speak out to the app, have the speech recognition working to capture what has been said, and store the transcribed text after getting internet connection again. At the moment it seems like speech recognition can only work when theres active internet connection. when i turn off internet, it just make a beep sound that indicate refusal to accept speech.
Describe alternatives you've considered:
Similar approach would be using AI whisper technology, where the model is stored offline.. and the audio spoken via mic is captured (perhaps using webRTC), and the recorded audio is crossmatched with AI model to get transcription

In regards with https://stackoverflow.com/questions/31562229/offline-speech-recognition-in-android, any idea how to set "RecognizerIntent.EXTRA_PREFER_OFFLINE" option somewhere?


"java.lang.NullPointerException" error

Above All, I appreciate your time and efforts involved in making this tool. I found it very useful and convenient.
But, I got an problem when try decrypting image files.
When I try to decrypt ".png_" files in cmd or PowerShell with following command;
java -jar "RPG Maker MV Decrypter.jar" decrypt [FileDirectory] (I blinded a detailed file directory because of concern about privacy being exposed. I'm so sorry and would appreciate if you could be willing to understand me.)
It responds like this;
[INFO]: Set Project-Dir to: "[FileDirectory]"
[INFO]: Set Output-Dir to: "output"
java.lang.Exception: java.lang.NullPointerException: System-File is not set!
at org.petschko.rpgmakermv.decrypt.RPG_Project.decryptFilesCmd(RPG_Project.java:407)
at org.petschko.rpgmakermv.decrypt.RPG_Project.decryptFilesCmd(RPG_Project.java:386)
at org.petschko.rpgmakermv.decrypt.cmd.Decrypt.handleFiles(Decrypt.java:97)
at org.petschko.rpgmakermv.decrypt.cmd.Decrypt.run(Decrypt.java:75)
at org.petschko.rpgmakermv.decrypt.cmd.CMD.processArgs(CMD.java:141)
at org.petschko.rpgmakermv.decrypt.cmd.CMD.runCMD(CMD.java:56)
at org.petschko.rpgmakermv.decrypt.App.main(App.java:45)
Caused by: java.lang.NullPointerException: System-File is not set!
at org.petschko.rpgmakermv.decrypt.Decrypter.detectEncryptionKeyFromJson(Decrypter.java:391)
at org.petschko.rpgmakermv.decrypt.RPG_Project.decryptFilesCmd(RPG_Project.java:405)
... 6 more
[INFO]: Done.
And it create a folder named "output", which is actually empty.
Here's some information about my system options.
OS : WIN 10 Pro 64bit
JAVA : JAVA™ SE 17.0.1
It would be great if anyone could help me. Thank you.

It looks like if the Game you try to decrypt has no System.json or it may cannot find the System.json - thats why there is the null-pointer exception (I could give it a better error message to be honest)
So make sure to select the Game-Root dir and not a sub-dir within the game! If you selected the Root-Dir, the System.json is may not in there... You can also manually enter the decryption key if you knew it. Problem is since you didnt showed the path youre using i just can guess whats happening here, fact is it can not find the system.json (which includes the decryption key for decrypting)
Important
For Decrypting however you don't need the Key, so use the command "restore" instead of "decrypt", then you may can restore the images without the System.json >w0
aka use:
java -jar "RPG Maker MV Decrypter.jar" restore [FileDirectory]

Any news here? If yes please reply, I close this


[usm] service discovery, add ignored services 'security-agent' and 'system-probe' to system-probe config

What does this PR do?
Adds two Datadog services "system-probe", "security-agent" to list of ignored services in system-probe config file.
Motivation
Datadog services should not be reported as discovered services on the system.
Describe how to test/QA your changes
Passed service discovery unit tests on local VM
PASS
ok  	github.com/DataDog/datadog-agent/pkg/collector/corechecks/servicediscovery/module	39.196s
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Snapshot repository

Would a snapshot repository be possible so that edge/snapshot builds could be used whithout having to have the file itself?

No comments on this?

We'll look into this soon.

Any update? This would be greatly appreciated. 😊

We tried. Really. We want to have this because it would make testing edge releases so much easier.
But so far, we didn't succeed. Theer is hardly any documentation, and the error messages are cryptic.
We do not run maven to deploy. We did manage to "curl" files to the right location, but got error messages when trying to use the snapshots.
We need to have better documentation on how to do this, or someone that can tell us what we do wrong.
What files are we REQUIRED to upload. What constraints do they have. What are the constraints on their names. What files shouldn't we upload?
We're not trying stuff out by reverse engineering what's happening and compairing our files to other projects, but don't know if this will bring us any closer to making it work.
Any help is much appreciated.
We have:

A POM file
The "lombok.jar"
sources.jar
javadoc.jar
A version number and a timestamp

https://oss.sonatype.org/content/repositories/snapshots/org/projectlombok/lombok/1.16.19-SNAPSHOT/

From my knowledge you need the following:

A md5 and sha1 has for every file you upload.
A POM-file
The artifacts
A maven-metadata.xml

For example see this: http://central.maven.org/maven2/com/google/guava/guava/

We tried uploading the pom and the three jar files, as well as an initial maven-metadata.xml file.
The md5 and sh1 hashed are automatically generated the moment you delete a file. Also the maven-metadata.xml file is then regenerated,
We could trigger this a few times by also uploading a bogus file and then delete that one, but for some reason this did not always work.
Also, the generated maven-metadata.xml file does not contain the right entries.
We looked at guava, but at the snapshot: https://oss.sonatype.org/content/repositories/snapshots/com/google/guava/guava/23.0-SNAPSHOT/
It does contain maven-metadata.xml, but that file has the following extra contents, and we don't know where that came from:
  <versioning>
    <snapshot>
      <timestamp>20170804.170712</timestamp>
      <buildNumber>176</buildNumber>
    </snapshot>
    <lastUpdated>20170804170712</lastUpdated>
    <snapshotVersions>
      <snapshotVersion>
        <extension>jar</extension>
        <value>23.0-20170804.170712-176</value>
        <updated>20170804170712</updated>
      </snapshotVersion>
      <snapshotVersion>
        <extension>pom</extension>
        <value>23.0-20170804.170712-176</value>
        <updated>20170804170712</updated>
      </snapshotVersion>
      <snapshotVersion>
        <classifier>sources</classifier>
        <extension>jar</extension>
        <value>23.0-20170804.170712-176</value>
        <updated>20170804170712</updated>
      </snapshotVersion>
      <snapshotVersion>
        <classifier>javadoc</classifier>
        <extension>jar</extension>
        <value>23.0-20170804.170712-176</value>
        <updated>20170804170712</updated>
      </snapshotVersion>
    </snapshotVersions>
  </versioning>

We uploaded a similar file, but that gets reset the moment we delete a file, and have the md5 and sha1 files generated.

Just out of curiosity - I presume you've seen guides like
http://www.sonatype.org/nexus/2015/06/02/how-to-publish-software-artifacts-to-maven-central/
On Tue, Dec 19, 2017 at 4:22 PM, Roel Spilker<EMAIL_ADDRESS>wrote:

We tried uploading the pom and the three jar files, as well as an initial
maven-metadata.xml file.
The md5 and sh1 hashed are automatically generated the moment you delete a
file. Also the maven-metadata.xml file is then regenerated,
We could trigger this a few times by also uploading a bogus file and then
delete that one, but for some reason this did not always work.
Also, the generated maven-metadata.xml file does not contain the right
entries.
We looked at guava, but at the snapshot: https://oss.sonatype.org/
content/repositories/snapshots/com/google/guava/guava/23.0-SNAPSHOT/
It does contain maven-metadata.xml, but that file has the following extra
contents, and we don't know where that came from:

20170804.170712
176

20170804170712

jar
23.0-20170804.170712-176
20170804170712

pom
23.0-20170804.170712-176
20170804170712

sources
jar
23.0-20170804.170712-176
20170804170712

javadoc
jar
23.0-20170804.170712-176
20170804170712

We uploaded a similar file, but that gets reset the moment we delete a
file, and have the md5 and sha1 files generated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rzwitserloot/lombok/issues/1519#issuecomment-352790285,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKCReZnC9O_RWwwUBp5c3oadhWV9qnLks5tB9S6gaJpZM4Qg5_1
.

--
"Don't only practice your art, but force your way into it's secrets, for it
and knowledge can raise men to the divine."
-- Ludwig von Beethoven

Maybe it's offtopic, but I'd like to understand the background to be able to help - why are we using Ant and not Mvn/Gradle?

We use ant because we have a lot of different compilation steps (different files, different class file versions) to create the jar file, including renaming *.class files to a different file extension, and produce several artifacts.

Can't you just release edge versions as lombok-1.16.21.wip1, lombok-1.16.21.wip2, lombok-1.16.21.wip3 or something like that?


大佬们 现在有vue3的开发分支吗

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

马上会出了哦

马上会出了哦

辛苦了 期待期待

辛苦了 期待期待

大概什么时候可以发布

vue3 版本发布在这里：https://github.com/stepui/stepin-template


Running the scanner gives error in a Cake script

I get below errror when we issue Sonar-End.
As far as i can see this is a setting i need to set but where ? I can't seem to find it in the documentation.
build	23-Jan-2018 15:28:02	INFO: Sensor CFamily [cpp]
error	23-Jan-2018 15:28:03	ERROR: Property "sonar.cfamily.build-wrapper-output" was not specified.
error	23-Jan-2018 15:28:03	The only way to get an accurate analysis of your C/C++/Objective-C project is by using the SonarSource build-wrapper and by setting this property.
error	23-Jan-2018 15:28:03	If for any reason, the use of the build-wrapper is not possible on your project, you can bypass it with the help of the "sonar.cfamily.build-wrapper-output.bypass=true" property. By using that property, you'll switch to an "at best" mode that could result in false-positives and false-negatives.

You can not add custom arguments with the CustomArgs string[] in SonarBeginSettings.
They are just appended as plain text, so you are going to have to use "/d:key=value" syntax.

I'm removing the CustomArgs. You can do this with ArgumentCustomization https://cakebuild.net/api/Cake.Core.Tooling/ToolSettings/50AAB3A8


[Question] Speeding up 'Downloading js player'

As the tittle says, I would appreciate it if there was a way to speed up a bit the  Downloading js player process.
The reason I want to do this is because I have made an .apk with youtube_dl included, and it takes around 20 seconds before the download begins.
On pc however, it is a lot faster.

Carefully read new issue template and provide all requested information.


WIP: Add import and export

REDMINE-16810

Coverage decreased (-0.002%) to 99.251% when pulling 90d7aedb136086d17c862fdb0fb5b86405e19c87 on DanielKuhn:feature/import-export into 6b2fb5cef2b0fa8797dd76b7ae627ff9e97cdf73 on codevise:master.


made junit dependency test scoped, fixed formatting

Pull Request Test Coverage Report for Build 41

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 84.611%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/com/salesforce/dynamodbv2/mt/mappers/sharedtable/impl/MtAmazonDynamoDbBySharedTable.java
2
82.5%

Totals

Change from base Build 39:
-0.1%

Covered Lines:
1413

Relevant Lines:
1670

💛  - Coveralls


Support scaling the UI based on terminal size

Describe the solution you'd like
The position and width of the columns to scale based on terminal width.
Is your feature request related to a problem? Please describe.
I use a tiling window manager on an ultrawide monitor. I usually keep a column of relatively narrow (~80 character) terminals on one side of the monitor for secondary information. While hours is perfectly usable with 80 char width, it bugs me that the "worked on for" column isn't visible, even though there'd be plenty of room (with short task titles at least).
Currently the Task List View requires around 90 character wide window to fit. The Task Log Entry view requires 115 character wide terminal to fit in all columns. At this width, it unnecessarily cuts the description shorter than the available space. The third column on the other hand is unnecessarily far apart from the second one.
Describe alternatives you've considered
N/A
Additional context
In case relevant: I'm using Ubuntu with i3 window manager and kitty as the terminal.
Task List View on a 80 character wide terminal:

Task Log Entry View on a 115 character wide terminal:

Aside: I'm currently testing omm also. I noticed it also seems to have the same issue. I hope it's enought to report this here only as both make use  UI component libraries and look very much alike. :slightly_smiling_face:

I've been meaning to do that. Since you already tried out omm, could I ask you to take a quick look at https://github.com/dhth/prs, and see if its responsive layout is in line with what you described above?

Yup that would fill the need for hours or omm as they only have few columns.
I have a few suggestions on how to further improve the UX in case you happen to be interested in experimenting. I'll use prs as an example since it has more information to display. Also, when I first run it, I realized I seem to have some pretty ancient open PR's that have both long titles and target repository names. 🙂
I'll let my MS Paint style annotations speak for themselves....

Other suggestions that might be more work to implement:
4. Wrap long PR tittles instead of truncating
5. On small windows(*), display the fields as a list instead of columns

One more suggestion. It might be preferable to to just refuse to render at some point instead of trying to fit everything when the terminal size shrinks past a specified limit:

Here's a screenshot of btop doing just that:

Thanks for the great suggestions 🙂
I'll definitely incorporate the following:

refuse to render when width/height shrinks below a threshold
better use of spacing when the window size is large enough

I'll experiment a bit with the other ones.
I've also opened an issue for this for prs here.


Hand model for the different hands a player can use in a given round in the rules engine

This will be part of the rules engine and will be the base for how points will accumulate and what hands are available for a player to select.
The different hands that can be selected in this game are:

Ones
Twos
Threes
Fours
Fives
Sixes
Three of a kind
Four of a kind
Full House
Small Straight
Large Straight
YAHTZEE
Chance
There are three different ways that the hands are scored, either a complete sum (all of the dice values are added together, such as in Chance, or three/four of a kind), a partial sum (all of the threes are added together, or all of the twos are added together, for example), or a static value (Full House scores 25 points, Large Straight scores 40 points, etc). Based off of that type of scoring and the different hands, here's kind of what I'm thinking for a start to this model:

Property
Type
Description

Hand_ID
integer
unique identifier to the hand

Hand_Name
string
name of the hand that will be displayed in the score sheet

Score_Type_Id
integer
1 for Complete Sum, 2 for Partial Sum, 3 for Static Points

Points
integer
When Score_Type_Id is Static Points, these are the points added

I'd call this the score model.

Game_ID - foreign key
Player_ID - foreign key
Ones (int)
Twos (int)
Threes (...)
Fours
Fives
Sixes
Three of a kind
...
Yahtzee
Yahtzee_Count
Chance

scoring and possible score for each field will be generated and displayed per round. When entry is selected for a round backend inputs backend calculated score into that field.

we need another "hand" model which in this case will be five dice, all 1-6 ints. (and maybe 5 more fields for sorting logic)
Say player has:
1 6 5 2 4 1
first, sort die
1 1 2 4 5 6
then logic goes
sum_ones(count 1's)
sum_twos(count 2's x 2)
...
3_oak( does 2nd match first? yes - does 3rd match 2nd? yes - val 3rd *3 + 4th +5th
no - does 4th match 3rd? yes does 5th match 3rd?
no - 1st + 2nd + 3rd + 4th + 5th
no - does 3rd match 2nd? ..
4_oak is similar
small straight similar but +1 instead of = using 4_oak logic
large straight checks all 5
yahtzee is just 5_oak
chance is always 1+2+3+4+5
when a field is null (or is 0???) that value can be calculated and allows a score to enter into that field in the score model. once that field is is not null, there is no longer a calculation or the ability to enter a score into that field in the score model.

Yahtzee has a special rule that I'll have to look up again, but again just controlled by logic on the backend concerning which fields can input which scores

We'll have to have the score fields start as null, and a zero value counts as an entered value, as some scores will be 0. There are also some bonuses that will need logic built out for the final score, but that won't be too hard.

The score model I totally agree with, that makes sense!
The "other" hand model with the dice we'll have to talk through, I think I'm following what you're saying, but I'll understand it a bit better as we talk through it.

the hand model will need an additional field for bonus values

#33


Is there any way to track whether Connect Installed and if not redirect to page for the user to install it.

For now the app is crashing and giving this error

Hi @chvasanthkumar sorry I missed this issue. I've created #30 to add this to the documentation.
Something like this would be what you're looking for:
const connectClient = new AW4.Connect();

# Default UI client
# See: https://ibm.github.io/aspera-connect-sdk-js/AW4.ConnectInstaller.html
const connectInstaller = new AW4.ConnectInstaller();

const onStatusEvent = (eventType, data) => {
  # Exclude transfer type events
  if (eventType === AW4.Connect.EVENT.STATUS) return;

  # Check Connect status:
  #   FAILED --> Connect not installed
  #   RUNNING --> Connect installed and responding
  #   EXTENSION_INSTALL -> Connect extension not installed
  # See: https://ibm.github.io/aspera-connect-sdk-js/global.html#STATUS
  if (data == AW4.Connect.STATUS.FAILED) connectInstaller.showDownload();
  else if (data == AW4.Connect.STATUS.EXTENSION_INSTALL) connectInstaller.showExtensionInstall();
  else if (data == AW4.Connect.STATUS.RUNNING) connectInstaller.connected();
};

# Setup Connect status event listener
# See: https://ibm.github.io/aspera-connect-sdk-js/AW4.Connect.html#addEventListener
connectClient.addEventListener(AW4.Connect.EVENT.STATUS, onStatusEvent);

# Initialize Connect
connectClient.initSession();

Essentially, you can use the Connect status event listener to get updates on the Connect state. If you see FAILED then you can take that to mean that Connect is not installed. If you see EXTENSION_INSTALL then that means the user needs to install the browser extension. We provide a default UI via the AW4.ConnectInstaller class that you can use to show to the end user.
Regarding the crash, it's difficult to say just based off the console logs from the browser, would need more context.

@dwosk It's really helpful.
Thanks and best regards.
LKJREAL.