Enable uploading segments to realtime tables

Description
Currently upload endpoint on controller accepts segments for offline table and also upsert-enabled realtime tables. This PR extends it to all realtime tables.
Corresponding issue: #8283
Testing Done

Extended LLC realtime integration tests to upload segments to verify both refresh and new segment upload paths
Extended current unit tests for both segment assignment and rebalance

Release Notes
Uploading segments are now enabled for all realtime table. Previously one could only upload segments to upsert-enabled realtime tables. This feature unblocks the followings for realtime tables:

Bootstrap a realtime table
Backfill
Segment merge & rollup
Segment purge & conversion

With segment upload support, we can remove most of the restrictions to realtime tables, and make long retention realtime table much more manageable.

Codecov Report

Merging #8584 (8ad458e) into master (f200ec5) will decrease coverage by 6.77%.
The diff coverage is 69.13%.

:exclamation: Current head 8ad458e differs from pull request most recent head 8c0cf76. Consider uploading reports for the commit 8c0cf76 to get more accurate results

@@             Coverage Diff              @@
##             master    #8584      +/-   ##
============================================
- Coverage     70.75%   63.98%   -6.78%
- Complexity     4315     4317       +2
============================================
  Files          1691     1645      -46
  Lines         88606    86730    -1876
  Branches      13437    13236     -201
============================================
- Hits          62690    55491    -7199
- Misses        21534    27223    +5689
+ Partials       4382     4016     -366

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
66.97% <0.00%> (+0.02%)
:arrow_up:

unittests2
14.14% <69.13%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/apache/pinot/common/utils/SegmentUtils.java
0.00% <0.00%> (-71.43%)
:arrow_down:

...ces/PinotSegmentUploadDownloadRestletResource.java
41.84% <ø> (-16.26%)
:arrow_down:

...apache/pinot/controller/api/upload/ZKOperator.java
65.60% <ø> (-10.78%)
:arrow_down:

...inot/controller/helix/ControllerRequestClient.java
51.00% <0.00%> (-12.00%)
:arrow_down:

...ata/manager/realtime/RealtimeTableDataManager.java
11.55% <0.00%> (-56.72%)
:arrow_down:

...in/java/org/apache/pinot/spi/utils/StringUtil.java
100.00% <ø> (ø)

...spi/utils/builder/ControllerRequestURLBuilder.java
0.00% <0.00%> (ø)

.../assignment/segment/RealtimeSegmentAssignment.java
94.24% <92.72%> (+0.28%)
:arrow_up:

...ntroller/helix/core/PinotHelixResourceManager.java
64.38% <100.00%> (-3.23%)
:arrow_down:

...e/assignment/segment/SegmentAssignmentFactory.java
100.00% <100.00%> (ø)

... and 391 more

Continue to review full report at Codecov.

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


Json highlighting needs fix

Hi, I have a JSON on my website which is valid. Though enlighter does not display it appropriately with right coloring.
Please check here - http://adhocshare.tk/hadoop/query-escaped-json-string-hive/
look at the first enlighter box on the page.

Dear robin,
thanks for your report!
of course, it seems to be a bug within the EnlighterJS Language support file. i will fix with the next major release (v3).
best regards, Andi

You are welcome. Patiently waiting for the next release :-)


Added placeholders and fixed z-indexes

@dkildar 2nd screenshot, it should be your hivesigner password, not hive. that would be confusing.


Add recursive directive for deep nested nodes

#836 ng-include trigger digest and with trees 10 lvl deep 10 digest appears. An solution is to use recursive directive with cached template. Simple solution which do not change current architecture, but just adds:
1 attribute directive - ui-tree-nodes-renderer
2 directive attributes - nodeRenderTemplate, currentNode
notes: no tests are applied; recommendations and changes to my solution are wellcome

Coverage decreased (-0.02%) to 36.134% when pulling 740efaf5032e8f3c5890e6a5f1e7f958b9424236 on m1llen1um:defect/836/deep-tree-10digest into fcaea6d3da910c346c4057bc1283dc135f96baed on angular-ui-tree:master.

@m1llen1um first of all, thanks for your effort! Can you please check your PR with our Contributing Guidelines?
Then we can start the review process. Thanks in advance!

Coverage decreased (-0.02%) to 36.134% when pulling<PHONE_NUMBER>2cc9b2ad6d2b898b9b264d166a96ce on m1llen1um:defect/836/deep-tree-10digest into fcaea6d3da910c346c4057bc1283dc135f96baed on angular-ui-tree:master.

@Voles I changed the PR title and removed the dist/ changes. I hope everything is ok now. If you find something not corresponding to your "Contributing Guidelines" please point to it.

Coverage decreased (-0.02%) to 36.134% when pulling ff883c49d2a74196f82596695f22cf0b358217a3 on m1llen1um:defect/836/deep-tree-10digest into fcaea6d3da910c346c4057bc1283dc135f96baed on angular-ui-tree:master.

the issue is still happening, with 9 levels it throw error for me


Evaluations on KITTI 2015

Thank you for your work!
I have already downloaded the KITTI stereo 2015 from the website, but I can not find the ground truth disparity for the testing image, so if I want to test the model and calculate the error on the KITTI test set, how should I do it?
Could you please explain how to evaluate on KITTI test set in more detail?

See Kitti about how to submit test results to benchmark for evaluation.
Benchmarks usually have hidden ground truths for test set.


Deprecate asn_alts/allow_permutations in favor of new argument: asn_methods

asn_alts in asn.IPASN.lookup(), asn.ASNOrigin.lookup(), and ipwhois.IPWhois.lookup*() has a static first lookup method (DNS for IPASN, WHOIS for ASNOrigin).
Deprecate asn_alts and add a new argument 'methods'. This will be an ordered list of ALL lookup methods, so you can skip the initial DNS/WHOIS attempts if needed.
The new 0.15.0 class ASNOrigin was designed this way for the sake of consistency until deprecated in IPASN and IPWhois.

allow_permutations will also need to be deprecated, as it will now be unnecessary.

Reminder to myself: Deprecate and add functionality in CLI/docs

Merged in 08e66a15c0403ebdc5c9350f22d71295ccad7453


Increment version for redisenterprise releases

Increment package version after release of Azure.ResourceManager.RedisEnterprise

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


Improve Chatbot Responses for Natural Language Input

Description:
Currently, the chatbot responses appear to be fragmented, showing as single words, affecting the overall user experience. Additionally, there is an opportunity to enhance response generation by providing responses in natural language, corresponding to the user's input.
Steps to Reproduce:

Engage in a conversation with the chatbot.
Observe the format and content of the chatbot responses.

Expected Behavior:

Chatbot responses should be presented in coherent sentences or phrases.
Responses should be generated in a natural language format that corresponds to the user's input.

Actual Behavior:

Responses is in one word, leading to a less-than-optimal user experience and less understanding for the user.
The chatbot responses may not fully utilize natural language constructs.

Proposed Solution:
Enhance the response generation algorithm by integrating an open-source Large Language Model. By leveraging such models, we can achieve more contextually relevant and natural language responses that align with the user's input. This improvement aims to provide a more coherent and user-friendly conversational experience.
Screenshots:

The chatbot is now able to give response in Natural Language by adding open-source Large Language Model (LMM) such as LLAMA-2-7B
Here are the screenshots.


e2e: mysqlcluster-related api and test case.

What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Ref: #302
Fixes #
What this PR does?
Summary:

e2e framework(Adjust part of the code make the frame automatically export the log when the test fails)
cluster scale in/out case

Special notes for your reviewer?

LGTM

Link: https://github.com/radondb/radondb-mysql-kubernetes/pull/302


"How to Create an App Using V3 of the CC API" wiki page contains stale links

Issue
The How to Create an App Using V3 of the CC API page in this repo's wiki contains links to the old docs (apidocs.cloudfoundry.org) that no longer are there, as opposed to the new docs (v3-api.cloudfoundry.org) to the actual documentation for the v3 API.
Expected result
Clicking on a (docs) link will take me to the v3 API page for that endpoint
Current result
Clicking on the (docs) links takes me to the v2 API page to experimental sections that have been removed
Possible Fix
Update the links

Thanks @ardnaxelarak !! I fixed them.


[stable/airflow] Gitsync throws Error: Deployment.apps "airflow-web" is invalid: spec.template.spec.containers[0].volumeMounts[0].name: Not found: "git-clone"

Airflow doesn't sync the git repo as I provided in gitSync in values.yaml.
Here is the dag part for the values.yaml
dags:
  ##
  ## mount path for persistent volume.
  ## Note that this location is referred to in airflow.cfg, so if you change it, you must update airflow.cfg accordingly.
  path: /usr/local/airflow/dags
  ##
  ## Set to True to prevent pickling DAGs from scheduler to workers
  doNotPickle: false
  ##
  ## Configure Git repository to fetch DAGs
  git:
    ##
    ## url to clone the git repository
    url: https://gitlab.com/selin-gungor/airflow-kubernetes-helm
    ##
    ## branch name, tag or sha1 to reset to
    ref: master
    ## pre-created secret with key, key.pub and known_hosts file for private repos
    secret: ""
    ## The host of the repo so for example if a github repo put github.com (Only need if using ssh not https git sync)
    repoHost: ""
    ## The name of the private key in your git sync secret (Only need if using ssh not https git sync)
    privateKeyName: ""
    gitSync:
      ## Turns on the side car container
      enabled: true
      ## Image for the side car container
      image:
        ## docker-airflow image
        repository: alpine/git
        ## image tag
        tag: 1.0.7
        ## Image pull policy
        ## values: Always or IfNotPresent
        pullPolicy: IfNotPresent
      ## The amount of time in seconds to git pull dags
      refreshTime: 3000

Version of Helm and Kubernetes:
Helm version:
version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-14T04:24:34Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.10-gke.17", GitCommit:"bdceba0734835c6cb1acbd1c447caf17d8613b44", GitTreeState:"clean", BuildDate:"2020-01-17T23:10:13Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}
~
Which chart:
stable/airflow
What happened:
I install my values.yaml with the command below to copy airflow dags from a public repository
helm install -f values.yaml "airflow" stable/airflow
Retrieves an error:
Error: Deployment.apps "airflow-web" is invalid: spec.template.spec.containers[0].volumeMounts[0].name: Not found: "git-clone"
What you expected to happen:
Deploy Airflow configuration to Kubernetes and copy the dags and mount into Airflow container.
How to reproduce it (as minimally and precisely as possible):
Make sure you have a connection to Kubernetes cluster
Copy the file below:
# Duplicate this file and put your customization here

##
## common settings and setting for the webserver
airflow:
  extraConfigmapMounts: []
  # - name: extra-metadata
  #   mountPath: /opt/metadata
  #   configMap: airflow-metadata
  #   readOnly: true
  #
  # Example of configmap mount with subPath
  # - name: extra-metadata
  #   mountPath: /opt/metadata/file.yaml
  #   configMap: airflow-metadata
  #   readOnly: true
  #   subPath: file.yaml

  ##
  ## Extra environment variables to mount in the web, scheduler, and worker pods:
  extraEnv:
  #  - name: AIRFLOW__CORE__FERNET_KEY
  #    valueFrom:
  #      secretKeyRef:
  #        name: airflow
  #        key: fernet_key
  #  - name: AIRFLOW__LDAP__BIND_PASSWORD
  #    valueFrom:
  #      secretKeyRef:
  #        name: ldap
  #        key: password

  ##
  ## You will need to define your fernet key:
  ## Generate fernetKey with:
  ##    python -c "from cryptography.fernet import Fernet; FERNET_KEY = Fernet.generate_key().decode(); print(FERNET_KEY)"
  ## fernetKey: ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCD
  fernetKey: ""
  service:
    annotations: {}
    sessionAffinity: "None"
    sessionAffinityConfig: {}
    type: LoadBalancer
    externalPort: 8080
    nodePort:
      http:
  ##
  ## The executor to use.
  ##
  executor: Celery
  ##
  ## set the max number of retries during container initialization
  initRetryLoop:
  ##
  ## base image for webserver/scheduler/workers
  ## Note: If you want to use airflow HEAD (2.0dev), use the following image:
  # image
  #   repository: stibbons31/docker-airflow-dev
  #   tag: 2.0dev
  ## Airflow 2.0 allows changing the value ingress.web.path and ingress.flower.path (see bellow).
  ## In version < 2.0, changing these paths won't have any effect.
  image:
    ##
    ## docker-airflow image
    repository: puckel/docker-airflow
    ##
    ## image tag
    tag: 1.10.7
    ##
    ## Image pull policy
    ## values: Always or IfNotPresent
    pullPolicy: IfNotPresent
    ##
    ## image pull secret for private images
    pullSecret:
  ##
  ## Set schedulerNumRuns to control how the scheduler behaves:
  ##   -1 will let him looping indefinitively but it will never update the DAG
  ##   1 will have the scheduler quit after each refresh, but kubernetes will restart it.
  ##
  ## A long running scheduler process, at least with the CeleryExecutor, ends up not scheduling
  ## some tasks. We still don’t know the exact cause, unfortunately. Airflow has a built-in
  ## workaround in the form of the `num_runs` flag.
  ## Airflow runs with num_runs set to 5.
  ##
  ## If set to a value != -1, you will see your scheduler regularly restart. This is its normal
  ## behavior under these conditions.
  schedulerNumRuns: "-1"
  ##
  ## Set schedulerDoPickle to toggle whether to have the scheduler
  ## attempt to pickle the DAG object to send over to the workers,
  ## instead of letting workers run their version of the code.
  ## See the Airflow documentation for the --do_pickle argument: https://airflow.apache.org/cli.html#scheduler
  schedulerDoPickle: true
  ##
  ## Number of replicas for web server.
  webReplicas: 1
  ##
  ## Custom airflow configuration environment variables
  ## Use this to override any airflow setting settings defining environment variables in the
  ## following form: AIRFLOW__<section>__<key>.
  ## See the Airflow documentation: https://airflow.readthedocs.io/en/stable/howto/set-config.html?highlight=setting-configuration
  ## Example:
  ##   config:
  ##     AIRFLOW__CORE__EXPOSE_CONFIG: "True"
  ##     HTTP_PROXY: "http://proxy.mycompany.com:123"
  config: {}
  ##
  ## Configure pod disruption budget for the scheduler
  podDisruptionBudgetEnabled: true
  podDisruptionBudget:
    maxUnavailable: 1
  ## Add custom connections
  ## Use this to add Airflow connections for operators you use
  ## For each connection - the id and type have to be defined.
  ## All the other parameters are optional
  ## Connections will be created with a script that is stored
  ## in a K8s secret and mounted into the scheduler container
  ## Example:
  ##   connections:
  ##   - id: my_aws
  ##     type: aws
  ##     extra: '{"aws_access_key_id": "**********", "aws_secret_access_key": "***", "region_name":"eu-central-1"}'
  connections: []

  ## Add airflow variables
  ## This should be a json string with your variables in it
  ## Examples:
  ##   variables: '{ "environment": "dev" }'
  variables: {}

  ## Add airflow ppols
  ## This should be a json string with your pools in it
  ## Examples:
  ##   pools: '{ "example": { "description": "This is an example of a pool", "slots": 2 } }'
  pools: {}

  ##
  ## Annotations for the Scheduler, Worker and Web pods
  podAnnotations: {}
    ## Example:
    ## iam.amazonaws.com/role: airflow-Role

  extraInitContainers: []
  ## Additional init containers to run before the Scheduler pods.
  ## for example, be used to run a sidecar that chown Logs storage .
  # - name: volume-mount-hack
  #   image: busybox
  #   command: ["sh", "-c", "chown -R 1000:1000 logs"]
  #   volumeMounts:
  #     - mountPath: /usr/local/airflow/logs
  #       name: logs-data

  extraContainers: []
  ## Additional containers to run alongside the Scheduler, Worker and Web pods
  ## This could, for example, be used to run a sidecar that syncs DAGs from object storage.
  # - name: s3-sync
  #   image: my-user/s3sync:latest
  #   volumeMounts:
  #   - name: synchronised-dags
  #     mountPath: /dags
  extraVolumeMounts: []
  ## Additional volumeMounts to the main containers in the Scheduler, Worker and Web pods.
  # - name: synchronised-dags
  #   mountPath: /usr/local/airflow/dags
  extraVolumes: []
  ## Additional volumes for the Scheduler, Worker and Web pods.
  # - name: synchronised-dags
  #   emptyDir: {}

  ##
  ## Run initdb when the scheduler starts.
  initdb: true

scheduler:
  resources: {}
    # limits:
    #   cpu: "1000m"
    #   memory: "1Gi"
    # requests:
    #   cpu: "500m"
    #   memory: "512Mi"
  ##
  ## Labels for the scheduler deployment
  labels: {}
  ## Pod Annotations for the web deployment
  podAnnotations: {}
  ##
  ## Annotations for the scheduler deployment
  annotations: {}

  ## Support Node, affinity and tolerations for scheduler pod assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
  nodeSelector: {}
  affinity: {}
  tolerations: []

flower:
  enabled: true
  ##
  ## Set AIRFLOW__CELERY__FLOWER_URL_PREFIX
  ## Prefix should match Ingress configuration ingress.flower.path
  urlPrefix: ""
  resources: {}
    # limits:
    #   cpu: "100m"
    #   memory: "128Mi"
    # requests:
    #   cpu: "100m"
    #   memory: "128Mi"
  ##
  ## Labels for the flower deployment
  labels: {}
  ##
  ## Annotations for the flower deployment
  annotations: {}
  service:
    annotations: {}
    type: ClusterIP
    externalPort: 5555

  ## Support Node, affinity and tolerations for flower pod assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraConfigmapMounts: []
  # Use-case example: adding a public certificate used for connection to a remote TLS endpoint
  # - name: extra-cert
  #   mountPath: /etc/ssl/certs/extra-cert.pem
  #   configMap: extra-certificates
  #   readOnly: true
  #   subPath: extra-cert.pem

web:
  ##
  ## Set AIRFLOW__WEBSERVER__BASE_URL
  ## Path should match Ingress configuration
  baseUrl: "http://localhost:8080"
  resources: {}
    # limits:
    #   cpu: "300m"
    #   memory: "1Gi"
    # requests:
    #   cpu: "100m"
    #   memory: "512Mi"
  ##
  ## Labels for the web deployment
  labels: {}
  ##
  ## Annotations for the web deployment
  annotations: {}
  ## Pod Annotations for the web deployment
  podAnnotations: {}
  initialStartupDelay: "60"
  initialDelaySeconds: "360"
  minReadySeconds: 120
  readinessProbe:
    periodSeconds: 60
    timeoutSeconds: 1
    successThreshold: 1
    failureThreshold: 5
  livenessProbe:
    periodSeconds: 60
    timeoutSeconds: 1
    successThreshold: 1
    failureThreshold: 5

  ## Support Node, affinity and tolerations for web pod assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
  nodeSelector: {}
  affinity: {}
  tolerations: []
  ##
  ## Directory in which to mount secrets on webserver nodes.
  secretsDir: /var/airflow/secrets
  ##
  ## Secrets which will be mounted as a file at `secretsDir/<secret name>`.
  secrets: []

##
## Workers configuration
workers:
  enabled: true
  ##
  ## Number of workers pod to launch
  replicas: 1
  ##
  ## Gracefull termination period
  terminationPeriod: 30
  ##
  ## Custom resource configuration
  resources: {}
    # limits:
    #   cpu: "1"
    #   memory: "2G"
    # requests:
    #   cpu: "0.5"
    #   memory: "512Mi"
  ##
  ## Labels for the Worker statefulSet
  labels: {}
  ##
  ## Annotations for the Worker statefulSet
  annotations: {}
  ##
  ## Annotations for the Worker pods
  podAnnotations: {}
    ## Example:
    ## iam.amazonaws.com/role: airflow-Role
  ##
  ## Celery worker configuration
  celery:
    ##
    ## number of parallel celery tasks per worker
    instances: 1
    ##
    ## Gracefull termination of workers
    ## Wait for the worker to finish the current task within the gracefull period
    gracefullTermination: false

  ##
  ## Directory in which to mount secrets on worker nodes.
  secretsDir: /var/airflow/secrets
  ##
  ## Secrets which will be mounted as a file at `secretsDir/<secret name>`.
  secrets: []

  ## Support Node, affinity and tolerations for worker pod assignment
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
  ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
  nodeSelector: {}
  affinity: {}
  tolerations: []

##
## Ingress configuration
ingress:
  ##
  ## enable ingress
  ## Note: If you want to change url prefix for web ui or flower even if you do not use ingress,
  ## you can change web.baseUrl and flower.urlPrefix
  enabled: false
  ##
  ## Configure the Ingress webserver endpoint
  web:
    ## NOTE: This requires an airflow version > 1.9.x
    ## For the moment (March 2018) this is **not** available on official package, you will have
    ## to use an image where airflow has been updated to its current HEAD.
    ## You can use the following one:
    ##  stibbons31/docker-airflow-dev:2.0dev
    ##
    ## if path is '/airflow':
    ##  - UI will be accessible at 'http://mycompany.com/airflow/admin'
    ##  - Healthcheck is at 'http://mycompany.com/airflow/health'
    ##  - api is at 'http://mycompany.com/airflow/api'
    ## NOTE: do NOT keep trailing slash. For root configuration, set and empty string
    path: ""
    ##
    ## Ingress hostname for the webserver
    host: ""
    ##
    ## Annotations for the webserver
    ## Airflow webserver handles relative path completely, just let your load balancer give the HTTP
    ## header like the requested URL (no special configuration neeed)
    annotations: {}
      ##
      ## Example for Traefik:
      # traefik.frontend.rule.type: PathPrefix
      # kubernetes.io/ingress.class: traefik
    ##
    ## Configure the web liveness path.
    ## Defaults to the templated value `{{ ingress.web.path }}/health`
    livenessPath:
    tls:
      ## Set to "true" to enable TLS termination at the ingress
      enabled: false
      ## If enabled, set "secretName" to the secret containing the TLS private key and certificate
      ## Example:
      ## secretName: example-com-crt
    precedingPaths:
      ## Different http paths to add to the ingress before the default path
      ## Example:
      ## - path: "/*"
      ##   serviceName: "ssl-redirect"
      ##   servicePort: "use-annotation"
    succeedingPaths:
      ## Different http paths to add to the ingress after the default path
      ## Example:
      ## - path: "/*"
      ##   serviceName: "ssl-redirect"
      ##   servicePort: "use-annotation"

  ##
  ## Configure the flower Ingress endpoint
  flower:
    ##
    ## If flower is '/airflow/flower':
    ##  - Flower UI is at 'http://mycompany.com/airflow/flower'
    ## NOTE: you need to have a reverse proxy/load balancer able to do URL rewrite in order to have
    ## flower mounted on other path than root. Flower only does half the job in url prefixing: it
    ## only generates the right URL/relative paths in the **returned HTML files**, but expects the
    ## request to have been be at the root.
    ## That's why we need a reverse proxy/load balancer that is able to strip the path
    ## NOTE: do NOT keep trailing slash. For root configuration, set and empty string
    path: ""
    ##
    ## Configure the liveness path. Keep to "/" for Flower >= jan 2018.
    ## For previous version, enter the same path than in the 'path' key
    ## NOTE: keep the trailing slash.
    livenessPath: /
    ##
    ## hostname for flower
    host: ""
    ##
    ## Annotation for the Flower endpoint
    ##
    ## ==== SKIP THE FOLLOWING BLOCK IF YOU HAVE FLOWER > JANUARY 2018 =============================
    ## Please note their is a small difference between the way Airflow Web server and Flower handles
    ## URL prefixes in HTTP requests:
    ## Flower wants HTTP header to behave like there was no URL prefix, and but still generates
    ## the right URL in html pages thanks to its `--url-prefix` parameter
    ##
    ##    Extracted from the Flower documentation:
    ##    (https://github.com/mher/flower/blob/master/docs/config.rst#url_prefix)
    ##
    ##        To access Flower on http://example.com/flower run it with:
    ##            flower --url-prefix=/flower
    ##
    ##        Use the following nginx configuration:
    ##            server {
    ##              listen 80;
    ##              server_name example.com;
    ##
    ##              location /flower/ {
    ##                rewrite ^/flower/(.*)$ /$1 break;
    ##                proxy_pass http://example.com:5555;
    ##                proxy_set_header Host $host;
    ##              }
    ##            }
    ## ==== IF YOU HAVE FLOWER > JANUARY 2018, NO MORE NEED TO STRIP THE PREFIX ====================
    annotations: {}
      ##
      ## NOTE: it is important here to have your reverse proxy strip the path/rewrite the URL
      ## Example for Traefik:
      # traefik.frontend.rule.type: PathPrefix       ## Flower >= Jan 2018
      # traefik.frontend.rule.type: PathPrefixStrip  ## Flower < Jan 2018
      # kubernetes.io/ingress.class: traefik
    tls:
      ## Set to "true" to enable TLS termination at the ingress
      enabled: false
      ## If enabled, set "secretName" to the secret containing the TLS private key and certificate
      ## Example:
      ## secretName: example-com-crt

##
## Storage configuration for DAGs
persistence:
  ##
  ## enable persistance storage
  enabled: false
  ##
  ## Existing claim to use
  # existingClaim: nil
  ## Existing claim's subPath to use, e.g. "dags" (optional)
  # subPath: ""
  ##
  ## Persistent Volume Storage Class
  ## If defined, storageClassName: <storageClass>
  ## If set to "-", storageClassName: "", which disables dynamic provisioning
  ## If undefined (the default) or set to null, no storageClassName spec is
  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
  ##   GKE, AWS & OpenStack)
  # storageClass: default
  accessMode: ReadWriteOnce
  ##
  ## Persistant storage size request
  size: 1Gi

##
## Storage configuration for logs
logsPersistence:
  ##
  ## enable persistance storage
  enabled: false
  ##
  ## Existing claim to use
  # existingClaim: nil
  ## Existing claim's subPath to use, e.g. "logs" (optional)
  # subPath: ""
  ##
  ## Persistent Volume Storage Class
  ## If defined, storageClassName: <storageClass>
  ## If set to "-", storageClassName: "", which disables dynamic provisioning
  ## If undefined (the default) or set to null, no storageClassName spec is
  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
  ##   GKE, AWS & OpenStack)
  ##
  ## A configuration for shared log storage requires a `storageClass` that
  ## supports the `ReadWriteMany` accessMode, such as NFS or AWS EFS.
  # storageClass: default
  accessMode: ReadWriteOnce
  ##
  ## Persistant storage size request
  size: 1Gi

##
## Configure DAGs deployment and update
dags:
  ##
  ## mount path for persistent volume.
  ## Note that this location is referred to in airflow.cfg, so if you change it, you must update airflow.cfg accordingly.
  path: /usr/local/airflow/dags
  ##
  ## Set to True to prevent pickling DAGs from scheduler to workers
  doNotPickle: false
  ##
  ## Configure Git repository to fetch DAGs
  git:
    ##
    ## url to clone the git repository
    url: https://gitlab.com/selin-gungor/airflow-kubernetes-helm
    ##
    ## branch name, tag or sha1 to reset to
    ref: master
    ## pre-created secret with key, key.pub and known_hosts file for private repos
    secret: ""
    ## The host of the repo so for example if a github repo put github.com (Only need if using ssh not https git sync)
    repoHost: ""
    ## The name of the private key in your git sync secret (Only need if using ssh not https git sync)
    privateKeyName: ""
    gitSync:
      ## Turns on the side car container
      enabled: true
      ## Image for the side car container
      image:
        ## docker-airflow image
        repository: alpine/git
        ## image tag
        tag: 1.0.7
        ## Image pull policy
        ## values: Always or IfNotPresent
        pullPolicy: IfNotPresent
      ## The amount of time in seconds to git pull dags
      refreshTime: 3000
  initContainer:
    ## Fetch the source code when the pods starts
    enabled: false
    ## Image for the init container (any image with git will do)
    image:
      ## docker-airflow image
      repository: alpine/git
      ## image tag
      tag: 1.0.7
      ## Image pull policy
      ## values: Always or IfNotPresent
      pullPolicy: IfNotPresent
    ## install requirements.txt dependencies automatically
    installRequirements: true

##
## Configure logs
logs:
  path: /usr/local/airflow/logs

##
##  Enable RBAC
rbac:
  ##
  ## Specifies whether RBAC resources should be created
  create: false

##
## Create or use ServiceAccount
serviceAccount:
  ##
  ## Specifies whether a ServiceAccount should be created
  create: true
  ## The name of the ServiceAccount to use.
  ## If not set and create is true, a name is generated using the fullname template
  name:

##
## Configuration values for the postgresql dependency.
## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
postgresql:
  ##
  ## Use the PostgreSQL chart dependency.
  ## Set to false if bringing your own PostgreSQL.
  enabled: true

  ##
  ## The name of an existing secret that contains the postgres password.
  existingSecret:

  ## Name of the key containing the secret.
  existingSecretKey: postgresql-password

  ##
  ## If you are bringing your own PostgreSQL, you should set postgresHost and
  ## also probably service.port, postgresqlUsername, postgresqlPassword, and postgresqlDatabase
  ## postgresHost:
  ##
  ## PostgreSQL port
  service:
    port: 5432
  ## PostgreSQL User to create.
  postgresqlUsername: postgres
  ##
  ## PostgreSQL Password for the new user.
  ## If not set, a random 10 characters password will be used.
  postgresqlPassword: airflow
  ##
  ## PostgreSQL Database to create.
  postgresqlDatabase: airflow
  ##
  ## Persistent Volume Storage configuration.
  ## ref: https://kubernetes.io/docs/user-guide/persistent-volumes
  persistence:
    ##
    ## Enable PostgreSQL persistence using Persistent Volume Claims.
    enabled: true
    ##
    ## Persistant class
    # storageClass: classname
    ##
    ## Access modes:
    accessModes:
      - ReadWriteOnce

## Configuration values for the Redis dependency.
## ref: https://github.com/kubernetes/charts/blob/master/stable/redis/README.md
redis:
  ##
  ## Use the redis chart dependency.
  ## Set to false if bringing your own redis.
  enabled: true

  ##
  ## The name of an existing secret that contains the redis password.
  existingSecret:

  ## Name of the key containing the secret.
  existingSecretKey: redis-password

  ##
  ## If you are bringing your own redis, you can set the host in redisHost.
  ## redisHost:
  ##
  ## Redis password
  ##
  password: airflow
  ##
  ## Master configuration
  master:
    ##
    ## Image configuration
    # image:
      ##
      ## docker registry secret names (list)
      # pullSecrets: nil
    ##
    ## Configure persistance
    persistence:
      ##
      ## Use a PVC to persist data.
      enabled: false
      ##
      ## Persistant class
      # storageClass: classname
      ##
      ## Access mode:
      accessModes:
      - ReadWriteOnce
  ##
  ## Disable cluster management by default.
  cluster:
    enabled: false

# Enable this if you're using https://github.com/coreos/prometheus-operator
# Don't forget you need to install something like https://github.com/epoch8/airflow-exporter in your airflow docker container
serviceMonitor:
  enabled: false
  interval: "30s"
  path: /admin/metrics
  ## [Kube Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#exporters)
  selector:
    prometheus: kube-prometheus

# Enable this if you're using https://github.com/coreos/prometheus-operator
prometheusRule:

  enabled: false
  ## Namespace in which the prometheus rule is created
  # namespace: monitoring
  ## Define individual alerting rules as required
  ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#rulegroup
  ##      https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/
  groups: {}

  ## Used to pass Labels that are used by the Prometheus installed in your cluster to select Prometheus Rules to work with
  ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
  additionalLabels: {}

extraManifests: []
##
## Example:
##  - apiVersion: cloud.google.com/v1beta1
##    kind: BackendConfig
##    metadata:
##      name: "{{ .Release.Name }}-test"
##    spec:
##      securityPolicy:
##        name: "gcp-cloud-armor-policy-test"

Execute helm install -f values.yaml "airflow" stable/airflow
Anything else we need to know:
chart

I ran into this same issue, and traced it to the following:
https://github.com/helm/charts/blob/258cd28472554d84fc206243074bbc11da3b2316/stable/airflow/templates/deployments-web.yaml#L244
The volume "git-clone" is only created when "initContainer" is set to true.  So having gitSync enabled but not initContainer results in a volumeMount for a volume that doesn't exist.
I was able to get this working by enabling both gitSync and initContainer

I am also having this issue. I don't see anywhere in the docs that initContainer would also need to be enabled.

Should be fixed by  #20715


feat: add commit message linter

Fixes: https://github.com/coder/aicommit/issues/11
For reviewers: If you want to play with the tool you need to setup OpenAI key, and if you need one please let me know.
This PR introduces a commit message (or PR titles) linter according to repository style guide.
The biggest challenge is ensuring that the results are consistent. AI often draws incorrect conclusions and tends to struggle with maintaining precise line lengths. We might need to revise our COMMITS.md guidelines: instead of saying limit line length to 50 characters, we could try keep commit messages concise.
In a follow-up PR, we can introduce a custom output format, e.g. JSON struct.
make build
cd ../coder
../aicommit/bin/aicommit --lint "fix: make GetWorkspacesEligibleForTransition return even less false positives"

../aicommit/bin/aicommit --lint "fix: make GetWorkspacesEligibleForTransition return even less false positives"
❌ Limit the subject line to 50 characters.
✅ Use the imperative mood in the subject line.
✅ Capitalize the subject line such as "Fix Issue 886" and don't end it with a period.
✅ The subject line should summarize the main change concisely.
✅ Only include a body if absolutely necessary for complex changes.
✅ If a body is needed, separate it from the subject with a blank line.
✅ Wrap the body at 72 characters.
✅ In the body, explain the why, not the what (the diff shows the what).
✅ Use bullet points in the body only for truly distinct changes.
✅ Be extremely concise. Assume the reader can understand the diff.
✅ Never repeat information between the subject and body.
✅ Do not repeat commit messages from previous commits.
✅ Prioritize clarity and brevity over completeness.
✅ Adhere to the repository's commit style if it exists.

suggestion: fix: reduce false positives in GetWorkspacesEligibleForTransition

Troubleshooting:
export AICOMMIT_DEBUG=true # see prompt and tokens

Looking at the example output you posted, I flagged few things:

✅ Capitalize the subject line such as "Fix Issue 886" and don't end it with a period. - Why? This sounds incorrect, the subject wasn't capitalized
✅ The subject line should summarize the main change concisely. - This is nonsensical for a title that includes no changes
✅ Do not repeat commit messages from previous commits. - We didn't include any, fwiw
etc.

Looking at the example output you posted, I flagged few things:

What you're saying is accurate, but it seems to be a matter of visualization. For instance:

Capitalize the subject line such as "Fix Issue 886" and don't end it with a period. - Why? This sounds incorrect, the subject wasn't capitalized

The most accurate answer from Chat would be "N/A", but currently we default to ✅

This is nonsensical for a title that includes no changes
We didn't include any, FWIW

Ha! Do you suggest we should introduce PR_TITLES.MD? Probably not, but otherwise it will be hard to let Chat review the lining rules and leave the only ones that could apply to PR titles. Unless we tweak COMMITS.md to have a separate section for PR titles? Thoughts?

The most accurate answer from Chat would be "N/A", but currently we default to ✅

I agree that N/A is better, but would also like to point out that as per conventional commits:

Any casing may be used, but it’s best to be consistent.

It's not correct to say either capitalize or don't without having a reference to other commits. Not sure if or how we should address this though but may in fact be worth making it N/A as the output is just confusing.

Ha! Do you suggest we should introduce PR_TITLES.MD? Probably not, but otherwise it will be hard to let Chat review the lining rules and leave the only ones that could apply to PR titles. Unless we tweak COMMITS.md to have a separate section for PR titles? Thoughts?

Heh, no let's not. Perhaps we can just add to the prompt for linting:

These rules apply when generating commit tiles based on changes and repository history, but right now you are operating as a linter and don't have access to that information. Don't make assumptions outside of what is explicitly stated in the rules.


Decimal floating point numbers clone

This improves on the dec_div function, it will 'inflate' the number as far as possible divide it and reduce it back as far as possible. This way 1i/2 results in 0.5f not 1i

oops wrong branch


Files Node isn't supported for a project deployed through GitHub

Should we gray it out if we detect that a Web App was deployed through GitHub?

This bug is due to an update in the 'id' property.  Releasing a fix.


Update screenshots in the Getting Started Guide to match current UI

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1207
Originally created by @dmor on 2019-10-24 19:05:37

Example here: https://meltano.com/docs/getting-started.html#connect-a-data-source
Pretty sure all of these are outdated versus our current top navigation

View 4 previous comments from the original issue on GitLab


chore: Upgrade calico Windows to v3.17.2

Upgrade calico Windows to v3.17.2

Do we need a new VHD for ignite?

No. v3.17.1 still works.


Update performance docs abount min/max

Something like this should have been added in #6885

[{x: 1, y: 5}, {x: 2, y: 1}, {x:4, y: 4}] // sorted by x-axis

How to word it, to be understandable?

Why would specifying min and max be slower?

Because the other scale is going to check if the poins are in range. This can be optimized in the sorted case through.

Sorry, I'm still not following. Does checking to see if points are in range happen in both the sorted and non-sorted cases? What optimization happens when sorted?

The checking happen on the y-axis getMinMax, when x-axis has min/max define..

The checking happens either way though, right? It's just that sometimes it's checking against a finite value and sometimes it's checking against infinity. Is checking against infinity really that much faster? It doesn't seem like it should make any real difference in performance

V8 probably optimizes the check away, when its done against inf.

Not conclusive, closing.

I'm curious why you said it's not conclusive. Did you do additional benchmarking?

I'm curious why you said it's not conclusive. Did you do additional benchmarking?

I could not replicate my results from morning in the evening. I'm guessing #6912 that got merged in between changed the TurboFan behavior.


Support image_optim proxy

Support image_optim proxy to optimize images and allow that process to be configured from configuration file. Related issue #297

Will review tonight!

Can you rebase please? Thanks!

@envygeeks done

Thanks :heart:


[API Feature Request] Focus specific element in a Form

During the development of Deepcast I noticed that there is no possibility to set a focus on a specific element within a form after the render. This would simplify the input of texts to be translated, since the respective field does not have to be selected separately.
This could be made possible by specifying the element to be focused on in the Form component, or by setting the focus to true using a boolean in a Form.x child component.

Good idea, we'll consider adding it soon.

available as of v1.33.0 😸


update Hyundai to use new DBC updates

1.) E_EMS11 signal had wrong Accel pedal information causing all EV vehicles to not work. The bytes actually showed vehicle
speed instead of gas pedal position. New DBC with new message and signal name with correct byte information fixes the
issue.
 All EVs were engaging OP but never steered as the gas position >0(due to wrong info). This change is tested on a ioniq
 hybrid that uses these message. Now the EV vehicles work.

2.) Ioniq uses scc12, Ioniq EV lim uses FCA11
PR for DBC change
https://github.com/commaai/opendbc/pull/284

@adeebshihadeh , can you check why the check is failing? this is part of the new hyundai dbc change.

Let's go to Thailand. Meet me and Samartchai Boonnoon

Done in #1968


Cannot find nmake in windows with the new erlang 21.0

windows 10, 64
I installed the new otp_win64_21.0 and I cannot compile argon2_elixir. It is unable to find nmake, which is in the path:
D:\AppsDev\Elixir\elm_chess>where nmake
f:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\Hostx64\x64\nmake.exe
f:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\Hostx86\x86\nmake.exe

D:\AppsDev\Elixir\elm_chess>mix deps.compile
===> Compiling ranch
src/ranch_ssl.erl:128: Warning: ssl:ssl_accept/2: deprecated; use ssl:handshake/2 instead

==> poolboy (compile)
warning: String.strip/1 is deprecated, use String.trim/1
  d:/AppsDev/Elixir/elm_chess/deps/poison/mix.exs:4

==> argon2_elixir
could not compile dependency :argon2_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile argon2_elixir", update it with "mix deps.update argon2_elixir" or clean it with "mix deps.clean argon2_elixir"
==> elm_chess
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.
D:\AppsDev\Elixir\elm_chess>

I had to go back to otp_win64_20.3 and then everything was compiled normally.

So it works with otp 20, but not otp 21?

Yes, that's right!

Do you have multiple versions of Erlang installed?
In the iex shell, what is the output of :erlang.system_info(:version)?

Now I have only version 20.3.
The output is '9.3'. But I can install 21 if you want me to test anything.

If you have OTP 21 installed, the output should be "10.0". Could you check that for me?

But I know what I have installed. I now have OTP 20.3 installed and the
output is 9.3.
However yesterday I had uninstalled OTP20.3 and I had installed OTP 21.
Then I tried to compile a project I'm currently working on, but it failed
with the message I wrote above (about not finding nmake).
Then I uninstalled OTP21 and installed again OTP20.3 and the compilation
succeeded.
I actually made the above procedure (uninstalled 20.3, installed 21, failed
compilation again, uninstalled 21, installed 20.3, compilation succeeded
again) one more time with the same results.
Now I've installed 20.3 so that I can work on my project and I'd like to
move to OTP21 but this issue of the compilation of argon2_elixir keeps me
to 20.3.
Στις Δευ, 25 Ιουν 2018 στις 9:22 μ.μ., ο/η David Whitlock <
<EMAIL_ADDRESS>έγραψε:

If you have OTP 21 installed, the output should be "10.0". Could you check
that for me?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/riverrun/argon2_elixir/issues/20#issuecomment-400048024,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJUVJZC1t6-tG-bEqVQCrweMfXjGiiR6ks5uASpIgaJpZM4U0xvB
.

I installed again OTP 21 and I run the command you asked me, just before I attempt the compilation:
D:\AppsDev\Elixir>iex
Interactive Elixir (1.6.6) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> :erlang.system_info(:version)
'10.0'
iex(2)> :init.stop()
:ok
iex(3)> Terminate batch job (Y/N)? Y

D:\AppsDev\Elixir>cd elm_chess

D:\AppsDev\Elixir\elm_chess>mix deps.compile argon2_elixir
==> argon2_elixir
could not compile dependency :argon2_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile argon2_elixir", update it with "mix deps.update argon2_elixir" or clean it with "mix deps.clean argon2_elixir"
==> elm_chess
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.

D:\AppsDev\Elixir\elm_chess>

What is the output of `System.find_executable("nmake")?

D:\AppsDev\Elixir>iex
Interactive Elixir (1.6.6) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> System.find_executable("nmake")
nil
iex(2)>

That's the problem.

I just tried with OTP 20.3:
D:\AppsDev\Elixir>iex
Interactive Elixir (1.6.6) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> System.find_executable("nmake.exe")
"f:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/HostX64/x64/nmake.exe"
iex(2)>

This means it's a problem of the new erlang release?

It's talked about here.
It seems like it has been fixed, but you need to wait for the next release.

ok, thank you!

Let's keep this issue open, so other people can see it, and then when the next release comes out, we can close it then.

ok

This was resolved with the new release 21.01 of OTP for windows.

Great! Thanks for letting me know.

I see this error even on 21.0.1.
could not compile dependency :bcrypt_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile bcrypt_elixir", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.

@d-vyd in an iex shell, could you run System.find_executable("nmake") and let me know what the output is?

The output is "nil".
Someone elsewhere suggested installing a unix version running within windows linux subsystem. That is not ideal, but it works.

@d-vyd  did you follow this procedure:
https://dcodin.wordpress.com/2015/12/31/compiling-comeonin-for-phoenix-on-windows/

And is nmake installed?

Is it part of Microsoft's c++ binaries? Where would it be located?
On Dec 10, 2018 9:32 AM, David Whitlock<EMAIL_ADDRESS>wrote:
And is nmake installed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/riverrun/argon2_elixir/issues/20#issuecomment-445715338, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZLLF4PTW2yU62VJMzY_eSB32GdCgR9Sks5u3g4XgaJpZM4U0xvB.

Try looking for nmake in the Program Files (x86)/Microsoft Visual Studio folder.
If you do not have Visual Studio installed, let me know how you installed the C++ binaries.

I have Visual Studio 2017 and nmake.exe is located here:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
I have Visual Studio 14 and nmake.exe is located here:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64
I also have this directory which  not not have nmake.exe and seems to be just different links to command prompts:
C:\Program Files (x86)\Microsoft Visual C++ Build Tools
So, I need to set an environment variable or update my path? If so, how?

From: David Whitlock<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 8:49 AM
To: riverrun/argon2_elixir
Cc: d-vyd; Mention
Subject: Re: [riverrun/argon2_elixir] Cannot find nmake in windows with the new erlang 21.0 (#20)
Try looking for nmake in the Program Files (x86)/Microsoft Visual Studio folder.
If you do not have Visual Studio installed, let me know how you installed the C++ binaries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/riverrun/argon2_elixir/issues/20#issuecomment-445736384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZLLF4rN1SV2xWbWS1a6e3894ywxUbnNks5u3iAKgaJpZM4U0xvB.

I added nmake to my path and received a different error. I do not know anything about the file that is supposedly missing "stdint.h". I tried to install using "Choco" as the error message suggested and was told that the package was not available. I'd appreciate any advice anyone has.
D:\projects\Programming\Elixir\ex_venture-master>mix compile
==> bcrypt_elixir
Microsoft (R) Program Maintenance Utility Version 14.16.27024.1
Copyright (C) Microsoft Corporation.  All rights reserved.
    del /Q /F priv

Could Not Find d:\projects\Programming\Elixir\ex_venture-master\deps\bcrypt_elixir\priv
erl -eval "io:format("~s~n", [lists:concat(["ERTS_INCLUDE_PATH=", code:root_dir(), "/erts-", erlang:system_info(version), "/include"])])" -s init stop -noshell > Makefile.auto.win
nmake /                   /F Makefile.win priv\bcrypt_nif.dll
Microsoft (R) Program Maintenance Utility Version 14.16.27024.1
Copyright (C) Microsoft Corporation.  All rights reserved.
    if NOT EXIST "priv" mkdir "priv"
    cl /O2 /EHsc /I"c_src" /I"c:/Program Files/erl10.0.1/erts-10.0.1/include" /LD /MD /Fepriv\bcrypt_nif.dll  c_src\bcrypt_nif.c c_src\blowfish.c

Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
bcrypt_nif.c
c_src\bcrypt_nif.c(52): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
blowfish.c
d:\projects\programming\elixir\ex_venture-master\deps\bcrypt_elixir\c_src\blf.h(37): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.EXE"' : return code '0x2'
Stop.
could not compile dependency :bcrypt_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile bcrypt_elixir", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
==> ex_venture
** (Mix) Could not compile with "nmake" (exit status: 2).
One option is to install a recent version of
Visual C++ Build Tools
either manually or using Chocolatey -
choco install VisualCppBuildTools.
After installing Visual C++ Build Tools, look in the "Program Files (x86)"
directory and search for "Microsoft Visual Studio". Note down the full path
of the folder with the highest version number. Open the "run" command and
type in the following command (make sure that the path and version number
are correct):
cmd /K "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

This should open up a command prompt with the necessary environment variables
set, and from which you will be able to run the "mix compile", "mix deps.compile",
and "mix test" commands.
D:\projects\Programming\Elixir\ex_venture-master>choco install VisuallCppBuildTools
Chocolatey v0.10.11
Installing the following packages:
VisuallCppBuildTools
By installing you accept licenses for the packages.
VisuallCppBuildTools not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

VisuallCppBuildTools - VisuallCppBuildTools not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.

From: Da'ud Vyd
Sent: Monday, December 10, 2018 9:09 AM
To: riverrun/argon2_elixir
Subject: Re: [riverrun/argon2_elixir] Cannot find nmake in windows with the new erlang 21.0 (#20)
I have Visual Studio 2017 and nmake.exe is located here:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
I have Visual Studio 14 and nmake.exe is located here:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64
I also have this directory which  not not have nmake.exe and seems to be just different links to command prompts:
C:\Program Files (x86)\Microsoft Visual C++ Build Tools
So, I need to set an environment variable or update my path? If so, how?

From: David Whitlock<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 8:49 AM
To: riverrun/argon2_elixir
Cc: d-vyd; Mention
Subject: Re: [riverrun/argon2_elixir] Cannot find nmake in windows with the new erlang 21.0 (#20)
Try looking for nmake in the Program Files (x86)/Microsoft Visual Studio folder.
If you do not have Visual Studio installed, let me know how you installed the C++ binaries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/riverrun/argon2_elixir/issues/20#issuecomment-445736384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZLLF4rN1SV2xWbWS1a6e3894ywxUbnNks5u3iAKgaJpZM4U0xvB.

I'm going to try to install Erlang + Elixir + ExVenture on a Ubuntu VirtualBox instead of continuing to struggle with the Windows install. Thank you for your help.

From: Da'ud Vyd
Sent: Monday, December 10, 2018 6:44 PM
To: riverrun/argon2_elixir
Subject: Re: [riverrun/argon2_elixir] Cannot find nmake in windows with the new erlang 21.0 (#20)
I added nmake to my path and received a different error. I do not know anything about the file that is supposedly missing "stdint.h". I tried to install using "Choco" as the error message suggested and was told that the package was not available. I'd appreciate any advice anyone has.
D:\projects\Programming\Elixir\ex_venture-master>mix compile
==> bcrypt_elixir
Microsoft (R) Program Maintenance Utility Version 14.16.27024.1
Copyright (C) Microsoft Corporation.  All rights reserved.
    del /Q /F priv

Could Not Find d:\projects\Programming\Elixir\ex_venture-master\deps\bcrypt_elixir\priv
erl -eval "io:format("~s~n", [lists:concat(["ERTS_INCLUDE_PATH=", code:root_dir(), "/erts-", erlang:system_info(version), "/include"])])" -s init stop -noshell > Makefile.auto.win
nmake /                   /F Makefile.win priv\bcrypt_nif.dll
Microsoft (R) Program Maintenance Utility Version 14.16.27024.1
Copyright (C) Microsoft Corporation.  All rights reserved.
    if NOT EXIST "priv" mkdir "priv"
    cl /O2 /EHsc /I"c_src" /I"c:/Program Files/erl10.0.1/erts-10.0.1/include" /LD /MD /Fepriv\bcrypt_nif.dll  c_src\bcrypt_nif.c c_src\blowfish.c

Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
bcrypt_nif.c
c_src\bcrypt_nif.c(52): fatal error C1083: Cannot open include file: 'stdio.h': No such file or directory
blowfish.c
d:\projects\programming\elixir\ex_venture-master\deps\bcrypt_elixir\c_src\blf.h(37): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\nmake.EXE"' : return code '0x2'
Stop.
could not compile dependency :bcrypt_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile bcrypt_elixir", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
==> ex_venture
** (Mix) Could not compile with "nmake" (exit status: 2).
One option is to install a recent version of
Visual C++ Build Tools
either manually or using Chocolatey -
choco install VisualCppBuildTools.
After installing Visual C++ Build Tools, look in the "Program Files (x86)"
directory and search for "Microsoft Visual Studio". Note down the full path
of the folder with the highest version number. Open the "run" command and
type in the following command (make sure that the path and version number
are correct):
cmd /K "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

This should open up a command prompt with the necessary environment variables
set, and from which you will be able to run the "mix compile", "mix deps.compile",
and "mix test" commands.
D:\projects\Programming\Elixir\ex_venture-master>choco install VisuallCppBuildTools
Chocolatey v0.10.11
Installing the following packages:
VisuallCppBuildTools
By installing you accept licenses for the packages.
VisuallCppBuildTools not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

VisuallCppBuildTools - VisuallCppBuildTools not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.

From: Da'ud Vyd
Sent: Monday, December 10, 2018 9:09 AM
To: riverrun/argon2_elixir
Subject: Re: [riverrun/argon2_elixir] Cannot find nmake in windows with the new erlang 21.0 (#20)
I have Visual Studio 2017 and nmake.exe is located here:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
I have Visual Studio 14 and nmake.exe is located here:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64
I also have this directory which  not not have nmake.exe and seems to be just different links to command prompts:
C:\Program Files (x86)\Microsoft Visual C++ Build Tools
So, I need to set an environment variable or update my path? If so, how?

From: David Whitlock<EMAIL_ADDRESS>Sent: Monday, December 10, 2018 8:49 AM
To: riverrun/argon2_elixir
Cc: d-vyd; Mention
Subject: Re: [riverrun/argon2_elixir] Cannot find nmake in windows with the new erlang 21.0 (#20)
Try looking for nmake in the Program Files (x86)/Microsoft Visual Studio folder.
If you do not have Visual Studio installed, let me know how you installed the C++ binaries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/riverrun/argon2_elixir/issues/20#issuecomment-445736384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZLLF4rN1SV2xWbWS1a6e3894ywxUbnNks5u3iAKgaJpZM4U0xvB.

I'm on erlang 21.3 and I'm still getting this error on windows. Adding "Comeonin" as a dependency works fine but adding "argon2_elixir" gives me this error when compiling:
iex -S mix phx.server
==> elixir_make
Compiling 1 file (.ex)
Generated elixir_make app
==> argon2_elixir
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.
makefile(34) : fatal error U1000: syntax error : ')' missing in macro invocation
Stop.
could not compile dependency :argon2_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile argon2_elixir", update it with "mix deps.update argon2_elixir" or clean it with "mix deps.clean argon2_elixir"
==> chatter
** (Mix) Could not compile with "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\nmake.exe" (exit status: 2).
One option is to install a recent version of
Visual C++ Build Tools
either manually or using Chocolatey -
choco install VisualCppBuildTools.
After installing Visual C++ Build Tools, look in the "Program Files (x86)"
directory and search for "Microsoft Visual Studio". Note down the full path
of the folder with the highest version number. Open the "run" command and
type in the following command (make sure that the path and version number
are correct):
cmd /K "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64

This should open up a command prompt with the necessary environment variables
set, and from which you will be able to run the "mix compile", "mix deps.compile",
and "mix test" commands.
Before this, just like @d-vyd i had to set my nmake path in the system environmental variables.

Which version of argon2_elixir are you using?

Argon2_elixir 2.0. I'm not sure if this is relevant but If I remove the dependency for argon2_elixir, Comeonin appears to run.
defp deps do
    [
     ...
      {:comeonin, "~> 5.1.1"},
      {:argon2_elixir, "~> 2.0"}
    ]
  end

I've tried replacing argon2_elixir with bcrypt_elixir and the error is the same except for this line:
makefile(3) : fatal error U1000: syntax error : ')' missing in macro invocation
whereas argon2_elixir gives:
makefile(34) : fatal error U1000: syntax error : ')' missing in macro invocation

I think it's definitely something to do with Windows. I've opted to use Pbkdf2 instead of argon2 and bcrypt as this seems to be the only working dependancy

First of all, you do not need to add the comeonin dependency - comeonin is now a dependency of argon2_elixir.
I noticed that there is this question on SO. Did you try adding nmake to the PATH, and how did that work?

Running into the same issue.

@egeersoz  is it the same error - ')' missing in macro invocation?

I keep hitting
==> argon2_elixir
could not compile dependency :argon2_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile argon2_elixir", update it with "mix deps.update argon2_elixir" or clean it with "mix deps.clean argon2_elixir"
==> my_project
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.

WIN10 & {:argon2_elixir, "~> 2.0"}. I installed Visual Studio 2019 and put nmake's path in Path env variable.

@tuomohopia try asking about this on Stack Overflow or Elixirforum - there you might find users of Windows / Visual Studio 2019 who can help you more than I can.
If any changes need to be made to this repository (in the code or documentation), please let me know.

Microsoft Visual Studio 8 i could not find nmake. how do i add

==> bcrypt_elixir
could not compile dependency :bcrypt_elixir, "mix compile" failed. You can recompile this dependency with "mix deps.compile bcrypt_elixir", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
==> tc_api
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.

@AronTurbo first, make sure that you have the C++ developer tools installed.
I think that you will get more help if you ask a question about this on stackoverflow or elixirforum. That way, you might get help from Windows users.
If that doesn't work out, as a last resort, you can always install pbkdf2_elixir, which is written in Elixir and is therefore easy to install.

I had the same error
** (Mix) "nmake" not found in the path. If you have set the MAKE environment variable,
I am using argon2_elixir
The problem seems it could not find nmake even if it exists in the system
After Googling I have switched from the normal cmd to developer cmd and it worked for me

and generated the secret key

I've had some trouble with this as well because I wanted to use powershell. I've solved this way:

Install Microsoft C++ Build Tools intstruction from Exqlite.
Add the following to the powershell profile script:

cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"

Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
  if ($_ -match "^(.*?)=(.*)$") {
    Set-Content "env:\$($matches[1])" $matches[2]
  }
}

Ok I got things working with Visual Studio Code LS as well by adding the following to the settings.json:
{
  "terminal.integrated.profiles.windows": {
    "PowerShell": {
      "source": "PowerShell",
      "icon": "terminal-powershell"
    },
    "Command Prompt": {
      "path": [
        "${env:windir}\\Sysnative\\cmd.exe",
        "${env:windir}\\System32\\cmd.exe"
      ],
      "args": ["/k", "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat"],
      "icon": "terminal-cmd"
    },
    "Git Bash": {
      "source": "Git Bash"
    }
  },
  "terminal.integrated.defaultProfile.windows": "Command Prompt",
}


feat(frontend): base sorting logic for token list

Motivation
According to a recent requirement, the sorting logic of the token list, by default, should be:

Market cap
Name
Network Name

Changes

Create sorting function using both token list and exchange data.
Apply the logic BEFORE pinning tokens on top (as per requirements).

Tests
Created tests for the new function.

In the code, the exchange rates (and consequently the market cap) are refreshed every 1 minute.
I talked with Mary last week and she said that it is ok to refresh the order of the tokens at the same time as we refresh the rates.
I wanted to do a separate PR to make it so, during refresh, it would disable the clicking on the tokens list, or something similar (open to suggestions), to avoid weird behavior. Shall I do it in this one?
However, there could be more path to propose:

extend the refreshing interval
or
refreshing only when it changes pages and/or after X minutes of inactivity passes

Thanks for the details.
Refreshing the rate is a core functional behavior, sorting tokens for display purpose is a UI thing.
Therefore I think the refresh rate should NOT be changed, nor should it be disabled. The potential UI glitch should be solve at the UI level.

In the code, the exchange rates (and consequently the market cap) are refreshed every 1 minute.

Note that there can be a glitch at minute zero.
i.e. Oisy renders the tokens but, exchange is still fetching the rates. Rates pops in, sorting is modified.
In other words, there can be a glitch at boot time.


Collision still teleports players sometimes

Haven't figured out how to reproduce it.
Here a recording with a sample map where a glitch happend:
autorec.zip
https://user-images.githubusercontent.com/20344300/166648795-0e19afaf-51fe-457b-9c4b-e401d6d0a462.mp4

Okay I can reproduce it consistently now. It is walking during standing up. The vertical collision will trigger inside of the wall below you. Since your hitbox grows into it when standing up. After that the horizontal collision hits.


Empty response when using identity claims to filter users with getUserList method in RemoteUserStoreManagerService

Describe the issue:
When using identity claims to filter users using getUserList method in RemoteUserStoreManagerService it returns and empty list when we do not specify a user store domain value with the claim value.
How to reproduce:
Install wso2is-5.10.0 latest wum.
Enable SOAP by adding the following to depoyment.toml
[admin_service.wsdl] enable= true
Set up test user and lock
Start IS, log in as { {admin}
Edit claim http://wso2.org/claims/identity/accountLocked to set Supported by Default to true
Create a new user in the PRIMARY user store
Edit the new user with default users and set Account Locked to checked and update.

Invoke RemoteUserStoreManagerService using SoapUI with
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.ws.um.carbon.wso2.org">    <soap:Header/>    <soap:Body>       <ser:getUserList>          <!--Optional:-->          <ser:claimUri>http://wso2.org/claims/identity/accountLocked</ser:claimUri>          <!--Optional:-->          <ser:claimValue>true</ser:claimValue>          <!--Optional:-->          <ser:profile>http://service.ws.um.carbon.wso2.org</ser:profile>       </ser:getUserList>    </soap:Body> </soap:Envelope>
Response :
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">    <soapenv:Body>       <ns:getUserListResponse xmlns:ns="http://service.ws.um.carbon.wso2.org" xmlns:ax2727="http://common.mgt.user.carbon.wso2.org/xsd" xmlns:ax2718="http://core.user.carbon.wso2.org/xsd" xmlns:ax2719="http://api.user.carbon.wso2.org/xsd" xmlns:ax2722="http://tenant.core.user.carbon.wso2.org/xsd" xmlns:ax2725="http://dao.service.ws.um.carbon.wso2.org/xsd"/>    </soapenv:Body> </soapenv:Envelope>
When further debugging this behavior could find that the returnUsersList value is returned as null in doPreGetUserListWithID() method in carbon-identity-framework/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/listener/IdentityUserNameResolverListener.java class. Please refer the below screenshot for further clarification.

Environment information :

Product Version: [e.g., IS 5.10.0]

Optional Fields
Related issues:
Suggested labels:

Why isn't this fix added to 4.6.x public?


Problem with column names

I try to select data in Crate using the Java client (in groovy) and get the following error. Note that the Exception mentioned a changed column name "_scraperun" with a small "r".
query: SELECT * FROM profile WHERE _scrapeRun=5 LIMIT 2
Caught: SQLActionException{errorCode=4043, status=NOT_FOUND, stackTrace='io.crate.exceptions.ColumnUnknownException: Column _scraperun unknown
at io.crate.analyze.relations.FullQualifedNameFieldProvider.resolveField(FullQualifedNameFieldProvider.java:125)
at io.crate.analyze.relations.FullQualifedNameFieldProvider.resolveField(FullQualifedNameFieldProvider.java:51)
at io.crate.analyze.expressions.ExpressionAnalyzer$InnerExpressionAnalyzer.visitQualifiedNameReference(ExpressionAnalyzer.java:736)
at io.crate.analyze.expressions.ExpressionAnalyzer$InnerExpressionAnalyzer.visitQualifiedNameReference(ExpressionAnalyzer.java:392)
at io.crate.sql.tree.QualifiedNameReference.accept(QualifiedNameReference.java:49)
at io.crate.sql.tree.AstVisitor.process(AstVisitor.java:31)
at io.crate.analyze.expressions.ExpressionAnalyzer$InnerExpressionAnalyzer.visitComparisonExpression(ExpressionAnalyzer.java:589)
at io.crate.analyze.expressions.ExpressionAnalyzer$InnerExpressionAnalyzer.visitComparisonExpression(ExpressionAnalyzer.java:392)
at io.crate.sql.tree.ComparisonExpression.accept(ComparisonExpression.java:108)
at io.crate.sql.tree.AstVisitor.process(AstVisitor.java:31)
at io.crate.analyze.expressions.ExpressionAnalyzer.convert(ExpressionAnalyzer.java:135)
at io.crate.analyze.relations.RelationAnalyzer.analyzeWhere(RelationAnalyzer.java:248)
at io.crate.analyze.relations.RelationAnalyzer.visitQuerySpecification(RelationAnalyzer.java:87)
at io.crate.analyze.relations.RelationAnalyzer.visitQuerySpecification(RelationAnalyzer.java:47)
at io.crate.sql.tree.QuerySpecification.accept(QuerySpecification.java:116)
at io.crate.sql.tree.AstVisitor.process(AstVisitor.java:31)
at io.crate.analyze.relations.RelationAnalyzer.analyze(RelationAnalyzer.java:61)
at io.crate.analyze.relations.RelationAnalyzer.analyze(RelationAnalyzer.java:65)
at io.crate.analyze.SelectStatementAnalyzer.visitQuery(SelectStatementAnalyzer.java:44)
at io.crate.analyze.SelectStatementAnalyzer.visitQuery(SelectStatementAnalyzer.java:31)
at io.crate.sql.tree.Query.accept(Query.java:89)
at io.crate.sql.tree.AstVisitor.process(AstVisitor.java:31)
at io.crate.analyze.Analyzer$AnalyzerDispatcher.visitQuery(Analyzer.java:100)
at io.crate.analyze.Analyzer$AnalyzerDispatcher.visitQuery(Analyzer.java:43)
at io.crate.sql.tree.Query.accept(Query.java:89)
at io.crate.sql.tree.AstVisitor.process(AstVisitor.java:31)
at io.crate.analyze.Analyzer.analyze(Analyzer.java:37)
at io.crate.action.sql.TransportSQLAction.getAnalysis(TransportSQLAction.java:73)
at io.crate.action.sql.TransportSQLAction.getAnalysis(TransportSQLAction.java:53)
at io.crate.action.sql.TransportBaseSQLAction.doExecute(TransportBaseSQLAction.java:185)
at io.crate.action.sql.TransportBaseSQLAction.doExecute(TransportBaseSQLAction.java:74)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:75)
at io.crate.action.sql.TransportSQLAction$TransportHandler.messageReceived(TransportSQLAction.java:136)
at io.crate.action.sql.TransportSQLAction$TransportHandler.messageReceived(TransportSQLAction.java:124)
at org.elasticsearch.transport.netty.MessageChannelHandler.handleRequest(MessageChannelHandler.java:217)
at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:111)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:443)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:303)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:96)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:318)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
'}
Btw. how can I change the column name? The following SQL does not work:
ALTER TABLE profile RENAME COLUMN "_scrapeRun" TO "_scraperun";

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24669901-problem-with-column-names?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).

hi @joergrech
the underscore is reserved for system columns (see https://crate.io/docs/stable/sql/ddl.html#naming-restrictions and https://crate.io/docs/stable/sql/ddl.html#system-columns). Can you tell me how you created the table with such column names, this might be a bug. Also this error message is very confusing, we will change that.
Is it a big problem, that underscores are not allowed as a starting character of a column name, can you tell me a bit about your use-case.
thx, bernd

Hi Bernd,
the table was created by importing json data from MongoDB via the COPY command ("COPY profile FROM out.json") as described in the docs (https://crate.io/docs/stable/best_practice/migrating_from_mongodb.html).
As I only want to test crate: is it possible to alter the column names or do I need to delete the table, change the column names in the json file and reimport?
Bye,
Joerg

jep, copy from does no validation (see https://crate.io/docs/stable/sql/dml.html#id1) . so the only solution is currently to change the json file, since the json gets imported directly as the raw document.

oh, you probably just need to quote the column name if it is camel case:
SELECT * FROM profile WHERE "_scrapeRun"=5 LIMIT 2

I tried it with a single quote but that did not work:
SELECT * FROM profile WHERE '_scrapeRun'=5 LIMIT 2
SELECT * FROM profile WHERE '_scrapeRun'='5' LIMIT 2
Currently I'm reimporting so I can't check the double quotes.

Interestingly I now found out the a) selecting with a column name in single quotes does not work (it works without single quotes or with double quotes) and b) column names have to be lower case or within double quotes or they cannot be used (scrapeRun will be changed to scraperun and then the Exception is thrown that it cannot find the column. Values, however, have to be encased in single quotes - crate will interpret values in double quotes as column (and throw an exception in the Java client).

Yes this is how quoting in SQL works.
See also https://crate.io/docs/en/latest/sql/reference/lexical_structure.html?highlight=lexical and this https://github.com/crate/crate/issues/1421 issue.

i am closing this issue, since it seems to be related to quoting. we can re-open if that is not the case


Can I use prosemirror tables in prosemirror markdown?

Now I have a requirement in markdown like

Tables
Are
Cool

col 3 is
right-aligned
$1600

col 2 is
centered
$12

zebra stripes
are neat
$1

parse it into a table
I try to mix them but it seems not to work.
I don't know if it can work together, can you tell me how to do?

They don't work together by default. You might be able to get something to work if you set up the proper markdown parser and serializer logic, but you probably want a simpler table schema since Markdown doesn't allow as many shapes as this module does (merged cells, headers in arbitrary places, etc).

Try markdown-it with markdown-it-table plugin, it works for us pretty well.

@eshvedai emmmm... Your mean that I should choose another editor? But I need a WYSIWYN editor.

@eshvedai Could you show a demo code to explain how to use?

@eshvedai I have taken your recommendation above about using prosemirror-tables with prosemirror in conjunction with markdown-it and markdown-it-table after hitting a dead end on going the prosemirror-markdown path. Unfortunately the approach I am using is not working.
During testing I did the following hack, since the fromSchema.parse() method expects a DOM node.
document.getElementById("editor").innerHTML = markdownIt.use(markdownItTable).render(document.createElement(''));
At this point console.log(document.getElementById("editor").innerHTML) shows correct transformation to HTML.
Unfortunately, passing the updated node with updated contents does not cause the desired effect of loading the table with a table but instead grabs the markdown which gets replaced by  HTML from the step above.
  let doc = DOMParser.fromSchema(schema).parse(document.querySelector("#content"))   let state = EditorState.create({doc, plugins: exampleSetup({schema, menuContent: menu}).concat(     columnResizing(),     tableEditing(),     keymap({       "Tab": goToNextCell(1),       "Shift-Tab": goToNextCell(-1)     })   )})
Updating the editor node which originally contains MarkDown where it is then transformed into HTML and parsed by the code from your demo. I would love to eliminate the need to pass in the data with the HTML node and just pass the data to the parser directly. What am I missing? I am plugging away at it now, but any help would be greatly appreciated!


:lady_beetle: pagination is slow on pages with items > 10K

Issue:
When items are above 10k , pagination become slow

https://github.com/kubev2v/forklift-console-plugin/pull/1151

@ahadas hi, didn't find the bug report you referred, so I append a new one, can you fix the duplication if I created one.


Support for Asana.

Can you provide some details? What's broken? Screenshots? And so on.

Sure thing. Basically, if you type markdown in a task description and then toggle, it works as expected and even persists refreshes.
When you try and toggle it back to edit, it loses all formatting and markdown syntax.

Everyone learns Markdown; all content is in Markdown
There is a thread where people are highly coveting this markdown support and some people mention trying this very wonderful piece of open source software.
Task descriptions & comments just got rich
If someone on the project could spec out how to make this work, I would be happy to make a PR with those fixes.

It looks like Asana's editor is incredibly aggressive about reformatting (or rewriting) its content. I took some screen captures to show it in action...
Here it is killing the MDH wrapper element (keep your eye on the right side):

And here it is killing a manually added title attribute as soon as the cursor moves:

I don't really have any good ideas for approaching this.
With some special case code the raw MD could be stored in the surrounding contenteditable element (and then even more special code to support select-render as well as full-content-render). But it will be lost as soon as the user switches to another task/comment (because the element is destroyed and recreated).
Alternatively, the raw MD could be stored in browser storage. But a) there would need to a visible identifier (number or whatever) stored in the rendered text to map back to the raw MD, and b) it would only work on that computer in that browser. (I'm ignoring crazier ideas like uploading the raw MD to the cloud.)
I'm willing to discuss other ideas, but I'm not going to be too happy if there are incredible changes necessary to support this one site.

Wow. I have tried to customize this site before manually with userscripts and userstyles and notices a lot of sloppy stuff in the inspector, but did not really make it to the editor.
Since their code isn't obfuscated, it might make sense to override the part that is causing this.  But that does not sound feasible to expect of this extension. Unless it makes sense to have an experimental feature where you can toggle hacks for known sites, or put in your own.

Maybe just completely disable their rich text editor somehow, drop into normal textarea and then apply markdown-here?

hmmmh, I'm so frustrated with asana, I might take a stab at making this work.

Asana can't be supported. They communicate via websockets, and all data is constantly sent back and forth the moment you are ready with editing and everything is stripped. The way this plugin works is incompatible with the communications api asana has set up and their triggers and rendering ui framework.
I'm going to try to make a dedicated plugin for specifically asana.


Path to "platformio"?

[ ] Bug report. If you’ve found a bug, please provide information below.

Configuration
Operating system:"Windows 10"
PlatformIO Version (platformio --version):IDE 1.2.2 | CLI 2.9.4
Description of problem
Command "platformio" cannot be found.
Steps to Reproduce
1.platformio-atom-windows.exe installation
2. Win+R -> cmd.exe -> platformio -> (won't run, says the command cannot be found. "where platformio" was of no luck.)
Actual Results
Expected Results
Additional info
None

PlatformIO IDE contains built-in PlatformIO CLI that is not installed globally. Please use PlatformIO Terminal to access CLI or install shell commands globally. See PlatformIO IDE Menu: PlatformIO > Install Shell Commands.

Thx.


Move events emitting after validation in the tx library

This PR moves the events emitting after validation. It is done for:

account_vault_remove_asset
account_vault_add_asset
incr_nonce

TODO: move emitting for set_item and set_map_item
Related issue: #564

@hackaugusto @bobbinth I got a little bit stuck while updating the set_item provedure: account delta tracker  keeps returning invalid account delta: StorageMapDeltaWithoutStorageItemChange(40) error. I suppose that it is because on_account_storage_set_item function, which is called on event emitting, should work with previous version of Merkle tree, which is being changed during the set_item procedure. So it will be much more difficult to make it work (I suppose, that the same problem will occur with the set_map_item procedure). Should we leave these procedures for now?

I got a little bit stuck while updating the set_item procedure: account delta tracker keeps returning invalid account delta: StorageMapDeltaWithoutStorageItemChange(40) error. I suppose that it is because on_account_storage_set_item function, which is called on event emitting, should work with previous version of Merkle tree, which is being changed during the set_item procedure.

Yes, on_account_storage_set_item() would need to be updated - but on a quick glance, it seems like the changes should not be too complicated. We can emit the event when both the previous and the current values of the slot are on the stack, and then we may not need to do any merkle tree lookups.

One other thing: maybe we should modify event names to make it clear when they are emitted. For example, instead of ACCOUNT_VAULT_ADD_ASSET_EVENT, we could have:

ACCOUNT_VAULT_BEFORE_ADD_ASSET_EVENT (we don't use it currently, but maybe good to add).
ACCOUNT_VAULT_AFTER_ADD_ASSET_EVENT

Same could probably be applied to other events.


Text scroll

I need to scroll text when overflow. Is it possible ?
Thanks Mehmet

Hi @mhmtsrfglu,
I guess you have seen this example. To scroll the child panel, you can just move it like any three.js object : child.position.y -= 0.1. The logic to "grab" the child and compute the distance to scroll is left to you, since three-mesh-ui does not provide VR controls. I understand that this can be a bit complex, so I can make a new example to show how to do it, but I'm celebrating Christmas at the moment so I will do it next week.

Yes, I saw this example, on the other hand I am waiting for new example. Mary Christmas!

Yes, I saw this example, on the other hand I am waiting for new example. Mary Christmas!

hello! I'm trying to do text scrolling, based on the hiddenOverflow example. In that example, the position.y of the textContainer is set to a different value every time in the render loop. However, if just set the position once (for a specific scroll amount), it gets reset when the loop reaches ThreeMeshUI.update(). Is there a way of preventing this? or I need to always enforce the new position.y after update in the loop?

@r03ert0 Sorry for the late answer.
In this fiddle I move a block once and it doesn't get updated automatically afterwards.
Three-mesh-ui components extend three.Object3D and use Object3D.position to layout the components, so if you do something that triggers a layout update, your manual setting of Object3D.position will be overridden. However, I don't think a layout update should happen every frame, typically it only happens once, on the frame in which the components were created.
Three-mesh-ui keeps track of the components that need an update, in order to only update what is needed. What registers a specific component for an update is MeshUIComponent.setState( state ) or MeshUIComponent.set( options ). If your component gets updated every frame, it means that you are calling one of these two functions every frame, which is not advised performance-wise.

thank you very much!


CGO error while building docker image

**CGO error while building docker image **
I am building the peer calls docker image from source on Ubuntu 18.04 with go 1.14 and docker 19 installed on it. I am getting this error while building can someone help me fix this?
Steps To Reproduce
Steps to reproduce the behavior:

Git clone the peer-calls repo
Introduce a new config.yml at this path  server/config.yml to setup your own ICE servers
Install COTURN server as mentioned in README
Build docker image

Expected behavior
Expect docker build to pass without errors
Screenshots
Added screenshot of the error

My setup is as follows

Ubuntu 18.04
Go version 1.14 ( As mentioned in prerequisite)
Docker 19.0

Additional context

@dpanyam I think this is an issue with Docker on ubuntu and I'm not sure if there's a way I can fix it.
Take a look here: https://github.com/docker/docker-credential-helpers/issues/103#issuecomment-421822269

I discarded the VM having this issue and stood up a new GCE VM  with same versions of docker, go, npm and node. Also i used the same package repo to install docker. Not sure what changed but it worked.
Thanks @jeremija appreciate your response.

Alright, glad you figured it out - I'm going to close this issue then.


The disabled text in the cryptoCur component should not be disabled when the element is

Also, the disabled element should not get the hand cover state... but now it does.

This was fixed in #1618


Update istio/api including a needed test update

Please provide a description of this PR:
Supersedes https://github.com/istio/istio/pull/39974 in pulling in the latest istio/api and updates one failing test (add 2 additional deprecated messages)

And also its Pr 40000 :-)

Closing in preference to #40000


Add external project to readme

Issue #, if available:
#1462
Description of changes:
Check all that applies:

[X] Did a review by yourself.
[] Added proper tests to cover this PR. (If tests are not applicable, explain.)
Since it is a change in the README.md, tests are not required.
[ ] Checked if this PR is a breaking (APIs have been changed) change.
[X] Checked if this PR will not introduce cross-platform inconsistent behavior.
[X] Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

[X] Linux
[X] Windows
[ ] Android
[X] MacOS
[ ] IOS
[ ] Other Platforms

Resolved #1462
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi @disa6302 ,
Thanks for the PR.
A couple notes:
We recently cleaned up the ReadMe to only include what we consider the basics to build the sdk and moved other info and guides to documents in the Docs folder. I think that it'd be better if we do the same for this. Or, we could have a guide written as a Wiki entry like we do for the ec2 app guide. What do you think though? If you have an argument for it being important or basic enough to be in the Readme we would reconsider putting it there.
If possible, could you also write it as a "from scratch" instructions guide or walkthrough, kind of the same way we have the dependency instructions?
If it is too much trouble I could also do those changes myself, just didn't want to take over, without asking first.

@KaibaLopez ,
I do not mind having it added in docs and referencing it in the README.md. And sure, I can add a "from scratch" instructions guide. There would not be much to add, but I can definitely add some more steps around it sometime in the night.

@KaibaLopez ,
I have made some changes per your suggestion. Let me know what you think.

Merged and thanks for the contribution!


Contradictory documentation on global parameters

This page has a Warning box with "When using automated publishing, the Include in ARM template configuration for global parameters is not supported and will result in the factory’s Git configuration being removed after the ARM template deployment. Instead, use the PowerShell script method to deploy global parameters in your Azure pipelines."
But the page that is linked (https://learn.microsoft.com/en-us/azure/data-factory/author-global-parameters#cicd) has been updated to say that global parameters should be used & not the PS script method.
It's very confusing because it's not clear how to actually deploy the new global parameters & use them in Test/Prod/etc environments.
It's also unclear because it appears the new global parameter method doesn't remove the git configuration for the data factory.

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

ID: 5b5392af-90b9-8dbb-663d-9ea12defe00e
Version Independent ID: 54296020-8b98-ea17-7915-5b918b173793
Content: Automated publishing for continuous integration and delivery - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-delivery-improvements.md
Service: data-factory
Sub-service: ci-cd
GitHub Login: @nabhishek
Microsoft Alias: abnarain

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

@jdkr0220
Could you please go through this below highlighted concept for your reference.
https://learn.microsoft.com/en-us/azure/data-factory/author-global-parameters#cicd:~:text=The following steps,PublicNetworkAccess %24dataFactory
In Powershell script has all the info about How to deploy global parameters using PowerShell.
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Hi-
The two points are:

The "powershell" method is noted as the "older mechanism" but there's no real documentation on the "new method" for how to deploy global parameters.
The warning text box does not appear to be accurate because the new "Include global params in ARM template" does not appear to kill the git repo link with the new checkbox.

Hi @jdkr0220
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@nabhishek
Could you Please review this and update as appropriate.


Handle multiple values for same url query string parameter name as array.

I'm submitting a feature request

Library Version:
1.2.1

Please tell us about your environment:

Operating System:
Windows [10]

Node Version:
6.4.0

NPM Version:
4.0.3

Browser:
all

Language:
all

Current behavior:
Assuming this url/route is given:
/rooms-view?roomId=abc&visible=true&roomId=def&visible=false
Aurelia currently handle only the last found match.

Other frameworks like ASP.NET Core can hanlde multible values for same query parameter.

Expected/desired behavior:
In the given example I would expect for each key an array of values in the queryParams object.
queryParams: {
 roomId: ['abc', 'def'],
 visible: [true, false]
}

What is the motivation / use case for changing the behavior?
Bookmarkable URLs from where I can extract arrays of same data structure.

@AshleyGrant knows what I mean ;-)

Thanks to @PWKad on aurelias Gitter channel there is always a way aurelia can handle it.
If I rewrite the url to:
/rooms-view?roomId[]=abc&visible[]=ture&roomId[]=def&visible[]=false
the things work like expected.
Maybe you want to support the other syntax to, so I let this issue open but will not cry when you close it :)

Readable URL´s
After playing around with the array syntax and the routers navigateToRoute method I would like to point you to some behaviour.
I want that my app can handle this url.
normal style
/rooms?id=GuUwRtiTWz0&v=true&id=1i7pyGzRorX&v=true
array style
/rooms?id[]=GuUwRtiTWz0&v[]=true&id[]=1i7pyGzRorX&v[]=true
The array style is currently supported by aurelias router and I can generate a route/url with following code:
let routeName = 'rooms';
let routeOptions = {"id":["GuUwRtiTWz0","1i7pyGzRorX"],"v":[true,true]};
router.navigateToRoute(routeName, routeOptions, { replace: true, trigger: false });

because brackets should be encoded the the router generates following URL:
url encoded array style
/rooms?id%5B%5D=GuUwRtiTWz0&id%5B%5D=1i7pyGzRorX&v%5B%5D=true&v%5B%5D=true
Brackets in url´s are ugly, but encoded (and they should) are more ugly.
I changed my mind and vote for the normal style.

Indeed. AFAIK the bracket style is some whacky convention that PHP came up with. Standards-oriented Aurelia should be using /people?id=1&id=2.