SYM-604: Set language preference in UI

The language preference is stored as a setting per user, utilizing a new Entity (UserSettings).
A user can set their "Symphony-specific" preference from the available languages using a dedicated dialog component, reachable by the app menu in the top-right.
If no language preference is set, Symphony will use the browser locale and finally (if the current locale isn't supported or unavailable) English as the default, like previously.
We also persist the setting for "smooth"/"sharp" pixel rendering in the same way.
Note that this addition was made arbitrarily by my own volition, it isn't specified by the original issue requirement (SYM-604).
A couple of classes are renamed in the backend service from UserDefinedAreaService and UserDefinedAreaREST to UserService and UserREST respectively. They now encompass methods to do with both user defined areas and the settings object.
Lastly a slew of Karma tests for components otherwise unrelated to this feature, are affected by the new way to determine translation during setup. The last of these commits 7ef397f, appropriately mends the suite by providing a rxjs Store object where the TranslationSetupModule is imported to satisfy the unit test.

Looks like a file might not be read as expected. See attacted image. Something to check out?

Looks like a file might not be read as expected as there is Swedish when there should be English. See attacted image. Something to check out?

Good catch! I address this in the last commit (d8bf65d) . We need to re-fetch areas and baseline metadata as well when we change the language setting.


Support CIFS

Proposed feature
Currently it is not able to request the mount of a CIFS volume. This is supported by the underlying ansible module.
Additional context
The only thing to do is to add cifs to the list of allowed filesystem types.

Run CI tests@buluma


Add a heist clock

There should be a clock that starts when your heist starts and ends when your heist ends by failure or success. Actions in interactables should decrease or increase this clock.

We've decided that there should be a clock that counts up from 0 that the player can see using a watch item, and a hidden limit hinted to with some flavor status text. #23 adds the clock that counts up.


I encountered an error when adding the key

headscale works fine, but I run into this problem when I try to add Headscale-UI, where should I add this "Bearer" prefix?

See https://github.com/gurucomputing/headscale-ui?tab=readme-ov-file#errors-related-to-missing-bearer-prefix
headscale ui needs a reverse proxy to operate.

This is not a fix.  I have a reverse proxy set up and this also works perfectly well in cli.   The API key does not work with your UI.

doesnt matter.  the reverse proxy doesnt fix this.

I ran into a similar issue when I upgraded to 0.23.x I suppose there is an incompatibility issue. Reverting to 0.22.3 fixed the problem though.

I ran into a similar issue when I upgraded to 0.23.x of headscale I suppose there is an incompatibility issue. Reverting to 0.22.3 fixed the problem though.

Assuming this is the same problem as the host, closing as duplicate of https://github.com/gurucomputing/headscale-ui/issues/115


Improve speed of reponse transformer

If there are no body transformations (only header) defined, it is not necessary to parse the body.
Additionally this fixes #1207 as the body_transformer hangs when no transformations are defined.

Thanks for your work on this! resolved it slightly different in #1263


Unable to connect VNC

Hi,
Thanks for your tutorial, i can setup the container right now.
However, i'm unable to connect vnc from vnc viewer, i have print out the log of container, it says:
--- x11vnc loop: 666 ---
--- x11vnc loop: waiting for: 700
--- x11vnc loop: sleeping 500 ms ---

Could your please share with me workaround about this issue? thanks  so much.

It looks like qemu cannot start, there should be any errors about it.
Please try to run qemu with image manually, using command from
everything.sh.
пт, 28 июня 2019 г., 17:29 James<EMAIL_ADDRESS>
Hi,
Thanks for your tutorial, i can setup the container right now.
However, i'm unable to connect vnc from vnc viewer, i have print out the
log of container, it says:
--- x11vnc loop: 666 ---
--- x11vnc loop: waiting for: 700
--- x11vnc loop: sleeping 500 ms ---
Could your please share with me workaround about this issue? thanks so
much.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/windows-images/issues/4?email_source=notifications&email_token=AAKY23KS3OA63AEHQQJB7UDP4YN6BA5CNFSM4H4F4AG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4KQUMA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKY23K6RTQAGWNXO7P7GZDP4YN6BANCNFSM4H4F4AGQ
.

@seasoncool I think there is a typo in Alexander comment (should be entrypoint.sh).

Thanks @aandryashin  and @vania-pooh .
I have reinstalled the container from another ubuntu PC,  problem solved now.


Fix occasionally broken proxy

Sometimes, for seemingly no reason at all, pages fail to load using the proxy that sends requests to hackclub/frontend when there isn't a matching path in this app.
I saw this error in our logs and think it might be associated with this issue:
Jan 24 08:25:10 website-hackclub heroku/router: http_error="Bad chunk" at=error code=H17 desc="Poorly formatted HTTP response" method=GET path="/static/js/main.641484bb.js" host=hackclub.com request_id=099dabad-8d47-40d8-b54a-a4955ba6d28f fwd="<IP_ADDRESS>,<IP_ADDRESS>" dyno=web.1 connect=0ms service=467ms status=503 bytes=

Fixed by #287.


Vision points are inside token even when 0 is specified causing situations where tokens can't see things they should

This is tested in 0.6.0. The vision works great for the most part but under certain circumstances one token can see another but cannot be seen in return. When there is light of sight to a token, there should always be line of sight back.
Here is an example:

Because the test from the ogre to the smaller token happens inside the token, it collides with the wall right next to it and is therefore considered to be blocked. The elf on the other hand can test to the corner in the middle of the Ogre and therefore sees it.
This is incorrect two ways. The elf should be able to see the bottom left corner of the Ogre, but that is listed as blocked. That's as per this DMG picture:

Notice how all lines that pass directly through a corner count as visible in both pictures?
The second way it is incorrect is that the Ogre should be able to use the same corner the elf can see it with as the origin point of all of its line of sight, allowing it to see the elf in return since you can use the corner of any square you occupy, not just the outside corners. The corner at the very center of the Ogre should also be able to see the elf if it tested from there.

Under DMG rules, whether or not two tokens will both always share the same line-of-sight result depends, I think, on whether subtargeting is enabled. The DMG rules seem to use it (see DMG picture 1) but it is a bit performance heavy to just turn on by default. (Plus, it is not all that intuitive that "corner" might not mean the actual token corner when subtargeting is on.)
DMG Picture 1
Subtargeting

No subtargeting

DMG Picture 2
Subtargeting

No subtargeting

Example of non-parallel line-of-sight
I added a small wall that blocks the ogre's corner, which causes line-of-sight to be blocked for the ogre only, under DMG rules with subtargeting enabled. (Without, the PC vision would also be blocked.)

Issue with corner vision
I opened issue #77 to look more at corners for vision. For example, here you would expect the ogre to have vision, but his corner point is getting blocked.

The bigger problem here is that you would probably not expect the ogre to be able to see around the corner. So if the PC was hugging the bottom wall, you would probably expect ogre to not be able to see the PC until the ogre actually rounds the corner. Geometrically, there is no real difference between the two situations, however, so I don't know what I could do about it. If you extend the corner points beyond the ogre token, it would always see around corners. If you shrink the corner points slightly, it will never see around the corner.


"?" shown for host state when agent is in "reconnecting" state

Server version - V0.28.0-rc1
UI shows state as "?" for One of the host with state="active" and agentState="reconnecting" .

The backgroung color was missing for this state.  If you look closely you can see "RECONNECTING" in the top-left corner.  I like the question mark icon though, since we have no idea what state the host is in or if it will ever return when we're disconnected.

Verified Fixed v0.30.0-rc2


Duplicated 'entities' are reported in the 'activity' whenever mentioned on Teams.

Transferred from botbuilder-js to Microsoft-Teams-Samples repository.
We've identified this is a Teams Issue and waiting on Teams for updates.
Please see original issue here:
https://github.com/microsoft/botbuilder-js/issues/4379

Versions
What package version of the SDK are you using.
botbuilder": "4.18.0",
botframework-directlinejs": "0.15.1"
What nodejs version are you using
v16.6.2
What browser version are you using
109.0.1518.5 (Official build) dev (64-bit)
What os are you using
Windows 10
Describe the bug
In Microsoft teams when someone is mentioned the bot activity is reporting back duplicate entities (same id but different name) whenever there is a space in the name
To Reproduce
On a Teams channel:

Mention two people (plus the bot)
-e.g Hi @FirstName Lastname and @Firstname2 Lastname2

In this example assume "@FirstName Lastname" is a single person and "@Firstname2 Lastname2" is another one.
Expected behavior
Some weeks ago the behavior was to return 1 entity per mention (on the entities array). In the previous example it would a similar JSON to:
contents of activity.entities
[
    {
        "mentioned": {
            "id": "FAKEID1",
            "name": "FirstName LastName"
        },
        "text": "<at>FirstName LastName</at>",
        "type": "mention"
    },
    {
        "mentioned": {
            "id": "FAKEID2",
            "name": "FirstName2 LastName2"
        },
        "text": "<at>FirstName2 LastName2</at>",
        "type": "mention"
    },
    {
        "locale": "en-US",
        "country": "US",
        "timezone": "America/Los_Angeles",
        "type": "clientInfo"
    }
]

Actual behavior
It currently returns 4 entities 2 pairs with the same id but different name:
contents of activity.entities (please note the id)
[
    {
        "mentioned": {
            "id": "FAKEID1",
            "name": "FirstName"
        },
        "text": "<at>FirstName</at>",
        "type": "mention"
    },
    {
        "mentioned": {
            "id": "FAKEID1",
            "name": "LastName"
        },
        "text": "<at>LastName</at>",
        "type": "mention"
    },
    {
        "mentioned": {
            "id": "FAKEID2",
            "name": "FirstName2"
        },
        "text": "<at>FirstName2</at>",
        "type": "mention"
    },
    {
        "mentioned": {
            "id": "FAKEID2",
            "name": "LastName2"
        },
        "text": "<at>LastName2</at>",
        "type": "mention"
    },
    {
        "locale": "en-US",
        "country": "US",
        "timezone": "America/Los_Angeles",
        "type": "clientInfo"
    }
]

CC Original Author @mkm-dz

Hi Teams, any status update on this issue?

Hi @ramfattah - Thanks for reporting this issue. We will check this now from our end and will update you accordingly.

Hi @ramfattah - We tried to repro this issue using below sample and it is working fine at our end.
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation/nodejs
Duplicate entities are not being reported.
    "entities": [
        {
            "mentioned": {
                "id": "28:4acdc558-04cc-49d2-a0c1-4c0f4138a9e9",
                "name": "Action Messaging Extension"
            },
            "text": "<at>Action Messaging Extension</at>",
            "type": "mention"
        },
        {
            "mentioned": {
                "id": "29:1eUpDed1o99pzmlc0XckNhcat-0q_7GED-_O6jGKw1GBVIw4urNk0NN225FXq-1vIk6bAtqw5jVklQ1cREE9wNg",
                "name": "Allan Deyoung"
            },
            "text": "<at>Allan Deyoung</at>",
            "type": "mention"
        },
        {
            "mentioned": {
                "id": "29:1Cv--PflibXhi1hK_C_XQ8V0ZtZgyUO_QQFBtzAyw8n7ktEeUwQpGf9p6hyK7seqCrwAfb7YKN0O1xB6T6Ns2kw",
                "name": "Megan Bowen"
            },
            "text": "<at>Megan Bowen</at>",
            "type": "mention"
        },
        {
            "locale": "en-GB",
            "country": "GB",
            "platform": "Web",
            "timezone": "Asia/Calcutta",
            "type": "clientInfo"
        }
    ],

Tested in Microsoft Teams Version <IP_ADDRESS>871
"botbuilder": "^4.20.0"
Windows 10
Could you please try to upgrade and check if it helps?

CC @mkm-dz. It appears this issue has been fixed.

Thank you @Prasad-MSFT for you effort in verifying.


Add support to restart function

Motivation
Few times we have seen that our function process is stuck and not consuming messages from pulsar-source or computing as per expectation. So, sometimes it requires to restart stuck function due to issue with function logic or pulsar-framework. Pulsar broker already has similar feature to unload namespace bundles to reinitialize bundle resources. Similar way, restarting function and reinitialize function resources helps in such situation.
Modifications
add REST/CLI to restart function.
Result
Admin can restart function instance.

If one doesn't specify instance_id does it make sense to restart all instances?

Sure, let me make the change.

@srkukarni added support to restart all instances of the function.


TKNECO-30-TEST

I tried creating the basic structure for e2e testing. Here the checks that I have decided to incorporate are:

Whether the registry environment variable is set or not.
Initiated the task run and checked the output and status. If status equals 0 then test will not fail.
To check whether image was successfully copied or not the digests from images of the source and destination registries are compared. If the digests match then the two images have same content i.e. task ran successfully.
Finally cleaned up the resource.

Since integration testing is not there so I have removed the integration testing job from .github/workflows/test.yaml.  I have added the helper.sh file too.
If the basic structure is ok then I will proceed with the next steps like having a local registry to test.

Next I am exploring how to use Makefile target dependency to install the Task.

@Senjuti256 could you please squash the commits? 🙏 The changes here looks good to me!


Access to app variable anywhere

Hi all!
I can't find out the way of accessing to app variable from a component or a page as we can do in middleware or plugins.
I would like the app because I want to get attached instance of plugins, for example i18n.
app.i18n.fallbackLocale
Do you know how is it possible ?
Thx

This question is available on Nuxt.js community (#c2451)

Have you tried with this.$i18n?

Yes, but what if it's not a vuejs plugin ?
For example:
// plugins/myPlugin.js
import MyPlugin from 'my-plugin'

export default ({ app }) => {
  app.myPlugin = new MyPlugin()
  app.myPlugin.init()
}

In this case, I would like doing this:
// components/MyComponent.vue
<script>
export default {
  methods: {
    destroyMyPlugin() {
      this.myPlugin.destroy() // <-- I can't do this :/
    }
  }
}
</script>

You can try inject your plugin with method inject.
// plugins/myPlugin.js
import MyPlugin from 'my-plugin'

export default ({ inject }) {
  let myPlugin = new MyPlugin()
  myPlugin.init()
  inject('myPlugin', myPlugin)
}

and then yu can access your plugin via prefix $
// components/MyComponent.vue
<script>
export default {
  methods: {
    destroyMyPlugin() {
      this.$myPlugin.destroy() // <-- I can't do this :/
    }
  }
}

Great! Thank you very much @EllenFawkes  :)
I did not know inject
Just one precision: inject is undefined if I want to get it with object destructuring.
So I had to do this:
export default({}, inject) {
  // blah blah blah
  inject('myPlugin', myPlugin)
}

@Michkkael oh, my mistake. Yes, inject is a 2nd parametr, is not part of context. :)

@Michkkael I think that was a typo in her example. inject is outside the context object, so basically you always need to do something like this:
export default({ app, store }, inject) {
  // blah blah blah
  inject('myPlugin', myPlugin)
}

This works, $filters becomes available in the component template and methods:
export default (ctx, inject) => {
  inject('filters', filters)
}

I aswell use inject() to add/access objects via Vue instance .
Although I'm having trouble getting it to work inside (Jest) unit tests.
I need to 'load' the plugins to be able to test some stuff, anybody solved this already?

@DCdeBrabander If you just want to do unit tests you can just have whatever you're injecting in a separate file and require that in your test file directly?

If I may come back to the original question: How do you access the app object in a component?

5 seconds later I found it:
this.$root.context.app

For anyone interested in accessing the Nuxt "app" (and any registered plugin!) inside a Vuex Action, those things are available via the Vuex Instance (the "this" inside the action):
You can also access the $router instance!
const actions = {
  myAction(context, data) {
    const response = this.$axios.post('/foo', data);
    context.commit('someMutation', response.data);
  }
};

in nuxt.config:
{ ...
   env: {
     myVar: 'Some Value'
   }
...
}

anywhere (including mixins, plugins, etc.)
console.log(process.env.myVar) // 'Some Value'


read source yaml failed: error converting YAML to JSON: yaml: line 22: block sequence entries are not allowed in this context

Hello, i'am trying to install milvus on a k8s cluster using helm:
helm install milvus  milvus/milvus --values='/home/siradjedd/airstream/application/k8s/helm/milvus/values/milvus.yml' --namespace milvus
NAME: milvus
LAST DEPLOYED: Fri May 31 09:34:37 2024
NAMESPACE: milvus
STATUS: deployed
REVISION: 1
TEST SUITE: None

BUT i got problems on some pods saying :
read source yaml failed: error converting YAML to JSON: yaml: line 22: block sequence entries are not allowed in this context
here is my values.yaml:
## Enable or disable Milvus Cluster mode
cluster:
  enabled: true

image:
  all:
    repository: milvusdb/milvus
    tag: v2.2.13 #v2.2.4
    pullPolicy: IfNotPresent
    ## Optionally specify an array of imagePullSecrets.
    ## Secrets must be manually created in the namespace.
    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
    ##
    # pullSecrets:
    #   - myRegistryKeySecretName
  tools:
    repository: milvusdb/milvus-config-tool
    tag: v0.1.1
    pullPolicy: IfNotPresent

# Global node selector
# If set, this will apply to all milvus components
# Individual components can be set to a different node selector
nodeSelector:
  tech: milvus

# Global tolerations
# If set, this will apply to all milvus components
# Individual components can be set to a different tolerations
tolerations:
  - key: "milvus"
    operator: "Equal"
    value: "true"
    effect: "NoSchedule"

# Global affinity
# If set, this will apply to all milvus components
# Individual components can be set to a different affinity
affinity: {}

# Global labels and annotations
# If set, this will apply to all milvus components
labels: {}
annotations: {}

# Extra configs for milvus.yaml
# If set, this config will merge into milvus.yaml
# Please follow the config structure in the milvus.yaml
# at https://github.com/milvus-io/milvus/blob/master/configs/milvus.yaml
# Note: this config will be the top priority which will override the config
# in the image and helm chart.
extraConfigFiles:
    user.yaml: |+
    #    For example enable rest http for milvus proxy
    #    proxy:
    #      http:
    #        enabled: true

## Expose the Milvus service to be accessed from outside the cluster (LoadBalancer service).
## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
## ref: http://kubernetes.io/docs/user-guide/services/
##
service:
  type: LoadBalancer
  port: 19530
  nodePort: ""
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-internal: "true"
    service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
  labels: {}

  ## List of IP addresses at which the Milvus service is available
  ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  ##
  externalIPs: []
  #   - externalIp1

  # LoadBalancerSourcesRange is a list of allowed CIDR values, which are combined with ServicePort to
  # set allowed inbound rules on the security group assigned to the master load balancer
  loadBalancerSourceRanges:
  #- <IP_ADDRESS>/16
  - <IP_ADDRESS>/0
  # Optionally assign a known public LB IP
  # loadBalancerIP: <IP_ADDRESS>

ingress:
  enabled: false
  annotations:
    # Annotation example: set nginx ingress type
    # kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/backend-protocol: GRPC
    nginx.ingress.kubernetes.io/listen-ports-ssl: '[19530]'
    nginx.ingress.kubernetes.io/proxy-body-size: 4m
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
  labels: {}
  hosts:
    - milvus-example.local
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - milvus-example.local

serviceAccount:
  create: false
  name:
  annotations:
  labels:

metrics:
  enabled: true

  serviceMonitor:
    # Set this to `true` to create ServiceMonitor for Prometheus operator
    enabled: false
    interval: "30s"
    scrapeTimeout: "10s"
    # Additional labels that can be used so ServiceMonitor will be discovered by Prometheus
    additionalLabels: {}

livenessProbe:
  enabled: true
  initialDelaySeconds: 90
  periodSeconds: 30
  timeoutSeconds: 5
  successThreshold: 1
  failureThreshold: 5

readinessProbe:
  enabled: true
  initialDelaySeconds: 90
  periodSeconds: 10
  timeoutSeconds: 5
  successThreshold: 1
  failureThreshold: 5

log:
  level: "info"
  file:
    maxSize: 300    # MB
    maxAge: 5    # day
    maxBackups: 20
  format: "text"    # text/json

  persistence:
    mountPath: "/milvus/logs"
    ## If true, create/use a Persistent Volume Claim
    ## If false, use emptyDir
    ##
    enabled: true
    annotations:
      helm.sh/resource-policy: keep
    persistentVolumeClaim:
      existingClaim: ""
      ## Milvus Logs 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.
      ## ReadWriteMany access mode required for milvus cluster.
      ##
      storageClass: efs-csi-sc
      accessModes: ReadWriteMany
      size: 10Gi
      subPath: ""

## Heaptrack traces all memory allocations and annotates these events with stack traces.
## See more: https://github.com/KDE/heaptrack
## Enable heaptrack in production is not recommended.
heaptrack:
  image:
    repository: milvusdb/heaptrack
    tag: v0.1.0
    pullPolicy: IfNotPresent

# standalone:
#   replicas: 1  # Run standalone mode with replication disabled
  # resources: {}
  # # Set local storage size in resources
  # # limits:
  # #    ephemeral-storage: 100Gi
  # nodeSelector: {}
  # affinity: {}
  # tolerations: []
  # extraEnv: []
  # heaptrack:
  #   enabled: false
  # disk:
  #   enabled: true
  #   size:
  #     enabled: false  # Enable local storage size limit
  # profiling:
  #   enabled: false  # Enable live profiling

  # ## Default message queue for milvus standalone
  # ## Supported value: rocksmq, pulsar and kafka
  # messageQueue: rocksmq
  # persistence:
  #   mountPath: "/var/lib/milvus"
  #   ## If true, alertmanager will create/use a Persistent Volume Claim
  #   ## If false, use emptyDir
  #   ##
  #   enabled: true
  #   annotations:
  #     helm.sh/resource-policy: keep
  #   persistentVolumeClaim:
  #     existingClaim: ""
  #     ## Milvus 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.
  #     ##
  #     storageClass: efs-csi-sc
  #     accessModes: ReadWriteOnce
  #     size: 50Gi
  #     subPath: ""

proxy:
  enabled: true
  replicas: 1
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: false  # Enable live profiling
  http:
    enabled: true  # whether to enable http rest server
    debugMode:
      enabled: false

rootCoordinator:
  enabled: true
  # You can set the number of replicas greater than 1, only if enable active standby
  replicas: 1  # Run Root Coordinator mode with replication disabled
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: true  # Enable live profiling
  activeStandby:
    enabled: false  # Enable active-standby when you set multiple replicas for root coordinator

  service:
    port: 53100
    annotations: {}
    labels: {}
    clusterIP: ""

queryCoordinator:
  enabled: true
  # You can set the number of replicas greater than 1, only if enable active standby
  replicas: 1  # Run Query Coordinator mode with replication disabled
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: true  # Enable live profiling
  activeStandby:
    enabled: false  # Enable active-standby when you set multiple replicas for query coordinator

  service:
    port: 19531
    annotations: {}
    labels: {}
    clusterIP: ""

queryNode:
  enabled: true
  replicas: 2
  resources: {}
  # Set local storage size in resources
  # limits:
  #    ephemeral-storage: 100Gi
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  disk:
    enabled: true  # Enable querynode load disk index, and search on disk index
    size:
      enabled: false  # Enable local storage size limit
  profiling:
    enabled: false  # Enable live profiling

indexCoordinator:
  enabled: true
  # You can set the number of replicas greater than 1, only if enable active standby
  replicas: 1   # Run Index Coordinator mode with replication disabled
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: false  # Enable live profiling
  activeStandby:
    enabled: false  # Enable active-standby when you set multiple replicas for index coordinator

  service:
    port: 31000
    annotations: {}
    labels: {}
    clusterIP: ""

indexNode:
  enabled: true
  replicas: 2
  resources: {}
  # Set local storage size in resources
  # limits:
  #    ephemeral-storage: 100Gi
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: true  # Enable live profiling
  disk:
    enabled: true  # Enable index node build disk vector index
    size:
      enabled: false  # Enable local storage size limit

dataCoordinator:
  enabled: true
  # You can set the number of replicas greater than 1, only if enable active standby
  replicas: 1           # Run Data Coordinator mode with replication disabled
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: true  # Enable live profiling
  activeStandby:
    enabled: false  # Enable active-standby when you set multiple replicas for data coordinator

  service:
    port: 13333
    annotations: {}
    labels: {}
    clusterIP: ""

dataNode:
  enabled: true
  replicas: 2
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: true  # Enable live profiling

## mixCoordinator contains all coord
## If you want to use mixcoord, enable this and disable all of other coords
mixCoordinator:
  enabled: false
  # You can set the number of replicas greater than 1, only if enable active standby
  replicas: 1           # Run Mixture Coordinator mode with replication disabled
  resources: {}
  nodeSelector: {}
  affinity: {}
  tolerations: []
  extraEnv: []
  heaptrack:
    enabled: false
  profiling:
    enabled: false  # Enable live profiling
  activeStandby:
    enabled: false  # Enable active-standby when you set multiple replicas for Mixture coordinator

  service:
    annotations: {}
    labels: {}
    clusterIP: ""

attu:
  enabled: true
  name: attu
  image:
    repository: zilliz/attu
    tag: v2.2.3
    pullPolicy: IfNotPresent
  service:
    type: ClusterIP
    port: 3000
  resources: {}
  ingress:
    enabled: true
    annotations:
      kubernetes.io/ingress.class: nginx
      cert-manager.io/cluster-issuer: letsencrypt-prod
    # Annotation example: set nginx ingress type
    # kubernetes.io/ingress.class: nginx
    labels: {}
    hosts:
   # - milvus.padasiradjme.actops.io
      - milvus.padasiradjmeplus.com
    tls:
      - secretName: milvus-tls
        hosts:
          #- milvus.padasiradjme.actops.io
           - milvus.padasiradjmeplus.com

## Configuration values for the minio dependency
## ref: https://github.com/minio/charts/blob/master/README.md
##

minio:
  enabled: false

## Configuration values for the etcd dependency
## ref: https://artifacthub.io/packages/helm/bitnami/etcd
##

etcd:
  enabled: true
  name: etcd
  replicaCount: 3
  pdb:
    create: false
  image:
    repository: "milvusdb/etcd"
    tag: "3.5.5-r2"
    pullPolicy: IfNotPresent

  service:
    type: ClusterIP
    port: 2379
    peerPort: 2380

  auth:
    rbac:
      enabled: false

  persistence:
    enabled: true
    storageClass: efs-csi-sc
    accessMode: ReadWriteOnce
    size: 10Gi

  ## Enable auto compaction
  ## compaction by every 1000 revision
  ##
  autoCompactionMode: revision
  autoCompactionRetention: "1000"

  nodeSelector:
    tech: milvus

  tolerations:
    - key: "milvus"
      operator: "Equal"
      value: "true"
      effect: "NoSchedule"

  ## Increase default quota to 4G
  ##
  extraEnvVars:
  - name: ETCD_QUOTA_BACKEND_BYTES
    value: "4294967296"
  - name: ETCD_HEARTBEAT_INTERVAL
    value: "500"
  - name: ETCD_ELECTION_TIMEOUT
    value: "2500"

## Configuration values for the pulsar dependency
## ref: https://github.com/apache/pulsar-helm-chart
##

pulsar:
  enabled: false

kafka:
  enabled: true
  name: kafka
  replicaCount: 3

  nodeSelector:
    tech: milvus
  tolerations:
    - key: "milvus"
      operator: "Equal"
      value: "true"
      effect: "NoSchedule"

  image:
    repository: bitnami/kafka
    tag: 3.1.0-debian-10-r52
  ## Increase graceful termination for kafka graceful shutdown
  terminationGracePeriodSeconds: "90"
  pdb:
    create: false

  ## Enable startup probe to prevent pod restart during recovering
  startupProbe:
    enabled: true

  ## Kafka Java Heap size
  heapOpts: "-Xmx4096m -Xms4096m"
  maxMessageBytes: _10485760
  defaultReplicationFactor: 3
  offsetsTopicReplicationFactor: 3
  ## Only enable time based log retention
  logRetentionHours: 168
  logRetentionBytes: _-1
  extraEnvVars:
  - name: KAFKA_CFG_MAX_PARTITION_FETCH_BYTES
    value: "5242880"
  - name: KAFKA_CFG_MAX_REQUEST_SIZE
    value: "5242880"
  - name: KAFKA_CFG_REPLICA_FETCH_MAX_BYTES
    value: "10485760"
  - name: KAFKA_CFG_FETCH_MESSAGE_MAX_BYTES
    value: "5242880"
  - name: KAFKA_CFG_LOG_ROLL_HOURS
    value: "24"

  persistence:
    enabled: true
    storageClass: efs-csi-sc
    accessMode: ReadWriteOnce
    size: 100Gi

  metrics:
    ## Prometheus Kafka exporter: exposes complimentary metrics to JMX exporter
    kafka:
      enabled: false
    ## Prometheus JMX exporter: exposes the majority of Kafkas metrics
    jmx:
      enabled: false
    ## To enable serviceMonitor, you must enable either kafka exporter or jmx exporter.
    ## And you can enable them both
    serviceMonitor:
      enabled: false

  service:
    type: ClusterIP
    ports:
      client: 9092

  zookeeper:
    enabled: true
    replicaCount: 3
    nodeSelector:
      tech: milvus
    tolerations:
      - key: "milvus"
        operator: "Equal"
        value: "true"
        effect: "NoSchedule"

## Configuration values for the mysql dependency
## ref: https://artifacthub.io/packages/helm/bitnami/mysql
##
## MySQL used for meta store is testing internally

mysql:
  enabled: false

###################################
# External S3
# - these configs are only used when `externalS3.enabled` is true
###################################
externalS3:
  enabled: true
  host: "s3.eu-west-3.amazonaws.com"
  port: "80"
  accessKey: "-"
  secretKey: "-"
  useSSL: false
  bucketName: "milvus-match-video-objects-bucket-prod"
  rootPath: ""
  useIAM: false
  iamEndpoint: ""

Hi @sfisli, thank you for the feedback, could you provide the complete logs for milvus pod? Since you uses externalS3, I cannot completely copy your values. I tested without externalS3, and it works fine. So looks like some of the externalS3 configuration is incorrect.


Make full version with all languages included available on cdn

Absence of the full build is intentional. We don't want to officially support a 400K file as a syntax highlighting solution that would then be forced on unsuspecting users by overly eager authors. Anyone in need of such a thing is welcome to build it and host it themselves :-)


refactor: Create a common utility for looking up fully qualified names

This should make some checks a lot more robust and makes it easier to add similarly robust checks to library specific mixins.
This is also a precursor to using is_typing in the annotation visitor, so we can handle aliases and module level accesses of Literal and Annotated.

Technically this implementation will allow fewer if TYPE_CHECKING: cases, since we don't unilaterally accept a TYPE_CHECKING import from any module if it's aliased or accessed through the non-typing module, but this seems fine to me (we do however still accept unqualified TYPE_CHECKING for now). If people run into issues where they have vendored TYPE_CHECKING into a different module, we can add a setting to add additional fully qualified names that should be treated as TYPE_CHECKING.
Either way this should be treated as a breaking change, but it's probably a good time for it anyways, we can drop 3.8 support and add 3.13 support at the same time.

I added some basic handling for full name matching in the presence of star imports. I'm not fully convinced it's worth the extra complication yet, especially since they're an anti pattern and star imports may already break some of the other rules in subtle ways, we certainly don't have good test coverage for them. So I might revert this last commit again.

Looks like ruff's current semantic model doesn't handle star imports, although I imagine they will support them, once they switch to red-knot as the backend. So I'm still neutral on adding this extra complication.

Ruff also has a setting to specify additional typing modules, so we could do the same in order to still support vendored typing constructs (e.g. within a local compat module through local.compat .compat and ..compat to support both absolute and relative imports).

Let me know if you need me to do anything re the release 👍

I think I'll first revert the star imports change and add a setting for defining additional typing modules so we have the same behavior as Ruff here.
I'm happy doing some of the chores like adjusting the CI and removing 3.8 compatibility myself. But if you have some  time to spare after I merge this change, feel free to do it yourself, I probably won't get around to doing both today.

@sondrelg I would still like to get a couple of the other pending changes in before we release, since verifying that Literal and Annotated are from the typing module when visiting annotations will also be a breaking change.
So no rush on dropping 3.8 support and updating the CI.

Sounds good!


Minor typo correction in enable-attack-surface-reduction.md

Change proposed:

conjuction => conjunction

Ref. #3170 (previous attempt)
BTW: Would it be useful to change "admins" to "local administrators" in the paragraph shown below, or is the current wording enough to cover the factual meaning as is?

The rule Block executable files from running unless they meet a prevalence, age, or trusted list criterion with GUID 01443614-cd74-433a-b99e-2ecdc07bfc25 is owned by Microsoft and is not specified by admins.

@AndreaBarr - Can you possibly merge the content of this PR? This is just a simple typo issue. Thank you.


Is there a plan to support the strategy of rescheduling according to the real load of the node?

Is there a plan to support the strategy of rescheduling according to the real load of the node?

Hi, this has been requested and we have a pinned issue with discussion around it: https://github.com/kubernetes-sigs/descheduler/issues/225
In short there's nothing blocking this, but it will require extra cluster add-ons (like metrics-server) and likely the use of a custom scheduler plugin to be really effective. Because of that it hasn't been prioritized, but we're still open to adding it someday.
Closing this as duplicate of that issue, please feel free to discuss there.
/close


reduce size of git repo

How can we reduce the size of the GIT repo?
At some point we commited some unnecessary data

Most often I have seen this one mentioned for this use: https://github.com/rtyley/bfg-repo-cleaner

yes, i've used BFG a few times for this... works like a charm. you'll need to do it locally once then force-push the repo. this could be disruptive to those who pull later though just to warn (like any operation re-writing git history)

I tried and i got this
https://github.com/rtyley/bfg-repo-cleaner/issues/36

You have to force push, otherwise it worn't work, and also you might need to temporarily remove protections agains force push

git push -f did not work either
git remote update worked
https://christoph.ruegg.name/blog/git-howto-mirror-a-github-repository-without-pull-refs.html
I think the repo went down from 278Mb to 14MB, Im going to delete some more files, such as old images

the repo is 11Mb now :tada:

for some reason the repo size went back to 117MB

it should be fixed again by moving docs not in a branch


Cannot get the animations to fire.

Hello! I am having problems with getting the animations to fire. What am I doing wrong?
Issue is here:
http://www.worklemon.com/
Thanks!
Mike

I had a similar issue but was able to resolve. If you're reading this and used the provided CDN's please read.
Crack open inspect element in your browser and do the following:

Check the DOM element where you added data-aos="blah" and scroll. If JS is loaded you'll see the class names change dynamically. If that works, your JS file is good but your css may be missing.

Select Sources to verify 'cdn.rawgit.com/michalsnik/aos/2.*(version you're on) is there and loads both aos.js and aos.css. My css didn't load even using the provided CDN so I manual placed the css file.

Hope this helps.

Thank you very much for your reply! I was doing some troubleshooting and figured it out in the end. I ended up including the files locally as well.


Centre hotbar

The centre hotbar option seems to have broken with the last update.

I can't reproduce this

I can't reproduce this

I am using:

Windows 10
FoundryVTT v9.255
Dorako v1.3.11 (just reinstalled to be sure)
PF2e v<IP_ADDRESS>19

World is a fresh world, only module enabled is dorako ui and it still does it.
Will try a fresh foundry install to see if it is something going on on that side.

Update:
Fresh install of foundry vtt worked. Backup restored and bar was centered.


Implements and tests anonymized reviews setting

Some conferences have attempted to remove a source of bias in speaker selection by hiding the names of speakers from reviewers. This PR introduces a new configuration option to enable this behavior. The default behavior is unchanged, so it is an opt-in solution for users.
Fixes #1075.

The tests pass on my own system, so I assume this is something that may succeed if the tests are re-run and the mock uses different sample text.

I have noticed this happens once in a while with some other tests I wrote -- I need to investigate those failures and see if I can fix it.
On Wed, Mar 11, 2020, at 9:48 PM, SandyS1 wrote:

The tests pass on my own system, so I assume this is something that may succeed if the tests are re-run and the mock uses different sample text.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/opencfp/opencfp/pull/1246#issuecomment-597965739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAG5IJM5ZSDH65RZUKZTB3RHA5OPANCNFSM4LFMEWFA.

Thanks @SandyS1

Of course, quite welcome!


Key callback may be spuriously called with GLFW_KEY_A, GLFW_PRESS

I find this issue on my Macbook pro:

run a glfw window on MacOS (10.10 or 10.11)
switch to other application's window
press and hold command key, tap tab key to select glfw window, leaving the command key pressed
after 1 second, release command key, now we see the glfw window, but the key callback is called with key='a' and type=GLFW_PRESS.

Yes, there is definitely something wrong with key callback - if you press and hold any keyboard button for at least a second (or something like that), then when you release it, key callback gets called at once more. Example - http://learnopengl.com/#!Advanced-OpenGL/Cubemaps , you can download this cubemaps tutorials from github, compile it and will see, that there is a few additional key callbacks after button is already released, but it happens only if you hold button pressed for at least a second (hold 2-3 seconds for guaranteed effect).

@haha-wei Unable to reproduce with the events test from GLFW 3.2 (bc649e1632d1bd9f51cc8b43bd72a8a269b090ee) on OS X 10.11.5.

Can anyone reproduce this issue with the 3.3 release?


[search bar] better ergonomy

According to this issue: https://github.com/Inria-Asclepios/medInria-public/issues/152
Improve the search bar tool which was not really clear (euphemism), and was not known by manips.

This filter is also used in the Browser and I don't know if its GUI is easily modifiable according to its place.
But I think that in the small db panel (the picture in your description), a single QLineEdit with a placeHolderText saying:  "Search a patient, study .." is enough. We don't need further filters there.

@LoicCadour  I didn't coded any new filter in the code. Do you see the "+" and "-" buttons? They allow to add filters for the sorting of the database. On my screenshot above, i clicked on the "+" button for Modality and Age, but i did not change the main filter which is displayed by default: "Patient/blabla". However, i can add change to a QLineEdit indeed. I'm looking at it.

I know the toolbox.
I am just saying that I don't see H&Cie filtering the db by Age or Modality.
The Patient/Study Name is enough IMHO.

Well, we don't know that, since they have a lot of patients, and they would perhaps want to do some research on patients with an age > X for instance. Moreover it can be interesting for our other users.
"Patient/Study" is displayed by default, so i can improve more the ergonomy but i do not agree to remove 90% of the code of this toolbox :)

Thanks @LoicCadour , it's done. The ergonomy is better :)

Actually, what I was suggesting was to add code to the tbx not to rm some.
My idea was to have a minimalist search bar in the db left panel (with just a search on the Name/Study, we can ask H&Cie whether other filters were needed), and the classic one in the Browser (with all the filters).
Concerning the text in the search bar, I would have put an action verb to emphasise the use of the tool : "Search a Patient/...". Otherwise it's hard to know what it is.

Oki i understand.
Concerning the first point, it's a lot of changes, it can be an interesting idea but it's not the point of my PR. Do not forgot that Hubert is not the only user of this application. I suggest that you create an enhancement issue to explain your idea :).
Ok for the second point, good idea.

@LoicCadour updated PR :)

Problem solved <3 :

"Database" is displayed in workspaces, the thumbnail does not have anymore weird behavior at resize.

PR update @fcollot


Add Dancing In The Dark by Joji

Song Name
Dancing In The Dark
Artist Name
Joji
Source
Youtube
Youtube Link
K3Qzzggn--s
Direct File Link
No response
Song ID
6
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 82230672

accept


Add footprint example to an example

What
Add footprint example to an example
Why
So we discuss footprints early on, but in a light not heavy way.

Preview is available here:http://soroban-docs-pr176.previews.kube001.services.stellar-ops.com/


update README.md

Update to latest release 4.0.3 and extend copyright to 2018. The redirect on https://metrics.dropwizard.io is currently https://metrics.dropwizard.io/4.0.0/ and should be also point to https://metrics.dropwizard.io/4.0.3 (which is not yet available)

Thank you


Add metadata-add and metadata-remove commands

This allows for adding and removing metadata during filtering.

This needs more consideration, because the commands can only be on a single line. It might be necessary for the metadata-add command to take a filename as an argument.

Moving this beyond 0.4.0. There are security concerns with allowing filters to open files and so on.

The infrastructure is in place to provide this safely now.


Distance between two points

Proposed changes
Using divide and conquer, I have solved a problem i.e calculating distance between two points  in c++.
Types of changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply

[ ] Proofreading (fix spelling, grammar, punctuation, accuracy) More about Proofreading
[x] New Files/Folder (adding folder without removing existing one)
[ ] Add/Remove Files (adding/removing existing files/folder)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. Don't hesitate to ask if you're unsure about any of them. We're here to help! This is simply a reminder of what we will look for before merging your code.

[x] Tested any code against its gcc/clang or the official binaries and it passes locally with my changes
[x] I have added the necessary explanation
[ ] I have added the necessary links in the working section
[ ] Added external links

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
Reviewers:
This will be filled by the people who review this particular Pull Request.

this looks like its incomplete either complete your changes and then reopen it


PHP 8.1 Session Driver Errors

Using any Session driver on 8.1 will trigger:
CI_Session_database_driver must be compatible with SessionHandlerInterface.
Errors upon page load. To address these:

Added matching SessionHandlerInterface typehints
Added #[\ReturnTypeWillChange] for those methods require a union return type. The comment is a suppresses the deprecation notice to maintain backwards compatibility.

Hi @mackieee,
Thanks for this!
We can't use type-hints since we aim to support PHP 5 as well. The solution here would be to change how we call session_set_save_handler, something like:
if (PHP_VERSION_ID >= 80100)
{
	session_set_save_handler(
		array($class, 'open'),
		array($class, 'close'),
		array($class, 'read'),
		array($class, 'write'),
		array($class, 'destroy'),
		array($class, 'gc')
	);
}
else
{
	session_set_save_handler($class, TRUE);
}

Let me know if you are up for changing your PR like this. Otherwise, I'm going to submit a PR very soon to add compatibility for PHP 8.1 as well, adding it to the Travis matrix, fixing broken things, and so on - and I could include this change as well. Just let me know your thoughts on this.

Session handling broken without notice yet again ... I guess that'll never change. Anyway, the individual function declaring format for the save handler is an old one that I was looking forward to get rid of, not get back to. I'm thinking the solution is rather a wrapper class that we include depending on the PHP version.

I'm thinking the solution is rather a wrapper class that we include depending on the PHP version.

I would love this solution, tho I wasn't sure how comfortable we would be with it :D
But yeah, let's go for having a wrapping class(es) for our drivers.

Should be done with the commit I just pushed, but as I can only verify so much in a single environment, I'll wait for one of you guys to confirm that it works before I close this.

Hello,
Sorry for being late for the party :P
It seems that you managed to submit already some changes for PHP 8.1 and switched to GH. It's really cool that it works, but I find it funny that adding the -d mbstring.func_overload=7 all the time still makes the build green, as this was triggering a warning in PHP, and on Travis was failing.
But anyway, back to Session changes. I was working on a very similar implementation, and looking at the pushed code, I would like to suggest some changes:

shouldn't CI_SessionWrapper be named CI_sesssion_wrapper, but also the file names Old_session_wrapper.php and PHP8_session_wrapper.php? (or even more simple for the latter, Session_wrapper.php)
it seems that the $wrapper variable isn't used

                $wrapper = new CI_SessionWrapper($class);
                if (is_php('5.4'))
                {
-                       session_set_save_handler($class, TRUE);
+                       session_set_save_handler($wrapper, TRUE);
                }
                else
                {
                        session_set_save_handler(
-                               array($class, 'open'),
-                               array($class, 'close'),
-                               array($class, 'read'),
-                               array($class, 'write'),
-                               array($class, 'destroy'),
-                               array($class, 'gc')
+                               array($wrapper, 'open'),
+                               array($wrapper, 'close'),
+                               array($wrapper, 'read'),
+                               array($wrapper, 'write'),
+                               array($wrapper, 'destroy'),
+                               array($wrapper, 'gc')
                        );

                        register_shutdown_function('session_write_close');

It seems that samesite is not used for PHP 5. A workaround would be to tweak the session_set_cookie_params() call:

                {
                        session_set_cookie_params(
                                $params['cookie_lifetime'],
-                               $params['cookie_path'],
+                               $params['cookie_path'].'; samesite='.$params['cookie_samesite'],
                                $params['cookie_domain'],
                                $params['cookie_secure'],
                                TRUE // HttpOnly; Yes, this is intentional and not configurable for security reasons

And a happy new year, by the way! :D

Yea, the wrapper names could be different for a number of reasons, but I'd rather keep them like so as a reminder that it's a temporary hack and not something that the Loader would handle with our conventions.
Addressed the other 2 issues, spot on review.
Still waiting for people to actually run the code though. I can only do so much in my local environment.

Thank you for working on this @narfbg!
I apologies if this is not the right place to ask for it. It looks like the current version of dev-3.1-stable on packagist is broken due to Session error (the error I get is below). The packagist version does not reference the latest commit, and instead uses 25ae2a3.
Any chance the packagist could be updated to use the latest version of 3.1-stable branch?
Thank you!
Error message:
session_set_save_handler() expects parameter 1 to be SessionHandlerInterface, object given

I manually updated it just now. Please do tell what happens on your end.

Thank you so much for the quick response @narfbg!
The error message is gone and the sessions are working as expected.

Are sessions using the database driver supposed to be working fine now from dev-3.1-stable on PHP 8.1? I'm still getting the return type deprecation notices and a new session cookie on each page load.

Seeing your edit, does that mean you don't actually get errors with the latest code?

Seeing your edit, does that mean you don't actually get errors with the latest code?

That's correct, sorry for the noise. I had put "3.1-stable" in my composer.json, instead of "dev-3.1-stable".

It utilizes some internal PHP mechanics to refresh sessions in which data wasn't changed, but really, just making sure it doesn't obviously break anything is good enough.

It utilizes some internal PHP mechanics to refresh sessions in which data wasn't changed, but really, just making sure it doesn't obviously break anything is good enough.

I checked out dev-3.1-stable after your merge and haven't noticed anything broken with regards to sessions.

3.1.12 tag is live, closing this.

@narfbg All of the tagged releases are showing "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." ?

I know, don't worry about it, there's nothing wrong going on.


Adjust whisper model prompt to separate numbers above 1000

You receive commands in one of the following templates:
{ANYFACE or %s} {PILOT CALLSIGN} {REQUEST}
or
{ANYFACE or %s} {REQUEST}

Parse numbers less than 1000 as digits. Parse numbers greater than 1000 as words. Separate numbers if there is silence between them.

You may hear key words or phrases such as:
RADIO CHECK, ALPHA CHECK, BOGEY DOPE, PICTURE, DECLARE, SNAPLOCK, SPIKED, BULLSEYE, BRAA

In fact, for the list of words/phrases might be good to get this list from somewhere else, e.g. each command registers to a list.
Python example since I don't know Go:
class KeyphraseRegistry:
     __keyphrase_set = set()

     @classmethod
     def registry_phrase(cls, phrase: str):
          cls.__keyphrase_set.insert(phrase)

     @classmethod
     def get_all_phrases():
        return cls.__keyphrase_set

class Keyphrase:
    def __init_subclass__:
        if not inspect.isabstract(cls):
            KeyphraseRegistry.register_phrase(cls.__KEYPRHASE)

class MergedHandler(Keyphrase):
    __KEYPHRASE: Final[str] = "MERGED"

class BogeyDopeHandler(Keyphrase):
    __KEYPHRASE: Final[str] = "BOGEY DOPE"

class PictureHandler(Keyphrase):
    __KEYPHRASE: Final[str] = "PICTURE"

# ... etc.


release new version on pypi, then finish conda setup

Once we're out of beta, we can easily finish up the conda situation.

done! woohoo! https://github.com/conda-forge/cortecs-feedstock


Search specific data from the SEC Files

Hey everyone,
I just wanted to know if it is possible to get specific data such as Data Center Revenue from Nvidia for each quarter which they report for the last 10 years.
Is that possible with the current library here?
Cheers

Ok i have now
`
from edgar import *
Tell the SEC who you are
set_identity("Michael Mccallum<EMAIL_ADDRESS>filings = Company("NVDA").get_filings(form="10-Q").latest(10)
print(filings)
output = filings[0].search("Revenue by Geography")
print(output[18])
`
where the output is

How can I convert the data which has docsection type into a pandas dataframe?

Hey, I'm going to say no - not yet, but I'm actively working on a related issue around trying to get the breakdowns to display correctly. I will give an update on this based on my progress over the next few days

Any updates yet?

Yes,
c = Company("NVDA")
xb = c.get_filings(form="10-Q").latest(1).xbrl()

Look for the statement number

xb.statements[70]

Yes. Use
 xb.statements[70].get_dataframe()

Closed as answered


First deployed version for parkertimmins

Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh

Execution time: 29,015s
Execution time of reference implementation: 4m44,720s
System: Intel i7-5600U CPU @ 2.60GHz, 4 cores, 8GB RAM

Version notes:
- simd search with overlapping words, at most one entry/semicolon parsed per simd word
- branchless temperature parsing

00:07.913, nice!

Hey @gunnarmorling I think the leaderboard is a bit wrong, this entry is faster than mine, but I appear before it.

Whoops, good spot, thx! PR welcome to swap the order.

Message ID: @.***>


update health check request message log

Description
Updating health check message. In the AWS log it is hard to filter out because the word is simply Request and other messages use the word Request as well. Expanding this message to be Request health

Reviewer Notes
n/a
Setup
I do not see this message when running make server_run. Once deployed login into AWS console and look for the new status message.
Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 1dcc5520eab0fdc8d47d3c99c47a19b248ac5172

@gidjin thank you for the update on how to run this locally. Also I figured out how to also filter the original message in AWS insights, but having this is still good to have IMO.


Gradscaler flags

What does this PR do?

This PR add GradScaler flags to ease the customisation of fp16 flags. Furthermore, it adds back the check_loss_isfinite so that the training can be automatically interrupted when the model is locked in NaN/infs losses.

Before submitting

[ ] Did you read the contributor guideline?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Does your code adhere to project-specific code style and conventions?

PR review

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified
[ ] Confirm that the changes adhere to compatibility requirements (e.g., Python version, platform)
[ ] Review the self-review checklist to ensure the code is ready for review

Hey @asumagic, could you please have a look at this PR? Do you feel it helps to customise more the fp16 training ?

Personally, I'm not against adding this hparams. @Adel-Moumen what is the typical use case for that?

I agree it might be a bit weird to have those flags exposed directly as a CLI parameter in the core especially since it is not obvious that those relate to the gradient scaler from their name alone.
Maybe it could be specified as an optional brain parameter of some sort? Not sure how feasible that is and how ergonomic it would be to use in the CLI.

They are all starting with gradscaler as the root of their name suggest that they are related to gradscaler :p

Whoops, I didn't double check the code this morning. It wasn't the case when I checked yesterday :P

I think @Adel-Moumen is raising a good point here. Even if we think that most of the users won't change these options, what users are supposed to do if they want to change them? Changing core.py directly?

I think @Adel-Moumen is raising a good point here. Even if we think that most of the users won't change these options, what users are supposed to do if they want to change them? Changing core.py directly?

You can hijack the Brain constructor in your training script to override the grad scaler defined by the core, but it's not very pretty...

As discussed privately, we remove all the gradscaler options but we keep the checks on the loss. Thank you @Adel-Moumen


Restriction follow up email attempts to 2

Targets #{2411}
Description
Restrict need follow up email attempts to 2
Checklist:

[ ] I have performed a self-review of my own code.

all are working good


ARROW-15905: [Python][C++] Fix CMake warning when building PyArrow

Use find_package to add FindPkgConfig.cmake instead of include(FindPkgConfig) to avoid warning being raised.
Before the change when building pyarrow I could see the following warning:
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (Arrow).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
  cmake_modules/FindArrow.cmake:39 (include)
  cmake_modules/FindArrowPython.cmake:47 (find_package)
  CMakeLists.txt:231 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

With the change the Warning disappears.
The rationale for the change comes from some investigation over the find_package and include documentation and this stackoverflow thread

@kou would you mind checking if we can approve this one and ship it? Thanks!


The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number<PHONE_NUMBER>558)

1. Information

OS & version
Node version
Dawn version

win10
v14.8.0
1.9.0

2. Problem
when i run dn init, and then it was wrong.
运行dn init，然后就报错了。
3. Recurrence
The steps of problem recurrence
> npm install dawn -g

> mkdir demo-dn

> cd demo-dn

> dn init

[19:01:43] The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.
Received type number<PHONE_NUMBER>558)

@zhenizhui 暂时将 Nodejs 版本降到 v10-v12，这个问题近期会修复


Dropship no longer spawn after update.

Like the title say after the update the dropship no longer spawn on any planets.

https://thunderstore.io/c/lethal-company/p/DiFFoZ/CompanyCruiserFix/


hail 0.2.124 image

In response to this fix by the Hail team: https://centrepopgen.slack.com/archives/C018KFBCR1C/p1694041536595649?thread_ts=1693545507.704539&cid=C018KFBCR1C, I need an updated hail version to run on analysis-runner to see if this fixes the LD prune recursion issue.

I think I've used the driver image that should work on analysis-runner, but let me know if that's not the case

There's an issue with the latest version(s?) of Hail which are causing problems starting Hail Batches. Will you be using this image to run a single job, or to plan a batch?


undefined 'statusCode' error

I get the following error on Ubuntu 16.04
><EMAIL_ADDRESS>test /home/user/Personal/Guitar/ultimate-guitar-scraper
> jasmine

Started
........../home/user/Personal/Guitar/ultimate-guitar-scraper/spec/ultimate_guitar_scraper_spec.js:146
      expect(response.statusCode).toBe(200);
                     ^

TypeError: Cannot read property 'statusCode' of undefined
    at /home/user/Personal/Guitar/ultimate-guitar-scraper/spec/ultimate_guitar_scraper_spec.js:146:22
    at Request._callback (/home/user/Personal/Guitar/ultimate-guitar-scraper/lib/index.js:12:7)
    at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12)
    at emitNone (events.js:72:20)

npm ERR! Test failed.  See above for more details.
This appears to be related to delays in the internet connection.

What is your node version ? Did you ran npm test or jasmine?

@mikegilchrist I was able to reproduce the error and I dug up in the spec. It is caused by the pageparam in the spec's query:
{
  bandName: 'Black Keys',
  songName: 'Little Black Submarines',
  type: ['video lessons', 'tabs', 'chords', 'bass tabs', 'guitar pro tabs', 'power tabs', 'drum tabs', 'ukulele chords'],
  page: 3
};

This query generates this URL which has no results.
This was because when I wrote the specs, Ultimate Guitar returned the last page of results for any page params that was higher than the real number of page.

@mikegilchrist I publish the version 0.3.1 with this issue fixed! 😄

Sorry about not responding, it's been hectic on this end.  Thanks for digging
in and recreating the bug.  I will try the updated version this weekend.
Best,
Mike

Dept. of Ecology & Evolutionary Biology
Office Location: 439 Hesler Biology Building
Mailing Address: 569 Dabney Hall
University of Tennessee
Knoxville, TN 37996-1610
Web page: 	 http://eeb.bio.utk.edu/peopletwo/michael-gilchrist/
Calendar:	 http://www.tiem.utk.edu/~mikeg/calendar.html
On Thu, 29 Sep 2016, Simon Thiboutôt wrote:

Closed #3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.[AE9RU-kd5fTEiNp2oTzkldL-Hmy1MV8Sks5qvHbPgaJpZM4KDZkR.gif]

It was a pleasure 👍 !


[bug 1191822] Add indexes to heartbeat Answer model

This adds indexes to the heartbeat Answer model to make querying faster
for Gregg.
Quick r?

Yep, those are indexes. r+

Thank you!


Install failure

with following message:
package github.com/urfave/cli/v2: cannot find package "github.com/urfave/cli/v2" in any of:
        c:\go\src\github.com\urfave\cli\v2 (from $GOROOT)
        C:\Users\user\go\src\github.com\urfave\cli\v2 (from $GOPATH)

Please check and fix it, thank you.

What version of Go do you use? and do you set GO111MODULE?

Install success with setting GO111MODULE environment variable.
I appreciate for your great support.


Deploy Your Multi-Target Application (MTA)

Tutorials: https://developers.sap.com/tutorials/btp-app-cap-mta-deployment.html
Step 6, Exclude CSV files from deployment
"Add the following line to the mta.yaml file:"
You have to add two lines, not only one like mentioned.
The original mta.yaml only contains:

But it should in the end according to the tutorial contain three lines:

npm install --production is missing in the generated yaml-file

Thank you so much for taking the time to contribute to this tutorial. We will get back to you asap.

Hi @OJ75,
We have updated the tutorial based on your feedback and therefore we close this issue.
Best regards,
Iwona


🎆 First pass at subfigures

Moves figure transformation to a single transform
Figures-in-figures are subfigures (or "subcontainers")
Enumeration is added for these subfigures

Added a theme PR to do a few updates! This is looking great. Just a few requests on figure-a labels rather than figure-sub-0 and turning those implicit.


fix selector highlight when selected

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/29675
PROPOSAL: https://github.com/Expensify/App/issues/29675#issuecomment-1764472142
Tests

Create some WS
Click FAB button
Click send message and select room tab
Click workspace section
Select any workspace
Click workspace section again, verify that the selected item is highlighted

[x] Verify that no errors appear in the JS console

Offline tests
The same test

QA Steps
The same test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/39086067/b062550a-53a7-4808-bd92-ed4d85af2ce8

Android: mWeb Chrome
https://github.com/Expensify/App/assets/39086067/0da5e276-b4f5-47c1-8e70-f0f89e89ee75

iOS: Native
https://github.com/Expensify/App/assets/39086067/1727257d-5acc-426f-bc81-9dd4cd972c91

iOS: mWeb Safari
https://github.com/Expensify/App/assets/39086067/d68c8270-642c-4e20-91f9-c50638b7e77d

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/39086067/5c81a5de-7f3c-4355-94c9-da911bfd369c

MacOS: Desktop
https://github.com/Expensify/App/assets/39086067/65cf34db-ea08-48f0-993f-e3b74734859d

🚀 Deployed to staging by https://github.com/dangrous in version: 1.3.99-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.99-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/dangrous in version: 1.4.0-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


About local dataset

Hi
I'm trying to apply the example of sentence deduplication with my own dataset from the CC but it's already extracted and prepared in jsonl format
my question is how should I edit those block of codes
`def run_example():
    pipeline_1 = [
        WarcReader(data_folder="warc/", limit=1000),
        Trafilatura(),
        GopherQualityFilter(min_stop_words=0),
        LanguageFilter(language_threshold=0.5, languages=(Languages.english,)),
        JsonlWriter("intermediate/"),
        SentenceDedupSignature(output_folder="c4/"),
    ]
    pipeline_2 = [
        SentenceFindDedups(
            data_folder="c4/",
            output_folder="c4/",
        )
    ]

pipeline_3 = [
     JsonlReader(data_folder="intermediate/"),
     SentenceDedupFilter(data_folder="c4/"),
 ]`

Especially in pipeline 1 should it be like this :

`pipeline_1 = [
      JsonlReader("my_data.jsonl"),
      SentenceDedupSignature(output_folder="my_folder/")
  ]

  pipeline_2 = [
      SentenceFindDedups(
          data_folder="my_folder/",
          output_folder="my_folder/"
      )
  ]

  pipeline_3 = [
      JsonlReader(data_folder="my_data.jsonl"),
      SentenceDedupFilter(data_folder="my_folder/")
  ]`

I runned with that modification but I got this error:
`2024-02-27 09:44:50.328 | INFO     | datatrove.utils.logging:add_task_logger:47 - Launching pipeline for rank=0

2024-02-27 09:44:50.328 | INFO     | datatrove.utils.logging:log_pipeline:76 -
--- 🛠 PIPELINE 🛠
📖 - READER: 🐿 Jsonl
🫂 - DEDUPS: 💥 sentence-deduplication stage 1
2024-02-27 09:44:50.328 | INFO     | datatrove.pipeline.readers.base:read_files_shard:160 - Reading input file
2024-02-27 09:44:50.329 | WARNING  | datatrove.pipeline.readers.base:get_document_from_dict:78 - Found document without text, skipping. Is your text_key ("text") correct?
2024-02-27 09:44:50.367 | INFO     | datatrove.executor.local:_launch_run_for_rank:62 - 1/4 tasks completed.
2024-02-27 09:44:50.406 | INFO     | datatrove.executor.local:_launch_run_for_rank:62 - 2/4 tasks completed.
2024-02-27 09:44:50.414 | INFO     | datatrove.executor.local:_launch_run_for_rank:62 - 3/4 tasks completed.
2024-02-27 09:44:51.928 | SUCCESS  | datatrove.executor.base:_run_for_rank:85 - Processing done for rank=0
2024-02-27 09:44:51.929 | INFO     | datatrove.executor.base:_run_for_rank:91 -
📉📉📉 Stats: Task 0 📉📉📉
Total Runtime: 1 second
📖 - READER: 🐿 Jsonl
Runtime: (1.16%) 0 seconds [0.04 milliseconds±0.03 milliseconds/doc]
Stats: {input_files: 1, doc_len: 3002046 [min=30, max=120653, 21375.53±29918/task], documents: 496 [496.00/input_file]}
🫂 - DEDUPS: 💥 sentence-deduplication stage 1
Runtime: (98.84%) 1 second [3.06 milliseconds±20.05 milliseconds/doc]
Stats: {total: 497}
2024-02-27 09:44:51.933 | INFO     | datatrove.executor.local:_launch_run_for_rank:62 - 4/4 tasks completed.
2024-02-27 09:44:51.964 | SUCCESS  | datatrove.executor.local:run:114 -
📉📉📉 Stats: All 4 tasks 📉📉📉
Total Runtime: 0 seconds ± 0 seconds/task
📖 - READER: 🐿 Jsonl
Runtime: (1.16%) 0 seconds±0 seconds/task, min=0 seconds [0.04 milliseconds±0.03 milliseconds/doc]
Stats: {input_files: 1, doc_len: 3002046 [min=30, max=120653, 21375.53±29918/task], documents: 496 [496.00/input_file]}
🫂 - DEDUPS: 💥 sentence-deduplication stage 1
Runtime: (98.84%) 0 seconds±0 seconds/task, min=0 seconds [3.06 milliseconds±20.05 milliseconds/doc]
Stats: {total: 497}
📉📉📉 Stats 📉📉📉
Total Runtime: 0 seconds ± 0 seconds/task
📖 - READER: 🐿 Jsonl
Runtime: (1.16%) 0 seconds±0 seconds/task, min=0 seconds [0.04 milliseconds±0.03 milliseconds/doc]
Stats: {input_files: 1, doc_len: 3002046 [min=30, max=120653, 21375.53±29918/task], documents: 496 [496.00/input_file]}
🫂 - DEDUPS: 💥 sentence-deduplication stage 1
Runtime: (98.84%) 0 seconds±0 seconds/task, min=0 seconds [3.06 milliseconds±20.05 milliseconds/doc]
Stats: {total: 497}
2024-02-27 09:44:51.987 | INFO     | datatrove.utils.logging:add_task_logger:47 - Launching pipeline for rank=0
2024-02-27 09:44:51.988 | INFO     | datatrove.utils.logging:log_pipeline:76 -
--- 🛠 PIPELINE 🛠
🫂 - DEDUPS: 💥 sentence-deduplication stage 2
2024-02-27 09:44:51.989 | ERROR    | datatrove.executor.base:_run_for_rank:95 -
Traceback (most recent call last):
File "/datatrove/examples/sentence_deduplication.py", line 55, in
run_example()
└ <function run_example at 0x7f348dd745e0>
File "/datatrove/examples/sentence_deduplication.py", line 50, in run_example
print(executor_2.run())
│          └ <function LocalPipelineExecutor.run at 0x7f348b3f9360>
└ <datatrove.executor.local.LocalPipelineExecutor object at 0x7f3430c9c6a0>
File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/local.py", line 93, in run
stats.append(self._launch_run_for_rank(rank, ranks_q))
│     │      │    │                    │     └ <AutoProxy[Queue] object, typeid 'Queue' at 0x7f3430c9d840>
│     │      │    │                    └ 0
│     │      │    └ <function LocalPipelineExecutor._launch_run_for_rank at 0x7f348b3f92d0>
│     │      └ <datatrove.executor.local.LocalPipelineExecutor object at 0x7f3430c9c6a0>
│     └ <method 'append' of 'list' objects>
└ []
File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/local.py", line 57, in _launch_run_for_rank
return self._run_for_rank(rank, local_rank)
│    │             │     └ 0
│    │             └ 0
│    └ <function PipelineExecutor._run_for_rank at 0x7f348b3f8e50>
└ <datatrove.executor.local.LocalPipelineExecutor object at 0x7f3430c9c6a0>

File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/base.py", line 77, in _run_for_rank
pipelined_data = pipeline_step(pipelined_data, rank, self.world_size)
│             │               │     │    └ <property object at 0x7f348b7310d0>
│             │               │     └ <datatrove.executor.local.LocalPipelineExecutor object at 0x7f3430c9c6a0>
│             │               └ 0
│             └ None
└ 🫂 - DEDUPS: 💥 sentence-deduplication stage 2
File "/opt/conda/lib/python3.10/site-packages/datatrove/pipeline/base.py", line 122, in call
return self.run(data, rank, world_size)
│    │   │     │     └ 1
│    │   │     └ 0
│    │   └ None
│    └ <function SentenceFindDedups.run at 0x7f34623cf1c0>
└ 🫂 - DEDUPS: 💥 sentence-deduplication stage 2
File "/opt/conda/lib/python3.10/site-packages/datatrove/pipeline/dedup/sentence_dedup.py", line 163, in run
pq = [next(sig_reader) for sig_reader in sig_readers]
└ [<generator object read_sigs at 0x7f3430bff840>, <generator object read_sigs at 0x7f3430bff7d0>, <generator object read_sigs ...
File "/opt/conda/lib/python3.10/site-packages/datatrove/pipeline/dedup/sentence_dedup.py", line 163, in
pq = [next(sig_reader) for sig_reader in sig_readers]
│               └ <generator object read_sigs at 0x7f3430bff7d0>
└ <generator object read_sigs at 0x7f3430bff7d0>

StopIteration
Traceback (most recent call last):
File "/datatrove/examples/sentence_deduplication.py", line 55, in
run_example()
File "/datatrove/examples/sentence_deduplication.py", line 50, in run_example
print(executor_2.run())
File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/local.py", line 93, in run
stats.append(self._launch_run_for_rank(rank, ranks_q))
File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/local.py", line 57, in _launch_run_for_rank
return self._run_for_rank(rank, local_rank)
File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/base.py", line 96, in _run_for_rank
raise e
File "/opt/conda/lib/python3.10/site-packages/datatrove/executor/base.py", line 77, in _run_for_rank
pipelined_data = pipeline_step(pipelined_data, rank, self.world_size)
File "/opt/conda/lib/python3.10/site-packages/datatrove/pipeline/base.py", line 122, in call
return self.run(data, rank, world_size)
File "/opt/conda/lib/python3.10/site-packages/datatrove/pipeline/dedup/sentence_dedup.py", line 163, in run
pq = [next(sig_reader) for sig_reader in sig_readers]
File "/opt/conda/lib/python3.10/site-packages/datatrove/pipeline/dedup/sentence_dedup.py", line 163, in
pq = [next(sig_reader) for sig_reader in sig_readers]
StopIteration`
could you help me
thanks

Hi! it seems that there are some empty signature files (.c4_sig files) created on step1, how many input files did you have in stage1 and how many tasks did you run it with? If you have more tasks than input files, then some empty sig files may be generated

Hi
I'm trying just with one jsonl file
number of tasks is 4 like the code in example

Try with 1 task since you only have 1 jsonl file (delete the output directory before relaunching)


redPdaq crashes on startup

Traceback (most recent call last):
File "/home/julian/git/coincidence/redPdaq.py", line 317, in closeEvent
self.stop()
File "/home/julian/git/coincidence/redPdaq.py", line 311, in stop
self.connectButton.clicked.connect(self.start)
^^^^^^^^^^
AttributeError: 'rpControl' object has no attribute 'start'. Did you mean: 'startIO'?
changing 'start' to 'startIO' seems to fix it

indeed - fixed !


material.angular.io url bug

Bug, feature request, or proposal:
material.angular.io url bug
What is the expected behavior?
working cdk url routing
What is the current behavior?
not working cdk url routing after navigating component by the left sidenav interaction
What are the steps to reproduce?

goto material.angular.io
click component on the toolbar
click one of the submenu on the left sidenav navigation (ex: form controls > autocomplete)
then click cdk menu on the toolbar

What is the use-case or motivation for changing an existing behavior?

bug reporting

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

browser: chrome, canary, firefox, edge

Is there anything else we should know?
none

Looks more like an issue for https://github.com/angular/material.angular.io

oops, dunno there's its repo


[Masthead, search] Web component: Visual QA of the grouped typeahead results

User Story

As a [user role below]:
DDS Designer

I need to:
test the Masthead, search

so that I can:
be sure the developer's code correctly works as designed

Additional Information

See the Epic (#7267 ) for the Design and Functional specs information
Designer will be added as a reviewer to the Pull Request.  Visual QA reviewer will be notified by Github when review is needed.
Creating a QA bug
Grouped results Dev issue (#7822)
Scoped Search Dev Issue (#7627)

Tasks
Ensure the Masthead, search component has been tested and reviewed by design + dev.
Acceptance criteria

[ ] Pattern is reviewed by designer and design defects are identified
[ ] New issues are opened to log individual defects
[ ] Screenshots of as-is and to-be design should be added to the issue when needed
[ ] Developer associated with building the pattern is assigned to the new issues
[ ] Appropriate labels are added to the issue  eg.  bug, dev

complete!


Docker container closes connection

I'm trying to run lares using the following Docker command:
docker run --rm -it -p <IP_ADDRESS>:4000:4000/tcp fanzeyi/lares

when I run telnet <IP_ADDRESS>:4000 the connection seems to be dropped right away:
Trying <IP_ADDRESS>...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

Also when I try to connect with Reeder 4 for Mac it says:

Is there anything else that is required for the Docker container to allow (and hold) incoming connections?

After finding a workaround for #2 and trying the compiled binary locally everything seems to be working pretty damn fine. 👍🏼 Not sure though why the container drops the connection.

@mrusme I think what happened was that Lares by default will only listen to local loopback (<IP_ADDRESS>) and as a result docker won't be exposing it. If you run it specifying the server host to <IP_ADDRESS> then it should work:
docker run --rm -it -p <IP_ADDRESS>:4000:4000 fanzeyi/lares server --host <IP_ADDRESS>


client: add initial implementation

We need to update everything to use client-go or this client library wont work.

@hongchaodeng All fixed. With the new vendor client-go, everything works now.

@hongchaodeng All fixed.

lgtm


feat!: reorder MVs and change data types (FC-0024)

Updates the top-level materialized views in the following ways:

Adds fields to the ORDER BY clause to ensure the entire dataset is migrated during table updates
Truncates emission_time from DateTime64(6), which stores nanosecond granularity, to DateTime, which stores second granularity
Stores video positions as UInt32 (via Decimal32(2)) to avoid the imprecise Float32 type

@SoryRawyer are there any downstream changes in the Superset assets that will be impacted by the type changes like we saw with the datetimes?

@bmtcril not that I can see. The only data type change (aside from the timestamp change) is the video_position type, but that field isn't exposed in any datasets and the only time it's used in a virtual dataset query is after it's cast to an Int32. That cast shouldn't cause any issues, plus I have a change coming to that query anyway so it's a tiny bit of tech debt that'll get taken care of soon.


Dashboard not available from off campus?

Tested from home and could not get in Sept 1

fixed 9/2/21


Books Dont Enchant When Dragged into Equipment

Minecraft 1.8-1.15
Books seem to not enchant properly when dragged over items.
In OP i can enchant them properly but without it it simply acts as if it was a normal book.
Im guessing its somthing perms related (using luck perms)

Players need the Max Enchantments permission.
https://github.com/badbones69/Crazy-Enchantments/wiki/Commands-and-Permissions#options


Wrong package name for firefox-langpacks and dependency order problem

Package name should be firefox-langpacks, and firefox-langpacks depends on firefox. IOW, you cannot remove firefox without removing firefox-langpacks first.
https://github.com/j1mc/ansible-silverblue/blob/1dd4a68274d00c8a0bd818498550225a2a48ef75/group_vars/all#L11-L12

A potential more fundamental improvement would be a rework of the removal task: pass through the entire list, and do the removal in one command so dependencies can be resolved.


[Portal] Migrate to React hooks

This PR is a part of https://github.com/mui-org/material-ui/issues/15231

[x] I have followed (at least) the PR section of the contributing guide.

Hi @eps1lon
Another desperate attempt to make this work 😅 . Can you please review this one. Also, I am getting an issue with the commented line below, looks like parentElement always return null:
const setMountNode = () => {
    if (disablePortal) {
+      // mountNodeRef.current = ReactDOM.findDOMNode(ref).parentElement;

      return;
    }
    mountNodeRef.current = getContainer(container, getOwnerDocument(ref).body);
  };

Can you kindly point me in the right direction?
Thanks

As far as I know ref is a passed in ref so when no ref is passed in it’s null. Hence why it doesn’t work in that situation

Thanks a lot, @oliviertassinari for your help, really appreciate..!!
👍

@gautam-pahuja I wish I could have guided you in the effort. But I didn't know how to handle the problem either, I only had a vague idea of what we could try and what could work. After hammering the problem for two hours, I could find a working solution. I'm excited about the -1.26% bundle size reduction of the modal as well as having a battle-tested implementation people can look at when migrating from Class to Hooks.

Wow...Thanks a lot, @oliviertassinari ...This looks like way different to what I originally tried to do, I guess I have to work on my react-hooks skills before picking anything else up 😅 .

Wow...Thanks a lot, @oliviertassinari ...This looks like way different to what I originally tried to do, I guess I have to work on my react-hooks skills before picking anything else up 😅 .

Portal was a deceptively hard component to convert to Hooks.


flexdatalist - Change data-url sources based on Field Relative in Chained Relative

Hi,
(not sure if this is the correct place/way to report a support issue, apologies if incorrect but hoping for some speedy support from anyone that can solve this please!)
My form has a Field Relative #1 and a Chained Relative #2 using the example provided.
I'm looking for the way if a user selects 'Afghanistan' in #1 the data source 'data-url='xxx.json'' in #2 is changed to 'data-url=Afghanistan.json'? This is avoid using a single large dataset.
Appreciate the help, many thanks!

Hi @tonemine,
Why don't you create the #2 input/field when selecting the relative #1?
$('input.flexdatalist').on('change:flexdatalist', function (event, set) {
    $('input.flexdatalist-country').remove();

    var $newInput = $('<input type="text">').attr({
           'data-url' : set.value + '.json',
           'class' : 'flexdatalist-country'
     }).flexdatalist();

    // Insert $newInput where you need it to be...
});

Hope it helps!
Cheers

Hi Sergio :)
Really appreciate the help, unfortunately I still appear to be messing this up! Probably something simple Im doing wrong or not-understanding, please can you take a look/edit the code below to help me fly right as I really like your autocomplete! Many thanks.


[Defect] When returning from Explorer mode and on typing in editor there is a lag and can't type continuously

Fixed


Add initialNumToRender to Carousel

Summary
This PR sets initialNumToRender prop of the onboarding Carousel to 1. This change will improve the performance and the feel of the transition from the language selection screen to onboarding by initially loading the first page and load the reset of the pages after the transition.
Before/after demo:

Test instructions

Clear Data
Go through the onboarding flow
The transition from language selection to onboarding carousel should be smoother and everything else stay be the same.

Reviewer checklist
This is a suggested checklist of questions reviewers might ask during their review:

[ ] Does this meet a user need?
[ ] Is it accessible?
[ ] Is it translated between both offical languages?
[ ] Is the code maintainable?
[x] Have you tested it?
[ ] Are there automated tests?
[ ] Does this cause automated test coverage to drop?
[ ] Does this break existing functionality?
[ ] Should this be split into smaller PRs to decrease change risk?
[ ] Does this change the privacy policy?
[ ] Does this introduce any security concerns?
[ ] Does this significantly alter performance?
[ ] What is the risk level of using added dependencies?
[ ] Should any documentation be updated as a result of this? (i.e. README setup, etc.)

Thanks @nima-ahmadi


Fixed a gender mistake

Indeed! Thanks! 👍
I'll run an update immediately 🎉

Done: https://equalstreetnames.brussels/en/index.html#16/50.84144/4.355786