HostsFile: Add multiple IP addresses to a host name (Fixes #301)

Pull Request (PR) description
This PR adds the ability to set and remove multiple IP addresses for one host name.
This Pull Request (PR) fixes the following issues:
Fixes #301
Task list:

[ X ] Change details added to Unreleased section of CHANGELOG.md?
[ X ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ X ] Examples appropriately updated?
[ X ] New/changed code adheres to Style Guidelines?
[ X ] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #346 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@         Coverage Diff          @@
##            dev   #346    +/-   ##
====================================
+ Coverage    98%    98%   +<1%
====================================
  Files        27     27
  Lines      1951   1937    -14
====================================
- Hits       1918   1906    -12
+ Misses       33     31     -2

Closing because abandoned


[Rendering] AMD FSR 2.2

FSR 2.2 will allow us to render at significantly lower resolutions then upscale them back to full while remaining reasonably similair to the original image.
Free performance :D
https://github.com/BoyBaykiller/FidelityFX-FSR2-CSharpBindings

The native binding is a big con for us, and TAAU (Temporal Anti Aliasing Upscaling) is simpler to implement, and cheaper performance-wise since it can integrate with our existing TAA, and produces really good results, so not gonna do this anymore.


[Do not merge] Option 2: Pass business finder tag as hidden field

Trello: https://trello.com/c/0rDl6oiK
Follows on from Option 1: https://github.com/alphagov/finder-frontend/pull/946
Motivation
The way email signups work for the business readiness finder is
changing. This is because the finder works differently to other finders.
Rather than narrowing the results, the finder expands them, doing an
"or" query rather than an "and". That is not how email-alert-api works.
It creates an "and" query from the facets it's passed.
This means that most users subscribed to the business readiness finders
were not receiving updates.
What's changing
The assumption is that "appear_in_find_eu_exit_guidance_business_finder" will be added to the email-signup content item:
    "email_filter_by": "appear_in_find_eu_exit_guidance_business_finder",
    "email_filter_name": "appear_in_find_eu_exit_guidance_business_finder",
    "email_signup_choice": [
      {
        "key": "yes",
        "radio_button_name": "yes",
        "prechecked": true
      }
    ],

As "email_signup_choice" has to be populated to get the value of "yes", the checkbox form will be rendered.  Additional code needs to be added to hide the checkbox field, but still pass in the facet values to EmailAlertSignupAPI.
Another option, rather than making the field hidden is to pass "filter" in to the content-item:
filter:
    appear_in_find_eu_exit_guidance_business_finder: "yes"

This approach stops the checkbox form from rendering, but we would need to update the content schema.

@leenagupte I've made the following changes to fix the logic. I deployed to integration and it seems to work!

Pass facet_id instead of facet_name through to ignore_facet?
Instead of trying to render a hidden input, just wrap a checkbox in the js-hidden class.
Updated the email signup content item so it doesn't refer to news and communication (I assume we'll have to move this file into govuk-app-deployment-secrets).

@vanitabarrett Thanks for sorting this out! Yes we'll need to add the updated content item to govuk-app-deployment-secrets, and update the developer docs. I'm just going to complete the feature we started and remove the rogue puts page.body that I left in there.

@steventux hidden_field_tag is a much neater solution. Thanks. I've made the change and fixed up.


Pass parameters for Conv2d grad correctly

Description
Previously the parameters passed for conv2d grad did not generalize when these parameters were specified as tuples, throwing a TypeError. They only worked when they were integers. This PR solves the issue when specified as integers or tuples.

@gmuraru @rasswanth-s Help with failing tests?

Any update on this?


Add @context to generated DidDoc

@context is a required attribute
https://www.w3.org/TR/did-core/#json-ld

Not needed - did:peer should not dictate a JSON-LD representation of the DidDoc


Modified loading widget in new UI

Closes: #3742
What's Changed

Added a spinning nautobot gif to be used as a loading icon.
Updated the LoadingWidget UI component to use the spinning nautobot instead of the generic spinner icon.
Also updated the endColor of the skeleton loading animation (when tables load) to a lighter gray so it's easier on the eyes.

TODO

[x] Explanation of Change(s)
[x] Added change log fragment(s) (for more information see the documentation)

Thanks for the pull request! I like the idea, but we may not be able to go in this direction as-is due to the need to support custom branding of an installed Nautobot instance.

Thanks for the idea @DistantVoyager!

Sure! you can update and re-open.


Add issue templates

We want to add issue templates to this repo similar to this repo

Hey @Dharmik48, I would like to contribute to this project. If I understand correctly, for this issue we need to create the required folders and issue templates in this repository just like the ones in this repository, is that correct?

Hey @Dharmik48, I would like to contribute to this project. If I understand correctly, for this issue we need to create the required folders and issue templates in this repository just like the ones in this repository, is that correct?

Yes, correct! I will assign you for this issue😊


minichlink debugger instability

The debugger with minichlink is quite unstable.
But instability is subjective, I would like to provide something concrete about it.
In the wireshark dump bellow at line 00000427 should be:

'OK'     for success
'E NN'   for an error

0000022E  24 6d 31 31 36 2c 34 23  36 35                     $m116,4# 65

0000041A  2b                                                 +
0000041B  24 37 33 30 30 32 30 33  30 23 38 66               $7300203 0#8f

00000238  2b                                                 +
00000239  24 44 23 34 34                                     $D#44

00000427  2b                                                 +

0000023E  2d                                                 -
0000023F  2d                                                 -
00000240  2d                                                 -
00000241  2b                                                 +

Note: RVHandleDisconnect seems to be the one handling it.

I hope it is usefull.
References
manual page 774

freedom.
AFAIK wchlink doesn't work with vanilla openocd. Given the modified version of openocd and the FOSS software nature, perhaps it's already supposed to be open, but I'm not a lawer. But having more control over our tooling it good. If anyone knows better, I would be glad to hear.

At this moment, minichlink is pretty much unusable for debugging. It's ok for flashing and serial i/o.
About your specific problem, I'm wondering if you can drop the verify, because it may be the source of slowdown.
No reflash needed. On windows I only used the MRS, don't know about drivers.

I am not able to meaningfully use the minichlink debugger with VSCode, stepping is pretty random and continuing doesn't do anything.
I was wondering if it was possible to use OpenOCD for debugging while using minichlink for debug output with the custom printf implementation over SDI... I guess not, since I think SDI runs through the same interface as the main debugger.

@LaXiS96 Please use the gdb_fix branch.  This fixes almost all cases, except for stepping "over" functions that take a really long time, like delays.
@mrx23dot I am desperate to find one last corer case that I cannot figure out with gdb.  Is there any chance you could be bothered to try it out as it stands in the gdb_fix branch?

Well, some of this feedback I am incorporating to the feedback to go into the next round of changes to minichlink, but for, gdbserver there's
make gdbserver

and
make gdbclient

We definitely can improve the documentation.
Also, I had never seen the wch_swio_flasher.  It's unfortunate it uses emulated NCH link protocol, because it's so hard to materially improve that.
Also, I too have noticed that recent versions seem to burn slower.  What device were you using to flash when writing 8kB took 27 seconds?!!?   It should take about 1.6 seconds to flash 8kB theoretically.

RST is generally not used when programming the 003.  Only SWIO.
Blue flashing may mean that it's in bootloader mode.  Minichlink "should" automatically exit bootloader mode if that's the case.
Can you repost the full output, of your command, and the output of minichlink?

There is no binary.
https://github.com/cnlohr/ch32v003fun/blob/master/ch32v003fun/ch32v003fun.mk#L212-L213
gdbserver :
	-$(MINICHLINK)/minichlink -baG

We are also in progress to improving flash performance on Windows.


changes FakeBook to SearchResult for SearchController decoding

Description
Fixes Book model naming
Trello card: (https://trello.com/c/NsyqqgdM/66-library
Type of change

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

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[x] Manually tested with simulator (iPhone 11 Pro Max)

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] There are no merge conflicts

 Library


Removed kubelet port flag. Node name now always need from env/flag

Fix to issue #3242. Kubelet flag is removed from the spec and tests relying on mocked versions of the getlocalpods method have been changed to no longer rely on this method. Kubelet API files, which were using the unsecure methods, have been removed.

Any pointers on why the integration tests aren't going through? Seems it's not able to resolve some files in vendor and it's not able to resolve a symbol in the docker package "namespaceIPAddress"

Thanks for the PR!  Integration tests are turned off on forks; see #2192.
It is unfortunate that when this happens the reason is not made clear.
I have pushed your fork to the weaveworks/scope repo so the tests will now re-run.

In the issue #3242 I noted:

"the main work is in checking the system still works, and considering how to warn the user if they don't supply a node name"

Could you say what you did on those points?  What does happen if they don't supply a node name?
There are now two modes to run the Scope probe with Kubernetes: the default every-node-captures-everything, or via -probe.kubernetes.role designate just one to connect to the api-server.  I think this PR is most relevant to the default mode, but it should do something reasonable in both cases.

The nodeName flag can be provided manually and if not scope will attempt to pull it from the KUBERNETES_NODENAME env variable. I think right now the reporter that calls the podTopology method will only get added if the kubernetes role is cluster.

I think right now the reporter that calls the podTopology method will only get added if the kubernetes role is cluster.

It checks that the mode is not host, but there are three possibilities: host, cluster or neither (for backwards-compatibility, since it requires changing the way you deploy the probe).

@bboreham I'm assuming that neither is the out-of-cluster deployment? Or is there a separate deployment mode for Kubernetes?
If it's the out of cluster mode then this check for kubelet won't have any impact. The code as is will only fire for kubernetesRole=Cluster, and when it does it will add a node name for each pod in the list.

The three possibilities are:

kubernetesRole is "".  This is how one would deploy Scope prior to #3274; each probe talks to Kubernetes and tries to report its own pods.
kubernetesRole is "cluster"; only this probe talks to Kubernetes and should report all pods.
kubernetesRole is "host"; this probe should not talk to Kubernetes.

I believe the change you have made will impact the first two.
Still, we don't need to argue about theoreticals; my question is which of these have you tested and what does it do in the case that the node name is not supplied?

I've manually tested the named kubernetesRoles. Like you said in the host role case this method isn't called and has no effect.  In the cluster role case the WalkPods will run the addNode method for every pod if no nodeName is passed to it.

I'm not certain of how to approach the first Role - i.e. no role given. Is it a case that this is supported as a run-mode even with new changes to the code such as this one? In the other thread there seem to be explicit calls for removing the kubelet code.
If this is still supposed to support per-node reporting maybe we can do a check for the flags and a warning at set up time? Do you think this is a reasonable way to signal to the user - or should there be something harder than a log.Warn()?

Thanks for doing those tests.
I think we have to expect people are still running Scope as a single DaemonSet with blank role.  Currently it works, without calling kubelet, so long as a node name is supplied.
We could decide not to support blank role after this PR, given some justification.
Logging a warning would be fine, together with either reporting no pods or all pods.  The main thing I want to ensure is that it doesn't crash.

I've pushed a commit to your branch adding a warning.


FabInjector failed to find injection point

[23/07/2022 14:03:02 PM] [Render thread/ERROR] [Fabrication] FabInjector failed to find injection point for com/unascribed/fabrication/logic/CommandSourceInterfaceHack;method_9268(Ljava/lang/Iterable;Ljava/lang/String;Ljava/util/function/Function;Ljava/util/function/Consumer;)V	Ljava/lang/String;equals(Ljava/lang/Object;)Z
[23/07/2022 14:03:02 PM] [Render thread/INFO] [EssentialCommands]: Mod Load Complete.
[23/07/2022 14:03:02 PM] [Render thread/INFO] Trying to read config file...
[23/07/2022 14:03:02 PM] [Render thread/INFO] A config file was found, loading it..
[23/07/2022 14:03:02 PM] [Render thread/INFO] Successfully loaded config file.
[23/07/2022 14:03:02 PM] [Render thread/INFO] Successfully read config file USERSDIR\instances\Fabric\config\extshape.nbt.
[23/07/2022 14:03:02 PM] [Render thread/INFO] Successfully wrote config file USERSDIR\instances\Fabric\config\extshape.nbt.
[23/07/2022 14:03:03 PM] [Render thread/INFO] Generating server data for Extended Block Shapes mod!
[23/07/2022 14:03:04 PM] [Render thread/INFO] Generating client resources for Extended Block Shapes mod!
[23/07/2022 14:03:04 PM] [ForkJoinPool.commonPool-worker-1/ERROR] Couldn't get latest version!
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of dimensional_tools.ini done in 4.868 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of block_logo.png done in 13.41 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of block_logo.ini done in 15.30 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of classic_block_drops.ini done in 2.609 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of fscript.ini done in 2.092 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of gear_components.ini done in 13.86 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of item_despawn.ini done in 699.8 Î¼s with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of taggable_players.ini done in 5.954 ms with 0 warnings
[23/07/2022 14:03:04 PM] [Render thread/INFO] [Fabrication] Loading of yeet_recipes.ini done in 584.1 Î¼s with 0 warnings
Not Crash but maybe can be useful information :
Full Log : https://paste.atlauncher.com/view/3dfea829-a191-4dae-9093-d96197b48ef2

In a heavily modded environment, it is generally to be expected that at least one of Fabrication's features will fail to load due to an injection conflict. You likely have another mod installed that does a similar thing to Lenient Command Suggestions.
It is a feature that Fabrication logs a warning like this and disables the relevant option instead of hard-crashing the game.

I see, thank you, sorry for your time, maybe it SuggestionTweaker or EssentialCommand?

add -Dmixin.debug.export=true to the java args and send over .minecraft/.mixin.out/class/net/minecraft/class_2172 if you'd like me to take a look at this

It's almost certainly SuggestionTweaker.

confirmed, it's that. it's also something that can only be fixed by suggestion tweaker.
but i'm guessing that suggestion tweaker replaces the functionality anyhow

Yeah, imo there's no need to fix this, as it isn't a bug in the first place — it's intended behavior. SuggestionTweaker taking over is certainly desired behavior; Lenient Command Suggestions is a tiny subset of the functionality that offers.
The warning could be squelched by adding a modsNotLoaded property to the EligibleIf annotation, but in general I dislike doing that as the lists are hard to maintain and fall out of date quickly.

If I found Fabrication from beginning maybe I would not install Suggestion Tweaker, I found this mod not long time ago and slowly try to trim my modlist that are already included in Fabrication. Do the suggestion from fabrication show Iron golem if we only type "/summon gol"?

Do the suggestion from fabrication show Iron golem if we only type "/summon gol"?

It works without SuggestionTweaker. Thank you for including this useful tool!

https://gist.github.com/ardissaps/8900bf4dd5560709f53e5070f481b87d
@unascribed
@SFort
Which feature failed with this error?

if i'm reading that right, no feature failed.
actually working on not throwing that error in that kinda case right now and having a conflicting mod i can test it with is usefull ty

Look like from tweakeroo, but not sure which one, prevent close thing


Pipeline DRY

There is a bit too much repeating inside the two Jenkinsfiles. Also the file will not grow as big as libelektras, but a modularization of the different stages, might make it more readable and maintanable.
Repeated:

build backend/frontend
functions node_info and wait_for_db

Basically all the lines of code from 1 to line 90 are repeated code. Which is around 90% of repeated code in that file.

Would be great if you find a solution for that! :heart:

Btw. both Jenkinsfiles are entry points for different pipelines and this should stay that way.

Btw. both Jenkinsfiles are entry points for different pipelines and this should stay that way.

Yes, I will not change that.

As discussed we only want markers what is duplicated.

Dev/Prod deployment is also very duplicate, could be put in one functin in the future maybe?
Dev

Prod

I still think it is a viable option to keep the duplication. It also makes the Jenkinsfiles independent and we better see if changes actually affect the releases.
But if  #906 works, it is also fine. In any case we should documenting carefully which parts are used where (www, dev, and pr).

I still think it is a viable option to keep the duplication. It also makes the Jenkinsfiles independent and we better see if changes actually affect the releases.

I totally agree, for a moment I was also thinking to just close this PR.

We still can revert if you see that the release pipeline is totally broken now.

We should revert it, I completely forgot that the pipeline is not encapsulated and by importing the other Jenkinsfile the normal pipeline gets executed.
The functions would need to be a in a separate Jenkinsfile.common or something.

Done. So this issue is now as its title say: just mark what is duplicated.


Replace sops-pgp-hook with sops-import-gpg-hook

SOPS_PGP_FP is not very flexible especially with multiple hosts.
The recommend solution is to use .sops.yaml which allows to specify different keys per sops file or directory.
That's I want to deprecate sops-pgp-hook with sops-import-gpg-hook, which only import keys and do not set SOPS_PGP_FP.

implemented in https://github.com/Mic92/sops-nix/pull/99


AMD Support

Hello,
we would like to test this package on the TOpAS cluster to get an idea of our power consumption with and without GPU resources. Unfortunately, the cluster uses AMD EPYC 7662 64-Core CPUs. When we tested the package, the used power was displayed as 0.
It would be nice if this could be fixed at some point, as we hope to use the power consumption of our applications in future benchmarks.
Greetings Tim Voigtländer

Hi Tim, I'm already working on this, but for now it is not supported. I'll let you know once it is done.


External References not being copyed when creating a new version

Description
Having a Model with one or more Data Classes, where at least on Data Class has a Data Element that is an External Reference, when creating a New Version of the model, the External Reference Data Elements disappear on the new version. The same happens on Data Classes that has other Data Classes as _External References.
Steps to reproduce

Have a Finalized Model (version 1.1.0)

Create a new version of the Finalized Model

New version (main) does not contain the External Reference

Expected behavior
The new version should maintain the External References
Environment

Mauro Version: 7.1.0
mdm-core Version: 5.1.0

Hi @pringinacio , Thank you very much for reporting this issue.  It looks as though it may be the same as https://github.com/MauroDataMapper/mdm-core/issues/242 ?  In which case, it has been fixed and will be part of the next release. Please let me know if you think otherwise and we can take a closer look :)

@jamesrwelch it appears to be the same problem (if VF is a Versioned Folder). If it is then this issue is a duplicate of 242


Bootstrap 4 support

Fixes #76: Implemented online libraries for bootstrap 4

Fixes #77 Added self hosted libraries

Coverage decreased (-0.2%) to 99.814% when pulling 5bc0a20a58155553ce76cc8e31bd205e026243ea on bootstrap-4 into 9081ec3a1e1474860a213e99da5ab2a2183087c3 on release-candidate.


Image upload isn't reflected after the first time

Description
After starting the Gatsby server, dragging an image to the image field only works the first time. All subsequent uploads will not be reflected in the Tina preview and in the site (although the file uploads to the project correctly).
Steps to reproduce

Start gatsby server
try to add image to image field in tina
try a second time
NOTE: try typing and your image will show up

Expected result
n/a
Actual result
n/a
Environment
 "@tinacms/gatsby-plugin-tinacms": "0.1.3",
    "@tinacms/gatsby-tinacms-git": "0.2.0",
    "@tinacms/react-tinacms-remark": "0.2.3",

I believe this is no longer an issue. Can someone confirm?

Yes I can't reproduce this. Closing for now.


Dont reference browser globals on init

This makes it easier to deal with server side rendering, allowing importing this library and then determining if rendering on the server.
Otherwise simply importing this lib will cause window to be referenced.

Fixed in<EMAIL_ADDRESS>


Is Viro development stopped?

Is Viro development stopped. there is no git commit from past 3 months. can we expect any update on next release

Hi everyone. I'm going to use ViroCore SDK in my new project to enable some AR features, and I have the same question as @hkkvo
about future of ViroCore SDK, can we expect any updates on next release, bugfix, support of new versions of ARCore? Please shed some light on your future plans?

Hey @hkkvo and @iTruff, Good news: I'm thinking of branching off a "ViroCore PRO" build to continue development for new bug fixes / new features / new ARCore version support.
I also have a few cool ideas I would like to implement to improve development speed and iteration (custom XML support for Viro 3D Controls, etc). Let me know if you have other ideas or neat features you would like to see!
To fund my efforts in continued development, ViroCore PRO would be implemented under a low-cost subscription license. There will be a public roadmap, together with Trello boards, and a list of feature requests that are scheduled to be implemented.
Would you be interested in ViroCore Pro?
I'll send out a questionnaire in Slack soon to gauge interests to see if this is worth pursuing or not, so stay tuned!

@dthian can you include this proposal for ViroReact?

@fraviloria Unfortunately not at the moment. Maybe later.
With the limited bandwidth I have, ViroCore would be my current focus.

Hi @dthian, thanks for response, great news. Hope I'll be able to persuade my manager to use "ViroCore PRO" :)
Btw, quick question, maybe you will be able to help me. I'm trying to calculate com.viro.core.Polygon area, is there any standard functions (didn't found anything by myself) to do that or I need to calculate it with my own algorithm? Thanks.

Hello @dthian, could you please confirm the status of the library? Is ViroCore SDK still actively maintained?

@dthian It would be great at least to integrate latest ARCore version to ViroCore or to guide us how to do this, because there is a bug in current version that prevents checking AR availability on device.

It would be nice if someone can do the maintain job https://virodevelopers.slack.com/archives/C8QAWPBMZ/p1605427112032600 otherwise it will die slowly

For those who are interested in a new ViroCore aar with support for ARCore 1.21.0 see this issue.

Maybe the maintainer @dthian @radvani should have a second maintainer to avoid a no-progress-state like sadly a lot of other projects have ?


Optimization:SB Day01.java

In the findDigit method, you are using line.startsWith(digit, i) multiple times inside a loop. Instead of repeatedly creating substrings, you can use a StringBuilder for more efficient string concatenation.

The proposed solution is actually worse performance. If you look at the implementation of String#startsWith(String, int), it does not actually create substrings. It is optimized already. Also, making a StringBuilder and looping through each char and using append doesn't make much sense when you coul use a substring with a range. And you completely ignored my cache field optimization. Sorry, but this isn't good enough in its current state.
(Also, what prompted you to PR my personal AOC solutions github repo?)


Prettier rules added

.prettierrc file added
.prettierignore file added
prettier has been added to package.json
as per Issue #415

Note- please use npm run prettier --write  to format the codebase according to the rules

@PiyushKalyanpy new pull request created, the last one had a lot of files changed as the entire codebase was formatted by prettier rules, all the changes to those were just spacing changes to make the code look good. Now that the prettier files are added, you can format it when you want

🎉 Thankyou for your valuable contribution @Nikhil1017

Thanks


Improve automation of downstream testing kubernetes

The etcd server is manually tested against kubernetes for each release. Recently, we also have manually tested the etcd client against kubernetes:master.
We would like to increase the level automation for this tests both to reduce the amount of manual effort required to release etcd and allow the tests to be run more often.

maybe it is a good time for us to create etcd-jenkins repo to move jenkins file to an open place, and also facilitate this kind of workload testing.
/cc @gyuho

@jpbetz I will be starting to work on this, in the next few weeks. I think this has to be done in two phases. One is to simulate and automate API server load testing on specified etcd version (more focused on etcd core performance). Second is to automate etcd version pick for all scalability tests (focused on etcd + other control plane performance). I will document action items and share them for review.

ref. https://github.com/kubernetes/kubernetes/issues/63245


Fix image sizing issues

Currently, image thumbnails are displayed cropped.
We should either de-scale images when displaying, or make them all one size.
Image URLs can be got here:
https://github.com/bitcartcc/bitcart-blog/blob/master/content/articles/bitcartcc-updates-summary-august-2020.md
https://github.com/bitcartcc/bitcart-blog/blob/master/content/articles/contribute-to-bitcartcc-this-hacktoberfest.md
In frontmatter img attribute

I'd like to work on this

Hi! Thank you very much! Feel free to ask any questions when implementing!


Add missing modules to docs/modules.org

TODO keywords added!

Excellent work. Thanks for the help!


No mention of Active Directory

Can we please have a mention of Windows Active Directory (i.e. on-premises Active Directory) and where it and Autopilot intersect?
It seems like any mention of Active Directory is avoided but there is no clear mention that it is meant to not be thought about either.  Is Autopilot only meant for pure Azure AD customers who don't want join their Autopilot-deployed Windows 10 devices to on-premises Active Directory?
Thanks in advance.

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

ID: 40564b31-c91f-2769-e3e0-0b72121a9951
Version Independent ID: 2ad13ef4-41c5-3ce3-ddaa-827291fcc944
Content: Overview of Windows Autopilot
Content Source: windows/deployment/windows-autopilot/windows-10-autopilot.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

FYI, I did find here a mention of Active Directory!  It says "Coming Soon: Join to Active Directory".  So this gives me hope, though I would love to see a dedicated page on docs.microsoft.com or a section on this Overview of Autopilot page dedicated to keeping customers informed of if/when Active Directory joins will be introduced.

Oh yeah, that's the one😎
Thanks!


Question: Why is the generated function self mutative?

What version of Ajv are you using? Does the issue happen if you use the latest version? 6.10.2
I'm currently working on a project where I dynamically generate a node.js package from a set of json-schema definition files; I'm using ajv and ajv-pack, but have noticed that the function that is generated is self-mutative. That is, due to the return type being just a boolean, the errors get stuck onto the instance of the function.
The generated code reads (roughly) as follows:
module.exports = function validate(data) {
  // ...
  validate.errors = vErrors;
  return errors === 0;
}

This means that multiple validate calls will overwrite the errors value.
At the moment I'm doing something pretty nasty as a workaround, which is to wrap the generated code in a closure faking out module and then returning a function with a different signature.
The signature I was expecting is something like:
exports.validate = function validate(data) {
  // ...
  return {
    valid: errors === 0,
    errors: vErrors
  }
}

Such that using the built module would be:
const Book = require('book-schema.js')

const { valid, errors } = Book.validate(someObj)

if (!valid) {
  ... something with errors
}

I'm just curious as to why a self-mutative API was chosen, as it seems rather strange to me?

Please see https://github.com/epoberezkin/ajv/blob/master/FAQ.md#ajv-api-for-returning-validation-errors

Oh! Sorry! I read through the FAQs on the website but somehow missed this.

On 9. Nov 2019, at 14:07, Evgeny Poberezkin<EMAIL_ADDRESS>wrote:
Closed #1120.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

No problem!


Increasing CPU usage over time

Expected behaviour
Actual behaviour
5 minutes after starting iri/nelson my CPU usage is typically about 40%
As hours goes by i see a gradual increase of CPU usage to the point where it reaches 90-100%.
This would typically occur after 24 hours.
At this point i also notice that the number of active connections are very low (0 or 1 connections)
Now, if i close and restart nelson (without closing iri) things goes back to normal (40% CPU and normal connection count)
Note! Im also running the Carriota Field service on this server.
Steps to reproduce
Basic Info

Operating System:
Unbuntu
Node (npm) Version:
5.6.0
IRI Version:
<IP_ADDRESS>
Nelson version:
0.4.0

Nelson Info

Epoch:
Cycle:
Connected peers:

I usually run into a similar issue although not as fast as 5 minutes after. After running nelson for about 2 days of uptime, it seems to spam add/remove peers very quickly causing CPU usage to spike, also memory spikes.
I think Nelson should limit how fast it can add/remove peers

+1
I have similar problem into my full node!
I am using default configuration


Cyclists levetating without their bikes

Anyone seen anything like this? (I'm currently testing PR #1471 although it's unlikely to be the case).
My cyclists are all floating down streets with no bikes - no idea if it's TM:PE or some other mod.

They seem to be leaving their bikes at the point where they'd normally spawn them:

Recently updated mods:

Recently subscribed mods:

When cyclist would normally "pocket car" their bike (eg. arriving at work or a train station) the stranded bike will disappear from outside whatever building they spawned from.
It's happening to all cyclists in the city - this is scene outside one building:

Yes, have the same, not figured out which mod causing it

my mods list, excluding vanilla.
green = confirmed OK
  *<PHONE_NUMBER>   Trailer Variation Loader
  * 724382534    One-Way Train Tracks
  *<PHONE_NUMBER>   CSL Music Mod
  *<PHONE_NUMBER>   RM Crossings 3.0
  * 940299505    AnimUV Params
  *<PHONE_NUMBER>   Movable Bridge Mod
  * 818641631    Ambient Sounds Tuner
  *<PHONE_NUMBER>   Real Time
  * 954067599    PropRotating Params
<PHONE_NUMBER>   Pink Shrimp Harbor Theme Mix
<PHONE_NUMBER>   San Minato 2
  *<PHONE_NUMBER>   Emergency Vehicle Priority 0.0.1
  *<PHONE_NUMBER>   HDRI Haven Cubemap Pack 3
  *<PHONE_NUMBER>   Shadow Distance Fix
  *<PHONE_NUMBER>   Fish Warehousing
  *<PHONE_NUMBER>   Better HealthCare Toolbar Mod
  *<PHONE_NUMBER>   Broken Node Detector 0.6
  *<PHONE_NUMBER>   Garbage Bin Manager 0.3
  *<PHONE_NUMBER>   HDRI Haven Cubemap Pack 2
  * 973512634    Sort Mod Settings
  *<PHONE_NUMBER>   MetroSoundDefinition_SH
  *<PHONE_NUMBER>   OxylonSoundPackUSA
  *<PHONE_NUMBER>   Hide it, Bobby! 1.32
  *<PHONE_NUMBER>   Network detective1.0
  * 793176674    Sharp Textures
  *<PHONE_NUMBER>   Customize It! Extended
  *<PHONE_NUMBER>   Realistic Walking Speed
  * 672248733    Ultimate Eyecandy 1.5.2
  *<PHONE_NUMBER>   Better Road Toolbar
  *<PHONE_NUMBER>   Patch Loader Mod v2.1.2
  *<PHONE_NUMBER>   Relight
  *<PHONE_NUMBER>   Repaint 1.4.2
  *<PHONE_NUMBER>   OxylonEuroSoundpackNED
  *<PHONE_NUMBER>   TramSoundAddON
  *<PHONE_NUMBER>   TrainPackDBAG
  *<PHONE_NUMBER>   OxylonEuroSoundpackAUT
  * 928103306    Ship Converter
  *<PHONE_NUMBER>   Custom Effect Loader
  * 903347963    Transparent Selectors
  *<PHONE_NUMBER>   Railway Replacer
  *<PHONE_NUMBER>   Network Tiling
  * 515489008    Extra Train Station Tracks
  * 650436109    Quay Anarchy
  *<PHONE_NUMBER>   Sunless Radio
  *<PHONE_NUMBER>   Advanced Stop Selection
  *<PHONE_NUMBER>   Cubemap Replacer
  * 707497031    Tram Station Track
  *<PHONE_NUMBER>   HDRI 2K Cubempap Pack
  *<PHONE_NUMBER>   HDRI Haven Cubemap Pack
  *<PHONE_NUMBER>   Natural Disasters Overhaul
  * 820157360    Spawn Points Fix
  * 899063611    UKSoundPack
  * 476141470    Craft_Inc's Synthwave & 80s-Retro-Music pack
  *<PHONE_NUMBER>   Music pack: Vault Archives Music Pack
  *<PHONE_NUMBER>   AD Cloud Enabler
  *<PHONE_NUMBER>   Emergency Lights Manager V2
  * 793346248    Decal Hover Area
  * 883332136    Any Road Outside Connections
  *<PHONE_NUMBER>   Instant Return To Desktop
  *<PHONE_NUMBER>   Tides
  *<PHONE_NUMBER>   ZONE Radio
  *<PHONE_NUMBER>   Rebalanced Industries
    812713438    Dynamic Resolution
  *<PHONE_NUMBER>   Klyte's Fine Road Tool 2.0.4
  * 608517757    Sub-Buildings Tabs
<PHONE_NUMBER>   Ticket Price Customizer
  * 530771650    Prefab Hook
  *<PHONE_NUMBER>   Stops and Stations
  *<PHONE_NUMBER>   Node Spacer
  * 530871278    Daylight Classic
  *<PHONE_NUMBER>   Snooper
  *<PHONE_NUMBER>   Crash FM
  *<PHONE_NUMBER>   Show It!
  *<PHONE_NUMBER>   Find It! 2.8.0
  *<PHONE_NUMBER>   Lifecycle Rebalance Revisited 1.6.2
  *<PHONE_NUMBER>   Crash FM: Burnout 3
  *<PHONE_NUMBER>   Toggle It!
  *<PHONE_NUMBER>   Fog Controller
+  *<PHONE_NUMBER>   Intercity Bus Control
  *<PHONE_NUMBER>   Curb Height Adjuster 1.3
  *<PHONE_NUMBER>   RON - the network replacer <IP_ADDRESS>
  *<PHONE_NUMBER>   Forest Brush
  *<PHONE_NUMBER>   Transit Vehicle Spawn Delay 1.2.2
  * 611254368    Environment Changer
  *<PHONE_NUMBER>   UI Resolution <IP_ADDRESS>
  *<PHONE_NUMBER>   Building Spawn Points <IP_ADDRESS>
  *<PHONE_NUMBER>   Control It!
  *<PHONE_NUMBER>   Crash FM: Burnout Revenge
  *<PHONE_NUMBER>   BOB - the tree and prop replacer 0.9.1
  *<PHONE_NUMBER>   Load Order Mod 1.3
  *<PHONE_NUMBER>   Procedural Objects 1.7.6
  * 870291141    Random Train Trailers 2.3.3
  * (local)      TM:PE <IP_ADDRESS> STABLE - PR #1471
  *<PHONE_NUMBER>   RICO Revisited 2.4.12
  *<PHONE_NUMBER>   Realistic Population 2 2.0.2
  *<PHONE_NUMBER>   RM Unconnected Tracks
  *<PHONE_NUMBER>   Unified UI 2.2
  *<PHONE_NUMBER>   Network Skins
  *<PHONE_NUMBER>   Node Controller Renewal <IP_ADDRESS>
  * 780720853    Vehicle Effects 1.9.2
  *<PHONE_NUMBER>   Custom Animation Loader (CAL)
  * 502750307    Extra Landscaping Tools
  * 512314255    More Network Stuff
  * 689937287    Surface Painter
  * 576327847    81 Tiles (Fixed for C:S 1.2+)
  *<PHONE_NUMBER>   Tree Anarchy 1.3.5
  * 497033453    UnlimitedOutsideConnections
  *<PHONE_NUMBER>   Theme Mixer 2
  *<PHONE_NUMBER>   Rebuild It!
  *<PHONE_NUMBER>   Advanced Building Level Control 1.0.5
  *<PHONE_NUMBER>   Move It 2.9.5
  *<PHONE_NUMBER>   Achieve It!
  *<PHONE_NUMBER>   Empty It!
  *<PHONE_NUMBER>   Advanced Vehicle Options 1.9.7
  *<PHONE_NUMBER>   FPS Booster 0.7.0
  * 815103125    Extra Vehicle Effects
    625608461    Adaptive Prop Visibility Distance
  *<PHONE_NUMBER>   Extended Managers 1.0.3
  *<PHONE_NUMBER>   Intersection Marking Tool <IP_ADDRESS>2 [BETA]
  * 618536610    AST: KRA Sound Pack
  *<PHONE_NUMBER>   Klyte's Fine Road Anarchy 2.0.2
  *<PHONE_NUMBER>   Network Multitool <IP_ADDRESS> [BETA]
  *<PHONE_NUMBER>   Compatibility Report v0.7.5
  *<PHONE_NUMBER>   No Big Truck <IP_ADDRESS>
  * 591137516    Redcomet's Municipal Sound Pack
  *<PHONE_NUMBER>   Loading Screen Mod for Airports DLC (Temporary Updated)
  *<PHONE_NUMBER>   Harmony 2.2-0 (EXPERIMENTAL)
  *<PHONE_NUMBER>   Zoning Adjuster 1.5.1
  * 533958715    Real London Sound Pack
  *<PHONE_NUMBER>   Optimised Outside Connections
  *<PHONE_NUMBER>   Parkify r1.0.6
  *<PHONE_NUMBER>   Prop Anarchy 0.7.5
  *<PHONE_NUMBER>   Rotors FlipXZ
+  *<PHONE_NUMBER>   SingleTrainTrackAI
  *<PHONE_NUMBER>   ACME 0.1

@aubergine10 could you generate Harmony report and then post output_log.txt? It might be new or old mod that added a patch to CitizenAI/ResidentAI/TouristAI SimulationStep() - maybe overwritten TMPE one?

@krzychu124 :

harmony_report.txt - trimmed output_log with just the harmony report bits
output_log.zip - full output_log file

@chameleon-tbn which ver of TMPE are you using?

@chameleon-tbn which ver of TMPE are you using?

I'm atm using local <IP_ADDRESS>308 ... imho i've not seen it with that version any more... but i'll keep an eye on it

I was able to reproduce issue from current master build last night so it still seems to be there. Pretty sure it's issue with some other mod.

Thanks for harmony report. Hard to say what is it, I only noticed there might be a compatibility issue with Movable bridge mod (we are skipping its transpiler) but nothing special about bikes 🤷♂

hmm, does it affect only workshop bikes or all?

hmm, does it affect only workshop bikes or all?

Not sure as I've disabled vanilla bicycles via LSM skip.txt:

These are the workshop bicycles I'm using: https://steamcommunity.com/sharedfiles/filedetails/?id=1343983364

I would try with vanilla, probably won't make any difference but may give us a tiny hint if they'll actually work 😂

@aubergine10 could you check with ModTools if floating citizen has m_vehicle field set to some number? It should be the id of bike otherwise bike simulation won't work at all.

I don't seem to be able to get the citizen to open in the scene explorer - only the bicycle vehicle:

vehicle.Info:

I don't seem to be able to get the citizen to open in the scene explorer - only the bicycle vehicle:

So when you click owner it won't move camera to that cim?
Check m_citizenUnits of bike, it should contain ref to Citizen (aka driver) and then check m_instance of the Citizen (flags etc.)

citizen:

instance:

flags:

CitizenInfo:

Ok, it's a mod - just disabled a batch of mods and bicycles now working again... just need to enable one  by one to work out which is causing the issue....

Try Optimized Outside Connections. I did tests with vanilla and without that mod, then another test with that mod and also bike assets so it must be either that mod alone or combination with Realistic Walking Speed -> they both patch the same method.

Cyclists are OK with Optimised Outside Connections mod, but I currently have Realistic Walking Speed mod unsubbed so I will try that next.

OOC + RWS = still working
continuing to test other recently unsubbed mods....

hehe, for me it didn't work - it's either OOC + RWS` or one of them with TM:PE... I don't use any other mods touching simulation code 🤔

EDIT: It could possibly be due to load order issue?

Hmm, could be. I installed OOC after playing some time and immediately noticed missing bikes but now after shuffling enabled/disabled I can't find any 🤷♂ I'm testing Parking AI now, maybe something is broken there when combined with other mods.

I've re-enabled most mods now so it certainly looks like a load order issue, most likely between OOC and something else, probably RWS.
@kianzarrin Here's my logs for working load order - as mentioned above the issue is likely caused by load order of Optimised Outisde Connections and Realistic Walking Speeds mods so whatever order they are in these logs seems to work (and the reverse order likely breaks cyclists). Is it possible to update LOM so that it ensures this order?

LoadOrder logs.zip
other logs.zip - output_log and tmpe

If I remember correctly, CO wrote that they optimised outside connections in the Airports DLC release. Fewer trains with less than 10 passengers, and the like...

Does the default load order work?

@chameleon-tbn

Does the default load order work?

Yes. I have now 130 mods and Not this issue any more. But i must say, that i use from all mods where available Beta/Alpha/pre-release Versions.

Closing this as issue resolved.
Wiki guide: https://github.com/CitiesSkylinesMods/TMPE/wiki/Floating-cyclists-and-discarded-bicycles


The description 'inferred' disappears after executing acquire lease for one blob

Storage Explorer Version: 1.10.0
Build: 20190828.15
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 19.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand a storageV2 account -> Blob Containers.
Create a new blob container -> Upload a blob to it.
Try to acquire lease for the blob then observe the Access Tier value.

Expect Experience:
The description 'inferred' still shows.

Actual Experience:
The description 'inferred' disappears.

More Info:
The description 'inferred' appears after refreshing manually .

Won't fix/by design. These values come from the server/we are listing the blob differently after acquiring the lease.


No Numeric Text Field

there must be a numeric field which only allow numbers. i am facing this issue in zipcode field

@saadurrehman-selectquote
Thank you for raising this issue. This is a duplicate of issue #18
I'm going to close this issue because it's a duplicate issue. Please follow that issue thread and add to that conversation if needed. Thank you sir


substituter.dart tokenizer seems too naive about colons

I ran into some issues where a format string like this caused a type mismatch (because the tokenizer incorrectly identified the input types, I know this because I added some additional prints to the source):
INSERT INTO expression
VALUES (DEFAULT, ROW(@referenceId:int4, @referenceType:text)::reference,
RETURNING id, (reference).id, (reference).type

I'm not sure where this goes wrong, I looked at the tokenizer, and I'm unsure why the parenthesis doesn't terminate the token or something. I guess the one who wrote this is probably able to identify the issue right away. Meanwhile I found I can get away without casting for now.

Hmm, it appears removing the type casting still causes issues. Will try to investigate this a bit further in the mean time.

The tokenizer definitely is. PRs welcome; supporting composite types isn't on our agenda at this time.


Nonair CO broadening using the fitting formula

Note: this capability is tentatively in ExoJAX. We should move this to radis.api in future if it's useful.
I made the computation of CO nonair broadening using the fitting formula by HITRAN2020 paper and planetary-broadeners.
The following examples assume hydrogen background atmosphere.
Comparison (HITRAN/CO/nonair vs radis)
code: exojax/tests/integration/comparison/nonair/nonair_co_hitran_comp.py

Application to HITEMP
code: exojax/tests/integration/moldb/nonair_co_hitemp.py
I am not sure if we can apply the formula to HITEMP. But, anyway computed.

Comment welcome.

Thank you for updating those! I succeeded to run the test files without any problems.

See here as a doc.

@minouHub btw, you might be interested


Support clear background view

Currently the picker is dimming the background to a very dark grey.
From usability perspective I always prefer to have the screen from which the picker is called to be visible.
Having a dimmed background without the application screen visible breaks the  visual flow of an application - pickers should just pop up and vanish from my perspective.
An change to have a switch allowing to disable the dimming / colouring of the view - ideally completely removing it but keeping the cancel functionality when clicking outside of he picker list alive ?.
Perfect solution would be to be able to present the picker from a control (rect) , just showing it as a popup instead of  a modal view.

@Oggerschummer My intention to have a dimming background when the picker is showing is to draw users' attention to the picker, I was trying to mimic the way a UIAlertView's style.
However I do agree it's good to let developers have more options. I will add such a switch.
As for the better solution you proposed, can you elaborate more on that idea?


Stuffmatic.fSpy version 1.0.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

winget install --manifest  leads to "Installer failed with exit code:<PHONE_NUMBER>" even though downloading the exe and running it manually works without issue.


Publish into a Homebrew Tap

This Issue could also just be created a core Homebrew formula. Since we have the CircleCI CLI as a brew available application as well though, a Homebrew Tap that includes both sounds like a useful thing to have.
Blocked by #1.

Closing due to stopping active dev on this repository.


max file descriptors is too low on AWS EKS

So debugged it from very begining on my node:
systcl -a | grep vm.max_map_count
>vm.max_map_count = 262144
cat /proc/sys/fs/file-max
>1636119
ulimit -Hn
>4096

docker pull quay.io/pires/docker-elasticsearch-kubernetes:6.2.3
systcl -a | grep vm.max_map_count
>vm.max_map_count = 262144
cat /proc/sys/fs/file-max
>1636119
ulimit -Hn
>4096

/run.sh
>...
>ERROR: [1] bootstrap checks failed
>[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

I believe that you should specify in prerequsites ulimit setup

In my case it was defaut docker setup on EKS, had to do:

Thanks for the suggestion. I'll leave this here for future reference.

Hopefully, this tweet will help.

@ksemaev just wondering, what were the symptoms of this?

@smaslennikov elastic was starting log with that warning message

Hi,
we found the same problem using the last amazon ami (ami-0440e4f6b9713faf6), but if we use the previous one (ami-0b2ae3c6bda8b5c06), we didn't find this problem.


Separate rune and ordinal tests into different modules

Wanna help out if it's ok. Let me guess, this is to avoid recompiling lib code when changing tests?

Yes, and because runes and ordinals/inscriptions work almost completely orthogonal to each other it just makes sense to separate them as much as possible for easier readability.


SELECT DISTINCT ON (city_name) city_name, time_zone FROM cities

Is it possible to implement with ORM?

Yeah, ->distinct('city_name')

https://cycle-orm.dev/docs/query-builder-extended#selectquery-builder-groupby-and-distinct

Note, not all DBs support expression distinct.

`$result = $database->table('cities')->select()->distinct('city_name')->columns('city_name', 'time_zone')->orderBy('city_name')->fetchAll();
response 200
{
"city_name": "Moscow",
"time_zone": "Europe/Berlin"
},
{
"city_name": "Moscow",
"time_zone": "Europe/Moscow"
},

$result = $database->query('SELECT DISTINCT ON (city_name) city_name, time_zone FROM cities ORDER BY city_name')->fetchAll();
response 200
{
"city_name": "Moscow",
"time_zone": "Europe/Moscow"
},

Hmmm

What Database do you use?

@rumatakira can you please provide spiral/database version number and database driver you use.

PostgreSQL 12.3
spiral/database  v2.7.15
Spiral\Database\Driver\Postgres\PostgresDriver

Hi,
apparently distinct and distinct on are very different operations on PostgreSQL which does not have analogue in other databases.
We can introduce new method distinctOn for Postgres driver only. Would that work for you?

Super! U r really the best people!

Added in dbal v2.7.17


shim: ShimLock protocol uses "sysv64" function ABI

See the systemd-boot declaration:
https://github.com/systemd/systemd/blob/5efbd0bf897a990ebe43d7dc69141d87c404ac9a/src/boot/efi/shim.c#L23-L31
This is because the shim is built with sysv ABI funcs by defualt.
This PR also adds bindings to the hashing functionality of the shim. For more information see:

The shim's protocol declaration
The shim's context declaration

Signed-off-by: Joe Richey<EMAIL_ADDRESS>

CC: #226, @nicholasbishop

Thanks for the fix!
Are the hash/context methods useful for other bootloaders? I had sort of thought they were just used by MOK manager and so basically internal to shim. I took a quick look around Grub and only saw the verify method being called, but I might have missed something.

they were just used by MOK manager and so basically internal to shim.

I'm not sure here.  CC: @mjg59. Matthew, do you know if the non-verify methods of the Shim protocol are considered implementation details?

Are the hash/context methods useful for other bootloaders?

I can think of two uses:

Doing something similar to the MOK manager. Taking an EFI Binary and computing its Authenticode hash for enrollment w/ EFI_SIGNATURE_LIST/EFI_SIGNATURE_DATA
Some sort of boot-time Signer of EFI Binaries (which would require computing such a hash). However, most binaries would probably just do the parsing/hashing directly, as they might not be loaded by the SHIM.
A second stage bootloader might have its own type of MokList or Internal Certificates, so it might want to verify a binary but against a different root of trust.

They would certainly see less use than the Verify method itself.

I verified that the Context struct matches up, and the new function pointers look correct to me other than my question about passing an array pointer. (I assume it's fine, since Rust knows array lengths at compile time it shouldn't be a fat pointer, but I don't know enough details to be sure.)
Maybe worth breaking this up into 3 PRs, one for each commit? Fixing the verify ABI seems uncontroversial, but I don't have enough knowledge to be sure about the rest.

@nicholasbishop I think it's ok to keep it in the same PR. It's small enough to be manageable for review.

@nicholasbishop I think it's ok to keep it in the same PR. It's small enough to be manageable for review.

@GabrielMajeri let me know if you thing this PR needs anything else.

they were just used by MOK manager and so basically internal to shim.

I'm not sure here. CC: @mjg59. Matthew, do you know if the non-verify methods of the Shim protocol are considered implementation details?

Given that the MokManager uses these methods, removing/changing them in the shim wouldn't be backwards compatible, as the shim and MokManger don't have to exactly match in version. So I think it should be fine to rely on these two methods.

Everything looks fine to me, I'm merging it


[Linaro:ARM_CI] Clean bazel cache to save time removing container

Remove files generated during test instead of leaving them to be cleaned up with the container

This was no help, so closing.


Update Capency documentation with the latest features

This PR improves the SmartForms documentation related to supporting implementations and Capency specifically.
It contains the latest configurations needed to configure the integration.

I'm merging it so that I can send a link in support, but will handle PR reviews afterwards.


Scroll to next section on click

Description
When pressing "Learn More" on the LandingPage the viewport scrolls to the next section.
Related Ticket
Part of https://github.com/KlimaDAO/klimadao/issues/131
Checklist

[x] Building the site with npm run build-site works without errors
[x] Building the app with npm run build-app works without errors
[x] I formatted JS and TS files with running npm run format-all

yaasss


Google recaptcha doesn't work with cordova projects

since cordova projects don't contain domain name the recaptcha throws
ERROR for site owner  invalid domain for site key

This seems to be a recent change - this used to work with localhost I'm pretty sure, even without localhost defined as one of the domains.

please see https://stackoverflow.com/questions/41518787/recaptcha-integration-with-ionic-hybrid-app/45364099#45364099

Any update about this?

@fermedina or any other poor soul who ends up here.
I'll write this up a little better once it's production ready for my org, but to help in the mean time:
You can use a web recaptcha on iOS using the Ionic Web View, provided your recaptcha includes localhost as a whitelisted domain. The reason this works is the Ionic Web View uses a local server to help with CORS on iOS. So your app has a domain which is localhost:8080.
For Android it's a little more difficult, because your app won't have a domain, I investigated doing similar in Android as Ionic's Web View does for iOS (serving the app locally) but this leads to further complications. More than it's worth.
So, in lieu of a great solution I wrapped the Android Recaptcha code in a Cordova Plugin. You can find it here: cordova-plugin-recaptcha.
To do this you need an Android Recaptcha key, so your server-side may also need to account for multiple recaptcha sources. We did this by passing a flag for android to switch between the iOS and Android secret keys when validating the recaptcha.
In our own implementation in the cordova app, I then used cordova-plugin-device to check that the platform is iOS before serving the web recaptcha key with the site key for our web recaptcha. In the android version we check platform is android before making a call to the cordova plugin.
I can't guarantee it passes App Store Review as our app isn't yet in Prod, but it works as we need it to, validating recaptcha with our public-facing services for both android and iOS.
If you go down this route and have any trouble with the plugin please let me know. At the moment it hot-loads an Angular 1.x service in the js code because this was what we needed in our solution, but I could happily take this out if it causes anyone more trouble than its worth. I can also publish to NPM if it's of benefit, we originally planned to publish to our org's NPM repo but cordova doesn't play well with organisation scoped packages so we've held off, we can quite happily publish as a plain old NPM package upon request.

@jamescodesthings very thanks! your plugin is for Angular 1, right? I need this functionality for Angular 2 or higher.

No worries, it's a mixture of plain JS and Angular 1, but I kept to a fairly plain plugin format so that this wouldn't be too big a problem when I chuck it in an NG 2+ project.
Bear with me, it's been a little while since I did this in NG 2+.
In theory you can just use the plain JS version without too much hassle. You could create a service that then has access to the window object. From SO, something like:
import {provide} from 'angular2/core';
bootstrap(..., [provide(Window, {useValue: window})]);

constructor(private window: Window) {
    // this.window
}

Then just use the plain js from window:
window.plugins.recaptcha.verify('site-key', success_callback, fail_callback);

In practice it depends a little on what your template is, do you have a public copy or an idea of how you're currently working? I could help fudge it on in.

This sounds like it would make a pretty good blog post. I'm also updating the library to support Android app validation amongst other things on the v1.2 branch, so that may help. Let me know if there's something you need in the library here.

Any updates on this? We are facing the same issue. And we need to use it in our project.

For any still looking for the answer to this question, @jamescodesthings has a note in the documentation for cordova-plugin-recaptcha:

Provided the reCAPTCHA's domains to check includes 'localhost' and your app's config.xml includes:
<allow-navigation href="https://www.google.com/recaptcha/*" />

This addition got reCaptcha working for me in iOS. (reCaptcha was working out of the box on Android)

For any still looking for the answer to this question, @jamescodesthings has a note in the documentation for cordova-plugin-recaptcha:

Provided the reCAPTCHA's domains to check includes 'localhost' and your app's config.xml includes:
<allow-navigation href="https://www.google.com/recaptcha/*" />

This addition got reCaptcha working for me in iOS. (reCaptcha was working out of the box on Android)

this literally saved me, i  looked for a few hours and this was the thing that was missing, thank you!!

Hello @vicjohnson1213, I'm using Cordova too, have disabled the domain validation, still, getting the error Error for site owner. Invalid domain for site key, tried this <allow-navigation href="https://www.google.com/recaptcha/*" /> (however didn't install the plugin)
As discussed/mentioned in various forums since Cordova doesn't contain a domain name, all the files are accessed using file://)
Any suggestions/help, please!

Hello @vicjohnson1213, I'm using Cordova too, have disabled the domain validation, still, getting the error Error for site owner. Invalid domain for site key, tried this <allow-navigation href="https://www.google.com/recaptcha/*" /> (however didn't install the plugin)
As discussed/mentioned in various forums since Cordova doesn't contain a domain name, all the files are accessed using file://)
Any suggestions/help, please!

Some updates on this? Thanks.

Some updates on this? Thanks.

@k-sai-kiranmayee I'm not sure about that one. Sounds more like an issue with the ReCaptcha configuration more than the Cordova setup.
I wish I had more to help, but this Stack Overflow question has a few things you might want to try: https://stackoverflow.com/questions/30735694/recaptcha-error-invalid-domain-for-site-key

@k-sai-kiranmayee I'm not sure about that one. Sounds more like an issue with the ReCaptcha configuration more than the Cordova setup.
I wish I had more to help, but this Stack Overflow question has a few things you might want to try: https://stackoverflow.com/questions/30735694/recaptcha-error-invalid-domain-for-site-key

Thank you @vicjohnson1213 for the quick response and suggestion :)
I have already seen that question, however, in my case, the domain check is already disabled :( and I'm still getting that issue in the Cordova native app (works fantastically in web and mobile browser)
In https://www.google.com/recaptcha/admin, at the time of registration, we must specify at least one domain, later have unchecked the below and saved it

So now there won't be any domain validation right?
Any more information as to this origin (file://), please
Thank you!

Thank you @vicjohnson1213 for the quick response and suggestion :)
I have already seen that question, however, in my case, the domain check is already disabled :( and I'm still getting that issue in the Cordova native app (works fantastically in web and mobile browser)
In https://www.google.com/recaptcha/admin, at the time of registration, we must specify at least one domain, later have unchecked the below and saved it

So now there won't be any domain validation right?
Any more information as to this origin (file://), please
Thank you!

@k-sai-kiranmayee I doubt it's an issue with the file:// protocol since I haven't had any issues around that. Do you have localhost in your list of allowed domains? I'm not too sure exactly what that checkbox does, so it might be worth trying.

@k-sai-kiranmayee I doubt it's an issue with the file:// protocol since I haven't had any issues around that. Do you have localhost in your list of allowed domains? I'm not too sure exactly what that checkbox does, so it might be worth trying.

I doubt it's an issue with the file:// protocol since I haven't had any issues around that

@vicjohnson1213 Oh! Thank you, just a quick question, have you installed any plugin or other changes for this in cordova.xml or only <allow-navigation href="https://www.google.com/recaptcha/*" /> this is added?
And yes, tried your suggestion, have added only by adding localhost as domain, still the same :(
And really thank you for your help and responses :)

I doubt it's an issue with the file:// protocol since I haven't had any issues around that

@vicjohnson1213 Oh! Thank you, just a quick question, have you installed any plugin or other changes for this in cordova.xml or only <allow-navigation href="https://www.google.com/recaptcha/*" /> this is added?
And yes, tried your suggestion, have added only by adding localhost as domain, still the same :(
And really thank you for your help and responses :)

@k-sai-kiranmayee Yeah, I was using the angular2-reacaptcha package (this was an Ionic app, hence the angular). But I can't see anything else in our code that I think would have any effect.

@k-sai-kiranmayee Yeah, I was using the angular2-reacaptcha package (this was an Ionic app, hence the angular). But I can't see anything else in our code that I think would have any effect.

oh...Okay...I see that package is for the usage of ReCaptcha @vicjohnson1213 I'm using Vue, so used this vue-recaptcha-v3 and ours is a Cordova app built using Bitrise
Thank you for the help till now, and please do tell me if you find anymore :)

oh...Okay...I see that package is for the usage of ReCaptcha @vicjohnson1213 I'm using Vue, so used this vue-recaptcha-v3 and ours is a Cordova app built using Bitrise
Thank you for the help till now, and please do tell me if you find anymore :)

Hello, @vicjohnson1213 One more question please, which reCaptcha are you using?

Hello, @vicjohnson1213 One more question please, which reCaptcha are you using?

@k-sai-kiranmayee I think we're using invisible v2.

@k-sai-kiranmayee I think we're using invisible v2.

oh, thank you @vicjohnson1213, so following this SafetyNet reCAPTCHA API?

oh, thank you @vicjohnson1213, so following this SafetyNet reCAPTCHA API?

Hello, everyone!
Has someone been lucky to fully clearing this out?
I have reCaptcha V3, and on my Cordova iOS app there is no window.grecaptcha object, means link to script is not even attached.
I have somewhat following  settings
*COMMON*
 <access origin="https://*.google.com/*"/>
    <allow-navigation href="*://localhost"/>
    <allow-navigation href="https://www.google.com/recaptcha/*" />

    And for iOS platform i also write
       <preference name="Hostname" value="myapp.local" /> (cordova-plugin-ionic-webview)
        <allow-navigation href="http://myapp.local/*" />
        <allow-navigation href="https://www.google.com/recaptcha/*" />

        and in my google recaptcha console i have _localhost and myapp.local_ declared

still cant get it work on cordova iOS, but on android and web it works out of the boks

Hello, everyone!
Has someone been lucky to fully clearing this out?
I have reCaptcha V3, and on my Cordova iOS app there is no window.grecaptcha object, means link to script is not even attached.
I have somewhat following  settings
*COMMON*
 <access origin="https://*.google.com/*"/>
    <allow-navigation href="*://localhost"/>
    <allow-navigation href="https://www.google.com/recaptcha/*" />

    And for iOS platform i also write
       <preference name="Hostname" value="myapp.local" /> (cordova-plugin-ionic-webview)
        <allow-navigation href="http://myapp.local/*" />
        <allow-navigation href="https://www.google.com/recaptcha/*" />

        and in my google recaptcha console i have _localhost and myapp.local_ declared

still cant get it work on cordova iOS, but on android and web it works out of the boks


Inexistent param, when using optional param in docs.

I'm creating an lua script just for type helper, for another library. I created a function signature matching with original code API but this function supports optional params.

Full source code.
--- @class Vector
--- @field x number
--- @field y number
--- @field z number
--- @field w number
local Vector = {}

---FiveM Citizen Interface
---@class Citizen
Citizen = {}

---@param awaitable any
---@return table
function Citizen.Await(awaitable) end

---@param time number
function Citizen.Wait(time) end

---@param callback function
Citizen.CreateThread = function(callback) end

---aas
---@param milliseconds number The amount of milliseconds to pause the current thread.
---@param callback function
function Citizen.SetTimeout(milliseconds, callback) end

---Outputs the passed message to any trace listeners, including the console output and the log file.
---@param message string
function Citizen.Trace(message) end

---Use this to listen for events.
---@param eventName string The name of the event you want to listen to.
---@param callback function The function to run when the event is called.
---@return table
function AddEventHandler(eventName, callback) end

---Marks the event safe for network use. Aka, allows you to trigger the `eventName` on the client, from a server side script.
---@param eventName string A string representing the event name to register.
function RegisterNetEvent(eventName) end

--- Register NUI event handler.
--- @param eventName string
--- @param callback function
function RegisterNUICallback(eventName, callback) end

---Removes the provided event handler.
---@param eventHandlerData table
function RemoveEventHandler(eventHandlerData) end

--- Triggers the specified event with optional data.
--- @param eventName string A string representing the event name to trigger.
function TriggerEvent(eventName, ...) end

--- A string representing the event name to call on the server.
--- @param eventName string A string representing the event name to trigger.
function TriggerServerEvent(eventName, ...) end

--- Creates a new vector depending on the count of arguments.
--- @param x number A floating point number representing the `x` value of your vector
--- @param optional y number A floating point number representing the `y` value of your vector
--- @param optional z number A floating point number representing the `z` value of your vector
--- @param optional w number A floating point number representing the `w` value of your vector
--- @return Vector
function vec(x, y, z, w) end

Ok forgot. When different arguments is passed, will return different table values.

Now i have some problems with function overload intellisence.


bootkube/pkg/recovery/recover fix hostNetwork

Fixes: https://github.com/kubernetes-incubator/bootkube/issues/902
Adds hostNetwork: true to all generated assets and tests for same.

ok to test

coreosbot run e2e calico


70 minimize flux requests

I suggest to minimize flux cpu requests so the whole stack fits into a smaller node.
Values are taken from running and mostly idle setup of Cozystack.
Defaults are 100m.
Part of #70

it won't work on such a small amount of requests.


Linking resources used in the .vsct files does not work

The guideline says:

5. Metadata files (release notes, license, icons, and so on) and VSCT files should be moved to a shared directory and added as linked files to the VSIX project.

But actually linking resources does not work if the .vsct file contains resource images from files. In this case, if the resource file is added as a link, then an error occurs (no matter what is set in "Include in VSIX" and "Copty to Output Directory"):
error VSCT1106: File not found in Bitmap definition 'Resources\Settings.ico'

In order to avoid the error the resource file must be added as a non-link content to the project. I don't know whether this is the intended behavior but if so, the documentation should mention it (if not, feel free to migrate this issue to a VS Developer Community report).

Note: The example .vsct contains predefined icon images only where there is no such issue.

Note 2: The error affects only the resources in the .vsct file. The icon of the package itself can be linked as per the documentation, for example.

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

ID: ff61d138-af47-2a63-05c8-8d4b20ae1518
Version Independent ID: de85151d-17c1-d230-f110-fd4e94e7da45
Content: Update a Visual Studio extension - Visual Studio (Windows)
Content Source: docs/extensibility/migration/update-visual-studio-extension.md
Product: visual-studio-windows
Technology: vs-ide-sdk
GitHub Login: @leslierichardson95
Microsoft Alias: lerich

Though the documentation is still incorrect I provided the solution in the OP with a living project example. I can live with the problem so feel free to close the issue. Maybe others with the same problem can find this page if they manage to find and click the View page feedback link at the bottom of the documentation.


Transferring Ownership

@shams-ahmed May you please transfer ownership of this workshop over to me?

https://www.youtube.com/watch?v=yqIbQI0WMys

@shams-ahmed Where do I go in the dashboard to find how to execute on the transfer?

my side complete, you have to figure this one. normally you just get a email to confirm.

The link in the email, which I must have missed, expired. Transfer links last no longer than 24 hours. May you please reinitiate the transfer?

done

@shams-ahmed, Oops! That repository transfer has expired.
On Thu, Jun 21, 2018 at 5:10 PM, Shams Ahmed<EMAIL_ADDRESS>wrote:

done
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/shams-ahmed/StitchWorkshop/issues/1#issuecomment-399281209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMCHtTTKJvo-cp-qCGHUlSdNL0iIUMseks5t_DYPgaJpZM4UhbGu
.

lol it only 9 hours old... can you just fork the project.


Correctly sort all menu entries (alphabetically by default)

Currently, legacy-compatible IJ2 commands end up in a menu group separate from IJ1 plugins, e.g. the Debug, Sandbox, AutoRun, Kymograph and Scripting submenus of the Plugins menu are in a separate section.
Let's merge them all and sort them alphabetically.
See also https://github.com/PreibischLab/BigStitcher/issues/7#issuecomment-342518669.
The adding and sorting is supposed to happen in IJ1Helper#addMenuItems() method:
https://github.com/imagej/imagej-legacy/blob/dd36b3ffd2d8c8cc392a7ade88e2edd87e172175/src/main/java/net/imagej/legacy/IJ1Helper.java#L775-L850

I created a small test project (https://github.com/imagejan/test-menu-path), containing:

an IJ1 plugin,
an IJ2 command, and
an IJ2 script

in the same submenu Plugins > ASubmenu.
When placing the project's jar file (Test_Menu_Path-0.1.0-SNAPSHOT.jar) in ./Fiji.app/plugins/, all three menu entries appear in ASubmenu in the upper part of the Plugins menu.
However, when the jar file is placed in ./Fiji.app/jars/ (where the IJ1 plugin isn't recognized), the ASubmenu entry ends up being in the lower part of Plugins, below the separator.

Menu entries are sorted alphabetically if and only if their menu weight is the same.

By default, IJ2 commands that don't define their own menu weight will have a weight of DEFAULT_WEIGHT = Double.POSITIVE_INFINITY.
Legacy commands however seem to have their weight generated here:

https://github.com/imagej/imagej-legacy/blob/dd36b3ffd2d8c8cc392a7ade88e2edd87e172175/src/main/java/net/imagej/legacy/IJ1Helper.java#L907-L922
So in order to unify menus of Legacy and IJ2 commands, we need to either:

Specify a weight for each IJ2 command (and possibly make clear in the javadoc that new commands will always be added at the end of the menu unless a weight is specified
Remove the specified weight from legacy commands (at least in the lowest-level menus) such that they're always sorted alphabetically, possibly disturbing the (current) menu order of some of them.
Auto-generate weights for IJ2 commands at the same time as legacy commands (?)

(Maybe I'm missing something here.)


Debug page variables cannot be displayed

Type: Performance Issue
#include
using namespace std;
int main(){
string arr[4] = {"我在", "使用", "vscode", "。"};
cout << arr[2];
}
I am a beginner in programming so this question might be easy. That is I can't see the variables in the debug page. If you need more information, I can provide the picture.
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Windows_NT x64 10.0.22631
Modes:

### Tasks

This is a test cpp file.

/extC++


Error On Pressing Enter Key

When I press enter (return/newline) in the text area ( area), I get two error messages.
**'Assertion failed: Input argument is not an HTMLInputElement'
'Uncaught TypeError: Cannot read property 'type' of undefined
at e.setFieldValue (onloadwff.js:71)
at HTMLFormElement.formKeydownListener (onloadwff.js:71)'**
I have the editor in a component, the code for which is below:
<template>

    <editor-menu-bar :editor="editor" v-slot="{ commands, isActive, focused }">

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.bold() }"
                @click="commands.bold"
        >
          <fa icon="bold" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.italic() }"
                @click="commands.italic"
        >
          <fa icon="italic" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.strike() }"
                @click="commands.strike"
        >
          <fa icon="strikethrough" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.underline() }"
                @click="commands.underline"
        >
          <fa icon="underline" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.code() }"
                @click="commands.code"
        >
          <fa icon="code" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.paragraph() }"
                @click="commands.paragraph"
        >
          <fa icon="paragraph" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.heading({ level: 1 }) }"
                @click="commands.heading({ level: 1 })"
        >
          H1
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.heading({ level: 2 }) }"
                @click="commands.heading({ level: 2 })"
        >
          H2
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.heading({ level: 3 }) }"
                @click="commands.heading({ level: 3 })"
        >
          H3
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.bullet_list() }"
                @click="commands.bullet_list"
        >
          <fa icon="list-ul" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.ordered_list() }"
                @click="commands.ordered_list"
        >
          <fa icon="list-ol" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.blockquote() }"
                @click="commands.blockquote"
        >
          <fa icon="quote-right" fixed-width/>
        </button>

        <button
                class="menubar__button"
                :class="{ 'is-active': isActive.code_block() }"
                @click="commands.code_block"
        >
          <fa icon="code" fixed-width/>
        </button>

    </editor-menu-bar>

    <editor-content class="editor__content" :editor="editor"/>

</template>

I wouldn't expect there to be any errors in the console upon pressing enter.
Screenshot of the error below:

Environment

Browser: Opera
Version:
"tiptap": "^1.22.6",
"tiptap-extensions": "^1.24.0"
Mobile / Desktop: Desktop

-- this works correctly without errors on Chrome --

Please provide a codesandbox.

I believe this is an issue with the LastPass (Password Manager) browser extension, when the Enter key is pressed on an input field.
I've just been trying to debug the issue in my own project and found this page via a search for the same error code (I'm not working with Tiptap), so I don't think this is an issue you need to resolve.
To make sure, disable the extension and retest your issue.
Have a good day!

closed due to inactivity

Late to the party, but I have Lastpass and this error. I'm not using tiptap.
My fix was to give the input field a name.

@daveybrown how did you accomplish that? Did you have to provide a custom template for the whole input element or is it somehow possible to provide just the name attribute?


triage: commitlint and pre-commit DX

Description

The current implementation forces to use a CLI based approach to write a commit message. We are squashing all the commits regardless, so it doesn't make sense to force it in the local, because commit lint is hindering with other features like amend, revert etc.
We should also consider removing linting and formatting as pre-commit hook, CI already checks for such cases, and even if already linted, the linter runs regardless on the whole monorepo which will get slower as the time grow.

@uniqueg @git-anurag-hub @SalihuDickson If you guys agree, maybe add good-first-issue tag.


I don't know how to install it...

Quests and ChestShop still show item name in english altough menu is in right language. Just placing jar in plugin folder isn't working.

Item names are translated into the client's language, meaning you need to change your Minecraft game settings.
The current version of Quests includes this functionality built-in; you do not need to "install" this resource. Furthermore, ChestShop does not currently utilize LocaleLib as far as I can tell, so you won't see any difference there.

Item names are translated into the client's language, meaning you need to change your Minecraft game settings.
The current version of Quests includes this functionality built-in; you do not need to "install" this resource. Furthermore, ChestShop does not currently utilize LocaleLib as far as I can tell, so you won't see any difference there.

If Quests includes it then it's weird... My game settings are changed to polish language, locale in essentialsx is even in pl. I don't know what to do anymore. It's not big problem for me, but bigger for my friends who can't speak english. Anyway, thanks for your reply and your amazing work on plugins.

If Quests includes it then it's weird... My game settings are changed to polish language, locale in essentialsx is even in pl. I don't know what to do anymore. It's not big problem for me, but bigger for my friends who can't speak english. Anyway, thanks for your reply and your amazing work on plugins.

Item names are translated into the client's language, meaning you need to change your Minecraft game settings.
The current version of Quests includes this functionality built-in; you do not need to "install" this resource. Furthermore, ChestShop does not currently utilize LocaleLib as far as I can tell, so you won't see any difference there.

Oh, and also when using /give command message appear in polish but with item name in english.

Item names are translated into the client's language, meaning you need to change your Minecraft game settings.
The current version of Quests includes this functionality built-in; you do not need to "install" this resource. Furthermore, ChestShop does not currently utilize LocaleLib as far as I can tell, so you won't see any difference there.

Oh, and also when using /give command message appear in polish but with item name in english.

@oski32166 It looks like only item rewards are not being translated. If you would create an issue on the Quests repository I would be glad to look into this futher.

@oski32166 It looks like only item rewards are not being translated. If you would create an issue on the Quests repository I would be glad to look into this futher.


Add final art to "Supported services" page

Should be the same as in integral: https://github.com/Singly/integral/issues/130

This page doesn't exist in locker.


IIS, buffer request body before taking lock

This is specific to IIS.
Buffer request body before taking lock, in order to prevent slow clients from keeping the lock, preventing all other traffic from flowing.

This one is serious. You should consider it.

Thanks! Merged!


Array support in scope

Adding a Vec<String> or array to a scope doesn't seems to be recognized as a Rhai array during evaluation of a script.
How can a Rust Vec be added to the scope as an Rhai array?

You can convert it first into an Array by making it a Dynamic.
let v : Dynamic = value.into();

Thanks for your quick reply.
Ok, that was not clear from the documenation:
https://rhai.rs/book/language/arrays.html#arrays
The Rust type of a Rhai array is rhai::Array which is an alias to Vec<Dynamic>.

Unfortunately, it still not works:
                let codes: Vec<String> = ....;
                let foo: Dynamic = codes.into();
                scope.push_constant("bar", foo);

Script contains:
bar.contains("x")

Error:
ErrorFunctionNotFound", error_message: "Function not found: contains (array, &str | ImmutableString | String)

Hhhmmm... It properly recognizes the type as array. So the data is correct.
Just the function is not found, which is strange.

Can you try: "x" in bar

Gives the same error.

O wait, type_of no gives array for bar

O wait, type_of() now gives array for bar.
That differs with my previous attempts.

Yes, that's the point. The data type is correct.
Just the function is not found.
You are not using new_raw by any chance?

You are not using new_raw by any chance?

Yes, an engine is created with Engine::new_raw()

Yes, an engine is created with Engine::new_raw() because of safety reasons and side-effects as printing should not be possible.

Actually, raw engines do not have anything to do with security and safety.  You can always disable printing etc. by calling on_print and on_debug and put in stubs.  You can also disable module resolution by setting it to an empty resolver.  All these you can do on a standard Engine.
Raw engines are for environments with limited memory, so they don't load the entire standard library, and you need to pick-and-choose the libraries you need.

Actually, raw engines do not have anything to do with security and safety. You can always disable printing etc. by calling on_print and on_debug and put in stubs. You can also disable module resolution by setting it to an empty resolver. All these you can do on a standard Engine.

Okay, but safety starts with disabling everything and only enable what you need :smile:


Active HTTP parameter collection automatically in the profiling context.

@kezhenxu94 used to add the HTTP parameter collection feature to those plugins, but due to the performance concern, it is default off. Now, as in 7.0.0, we have the profile feature, we know when to activate this.
@mrproliu Let's make the profile feature interactive with the plugins to provide more details of the profiled trace. :)
WDYT?

I think it's a good idea.
But we have some static plugin configuration is processed based on the enhance mechanism, such as `plugin.mysql.trace_sql_parameter', which may require special processing.

Two things, static config is just a condition. We could add a new condition.
Two, sql parameter should be considered carefully, it may impact the performance. I thought just http request parameters, when http span at finish stage.

via #4546


Spec does not cover multi-echo reverse phase encode case

The current specification does not cover the case of using reverse phase encode EPIs to undistort multi-echo data per the Entity Table. This should be amended in the specification and validator.

Could you expand on this a bit? Some example filenames could help me understand.

Sure; AP/PA runs specifically. So it would look like (extrapolating from the current spec):
sub-ID_ses-1_dir-rev_echo-1_epi
sub-ID_ses-1_dir-rev_sbref_echo-1_epi (in a multi-band case; for the single-band reference)
More complex: you could make several acquisitions so that there's also a run- label.
It's possible that I'm misreading the spec, but the above names are at a minimum not passing the validator.

It looks like _dir-<label> is supported for functional data in the specification and the entity table. See this description under task fMRI data in the specification:

Similarly the OPTIONAL dir- and rec- key/values can be used to distinguish different phase-encoding directions and reconstruction algorithms (for example ones using motion correction). See fmap Case 4 for more information on dir field specification.

It sounds like you're describing full functional runs, in which case your files should look like the following. Also, you don't have SBRefs specified correctly:

sub-ID/ses-1/func/sub-ID_ses-1_dir-rev_echo-1_bold.nii.gz
sub-ID/ses-1/func/sub-ID_ses-1_dir-rev_echo-1_sbref.nii.gz

Whoops, sorry about the sbref.
They're not full runs, they're exclusively to undistort. Therefore, they're philosophically more similar to a fieldmap than a functional run. It's only like 4 TRs of data, whereas a full functional run is >200.

That works for me, thank so much @tsalo !


awslog driver not taking docker image name, ecs service name and task definition

Hello,
I am using awslogs driver to collect my ECS container logs and I enabled Lambda (LogsToElasticsearch_mytestloges) to stream my logs to AWS elasticsearch, but it is not taking ECS Service name, Container instance name, task definition and Docker image name.
The below are my log sample on AWS Elasticsearch. Here I cant find docker image name, ECS Service name and task definition.
{
"_index": "cwl-2017.01.03",
"_type": "mytestloges",
"_id": "33081504929870395169036308436466460047129742806680469507",
"_score": 1,
"_source": {
"Message":<PHONE_NUMBER>485,
"Request": "request",
"Rsponse": "request received",
"Method": "GET",
"Info": "INFO",
"Information": "services-shelters",
"URL": "/favicon.ico",
"Plugin": "0|app      |",
"@id": "33081504929870395169036308436466460047129742806680469507",
"@timestamp": "2017-01-03T06:46:25.785Z",
"@message": ""0|app      |"<PHONE_NUMBER>485 INFO "services-shelters"  request "GET" "/favicon.ico" "request received"",
"@owner": "855158544446",
"@log_group": "mytestloges",
"@log_stream": "nodejs-app/blue-green-task/9f158062-346b-4a07-b2d3-e6bdd9321dee"
},
"fields": {
"@timestamp": [
1483425985785
]
}
}
Someone kindly suggest how to proceed further.
Regards,
Raja

I'm in the same boat! Would love to know how to fix this.


Add docs to expectations methods

@RX14 Yes, there is still a lot missing. I'll try to condense some of the testing guide to a API doc for Spec.

@straight-shoota just "Expectations are used by Spec::ObjectExtensions#should and Spec::ObjectExtensions#should_not." would be enough clarification.

@RX14 The module Spec itself is already documented, that's what I used as a starting point for the testing guide.
I'll try to add documentation to the methods.

Needs a rebase.

Ready to merge! 💯

Ready to 🎲 !


Integrate MenuTools

Description of the new feature / enhancement
I just found this repo and conveniently it's under MIT License, it can both resolve a few issue of PowerToys about integrate Glass2k and TurboTop alike softwares.
Scenario when this would be used?
Make a window always on top or change transparency of a window.
Supporting information
I've tested this software, it can pin UltraSearch (TurboTop can't) and change the transparency of a window.

Going to dup this against https://github.com/microsoft/PowerToys/issues/13
@SeraphimaZ  / @jaimecbernardo as FYI for the repo as possible inspiration.  If we do reference anything, we need to make sure we give them credit.  I know we have a different UX model thinking currently.


Add excludes option to config

Some users may want to exclude some directories or files not to convert files.

I re considered and stop to add this option.


edited foreword

Hi, John,
Do I have to create a new branch now that this has been merged? I completed the edits and synced to my local but am having issues pushing and pulling
From: John Moehrke<EMAIL_ADDRESS>Sent: Friday, March 22, 2019 4:10 PM
To: IHE/IT-Infrastructure<EMAIL_ADDRESS>Cc: MaryJungers<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [IHE/IT-Infrastructure] edited foreword (#13)
Merged #13 https://github.com/IHE/IT-Infrastructure/pull/13  into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/IHE/IT-Infrastructure/pull/13#event-2223829697 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYdFuR171SdikFpPsMu8c8r_NqhZ1gF_ks5vZUalgaJpZM4cD543 .  https://github.com/notifications/beacon/AYdFuZO-JA8BWGFY037drNwr7wIRT1Z4ks5vZUalgaJpZM4cD543.gif


Adding the Search API

I wanted to congratulate you guys on the awesome work you've doing lately.
However I've been wondering, are you planning on adding Search API support for PHP? Or is there a way I can access it from PHP?

Sorry, (very) late reply. If you want to access the Search API from AppEngine, you can do it with this:
https://github.com/tomwalder/php-appengine-search
It will not work remotely - it uses the Protocol Buffer access which only works from AppEngine.
Disclaimer: I am the author.


⚠ Bofrost.at has degraded performance

In 705547b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1656 ms

Resolved: Bofrost.at performance has improved in 6ee6ead.


Pagination for repositories listing

Hello
By default /v2/_catalog return only 100 repositories.

https://docs.docker.com/registry/spec/api/#listing-repositories

@leominov,
in today's release of version 2.2 I've changed the catalog fetch to be recursive (if you have enough containers to choke loading them all into a single json object, I'm not sure craneop is right for you) and I added a filter box to allow you to narrow the list down.
Please check it out and let me know what you think. I can add pagination but I think with the filter box, it may be a moot point now.
docker run parabuzzle/craneoperator:2.2.1
note: I changed some environment variables in version 2.2 ... view the README.md at the root of this repo to see the changes

closing this because pagination is no longer needed with filtering.


ts-jest fails to work with TS 3.7.2

Issue :
When I've updated my deps, the tests stopped working. I have a custom monorepo setup with TS references, Jest projects and ttypescript compiler to rewrite @paths on compile.
 FAIL  packages/core/tests/functional/bar.ts
  ● Test suite failed to run

    Cannot find module '@typegraphql/core' from 'bar.ts'

    > 1 | import { bar } from "@typegraphql/core";
        | ^
      2 |
      3 | describe("bar", () => {
      4 |   it("should return 'bar'", () => {

      at Resolver.resolveModule (../../node_modules/jest-resolve/build/index.js:259:17)

When I've downgraded the TS deps to 3.6.3, it works as earlier:
 PASS  tests/functional/bar.ts
 PASS  tests/functional/foo.ts

Test Suites: 2 passed, 2 total
Tests:       2 passed, 2 total

I've created two branches that you can checkout and reproduce:
https://github.com/MichalLytek/type-graphql/tree/ts-jest-3.7.2
https://github.com/MichalLytek/type-graphql/tree/ts-jest-3.6.3
Expected behavior :
It should work as before upgrade.
 In my project the following error is not reported by VSCode, package import etc. working as expected. I do not have this error in VSCode, just from ts-jest.

But It might not be related as I downgraded to 3.6 and still have this error. My case doesn't seem to be tied to 3.7.

I think we can close the issue now - ts-jest v24.2.0" works for me with TS v3.7.3 😉

Thanks, this is strange. Perhaps that is the error of ts < 3.7.3 ?

@MichalLytek Can you try removing your lock file and run yarn install again. Jest performed a minor upgrade from 24.8.0 to 24.9.0 which breaks ts-jest for me. What about you?

@ChrisLahaye
I've removed the lock, bootstraped the monorepo, everything works ok 💪
"ts-jest": "^24.2.0",
"typescript": "~3.7.3",
"jest": "^24.9.0",


Make includes version aware

@dbaeumer why was this needed? My original intent was for the includes files to share common definitions, while leaving the version-specific content next to the specification file (in this folder).

@MariaSolOs  Since I wanted to change something for the upcoming 3.18 spec which shouldn't be reflected in the 3.17 spec. I could have copied it down to the 3.18 spec, however that makes things somehow inconsistent (some files come from include some don't).
The thing we might need to solve is that in base we will have different version numbers so we somehow need to make this a variable.
But I am open for better ideas how to evolve the includes for new version of the spec.


auto_prune deletes dynamically created items with non ASCII characters identifier

Hi,
I'm facing a strange issue (Mac OS X El Capitan if it matters), as described in the issue title:
The auto_prune behaves strangely when handling dynamically created items with identifiers containing non ASCII characters.
starting from scratch to be sure:
$ nanoc create-site foo
$ cd foo

Edit the Rules to add a preprocess block to create items dynamically:
preprocess do
  @items << Nanoc::Item.new("", {:title => "ç", :type => "note", :created_at => '2013-03-02 12:00:00 +0200', :extension => 'html'}, "/tag/ç/")
  @items << Nanoc::Item.new("", {:title => "a", :type => "note", :created_at => '2013-03-02 12:00:00 +0200', :extension => 'html'}, "/tag/a/")
end

$ nanoc compile

When auto_prune is set to true, the output is the following:
Compiling site…
      create  [0.02s]  output/index.html
      create  [0.00s]  output/stylesheet.css
      create  [0.00s]  output/tag/ç/index.html
      create  [0.00s]  output/tag/a/index.html
      delete  output/tag/ç/index.html
      delete  output/tag/ç

So, the item whose identifier contains a "special" character (ie. non ASCII) is deleted, the "normal" one is kept.

Works for me:
$ env | grep LC_
LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8

And
$ nanoc --version
nanoc 3.8.0 © 2007-2015 Denis Defreyne.
Running ruby 2.2.3 (2015-08-18) on x86_64-darwin14 with RubyGems <IP_ADDRESS>.

$ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

Mac OS X 10.11.1
$ env |grep LC_
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8

nanoc --version
nanoc 3.8.0 © 2007-2015 Denis Defreyne.
Running ruby 2.0.0 (2015-04-13) on universal.x86_64-darwin15 with RubyGems 2.0.14.

$  ruby --version
ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]

Also reproduced on
Mac OS X 10.10.5 with case insensitive file system
$ env |grep LC_
LC_CTYPE=fr_FR.UTF-8

$ nanoc --version
nanoc 3.8.0 © 2007-2015 Denis Defreyne.
Running ruby 2.0.0 (2014-05-08) on universal.x86_64-darwin14 with RubyGems 2.0.14.

$ ruby --version
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]

Hi, an update regarding conditions to reproduce.
It seems related to the ruby version since @gpakosz uses ruby 2.2.x and I'm using ruby 2.0.x.
It tried with same environment but ruby 2.2 installed using homebrew.
$ brew install ruby
$ export PATH=/usr/local/Cellar/ruby/2.2.3/bin:$PATH
$ gem install nanoc

$ nanoc --version
nanoc 3.8.0 © 2007-2015 Denis Defreyne.
Running ruby 2.2.3 (2015-08-18) on x86_64-darwin15 with RubyGems <IP_ADDRESS>.

$ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]

Given that:

Ruby 2.0 only receives security updates and will go end-of-life next year (source)
Nanoc 4 (to be released Soon™) will require Ruby 2.2 and up
This is not a bug in Nanoc but in Ruby

I’d say that this issue can be closed with the proposed fix being “upgrade to the latest version of Ruby”.
Thanks for the thorough investigation!

Ok with that, maybe we can add a note on that in the Troubleshooting page of the documentation? (I can open a PR if you agree with that)

I’m about to release Nanoc 4.0 (this weekend, hopefully!) so I don’t think there’s much of a point to add this to the troubleshooting page.


How to define the filename?

In html5 you can add download='filename.csv. It didn't work for me.
Is there a way to customise the filename with v-download ? It always save it as data without extension...

I'll add support for v-download-data:filename either today or tomorrow.

Done