No qualifying bean of type 'com.netflix.client.config.IClientConfig' available

I'm developing a new Java test case for the Ribbon module. The code is similar to what has been done within the groovy test case at the exception that If I run it using the java junit testclass, this bean exception error is reported as no IClientConfig object impl the interface has been found
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ribbonServerList' defined in class path resource [org/springframework/cloud/kubernetes/ribbon/KubernetesRibbonClientConfiguration.class]: Unsatisfied dependency expressed through method 'ribbonServerList' parameter 1; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.netflix.client.config.IClientConfig' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.netflix.client.config.IClientConfig' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

If I include a DefaultClientImpl as such, the error is gone
Question:

Why Groovy Test class doesn't has this error while this is the case for the java Test junit class ?
Do we have to specify a DefaultClientConfigImpl or can this client been instantiated out of box ?

Another error that I experiment is that when the method defined for the @Test will be called then the okhttp3 client of the Ribbon Kubernetes Client will try to use the kubernetes default server instead of the mock server address.
Is there a workaround ?
2017-05-15 18:51:26.165  INFO 26020 --- [WebServer 60046] okhttp3.mockwebserver.MockWebServer      : MockWebServer[60046] starting to accept connections
2017-05-15 18:51:26.185  INFO 26020 --- [WebServer 60047] okhttp3.mockwebserver.MockWebServer      : MockWebServer[60047] starting to accept connections
2017-05-15 18:51:26.387  INFO 26020 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@994544: startup date [Mon May 15 18:51:26 CEST 2017]; parent: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@149f5761
2017-05-15 18:51:26.410  INFO 26020 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-05-15 18:51:26.499  INFO 26020 --- [           main] c.netflix.config.ChainedDynamicProperty  : Flipping property: testapp.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>
2017-05-15 18:51:26.523  INFO 26020 --- [           main] c.n.u.concurrent.ShutdownEnabledTimer    : Shutdown hook installed for: NFLoadBalancer-PingTimer-testapp
2017-05-15 18:51:26.552  INFO 26020 --- [           main] c.netflix.loadbalancer.BaseLoadBalancer  : Client:testapp instantiated a LoadBalancer:DynamicServerListLoadBalancer:{NFLoadBalancer:name=testapp,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2017-05-15 18:51:26.556  INFO 26020 --- [           main] c.n.l.DynamicServerListLoadBalancer      : Using serverListUpdater PollingServerListUpdater
2017-05-15 18:51:26.598  WARN 26020 --- [           main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ribbonLoadBalancingHttpClient' defined in org.springframework.cloud.netflix.ribbon.RibbonClientConfiguration$HttpClientRibbonConfiguration: Unsatisfied dependency expressed through method 'ribbonLoadBalancingHttpClient' parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ribbonLoadBalancer' defined in org.springframework.cloud.netflix.ribbon.RibbonClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netflix.loadbalancer.ILoadBalancer]: Factory method 'ribbonLoadBalancer' threw exception; nested exception is io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
2017-05-15 18:51:26.612  INFO 26020 --- [WebServer 60029] okhttp3.mockwebserver.MockWebServer      : MockWebServer[60029] done accepting connections: Socket closed
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.725 sec <<< FAILURE! - in org.springframework.cloud.kubernetes.ribbon.RibbonTest
testGreetingEndpoint(org.springframework.cloud.kubernetes.ribbon.RibbonTest)  Time elapsed: 0.491 sec  <<< ERROR!
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ribbonLoadBalancingHttpClient' defined in org.springframework.cloud.netflix.ribbon.RibbonClientConfiguration$HttpClientRibbonConfiguration: Unsatisfied dependency expressed through method 'ribbonLoadBalancingHttpClient' parameter 2; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ribbonLoadBalancer' defined in org.springframework.cloud.netflix.ribbon.RibbonClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netflix.loadbalancer.ILoadBalancer]: Factory method 'ribbonLoadBalancer' threw exception; nested exception is io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
        at org.springframework.cloud.kubernetes.ribbon.RibbonTest.testGreetingEndpoint(RibbonTest.java:109)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ribbonLoadBalancer' defined in org.springframework.cloud.netflix.ribbon.RibbonClientConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netflix.loadbalancer.ILoadBalancer]: Factory method 'ribbonLoadBalancer' threw exception; nested exception is io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
        at org.springframework.cloud.kubernetes.ribbon.RibbonTest.testGreetingEndpoint(RibbonTest.java:109)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.netflix.loadbalancer.ILoadBalancer]: Factory method 'ribbonLoadBalancer' threw exception; nested exception is io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
        at org.springframework.cloud.kubernetes.ribbon.RibbonTest.testGreetingEndpoint(RibbonTest.java:109)
Caused by: io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
        at org.springframework.cloud.kubernetes.ribbon.RibbonTest.testGreetingEndpoint(RibbonTest.java:109)
Caused by: java.net.UnknownHostException: kubernetes.default.svc: nodename nor servname provided, or not known
        at org.springframework.cloud.kubernetes.ribbon.RibbonTest.testGreetingEndpoint(RibbonTest.java:109)

If KubernetesRibbonClientConfiguration is created by normal spring configuration you'll get an error like that. If it's loaded as part of ribbon configuration, a ClientConfig instance will be auto created.

loaded as part of ribbon configuration

When it is define using this annotation ("@RibbonClient(name = "testapp", configuration = KubernetesRibbonClientConfiguration.class)"), will the client config be created automatically ?

Is there a workaround ?

I have been able to resolve the okhttp3 client (= was using the config of kube server instead of the mock server) after changing the annotation from @Before to @BeforeClass

it should be created

As in my case, it is not created by default, I will continue to instantiate the bean till we will figure out how to resolve that. Make sense ?

My guess is that it's getting picked up outside of @RibbonClient.

Problem resolved with PR - #83 and commit 6696b361c192f38569d667572dfccaf048fbdee0

I'm also not able to auto wire  I'm getting NoSuchBeanDefinitionException Exception.
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.netflix.client.config.IClientConfig' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:
i tried using
@SpringBootApplication(scanBasePackages={"com.netflix.client.config.IClientConfig"})
but this is also not working for me  please help me !!

@Prachi Prasad I a also facing same issue . Did you find any workaround to resolve it


shower_distribution not propagated by HDF5EventSource

Describe the bug
The /simulation/service/shower_distribution histograms are written if you read a simtel file with the SimTelEventSource, but further processing of the HDF5 file by the HDF5EventSource drops this information.   This is not critical, as one can use the configuration/simulation/run to compute the spectrum of simulated events, however that may be insufficient in the future if more complex spectra are used.
To Reproduce
Steps to reproduce the behavior:

process an existing ctapipe output file with ctapipe-process to a higher level

Expected behavior
Simulated shower distributions end up in output files.
Supporting information
This is not a problem for the HDF5Merger, which does propagate this information, so merging and applying models works fine. it is only an issue if DL1 files are further processed into DL2 by ctapipe-process.
We need a unit test that does:

simulated-R0 → DL1 → file
file → DL2
checks the data model against the output (note this last step probably is more general: we need a ctapipe-verify command )

Confirmed. We have no general API on the EventSource and the DataWriter explicitly checks for SimTelEventSource. So no other event source can even try to provide the histograms.
Reading the comments in the DataWriter method, this is a known issue... but we have no corresponding issue here.
Will fix, this is definitely a bug and directly impacts our processing of prod5/prod6 on the GRID, since we recently switched to a setup where we first run ctapipe-process to extract only images for all telescopes and then again ctapipe-process to perform parametrization and stereo-reco for a selected subarray. So we loose the histograms here in the second step.


Proposal: API Gateway Integration Resource

Description:
This is related to #651 where it was requested to have a way to apply an Event to certain CloudFormation Resources. The ask was to simplify the integration of API Gateway to other AWS services like SQS, SNS, DynamoDB, etc.
To do this today, one needs to pour through API Gateway documentation, posted online examples, and stitch together a full swagger definition for their API. The simplify of SAM is lost when the swagger definition is brought into play.
I'd like to propose the introduction of a new SAM type meant to represent an AWS service integration to an API Gateway and generate the required swagger elements/extensions for the developer.
Current Example
Here is a template from an example I posted in that issue (integrating an SQS queue with an API Gateway):
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Description: >-
  Create an API Gateway integrated with an SQS queue that is processed by a
  Lambda function as messages are populated.
Resources:

  QueueApiGateway:
    Type: AWS::Serverless::Api
    Properties:
      StageName: Prod
      DefinitionBody:
        swagger: "2.0"
        info:
          title: !Ref AWS::StackName
        paths:
          "/":
            post:
              consumes:
              - "application/json"
              produces:
              - "application/json"
              responses:
                "200":
                  description: "200 response"
                  schema:
                    $ref: "#/definitions/Empty"
              x-amazon-apigateway-integration:
                credentials: !GetAtt QueueApiGatewayRole.Arn
                uri: !Sub "arn:aws:apigateway:${AWS::Region}:sqs:path//"
                responses:
                  default:
                    statusCode: "200"
                requestParameters:
                  integration.request.header.Content-Type: "'application/x-www-form-urlencoded'"
                requestTemplates:
                  application/json: !Sub "Action=SendMessage##\n&QueueUrl=$util.urlEncode('${ApiQueue}')##\n\
                    &MessageBody=$util.urlEncode($input.body)##\n"
                passthroughBehavior: "never"
                httpMethod: "POST"
                type: "aws"
        definitions:
          Empty:
            type: "object"
            title: "Empty Schema"

  ApiQueue:
    Type: AWS::SQS::Queue

  QueueApiGatewayRole:
    Type: AWS::IAM::Role
    Properties:
      Path: "/"
      AssumeRolePolicyDocument:
        Version: 2012-10-17
        Statement:
          - Effect: Allow
            Principal:
              Service:
                - apigateway.amazonaws.com
            Action: sts:AssumeRole
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/service-role/AmazonAPIGatewayPushToCloudWatchLogs
      Policies:
        - PolicyName: ApiQueuePolicy
          PolicyDocument:
            Version: '2012-10-17'
            Statement:
              - Effect: Allow
                Action:
                  - sqs:ReceiveMessage
                  - sqs:SendMessage
                Resource: !GetAtt ApiQueue.Arn

Proposed Example
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31

Resources:

  QueueApiGateway:
    Type: AWS::Serverless::Api
    Properties:
      StageName: Prod

  ApiQueue:
    Type: AWS::SQS::Queue

  QueueApiIntegration:
    Type: AWS::Serverless::ApiIntegration
    Properties:
      RestApiId: !Ref QueueApiGateway
      Path: /
      Method: post
      Service:
        Type: SQS
        Properties:
          QueueUrl: !Ref ApiQueue
          Method: post

I won't pretend to know much about performing these service integrations. The idea with my proposed model is to strip away the swagger work and match how other SAM resources operated. All of the information required to infer the SQS integration in swagger are present in the Service payload (assuming the intent of this integration is to sent the HTTP payload as the MessageBody).
This resource would support multiple service types much like Events with functions. If a RestApiId is not provided it would use the implicit API created by SAM. The resource policy would be generated automatically using the !Refs between the API and the queue.
I think there's a huge opportunity for SAM to make these types of service integrations easier to adopt for AWS developers. While we hear and know that having a Lambda in-between an API and a service can be a waste, or unnecessary, it's usually the easier path.

Thanks for this proposal @brysontyrrell! Really like this idea, I'm gonna pass this on to the product team for prioritization.


MAINT: interpolate: remove unused codes in _fitpackmodule.c.

Reference issue

A part of https://github.com/scipy/scipy/issues/16729
Ref: https://github.com/scipy/scipy/pull/17038, https://github.com/scipy/scipy/pull/17091, #17303, #18195, #18416
What does this implement/fix?

This PR removes unused codes in _fitpackmodule.c.
Currently, nobody is using _curfit, _bspldismat, _bsplmat, _bspleval.
(We will eventually erase this file, as suggested in this issue #16729.)
Additional information

Indeed, nice to see the last vestiges of splmake/spleval go!
While might want to add the non-trivial part of bspldimat / bspldismat at some point, per https://github.com/scipy/scipy/issues/6710, the code is in the git history anyway, so no need to build / distribute it for new releases.
Thank you @AtsushiSakai

Also might want to update gh-16729: @AtsushiSakai efforts changed the state quite a bit.


All graph algorithms in C++ and Java.

Task: Can implement all graph algorithms like Floyd-Warshall, Dijkstra, Prim's MST in C++ and Java.
Motivation: I am efficient in Problem Solving using C++ and Java and have solved more than 800 problems on various online judges like GeeksforGeeks, LeetCode, HackerRank etc. You can check my profile here:
https://leetcode.com/tanyarajhans7/
https://auth.geeksforgeeks.org/user/tanyarajhans7/practice/
https://www.hackerrank.com/tanyarajhans7
Event: I am a participant in GSSoC'21.
I would love to work on this issue. I promise to deliver on time and up to your expectations if you assign this to me. Thank you!

Please assign this issue to me.

I want to complete this task please assign it to me as a part of GSSOC- 21.
I am an ACM-ICPC Regionalist 2019 , specialist @codeforces and 5 Start @codechef.

Will be able to implement all the graph algorithms in C++ . I have solved lots of problems at geeksforgeeks and hackerrank and even implemented these algorithms in questions like these at GeeksForGeeks. My Profiles
GeeksForGeeks - https://auth.geeksforgeeks.org/user/axelshaun127/profile
Hackerrank - https://www.hackerrank.com/axelshaun127
I would be able to implement the code of Graph algorithms in C++ if given the task

I want to work on this issue....
Got some interesting perceptions about the solutions...
Please assign it to me

Task: Can implement all graph algorithms like Floyd-Warshall, Dijkstra, Prim's MST in C++ and Java.
Motivation: I am efficient in Problem Solving using C++ and Java and have solved more than 800 problems on various online judges like GeeksforGeeks, LeetCode, HackerRank etc. You can check my profile here:
https://leetcode.com/tanyarajhans7/
https://auth.geeksforgeeks.org/user/tanyarajhans7/practice/
https://www.hackerrank.com/tanyarajhans7
Event: I am a participant in GSSoC'21.
I would love to work on this issue. I promise to deliver on time and up to your expectations if you assign this to me. Thank you!

Make separate issues for each algorithm.


Removing unneeded tasks from FBC pipeline

This is follow-on work from the following PRs:

https://github.com/release-engineering/rhtap-ec-policy/pull/19
https://github.com/redhat-appstudio/e2e-tests/pull/1065

Before you complete this pull request ...
Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.

/retest-required

/retest-required

/retest


Problem when silencing alerts to alertmanager with name containing forward slash

This is similar issues as described in issue #3651, but occurs when using forward slash '/' within alertmanager name.
Actually the fix PR #3664 for issue #3651 introduced regression.
What happened?
Creating silence fails with 404 "Not found" error.
What to expect?
Silence is properly set.
What works?
Problem doesn't exists in karma v0.92 and below.
Problem exists in karma v0.93 and above (up to current last version v0.108).
Problem can be also resolved by using for example spaces instead of forward slashes within alertmanager names.

This seems to be due to https://github.com/go-chi/chi/issues/641
RawPath usage in chi means that a request for /alertmanager/foo%2Fbar/ doesn't match alertmanager foo/bar since we'll have Path: /alertmanager/foo/bar/ but RawPath: /alertmanager/foo%2Fbar/


Supporting user input?

Are there any plans to allow the user to enter a value directly into the number picker?

I second this. The only thing missing from the library. Everything else is awesome.

This feature would be a great addition!

Any info on this issue??


Buildin res tful web service

@prokhin Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

123

@prokhin Thank you for signing the Contributor License Agreement!


Roadmap: remains to be implemented for specialization constants

[ ] Add members to GraphicsPipelineParams: vertex_shader_consts, fragment_shader_consts, geometry_shader_consts whose types are the template parameters Vsp, Fs and Gs. Note that later we may want to instead use different types that implement Into<Vsp>, Into<Fs>, Into<Gs>, but that's a debatable thing to do so I'll leave it be.
[ ] Same for GraphicsPipelineParamsTess with Tcs and Tes.
[ ] Implement loading the specialization constants for the graphics stuff. Just take this code and this code, and adjust them here: 1 2 3 4 5. Beware that you must store the specialization and spec_descriptors objects at the root of the function scope, otherwise they will get destroyed and the pointers to them will become invalid.
[ ] In vulkano-shaders/src/entry_point.rs, add a function that parses the SPIR-V code and generates a struct named SpecializationConstants which contains the specialization constants (just a regular struct with public members corresponding to the constants). Make it implement the SpecializationConstants trait. That's obviously the hardest part.
[ ] Call that function here.
[ ] Replace the first template parameter here (that is () for the moment) with SpecializationConstants. Same for the 5 other shader types.

The first three and the last three points can be worked upon separately.

This has been implemented in 0.6.1


V1.2.0 main to dev

Changes introduced by this PR

Merge from main to dev
Update CHANGELOG
Update version

Wrong branch again!


Wire up MODE aggregate

Can we expect that in 0.9.2?

This won't make it into 0.9.2. Maybe 0.9.3, but it's not particularly high priority right now.

What are the current plans about it?

The query engine is undergoing heavy refactoring.  Removing help wanted label for now.

any news on MODE aggregate? It would really make my life easier, now how to to perform 3 queries instead of it and process a lot of data in my use scenario.

As mentioned in my post to the mailing list we are experimenting with simplifying our open GitHub Issues. This feature request has been rolled into an aggregate issue for all function requests, so that we can close this issue until we are ready to work on it.
You may continue to make comments here. Closing the issue does not mean we are rejecting this idea.

@beckettsean Can we expect this anytime soon? It's a must have aggregator when sampling out metrics like response code, alert codes, ips, uuids etc. I am willing to submit a PR in case no one is working on it.

@agaurav no one is working on this for the 1.0 release, which will go into feature freeze soon. If you could submit a PR I believe it would make it into the 1.1 release.

@agaurav if you submit a PR along with test code before August 8th then I think we'll be able to merge it for 1.0. A new aggregate function isn't a very high risk thing so we should be able to pull it in.

@pauldix Great, I will submit a PR by Saturday then.

@pauldix Please have a look at the above PR and let me know anything else is needed.
It is currently implemented as an aggregator rather than as a selectors. I will correct this once I am able to understand how to send the mode frequency as auxiliary value which I guess will be enough to implement the histogram function requested in https://github.com/influxdata/influxdb/issues/3674.

@pauldix @beckettsean please merge https://github.com/influxdata/influxdb/pull/7111 for version 1. I really need the mode aggregator.

This is extremely disappointing. PR for the above is pending for more than 20 days and now rc1 is out. People have been waiting for this function from the version 0.9 & some are stuck on 0.8 because of this. What's the point of using a tsdb if it cant even have the very core sampling methods.

Sorry guys, we'll take a look at this today. Just talked to the team and it seems pretty low risk and is well tested so we'll try to get it cherry picked over to the 1.0 branch. Guess an RC2 will be getting cut at some point.


az afd origin create "--enabled-state" documentation

Describe the bug
I am moving this customer feedback from MicrosoftDocs/azure-docs issue 122125.
Request: Please provide more clarity for az afd origin create --enabled-state parameter. Possibly replace the first sentence in the description with something along the lines of "When set to 'disabled' [this will happen]. When set to 'enabled', [this will happen]."
Customer feedback:

"
The documentation says against parameter "--enabled-state" as below
"Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool."
This seems odd as this parameter value is meant to 'actually disable further requests to that origin itself', like AFD will stop forwarding requests if that origin is marked disabled.
Doc Link: https://learn.microsoft.com/en-us/cli/azure/afd/origin?view=azure-cli-latest#az-afd-origin-create
"

Related command
az afd origin create
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Version 2.60.0
Additional context
n/a

Thank you for opening this issue, we will look into it.


Menu action is triggered whenever arrow key is pressed

Navigating a source file using the arrow keys causes the "Navigate" menu item to flash blue. This extra behavior also slows down rapid arrow-key navigation.

Hi. Can you provide some example? I don't understand what you mean

It is as if the menu is being activated by every key press. It flashes "Navigate" for left and right arrow keys, and "Code" for up/down arrow keys. Hopefully this helps. I tried to screen capture it, but couldn't get the screen cap to include the menu bar.

Mac :(
Sorry - but i dont have Mac for repeat problem. I leave this issue opened for future.
I will try to repeat in vmware, but i cant say - that i will fix it

No prob, understood. It doesn't happen right away, it seems like something triggers it after extended use. So, it's not a super critical problem. Good job on this project!

I've got absolutely weird behaviour today with arrow keys, on each down/up key code is messing, some of lines change order. After i close file, there is no 'Save' dialog and all messing changes applies to file content.

@ernestp yes, I have had this happen too, and it seems related to the problem I described because it also causes the menu bar to flash.

Yeah guys, i known about this problem, but it cant be fixed in a current moment - reason i wrote in previos comment

Since Consulo 2 released, I close this issue. If repeated - create new issue.
Thanks


docker-compose doesn't create network automatically

Issue
Testing the stable docker version of python-jamf and the build process is failing at network creation.
Steps to reproduce
Have only tried with python-jamf-github, but suspect it's the same for python-jamf-dev.
$ cd python-jamf/python-jamf-docker
$ docker-compose run --rm python-jamf-github
network jamfpro_jamfnet declared as external, but could not be found

Workaround
Create the jamfpro_jamfnet docker network manually.
$ docker network create -d bridge jamfpro_jamfnet
4576<snip>
$ docker-compose run --rm python-jamf-github
[+] Building 106.1s (6/8)
 => [internal] load build definition from Dockerfile                                                                                0.0s

Added the bridge mode to the manual network to avoid DNS issues hitting like so:
 => ERROR [2/4] RUN git clone https://github.com/univ-of-utah-marriott-library-apple/python-jamf                                                                               76.8s
------
 > [2/4] RUN git clone https://github.com/univ-of-utah-marriott-library-apple/python-jamf:
#6 0.277 Cloning into 'python-jamf'...
#6 76.77 fatal: unable to access 'https://github.com/univ-of-utah-marriott-library-apple/python-jamf/': Failed to connect to github.com port 443: Connection refused

Hm. I added jamfpro_jamfnet so that I could test this with a dockerized Jamf Pro server. Because that is a separate project, and because that isn't the only way to use python-jamf, I actually think I should just remove the code that creates jamfpro_jamfnet.

Hi @pythoninthegrass:
One option, if you want to just test python-jamf in a "safer" way to isolated from system site directories, etc. You could try setting up a python virtual environment to install & test python-jamf?
For more info, see this page:
https://docs.python.org/3/library/venv.html

Hi all. I'm comfy setting these things up locally. The main idea is to have a portable environment without having to set it up or package the repo. Not crucial to incorporate into your work, but definitely a nicety. Especially since there are things that will likely need to be refactored if running in a container vs. the host machine/virtualenv.
Currently implementing a similar setup for scriptorium but that code base is simpler (e.g., a single python executable) with much different goals than python-jamf.
My employer doesn't use a containerized JPS, so just the tooling is what we're interested in.

This is fixed in 0704df6.


Problem to install these two Libraries: gasket-dkms libedgetpu1-std

Good morning,
I have problems installing the two libraries on my ARM64 computer because the software searches for the "aarch64" infrastructure according to "uname -machine" instead of the "arm64" propagated by the Ubuntu 21.04 operating system.
The command: lspci -nn | grep 089a brings the correct information regarding the hardware:
01:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
Are there any drivers that do NOT have this problem? I would be very happy if someone can help me here, because I would like to use this card in my small LABOR cluster on TPU /GPU server under SLURM.
The background for this is that I would like to use it very much for the project "Human Brain /Human Robotics" and use it on the different robots.
It is really important for me because there is a lot of research behind this.
Many thanks in advance.....
Z. Matthias

@Zhexue-M Do you see any error ? Can you paste the error here ?

Yes, I see the Error-Message:
DKMS make.log for gasket-1.0 for kernel 5.13.0-1007-raspi (aarch64)
Wed Sep 29 01:17:36 PM UTC 2021
make: Entering directory '/usr/src/linux-headers-5.13.0-1007-raspi'
Makefile:710: arch//Makefile: No such file or directory
make: *** No rule to make target 'arch//Makefile'.  Stop.
make: Leaving directory '/usr/src/linux-headers-5.13.0-1007-raspi'

And this is, if I want to install it:
Get:1 http://ports.ubuntu.com/ubuntu-ports impish/main arm64 dkms all 2.8.4-4ubuntu1 [69.6 kB]
Fetched 69.6 kB in 1s (130 kB/s)
Selecting previously unselected package dctrl-tools.
(Reading database ... 139791 files and directories currently installed.)
Preparing to unpack .../dctrl-tools_2.24-3_arm64.deb ...
Unpacking dctrl-tools (2.24-3) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.8.4-4ubuntu1_all.deb ...
Unpacking dkms (2.8.4-4ubuntu1) ...
Selecting previously unselected package gasket-dkms.
Preparing to unpack .../gasket-dkms_1.0-17_all.deb ...
Unpacking gasket-dkms (1.0-17) ...
Selecting previously unselected package libedgetpu1-std:arm64.
Preparing to unpack .../libedgetpu1-std_16.0_arm64.deb ...
Unpacking libedgetpu1-std:arm64 (16.0) ...
Setting up libedgetpu1-std:arm64 (16.0) ...
Setting up dctrl-tools (2.24-3) ...
Setting up dkms (2.8.4-4ubuntu1) ...
Setting up gasket-dkms (1.0-17) ...
Loading new gasket-1.0 DKMS files...
Building for 5.13.0-1007-raspi
Building initial module for 5.13.0-1007-raspi
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/gasket-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.13.0-1007-raspi (aarch64)
Consult /var/lib/dkms/gasket/1.0/build/make.log for more information.
dpkg: error processing package gasket-dkms (--configure):
installed gasket-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.34-0ubuntu2) ...
Errors were encountered while processing:
gasket-dkms
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

@Zhexue-M Are there any steps to reproduce this ? Which hardware are you working with?


fix typo in gwt inherits statement

same typo on the website https://www.slf4gwt.org/configuration.html


Thicken lines

I tried this approach with a custom renderer, and unfortunately it did not work.
My next plan is to try and get the document tree structure to see if there's a way to manually modify/draw it. However, I was unable to use the onGetTreeStructSuccess or onGetTreeStructError on the <Page /> element, as they were never called when loading my test document. The hook onGetTextSuccess did return all the text nodes in the document, so that's something at least.
This one is not looking very simple, but I will keep trying things as I think of them. In the meantime, PDFStitcher has a setting in its tool under the Layers tab that allows you to set the line thickness. This method worked beautifully for me, so perhaps in the short term we simply need to update the documentation with instructions on how to thicken lines using PDFStitcher.

I tried this approach with a custom renderer, and unfortunately it did not work.

Ah, that's frustrating.

My next plan is to try and get the document tree structure to see if there's a way to manually modify/draw it. However, I was unable to use the onGetTreeStructSuccess or onGetTreeStructError on the <Page /> element, as they were never called when loading my test document. The hook onGetTextSuccess did return all the text nodes in the document, so that's something at least.

Since the page is rendered on the canvas, could we do something like getImageData() and run an algorithm for thickening up lines on the pixels?

This one is not looking very simple, but I will keep trying things as I think of them. In the meantime, PDFStitcher has a setting in its tool under the Layers tab that allows you to set the line thickness. This method worked beautifully for me, so perhaps in the short term we simply need to update the documentation with instructions on how to thicken lines using PDFStitcher.

I think that's a good idea, since I only mention using it for layers right now and people might not think of it for line thickness. However, I didn't have any luck getting it to work on the last pattern I cut. Can you verify if this pattern works for you? I would not be surprised if it's a case of user error!

Since the page is rendered on the canvas, could we do something like getImageData() and run an algorithm for thickening up lines on the pixels?

I'm all for trying it! Have you been working on this? I will totally leave you be to work on it if you already have a good start.

Can you verify if this pattern works for you? I would not be surprised if it's a case of user error!

I was able to thicken the lines, but it definitely tiled incorrectly, haha. You do have to click "Apply to Checked" after setting the line thickness, which isn't obvious. Try clicking the button after setting the line thickness and see if that fixes it!

Since the page is rendered on the canvas, could we do something like getImageData() and run an algorithm for thickening up lines on the pixels?

I'm all for trying it! Have you been working on this? I will totally leave you be to work on it if you already have a good start.

I haven't started on it! Just an idea. I'm working on internationalization right now. Responding to messages has taken up a lot of time and I can only work on this when the kiddos are sleeping so progress is slow going.

Can you verify if this pattern works for you? I would not be surprised if it's a case of user error!

I was able to thicken the lines, but it definitely tiled incorrectly, haha. You do have to click "Apply to Checked" after setting the line thickness, which isn't obvious. Try clicking the button after setting the line thickness and see if that fixes it!

Ahh! That's it. Thank you :)

Thank you so much for looking into this :)

So I finally got a chance to use this today - like ACTUALLY use it to cut out a pattern!
I used the keys almost exclusively (including tab because I know it's there 😉). I did prefer to drag the canvas to get to the piece I wanted, but for corner calibration, the keys were the way to go!
I wanted to comment here because I don't know if it's just the pattern I'm using or the fact that I have a bright UST, but I did not think that the lines needed to be thickened at all. In fact, I used "green invert" mode, and it was amazing. The lines were very obvious and clear.
I am leaning toward won't fixing this because I really don't think it's necessary (of course I only tried with one pattern - a Sinclair one). I also think it's going to be a huge pain to figure out (we're talking custom library logic, not just custom renderer).

I just tested this out and totally agree. Even with my lights on I could see the lines and I have a crummy $50 projector. I don't think it's worth the effort/complexity. Plus it seems a bit out of scope. pdfjs and pattern projector are pdf viewers not pdf editors.
I'm so happy you had the time to make something!!! I had a hectic day with the fam jam today but plan on cutting and sewing something tomorrow!


Projection possibility

Hi,
Is it possible to make a projection to ElasticSearch which does not create one record per aggregate ?
I want to create a custom read-model cumulating various datas form my aggregate but it always create one create per aggregate.
Thanx !

Ok sorry for that...it seems i just need to set with the getId() function

@manelephant Make Car Aggregate track its own Manufacturer, add this property to the CarRepaired  event and have the aggregate supply it when applying the event to itself, probably after command handler has issued the $aggregate->repair() method.


Command line command to install wont install if newer version already installed

VSCode Version: 1.18.1
OS Version: macOS High Sierra 10.13.1

Steps to Reproduce:

Have two identical vsix files of an extension, but with different version tags. I made two test ones here: (https://github.com/hilleer/vscode-install-cli-test-vsixs)[https://github.com/hilleer/vscode-install-cli-test-vsixs]
Install the latest (version 1.1.0 from the example ones`) from within vscode or from the command line.
Reload / check that the extension is installed (1.1.0)
Install the old version (version 1.0.0 from the example ones) from the command line (`code --install-extension ).
Reload vscode, and check the version of the extension - still the version of the first (newest) installed version.

Reproduces without extensions: Yes/No

We generally do not support installing outdated extensions from gallery. But I think it makes sense to support it for vsix installations.
If you are trying to install an older versions using vsix, now, we show a confirmation asking to override the newer version with older version.

@joaomoreno As part of this fix, I had to flip the order of extensions clean up.  Now, I remove first obsolete extensions and then remove outdated extensions 4fb98ff812570dd64d966614706befddc602f349. Want to confirm if the order matters or not.

No reason! 👍

Thanks for implementing this! 👍

@sandy081 Verified that this works after confirming the override.
But when I press 1 for Cancel, there is a callstack printed out

Good catch @ramya-rao-a
Fixed.


./do.sh build_extension NoClassDefFoundError: com/google/javascript/jscomp/newtypes/ObjsType

$ ./do.sh clean
Cleaning all builds...
removed `build/templates/cksum'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs/backupkey/backupkey.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs/backupkey'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs/generic/generic.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs/generic'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs/importconfirmation/importconfirmation.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs/importconfirmation'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/dialogs'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/glass/glass.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/glass'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/panels/chipholder/chipholder.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/panels/chipholder'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/panels/generatekey/generatekey.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/panels/generatekey'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/panels/keyringmgmt/keyringmgmt.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/panels/keyringmgmt'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/panels/preferences/preferences.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/panels/preferences'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/panels/prompt/prompt.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/panels/prompt'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/panels'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/prompt/prompt.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/prompt'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/templates.soy.js'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/webview/webview.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/webview'
removed `build/templates/src/javascript/crypto/e2e/extension/ui/welcome/welcome.soy.js'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui/welcome'
removed directory: `build/templates/src/javascript/crypto/e2e/extension/ui'
removed directory: `build/templates/src/javascript/crypto/e2e/extension'
removed directory: `build/templates/src/javascript/crypto/e2e'
removed directory: `build/templates/src/javascript/crypto'
removed directory: `build/templates/src/javascript'
removed directory: `build/templates/src'
removed directory: `build/templates'
removed `build/test_js_deps-runfiles.js'
removed `build/deps.js'
removed directory: `build/extension'
removed directory: `build'
Done.

$ ./do.sh build_extension
All dependencies met.
All dependencies met.
Compiling Soy templates...
Done.
Using previous template build. Run ./do.sh clean if you want to rebuild the templates.
Building End-To-End extension to build/extension
Compiling JS files...
Compiling JS files...
.java.lang.NoClassDefFoundError: com/google/javascript/jscomp/newtypes/ObjsType
	at com.google.javascript.jscomp.ClosureCodingConvention.getAssertionFunctions(ClosureCodingConvention.java:399)
	at com.google.javascript.jscomp.TypeInferencePass.<init>(TypeInferencePass.java:54)
	at com.google.javascript.jscomp.PassConfig.makeTypeInference(PassConfig.java:161)
	at com.google.javascript.jscomp.DefaultPassConfig$44$1.process(DefaultPassConfig.java:1417)
	at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285)
	at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217)
	at com.google.javascript.jscomp.Compiler.check(Compiler.java:844)
	at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:757)
	at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:95)
	at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:656)
	at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:653)
	at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:700)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.google.javascript.jscomp.newtypes.ObjsType
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 16 more

I've tried deleting /lib and reinstalling deps.

What OS are you running? Building works fine for me, so I'm guessing it's an issue with a library.
$ ./do.sh build_extension
All dependencies met.
Using previous template build. Run ./do.sh clean if you want to rebuild the templates.
Building End-To-End extension to build/extension
Compiling JS files...
.....
Compiling CSS files...
Copying extension files...
Done.

$ uname -a`
`Linux cslab5a 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

$ java -version`
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

I'm on Ubuntu Trusty. Perhaps the latest Closure doesn't work with Sun's
Java. If so, maybe an older version of closure would work.
$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

Tried it on Java 7 (found an installed version, changed PATH to match), still no go.
$ which java
/usr/lib/jvm/java-7-openjdk-amd64/bin/java

$ java -version
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~deb7u1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

The line about JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 is because there's some weird (unicode?) characters in comments that cause a compile time error without it.

Manually cding into /lib/closure-compiler and running ant clean && ant seems to have fixed the problem.  Perhaps there is an issue with how we're building it in install_deps.

Dropping in ant clean into ./do.sh seems to resolve the issue for me.
It doesn't seem to do anything in particular (no delete messages) but makes everything work.
# build closure compiler
if [ ! -f closure-compiler/build/compiler.jar ]; then
  cd closure-compiler
  ant clean
  ant jar
  cd ..
fi


Appstudio update test-custom-default-branch-ichy

Pipelines as Code configuration proposal

Pipelines as Code CI/test-custom-default-branch-ichy-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
41 seconds
build-container

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
17 seconds
sanity-inspect-image

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
21 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
9 seconds
sanity-label-check

✅ Succeeded
9 seconds
sanity-optional-label-check

✅ Succeeded
14 seconds
show-summary


CSS not loading

I have an problem, but i don`t have errors in developer console or php error_log
Is fresh install, but css not work
http://prntscr.com/gscnq2

Duplicate of #1731

Missing a lot of information, please don't clear out the issue template when creating a new issue. Also, we've seen your comment on #1731, if you think your case is related please stick to it.

I can't reopen #1731, so i send a new ticket, but no problem, you can close it too. i don`t need solution anymore, i deleted script and create my own. thanks.


upsert data on application start, reorganised migration-related code and sql, misc additional migration functionality

A lot going on here.
This is a substantial reorg of database-related code, in order to achieve the following:

init code to set up (or upsert, or reset) entries in the
centralize migration-related code and various SQL files in one place
move migration related code out of the app itself (the app doesn't need to be migration-aware)
cleaner init code for tests which should help us write better tests in the future
added various tasks that use the migra library, which should move us a lot closer to using this for testing and migrations in anger
created an sql file that loads the test fixtures created by the various alembic migrations, so that we can now run the tests without running through the migrations if we want

remove schema?


New sample: identify layers

This sample demonstrates how to use MapView to identify features within multiple layers.

@nCastle1 Approved for merging.
I tested all platforms and the sample works without issue.


Use permalink link for sections

If a section contains a section header tag, a link is displayed, e.g.

The label for the link is "Permalink to ..."
The problem is, this permalink is not very permanent. Whenever a manual is restructured by sections moved to different files or directory levels, the URL changes. This is something that may happen once in a while, for example when a manual is started, some topic was put into one file and more things added. Or in this case, the Coding Guidelines only cover PHP, but it might be a good idea to add CGL for other file types as well. In this case a new subdirectory PHP might be created and everything else moved there. This would break all existing links using absolute URLs.
So if I link to for example
https://docs.typo3.org/typo3cms/CoreApiReference/CodingGuidelines/PhpFileFormatting/Index.html#php-file-formatting
with the section header tag file-formatting
and the file is moved to CodingGuidelines/Php/PhpFileFormatting/Index.html the link will change and the old link will be broken.
One possible solution would be to always make the permalink link to the singlefile html page, e.g.
https://docs.typo3.org/typo3cms/CoreApiReference/latest/singlehtml/Index.html#file-structure

I am closing it in favor of a more general issue about finding a solution for breaking links: https://github.com/TYPO3-Documentation/T3DocTeam/issues/5


MatPlotLib 3.9.1 did not compiled

It gave me this error Found GNU link.exe instead of MSVC link.exe but the 3.9.1.post1 version worked without a problem.

Update your requirements, you're probably running and old version.  3.9.1 got yanked 4318b5383d68c434de8f01f4fd0415757776065c


Update readme with additional environment variables

Just saw this PR, https://github.com/wwWallet/wallet-frontend/pull/399.
Will rebase it if that makes it through.


Hotfix/deploy gcp

Done

Add 'p2p' directory
Delete 'server' directory

Thanks for reviews! Merged!


add cells, rows, columns functions

Changes Unknown when pulling cbfd7e3808a57c79753c00bf579a48f4dd7d395c on lesliekim:master into ** on Microsoft:0.1.0-dev**.

Changes Unknown when pulling c27225c99d515842d122b9015a4cb6c4b2a276dc on lesliekim:master into ** on Microsoft:0.1.0-dev**.

Coverage remained the same at 79.837% when pulling c33f5583485ed2e543a1a4a5ce8f5a761bc37637 on lesliekim:master into fb15c81f36fa0bd55476350647d77c1a0cff0918 on Microsoft:0.1.0-dev.

Coverage remained the same at 79.837% when pulling c33f5583485ed2e543a1a4a5ce8f5a761bc37637 on lesliekim:master into fb15c81f36fa0bd55476350647d77c1a0cff0918 on Microsoft:0.1.0-dev.

Coverage remained the same at 79.837% when pulling c2abd8f1d4e97118fc83366fbc2b14618c742198 on lesliekim:master into fb15c81f36fa0bd55476350647d77c1a0cff0918 on Microsoft:0.1.0-dev.

Coverage remained the same at 79.837% when pulling c2abd8f1d4e97118fc83366fbc2b14618c742198 on lesliekim:master into fb15c81f36fa0bd55476350647d77c1a0cff0918 on Microsoft:0.1.0-dev.

Coverage remained the same at 79.837% when pulling c2abd8f1d4e97118fc83366fbc2b14618c742198 on lesliekim:master into fb15c81f36fa0bd55476350647d77c1a0cff0918 on Microsoft:0.1.0-dev.

@lesliekim, There's no critical feedbacks, I'll merge the code in. You can fix the comments in a following change.
BTW, you can ignore the comments in the memory/odata/jsdata projections as I'll merge them into dataSource projection.


About compatibility

Games developed with this engine won't run on Windows 11.
(I'm a Chinese, may I use Chinese Simplified here?)

Running is possible on Windows 11.  Please show log.

当时它闪退了。而现在它似乎又可以正常运行了，但是仍然有一些问题。比如蓝魂状态下的跳跃的效果不同

当时它闪退了。而现在它似乎又可以正常运行了...
抱歉。


Need to allow draft packet editors

I need to make the "viewsignups.html" page more rich, with options for some folks (Nqoba, PM, Ash, others?) to rank folks, make coments, etc. The data are already there, I just need to create some helper functions and buttons to let them rank people, put in the official draft packet comment, etc.

won't fix for this season.


Markdown not processed from a collection

I noticed that when I use content blocks from a markdown file in a collection the markdown in the content block isn't processed. Markdown is being transformed for {{ content }}, just not in {% contentblock sidebar %};. Everything is working fine in posts. Any ideas?
Thanks,
Todd

Hi @tlinkner -- any chance you could put together a small example that demonstrates this problem? Maybe a few files in a gist? I can then work backwards from that and try and fix. Thanks!

I also just noticed this issue. Here is an example Gist.
https://gist.github.com/WanderingMatt/ac5a849740da5da509ca
In my example, the markdown inside the 'aside' contentblock is not being parsed. The content comes through as a single block of text.

Nice, thanks @WanderingMatt -- I will use this as a starting point for checking into the issue.

@WanderingMatt's gist is a good example. Here's mine. Sorry I didn't get post it earlier.
http://tlda.co/contentfor/

@tlinkner @WanderingMatt -- I just pushed out jekyll-contentblocks 1.0.1 that should fix this issue. Please give it a try and let me know if it works.

Works for me. Thanks!

Sorry for the delayed response — was in Australia! Just verified this as well. Thanks a ton, @rustygeldmacher!


Add a design-less listing of fake requests

@alisonelizabeth

Can you help me better understand the goal? If we're mocking the data + creating a temporary UX, I'm not sure I see the benefits of merging it in as-is. Let me know what you think!

I'm trying to implement this screen - https://www.figma.com/file/s0s9cVUjwBNLbhpDPTu2TY/Frente-Brazuca?node-id=22%3A5795
but:

we do not have the API ready - that's why I added some mock data temporarily
i'm a FE noob, so not sure how to transfer styles from figma to html/js/ts - so right now i'm doing a scaffolding for that page, and hopefully a real FE eng can come and just add proper styles to make it look like figma

Alternative to me doing this change is to do nothing, in which case there will be no progress.

we do not have the API ready - that's why I added some mock data temporarily
i'm a FE noob, so not sure how to transfer styles from figma to html/js/ts - so right now i'm doing a scaffolding for that page, and hopefully a real FE eng can come and just add proper styles to make it look like figma

👍 makes sense, thanks!  I can pick up fixing the styles once this is merged. My availability is limited to ~1-2 hrs in the evenings, but will try to make progress.


Ran succesfully, but where are the 3D points?

I got the following as my output. I understand that what I have is not dense, but where is the non-dense 3d points? Also this only outputs the projection matrices? Does it give the 4x4 transform as well?
initial camera matrix K
[1077, 0, 684;
 0, 1077, 456;
 0, 0, 1]

image 2 ==> 1 scale=1.23606 count=144453
image 3 ==> 2 scale=1.3106 count=129795
image 4 ==> 3 scale=1.09828 count=120786

initial graph error = 7606.14
final graph error = 124.631

final camera matrix K
    1067.89 6.57066e-06     693.519
          0      1062.5     447.738
          0           0           1

You can now run pmvs2 on the results eg. PATH_TO_PMVS_BINARY/pmvs2 root/ options.txt

They are in landmarks


update to 0.3, infrastructure improvements

Also pins flann (https://github.com/conda-forge/conda-forge.github.io/pull/405) and switches to the new numpy linking strategy.
Closes #5, assuming builds work.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Ugh, looks like 0.3 was tagged on github last year but never pushed to pypi....

Test failures look like a bug in megaman when used with openblas for some reason? https://github.com/mmp2/megaman/issues/60 / https://github.com/mmp2/megaman/issues/55

0.2 doesn't pass either. I'm probably not going to further debug tests in a package I don't use anytime soon, so if anyone who does use it wants to use this as a base for fixing it (either skipping that test or patching megaman to work), feel free.


sbt-extras: 2020-06-01 -> 2020-09-24

Motivation for this change
Updates
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 99277 1

1 package built:

sbt-extras


Add CppUTest support

This PR adds support for the CppUTest test framework (http://cpputest.github.io)

Hi @OMantere, thanks for the PR. There are some weird failures I'm trying to debug right now. What I see is that CppUTest re-defines operators new/delete which interferes with LLVM memory management. I'll try to find the fix for this issue, but if you have any ideas/suggestions - do not hesitate to share them :)

All right, the memory leak thing can be disabled with the following change:
diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt
index 0f1d1b7..971d486 100644
--- a/vendor/CMakeLists.txt
+++ b/vendor/CMakeLists.txt
@@ -1,3 +1,7 @@
 add_subdirectory(json11 EXCLUDE_FROM_ALL)
 add_subdirectory(LibEBC EXCLUDE_FROM_ALL)
+
 add_subdirectory(cpputest EXCLUDE_FROM_ALL)
+target_compile_definitions(CppUTest
+  PRIVATE CPPUTEST_MEM_LEAK_DETECTION_DISABLED
+)

This should make CI green, and we'll be ready for merge.

@AlexDenisov Thanks for the change! I applied it in commit 72b7dc0.

CI is off again, but I'll fix it separately.


Remove version: REALiX.HWiNFO version 8.04

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi64_804.exe/download
OK
(Automated message - build 923)

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi64_804.exe/download
Status Code: 200
(Automated message - build 903)

Close with reason: Duplicate;


[ Interface ][ TransactionModal ]. Validate inputs, default values, fluid modal

Validate all inputs and set default values. Make fluid modal to fill screen on drag-to-top rather when static with scrollview

At the moment, the task of a responsive modal window will be closed and added to the list of longer-term ones, since it has no practical value.


add default toleration to build pods

This implements a minimally invasive addition to the build pod spec, adding a default tolerations to build pods that match zero2jupyterhub.
hub.jupyter.org/dedicated=user:NoSchedule

cc @consideRatio
closes #851

LGTM and tests seem happy. Merging now, if this turns out to be controversial we can always revert it.

Thanks @betatim - I'll push this to Pangeo's binder and report any problems.

Is a build pods task to build a single image? Then i think this is really good!

Hmmmm, one may consider using the custom user scheduler as well then btw, if not, they will stop scale downs unless there is 0 build pods for ten full minutes.

Is a build pods task to build a single image? Then i think this is really good!

Yes, the build pod builds a single image. In my view, this is ideally done on the same node the notebook will be run, as it provides a higher likelihood that we can avoid a pull of the recently built image. I think there is still an element of chance here so some additional scheduling could help.

one may consider using the custom user scheduler as well then btw

This sounds like a great idea.


"Piatra", "Pițigoi", "Plai", "Podurile" and "Poiana Mierlei" villages are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Type "Piatra" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Piatra, PRAHOVA (Drajna)".

Step 2
Type "Pițigoi" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Pițigoi, PRAHOVA (Drajna)".

Step 3
Type "Plai" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Plai, PRAHOVA (Drajna)".

Step 4
Type "Podurile" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Podurile, PRAHOVA (Drajna)".

Step 5
Type "Poiana Mierlei" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Poiana Mierlei, PRAHOVA (Drajna)".


Cannot install Virtualbox

Description
I am able to sudo apt-get install virtualbox vagrant but when I attempt a vagrant up I am presented with an error. This ends at a Linux headers error, and since WSL is only the userspace and not the kernel am I correct in thinking that there is no current fix for this?
Expected results
Vagrant box comes up fine
Actual results
VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.

So then I run VBoxManage --version
WARNING: The character device /dev/vboxdrv does not exist.
         Please install the virtualbox-dkms package and the appropriate
         headers, most likely linux-headers-3.4.0+.

         You will not be able to start VMs until this problem is fixed.
4.3.36_Ubuntur105129

And then I run sudo apt-get install linux-headers-3.4.0+
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.4.0
E: Couldn't find any package by regex 'linux-headers-3.4.0'

Windows build number
Version 10.0.14393 Build 14393

Thanks for reporting the issue.  WSL does not currently provide Dynamic Kernel Module Support (DKMS) since it is emulating the Linux kernel interfaces exposed to user mode Linux binaries.  We haven't investigated if WSL can also emulate the Linux kernel interfaces exposed to Linux kernel modules.
Check out the important links section on the main page to see what scenarios are being targeted for the current release.

@fpqc I understand all of that, makes perfect sense. However, how do I run vagrant up from my Ubuntu userspace then? I am fine with using Windows binaries but currently am unable to get this working.

@HeathNaylor It says Vagrant supports cloud platforms.  Couldn't you configure your Win32 instance of Virtualbox to appear like a cloud platform and then set Vagrant up to handle it like that?

@fpqc -- by "cloud platforms" I think it means "Amazon AWS" (and similar).  Virtualbox isn't designed to work like AWS.

@HeathNaylor -- I haven't tried this, but one option (though a little clunky) would be to call the Windows version of Vagrant from Linux using cbwin.

As an alternative/workaround, I have made peace with a hybrid Windows/Bash solution for running vagrant + virtualbox + ansible, relying on TCP/IP connectivity across the subsystems.

@MikeTheCanuck use @xilun 's cbwin project.  It can call gui and console windows programs with wstart and wcmd (wcmd cmd for example) inside of the terminal emulator.
I highly suggest running outbash in --outbash-session mode, since this allows you to do things like multiplex cmd with tmux, which is pretty amazing.

What about running a fake WSL VBoxManage that redirects input/output to the real VBoxManage on the windows installed Virtualbox?

With the new build you can run Windows executables so I propose the following to run Vagrant on WSL.
First, remove any previous VirtualBox from your WSL.
Next Check if you can run windows excecutables by adding the path export PATH=$PATH:/mnt/c/Windows/System32, then try opening notepad.exe
If successful go ahead.

Install Vagrant and check if you can run the windows native VirtualBox cli tool.
sudo apt-get install Vagrant export PATH=$PATH:"/mnt/c/Program Files/Oracle/VirtualBox" VBoxManage.exe

Since vagrant requires the executable to be called VBoxManage, I've linked it at /usr/bin
sudo ln -s "/mnt/c/Program Files/Oracle/VirtualBox/VBoxManage.exe" /usr/bin/VBoxManage VBoxManage

Patch the vagrant drivers to include virtual box 5.0 and 5.1 as per the following instructions
https://github.com/mitchellh/vagrant/issues/5572#issuecomment-93250550
Instructions taken from this comment by @PhilipeLouchtch.

At /usr/share/vagrant/plugins/providers/virtualbox/driver/
Copy version_4_3.rb > version_5_0.rb
Edit the class to be called version_5_0 and the log a few lines under
Repeat for version_5_1
Modify /usr/share/vagrant/plugins/providers/virtualbox/driver/meta.rb
find the hashmap on line 48, add after "4.3" => Version_4_3
,"5.0" => Version_5_0,
"5.1" => Version_5_0
Modify /usr/share/vagrant/plugins/providers/virtualbox/plugin.rb
find the module Driver and add the following lines
autoload :Version_5_0, File.expand_path("../driver/version_5_0", FILE)
autoload :Version_5_1, File.expand_path("../driver/version_5_0", FILE)

Enjoy.

@ricardowong Thanks for your guide, it definitely works well.  I would suggest people to not install vagrant from the package manager but rather from vagrant using wget and dpkg -i
The package manager has a pretty outdated version of vagrant.
I'm having an issue running vagrant up with this setup.  Vagrant invokes the VBoxManage import command.  The problem is that the path is for inside of WSL, not windows.  VBoxManage tries to prepend D:\ (at least for me) which means the command fails because that path does not exist.  Does this mean that we can only use vagrant inside of WSL only after provisioning boxes?

@ricardowong @antmerlino
Same thing happens for me. This is the exact error when I run vagrant up:
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "-n", "/home/odannyc/.vagrant.d/boxes/scotch-VAGRANTSLASH-box/2.5/virtualbox/box.ovf"]

Stderr: 0%...
Progress state: VBOX_E_IPRT_ERROR
VBoxManage.exe: error: Appliance read failed
VBoxManage.exe: error: Failed to open OVF file 'D:\home\odannyc\.vagrant.d\boxes\scotch-VAGRANTSLASH-box\2.5\virtualbox\box.ovf' (VERR_PATH_NOT_FOUND)
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ApplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 307 of file VBoxManageAppliance.cpp

any fixes or workarounds anyone can think of?

Actually, putting my home folder in the D:\ drive and symlinking my home folder in ubuntu to the D mount might just work, testing...

@odannyc same error here? did you discover a solution?
as we could see VBoxManager is trying to open the same folder as $PATH instead of Linux.

@MatheusRV the fix you did doesn't seem to fix mine. Did the export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1" then vagrant up but same error is showing.

@marcvroom hello, did you updated your vagrant?
Which version is your WSL version, your vagrant, and VirtualBox?

Hi @MatheusRV, my vagrant is 1.9.5 and my WSL version is 16.04(this is the ubuntu version, right?) and my VirtualBox is 5.1.22. I think all is updated.

@odannyc Same issue here

@marcvroom  @vzezzos
Probably vagrant is trying to use ubuntu's virtualbox. Maybe this will fix it.
export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"
sudo apt-get purge virtualbox
sudo apt-get remove virtualbox-dkms
```


Changes to cpp_rpc to make it work on Android (+ Hexagon offloading)

Implement getNextString to break up std::stringstringstream into words. Operator >> on stringstream just doesn't work on Android.
string::find_last_of doesn't look for the last substring, but the last character from a given string.
Use SIGTERM to terminate processes (this isn't necessary, but using SIGKILL is not a good practice).
Convert ./rpc to a full path. When a module is uploaded and offloaded to Hexagon, the dlopen on Hexagon needs an absolute path (or a path without directories).

THANKS @kparzysz-quic


Block city hall holidays on calendar

Can start with holidays gem
Should get a list of LB official city hall holidays

From Dale:
1/1 - New Year's
1/? - MLK
2/? - Washington's Birthday
5/? - Memorial Day
7/4 - Independence Day
9/? - Labor Day
11/? - Thanksgiving
12/? - Christmas


feat: Add a method to adapt the camera bounds to the world

Description

This PR adds a method to the CameraComponent class that allows it to set its bounds according to the current world. In fact, this was the behavior of the old camera object.
Checklist

[x] I have followed the Contributor Guide when preparing my PR.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples or docs.

Breaking Change?

[ ] Yes, this PR is a breaking change.
[x] No, this PR is not a breaking change.

Related Issues

Closes #2601.

@spydon I see, but calculating the worldSize may be a bit more difficult if the shape is not a Rectangle, isn't it ? Also, does strictBounds sounds good to you ?

@spydon I see, but calculating the worldSize may be a bit more difficult if the shape is not a Rectangle, isn't it ? Also, does strictBounds sounds good to you ?

Maybe:
/// When [considerViewport] is true none of the viewport can go outside
/// of the bounds, when it is false only the viewfinder anchor is considered.
void setBounds(Shape? bounds. {bool considerViewport = false}}) {

Okay, I've made the changes you've suggested :
if (considerViewport && bounds != null) {
  final halfViewportSize = viewport.size / 2;
  bounds = Rectangle.fromCenter(
    center: bounds.center,
    size: Vector2(bounds.support(Vector2(1, 0)), bounds.support(Vector2(0, 1))) - halfViewportSize,
  );
}

One drawback is that the bounds are converted to a Rectangle. I don't if it's possible to just "adapt" the given shape to the viewport as Shape is an abstract class.

One drawback is that the bounds are converted to a Rectangle. I don't know if it's possible to just "adapt" the given shape to the viewport as Shape is an abstract class.

Much better! Except that it doesn't compile. :sweat_smile:
I think we should check at least support circular viewports and circular bounds in the future too, but maybe that could be a follow-up.

Yep, it still wip. More commits to follow 🙂

Alright, so I've added the following method :
Shape? _calculateViewportAwareBounds(Shape originalBounds) {
  final worldSize = Vector2(
    originalBounds.support(Vector2(1, 0)).x,
    originalBounds.support(Vector2(0, 1)).y,
  );
  final halfViewportSize = viewport.size / 2;
  if (originalBounds is Rectangle) {
    return Rectangle.fromCenter(
      center: originalBounds.center,
      size: worldSize - halfViewportSize,
    );
  } else if (originalBounds is RoundedRectangle) {
    final halfSize = (worldSize - halfViewportSize) / 2;
    return RoundedRectangle.fromPoints(
      originalBounds.center - halfSize,
      originalBounds.center + halfSize,
      originalBounds.radius,
    );
  } else if (originalBounds is Circle) {
    return Circle(
      originalBounds.center,
      worldSize.x - max(halfViewportSize.x, halfViewportSize.y),
    );
  }
  return null;
}

Which is being used in setBounds :
if (considerViewport && bounds != null) {
  bounds = _calculateViewportAwareBounds(bounds) ?? bounds;
}

Tell me what you think about it 🙂

Tell me what you think about it 🙂

Looks good! I think we need to take the zoom into consideration too though, because this doesn't work when the zoom level is changed right?

Let's do that !

@spydon Just checked the source code and it seems that BoundedPositionBehavior doesn't take any viewfinder.transformation into account. Maybe this belongs to a separate PR ?

@spydon Just checked the source code and it seems that BoundedPositionBehavior doesn't take any viewfinder.transformation into account. Maybe this belongs to a separate PR ?

The BoundedPositionBehavior doesn't need to take any viewfinder transformations into account, since it only checks on a position and a bounds. This PR on the other hand that adds bounds aware of the viewport needs to take into consideration when the CameraComponent.visibleWorldRect changes (i.e. when the viewport size changes after a resize or the zoom level of the viewfinder makes a smaller/bigger part of the world visible), otherwise if you for example first play the game in landscape mode and then flip it to portrait the bounds won't be correctly calculated.

Alright. Maybe the best approach is to add a new behavior to the viewfinder so that it can update the bounds based on the visible rectangle.

Alright. Maybe the best approach is to add a new behavior to the viewfinder so that it can update the bounds based on the visible rectangle.
That's what I did in the latest commit. I haven't implemented the "update" part, but can you tell me what you think about it please ?

The idea is good, but the bounds should not have to be recalculated on every tick, but only when the transforms that are affecting it are changing. You can add listeners to those transforms and run the update method when they trigger.

The idea is good, but the bounds should not have to be recalculated on every tick, but only when the transforms that are affecting it are changing. You can add listeners to those transforms and run the update method when they trigger.

Yes, I was thinking about that. The thing is, from what I know, these transforms don't have any method that allow to register a listener. I'll see what's the best approach.

Yes, I was thinking about that. The thing is, from what I know, these transforms don't have any method that allow to register a listener. I'll see what's the best approach.

The FixedResolutionViewport has it (called transform), we could just put that field directly on the Viewport and override it in the subclasses. And the viewfinder already has it.

Yes, what I mean is I didn't know that the Transform class had a addListener method or something like that. But I just seen that it overrides ChangeNotifier.

Okay, the problem with listening for Transformation2D updates, it that when there is a FollowBehavior, the following line,
owner.position = delta..add(owner.position);

triggers an update at every tick.

scale is exposed as a NotifyingVector2 inside of Transform2D so that you can listen to only scale changes, are there more things from the transform that you need?

Any updates on this @Skyost? :)

Hey @spydon,
Sorry, I've never written any golden test in my life and have been unactive for the past two weeks. I'll try to make some progress today 🙂

I've added a test that checks whether the viewport has been correctly updated. It's not a golden test, but I think it does the trick. Do you think it needs more tests ? If so, what parts of the ViewportAwareBoundsBehavior class need to be tested ?


HTTPS errors on assets

Laravel Version: 5.5
Voyager Version: dev-master
PHP Version: 7.0
Database Driver & Version:

Description:
I have a problem with my admin configuration. Since my server runs under HTTPS connection, Voyager assets are blocked and, consequently, can't be loaded by the pages. Does anybody knows a simple way to fix that?

Voyager's assets should all be loaded using relative URLs, so that should be a non-issue.  Can you please provide some examples?  This is the first I've heard of anyone having this issue.

https://voyager.readme.io/docs/using-https-on-your-site probably your answer is here

i already have voyager with https on production and i have no problem with that

I have the same issue. production env with cloudflare HTTPS certificate.

If you add this in your web.php in routes first solve this isssue.
if (App::environment('production', 'staging')) {
URL::forceScheme('https');
}

I'm going to close this.  @anselmobattisti's link should be adequate at resolving this.

The link didn't help
@gnovaro answer did

To Use HTTPS, in config/voyager.php use secure_asset()
'assets_path' => secure_asset('/vendor/tcg/voyager/assets'),

@ysads you can update the APP_URL in your env file and pull an https URL

Euw this is still alive after Laravel Nova release?

@gnovaro answer solved this for me


Hitting the keyboard action button will cause that a tag is also created

Also add an option to change the keyboard appearance which mainly
works in iOS.

@panuavakul Hi how are you. I have created that pull request to expose the fuctionality of the keyboard a bit more. Please have a look. Thanks

@joecks Hi, thanks for the PR. LGTM, I will merge and deploy the new version as soon as I can.

Thanks again for the PR, after thinking about it there were couple of requests for exposing onSubmitted (https://github.com/panuavakul/material_tag_editor/issues/8 https://github.com/panuavakul/material_tag_editor/issues/5) so I thought it might be better if we just expose the onSubmitted that will pass the outstanding TextField value to the user so that they can do what they want with it. I have the implementation here (https://github.com/panuavakul/material_tag_editor/pull/10).
You can still do what do you want to do with this pull request by just passing your own onSubmitted and adding the value to the state as shown in the updated example project. If you have any feedback please let me know.


Extensible Authentication Protocol support

One of the most common uses of RADIUS these days is for 802.1x authentication - EAP/RADIUS. RFC3748/RFC3579 requires "super-protocol" interaction in that EAP is embedded within RADIUS and the EAP protocol interactions (init/challenge/response/result) occur within the RADIUS packets atop higher OSI layers than ethernet-level EAPOL transactions.
In order to be able to use this code as a proxy between wireless clients and RADIUS services which themselves do not support EAP, support for RFC3579 would be required in the library.
@moznion - any chance you might have the cycles to implement in the near term, or should i try to pollute your otherwise clean code with my garbage hackery to achieve basic functionality?
Thanks for writing this, neat implementation.

Thank you for your suggestion, @sempervictus.
I totally agree with your inquiry and actually I intended to implement that feature at the releasing time of this library, but I don't use that function in my product so that has been postponed to implement.
At the moment, I've not implemented that feature but I recognize the demand, so I think now is the time to implement that.

Thanks a ton - i've a live test-case to work through debugging if that would be handy. Getting my head around how you have dictionaries working here. Takes a little bit of cross-file groking to make sense of it, but starting to get the hang. If you could throw up an R&D branch for the functionality, i'll happily test and collaborate off of it as you push to get hands dirty in the code without messing up the elegance of this implementation.

Looks like the term "string" is a bit loose in the spec

       0                   1                   2
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Type      |    Length     |     String...
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Type

      79 for EAP-Message

because
pub const EAP_MESSAGE_TYPE: AVPType = 79;
/// Delete all of `eap_message` values from a packet.
pub fn delete_eap_message(packet: &mut Packet) {
    packet.delete(EAP_MESSAGE_TYPE);
}
/// Add `eap_message` value-defined integer value to a packet.
pub fn add_eap_message(packet: &mut Packet, value: String) {
    packet.add(AVP::from_string(EAP_MESSAGE_TYPE, &value));
}
/// Lookup a `eap_message` value-defined integer value from a packet.
///
/// It returns the first looked up value. If there is no associated value with `eap_message`, it returns `None`.
pub fn lookup_eap_message(packet: &Packet) -> Option<Result<String, AVPError>> {
    packet
        .lookup(EAP_MESSAGE_TYPE)
        .map(|v| Ok(v.encode_string()?))
}

used in
        let maybe_eap_message = rfc3579::lookup_eap_message(req_packet);
        match maybe_eap_message {
            Some(e) => match e {
                Ok(m) => info!("Found eap message:\n{}\n",m),
                Err(e) => error!("Could not decude eap message due to:\n\t{}\n",e)
            },
            None => info!("No eap message found")
        }

produces
[2022-07-27T23:11:24Z ERROR server] Could not decode eap message due to:
        decoding error: invalid utf-8 sequence of 1 bytes from index 1

any pointers on what i might be doing wrong here? :smile: Thanks

If i lookup the EAP message and encode it to a tagged string, the error changes slightly:
[2022-07-27T23:36:47Z ERROR server] Could not decode authenticator due to:
        decoding error: invalid utf-8 sequence of 1 bytes from index 2

so eating a byte of tag has moved the error message over by a byte.


logs - log-level and json-format

We use a log server and it would be a great help if the log format was JSON. This would enable the log server to prepare the logs accordingly and they would be easier to read and find again.
In addition, in certain environments we are not interested in logs with the log level "debug" or "info", so it would be great if you could set the log level. This would also reduce the load on the log server, as the unnecessary logs would not arrive in the first place.
Currently, the "dynatrace operator" and "webhook" services already log out of the box in JSON format.
Unfortunately, "active gate" and "one agent" do not.

Hi @AllroundIT, thanks for your input, as you said operator/webhook/CSI Driver are already logging in json format. We are also working on different log levels and how we can utilise them best, however this repo is focused on the Dynatrace Operator and its components (webhook, csi driver) and not on OneAgent and ActiveGate, therefore please open an RFE (request for enhancement) in our Dynatrace community. This way we can ensure your input is not missed :) Thanks!


How to query another column like "birthYear" bigint

i want to try modify pri_select--1.0.sql，but not work .
"This demo targets string types on postgres, but can easily be adapted to query any type: int4, int8, float, bytea, etc."
how to work it

By easily, I meant, if you already know C and C++ fundamentals on types. I won't be publishing those any time soon but you are welcome to implement them. I will merge those improvements if they are submitted to the repo.
The purpose of this repo is simply to prove, by exhibiting a real implementation, that PIR is doable on a real database; and hopefully, the claim that a practical implementation exists based on that work is at least taken somewhat seriously by folks who care about this topic.
The MuchPIR whitepaper is not published either. At least for now. Any commercial interest is welcome to email me, the contact info is on the Readme file.


Network adapter binding

Is there a connection parameter to specify which network adapter to bind to? I am running on Win10x64.

I figured it out. For anyone else trying to bind the client to a specific adapter here is what I did:
var conn_params = {
    CommLinks: 'TCPIP{Me=<IP_ADDRESS>;IP=<IP_ADDRESS>;ServerPort=2638}',
    ServerName: 'ourserver',
    UserId: 'DBA',
    Password: 'sql'
};

All the same stuff we would typically stuff into a connection string. It took me a while to figure out how it expected the comlinks options to be placed in the json object.


Babel-Polyfill needed for async/await support

using node-serialport with this boilerplate and I needed to use async/await. I ran into an error that regeneratorRuntime was not defined. Adding the babel-polyfill dependency and importing it into both main.js and index.js allows for async/await on both the main and renderer processes respectively.

Could you please help me by adding a pull request?

sure thing!

Thanks!


[UI][Registry] Can't remove credential in Add Registry

Steps:

Go to Registry page and click on Add Registry
Click on Add Registry button
Click + to add Credentials
Click on x on right side to remove credential

Results:
Nothing happens
Expected:
Should remove Credential

Found out this is only on credentials that are created in the Add Registry.

v0.16.0
Verified Fixed


mox corrupting 822 email part

I have a 32,262 byte message that mox is corrupting by inserting an extra U+000D
The insertion is at index 12,973
The corruption is in the html mime part. There are lots of lines, but the message is always corrupted at the same place
— at the end of a particular line, a CR is converted to CR CR
version: 0.0.8
with this bug mox cannot be used
an imap server corrupting messages is not OK
— I was able to verify that on the socket sending to mox, the extra CR is not present: mox is receiving good data
— In mox file-system store, the extra CR is present. mox is storing BAD data after receiving good data
— on retrieving the message from mox, the length is correct but the inserted CR causes the final U+000A to be lost
mox should not be tampering or filtering the opaque rfc822 bytes
if mox gets corrupt rfc822 in, it should send the same corrupt rfc822 out
— I would suggest to implement sha256 hashing that would detect corrupt data
— this would detect software bugs or file system errors
— use a type with both the byte slice and the hash, say first 8 character-array, then always have them go together
— if the server reads corrupt data from disk, it should stop serving requests
— I have also seen other people using Go scanners intended for text on their sockets, that may not work for imap

I found this on precompiled mox 0.0.8 on Linux amd64
It is not present on compile-from-source 0.0.9 arm64 macOS 1d9e80f

This still exists after upgrade to 0.0.9 linux-amd precompiled
— for some emails 32 KiB or larger but often 100 KiB, mox modifies exactly one line ending from crlf to crcrlf
— a particular mail fails every time. Almost always it is the same line. It settles on a line, after that it is always the same line
— when it happens, it has been determined in socket taps that the crcrlf sequence does not appear on the socket to mox
— the crcrlf sequence can be found in files in mox’ msg directory
— crcr cannot appear in imap or email and it does not exist in Linux/macOS text files
— with 0.0.8 the same length was returned. In 0.0.9 the length+1 is returned APPEND/UID FETCH
— if a Go test Write/ReadBytes/ReadFull client is used, it does not appear
— with the previous 32 KiB email it happened for a non-compliant 32 KiB non-synchronizing literal
— for the larger 100 KiB email it happens with synchronizing literals
So far it only happens when using a TLS connection across a network segment to Linux/amd
A key issue is that it happens at a line ending in some mime part 64 KiB or more into the email
— why would any code dig through a literal for a line ending?
the email bytes is an opaque byte-slice
additionally, the cr is inserted, pushing subsequent bytes, which is an unusual low-performance operation for a Go slice
The msg directory can be examined by
cd ~mox/…/msg
find . -type f -exec cat -v {} \; | fgrep "^M^M"
=20=20=20=20=20=20=20=20=20=20=20=20^M^M

one can also examine files:
cat -eutv 1,835.txt | less -N
 1 Delivered-To<EMAIL_ADDRESS>

Actually the client used, which is the least garbage among all the Go imap garbage out there,
sends via bufio.Writer which may send in chunks of 64 KiB
if the delay between two such chunks is longer than the time to receive a chunk, then mox will receive chunks separately
possibly, mox is unable to handle receiving a literal across multiple read invocations, and mox does that reception somehow involving newlines and therefore erroneously inserts a cr. possibly

TOTAL BUG
server.go:2729 just read the literal to file correct length msize
server.go:2778 about to write to store: length is +1 m.Size

Here’s a fix to the very serious fatal not good indeed email corruption bug
— root cause: message.NewWriter cannot handle chunking into multiple Write invocations
— more bad news: mox should NEVER NEVER tamper with the rfc822 field
— even more badies: there’s some byte sniffing to figure things out. In Go, if anyone wants to know what’s in an email, the enmimed library is used
diff --git a/imapserver/server.go b/imapserver/server.go
index 3b6dc77..e4f3cb4 100644
--- a/imapserver/server.go
+++ b/imapserver/server.go
@@ -2725,13 +2725,19 @@ func (c *conn) cmdAppend(tag, cmd string, p *parser) {
        }()
        defer c.xtrace(mlog.LevelTracedata)()
        mw := message.NewWriter(msgFile)
-       msize, err := io.Copy(mw, io.LimitReader(c.br, size))
+       var b = make([]byte, size)
+       _, err = io.ReadFull(io.LimitReader(c.br, size), b)
+       msize, e := mw.Write(b)
+       b = nil
+       if err == nil && e != nil {
+               err = e
+       }
        c.xtrace(mlog.LevelTrace) // Restore.
        if err != nil {
                // Cannot use xcheckf due to %w handling of errIO.
                panic(fmt.Errorf("reading literal message: %s (%w)", err, errIO))
        }
-       if msize != size {
+       if int64(msize) != size {
                xserverErrorf("read %d bytes for message, expected %d (%w)", msize, size, errIO)
        }

@@ -2772,7 +2778,7 @@ func (c *conn) cmdAppend(tag, cmd string, p *parser) {
                                Received:      tm,
                                Flags:         storeFlags,
                                Keywords:      keywords,
-                               Size:          mw.Size,
+                               Size:          size,
                        }

                        ok, maxSize, err := c.account.CanAddMessageSize(tx,  m.Size)

i reproduced the problem of the spurious \r and wrote a test that is only triggered without the fix.

v0.0.10 is coming soon, it has instructions for finding & fixing up messages that have the \r\r\n line endings. Closing this for now, we can reopen if needed.


Added route table bicep module + alignment

Change

Added route table bicep module
Aligned RBAC naming across modules

Pipeline run:
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update (Wiki)

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (readme)
[x] I did format my code

I took the liberty to update the RBAC to be same as we discussed in chat earlier.

Do not merge, working on finalizing the testing on the RBAC approach. The approach might be flawed, as there is no way its connecting to the correct scope (resource). Tested adding scope to the module deployment, but resource is not a supported targetScope, so now it makes sence with the other type of structure that was in place before.
Finalizing testing to be sure.

Discussions offline show we want to align more RBAC/roleAssignment modules to the following:
Just so we are aligned, this is what we want to end up with:
In deploy.bicep:

...
param roleAssignments array = []
...
module <mainResourceReference>_rbac './.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in roleAssignments: {
  name: 'rbac-${deployment().name}${index}'
  params: {
    roleAssignmentObj: roleAssignment
    builtInRoleNames: builtInRoleNames
    resourceName: <mainResourceReference>.name
  }
}]

In ./.bicep/nested_rbac.bicep

param roleAssignmentObj object
param builtInRoleNames object
param resourceName string

resource roleAssigment '<resourceProvider>/<resourceType>/providers/roleAssignments@2020-04-01-preview' = [for principalId in roleAssignmentObj.principalIds: {
  name: '${resourceName}/Microsoft.Authorization/${guid(resourceName, principalId, roleAssignmentObj.roleDefinitionIdOrName)}'
  properties: {
    roleDefinitionId: contains(builtInRoleNames, roleAssignmentObj.roleDefinitionIdOrName) ? builtInRoleNames[roleAssignmentObj.roleDefinitionIdOrName] : roleAssignmentObj.roleDefinitionIdOrName
    principalId: principalId
  }
}]


Investigate if we see build errors for unused functions in CI

Testing CI outcomes (related to https://github.com/Azure/azure-sdk-for-cpp/pull/6073), not intended to be merged.

API change check
API changes are not detected in this pull request.


Spread target

Hi,
I'm probably missing something but I see this in my console
[ 04/27/2017 15:02:03 IN MARKET: Long Kraken / Short Bitfinex ]
   Bitfinex:    1.407,20 / 1.407,80
   Kraken:      1.302,90 / 1.307,01
   Poloniex:    1.404,57 / 1.407,00
   ----------------------------
   Kraken/Bitfinex:      8.05% [target  6.30%, min  7.09%, max  8.70%]

shouldn't the trade begin with a spread of 8.05% (which is > 6.30%) ?

I wouldn't advise to trade Bitfinex right now. They are trading at a premium (hence the large spread) because of their current banking issues.

Ok but the rationale is correct? Should it trade or not?

There is also the same spread between Kraken and Poloniex

Yes the rationale is correct. The spread is above the target: Blackbird would trade the opportunity.
Poloniex is also trading at a premium because of their issue with liquidating USDT. However, Blackbird cannot short on Poloniex anyway.

Ok, so why Blackbird is not trading right now Kraken long and Bitfinex short?

Because you're already in market. See the first line:
[ 04/27/2017 15:02:03 IN MARKET: Long Kraken / Short Bitfinex ]

What does this mean? Could you point me to some issues which describe this situation?

It means that Blackbird already traded that opportunity and is now waiting for the spread to close to trade back to USD and close the opportunity. Check the log file to see when the trades happened.

If I delete the restore.txt all should be back to normal? I have a restore.txt with
1
1
0
Kraken
Bitfinex
9.15265
0.0025
0.002
1493156892
0.0769847
1274.02
1372.5
0
0.0629847
-1
1
1
0

I've already traded back all to USD manually an have 0 bitcoin on each exchange

Yes. Since you've traded everything back to USD you can delete restore.txt and you're good to go.

Ok now all seems clear to me! Thank you @butor!

You're welcome


setup-courses - Add labtemplate admin rolebinding

Description
This PR introduces the creation of a rolebinding to allow course administrators to create, edit and delete labtemplates of their courses.
This modification is required to enable #221
How Has This Been Tested?
Executing the setup-course to create the rolebinding for the already existing courses

/rebase

/rebase


R13 Bugbash: "Select a template" page needs text consistency cleanup for template names

Describe the bug
There are a bunch of text consistency issues for the "Select a template" page:

Some with upper-case "Bot" and some with lower case "bot"
Some template name ends with "Bot" or "bot", and some does not
Some with capitalized "A" in "Enterprise Assistant Bot", and some with lower case "a" in "Basic assistant"

Version

Browser

[ x] Electron distribution

OS

[x ] Windows

To Reproduce
Steps to reproduce the behavior:

Go to Composer Homepage
Click "New"

Expected behavior
consistent template names which is important in such professional software
Screenshots

BTW, this seems to be a regression as we had the following in the earlier version:

The names should all be changing to align - https://github.com/microsoft/botframework-components/issues/932


🐛 IntelliJ plugin incompatible with WebStorm 2023.3

Environment information
main

What happened?
Our current plugin isn't compatible with WebStorm 2023.3
Expected result
To be compatible
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

cc @victor-teles