Idea: Custom Show instances for Listing and Post

It would be nice if we could provide custom Show instances for Listing and Post so that when running redditui we get a nice text-based UI:
/r/haskell:
  28 - Summer of Haskell - Now Accepting Applications! (gbaz1)
  ...
/r/darksouls:
  146 - Hi guys, I'd love your early feedback on Dying Ember. An isometric Souls inspired game. (Dark Souls)
  ...

Right now, it looks almost like raw JSON:
Listing {posts = [Post {subreddit = "haskell", author = "gbaz1", score = 28, url = "https://www.reddit.com/r/haskell/comments/4gh1tu/summer_of_haskell_now_accepting_applications/", title = "Summer of Haskell - Now Accepting Applications!", thumbnail = ""},Post {subreddit = "darksouls", author = "jwilliams108", score = 266, url = "https://www.reddit.com/r/darksouls/comments/44dzxk/reminder_please_keep_all_dark_souls_3_content_to/", title = "Reminder: Please keep all Dark Souls 3 content to /r/darksouls3!", thumbnail = ""},Post {subreddit = "haskell", author = "tolysz", score = 19, url = "http://downloads.haskell.org/~ghc/8.0.1-rc4/", title = "ANN: ghc-8.0.1-rc4 (quiet update)", thumbnail = ""},Post {subreddit = "darksouls", author = "AutoModerator", score = 8, url = "https://www.reddit.com/r/darksouls/comments/4ghjjl/rdarksouls_help_a_hollow/", title = "/r/DarkSouls: Help a Hollow.", thumbnail = ""},Post {subreddit = "haskell", author = "rdfox", score = 6, url = "https://www.reddit.com/r/haskell/comments/4gjf7g/is_solving_the_expression_problem_worth_the_bother/", title = "Is \"Solving the Expression Problem\" worth the bother?", thumbnail = ""},Post {subreddit = "darksouls", author = "thecatnipdealer", score = 82, url = "https://www.reddit.com/r/darksouls/comments/4giy8d/i_just_beat_dark_souls/", title = "I just beat Dark Souls.", thumbnail = ""},Post {subreddit = "haskell", author = "mallai", score = 57, url = "https://www.reddit.com/r/haskell/comments/4ggp8z/summary_of_the_xhaskell2016_feedback/", title = "Summary of the -XHaskell2016 feedback", thumbnail = ""},Post {subreddit = "darksouls", author = "Austinaustin1337", score = 150, url = "https://www.reddit.com/r/darksouls/comments/4ghzyi/what_actually_happened_to_blight_town/", title = "What actually happened to blight town?", thumbnail = ""},Post {subreddit = "haskell", author = "beerdude26", score = 17, url = "http://chrisuehlinger.com/LambdaBubblePop/", title = "\955 Bubble Pop!(A simple game that illustrates functional computation)", thumbnail = ""},Post {subreddit = "darksouls", author = "what_how", score = 232, url = "https://www.reddit.com/r/darksouls/comments/4gg772/nito_fanart/", title = "Nito fanart.", thumbnail = ""},Post {subreddit = "haskell", author = "YellowOnion", score = 1, url = "https://www.reddit.com/r/haskell/comments/4gjlon/llvm_generated_binary_segfault_on_windows/", title = "LLVM generated binary segfault on Windows.", thumbnail = ""},Post {subreddit = "darksouls", author = "deltalessthanzero", score = 15, url = "https://www.reddit.com/r/darksouls/comments/4giyhz/psa_using_the_darksign_retains_human_status/", title = "PSA: Using the Darksign retains 'Human' status", thumbnail = ""},Post {subreddit = "haskell", author = "tonyday567", score = 21, url = "https://www.reddit.com/r/haskell/comments/4ggt05/best_underrated_haskell_libraries/", title = "Best underrated Haskell libraries", thumbnail = ""},Post {subreddit = "darksouls", author = "noturdogg", score = 36, url = "https://www.reddit.com/r/darksouls/comments/4gi0yx/til_smough_can_be_bled/", title = "TIL Smough can be bled", thumbnail = ""},Post {subreddit = "haskell", author = "gleberp", score = 3, url = "https://www.reddit.com/r/haskell/comments/4ghsk5/xoverloadedlists/", title = "-XOverloadedLists?", thumbnail = ""},Post {subreddit = "darksouls", author = "unraveledpuppet", score = 5, url = "https://www.reddit.com/r/darksouls/comments/4gjtz9/just_want_to_apologize_to_the_dark_souls_community/", title = "Just want to apologize to the Dark Souls community", thumbnail = ""},Post {subreddit = "haskell", author = "ExternalReality", score = 25, url = "https://www.reddit.com/r/haskell/comments/4ge2cz/the_dark_side_of_haskell/", title = "The Dark Side of Haskell", thumbnail = ""},Post {subreddit = "darksouls", author = "Wulf2k", score = 71, url = "https://www.reddit.com/r/darksouls/comments/4ggojv/dscm_update_2016042517_show_online_status_of/", title = "DSCM update - 2016-04-25-17 - Show online status of favorites and recent nodes, double click to connect", thumbnail = ""},Post {subreddit = "haskell", author = "nh2_", score = 11, url = "https://gist.github.com/nh2/1a03b7873dbed348ef64fe536028776d", title = "Snippet: Getting the name of a type as a String using Generics for nicer error messages in polymorphic code", thumbnail = ""},Post {subreddit = "darksouls", author = "Hydroel", score = 350, url = "https://www.reddit.com/r/darksouls/comments/4ge5ah/beginners_guide_to_the_installation_of_dark_souls/", title = "Beginner's guide to the installation of Dark Souls: PtDE", thumbnail = ""},Post {subreddit = "haskell", author = "vamer88", score = 4, url = "https://www.reddit.com/r/haskell/comments/4ggivh/in_wai_i_need_to_access_urischeme_part_of_a_uri/", title = "In Wai I need to access uriScheme part of a URI or URI. How?", thumbnail = ""},Post {subreddit = "darksouls", author = "wateradept8", score = 32, url = "https://www.reddit.com/r/darksouls/comments/4ghg6e/amazing_fanart/", title = "Amazing Fanart", thumbnail = ""},Post {subreddit = "haskell", author = "StackLover", score = 0, url = "https://github.com/haskell-lang/haskell-lang/issues/2#issuecomment-214423518", title = "Improved HP/cabal-less www.haskell.org in the works", thumbnail = ""},Post {subreddit = "darksouls", author = "Hawkshaw121", score = 6, url = "https://www.reddit.com/r/darksouls/comments/4giq52/new_dark_souls_lore_episode_demons/", title = "New Dark Souls Lore Episode: Demons", thumbnail = ""},Post {subreddit = "haskell", author = "haskellgr8", score = 12, url = "https://www.reddit.com/r/haskell/comments/4gejtf/is_there_any_guarantee_that_a_version_of_stack/", title = "Is there any guarantee that a version of Stack will be same tomorrow as it is today?", thumbnail = ""},Post {subreddit = "darksouls", author = "R4wM3at", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gjnfx/what_is_in_dark_souls_desktop_icon/", title = "What is in Dark Soul's desktop icon?", thumbnail = ""},Post {subreddit = "haskell", author = "TheKing01", score = 2, url = "https://www.reddit.com/r/haskell/comments/4ggs7c/is_there_a_set_of_laws_for_doing_equational/", title = "Is there a set of laws for doing equational reasoning with concurrent programs?", thumbnail = ""},Post {subreddit = "darksouls", author = "ShardikOfTheBeam", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gk6t5/best_place_for_white_summon_sign/", title = "Best place for White Summon Sign?", thumbnail = ""},Post {subreddit = "haskell", author = "data_hope", score = 10, url = "http://holger-peters.de/haskell-by-types.html", title = "Learning Haskell By Type Signatures", thumbnail = ""},Post {subreddit = "darksouls", author = "PrincessChickenKevin", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gk623/drawing_i_did_of_siegmeyer_and_sieglinde_story/", title = "Drawing I did of Siegmeyer and Sieglinde. [story spoilers]", thumbnail = ""},Post {subreddit = "haskell", author = "co_dh", score = 5, url = "https://www.reddit.com/r/haskell/comments/4gf9mv/can_haskells_type_system_catch_this_kind_of_bug/", title = "can haskell's type system catch this kind of bug", thumbnail = ""},Post {subreddit = "darksouls", author = "Camerroneously", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gk5uc/i_made_dark_souls_fanart_for_school/", title = "I made Dark Souls fanart for school!", thumbnail = ""},Post {subreddit = "haskell", author = "winterland1989", score = 9, url = "http://hackage.haskell.org/package/monad-log", title = "[announcement] monad-log: A simple and fast logging monad", thumbnail = ""},Post {subreddit = "darksouls", author = "Hillside_Strangler", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gk43r/i_couldnt_figure_out_summoning_the_sunbro_because/", title = "I couldn't figure out summoning the sunbro because I was hollow so I soloed the gargoyles instead. Upon watching Epicnamebro's playthrough I realize that I won't get the sun medal or whatever it's called. Is there a way for me to get this medal now?", thumbnail = ""},Post {subreddit = "haskell", author = "ChavXO", score = 5, url = "https://www.reddit.com/r/haskell/comments/4geyed/any_news_on_haskell_summer_of_code/", title = "Any news on Haskell summer of Code?", thumbnail = ""},Post {subreddit = "darksouls", author = "BOOBMAHBIZKIT", score = 3, url = "https://www.reddit.com/r/darksouls/comments/4gjegq/why_do_people_say_using_kbm_in_dark_souls_is/", title = "Why do people say using KB/M in Dark Souls is impossible/utterly terrible?", thumbnail = ""},Post {subreddit = "haskell", author = "tanghan", score = 1, url = "https://www.reddit.com/r/haskell/comments/4ge3ag/problems_installing_starting_haskell_platform_on/", title = "Problems installing (starting?) Haskell Platform on OSX", thumbnail = ""},Post {subreddit = "darksouls", author = "AyeFace", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gk0ji/how_i_deal_with_dark_knights/", title = "How I deal with Dark Knights", thumbnail = ""},Post {subreddit = "haskell", author = "howardbgolden", score = 1, url = "https://www.reddit.com/r/haskell/comments/4gf3rx/is_there_interest_in_primehaskell/", title = "Is there interest in Prime-Haskell?", thumbnail = ""},Post {subreddit = "darksouls", author = "Bionicme", score = 8, url = "https://www.reddit.com/r/darksouls/comments/4gi2tf/unpopular_boss_opinions/", title = "Unpopular boss opinions", thumbnail = ""},Post {subreddit = "haskell", author = "tailcalled", score = 47, url = "http://www.haskellforall.com/2016/04/data-is-code.html", title = "Haskell for all: Data is Code", thumbnail = ""},Post {subreddit = "darksouls", author = "RedTear", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gjm7d/online_still_not_working/", title = "Online still not working?", thumbnail = ""},Post {subreddit = "haskell", author = "ryani", score = 25, url = "https://www.reddit.com/r/haskell/comments/4g94iz/transpose_sequencea_on_ziplist/", title = "Transpose = sequenceA on ZipList", thumbnail = ""},Post {subreddit = "darksouls", author = "what_how", score = 1, url = "https://www.reddit.com/r/darksouls/comments/4gkhpa/more_fan_art_artorias/", title = "More fan art. Artorias.", thumbnail = ""},Post {subreddit = "haskell", author = "jship21347", score = 11, url = "https://www.reddit.com/r/haskell/comments/4g9n71/help_with_megaparsec_parser_memory_usage/", title = "Help with Megaparsec parser memory usage", thumbnail = ""},Post {subreddit = "darksouls", author = "EDoro", score = 1, url = "https://www.reddit.com/r/darksouls/comments/4gkewr/new_to_dark_souls_questions_regarding_lore_and/", title = "New to Dark souls. Questions regarding lore and the different games.", thumbnail = ""},Post {subreddit = "haskell", author = "SirRockALot1", score = 14, url = "https://www.reddit.com/r/haskell/comments/4g8sva/a_web_based_dashboard_for_monitoring_and/", title = "A web based dashboard for monitoring and controlling Philips Hue lights", thumbnail = ""},Post {subreddit = "darksouls", author = "Khris777", score = 1, url = "https://www.reddit.com/r/darksouls/comments/4gkdam/what_does_this_symbol_mean/", title = "What does this symbol mean?", thumbnail = ""},Post {subreddit = "haskell", author = "Awkwardosaur", score = 8, url = "https://www.reddit.com/r/haskell/comments/4g8qjv/newbie_question_about_map_and_evaluation/", title = "Newbie question about map and evaluation", thumbnail = ""},Post {subreddit = "darksouls", author = "Dinoboy707", score = 1, url = "https://www.reddit.com/r/darksouls/comments/4gk8sg/dark_souls_lore_question/", title = "Dark souls lore question.", thumbnail = ""},Post {subreddit = "haskell", author = "ocharles", score = 68, url = "https://ocharles.org.uk/blog/posts/2016-04-23-transformers-eff.html", title = "Announcing transformers-eff", thumbnail = ""},Post {subreddit = "darksouls", author = "BlighttownAndDown", score = 2, url = "https://www.reddit.com/r/darksouls/comments/4gj3uy/pvp_watchdog_crashing_game_on_start/", title = "PVP watchdog crashing game on start", thumbnail = ""},Post {subreddit = "darksouls", author = "Dark_Souls", score = 146, url = "https://www.reddit.com/r/darksouls/comments/4gdq9a/hi_guys_id_love_your_early_feedback_on_dying/", title = "Hi guys, I'd love your early feedback on Dying Ember. An isometric Souls inspired game.", thumbnail = ""}]}

If we do this, we have to explain type classes, which I don't want to do (it will take too much time and confuse people). The intent is to present a subset of Haskell that is approachable and understandable to newcomers.
However, I appreciate the feedback and understand where you're coming from! I will add this to the "viable extensions to the program" section at the end of the workshop. Implementing this would make a great exercise.

I'd really strongly prefer to teach that Show is for debugging and should almost always be derived -- I'm of the opinion that conversion to human-readable formats should be a pretty-printer class or a monomorphic function.
I do think that writing a function to pretty-print the output is a good idea, though I also agree that it's more of a "stretch goal."

Makes sense. My main goal behind this ticket was to get something pretty printed. I wasn't aware that Show is mainly used only for debugging.

There's an 'unwritten law' that Show should produce copy/pastable Haskell code that you can use in GHCi or similar, and that read . show should be id. Deriving the instance gives you this, but writing it out yourself almost always breaks it.

Good to know! 😀👍🏼


[LLM] Support block_attention/cachekv quant for llama

PR types

New features
PR changes

Others
Description

support block attention
support cachekv quant

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: RichardWooSJTU:x: wufeishengwufeisheng seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Custom Artifactory Setup : ERROR - Cannot extract the Maven information from the path retrieved in Artifactory

Describe the bug
We have setup Dependency-Check to use our Artifactory through a property file using the following options:
analyzer.artifactory.enabled=true
analyzer.artifactory.url=artifactoy-instance
During certain scans we got such kind of error:
2023-08-08 10:34:43,354 org.owasp.dependencycheck.App:213 ERROR - Cannot extract the Maven information from the path retrieved in Artifactory /download/postgresql-42.6.0.jar 2023-08-08 10:34:43,354 org.owasp.dependencycheck.App:214 DEBUG - unexpected error java.lang.IllegalStateException: Cannot extract the Maven information from the path retrieved in Artifactory /download/postgresql-42.6.0.jar 	at org.owasp.dependencycheck.data.artifactory.ArtifactorySearch.processResponse(ArtifactorySearch.java:223) 	at org.owasp.dependencycheck.data.artifactory.ArtifactorySearch.search(ArtifactorySearch.java:143) 	at org.owasp.dependencycheck.analyzer.ArtifactoryAnalyzer.analyzeDependency(ArtifactoryAnalyzer.java:199) 	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131) 	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88) 	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37) 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) 	at java.base/java.lang.Thread.run(Thread.java:1589) 2023-08-08 10:34:43,354 org.owasp.dependencycheck.utils.Settings:895
Into our Artifactory, the content related to this file is the following:
{
"results": [
{
"uri": "/api/storage/postgresql.org-cache/download/postgresql-42.6.0.jar"
},
{
"uri": "/api/storage/repo1.mvn-cache/org/postgresql/postgresql/42.6.0/postgresql-42.6.0.jar"
}
]
}
It seems that the system is taking the first element found in the list and error appears because of the pattern format that does not match with what is expected.
We can solve this problem if we remove the reference of the first element into our Artifactory.
Version of dependency-check used
The problem occurs using version 8.3.1 through CLI
Expected behavior
I would like to have a way to handle this error.
One solution I see is to add an option to include a list of repositories where the search of the file is made into Artifactory.
With the API used, https://jfrog.com/help/r/jfrog-rest-apis/checksum-search this seems to be possible.
Or a way to configure this generated error as a warning instead an error?
Additional context
I am using a property file to setup the default configuration. Ideally it would be good as well to get an additional option from the command line to offer the possibility to disable the usage of Artifactory.
Right now, it is only possible to enable it.

@obristp Given that Artifactory REST Api requires access to an Artifactory Pro instance, which requires a paid license would you be able to assist me in testing a resolution once I've completed coding?


Time zone is not displayed on the report.

I am running my job on jenkins slave. For debugging purpose I want the time zone of the slave as part of the report.
Is there is any way to add in the hook?
I want to add some additional values for the suites.

You could use the pytest-metadata plugin to add this information to the report.

Thanks @christiansandberg. It did worked. I have added the following code on conftest.py
from time import gmtime, strftime
import time

@pytest.mark.optionalhook
def pytest_metadata(metadata):
    metadata['TimeZoneOffset'] = strftime("%z", gmtime())
    metadata['TimeZoneName'] = time.tzname


Adding telemetry to storage dataplane

Taking some cool ideas from the Ruby SDK telemetry, users can append more info to the User Agent using the AddToUserAgent func.
The User-Agent header follows this format...
Go/[version] ([arch]-[OS]) Azure-SDK-for-Go/[version] storage-dataplane/[APIversion] [storageService]

... and would look like this...
Go/go1.7 (amd64-windows) Azure-SDK-for-Go/7.0.1-beta storage-dataplane/2015-02-21 queue

PTAL
@salameer @kirthik @vishrutshah @marstr @jhendrixMSFT

The changes in file.go will likely be unnecessary when the refactoring changes in the dev branch get merged.

@jhendrixMSFT I merged the changes from dev branch, and changed the branch to merge to dev too


Comment displayer

Work on diplaying the comments being fetched

Approved 👏
Highlights 🚀 :heavy_check_mark: :heavy_check_mark:

The repo looks professional.:heavy_check_mark:
Git/GitHub flow best practices have been followed:heavy_check_mark:
You have descriptive PR:heavy_check_mark:
Your project meets all the requirements :heavy_check_mark:

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @hetrox8 in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Icons are scattering when I reload the page.

Describe the bug
Everytime I reload the page the icons and labels of the items in the NavMenu scatters at the TopMenu

@Thirdyyyyyyy Update this issue with the required information in the tempplate or this will be closed. This isn't anywhere close to enough information of the problem.


Correct anglicized words

[ ] @IJGoldie to provide mapping of old word to new
[ ] @bferguso to apply mapping to data transformations

Closing because not sure what anglicized words were meant to be addressed here. Fixed records with wording about "orthography" issues


Add terraform for EKS cluster creation

Tested with a plan:
$ terraform_v1.3.4 plan -var-file=vars.tfvars
provider.aws.region
  The region where AWS operations will take place. Examples
  are us-east-1, us-west-2, etc.

  Enter a value: us-west-2

module.opsverse-eks-cluster.data.aws_partition.current: Reading...
module.opsverse-eks-cluster.data.aws_caller_identity.current: Reading...
module.opsverse-eks-cluster.data.aws_partition.current: Read complete after 0s [id=aws]
module.opsverse-eks-cluster.data.aws_ami.eks_worker[0]: Reading...
module.opsverse-eks-cluster.data.aws_iam_policy_document.workers_assume_role_policy: Reading...
module.opsverse-eks-cluster.data.aws_iam_policy_document.cluster_assume_role_policy: Reading...
module.opsverse-eks-cluster.data.aws_iam_policy_document.cluster_elb_sl_role_creation[0]: Reading...
module.opsverse-eks-cluster.data.aws_iam_policy_document.cluster_elb_sl_role_creation[0]: Read complete after 0s [id=3709839417]
module.opsverse-eks-cluster.data.aws_iam_policy_document.workers_assume_role_policy: Read complete after 0s [id=3778018924]
module.opsverse-eks-cluster.data.aws_iam_policy_document.cluster_assume_role_policy: Read complete after 0s [id=2764486067]
module.opsverse-eks-cluster.data.aws_caller_identity.current: Read complete after 0s [id=267336882952]
module.opsverse-eks-cluster.data.aws_ami.eks_worker[0]: Read complete after 0s [id=ami-0ca2b190717f1671e]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create
 <= read (data resources)

Terraform will perform the following actions:

  # aws_iam_policy.loki_pod_permissions will be created
  + resource "aws_iam_policy" "loki_pod_permissions" {
      + arn       = (known after apply)
      + id        = (known after apply)
      + name      = "opsverse-eks-pod-permissions"
      + path      = "/"
      + policy    = jsonencode(
            {
              + Statement = [
                  + {
                      + Action   = [
                          + "s3:GetObject",
                          + "s3:PutObject",
                          + "s3:DeleteObject",
                          + "s3:ListBucket",
                        ]
                      + Effect   = "Allow"
                      + Resource = [
                          + "arn:aws:s3:::opsverse-loki-yourname-stackname/*",
                        ]
                    },
                  + {
                      + Action   = [
                          + "s3:ListBucket",
                        ]
                      + Effect   = "Allow"
                      + Resource = [
                          + "arn:aws:s3:::opsverse-loki-yourname-stackname",
                        ]
                    },
                  + {
                      + Action   = [
                          + "tag:GetResources",
                          + "cloudwatch:GetMetricData",
                          + "cloudwatch:GetMetricStatistics",
                          + "cloudwatch:ListMetrics",
                        ]
                      + Effect   = "Allow"
                      + Resource = [
                          + "*",
                        ]
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
      + policy_id = (known after apply)
      + tags_all  = (known after apply)
    }

  # aws_iam_role.iam_for_loki_pods will be created
  + resource "aws_iam_role" "iam_for_loki_pods" {
      + arn                   = (known after apply)
      + assume_role_policy    = (known after apply)
      + create_date           = (known after apply)
      + force_detach_policies = false
      + id                    = (known after apply)
      + managed_policy_arns   = (known after apply)
      + max_session_duration  = 3600
      + name                  = "eks-opsverse-s3-pod-role"
      + name_prefix           = (known after apply)
      + path                  = "/"
      + tags_all              = (known after apply)
      + unique_id             = (known after apply)

      + inline_policy {
          + name   = (known after apply)
          + policy = (known after apply)
        }
    }

  # aws_iam_role_policy_attachment.loki_pod_permissions will be created
  + resource "aws_iam_role_policy_attachment" "loki_pod_permissions" {
      + id         = (known after apply)
      + policy_arn = (known after apply)
      + role       = "eks-opsverse-s3-pod-role"
    }

  # module.opsverse-eks-cluster.data.http.wait_for_cluster[0] will be read during apply
  # (config refers to values not yet known)
 <= data "http" "wait_for_cluster" {
      + body             = (known after apply)
      + ca_certificate   = (known after apply)
      + id               = (known after apply)
      + response_headers = (known after apply)
      + timeout          = 300
      + url              = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_autoscaling_group.workers[0] will be created
  + resource "aws_autoscaling_group" "workers" {
      + arn                       = (known after apply)
      + availability_zones        = (known after apply)
      + capacity_rebalance        = false
      + default_cooldown          = (known after apply)
      + desired_capacity          = 3
      + force_delete              = false
      + force_delete_warm_pool    = false
      + health_check_grace_period = 300
      + health_check_type         = (known after apply)
      + id                        = (known after apply)
      + launch_configuration      = (known after apply)
      + max_instance_lifetime     = 0
      + max_size                  = 3
      + metrics_granularity       = "1Minute"
      + min_size                  = 3
      + name                      = (known after apply)
      + name_prefix               = "opsverse-eks-cluster-0"
      + protect_from_scale_in     = false
      + service_linked_role_arn   = (known after apply)
      + suspended_processes       = [
          + "AZRebalance",
        ]
      + termination_policies      = []
      + vpc_zone_identifier       = [
          + "subnet-123456",
          + "subnet-234567",
        ]
      + wait_for_capacity_timeout = "10m"

      + tag {
          + key                 = "Name"
          + propagate_at_launch = true
          + value               = "opsverse-eks-cluster-0-eks_asg"
        }
      + tag {
          + key                 = "k8s.io/cluster/opsverse-eks-cluster"
          + propagate_at_launch = true
          + value               = "owned"
        }
      + tag {
          + key                 = "kubernetes.io/cluster/opsverse-eks-cluster"
          + propagate_at_launch = true
          + value               = "owned"
        }
    }

  # module.opsverse-eks-cluster.aws_eks_cluster.this[0] will be created
  + resource "aws_eks_cluster" "this" {
      + arn                   = (known after apply)
      + certificate_authority = (known after apply)
      + created_at            = (known after apply)
      + endpoint              = (known after apply)
      + id                    = (known after apply)
      + identity              = (known after apply)
      + name                  = "opsverse-eks-cluster"
      + platform_version      = (known after apply)
      + role_arn              = (known after apply)
      + status                = (known after apply)
      + tags_all              = (known after apply)
      + version               = "1.21"

      + kubernetes_network_config {
          + ip_family         = (known after apply)
          + service_ipv4_cidr = (known after apply)
        }

      + timeouts {
          + create = "30m"
          + delete = "15m"
        }

      + vpc_config {
          + cluster_security_group_id = (known after apply)
          + endpoint_private_access   = false
          + endpoint_public_access    = true
          + public_access_cidrs       = [
              + "<IP_ADDRESS>/0",
            ]
          + security_group_ids        = (known after apply)
          + subnet_ids                = [
              + "subnet-123456",
              + "subnet-234567",
            ]
          + vpc_id                    = (known after apply)
        }
    }

  # module.opsverse-eks-cluster.aws_iam_instance_profile.workers[0] will be created
  + resource "aws_iam_instance_profile" "workers" {
      + arn         = (known after apply)
      + create_date = (known after apply)
      + id          = (known after apply)
      + name        = (known after apply)
      + name_prefix = "opsverse-eks-cluster"
      + path        = "/"
      + role        = (known after apply)
      + tags_all    = (known after apply)
      + unique_id   = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_openid_connect_provider.oidc_provider[0] will be created
  + resource "aws_iam_openid_connect_provider" "oidc_provider" {
      + arn             = (known after apply)
      + client_id_list  = [
          + "sts.amazonaws.com",
        ]
      + id              = (known after apply)
      + tags            = {
          + "Name" = "opsverse-eks-cluster-eks-irsa"
        }
      + tags_all        = {
          + "Name" = "opsverse-eks-cluster-eks-irsa"
        }
      + thumbprint_list = [
          + "9e99a48a9960b14926bb7f3b02e22da2b0ab7280",
        ]
      + url             = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_policy.cluster_elb_sl_role_creation[0] will be created
  + resource "aws_iam_policy" "cluster_elb_sl_role_creation" {
      + arn         = (known after apply)
      + description = "Permissions for EKS to create AWSServiceRoleForElasticLoadBalancing service-linked role"
      + id          = (known after apply)
      + name        = (known after apply)
      + name_prefix = "opsverse-eks-cluster-elb-sl-role-creation"
      + path        = "/"
      + policy      = jsonencode(
            {
              + Statement = [
                  + {
                      + Action   = [
                          + "ec2:DescribeInternetGateways",
                          + "ec2:DescribeAddresses",
                          + "ec2:DescribeAccountAttributes",
                        ]
                      + Effect   = "Allow"
                      + Resource = "*"
                      + Sid      = ""
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
      + policy_id   = (known after apply)
      + tags_all    = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role.cluster[0] will be created
  + resource "aws_iam_role" "cluster" {
      + arn                   = (known after apply)
      + assume_role_policy    = jsonencode(
            {
              + Statement = [
                  + {
                      + Action    = "sts:AssumeRole"
                      + Effect    = "Allow"
                      + Principal = {
                          + Service = "eks.amazonaws.com"
                        }
                      + Sid       = "EKSClusterAssumeRole"
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
      + create_date           = (known after apply)
      + force_detach_policies = true
      + id                    = (known after apply)
      + managed_policy_arns   = (known after apply)
      + max_session_duration  = 3600
      + name                  = (known after apply)
      + name_prefix           = "opsverse-eks-cluster"
      + path                  = "/"
      + tags_all              = (known after apply)
      + unique_id             = (known after apply)

      + inline_policy {
          + name   = (known after apply)
          + policy = (known after apply)
        }
    }

  # module.opsverse-eks-cluster.aws_iam_role.workers[0] will be created
  + resource "aws_iam_role" "workers" {
      + arn                   = (known after apply)
      + assume_role_policy    = jsonencode(
            {
              + Statement = [
                  + {
                      + Action    = "sts:AssumeRole"
                      + Effect    = "Allow"
                      + Principal = {
                          + Service = "ec2.amazonaws.com"
                        }
                      + Sid       = "EKSWorkerAssumeRole"
                    },
                ]
              + Version   = "2012-10-17"
            }
        )
      + create_date           = (known after apply)
      + force_detach_policies = true
      + id                    = (known after apply)
      + managed_policy_arns   = (known after apply)
      + max_session_duration  = 3600
      + name                  = (known after apply)
      + name_prefix           = "opsverse-eks-cluster"
      + path                  = "/"
      + tags_all              = (known after apply)
      + unique_id             = (known after apply)

      + inline_policy {
          + name   = (known after apply)
          + policy = (known after apply)
        }
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.cluster_AmazonEKSClusterPolicy[0] will be created
  + resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSClusterPolicy" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/AmazonEKSClusterPolicy"
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.cluster_AmazonEKSServicePolicy[0] will be created
  + resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSServicePolicy" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/AmazonEKSServicePolicy"
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.cluster_AmazonEKSVPCResourceControllerPolicy[0] will be created
  + resource "aws_iam_role_policy_attachment" "cluster_AmazonEKSVPCResourceControllerPolicy" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/AmazonEKSVPCResourceController"
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.cluster_elb_sl_role_creation[0] will be created
  + resource "aws_iam_role_policy_attachment" "cluster_elb_sl_role_creation" {
      + id         = (known after apply)
      + policy_arn = (known after apply)
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.workers_AmazonEC2ContainerRegistryReadOnly[0] will be created
  + resource "aws_iam_role_policy_attachment" "workers_AmazonEC2ContainerRegistryReadOnly" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.workers_AmazonEKSWorkerNodePolicy[0] will be created
  + resource "aws_iam_role_policy_attachment" "workers_AmazonEKSWorkerNodePolicy" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy"
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_iam_role_policy_attachment.workers_AmazonEKS_CNI_Policy[0] will be created
  + resource "aws_iam_role_policy_attachment" "workers_AmazonEKS_CNI_Policy" {
      + id         = (known after apply)
      + policy_arn = "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
      + role       = (known after apply)
    }

  # module.opsverse-eks-cluster.aws_launch_configuration.workers[0] will be created
  + resource "aws_launch_configuration" "workers" {
      + arn                         = (known after apply)
      + associate_public_ip_address = false
      + ebs_optimized               = true
      + enable_monitoring           = true
      + iam_instance_profile        = (known after apply)
      + id                          = (known after apply)
      + image_id                    = "ami-0ca2b190717f1671e"
      + instance_type               = "m5a.xlarge"
      + key_name                    = "bastion"
      + name                        = (known after apply)
      + name_prefix                 = "opsverse-eks-cluster-0"
      + security_groups             = (known after apply)
      + user_data_base64            = (known after apply)

      + ebs_block_device {
          + delete_on_termination = (known after apply)
          + device_name           = (known after apply)
          + encrypted             = (known after apply)
          + iops                  = (known after apply)
          + no_device             = (known after apply)
          + snapshot_id           = (known after apply)
          + throughput            = (known after apply)
          + volume_size           = (known after apply)
          + volume_type           = (known after apply)
        }

      + metadata_options {
          + http_endpoint               = "enabled"
          + http_put_response_hop_limit = (known after apply)
          + http_tokens                 = "optional"
        }

      + root_block_device {
          + delete_on_termination = true
          + encrypted             = false
          + iops                  = 0
          + throughput            = (known after apply)
          + volume_size           = 30
          + volume_type           = "gp2"
        }
    }

  # module.opsverse-eks-cluster.aws_security_group.cluster[0] will be created
  + resource "aws_security_group" "cluster" {
      + arn                    = (known after apply)
      + description            = "EKS cluster security group."
      + egress                 = (known after apply)
      + id                     = (known after apply)
      + ingress                = (known after apply)
      + name                   = (known after apply)
      + name_prefix            = "opsverse-eks-cluster"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Name" = "opsverse-eks-cluster-eks_cluster_sg"
        }
      + tags_all               = {
          + "Name" = "opsverse-eks-cluster-eks_cluster_sg"
        }
      + vpc_id                 = "vpc-123456"
    }

  # module.opsverse-eks-cluster.aws_security_group.workers[0] will be created
  + resource "aws_security_group" "workers" {
      + arn                    = (known after apply)
      + description            = "Security group for all nodes in the cluster."
      + egress                 = (known after apply)
      + id                     = (known after apply)
      + ingress                = (known after apply)
      + name                   = (known after apply)
      + name_prefix            = "opsverse-eks-cluster"
      + owner_id               = (known after apply)
      + revoke_rules_on_delete = false
      + tags                   = {
          + "Name"                                       = "opsverse-eks-cluster-eks_worker_sg"
          + "kubernetes.io/cluster/opsverse-eks-cluster" = "owned"
        }
      + tags_all               = {
          + "Name"                                       = "opsverse-eks-cluster-eks_worker_sg"
          + "kubernetes.io/cluster/opsverse-eks-cluster" = "owned"
        }
      + vpc_id                 = "vpc-123456"
    }

  # module.opsverse-eks-cluster.aws_security_group_rule.cluster_egress_internet[0] will be created
  + resource "aws_security_group_rule" "cluster_egress_internet" {
      + cidr_blocks              = [
          + "<IP_ADDRESS>/0",
        ]
      + description              = "Allow cluster egress access to the Internet."
      + from_port                = 0
      + id                       = (known after apply)
      + protocol                 = "-1"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = (known after apply)
      + to_port                  = 0
      + type                     = "egress"
    }

  # module.opsverse-eks-cluster.aws_security_group_rule.cluster_https_worker_ingress[0] will be created
  + resource "aws_security_group_rule" "cluster_https_worker_ingress" {
      + description              = "Allow pods to communicate with the EKS cluster API."
      + from_port                = 443
      + id                       = (known after apply)
      + protocol                 = "tcp"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = (known after apply)
      + to_port                  = 443
      + type                     = "ingress"
    }

  # module.opsverse-eks-cluster.aws_security_group_rule.workers_egress_internet[0] will be created
  + resource "aws_security_group_rule" "workers_egress_internet" {
      + cidr_blocks              = [
          + "<IP_ADDRESS>/0",
        ]
      + description              = "Allow nodes all egress to the Internet."
      + from_port                = 0
      + id                       = (known after apply)
      + protocol                 = "-1"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = (known after apply)
      + to_port                  = 0
      + type                     = "egress"
    }

  # module.opsverse-eks-cluster.aws_security_group_rule.workers_ingress_cluster[0] will be created
  + resource "aws_security_group_rule" "workers_ingress_cluster" {
      + description              = "Allow workers pods to receive communication from the cluster control plane."
      + from_port                = 1025
      + id                       = (known after apply)
      + protocol                 = "tcp"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = (known after apply)
      + to_port                  = 65535
      + type                     = "ingress"
    }

  # module.opsverse-eks-cluster.aws_security_group_rule.workers_ingress_cluster_https[0] will be created
  + resource "aws_security_group_rule" "workers_ingress_cluster_https" {
      + description              = "Allow pods running extension API servers on port 443 to receive communication from cluster control plane."
      + from_port                = 443
      + id                       = (known after apply)
      + protocol                 = "tcp"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = (known after apply)
      + to_port                  = 443
      + type                     = "ingress"
    }

  # module.opsverse-eks-cluster.aws_security_group_rule.workers_ingress_self[0] will be created
  + resource "aws_security_group_rule" "workers_ingress_self" {
      + description              = "Allow node to communicate with each other."
      + from_port                = 0
      + id                       = (known after apply)
      + protocol                 = "-1"
      + security_group_id        = (known after apply)
      + self                     = false
      + source_security_group_id = (known after apply)
      + to_port                  = 65535
      + type                     = "ingress"
    }

  # module.opsverse-eks-cluster.kubernetes_config_map.aws_auth[0] will be created
  + resource "kubernetes_config_map" "aws_auth" {
      + data = (known after apply)
      + id   = (known after apply)

      + metadata {
          + generation       = (known after apply)
          + labels           = {
              + "app.kubernetes.io/managed-by" = "Terraform"
              + "terraform.io/module"          = "terraform-aws-modules.eks.aws"
            }
          + name             = "aws-auth"
          + namespace        = "kube-system"
          + resource_version = (known after apply)
          + uid              = (known after apply)
        }
    }

  # module.opsverse-eks-cluster.local_file.kubeconfig[0] will be created
  + resource "local_file" "kubeconfig" {
      + content              = (known after apply)
      + directory_permission = "0755"
      + file_permission      = "0600"
      + filename             = "./kubeconfig_opsverse-eks-cluster"
      + id                   = (known after apply)
    }

  # module.s3_bucket_opsverse.aws_s3_bucket.bucket will be created
  + resource "aws_s3_bucket" "bucket" {
      + acceleration_status         = (known after apply)
      + acl                         = "private"
      + arn                         = (known after apply)
      + bucket                      = "opsverse-loki-yourname-stackname"
      + bucket_domain_name          = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + object_lock_enabled         = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags                        = {
          + "Environment" = "production"
          + "Name"        = "opsverse-loki-yourname-stackname"
        }
      + tags_all                    = {
          + "Environment" = "production"
          + "Name"        = "opsverse-loki-yourname-stackname"
        }
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + object_lock_configuration {
          + object_lock_enabled = (known after apply)

          + rule {
              + default_retention {
                  + days  = (known after apply)
                  + mode  = (known after apply)
                  + years = (known after apply)
                }
            }
        }

      + versioning {
          + enabled    = (known after apply)
          + mfa_delete = (known after apply)
        }
    }

  # module.s3_bucket_opsverse.aws_s3_bucket_acl.bucket_acl will be created
  + resource "aws_s3_bucket_acl" "bucket_acl" {
      + acl    = "private"
      + bucket = (known after apply)
      + id     = (known after apply)

      + access_control_policy {
          + grant {
              + permission = (known after apply)

              + grantee {
                  + display_name  = (known after apply)
                  + email_address = (known after apply)
                  + id            = (known after apply)
                  + type          = (known after apply)
                  + uri           = (known after apply)
                }
            }

          + owner {
              + display_name = (known after apply)
              + id           = (known after apply)
            }
        }
    }

  # module.s3_bucket_opsverse.aws_s3_bucket_public_access_block.public_access_policy will be created
  + resource "aws_s3_bucket_public_access_block" "public_access_policy" {
      + block_public_acls       = true
      + block_public_policy     = true
      + bucket                  = (known after apply)
      + id                      = (known after apply)
      + ignore_public_acls      = true
      + restrict_public_buckets = true
    }

Plan: 31 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + loki_pod_role_arn = (known after apply)

LGTM
To be safe, do you want to apply/destroy?

LGTM
To be safe, do you want to apply/destroy?

Yea, I'll try the apply/destroy too - i'll merge this as-is to at least share, and then try apply on some dev inputs later...
If any tweaks needed I'll update the repo


Fixing Observable config

Codecov Report

Merging #379 into master will decrease coverage by 3.75%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #379      +/-   ##
==========================================
- Coverage   64.61%   60.86%   -3.76%
==========================================
  Files          13       13
  Lines       29661    36593    +6932
  Branches      140      140
==========================================
+ Hits        19165    22271    +3106
- Misses      10419    14245    +3826
  Partials       77       77

Impacted Files
Coverage Δ

modules/components/tag-input.ts
74.13% <0%> (ø)
:arrow_up:

spec-bundle.js
60.62% <0%> (-3.8%)
:arrow_down:

Continue to review full report at Codecov.

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


CMake Error at export/rnbo/cmake/conan.cmake:974 (message):   Conan remote failed='2'

hi there, thanks for this!
i get an error when following the quick test run with default plugin name etc.:
cmake .. -DPLUGIN_NAME="My Custom Plugin"
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00029
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Dev/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: checking conan executable
-- Conan: Found program /opt/homebrew/bin/conan
-- Conan: Version found Conan version 2.0.2
-- Conan: Adding cycling-public remote repository (https://conan-public.cycling74.com) verify ssl (True)
usage: conan remote [-h] [-v [V]]
                    {add,auth,disable,enable,list,list-users,login,logout,remove,rename,set-user,update}
                    ...
conan remote: error: unrecognized arguments: https://conan-public.cycling74.com True
ERROR: Exiting with code: 2
CMake Error at export/rnbo/cmake/conan.cmake:974 (message):
  Conan remote failed='2'
Call Stack (most recent call first):
  export/rnbo/cmake/RNBOConan.cmake:13 (conan_add_remote)
  CMakeLists.txt:34 (include)

-- Configuring incomplete, errors occurred!

platform: mac os 13.2.1, m1 max

@chausch I just pushed a change that should fix this, can you pull main again and retry?

oops, I forgot 1 more way that conan gets included, can you pull main again and try? @arokhsar @chausch

Works perfectly. Thank you!

happy to hear that! thanks for letting us know!


Broken with upcoming nightly

Once a new nightly is produced, xargo will stop working because of https://github.com/rust-lang/rust/pull/56092 . You can already see this behavior when using https://github.com/kennytm/rustup-toolchain-install-master
$ xargo build --target x86_64-fortanix-unknown-sgx
   Compiling core v0.0.0 (/home/jethro/.rustup/toolchains/9fe5cb5342244a716055fa0162e795deabd4985c/lib/rustlib/src/rust/src/libcore)
    Finished release [optimized] target(s) in 22.12s
error: failed to load source for a dependency on `compiler_builtins`

Caused by:
  Unable to update /home/jethro/.rustup/toolchains/9fe5cb5342244a716055fa0162e795deabd4985c/lib/rustlib/src/rust/src/libcompiler_builtins

Caused by:
  failed to read `/home/jethro/.rustup/toolchains/9fe5cb5342244a716055fa0162e795deabd4985c/lib/rustlib/src/rust/src/libcompiler_builtins/Cargo.toml`

Caused by:
  No such file or directory (os error 2)
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.MmX2uglNXWpA/Cargo.toml" "--target" "x86_64-fortanix-unknown-sgx" "-p" "compiler_builtins"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
``

Once a new nightly is produced

Yay we finally got a new nightly :tada: Boo, xargo is now broken :disappointed:

What's the ETA on this landing in a release installable using cargo install

Is this fixed in xargo 0.3.13?
I am trying for 3 days to build an arm-none-eabi for arm7 targets for kernel development and I am left scratching my head. First its create the target, its fun, but hard to find the info, then it fails because there are no binaries for it or libs even though you have the compiler(and this is in windows as well) then xargo shows as a suggestion and you move to nightly, and what not and the end result is this bug
If I wasnt a grown man I would cry :D

Yeah this is long fixed. So if you have 0.3.13, whatever you are hitting is not this bug.

Well, it's only fixed if you use the rust-src component or the XARGO_RUST_SRC envvar. If you use one of the other methods to specify the source, it's still broken. A PR has been open to fix that for a long time.

I am.on windows, I tried to pass that as a command line argument but it fails, also setting in the windows environment it also fails using set, haven't tried manually on the system settings
But the command line argument should work...

@bruceloco There is no way to set the source using a command-line argument

@jethrogb

Well, it's only fixed if you use the rust-src component or the XARGO_RUST_SRC envvar. If you use one of the other methods to specify the source, it's still broken. A PR has been open to fix that for a long time.

Fair. Xargo is unfortunately not maintained currently. But it seems like we both have an interest in it -- so how about we suggest to @japaric that we could co-maintain it? I basically care only about case of building a custom libstd for the host architecture, but xargo currently is the only tool I know of that can do that -- and it's not like I intend to break the cross-building part (and it seems you have some interest in that?). I also don't have much time to spare, so I won't be able to review anything big or go through the backlog of PRs or issues, but between the two of us it seems like we should be able to get stuff like your PR landed and keep xargo at the level of functionality it is at right now.

@RalfJung Sure I can review PRs that keep Xargo's pre-existing functionality working until Cargo can do this.

@RalfJung Have you looked into cargo-xbuild? It is an actively maintained fork of xargo

@robert-w-gries it cannot build libstd though, which I require.

@jethrogb

Sure I can review PRs that keep Xargo's pre-existing functionality working until Cargo can do this.

Okay, let's do this!
@japaric we'd like to take over basic maintenance of xargo, if that's okay for you.


The Spring Initializr in spring.start.io tells you that Spring Cloud GCP does not work with Spring Boot 2.3.0

Describe the bug

Visit https://start.spring.io/
Create a project with Java 11
Spring Boot 2.3.0
JAR
Click on the button to add dependencies and then search for GCP.

The user gets a message saying that GCP does not work with this version:
Requires Spring Boot >= 2.0.0.RELEASE and < 2.3.0.M1.

@Alos - Thanks for reporting, I filed https://github.com/spring-io/start.spring.io/pull/472 which I think should address this issue.

Fixed by https://github.com/spring-io/start.spring.io/pull/472.


Added tooltips for 'Textures', 'Foliage' and 'Objects' (Terrain Editor)

Hi @spimort
I added tooltips for 'Textures', 'Foliage' and 'Objects' items in the Terrain Editor, mainly to help me with very similar groups of textures for my game, I hope this can be useful. :)
Visual examples in the demo project:
Texture names:

Foliage:

Objects:

@vrravalos That's such a great idea! Thanks for the PR! 🙂
I have one thing I'd like you to change if you don't mind.
Can you add the tooltip inside of the corresponding Add... functions?
For example :
AddTexturesPreviewToParent
AddFoliagesPreviewToParent
AddObjectsPreviewToParent
That would prevent us from looping twince the arrays 🙂
Let me know what you think!
(Sorry for the delay, I was on holiday break)

Hi @spimort I have just updated the code and much better place indeed, thanks for pointing that out!
Please take a look and let me know what you think. :)

@vrravalos Looks good to me, I increased the version!
Thanks again!

Thank you @spimort!


custom background color is not being added

I tried to configure my theme in the following but the background color is not being implemented
const theme = createMuiTheme({
  overrides: {
    MuiCard: {
      root: {
        background: '#4DC9AC',
      },
    },
  },
  "direction": "ltr",
  "palette": createPalette({
    background: {
      "appBar": "#000",
      "contentFrame": "#000",
      "default": "#ffffff",
      "paper": "#000",
      "status": "#000"
    }
  })
})

I found that only certain fields are being overridden under createPalette function
I verified the createPalette function and found that only certain fields are being overridden , can I know why it's  written that way ?
function createPalette() {
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  var _options$primary = options.primary,
      primary = _options$primary === undefined ? _colors.indigo : _options$primary,
      _options$accent = options.accent,
      accent = _options$accent === undefined ? _colors.pink : _options$accent,
      _options$error = options.error,
      error = _options$error === undefined ? _colors.red : _options$error,
      _options$type = options.type,
      type = _options$type === undefined ? 'light' : _options$type;

  if (process.env.NODE_ENV !== 'production') {
    var PaletteColorError = function (_Error) {
      (0, _inherits3.default)(PaletteColorError, _Error);

      function PaletteColorError(themeColor) {
        (0, _classCallCheck3.default)(this, PaletteColorError);

        var palette = createPalette();
        var message = [themeColor + ' must have the following attributes: ' + (0, _keys2.default)(palette[themeColor]), 'See the default colors, indigo, or pink, as exported from material-ui/style/colors.'];
        return (0, _possibleConstructorReturn3.default)(this, (PaletteColorError.__proto__ || (0, _getPrototypeOf2.default)(PaletteColorError)).call(this, message.join('\n')));
      }

      return PaletteColorError;
    }(Error);

    if ((0, _difference2.default)((0, _keys2.default)(_colors.indigo), (0, _keys2.default)(primary)).length) {
      throw new PaletteColorError('primary');
    }

    if ((0, _difference2.default)((0, _keys2.default)(_colors.pink), (0, _keys2.default)(accent)).length) {
      throw new PaletteColorError('accent');
    }

    if ((0, _difference2.default)((0, _keys2.default)(_colors.red), (0, _keys2.default)(error)).length) {
      throw new PaletteColorError('error');
    }
  }

  var shades = { dark: dark, light: light };

  process.env.NODE_ENV !== "production" ? (0, _warning2.default)(shades[type], 'Material-UI: the palette type `' + type + '` is not supported.') : void 0;

  return {
    type: type,
    text: shades[type].text,
    action: shades[type].action,
    background: shades[type].background,
    primary: primary,
    accent: accent,
    error: error,
    grey: _colors.grey,
    getContrastText: getContrastText
  };
}

The createPalette function is a generator function to help users proving a consistent palette, feel free to overrides the object you get back from that call.
For instance:
const theme = createMuiTheme({
  palette: {
    ...createPalette(),
    background: {
      default: 'xxx',
      paper: 'xxx',
      appBar: 'xxx',
      contentFrame: 'xxx',
      status: 'xxx',
    },
  },
});

@oliviertassinari - I'm struggling to understand how am I suppose to override the background color of the AppBar.
According to my understanding of the documentation it should have been something like this:
return createMuiTheme({
    direction: isRTL ? 'rtl' : 'ltr',
    palette: createPalette({
      primary: pink,
      accent: grey,
      error: red,
      type: 'dark' // Switching the dark mode on is a single property value change.
    }),
    overrides: {
      MuiAppBar: {
        root: {
          background: '#383838'
        },
      }
    }
  });

But it doesn't work for me.. Can you please advise since I feel it's very related to this subject and I just don't get it..

@kazazor What do you mean by not working? From your example, it's not supposed to work out of the box, you need to set color="inherit" property.

Oops my bad :)
Thanks for that!

@oliviertassinari @kazazor Using overrides property it worked for me but this means that I have to add color="inherit to every component.
I think that I am misunderstanding something in the documentation. Because, if I create the theme like this:
const theme = createMuiTheme({
    palette: createPalette({
        primary: purple, // Purple and green play nicely together.
        accent: {
          ...green,
          A400: '#00e677',
        },
        background: {
            default: green[20],
            appBar: green[50],
            paper: "white",
        },
    })
});

And then I use <MuiThemeProvider> to spread the theme. The AppBar background  should be green[50] but it is still purple (primary color).
I have inspected  the property theme of the MuiThemeProvider component in the console and I have identified that the background is not being replaced...
What am I missing?
Many thanks in advance!

And then I use  to spread the theme. The AppBar background should be green[50] but it is still purple (primary color).

That's because theme.palette.background.appBar is only used in the demos. Have a look at the styles generated.

Got it! Thanks 💯


[VS Code] Joining collaboration session: Collaboration session not found.

Error:
Joining collaboration session: Collaboration session not found.
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS

extensionVersion
1.0.694

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.37.0

platformName
MacOS

platformVersion
18.7.0

We would need the logs to investigate further, you can use the Live Share: Export Logs command to get a zip file with logs, then attach to this issue.


Module: New portal button to use a ML template

Contact Details
No response
What happened?
Exercise: 02
Task: 01
Step: 16
Description of issue:
Instead of "Clone notebook template" the button now states, "Create from template".
Lab
Lab 08 Exercise 02 Threat Hunting using Notebooks with Microsoft Sentinel
Relevant screenshots

Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

This is updated.


HDDS-2227. GDPR key generation could benefit from secureRandom.

https://issues.apache.org/jira/browse/HDDS-2227
The SecureRandom can be used for the symetric key for GDPR. While GDPR is not a security feature, this is a good to have optional feature.
I want to thank Jonathan Leitschuh, for originally noticing this issue and reporting it.
How tested: ran unit.sh, had one failure in TestSCMContainerPlacementRackAware

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
80
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

0
mvndep
40
Maven dependency ordering for branch

-1
mvninstall
30
hadoop-hdds in trunk failed.

-1
mvninstall
35
hadoop-ozone in trunk failed.

-1
compile
18
hadoop-hdds in trunk failed.

-1
compile
13
hadoop-ozone in trunk failed.

+1
checkstyle
55
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
941
branch has no errors when building and testing our client artifacts.

-1
javadoc
19
hadoop-hdds in trunk failed.

-1
javadoc
16
hadoop-ozone in trunk failed.

0
spotbugs
1041
Used deprecated FindBugs config; considering switching to SpotBugs.

-1
findbugs
44
hadoop-hdds in trunk failed.

-1
findbugs
17
hadoop-ozone in trunk failed.

_ Patch Compile Tests _

0
mvndep
14
Maven dependency ordering for patch

-1
mvninstall
32
hadoop-hdds in the patch failed.

-1
mvninstall
34
hadoop-ozone in the patch failed.

-1
compile
21
hadoop-hdds in the patch failed.

-1
compile
16
hadoop-ozone in the patch failed.

-1
javac
21
hadoop-hdds in the patch failed.

-1
javac
16
hadoop-ozone in the patch failed.

+1
checkstyle
52
the patch passed

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
780
patch has no errors when building and testing our client artifacts.

-1
javadoc
19
hadoop-hdds in the patch failed.

-1
javadoc
16
hadoop-ozone in the patch failed.

-1
findbugs
28
hadoop-hdds in the patch failed.

-1
findbugs
17
hadoop-ozone in the patch failed.

_ Other Tests _

-1
unit
25
hadoop-hdds in the patch failed.

-1
unit
23
hadoop-ozone in the patch failed.

+1
asflicense
37
The patch does not generate ASF License warnings.

2541

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1574

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b7bcf0739860 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 41440ec

Default Java
1.8.0_222

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/branch-findbugs-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-compile-hadoop-ozone.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-compile-hadoop-hdds.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-findbugs-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/testReport/

Max. process+thread count
306 (vs. ulimit of 5500)

modules
C: hadoop-ozone/common hadoop-ozone/client U: hadoop-ozone

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1574/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

+1 LGTM, failures dont seem related to patch. Thanks Anu.

The failures are not related to this patch.

@dineshchitlangia  Thank you for the review. I have committed this patch to the trunk.


openrgb: add desktop icon

Motivation for this change
OpenRGB both a CLI and GUI interface. For the GUI interface, the upstream repo provides a .desktop file so it will show up in the user's applications menu. Currently the NixOS package does not package the .desktop file as well.
Things done
Added a step to installPhase to install the desktop configuration and the icon.
This is how it looks under KDE Plasma:

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

oh, right, that package I packaged :)

oh, right, that package I packaged :)

Thanks for your work, @jonringer!
I was quite happy to find this packaged for NixOS.
Feel free to review or offer any suggestions. I'd be glad to help.

otherwise diff LGTM
https://github.com/NixOS/nixpkgs/pull/156285

1 package built:
openrgb


Have reached maximum logins allowed

After installing your android app I can't log in to the official f1 tv app and get this message:

Please add a logout option
Thank you so much

Thank you for the issue, I am working in a button on the main screen to do add some "settings" and I will have the logout option right near it (soon as I find what api does this logout ofc)

Hi again @buylife
I have made a search, and there is no logout api to clear that device association, so there is no real way to solve your problem, only if your token expires, at the current app the token gets renewed every time automatically, so I still think that is valuable to add a logout option (soon) but it will not really solve your problem.

@buylife How many devices are associated to your account under the subscription section in account settings?
Although I have logged in multiple times on my laptop (browser) and Android TV's using F1TV Viewer for Android TV I only see 1 device registered and that's my mobile running the official F1 TV app.
Maybe remove a few devices that are associated like I did with my old cellphone.

Thank you guys for your support. I have no idea why on one device I still get the message but on the other device, everything is fine. I think I have to wait for the token to expire... I have read that the F1TV app should authorize each new device by clearing one of the previous devices...At the moment I have canceled my subscription and received a refund to speed up the token expiration. I'm going to renew my subscription soon.


Publish Recommendation on How to Use Forseti with CSCC

User feedback: it would be great to highlight and make recommendations on our website, why & how Forseti should be used with CSCC.
Items that we can highlight:

customization (scanning for audit logging, required labels, gsuite groups, groups settings, location, project lien, bigquery retention)

policy as code (write the rules once, and re-use them everywhere in your workflow, such as terraform deployment)

real-time enforcement on cloudsql, bigquery, GCS buckets

@ryanismert is this something you can help document and get published?


Support security in webfs

Is your feature request related to a problem? Please describe.
I cannot connect to a secured http endpoint through webfs.
Describe the solution you'd like
Ability to pass simple user/password credentials to webfs.
Urgency
This limits the use cases of webfs to public sites.

Technical details - in WebUnderFileSystem, we have the UnderFileSystemConfiguration which could be used to pass in a webfs.user and webfs.password. Then we could attach the credentials to any requests we make through HttpUtils.

Will close it for now, feel free to reopen it and contact us if this is a strong request.


Could not return discriminator key as Property in child class

Hi everybody,
I'm using Tsed with Mongoose and Model.
I defined a parent class:
@Model()
export class BaseUser {
  @DiscriminatorKey()
  type: string;
}

And my child class:
@Model({ discriminatorValue: UserType.ADMIN })
export class Admin extends BaseUser {
  @Property()
  specialProp: string;
}

I used this to filter the return fields on controller:
@(Returns(200, Admin).Groups(UserType.ADMIN))

But it didn't return the type value because I could not define it as a Property, or I will get Discriminator "admin" cannot have field with name "type" error.
How do I get the type returned?
Thanks!

Hello @duyhotan2000
I think it's fixed with this PR #1580 ^^
See you
Romain


Proxy instructions: typo + foolproof

I had some hard time figuring out how to use hubot behind a corporate proxy. This might make it easier for some.

Nice, thanks!


ui: fix capitalise filter

Description
filters do not provide reference to the global context and hence raise an error.
Fixes #5268

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
Original:

After fix:

How Has This Been Tested?

@blueorangutan ui

@shwstppr a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5269 (SL-JID-471)


Command palette have 1px missing on border when focused

Prerequisites

[x ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
I found the Atom's command palette editor have 1px missing on border when focused.
Steps to Reproduce

Open Atom
Press CtrlOrCmd+P
It seems the input palette's blue border have 1px less at top, left and right, here is the screenshot:

It seems like a rendering bug because when I move the selection around (pressing up/down),
the missing width get back. But when the palette reopens, it reproduces again.
Versions
Atom    : 1.24.0
Electron: 1.6.16
Chrome  : 56.0.2924.87
Node    : 7.4.0
UI Theme: One-Dark-UI
My Attempting Solution
Set the border-width of the editor seems to solve the problem, but I just wondering the effect of
box-shadow. Can I set it to none?
atom-text-editor[mini].is-focused {
  border-width: 2px;
  box-shadow: none;
}

/cc: @simurai

Fixed.

Yep, fixed in https://github.com/atom/one-dark-ui/pull/244 that should land in Atom 1.26.

@skylerlee My Attempting Solution

👍 on that solution. In the ☝ above PR, a 1px padding got added. I think the problem is that the backdrop is semi-transparent and causes a rendering glitch of the box-shadow. 🤷♂

Good :+1: , thanks.


Use lock-free random number generator for node height selection

Fixes #9.
Inspired by https://github.com/cockroachdb/pebble/pull/742.
This commit replaces the use of the standard library's global random number generator rand.globalRand with the lock-free pseudo-rng provided by the runtime and backed by thread-local storage runtime.fastrand.
This same rng is used in other performance-critical operations, such as in sync.Pool's decision as to whether to drop objects or retain them.
name                     old time/op    new time/op    delta
ReadWrite/frac_0-16         380ns ± 7%     324ns ± 3%  -14.75%  (p=0.000 n=10+10)
ReadWrite/frac_30-16        314ns ± 8%     273ns ± 6%  -12.92%  (p=0.000 n=10+10)
ReadWrite/frac_10-16        350ns ± 6%     306ns ± 6%  -12.38%  (p=0.000 n=10+10)
ReadWrite/frac_20-16        328ns ± 9%     291ns ± 4%  -11.52%  (p=0.000 n=10+9)
ReadWrite/frac_40-16        289ns ± 4%     256ns ± 4%  -11.26%  (p=0.000 n=9+9)
ReadWrite/frac_60-16        237ns ± 6%     214ns ± 4%   -9.58%  (p=0.000 n=10+9)
ReadWrite/frac_50-16        262ns ± 6%     237ns ± 4%   -9.52%  (p=0.000 n=10+10)
ReadWrite/frac_70-16        213ns ± 2%     194ns ± 2%   -8.87%  (p=0.000 n=9+10)
ReadWrite/frac_80-16        176ns ± 3%     171ns ± 7%   -2.85%  (p=0.009 n=9+9)
ReadWrite/frac_90-16        135ns ± 3%     135ns ± 9%     ~     (p=0.303 n=9+10)
ReadWrite/frac_100-16      7.03ns ±11%    6.99ns ±12%     ~     (p=0.748 n=9+9)

TFTR!

it looks like you accidentally included arenaskl.test in the PR

The PR's actually getting rid of it. It was accidentally added in https://github.com/andy-kimball/arenaskl/commit/bcb4c5c91943e246ac7bc69b8b38f49df2b569b5.


Add morphology operations

Stared work on skeletonization. First version is a port from ImageJ.
Will add more morphology operations

I added outline and skletonize.
Grouped in new menu: Binary, with the operation that takes a image and turn it into a binary image.

Added dilate, erode, open and close. That was really easy. Pushed to master will be in release 0.8.4


changed color

changed

color

@Bhanvi2204 These small changes can't be addressed as contribution. Find another issue or feature to contribute to. Thank you!


Add a way to get the interpreter from a benchmark runner.

Add a way to get the interpreter from a benchmark runner in order to support setting multiple inputs from the benchmarks.
Some models contain more than one input, and rather than adding a complex API to the runner, give the application access to the underlying interpreter.

Good call. I've updated the change to use input index as a new argument to SetInput and SetRandomInput, defaulting the index to 0.


Code autocompletion and live lint is not working when i have one very long line in a file

As above pic shows, when i have a very long line(line 150 contains 2804825 characters) in a go source file, then the code autocompletion and live lint will be not working for that whole file, even i wait long enough, looks it even doesn't try to work :)
What configuration can i change to make it try to work? i mean maybe respond a bit slower?
I use sublime 3 and just upgrade GoSublime from the development branch yesterday, for other cases it works very well.

File sizes are currently limited to 512KiB. To raise the limit to e.g. 8MiB you can change $Packages/GoSublime/gosubl/margo_state.py#L243 from 512 << 10 to 8 << 20. If that works and you haven't noticed any stuttering or other performance issues I will consider raising the limit permanently.

@DisposaBoy I did the change, it worked, and for my laptop i feel it is totally fine, though respond a bit slower.
Processor: 2.9 GHz Intel Core i7

This has been changed on the next branch and will be in a future release.


🐞 [Bug] Farmerbot: what's the correct wake_up_threshold format?

What happened?
farmerbot (v0.15.1)
I followed the template as here: https://github.com/threefoldtech/tfgrid-sdk-go/blob/development/farmerbot/README.md#config, and got this error: error="yaml: unmarshal errors:\n  line 8: cannot unmarshal !!map into uint8"
I tried replacing cru: 70 with cru: "70" but still got the same error again.
which network/s did you face the problem on?
QA
Relevant log output
farm_id: 180
excluded_nodes:
  - 27
power:
  periodic_wake_up_start: "04:30PM"
  overprovision_cpu: 1
  wake_up_threshold:
    cru: 70

Thanks for the clarification.


Update APIRef.Matchers.md

remove await from element which is a function that does not return a promise and await is this not needed and might be confusing.
see https://github.com/wix/Detox/blob/6291116e9f5d3814f52a44479d591959b839ffba/detox/src/ios/expect.js#L420

I am assuming this was copypasta from some tests, where the action is a promise returning function, such as .tap().

@rotemmiz

Merged, thanks


v0.11.3

Waiting for review and a few confirmations from Ajnart

@ajnart your changes for Overseerr are not working.
Please check before merging your changes.
PR is blocked.

@ajnart your changes for Overseerr are not working. Please check before merging your changes.
PR is blocked.

What do you mean not working ? I've tested locally and on my server and both worked with the usequery modifications

Sorry, I only tested with Summer Ghost. Not sure what is special about it, but I wasn't able to request it.
However, I just tested with another show and it worked.
I will merge now.


[FR] Automatically prompt to ask to reload when the file changes

https://github.com/SpartanJ/efsw
https://docs.pocoproject.org/current/Poco.DirectoryWatcher.html


HDFS-14147: Back port of HDFS-13056 to the 2.9 branch

446

 Quality gate: Failed
23 Issues

 1 Vulnerabilities
 22 Code issues

Details

 Quality gate: Failed
23 Issues

 1 Vulnerabilities
 22 Code issues

Details


Edit Title on "close" button

I want localize close button, but i dont know how, tnx

@avesgit you can use closeText prop with any localised translation

@avesgit you can use closeText prop with any localised translation

you are awesome


ISO 3166-1 alpha3 Country Codes?

Is there a way to use the ISO 3166-1 alpha3 country codes from the countries gem? if not, is this something that you would like to see implemented in this gem?

yeah, that's actually a worthwhile feature I think we could turn on via configuration. Right now we've got a way to format the option text that is generated, but perhaps we should also have a way to format the values themselves. Maybe something like having the FORMATS lambdas able to return an array that plays nicely with Rails' option tag helpers.
# config/initializers/country_select.rb
CountrySelect::FORMATS[:alpha3] = lambda do |country|
  [  country.name, country.alpha3 ]
end

country_select("user", "country", format: :alpha3)

This kind of functionality would also give 1.x users a cleaner upgrade path to 2.x. I think it's a good idea.

@scudco I will like to submit a PR for this.

Awesome, PR would definitely be welcome :smiley:

@scudco how would you store the alpha3 country codes in your model? When a user selects a country he sees the the alpha3 code, but when entered in the database it stores the alpha2 country code.

This feature isn't implemented yet. The code example above was a suggestion for the PR.

Finally had some time to tackle this. Let me know if there any improvements that could be made.


JSX patterns break with no blank line between JS and JSX sections

From @levito on September 7, 2015 9:53
JSX Patterns in the following form break:
var a = 1; // no blank line after JS block:

    test

This also applies to comments before the JSX block.
This works:

    test

This also works:
var a = 1; // blank line after JS block:

    test

Copied from original issue: sinnerschrader/patternplate-server#15

https://github.com/sinnerschrader/patternplate-transform-react/commit/f7f7b995390104e9c7313131840b86c81544cbb9

This appears to be no issue since<EMAIL_ADDRESS>


hubble/datapath: Clarify NodePort BPF related events in flow log

Currently, it's not so obvious at what point(s) we emit events to Hubble from the datapath when processing a NodePort BPF request. One example of such a confusion is https://github.com/cilium/cilium/issues/17060#issuecomment-900845354 (check the hubble observe output).
This task is about clarifying when do we emit events in the processing path (i.e., before/after (rev-)SNAT/DNAT), and then documenting our findings.

Closing in favor of https://github.com/cilium/cilium/issues/14885. I've added another point there to remember to clarify positions of observation points with regard to (rev-)SNAT/DNAT.


Low-quality mode is extremely bright

When running in low quality mode, there is an exposure problem which makes the game very bright. See screenshot below.
Epic quality

Low quality

This happens in 0.9.7 and was not happening in 0.9.6.
It seems to be due to the scalability level for post-process that is set to 0 in low quality:
sg.PostProcessQuality=0

More specifically, it's this specific value that causes the problem:
r.EyeAdaptationQuality=0

(as defined in [PostProcessQuality@0] of BaseScalability.ini).
Switching r.EyeAdaptationQuality to 1 or 2 solves the problem.
We also found out that using the apparently new BP_WeatherSafe as weather class instead of BP_Weather prevents the problem to occur.
This problem occurs on both Windows and Linux (Ubuntu 18.04). GPUs tested include nVidia 1070 and 2070.

Hi, we are working to fix this. The problem seems to affect only the server image and not the client, and it is because we use some manual autoexposure values that at low-quality are disabled and then the exposure is broken. We will keep the autoexposure enabled at low-quality also.


Ability to set stop points on Text with a gradient

Currently, doing
fill: ["#FF0000", "#00FF00", "#0000FF"]
evenly spaces those gradient points out, but sometimes you might want more control over each stop point. With this PR you can optionally adjust these points; for example
fillGradientStops: [0.1, 0.3, 0.9]

@themoonrat, can we see a demo of this?

http://www.moonrat.co.uk/html5/pixi-gradient-stop-text/

Thanks for the demo, looks great. This will be useful for folks. Also, I appreciated that you used the new Application class in your demo 👍

@themoonrat Any follow-up here with multiple lines or a better dirty check for array?

I'll have time to look at it this weekend :)

Done for both. http://www.moonrat.co.uk/html5/pixi-gradient-stop-text/ is updated with the latest example... with a new comparison for single line versus multi line, to show that they now match


Removes some duplicated ir tests and unnecessary tests.

Can you update the issue description and explain which tests are being removed and why?

Do we even want to keep the tests/compile/ir directory or just reuse the expect files from the old flow?

This can be closed because the tests are already going to be changed by #256.


All Modules - Create a Good Test Suite

Just do as the man says, and nobody gets hurt!

Done

Done


Dashboard Page / Widget Layout / Progress Reports Grids

Add the TeamNews skeleton/foundation for My Dashboard page
Monday Task

LGTM


 These objects may have properties that are

Defined as an abstract base class with multiple derived classes
Dynamic Properties

The setting TypeNameHandling.Auto is perfect for derived classes, but it does not behave as I expect for dymanic properties. Consider the following class
public class ExampleClass
{
    public dynamic DynamicProperty { get; set; }
}

When serializing an instance of it using a serializer with TypeNameHandling.Auto, it results in the following json
{
   "DynamicProperty":{
      "$type":"<>f__AnonymousType0`1[[System.String, mscorlib]], Tester",
      "Foo":"Bar"
   }
}

Where Tester is the name of my assembly. When (in another assembly) trying to deserialize the json back to ExampleClass it fails, since Json.NET is not able to locate the Tester assembly.
TypeNameHandling.Auto should include the .NET type name when the type of the object being serialized is not the same as its declared type. In this scenario I would argue that the provided type and declared type is the same (even though it is more complex for anonymous types). Besides, if this is correct behavior, it limits the ability to deserialize to the assembly that instantiated the class (and assemblies that references it).
I'm very interested in hear your thought on this, and if possible point me to a solution. I've asked around on StackOverflow but haven't gotten any suggestions that works for me.
Keep up the good work!
-pardahlman

You should either turn off type name handling or don't use anonymous types. The two don't work well together.

Ok sure, but it I don't use type handling, how am I to deserialize derived classes to its actual type?

Is there a way to use a custom type name resolver?

Ok got it.
Gonna keep these comments for the reference.

Ok got it.
Gonna keep these comments for the reference.
Tho, is there a shorter way to perform this?
Are there some attributes I can decorate properties to force their type resolving?
For instance:
public class Entity
{
[TypeMap(typeof(IOtherEntity), typeof(OtherEntity)]
public IOtherEntity { get; set; }
}


BackgroundNoise fails with len(noise)==len(soundf)

I have a dataset of audio clips of the same length. Half of these clips are positive (contain a bird flight call), while the other half is negative (contain only background noise).
I want to augment the dataset by mixing clips together, without changing the label.
But I ran into an error in 'muda.deformers.background.sample_clip_indices'. If I understand the stack trace correctly (see below my signature), the error happens when executing
start = np.random.randint(0, len(soundf) - n_target)
with len(soundf) - n_target equal to zero.
I made a Gist to reproduce the bug:
https://gist.github.com/lostanlen/15fe9c879fdd24fe9023fa430314cd51
It disappears when the difference in lengths is strictly larger than zero.
Is this expected behavior? It seems to me that my issue could be fixed with
if len(soundf) > n_target:
    start = np.random.randint(0, len(soundf) - n_target)
else:
    start = 0

Best,
Vincent.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-43-9ecbf36219b3> in <module>()
     39 # Create short deformer
     40 short_deformer = muda.deformers.BackgroundNoise(files=[short_noise_path])
---> 41 short_jam_transformer = next(short_deformer.transform(jam_original)) # error

/Users/vl238/miniconda3/lib/python3.5/site-packages/muda/base.py in transform(self, jam)
    142         '''
    143
--> 144         for state in self.states(jam):
    145             yield self._transform(jam, state)
    146

/Users/vl238/miniconda3/lib/python3.5/site-packages/muda/deformers/background.py in states(self, jam)
    154         for fname in self.files:
    155             for _ in range(self.n_samples):
--> 156                 start, stop = sample_clip_indices(fname, len(mudabox._audio['y']), mudabox._audio['sr'])
    157                 yield dict(filename=fname,
    158                            weight=np.random.uniform(low=self.weight_min,

/Users/vl238/miniconda3/lib/python3.5/site-packages/muda/deformers/background.py in sample_clip_indices(filename, n_samples, sr)
     40
     41         # Draw a random clip
---> 42         start = np.random.randint(0, len(soundf) - n_target)
     43         stop = start + n_target
     44

mtrand.pyx in mtrand.RandomState.randint (numpy/random/mtrand/mtrand.c:16117)()

ValueError: low >= high

Yup, that makes sense, thanks for catching it!  We recently hit almost the same issue over in pumpp, so it's not too surprising.  Do you have any interest in doing a PR for this?

Yes, I am willing to write a PR.

On second thought, this looks more like an off-by-one error.
The fix would then be:
start = np.random.randint(0, 1 + len(soundf) - n_target)

That would be a breaking change, though.

That would be a breaking change, though.

That's fine -- it's broken as is.  I bumped the milestone for this to 0.2, so it's okay to not be backward-compatible with the 0.1 series.


Inconsistent behavior processing HTTP protocol violations between Azure Functions and Function Proxies

When POSTing an HTTP request to an Azure Function Proxy where the Content-Length header value is set to 0 and there is data in the body, the Proxy forwards the request to the back end service with an empty body and the Proxy ends up throwing and logging a protocol exception and returns 500 to the user agent.
POSTing the same HTTP request directly to an Azure Function does not result in an exception and the Function successfully reads the body despite the content length value specified as 0.
Investigative information
Repro steps

Create an HTTP Trigger Function
Create an Azure Functions Proxy that forwards to #1
POST a request with data in the body to the Azure Function with Content-Length set to 0
The function will successfully read the request body and process the request normally.
POST a request to the Azure Function Proxy with data in the body and the Content-Length set to 0.
The proxy will forward the request to the Azure Function with an empty body
The proxy will log an exception and return 500 back to the user agent

Exception thrown by PROXY RUNTIME:
System.Net.ProtocolViolationException: Bytes to be written to the stream exceed the Content-Length bytes size specified.
at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.ConnectStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.IO.Stream.<>c.b__53_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
at System.Threading.Tasks.TaskFactory1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func5 beginMethod, Func`3 endMethod)
at System.IO.Stream.BeginEndWriteAsync(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at Microsoft.Azure.AppService.Proxy.Common.Extensions.StreamExtensions.d__1.MoveNext() in e:\bt\849565\repo\src\microsoft.azure.appservice.proxy.common\Contracts\Extensions\StreamExtensions.cs:line 96
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.AppService.Proxy.Common.Extensions.StreamExtensions.d__0.MoveNext() in e:\bt\849565\repo\src\microsoft.azure.appservice.proxy.common\Contracts\Extensions\StreamExtensions.cs:line 64
Expected behavior
Consistent behavior between Azure Functions and Proxies.
Actual behavior
Proxies throws an exception and returns 500 to the user agent
Functions successfully processes the request
Related information

c#
Links to source
HTTP

This is working fine for me. what version of functions runtime are you using? Mine is Runtime version: 1.0.11360.0 (~1) hich is the latest version.

This cannot be repro'd from our side. Can you please verify you are running the latest runtime version of Functions, and copy/paste your exact http trace?

Closing this one as the other one #2099 is more relevant.


Some fixes to customize OAuth

With these fixes, devices can tweak OAuth helpers without switching to the custom OAuth flow entirely.

Pull Request Test Coverage Report for Build 182

16 of 25 (64.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 82.775%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/config/oauth2.js
16
18
88.89%

lib/helpers/oauth2.js
0
3
0.0%

lib/base_device.js
0
4
0.0%

Totals

Change from base Build 173:
-0.2%

Covered Lines:
1110

Relevant Lines:
1294

💛  - Coveralls


Building aomp-11.5-0 - error building rocm-compilersupport

After building and installing the preceding projects, I get the following error when building "./build_comgr":
[ 53%] Building CXX object CMakeFiles/amd_comgr.dir/src/comgr-symbol.cpp.o
/home/user/git/aomp11/rocm-compilersupport/lib/comgr/src/comgr-symbol.cpp: In member function ‘COMGR::SymbolContext* COMGR::SymbolHelper::createBinary(llvm::StringRef, const char*, amd_comgr_data_kind_t)’:
/home/user/git/aomp11/rocm-compilersupport/lib/comgr/src/comgr-symbol.cpp:175:37: error: request for member ‘get’ in ‘ExpectedFsymValue’, which is of non-class type ‘long unsigned int’
  175 |     Symp->Value = ExpectedFsymValue.get();
      |                                     ^~~
/home/user/git/aomp11/rocm-compilersupport/lib/comgr/src/comgr-symbol.cpp: In member function ‘amd_comgr_status_t COMGR::SymbolHelper::iterateTable(llvm::StringRef, amd_comgr_data_kind_t, amd_comgr_status_t (*)(amd_comgr_symbol_t, void*), void*)’:
/home/user/git/aomp11/rocm-compilersupport/lib/comgr/src/comgr-symbol.cpp:246:41: error: request for member ‘get’ in ‘ExpectedSymbolValue’, which is of non-class type ‘long unsigned int’
  246 |       Ctxp->Value = ExpectedSymbolValue.get();
      |                                         ^~~

When I replace line 171 (and the other..):
auto ExpectedFsymValue = Fsym.getValue();

with
llvm::Expected<uint16_t> ExpectedFsymValue = Fsym.getValue();

it compiles with gcc 9.3.0.
The lines are in this patch: https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/commit/6a81326fa9c95f2045064554c471f2568d8c6e7b#diff-17a8a8d4d372d2b5f76e8bb43d4c6bbc
Which compiler are you using?

This problem does not arise when checking out branch "11.5-0-correct-sha-keys" of "aomp".

The problem does not occure while building branch 11.6-1 with gcc 9.3.0 and 10.1.0.