[vcpkg buildsystem] The cmake build system does not detect standard libraries that are too old to work

Describe the bug
Vcpkg does not bootstrap on Travis with Clang-9 compiler, using command
./bootstrap-vcpkg.sh -disableMetrics.
Having this error:  Illegal number: clang version 9
After this, it gives compile errors. More on attached logs below.
Environment

OS: Ubuntu 16.04 (Travis Xenial image)
Compiler: Clang 9

To Reproduce
Steps to reproduce the behavior:

Install clang-9 on a Travis Xenial image with source configuration like this:

sourceline: 'deb https://apt.llvm.org/xenial/ llvm-toolchain-xenial-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'

Set env variables CC=/usr/bin/clang-9 && CXX=/usr/bin/clang++-9
Clone vcpkg and try to bootstrap it
See compile errors

Expected behavior
Vcpkg should bootstrap with clang-9 without any issues.
Failure logs

https://pastecode.xyz/view/abf87f00#L35

Hi @emrsmsrli
Thanks for posting this issue.
Could you please try to refer to this issue #3980 and check if you set ariables CC=/usr/bin/clang-9 && CXX=/usr/bin/clang++-9 correctly?

Hi there.
Yes the env variables are set correctly. I was building fine with Clang before I switched to vcpkg.

Could you try the latest master? Fixed issues #10834, #10846, #10867

It's still failing.
Downloading cmake...
Downloading cmake... done.
Extracting cmake...
Extracting cmake... done.

Downloading ninja...
Downloading ninja... done.
Extracting ninja...
Extracting ninja... done.

-- The CXX compiler identification is Clang 9.0.1
-- Check for working CXX compiler: /usr/bin/clang++-9
-- Check for working CXX compiler: /usr/bin/clang++-9 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting the C++ standard library

CMake Error at cmake/utilities.cmake:79 (message):
  Can't find which C++ runtime is in use
Call Stack (most recent call first):
  CMakeLists.txt:31 (vcpkg_detect_standard_library)

You can see the full log here: https://travis-ci.com/github/emrsmsrli/gameboi/jobs/320946027
I'm using libc++ in my clang builds. I checked out #10834, it seems vcpkg_detect_standard_library is implemented but I need to pass libc++ explicitly in this case. Is there any way I can do that?
Thanks.

I guess it doesn't really matter for packages, my own cmake script handles that. But still vcpkg is not building properly because of misdetection.

@emrsmsrli so is this an issue on macOS, I assume? If you explicitly set CXX, we shouldn't do that check.

Hmm, that looks like an older version of vcpkg; can you try updating to latest master?

For what it's worth, you don't have to worry about setting CC anymore.

Also, I can't figure out how to install packages on Ubuntu in a way that causes this failure. What standard library are you linking with?

Oh, that's frustrating; apparently in libstdc++ 2016, they don't define __GLIBCXX__ in <ciso646>. I'll fix this...

Hi @emrsmsrli
Since vcpkg doesn't support libstdc++ 5, please try to update it to the new version.

@emrsmsrli, does this issue still repro with latest VCPKG?

@PhoebeHui I can confirm vcpkg successfully builds with the same config I had at the time this issue is created. You can find the logs here: https://app.travis-ci.com/github/emrsmsrli/gameboi/jobs/529087800
Don't mind the build job failing, that's on my end. Thanks for the efforts!

@emrsmsrli, thanks for your reply!


[Query] Can we run this on multiple sln files?

What if I want to migrate all the solutions in a certain folder, is there any option to do that?

As I understand, you can't open multiple Solutions in Visual Studio hence can't use TFM to migrate multiple solutions at once
You can:

Import all projects in one solution and update projects
(Not sure it's easy or possible) Update TFM code to support run from command and run devenv.exe from commandline https://msdn.microsoft.com/en-us/library/ms228759.aspx
(Not sure it's easy or possible) Automate VS http://www.mztools.com/articles/2005/mz2005005.aspx


Indium doesnt work with quilt

I download quilt, sodium and quilted fanric api and i have error (look at the screenshot) i play in 1 19 4

Update your version of Quilted Fabric API / QSL.

Ah, the problem there is that Fabric API 0.84+ hasn't been released in QFAPI for 1.19.4.
Downgrade Indium to a version that doesn't require Fabric API 0.84, or ask the Quilt devs to backport the newer API changes to 1.19.4.


docs: Fix outdated slack notification configuration readme

This fix the outdated slack notification documents that sync with the latest slack web ui.

Thanks so much @tonglil for the responsive review! It seems the merging is still blocking, do you know anything I need to do for unblock the merge? Thanks!

Thanks a lot @pasha-codefresh and @tonglil . Really appreciated!


MIXEDARCH-325: Add flags to enable a subset of the controllers

This PR adds three flags to allow enabling a subset of the controllers:

--enable-operator enables the operator controllers (the PodPlacementConfig now)
--enable-ppc-webhook will register the webhook to mutate pods
--enable-ppc-controllers will enable the controllers related to the arch-aware pod placement

Currently, the manifests are changed to enable all the controllers. Once we go concluding #12 , we will disable the PPC-related controllers from running in operator pod.
This is related to #12 and closes MIXEDARCH-325

/lgtm


Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response [status code] 402 [reason phrase] Payment Required [url]

hi
i run code but show this erro what???
Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response [status code] 402 [reason phrase] Payment Required [url]

Hey
Can you please give me it's video id?
Maybe it's just available in Youtube Red.

Hi, same problem for me with any video id i got the same warning about Payment Required.
Any solution please ?

Give me some video id to test

It's ok. My bad ! Don't know why but my server IP is banned from Google so I use another one.


Streaming without chunks

Hi,
One thing that I may or may not be calling on CB to do is to be the endpoint for an HTML5  tag, as in src="/some/path", where the controller will start pulling data from some video source.
This data needs to be streamed "raw", no chunks.  One acceptable way of doing this would simply be to grab the socket, send some headers, and go to work, but it'd be nice to make things a bit cleaner and document them.

looks like there is solutions for that issue. closing.


Search ability for "issue list" view

user should be able to filter the issues based on title, description, and labels

Support query parameters with the "GET /issues/" endpoint like:
GET /issues/?query={title:"hello",description:"world",labels:["sprint1","web"]}
The query will be a json object describing the search criteria.


Excess enumeration of RowDfn.Cells property in SpreadsheetWriter.Write

RowDfn.Cells is a IEnumerable, and during execution of the SpreadsheetWriter.Write method it's enumerated twice, causing excess memory usage and bugs in case of a stateful implementation of IEnumerable'1 interface.
For example, IEnumerable might use a database connection which might be disposed upon disposing the underlying IEnumerator.

That is interesting - didn't remember writing that code to enumerate RowDfn.Cells twice.  Probably can insert a .ToList() that will take care of the issue.  I will be doing some maintenance in Open-Xml-PowerTools sometime this month, so will address this issue.

You have a .Count() call.
In my JumboExcell framework i skip this count entirely and it works without the attribute, but i am not sure if that is compatible.
OpenXml standard should remove that, because it prohibits optimizations using the writers, like in this case.

Closing all issues as this repo is being archived and will no longer be maintained by Microsoft. The project is licensed for continued use and development by forking to your own repo.


includes is not optional

The docs state that includes is optional, but my rules wouldn't match without "includes": ["*"]
Example rule:
{
  "action": "label",
  "eventJSONPath"<EMAIL_ADDRESS>=~ /^feat.*?/)].title",
  "labels": "enhancement",
  "includes": ["*"]
}

The above works as is; remove the includes it doesn't.
Here's the debug without includes
2020-11-25T02:03:24.1013244Z 2020-11-25T02:03:23.850Z use-herald-action:rules validation: {
2020-11-25T02:03:24.1013929Z   rule: {
2020-11-25T02:03:24.1014596Z     action: 'label',
2020-11-25T02:03:24.1015460Z     eventJSONPath<EMAIL_ADDRESS>=~ /^feat.*?/)].title',
2020-11-25T02:03:24.1016344Z     labels: 'enhancement'
2020-11-25T02:03:24.1016879Z   },
2020-11-25T02:03:24.1017384Z   hasActors: true,
2020-11-25T02:03:24.1018046Z   hasValidActionValues: true,
2020-11-25T02:03:24.1018722Z   matchers: false
2020-11-25T02:03:24.1019207Z }
2020-11-25T02:03:24.1027614Z 2020-11-25T02:03:23.851Z use-herald-action:index loaded rules and locations {
2020-11-25T02:03:24.1028372Z   rules: [],
2020-11-25T02:03:24.1029573Z   dir: '/home/runner/work/auto-release-poc/auto-release-poc',
2020-11-25T02:03:24.1030669Z   rulesLocation: '.github/herald_rule_*.json'
2020-11-25T02:03:24.1031299Z }
2020-11-25T02:03:24.1032192Z 2020-11-25T02:03:24.089Z use-herald-action:index matchingRules: []
2020-11-25T02:03:24.1033315Z 2020-11-25T02:03:24.089Z use-herald-action:index not a dry Run

Actually... adding includes always adds the tag, even when the eventJSONPath doesn't match.

Hi! you are right, the documentation is wrong.
so includes and eventJSONPath are both different ways of matching if includes.
lemme know what would be useful here. happy to add documentation. I believe the rules could be simpler to compose we have #213 that aims to simplify this. in the meantime. happy to add clarifications where you think it could clearer


Add api to get SAS  token

PR for issue
What is being addressed
Fixes #1966 Retrieve sas token to airlock request container
How is this addressed

Generate sas token to current airlock request container
Use api's managed identity to grant it minimal access and  generate the token

/test

/test

/test

/test

/test

/test

/test


Validate the document ID before using it in a query

This is likely not strictly necessary, but good to err on the safe side.

did this change come about because of an issue?

No - there was a CodeQL warning that we were using user-submitted input in a query, and while I would be highly surprised if this led to trouble, it seemed like good practice to validate it anyway.

Makes sense, https://github.com/Vulnogram/Vulnogram/pull/125


Urban dataset

Where can I download the Urban dataset?

We are scaling up the dataset. It will be released soon.


upgrade target Python version for black to 3.10

Contributes to https://github.com/rapidsai/build-planning/issues/88.
Fixes one Python 3.9 to 3.10 upgrade that was missed in #32.

Let's raise an issue on benchmarks & notebooks needing similar changes

Do you see any specific examples in this repo that need that?
I only see CHANGELOG entries (which should not be changed):
git grep -E '3\.8|3\.9|py38|py39'

I did open https://github.com/rapidsai/cugraph/issues/4640 over in cugraph for some examples there that could be updated.


Upload fails silently when file size exceeds limit in php.ini

I've been toying with a barebones application using this behavior, and I discovered this problem in the following scenario:
My file upload validator was set to not allow file uploads over 1MB. Sometimes it would work and I would get a "file too large" error on the entity, but sometimes the post would succeed and the file would simply not be uploaded.
I was a bit baffled by this, and it took me entirely too long to figure out that the silent failure was due to some files exceeding the upload_max_filesize parameter in php.ini. No error is thrown, and nothing is printed in the logs referencing it. It would be very nice to have some kind of notification, particularly an error returned on the entity when this occurs.
I traced the error to here in cakephp-upload/src/Model/Behavior/UploadBehavior.php:
public function beforeMarshal(Event $event, ArrayObject $data, ArrayObject $options)
    {
        $validator = $this->_table->validator();
        $dataArray = $data->getArrayCopy();
        foreach (array_keys($this->config()) as $field) {
            if (!$validator->isEmptyAllowed($field, false)) {
                continue;
            }
            if (Hash::get($dataArray, $field . '.error') !== UPLOAD_ERR_NO_FILE) {
                continue;
            }
            unset($data[$field]);
        }
    }

Where the hash of the error in this scenario will correspond to UPLOAD_ERR_INI_SIZE in CakePHP's Core.php file. I'm not sure if this is the right place to handle the error, but this is where I discovered it.

You'll want to use one of the validation rules: https://cakephp-upload.readthedocs.io/en/latest/validation.html#uploadvalidation


chore: release

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


net/frr: Set multihop value to 255

Might fix #3763.
Basically, when using FRR, it doesn't set the value of ebgp-multihop by default, which defaults it to 1.
IMHO: Better to have a higher value than a lower value, so I set it to 255.

Yes, let's start with 255 before adding a new IntegerField, with this there's 0 impact

Thanks for the approval :) Do you know roughly when the team will merge this?

Merged, thanks!

Sorry to bring this up again, but it seems this is not working as expected?
Have a look in "running config" in WebGui does not show "255" for Multihop.
Is that expected?


Assembly version conflicts with NuGet?

I installed via nuget, and the client is not matching:
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.
1>CSC : error CS1705: Assembly 'Microsoft.WindowsAzure.Management.HDInsight' with identity 'Microsoft.WindowsAzure.Management.HDInsight, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Hadoop.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Hadoop.Client' with identity 'Microsoft.Hadoop.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
1>c:\users\rguess\documents\visual studio 2015\Projects\HDIMon\HDIMon\Program.cs(33,22,33,45): error CS1705: Assembly 'Microsoft.WindowsAzure.Management.HDInsight' with identity 'Microsoft.WindowsAzure.Management.HDInsight, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Hadoop.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'Microsoft.Hadoop.Client' with identity 'Microsoft.Hadoop.Client, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Hi Roger,
I’m on the HDInsight team and saw the issue on Github. Can you please try removing the current NuGet packages and downloading the latest NuGet packages (version 1.5.9 of Microsoft.Hadoop.Client and 1.5.9 of Microsoft.WindowsAzure.Management.HDInsight). Please shoot me an email if this doesn't work!

Can you please try removing the current NuGet packages and downloading the latest NuGet packages (version 1.5.9 of Microsoft.Hadoop.Client and 1.5.9 of Microsoft.WindowsAzure.Management.HDInsight). Please shoot me an email if this doesn't work!

I should have a chance to try later today. Thank you.
On Tue, Jun 9, 2015 at 12:40 PM, shefaliv<EMAIL_ADDRESS>wrote:

Hi Roger,
I’m on the HDInsight team and saw the issue on Github. Can you please try
removing the current NuGet packages and downloading the latest NuGet
packages (version 1.5.9 of Microsoft.Hadoop.Client and 1.5.9 of
Microsoft.WindowsAzure.Management.HDInsight). Please shoot me an email if
this doesn't work!
—
Reply to this email directly or view it on GitHub
https://github.com/Azure/azure-sdk-for-net/issues/1149#issuecomment-110443129
.

--
Thanks,
Roger

Those newer versions 1.5.9 are not showing up in nuget.

Not sure why the cache isn't refreshing in the manager. Can you try the install command shown here to install it? https://www.nuget.org/packages/Microsoft.WindowsAzure.Management.HDInsight/

@rogerguess please open a new issue if the problem still exists/repros.


SaaS: Provision to get tenant wise logs - @sourceloop/audit-service

Is your feature request related to a problem? Please describe.
Right now we dont have any direct way to save and get logs on the basis of tenant
we should be able to get logs of only the particular tenant
tenant based filtering
security using tenantGuard

done


add 42 Firenze (42firenze.it) domain

@Sandoramix First stage of verification passed, official domain is 42firenze.it as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Sandoramix Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Checking admin current session state

Starting to implement the session state, and looking for an easy way to verify that the current session is still active.  Not sure how you check this on the mobile app side.  I guess what I'm thinking is that a simple admin_action=session_check.
Background on this is that yap is going to have an admin interface which is going to rely upon BMLT credentials via the semantic admin api.

There isn’t anything explicit in the API for this, but I could add something, I guess. As long as it was only a flag, it wouldn’t be a security issue.
Still, it would probably be best to use HTTP session tracking, as even if I did add it, it would be months before it would be universally available.
Remember that this is a stateless system, so you could easily track it from your end. You will know if the session is active.
I wouldn’t mind knowing a bit more about how this works.

I am using HTTP session tracking with cookies.  Once a user it authenticated (using their BMLT credentials), they are authenticated in the Yap admin portal.  A cookie is stored on the server for that user.
Upon each subsequent page load of the Yap admin, I want to be able to verify that the session is still active.  What I'm doing now is making a request to /local_server/server_admin/xml.php?admin_action=get_permissions. ref: https://github.com/radius314/yap/blob/unstable/functions.php#L515.
The issue with this request, is that it returns a bunch of XML that I wind up dump, creating unnecessary network chatter.  I could make a head request, but I'm unsure of whether or not you will vouch that through session checking.  The basic premise here, is a ping-pong type request-response.  Is this session still active, similar to the login action, but not for re-authenticating.  Returning the same body response would work too.  "OK" and "NOT AUTHORIZED".

Hmm... This needs to happen on the HTTP level. It's not a true RESTful interface. GET and POST are treated as one.
I'd need to write some special code. That's the kind of thing that could move a lot of cheese, and require lots of testing. I might not have the bandwidth for it now.
As of now, as long as you have the same session active, you can be assured of a login. There's no time limit, which is one of the reasons that I force-close the session after ten seconds on the admin app.
Chris Marshall

Principal
<EMAIL_ADDRESS><EMAIL_ADDRESS>https://littlegreenviper.com https://littlegreenviper.com/
Little Green Viper Software Development LLC

On Apr 19, 2018, at 8:32 AM, Danny Gershman<EMAIL_ADDRESS>wrote:
I am using HTTP session tracking with cookies. Once a user it authenticated (using their BMLT credentials), they are authenticated in the Yap admin portal. A cookie is stored on the server for that user.
Upon each subsequent page load of the Yap admin, I want to be able to verify that the session is still active. What I'm doing now is making a request to /local_server/server_admin/xml.php?admin_action=get_permissions. ref: https://github.com/radius314/yap/blob/unstable/functions.php#L515 https://github.com/radius314/yap/blob/unstable/functions.php#L515.
The issue with this request, is that it returns a bunch of XML that I wind up dump, creating unnecessary network chatter. I could make a head request, but I'm unsure of whether or not you will vouch that through session checking. The basic premise here, is a ping-pong type request-response. Is this session still active, similar to the login action, but not for re-authenticating. Returning the same body response would work too. "OK" and "
NOT AUTHORIZED
".
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/LittleGreenViper/BMLT-Root-Server/issues/5#issuecomment-382716261, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab9HLv-Qpa86W-e2mFotX2CaS1mfgqhvks5tqIPNgaJpZM4TZXKm.

I think you might be conflating things a bit.  I'm literally relying on the session of the BMLT server via a standard HTTP request.  I'll just send a PR.

Possibly. I'd have to see a state diagram of the request to understand it completely, I guess.
Chris Marshall

Principal
<EMAIL_ADDRESS><EMAIL_ADDRESS>https://littlegreenviper.com https://littlegreenviper.com/
Little Green Viper Software Development LLC

On Apr 19, 2018, at 8:41 AM, Danny Gershman<EMAIL_ADDRESS>wrote:
I think you might be conflating things a bit. I'm literally relying on the session of the BMLT server via a standard HTTP request. I'll just send a PR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/LittleGreenViper/BMLT-Root-Server/issues/5#issuecomment-382719175, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab9HLgAP4YdPiL0-RJlhspFVEBo64oR5ks5tqIXxgaJpZM4TZXKm.

Yeah let me put something together, maybe diagram via pull request.  Grokking the session stuff a bit.


rounded coner

Above one is cr23, it has rounded coner "2",  could reserve it in th24?

@offferu What is the problem

@offferu What is the problem

closed. people have diffent flavor


[Bug] Subsequent terraform apply fail to connect to deployment's endpoint

Describe the bug
When using a combination of the ec provider and the elasticstack provider, runs after the initial apply fail with connection issues, as the endpoint is replaced with the default (localhost:9200):
 Error: dial tcp [::1]:9200: connect: connection refused
│
│   with elasticstack_elasticsearch_security_user.user,
│   on main.tf line 46, in resource "elasticstack_elasticsearch_security_user" "user":
│   46: resource "elasticstack_elasticsearch_security_user" "user" {
│

This is likely a consequence of https://github.com/elastic/terraform-provider-ec/issues/599 as I cannot reproduce the bug with terraform <1.4 (tested with 1.3.0 and 1.3.9)
To Reproduce
Steps to reproduce the behavior:

TF configuration used:

terraform {
  required_version = ">= 1.0.0"
  required_providers {
    ec = {
      source  = "elastic/ec"
    }
     elasticstack = {
      source  = "elastic/elasticstack"
   }
  }
}

provider "ec" {
apikey = "[redacted]"
}

resource "ec_deployment" "custom-deployment-id" {
  name                   = "My deployment identifier"
  region                 = "gcp-europe-west3"
  version                = "8.8.0"
  deployment_template_id = "gcp-memory-optimized-v2"

 elasticsearch = {
    hot = {
      autoscaling = {}
    }
  }
  kibana = {}
}

provider "elasticstack" {
  elasticsearch {
    username = ec_deployment.custom-deployment-id.elasticsearch_username
    password = ec_deployment.custom-deployment-id.elasticsearch_password
  endpoints = ["${ec_deployment.custom-deployment-id.elasticsearch.https_endpoint}"]
  }
}

resource "elasticstack_elasticsearch_security_user" "user" {
  username = "ingest_user"
  password = "mysecretpassword"
  roles    = ["editor"]

  # Set the custom metadata for this user
  metadata = jsonencode({
    "env"    = "testing"
    "open"   = false
    "number" = 49
  })
}

TF operations to execute to get the error: terraform plan, terraform apply
See the error in the output

terraform plan
ec_deployment.custom-deployment-id: Refreshing state... [id=be69ae8f29bc80d8fd273208e3141402]
elasticstack_elasticsearch_security_user.user: Refreshing state... [id=qaKsUow9SrOXtWhSoJb4fQ/ingest_user]

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform planned the following actions, but then encountered a problem:

  # ec_deployment.custom-deployment-id will be updated in-place
  ~ resource "ec_deployment" "custom-deployment-id" {
      + apm_secret_token       = (sensitive value)
      ~ elasticsearch          = {
          ~ cloud_id       = "My_deployment_identifier:[redacted]=" -> (known after apply)
          ~ http_endpoint  = "http://cc23ffd44d7c4890b0dc8994d155f4a5.europe-west3.gcp.cloud.es.io:9200" -> (known after apply)
          ~ https_endpoint = "https://cc23ffd44d7c4890b0dc8994d155f4a5.europe-west3.gcp.cloud.es.io:443" -> (known after apply)
          ~ resource_id    = "cc23ffd44d7c4890b0dc8994d155f4a5" -> (known after apply)
            # (7 unchanged attributes hidden)
        }
        id                     = "be69ae8f29bc80d8fd273208e3141402"
        name                   = "My deployment identifier"
        # (7 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
╷
│ Error: dial tcp [::1]:9200: connect: connection refused
│
│   with elasticstack_elasticsearch_security_user.user,
│   on main.tf line 46, in resource "elasticstack_elasticsearch_security_user" "user":
│   46: resource "elasticstack_elasticsearch_security_user" "user" {
│
╵

Expected behavior
The same terraform plan runs without issues in 1.3.9:
terraform plan
ec_deployment.custom-deployment-id: Refreshing state... [id=be69ae8f29bc80d8fd273208e3141402]
elasticstack_elasticsearch_security_user.user: Refreshing state... [id=qaKsUow9SrOXtWhSoJb4fQ/ingest_user]

No changes. Your infrastructure matches the configuration.

Versions (:

OS: [macos]
Terraform Version [e.g. 1.5.1]
Provider version [e.g. v0.6.0]

Additional context
As mentioned above, I believe this is caused by the configuration drift reported in https://github.com/elastic/terraform-provider-ec/issues/599

+1.  I ran into the same issue yesterday.

I have the same issue here with message:
Error: dial tcp [::1]:9200: connect: connection refused
Even with Terraform 1.3.9, it does not work for me.
Versions:

Terraform versions tested: 1.5.1, 1.4.6, 1.3.9
ec provider 0.7.0
elasticstack provider 0.6.2

I have the same issue here with message: Error: dial tcp [::1]:9200: connect: connection refused Even with Terraform 1.3.9, it does not work for me.
Versions:

Terraform versions tested: 1.5.1, 1.4.6, 1.3.9
ec provider 0.7.0
elasticstack provider 0.6.2

I managed to find a workaround. If there is only one elasticsearch deployment, then you can set the ELASTICSEARCH_ENDPOINTS variable to the elastic cloud elasticsearch https endpoint. This fixes the connection refused error in terraform plan.

For me this workaround worked:
data "ec_deployment" "ec" {
  id = module.ElasticCloud.id
}

provider "elasticstack" {
  # Use our Elastic Cloud deployment outputs for connection details.
  # This also allows the provider to create the proper relationships between the two resources.
  elasticsearch {
    endpoints = [data.ec_deployment.ec.elasticsearch[0].https_endpoint]
    username  = module.ElasticCloud.elastic_username_output
    password  = module.ElasticCloud.elastic_password_output
  }
}

I too am experiencing this. Initial apply worked but subsequent give
 dial tcp [::1]:9200: connect: connection refused

 Terraform Provider

fixed inhttps://github.com/elastic/terraform-provider-ec/ 0.8.0


Readme - Ubuntu version confusion

Hello,
Setting up my Spring 2024 course using the 6th edition of the book.
Came here to learn about changes to the assignments with regards to the Linux versions.
I'm having trouble finding Ubuntu Server 23.04.
I am not finding 23.04 on the Ubuntu website.
What am I missing?
Thank you,

That's a typo on my part - 22.04 is the latest LTS you'll find on https://ubuntu.com/download/server and the one the book was originally written to match.  However, I tested the labs on both 23.04 (https://releases.ubuntu.com/lunar/) and more recently on 23.10 (also at https://ubuntu.com/download/server), but I forgot to update the version number from 23.04 to  23.10, so I fixed that just now.


FIX: Fix module for python 3 + fix display encoding

Thank you Clément, I've merged your work into my fork.
https://github.com/JEHoctor/MeshStatisticsExtension/tree/dev/Slicer-4.11.0-compat


±0 handling

As the current draft:
8. If value is -0𝔽 and min is +0𝔽, return min.
9. If value is +0𝔽 and min is -0𝔽, return min.
10. If value < min, return min.
11. If value is -0𝔽 and max is +0𝔽, return max.
12. If value is +0𝔽 and max is -0𝔽, return max.

The behavior is:
Math.clamp(-0, 0, Infinity) // +0
Math.clamp(0, -0, Infinity) // -0 -- why?
Math.clamp(-0, -Infinity, 0) // +0 -- why?
Math.clamp(0, -Infinity, -0) // -0

I couldn't find the discussion about the behavior related to ±0, and I'm also curious about the rationale behind it.
BTW, I also suggest change the spec text to make the return value much clear:
8. If value is -0𝔽 and min is +0𝔽, return +0𝔽.
9. If value is +0𝔽 and min is -0𝔽, return -0𝔽.
10. If value < min, return min.
11. If value is -0𝔽 and max is +0𝔽, return +0𝔽.
12. If value is +0𝔽 and max is -0𝔽, return -0𝔽.

I would indeed expect:
Math.clamp(-0, 0, Infinity) // +0
Math.clamp(0, -0, Infinity) // +0, because it's greater than -0
Math.clamp(-0, -Infinity, 0) // -0, because it's less than +0
Math.clamp(0, -Infinity, -0) // -0

Another possible option would be to treat -0 and 0 as equal. If the value being clamped is equal to one of the bounds, prefer returning the value being clamped as opposed to the bounds.
Which means:
Math.clamp(-0, 0, Infinity) // -0, because it's the first argument
Math.clamp(0, -0, Infinity) // +0, because it's the first argument
Math.clamp(-0, -Infinity, 0) // -0, because it's the first argument
Math.clamp(0, -Infinity, -0) // -0, because it's the first argument

It also means the following, by the same logic:
Math.clamp(0, -0, -0); // +0
Math.clamp(0, 0, -0); // +0

This last one, Math.clamp(0, 0, -0), has an intuitive result under this mental model. I'm not really sure what we would want it to return if we wanted to treat -0 as pseudo-less-than +0.

They're not equal, though - if you divide them into 1, you get opposite signed results.

Depends on the definition of equals. And less than. And greater than.
I would personally expect Math.clamp()'s semantics to be fairly similar to the built-in comparison operators, < and >, which don't treat -0 as different from +0 (while the equality operator does treat them as equal). I don't think we've ever had a spot in the language that compared -0 as less than +0, and it's slightly off-putting to introduce that comparison.
That's at least my gut reaction to this. I'm going to try and see if I can come up with an actual use-case for Math.clamp() with +/-0 arguments - I might not be successful though :).

Finding a real use-case for this sort of thing turns out to be really hard.
But what I did find out, was that Math.min() and Math.max() do treat -0 as less than +0. So I'm changing my mind - it makes sense to me to have Math.clamp() behave in a similar fashion to Math.min()/Math.max().
I do think it would be good to explicitly decide what the following will return:

I'd assume that we'd want this behavior:
Math.clamp(0, -0, -0); // => -0
Math.clamp(-0, 0, 0); // => 0

And for these, I have no idea:
Math.clamp(0, 0, -0); // => ??
Math.clamp(-0, 0, -0); // => ??

providing an upper bound that's less than the lower bound throws a RangeError, so both would throw.


Status page down

404 on status.keedrop.com

I have an uptimerobot pro account we could use if required.

That would be appreciated... would that make your account more expensive? Because I saw that the custom domain status pages aren't free anymore but I didn't want to pay any money just for that. But if you already have an account where it could run under existing capacity then that would be nice.
Alternatively I'll set up a static page somewhere with a free tier, maybe S3, with a redirect only.


Name field is overescaped

STR:
Edit your profile and change your name to: ~HELLO~
Note the tildes turn into ~

@fwenzel We are using this lib https://github.com/hapijs/hoek in reaction to some abuse yesterday. Looks like you can config it a bit to allow more characters.
Line in question https://github.com/bigboringsystem/bigboringsystem/blob/master/lib/profile.js#L29

It's fine if you escape that character, just don't overdo it (i.e., don't render the entity name, literally)

This isn't even just a matter of display, it's a bug. If you go to your profile and change your name to ~~ and save you will see the escaped text. If you save again, you get each of those characters escaped. It's escaping all the way down. Creating a pull to fix this in a few minutes.

Fix landed in #169.


Multiple connections between components lead to incorrect behaviour

Problem 1: Incorrect petri-net simulation

Create a new STG model.
Create a single place and a single transition
Create two arcs from the place to the transition.
Put a single token into the place.
Select "Simulation" tool.
The transition becomes enabled while there is a place with less tokens than there are arcs from the place to the transition.

The internal cause:
The simulation uses incidence information from NodeContextTracker, which is not aware of possibility of multiple connections.
Problem 2: Corruption of incidence information
Steps to reproduce:

Follow the steps described in "Problem 1".
Remove the token.
Remove one of the arcs.
Select "Simulation" tool
The transition becomes enabled while having a place without tokens in its preset.

The internal cause:
The NodeContextTracker class, who tracks which node is a pre-set of which, stores incidence information in sets: HashMap<Node, LinkedHashSet> presets, HashMap<Node, LinkedHashSet> postsets.
Object is removed from the set when the corresponding connection is removed. In the case when there are multiple such connections, the object is removed too early.
Possible solutions:

Forbid connections between the same components. This is the easiest solution, but will make weighted arcs impossible unless we implement them as a separate feature (see https://bugs.launchpad.net/workcraft/+bug/603706).
Change NodeContextTracker to track "connection weight" instead of the fact of nodes being connected.

mech at 2010-07-19T12:37:25Z:
NodeContextTracker is meant to be a class to track node contexts (incidence information) in a generic graph model. Creating more that one arc between nodes is not an invalid operation in general case.
Therefore, the correct behaviour is to remove nodes from pre-/post-sets when all connections involving the two nodes are removed.
Models that need more involved context tracking should not use the default context tracker.
Forbidding multiple arcs between the same node should only be implemented in Petri nets/STGs.


WIP: Add explicit code to make  s come out correctly

I caught up with @WebReflection quickly and he encouraged me to make an MR for any WIP (even though it's ugly!)
Problem
I found that when passing in   what would come out was ' ' (character 160, a NBSP). Because the output is HTML I actually want the   in the output.
Solutions
I originally started looking at html-escaper for this, but I think really the ideal solution might be to just not convert   to a character in the first place (at 'parsing time'?)
For now i'm looking for it in the output and replacing it, it's grimy but is helping me achieve my immediate goals
Example
In:
Foo    Bar

Out (actual):
Foo    Bar
 (spaces are char 160, nbsp characters, looks like github compresses them from 4 to 1 when showing here)
Out (expected):
Foo    Bar

Please let's keep this conversation in here as there's more around this topic, thanks:
https://github.com/WebReflection/linkedom/pull/68


added memopry limit to samtools

This created a bug on the cluster.

This is memory per thread!

This way it should work..

On my cluster environment It created a bug. If I don't specify the memory I get problems.


Missing howto connection ESP<->Modbus

I have searched every Issue and website regarding wbec, but I haven't found any information on how to connect the ESP to the modbus.
Have I missed something essential here or was this information taken from the project site because there are now ready to use modules?
I found one picture showing an adapter that was connected to the esp but had no electronic parts, but only the connector for modbus.
So it should be possible to connect the ESP directly to modbus or am I totally wrong?

Hi,
yes, questions regarding the hardware will not be supported here, due to the availability of ready-to-use modules. Sorry, but this is causing a lot of support efforts, which is unnecessary because with the modules it works right out of the box. Feel free to contact me via<EMAIL_ADDRESS>


get_files() points to files that might not exist

Core function get_files() returns the local path of profile files using the global index file. It uses the structure that get_argo() uses, but doesn't check if that action has actually been done. Should re-write get_argo() so they interact better, and perhaps a new function to check if the files exists and ask the user if they would like to download them if not.

Will fix this today - a simple Path(filename).exists() will show ones that are not saved locally, and can either remove them or return the files as a masked array. Should provide a warning to the user when reducing files to be used.

Fixed in commit b8dc501, closing issue.


feat: add netlify-blobs driver

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This adds a driver for Netlify Blobs, as well as the relevant docs
📝 Checklist

[ ] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

honestly, how are you so fast 🥹


[HOLD #15359] [reportActionCount] Optimistically add reportActionCount in createSplitsAndOnyxData

Please see the tracking issue for more. This is held until the seventh step of the roll-out plan is merged.

still holding on https://github.com/Expensify/App/issues/15359

Still on hold

Still on hold

@JmillsExpensify do we still need this?

Closing since this solution is not needed anymore.


Plugin does not recognise file links

The plugin does not recognise file links and sets the craft note as an anchor. However, it works correctly with entry links.
If I see it correctly, probably only the following regex needs to be adjusted here:
const pcs = formData.url.match(/^(.*?)(#(?!entry\:[0-9]+).*?)(#entry\:[0-9]+.*)?$/i);

Thanks for reporting!
This should be fixed with version 1.4.1.
https://github.com/heidkaemper/craft-redactor-anchors/releases/tag/1.4.1


Genome analysis

Big files are on OD.  I tried to clean and organize the rest. Let me know if something is missing.


[Models] Kubernetes Network Policy white icon missing

Current Situation

Desired Behavior
During registration, Model and Component SVGs are written to filesystem under their respective model version.
Environment

Meshery Server: v0.7.117-2

General Contributor Guides and Handbook

🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Understanding Meshery Models

📚 Models

📚 Components
📚 Relationships

👨💻Models Repository

Contributing to Meshery Models

Contributing Models

Contributing Components
Contributing Relationships

@leecalcote the kubernetes: network policy white icon appears for me, without a bug.
Could you share more details about the error or the ask here?


Does it support React Native?

I have been finding a suitable face analysis api in js for a while. I checked face-api.js and it seems like that is not supported in react native yet.
Is this library supported in react native?

I don't currently test for react-native, but it is on my to-do list
In theory, it should work and I'm willing to help with any issues that may arise
The key is to use nobundle flavor of human library and import tfjs-react-native manually before loading human, that way it can bind to it
Also, react-native does not have native DOM elements, so you must prepare input before passing it to processing as a tensor (that part is not difficult and it's already well documented)

Sounds cool!

i'm closing this issue as it was a general question only, but if there are any specific issues during implementation please report them and they will be looked at.

I am trying to use this library on expo (react native). But can't really figure out how to detect faces ids. Expo has a camera package for interacting device camera.  But in my case, I need more than just detecting faces (single face, blick, live, gender, ...etc.)
I got more of the code from the face-id example. But I can't really figure out how to integrate what is being captured by the device camera with this library. The examples depend heavily on the dom. But react native has no dom. Here is the complicated part of the code to write: await human.detect(dom.video);.
So having both detectFace and detectionLoop example-abstraction (without the dom) would be helpful. Any help would be appreciated.

first, any reason why piggyback on an issue that was closed a looong time ago? any questions, please open a new one. or if its just a question, open a discussion topic.
anyhow, if you take a look at https://github.com/vladmandic/human#inputs you'll see all input types that human supports.
there are absolutely no needs to use DOM if you're using react-native.
and human does not internally require DOM, that is only used in demos.


Alerts: how to make it recognizes the next line of Markdown Alerts?

What I'm trying to convert:
> [!IMPORTANT]
> 42

Start:
return $block = array(
                'element' => array(
                    'name' => 'div',
                    'attributes' => array('class' => "markdown-alert markdown-alert-$alertType"),
                    'handler' => 'elements',
                    'text' => array(
                        array(
                            'name' => 'p',
                            'attributes' => array('class' => "markdown-alert-title"),
                            'rawHtml' => $iconType
                        ),
                        array(
                            'name' => 'p',
                            'text' => '', // How to get the 42 to insert itself here?
                        )
                    )
                )

Continues:
protected function blockContinue($line, $block) {
if(preg_match('/^\>\s*(.*)$/', $line['text'], $matches)) {
            $block['element']['text'][1]['text'] = $matches[1];
        } else {
            $block['complete'] = true;
        }
        $block['element']['text'][1]['text'] .= "\n" . $line['body'];
        return $block;
}

I'm trying to get whatever is in the new line to correctly go to the 'text' above. But when I run, this is the error:

TypeError: Parsedown::element(): Argument #1 ($Element) must be of type array, string given

Any help will be appreciated. Thank you!

I'd love something like this too

Hi @BenjaminHoegh, I've seen your work on the ParsedownEntended extension when trying to launch my package. Although, I found a workaround without using the BlockContinue or Complete, your code looks promising. I will need to test it sometime.
Thanks for taking the time! I'll let you know.

Hi @BenjaminHoegh! My workaround did not work at all. So, it is not possible.


Create "meta codec" for serializing transactions

Scope: iov-write
We want to be able to add new transaction formats for blockchains, without requiring that all the code goes into web4 (with PRs) and must be published and updated on all clients... We also don't want to allow plugins of arbitrary code in web4-write, as it has access to the keys and is very sensitive.
Up to know, we define a custom code for each chain. Following #114, we now want to abstract that into "meta-codec" for serializing transactions that works for a "blockchain family". Thus we could use the weave format and sign byte calculations with dynamically loaded protobuf defintions, and then use that for bcp-demo, bns, and any other weave-based chain. We could set a list of contracts and APIs for the ethereum family and allow the same "meta-codec" to generate implementations pointing to specific contracts on eg. Rinkeby, ETH, and ETC.

[ ] Define format for weave-based chains and implement "meta-codec"
[ ] Add any "meta" into lisk based codec
[ ] Define format (using standard eth tools) and define "meta-codec" for all ethereum/web3/rlp chains
[ ] Test this is compatible with current bcp/bns implementation
[ ] Add type-safety for bcp-basic and bns queries

This is maybe many issues, definitely many, many PRs

Closing as mostly outdated. There is currently no plan for a meta-codec. Transaction type registration is now implemented in a decentralized fashion.


GatewayRequestFailedException when trying to read storage

When trying to read storage via GatewayProvider I get the following exception.
Call: provider.getStorageAt(accountAddress, Felt(0))
Response: com.swmansion.starknet.provider.exceptions.GatewayRequestFailedException: invalid literal for int() with base 10: '0x0'
Looking at starknet.js the key should be a plain number instead of a hex.

Thank you for reporting this issue. Fix will be a part of the next release.
We do have tests for that, but devnet accepts both formats https://github.com/Shard-Labs/starknet-devnet/blob/master/starknet_devnet/blueprints/feeder_gateway.py#L189.


Tagging in Single Select mode NOT working

Have a look at your examples.
Do you know how it would work ?

Duplicate #890  #983


Allow multiple queries directories

:sparkles: Load list of directories from config
:memo: Document repositories settings in config.yml file
:art: Add zerolog to sqleton
:sparkles: Add configuring zerolog
:art: bump go mod

Closes #57


Open contributor links in browser

Please describe the feature you want this project to offer
Open the links on the contributors page in a browser
Describe the solution you'd like
Links such as the contributor profile should open in a browser/webview.

I would Like to work on this, could you please assign this to me, @IshanDhruv


To test the assimp library on GraphFuzz.

Hi, GraphFuzz is a very effective testing library API's work!!!!
However, when I tested the assimp library  on GraphFuzz, I encountered some issues.
Here are my steps:
1. git clone --depth=1 https:github.com/assimp/assimp.git
2. mkdir assimp_output
3. gfuzz doxygen --inputs ./sourceCode/assimp --output ./assimp_output
4. gfuzz schema infer ./assimp_output/xml ./assimp_output/schema.yaml
5. gfuzz gen cpp ./assimp_output/schema.yaml .
When I ran the fifth command, I received the following error message:
[!] Error while parsing: AC3DImporter()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~AC3DImporter() override
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Material()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Object()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Surface()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~AMFImporter() override
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: BaseNode(Type _mType, const std::string &name)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Bone(const std::string &name)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Camera(const std::string &name)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Light(const std::string &name)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Material(const std::string &name)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Mesh(const std::string &name)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Parser(const char *szFile, unsigned int fileFormatDefault)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ASEImporter()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: AttachmentInfo()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: AttachmentInfo(aiScene *_scene, aiNode *_attachToNode)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~B3DImporter() override
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: BVHLoader()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~BVHLoader()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~BaseImporter()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~BaseProcess()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ~BatchLoader()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Base()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ConversionData(const FileDatabase &db)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: CustomDataLayer()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: DNAParser(FileDatabase &db)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ElemBase()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: FileDatabase()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: FileOffset()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: MTFace()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: MVert()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: Object()
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ObjectCache(const FileDatabase &db)
'NoneType' object has no attribute 'base_type'
[!] Error while parsing: ObjectCache(const FileDatabase &)
'NoneType' object has no attribute 'base_type'
Traceback (most recent call last):
File "/home/server1/.local/bin/gfuzz", line 8, in
sys.exit(main())
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/cli.py", line 23, in main
options[args.mode].execute(args)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/cliopt.py", line 17, in execute
res = self._execute_fn(args)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/gen.py", line 24, in execute
OPTIONS[args.gen_mode].execute(args)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/cliopt.py", line 17, in execute
res = self._execute_fn(args)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/cpp/gen_cpp.py", line 1328, in execute
generate_harness(
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/cpp/gen_cpp.py", line 1247, in generate_harness
raw_scopes, max_num, errors = collect_scopes(schema, ignore_keywords, generate_dry)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/cpp/gen_cpp.py", line 1026, in collect_scopes
scopes.append(CPPScope.destructor_for(schema, obj))
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/cpp/gen_cpp.py", line 319, in destructor_for
return CPPScope.from_signature(schema, parent, sig, False)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/cpp/gen_cpp.py", line 337, in from_signature
scope_type = _classify(parent, sig, is_static)
File "/home/server1/.local/lib/python3.8/site-packages/gfuzz/commands/gen/cpp/gen_cpp.py", line 251, in _classify
if sig.func_name.name == obj_name and not is_static:
AttributeError: 'NoneType' object has no attribute 'func_name'
Is it due to my improper usage or some other reason? Looking forward to your assistance and your message!!!
Thanks!!

Hi, unfortunately the doxygen tool is still very experimental -- there are some edge cases that it does not properly handle, particularly with namespaces.
The issue with:
[!] Error while parsing: AC3DImporter()
'NoneType' object has no attribute 'base_type'

is caused by this struct definition:
struct_Assimp::AC3DImporter:
  default_destructor: true
  headers:
  - ACLoader.h
  methods:
  - AC3DImporter()
  - ~AC3DImporter() override
  - bool CanRead(const std::string &pFile, IOSystem *pIOHandler, bool checkSig) const
    override
  name: Assimp::AC3DImporter
  static_methods: []
  type: struct

In order to find the constructor and destructor, the gfuzz tool expects the function name to match either <struct_name> or ~<struct_name>. Since the name is defined with a namespace as Assimp::AC3DImporter, it expects the constructor to look like: Assimp::AC3DImporter()
Unfortunately C++ is complex enough that there are still a fair number of edge cases like this in graphfuzz.

In general, I wouldn't recommend trying to harness the entire API at once. Rather, the strategy I used was to use the doxygen tool to generate a helpful starting point, then I copy and pasted the structs/classes I was interested in fuzzing in a new schema.
It definitely looks like Assimp could benefit from API fuzzing. I would recommend starting with one or two core structs and try to get those working in an isolated harness. Then you can try to expand the harness with new structs.
Let me know if you run into any specific issues trying to do this!

Hi, could you share your custom.yaml file? The error message No initializer tree for type: "aiScene" means that GraphFuzz could not figure out a way to construct the struct aiScene.

I'm very sorry, I forgot to upload. The compressed file contains the relevant files.
assimp_output.tar.gz


検査件数を追加

東京の表をそのまま貼って数字を更新していくのはどうでしょう？

検査(実施)件数であれば、この表が対応しているかも。

そうですね！こちらが正確です！

@amouro さん
Could you make 検査実地件数 graph that connect to sammary csv as well?

水谷さんが今までのCSVを作成してくれている。
https://codeforokinawa.slack.com/archives/C01119TC1HQ/p1587707048493400?thread_ts=1587702958.491100&cid=C01119TC1HQ

I'm working on this issue but I found the data is not reliable

検査人数累計 and 検査実施人数 are not related

Lots of days are missing (There are 13 Days without data)

@masakifujie さん would you ask Takesue san about it? The data source is problematic and not usable for this diagram.

I made the card and also update the automate converter.
But because of the problem of the data, this chart is not correct and is not reliable.

if we can have all daily 検査実施人数 data, it's good to merge.

This doesn't deploy to live site correctly?

Yes, It's not correct .
Is it possible to fix for update live site?

@masakifujie Since you've updated the summary.csv and the converter ran automatically. It is correct and match to the data now.


feat(auth): platform instance ownership in policies

This PR introduces two fields for DataHubPolicyInfo: platformInstanceOwners and platformInstanceOwnersTypes.  With this change authorization policies can be restricted to platform instance owners in case a Metadata asset belongs to a particular platform instance. By default platformInstanceOwners is set to false. When this flag is set to True, it is possible to specify which particular types  (i.e. TECHNICAL_OWNER, BUSINESS_OWNER) of ownership will be considered for the policy with the platformInstanceOwnersTypes  field. As a result, for example, the option of granting rights to change tags of datasets to only the owners of the platform instance they belong to is available. In addition, the type of this ownership can be specified.
Beside changes in the PolicyEngine and other parts of backend, also UI was amended to allow for new capability to be set as show below:

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable):
Authorization policies restricted to platform instance owners
[x] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
It would be nice to update documentation in access-policies-guide.md, but images must be uploaded to separate repo.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Would really urge you to consider the following approach.
Containers + Platform instances are containers, just like Glossary Term Groups.
Glossary Term Groups support a privilege called "Manage Children" which grants all access to the children groups + terms. During evaluation time, we check whether there is a parent term group for which the user has "Manage Children" permissions. If yes, we authorize actions against the child groups or terms.
I'd recommend a similar approach to retain consistency. This will also make the default setup experience much simpler for the majority of users, most of which do not actively leverage the platform instance concept today. This will also reduce the scope of this PR.
If we continue down this path, I can see this final panel exploding to support "Container" and "Container owner" use cases and "Domain" and "Domain owner" use cases as well, but I do not feel that this is the right place to declare controls for managing such groups of assets.
What do you think?
Cheers
John

Responding here.

"Manage Children" approach is too broad for Platform Instance (and Containers).
Such a grant enables owners to manage all entities and aspects below in the hierarchy. While this may be valid for Glossary >Node/Term hierarchy, this results too broad when considering the Platform Instance (and Containers) hierarchy. Actually, >it's a little bit surprising that we have fine-grained capabilities for resource owners, such as "Add Terms", or "Edit >Properties" to name a couple, whereas for Platform Instance (and Containers) owners it's all or nothing; as soon as I'm >owner of the Platform Instance I can update any aspect or entities below in the hierarchy. Instead, we think that fine->grained metadata privileges should be supported for Platform Instance (and Containers) owners, which is the approach we >follow in the PR.

So the idea we took for Glossary Term Groups is to have BOTH a broad "Manage Children" permission, along with more granular permissions: Edit Children Tags, Edit Children Glossary Terms.... Etc, you can imagine listing out all the core entity-level permissions.

While we fully agree that the approach should be generalized as much as possible to accommodate other existing (such as >Containers) and future (such as Domains, Data Product, ..) hierarchies, this may require to redesign how these hierarchies >are indexed if we don't want to introduce some performance penalty in the authorization layer. The concern on >performance was firstly mentioned in the review of our previous contrib: ownership type update on the Resource owners >based policy https://github.com/datahub-project/datahub/pull/7499. So, when we faced this new PR we explicitly and >exclusively support Platform Instance while keeping out Containers. Fetching Platform Instance from a Resource is a fixed >and single extra hop that we need to resolve; so still the performance penalty introduced can be assumed. However, >extending the feature to Containers would require to iteratively raise a request to go 1-level up in the hierarchy; so one >request per level. Same issue can be found when traversing the Glossary hierarchy

Performance cost IS REAL concern. I think that we can of course improve how we do things by fetching container hierarchies, or using the new Browse V2 path that was recently added to make efficient fetching of all parent containers much easier. But I think we'll have to face this cost. Usually real-world container paths are luckily not that deep.
Final concern:

where the GlossaryUtils.canManageChildrenEntities is called. This means that the authorization validation must be >explicitly invoked from all glossary mutations. Following the same approach for Platform Instance and Containers is >basically not possible (or very time-consuming and impacting many places), since the number of possible use cases
(mutations) is much more bigger than in the case of Glossary Nodes/Terms.

We'll indeed need to update some resolvers to basically check whether the current actor has the ability to perform the action based on permissions associated with a parent container.. For example, in the addTags mutation we'd need to add a condition that checks all containers for whether there is the correct permission. I can provide a set of all the places, and help to implement this as well so that we don't miss any.
We've actually heard this use case around Containers, Platforms, Platform Instance management before.. and want to make sure that we make it as generic as possible.
Does this address the concerns? If I were implementing the feature today, this is how I'd build it!

So the idea we took for Glossary Term Groups is to have BOTH a broad "Manage Children" permission, along with more granular permissions: Edit Children Tags, Edit Children Glossary Terms.... Etc, you can imagine listing out all the core entity-level permissions.

I find this very redundant... from the point of view of the user as well as the implementation such approach requires.

Performance cost IS REAL concern. [...] Usually real-world container paths are luckily not that deep.

I'm ok to rely on such assumption.

This is CORRECT. GraphQL layer handles app-layer authorization. The current assumption is that the Ingestion Clients have full access to change the metadata graph.

TBH this was new for us and shocking 😅 We need to investigate the capabilities the new  REST_API_AUTHORIZATION_ENABLED_ENV env var enables.

We've actually heard this use case around Containers, Platforms, Platform Instance management before.. and want to make sure that we make it as generic as possible.

We talk about the "Manage Children" permission, but actually, this hierarchy is more semantic than properly structured in the entity graph. Eg. Platform Instance is 1:1 relationship with Dataset and Container... but is not reachable from the Container hierarchy itself. The same for Platform. The same for Domain... is domain above or below a Platform or a Platform Instance? And we also have the new Data Products. Unless I'm missing something, the overall hierarchy is not so clear, much more closer to a graph and then we can have loops 😅

@jjoyce0510  As discussed yesterday:

while there is alignment on the utility of Platform Instance owner policies
we understand the concerns on still missing an implementation approach that can be easily scalable to other containers different from Platform Instance
so we have planned to unblock this with the use of Authorizers plugins instead

Of course, in parallel we can have discussions on how to eventually fix this in the upstream project 👍
@amanda-her You can close this PR once you are back 😄

Closing per previous comment.


[1.3.0-RC1] update task fails even if UpdateConfiguration.withMissingOk(true)

That's a regression in 1.3.0-RC1.
Reproducer:

include a missing libraryDependency
updateConfiguration := updateConfiguration.value.withMissingOk(true)
call update

Previously, the update call succeeded, now it fails.
This functionality is needed in sbt-dependency-graph to support showing graphs even if some dependencies are missing.
See also https://github.com/jrudolph/sbt-dependency-graph/issues/178

@jrudolph Thanks for the report!

It seems like #4688 is closed, is there any update on this issue?

@rscarvalho This is basically how Coursier works currently. A bigger picture issue is https://github.com/coursier/coursier/issues/1541.

All the docs I can find via google tell me to use sbt-dependency-graph to vi ew my dependency tree. I get why its broken but what is my alternative?

@undrewb If nothing works, you can opt out of Couriser by useCoursier := false at least temporarily.


[5.10] [Sema] Correctly re-contextualize if/switch exprs in lazy vars

5.10 cherry-pick of https://github.com/apple/swift/pull/70319

Explanation: Fixes an issue where an if/switch expression could not be used in a local lazy variable if it introduced a binding, and would crash for asserts builds.
Scope: Affects the use of if/switch expressions in local lazy vars.
Issue: rdar://119158202
Risk: Low, the fix is fairly straightforward and should result in us re-contextualizing Decls more thoroughly in the RecontextualizeClosures walker.
Testing: Added tests to test suite
Reviewer: Pavel Yaskevich

@swift-ci please test

@swift-ci please test Linux

@swift-ci please test Linux

@swift-ci please test Linux


[prod-beta] update deploy-cloud workflow

Follow-up to #526 (+ #534, #538) .. copying workflows to the relevant branches
Parent (+links to other branches): #544
This just updates the existing workflow added to prod-beta in #532 to match master.
NOTE: merging this will cause a build (prod-beta)

Landed in prod-beta via a force-push from master-stable (4.4cloud02 release).


Hero image not rendered properly from next.js with style-jsx

Expected Behavior

The hero image should be shown on the page, and the text should be in the center of the image
Current Behavior

The image is not there, and the texts are disappear.
Steps to Reproduce (for bugs)

Create a component components/Page.js

import Head from 'next/head';

const Page = ({title, children}) =>

      <title>{title}</title>
      <meta name='viewport' content='width=device-width, initial-scale=1'/>
      <meta charSet='utf-8'/>
      <link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.14/semantic.min.css'/>

    {children}

;

export default Page;

Create pages/index.js

import React from 'react';
import Page from '../components/Page';

const HeroImage = ({children}) =>

    {children}

    {/*language=CSS*/}

;

const HeroTitles = () =>

I am John Doe

And I am a Photographer

    <button>
      Get Started
    </button>

    {/*language=CSS*/}

;

const Index = () =>
  <Page title="project Help">
      <HeroImage>
        <HeroTitles/>
      </HeroImage>
  </Page>;

export default Index;

Run the app via npm run dev, no image there. Same for build then start.

Create a index.html, and everything is fine, the hero image is there at top and text are all right in the center.

    <title>project Help</title>

    <link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.14/semantic.min.css'/>

I am John Doe

And I am a Photographer

          <button>Get started</button>

Context

Strange enough, after next has rendered the index page, if you find that hero-image class in developer panel, and try to disable and re-enable the one of the css properties. The image with all the text will be shown. But still not right, because the texts are not centered.
I already tried to Empty cache and hard reload, no luck.
Your Environment

Tech
Version

next
latest

node
8.9.4

OS
OS X  10.13.3

browser
Chrome 63

etc

Hi Albert, I checked your code to see what's wrong and you're right, the same code in index.html and in Next doesn't behave in the same way, although my css knowledge is very basic I was able to notice that the body and divs inside had a height of 0 (like if they didn't have any content).
Changing height: 50% to height: 50hv; in .hero-image solved the issue (https://stackoverflow.com/questions/40490852/height-0-on-body)
btw the href to semantic.min.js is missing https:

@lfades Thanks for the help!
Yes, by giving that .hero-image a static height indeed solves the problem, a huge progress, but why? That 2 code seems identical, at least to me...

They are identical in code, but when you inspect them Next is adding new elements that change the final html

@lfades Thanks. So, as the problem solved practically.
I re-create the whole thing in create-react-app, seems the same result.... OK, so next.js is fine?
Should I close this issue?
Or it worths some digging to verify if it's a bug or not?

I guess we can close it. Pretty sure it's not an issue with Next 🙏


Remove deprecated components that have no usage across

As a part of https://github.com/github/primer/issues/2074 - splitting this PR into smaller ones to move iteratively.
Removed deprecated components (none of them has any usages.)

BorderBox,
ChoiceFieldset
Flex
Grid
Position
Dropdown
FormGroup
SelectMenu
InputField
Label

Removed all related docs, tests, snapshots as well.
Screenshots
Please provide before/after screenshots for any visual changes
Merge checklist

[x] Added/updated tests
[x] Added/updated documentation
[x] Changes are SSR compatible
[x] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

Regarding the VRT test failures: https://github.com/primer/react/pull/3444#issuecomment-1636299156 - Updating the snapshots


"Unknown Group" needs to default to the last group regardless of alphabetical order

This could be easily fixed by sorting groups by colorSort/behaviorSort/buildingSort instead of alphabetically and if a sort isn't specified, manually define it alphabetically


Implement new Taproot verification

This is a test patch for https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/93
The actual API will need iterating upon, can be done after 93 is released.

Current status: some linking error just poped up, before that the unit test fails because script verification fails.

I got your taproot test working here. The main problem sems to be the UTXO struct. I've changed it to:
pub struct Utxo {
    pub script_pubkey: *const c_uchar,
     pub script_pubkey_len: c_uint,
     pub value: c_int64,
 }

If you pass a &[T] it'll be appended with the length, which will meeses up with the C side.
Also updated the verify_taproot_script to the following:
/// Verifies spend of a taproot input script.
pub fn verify_taproot_script(
    script: &Script,
    index: usize,
    amount: Amount,
    spending_tx: &[u8],
    spent_outputs: &[TxOut],
) -> Result<(), BitcoinconsensusError> {
    use bitcoinconsensus::Utxo;

    // We need this to have somewhere in memory to reference - is this correct?
    let encoded = spent_outputs.iter().map(|tx_out| encode::serialize(&tx_out.script_pubkey)[1..].to_vec()).collect::<Vec<Vec<u8>>>();

    let mut v = vec![];
    for (i, script_pubkey) in encoded.iter().enumerate() {
        let script_pubkey_len = script_pubkey.len() as u32;
        let value = spent_outputs[i].value.to_sat() as i64;

        let utxo = Utxo {
            script_pubkey: encoded[i].as_ptr(), // Is this pointer valid when passed across ffi boundary?
            script_pubkey_len,
            value,
        };
        v.push(utxo);
    }
   ...
}

encode::serialize is appending the vector length to it, but we don't want that here. Is there another method that does't do that?
I'll dig a bit more to see if I find more problems, but seems to work now!

You legend!!! I'm travelling today but I'll try to get this PR updated this morning or during the trip. Thanks again man, massively appreciated.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

86 of 89 (96.63%)  changed or added relevant lines in 2 files are covered.
23 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 83.834%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/consensus/validation.rs
85
88
96.59%

Files with Coverage Reduction
New Missed Lines
%

bitcoin/src/consensus/validation.rs
23
69.14%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
19514

Relevant Lines:
23277

💛  - Coveralls

BOOM! You solution works @Davidson-Souza, thanks again man - super cool that you found the problem.
This won't pass CI because of the manifest patching but it can be verified locally by pulling it down and running
cargo test verify_segwit_v1 --features=bitcoinconsensus

Why are we encoding the script at all?

Because I was wildly guessing what went in there without thinking hard enough then never re-visited the decision to do so :)
Fixed now and removed the convoluted comment in rust-bitcoinconsensus.

Do we want this in next release @apoelstra?

Punting to next release.


feat: move install of package ca-certificates to base

Hi @dergeberl,
This PR moves the install of the package ca-certificates to the base
Without we get with the multitool-net image following error:
# curl https://microsoft.com
curl: (77) error setting certificate verify locations:  CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs

As the ca certificates are missing.

Thanks again. It is merged and I created a new release. The new images (v0.3.0) should be available in the next minutes.


docker/dsengine.sh - CRG0009E: not authorized to access the specified account

As a DataStage User
I want to test DataStage Anywhere on Docker (and subsequently on AWS)
I created

$IBMCLOUD_APIKEY via https://cloud.ibm.com/iam/apikeys
$ENCRYPTION_KEY & $ENCRYPTION_IV using openssl enc -aes-256-cbc -k secret -P -md sha1
$IBMCLOUD_CONTAINER_REGISTRY_APIKEY via https://cloud.ibm.com/iam/serviceids/ServiceId
$PROJECT_ID via https://dataplatform.cloud.ibm.com at Dallas region

When I ran
./dsengine.sh start -n 'remote_engine_name_01' \
                    -a "$IBMCLOUD_APIKEY" \
                    -e "$ENCRYPTION_KEY" \
                    -i "$ENCRYPTION_IV" \
                    -p "$IBMCLOUD_CONTAINER_REGISTRY_APIKEY" \
                    --project-id "$PROJECT_ID"

I encounter
{
    "code": "CRG0009E",
    "message": "You are not authorized to access the specified account. See https://cloud.ibm.com/docs/Registry?topic=Registry-troubleshoot-auth-req",
    "request-id": "309ad3ee-7bb2-4f6a-8570-2f4bfbf41632"
}

Tracing back to dsengine.sh,  this was triggered while executing line 392 of dsengine.sh script.
icr_response=$(curl -s -X GET -H "accept: application/json" -H "Account: d10b01a616ed4b73a9ac8a052424a345" -H "Authorization: Bearer $CR_IAM_TOKEN" --url "https://icr.io/api/v1/images?includeIBM=false&includePrivate=true&includeManifestLists=true&vulnerabilities=true&repository=${PXRUNTIME_IMAGE_NAME}")

I have tried granting a lot of different Access (e.g. IBM Cloud Pak for Data, Container Registry, Cloud Object Storage, DataStage, IBM Cloud Projects) to the Service Id, but none of them can get me past the CRG0009E error while trying to access icr.io/datastage/ds-px-runtime
I believed, this may be due to my account not having access to the respistory icr.io/datastage/*
May I know how gain access to the repository?
If you notice I made any error during the setup, please do point it out as well.

Any ideas, @brahmaroutu ?


A typo in ingress redirect regexp makes traefik pod fragile

Do you want to request a feature or report a bug?
Bug
What did you do?
I accidentally forgot to double-escape . in a redirect regex and created an ingress object like this:
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    traefik.ingress.kubernetes.io/redirect-regex: ^https?://example\.com/(.*) # ← missing one more \ before .com
    traefik.ingress.kubernetes.io/redirect-replacement: https://www.example.com/$1
    traefik.ingress.kubernetes.io/redirect-permanent: "true"
  name: example
spec:
  rules:
  - host: example.com
    http:
      paths:
      - backend:
          serviceName: example
          servicePort: http
  - host: www.example.com
    http:
      paths:
      - backend:
          serviceName: example
          servicePort: http

This triggered the following warning:
level=error msg="Near line 295 (last key parsed 'frontends.example.com.redirect.regex'): invalid escape character '.'; only the following escape characters are allowed: \\b,\\t, \\n, \\f, \\r, \\\", \\\\, \\uXXXX, and \\UXXXXXXXX"

Searching for this message quickly brought me to https://github.com/containous/traefik/issues/3409#issuecomment-392827301 and I fixed my issue by adding one more \ before the dot (^https?://example\.com/(.*) → ^https?://example\\.com/(.*)). 👍
However, I noticed that recreating the traefik's pod while an issue with a regexp is out there, makes it fail to apply all existing ingress rules. This hides the entire workload from the external users and people start seeing 404 for any URL as if there were no ingress rules at all. Interestingly, the new pod reports that it is healthy and there are no other signs of such a major problem.

traefik pod logs
time="2018-08-05T15:33:01Z" level=info msg="Using TOML configuration file /config/traefik.toml"
time="2018-08-05T15:33:01Z" level=warning msg="web provider configuration is deprecated, you should use these options : api, rest provider, ping and metrics"
time="2018-08-05T15:33:01Z" level=info msg="Traefik version v1.7.0-rc3 built on 2018-08-01_01:37:51PM"
time="2018-08-05T15:33:01Z" level=info msg="\nStats collection is enabled.\nMany thanks for contributingto Traefik's improvement by allowing us to receive anonymous information from your configuration.\nHelp us improve Traefik by leaving this feature on :)\nMore details on: https://docs.traefik.io/basics/#collected-data\n"
time="2018-08-05T15:33:02Z" level=info msg="Preparing server https &{Address::443 TLS:0xc4202a3200 Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc4204fae80} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2018-08-05T15:33:03Z" level=info msg="Preparing server http &{Address::80 TLS:<nil> Redirect:0xc42060ae80 Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc4204faea0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2018-08-05T15:33:03Z" level=info msg="Preparing server traefik &{Address::8080 TLS:<nil> Redirect:<nil> Auth:0xc420392e70 WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> ForwardedHeaders:0xc4204faec0} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2018-08-05T15:33:03Z" level=info msg="Starting provider configuration.ProviderAggregator {}"
time="2018-08-05T15:33:03Z" level=info msg="Starting server on :443"
time="2018-08-05T15:33:03Z" level=info msg="Starting server on :80"
time="2018-08-05T15:33:03Z" level=info msg="Starting server on :8080"
time="2018-08-05T15:33:03Z" level=info msg="Starting provider *kubernetes.Provider {\"Watch\":true,\"Filename\":\"\",\"Constraints\":[],\"Trace\":false,\"TemplateVersion\":0,\"DebugLogGeneratedTemplate\":false,\"Endpoint\":\"\",\"Token\":\"\",\"CertAuthFilePath\":\"\",\"DisablePassHostHeaders\":false,\"EnablePassTLSCert\":false,\"Namespaces\":null,\"LabelSelector\":\"\",\"IngressClass\":\"\",\"IngressEndpoint\":null}"
time="2018-08-05T15:33:03Z" level=info msg="Starting provider *acme.Provider {\"Email\":\"letsencrypt@example.com\",\"ACMELogging\":false,\"CAServer\":\"https://acme-v02.api.letsencrypt.org/directory\",\"Storage\":\"/acme/acme.json\",\"EntryPoint\":\"https\",\"KeyType\":\"\",\"OnHostRule\":true,\"OnDemand\":false,\"DNSChallenge\":null,\"HTTPChallenge\":{\"EntryPoint\":\"http\"},\"TLSChallenge\":null,\"Domains\":null,\"Store\":{}}"
time="2018-08-05T15:33:03Z" level=info msg="Testing certificate renew..."
time="2018-08-05T15:33:03Z" level=info msg="ingress label selector is: \"\""
time="2018-08-05T15:33:03Z" level=info msg="Creating in-cluster Provider client"
time="2018-08-05T15:33:03Z" level=error msg="Near line 291 (last key parsed 'frontends.example.com.redirect.regex'): invalid escape character '.'; only the following escape characters are allowed: \\b,\\t, \\n, \\f, \\r, \\\", \\\\, \\uXXXX, and \\UXXXXXXXX"
time="2018-08-05T15:33:06Z" level=info msg="Server configuration reloaded on :8080"
time="2018-08-05T15:33:06Z" level=info msg="Server configuration reloaded on :443"
time="2018-08-05T15:33:06Z" level=info msg="Server configuration reloaded on :80"
time="2018-08-05T15:33:16Z" level=error msg="Near line 295 (last key parsed 'frontends.example.com.redirect.regex'): invalid escape character '.'; only the following escape characters are allowed: \\b,\\t, \\n, \\f, \\r, \\\", \\\\, \\uXXXX, and \\UXXXXXXXX"

Fixing the faulty regexp after the pod has restarted does not ‘heal’ ingress rules, so the only remedy is to fix the regexp, kill the pod and wait for the new one to launch.

What did you expect to see?
I expected traefik to be a bit more tolerant to a missed \ in one of the annotations and not make all ingress rules unavailable on pod recreation. This behaviour may lead to a pretty long downtime if traefik restarts in the middle of the night when no one is around.
The only reason why I could quickly detect and fix the problem in regex for myself was because I was playing with a new cluster. Originally, my annotation looked like this and it worked:
traefik.ingress.kubernetes.io/redirect-regex: ^https?://example.com/(.*)

I remembered that . stands for any character and changed the annotation to:
traefik.ingress.kubernetes.io/redirect-regex: ^https?://example\.com/(.*) # \. instead of \\.

All worked! (I guess it's because traefik kept the last known valid rule in its memory)
I can easily imagine someone else doing this kind of change and then leaving traefik working for days or weeks. Then, once traefik dies at one point and a new pod gets created, all ingress rules go down! 😬
It'd be great if a typo in a regex only affected the rule it belongs to.
Output of traefik version: (What version of Traefik are you using?)

1.7.0-rc3-alpine

What is your environment & configuration (arguments, toml, provider, platform, ...)?
official k8s helm chart

The regex in the kubernetes provider does not actually parse the regex to confirm it is valid:
https://github.com/containous/traefik/blob/master/provider/kubernetes/kubernetes.go#L885
It just passes the value into the template.
Then when the template is submitted to the server, it causes the unparseable template.
The solution would be to parse the regex to ensure that it is valid before continuing.

If my recent tests were adequate, a single typo done once in a regexp makes it necessary to restart the pod. Otherwise, the rules are ‘frozen’ at the last error-free state and fixing the faulty ingress does not help.

@kachkaev let me rephrase:
The solution would be to have traefik parse the regex from the annotations to ensure that it is valid before continuing to apply the regex to the template. This will allow the ingress to be skipped, as is expected from a mal-formed ingress/annotation`
😄

Closed by #3753.


SILOptimizer: add an option to profile and measure the runtime of optimization passes.

When enabling the option -sil-opt-profile-repeat=<n>, the optimizer runs passes n times and reports the total runtime at the end of the pass pipeline.
This is useful to profile a specific optimization pass with sil-opt.
For example, to profile the stack promotion pass:
  sil-opt -stack-promotion -sil-opt-profile-repeat=10000 -o /dev/null test.sil

To run a pass repeatedly it's required to restore the original state for the next run. Therefore this PR also contains another commit which adds infrastructure to make snapshots from SILFunctions.

@swift-ci smoke test


It would seem that OnModelCreating is not virtual.

 This doc says that OnModelCreating is virtual but it's not:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0115	'MyMusicCollectionDBContext.OnModelCreating(ModelBuilder)': no suitable method found to override	TheGLJ	C:\Users\e5q8ngj\Documents\Projects\TheGLJ\TheGLJ\Models\MyMusicCollectionDBContext.cs	27	Active
public class MyMusicCollectionDBContext : DbContext
{
	// You can add custom code to this file. Changes will not be overwritten.
	//
	// If you want Entity Framework to drop and regenerate your database
	// automatically whenever you change your model schema, please use data migrations.
	// For more information refer to the documentation:
	// http://msdn.microsoft.com/en-us/data/jj591621.aspx

	public MyMusicCollectionDBContext() : base("name=MyMusicCollectionDBContext")
	{
	}

	public System.Data.Entity.DbSet<TheGLJ.Models.GENRE> GENRE { get; set; }

	public System.Data.Entity.DbSet<TheGLJ.Models.ARTIST> ARTIST { get; set; }

	protected override void OnModelCreating(ModelBuilder modelBuilder)
	{
		modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
		base.OnModelCreating(modelBuilder);
	}
}

@LJ9999 Firstly you could check yourself if the method is virtual - the source code is all here.
https://github.com/aspnet/EntityFramework6/blob/c714ec0dfe87a14d929841bd543acd3fa802e786/src/EntityFramework/DbContext.cs#L227
Secondly you will see that the parameter type is DbModelBuilder, not ModelBuilder which is why you are getting an error as the method signature you provided does not match the method you are trying to override.
I'm not sure where you took the example from, or if you have mistyped it.
VS will autocomplete the override for you with all the correct parameter types and name if you use it.
If there is a mistake in the official documentation/examples, please point out where it is.
There is an example of fluent configuration in the docs.


local subtitles not playing

does not play local and web subtitles, will continue to play video though.
my command for the web video with local srt file looks like this:
castnow http://fsd2.vodlocker.com:8777/lgceai7pno4pcnokak5ch46gw
ytrkwjptq2hk4fbjqlgvens3w4w5hrdlu/v.mp4 --subtitles \Downloads\w\w.srt
my path to the web srt file looks like this
castnow http://fsd2.vodlocker.com:8777/lgceai7pno4pcnokak5ch46gw
ytrkwjptq2hk4fbjqlgvens3w4w5hrdlu/v.mp4 --subtitles https://fs10n4.sendspace.com
/dl/c534b77b6c4f704f8c5f6763436f09b0/548caba42045fb07/5ol0x1/w2.srt
Debug is also not a recognized command when I try to input
DEBUG=castnow* castnow  --subtitles </path to srt file>

You can play the torrent alone but not with --subtitles /local/path/to/subtitles.srt
it starts (launching and) loading then "Error: Load Failed"; even with windows (seven) absolute path...


diff between this library and the earlier one; pusher-js/react-native

This library will (in time) replace the RN support in the js library. We don't intend to immediately remove the JS/react-native support for the time being.


Wrong declaration!

This declaration:
int FindINET6Addr(
const char szHost,
int nPortNo,
int flags,
int sock_type,);
is wrong!
And not only is it syntactically wrong but it differs from what is declared in atlsocket.h:
inline int CSocketAddr::FindINET6Addr(
In_z LPCTSTR szHost,
In int nPortNo,
In int flags / = 0 /,
In int sock_type / = SOCK_STREAM */) throw()

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

ID: 4dfa9f58-e82d-122b-ffd4-5f8f2383eddc
Version Independent ID: b9ac0f2a-b47c-58e5-0940-36fa246cf2be
Content: CSocketAddr Class
Content Source: docs/atl/reference/csocketaddr-class.md
Product: visual-cpp
GitHub Login: @mikeblome
Microsoft Alias: mblome

@Nijegorodov It's okay for the syntax declaration not to have all of the typedefs and SAL annotations found in the header file, as long as they are effectively the same. I note that the topic should be updated to strip the bogus commas, indicate the missing default parameter values, and show both the ANSI and UNICODE versions of the APIs. That is, the string parameters can be wide strings if compiled using the UNICODE switch, so that needs to be documented. I'll put something together to address this issue.


Using both apexdoc annotations and markdown

When possible, I like to use javadoc/apexdoc style annotations because standards and all, but I also appreciate the ability to use markdown for things that aren't supported. For example, sometimes I like to include a change log in my classes, but @changelog obviously isn't a thing.
The problem is that when I use an apexdoc annotation and then follow it with markdown, it still thinks it's part of the previous tag.
For example:
/**
 * @description An example class
 *
 * @author Janet Kang
 * @date 01 Jul 2024
 *
 * **Changelog:**
 * - 16 Jul 2024
 *   - Added a really important comment
 */

Renders as

As you can see, the change log is indented because it thinks it's still part of the @date tag. Is there any way around this besides switching out all of the tags for markdown? I couldn't figure out how to tell it to "break" and start something new.

Hi. At present IcApexDoc considers everything before the first non-@description tag (if present) to be description text, and everything after that to be part of the most recent ApexDoc tag. It doesn't have the notion of free-form text after non-@description tags. I'm also not entirely sure how it would/should know that text should not be considered part of the most recently seen tag in a way that would be definitive and appropriate for all doc authors. I'll have to chew on this one a bit...


Saved empty view

what
When users don't have any saved projects, show an empty view with a heart animation. They can also click the heart to see the animation again.
how
Added fadeOutAndScale, fadeInAndScale, and crossFade to AnimationUtils.
Removed some unused drawables.
Updated DiscoveryFragmentViewModel to new style with Inputs and Outputs in the same file.
Updated DiscoveryFragmentViewModelTest to have setUpEnvironment helper method.
see

 Update null state for no saved projects (v2)


Regarding the Full text search in ASC

Hi All,
We have encountered with one problem that if we give a name of the asset with special character or other language character in the full text search it doesn't give me the results. But AEM DAM is able to give the same asset result properly.
For example: - We have a title of one asset with name like below Asset share common search is not able to give me this asset.
"Produktpräsentation".
We get this result with different filter options.
Is this supported by the ASC or not.
Can you please confirm us?

@Lovekeshgoel  can you post the underlying QueryBuilder/Xpath/JCR SQL 2 query that is generated for this?

@Lovekeshgoel this works for me:

Can you provide more exact details how the asset is named, where this value exists in the relation to the asset, as well as the underlying QB/Xpath/JCR SQL2 query? Based on this quick test it seems to work for me but im not sure if there are nuances that arent included in the issue.


Include assets in the package (images,...)

Type of Issue
[ ] Bug Report
[X ] Feature Request

Description
I'm currently building a shared library and it seems there is no way to include custom assets with ng-packagr. Would it be possible to have this feature built in or do we have to use an external tool for this ?
Expected Behaviour
Possibility to specify patterns for assets to include.
Version Information
ng-packagr: v2.0.0

Thank you very much for this already awesome lib !

See https://github.com/dherges/ng-packagr/issues/273

Hi,
Thank you for you answer. That's the way I implemented it right now but it is not so optimal in watch mode.
My watch task is : `"build:watch": "watch "npm run packagr && npm run assets-copy" src/app -c -x --ignoreDotFiles"
With this configuration, if the lib is linked. The main app will be built twice (once on packager and once on assets-copy).
But ok, I can live with that.

Let's say: "in a future release, you can hook into the build pipeline"


cuda support

I saw some usage of gpu in the examples, but it was used with the dp package. Is it possible to make any arbituary sequencer run on gpus?
Thanks,
Lifeng

@lifengjin Probably, yes. Can you elaborate your situation?

@lifengjin To make it run using CUDA, cast module and criterion to cuda :
module:cuda()
criterion:cuda()

You will also need to make sure your input, target tensors have the right type (probably torch.CudaTensor)

I want to build a LSTM on top of a BiLSTM where the output of the BiLSTM is concatenated with other vectors from Identity to form the input of the LSTM. There does not seem to be an easy way to do this with parallel and join table, but that's a different issue. Say I have
<bilstm>
<join = whatever function to combine the output of bilstm and other vectors>
<lstm>
Do I just do <:cuda> to all the models?

@lifengjin Yes. So you would have something like :
-- build model
model = nn.Sequential():add(blstm):add(nn.JoinTable()):add(lstm)
-- cast to cuda
model:cuda()


Feature request: Add control buttons to control KODI

Is possible to add control buttons (like this: https://chrome.google.com/webstore/detail/kassi-kodixbmc-remote-con/jgannjdjlpnoibphpbmmfjkejcfhcmjp) to control KODI ? It would be nice to have it all in single chrome addon.
thanks

Not sure if you're aware, but you can use your arrow keys, backspace and enter to control Kodi when the extension window is active.

Could you make keypress 'm' mute/unmute playback sound in Kodi?


KAFKA-6145: KIP-441: Fix assignor config passthough

Also fixes a system test by configuring the HATA to perform a one-shot balanced assignment
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

FWIW:
================================================================================
SESSION REPORT (ALL TESTS)
ducktape version: 0.7.7
session_id:       2020-05-22--007
run time:         29 minutes 9.205 seconds
tests run:        10
passed:           10
failed:           0
ignored:          0
================================================================================
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   2 minutes 32.957 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   2 minutes 31.512 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   2 minutes 56.126 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   2 minutes 55.289 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   2 minutes 52.812 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   3 minutes 4.072 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   3 minutes 3.525 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   3 minutes 4.718 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   3 minutes 3.213 seconds
--------------------------------------------------------------------------------
test_id:    kafkatest.tests.streams.streams_optimized_test.StreamsOptimizedTest.test_upgrade_optimized_topology
status:     PASS
run time:   3 minutes 4.576 seconds
--------------------------------------------------------------------------------

Previously, it would always fail for me within the first one to three tests, the first one more often than not.

Thanks for the reviews, @ableegoldman and @cadonna ! I believe I've addressed all your feedback.

This java 14 failure is strange:
00:06:34.561 > Task :streams:compileTestJava
00:06:34.561 /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk14-scala2.13/streams/src/test/java/org/apache/kafka/streams/kstream/internals/SuppressScenarioTest.java:495: error: incompatible types: inference variable K#1 has incompatible bounds
00:06:34.561             verify(
00:06:34.562                   ^
00:06:34.562     equality constraints: V#1,V#1,V#1,V#1,V#1,V#1,V#1,K#2,K#3,String,K#1,K#1,K#1,K#1,K#1,K#1
00:06:34.562     lower bounds: Long,String
00:06:34.562   where K#1,V#1,K#2,V#2,K#3,V#3 are type-variables:
00:06:34.562     K#1 extends Object declared in class KeyValueTimestamp
00:06:34.562     V#1 extends Object declared in class KeyValueTimestamp
00:06:34.562     K#2 extends Object declared in method <K#2,V#2>verify(List<TestRecord<K#2,V#2>>,List<KeyValueTimestamp<K#2,V#2>>)
00:06:34.711     V#2 extends Object declared in method <K#2,V#2>verify(List<TestRecord<K#2,V#2>>,List<KeyValueTimestamp<K#2,V#2>>)
00:06:34.711     K#3 extends Object declared in method <K#3,V#3>drainProducerRecords(TopologyTestDriver,String,Deserializer<K#3>,Deserializer<V#3>)
00:06:34.711     V#3 extends Object declared in method <K#3,V#3>drainProducerRecords(TopologyTestDriver,String,Deserializer<K#3>,Deserializer<V#3>)
00:06:40.558 1 error

I'm going to try again, and see what we see.

Retest this please

Retest this please

The test failures were the result of extra tests that were added on trunk after this branch. The branch builder does a merge with trunk before running the tests. I'm rebasing and fixing the tests.

The only failures were:
org.apache.kafka.streams.integration.EosBetaUpgradeIntegrationTest.shouldUpgradeFromEosAlphaToEosBeta[false]
org.apache.kafka.streams.integration.EosBetaUpgradeIntegrationTest.shouldUpgradeFromEosAlphaToEosBeta[true]


License

Under which software license is this source available?

The source code is available under the MIT License