[BUG] aws token expires when running a long dump

not sure if this would be a bug or a feature request but here I go:
I'm currently running elasticdump to move data from ElasticSearch  V5.5 to another ElasticSearch version 7.8. both cluster are AWS managed Elastic Search.
I moved a few small indices(smaller than 100GB) and it worked well. however, when I try to move large indices, larger than 100Gb, and the process takes more than 5 hours, I get the following error:
Thu, 19 Nov 2020 12:18:16 GMT | dump ended with error (get phase) => Error: {"message":"The security token included in the request is expired"}
elasticDump version: 6.34.1

Elasticsearch version. input 5.5 output 7.8
Node.js version : 14
Full command you are having issue with (with inputs and outputs)

elasticdump --input=https://elastic-5/myindex  --output=https://elastic7/myindex --type=data --noRefresh --limit=2300 --awsChain=true
I run elasticdump from a EC2(windows) and it has the IAM role that has rights to read and write from/to both clusters.
is there any way elasticdump can renew the token before it expires?
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Credentials.html

I see the issue, seems the credentials expired (default limit is 1hr). We didn't implement the refresh logic because no one ever asked for it.
I can add it, but I have no means of testing this since I don't have AWS. Would you be able to test it ?

it took around 5 hours for the token to expire. not sure if that's a configurable value(I'm using a company's aws account)
I can definitely test it.

<EMAIL_ADDRESS>contains token refresh logic

alright thank you. I'm going to test now and will get back to you.
it should take a few hours

getting this error now:
Cannot read property 'get' of undefined
I need to move to a dev and fresh  environment to test it properly .. will  get back to you by tomorrow

are you sure you're using the latest? that issue was fixed.

I just tried it in a fresh environment. installed node and elasticdump from scratch
got the same error:
Fri, 20 Nov 2020 07:27:38 GMT | Error Emitted => Cannot read property 'get' of undefined
I tried in version 6.49.1 and 6.50.0 and added the flag --awsRefresh( is this flag really needed? do we want ever let the token expire?)
let me know how I can help to troubleshoot this.
thanks a lot for helping

No worries I think I'll have to check the credentials object for the existence of the refresh property

pushed a new release. the credentials object should never be null, think i might have to re-implement using promises

thank you.
just updated to 6.50.2 and now I get this error:
Error Emitted => {"message":"The security token included in the request is invalid."}
let me know if I can help ..

Is this with every request or after expiration?

It might be the aws docs, but the refresh mechanism doesn't seem to working in the last few implementations. I've changed the logic to clear the cached token. Let's see if this works.

sorry I should have explained.
in the last error I reported, it failed right away when I started elasticdump. Apparently it didn't get the token at that time.
I just updated to 6.50.3 and now it was able to get the token and the dump is running.
I'll wait it for a few hours to see if it will refresh the token.
Thanks again for helping with this.
I'll update you tomorrow.

Ensure you're using the awsRefresh flag. This removes the token from cache when each request is made.

yeah I did enable the flag ..
elasticdump --input="mycluster-at-aws/my_index" --output=/tmp/data.json --type=data --awsRefresh --overwrite
Fri, 20 Nov 2020 23:23:41 GMT | starting dump
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 0)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 100)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 200)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 300)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 400)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 500)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
I think that flag should default to true and if the user wants, they can set it to false. but this is just my humble opinion

apologies my bad. if I add --awsChain, it fails
Admin:~/environment $ elasticdump --input="https://mycluster-at-aws/xerobusiness_109-3" --output=/tmp/data.json --type=data --awsRefresh --overwrite --awsChain
Fri, 20 Nov 2020 23:28:27 GMT | starting dump
Fri, 20 Nov 2020 23:28:28 GMT | Error Emitted => {"message":"The security token included in the request is invalid"}
Fri, 20 Nov 2020 23:28:28 GMT | Error Emitted => {"message":"The security token included in the request is invalid"}
Fri, 20 Nov 2020 23:28:28 GMT | Total Writes: 0
Fri, 20 Nov 2020 23:28:28 GMT | dump ended with error (get phase) => Error: {"message":"The security token included in the request is invalid"}

apologies my bad. if I add --awsChain, it fails
Admin:~/environment $ elasticdump --input="https://mycluster-at-aws/my_index" --output=/tmp/data.json --type=data --awsRefresh --overwrite --awsChain
Fri, 20 Nov 2020 23:28:27 GMT | starting dump
Fri, 20 Nov 2020 23:28:28 GMT | Error Emitted => {"message":"The security token included in the request is invalid"}
Fri, 20 Nov 2020 23:28:28 GMT | Error Emitted => {"message":"The security token included in the request is invalid"}
Fri, 20 Nov 2020 23:28:28 GMT | Total Writes: 0
Fri, 20 Nov 2020 23:28:28 GMT | dump ended with error (get phase) => Error: {"message":"The security token included in the request is invalid"}

I need to jump into my other windows environment and do this test again. will update you tomorrow

yeah I did enable the flag ..
elasticdump --input="mycluster-at-aws/my_index" --output=/tmp/data.json --type=data --awsRefresh --overwrite
_Fri, 20 Nov 2020 23:23:41 GMT | starting dump
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 0)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 100)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 200)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 300)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 400)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100
Fri, 20 Nov 2020 23:23:42 GMT | got 100 objects from source elasticsearch (offset: 500)
Fri, 20 Nov 2020 23:23:42 GMT | sent 100 objects to destination file, wrote 100_
I think that flag should default to true and if the user wants, they can set it to false. but this is just my humble opinion

Yea you're right, I plan on doing this if it works

apologies my bad. if I add --awsChain, it fails
Admin:~/environment $ elasticdump --input="https://mycluster-at-aws/my_index" --output=/tmp/data.json --type=data --awsRefresh --overwrite --awsChain
_Fri, 20 Nov 2020 23:28:27 GMT | starting dump
Fri, 20 Nov 2020 23:28:28 GMT | Error Emitted => {"message":"The security token included in the request is invalid"}
Fri, 20 Nov 2020 23:28:28 GMT | Error Emitted => {"message":"The security token included in the request is invalid"}
Fri, 20 Nov 2020 23:28:28 GMT | Total Writes: 0
Fri, 20 Nov 2020 23:28:28 GMT | dump ended with error (get phase) => Error: {"message":"The security token included in the request is invalid"}_

This is strange because I basically reverted back to what it was before excluding caching

Are you sure the environment is set up properly for aws authentication. Seems strange it doesn't work anymore, when basically nothing changed

Thanks for that.
I’ll retest everything later and will let you know.
We could do a little zoom session to troubleshoot if you’re keen
Sent from my iPhone

On 21/11/2020, at 1:49 PM, Ferron H<EMAIL_ADDRESS>wrote:

Are you sure the environment is set up properly for aws authentication. Seems strange it doesn't work anymore, when basically nothing changed
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sounds good, just let me know !

i just tested the latest version and  I keep getting the same error as before.
If I revert elasticdump back to 6.34.1, it works fine.
maybe we could try to revert back the aws sdk version and test it?
https://github.com/elasticsearch-dump/elasticsearch-dump/commit/57b04307177e79d4dc39cca17ef0fcbf6e61c54b#

Latest version reverts back to the old way
https://github.com/elasticsearch-dump/elasticsearch-dump/commit/86edb520059a1aca983d1d75622462a3bb50a505

Here is a diff https://github.com/elasticsearch-dump/elasticsearch-dump/compare/v6.34.1...master

What time zone are you in?
It’s weird that it works on version 6.34.1

On 22/11/2020, at 10:49 AM, Ferron H<EMAIL_ADDRESS>wrote:

Here is a diff v6.34.1...master
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

If it's working on 6.34.1 then it's an upstream package issue.

What time zone are you in?
It’s weird that it works on version 6.34.1

On 22/11/2020, at 10:49 AM, Ferron H<EMAIL_ADDRESS>wrote:

Here is a diff v6.34.1...master
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Atlantic Standard Time (GMT-4)

I'm going to revert back aws-sdk so your can test

Reverted back packages + signing back to v6.34.1


Hamburger icon on  Main screen to open

UI Looks Pretty good.. is there any way to open slide menu on onclick event like click on hambuger icon on the Main Screen to open SlideMenu

Hi, thanks! Of course there is:
SlideSideMenuTransitionLayout.toggle();
I have added a toolbar with the hamburger icon to the example activity, please check it out.

hello sir , it s possible to animate the  SlideSideMenuTransitionLayout from right to left


[kong] feat: allow to use replica set and allow to disable proxy service

What this PR does / why we need it:
This PR allows deploying kong using the spinnaker
Special notes for your reviewer:
Checklist

[x] PR is based off the current tip of the next branch and targets next, not master
[x] New or modified sections of values.yaml are documented in the README.md
[x] Title of the PR and commit headers start with chart name (e.g. [kong])

 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.

Can you explain why do you want to deploy Kong using a ReplicaSet instead of Deployment?

Because spinnaker can manage traffic only when using ReplicaSet.  In this mode, spinnaker can deploy new ReplicasaSet using Red/Black strategy  etc.
Error message from spinnaker:

Spinnaker can manage traffic for one ReplicaSet only. Please deploy one ReplicaSet manifest or disable rollout strategies.

@rainest Thoughts on the ReplicaSet part?

Is this the latest version of Spinnaker? The PRs linked from https://github.com/spinnaker/spinnaker/issues/5025 indicate they've at least merged a change that allows multiple.
Does this work if you add a history limit to the Deployment template and set it to 0? At least on my own instance the old revisions are the only other RSes associated with the Deployment. If that works, I'd prefer it.
https://www.spinnaker.io/reference/providers/kubernetes/#deploy suggests that Spinnaker should be able to manage Deployments, so I think this is more that it thinks it needs to manage the old versions that aren't doing anything meaningful.
#72 has changes that handle disabling service creation already, so I'd request you remove that part.

Ok, thx.
I will test the new version of spinnaker, so now I'm closing this PR.


Implement a TextRenderer

Create a VeldridDrawOperation that is capable of rendering custom text on the screen

The top idea right now is to generate a surface and somehow translate that into a Veldrid Texture
Maybe through image sharp?

The text renderer should be decoupled from its text source, to facilitate caching
That means we'd also need to create a new class to handle caching? Or should we leave it at the user's discretion?
Probably user discretion
Rather than making a Text Renderer, why don't we make like a text manager? that internally handles a TexturedShapeRenderer and simply fills the texture through there?
Even if later we forward font rendering to the GPU, it still needs to be stored into a Texture
Maybe we just need to add helper methods to generate the text textures?

Consider instead using either

https://github.com/mellinoe/Veldrid.TextRendering, or
https://github.com/drogoganor/TextRender

That, or figure out how to properly write an SDL surface into a Texture


missing import line in styleclip_global_utils.py?

Hi, thank you so much for sharing this amazing work.
I just wanted to ask that if there's a missing line import clip in the file editings/styleclip_global_utils.py, because I got the following error when trying to run it with styleclip and it was fixed by adding that import line.

Thanks!

Same here. I thought it was strange because the line seems deliberately removed in a3389eb04067837e82d61e99bdb2f5c072a81272

Hi,
I accidentally removed this line earlier but it has already been fixed. Are you working with the latest version?
The current implementation imports clip in a try... excpet block, to allow users to use the regular edits without installing clip.


[csrng] Mubi updates

update csrng design and dv to use mubi types

ah i was doing them piecemeal just to ensure i don't majorly break
something and have no way to revert.
On Thu, Oct 14, 2021 at 2:29 PM mwbranstad @.***> wrote:

@.**** commented on this pull request.
In hw/ip/entropy_src/data/entropy_src.hjson
https://github.com/lowRISC/opentitan/pull/8659#discussion_r729355374:

@@ -132,15 +132,15 @@
name: "ENABLE",
mubi: true,
desc: '''

           Setting this field to 0xA will enable the ENTROPY_SRC module.

           Setting this field to kMuBi4True will enable the ENTROPY_SRC module.

Can EDN be also added into this PR, given its exactly the same topic?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/pull/8659#discussion_r729355374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH2RSVLM2GZQJPZB4OFQOTUG5DTJANCNFSM5F6LEURQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

perfect, stages makes sense. Just didn't want to forget the EDN block that also had fields in it that serve as enables.


[ncp] add ncp prop IPV6_UNICAST_ADDRESS_TABLE to replace IPV6_ADDRESS_TABLE

This PR adds a new spinel property IPV6_UNICAST_ADDRESS_TABLE to
replace the existing property IPV6_ADDRESS_TABLE because more data
fields of unicast addresses are required. (scope, prefered, meshLocal)

There is an issue now: one flag can only maps to one property change. To keep the existing SPINEL_PROP_IPV6_ADDRESS_TABLE, we need to add a new value for otChangedFlags. However it's currently 32-bit and they are all used. We'll need to wait until this is extended to 64 bits and add a new flag. I'll just use the existing SPINEL_PROP_IPV6_ADDRESS_TABLE for now.

Not needed any more.


Fix: Selecting January gets back to previous year

Repro steps:

Either in Experience or Education, select something like Jan, 2014
In the UI, it will actually show Jan, 2013 (Bug)

Expected: Should show Jan, 2014 as selected by the user
This PR fixes the issue by getting the actual year instead of the UTC year

Hey @ahmedsadman,
Great observation skill.
Thanks for your valuable contribution.


How to obfuscate multi-files with same name?

I have a .NET Core project called FooBar.csproj, and it's targeting multiple frameworks.
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
The build output will be multiple files with same name like this:
outputFolder/net461/FooBar.dll
outputFolder/netstandard2.0/FooBar.dll

How do you write the config file obfuscar.xml to obfuscate these files in one-run?
Settings like below won't work since these two files will conflict.
  <Var name="InPath" value=".\Obfuscator_Input" />
  <Var name="OutPath" value=".\Obfuscator_Output" />
  <Var name="HidePrivateApi" value="true" />
  <Var name="KeyFile" value=".\keypair.snk" />

  <Module file="$(InPath)\net461\FooBar.dll" />
  <Module file="$(InPath)\netstandard2.0\FooBar.dll" />

Error message:
Unhandled Exception: System.IO.IOException: The process cannot access the file 'Obfuscator_Output\FooBar.dll' because it is being used by another process.
     at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
     at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
     at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
     at Obfuscar.Obfuscator.SaveAssemblies(Boolean throwException)
     at Obfuscar.Obfuscator.RunRules()
     at Obfuscar.Program.Main(String[] args)

Use two config files, and then run Obfuscar file1 file2.


Tray icon not showing in Ubuntu 24.01

Hello,
I've installed the most recent debian package on ubuntu 24.01 but can't see the tray icon at all, nor able to find a way of opening the dashboard.
Any tips how to get this solved? Thank you!

My computer is an Apple Silicon Mac. Running an Ubuntu virtual machine on it is very slow, and I'm slowly troubleshooting the issue. 🤣

Hi @maxbrito500 , Thank you very much for reporting this issue. I have fixed it in https://github.com/CodyTseng/nostr-relay-tray/releases/tag/v1.8.2


move minio config templates out, make more modular

Parameterize the port and use it elsewhere (for example, in constructing the Minio client after #57)
Put the secrets slice inside a struct, under a well known name
Write template execution tests

probably more easily done after #54, since that adds go unit test support in the makefile, refactors boot.go and adds a src/ directory

I'm moving this out of beta1 because it doesn't seem to be necessary.

nobody has really wanted/uses this feature so I'm going to close this for now, but let's re-open if there's a solid use case for this feature.


[QUESTION] Observable.getValue as in RxJava

Is there a reason why Observale.getValue() not present in contrast to RxJava?
P.S.
This question would be useful for ones from Java background

https://github.com/ReactiveX/rxjs/issues/2469#issuecomment-287074444
sams as #2469. It is not a goal of RxJS 5 to create fully conpliant operator set between language bindings or previous version. Especially each language has different language design and syntaxes, it does not have strong meaning to create every operator set.
I believe question itself is answered so closing issue. If there is request to have new operator,  you may refer https://github.com/ReactiveX/rxjs/issues/2299 and https://github.com/ReactiveX/rxjs/pull/2524 as primary guideline while it's yet finalized.

@kwonoj  probably my question was a bit vague, so I will elaborate this:
Ability to get value in blocking manner would allow use of library for data processing, where observable itself is not needed.
For instance, one needs to process (format) array of time strings. Rx allows to do it with a breeze.
However, there is no way to get resulting value but subscription, thus making use of Rx impossible here.
As getValue was implemented for BehaviourSubject only, I wonder what was the reason to not include it in Rx.Observable?

@AlexShafir so, the question in here is actually opposite - it's not what was the reason to not include it in Rx.Observable, instead it is RxJava (and some other) only have getValue() in Observable pattern for their own specific reason.  getValue() in your question is actually available in few language bindings only, instead of most language bindings are having it while only RxJS does missing it. By design of Observable contract itself and nature of JS runtime, there isn't strong reason to bringing blocking or either imperative way to access values other than observer.
As said earlier, there are lot of differences between language design / runtime differences, and other various reason does not makes all Rx bindings between languages does not create full-compliant set compare to other languages. If you look into operator, or interface set of Rx.NET for exmaple, you'll also able to notice there are quite lot of differences compare to RxJAVA.
We are not considering to fulfill those differences unless there are usecases to be applied with JS.

@kwonoj Thanks for great explanation!
My question essentially is what was the reason to not include it in Rx.Observable.
Here I suppose blocking getValue may be needed irregardless of underlying language, for instance,  time string processing, merging observables in imperative fashion instead of zip (useful in grabbing).
Java is for demonstration purpose only.

By design of Observable contract itself and nature of JS runtime, there isn't strong reason to bringing blocking or either imperative way to access values other than observer

Does it mean that RxJava consciously violates Observer pattern?

Does it mean that RxJava consciously violates Observer pattern?

No, all I said is strictly limited for JS implementation and you shouldn't consider it applies to other language bindings. For reasoning behind RxJava, I canxt say anything as I'm not even user of it.

@kwonoj thanks, now it is clear


(fleet/cnpg-cluster) PVC bump to 30Gi on yagan

Last Night the Butler again ate the database space out, so now we double it! 🦾

PVC was bumped to 30Gi as it filled up on Friday afternoon due to bad user usage.


Add native_dio_client to readme

New Pull Request Checklist

[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest develop to avoid conflicts (via merge from master or rebase)
[x] I have added the required tests to prove the fix/feature I am adding
[x] I have updated the documentation (if necessary)
[x] I have run the tests and they pass

Pull Request Description
This adds native_dio_client to the readme.

@AlexV525
The build failures arent related to the proposed changes since this is a doc only change.
I would propose that you or any of the other maintainers (@kuhnroyal?) fix those, so that not every PR has to make those changes individually.

I would propose that you or any of the other maintainers (@kuhnroyal?) fix those, so that not every PR has to make those changes individually.

It's actually fixed by #1539. I don't think maintainers of this repo are still contributing actively. We can leave CIs as is.


Fix path handling in cd

The use of $* prevents correctly cd'ing into a directory with spaces in its path name since each segment of the name around the space is treated as if it is a separate argument.
Example:
"dir/path with spaces" is treated as dir/path and with and spaces. This causes cd to fail. It also causes __gvm_oldcd to fail, although call to builtin cd will succeed.
Same issue happens if path is specified as dir/path\ with\ spaces.
This patch fixes this issue by using "$@" to correctly handle spaces.
Fixes #457

Thanks for posting a fix!
Speaking as a GVM noob, why does it need to override the built-in cd function anyways? As the presence of this subtle error shows, that seems rather unwise.


Do not run UFO checks on non-ufo files

Do not run UFO checks on non-ufo files. These checks aren't needed and slow the process down:
git clone git@github.com:fontdirectory/GUPTER.git;
cd GUPTER;
fontbakery .;
$ bakery-lint.py upstream Gupter-Bold.otf
...
bakery_lint.tests.upstream.test_check_ufo_……..

@felipesanches you had mentioned seeing this lately. Confirmed?

yeah! This is a duplicate of https://github.com/googlefonts/fontbakery/issues/623 (or vice-versa ;-D)


Rails 5.0/5.1 Check arity to fix ArgumentErrors

Rails ~5.1 changed arity from 1 to 0 in commit:
https://github.com/rails/rails/commit/a5533028e11bb21486aa2a8efbe2a0b3007f7711
Extracted from https://github.com/ManageIQ/manageiq/pull/18076
There's several ways to solve this, I didn't like checking the rails version since it's really just checking which interface to use...

Cool with the code for this, but maybe add a test that fails when we have merged in the version bump to Rails 5.1 so we can remove the if conditional? You can probably just do something that includes a test for the .arity like you are doing here, and make sure it is still 1, and then add some comments to remove this change (and test) when the upgrade has happened and the spec starts failing.

The alternative is I keep this commit on my rails 5.1 branch and upgrade the rails version with that branch and I won't need to support 5.0 on the PR when it's merged, so I won't need the conditional.
What do you think?  @NickLaMuro

The alternative is I keep this commit on my rails 5.1 branch and upgrade the rails version with that branch and I won't need to support 5.0 on the PR when it's merged, so I won't need the conditional.

Oh, I think that is a good idea as well, and less maintenance over all.  Maybe just update the commit message on that branch referencing this discussion if you went that route.  Not required by any means, but it might be useful in the future to link back to this discussion since it now won't be referenced by the originating PR.

Sounds good @NickLaMuro.  I'll close this PR and update the commit on the rails 5.1 branch with our comments.

@NickLaMuro I pushed the new commit to the PR:  https://github.com/ManageIQ/manageiq/pull/18076/commits/6ebeb736301367eeb547a3e9e299cdd83d97c576


Feature request: make web.C to implement Context interface

More info: https://blog.golang.org/context

I've been reconsidering this, and think it might be worth it to make web.C implement context.Context. The implementation would look pretty much exactly as you imagined it: web.C would grow some extra methods, and would be appropriate for use in place of (e.g.,) context.Background(). Internally, Goji (and Goji middleware and handlers) would continue to use web.C.
I think doing this right would involve one pretty big breaking change: switching web.C.Env to a map[interface{}]interface{}. Most code could use the new map unchanged, but most make call sites would have to be updated. Additionally, I suspect many of the "standard" middleware would be changed to use context's cute private-type hack instead of using string keys.
Anyways, I still have a bunch of reservations, and I'm not committing to changing anything, but I wanted to gauge the temperature of the room in advance of any changes. It's obviously a pretty big change (the change to web.C.Env in particular is probably the single biggest change I will ever make to the "core" Goji API) but I think there's a good chance it'll be worth it in the end.

I'm curious to see what the benefits look like in real code.
What would the set/get operations look like when dealing with a web.C that
satisfies go.net/context — besides the additional private type (for the map
key)?
On Tue, 13 Jan 2015 at 2:12 pm Carl Jackson<EMAIL_ADDRESS>wrote:

I've been reconsidering this, and think it might be worth it to make web.C
implement context.Context. The implementation would look pretty much
exactly as you imagined it: web.C would grow some extra methods, and
would be appropriate for use in place of (e.g.,) context.Background().
Internally, Goji (and Goji middleware and handlers) would continue to use
web.C.
I think doing this right would involve one pretty big breaking change:
switching web.C.Env to a map[interface{}]interface{}. Most code could use
the new map unchanged, but most make call sites would have to be updated.
Additionally, I suspect many of the "standard" middleware would be changed
to use context's cute private-type hack instead of using string keys.
Anyways, I still have a bunch of reservations, and I'm not committing to
changing anything, but I wanted to gauge the temperature of the room in
advance of any changes. It's obviously a pretty big change (the change to
web.C.Env in particular is probably the single biggest change I will ever
make to the "core" Goji API) but I think there's a good chance it'll be
worth it in the end.
—
Reply to this email directly or view it on GitHub
https://github.com/zenazn/goji/issues/85#issuecomment-69700138.

Me too!
It would be ~exactly the same as it is currently, although you'd be encouraged (more than you currently are) to make your exposed type-safe helpers the primary means of getting and setting values.

Alright, I've made the first change (making web.C.Env a map[interface{}]interface{}) on the "context" branch: https://github.com/zenazn/goji/tree/context (https://github.com/zenazn/goji/commit/d7a775b09b79d400ade6bb9d77e2e349d07bd41d)
I suspect this commit will end up in master: it's come up a fair bit, and I've long been convinced that if I were writing Goji from scratch I would have designed the interfaces this way.
 If nothing else, with the above change it'll be trivial to add in a third-party shim or at a later date, so I'll probably take my time to make sure I think it's a good idea.
In any event, please let me know about your Feels either here or by sending me a private email or something.

@zenazn, it's looking great so far! Nice works on the docs too.

Ugh—thought of a case I hadn't previously considered: web.C isn't thread-safe. This was fine back when an entire middleware stack was processed in more-or-less a single-threaded manner, but context.Context's seem like the sort of things that will wind up used across many goroutines.
This isn't a new problem (the possibility for ~this race has pretty much always been there), but I feel like it makes for a very exciting foot-gun.

What about simply using a context.Context as the default context mechanism, and embedding web.C as a value to the initial context?
This way, web.C can be used as is (though still not thread-safe), but the remainder of the context interface remains standard in-line with net/context.
This would also allow rather easy migration:

For existing middleware, just check in the .Use method whether the first paramater is a web.C or a context.Context -- if the former, just wrap it and pass the context.Context's web.C.
For existing code, authors just need to modify the funciton types and add a c := ctx.Value("web.C") (or whatever key is decided upon)

I question the utility of trying to replicate the existing web.C fuctionality as a context.Context, since, as you'd previously stated, middleware chains are remarkably synchronous, but bi-directional (hence, there are issues with an immutable context). However, there is absolutely an advantage to having a context.Context accessible as well (as an example case - a middleware that adapts context-based timeouts for different User-Agents of devices - mobile/desktop/etc).
It'd be nice to have the advantages of both, and since maps will always be mutable (passed by reference), you can just use context.Context and keep the advantages of web.C by making the latter a variable of the former, no?

@jlovison—that's essentially the strategy I used with https://github.com/goji/context, and I have to say I'm not super thrilled about how awkward it feels.
I am considering making func(c context.Context, w http.ResponseWriter, r *http.Request) (and an equivalent Handler-esque type) allowed as handler types though—maybe that'll help?

Adding another function signature to web.Handler would retain backwards
compat too, right?
Would mean that those who want to keep the existing web.C (and any
middleware they wrote) can continue to do so and/or weave in any
context.Context middleware as needed.
On Fri, 30 Jan 2015 at 2:00 pm Carl Jackson<EMAIL_ADDRESS>wrote:

@jlovison https://github.com/jlovison—that's essentially the strategy I
used with https://github.com/goji/context, and I have to say I'm not
super thrilled about how awkward it feels.
I am considering making func(c context.Context, w http.ResponseWriter,
r *http.Request) (and an equivalent Handler-esque type) allowed as
handler types though—maybe that'll help?
—
Reply to this email directly or view it on GitHub
https://github.com/zenazn/goji/issues/85#issuecomment-72158094.

Of course—I'd only add these if the community decided func(c context.Context, w http.ResponseWriter, r *http.Request) was the One True Context-ful Handler Type Of The Future (tm), and they'd be in addition to Goji's existing types.

@zenazn - Yes!! I actually thought of this after thinking about the issue and re-reading your comments on #62, but had to run out before I could edit my comment.
I've racked my brain and come up with absolutely no instances where a context passed between middlewares on a per-request basis would need thread-safety given the sync sequencing of a middleware chain. And a huge part of the draw of goji for me is the simplicity and straightforwardness of the framework. If a context.Context is needed, there's nothing preventing adding it onto the web.C.Env, and implementing a context.Context across the entire request chain seems like a lot of potential complexity with very little return.
I completely concur - if suddenly we start seeing handlers cropping up following the pattern of func(c context.Context, w http.ResponseWriter, r *http.Request), adding in code to handle this pattern would be nice, but until then, the work toward implementing context.Context would be solving a problem that has yet to exist.
I wonder though how amenable you'd be to changing from web.C to an interface based context at some point in the future (i.e. perhaps simply a URLParams Getter/Setter and an Env Getter/Setter), and allow for goji to set an override that conforms to that interface. It'd be a breaking change whenever it was introduced, but [1] it'd prevent any future changes to the context passing mechanism to break backwards-compatibility. It'd also alow framework users to plug-and-play contexts based on needs (i.e. if I somehow actually needed a mutable thread-safe implimentation, I could toss mutexes on the underlying implimentation and override goji's default. Or if I wanted to support context.Context I could add the goji interface's methods to a context.Context and override the default, etc).
[1] - Actually, I guess you could just add the getter/setter methods on the existing web.C struct, depreciating the map lookup pattern in the documentation. Legacy code would continue to work (and just be more tightly coupled to the underlying implimentation) but the framework itself would have loosened the coupling.

Alright, map[interface{}]interface{} change has landed in master, and I've tagged a new release (v0.9.0)

:+1: .. I'm beginning to think this is a good idea too

:+1: to func(c context.Context, w http.ResponseWriter, r *http.Request), but
how are you planing to implement ServeHTTPC(c C, w http.ResponseWriter, r *http.Request)?
you should be able to get contect.Context from web.C.
Seems to me like goji/context should be integrated into zenazn/goji right?

I tried somethings.. and made type-only library.
ceram1/chttp - handler.go
(originally not related to goji, but now I need goji)
and simple struct with embedded context will make tasks easier.

import (
	"github.com/zenazn/goji/web"
	"golang.org/x/net/context"
)

type private int

var (
	paramsKey private = 1
	webCKey   private = 2
)

// URLParams is a map of variables extracted from the URL (typically
// from the path portion) during routing. See the documentation for the
// URL Pattern you are using (or the documentation for PatternType for
// the case of standard pattern types) for more information about how
// variables are extracted and named.
type URLParams map[string]string

func Params(c context.Context) URLParams {
	ps, _ := c.Value(&paramsKey).(URLParams)
	return ps
}

func WithParams(c context.Context, params URLParams) context.Context {
	return &paramCtx{
		Context: c,
		params:  params,
	}
}

type paramCtx struct {
	context.Context

	params URLParams
}

func (c *paramCtx) Value(key interface{}) interface{} {
	if &paramsKey == key {
		return c.params
	}

	return c.Context.Value(key)
}

// or

func WithWebC(c context.Context, wc web.C) context.Context {
	return &webCtx{
		Context: c,
		wc:      wc,
	}
}

type webCtx struct {
	context.Context

	wc web.C
}

func (c *webCtx) Value(key interface{}) interface{} {
	if &paramsKey == key {
		return c.wc.URLParams
	}
	if &webCKey == key {
		return c.wc
	}
	// TODO: check for env?

	return c.Context.Value(key)
}

Is ContextFactory(r *http.Request) required?
Example usecase is appengine.NewContext(r)

I really like the work in: https://github.com/vanackere/slim  .. I could see a lot of this working well.

The middleware signature in slim (fork of goji), is pretty good, but it would be nice to see a standard structure for context.Context based http handlers right in the net/context package as a subpackage maybe like net/context/chttp that is super simple, just a handler and handlerfunc, essentially what http.Handler is, but for use with context.Context - then frameworks such as goji could use it and really get standardized around middlewares with a request context support built-in.
an example middleware with slim would look like..
r := newRouter()
r.Use(CtxFun)
r.Use(CtxFun2)
r.Get("/", etc..)

func CtxFun(next web.Handler) web.Handler {
	return web.HandlerFunc(func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
		log.Println("sup!")

		ctx = context.WithValue(ctx, "sup", 1)
		next.ServeHTTPC(ctx, w, r)
	})
}

func CtxFun2(next web.Handler) web.Handler {
	return web.HandlerFunc(func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
		log.Println("fun2", ctx.Value("sup"))

		next.ServeHTTPC(ctx, w, r)
	})
}

it looks fine, and a step in the right direction (IMHO even for goji 2.0) - but I'd rather see the middleware as..
import "golang.org/x/net/context/chttp"
func CtxFun3(next chttp.Handler) chttp.Handler {
	return web.HandlerFunc(func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
		next.ServeHTTPC(ctx, w, r)
	})
}

Generally it is not complex to make an adapter to Goji middleware.

Create context handler.

type ContextHandler interface {
	ServeHTTPContext(context.Context, http.ResponseWriter, *http.Request)
}

type ContextHandlerFunc func(context.Context, http.ResponseWriter, *http.Request)
func (this ContextHandlerFunc) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) {
	this(ctx, w, r)
}

Create adapter for Goji.

package gnetty
import (
	"github.com/nbgo/netty"
	"net/http"
	"github.com/zenazn/goji/web"
	gcontext "github.com/goji/context"
	"golang.org/x/net/context"
)

type httpHandlerAdapter struct {
	h   netty.ContextHandler
	ctx *web.C
}
func (this httpHandlerAdapter) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	this.h.ServeHTTPContext(gcontext.FromC(*this.ctx), w, r)
}

type contextHandlerAdapter struct {
	h http.Handler
}
func (this contextHandlerAdapter) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, r *http.Request) {
	c := gcontext.ToC(ctx)
	gcontext.Set(&c, ctx);
	this.h.ServeHTTP(w, r)
}

func ToGojiMiddleware(ctxMdlw func(netty.ContextHandler) netty.ContextHandler) func(*web.C, http.Handler) http.Handler {
	return func(ctx *web.C, h http.Handler) http.Handler {
		return httpHandlerAdapter{ctxMdlw(contextHandlerAdapter{h}), ctx}
	}
}

func ToGojiRoute(route func(c context.Context, w http.ResponseWriter, r *http.Request)) func(c web.C, w http.ResponseWriter, r *http.Request) {
	return func(c web.C, w http.ResponseWriter, r *http.Request) {
		route(gcontext.FromC(c), w, r)
	}
}

Create your own middlewares and routes.

func contextWriterMiddleware(h netty.ContextHandler) netty.ContextHandler {
	fn := func(ctx context.Context, w http.ResponseWriter, r *http.Request) {
		ctx = context.WithValue(ctx, "TestValue", "123")
		h.ServeHTTPContext(ctx, w, r)
	}

	return netty.ContextHandlerFunc(fn)
}

func contextReader(c context.Context, w http.ResponseWriter, r *http.Request) {
	ctxValue := c.Value("TestValue")
	w.Write([]byte(ctxValue.(string)))
}

Use with Goji like this.

mux := web.New()
mux.Use(gcontext.Middleware)
mux.Use(gnetty.ToGojiMiddleware(contextWriterMiddleware))
mux.Get("/", gnetty.ToGojiRoute(contextReader))

@nbgo thanks for the example - I've done something similar but I'd prefer to see standardization around a context.Context based handler.
I noticed there is the golang.org/x/net/context/ctxhttp package which just helps with ctx based http clients, I feel this could also contain the context handler interfaces. I am going to submit a patch there.

Here's the patch if anyone else is interested: https://go-review.googlesource.com/#/c/15620/   - it includes a test mux that works with http.Handler and ctxhttp.Handler.

It is nice to have it in standard package.

https://groups.google.com/d/topic/golang-dev/cQs1z9LrJDU/discussion

Keep in mind that—if that proposal goes through—a Context field on
http.Request won't land until Go 1.7 in mid-2016 (> 8 months away).
@zenazn has been considering this but it may take some to materialize given
the potential changes to net/http.
In the meantime you can use https://github.com/goji/context to integrate
web.C with net/context
On Tue, 20 Oct 2015 at 1:14 PM, Dobrosław Żybort<EMAIL_ADDRESS>wrote:

https://groups.google.com/d/topic/golang-dev/cQs1z9LrJDU/discussion
—
Reply to this email directly or view it on GitHub
https://github.com/zenazn/goji/issues/85#issuecomment-149434926.

btw, I've written a net/context router inspired by goji called chi -- https://github.com/pressly/chi  .. the core router is < 600 LOC and quite expressive. The hope is once net/context makes it into stdlib, and net/http uses context.Context natively, then I'll update chi accordingly.

Closing, since Goji v2 (https://goji.io) implements this


CI/CD: fail to run openjdk-web pod

https://github.com/alibaba/inclavare-containers/pull/1156/checks?check_run_id=2882171871

This link is invalid.


Don't print regressions header when there are no regressions.

https://dev.azure.com/vcpkg/public/_build/results?buildId=69352&view=logs&j=c2a18d2e-37ac-57b0-b2a5-926ff10fbe32&t=b0e2c199-eacf-5d50-0d96-a04f9ea0e46a :D Where this issue was discovered


link to sourcemap is lost after fingerprinting

According to Source Map Revision 3 Proposal:

Source Map Naming
Optionally, a source map will have the same name as the generated file but with a “.map” extension.  For example, for “page.js” a source map named “page.js.map” would be generated.

If a source file (css or js) is fingerprinted (which implies renamed), the link with the sourcemap (which is still old-named plus the .map extension) will be lost.
How can relink the fingerprinted file and its sourcemap?
I can't see any obvious way to do this. Feel free to suggest a smart way to do this...

@ksmithut said:

Fingerprinting should definitely support sourcemaps, even if they don't. Most plugins that do support sourcemaps have some kind of input sourcemap option, which takes the input source map and generates a new sourcemap.

It appears that the way sourcemap is implemented by less and sass does absolutely require that css file and its sourcemap have the same basename.
Looking at this page show that the sourcemap name is embedded in the css file:

This will create a .css.map source map file for each CSS file, and add a comment to the end of your CSS file with the location of the sourcemap: /*# sourceMappingURL=index.css.map */. The devtools will use this source map to map locations in the CSS style sheet to locations in the original source.

I let experts decide if this issue should be fixed or not.

:+1: — it'd be nice to have this.
if foo.css is fingerprinted to foo-1a2b3c4d.css, then the corresponding foo.css.map should be fingerprinted to ``foo-1a2b3c4d.css.map` as well. same with JavaScript.

I updated locally to do this and optionally remove the originals
var crypto = require('crypto');
var multimatch = require('multimatch');
var path = require('path');
var sourceMapUrl = require('source-map-url');

var KEY = 'metalsmith';

module.exports = plugin;

function plugin(options) {
  options = options || {};

  return function (files, metalsmith, done) {
    var metadata = metalsmith.metadata();
    var remove = (options.remove || false);

    Object.keys(files)
      .filter(function (file) {
        return multimatch(file, options.pattern).length > 0
      })
      .forEach(function (file) {
        var hash = crypto.createHmac('md5', KEY).update(files[file].contents).digest('hex');
        var ext = path.extname(file);
        var fingerprint =  [file.substring(0, file.lastIndexOf(ext)), '-', hash, ext].join('').replace(/\\/g, '/');

        // update sourcemap
        files[file].contents = updateSourceMapComment(file, files, fingerprint, remove);

        // update filename
        files[fingerprint] = files[file];

        // delete original
        if (remove) {
          delete files[file];
        }

        // add metadata
        metadata.fingerprint = (metadata.fingerprint || {});
        metadata.fingerprint[file] = fingerprint;
      });
    return process.nextTick(done);
  }
}

function updateSourceMapComment(filename, files, newFilename, remove) {
  var newMapFilename = newFilename + '.map';
  var contents = files[filename].contents.toString();
  var currentMapFilename = filename + '.map';

  // if there is a sourcemap in the contents then replace with fingerprint version and delete original
  if (sourceMapUrl.existsIn(contents)) {
    files[newMapFilename] = files[currentMapFilename];

    if (remove) {
      delete files[currentMapFilename];
    }

    return contents.replace(sourceMapUrl.regex, '/*# sourceMappingURL=' + newMapFilename + ' */');
  }

  return contents;
}


Allowing multiple LLVM versions to be used.

This PR set up the ability to compile against multiple versions of LLVM. Setting PYQIR_LLVM_FEATURE_VERSION to one of the following values llvm11-0, llvm12-0, and llvm13-0 will change the LLVM version for all components. LLVM-IR doesn't support LLVM 14, so 14 was not added to the build. The default value if the environment variable isn't set is llvm11-0.
I have not added and build configurations for CI. The default LLVM version for qirlib is not specified, but the build will fail if the features isn't set.
This PR is based off of the work @nilslice did for #114.

This does not fully address #35, but makes the change very simple.

@nilslice Can you please pull and try again?

@idavis That was it indeed - fixed.


refactor(style): use arrow functions for unit tests

The majority of unit tests uses arrow functions for describe and it callbacks. This PR fixes the few that don't for a more consistent style.
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[x] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

LGTM 👍, all replacements are arrow functions and did not break value of our beloved ‘this’


startup: improve speed of syncing CRDs

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Currently, startup is blocked waiting for CRDs to sync by a minimum of 1s. This very frequently is ready before 1s, but we only poll every 1s so we always pay the cost.
This drops the interval down to 50ms. This should have ~no cost, but improve startup speed by up to 950ms for all users.
init: Poll CRD synchronization times have been lowered from 1 second to 50ms.

/test


Validate Ingress

[x] Make sure crt & key have proper pem format.
[x] Multiple hosts using same port for TCP ingress

Tests For

[ ] Make sure crt & key have proper pem format.
[x] Multiple hosts using same port for TCP ingress


make tanok 2 and 1 compatible

Coverage increased (+0.1%) to 90.0% when pulling 488dcdb8d092a5d5adfb563642884dd15576bec0 on tanok_compatability into 7832c6443f6f6ee28ab18ef3bceed18b02b00a63 on master.


Fix #46: create data dir if it does not exist.

This solves #46, by creating the data dir if it doesn't exist.

Thanks! This is a very annoying bug so good to have it fixed :)


Reduce unnecessary View updates

I fixed an issue where the RefreshSpinner View was being redrawn when isRefresherVisible was updated, even in unrelated scroll operations that were not related to the refresh action.

Thanks for the PR! This looks good to me. Ill test it out some more and cut a release.


Looking to Gain Better Understanding of How to Customize Policy/Role Assignments

Hey All,
I've been pouring over all of the documentation concerning the module on how to customize it to fit my needs. I am struggling a bit to understand how to tailor policy/role definitions and assignments at specific scopes. I am trying to accomplish the following.
Under the Landing Zone Management Group I have (2) custom management groups defined:
Landing Zones
  Non-Prod
  Production

My desire is to set policy definitions/assignments at these levels because I will have department level management groups below them like so and I would like policy to flow down to those child MGs and their underlying subscriptions
Landing Zones
   Non-Prod                                                  <--- Non-Prod Policy Defs/Assignments HERE
     Department_1_Non-Prod                      <-- Custom Role Defs/Assignments HERE (diff team/user access, etc)
        Department_1_Dev-Test_Subscription
        Department_1_Staging_Subscription
     Department_2_Non-Prod                     <-- Custom Role Defs/Assignments HERE  (diff team/user access, etc);
        Department_2_Dev-Test_Subscription
        Department_2_Staging_Subscription
   Production                                                <--- Production Policy Defs/Assignments HERE
     Department_1_Production                    <-- Custom Role Defs/Assignments HERE (diff team/user access, etc)
        Department_1_Production_Subscription
     Department_2_Production                   <-- Custom Role Defs/Assignments HERE  (diff team/user access, etc);
        Department_2_Production_Subscription

I have the base of this setup so far in by code, but so far I have had no luck demystifying how to set up the policy and role assignments the way I would like to:
main.tf
....
custom_landing_zones = {
    "Non-Prod-MG" = {
      display_name               = "Non-Prod"
      parent_management_group_id = "${var.root_id}-landing-zones"
      subscription_ids           = []
      archetype_config = {
      archetype_id   = "default_empty"
      parameters     = {}
      access_control = {}
    }
      }
    "Dept-1-Non-Prod-MG" = {
      display_name = "Dept-1-Non-Prod-MG"
      parent_management_group_id = "Non-Prod-MG"
      subscription_ids = []
      archetype_config = {
      archetype_id   = "default_empty"
      parameters     = {}
      access_control = {}

      }
    }
    "Prod-MG" = {
      display_name               = "Prod"
      parent_management_group_id = "${var.root_id}-landing-zones"
      subscription_ids           = []
      archetype_config = {
      archetype_id   = "default_empty"
      parameters     = {}
      access_control = {}
    }
      }
    "Dept-1-Prod-MG" = {
      display_name = "Dept-1-Prod-MG"
      parent_management_group_id = "Prod-MG"
      subscription_ids = []
      archetype_config = {
      archetype_id   = "default_empty"
      parameters     = {}
      access_control = {}
      }

Any help in trying to get to this goal would be greatly appreciated.

Hi!
Sorry for the delay.
The policy files are in this repo in modules/archetype/lib.
You can copy them to your own lib directory and change them. This will replace the module defaults.

Got it @matt-FFFFFF. One last question:
How do I deploy a subscription underneath the LandingZone Management Group? What files provide the definition for what that environment/subscription looks like? If you refer to the diagram posted in the base of the repository https://github.com/Azure/terraform-azurerm-caf-enterprise-scale you have a subscription deployed under
Landing Zones   Corp     Landing Zone A1     Landing Zone A2        *Landing Zone Subscription*
How do I define the configuration of a LandingZone subscription in that same manner?

Hi @lwooden
Use archetype config overrides and supply the subscription id


UI Recommendation from users - Rate Display

Below are two UI recommendations collected from users for your consideration:

An user recommended the rate of DAI should be displayed as ETH/DAI instead of DAI/ETH, as for the people who usually trade ETH with DAI, they usually look at ETH price in USD or DAI. Also, some users would appreciate seeing ETH price while using our wallet.

My thought: only making DAI rate to ETH/DAI makes rates look inconsistent, would it be good to have a dedicated place to display ETH/Stablecoin rate?

Another user recommended another way, which is to display two rate formats for each coin, like displaying both KNC/ETH and ETH/KNC.

My thought: doing this may be challenging to keep the page simple and clean?

Thank for your comment, we'll consider in the next releases


dnu restore uses Clr-x86-1.0.0-beta8-15858 instead of Clr-x64-1.0.0-beta8

I've installed the beta 8 package. But for some reason when I run dnu restore it utilizes
Clr-x86-1.0.0-beta8-15858 instead of Clr-x64-1.0.0-beta8 and thus is it crashing...
I don't understand...
Feeds used:
https://www.myget.org/F/aspnetvnext/api/v3/flatcontainer/
https://www.nuget.org/api/v2/
I don't know where is it getting https://www.myget.org/F/aspnetvnext/api/v3/flatcontainer/ as my VS settings don't have it and AppData\Roaming\NuGet\NuGet.Config also does not contain it....
Thanks

What's the DNX version you're using? (dnvm list, the version that has *)?  If you're using a recent one, dnu restore should show NuGet.Config files that are in use.
You can also try dnu feeds list which would also display the NuGet.Configs that are used for the particular project.
One possibility is that you may have a NuGet.Config file local to your project which contains the myget feed.

Thank you for helping.
I did dnvm list and I got this
  *    1.0.0-beta8       clr     x64          win             default

@muratg There is something strange going on.
When I run now dnu restore from within package manager console I get
dnu : The term 'dnu' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ dnu restore
+ ~~~
    + CategoryInfo          : ObjectNotFound: (dnu:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

However when I right click on the project and choose restore, everything works.
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git
C:\Users\Emmanuel\.dnx\runtimes\dnx-clr-win-x<IP_ADDRESS>-beta8\bin\dnx.exe "C:\Users\Emmanuel\.dnx\runtimes\dnx-clr-win-x<IP_ADDRESS>-beta8\bin\lib\Microsoft.Dnx.Tooling\Microsoft.Dnx.Tooling.dll" restore "C:\Users\Emmanuel\Source\Repos\LewJudy\LewJudy\src\LewJudy" -f "C:\Program Files (x86)\Microsoft Web Tools\DNU"
Microsoft .NET Development Utility Clr-x86-1.0.0-beta8-15858
  CACHE https://api.nuget.org/v3/index.json
  CACHE https://www.nuget.org/api/v2/
Restoring packages for C:\Users\Emmanuel\Source\Repos\LewJudy\LewJudy\src\LewJudy\project.json
  CACHE https://api.nuget.org/v3-flatcontainer/microsoft.aspnet.dataprotection.abstractions/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.DataProtection.Abstractions'
  CACHE https://api.nuget.org/v3-flatcontainer/microsoft.aspnet.hosting/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.Hosting'
  GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Extensions.Configuration'
  GET https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.abstractions/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Extensions.Configuration.Abstractions'
  CACHE https://api.nuget.org/v3-flatcontainer/system.collections.immutable/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='System.Collections.Immutable'
  CACHE https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.CodeAnalysis.CSharp'
  NotFound https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.abstractions/index.json 343ms
  NotFound https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration/index.json 373ms
  CACHE https://api.nuget.org/v3-flatcontainer/system.resources.resourcemanager/index.json
  GET https://www.nuget.org/api/v2/FindPackagesById()?id='System.Resources.ResourceManager'
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.CodeAnalysis.CSharp' 602ms
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='System.Resources.ResourceManager' 421ms
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.DataProtection.Abstractions' 3715ms
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Extensions.Configuration' 3694ms
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Extensions.Configuration.Abstractions' 3714ms
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.Hosting' 3876ms
  OK https://www.nuget.org/api/v2/FindPackagesById()?id='System.Collections.Immutable' 3813ms
Writing lock file C:\Users\Emmanuel\Source\Repos\LewJudy\LewJudy\src\LewJudy\project.lock.json
Executing script 'postrestore' in project.json
Executing script 'prepare' in project.json
[00:24:13] Using gulpfile ~\Source\Repos\LewJudy\LewJudy\src\LewJudy\gulpfile.js
[00:24:13] Starting 'batch-tasks'...
[00:24:13] Starting 'copy'...
[00:24:13] Finished 'copy' after 17 ms
[00:24:13] Starting 'grunt-uglify'...
[00:24:13] Starting 'grunt-cssmin'...
Running "uglify:minify_this" (uglify) task
Running "cssmin:target" (cssmin) task
>> 3 files created. 12.24 kB → 5.69 kB
Done, without errors.
[00:24:14] Finished 'grunt-cssmin' after 1.11 s
>> 3 files created.
Running "uglify:beautify_this" (uglify) task
>> 3 files created.
Done, without errors.
[00:24:14] Finished 'grunt-uglify' after 1.16 s
[00:24:14] Starting 'grunt-copy'...
Running "copy:main" (copy) task
Copied 5 files
Done, without errors.
[00:24:15] Finished 'grunt-copy' after 772 ms
[00:24:15] Starting 'grunt-lineending'...
Running "lineending:native" (lineending) task
File "wwwroot/lib/native/core.js" updated.
File "wwwroot/lib/native/page_index.js" updated.
Done, without errors.
[00:24:15] Finished 'grunt-lineending' after 727 ms
[00:24:15] Finished 'batch-tasks' after 2.68 s
Restore complete, 14081ms elapsed
NuGet Config files used:
    C:\Users\Emmanuel\AppData\Roaming\NuGet\nuget.config
Feeds used:
    https://api.nuget.org/v3-flatcontainer/
    https://www.nuget.org/api/v2/
    C:\Program Files (x86)\Microsoft Web Tools\DNU

You probably don't have an active dnx, go to your command prompt and run dnvm list, if there is no * next to a dnx then you don't have an active dnx. If you would like to keep a dnx active on multiple command prompts you can pass -p when doing dnvm use

I've checked there is * for an active when I do dnvm list
  *    1.0.0-beta8       clr     x64          win             default
       1.0.0-beta8       clr     x86          win
       1.0.0-beta8       coreclr x64          win
       1.0.0-beta8       coreclr x86          win

Also when I do it straight on the project by Right Clicking, where is it getting those paths from?
PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\External\git
C:\Users\Emmanuel\.dnx\runtimes\dnx-clr-win-x<IP_ADDRESS>-beta8\bin\dnx.exe "C:\Users\Emmanuel\.dnx\runtimes\dnx-clr-win-x<IP_ADDRESS>-beta8\bin\lib\Microsoft.Dnx.Tooling\Microsoft.Dnx.Tooling.dll" restore "C:\Users\Emmanuel\Source\Repos\LewJudy\LewJudy\src\LewJudy" -f "C:\Program Files (x86)\Microsoft Web Tools\DNU"

After restarting the dnu restore is working, but I've noticed something strange.
Package Manager Console dnu restore is behaving differently compared to Right Click Package restore off the project... They are grabbing different runtimes, and postrestore in the console is failing, while at right click is working...

I was inspired to create a new project, and merge the content with it, this way it should work and I know the plumbing will be ok...

Issue resolved it was the web.config under wwwroot
This fails
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <remove name="OPTIONSVerbHandler" />
      <remove name="TRACEVerbHandler" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
      <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
    </handlers>
    <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" forwardWindowsAuthToken="false" startupTimeLimit="3600" />
  </system.webServer>
</configuration>

This works
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified"/>
    </handlers>
    <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="false" startupTimeLimit="3600"/>
  </system.webServer>
</configuration>

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Typo in (English) message

The MaxMacroSub2 message in /MathJax/localization/en/TeX.js should read "LaTeX" instead of "latex".
Unsure if that is done here or at mathjax/mathjax-i18n though since English is the source language.

@dpvc I think the QA - Testcase Wanted label was misplaced here. Removing it.

Agreed.


removed unneeded plugin update

🦟 Bug fix
Summary
When a plugin was added an Update was called immediately. With #497 updates are also being called in a loop, which was causing deadlocks since both could be called at the same time. This PR removes the initial update (after the plugin is inserted) since updates are already happening periodically.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

JointPositionController tests are failing on CI though

Should be fixed by waiting for updates in 20cdc9f


Add High Contrast theme(s) to the Designer

Issue ported from Adaptive Cards repo, initial opened by @josverl in issue https://github.com/microsoft/AdaptiveCards/issues/5761
In order to make sure that cards are clearly legible and accessible I would like so see a (Teams) High contrast theme in the editor,
This would allow cards be designed with accessibility in mind from the start , and would lessen the amount of re-work than needs to be done when accessibility issues may only be found in testing.
I think this is more important then preferences for either light or dark themes.
I think it should not be much effort to include one additional HostConfig based on an existing client such as Teams.

Hi @jonmill/ @josverl, we are checking this with our internal team, will update you soon.

Hi @jonmill/ @Josverl, As this feature is not available at present, could you please raise an User Voice if this needs to be consider as a future request.

@Jagadeesh-MSFT, The feature request is not for Teams , the issue/request I submitted is actually for the AdaptiveCards Team with a suggestion to use the Teams High Contrast theme as an option.
per your request I have submitted to uservoice as well, although I personally do not think that is the most effective routing.


improve editTopo.py

Laundry list of things to consider doing one day...

[ ] remove toolbar? but keep status bar.
[ ] only edit if in pointer mode - use .get_active() https://matplotlib.org/3.1.0/api/widgets_api.html
[ ] switch to pointer after zoom/pan https://matplotlib.org/3.1.1/api/backend_tools_api.html and https://matplotlib.org/3.1.1/gallery/user_interfaces/toolmanager_sgskip.html and https://matplotlib.org/3.1.1/api/backend_managers_api.html#matplotlib.backend_managers.ToolManager
[ ] allow multiple points to be changed by dragging - draw_event https://matplotlib.org/3.1.1/users/event_handling.html
[ ] save .nc with save button
[ ] show edit info when clicking on point https://mplcursors.readthedocs.io/en/stable/
[ ] integrity checks - maybe with https://github.com/mom-ocean/MOM5/blob/master/src/tools/make_topog/topog.c ? https://github.com/mom-ocean/MOM5/blob/master/src/tools/make_topog/topog.c#L858

@aekiss Shall we move this issue to the domain-tools repo?

yep, good idea


Fix JDom malformed comment in Apex runner.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[X] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[X] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[X] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[X] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @davorbonaci

This malformed comment causes issue on the pom transformation performed by the Maven release plugin, and so it blocks the release.

LGTM, thanks JB. Merge once tests pass.

@dhalperi awesome ! Thanks a lot !

I'm checking why Jenkins failed.

The build itself looks "SUCCESS", but Jenkins data collection failed.

No, this is an actual test failure. I think that the issues with Apex kryo serialization were not actually fixed yesterday.

@davorbonaci @kennknowles @tgroh @tweise

(Confirming that this PR looks like it is built from head, so it's not just missing the fix.)

@dhalperi yeah good catch. And yes, the PR is on master head.

PRs are built from their merge commit.
Chatted a bit, and the necessary  @Bind annotation was already in place. It is only supported by later versions of Keys, so it was likely overridden by our shared dependency set up. I'll take a look shortly, if there's not already an investigation/fix underway.

LGTM. Merging.


Filetype python.django

Hi,
I'm working with python.django filetype.
How can I configure the checker? Because I can not do this...
let g:validator_python.django_checkers = ['flake8']
Thanks!

Filetypes of this format don't currently work. I just discovered this javascript.jsx.

@francescarpi Could you please give me an example or a link of a file with python.django filetype? I'm not familiar with this kind of type.

Yes, of course.
Really its same as python filetype.
#!/usr/bin/env python
# encoding: utf-8
# vim:ft=python.django:
# --------------------------------------------------------------------------

class Example(object):
    pass

Thx

I sent to you this pull request (https://github.com/maralla/validator.vim/pull/13)
Plese, check if my implementation is correct.
Thx.

This is a much better solution: #14

Now you can add this option to support this type:
let g:validator_filetype_map = {"python.django": "python"}


Fix example statoscope.config.js in README.md

Codecov Report

Merging #116 (3bbde40) into master (08e8482) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #116   +/-   ##
=======================================
  Coverage   62.82%   62.82%
=======================================
  Files         121      121
  Lines        3134     3134
  Branches      732      732
=======================================
  Hits         1969     1969
  Misses       1154     1154
  Partials       11       11

Continue to review full report at Codecov.

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

Thanks


Building it from docker

Hello,
I am facing an issue while building this repo from the source from the docker got an error
**CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_nppicc_LIBRARY (ADVANCED)
linked by target "jetson-utils" in directory /jetson-inference/utils
-- Configuring incomplete, errors occurred!
See also "/jetson-inference/build/CMakeFiles/CMakeOutput.log".
See also "/jetson-inference/build/CMakeFiles/CMakeError.log"**
Base Image for docker file is this : https://ngc.nvidia.com/catalog/containers/nvidia:l4t-pytorch
any suggestions any advise??
Thank you in advance

Hi @pradhunmya01 , did you set your default docker-runtime to nvidia like shown here?
https://github.com/dusty-nv/jetson-containers#docker-default-runtime

Thank you for your quick reply @dusty-nv
yes earlier I haven't set the default docker-runtime to "nvidia" after setting it works fine and started compiling further but at one point it stops that's the error:-
[ 65%] Building CXX object CMakeFiles/jetson-inference.dir/calibration/randInt8Calibrator.cpp.o
[ 67%] Building CXX object CMakeFiles/jetson-inference.dir/c/segNet.cpp.o
[ 67%] Building CXX object CMakeFiles/jetson-inference.dir/c/tensorNet.cpp.o
[ 69%] Building CXX object CMakeFiles/jetson-inference.dir/c/imageNet.cpp.o
[ 69%] Building CXX object CMakeFiles/jetson-inference.dir/c/detectNet.cpp.o
[ 70%] Building CXX object CMakeFiles/jetson-inference.dir/plugins/FlattenConcat.cpp.o
[ 71%] Linking CXX shared library aarch64/lib/libjetson-inference.so
/usr/bin/ld: cannot find -lnvcaffe_parser
collect2: error: ld returned 1 exit status
make[2]: *** [aarch64/lib/libjetson-inference.so] Error 1
CMakeFiles/jetson-inference.dir/build.make:257: recipe for target 'aarch64/lib/libjetson-inference.so' failed
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-inference.dir/all' failed
make[1]: *** [CMakeFiles/jetson-inference.dir/all] Error 2
make: *** [all] Error 2
Makefile:129: recipe for target 'all' failed
is it related to base image?

That's odd you would be getting -nvcaffe_parser error from docker build, because when building docker container, I remove that from the CMakeLists with sed in the dockerfile:
https://github.com/dusty-nv/jetson-inference/blob/b689bb353a9f7437f3899068b6b33af6608d8ae9/Dockerfile#L77
However you could try manually replacing nvcaffe_parser with nvparser in your CMakeLists here:
https://github.com/dusty-nv/jetson-inference/blob/3ff544d81891a92050f445c457459db098f4ea0a/CMakeLists.txt#L169

Thank you for the help @dusty-nv it works absolutely fine. Thank you
Is there any way we can download all the models with the Dockerfile itself? Instead of manually run ./download-models.sh

Is there any way we can download all the models with the Dockerfile itself? Instead of manually run ./download-models.sh
Because with docker cmake it's not downloading automatically

The jetson-inference/data/networks directory is mounted from the host so that when the TensorRT engine is generated the first time you use the model, that TensorRT engine gets saved and is not lost once you shut down the container.
The models get download the first time you run docker/run.sh script.

Hello @dusty-nv
After running the docker/run.sh I got error:-
head: cannot open '/etc/nv_tegra_release' for reading: No such file or directory
reading L4T version from "dpkg-query --show nvidia-l4t-core"
dpkg-query: no packages found matching nvidia-l4t-core
L4T BSP Version:  L4T R.
docker/tag.sh: line 18: [: -eq: unary operator expected
cannot find compatible jetson-inference docker container for L4T R.
please upgrade to the latest JetPack, or build jetson-inference natively from source
which base image should I use for this?
right now I am using nvcr.io/nvidia/l4t-ml:r32.4.3-py3

@pradhunmya01 can you please share your Dockerfile? Thanks.

sure @cognitiveRobot
FROM nvcr.io/nvidia/l4t-ml:r32.4.3-py3
COPY rootrequirements.txt ./
RUN apt-get update &&
apt-get install -y --fix-missing make g++ &&
apt install -y --fix-missing python3-pip libhdf5-serial-dev hdf5-tools python3-h5py &&
apt install -y --fix-missing libjpeg-dev libfreetype6-dev pkg-config libpng-dev &&
apt install -y --fix-missing vim v4l-utils &&
apt install -y --fix-missing libatlas-base-dev gfortran
RUN pip3 install --upgrade pip
RUN pip install --upgrade setuptools wheel
RUN pip install -r rootrequirements.txt
#Compiling and installing Jetson Inference
RUN apt-get update && \
apt-get -y --fix-missing install git cmake libpython3-dev python3-numpy
RUN git clone --recursive https://github.com/dusty-nv/jetson-inference
RUN cd jetson-inference &&
sed -i 's/nvcaffe_parser/nvparsers/g' CMakeLists.txt &&
mkdir build &&
cd build &&
cmake ../ &&
make -j$(nproc) &&
make install &&
ldconfig &&
/bin/bash -O extglob -c "cd /jetson-inference/build; rm -rf -v !(aarch64|download-models.)" &&
rm -rf /var/lib/apt/lists/

Hi @pradhunmya01 , did you set your default docker-runtime to nvidia like shown here?
https://github.com/dusty-nv/jetson-containers#docker-default-runtime

@dusty-nv i set default docker-runtime to nvidia, but the error still happened

@dusty-nv i set default docker-runtime to nvidia, but the error still happened

Hi @kk52099, did you reboot your system or restart the docker service after you made the change?
Does docker show the default runtime as nvidia?
$ sudo docker info | grep Default
 Default Runtime: nvidia

@dusty-nv I am facing the same issue.
$ sudo docker info | grep Default
 Default Runtime: nvidia

but still
#16 64.55 -- Copying examples/detectnet.py -> detectnet-camera.py
#16 64.55 -- Copying examples/segnet.py -> segnet-console.py
#16 64.55 -- Copying examples/segnet.py -> segnet-camera.py
#16 64.58 CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
#16 64.58 Please set them or make sure they are set and tested correctly in the CMake files:
#16 64.58 CUDA_nppicc_LIBRARY (ADVANCED)
#16 64.58     linked by target "jetson-utils" in directory /jetson_inference_ros/dependencies/jetson-inference/utils
#16 64.58
#16 64.58 -- Configuring incomplete, errors occurred!

any other suggestions?

Do you have CUDA toolkit installed on your device under /usr/local/cuda? It should have been installed with JetPack
You should see libnppicc.so under /usr/local/cuda/lib64

It should be already installed if you are using the SD card image for Nano or NX.
If you used SDK Manager, it should have installed it for you after flashing.  Can you try to do sudo apt-get install nvidia-jetpack ?

@dusty-nv I'm working on this with @bastianhjaeger
jetpack is installed, however under /usr/local/cuda-10.2 . libnppicc.so is there and the runtime seems to be fine too:
$ sudo docker info | grep Default
 Default Runtime: nvidia

we're using this base image: dustynv/ros:foxy-pytorch-l4t-r32.5.0
any more good ideas?


[MINOR][YARN] Fix code error in yarn-cluster unit test

What changes were proposed in this pull request?
Fix code error in yarn-cluster unit test.
How was this patch tested?
Use exist tests

Can one of the admins verify this patch?

Jenkins test this please

Test build #62232 has started for PR 14166 at commit 816979b.

Test build #62232 has finished for PR 14166 at commit 816979b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62232/
Test PASSed.

Merged to master/2.0


expand capability for other similar collections

I have prototyped extraction from Beat em up bundle and Samurai showdown collections.  Approach is similar enough to use one tool for this.  Here is the former prototype: https://gitlab.com/reubenajohnston/binhacks

I have prototyped extraction from Beat em up bundle and Samurai showdown collections. Approach is similar enough to use one tool for this. Here is the former prototype: https://gitlab.com/reubenajohnston/binhacks

Thanks for this.  I'll take a look and see what I can do.  I had already started looking at the Samurai Shodown Collection but need to spend more time looking into the way the graphics are swizzled.  Unfortunately I don't have the Beat Em Up Bundle so I can't look at that.

Shoot me an email<EMAIL_ADDRESS>and I'll send you my notes for SS.  I manually created the first four extractions for it.


Fix TextBox.SelectedText = "" not clearing text

What does the pull request do?
If you ran TextBox.SelectedText = "";, the text wouldn't be cleared. This PR fixes that bug.
What is the current behavior?
myFavoriteTextBox.SelectedText = ""; does not clear the selected text.
What is the updated/expected behavior with this PR?
myFavoriteTextBox.SelectedText = ""; now clears the selected text by calling DeleteSelection().
Checklist

[x] Added unit tests (if possible)?

Thanks 👍


footprint: Fix version file and provide history

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/Azure/azure-cli-extensions.git@fixVersionFootprint#subdirectory=src/$EXT&egg=$EXT"


Reflect Layout Geometry in Workspaces Image Area

Instead of icon in pager I would rather see preview of the layout for each workspace (with icons for windows which are big enough) which is properly filled according to number of windows currently present in particular layout.
For example if I have regular "split non-master region in half" layout it should show 50%/50% split for 2 windows and 50%/25%/25% split for 3 windows and icon should be displayed only on 50% parts if 25% is too small.
All the necessary information is available inside of xmonad but it's impossible to communicate it to regular pager. Utilizing this information would really set taffybar apart from hundreds of other pager available out there.

@zabbal This is already done to some extent in that workspace icons are ordered based on the position of the left hand side of the window.
It would be possible to actually arrange the icons in a way that reflects the way the windows are configured, but I wonder if visual information would actually be useful.


[xgboost4j-spark] the updateCheckpoint(...) in CheckpointManager is wrong

Here is the code pieces:
private[spark] def updateCheckpoint(checkpoint: Booster): Unit = {
val fs = FileSystem.get(sc.hadoopConfiguration)
val prevModelPaths = getExistingVersions.map(version => new Path(getPath(version)))
val fullPath = getPath(checkpoint.getVersion)
logger.info(s"Saving checkpoint model with version ${checkpoint.getVersion} to $fullPath")
checkpoint.saveModel(fullPath)
prevModelPaths.foreach(path => fs.delete(path, true))
}
checkpoint.saveModel(fullPath) saves model to local disk,
but prevModelPaths is HDFS.
This is a regression from v0.72, it used to have saveModelAsHadoopFile(...)

thanks for reporting this
it's a bug, we need a wrapper to wrap booster binaries and save it to HDFS

or we should as simple as using checkpoint.save(stream) to resolve it


iframe too large

Opening jAlert with iframe, the height is always 100% of the viewport height, i would like to have it sized according to the content within the iframe.

I have been slammed lately with work. Please add a setting for iframeHeight and create a pull request. I will merge it into the project.


[13pt] Prioritize Local Processing

Gulp.. I forget what this meant but you said you will remember. Was this the processing all models through RRASSLER to local first, then a separate step to iterate and push to S3?

I did :)
A preliminary timing did show that the disk path was more efficient given how I was using it but this should only be used as a guide.  All functions still remain for further testing.


Representing

The front end and back end communicate via an AST tree stored in some
simple data structures (that have no behavior).
The first set of AST nodes are the "Expr" nodes. The abstract Expr
class and its concrete derivatives are generated by GenerateAst,
and can be printed using the AstPrinter class.

The intent is that the AST data will be consumed
using the supported Visitor model. For example,
derive your visitor class from Expr.Visitor
for your code that has visitors returning T.


if dapp wants to modify the database structure, then how do I upgrade? Or do you have to push it all over again?

The DB table structure is upgraded by ddl statement. When enough nodes are upgraded and the block height reaches a certain value, the new function is started. Consensus is divided into technical part and node owner consensus.


Generate view-friendly diffs from various legislation

This was somewhat mentioned in #52 in the context of amendments (see https://github.com/unitedstates/congress/issues/52#issuecomment-15315092) but I didn't see anything explicitly tracking it and seemed worthwhile to do so.
I think it would be really useful to have a representation of what changes a piece of legislation would have on other pieces of legislation, be it amendments to a bill or bills amending existing laws. The way I think about it is if every bill/law was stored in a git repo, then other bills/amendments essentially generate a diff that can be viewed in the context of the existing legislation.
Take the 17th Amendment to the Constitution as a basic example. As originally written, Clause 1 of Article 1 Section 3 of the Constitution reads:

The Senate of the United States shall be composed of two Senators from each State, chosen by the Legislature thereof, for six Years; and each Senator shall have one Vote.

The 17th Amendment made it so that now it reads:

The Senate of the United States shall be composed of two Senators from each State, elected by the people thereof, for six years; and each Senator shall have one vote.

This essentially generates a diff that looks like the following:

-The Senate of the United States shall be composed of two Senators from each State, chosen by the Legislature thereof, for six Years; and each Senator shall have one Vote.
+The Senate of the United States shall be composed of two Senators from each State, elected by the people thereof, for six Years; and each Senator shall have one Vote.

When presented visually (like in this gist), the diff allows you to view the changes in at least a couple different ways visually, having better context for what the changes actually do.

The issues in this repo are best suited for bug reports related to the scripts in this repository (vs ideas).
I'll leave the issue open for a while if anyone wants to comment. My suggestion would be that you try to do this for Obamacare and report back what you figure out.

I had seen other issues like "Document Foo", "CSV Output", etc. which made me think this was the right place - is there a better place to track and discuss this?

The thing you're proposing working on is about 1000x harder than documentation and CSV output. (I'm not exaggerating.)
I don't know of (or can't think of) a better place to discuss it. Like I said, we can leave this issue open for a while.

@powellcj12 A project I've been working on occasionally might interest you.
https://github.com/Congress-Dev/congress-dev


tiktok clone assignment

Name: vinay kumar hm
Email<EMAIL_ADDRESS>Linkedin Profile:
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

link of the site :https://cocky-babbage-4c6f99.netlify.ap

home work is done

.


operator [CI] aerospike-kubernetes-operator (2.1.0)

Release aerospike-kubernetes-operator 2.1.0
Signed-off-by: Ashish Shinde<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

/test 4.10-deploy-operator-on-openshift

/test 4.7-deploy-operator-on-openshift

/merge possible


sitespeed.io

Need to check https://www.sitespeed.io/
Seems a good fit for admin tools
Thanks @pnommensen for tip. :-)

+1

+1

+1

+1

+1

+1

:+1:  :100:

@mbtamuli this tool has docker support. So should be easy to integrate in v4.


Access using identity-based connection

Hello,
I noticed that when using Azure Portal person can connect to CosmosDB using identity-based connection if she or he has been granted appropriate role on cosmosdb.
However this does not work for dedicated data explorer under cosmos.azure.com - that portal still wants to list access keys.
Please make an appropriate note in the documentation to indicate this limitation.
Also, please consider improving cosmos.azure.com portal to be in pair with data explorer in Azure portal (accept Entra identities).

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

ID: f7e8d08b-7c18-5407-dc4f-fa7bbfe53fb3
Version Independent ID: da35a785-c7fe-57e8-2d02-3daefd0284da
Content: Use the Explorer to manage your data - Azure Cosmos DB
Content Source: articles/cosmos-db/data-explorer.md
Service: cosmos-db
GitHub Login: @seesharprun
Microsoft Alias: sidandrews

@miqm
Thanks for your feedback! We will investigate and update as appropriate.

Please review the known issues section of the Data Explorer documentation. A specific permission is required to use the Data Explorer.
#please-close


Translation file

Solves #17
Translation file en and de

[x] auth
[ ] project
[ ] index card
[ ] common
[ ] Backend errors
[ ] Frontend errors

Change font to normal font in theme.css

Change font to normal font in theme.css

Done


Could you update the image to 2.9.19?

Thank you Boss

This is done with the latest image.  Sorry for the (too) long delay.

This is done with the latest image. Sorry for the (too) long delay.

No problem you da best man!!!


Add operator for Cofree constructor

LGTM, thanks!
There are a few things I want to add to this module actually. Are you going to use it in Halogen? 😄

No immediate need / plans, but I'm getting more familiar with it, so maybe :wink: - it's for something I'm working on as part of SlamData.


ID minter only generates IDs that start with letters

What is this PR trying to achieve?
Addresses the first half of #225 – new IDs won't start with a number.
Once this is merged, we'll need to flush the existing tables, as have some existing identifiers that begin with numbers.
Who is this change for?
End-users who may be using identifiers as strings, for whom a leading numeral is potentially problematic.
Have the following been considered/are they needed?

[x] Tests? See unit test in patch
[x] Docs? Not required.
[x] Spoken to the right people?

Rebased against master, review markups made.

I’ll merge #227, rebase against updated master, then merge this once tests pass.


[Epic] AI Copilot for Forms and JSON Schema

[x] Description created
[ ] Reviewed by peer: @peterhnm
[ ] Prioritised

Description
As a user I want to use ChatGPT or similar tools to generate forms based on JSON Schema. The same applies to data handled in the process which could also be based on JSON.
Ideally, I can submit a prompt for a form which I would like to generate. Copilot then pastes the generated JSON into the opened file in VS Code which can be rendered by the other Miranum plugins right away.
Other considerations:

Generate a form based on a picture
Create a JSON schema based on existing data
Generate test data for a process based on forms and schemas

Sub-Tasks

### Tasks
- [ ] <your-issue-here>

Stakeholder
@Hafflgav
@dominikhorn93

FYI: The exact tasks still need to be refined


Harvester/Scythe Not correctly reaping ResourcefulCrops plants

Minecraft version & Mod Version:
1.12.1
Cyclic-1.12-1.7.9.jar
Single player or Server:
Both
Describe problem (what you were doing / what happened):
Harvester and Scythe do not properly reap crops whose drops contain NBT
This example: resourceful crops. The crops drop a shard that is defined by it's nbt tag. When harvested by cyclic harvester or scythe the shard is "invalid" and doesn't match the nbt/meta of the shard that's supposed to drop.
Crash log (if any):
none
Normal Crop drops:

Cyclic reaped:

What version of resourceful crops are you using? I tried to install and use it but it just crashed right away for me . I literally just opened the game and tried to find inky shards in creative inventory  The newest that the launcher gave me was ResourcefulCrops-1.12-2.1.0-61.jar)
Im noting the changelog here in case i need to forward it to author
-- Item being rendered --
Details:
Item Type: tehnut.resourceful.crops.item.ItemResourcefulPouch@7b05c69a
Item Aux: 0
Item NBT: {seed:"resourcefulcrops:inky"}
Item Foil: false
Stacktrace:
at codechicken.lib.render.item.CCRenderItem.func_184391_a(CCRenderItem.java:217)
at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:264)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:98)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(InventoryEffectRenderer.java:51)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:644)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:349)

I'm using what's on ATC currently:
ResourcefulCrops-1.12-2.1.0-61.jar
Cyclic-1.12-1.7.12.jar
forge-1.12.1-<IP_ADDRESS>4-universal

Hmm, maybe its some conflict with the newest 1.12.1 forge. Reported to crops mod, after thats resolved I should have a fix for this on the way  https://github.com/TehNut/ResourcefulCrops/issues/51

I just noticed that Resourcefulcrops updated a few weeks ago to fix the JEI crash.
With current version of cyclic this bug no longer happens, I just harvested some Inky shards after planting Inky Seeds and using the garden scythe, so its resolved.
Huzzah!

Sweet! Thank's for the follow-up~


[FEATURE] Add create workspace command python -m argilla workspaces create

Add a new command that will create a workspace given a provided name via argument. The command will make use of argilla.client.workspaces.Workspace class to create the new workspace.
python -m argilla workspaces create my_workspace

@gabrielmbmb Can you assign this to me?