Plugin idea: Apollo-compat Automatic Persisted Query

I saw a plugin for parse caching is exist, but it would be better if we have plugin that compat with the Apollo's automatic persisted query protocol a.k.a APQ
Spec: https://github.com/apollographql/apollo-link-persisted-queries#apollo-engine
Apollo: https://www.apollographql.com/docs/apollo-server/performance/apq/
URQL: https://formidable.com/open-source/urql/docs/advanced/persistence-and-uploads/#automatic-persisted-queries

I needed this for a project, so I started taking a stab on an implementation based on Mercurius. If I have time in the next few days I'll do some cleanup and post my repo.

Quick question. Would it be useful to have a distributed cache for this (like redis), or would in-memory suffice.  I'm supporting the simplest case since currently the former is not possible afaics since parse is synchronous only.

Also, despite the name, the code can equally handle mutations. Should we restrict to query to maintain parity with apollo-client ?

I'm using some in-memory LRUs and some MongoDB in production. Obviously, this asynchronous situation is needed, but there is still an ongoing discussion about it.
See https://github.com/dotansimha/envelop/discussions/497

Here's my initial implementation:
https://github.com/ccollie/envelop/commit/35918f1a75a0e3bfe7cd4684637ff7107c535874
The issue is that per protocol, query can be undefined
https://github.com/apollographql/apollo-link-persisted-queries#apollo-engine
so there's no good way (that I know of) for me to test that scenario. The work is done in onParse which requires a defined source
Any suggestions.

Already available for graphql-ez 🎉 (which uses Envelop at it's core, it just hasn't been fully announced yet) https://www.graphql-ez.com/plugins/automatic-persisted-queries

Closing in favour of the built-in Automatic Persisted Queries plugin in GraphQL Yoga v3 🎉


Add proxy option in Requests constructor

Thanks
Maybe store it in the Rest instance rather than passing it on each call of get
Just a bit cleaner.

Am 11.05.2015 um 15:03 schrieb KotZer<EMAIL_ADDRESS>You can view, comment on, or merge this pull request online at:
https://github.com/dr-leo/pandaSDMX/pull/14
Commit Summary
Add proxy option in Requests constructor
File Changes
M pandasdmx/api.py (5)
M pandasdmx/remote.py (11)
Patch Links:
https://github.com/dr-leo/pandaSDMX/pull/14.patch
https://github.com/dr-leo/pandaSDMX/pull/14.diff
—
Reply to this email directly or view it on GitHub.

Problem solved in a more general way. Thanks.


[Doc enhancement][custom-tabs-link-in-tabs-overview]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/tabs/what-are-tabs.md
90
14
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit aa2a239:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/tabs/what-are-tabs.md
:white_check_mark:Succeeded
View

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


Non-existant files on /std 500 error<EMAIL_ADDRESS>

We need tests for this, as it seems to be very easy to break. This needs to 404, not 500.

This was fixed at some point.


Update contribute.md

Signed-off-by: diru1100<EMAIL_ADDRESS>Fixed issue: #42

Could you please fix the typo I noted? I know it's not your fault, but since we're in there editing the file, we might as well fix it. Thanks.

Yup, thanks for your review.


Create enumerable

Enumerable: Feature/Create Enumerable
Description:
Enumerable built with Ruby. In this project we have tested:

all
any
filter
Enumerable

Proposed Changes:
We have created files my_list.rb class and my_enumerable.rb module.  my_enumerable.rb contains the method enlisted above which gets called in the my_list.rb file.
Contributors:

@iamsjunaid
@martinkarugaba.

Reviewer Request:
We're expecting your feedback on this Pull Request.
Checklist:

[x] Created a repo.
[x]  Installed Rubocop and Gemfile.
[x] Created methods all, any and filter in a module file called my_enumerable.rb.
[x] Imported the my_enumerable.rb module inside my_list.rb class file.
[x] Passed an array list as an argument in the my_list.rb file to test the functionality of the methods.

Please review this pull request at your earliest convenience. Your feedback is highly valued and will contribute to the project's improvement. Thank you.
Best regards,
Junaid & Martin

Thanks @OyePriscilla! for approving the PR🙏😊.


Design Time Host on Windows not Starting

Continuing on from the issue I posted here: https://github.com/OmniSharp/omnisharp-atom/issues/450

Just cloned the master branch and built it.
When I run omnisharp.cmd --stdio, I get:
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using stdio at location 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent' on host -1."},"Seq":1,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Dnx.DnxPaths","Message":"Looking for sdk version in 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent\\global.json'."},"Seq":2,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Dnx.DnxPaths","Message":"Using runtime 'C:\\Users\\Brad\\.dnx\\runtimes\\dnx-clr-win-x<IP_ADDRESS>-beta5'."},"Seq":3,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Dnx.DnxProjectSystem","Message":"Scanning 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent' for DNX projects"},"Seq":4,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Dnx.DnxProjectSystem","Message":"Found project 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent\\tests\\DotNetEloquent.Tests\\project.json'."},"Seq":5,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Dnx.DnxProjectSystem","Message":"Found project 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent\\src\\DotNetEloquent\\project.json'."},"Seq":6,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Dnx.DesignTimeHostManager","Message":"Running DesignTimeHost on port 3922, with PID 2772"},"Seq":7,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"ERROR","Name":"OmniSharp.Startup","Message":"The project system 'DnxProjectSystem' threw an exception.\r\nSystem.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it <IP_ADDRESS>:3922\r\n   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)\r\n   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)\r\n   at OmniSharp.Dnx.DnxProjectSystem.<>c__DisplayClass13_4.<Initalize>b__0(Int32 port)\r\n   at OmniSharp.Dnx.DesignTimeHostManager.Start(String hostId, Action`1 onConnected)\r\n   at OmniSharp.Dnx.DnxProjectSystem.Initalize()\r\n   at OmniSharp.Startup.Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IOmnisharpEnvironment env, ISharedTextWriter writer)"},"Seq":8,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.MSBuildProjectSystem","Message":"No solution files found in 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent'"},"Seq":9,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.ScriptCs.ScriptCsProjectSystem","Message":"Detecting CSX files in 'C:\\Users\\Brad\\Documents\\Projects\\dotneteloquent'."},"Seq":10,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.ScriptCs.ScriptCsProjectSystem","Message":"Could not find any CSX files"},"Seq":11,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Solution has finished loading"},"Seq":12,"Type":"event"}
{"Event":"started","Body":null,"Seq":13,"Type":"event"}

Which shows the exception. About to some more debugging.

If you don't pass --stdio does it work?

Yeah at first I thought that it had something to do with the stdio interface because I did get the normal HTTP interface to work fine. But then I found it was completely intermittent. Anyway see Pull Request for fix.


Fix/add value check

:tada: This PR is included in version 2.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Crash when decomposing a planar surface

When trying to use V-HACD with a set of points on a plane that is paralle with xy plane then I get a crash. In my opinion the culprit is Volume::Voxelize function. There is ComputeBB called which calculates the bounding box of the points. Then double d[3] = { m_maxBB[0] - m_minBB[0], m_maxBB[1] - m_minBB[1], m_maxBB[2] - m_minBB[2] }; is calculated where d[2] = 0 which is used in
m_dim[0] = 2 + static_cast<size_t>(dim * d[0] / d[2]);
m_dim[1] = 2 + static_cast<size_t>(dim * d[1] / d[2]);
that skyrocket + causes a memory spike since these values are used in the following memory allocation.

There is a bug here
if (d[0] > d[1] && d[0] > d[2]) {
    r = d[0];
    m_dim[0] = dim;
    m_dim[1] = 2 + static_cast<size_t>(dim * d[1] / d[0]);
    m_dim[2] = 2 + static_cast<size_t>(dim * d[2] / d[0]);
}
else if (d[1] > d[0] && d[1] > d[2]) {
    r = d[1];
    m_dim[1] = dim;
    m_dim[0] = 2 + static_cast<size_t>(dim * d[0] / d[1]);
    m_dim[2] = 2 + static_cast<size_t>(dim * d[2] / d[1]);
}
else {
    r = d[2];
    m_dim[2] = dim;
    m_dim[0] = 2 + static_cast<size_t>(dim * d[0] / d[2]);
    m_dim[1] = 2 + static_cast<size_t>(dim * d[1] / d[2]);
}

In the rare case that d[0] equals d[1] and they are both > d[2] it will fall through to the final else statement which should only happen if d[2] is the largest
Should fix by replacing > with >=
if (d[0] >= d[1] && d[0] >= d[2]) {
    r = d[0];
    m_dim[0] = dim;
    m_dim[1] = 2 + static_cast<size_t>(dim * d[1] / d[0]);
    m_dim[2] = 2 + static_cast<size_t>(dim * d[2] / d[0]);
}
else if (d[1] >= d[0] && d[1] >= d[2]) {
    r = d[1];
    m_dim[1] = dim;
    m_dim[0] = 2 + static_cast<size_t>(dim * d[0] / d[1]);
    m_dim[2] = 2 + static_cast<size_t>(dim * d[2] / d[1]);
}
else {
    r = d[2];
    m_dim[2] = dim;
    m_dim[0] = 2 + static_cast<size_t>(dim * d[0] / d[2]);
    m_dim[1] = 2 + static_cast<size_t>(dim * d[1] / d[2]);
}

@smjohnson-bi, good catch. Would you mind, creating a pull-request with the fix?


Feature request: search

Thanks for much for this extension! It works quite well for Go.
Is there a way I can donate to continue supporting development?
Would adding a ctrl + f search feature to the graph be possible?
Lastly, would it be possible to pan while holding down the command key on laptops instead of clicking and dragging (similar to figma?)
Thanks so much!

Thank you for your kind words and support. I'm thrilled to hear that the extension is working well for you with Go.
Your willingness to contribute is greatly appreciated! I've set up GitHub Sponsorship for the project, so you can contribute there if you'd like.
I love your ideas for improvements! Adding a ctrl + f search feature to the graph sounds like a fantastic idea, and I'll definitely explore the possibility of implementing it. As for the panning feature with the command key, I'm not entirely sure I can do that but I'll look into it.


Remove dupe emojis, fixes #1394

See the issue!
Deleted a lot of double emojis that made it weird on Windows machines!

Closes #1394


feat: allow customizing the Storage disk to use

Add openapi.filesystem_disk config key and use it as storage disk to put the generated file.
Why?
Allow publishing the generated file as a public asset and making it accessible by tools like https://github.com/stoplightio/elements and https://github.com/JustSteveKing/laravel-stoplight-elements.
New config key:
return [
    /**
     * The storage disk to be used to place the generated `*_openapi.json` or `*_openapi.yaml` file.
     *
     * For example, if you use 'public' you can access the generated file as public web asset (after run `php artisan storage:link`).
     *
     * Supported: 'local', 'public' and (probably) any disk available in your filesystems (https://laravel.com/docs/9.x/filesystem#configuration).
     */
    'filesystem_disk' => env('OPEN_API_SPEC_GENERATOR_FILESYSTEM_DISK', 'local'),
];

Note: This PR does not changes the default behaviour.

@bbrala @rolfvandekrol @Rocksheep @florisl is still active this project? 🥺

Hi @nelson6e65, thanks for your PR! Although it doesn't get a lot of attention, this project is certainly still active. We're actually thinking about ways to improve it and e.g. add support for custom filters. I'll review this PR ASAP, sorry for the delay!

Good to hear, we're open to more improvements!


fix(#541) :Allow custom Database-name in MsSqlTestcontainerConfiguration

#541 Allow custom Database-name in MsSqlTestcontainerConfiguration (creating database using SQL script execution)
I analyzed

https://hub.docker.com/_/microsoft-mssql-server
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-docker-container-configure?view=sql-server-ver16&pivots=cs1-bash
https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker?view=sql-server-ver16&pivots=cs1-bash
and found that Microsoft didn't provide customization using environment variables, so I created pull request with running SQL script if database name is not equal to 'master'.

abf3280926f2922660e920b92777a98c7877298f, closes #521, #541.

I am using Version 2.1.0, but I still have the NotImplementedException, when trying to set the db-name. What am I missing?

@manuscrypt The change is not part of 2.1.0, it is part of the upcoming 2.2.0 (CHANGELOG.md).

My apologies... i was able to work around it by implementing my inheriting from TestcontainerDatabase and MsSqlTestcontainerConfiguration with the changes from the respective PR. Thanks for the quick answer!

Yes, it is (here).

@WestDiscGolf, voilà!

Thanks both!


Crash when inside magical forests.

If I enter a magical forest, eventually I will crash. After the first crash, anytime I reopen the save, I will crash again before I can enter the world. I have 15 other crashes from the same issue and recreated the crash in five or 6 separate worlds. If I remove Thaumcraft I am able to open the save.
crash-2018-06-01_00.00.17-client.txt

Possibly a duplicate of #858

I'm making a mod pack and I've had this same issue on 3 different test worlds.


Issue #454: Next in line Rollup

Description
As described in issue #454, I'm having some issues indexing high-dimensional spaces as the rollup puts all data in the father, which might result in very large files. This PR solves this problem by rolling up between siblings before rolling up to the father. This results in better file size, but as pointed out by @Jiaweihu08, it could make the algorithm more computation-intensive.
Type of change
This PR changes the Rollup algorithm, trying to pack siblings' cubes first and then packing them with the father.
Checklist:

[x] Changed the code
[x] Updated unit tests
[x] Tested with high dimensional data
[ ] Tested with existing use cases to check any possible regression.
[ ] Updated documentation

I like the idea of making the code more efficient, but this line concerns me:

but as pointed out by @Jiaweihu08, it could make the algorithm more computation-intensive.

It makes it seem very use-case related, and perhaps we don't know yet the full implications of it. I would suggest adding it as configurable and disabling it by default until we are confident enough.

ps: you can set up main branch as the destination now 😄

I also read this sentence in the original issue description, which called my attention:

I suspect this is caused by the roll-up algorithms, which simply push data into the father cube, and, in the case of 8 dimensions, it means a rollup could put together 2^8 + 1= 257 cubes.

Maybe it is just an incorrect choice of words, but suspect implies that we are not sure. How much confidence do we have that this is actually solving the observed problem?

@ Jiaweihu08's concerns are valid, but I suspect it is not a real problem. The overhead would be minimal in a low-dimensional space, while in a high-dimensional one, the problem of having huge files counterbalances any additional computation cost.
In any case, let's run this compared with the main version and measure it. If it is considerably slower, we should make this faster rather than optional. We should be able to make the new algorithm as computationally intensive as the old one, with a more invasive code change, using a Trie instead of a HashMap. In any case, this should not be a configuration parameter because the indexing results are always better than the old version (in the worst-case scenario, they are equals).
@fpj This is the ordered list of files with the new version: The largest file is 15GB, while in the old version, the biggest file was 220G, the second 106G, etc.  (in this dataset, some files are bigger, because some rows are larger ~256MB)
[qbst363636@glogin2 0.8.0_8dim_10_bites_10kcs_2_8d_filtered]$ ls -lSh
total 463G
-rw-r--r-- 1 qbst363636 qbst01   15G Oct 27 19:28 4e416182-1bf1-4dd3-8338-2a298efe1188.parquet
-rw-r--r-- 1 qbst363636 qbst01  9.2G Oct 27 19:28 803819f6-4869-4802-843f-442ef5565104.parquet
-rw-r--r-- 1 qbst363636 qbst01  5.7G Oct 27 19:27 c74c8164-78a3-44e9-aad6-56a38a9bfe1a.parquet
-rw-r--r-- 1 qbst363636 qbst01  4.3G Oct 27 19:27 fd2f0703-b3f4-4ff3-bcfe-f2581edf1c3c.parquet
-rw-r--r-- 1 qbst363636 qbst01  4.0G Oct 27 19:27 d9d3c235-a6e4-4e56-8c22-fccd7b81eee1.parquet
-rw-r--r-- 1 qbst363636 qbst01  4.0G Oct 27 19:27 58774def-88f8-46b7-904e-cd5f842e52ed.parquet
-rw-r--r-- 1 qbst363636 qbst01  3.8G Oct 27 19:27 74a985e7-7170-4636-a351-30fc75443d0c.parquet
-rw-r--r-- 1 qbst363636 qbst01  3.6G Oct 27 19:27 e49aa2c4-e702-4df3-8800-d70c5f159d7d.parquet
-rw-r--r-- 1 qbst363636 qbst01  3.3G Oct 27 19:27 34f1ee42-9f33-481a-aa46-fe1d8af2473e.parquet

When I have time, I'll run a more detailed analysis. You can also use the script posted in #454 to compare the two versions. You should look for the number of cubes in a file and the actual file sizes (which are not reported in the IndexMetrics right now).

Concern number 1:
The priority queue is ordered by depth while nextSibling is probably following the z-order.
For the algorithm to work correctly, we must ensure the cubes are checked in the same order, i.e., that of the z-order.
Given a set of cubes, say A, and its child cubes A1, A2, A3, and A4 with A1.nextSibling = A2, and A2.nextSibling = A3, etc.
If the first four queue.deque calls give us A4, A3, A2, and A1, then this algorithm will produce the same results as directly putting everything to their parent.
Upon closer inspection, we see that a cube's group is not removed from groups. So, A3 can still consider A4's group after it has been merged with A, which is erroneous.
Concern number 2:
When indexing a large number of columns, the number of sibling cubes to consider can be high.
This is true even the sibling cubes don't exist in groups.

Thanks @Jiaweihu08 !
For the concern number 1, I guess it would suffice to sort the cubes for depth and alphabetical order. Is that right?
I don't understand the comment:
_
Upon closer inspection, we see that a cube's group is not removed from groups. So, A3 can still consider A4's group after it has been merged with A, which is erroneous.
_
This would happen only if they are not sorted, isn't?
On concert number 2, yes, on a high dimension that could be an issue, but we should measure it. As I commented, it can be easily fixed by using a Trie Map, instead of a hash Map, or maybe simply iterating on the queue.
I'll try to fix this without too many changes.

Upon closer inspection, we see that a cube's group is not removed from groups. So, A3 can still consider A4's group after it has been merged with A, which is erroneous.

As the code is written, A4 remains in the groups after merging with A. If you then try to find a rollup cube for A3, it will look for A4, whose values are already in A, but A3 is unaware of it.

Thanks @Jiaweihu08 ! For the concern number 1, I guess it would suffice to sort the cubes for depth and alphabetical order. Is that right?
I don't understand the comment: _ Upon closer inspection, we see that a cube's group is not removed from groups. So, A3 can still consider A4's group after it has been merged with A, which is erroneous. _ This would happen only if they are not sorted, isn't?
On concert number 2, yes, on a high dimension that could be an issue, but we should measure it. As I commented, it can be easily fixed by using a Trie Map, instead of a hash Map, or maybe simply iterating on the queue.
I'll try to fix this without too many changes.

CubeIds can be sorted; just create the Priority Queue according to CubeIds, in reverse order.
But we need to check if the way cubeIds are popped from the queue is actually in line with nextSibling.

Replaced by #514


Question

Question about pure components: I am passing props from parent to pure component, can I do something like "shouldComponentUpdate" because I don't want it to re-render. Or do I have to do that somehow in the parent component?

Do you use Redux? If so, the connect() utility from react-redux implements shouldComponentUpdate for you automatically. One of the many benefits of using Redux.
=)

Thanks, my question was less around implementation but more about internals of pure components. Can pure components have shouldComponentUpdate type of lifecycle hook. In a class component, I suppose shouldComponentUpdate runs first, and render or other methods will not even run, if it returns false.
I may have answered my own question, a pure component is just a function so i cant have previous props (or state) to implement a shouldComponentUpdate function, so the parent must do that. And like you said, redux does that for you with connect()
Please correct me here, if I am wrong. Thanks

You got it. :+1: =)
A pure component is just a function. It doesn't need lifecycle methods. If you do need lifecycle methods for your component, you should consider using an alternative API, such as react-stamp or (if you must) the class syntax.
If you decide to use the class syntax, read this first: "How to Use Classes and Sleep at Night".


[Existing API Name] : Github Profile Viewer

Brief Description 🤓
Hey @dishamodi0910 .I'm Gssoc contributor
pls assign this issue to me
Provide reference!
https://gh-profile-viewer.vercel.app/
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

Greetings @Khushi-Pushkar🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣

Hey @Khushi-Pushkar ! I wanted to inform you that we have closed issue.Thank you for your understanding, and we look forward to your continued engagement with our repository🤗.
In case of any issues, you can contact us on Discord.
Thank you! ❣
Happy Coding! ✨
Will See you soon❣


refactor(cli,linter): move the lint runner from cli to linter

Codecov Report
Patch and project coverage have no change.

Comparison is base (1781318) 92.35% compared to head (e5bc013) 92.36%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #764   +/-   ##
=======================================
  Coverage   92.35%   92.36%
=======================================
  Files         202      202
  Lines       41293    41291    -2
=======================================
  Hits        38138    38138
+ Misses       3155     3153    -2

Files Changed
Coverage Δ

crates/oxc_cli/src/lint/mod.rs
0.00% <0.00%> (ø)

crates/oxc_linter/src/lib.rs
38.46% <ø> (ø)

crates/oxc_linter/src/service.rs
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Etcd log mount

#9352

@ArtfulCoder thanks!
While you're doing this, anyway you can also mount /tmp into the master components? I really want to be able to dump cpu and heap profiles and collect them without entering the container (i.e remotely via rsync) and I don't see a reason to not do so

LGTM, please update with your e2e result. Thanks!

Summarizing 2 Failures:
[Fail] Pod Disks [It] should schedule a pod w/ a RW PD, remove it, then schedule it on another host
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/pd.go:105
[Fail] Pod Disks [It] should schedule a pod w/ a readonly PD on two hosts, then remove both.
/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/pd.go:170
Ran 62 of 72 Specs in 12738.275 seconds
FAIL! -- 59 Passed | 2 Failed | 2 Pending | 8 Skipped
Ginkgo ran 1 suite in 3h32m18.709164953s
Test Suite Failed

LGTM

@quinton-hoole so the bot runs e2e per commit even after the commit has been merged (see above)?


This node  is registered without the cloud taint. Will not process.

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
A k8s node was initialized, but then cloud-provider-openstack says that it will not process:
ERROR: logging before flag.Parse: I0425 15:47:59.280128 1 openstack.go:628] Claiming to support Zones
ERROR: logging before flag.Parse: I0425 15:47:59.280101 1 node_controller.go:344] Adding node label from cloud provider: beta.kubernetes.io/instance-type=312048105
ERROR: logging before flag.Parse: I0425 15:47:59.553145 1 node_controller.go:371] Adding node label from cloud provider: failure-domain.beta.kubernetes.io/region=RegionOne
ERROR: logging before flag.Parse: I0425 15:48:00.355632 1 node_controller.go:392] Successfully initialized node k8s-testing-workstation-master-1 with cloud provider
ERROR: logging before flag.Parse: I0425 15:48:00.355658 1 node_controller.go:297] This node k8s-testing-workstation-master-1 is registered without the cloud taint. Will not process.
ERROR: logging before flag.Parse: I0425 15:48:00.357463 1 node_controller.go:297] This node k8s-testing-workstation-master-1 is registered without the cloud taint. Will not process.

What you expected to happen:
I expected cloud-provider-openstack to proceed after successful initialization of a node.
How to reproduce it (as minimally and precisely as possible):

Deployed new k8s cluster (1 master node, 1 worker node).  Essential Pods are running: kube-apiserver, kube-scheduler, kube-controller-manager, kube-proxy. They are managed by kubelet, their manifests are in /etc/kubernetes/manifests.
Add taints to all 2 nodes:

$ kubectl taint nodes k8s-testing-workstation-master-1 node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule
node "k8s-testing-workstation-master-1" tainted
$ kubectl taint nodes k8s-testing-workstation-worker-1 node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule
node "k8s-testing-workstation-worker-1" tainted
$ kubectl describe node | grep Taints
Taints:             node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule
Taints:             node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule

Add a Pod manifest for cloud-provider-openstack into /etc/kubernetes/manifests, so that it is managed by kubelet too.
The Pod with cloud-provider-openstack is running. Log messages as above. And the taints are unset:

$ kubectl describe node | grep Taints
Taints:             <none>
Taints:             <none>

Anything else we need to know?:
Commandline options set:
containers:
  - name: openstack-cloud-controller-manager
    image: docker.io/k8scloudprovider/openstack-cloud-controller-manager:latest
    args:
      - /bin/openstack-cloud-controller-manager
      - --bind-address=<IP_ADDRESS>
      - --address=<IP_ADDRESS>
      - --cluster-name=k8s-testing
      - --cluster-cidr=<IP_ADDRESS>/16
      - --cloud-config=/srv/kubernetes/openstack.conf
      - --cloud-provider=openstack
      - --kubeconfig=/etc/kubernetes/master-kubeconfig.yaml
      - --kube-api-content-type=application/vnd.kubernetes.protobuf
      - --leader-elect=false
      - --profiling=false
      - --port=10253
      - --secure-port=0
      - --use-service-account-credentials=false
      - --v=2
      - --loglevel=2

Environment:

openstack-cloud-controller-manager version:

/bin/openstack-cloud-controller-manager --version
Kubernetes v0.0.0-master+$Format:%h$

from docker image: docker.io/k8scloudprovider/openstack-cloud-controller-manager:latest.(Is there any tagged version?)

OS (e.g. from /etc/os-release): Ubuntu 16.04
Kernel (e.g. uname -a):  Linux k8s-testing-workstation-master-1 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Install tools: Private saltstack files + terraform
Others:

no authorization/authentication set
k8s 1.10.1

AFAIK this is not a bug, but just an information by the node-controller.
After it starts it finds the nodes with the uninitialized taints, initializes them and removes the taint.
Afterwards, the node controller will regularly look through nodes to find nodes with the uninitialized taint. For nodes which do not have the taint (like those it already processed), it will log the message you mentioned.

Thanks, @gonzolino, you are right!
I tested today using docker image k8scloudprovider/openstack-cloud-controller-manager:v0.1.0 and it works fine.


Add clang-tidy run on zig sources, minor CMake improvements

Upgrade to >= CMake 3.1 (needed for Threads library and other modern CMake features).
Use CMAKE_CURRENT_(SOURCE|BINARY)_DIR instead of CMAKE_(SOURCE|BINARY)_DIR.
Run clang-tidy on Zig C++ sources. (Technically a CMake 3.6 feature but not upgrading minimum CMake just for this.) Can be enabled/disabled with ENABLE_CLANG_TIDY option. Added .clang-tidy file as config for this analysis.

Thanks for the PR. Did you find anything worth fixing with clang-tidy?

There were a lot of warnings so I was going to go through them for another PR.

Actually took a look now and see a lot of potential memory leaks in the analyze.cpp file.

Is there a reason the struct in the compiler don't have destructors (i.e. ZigList).

valgrind confirms this:
$ valgrind --track-origins=yes --leak-check=full ./zig build --build-file ../build.zig --prefix $PWD/stage2 install
==7156== Memcheck, a memory error detector
==7156== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==7156== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==7156== Command: ./zig build --build-file ../build.zig --prefix /home/ihier/proj/zig/zig/build/stage2 install
==7156==
==7156== Invalid read of size 1
==7156==    at 0xFE4DD5: os_path_join(Buf*, Buf*, Buf*) (os.cpp:229)
==7156==    by 0xFE097F: test_zig_install_prefix(Buf*, Buf*) (main.cpp:160)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==  Address 0xa670f8f is 1 bytes before a block of size 8 alloc'd
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE434F: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE440D: buf_init_from_buf(Buf*, Buf*) (buffer.hpp:71)
==7156==    by 0xFE4DB2: os_path_join(Buf*, Buf*, Buf*) (os.cpp:228)
==7156==    by 0xFE097F: test_zig_install_prefix(Buf*, Buf*) (main.cpp:160)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
Unable to find zig lib directory
==7156==
==7156== HEAP SUMMARY:
==7156==     in use at exit: 96,712 bytes in 1,440 blocks
==7156==   total heap usage: 1,762 allocs, 322 frees, 311,658 bytes allocated
==7156==
==7156== 64 bytes in 8 blocks are definitely lost in loss record 1,206 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE046D: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE04E7: buf_init_from_str(Buf*, char const*) (buffer.hpp:67)
==7156==    by 0xFE085D: test_zig_install_prefix(Buf*, Buf*) (main.cpp:144)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 64 bytes in 8 blocks are definitely lost in loss record 1,207 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE046D: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE04E7: buf_init_from_str(Buf*, char const*) (buffer.hpp:67)
==7156==    by 0xFE0888: test_zig_install_prefix(Buf*, Buf*) (main.cpp:147)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 64 bytes in 8 blocks are definitely lost in loss record 1,208 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE046D: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE04E7: buf_init_from_str(Buf*, char const*) (buffer.hpp:67)
==7156==    by 0xFE08B3: test_zig_install_prefix(Buf*, Buf*) (main.cpp:150)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 78 bytes in 1 blocks are definitely lost in loss record 1,216 of 1,370
==7156==    at 0x6423DAF: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE4279: buf_resize(Buf*, unsigned long) (buffer.hpp:41)
==7156==    by 0xFE46B4: buf_append_mem(Buf*, char const*, unsigned long) (buffer.hpp:106)
==7156==    by 0xFE4771: buf_append_buf(Buf*, Buf*) (buffer.hpp:118)
==7156==    by 0xFE4E10: os_path_join(Buf*, Buf*, Buf*) (os.cpp:232)
==7156==    by 0xFE09B9: test_zig_install_prefix(Buf*, Buf*) (main.cpp:162)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 78 bytes in 1 blocks are definitely lost in loss record 1,217 of 1,370
==7156==    at 0x6423DAF: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE4279: buf_resize(Buf*, unsigned long) (buffer.hpp:41)
==7156==    by 0xFE46B4: buf_append_mem(Buf*, char const*, unsigned long) (buffer.hpp:106)
==7156==    by 0xFE4771: buf_append_buf(Buf*, Buf*) (buffer.hpp:118)
==7156==    by 0xFE4E10: os_path_join(Buf*, Buf*, Buf*) (os.cpp:232)
==7156==    by 0xFE09D6: test_zig_install_prefix(Buf*, Buf*) (main.cpp:163)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 106 bytes in 2 blocks are definitely lost in loss record 1,349 of 1,370
==7156==    at 0x6423DAF: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE4279: buf_resize(Buf*, unsigned long) (buffer.hpp:41)
==7156==    by 0xFE46B4: buf_append_mem(Buf*, char const*, unsigned long) (buffer.hpp:106)
==7156==    by 0xFE4771: buf_append_buf(Buf*, Buf*) (buffer.hpp:118)
==7156==    by 0xFE4E10: os_path_join(Buf*, Buf*, Buf*) (os.cpp:232)
==7156==    by 0xFE097F: test_zig_install_prefix(Buf*, Buf*) (main.cpp:160)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 134 bytes in 3 blocks are definitely lost in loss record 1,353 of 1,370
==7156==    at 0x6423DAF: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE4279: buf_resize(Buf*, unsigned long) (buffer.hpp:41)
==7156==    by 0xFE46B4: buf_append_mem(Buf*, char const*, unsigned long) (buffer.hpp:106)
==7156==    by 0xFE4771: buf_append_buf(Buf*, Buf*) (buffer.hpp:118)
==7156==    by 0xFE4E10: os_path_join(Buf*, Buf*, Buf*) (os.cpp:232)
==7156==    by 0xFE099C: test_zig_install_prefix(Buf*, Buf*) (main.cpp:161)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 178 bytes in 6 blocks are definitely lost in loss record 1,354 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE434F: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE440D: buf_init_from_buf(Buf*, Buf*) (buffer.hpp:71)
==7156==    by 0xFE4DB2: os_path_join(Buf*, Buf*, Buf*) (os.cpp:228)
==7156==    by 0xFE097F: test_zig_install_prefix(Buf*, Buf*) (main.cpp:160)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 224 bytes in 8 blocks are definitely lost in loss record 1,359 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE046D: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE04E7: buf_init_from_str(Buf*, char const*) (buffer.hpp:67)
==7156==    by 0xFE08DE: test_zig_install_prefix(Buf*, Buf*) (main.cpp:153)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 240 bytes in 5 blocks are definitely lost in loss record 1,360 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE434F: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE440D: buf_init_from_buf(Buf*, Buf*) (buffer.hpp:71)
==7156==    by 0xFE4DB2: os_path_join(Buf*, Buf*, Buf*) (os.cpp:228)
==7156==    by 0xFE099C: test_zig_install_prefix(Buf*, Buf*) (main.cpp:161)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 346 bytes in 7 blocks are definitely lost in loss record 1,362 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE434F: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE440D: buf_init_from_buf(Buf*, Buf*) (buffer.hpp:71)
==7156==    by 0xFE4DB2: os_path_join(Buf*, Buf*, Buf*) (os.cpp:228)
==7156==    by 0xFE09B9: test_zig_install_prefix(Buf*, Buf*) (main.cpp:162)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 396 bytes in 7 blocks are definitely lost in loss record 1,363 of 1,370
==7156==    at 0x6421ABF: malloc (vg_replace_malloc.c:298)
==7156==    by 0x6423E04: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE434F: buf_init_from_mem(Buf*, char const*, unsigned long) (buffer.hpp:61)
==7156==    by 0xFE440D: buf_init_from_buf(Buf*, Buf*) (buffer.hpp:71)
==7156==    by 0xFE4DB2: os_path_join(Buf*, Buf*, Buf*) (os.cpp:228)
==7156==    by 0xFE09D6: test_zig_install_prefix(Buf*, Buf*) (main.cpp:163)
==7156==    by 0xFE0AD3: find_zig_lib_dir(Buf*) (main.cpp:193)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 438 (216 direct, 222 indirect) bytes in 9 blocks are definitely lost in loss record 1,364 of 1,370
==7156==    at 0x6423BA5: calloc (vg_replace_malloc.c:711)
==7156==    by 0xFE3E34: Buf* allocate<Buf>(unsigned long) (util.hpp:76)
==7156==    by 0xFE03EE: buf_alloc_fixed(unsigned long) (buffer.hpp:46)
==7156==    by 0xFE0419: buf_alloc() (buffer.hpp:52)
==7156==    by 0xFE0A92: find_zig_lib_dir(Buf*) (main.cpp:186)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== 515 bytes in 1 blocks are definitely lost in loss record 1,365 of 1,370
==7156==    at 0x6423DAF: realloc (vg_replace_malloc.c:785)
==7156==    by 0xF5532B: char* reallocate_nonzero<char>(char*, unsigned long, unsigned long) (util.hpp:107)
==7156==    by 0xF56CC8: ZigList<char>::ensure_capacity(unsigned long) (list.hpp:75)
==7156==    by 0xF55A38: ZigList<char>::resize(unsigned long) (list.hpp:58)
==7156==    by 0xFE4279: buf_resize(Buf*, unsigned long) (buffer.hpp:41)
==7156==    by 0xFE5E01: os_self_exe_path(Buf*) (os.cpp:1000)
==7156==    by 0xFE0A77: find_zig_lib_dir(Buf*) (main.cpp:182)
==7156==    by 0xFE0B0D: resolve_zig_lib_dir() (main.cpp:207)
==7156==    by 0xFE1324: main (main.cpp:360)
==7156==
==7156== LEAK SUMMARY:
==7156==    definitely lost: 2,703 bytes in 74 blocks
==7156==    indirectly lost: 222 bytes in 9 blocks
==7156==      possibly lost: 0 bytes in 0 blocks
==7156==    still reachable: 93,787 bytes in 1,357 blocks
==7156==         suppressed: 0 bytes in 0 blocks
==7156== Reachable blocks (those to which a pointer was found) are not shown.
==7156== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==7156==

The c++ compiler treats memory as one big ArenaAllocator. It all gets freed when the compiler exits and finishes the job. We don't bother freeing memory before this.
The self-hosted compiler has different requirements - it will be used as a long running process that will perform multiple services, for example compilation every time a file on disk changes, or implementing Language Server Protocol.

I see. OK let me see if I can change that analysis pass then.

I think this is largely a distraction.

The C++ codebase only has to build the self hosted compiler
See my specific comments on how clang-tidy is complaining about things that are actually quite intentional and helpful.
The marginal benefits of this static analysis is not worth the code review efforts to make sure these changes are helpful.
It's leading towards little changes that address possible symptoms and not resulting in actual bug fixes.

I appreciate your efforts @isaachier. I encourage you to redirect your energy toward more rewarding things. There are a lot of cool things to work on - feel free to hop on IRC if you want to discuss some ideas.

I definitely understand. It has been interesting exploring this code, but I agree this is more trouble than its worth.


the network is not learning anything - problem with Adam optimizer?

I customized this repository of Recurrent Models of Visual Attention (minimal) implementation on MNIST dataset to work with my custom RGB dataset, here is the forked repository: https://github.com/dusa2/RAM
Basically I made minimal changes to make it work with RGB data, and I read in the data using the datagenerator, I have checked data input and shapes and it all seems okay.
However, the network is not learning anything at all! I have a %50 %50 2 label dataset, and the network reward only moves around 0.5, the evaluation is around %50 and at first very little improvement is made (as it reads on the first epoch), but after that the network accuracy does not get better at all. I tried to lower the learning rate and nothing has changed. I suspect that the Adam optimizer does not update the learning rate either.
It all seems straightforward but I can not figure out why. I also tried another dataset (again custom) and it has the same behavior. How can I make sure that the optimizer is working as intended? What else might be the problem?

@dusa2
Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary.
Request you to provide simple standalone code to reproduce the issue in our environment. It helps us in localizing the issue faster.
If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

@ravikyram I am using Ubuntu 16.04 python 3 tensorflow version 1.9.0 (binary install)
will try to add a standalone, for now these could be useful as the source code is pretty minimal.
train.txt format:
filename label
video02_000000 0
video03_000025 1
video04_000050 0
The data is any a set of RGB images (jpeg format), the dataset is read in datagenerator lines 89-101 (path and folder structure needs to be customized)
Mine looks like:
├── data
├── images
└────video01
└──────video01_000000.jpg
└──────video01_000025.jpg
└──────video01_000050.jpg
└──────....
└────video02
└────video99
....
    def _read_txt_file(self):
        """Read the content of the text file and store it into lists."""
        self.img_paths = []
        self.labels = []
        with open(self.txt_file, 'r') as f:
            lines = f.readlines()
            for line in lines:
                items = line.split(' ')
                print(items)
                video = items[0].split('_')[0]
                impath =  '/home/data/images/'+video+'/'+items[0] +'.jpg'
                self.img_paths.append(impath)
                self.labels.append(int(items[1]))

@dusa2
Is it possible for you to try latest TF version 1.15 and let us know whether the issue persists? There were lots of performance improvements in the latest versions. Thanks!

@ravikyram I installed TF version 1.15 in a virtenv now I get this error:
import tensorlayer as tl
ImportError: No module named 'tensorlayer'

so, I can't even import TF, I tried to look up for solutions but all suggests changing version?
This is how I installed TF btw: pip install --pre "tensorflow==1.15.*"
am I not getting the latest 1.15? what may be wrong?

This is so curious, even for many epochs, it doesn't learn anything at all. Nothing. the loss / reward never changes

Apologies for the delay in response.
Install pip version 19.0 or later. See https://www.tensorflow.org/install/pip#system-requirements
Also this article may help https://stats.stackexchange.com/questions/352036/what-should-i-do-when-my-neural-network-doesnt-learn.


Replace very nested instrument dictionary with FileInfo class

The instrument dictionary that was being used to store all the data needed to create the netCDF template file is being replaced with a new python class. This results in cleaner data storage, rather than being a dictionary of varying levels of nesting and complexity, dimensions, variables, attributes and instrument information are all their own dictionary within the class. This also reduces the differences between the main function and the make_product_netcdf function.
A converter function has also been added to convert from the instrument dictionary to the new class, and will be kept while the use of the instrument dictionary is being deprecated.

pre-commit.ci autofix

Reduction in test coverage is largely (although not completely) down to increased Deprecation Warnings that aren't being tested for.


Digimesh Support

After installing the ArduinoMQTT and this library as a gateway to an MQTT broker; It seems like the libraries don't support straight Xbee Digimesh.  Is that correct?  If so, is there any plans on adding support for straight Digimesh instead of XBee Zigbee?

This application parses the Digi Xbee Zigbee messages received by Zigbee coordinator device and forwards payload to the TCP port. All devices must send external traffic through the coordinator. If Digimesh has different network structure or protocol It will not work.
I never used the Digimesh devices to say for sure.
I decided to switch to the WiFi from Zigbee because of the cost.
Sorry, I do not have a plan to add support for the Digimesh devices in near future.


Feature Request:  Time Duration implementation into mito

Please can you look into implementing the https://pkg.go.dev/time#Duration
This way we can add and subtract time easily within CEL input in filebeat

This already exists in the language. The duration type can be obtained either from subtracting a timestamp from another timestamp, or by conversion of a string that is a valid string representation of a Go time.Duration, so duration("1s") will return a duration of 1s. More details can be found in the language definition here.


Wrong email address in error message "Unable to load project"

Hi all,
I just encountered that the error message "Unable to load project" displays the wrong support email address<EMAIL_ADDRESS>which does not exist anymore. This might also be the case for other error messages..
Cheers,
Marie

What is the right email address?

<EMAIL_ADDRESS>


Sha256 code mismatch pulling a model

What is the issue?
Received the following messages while executing "ollama pull wizard-vicuna"
Error: digest mismatch, file must be downloaded again: want sha256:1ede1e83f21c3c72f7b1ce304920a3d8f6eaf8304cfda8fd82864287033175dc, got sha256:5130a22afc1df70a9babbe0d8843a6a65fd6647cc8d4836a476896fc61f0e3aa
What did you expect to see?
free of error message
Steps to reproduce
Just issue the command in a terminal: ollama pull wizard-vicuna
Are there any recent changes that introduced the issue?
No, this is the ollama package installed about a month ago. It has not been updated since then.
OS
Linux
Architecture
amd64
Platform
No response
Ollama version
0.1.25
GPU
AMD
GPU info
GPU: integrated Vega GPU in AMD Ryzen 5 5700G
rocminfo output:
ROCk module is loaded
HSA System Attributes
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE
==========
HSA Agents

Agent 1

Name:                    AMD Ryzen 7 5700G with Radeon Graphics
Uuid:                    CPU-XX
Marketing Name:          AMD Ryzen 7 5700G with Radeon Graphics
Vendor Name:             CPU
Feature:                 None specified
Profile:                 FULL_PROFILE
Float Round Mode:        NEAR
Max Queue Number:        0(0x0)
Queue Min Size:          0(0x0)
Queue Max Size:          0(0x0)
Queue Type:              MULTI
Node:                    0
Device Type:             CPU
Cache Info:
L1:                      32768(0x8000) KB
Chip ID:                 0(0x0)
Cacheline Size:          64(0x40)
Max Clock Freq. (MHz):   3800
BDFID:                   0
Internal Node ID:        0
Compute Unit:            16
SIMDs per CU:            0
Shader Engines:          0
Shader Arrs. per Eng.:   0
WatchPts on Addr. Ranges:1
Features:                None
Pool Info:
Pool 1
Segment:                 GLOBAL; FLAGS: FINE GRAINED
Size:                    65158508(0x3e23d6c) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
Pool 2
Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
Size:                    65158508(0x3e23d6c) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
Pool 3
Segment:                 GLOBAL; FLAGS: COARSE GRAINED
Size:                    65158508(0x3e23d6c) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       TRUE
ISA Info:

Agent 2

Name:                    gfx90c
Uuid:                    GPU-XX
Marketing Name:
Vendor Name:             AMD
Feature:                 KERNEL_DISPATCH
Profile:                 BASE_PROFILE
Float Round Mode:        NEAR
Max Queue Number:        128(0x80)
Queue Min Size:          4096(0x1000)
Queue Max Size:          131072(0x20000)
Queue Type:              MULTI
Node:                    1
Device Type:             GPU
Cache Info:
L1:                      16(0x10) KB
L2:                      1024(0x400) KB
Chip ID:                 5688(0x1638)
Cacheline Size:          64(0x40)
Max Clock Freq. (MHz):   2000
BDFID:                   1792
Internal Node ID:        1
Compute Unit:            8
SIMDs per CU:            4
Shader Engines:          1
Shader Arrs. per Eng.:   1
WatchPts on Addr. Ranges:4
Features:                KERNEL_DISPATCH
Fast F16 Operation:      TRUE
Wavefront Size:          64(0x40)
Workgroup Max Size:      1024(0x400)
Workgroup Max Size per Dimension:
x                        1024(0x400)
y                        1024(0x400)
z                        1024(0x400)
Max Waves Per CU:        40(0x28)
Max Work-item Per CU:    2560(0xa00)
Grid Max Size:<PHONE_NUMBER>(0xffffffff)
Grid Max Size per Dimension:
x<PHONE_NUMBER>(0xffffffff)
y<PHONE_NUMBER>(0xffffffff)
z<PHONE_NUMBER>(0xffffffff)
Max fbarriers/Workgrp:   32
Pool Info:
Pool 1
Segment:                 GLOBAL; FLAGS: COARSE GRAINED
Size:                    524288(0x80000) KB
Allocatable:             TRUE
Alloc Granule:           4KB
Alloc Alignment:         4KB
Accessible by all:       FALSE
Pool 2
Segment:                 GROUP
Size:                    64(0x40) KB
Allocatable:             FALSE
Alloc Granule:           0KB
Alloc Alignment:         0KB
Accessible by all:       FALSE
ISA Info:
ISA 1
Name:                    amdgcn-amd-amdhsa--gfx90c:xnack-
Machine Models:          HSA_MACHINE_MODEL_LARGE
Profiles:                HSA_PROFILE_BASE
Default Rounding Mode:   NEAR
Default Rounding Mode:   NEAR
Fast f16:                TRUE
Workgroup Max Size:      1024(0x400)
Workgroup Max Size per Dimension:
x                        1024(0x400)
y                        1024(0x400)
z                        1024(0x400)
Grid Max Size:<PHONE_NUMBER>(0xffffffff)
Grid Max Size per Dimension:
x<PHONE_NUMBER>(0xffffffff)
y<PHONE_NUMBER>(0xffffffff)
z<PHONE_NUMBER>(0xffffffff)
FBarrier Max Size:       32
*** Done ***
CPU
AMD
Other software
A fairly clean Linux Mint 21.3, none of other software could be the suspect causing this mismatched SHA256 error.

This seems like a duplicate of #941


feat: add configurable registry for loading extension resources

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


Add lab quiz solution links to index.html

Before merging:
[] All quizzes must be administered
[] Make solution repositories public


Error running "exterminate".

This is what happens:
┌─[8:29:32pm/starlancer/trusktr/~/src]
└─╼ exterminate

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)

┌─[8:29:37pm/starlancer/trusktr/~/src]
└─╼

I was getting the same. This fixed it:
diff --git a/bin/cmd.js b/bin/cmd.js
index 34f46af..acb937e 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
 -113,7 +113,7  var ps, viewShell;
 server.on('listening', function () {
     var port = server.address().port;

-    var bin = 'google-chrome';
+    var bin = 'chromium';
     var args = [ '--app=http://localhost:' + port + '/?' + Math.random() ];

     if (os.platform() === 'darwin') {

I just didn't have google-chrome installed, so what it was trying to child_process.spawn plain didn't exist. I'm guessing you guys have the error for similar reasons?
ENOENT stands for "error: no entry" as in trying to access something that doesn't exist. Here's where that comes from in the built-in child_process.js module.

Hello World
XXXX


aar and jar wasn't the same version

Hey, guys. In this repository, I found the jar version is 7.2.1 but the aar version is 7.2.0 , and the newest version is 7.2.2 which I can't found the version anywhere. I want to update my InMobi SDK, could you give me a suggestion which one should I integrate?

Thanks for the comment, we'll update the repo with the latest details soon.

Versions have been updated.


Do you can add a "automatic match's start if there are a specific [configurable] amount of players after cycling to a new map and joining the game"?

I could contribude with "some", i could donate for this project, its so great!
I would do you add a function for auto-starting every match after a cycle, if there are minimum 2 players on server :)
And how i prevent players without rank or "permission" can select their teams "free and overfilling only 1 team"?

Cardinal isn't for your network, it is for private scrimmage servers

You can donate here: http://twizmwaz.in/donate/


air-gap env: k3s with external containerd is not preloading images

Environmental Info:
K3s Version: v1.20.4+k3s1
Node(s) CPU architecture, OS, and Version:
Alpine 3.13
Cluster Configuration:
1 instance ok k3s as server
Describe the bug:
Running k3s as part of an air-gapped environment. k3s is pointing to an external instance of containerd.
As far as I understand from this code here: containerd.go
Unless k3s uses the built-in containerd, the air-gapped images will not be preloaded from the /var/lib/rancher/k3s/agent/images folder, as they usually are otherwise.
Steps To Reproduce:

Put air-gap images tarball in preload folder
Install k3s pointing to external containerd (i.e. --container-runtime-endpoint unix:///run/containerd/containerd.sock)
ctr images ls shows no images pre-loaded

Expected behavior:
air-gapped images are imported regardless of using the built-in or external containerd instance.
Actual behavior:
air-gapped images are not pre-loaded
Is this something k3s could eventually support?

If you have an external containerd, you should be able to just use ctr to load the images yourself?

@ntx-ben if the ctr you are using is from the external containerd installation you will need to use the correct containerd namespace (the ctr that comes with k3s does this for you auto-magically), i.e.:
ctr -n k8s.io image ls

Thanks for your replies guys.
I guess I wanted to ask, rather, would it be possible for k3s to pre-load images regardless of the fact that its running containerd as a sub-process, or connecting to a standalone version. I was assuming that k3s would do that.
I'm lazy. Yes, I am now pre-loading images with ctr myself, but at first I was under the impression k3s would be doing that since previously I was using the k3s "bundled" containerd.
Anyway you can close this ticket.

@ntx-ben is it actually not? A ctr image ls on a clean installation will never be empty as k3s will go ahead and attempt to download images from the internet (unless you are air-gapped of course). The output that you share was likely not listing images from the correct containerd namespace, k8s.io. Do you have running pods? If so, please kubectl describe one from kube-system, such as coredns, and see if there is a message there that the image was already present on the system.

@dweomer Yeah I found out I had to add the k8s.io namespace to ctr, as you mentioned.
However, k3s is still not pre-loading images from my air gap tarball located at /var/lib/rancher/k3s/agent/images/ folder. I did a clean install of k3s, pointing to a standalone containerd, and I can see pods stuck in pending state because the images cannot be fetched and are not already present. (I am in a air gap env.)
Hence my question/request for k3s to pre-load images if containerd is run as a sub-process, or as a standalone instance.

@dweomer Yeah I found out I had to add the k8s.io namespace to ctr, as you mentioned.
However, k3s is still not pre-loading images from my air gap tarball located at /var/lib/rancher/k3s/agent/images/ folder. I did a clean install of k3s, pointing to a standalone containerd, and I can see pods stuck in pending state because the images cannot be fetched and are not already present. (I am in a air gap env.)
Hence my question/request for k3s to pre-load images if containerd is run as a sub-process, or as a standalone instance.

Okay, that does seem like a gap.

@dweomer we currently call preloadImages at the end of containerd.Run(), so if we don't start the embedded containerd, images never get preloaded.
https://github.com/k3s-io/k3s/blob/cb73461a5bd69cc91f3dc5fec3ffbbd8e970132a/pkg/agent/containerd/containerd.go#L120

@brandond Thanks, I hadn't poked in the code yet but that reasoning makes sense.


Incoming email encryption

Hi folks,
I just stumbled over EasyMail and I was wondering if EasyMail has support for encrypting incoming emails.
For instance a little implementation of Pretty Easy privacy (p≡p) like described in this blog post or at least MailCrypt support (here's a description how to integrate).
p≡p would surely be the best and most modern variant.

Hello @alexanderadam it sounds like a good idea, unfortunately the project is frozen. There are not active contributes, if there is Pull requests I will review it, but other I don't see any other contributes right now.

Thank you for responding. I wasn't aware that the project is frozen.
So maybe you might want to write that in the README and/or use the archiving functionality of GitHub?

@alexanderadam it's not a bad idea. The only reason I haven't done that is because the product is used in production environments and if someone find a security issue I will still fix it dissipate that there are no other contributors.

You can write that in the readme exactly like this :wink:
Or you could advice recommending migrating to

https://github.com/mailcow/mailcow-dockerized
https://github.com/Mailu/Mailu
https://github.com/tomav/docker-mailserver
https://github.com/modoboa/modoboa/
https://github.com/cpt-lamar/mailbooze
https://github.com/zokradonh/kopano-docker
https://poste.io/doc/getting-started#download

and/or others


passing batch outputs to on_train_batch_end

What does this PR do?
Passes batch outputs to on_train_batch_end instead of epoch end outputs
Fixes #4326
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[x] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[Y] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @swethmandava! Thanks for opening this PR.

In the file pytorch_lightning/trainer/training_loop.py:

Line 560:121: E501 line too long (132 > 120 characters)

Do see the Hitchhiker's guide to code style

Thanks for the PR!
Please take a second look as it seems test are failing...

@swethmandava could you please check failing tests and also add a test for this change?

@Borda @edenlightning fixed pytest errors. it now fails with /bin/bash: /root/miniconda3/envs/lightning/lib/libtinfo.so.6: no version information available (required by /bin/bash) seems to be conda version related - can you help?

Not sure what changed. is_overridden("on_train_epoch_end", model=self.trainer.get_model()) returns False even when overwritten in callback @SeanNaren . Hence will have to implement training_epoch_end

@swethmandava is_overridden refers to methods in LightningModule. It has nothing to do with methods implemented in the Callback class

@swethmandava is_overridden refers to methods in LightningModule. It has nothing to do with methods implemented in the Callback class

Since epoch_end_outputs are passed to callbacks, it would make sense to also check if specific hooks like on_train_epoch_end has been implemented in the callbacks to decide if we should track outputs. Any good way to do it? @awaelchli

The Callback class has these methods so they are "implemented" just not necessarily overridden but that doesn't matter, they are no-op so you can just pass in the outputs right?
I see no need to add new logic.

The Callback class has these methods so they are "implemented" just not necessarily overridden but that doesn't matter, they are no-op so you can just pass in the outputs right?
I see no need to add new logic.

They are only tracked if needed https://github.com/PyTorchLightning/pytorch-lightning/blob/056602001c72283c2ffdd028941f89176666f191/pytorch_lightning/trainer/training_loop.py#L280
so unless training_epoch_end is overridden, on_train_epoch_end receives an empty list of outputs. Do you want to track 'always' instead?

Hey all, I'm working on a callback that would generate a plot of model outputs each epoch and encountering an issue that appears to be related to this. I'd expect I should be able to grab the model outputs from the outputs arg of on_training_batch_end, on_validation_batch_end, etc., but this shows comes in as None. A bit of googling brought me here, and it seems this issue has gone a little stale.
Is this issue still being worked on? If not, is there a suggested workaround? Thanks!

@SeanNaren can this be merged?

@SeanNaren can this be merged?

Apologies for the stale! A simple boring model test that ensures that if the user overrides this hook, they retrieve the appropriate model outputs would be nice :)
Similar to this: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/tests/models/test_hooks.py#L52
thanks for working on this!

Apologies for the stale! A simple boring model test that ensures that if the user overrides this hook, they retrieve the appropriate model outputs would be nice :)
Similar to this: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/tests/models/test_hooks.py#L52
thanks for working on this!

Apologies for the stale! A simple boring model test that ensures that if the user overrides this hook, they retrieve the appropriate model outputs would be nice :)
Similar to this: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/tests/models/test_hooks.py#L52
thanks for working on this!

Done!

Apologies for the stale! A simple boring model test that ensures that if the user overrides this hook, they retrieve the appropriate model outputs would be nice :)
Similar to this: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/tests/models/test_hooks.py#L52
thanks for working on this!

Done!

Thanks @swethmandava for doing this and apologies on the delay, fell through the cracks a few times...

Thanks @swethmandava for doing this and apologies on the delay, fell through the cracks a few times...


in xCode 6 frame appears to be changed by AHEasing

Hopefully this is just prerelease jitters, but when I use an easing function in say, a segue on xCode 6 DP5 the frame of the view I'm easing is completely in the wrong place. Disabling easing fixes the problem. Not sure how or why - happy to share more information if that helps.

Just in case anyone else lands here looking for a solution to the "up and to the left" issue.  My project was using AHEasing as well as UIView+EasingFunctions and experiencing this curious frame shift behavior.  As of this moment in time there is an outstanding PR (https://github.com/zrxq/UIView-EasingFunctions/pull/18) that updates the key paths used in iOS 8 for bounds.  If you are using both libraries, you might consider updating both to their latest (or pull from the relevant PRs).


How to create an enum directly and not embedded inside a class?

So basically when I do this :
{
description:
type:
properties: {
myEnums:{
type:string
enum:[1,2,3,4]
}
}
}
and put this in a file i.e. MyEnum.json
this ultimately makes my enums available as :
MyEnum.MyEnums.1
Can I not have MyEnums.1 directly?

Hi
It is possible to have enum generated directly as root, please see following example.
{
  "description": "Description",
  "javaType": "myEnums",
  "type": "string",
  "enum": [
    1,
    2,
    3
  ]
}

@unkish
Let's say the only field aof root object refers to this enum. Then json {"a": 1} won't pass a validator as a is not string, while  {"a": "1"} because it doesn't match enum

thanks @unkish - your comment solved my issues. However should  I keep the thread open for @eirnym 's question and issue?

You just have a problem in your schema and nothing can satisfy it right now, but it's not important to the question of 'enum as root'. Check out the examples unkish linked to. You want type: integer if you have integers in the enum.


Update README.md

Fixes https://github.com/cncf/sig-observability/issues/7

CC @bwplotka , can't add you as a reviewer yet.


Editing Property Value causes value to become URL encoded

Storage Explorer Version: 1.6.0
Platform/OS Version: Windows
Architecture: ia32
Regression From:
Steps to Reproduce:

Have blob with more than one metadata property
At least one property should have value that is NOT URL encoded (a:b,c:d)
Open blob properties dialog in Storage Explorer
Change a property value
Hit 'Save'

Expected Experience:
Metadata property value matches what was typed in the user interface when read by the Azure .NET libraries.
Actual Experience:
The property value is now URL encoded when retrieving from azure .NET libraries

Hi @bengavin , this is for a non-HNS enabled Storage account yes? If so, then this should be the correct behavior? From this doc:

Metadata name/value pairs may contain only ASCII characters. Metadata name/value pairs are valid HTTP headers, and so must adhere to all restrictions governing HTTP headers. It's recommended that you use URL encoding or Base64 encoding for names and values containing non-ASCII characters.

So before we set your metadata, we URL encode it. Are you saying the .NET libraries don't do this?

Oh, I think I understand now, we're encoding the entire string, but you only want it for the non-ASCII characters, yes?

This seems to be a recent change.  We have builds that push new BLOB images to Azure Storage, along with setting a number of Metadata Properties (via the x-ms-meta- header).  Some of these properties are of the form:
x-ms-meta-Signatures: a:b,c:d
We then have a service running in Service Fabric that reads that blob metadata and extracts it, assuming that the returned information will be in the above format.  We have been changing this data via Storage Explorer for quite some time, but with the latest revision, the 'Signatures' value is being changed to a%3Ab%2Cc%3Ad as it is read by our code.  Looking at the data in Storage Explorer looks correct (as it must be decoding the value for display).

So... I think yes to your proposed solution? :)

Ok, well we're shipping a hotfix next week for 1.6.0. I'll get the fix for this included in that. Until then, you can either use 1.5.0, or if you'd like, I can send you an early build of 1.6.1 to try out.

Perfect, I can wait, I've just notified the team to avoid making updates with 1.6.0.  I'll keep an eye out for 1.6.1!  Thanks!

Ok! Sorry about the bug. I hope it hasn't caused you too much trouble. 😓

Fix merged into hotfix branch.


Enabling Story Skip

As of title how do I enable the story skip feature?

Search for StorySkip = 0 in your fgo regular file and replace 0 with 1.


Disable Assign Button until facility selected

Current behavior

The assign count button should be disabled until a facility has been assigned to the count. On hover we can show a toast that a facility must be added.

@dt2patel Sir, we can disable the button if facility is not assigned but once a button is disabled pointer events won't work, thus won't be able to show toast on hover.
If we want to achieve this we need to remove the pointer-events property from the disabled class.

After discussion, and this comment from @ymaheshwari1 we can close this ticket


Powerline font was rendered incorrectly, so does the Chinese

OS: macOS 10.15.7
Neovide: Build from source(rustc 1.48.0-nightly (d006f5734 2020-08-28))

Can't render powerline font (right pane/airline)

Can't render chinese character (line 8 13 14)

There is no such problem if I switch to iTerm2(But I'd love to use Neovide, it looks amazing!)
Here's my configuration files (I'm new to vim)

$HOME/.vimrc

syntax on
execute pathogen#infect()
filetype plugin indent on

set nu
set hidden
set mouse=a
set nobackup
set nowritebackup
set cmdheight=2
set updatetime=3
set encoding=UTF-8
set guifont=Fira\ Code\ Retina\ Nerd\ Font

call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'ryanoasis/vim-devicons'
Plug 'vim-airline/vim-airline'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()

autocmd vimenter * NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
let g:NERDTreeWinPos="right"
let g:airline_powerline_fonts = 1

let mapleader=','
inoremap jj <Esc>`^

map <C-t> :NERDTreeToggle<CR>

$HOME/.config/nvim/init.vim

autocmd vimenter * colorscheme gruvbox
set background=dark
syntax enable
filetype plugin indent on

let g:gruvbox_bold = 0
let g:gruvbox_italic = 0
let g:gruvbox_italicize_comments = 0
let g:gruvbox_italicize_strings = 0
let g:gruvbox_contrast_light = "soft"

let g:neovide_no_idle = v:true
let g:neovide_transparency = 1.0
let g:neovide_fullscreen = v:true
let g:neovide_refresh_rate = 144
let g:neovide_cursor_vfx_mode = "torpedo"

set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

I get the same problem

A scratch that - it just wasn't reading my .gvimrc, so I moved set guifont into my main vimrc

I get the same problem

The Delugia Nerd Code works.
But I'm trying to set two fonts Fira Code Retina and Nerd Font to show the code and powerline symbols, respectively.

You have to specify a font which contains those glyphs. Unfortunately neovide does not have a way to use the system's font fallback, so you have to specify it manually via the guifont option inside of neovim.
Neovide has an extension that lets you specify a list of fonts as a sort of manual fallback. You do it by separating the font names by commas in the guifont setting.


Keep AndroidEnvironment class in proguard config

Closes #95.

👍  Thank you so much on this. I am a noob when it comes with proguard config.

Crud. I've just read http://stackoverflow.com/questions/26983248/proguard-ignores-config-file-of-library?s=1|4.3075, which says that consumerProguardFiles needs to be used in the build.gradle for library projects. Nvm, I'll open another PR.


[FEA] Profiling tool display input data types

Is your feature request related to a problem? Please describe.
We want the profiling tool to be able to display what input types were read from the spark event log when possible.
it should also indicate if one of the types isn't supported by the rapids plugin.

so it looks like the datasource v1 does list all of the types read in the metadata in ReadSchema.  This does not look like its the case for datasource v2 where it only puts it in the plan string so it gets truncated. I've only looked at parquet so far but for v1 we should be able to do this and v2 for possibly just a couple of columns


consider using vuex-modules

https://vuex.vuejs.org/en/modules.html

I think it's not needed for most applications and it'll add more complexity -> closed

WIP: https://github.com/devCrossNet/vue-starter/tree/refactor/vuex


Add default_route_visibility to Defaults

thanks @dmoss18 … please can you quikcly fix the rubucop stuff

@LeFnord Rubocop updated, but the head ruby tests failed while setting up ruby

@dmoss18 … I updated the CI matrix … please have a look at the actual failures, thanks

one question, does the hiding of a route still work?


Fails to Compile with IBM XLF 16.1.1

I noticed that some XLF support was mentioned in an older change log. After examining Makefile.power, I noticed that the version being called out is XLF 11.1 (paths reference /opt/ibmcmp/xlf/11.1).
I first compiled with the default settings and ran into linking errors. I then adjusted the paths in Makefile.power to /opt/ibm/xlf/16.1.1 and ran into the same linking errors.
I'm attaching the compressed output for make VERBOSE=1 2>&1 | tee ~/oblas.log as the original was 4 MB.
oblas.log.gz

The references to xlf 11 are only in optional sections for linking to lIBM's ESSL library. What appears to happen is that the gensymbol script hits some kind of incompatibility with your shell or basic os tools, and generates names with a trailing 1 for all Lapack function. This results in an incomplete shared library, while the static libopenblas.a is probably usable.

which operating system version are you seeing this with ?

The OS is Fedora 38. I didn't realise linking to ESSL was an option. Is there a flag for it? The modern essl library installs to /opt/ibmmath/essl/<Version>/lib64

To test your idea of the shared library being the issue, I compiled again with the no shared library flag. I get the following error:
xlf -O2 -q64 -openmp  -O2 -qrecur -qnosave -mcpu=power9 -mtune=power9 -DUSE_OPENMP -fopenmp  -o test_sbgemm compare_sgemm_sbgemm.c ../libopenblas_power9p-r0.3.24.a -lm -lpthread -lm -lpthread -L/usr/lib/gcc/ppc64le-redhat-linux/13 -L/usr/lib/gcc/ppc64le-redhat-linux/13/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/OpenBLAS-0.3.24-MT/GCC/lib -L. -L/usr/lib/gcc/ppc64le-redhat-linux/13/../../..  -lc
xlf -O2 -q64 -openmp -fPIC -O2 -qrecur -qnosave -mcpu=power9 -mtune=power9  -DUSE_OPENMP -fopenmp -c sblat3.f  -o sblat3.o
xlf -O2 -q64 -openmp -fPIC -O2 -qrecur -qnosave -mcpu=power9 -mtune=power9  -DUSE_OPENMP -fopenmp -c dblat3.f  -o dblat3.o
xlf -O2 -q64 -openmp -fPIC -O2 -qrecur -qnosave -mcpu=power9 -mtune=power9  -DUSE_OPENMP -fopenmp -c cblat3.f  -o cblat3.o
xlf -O2 -q64 -openmp -fPIC -O2 -qrecur -qnosave -mcpu=power9 -mtune=power9  -DUSE_OPENMP -fopenmp -c zblat3.f  -o zblat3.o
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-218 (W) file compare_sgemm_sbgemm.c contains an incorrect file suffix
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/usr/bin/ld: unrecognised emulation mode: tune=power9
Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf64ppc elf32ppc elf32ppclinux elf32ppcsim elf32_spu i386pep i386pe elf64bpf
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mcpu=power9 is not recognized - passed to ld
/opt/ibm/xlf/16.1.1/bin/.orig/xlf: 1501-216 (W) command option -mtune=power9 is not recognized - passed to ld
make[1]: *** [Makefile:329: test_sbgemm] Error 1

huh, why is it trying to compile a c source with the fortran compiler here ?

found me a machine with xlf16, testing some fixes...

there is still a problem in LAPACKE even with PR #4238 - gcc expects the symbols to have a trailing underscore, but xlf does not add one (maybe adding -qextname  to FC will help)


How to wrap text outside the polygon range

There is no automatic wrapping of labels unless you use ol-mapbox-style or ol/layer/MapboxVector with a style that specifies wrapping.  Otherwise you must use a function similar to stringDivider in https://openlayers.org/en/latest/examples/vector-labels.html (in your case where there are no spaces you might want to divide before upper case characters).

Depending on what you want to achieve you can either introduce line breaks in your application code as shown in the already linked example or you need to draw on the canvas directly if more control is required. The example in https://openlayers.org/en/latest/examples/custom-circle-render.html shows how to do this.
I tend to find myself drawing labels with the canvas API sooner or later because the default label placement is not suitable for all polygons. Also the default placement cannot take other drawing elements into account - for example icons to be placed along with the labels. Regarding positioning you might want to look at Mapbox's excellent library: https://github.com/mapbox/polylabel
Recently, I've experimented with line breaks in labels and finding positions based on the polygons' pixels (biggest horizontal rectangle in polygon area). It's still very rough but shows a different spin on the problem. Basically, the code generates some candidates with different line break variants, checks which are feasible, and picks a hopefully decent placement for drawing. Maybe this is of use for somebody.
https://stackblitz.com/edit/typescript-5a1vki?file=index.ts

Thank you very much for your help ！！！😀


Memory Leak on Apple M2 Max

Description
The memory use increases with time. At launch, memory use is approximately 2 GB. After four hours, this had exceeded 10 GB. This was confirmed by checking Activity Monitor periodically.
To Reproduce
Use RuneLite with 117 HD plugin activated for an extended period of time.
Expected behavior
Memory use should not significantly increase with time.
Screenshots
This screenshot of Activity Monitor was captured after ~4 hours of RuneLite w/ 117 HD runtime:

Environment (please complete the following information):

OS: macOS Ventura 13.2.1
RuneLite version: 2.6.3 (Apple Silicon)

Additional context
RuneLite itself has been ruled out as a culprit after running it in "Safe Mode" which de-activates 117HD by default.

Interesting. A few questions:

Do you have any other plugin hub plugins installed?
Are you launching RuneLite with the standard launcher & default launcher memory settings?
Does this also happen with RuneLite's GPU plugin?

This could be a bug with Apple's OpenGL driver, but we'd have to dig into it further to say for sure.

Thanks for the response, @aHooder. To address your questions:

The only other plugin hub plugins installed are Quest Helper, Left Click Dropper, and Ping Graph.
I am launching with the default launcher and memory settings.
This would need to be tested -- I will try running for an extended period with GPU as opposed to 117HD and compare the results. I will be sure to report back with what I find.

I have tested memory use with the GPU plugin. After extended use (about ~7 hours with the client open, although it auto-logged out and my Mac went to sleep for a short time - about four hours of continuous use at the end) memory use stands at 2.39 GB. Upon launch, memory use is about 950 MB.
So there is a memory leak phenomenon happening with the GPU plugin itself as well, albeit on a much less intensive scale than 117HD. Of course, 117HD is much more memory intensive, but I don't know if it scales compared to the GPU plugin.
As stated above, 117HD launches at ~2GB of memory, and rises to >10GB within four hours. The GPU plugin only doubled in the same time frame.

Ah, thanks for looking into it. I would hazard a guess at it being caused by Apple's OpenGL driver not cleaning up after itself, but it's hard to say without looking at the raw data (and even then it would be tricky). Do let us know if you find any particular setting causes it to get worse though.

Same issue on Linux. I have had it go up to 18.5GB of RAM used. With the plugin enabled the RAM usage slowly goes up. With it disabled it stays at 1GB.

Same issue on Linux. I have had it go up to 18.5GB of RAM used. With the plugin enabled the RAM usage slowly goes up. With it disabled it stays at 1GB.

I'm not able to reproduce this on Linux with proprietary Nvidia drivers. Which drivers and GPU are you using?

I’m using Nvidia proprietary drivers (530.41.03) with a GTX 1060 6GB. After around 4 minutes it is already at 4GB and then slowly goes up from there. Yesterday I had been playing for probably one hour or so and it was at 18.5GB. The same time with the normal GPU plugin it was at 1.5GB of RAM.

Are you sure this isn't just the model cache filling up? On my system, the base game uses roughly 2GB, and the model cache adds on top of that once it's filled up. What's your cache size set to?


Transliteration for Japanese  to latin with punctuation not working.

I used api request as
https://api.cognitive.microsofttranslator.com/transliterate?api-version=3.0&language=ja&fromScript=Jpan&toScript=Latn
For simple input like [{"Text":"さようなら"}] works fine, but if we place punctuations like { Fullstop, comma} as [{"Text":"さようなら。"}]
it returns tresult as
[
{
"text": "さようなら。",
"script": "Latn"
}
]

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

ID: 8492ec21-4a6a-1283-5d64-fd8e67ac2abd
Version Independent ID: 3a7de8d9-6a4f-56f3-965d-af3febbd3499
Content: What is the Translator Text API? - Translator Text API
Content Source: articles/cognitive-services/Translator/translator-info-overview.md
Service: cognitive-services
GitHub Login: @erhopf
Microsoft Alias: erhopf

@laxmi518 - This item has been assigned to the service’s engineering backlog and will be addressed. #please-close


Ported to VS v1.18

Hi!
you probably don't have time to port your great mod to vs1.18. So I did it. Would you be so kind as to check it and if it's ok, post StoneQuary for 1.18? Hope that I did it well :-).
Fipil.

It would be nice to ask about 1.18 first
The update has been ready for a long time, but I'm waiting for the multiblock API fix (I have reported this three times already since pre.8 )
anegostudios/VintageStory-Issues#2606

I updated the files and added the pre.1 version of SQ , but it has problems with buggy interaction with slabs

Aha, okay. I read your comment that it's coming soon, but was looking at the source code on github and didn't see any activity there for a long time. So I thought that you promised it, but you're so busy that you hadn't time to do it, since promised.
I'm sorry for my misunderstonding. I'm looking forward to the update, it's great mod! :-)

Maybe put an explanation comment to the mod page explaining why it's waiting to upgrade, so no anyone else is confused as me?


Tasks runner cannot find npm/yarn even it installed

Issue Type: Bug
I have installed npm/yarn/pnpm on my pc using nvm installer script.
If i run yarn run [script] from vscode terminal, it runs well, but if i select Tasks: Run Build Task and choose yarn run build, terminal output is
> Executing task: yarn run build <

zsh:1: command not found: yarn
The terminal process "zsh '-c', 'yarn run build'" failed to launch (exit code: 127).

Terminal will be reused by tasks, press any key to close it.

Run with `Tasks: ...` and manually from terminal

If i run vscode without extensions (code --disable-extensions), tasks runner works well

All extensions disabled by `--disabled-extensions`

but if i manually disable even all extensions, tasks will failed again

All extensions disabled manually

VS Code version: Code 1.59.0 (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:13:20.182Z)
OS version: openSUSE Tumbleweed Linux x64 5.13.8-1-default
Restricted Mode: No

Versions and install locations of node/npm/yarn

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2322)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 1

Memory (System)
15.41GB (9.35GB free)

Process Argv
--crash-reporter-id e722747b-42de-4be4-9c02-a8a461a3058b

Screen Reader
no

VM
0%

DESKTOP_SESSION
i3

XDG_CURRENT_DESKTOP
i3

XDG_SESSION_DESKTOP
i3

XDG_SESSION_TYPE
x11

Extensions (17)

Extension
Author (truncated)
Version

iconify
ant
0.1.0

vscode-file-templates
bam
1.1.0

vscode-tailwindcss
bra
0.6.13

vscode-eslint
dba
2.1.23

auto-rename-tag
for
0.1.8

i18n-ally
lok
2.7.0

vscode-docker
ms-
1.15.0

csharp
ms-
1.23.14

remote-ssh
ms-
0.65.7

vetur
oct
0.34.1

vscode-yaml
red
0.22.0

code-stats-vscode
riu
1.0.18

vue-vscode-snippets
sdr
2.2.1

pdf
tom
1.1.0

windicss-intellisense
voo
0.20.2

vscode-wakatime
Wak
15.0.0

local-history
xyz
1.8.1

I'm sorry, i found problem on my side, it was in how i run vscode.
i3-msg 'exec code' break something and nothing works. If i run vscode from terminal or from apps list, all works fine.


How to re-attest

If the Hyper-V host changes eg due to firmware updates (and hence shielded VM's wont start as attestation fails), what is the quickest and easiest way to re-attest everything?

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

ID: 7e5237ef-7c83-f3cc-ab0e-90acc4e3fdac
Version Independent ID: fb5b347f-f70b-305f-2cd2-5b0a0501042d
Content: Troubleshooting the Host Guardian Service
Content Source: WindowsServerDocs/security/guarded-fabric-shielded-vm/guarded-fabric-troubleshoot-hosts.md
Product: windows-server
Technology: security-guarded-fabric
GitHub Login: @rpsqrd

Duplicate of #3873 (same content).
#please-close

sorry I don’t know how to ‘close’ it
From: Trond B. Krokli<EMAIL_ADDRESS>Sent: 12 February 2020 21:17
To: MicrosoftDocs/windowsserverdocs<EMAIL_ADDRESS>Cc: Stephen Cole (ENGLAND<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windowsserverdocs] How to re-attest (#3874)
Duplicate of #3873https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindowsserverdocs%2Fissues%2F3873&data=02|01|stephc%40microsoft.com|32ee813c837649fe66dc08d7b000dbef|72f988bf86f141af91ab2d7cd011db47|1|0|637171390064081482&sdata=3yTVzzoEqsLrj%2FIyftjOOySWKP7M2ZcSJXAfvyMNxBE%3D&reserved=0 (same content).
#please-close
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindowsserverdocs%2Fissues%2F3874%3Femail_source%3Dnotifications%26email_token%3DAGGHGBPUFVFPGGICPI4TFV3RCRRLVA5CNFSM4KT2YXRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELSNG2A%23issuecomment-585421672&data=02|01|stephc%40microsoft.com|32ee813c837649fe66dc08d7b000dbef|72f988bf86f141af91ab2d7cd011db47|1|0|637171390064081482&sdata=pkXs1%2BXAftmtceCXrBQfTCDCI0b9F4FP%2FnU1lGmR1Xw%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGGHGBLW34EQYMP35LI45TDRCRRLVANCNFSM4KT2YXRA&data=02|01|stephc%40microsoft.com|32ee813c837649fe66dc08d7b000dbef|72f988bf86f141af91ab2d7cd011db47|1|0|637171390064091484&sdata=NPLfBHZgwGiLadKmxN4OEtNswV2dQ5HnQ%2FPBDG3O5lE%3D&reserved=0.

Fair enough. There is usually a [Close & comment] button at the bottom of the issue page, but there might not be one for issue tickets like this when it has been (correctly) created from the docs.microsoft.com page. This only means that we need to wait for a Microsoft Server Docs team member to close it. If so, that is normal and my comment was more directed to a Microsoft Server Docs team member than to you.

Thank you for closing this ticket. To anyone else who happen to stumble upon this ticket, see #3873 for follow-ups to this issue.


error TSTL: To load plugin.ts

I tried to write a plugin.ts, but he reminded me to install ts-node, and it still doesn't work after I run the command npm i -g ts-node, what should I do?
error TSTL: To load "../tsplugin.ts" plugin it should be transpiled or "ts-node" should be installed.

i used tsc and plugin:[{name:'../plugin.js'}]